Bug#275037: Writing to parallel port causes kernel oops
Package: kernel-image-2.6.8-1-sparc64
Version: 2.6.8-2
When writing to /dev/lp0, either directly (cat) or through CUPS, I get
\|/ ____ \|/
"@'/ .. \`@"
/_| \__/ |_\
\__U_/
parallel(653): Kernel bad sw trap 5 [#1]
TSTATE: 0000008811f09605 TPC: 000000000209d408 TNPC: 000000000209d40c Y: 00000000 Not tainted
TPC: <parport_pc_fifo_write_block_dma+0x1c8/0x3a0 [parport_pc]>
g0: 0000000000000000 g1: ffffffffffffffea g2: 00000000c10c2010 g3: ffffffffffffffea
g4: fffff8001e3df140 g5: 000000000000000f g6: fffff8001e588000 g7: 00000000c1104000
o0: 00000000020a6128 o1: 0000000000000001 o2: 0000000000000003 o3: 0000000000000001
o4: 00000000701fefd8 o5: 0000000000000006 sp: fffff8001e58b1f1 ret_pc: 000000000209d3f0
RPC: <parport_pc_fifo_write_block_dma+0x1b0/0x3a0 [parport_pc]>
l0: 00000000020a6128 l1: 0000000000000000 l2: fffff8001fee4b60 l3: 0000000000000003
l4: 00000001001b384c l5: 00000000c1104000 l6: 00000000020a6128 l7: 00000000c1104000
i0: 00000000020a6000 i1: fffff8001e550000 i2: 0000000000000003 i3: fffff8001ff38ce0
i4: 0000000000000003 i5: 0000000000634c00 i6: fffff8001e58b2c1 i7: 000000000209d67c
I7: <parport_pc_compat_write_block_pio+0x9c/0x1e0 [parport_pc]>
Instruction DUMP: 92102001 90100010 80a06000 <93d02005> 7f8e243d 01000000 91944000 b2064013 b4268013
I'm running an Ultra 5, and everything works fine under the 2.4.18 sun4u kernel that was installed with the woody install.
$ lsmod
Module Size Used by
ipv6 291512 10
parport_pc 43320 1
lp 13544 0
parport 48288 2 parport_pc,lp
sunhme 31248 0
isofs 31496 0
ext3 141472 2
jbd 60784 1 ext3
ide_disk 20880 4
ide_generic 1920 0
cmd64x 13752 1
sd_mod 21312 0
scsi_mod 94136 1 sd_mod
$ cat /proc/devices
Character devices:
1 mem
4 /dev/vc/0
4 tty
4 ttyS
5 /dev/tty
5 /dev/console
5 /dev/ptmx
6 lp
7 vcs
10 misc
13 input
29 fb
128 ptm
136 pts
180 usb
254 devfs
Block devices:
1 ramdisk
2 fd
3 ide0
7 loop
8 sd
22 ide1
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
$ cat /proc/sys/dev/parport/parport0/autoprobe
CLASS:PRINTER;
MODEL:Lexmark Optra E312;
MANUFACTURER:Lexmark International;
DESCRIPTION:Lexmark Optra E312;
COMMAND SET:PCL 6 Emulation, PostScript Level 2 Emulation, NPAP, PJL;
If there's anymore information I can provide, let me know.
Thanks,
Noah Massey
Reply to: