* sym53c8xx: 'echo "scsi dump 1" > /proc/scsi/scsi' generates an oops
@ 2002-05-27 23:32 Vladimir G. Ivanovic
2002-05-29 17:44 ` Patrick Mansfield
0 siblings, 1 reply; 2+ messages in thread
From: Vladimir G. Ivanovic @ 2002-05-27 23:32 UTC (permalink / raw)
To: linux-scsi
The command
echo "scsi dump 1" > /proc/scsi/scsi
generated an oops (syslog entries appended) on my SMP machine running a
2.4.18 custom kernel derived from Red Hat's 2.4.18-4 kernel. My SCSI
controller is an sym53c1010-33, and its driver is
sym53c8xx-1.7.3c-20010512.
Is this (1) operator error, (2) a high/mid/low-level SCSI problem, or
(3) some other kind of kernel problem that should be reported on the
linux-kernel list?
If some more information is needed, please let me know.
Thanks.
--- Vladimir
P.S. I know, if it hurts, don't do that. ;-)
--------
Vladimir G. Ivanovic http://leonora.org/~vladimir
2770 Cowper St. vladimir@acm.org
Palo Alto, CA 94306-2447 +1 650 678 8014
--------
May 27 15:09:54 bach kernel: Dump of scsi host parameters:
May 27 15:09:54 bach kernel: 0 0 0 : 0 0
May 27 15:09:54 bach kernel:
May 27 15:09:54 bach kernel:
May 27 15:09:54 bach kernel: Dump of scsi command parameters:
May 27 15:09:54 bach kernel: h:c:t:l (dev sect nsect cnumsec sg) (ret all flg) (to/cmd to ito) cmd snse result
May 27 15:09:54 bach kernel: ( 0) 0:0: 6: 0 ( 08:02 17460 2 2 ffffffff 1) (0 5 0x 0) (6000 0 0) 0x2a 0x00 0x00000000
May 27 15:09:54 bach kernel: ( 1) 0:0: 6: 0 ( 08:04 7340088 8 8 ffffffff 2) (0 5 0x 0) (6000 0 0) 0x2a 0x00 0x00000000
May 27 15:09:54 bach kernel: ( 2) 0:0: 6: 0 ( 08:04 7340496 8 8 ffffffff 1) (0 5 0x 0) (6000 0 0) 0x2a 0x00 0x00000000
May 27 15:09:54 bach kernel: ( 3) 0:0: 6: 0 ( 08:04 14155976 8 8 ffffffff 1) (0 5 0x 0) (6000 0 0) 0x2a 0x00 0x00000000
May 27 15:09:54 bach kernel: ( 4) 0:0: 6: 0 ( 08:04 30408744 8 8 ffffffff 1) (0 5 0x 0) (6000 0 0) 0x2a 0x00 0x00000000
May 27 15:09:54 bach kernel: ( 5) 0:0: 6: 0 ( 08:04 30409032 8 8 ffffffff 1) (0 5 0x 0) (6000 0 0) 0x2a 0x00 0x00000000
May 27 15:09:54 bach kernel: ( 6) 0:0: 6: 0 ( 08:02 17398 2 2 ffffffff 2) (0 5 0x 0) (6000 0 0) 0x2a 0x00 0x00000000
May 27 15:09:54 bach kernel: ( 7) 0:0: 6: 0 ( 08:02 17386 2 2 ffffffff 2) (0 5 0x 0) (6000 0 0) 0x2a 0x00 0x00000000
May 27 15:09:54 bach kernel: ( 8) 0:0: 6: 0 ( 08:04 12320928 8 8 ffffffff 2) (0 5 0x 0) (6000 0 0) 0x2a 0x00 0x00000000
May 27 15:09:54 bach kernel: ( 9) 0:0: 6: 0 ( 08:02 360450 2 2 ffffffff 1) (0 5 0x 0) (6000 0 0) 0x2a 0x00 0x00000000
May 27 15:09:54 bach kernel: ( 10) 0:0: 6: 0 ( 08:02 360464 2 2 ffffffff 1) (0 5 0x 0) (6000 0 0) 0x2a 0x00 0x00000000
May 27 15:09:54 bach kernel: ( 11) 0:0: 6: 0 ( 08:04 17039584 8 8 ffffffff 1) (0 5 0x 0) (6000 0 0) 0x2a 0x00 0x00000000
May 27 15:09:54 bach kernel: ( 12) 0:0: 6: 0 ( 08:04 20185136 8 8 ffffffff 1) (0 5 0x 0) (6000 0 0) 0x2a 0x00 0x00000000
May 27 15:09:54 bach kernel: ( 13) 0:0: 6: 0 ( 08:04 20185568 8 8 ffffffff 1) (0 5 0x 0) (6000 0 0) 0x2a 0x00 0x00000000
May 27 15:09:55 bach kernel: ( 14) 0:0: 6: 0 ( 08:04 524640 8 8 ffffffff 1) (0 5 0x 0) (6000 0 0) 0x2a 0x00 0x00000000
May 27 15:09:55 bach kernel: ( 15) 0:0: 6: 0 ( 08:04 3932320 8 8 ffffffff 2) (0 5 0x 0) (6000 0 0) 0x2a 0x00 0x00000000
May 27 15:09:55 bach kernel: h:c:t:l (dev sect nsect cnumsec sg) (ret all flg) (to/cmd to ito) cmd snse result
May 27 15:09:55 bach kernel: ( 16) 1:0: 2: 0 ( 15:01 0 0 0 ffffffff 0) (0 1 0x 0) (18000 0 0) 0x00 0x02 0x28000002
May 27 15:09:55 bach kernel: ( 17) 1:0: 2: 0 ( 00:00 0 0 0 ffffffff 0) (0 0 0x 0) ( 0 0 0) 0x00 0x00 0x00000000
May 27 15:09:55 bach kernel: h:c:t:l (dev sect nsect cnumsec sg) (ret all flg) (to/cmd to ito) cmd snse result
May 27 15:09:55 bach kernel: ( 18) 2:0: 0: 0 ( 15:02 0 0 0 ffffffff 0) (0 1 0x 0) (18000 0 0) 0x03 0x02 0x28000000
May 27 15:09:55 bach kernel: ( 19) 2:0: 0: 0 ( 00:00 0 0 0 ffffffff 0) (0 0 0x 0) ( 0 0 0) 0x00 0x00 0x00000000
May 27 15:09:55 bach kernel: ( 20) 2:0: 0: 0 ( 00:00 0 0 0 ffffffff 0) (0 0 0x 0) ( 0 0 0) 0x00 0x00 0x00000000
May 27 15:09:55 bach kernel: ( 21) 2:0: 0: 0 ( 00:00 0 0 0 ffffffff 0) (0 0 0x 0) ( 0 0 0) 0x00 0x00 0x00000000
May 27 15:09:55 bach kernel: ( 22) 2:0: 0: 0 ( 00:00 0 0 0 ffffffff 0) (0 0 0x 0) ( 0 0 0) 0x00 0x00 0x00000000
May 27 15:09:55 bach kernel: Dump of pending block device requests
May 27 15:09:55 bach kernel: 0: <1>Unable to handle kernel NULL pointer dereference at virtual address 00000038
May 27 15:09:55 bach kernel: printing eip:
May 27 15:09:55 bach kernel: c01c35e0
May 27 15:09:55 bach kernel: *pde = 00000000
May 27 15:09:55 bach kernel: Oops: 0000
May 27 15:09:55 bach kernel: st sg sr_mod es1371 gameport ac97_codec soundcore radeon agpgart usbcore vmnet
May 27 15:09:55 bach kernel: CPU: 1
May 27 15:09:55 bach kernel: EIP: 0010:[<c01c35e0>] Tainted: PF
May 27 15:09:55 bach kernel: EFLAGS: 00010286
May 27 15:09:55 bach kernel:
May 27 15:09:55 bach kernel: EIP is at scsi_dump_status [kernel] 0x1d0 (2.4.18-4custom)
May 27 15:09:55 bach kernel: eax: 00000006 ebx: 00000000 ecx: 00000000 edx: c027820c
May 27 15:09:55 bach kernel: esi: c03f2698 edi: f7b89b80 ebp: f7b33400 esp: e8b23ed8
May 27 15:09:55 bach kernel: ds: 0018 es: 0018 ss: 0018
May 27 15:09:55 bach kernel: Process bash (pid: 2362, stackpage=e8b23000)
May 27 15:09:55 bach kernel: Stack: 00000000 df02d005 c0278102 df02d009 0000000c c01c231b 00000001 df02d00a
May 27 15:09:55 bach kernel: 00000000 00000000 3cf2aeb2 dd721a40 c03a4a80 f3f83540 e18bc0e0 e8b22000
May 27 15:09:55 bach kernel: c2c3e800 c014dfc5 f3f83540 00000000 00000000 00000000 00000002 0000000a
May 27 15:09:55 bach kernel: Call Trace: [<c01c231b>] proc_scsi_gen_write [kernel] 0x11b
May 27 15:09:55 bach kernel: [<c014dfc5>] open_namei [kernel] 0x4d5
May 27 15:09:55 bach kernel: [<c0150c1a>] locate_fd [kernel] 0xea
May 27 15:09:55 bach kernel: [<c0164a71>] proc_file_write [kernel] 0x31
May 27 15:09:55 bach kernel: [<c0141a46>] sys_write [kernel] 0x96
May 27 15:09:55 bach kernel: [<c0108b3b>] system_call [kernel] 0x33
May 27 15:09:55 bach kernel:
May 27 15:09:55 bach kernel:
May 27 15:09:55 bach kernel: Code: 8b 43 38 50 8b 4b 24 51 8b 53 20 52 8b 43 14 50 0f b7 43 10
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: sym53c8xx: 'echo "scsi dump 1" > /proc/scsi/scsi' generates an oops
2002-05-27 23:32 sym53c8xx: 'echo "scsi dump 1" > /proc/scsi/scsi' generates an oops Vladimir G. Ivanovic
@ 2002-05-29 17:44 ` Patrick Mansfield
0 siblings, 0 replies; 2+ messages in thread
From: Patrick Mansfield @ 2002-05-29 17:44 UTC (permalink / raw)
To: Vladimir G. Ivanovic; +Cc: linux-scsi
On Mon, May 27, 2002 at 04:32:42PM -0700, Vladimir G. Ivanovic wrote:
> The command
>
> echo "scsi dump 1" > /proc/scsi/scsi
>
> generated an oops (syslog entries appended) on my SMP machine running a
> 2.4.18 custom kernel derived from Red Hat's 2.4.18-4 kernel. My SCSI
> controller is an sym53c1010-33, and its driver is
> sym53c8xx-1.7.3c-20010512.
>
> Is this (1) operator error, (2) a high/mid/low-level SCSI problem, or
> (3) some other kind of kernel problem that should be reported on the
> linux-kernel list?
>
> If some more information is needed, please let me know.
>
> Thanks.
>
> --- Vladimir
>
> P.S. I know, if it hurts, don't do that. ;-)
It's a mid layer SCSI bug, it improperly references the queue:
queue_head = &blk_dev[i].request_queue.queue_head;
It should really be something like:
queue_head = SDpnt->request_queue;
Better yet the code should be deleted, as it is also dumping all queues for
each Scsi_Device. The code is gone in the current 2.5.x.
-- Patrick Mansfield
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-29 17:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-27 23:32 sym53c8xx: 'echo "scsi dump 1" > /proc/scsi/scsi' generates an oops Vladimir G. Ivanovic
2002-05-29 17:44 ` Patrick Mansfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox