Subject: Re: kern/28375: kernel panic upon pppoe reconnect
To: Martin Husemann <email@example.com>
From: None <firstname.lastname@example.org>
Date: 11/22/2004 21:07:52
Martin Husemann <email@example.com> writes:
> On Sun, Nov 21, 2004 at 02:19:49PM +0100, firstname.lastname@example.org 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.