From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Vladimir G. Ivanovic" Subject: sym53c8xx: 'echo "scsi dump 1" > /proc/scsi/scsi' generates an oops Date: Mon, 27 May 2002 16:32:42 -0700 Sender: linux-scsi-owner@vger.kernel.org Message-ID: <200205272332.g4RNWgi22980@bach.leonora.org> Mime-Version: 1.0 (generated by tm-edit 1.8) Content-Type: text/plain; charset=US-ASCII Return-path: Received: from bach.leonora.org (vladimir@localhost) by bach.leonora.org (8.11.6/8.11.6) with ESMTP id g4RNWgi22980 for ; Mon, 27 May 2002 16:32:42 -0700 List-Id: linux-scsi@vger.kernel.org To: linux-scsi@vger.kernel.org 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:[] 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: [] proc_scsi_gen_write [kernel] 0x11b May 27 15:09:55 bach kernel: [] open_namei [kernel] 0x4d5 May 27 15:09:55 bach kernel: [] locate_fd [kernel] 0xea May 27 15:09:55 bach kernel: [] proc_file_write [kernel] 0x31 May 27 15:09:55 bach kernel: [] sys_write [kernel] 0x96 May 27 15:09:55 bach kernel: [] 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