"no carrier" on vr0 caused by suspend (FreeBSD 6.0)

Alexander Konovalenko kono at kth.se
Mon Feb 13 00:45:13 PST 2006


On Monday 06 February 2006 22.42, John Baldwin wrote:
> On Tuesday 27 December 2005 11:17, John Baldwin wrote:
> > On Monday 26 December 2005 04:36 pm, Adriaan de Groot wrote:
> > > On Monday 26 December 2005 17:44, Alexander Konovalenko wrote:
> > > > recently I have upgraded my AMD Athlono-XP laptop to 6.0 STABLE,
> > > > everything works fine, even suspending with zzz works except
> > > > network interface vr0 which is in state "no carrier" right after wake
> > > > up. The only thing which helps is reboot.
> > >
> > > I just finished working on a Via C3-mini ITX box, also with a vr0
> > > interface; it's not a laptop, but I felt it needed to suspend anyway.
> > > Suspend into S3 causes the vr0 to hang on resume, in my case with
> > > regular vr0: watchdog timeout messages.
> > >
> > > Solution: reset the driver.
> > >
> > > Implementation: build a custom kernel with _no_ vr interface built in.
> > > Make sure vr is built as a module. In the suspend script, unload the
> > > module. In resume, reload it, then run rc.d/netif and rc.d/routing. For
> > > simple machines with uncomplicated interfaces and routing, that ought
> > > to do the trick.
> >
> > You can try stopping the chip during suspend and init on resume. 
> > Something like this:
>
> Did the patch below work (did you try it)?
>


Unfortunately it did not work, suspend cause "no carrier" anyway :-(

Thanks for help anyway

/Alexander Konovalenko




More information about the freebsd-hardware mailing list