tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: USB printing panic



On Wed, 9 Feb 2011, Bill Green wrote:

> I am running NetBSD 5.1 sparc64 on a Sun Ultra 5. A Samsung USB printer is
> connected to the system via an NEC-chipset PCI USB host.  Printing via CUPS
> using the SPLIX drivers (http://splix.sourceforge.net/) causes a kernel
> panic.  Printing via CUPS across the network (from hosts with
> their own drivers) works without problems.
> 
> As far as I can tell, a component of SPLIX (rastertoqpdl)
> crashes with SIGBUS, and this sometimes panics the kernel. I don't know what
> the bug in SPLIX is, either.
> 
> I'm attaching below a dmesg, and ddb backtraces from two panics; the second,

[...]
> panic: kernel fault
> Stopped in pid 0.5 (system) at  netbsd:cpu_Debugger+0x4:        nop
> db> bt
> data_access_fault(b5cbaa0, 30, 1476388, 0, 70, 400) at

Definitely a kernel problem but don't know the specifics.  You need to 
dump the trapframe.


> cpu0: data fault: pc=14becc8 addr=0
> kernel trap 30: data access exception
> Stopped in pid 0.5 (system) at  netbsd:usbd_setup_xfer+0x8:     ldub
> [
> %o0 + 0x70], %g3

This one is definitely a NULL pointer dereference in the kernel, probably 
in usbd_setup_xfer.

Eduardo


Home | Main Index | Thread Index | Old Index