Kernel panic in ulpt

Alban Hertroys dalroi at
Fri Sep 18 12:42:29 UTC 2009

On 14 Sep 2009, at 14:41, John Baldwin wrote:

> On Friday 11 September 2009 12:18:39 pm Alban Hertroys wrote:
>> Hello,
>> I just got a kernel panic on a FreeBSD 7.2 STABLE after a print job
>> finished on ulpt. The kgdb output (ran in script) is attached. I'll
>> keep the vmcore around in case anyone needs more info. Shout if you
>> need more info.
> In ulptclose() in sys/dev/usb/ulpt.c try changing the callout_stop()  
> to a
> callout_drain().  Have you been able to reproduce this?


I finally got around to testing the above, but unfortunately it  
doesn't fix the problem. Meanwhile I did configure savecore (the  
default /var isn't large enough for the core files) and crashinfo  
though, see attachments.

I send print jobs to my FreeBSD server from my Mac using cups on both  
sides. The panic appears to be related to what I print, even though  
that shouldn't matter at all at the driver-level.
The first document I printed was a large JPEG turned on its side and  
printed alright, without a panic.
After that I printed page 106 from a PDF-version of the FreeBSD  
handbook (section 3.2.6 Changing Console Video Modes) that I  
downloaded at June 3rd this year and the below panic occurred.

The previous panic I posted about was also caused by a 1-page PDF  

Is there anything else I can provide to help fix this problem?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: core.txt.0
Type: application/octet-stream
Size: 252219 bytes
Desc: not available
Url :
-------------- next part --------------
A non-text attachment was scrubbed...
Name: info.0
Type: application/octet-stream
Size: 468 bytes
Desc: not available
Url :
-------------- next part --------------

Alban Hertroys

If you can't see the forest for the trees,
cut the trees and you'll see there is no forest.


More information about the freebsd-stable mailing list