Subject: Re: kern/28375: kernel panic upon pppoe reconnect
To: Martin Husemann <firstname.lastname@example.org>
From: None <email@example.com>
Date: 11/22/2004 21:07:52
Martin Husemann <firstname.lastname@example.org> writes:
> On Sun, Nov 21, 2004 at 02:19:49PM +0100, email@example.com wrote:
>> sc->sc_eth_if: 0xc09fc038
>> sc->sc_eth_if->if_output: 0xdeadbeef
> Sorry, I didn't understand your description in the PR correctly, I think.
> You mean you are detaching the USB device?
> This will make the interface pointer (which is stored in the pppoe state)
> stale. When you reconnect it, your ethernet device will get a new softc,
> and you will have to re-attach it to the pppoe pseudo device.
> One way to do this now is to use ifwatchd(8).
Yes, you're right. I do it this way and now it really makes sense to
me what happens and why.
I'll try my luck with ifwatchd now. Hopefully I'll find a way to
detach the pppoe interface w/o crashing the kernel.
Thanks for that hint.