-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Package: linux-image-2.6-686-smp Version: 1:2.6.18+6etch3
After adding a Promise disk array, that had just finished a RAID init, I was able to partition and create a file system. However, after a few writes the device failed, from the linux point of view. An attempt to issue a echo "scsi remove-single-device 2 0 0 0" > /dev/scsi/scsi produces the kernel trace. The system has to be rebooted as others have reported. The system is a stock Dell Power Edge 2850 Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0 <Adaptec 3960D Ultra160 SCSI adapter> aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs Aug 19 16:02:34 treebeard kernel: sd 2:0:0:0: Attempting to queue an ABORT message Aug 19 16:02:34 treebeard kernel: CDB: 0x28 0x0 0x92 0x18 0xeb 0x98 0x0 0x4 0x0 0x0 Aug 19 16:02:34 treebeard kernel: scsi2: At time of recovery, card was not paused Aug 19 16:02:34 treebeard kernel: >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<< Aug 19 16:02:34 treebeard kernel: scsi2: Dumping Card State while idle, at SEQADDR 0x16c Aug 19 16:02:34 treebeard kernel: Card was paused Aug 19 16:02:34 treebeard kernel: ACCUM = 0x4, SINDEX = 0x48, DINDEX = 0xe4, ARG_2 = 0x1 Aug 19 16:02:34 treebeard kernel: HCNT = 0x0 SCBPTR = 0x3 Aug 19 16:02:34 treebeard kernel: SCSIPHASE[0x0] SCSISIGI[0x14]:(BSYI|ATNI) ERROR[0x0] Aug 19 16:02:34 treebeard kernel: SCSIBUSL[0x0] LASTPHASE[0x1]:(P_BUSFREE) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI) Aug 19 16:02:34 treebeard kernel: SBLKCTL[0xa]:(SELWIDE|SELBUSB) SCSIRATE[0xc2]:(ENABLE_CRC|WIDEXFER) Aug 19 16:02:34 treebeard kernel: SEQCTL[0x10]:(FASTMODE) SEQ_FLAGS[0x40]:(NO_CDB_SENT) Aug 19 16:02:34 treebeard kernel: SSTAT0[0x0] SSTAT1[0x0] SSTAT2[0x0] SSTAT3[0x0] Aug 19 16:02:34 treebeard kernel: SIMODE0[0x8]:(ENSWRAP) SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO) Aug 19 16:02:34 treebeard kernel: SXFRCTL0[0x88]:(SPIOEN|DFON) DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) Aug 19 16:02:34 treebeard kernel: STACK: 0x34 0xe2 0x164 0x179 Aug 19 16:02:34 treebeard kernel: SCB count = 12 Aug 19 16:02:34 treebeard kernel: Kernel NEXTQSCB = 3 Aug 19 16:02:34 treebeard kernel: Card NEXTQSCB = 2 Aug 19 16:02:34 treebeard kernel: QINFIFO entries: 2 Aug 19 16:02:34 treebeard kernel: Waiting Queue entries: Aug 19 16:02:34 treebeard kernel: Disconnected Queue entries: 5:0 1:6 7:1 4:7 0:11 6:5 Aug 19 16:02:34 treebeard kernel: QOUTFIFO entries: Aug 19 16:02:34 treebeard kernel: Sequencer Free SCB List: 2 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Aug 19 16:02:34 treebeard kernel: Sequencer SCB Info: Aug 19 16:02:34 treebeard kernel: 0 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x7] Aug 19 16:02:34 treebeard kernel: SCB_LUN[0x0] SCB_TAG[0xb] Aug 19 16:02:34 treebeard kernel: 1 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x7] Aug 19 16:02:34 treebeard kernel: SCB_LUN[0x0] SCB_TAG[0x6] Aug 19 16:02:34 treebeard kernel: 2 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 19 16:02:34 treebeard kernel: SCB_LUN[0x0] SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 3 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] Aug 19 16:02:34 treebeard kernel: SCB_LUN[0x0] SCB_TAG[0x4] Aug 19 16:02:34 treebeard kernel: 4 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x7] Aug 19 16:02:34 treebeard kernel: SCB_LUN[0x0] SCB_TAG[0x7] Aug 19 16:02:34 treebeard kernel: 5 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x7] Aug 19 16:02:34 treebeard kernel: SCB_LUN[0x0] SCB_TAG[0x0] Aug 19 16:02:34 treebeard kernel: 6 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x7] Aug 19 16:02:34 treebeard kernel: SCB_LUN[0x0] SCB_TAG[0x5] Aug 19 16:02:34 treebeard kernel: 7 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x7] Aug 19 16:02:34 treebeard kernel: SCB_LUN[0x0] SCB_TAG[0x1] Aug 19 16:02:34 treebeard kernel: 8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 16 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 17 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 18 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 19 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 20 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 21 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 22 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 23 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 24 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 25 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 26 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 27 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 28 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 29 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 30 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: 31 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Aug 19 16:02:34 treebeard kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Aug 19 16:02:34 treebeard kernel: Pending list: Aug 19 16:02:34 treebeard kernel: 2 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] Aug 19 16:02:34 treebeard kernel: SCB_LUN[0x0] Aug 19 16:02:34 treebeard kernel: 4 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] Aug 19 16:02:34 treebeard kernel: SCB_LUN[0x0] Aug 19 16:02:34 treebeard kernel: 0 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] Aug 19 16:02:34 treebeard kernel: SCB_LUN[0x0] Aug 19 16:02:34 treebeard kernel: 6 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] Aug 19 16:02:34 treebeard kernel: SCB_LUN[0x0] Aug 19 16:02:34 treebeard kernel: 1 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] Aug 19 16:02:34 treebeard kernel: SCB_LUN[0x0] Aug 19 16:02:34 treebeard kernel: 7 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] Aug 19 16:02:34 treebeard kernel: SCB_LUN[0x0] Aug 19 16:02:34 treebeard kernel: 11 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] Aug 19 16:02:34 treebeard kernel: SCB_LUN[0x0] Aug 19 16:02:34 treebeard kernel: 5 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] Aug 19 16:02:34 treebeard kernel: SCB_LUN[0x0] Aug 19 16:02:34 treebeard kernel: Kernel Free SCB list: 10 9 8 Aug 19 16:02:34 treebeard kernel: Aug 19 16:02:34 treebeard kernel: <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> Aug 19 16:02:34 treebeard kernel: (scsi2:A:0:0): Device is disconnected, re-queuing SCB Aug 19 16:02:34 treebeard kernel: Recovery code sleeping Aug 19 16:02:39 treebeard kernel: Timer Expired Aug 19 16:02:39 treebeard kernel: Recovery code awake Aug 19 16:02:39 treebeard kernel: aic7xxx_abort returns 0x2003 Aug 19 16:02:39 treebeard kernel: sd 2:0:0:0: Attempting to queue an ABORT message Aug 19 16:02:39 treebeard kernel: CDB: 0x28 0x0 0x92 0x18 0xef 0x98 0x0 0x4 0x0 0x0 Aug 19 16:02:39 treebeard kernel: scsi2: At time of recovery, card was not paused goes on for several minutes ( full data can be included if useful) scsi2:0:0:0: Cmd aborted from QINFIFO aic7xxx_abort returns 0x2002 sd 2:0:0:0: scsi: Device offlined - not ready after error recovery sd 2:0:0:0: scsi: Device offlined - not ready after error recovery sd 2:0:0:0: scsi: Device offlined - not ready after error recovery sd 2:0:0:0: scsi: Device offlined - not ready after error recovery sd 2:0:0:0: scsi: Device offlined - not ready after error recovery sd 2:0:0:0: scsi: Device offlined - not ready after error recovery sd 2:0:0:0: scsi: Device offlined - not ready after error recovery sd 2:0:0:0: scsi: Device offlined - not ready after error recovery sd 2:0:0:0: SCSI error: return code = 0x000d0000 end_request: I/O error, dev sdc, sector 2451106712 sd 2:0:0:0: rejecting I/O to offline device sd 2:0:0:0: rejecting I/O to offline device sd 2:0:0:0: rejecting I/O to offline device sd 2:0:0:0: rejecting I/O to offline device sd 2:0:0:0: SCSI error: return code = 0x00010000 end_request: I/O error, dev sdc, sector 2451115928 sd 2:0:0:0: SCSI error: return code = 0x000d0000 end_request: I/O error, dev sdc, sector 2451107736 sd 2:0:0:0: SCSI error: return code = 0x000d0000 end_request: I/O error, dev sdc, sector 2451108760 sd 2:0:0:0: SCSI error: return code = 0x000d0000 end_request: I/O error, dev sdc, sector 2451109784 sd 2:0:0:0: SCSI error: return code = 0x000d0000 end_request: I/O error, dev sdc, sector 2451110808 sd 2:0:0:0: SCSI error: return code = 0x000d0000 end_request: I/O error, dev sdc, sector 2451111832 sd 2:0:0:0: rejecting I/O to offline device sd 2:0:0:0: SCSI error: return code = 0x000d0000 end_request: I/O error, dev sdc, sector 2451114904 - ------------[ cut here ]------------ kernel BUG at drivers/scsi/aic7xxx/aic7xxx_osm.c:658! invalid opcode: 0000 [#1] SMP Modules linked in: iptable_filter ip_tables x_tables cn button ac battery ipv6 ipmi_devintf ipmi_si ipmi_msghandler nfs lockd nfs_acl sunrpc fuse dm_crypt dm_snapshot dm_mirror dm_mod loop ide_floppy floppy joydev shpchp pci_hotplug e752x_edac edac_mc pcspkr tsdev evdev psmouse serio_raw rtc sg st ext3 jbd mbcache sd_mod ch usbhid ide_cd cdrom megaraid_mbox megaraid_mm aic7xxx scsi_transport_spi siimage e1000 scsi_mod uhci_hcd ehci_hcd piix generic ide_core usbcore thermal processor fan CPU: 0 EIP: 0060:[<f89386e5>] Not tainted VLI EFLAGS: 00010202 (2.6.18-6-686 #1) EIP is at ahc_linux_slave_destroy+0x6f/0x8d [aic7xxx] eax: dfc4be00 ebx: 0000003c ecx: 00000000 edx: f8938676 esi: dfa15c00 edi: cb7b3c00 ebp: 00000000 esp: d02c9f2c ds: 007b es: 007b ss: 0068 Process bash (pid: 8316, ti=d02c8000 task=cd983000 task.ti=d02c8000) Stack: dfa15c00 dfa15c94 00000000 d5fa9000 f88c23ca dfa15c00 df9a5030 f88c23f4 dfa15c00 fffffffa f88c343f 00000022 dff644c0 00000000 00000000 00000000 df9a5000 d5fa9021 df84b9c0 f88c3260 080f5c08 00000022 c015a5d7 d02c9fa4 Call Trace: [<f88c23ca>] __scsi_remove_device+0x4d/0x60 [scsi_mod] [<f88c23f4>] scsi_remove_device+0x17/0x20 [scsi_mod] [<f88c343f>] proc_scsi_write+0x1df/0x241 [scsi_mod] [<f88c3260>] proc_scsi_write+0x0/0x241 [scsi_mod] [<c015a5d7>] vfs_write+0xa1/0x143 [<c015abc7>] sys_write+0x3c/0x63 [<c0102c11>] sysenter_past_esp+0x56/0x79 Code: 00 8b 06 8b 80 d8 02 00 00 74 16 ff 76 40 ff b0 94 01 00 00 68 d5 1a 94 f8 e8 92 52 7e c7 83 c4 0c 83 bc 2e b0 02 00 00 00 74 08 <0f> 0b 92 02 5b 19 94 f8 8b 46 44 8d 04 87 c7 84 18 b8 01 00 00 EIP: [<f89386e5>] ahc_linux_slave_destroy+0x6f/0x8d [aic7xxx] SS:ESP 0068:d02c9f2c -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQIVAwUBSKs87UMnv34Ar9phAQpGSA/+PLxtl7PBpLBluBxi/ewL16N4AoA+ke6U xv9cB4y3Q1/+5R7+P5q6cHqcs/ADDBxYYEw9QdeIK5j3i8YC+y/MB+9py1HM5nkT qtacxMzi0zx4H0aubkXxAXIZTAzVaBDlQthmzUVJICAS4bGJkkvJ1gv4SJYej6NO bbR6Xc8FFY5iTuPwnCLMqhd3zBVhoLGnYY41KFC6ctnUTmW+PR8qHvKgcxelAY23 Hn5iZzSHIiWICXsXiaG0GmlW6zECuAEqSes7K6dRim/Gj3zkU51feracQwwjHBQZ OeUIg4bKEwHnnpsqe+vVpj19eC0tGADUJvpJo10nv6qVVg8fUHqdiCnSdgXnmuJe R613oKJlAHc7DA/SvRaT4oFyJ2FvLpQE42JRP2lBQUjPFE+4oeTQc0MIi4xi8wku uvkrgyFrtamA51FXeQEs3cgTcVCO1V1ttaXLs9iFED3YiPwZ9jwhS5i+ARs6tOzr 0HUi/X03U3dRcbRfFVzdggVLWonWV+r9+ibvG8d4XAkvdViyMiMEBViEJA5oM00E jabqHB9BADf672O5PF9NH5ZCKo64A3hHCJ5tpLi513zj6hMUgWuGCcqd4orRpOoz CQ6VnmCCJXgIkw3wfKf/9m2dn8BLB75kDlYIhABTPs0RiXXH1Oh5/5kPFacMepgH l1eeI8dzols= =1zjm -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]