usb/139990: Kernel frequently panics after printing
Alban Hertroys
dalroi at solfertje.student.utwente.nl
Wed Oct 28 12:40:03 UTC 2009
The following reply was made to PR usb/139990; it has been noted by GNATS.
From: Alban Hertroys <dalroi at solfertje.student.utwente.nl>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: usb/139990: Kernel frequently panics after printing
Date: Wed, 28 Oct 2009 13:14:02 +0100
An apparent fix was found with:
>> Could you please try to change the callout_stop() call here :
>>
>> http://fxr.watson.org/fxr/source/dev/usb/ulpt.c?v=FREEBSD7#L605
>>
>> By a callout_drain(), and see what happens ?
>> Something like :
>>
>> if (sc->sc_has_callout) {
>> - callout_stop(&sc->sc_read_callout);
>> + callout_drain(&sc->sc_read_callout);
>> sc->sc_has_callout = 0;
>> }
>>
>> If this change does not help, I don't know...
>
> I printed several documents today without a kernel panic, so the
> change appears to have worked. Thanks!
Alban Hertroys
--
Screwing up is the best way to attach something to the ceiling.
!DSPAM:984,4ae8358b11079570670080!
More information about the freebsd-usb
mailing list