Skip to contentSkip to conversation

What breaks aic7xxx in post 2.6.12-rc2 ?

DISCUSSION Grégoire Favre 9 participants 81 messages May 16, 2005 – Jun 15, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello,

as I reported in
http://marc.theaimsgroup.com/?l=linux-kernel&m=111554477416794&w=2

I have lots of problem with aic7xxx (and till 2.6.12-rc2 everything works perfectly). I have tried to compil 2.6.12-rc4-mm1 without probe all Lun and it don't change anything at all to this problem.

I have two different controllers :

0000:00:05.0 SCSI storage controller: Adaptec AIC-7892A U160/m (rev 02) 0000:00:0a.0 SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U

And I also use libsata.

Anyone got an idea on what's going wrong ?

Please CC to me : I am not on this mailinglist.

Signature · 1 line
	Grégoire Favre
#1 lore raw
Quoted 9 lines · Grégoire Favre

Hello,

as I reported in
http://marc.theaimsgroup.com/?l=linux-kernel&m=111554477416794&w=2

I have lots of problem with aic7xxx (and till 2.6.12-rc2 everything works perfectly). I have tried to compil 2.6.12-rc4-mm1 without probe all Lun and it don't change anything at all to this problem.

Quoted 9 lines

I have two different controllers :

0000:00:05.0 SCSI storage controller: Adaptec AIC-7892A U160/m (rev 02) 0000:00:0a.0 SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U

And I also use libsata.

Anyone got an idea on what's going wrong ?

Not me, it works perfectly here, but then I have different hardware (but using the aic7xxx driver).

Here's what 2.6.12-rc4-mm1 has to say about my devices :

[   33.618922] scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
[   33.618925]         <Adaptec 29160N Ultra160 SCSI adapter>
[   33.618927]         aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
[   33.618930]
[   49.640570] (scsi0:A:4:0): refuses WIDE negotiation.  Using 8bit transfers
[   49.644190]   Vendor: PIONEER   Model: DVD-ROM DVD-305   Rev: 1.03
[   49.646714]   Type:   CD-ROM                             ANSI SCSI revision: 02
[   49.649172]  target0:0:4: Beginning Domain Validation
[   49.651858] (scsi0:A:4:0): refuses WIDE negotiation.  Using 8bit transfers
[   49.657561]  target0:0:4: Domain Validation skipping write tests
[   49.660414] (scsi0:A:4): 20.000MB/s transfers (20.000MHz, offset 16)
[   49.665476]  target0:0:4: Ending Domain Validation
[   49.673599]   Vendor: PLEXTOR   Model: CD-R   PX-W1210S  Rev: 1.01
[   49.676263]   Type:   CD-ROM                             ANSI SCSI revision: 02
[   49.678814]  target0:0:5: Beginning Domain Validation
[   49.683510]  target0:0:5: Domain Validation skipping write tests
[   49.686322] (scsi0:A:5): 20.000MB/s transfers (20.000MHz, offset 16)
[   49.690423]  target0:0:5: Ending Domain Validation
[   49.694849]   Vendor: IBM       Model: DDYS-T36950N      Rev: S96H
[   49.697572]   Type:   Direct-Access                      ANSI SCSI revision: 03
[   49.700193] scsi0:A:6:0: Tagged Queuing enabled.  Depth 250
[   49.702793]  target0:0:6: Beginning Domain Validation
[   49.708229] WIDTH IS 1
[   49.711280] (scsi0:A:6): 6.600MB/s transfers (16bit)
[   49.718361] (scsi0:A:6): 80.000MB/s transfers (40.000MHz, offset 63, 16bit)
[   49.730609]  target0:0:6: Ending Domain Validation
[   51.784340] SCSI device sda: 71687340 512-byte hdwr sectors (36704 MB)
[   51.788211] SCSI device sda: drive cache: write back
[   51.791748] SCSI device sda: 71687340 512-byte hdwr sectors (36704 MB)
[   51.795598] SCSI device sda: drive cache: write back
[   51.798176]  sda: sda1 sda2 sda3 sda4
[   51.817055] Attached scsi disk sda at scsi0, channel 0, id 6, lun 0
[   51.821630] sr0: scsi3-mmc drive: 16x/40x cd/rw xa/form2 cdda tray
[   51.824276] Uniform CD-ROM driver Revision: 3.20
[   51.826937] Attached scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun 0
[   51.831792] sr1: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
[   51.834486] Attached scsi CD-ROM sr1 at scsi0, channel 0, id 5, lun 0

--
Jesper Juhl

#2 lore raw

Re: What breaks aic7xxx in post 2.6.12-rc2 ? (on amd64 ?)

Quoted 2 lines · Jesper Juhl

Not me, it works perfectly here, but then I have different hardware (but using the aic7xxx driver).

You are lucky, maybe I should also mention that I am under x86_64 ?

Here under 2.6.12-rc2 :

ACPI: PCI Interrupt 0000:00:05.0[A] -> GSI 16 (level, low) -> IRQ 16
ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 17 (level, low) -> IRQ 17 scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36

        <Adaptec 29160B Ultra160 SCSI adapter>
        aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

(scsi0:A:0): 80.000MB/s transfers (40.000MHz, offset 15, 16bit) (scsi0:A:15): 80.000MB/s transfers (40.000MHz DT, offset 63, 16bit)
Vendor: IBM Model: DDRS-39130D Rev: DC1B
Type: Direct-Access ANSI SCSI revision: 02
scsi0:A:0:0: Tagged Queuing enabled. Depth 253
Vendor: SEAGATE Model: ST336706LW Rev: 0108
Type: Direct-Access ANSI SCSI revision: 03
scsi0:A:15:0: Tagged Queuing enabled. Depth 253
scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec 2940 Ultra SCSI adapter>
aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs

(scsi1:A:1): 10.000MB/s transfers (10.000MHz, offset 15)
Vendor: TOSHIBA Model: DVD-ROM SD-M1201 Rev: 1R08
Type: CD-ROM ANSI SCSI revision: 02
(scsi1:A:2): 10.000MB/s transfers (10.000MHz, offset 8)
Vendor: PLEXTOR Model: CD-R PX-R820T Rev: 1.08
Type: CD-ROM ANSI SCSI revision: 02
(scsi1:A:3): 10.000MB/s transfers (10.000MHz, offset 8)
Vendor: PLEXTOR Model: CD-R PX-R820T Rev: 1.08
Type: CD-ROM ANSI SCSI revision: 02
libata version 1.10 loaded.
sata_via version 1.1
ACPI: PCI Interrupt 0000:00:0f.0[B] -> GSI 20 (level, low) -> IRQ 20 sata_via(0000:00:0f.0): routed to hard irq line 4
ata1: SATA max UDMA/133 cmd 0xE000 ctl 0xDC02 bmdma 0xD000 irq 20
ata2: SATA max UDMA/133 cmd 0xD800 ctl 0xD402 bmdma 0xD008 irq 20
ata1: no device found (phy stat 00000000)
scsi2 : sata_via
ata2: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4043 85:7c69 86:3e01 87:4043 88:407f
ata2: dev 0 ATA, max UDMA/133, 398297088 sectors: lba48
ata2: dev 0 configured for UDMA/133
scsi3 : sata_via
Vendor: ATA Model: Maxtor 6B200M0 Rev: BANC
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 17850000 512-byte hdwr sectors (9139 MB)
SCSI device sda: drive cache: write back
sda: sda1 sda2
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sdb: 71687370 512-byte hdwr sectors (36704 MB)
SCSI device sdb: drive cache: write back
SCSI device sdb: 71687370 512-byte hdwr sectors (36704 MB)
SCSI device sdb: drive cache: write back
sdb: sdb1 sdb2
Attached scsi disk sdb at scsi0, channel 0, id 15, lun 0
SCSI device sdc: 398297088 512-byte hdwr sectors (203928 MB)
SCSI device sdc: drive cache: write back
SCSI device sdc: 398297088 512-byte hdwr sectors (203928 MB)
SCSI device sdc: drive cache: write back
sdc: sdc1 sdc2
Attached scsi disk sdc at scsi3, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 32x/32x cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr0 at scsi1, channel 0, id 1, lun 0
sr1: scsi3-mmc drive: 20x/20x writer cd/rw xa/form2 cdda tray Attached scsi CD-ROM sr1 at scsi1, channel 0, id 2, lun 0
sr2: scsi3-mmc drive: 20x/20x writer cd/rw xa/form2 cdda tray Attached scsi CD-ROM sr2 at scsi1, channel 0, id 3, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0 Attached scsi generic sg1 at scsi0, channel 0, id 15, lun 0, type 0

Attached scsi generic sg2 at scsi1, channel 0, id 1, lun 0,  type 5
Attached scsi generic sg3 at scsi1, channel 0, id 2, lun 0,  type 5
Attached scsi generic sg4 at scsi1, channel 0, id 3, lun 0,  type 5
Attached scsi generic sg5 at scsi3, channel 0, id 0, lun 0,  type 0

usbmon: debugs is not available
ACPI: PCI Interrupt 0000:00:10.4[C] -> GSI 21 (level, low) -> IRQ 21 ehci_hcd 0000:00:10.4: VIA Technologies, Inc. USB 2.0
ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:10.4: irq 21, io mem 0xcfffe900
ehci_hcd 0000:00:10.4: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004 hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
USB Universal Host Controller Interface driver v2.2
ACPI: PCI Interrupt 0000:00:10.0[A] -> GSI 21 (level, low) -> IRQ 21 uhci_hcd 0000:00:10.0: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:10.0: irq 21, io base 0x0000bc00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.1[A] -> GSI 21 (level, low) -> IRQ 21 uhci_hcd 0000:00:10.1: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2) uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:10.1: irq 21, io base 0x0000c000
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.2[B] -> GSI 21 (level, low) -> IRQ 21 uhci_hcd 0000:00:10.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#3) uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4 uhci_hcd 0000:00:10.2: irq 21, io base 0x0000c400
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.3[B] -> GSI 21 (level, low) -> IRQ 21 uhci_hcd 0000:00:10.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#4) uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 5 uhci_hcd 0000:00:10.3: irq 21, io base 0x0000c800
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.

Anyone has aic7xxx working post 2.6.12-rc2 on amd64 ?

Thank you very much and please keep CC to me as I am not on this ml.

Signature · 1 line
	Grégoire Favre
#3 lore raw

Re: What breaks aic7xxx in post 2.6.12-rc2 ? (on amd64 ?)

Quoted 7 lines · Grégoire Favre
Quoted 2 lines · Jesper Juhl

Not me, it works perfectly here, but then I have different hardware (but using the aic7xxx driver).

You are lucky, maybe I should also mention that I am under x86_64 ?

Have you tried enabling some of the debug options and the options that give you more verbose errors? That might help diagnose what wrong. Just a guess, I don't know, but I'd try these options :

CONFIG_SCSI_CONSTANTS
CONFIG_SCSI_LOGGING
CONFIG_AIC7XXX_DEBUG_ENABLE
CONFIG_AIC7XXX_DEBUG_MASK
CONFIG_AIC7XXX_REG_PRETTY_PRINT

read the help for those options to see what they do and how to use them.

Signature · 1 line
Jesper Juhl
#4 lore raw
In reply to Grégoire Favre

Here's a me too report.

This is controller that I have

00:0e.0 SCSI storage controller: Adaptec AIC-7896U2/7897U2

I never used to get warning such as "refuses WIDE negotiation" in kernels prior to 2.6.12-rc3-mm3.
The machine (x86) boots up fine though.

Here's the relevant dmesg output from 2.6.12-rc4-mm1

======================================================================

scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec aic7896/97 Ultra2 SCSI adapter> aic7896/97: Ultra2 Wide Channel B, SCSI Id=7, 32/253 SCBs

Vendor: IBM-PSG Model: ST39103LC !# Rev: B227
Type: Direct-Access ANSI SCSI revision: 02
scsi0:A:0:0: Tagged Queuing enabled. Depth 32
target0:0:0: Beginning Domain Validation
WIDTH IS 1
(scsi0:A:0): 6.600MB/s transfers (16bit)
target0:0:0: Domain Validation skipping write tests
(scsi0:A:0): 80.000MB/s transfers (40.000MHz, offset 15, 16bit)
target0:0:0: Ending Domain Validation
Vendor: IBM-PSG Model: ST39103LC !# Rev: B227
Type: Direct-Access ANSI SCSI revision: 02
scsi0:A:1:0: Tagged Queuing enabled. Depth 32
target0:0:1: Beginning Domain Validation
WIDTH IS 1
(scsi0:A:1): 6.600MB/s transfers (16bit)
target0:0:1: Domain Validation skipping write tests
(scsi0:A:1): 80.000MB/s transfers (40.000MHz, offset 15, 16bit)
target0:0:1: Ending Domain Validation
(scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers <============
scsi0:0:15:0: Attempting to queue an ABORT message
CDB: 0x12 0x0 0x0 0x0 0x36 0x0
scsi0: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi0: Dumping Card State in Data-in phase, at SEQADDR 0x85
Card was paused
ACCUM = 0x40, SINDEX = 0xa, DINDEX = 0xe4, ARG_2 = 0x0
HCNT = 0x36 SCBPTR = 0x0
SCSISIGI[0x46] ERROR[0x0] SCSIBUSL[0x3] LASTPHASE[0x40]
SCSISEQ[0x12] SBLKCTL[0xa] SCSIRATE[0x0] SEQCTL[0x10]
SEQ_FLAGS[0x20] SSTAT0[0x0] SSTAT1[0x2] SSTAT2[0x40]
SSTAT3[0x0] SIMODE0[0x8] SIMODE1[0xac] SXFRCTL0[0x80]
DFCNTRL[0x28] DFSTATUS[0x80]
STACK: 0x0 0x160 0x176 0x83
SCB count = 4
Kernel NEXTQSCB = 3
Card NEXTQSCB = 3
QINFIFO entries:
Waiting Queue entries:
Disconnected Queue entries:
QOUTFIFO entries:
Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Sequencer SCB Info:
0 SCB_CONTROL[0x40] SCB_SCSIID[0xf7] SCB_LUN[0x0] SCB_TAG[0x2]
1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
16 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
17 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
18 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
19 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
20 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
21 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
22 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
23 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
24 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
25 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
26 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
27 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
28 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
29 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
30 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
31 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
Pending list:
2 SCB_CONTROL[0x40] SCB_SCSIID[0xf7] SCB_LUN[0x0]
Kernel Free SCB list: 1 0
Untagged Q(15): 2
DevQ(0:0:0): 0 waiting
DevQ(0:1:0): 0 waiting
DevQ(0:15:0): 0 waiting

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> scsi0:0:15:0: Device is active, asserting ATN Recovery code sleeping
Recovery code awake
Timer Expired
aic7xxx_abort returns 0x2003
scsi0:0:15:0: Attempting to queue a TARGET RESET message
CDB: 0x12 0x0 0x0 0x0 0x36 0x0
aic7xxx_dev_reset returns 0x2003
Recovery SCB completes
(scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers (scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers scsi0:0:15:0: Attempting to queue an ABORT message
CDB: 0x12 0x0 0x0 0x0 0x36 0x0
scsi0: At time of recovery, card was not paused

======================================================================

#5 lore raw
Quoted 3 lines · Dinakar Guniguntala

Here's a me too report.

Better cc linux-scsi.

Are these bugs also present in 2.6.12-rc4?

Quoted 122 lines

This is controller that I have

00:0e.0 SCSI storage controller: Adaptec AIC-7896U2/7897U2

I never used to get warning such as "refuses WIDE negotiation" in kernels prior to 2.6.12-rc3-mm3.
The machine (x86) boots up fine though.

Here's the relevant dmesg output from 2.6.12-rc4-mm1

======================================================================

scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec aic7896/97 Ultra2 SCSI adapter> aic7896/97: Ultra2 Wide Channel B, SCSI Id=7, 32/253 SCBs

Vendor: IBM-PSG Model: ST39103LC !# Rev: B227
Type: Direct-Access ANSI SCSI revision: 02
scsi0:A:0:0: Tagged Queuing enabled. Depth 32
target0:0:0: Beginning Domain Validation
WIDTH IS 1
(scsi0:A:0): 6.600MB/s transfers (16bit)
target0:0:0: Domain Validation skipping write tests
(scsi0:A:0): 80.000MB/s transfers (40.000MHz, offset 15, 16bit)
target0:0:0: Ending Domain Validation
Vendor: IBM-PSG Model: ST39103LC !# Rev: B227
Type: Direct-Access ANSI SCSI revision: 02
scsi0:A:1:0: Tagged Queuing enabled. Depth 32
target0:0:1: Beginning Domain Validation
WIDTH IS 1
(scsi0:A:1): 6.600MB/s transfers (16bit)
target0:0:1: Domain Validation skipping write tests
(scsi0:A:1): 80.000MB/s transfers (40.000MHz, offset 15, 16bit)
target0:0:1: Ending Domain Validation
(scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers <============
scsi0:0:15:0: Attempting to queue an ABORT message
CDB: 0x12 0x0 0x0 0x0 0x36 0x0
scsi0: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi0: Dumping Card State in Data-in phase, at SEQADDR 0x85
Card was paused
ACCUM = 0x40, SINDEX = 0xa, DINDEX = 0xe4, ARG_2 = 0x0
HCNT = 0x36 SCBPTR = 0x0
SCSISIGI[0x46] ERROR[0x0] SCSIBUSL[0x3] LASTPHASE[0x40]
SCSISEQ[0x12] SBLKCTL[0xa] SCSIRATE[0x0] SEQCTL[0x10]
SEQ_FLAGS[0x20] SSTAT0[0x0] SSTAT1[0x2] SSTAT2[0x40]
SSTAT3[0x0] SIMODE0[0x8] SIMODE1[0xac] SXFRCTL0[0x80]
DFCNTRL[0x28] DFSTATUS[0x80]
STACK: 0x0 0x160 0x176 0x83
SCB count = 4
Kernel NEXTQSCB = 3
Card NEXTQSCB = 3
QINFIFO entries:
Waiting Queue entries:
Disconnected Queue entries:
QOUTFIFO entries:
Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Sequencer SCB Info:
0 SCB_CONTROL[0x40] SCB_SCSIID[0xf7] SCB_LUN[0x0] SCB_TAG[0x2]
1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
16 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
17 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
18 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
19 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
20 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
21 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
22 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
23 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
24 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
25 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
26 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
27 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
28 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
29 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
30 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
31 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
Pending list:
2 SCB_CONTROL[0x40] SCB_SCSIID[0xf7] SCB_LUN[0x0]
Kernel Free SCB list: 1 0
Untagged Q(15): 2
DevQ(0:0:0): 0 waiting
DevQ(0:1:0): 0 waiting
DevQ(0:15:0): 0 waiting

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> scsi0:0:15:0: Device is active, asserting ATN Recovery code sleeping
Recovery code awake
Timer Expired
aic7xxx_abort returns 0x2003
scsi0:0:15:0: Attempting to queue a TARGET RESET message
CDB: 0x12 0x0 0x0 0x0 0x36 0x0
aic7xxx_dev_reset returns 0x2003
Recovery SCB completes
(scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers (scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers scsi0:0:15:0: Attempting to queue an ABORT message
CDB: 0x12 0x0 0x0 0x0 0x36 0x0
scsi0: At time of recovery, card was not paused

======================================================================

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#6 lore raw
Quoted 1 line · Andrew Morton

Better cc linux-scsi.

Thanks

Quoted 1 line

Are these bugs also present in 2.6.12-rc4?

Yes, I tried a vanilla 2.6.12-rc4 and I get the same output. I get this from 2.6.12-rc3 onwards.

Maybe something from the following changeset of 2.6.12-rc3 ??

[email protected]:
[PATCH] finally fix 53c700 to use the generic iomem infrastructure [PATCH] Convert i2o to compat_ioctl
[PATCH] Convert i2o to compat_ioctl
aic7xxx: add support for the SPI transport class
aic7xxx: convert to SPI transport class Domain Validation
lpfc: add Emulex FC driver version 8.0.28
qla2xxx: fix compiler warning in qla_attr.c
scsi: add DID_REQUEUE to the error handling
scsi: add DID_REQUEUE to the error handling
updates for CFQ oops fix
zfcp: add point-2-point support
zfcp: add point-2-point support

-Dinakar

Quoted 116 lines
Quoted 116 lines

This is controller that I have

00:0e.0 SCSI storage controller: Adaptec AIC-7896U2/7897U2

I never used to get warning such as "refuses WIDE negotiation" in kernels prior to 2.6.12-rc3-mm3.
The machine (x86) boots up fine though.

Here's the relevant dmesg output from 2.6.12-rc4-mm1

======================================================================

scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec aic7896/97 Ultra2 SCSI adapter> aic7896/97: Ultra2 Wide Channel B, SCSI Id=7, 32/253 SCBs

Vendor: IBM-PSG Model: ST39103LC !# Rev: B227
Type: Direct-Access ANSI SCSI revision: 02
scsi0:A:0:0: Tagged Queuing enabled. Depth 32
target0:0:0: Beginning Domain Validation
WIDTH IS 1
(scsi0:A:0): 6.600MB/s transfers (16bit)
target0:0:0: Domain Validation skipping write tests
(scsi0:A:0): 80.000MB/s transfers (40.000MHz, offset 15, 16bit)
target0:0:0: Ending Domain Validation
Vendor: IBM-PSG Model: ST39103LC !# Rev: B227
Type: Direct-Access ANSI SCSI revision: 02
scsi0:A:1:0: Tagged Queuing enabled. Depth 32
target0:0:1: Beginning Domain Validation
WIDTH IS 1
(scsi0:A:1): 6.600MB/s transfers (16bit)
target0:0:1: Domain Validation skipping write tests
(scsi0:A:1): 80.000MB/s transfers (40.000MHz, offset 15, 16bit)
target0:0:1: Ending Domain Validation
(scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers <============
scsi0:0:15:0: Attempting to queue an ABORT message
CDB: 0x12 0x0 0x0 0x0 0x36 0x0
scsi0: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi0: Dumping Card State in Data-in phase, at SEQADDR 0x85
Card was paused
ACCUM = 0x40, SINDEX = 0xa, DINDEX = 0xe4, ARG_2 = 0x0
HCNT = 0x36 SCBPTR = 0x0
SCSISIGI[0x46] ERROR[0x0] SCSIBUSL[0x3] LASTPHASE[0x40]
SCSISEQ[0x12] SBLKCTL[0xa] SCSIRATE[0x0] SEQCTL[0x10]
SEQ_FLAGS[0x20] SSTAT0[0x0] SSTAT1[0x2] SSTAT2[0x40]
SSTAT3[0x0] SIMODE0[0x8] SIMODE1[0xac] SXFRCTL0[0x80]
DFCNTRL[0x28] DFSTATUS[0x80]
STACK: 0x0 0x160 0x176 0x83
SCB count = 4
Kernel NEXTQSCB = 3
Card NEXTQSCB = 3
QINFIFO entries:
Waiting Queue entries:
Disconnected Queue entries:
QOUTFIFO entries:
Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Sequencer SCB Info:
0 SCB_CONTROL[0x40] SCB_SCSIID[0xf7] SCB_LUN[0x0] SCB_TAG[0x2]
1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
16 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
17 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
18 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
19 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
20 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
21 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
22 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
23 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
24 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
25 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
26 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
27 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
28 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
29 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
30 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
31 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
Pending list:
2 SCB_CONTROL[0x40] SCB_SCSIID[0xf7] SCB_LUN[0x0]
Kernel Free SCB list: 1 0
Untagged Q(15): 2
DevQ(0:0:0): 0 waiting
DevQ(0:1:0): 0 waiting
DevQ(0:15:0): 0 waiting

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> scsi0:0:15:0: Device is active, asserting ATN Recovery code sleeping
Recovery code awake
Timer Expired
aic7xxx_abort returns 0x2003
scsi0:0:15:0: Attempting to queue a TARGET RESET message
CDB: 0x12 0x0 0x0 0x0 0x36 0x0
aic7xxx_dev_reset returns 0x2003
Recovery SCB completes
(scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers (scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers scsi0:0:15:0: Attempting to queue an ABORT message
CDB: 0x12 0x0 0x0 0x0 0x36 0x0
scsi0: At time of recovery, card was not paused

======================================================================

#11 lore raw
In reply to Andrew Morton
Quoted 1 line · Andrew Morton

Better cc linux-scsi.

Always a wise thing to do for SCSI failure reports.

Quoted 4 lines
Quoted 4 lines

target0:0:1: Ending Domain Validation
(scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers <============
scsi0:0:15:0: Attempting to queue an ABORT message
CDB: 0x12 0x0 0x0 0x0 0x36 0x0

Actually, this isn't a me too. The previous one looks like some strange DV failure. This is a problem with the initial inquiry. What's the device at target 15?

James

#12 lore raw
Quoted 3 lines · James Bottomley

Actually, this isn't a me too. The previous one looks like some strange DV failure. This is a problem with the initial inquiry. What's the device at target 15?

On this controler I have :

Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: IBM Model: DDRS-39130D Rev: DC1B
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 15 Lun: 00
Vendor: SEAGATE Model: ST336706LW Rev: 0108
Type: Direct-Access ANSI SCSI revision: 03

Should I change anything in the BIOS ?

Thank you, and please keep CC to me as I am not on this ml :-)

Signature · 5 lines
	Grégoire Favre
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#13 lore raw
Quoted 8 lines · Grégoire Favre

On this controler I have :

Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: IBM Model: DDRS-39130D Rev: DC1B
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 15 Lun: 00
Vendor: SEAGATE Model: ST336706LW Rev: 0108
Type: Direct-Access ANSI SCSI revision: 03

Erm, that doesn't square with the bug report:

Quoted 3 lines

Vendor: IBM-PSG Model: ST39103LC !# Rev: B227
Type: Direct-Access ANSI SCSI revision: 02
scsi0:A:0:0: Tagged Queuing enabled. Depth 32

[...]

Quoted 3 lines

Vendor: IBM-PSG Model: ST39103LC !# Rev: B227
Type: Direct-Access ANSI SCSI revision: 02
scsi0:A:1:0: Tagged Queuing enabled. Depth 32

James

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#14 lore raw
Quoted 10 lines · James Bottomley
Quoted 8 lines · Grégoire Favre

On this controler I have :

Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: IBM Model: DDRS-39130D Rev: DC1B
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 15 Lun: 00
Vendor: SEAGATE Model: ST336706LW Rev: 0108
Type: Direct-Access ANSI SCSI revision: 03

Quoted 9 lines

Erm, that doesn't square with the bug report:

Quoted 3 lines

Vendor: IBM-PSG Model: ST39103LC !# Rev: B227
Type: Direct-Access ANSI SCSI revision: 02
scsi0:A:0:0: Tagged Queuing enabled. Depth 32

[...]

Quoted 3 lines

Vendor: IBM-PSG Model: ST39103LC !# Rev: B227
Type: Direct-Access ANSI SCSI revision: 02
scsi0:A:1:0: Tagged Queuing enabled. Depth 32

Well,

I just did some copy, and I didn't swap hardware ???

What does that mean ?

Signature · 5 lines
	Grégoire Favre
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#16 lore raw
In reply to James Bottomley
Quoted 8 lines · James Bottomley
Quoted 4 lines
Quoted 4 lines

target0:0:1: Ending Domain Validation
(scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers <============
scsi0:0:15:0: Attempting to queue an ABORT message
CDB: 0x12 0x0 0x0 0x0 0x36 0x0

Actually, this isn't a me too. The previous one looks like some strange DV failure. This is a problem with the initial inquiry. What's the device at target 15?

Not sure what is it that you want, but here is the lspci -vv (It is a IBM x370 box)

00:0e.0 SCSI storage controller: Adaptec AIC-7896U2/7897U2
Subsystem: Adaptec: Unknown device 080f
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 100 (9750ns min, 6250ns max), cache line size 08
Interrupt: pin A routed to IRQ 51
BIST result: 00
Region 0: I/O ports at 2200 [disabled] [size=256]
Region 1: Memory at f9ffd000 (64-bit, non-prefetchable) [size=4K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

And here is the output when it boots up fine without the warnings on 2.6.12-rc2

May  9 12:03:32 llm09 kernel: scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
May  9 12:03:32 llm09 kernel:         <Adaptec aic7896/97 Ultra2 SCSI adapter>
May  9 12:03:32 llm09 kernel:         aic7896/97: Ultra2 Wide Channel B, SCSI Id=7, 32/253 SCBs
May  9 12:03:32 llm09 kernel:
May  9 12:03:32 llm09 kernel: (scsi0:A:0): 80.000MB/s transfers (40.000MHz, offset 15, 16bit)
May  9 12:03:32 llm09 kernel:   Vendor: IBM-PSG   Model: ST39103LC     !#  Rev: B227
May  9 12:03:32 llm09 kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
May  9 12:03:32 llm09 kernel: scsi0:A:0:0: Tagged Queuing enabled.  Depth 32
May  9 12:03:32 llm09 kernel: ACPI: No ACPI bus support for 0:0:0:0
May  9 12:03:32 llm09 kernel: (scsi0:A:1): 80.000MB/s transfers (40.000MHz, offset 15, 16bit)
May  9 12:03:32 llm09 kernel:   Vendor: IBM-PSG   Model: ST39103LC     !#  Rev: B227
May  9 12:03:32 llm09 kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
May  9 12:03:32 llm09 kernel: scsi0:A:1:0: Tagged Queuing enabled.  Depth 32
May  9 12:03:32 llm09 kernel: ACPI: No ACPI bus support for 0:0:1:0
May  9 12:03:32 llm09 kernel:   Vendor: IBM CORP  Model: GEM312 V002       Rev: 4.1b
May  9 12:03:32 llm09 kernel:   Type:   Processor                          ANSI SCSI revision: 02
May  9 12:03:32 llm09 kernel: ACPI: No ACPI bus support for 0:0:15:0
May  9 12:03:32 llm09 kernel: scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
May  9 12:03:32 llm09 kernel:         <Adaptec aic7896/97 Ultra2 SCSI adapter>
May  9 12:03:33 llm09 kernel:         aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
May  9 12:03:33 llm09 kernel:
May  9 12:03:33 llm09 kernel: SCSI device sda: 17774160 512-byte hdwr sectors (9100 MB)
May  9 12:03:33 llm09 kernel: SCSI device sda: drive cache: write through
May  9 12:03:33 llm09 kernel: SCSI device sda: 17774160 512-byte hdwr sectors (9100 MB)
May  9 12:03:33 llm09 kernel: SCSI device sda: drive cache: write through
May  9 12:03:33 llm09 kernel:  sda: sda1 sda2 sda3
May  9 12:03:33 llm09 kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
May  9 12:03:33 llm09 kernel: SCSI device sdb: 17774160 512-byte hdwr sectors (9100 MB)
May  9 12:03:33 llm09 kernel: SCSI device sdb: drive cache: write through
May  9 12:03:33 llm09 kernel: SCSI device sdb: 17774160 512-byte hdwr sectors (9100 MB)
May  9 12:03:33 llm09 kernel: SCSI device sdb: drive cache: write through
May  9 12:03:33 llm09 kernel:  sdb: sdb1
May  9 12:03:33 llm09 kernel: Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0
May  9 12:03:33 llm09 kernel: Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
May  9 12:03:33 llm09 kernel: Attached scsi generic sg1 at scsi0, channel 0, id 1, lun 0,  type 0
May  9 12:03:33 llm09 kernel: Attached scsi generic sg2 at scsi0, channel 0, id 15, lun 0,  type 3

Hope this helps

-Dinakar

#15 lore raw
In reply to Grégoire Favre
Quoted 3 lines · Grégoire Favre

I just did some copy, and I didn't swap hardware ???

What does that mean ?

I think the bug report that Andrew forwarded to linux-scsi with the above Subject: is from [email protected] (at least, his information matches the trace).

James

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#17 lore raw
In reply to Dinakar Guniguntala
Quoted 2 lines · Dinakar Guniguntala
May  9 12:03:32 llm09 kernel:   Vendor: IBM CORP  Model: GEM312 V002       Rev: 4.1b
May  9 12:03:32 llm09 kernel:   Type:   Processor                          ANSI SCSI revision: 02

OK, that's roughly what I was expecting. These processor chips tend to be rather basic when it comes to rates and widths.

The root cause, I think, is that the aic7xxx isn't starting out at async narrow for the first inquiry (because the original DV code I removed did this, and I didn't add an equivalent back). The latest aic7xxx patch should sort this out.

So, to get all of these changes, could you start with vanilla linus kernel 2.6.12-rc4 (or tree based on this, but not -mm which already has some of the SCSI tree included) and then apply the SCSI patch at

http://parisc-linux.org/~jejb/scsi_diffs/scsi-misc-2.6.diff

and see if it works?

Thanks,

James

#18 lore raw
Quoted 7 lines · James Bottomley

So, to get all of these changes, could you start with vanilla linus kernel 2.6.12-rc4 (or tree based on this, but not -mm which already has some of the SCSI tree included) and then apply the SCSI patch at

http://parisc-linux.org/~jejb/scsi_diffs/scsi-misc-2.6.diff

and see if it works?

Well, it don't... I send you a private mail with a picture I take a boot time.

Thank,

Signature · 5 lines
	Grégoire Favre
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#19 lore raw
Quoted 2 lines · Grégoire Favre

Well, it don't... I send you a private mail with a picture I take a boot time.

Right, but the problem I think it will fix is the initial inquiry being sent with the wrong transport parameters.

You have a different problem, I think ... it looks like your Toshiba DVD does somthing strange during Domain Validation ... the question I don't have an answer to yet, is what.

James

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#20 lore raw
Quoted 6 lines · James Bottomley

Right, but the problem I think it will fix is the initial inquiry being sent with the wrong transport parameters.

You have a different problem, I think ... it looks like your Toshiba DVD does somthing strange during Domain Validation ... the question I don't have an answer to yet, is what.

Oh, sorry, thank you for the patch :-)

Signature · 5 lines
	Grégoire Favre
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#21 lore raw
Quoted 10 lines · Grégoire Favre
Quoted 6 lines · James Bottomley

Right, but the problem I think it will fix is the initial inquiry being sent with the wrong transport parameters.

You have a different problem, I think ... it looks like your Toshiba DVD does somthing strange during Domain Validation ... the question I don't have an answer to yet, is what.

Oh, sorry, thank you for the patch :-)

Well, the attached is what I'd like you to try, capturing the information from the initial inquiry on ... it will be quite a bit.

Hopefully it will give me a clearer idea of what's going on.

Thanks,

James

drivers/scsi/scsi_transport_spi.c +19 -1
@@ -669,14 +669,23 @@ spi_dv_retrain(struct scsi_request *sreq
 {
 	struct spi_internal *i = to_spi_internal(sreq->sr_host->transportt);
 	struct scsi_device *sdev = sreq->sr_device;
+	struct scsi_target *starget = sdev->sdev_target;
 	int period = 0, prevperiod = 0; 
 	enum spi_compare_returns retval;
 
 
 	for (;;) {
 		int newperiod;
+
 		retval = compare_fn(sreq, buffer, ptr, DV_LOOPS);
 
+		if(i->f->get_period)
+			i->f->get_period(starget);
+		if (i->f->get_offset)
+			i->f->get_offset(starget);
+
+		spi_display_xfer_agreement(starget);
+
 		if (retval == SPI_COMPARE_SUCCESS
 		    || retval == SPI_COMPARE_SKIP_TEST)
 			break;
@@ -765,6 +774,8 @@ spi_dv_device_internal(struct scsi_reque
 	/* first set us up for narrow async */
 	DV_SET(offset, 0);
 	DV_SET(width, 0);
+
+	printk("BEGINNING ASYNC, inq len = %d\n", sdev->inquiry_len);
 	
 	if (spi_dv_device_compare_inquiry(sreq, buffer, buffer, DV_LOOPS)
 	    != SPI_COMPARE_SUCCESS) {
@@ -773,11 +784,13 @@ spi_dv_device_internal(struct scsi_reque
 		return;
 	}
 
+	printk("ASYNC INQUIRY SUCCEEDED\n");
+
 	/* test width */
 	if (i->f->set_width && spi_max_width(starget) && sdev->wdtr) {
 		i->f->set_width(sdev->sdev_target, 1);
 
-		printk("WIDTH IS %d\n", spi_max_width(starget));
+		printk("TRYING WIDE ASYNC INQUIRY\n");
 
 		if (spi_dv_device_compare_inquiry(sreq, buffer,
 						   buffer + len,
@@ -802,12 +815,17 @@ spi_dv_device_internal(struct scsi_reque
 	if (sdev->ppr)
 		len = spi_dv_device_get_echo_buffer(sreq, buffer);
 
+	printk("ECHO BUFFER HAS LEN %d\n", len);
+
  retry:
 
 	/* now set up to the maximum */
 	DV_SET(offset, spi_max_offset(starget));
 	DV_SET(period, spi_min_period(starget));
 
+	printk("DV SETTING TO period %d, offset %d\n", spi_min_period(starget),
+	       spi_max_offset(starget));
+
 	if (len == 0) {
 		SPI_PRINTK(sdev->sdev_target, KERN_INFO, "Domain Validation skipping write tests\n");
 		spi_dv_retrain(sreq, buffer, buffer + len,

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#22 lore raw
Quoted 4 lines · James Bottomley

Well, the attached is what I'd like you to try, capturing the information from the initial inquiry on ... it will be quite a bit.

Hopefully it will give me a clearer idea of what's going on.

Could I just take some pictures of the boot process and send them to you ?

Or is there any way to use an usb palm to catch the console output ?

Thank you very much,

Signature · 1 line
	Grégoire Favre
#23 lore raw
Quoted 2 lines · Grégoire Favre

Could I just take some pictures of the boot process and send them to you ?

Not really, the messages I need will be embedded in a lot of other output and will likely scroll off the screen

Quoted 1 line

Or is there any way to use an usb palm to catch the console output ?

If it has a serial port, sure, just use a serial console.

If it doesn't, try removing the DVD during boot, then plug it back in again and trigger a device add

echo scsi add-single-device <n> 0 1 0 > /proc/scsi/scsi

where <n> is whatever SCSI number the rest of your CD-ROM's appear on (it was 1 in your first trace).

James

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#64 lore raw
In reply to James Bottomley
Quoted 5 lines · James Bottomley

The root cause, I think, is that the aic7xxx isn't starting out at async narrow for the first inquiry (because the original DV code I removed did this, and I didn't add an equivalent back). The latest aic7xxx patch should sort this out.

Quoted 7 lines

So, to get all of these changes, could you start with vanilla linus kernel 2.6.12-rc4 (or tree based on this, but not -mm which already has some of the SCSI tree included) and then apply the SCSI patch at

http://parisc-linux.org/~jejb/scsi_diffs/scsi-misc-2.6.diff

and see if it works?

It works !! Thanks.

So are these patches getting into -mm first or -rc5 ??

-Dinakar

#65 lore raw
Quoted 3 lines · Dinakar Guniguntala

It works !! Thanks.

So are these patches getting into -mm first or -rc5 ??

Damn, I knew you were going to ask that ... the problem is it's the last in a long line of invasive adaptec patches that sit in my scsi-misc-2.6 tree ... I suppose we can't have the aic driver slightly hosed for 2.6.12; I'll see if I can extract them.

James

#66 lore raw
Quoted 8 lines · James Bottomley
Quoted 2 lines

So are these patches getting into -mm first or -rc5 ??

Damn, I knew you were going to ask that ... the problem is it's the last in a long line of invasive adaptec patches that sit in my scsi-misc-2.6 tree ... I suppose we can't have the aic driver slightly hosed for 2.6.12; I'll see if I can extract them.

You actually thought you could get away with that ?? :)

Seriously, scsi takes a long time to boot even normally, but with this bug, it takes forever and a few more retries before it finally boots up.

I would really appreciate if you could extract and send them upstream, Thanks

-Dinakar

#67 lore raw
In reply to James Bottomley
Quoted 18 lines · James Bottomley
Quoted 2 lines · Dinakar Guniguntala
May  9 12:03:32 llm09 kernel:   Vendor: IBM CORP  Model: GEM312 V002       Rev: 4.1b
May  9 12:03:32 llm09 kernel:   Type:   Processor                          ANSI SCSI revision: 02

OK, that's roughly what I was expecting. These processor chips tend to be rather basic when it comes to rates and widths.

The root cause, I think, is that the aic7xxx isn't starting out at async narrow for the first inquiry (because the original DV code I removed did this, and I didn't add an equivalent back). The latest aic7xxx patch should sort this out.

So, to get all of these changes, could you start with vanilla linus kernel 2.6.12-rc4 (or tree based on this, but not -mm which already has some of the SCSI tree included) and then apply the SCSI patch at

Quoted 8 lines

http://parisc-linux.org/~jejb/scsi_diffs/scsi-misc-2.6.diff

and see if it works?

Thanks,

James

James,

This also solves my problem that I reported in this thread
http://marc.theaimsgroup.com/?l=linux-scsi&m=111422854418964&w=2

Signature · 1 line
   kr
#68 lore raw
Quoted 2 lines · K.R. Foley

This also solves my problem that I reported in this thread
http://marc.theaimsgroup.com/?l=linux-scsi&m=111422854418964&w=2

OK, I think the patch below is the extract of this. Could you see if it works by simply patching vanilla 2.6.12-rc4 with no other SCSI patches (if it does, I'll push it for 2.6.12 final).

James

drivers/scsi/aic7xxx/aic7xxx_osm.c +24 -0
@@ -2300,6 +2300,30 @@ ahc_linux_alloc_target(struct ahc_softc 
 	targ->target = target;
 	targ->ahc = ahc;
 	ahc->platform_data->targets[target_offset] = targ;
+
+	/* FIXME: This code is just for a bug workaround in 2.6.12
+	 * The correct fix will be in 2.6.13 */
+	{
+		struct ahc_devinfo devinfo;
+		struct ahc_initiator_tinfo *tinfo;
+		struct ahc_tmode_tstate *tstate;
+		char my_channel = channel + 'A';
+		unsigned int our_id = ahc->our_id;
+		
+		if (channel)
+			our_id = ahc->our_id_b;
+
+		tinfo = ahc_fetch_transinfo(ahc, my_channel, ahc->our_id,
+					    targ->target, &tstate);
+		ahc_compile_devinfo(&devinfo, our_id, targ->target,
+				    CAM_LUN_WILDCARD, my_channel,
+				    ROLE_INITIATOR);
+		ahc_set_syncrate(ahc, &devinfo, NULL, 0, 0, 0,
+				 AHC_TRANS_GOAL, /*paused*/FALSE);
+		ahc_set_width(ahc, &devinfo, MSG_EXT_WDTR_BUS_8_BIT,
+			      AHC_TRANS_GOAL, /*paused*/FALSE);
+	}
+
 	return (targ);
 }
 
#69 lore raw
Quoted 5 lines · James Bottomley

OK, I think the patch below is the extract of this. Could you see if it works by simply patching vanilla 2.6.12-rc4 with no other SCSI patches (if it does, I'll push it for 2.6.12 final).

This doesn't seem to fix the problem :(
I tried both 2.6.12-rc4+patch and 2.6.4-rc4-mm1+patch

This is what I get

===========================================================================

scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec aic7896/97 Ultra2 SCSI adapter> aic7896/97: Ultra2 Wide Channel B, SCSI Id=7, 32/253 SCBs

Vendor: IBM-PSG Model: ST39103LC !# Rev: B227
Type: Direct-Access ANSI SCSI revision: 02
scsi0:A:0:0: Tagged Queuing enabled. Depth 32
target0:0:0: Beginning Domain Validation
(scsi0:A:0): 6.600MB/s transfers (16bit)
target0:0:0: Domain Validation skipping write tests
(scsi0:A:0): 80.000MB/s transfers (40.000MHz, offset 15, 16bit)
target0:0:0: Ending Domain Validation
Vendor: IBM-PSG Model: ST39103LC !# Rev: B227
Type: Direct-Access ANSI SCSI revision: 02
scsi0:A:1:0: Tagged Queuing enabled. Depth 32
target0:0:1: Beginning Domain Validation
(scsi0:A:1): 6.600MB/s transfers (16bit)
target0:0:1: Domain Validation skipping write tests
(scsi0:A:1): 80.000MB/s transfers (40.000MHz, offset 15, 16bit)
target0:0:1: Ending Domain Validation
(scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers scsi0:0:15:0: Attempting to queue an ABORT message
CDB: 0x12 0x0 0x0 0x0 0x36 0x0
scsi0: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi0: Dumping Card State in Data-in phase, at SEQADDR 0x1a1
Card was paused
ACCUM = 0x40, SINDEX = 0xa, DINDEX = 0xe4, ARG_2 = 0x0
HCNT = 0x36 SCBPTR = 0x0
SCSISIGI[0x46]:(REQI|BSYI|IOI) ERROR[0x0] SCSIBUSL[0x3]
LASTPHASE[0x40]:(IOI) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI)
SBLKCTL[0xa]:(SELWIDE|SELBUSB) SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) SEQ_FLAGS[0x20]:(DPHASE) SSTAT0[0x0] SSTAT1[0x2]:(PHASECHG)
SSTAT2[0x40]:(SHVALID) SSTAT3[0x0] SIMODE0[0x8]:(ENSWRAP) SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO)
SXFRCTL0[0x80]:(DFON) DFCNTRL[0x28]:(HDMAEN|SCSIEN)
DFSTATUS[0x80]:(PRELOAD_AVAIL)
STACK: 0x83 0x0 0x160 0x176
SCB count = 4
Kernel NEXTQSCB = 3
Card NEXTQSCB = 3
QINFIFO entries:
Waiting Queue entries:
Disconnected Queue entries:
QOUTFIFO entries:
Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Sequencer SCB Info:
0 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0xf7]:(TWIN_CHNLB|TWIN_TID)
SCB_LUN[0x0] SCB_TAG[0x2]
1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
16 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
17 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
18 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
19 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
20 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
21 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
22 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
23 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
24 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
25 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
26 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
27 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
28 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
29 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
30 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
31 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
Pending list:
2 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0xf7]:(TWIN_CHNLB|TWIN_TID)
SCB_LUN[0x0]
Kernel Free SCB list: 1 0
Untagged Q(15): 2
DevQ(0:0:0): 0 waiting
DevQ(0:1:0): 0 waiting
DevQ(0:15:0): 0 waiting

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> scsi0:0:15:0: Device is active, asserting ATN Recovery code sleeping
Recovery code awake
Timer Expired
aic7xxx_abort returns 0x2003
scsi0:0:15:0: Attempting to queue a TARGET RESET message
CDB: 0x12 0x0 0x0 0x0 0x36 0x0
aic7xxx_dev_reset returns 0x2003
Recovery SCB completes
(scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers (scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers scsi0:0:15:0: Attempting to queue an ABORT message
CDB: 0x12 0x0 0x0 0x0 0x36 0x0
scsi0: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi0: Dumping Card State in Data-in phase, at SEQADDR 0x85
Card was paused
ACCUM = 0x40, SINDEX = 0xa, DINDEX = 0xe4, ARG_2 = 0x0
HCNT = 0x36 SCBPTR = 0x0
SCSISIGI[0x46]:(REQI|BSYI|IOI) ERROR[0x0] SCSIBUSL[0x3]
LASTPHASE[0x40]:(IOI) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI)
SBLKCTL[0xa]:(SELWIDE|SELBUSB) SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) SEQ_FLAGS[0x20]:(DPHASE) SSTAT0[0x0] SSTAT1[0x2]:(PHASECHG)
SSTAT2[0x40]:(SHVALID) SSTAT3[0x0] SIMODE0[0x8]:(ENSWRAP) SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO)
SXFRCTL0[0x80]:(DFON) DFCNTRL[0x28]:(HDMAEN|SCSIEN)
DFSTATUS[0x80]:(PRELOAD_AVAIL)
STACK: 0x83 0x160 0x176 0x83
SCB count = 4
Kernel NEXTQSCB = 2
Card NEXTQSCB = 2
QINFIFO entries:
Waiting Queue entries:
Disconnected Queue entries:
QOUTFIFO entries:
Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Sequencer SCB Info:
0 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0xf7]:(TWIN_CHNLB|TWIN_TID)
SCB_LUN[0x0] SCB_TAG[0x3]
1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
16 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
17 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
18 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
19 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
20 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
21 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
22 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
23 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
24 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
25 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
26 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
27 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
28 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
29 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
30 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
31 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
Pending list:
3 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0xf7]:(TWIN_CHNLB|TWIN_TID)
SCB_LUN[0x0]
Kernel Free SCB list: 1 0
Untagged Q(15): 3
DevQ(0:0:0): 0 waiting
DevQ(0:1:0): 0 waiting
DevQ(0:15:0): 0 waiting

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> scsi0:0:15:0: Device is active, asserting ATN Recovery code sleeping
Recovery code awake
Timer Expired
aic7xxx_abort returns 0x2003
scsi0:0:15:0: Attempting to queue a TARGET RESET message
CDB: 0x12 0x0 0x0 0x0 0x36 0x0
aic7xxx_dev_reset returns 0x2003
Recovery SCB completes
(scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers (scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers scsi0:0:15:0: Attempting to queue an ABORT message
CDB: 0x12 0x0 0x0 0x0 0x36 0x0
scsi0: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi0: Dumping Card State in Data-in phase, at SEQADDR 0x54
Card was paused
ACCUM = 0x40, SINDEX = 0xa, DINDEX = 0xe4, ARG_2 = 0x0
HCNT = 0x36 SCBPTR = 0x0
SCSISIGI[0x46]:(REQI|BSYI|IOI) ERROR[0x0] SCSIBUSL[0x3]
LASTPHASE[0x40]:(IOI) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI)
SBLKCTL[0xa]:(SELWIDE|SELBUSB) SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) SEQ_FLAGS[0x20]:(DPHASE) SSTAT0[0x0] SSTAT1[0x2]:(PHASECHG)
SSTAT2[0x40]:(SHVALID) SSTAT3[0x0] SIMODE0[0x8]:(ENSWRAP) SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO)
SXFRCTL0[0x80]:(DFON) DFCNTRL[0x28]:(HDMAEN|SCSIEN)
DFSTATUS[0x80]:(PRELOAD_AVAIL)
STACK: 0x83 0x83 0x160 0x176
SCB count = 4
Kernel NEXTQSCB = 3
Card NEXTQSCB = 3
QINFIFO entries:
Waiting Queue entries:
Disconnected Queue entries:
QOUTFIFO entries:
Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Sequencer SCB Info:
0 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0xf7]:(TWIN_CHNLB|TWIN_TID)
SCB_LUN[0x0] SCB_TAG[0x2]
1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
16 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
17 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
18 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
19 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
20 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
21 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
22 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
23 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
24 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
25 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
26 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
27 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
28 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
29 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
30 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
31 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
Pending list:
2 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0xf7]:(TWIN_CHNLB|TWIN_TID)
SCB_LUN[0x0]
Kernel Free SCB list: 1 0
Untagged Q(15): 2
DevQ(0:0:0): 0 waiting
DevQ(0:1:0): 0 waiting
DevQ(0:15:0): 0 waiting

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> scsi0:0:15:0: Device is active, asserting ATN
Recovery code sleeping
Recovery code awake
Timer Expired
aic7xxx_abort returns 0x2003
scsi0:0:15:0: Attempting to queue a TARGET RESET message
CDB: 0x12 0x0 0x0 0x0 0x36 0x0
aic7xxx_dev_reset returns 0x2003
Recovery SCB completes
(scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers scsi scan: 54 byte inquiry failed. Consider BLIST_INQUIRY_36 for this device (scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers scsi0:0:15:0: Attempting to queue an ABORT message
CDB: 0x12 0x0 0x0 0x0 0x24 0x0
scsi0: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi0: Dumping Card State in Data-in phase, at SEQADDR 0x84
Card was paused
ACCUM = 0x40, SINDEX = 0xa, DINDEX = 0xe4, ARG_2 = 0x0
HCNT = 0x24 SCBPTR = 0x0
SCSISIGI[0x46]:(REQI|BSYI|IOI) ERROR[0x0] SCSIBUSL[0x3]
LASTPHASE[0x40]:(IOI) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI)
SBLKCTL[0xa]:(SELWIDE|SELBUSB) SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) SEQ_FLAGS[0x20]:(DPHASE) SSTAT0[0x0] SSTAT1[0x2]:(PHASECHG)
SSTAT2[0x40]:(SHVALID) SSTAT3[0x0] SIMODE0[0x8]:(ENSWRAP) SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO)
SXFRCTL0[0x80]:(DFON) DFCNTRL[0x28]:(HDMAEN|SCSIEN)
DFSTATUS[0x80]:(PRELOAD_AVAIL)
STACK: 0x83 0x160 0x176 0x83
SCB count = 4
Kernel NEXTQSCB = 2
Card NEXTQSCB = 2
QINFIFO entries:
Waiting Queue entries:
Disconnected Queue entries:
QOUTFIFO entries:
Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Sequencer SCB Info:
0 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0xf7]:(TWIN_CHNLB|TWIN_TID)
SCB_LUN[0x0] SCB_TAG[0x3]
1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
16 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
17 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
18 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
19 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
20 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
21 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
22 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
23 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
24 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
25 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
26 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
27 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
28 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
29 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
30 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
31 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
Pending list:
3 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0xf7]:(TWIN_CHNLB|TWIN_TID)
SCB_LUN[0x0]
Kernel Free SCB list: 1 0
Untagged Q(15): 3
DevQ(0:0:0): 0 waiting
DevQ(0:1:0): 0 waiting
DevQ(0:15:0): 0 waiting

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> scsi0:0:15:0: Device is active, asserting ATN Recovery code sleeping
Recovery code awake
Timer Expired
aic7xxx_abort returns 0x2003
scsi0:0:15:0: Attempting to queue a TARGET RESET message
CDB: 0x12 0x0 0x0 0x0 0x24 0x0
aic7xxx_dev_reset returns 0x2003
Recovery SCB completes
(scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers (scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers scsi0:0:15:0: Attempting to queue an ABORT message
CDB: 0x12 0x0 0x0 0x0 0x24 0x0
scsi0: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi0: Dumping Card State in Data-in phase, at SEQADDR 0x54
Card was paused
ACCUM = 0x40, SINDEX = 0xa, DINDEX = 0xe4, ARG_2 = 0x0
HCNT = 0x24 SCBPTR = 0x0
SCSISIGI[0x46]:(REQI|BSYI|IOI) ERROR[0x0] SCSIBUSL[0x3]
LASTPHASE[0x40]:(IOI) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI)
SBLKCTL[0xa]:(SELWIDE|SELBUSB) SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) SEQ_FLAGS[0x20]:(DPHASE) SSTAT0[0x0] SSTAT1[0x2]:(PHASECHG)
SSTAT2[0x40]:(SHVALID) SSTAT3[0x0] SIMODE0[0x8]:(ENSWRAP) SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO)
SXFRCTL0[0x80]:(DFON) DFCNTRL[0x28]:(HDMAEN|SCSIEN)
DFSTATUS[0x80]:(PRELOAD_AVAIL)
STACK: 0x83 0x83 0x160 0x176
SCB count = 4
Kernel NEXTQSCB = 3
Card NEXTQSCB = 3
QINFIFO entries:
Waiting Queue entries:
Disconnected Queue entries:
QOUTFIFO entries:
Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Sequencer SCB Info:
0 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0xf7]:(TWIN_CHNLB|TWIN_TID)
SCB_LUN[0x0] SCB_TAG[0x2]
1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
16 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
17 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
18 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
19 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
20 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
21 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
22 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
23 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
24 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
25 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
26 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
27 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
28 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
29 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
30 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
31 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
Pending list:
2 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0xf7]:(TWIN_CHNLB|TWIN_TID)
SCB_LUN[0x0]
Kernel Free SCB list: 1 0
Untagged Q(15): 2
DevQ(0:0:0): 0 waiting
DevQ(0:1:0): 0 waiting
DevQ(0:15:0): 0 waiting

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> scsi0:0:15:0: Device is active, asserting ATN Recovery code sleeping
Recovery code awake
Timer Expired
aic7xxx_abort returns 0x2003
scsi0:0:15:0: Attempting to queue a TARGET RESET message
CDB: 0x12 0x0 0x0 0x0 0x24 0x0
aic7xxx_dev_reset returns 0x2003
Recovery SCB completes
(scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers (scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers scsi0:0:15:0: Attempting to queue an ABORT message
CDB: 0x12 0x0 0x0 0x0 0x24 0x0
scsi0: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi0: Dumping Card State in Data-in phase, at SEQADDR 0x54
Card was paused
ACCUM = 0x40, SINDEX = 0xa, DINDEX = 0xe4, ARG_2 = 0x0
HCNT = 0x24 SCBPTR = 0x0
SCSISIGI[0x46]:(REQI|BSYI|IOI) ERROR[0x0] SCSIBUSL[0x3]
LASTPHASE[0x40]:(IOI) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI)
SBLKCTL[0xa]:(SELWIDE|SELBUSB) SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) SEQ_FLAGS[0x20]:(DPHASE) SSTAT0[0x0] SSTAT1[0x2]:(PHASECHG)
SSTAT2[0x40]:(SHVALID) SSTAT3[0x0] SIMODE0[0x8]:(ENSWRAP) SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO)
SXFRCTL0[0x80]:(DFON) DFCNTRL[0x28]:(HDMAEN|SCSIEN)
DFSTATUS[0x80]:(PRELOAD_AVAIL)
STACK: 0x83 0x83 0x160 0x176
SCB count = 4
Kernel NEXTQSCB = 2
Card NEXTQSCB = 2
QINFIFO entries:
Waiting Queue entries:
Disconnected Queue entries:
QOUTFIFO entries:
Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Sequencer SCB Info:
0 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0xf7]:(TWIN_CHNLB|TWIN_TID)
SCB_LUN[0x0] SCB_TAG[0x3]
1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
16 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
17 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
18 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
19 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
20 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
21 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
22 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
23 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
24 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
25 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
26 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
27 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
28 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
29 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
30 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
31 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
Pending list:
3 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0xf7]:(TWIN_CHNLB|TWIN_TID)
SCB_LUN[0x0]
Kernel Free SCB list: 1 0
Untagged Q(15): 3
DevQ(0:0:0): 0 waiting
DevQ(0:1:0): 0 waiting
DevQ(0:15:0): 0 waiting

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> scsi0:0:15:0: Device is active, asserting ATN
Recovery code sleeping
Recovery code awake
Timer Expired
aic7xxx_abort returns 0x2003
scsi0:0:15:0: Attempting to queue a TARGET RESET message
CDB: 0x12 0x0 0x0 0x0 0x24 0x0
aic7xxx_dev_reset returns 0x2003
Recovery SCB completes
(scsi0:A:15:0): refuses WIDE negotiation. Using 8bit transfers scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec aic7896/97 Ultra2 SCSI adapter> aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs

SCSI device sda: 17774160 512-byte hdwr sectors (9100 MB) SCSI device sda: drive cache: write through
SCSI device sda: 17774160 512-byte hdwr sectors (9100 MB) SCSI device sda: drive cache: write through
sda: sda1 sda2 sda3
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 SCSI device sdb: 17774160 512-byte hdwr sectors (9100 MB) SCSI device sdb: drive cache: write through
SCSI device sdb: 17774160 512-byte hdwr sectors (9100 MB) SCSI device sdb: drive cache: write through
sdb: sdb1
Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0 Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0 Attached scsi generic sg1 at scsi0, channel 0, id 1, lun 0, type 0

===========================================================================

#80 lore raw
In reply to James Bottomley
Quoted 11 lines · James Bottomley
Quoted 2 lines · K.R. Foley

This also solves my problem that I reported in this thread
http://marc.theaimsgroup.com/?l=linux-scsi&m=111422854418964&w=2

OK, I think the patch below is the extract of this. Could you see if it works by simply patching vanilla 2.6.12-rc4 with no other SCSI patches (if it does, I'll push it for 2.6.12 final).

James

<snip>

James,

Below is what I get WHEN IT BOOTS. There are also a couple more logs and notes in between.

#########################################################################

May 19 06:04:22 porky kernel: scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI
HBA DRIVER, Rev 6.2.36
May 19 06:04:22 porky kernel:         <Adaptec aic7899 Ultra160 SCSI
adapter>
May 19 06:04:22 porky kernel:         aic7899: Ultra160 Wide Channel A,
SCSI Id=7, 32/253 SCBs
May 19 06:04:22 porky kernel:
May 19 06:04:22 porky kernel:   Vendor: QUANTUM   Model:
ATLAS10K2-TY092L  Rev: DA40
May 19 06:04:22 porky kernel:   Type:   Direct-Access
   ANSI SCSI revision: 03
May 19 06:04:22 porky kernel: scsi0:A:0:0: Tagged Queuing enabled.  Depth 32
May 19 06:04:22 porky kernel:  target0:0:0: Beginning Domain Validation
May 19 06:04:22 porky kernel: (scsi0:A:0): 6.600MB/s transfers (16bit)
May 19 06:04:22 porky kernel: (scsi0:A:0): 80.000MB/s transfers
(40.000MHz, offset 127, 16bit)
May 19 06:04:22 porky kernel:  target0:0:0: Ending Domain Validation
May 19 06:04:22 porky kernel: scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI
HBA DRIVER, Rev 6.2.36
May 19 06:04:22 porky kernel:         <Adaptec aic7899 Ultra160 SCSI
adapter>
May 19 06:04:22 porky kernel:         aic7899: Ultra160 Wide Channel B,
SCSI Id=7, 32/253 SCBs
May 19 06:04:22 porky kernel:
May 19 06:04:22 porky kernel:   Vendor: SEAGATE   Model: SX118273LC
   Rev: 6679
May 19 06:04:22 porky kernel:   Type:   Direct-Access
   ANSI SCSI revision: 02
May 19 06:04:22 porky kernel: scsi1:A:0:0: Tagged Queuing enabled.  Depth 32
May 19 06:04:22 porky kernel:  target1:0:0: Beginning Domain Validation
May 19 06:04:22 porky kernel: (scsi1:A:0): 6.600MB/s transfers (16bit)
May 19 06:04:22 porky kernel: (scsi1:A:0:0): parity error detected in
Data-in phase. SEQADDR(0x1a6) SCSIRATE(0x80)
May 19 06:04:22 porky kernel: (scsi1:A:0:0): parity error detected in
Message-in phase. SEQADDR(0x1a6) SCSIRATE(0x80)
May 19 06:04:22 porky kernel: (scsi1:A:0:0): Unexpected busfree in
Message-out phase
May 19 06:04:22 porky kernel: SEQADDR == 0x16b
May 19 06:04:22 porky kernel:  target1:0:0: Wide Transfers Fail
May 19 06:04:22 porky kernel: (scsi1:A:0): 3.300MB/s transfers
May 19 06:04:22 porky kernel:  target1:0:0: Domain Validation skipping
write tests
May 19 06:04:22 porky kernel: (scsi1:A:0): 20.000MB/s transfers
(20.000MHz, offset 15)
May 19 06:04:22 porky kernel:  target1:0:0: Ending Domain Validation
May 19 06:04:22 porky kernel: SCSI device sda: 17783239 512-byte hdwr
sectors (9105 MB)
May 19 06:04:22 porky kernel: SCSI device sda: drive cache: write back
May 19 06:04:22 porky kernel: SCSI device sda: 17783239 512-byte hdwr
sectors (9105 MB)
May 19 06:04:22 porky kernel: SCSI device sda: drive cache: write back
May 19 06:04:22 porky kernel:  sda: sda1 sda2 sda3
May 19 06:04:22 porky kernel: Attached scsi disk sda at scsi0, channel
0, id 0, lun 0
May 19 06:04:22 porky kernel: SCSI device sdb: 35566480 512-byte hdwr
sectors (18210 MB)
May 19 06:04:22 porky kernel: SCSI device sdb: drive cache: write through
May 19 06:04:22 porky kernel: SCSI device sdb: 35566480 512-byte hdwr
sectors (18210 MB)
May 19 06:04:22 porky kernel: SCSI device sdb: drive cache: write through
May 19 01:04:03 porky rc.sysinit: -e
May 19 06:04:22 porky kernel:  sdb: sdb1
May 19 01:04:04 porky udevsend[1251]: starting udevd daemon
May 19 06:04:22 porky kernel: Attached scsi disk sdb at scsi1, channel
0, id 0, lun 0
May 19 01:04:05 porky scsi.agent[1263]: disk at
/devices/pci0000:00/0000:00:1e.0/0000:04:05.0/host0/target0:0:0/0:0:0:0
May 19 06:04:23 porky kernel: Attached scsi generic sg0 at scsi0,
channel 0, id 0, lun 0,  type 0
May 19 01:04:05 porky scsi.agent[1288]: disk at
/devices/pci0000:00/0000:00:1e.0/0000:04:05.1/host1/target1:0:0/1:0:0:0
May 19 06:04:23 porky kernel: Attached scsi generic sg1 at scsi1,

channel 0, id 0, lun 0, type 0

###############################################################################

Even with the patch that you posted last night something still isn't quite right. Notice in the output below that the faster drive is setup at 80MB/s instead of 160MB/s. It's like going back to the days before U160 stuff worked properly :)

###############################################################################

May 18 21:56:25 porky kernel: scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI
HBA DRIVER, Rev 6.2.36
May 18 21:56:25 porky kernel:         <Adaptec aic7899 Ultra160 SCSI
adapter>
May 18 21:56:25 porky kernel:         aic7899: Ultra160 Wide Channel A,
SCSI Id=7, 32/253 SCBs
May 18 21:56:25 porky kernel:
May 18 21:56:25 porky kernel:   Vendor: QUANTUM   Model:
ATLAS10K2-TY092L  Rev: DA40
May 18 21:56:25 porky kernel:   Type:   Direct-Access
   ANSI SCSI revision: 03
May 18 21:56:25 porky kernel: scsi0:A:0:0: Tagged Queuing enabled.  Depth 32
May 18 21:56:25 porky kernel:  target0:0:0: Beginning Domain Validation
May 18 21:56:25 porky kernel: WIDTH IS 1
May 18 21:56:25 porky kernel: (scsi0:A:0): 6.600MB/s transfers (16bit)
May 18 21:56:25 porky kernel: (scsi0:A:0): 80.000MB/s transfers
(40.000MHz, offset 127, 16bit)
May 18 21:56:25 porky kernel:  target0:0:0: Ending Domain Validation
May 18 21:56:25 porky kernel: scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI
HBA DRIVER, Rev 6.2.36
May 18 21:56:25 porky kernel:         <Adaptec aic7899 Ultra160 SCSI
adapter>
May 18 21:56:25 porky kernel:         aic7899: Ultra160 Wide Channel B,
SCSI Id=7, 32/253 SCBs
May 18 21:56:25 porky kernel:
May 18 21:56:25 porky kernel:   Vendor: SEAGATE   Model: SX118273LC
   Rev: 6679
May 18 21:56:25 porky kernel:   Type:   Direct-Access
   ANSI SCSI revision: 02
May 18 21:56:25 porky kernel: scsi1:A:0:0: Tagged Queuing enabled.  Depth 32
May 18 21:56:25 porky kernel:  target1:0:0: Beginning Domain Validation
May 18 21:56:25 porky kernel:  target1:0:0: Domain Validation skipping
write tests
May 18 21:56:25 porky kernel: (scsi1:A:0): 20.000MB/s transfers
(20.000MHz, offset 15)
May 18 21:56:25 porky kernel:  target1:0:0: Ending Domain Validation
May 18 21:56:25 porky kernel: SCSI device sda: 17783239 512-byte hdwr
sectors (9105 MB)
May 18 21:56:25 porky kernel: SCSI device sda: drive cache: write back
May 18 21:56:25 porky kernel: SCSI device sda: 17783239 512-byte hdwr
sectors (9105 MB)
May 18 21:56:25 porky kernel: SCSI device sda: drive cache: write back
May 18 21:56:25 porky kernel:  sda: sda1 sda2 sda3
May 18 21:56:25 porky kernel: Attached scsi disk sda at scsi0, channel
0, id 0, lun 0
May 18 21:56:25 porky kernel: SCSI device sdb: 35566480 512-byte hdwr
sectors (18210 MB)
May 18 21:56:25 porky kernel: SCSI device sdb: drive cache: write through
May 18 16:56:04 porky rc.sysinit: -e
May 18 21:56:25 porky kernel: SCSI device sdb: 35566480 512-byte hdwr
sectors (18210 MB)
May 18 16:56:06 porky udevsend[1281]: starting udevd daemon
May 18 21:56:25 porky kernel: SCSI device sdb: drive cache: write through
May 18 16:56:06 porky scsi.agent[1293]: disk at
/devices/pci0000:00/0000:00:1e.0/0000:04:05.0/host0/target0:0:0/0:0:0:0
May 18 21:56:25 porky kernel:  sdb: sdb1
May 18 16:56:06 porky scsi.agent[1318]: disk at
/devices/pci0000:00/0000:00:1e.0/0000:04:05.1/host1/target1:0:0/1:0:0:0
May 18 21:56:25 porky kernel: Attached scsi disk sdb at scsi1, channel
0, id 0, lun 0
May 18 16:56:06 porky udevsend[1334]: starting udevd daemon
May 18 21:56:25 porky kernel: Attached scsi generic sg0 at scsi0,
channel 0, id 0, lun 0,  type 0
May 18 16:56:11 porky start_udev: Starting udev:  succeeded
May 18 21:56:25 porky kernel: Attached scsi generic sg1 at scsi1,

channel 0, id 0, lun 0, type 0

#################################################################################

And then finally the output this morning of booting 2.6.12-rc2 (with RT patches applied, which is irrelevant to this conversation). This one does properly setup all of the drives.

#################################################################################

May 19 05:52:00 porky kernel: scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI
HBA DRIVER, Rev 6.2.36
May 19 05:52:00 porky kernel:         <Adaptec aic7899 Ultra160 SCSI
adapter>
May 19 05:52:00 porky kernel:         aic7899: Ultra160 Wide Channel A,
SCSI Id=7, 32/253 SCBs
May 19 05:52:00 porky kernel:
May 19 05:52:00 porky kernel: (scsi0:A:0): 160.000MB/s transfers
(80.000MHz DT, offset 127, 16bit)
May 19 05:52:00 porky kernel:   Vendor: QUANTUM   Model:
ATLAS10K2-TY092L  Rev: DA40
May 19 05:52:00 porky kernel:   Type:   Direct-Access
   ANSI SCSI revision: 03
May 19 05:52:00 porky kernel: scsi0:A:0:0: Tagged Queuing enabled.  Depth 32
May 19 05:52:00 porky kernel: scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI
HBA DRIVER, Rev 6.2.36
May 19 05:52:00 porky kernel:         <Adaptec aic7899 Ultra160 SCSI
adapter>
May 19 05:52:00 porky kernel:         aic7899: Ultra160 Wide Channel B,
SCSI Id=7, 32/253 SCBs
May 19 05:52:00 porky kernel:
May 19 05:52:00 porky kernel: (scsi1:A:0): 20.000MB/s transfers
(20.000MHz, offset 15)
May 19 05:52:00 porky kernel:   Vendor: SEAGATE   Model: SX118273LC
   Rev: 6679
May 19 05:52:00 porky netfs: Mounting other filesystems:  succeeded
May 19 05:52:00 porky kernel:   Type:   Direct-Access
   ANSI SCSI revision: 02
May 19 05:52:00 porky kernel: scsi1:A:0:0: Tagged Queuing enabled.  Depth 32
May 19 05:52:00 porky kernel: SCSI device sda: 17783239 512-byte hdwr
sectors (9105 MB)
May 19 05:52:00 porky kernel: SCSI device sda: drive cache: write back
May 19 05:52:00 porky kernel: SCSI device sda: 17783239 512-byte hdwr
sectors (9105 MB)
May 19 05:52:00 porky kernel: SCSI device sda: drive cache: write back
May 19 05:52:00 porky kernel:  sda: sda1 sda2 sda3
May 19 05:52:00 porky kernel: Attached scsi disk sda at scsi0, channel

0, id 0, lun 0

Signature · 1 line
   kr
#70 lore raw
In reply to Dinakar Guniguntala
Quoted 2 lines · Dinakar Guniguntala

This doesn't seem to fix the problem :(
I tried both 2.6.12-rc4+patch and 2.6.4-rc4-mm1+patch

Well ... great, it doesn't work for anyone, sigh.

OK, could you try this one (also against vanilla 2.6.12-rc4). Hopefully it's a rollup of all the aic7xxx changes plus the necessary supporting infrastructure in my scsi-misc tree.

If it works, trying to get it into a patch set for Linus is going to be a right pain ...

James

drivers/scsi/aic7xxx/aic7770_osm.c +1 -51
@@ -41,7 +41,6 @@
 
 #include "aic7xxx_osm.h"
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
 #include <linux/device.h>
 #include <linux/eisa.h>
 
@@ -62,13 +61,6 @@ static struct eisa_driver aic7770_driver
 };
 
 typedef  struct device *aic7770_dev_t;
-#else
-#define MINSLOT			1
-#define NUMSLOTS		16
-#define IDOFFSET		0x80
-
-typedef void *aic7770_dev_t;
-#endif
 
 static int aic7770_linux_config(struct aic7770_identity *entry,
 				aic7770_dev_t dev, u_int eisaBase);
@@ -76,7 +68,6 @@ static int aic7770_linux_config(struct a
 int
 ahc_linux_eisa_init(void)
 {
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
 	struct eisa_device_id *eid;
 	struct aic7770_identity *id;
 	int i;
@@ -110,44 +101,6 @@ ahc_linux_eisa_init(void)
 	eid->sig[0] = 0;
 
 	return eisa_driver_register(&aic7770_driver);
-#else /* LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) */
-	struct aic7770_identity *entry;
-	u_int  slot;
-	u_int  eisaBase;
-	u_int  i;
-	int ret = -ENODEV;
-
-	if (aic7xxx_probe_eisa_vl == 0)
-		return ret;
-
-	eisaBase = 0x1000 + AHC_EISA_SLOT_OFFSET;
-	for (slot = 1; slot < NUMSLOTS; eisaBase+=0x1000, slot++) {
-		uint32_t eisa_id;
-		size_t	 id_size;
-
-		if (request_region(eisaBase, AHC_EISA_IOSIZE, "aic7xxx") == 0)
-			continue;
-
-		eisa_id = 0;
-		id_size = sizeof(eisa_id);
-		for (i = 0; i < 4; i++) {
-			/* VLcards require priming*/
-			outb(0x80 + i, eisaBase + IDOFFSET);
-			eisa_id |= inb(eisaBase + IDOFFSET + i)
-				   << ((id_size-i-1) * 8);
-		}
-		release_region(eisaBase, AHC_EISA_IOSIZE);
-		if (eisa_id & 0x80000000)
-			continue;  /* no EISA card in slot */
-
-		entry = aic7770_find_device(eisa_id);
-		if (entry != NULL) {
-			aic7770_linux_config(entry, NULL, eisaBase);
-			ret = 0;
-		}
-	}
-	return ret;
-#endif
 }
 
 void
@@ -187,11 +140,10 @@ aic7770_linux_config(struct aic7770_iden
 		ahc_free(ahc);
 		return (error);
 	}
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
+
 	dev->driver_data = (void *)ahc;
 	if (aic7xxx_detect_complete)
 		error = ahc_linux_register_host(ahc, &aic7xxx_driver_template);
-#endif
 	return (error);
 }
 
@@ -225,7 +177,6 @@ aic7770_map_int(struct ahc_softc *ahc, u
 	return (-error);
 }
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
 static int
 aic7770_eisa_dev_probe(struct device *dev)
 {
@@ -261,4 +212,3 @@ aic7770_eisa_dev_remove(struct device *d
 
 	return (0);
 }
-#endif
drivers/scsi/aic7xxx/aic7xxx_osm.c +326 -1065

1,940 lines not on this page · raw message

drivers/scsi/aic7xxx/aic7xxx_osm.h +25 -144

338 lines not on this page · raw message

drivers/scsi/aic7xxx/aic7xxx_osm_pci.c +1 -10
@@ -221,13 +221,11 @@ ahc_linux_pci_dev_probe(struct pci_dev *
 	 && ahc_linux_get_memsize() > 0x80000000
 	 && pci_set_dma_mask(pdev, mask_39bit) == 0) {
 		ahc->flags |= AHC_39BIT_ADDRESSING;
-		ahc->platform_data->hw_dma_mask = mask_39bit;
 	} else {
 		if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) {
 			printk(KERN_WARNING "aic7xxx: No suitable DMA available.\n");
                 	return (-ENODEV);
 		}
-		ahc->platform_data->hw_dma_mask = DMA_32BIT_MASK;
 	}
 	ahc->dev_softc = pci;
 	error = ahc_pci_config(ahc, entry);
@@ -236,15 +234,8 @@ ahc_linux_pci_dev_probe(struct pci_dev *
 		return (-error);
 	}
 	pci_set_drvdata(pdev, ahc);
-	if (aic7xxx_detect_complete) {
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
+	if (aic7xxx_detect_complete)
 		ahc_linux_register_host(ahc, &aic7xxx_driver_template);
-#else
-		printf("aic7xxx: ignoring PCI device found after "
-		       "initialization\n");
-		return (-ENODEV);
-#endif
-	}
 	return (0);
 }
 
drivers/scsi/aic7xxx/aic7xxx_proc.c +0 -13
@@ -289,13 +289,8 @@ done:
  * Return information to handle /proc support for the driver.
  */
 int
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
-ahc_linux_proc_info(char *buffer, char **start, off_t offset,
-		    int length, int hostno, int inout)
-#else
 ahc_linux_proc_info(struct Scsi_Host *shost, char *buffer, char **start,
 		    off_t offset, int length, int inout)
-#endif
 {
 	struct	ahc_softc *ahc;
 	struct	info_str info;
@@ -307,15 +302,7 @@ ahc_linux_proc_info(struct Scsi_Host *sh
 
 	retval = -EINVAL;
 	ahc_list_lock(&s);
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
-	TAILQ_FOREACH(ahc, &ahc_tailq, links) {
-		if (ahc->platform_data->host->host_no == hostno)
-			break;
-	}
-#else
 	ahc = ahc_find_softc(*(struct ahc_softc **)shost->hostdata);
-#endif
-
 	if (ahc == NULL)
 		goto done;
 
drivers/scsi/aic7xxx/aiclib.c +0 -1
@@ -35,7 +35,6 @@
 #include <linux/version.h>
 
 /* Core SCSI definitions */
-#include "scsi.h"
 #include <scsi/scsi_host.h>
 #include "aiclib.h"
 #include "cam.h"
drivers/scsi/scsi_transport_spi.c +161 -27

287 lines not on this page · raw message

include/scsi/scsi_transport_spi.h +6 -0
@@ -27,8 +27,11 @@ struct scsi_transport_template;
 
 struct spi_transport_attrs {
 	int period;		/* value in the PPR/SDTR command */
+	int min_period;
 	int offset;
+	int max_offset;
 	unsigned int width:1;	/* 0 - narrow, 1 - wide */
+	unsigned int max_width:1;
 	unsigned int iu:1;	/* Information Units enabled */
 	unsigned int dt:1;	/* DT clocking enabled */
 	unsigned int qas:1;	/* Quick Arbitration and Selection enabled */
@@ -63,8 +66,11 @@ struct spi_host_attrs {
 
 /* accessor functions */
 #define spi_period(x)	(((struct spi_transport_attrs *)&(x)->starget_data)->period)
+#define spi_min_period(x) (((struct spi_transport_attrs *)&(x)->starget_data)->min_period)
 #define spi_offset(x)	(((struct spi_transport_attrs *)&(x)->starget_data)->offset)
+#define spi_max_offset(x) (((struct spi_transport_attrs *)&(x)->starget_data)->max_offset)
 #define spi_width(x)	(((struct spi_transport_attrs *)&(x)->starget_data)->width)
+#define spi_max_width(x) (((struct spi_transport_attrs *)&(x)->starget_data)->max_width)
 #define spi_iu(x)	(((struct spi_transport_attrs *)&(x)->starget_data)->iu)
 #define spi_dt(x)	(((struct spi_transport_attrs *)&(x)->starget_data)->dt)
 #define spi_qas(x)	(((struct spi_transport_attrs *)&(x)->starget_data)->qas)
#71 lore raw
Quoted 8 lines · James Bottomley
Quoted 2 lines · Dinakar Guniguntala

This doesn't seem to fix the problem :(
I tried both 2.6.12-rc4+patch and 2.6.4-rc4-mm1+patch

Well ... great, it doesn't work for anyone, sigh.

Quoted 9 lines

OK, could you try this one (also against vanilla 2.6.12-rc4). Hopefully it's a rollup of all the aic7xxx changes plus the necessary supporting infrastructure in my scsi-misc tree.

If it works, trying to get it into a patch set for Linus is going to be a right pain ...

James

<snip>

James,

It does work with the exception that my u160 drive is still identified as 80MB/s.

May 19 19:36:46 porky kernel: scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI
HBA DRIVER, Rev 6.2.36
May 19 19:36:46 porky kernel:         <Adaptec aic7899 Ultra160 SCSI
adapter>
May 19 19:36:46 porky kernel:         aic7899: Ultra160 Wide Channel A,
SCSI Id=7, 32/253 SCBs
May 19 19:36:46 porky kernel:
May 19 19:36:46 porky kernel:   Vendor: QUANTUM   Model:
ATLAS10K2-TY092L  Rev: DA40
May 19 19:36:46 porky kernel:   Type:   Direct-Access
   ANSI SCSI revision: 03
May 19 19:36:46 porky kernel: scsi0:A:0:0: Tagged Queuing enabled.  Depth 32
May 19 19:36:46 porky kernel:  target0:0:0: Beginning Domain Validation
May 19 19:36:46 porky kernel: WIDTH IS 1
May 19 19:36:46 porky kernel: (scsi0:A:0): 6.600MB/s transfers (16bit)
May 19 19:36:46 porky kernel: (scsi0:A:0): 80.000MB/s transfers
(40.000MHz, offset 127, 16bit)
May 19 19:36:46 porky kernel:  target0:0:0: Ending Domain Validation
May 19 19:36:46 porky kernel: scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI
HBA DRIVER, Rev 6.2.36
May 19 19:36:46 porky kernel:         <Adaptec aic7899 Ultra160 SCSI
adapter>
May 19 19:36:46 porky kernel:         aic7899: Ultra160 Wide Channel B,
SCSI Id=7, 32/253 SCBs
May 19 19:36:46 porky kernel:
May 19 19:36:46 porky kernel:   Vendor: SEAGATE   Model: SX118273LC
   Rev: 6679
May 19 19:36:46 porky kernel:   Type:   Direct-Access
   ANSI SCSI revision: 02
May 19 19:36:46 porky kernel: scsi1:A:0:0: Tagged Queuing enabled.  Depth 32
May 19 19:36:46 porky kernel:  target1:0:0: Beginning Domain Validation
May 19 19:36:46 porky kernel:  target1:0:0: Domain Validation skipping
write tests
May 19 19:36:46 porky kernel: (scsi1:A:0): 20.000MB/s transfers
(20.000MHz, offset 15)
May 19 19:36:46 porky kernel:  target1:0:0: Ending Domain Validation
May 19 19:36:46 porky kernel: SCSI device sda: 17783239 512-byte hdwr
sectors (9105 MB)
May 19 19:36:46 porky kernel: SCSI device sda: drive cache: write back
May 19 19:36:46 porky kernel: SCSI device sda: 17783239 512-byte hdwr
sectors (9105 MB)
May 19 19:36:46 porky kernel: SCSI device sda: drive cache: write back
May 19 19:36:46 porky kernel:  sda: sda1 sda2 sda3
May 19 19:36:46 porky kernel: Attached scsi disk sda at scsi0, channel
0, id 0, lun 0
May 19 19:36:46 porky kernel: SCSI device sdb: 35566480 512-byte hdwr
sectors (18210 MB)
May 19 19:36:46 porky kernel: SCSI device sdb: drive cache: write through
May 19 19:36:46 porky kernel: SCSI device sdb: 35566480 512-byte hdwr
sectors (18210 MB)
May 19 19:36:46 porky kernel: SCSI device sdb: drive cache: write through
May 19 14:36:26 porky rc.sysinit: -e
May 19 19:36:46 porky kernel:  sdb: sdb1
May 19 14:36:28 porky udevsend[1227]: starting udevd daemon
May 19 19:36:46 porky kernel: Attached scsi disk sdb at scsi1, channel
0, id 0, lun 0
May 19 14:36:28 porky scsi.agent[1239]: disk at
/devices/pci0000:00/0000:00:1e.0/0000:04:05.0/host0/target0:0:0/0:0:0:0
May 19 19:36:46 porky kernel: Attached scsi generic sg0 at scsi0,
channel 0, id 0, lun 0,  type 0
May 19 14:36:28 porky scsi.agent[1264]: disk at
/devices/pci0000:00/0000:00:1e.0/0000:04:05.1/host1/target1:0:0/1:0:0:0
May 19 19:36:46 porky kernel: Attached scsi generic sg1 at scsi1,

channel 0, id 0, lun 0, type 0

Signature · 1 line
   kr
#72 lore raw
Quoted 2 lines · K.R. Foley

It does work with the exception that my u160 drive is still identified as 80MB/s.

Well, that's some good news, at least.

Quoted 6 lines
May 19 19:36:46 porky kernel: scsi0:A:0:0: Tagged Queuing enabled.  Depth 32
May 19 19:36:46 porky kernel:  target0:0:0: Beginning Domain Validation
May 19 19:36:46 porky kernel: WIDTH IS 1
May 19 19:36:46 porky kernel: (scsi0:A:0): 6.600MB/s transfers (16bit)
May 19 19:36:46 porky kernel: (scsi0:A:0): 80.000MB/s transfers

(40.000MHz, offset 127, 16bit)

OK, it looks like the period is limited to 25ns. Could you confirm this?

cat /sys/class/spi_transport/target0:0:0/period cat /sys/class/spi_transport/target0:0:0/max_period

Now, if the max_period is 25, try doing

echo 12.5 > /sys/class/spi_transport/target0:0:0/max_period

and then

echo 1 > /sys/class/spi_transport/target0:0:0/revalidate

to trigger a revalidation of the domain and see if it comes up to 160.

Thanks,

James

#73 lore raw
Quoted 17 lines · James Bottomley
Quoted 2 lines · K.R. Foley

It does work with the exception that my u160 drive is still identified as 80MB/s.

Well, that's some good news, at least.

Quoted 6 lines
May 19 19:36:46 porky kernel: scsi0:A:0:0: Tagged Queuing enabled.  Depth 32
May 19 19:36:46 porky kernel:  target0:0:0: Beginning Domain Validation
May 19 19:36:46 porky kernel: WIDTH IS 1
May 19 19:36:46 porky kernel: (scsi0:A:0): 6.600MB/s transfers (16bit)
May 19 19:36:46 porky kernel: (scsi0:A:0): 80.000MB/s transfers

(40.000MHz, offset 127, 16bit)

Quoted 4 lines

OK, it looks like the period is limited to 25ns. Could you confirm this?

cat /sys/class/spi_transport/target0:0:0/period

this is 25

Quoted 1 line

cat /sys/class/spi_transport/target0:0:0/max_period

this doesn't exist, but i bet you knew that

Quoted 4 lines

Now, if the max_period is 25, try doing

echo 12.5 > /sys/class/spi_transport/target0:0:0/max_period

actually put this into period but it didn't take :-( period is still 25 and before you ask min_period is 12.5

Quoted 4 lines

and then

echo 1 > /sys/class/spi_transport/target0:0:0/revalidate

did this anyway and this is what i got

May 19 20:21:45 porky kernel:  target0:0:0: Beginning Domain Validation
May 19 20:21:45 porky kernel: (scsi0:A:0): 3.300MB/s transfers
May 19 20:21:45 porky kernel: WIDTH IS 1
May 19 20:21:46 porky kernel: (scsi0:A:0): 6.600MB/s transfers (16bit)
May 19 20:21:46 porky kernel: (scsi0:A:0): 80.000MB/s transfers
(40.000MHz, offset 127, 16bit)
May 19 20:21:46 porky kernel:  target0:0:0: Ending Domain Validation

Any idea why I can't set the period to 12.5? I am going to see if anything jumps out at me.

Quoted 9 lines

to trigger a revalidation of the domain and see if it comes up to 160.

Thanks,

James

Signature · 1 line
   kr
#74 lore raw
Quoted 3 lines · K.R. Foley
Quoted 1 line

cat /sys/class/spi_transport/target0:0:0/max_period

this doesn't exist, but i bet you knew that

Doh, sorry, brain malfunction. That should be min_period ...

James

#75 lore raw
In reply to K.R. Foley
Quoted 2 lines · K.R. Foley

Any idea why I can't set the period to 12.5? I am going to see if anything jumps out at me.

what's the dt setting? if it's zero, try setting it to one and then lowering the period to 12.5 but don't trigger a revalidate this time, try reading or writing to the disk and then see what the settings come back as.

James

#76 lore raw
Quoted 6 lines · James Bottomley
Quoted 2 lines · K.R. Foley

Any idea why I can't set the period to 12.5? I am going to see if anything jumps out at me.

Quoted 9 lines

what's the dt setting? if it's zero, try setting it to one and then lowering the period to 12.5 but don't trigger a revalidate this time, try reading or writing to the disk and then see what the settings come back as.

James

the dt setting is 0. can't set it to 1, at least not so that you can see it stay that way. tried setting period to 12.5, stays at 25. min_period is set to 12.5 but doesn't seem to matter. what's next :)

Signature · 1 line
   kr
#77 lore raw
Quoted 3 lines · K.R. Foley

the dt setting is 0. can't set it to 1, at least not so that you can see it stay that way. tried setting period to 12.5, stays at 25. min_period is set to 12.5 but doesn't seem to matter. what's next :)

Well, I think it's my fault. I naively assumed the aic7xxx core setting code would do the right thing with coupled parameters, which, as I read through it, apparently it doesn't do.

My excuse is that I can't test any of this because my fastest aic7xxx card is only a U2 ...

Could you try this, I think it does the correct thing with the coupled parameters.

Thanks,

James

drivers/scsi/aic7xxx/aic7xxx_osm.c +11 -0
@@ -2679,6 +2679,11 @@ static void ahc_linux_set_period(struct 
 	if (offset == 0)
 		offset = MAX_OFFSET;
 
+	if (period < 9)
+		period = 9;	/* 12.5ns is our minimum */
+	if (period == 9)
+		ppr_options |= MSG_EXT_PPR_DT_REQ;
+
 	ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0,
 			    starget->channel + 'A', ROLE_INITIATOR);
 
@@ -2764,6 +2769,12 @@ static void ahc_linux_set_dt(struct scsi
 	unsigned long flags;
 	struct ahc_syncrate *syncrate;
 
+	if (dt) {
+		period = 9;	/* 12.5ns is the only period valid for DT */
+		ppr_options |= MSG_EXT_PPR_DT_REQ;
+	} else if (period == 9)
+		period = 10;	/* if resetting DT, period must be >= 25ns */
+
 	ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0,
 			    starget->channel + 'A', ROLE_INITIATOR);
 	syncrate = ahc_find_syncrate(ahc, &period, &ppr_options,AHC_SYNCRATE_DT);
#78 lore raw
Quoted 14 lines · James Bottomley
Quoted 3 lines · K.R. Foley

the dt setting is 0. can't set it to 1, at least not so that you can see it stay that way. tried setting period to 12.5, stays at 25. min_period is set to 12.5 but doesn't seem to matter. what's next :)

Well, I think it's my fault. I naively assumed the aic7xxx core setting code would do the right thing with coupled parameters, which, as I read through it, apparently it doesn't do.

My excuse is that I can't test any of this because my fastest aic7xxx card is only a U2 ...

Quoted 7 lines

Could you try this, I think it does the correct thing with the coupled parameters.

Thanks,

James

James,

Looks like a winner this time. If there is something else I can test, just let me know.

May 19 21:46:43 porky kernel: scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI
HBA DRIVER, Rev 6.2.36
May 19 21:46:43 porky kernel:         <Adaptec aic7899 Ultra160 SCSI
adapter>
May 19 21:46:43 porky kernel:         aic7899: Ultra160 Wide Channel A,
SCSI Id=7, 32/253 SCBs
May 19 21:46:43 porky kernel:
May 19 21:46:43 porky kernel:   Vendor: QUANTUM   Model:
ATLAS10K2-TY092L  Rev: DA40
May 19 21:46:43 porky kernel:   Type:   Direct-Access
   ANSI SCSI revision: 03
May 19 21:46:43 porky kernel: scsi0:A:0:0: Tagged Queuing enabled.  Depth 32
May 19 21:46:43 porky kernel:  target0:0:0: Beginning Domain Validation
May 19 21:46:43 porky kernel: WIDTH IS 1
May 19 21:46:43 porky kernel: (scsi0:A:0): 6.600MB/s transfers (16bit)
May 19 21:46:43 porky kernel: (scsi0:A:0): 160.000MB/s transfers
(80.000MHz DT, offset 127, 16bit)
May 19 21:46:43 porky kernel:  target0:0:0: Ending Domain Validation
May 19 21:46:43 porky kernel: scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI
HBA DRIVER, Rev 6.2.36
May 19 21:46:43 porky kernel:         <Adaptec aic7899 Ultra160 SCSI
adapter>
May 19 21:46:43 porky kernel:         aic7899: Ultra160 Wide Channel B,
SCSI Id=7, 32/253 SCBs
May 19 21:46:43 porky kernel:
May 19 21:46:43 porky kernel:   Vendor: SEAGATE   Model: SX118273LC
   Rev: 6679
May 19 21:46:43 porky kernel:   Type:   Direct-Access
   ANSI SCSI revision: 02
May 19 21:46:43 porky kernel: scsi1:A:0:0: Tagged Queuing enabled.  Depth 32
May 19 21:46:43 porky kernel:  target1:0:0: Beginning Domain Validation
May 19 21:46:43 porky kernel:  target1:0:0: Domain Validation skipping
write tests
May 19 21:46:44 porky kernel: (scsi1:A:0): 20.000MB/s transfers
(20.000MHz, offset 15)
May 19 21:46:44 porky kernel:  target1:0:0: Ending Domain Validation
May 19 21:46:44 porky kernel: SCSI device sda: 17783239 512-byte hdwr
sectors (9105 MB)
May 19 21:46:44 porky kernel: SCSI device sda: drive cache: write back
May 19 21:46:44 porky kernel: SCSI device sda: 17783239 512-byte hdwr
sectors (9105 MB)
May 19 21:46:44 porky kernel: SCSI device sda: drive cache: write back
May 19 21:46:44 porky kernel:  sda: sda1 sda2 sda3
May 19 21:46:44 porky kernel: Attached scsi disk sda at scsi0, channel
0, id 0, lun 0
May 19 21:46:44 porky kernel: SCSI device sdb: 35566480 512-byte hdwr
sectors (18210 MB)
May 19 21:46:44 porky kernel: SCSI device sdb: drive cache: write through
May 19 21:46:44 porky kernel: SCSI device sdb: 35566480 512-byte hdwr
sectors (18210 MB)
May 19 21:46:44 porky kernel: SCSI device sdb: drive cache: write through
May 19 21:46:44 porky kernel:  sdb: sdb1
May 19 16:46:23 porky rc.sysinit: -e
May 19 21:46:44 porky kernel: Attached scsi disk sdb at scsi1, channel
0, id 0, lun 0
May 19 16:46:25 porky udevsend[1281]: starting udevd daemon
May 19 21:46:44 porky kernel: Attached scsi generic sg0 at scsi0,
channel 0, id 0, lun 0,  type 0
May 19 16:46:25 porky scsi.agent[1293]: disk at
/devices/pci0000:00/0000:00:1e.0/0000:04:05.0/host0/target0:0:0/0:0:0:0
May 19 21:46:44 porky kernel: Attached scsi generic sg1 at scsi1,
channel 0, id 0, lun 0,  type 0
May 19 16:46:25 porky scsi.agent[1318]: disk at

/devices/pci0000:00/0000:00:1e.0/0000:04:05.1/host1/target1:0:0/1:0:0:0

Signature · 1 line
   kr
#79 lore raw
In reply to James Bottomley
Quoted 5 lines · James Bottomley

OK, could you try this one (also against vanilla 2.6.12-rc4). Hopefully it's a rollup of all the aic7xxx changes plus the necessary supporting infrastructure in my scsi-misc tree.

This works fine for me with 2.6.12-rc4, Thanks

I would appreciate if you can send this to -mm too

-Dinakar

#24 lore raw
In reply to James Bottomley
Quoted 4 lines · James Bottomley

Well, the attached is what I'd like you to try, capturing the information from the initial inquiry on ... it will be quite a bit.

Hopefully it will give me a clearer idea of what's going on.

I have found a way to fetch the console :-)

Against which kernel revision is your patch made for ?

Thank you very much :-)

Quoted 73 lines

Thanks,

James

drivers/scsi/scsi_transport_spi.c +19 -1
@@ -669,14 +669,23 @@ spi_dv_retrain(struct scsi_request *sreq
 {
 	struct spi_internal *i = to_spi_internal(sreq->sr_host->transportt);
 	struct scsi_device *sdev = sreq->sr_device;
+	struct scsi_target *starget = sdev->sdev_target;
 	int period = 0, prevperiod = 0; 
 	enum spi_compare_returns retval;
 
 
 	for (;;) {
 		int newperiod;
+
 		retval = compare_fn(sreq, buffer, ptr, DV_LOOPS);
 
+		if(i->f->get_period)
+			i->f->get_period(starget);
+		if (i->f->get_offset)
+			i->f->get_offset(starget);
+
+		spi_display_xfer_agreement(starget);
+
 		if (retval == SPI_COMPARE_SUCCESS
 		    || retval == SPI_COMPARE_SKIP_TEST)
 			break;
@@ -765,6 +774,8 @@ spi_dv_device_internal(struct scsi_reque
 	/* first set us up for narrow async */
 	DV_SET(offset, 0);
 	DV_SET(width, 0);
+
+	printk("BEGINNING ASYNC, inq len = %d\n", sdev->inquiry_len);
 
 	if (spi_dv_device_compare_inquiry(sreq, buffer, buffer, DV_LOOPS)
 	    != SPI_COMPARE_SUCCESS) {
@@ -773,11 +784,13 @@ spi_dv_device_internal(struct scsi_reque
 		return;
 	}
 
+	printk("ASYNC INQUIRY SUCCEEDED\n");
+
 	/* test width */
 	if (i->f->set_width && spi_max_width(starget) && sdev->wdtr) {
 		i->f->set_width(sdev->sdev_target, 1);
 
-		printk("WIDTH IS %d\n", spi_max_width(starget));
+		printk("TRYING WIDE ASYNC INQUIRY\n");
 
 		if (spi_dv_device_compare_inquiry(sreq, buffer,
 						   buffer + len,
@@ -802,12 +815,17 @@ spi_dv_device_internal(struct scsi_reque
 	if (sdev->ppr)
 		len = spi_dv_device_get_echo_buffer(sreq, buffer);
 
+	printk("ECHO BUFFER HAS LEN %d\n", len);
+
  retry:
 
 	/* now set up to the maximum */
 	DV_SET(offset, spi_max_offset(starget));
 	DV_SET(period, spi_min_period(starget));
 
+	printk("DV SETTING TO period %d, offset %d\n", spi_min_period(starget),
+	       spi_max_offset(starget));
+
 	if (len == 0) {
 		SPI_PRINTK(sdev->sdev_target, KERN_INFO, "Domain Validation skipping write tests\n");
 		spi_dv_retrain(sreq, buffer, buffer + len,
Signature · 5 lines
	Grégoire Favre
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#25 lore raw
Quoted 3 lines · Grégoire Favre

I have found a way to fetch the console :-)

Against which kernel revision is your patch made for ?

It should work against any recent kernel with the scsi patches.

James

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#26 lore raw
Quoted 1 line · James Bottomley

It should work against any recent kernel with the scsi patches.

:-) I was wrong with which patch should be applied before this one...

Here's the output :

Bootdata ok (command line is root=/dev/sdc2 parport=auto video=vesafb:mtrr,ywrap,1024x800-16@75 vga=0xF07 console=ttyS0)

Linux version 2.6.12-rc4 (root@gregoire) (gcc version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)) #6 Sun May 22 16:05:45 CEST 2005

BIOS-provided physical RAM map:

BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)

BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)

BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)

BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)

BIOS-e820: 000000003fff0000 - 000000003fff8000 (ACPI data)

BIOS-e820: 000000003fff8000 - 0000000040000000 (ACPI NVS)

BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)

BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)

BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)

ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)

Processor #0 15:12 APIC version 16

ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])

IOAPIC[0]: apic_id 2, version 3, address 0xfec00000, GSI 0-23

ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)

ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)

Setting APIC routing to flat

Using ACPI (MADT) for SMP configuration information

Allocating PCI resources starting at 40000000 (gap: 40000000:bec00000)

Built 1 zonelists

Kernel command line: root=/dev/sdc2 parport=auto video=vesafb:mtrr,ywrap,1024x800-16@75 vga=0xF07 console=ttyS0

Initializing CPU#0

PID hash table entries: 4096 (order: 12, 131072 bytes)

time.c: Using 1.193182 MHz PIT timer.

time.c: Detected 2000.088 MHz processor.

time.c: Using PIT/TSC based timekeeping.

Console: colour VGA+ 80x60

Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)

Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)

Memory: 1025304k/1048512k available (3144k kernel code, 22512k reserved, 1305k data, 160k init)

Mount-cache hash table entries: 256

CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)

CPU: L2 Cache: 512K (64 bytes/line)

CPU: AMD Athlon(tm) 64 Processor 3000+ stepping 00

Using local APIC NMI watchdog using perfctr0

Using local APIC timer interrupts.

Detected 12.500 MHz APIC timer.

NET: Registered protocol family 16

PCI: Using configuration type 1

mtrr: v2.0 (20020519)

ACPI: Subsystem revision 20050309

ACPI: Interpreter enabled

ACPI: Using IOAPIC for interrupt routing

ACPI: PCI Root Bridge [PCI0] (0000:00)

PCI: Probing PCI hardware (bus 00)

PCI: Via IRQ fixup

ACPI: Power Resource [URP1] (off)

ACPI: Power Resource [URP2] (off)

ACPI: Power Resource [FDDP] (off)

ACPI: Power Resource [LPTP] (off)

ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)

ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 12 14 15)

ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 10 11 12 14 15)

ACPI: PCI Interrupt Link [LNKD] (IRQs *3 4 5 6 7 10 11 12 14 15)

ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

SCSI subsystem initialized

usbcore: registered new driver usbfs

usbcore: registered new driver hub

PCI: Using ACPI for IRQ routing

PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report

IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $

NTFS driver 2.1.22 [Flags: R/O].

EFS: 1.0a - http://aeschi.ch.eu.org/efs/

SGI XFS with large block/inode numbers, no debug enabled

Initializing Cryptographic API

ACPI: Power Button (FF) [PWRF]

ACPI: Sleep Button (CM) [SLPB]

Real Time Clock Driver v1.12

Non-volatile memory driver v1.2

serio: i8042 AUX port at 0x60,0x64 irq 12

serio: i8042 KBD port at 0x60,0x64 irq 1

Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled

ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

parport0: PC-style at 0x378 [PCSPP(,...)]

io scheduler noop registered

io schedule€HCNT = 0x60 SCBPTR = 0x0

SCSISIGI[0x44] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x40]

SCSISEQ[0x12] SBLKCTL[0x0] SCSIRATE[0xf] SEQCTL[0x10]

SEQ_FLAGS[0x20] SSTAT0[0x0] SSTAT1[0x2] SSTAT2[0x0]

SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xac] SXFRCTL0[0xa0]

DFCNTRL[0x38] DFSTATUS[0x40]

STACK: 0x0 0x162 0x192 0x6e

SCB count = 4

Kernel NEXTQSCB = 3

Card NEXTQSCB = 3

QINFIFO entries:

Waiting Queue entries:

Disconnected Queue entries:

QOUTFIFO entries:

Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Sequencer SCB Info:

0 SCB_CONTROL[0x48] SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0x2]

1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

Pending list:

2 SCB_CONTROL[0x48] SCB_SCSIID[0x17] SCB_LUN[0x0]

Kernel Free SCB list: 1 0

Untagged Q(1): 2

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>

scsi1:0:1:0: Device is active, asserting ATN

Recovery code sleeping

Recovery code awake

Timer Expired

aic7xxx_abort returns 0x2003

scsi1:0:1:0: Attempting to queue a TARGET RESET message

CDB: 0x12 0x0 0x0 0x0 0x60 0x0

aic7xxx_dev_reset returns 0x2003

Recovery SCB completes

scsi1:0:1:0: Attempting to queue an ABORT message

CDB: 0x0 0x0 0x0 0x0 0x0 0x0

scsi1: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi1: Dumping Card State in Data-in phase, at SEQADDR 0x7b

Card was paused

ACCUM = 0x0, SINDEX = 0xb8, DINDEX = 0xa8, ARG_2 = 0x0

HCNT = 0x20 SCBPTR = 0x0

SCSISIGI[0x44] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x40]

SCSISEQ[0x12] SBLKCTL[0x0] SCSIRATE[0xf] SEQCTL[0x10]

SEQ_FLAGS[0x20] SSTAT0[0x0] SSTAT1[0x2] SSTAT2[0x0]

SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xac] SXFRCTL0[0x80]

DFCNTRL[0x38] DFSTATUS[0x20]

STACK: 0x0 0x162 0x192 0x6e

SCB count = 4

Kernel NEXTQSCB = 2

Card NEXTQSCB = 2

QINFIFO entries:

Waiting Queue entries:

Disconnected Queue entries:

QOUTFIFO entries:

Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Sequencer SCB Info:

0 SCB_CONTROL[0x8] SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0x3]

1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

Pending list:

3 SCB_CONTROL[0x8] SCB_SCSIID[0€r anticipatory registered

io scheduler deadline registered

io scheduler cfq registered

Floppy drive(s): fd0 is 1.44M

FDC 0 is a post-1991 82077

r8169 Gigabit Ethernet driver 2.2LK loaded

ACPI: PCI Interrupt 0000:00:0b.0[A] -> GSI 16 (level, low) -> IRQ 16

r8169: NAPI enabled

eth0: RTL8169 at 0xffffc20000002b00, 00:0c:76:bd:22:23, IRQ 16

Linux video capture interface: v1.00

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx

VP_IDE: IDE controller at PCI slot 0000:00:0f.1

ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 20

VP_IDE: chipset revision 6

VP_IDE: not 100% native mode: will probe irqs later

VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1

    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio

    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio

hda: IC35L120AVVA07-0, ATA DISK drive

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

hdc: SONY DVD RW DRU-500A, ATAPI CD/DVD-ROM drive

hdd: IOMEGA ZIP 250 ATAPI Floppy, ATAPI FLOPPY drive

hdd: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }

hdd: set_drive_speed_status: error=0x04 { AbortedCommand }

ide1 at 0x170-0x177,0x376 on irq 15

hda: max request size: 128KiB

hda: 241254720 sectors (123522 MB) w/1863KiB Cache, CHS=65535/16/63, UDMA(100)

hda: cache flushes supported

hda: hda1 hda2 hda3 hda4

hdc: ATAPI 16X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33)

Uniform CD-ROM driver Revision: 3.20

ide-floppy driver 0.99.newide

hdd: No disk in drive

hdd: 244736kB, 239/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm

ACPI: PCI Interrupt 0000:00:05.0[A] -> GSI 16 (level, low) -> IRQ 16

ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 17 (level, low) -> IRQ 17

scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36

        <Adaptec 29160B Ultra160 SCSI adapter>

        aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

Vendor: IBM Model: DDRS-39130D Rev: DC1B

Type: Direct-Access ANSI SCSI revision: 02

scsi0:A:0:0: Tagged Queuing enabled. Depth 253

target0:0:0: Beginning Domain Validation

BEGINNING ASYNC, inq len = 164

ASYNC INQUIRY SUCCEEDED

TRYING WIDE ASYNC INQUIRY

(scsi0:A:0): 6.600MB/s transfers (16bit)

ECHO BUFFER HAS LEN 0

DV SETTING TO period 10, offset 255

target0:0:0: Domain Validation skipping write tests

(scsi0:A:0): 80.000MB/s transfers (40.000MHz, offset 15, 16bit)

target0:0:0: FAST-40 SCSI 40.0 MB/s ST (25 ns, offset 15)

target0:0:0: Ending Domain Validation

Vendor: SEAGATE Model: ST336706LW Rev: 0108

Type: Direct-Access ANSI SCSI revision: 03

scsi0:A:15:0: Tagged Queuing enabled. Depth 253

target0:0:15: Beginning Domain Validation

BEGINNING ASYNC, inq len = 144

ASYNC INQUIRY SUCCEEDED

TRYING WIDE ASYNC INQUIRY

(scsi0:A:15): 6.600MB/s transfers (16bit)

ECHO BUFFER HAS LEN 252

DV SETTING TO period 10, offset 255

(scsi0:A:15): 80.000MB/s transfers (40.000MHz, offset 63, 16bit)

target0:0:15: FAST-40 SCSI 40.0 MB/s ST (25 ns, offset 63)

target0:0:15: Ending Domain Validation

scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36

<Adaptec 2940 Ultra SCSI adapter>

aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs

Vendor: TOSHIBA Model: DVD-ROM SD-M1201 Rev: 1R08

Type: CD-ROM ANSI SCSI revision: 02

target1:0:1: Beginning Domain Validation

BEGINNING ASYNC, inq len = 96

ASYNC INQUIRY SUCCEEDED

ECHO BUFFER HAS LEN 0

DV SETTING TO period 9, offset 255

target1:0:1: Domain Validation skipping write tests

(scsi1:A:1): 20.000MB/s transfers (20.000MHz, offset 15)

scsi1:0:1:0: Attempting to queue an ABORT message

CDB: 0x12 0x0 0x0 0x0 0x60 0x0

scsi1: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi1: Dumping Card State in Data-in phase, at SEQADDR 0x7c

Card was paused

ACCUM = 0x0, SINDEX = 0xb8, DINDEX = 0xa8, ARG_2 = 0x0

€x17] SCB_LUN[0x0]

Kernel Free SCB list: 1 0

Untagged Q(1): 3

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>

scsi1:0:1:0: Device is active, asserting ATN

Recovery code sleeping

Recovery code awake

Timer Expired

aic7xxx_abort returns 0x2003

scsi: Device offlined - not ready after error recovery: host 1 channel 0 id 1 lun 0

target1:0:1: FAST-20 SCSI 20.0 MB/s ST (50 ns, offset 15)

target1:0:1: Domain Validation detected failure, dropping back

I hope it could be useful, now that my "toolchain" to fetch log is on, don't hesitate to ask me to try things...

Thank you and have a great week,

Signature · 5 lines
	Grégoire Favre
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#7 lore raw
In reply to Dinakar Guniguntala
Quoted 10 lines · Dinakar Guniguntala
Quoted 1 line · Andrew Morton

Better cc linux-scsi.

Thanks

Quoted 1 line

Are these bugs also present in 2.6.12-rc4?

Yes, I tried a vanilla 2.6.12-rc4 and I get the same output. I get this from 2.6.12-rc3 onwards.

Gents, can you please confirm that 2.6.12-rc5 is working OK now?

#8 lore raw
Quoted 9 lines · Andrew Morton
Quoted 7 lines · Dinakar Guniguntala
Quoted 1 line · Andrew Morton

Better cc linux-scsi.

Thanks

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

Are these bugs also present in 2.6.12-rc4?

Yes, I tried a vanilla 2.6.12-rc4 and I get the same output. I get this from 2.6.12-rc3 onwards.

Gents, can you please confirm that 2.6.12-rc5 is working OK now?

Andrew,

I know this wasn't directed at me, but I can confirm that the problems I was having with my aic7899, that James and I resolved under this thread, are in fact gone in 2.6.12-rc5. Booted it last night. :-)

Signature · 1 line
   kr
#9 lore raw
In reply to Andrew Morton
Quoted 3 lines · Andrew Morton

Gents, can you please confirm that 2.6.12-rc5 is working OK now?

I checked 2.6.12-rc5 and 2.6.12-rc5-mm1 and SCSI comes up fine on both

Thanks James and Andrew

-Dinakar

#10 lore raw
In reply to Andrew Morton
Quoted 1 line · Andrew Morton

Gents, can you please confirm that 2.6.12-rc5 is working OK now?

Everything apart from the Sony DVD domain validation issue should be solved. I'm still trying to find a clue to the last one from the traces (it also doesn't look aic specific ... I think the DVD would do the same thing on a different controller).

James

#27 lore raw
In reply to Grégoire Favre
Quoted 6 lines · Grégoire Favre

target1:0:1: FAST-20 SCSI 20.0 MB/s ST (50 ns, offset 15)

target1:0:1: Domain Validation detected failure, dropping back

I hope it could be useful, now that my "toolchain" to fetch log is on, don't hesitate to ask me to try things...

Actually, did you capture anything more after this?

There's an indication from a previous file you sent:

Target 1 Negotiation Settings

        User: 10.000MB/s transfers (10.000MHz, offset 127)
        Goal: 10.000MB/s transfers (10.000MHz, offset 15)
        Curr: 10.000MB/s transfers (10.000MHz, offset 15)

That for some reason the bus is tied to 10MHz (i.e. fast but not ultra). The DV began at Ultra, but it should next drop down to FAST.

Also, when it finally boots up what does

/sys/class/spi_transport/target1:0:1/min_period

contain?

Thanks,

James

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#28 lore raw
Quoted 1 line · James Bottomley

Actually, did you capture anything more after this?

No, I have waited some times, and has nothing more were written to my palm console, I just thought it wouldn't boot further...

Quoted 7 lines

There's an indication from a previous file you sent:

Target 1 Negotiation Settings

        User: 10.000MB/s transfers (10.000MHz, offset 127)
        Goal: 10.000MB/s transfers (10.000MHz, offset 15)
        Curr: 10.000MB/s transfers (10.000MHz, offset 15)
Quoted 8 lines

That for some reason the bus is tied to 10MHz (i.e. fast but not ultra). The DV began at Ultra, but it should next drop down to FAST.

Also, when it finally boots up what does

/sys/class/spi_transport/target1:0:1/min_period

contain?

Under 2.6.12-rc2 I haven't this file, what the equivalent ?

Thank you very much for taking care of my problem :-)

Signature · 5 lines
	Grégoire Favre
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#29 lore raw
Quoted 1 line · Grégoire Favre

Under 2.6.12-rc2 I haven't this file, what the equivalent ?

It should be there under 2.6.12-rc5

James

#30 lore raw
Quoted 4 lines · James Bottomley
Quoted 1 line · Grégoire Favre

Under 2.6.12-rc2 I haven't this file, what the equivalent ?

It should be there under 2.6.12-rc5

:-) Well, fine, but I can't boot post 2.6.12-rc2 kernels... Just tried 2.6.12-rc5 and it ends here :

Bootdata ok (command line is root=/dev/sdc2 parport=auto video=vesafb:mtrr,ywrap,1024x800-16@75 vga=0xF07 console=ttyS0)

Linux version 2.6.12-rc5 (root@gregoire) (gcc version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)) #1 Thu May 26 16:53:13 CEST 2005

BIOS-provided physical RAM map:

BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)

BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)

BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)

BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)

BIOS-e820: 000000003fff0000 - 000000003fff8000 (ACPI data)

BIOS-e820: 000000003fff8000 - 0000000040000000 (ACPI NVS)

BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)

BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)

BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)

ACPI: PM-Timer IO Port: 0x808

ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)

Processor #0 15:12 APIC version 16

ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])

IOAPIC[0]: apic_id 2, version 3, address 0xfec00000, GSI 0-23

ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)

ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)

Setting APIC routing to flat

Using ACPI (MADT) for SMP configuration information

Allocating PCI resources starting at 40000000 (gap: 40000000:bec00000)

Built 1 zonelists

Kernel command line: root=/dev/sdc2 parport=auto video=vesafb:mtrr,ywrap,1024x800-16@75 vga=0xF07 console=ttyS0

Initializing CPU#0

PID hash table entries: 4096 (order: 12, 131072 bytes)

time.c: Using 3.579545 MHz PM timer.

time.c: Detected 2000.148 MHz processor.

time.c: Using PIT/TSC based timekeeping.

Console: colour VGA+ 80x60

Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)

Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)

Memory: 1025304k/1048512k available (3138k kernel code, 22512k reserved, 1306k data, 160k init)

Mount-cache hash table entries: 256

CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)

CPU: L2 Cache: 512K (64 bytes/line)

CPU: AMD Athlon(tm) 64 Processor 3000+ stepping 00

Using local APIC timer interrupts.

Detected 12.500 MHz APIC timer.

testing NMI watchdog ... OK.

NET: Registered protocol family 16

PCI: Using configuration type 1

mtrr: v2.0 (20020519)

ACPI: Subsystem revision 20050309

ACPI: Interpreter enabled

ACPI: Using IOAPIC for interrupt routing

ACPI: PCI Root Bridge [PCI0] (0000:00)

PCI: Probing PCI hardware (bus 00)

PCI: Via IRQ fixup

ACPI: Power Resource [URP1] (off)

ACPI: Power Resource [URP2] (off)

ACPI: Power Resource [FDDP] (off)

ACPI: Power Resource [LPTP] (off)

ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)

ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 12 14 15)

ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 10 11 12 14 15)

ACPI: PCI Interrupt Link [LNKD] (IRQs *3 4 5 6 7 10 11 12 14 15)

ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

SCSI subsystem initialized

usbcore: registered new driver usbfs

usbcore: registered new driver hub

PCI: Using ACPI for IRQ routing

PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report

IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $

NTFS driver 2.1.22 [Flags: R/O].

EFS: 1.0a - http://aeschi.ch.eu.org/efs/

SGI XFS with large block/inode numbers, no debug enabled

Initializing Cryptographic API

ACPI: Power Button (FF) [PWRF]

ACPI: Sleep Button (CM) [SLPB]

Real Time Clock Driver v1.12

Non-volatile memory driver v1.2

serio: i8042 AUX port at 0x60,0x64 irq 12

serio: i8042 KBD port at 0x60,0x64 irq 1

Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled

ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

parport0: PC-style at 0x378 [PCSPP(,...)]

io scheduler noop registered

io scheduler anticipatory registered

io scheduler deadline registered

io scheduler cfq registered

Floppy drive(s): fd0 is 1.44M

FDC 0 is a post-1991 82077

r8169 Gigabit Ethernet driver 2.2LK loaded

ACPI: PCI Interrupt 0000:00:0b.0[A] -> GSI 16 (level, low) -> IRQ 16

r8169: NAPI enabled

eth0: RTL8169 at 0xffffc20000002b00, 00:0c:76:bd:22:23, IRQ 16

Linux video capture interface: v1.00

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx

VP_IDE: IDE controller at PCI slot 0000:00:0f.1

ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 20

VP_IDE: chipset revision 6

VP_IDE: not 100% native mode: will probe irqs later

VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1

    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio

    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio

hda: IC35L120AVVA07-0, ATA DISK drive

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

hdc: SONY DVD RW DRU-500A, ATAPI CD/DVD-ROM drive

hdd: IOMEGA ZIP 250 ATAPI Floppy, ATAPI FLOPPY drive

hdd: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }

hdd: set_drive_speed_status: error=0x04 { AbortedCommand }

ide1 at 0x170-0x177,0x376 on irq 15

hda: max request size: 128KiB

hda: 241254720 sectors (123522 MB) w/1863KiB Cache, CHS=65535/16/63, UDMA(100)

hda: cache flushes supported

hda: hda1 hda2 hda3 hda4

hdc: ATAPI 31X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33)

Uniform CD-ROM driver Revision: 3.20

ide-floppy driver 0.99.newide

hdd: No disk in drive

hdd: 244736kB, 239/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm

ACPI: PCI Interrupt 0000:00:05.0[A] -> GSI 16 (level, low) -> IRQ 16

ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 17 (level, low) -> IRQ 17

scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36

        <Adaptec 29160B Ultra160 SCSI adapter>

        aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

Vendor: IBM Model: DDRS-39130D Rev: DC1B

Type: Direct-Access ANSI SCSI revision: 02

scsi0:A:0:0: Tagged Queuing enabled. Depth 253

target0:0:0: Beginning Domain Validation

WIDTH IS 1

(scsi0:A:0): 6.600MB/s transfers (16bit)

target0:0:0: Domain Validation skipping write tests

(scsi0:A:0): 80.000MB/s transfers (40.000MHz, offset 15, 16bit)

target0:0:0: Ending Domain Validation

Vendor: SEAGATE Model: ST336706LW Rev: 0108

Type: Direct-Access ANSI SCSI revision: 03

scsi0:A:15:0: Tagged Queuing enabled. Depth 253

target0:0:15: Beginning Domain Validation

WIDTH IS 1

(scsi0:A:15): 6.600MB/s transfers (16bit)

(scsi0:A:15): 80.000MB/s transfers (40.000MHz, offset 63, 16bit)

target0:0:15: Ending Domain Validation

scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36

<Adaptec 2940 Ultra SCSI adapter>

aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs

Vendor: TOSHIBA Model: DVD-ROM SD-M1201 Rev: 1R08

Type: CD-ROM ANSI SCSI revision: 02

target1:0:1: Beginning Domain Validation

target1:0:1: Domain Validation skipping write tests

(scsi1:A:1): 20.000MB/s transfers (20.000MHz, offset 15)

scsi1:0:1:0: Attempting to queue an ABORT message

CDB: 0x12 0x0 0x0 0x0 0x60 0x0

scsi1: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi1: Dumping Card State in Data-in phase, at SEQADDR 0x7c

Card was paused

ACCUM = 0x0, SINDEX = 0xb8, DINDEX = 0xa8, ARG_2 = 0x0

HCNT = 0x60 SCBPTR = 0x0

SCSISIGI[0x44] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x40]

SCSISEQ[0x12] SBLKCTL[0x0] SCSIRATE[0xf] SEQCTL[0x10]

SEQ_FLAGS[0x20] SSTAT0[0x0] SSTAT1[0x2] SSTAT2[0x0]

SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xac] SXFRCTL0[0xa0]

DFCNTRL[0x38] DFSTATUS[0x40]

STACK: 0x0 0x162 0x192 0x6e

SCB count = 4

Kernel NEXTQSCB = 3

Card NEXTQSCB = 3

QINFIFO entries:

Waiting Queue entries:

Disconnected Queue entries:

QOUTFIFO entries:

Sequencer Free SCB List: 1 2

HCNT = 0x60 SCBPTR = 0x0

SCSISIGI[0x44] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x40]

SCSISEQ[0x12] SBLKCTL[0x0] SCSIRATE[0xf] SEQCTL[0x10]

SEQ_FLAGS[0x20] SSTAT0[0x0] SSTAT1[0x2] SSTAT2[0x0]

SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xac] SXFRCTL0[0xa0]

DFCNTRL[0x38] DFSTATUS[0x40]

STACK: 0x0 0x162 0x192 0x6e

SCB count = 4

Kernel NEXTQSCB = 3

Card NEXTQSCB = 3

QINFIFO entries:

Waiting Queue entries:

Disconnected Queue entries:

QOUTFIFO entries:

Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Sequencer SCB Info:

0 SCB_CONTROL[0x48] SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0x2]

1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

Pending list:

2 SCB_CONTROL[0x48] SCB_SCSIID[0x17] SCB_LUN[0x0]

Kernel Free SCB list: 1 0

Untagged Q(1): 2

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>

scsi1:0:1:0: Device is active, asserting ATN

Recovery code sleeping

Recovery code awake

Timer Expired

aic7xxx_abort returns 0x2003

scsi1:0:1:0: Attempting to queue a TARGET RESET message

CDB: 0x12 0x0 0x0 0x0 0x60 0x0

aic7xxx_dev_reset returns 0x2003

Recovery SCB completes

scsi1:0:1:0: Attempting to queue an ABORT message

CDB: 0x0 0x0 0x0 0x0 0x0 0x0

scsi1: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi1: Dumping Card State in Data-in phase, at SEQADDR 0x7b

Card was paused

ACCUM = 0x0, SINDEX = 0xb8, DINDEX = 0xa8, ARG_2 = 0x0

HCNT = 0x20 SCBPTR = 0x0

SCSISIGI[0x44] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x40]

SCSISEQ[0x12] SBLKCTL[0x0] SCSIRATE[0xf] SEQCTL[0x10]

SEQ_FLAGS[0x20] SSTAT0[0x0] SSTAT1[0x2] SSTAT2[0x0]

SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xac] SXFRCTL0[0x80]

DFCNTRL[0x38] DFSTATUS[0x20]

STACK: 0x0 0x162 0x192 0x6e

SCB count = 4

Kernel NEXTQSCB = 2

Card NEXTQSCB = 2

QINFIFO entries:

Waiting Queue entries:

Disconnected Queue entries:

QOUTFIFO entries:

Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Sequencer SCB Info:

0 SCB_CONTROL[0x8] SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0x3]

1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

Pending list:

3 SCB_CONTROL[0x8] SCB_SCSIID[0€ff] SCB_SCSIIDr anticipatory registered

io scheduler deadline registered

io scheduler cfq registered

Floppy drive(s): fd0 is 1.44M

FDC 0 is a post-1991 82077

r8169 Gigabit Ethernet driver 2.2LK loaded

ACPI: PCI Interrupt 0000:00:0b.0[A] -> GSI 16 (level, low) -> IRQ 16

r8169: NAPI enabled

eth0: RTL8169 at 0xffffc20000002b00, 00:0c:76:bd:22:23, IRQ 16

Linux video capture interface: v1.00

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx

VP_IDE: IDE controller at PCI slot 0000:00:0f.1

ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 20

VP_IDE: chipset revision 6

VP_IDE: not 100% native mode: will probe irqs later

VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1

    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio

    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio

hda: IC35L120AVVA07-0, ATA DISK drive

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

hdc: SONY DVD RW DRU-500A, ATAPI CD/DVD-ROM drive

hdd: IOMEGA ZIP 250 ATAPI Floppy, ATAPI FLOPPY drive

hdd: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }

hdd: set_drive_speed_status: error=0x04 { AbortedCommand }

ide1 at 0x170-0x177,0x376 on irq 15

hda: max request size: 128KiB

hda: 241254720 sectors (123522 MB) w/1863KiB Cache, CHS=65535/16/63, UDMA(100)

hda: cache flushes supported

hda: hda1 hda2 hda3 hda4

hdc: ATAPI 16X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33)

Uniform CD-ROM driver Revision: 3.20

ide-floppy driver 0.99.newide

hdd: No disk in drive

hdd: 244736kB, 239/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm

ACPI: PCI Interrupt 0000:00:05.0[A] -> GSI 16 (level, low) -> IRQ 16

ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 17 (level, low) -> IRQ 17

scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36

        <Adaptec 29160B Ultra160 SCSI adapter>

        aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

Vendor: IBM Model: DDRS-39130D Rev: DC1B

Type: Direct-Access ANSI SCSI revision: 02

scsi0:A:0:0: Tagged Queuing enabled. Depth 253

target0:0:0: Beginning Domain Validation

BEGINNING ASYNC, inq len = 164

ASYNC INQUIRY SUCCEEDED

TRYING WIDE ASYNC INQUIRY

(scsi0:A:0): 6.600MB/s transfers (16bit)

ECHO BUFFER HAS LEN 0

DV SETTING TO period 10, offset 255

target0:0:0: Domain Validation skipping write tests

(scsi0:A:0): 80.000MB/s transfers (40.000MHz, offset 15, 16bit)

target0:0:0: FAST-40 SCSI 40.0 MB/s ST (25 ns, offset 15)

target0:0:0: Ending Domain Validation

Vendor: SEAGATE Model: ST336706LW Rev: 0108

Type: Direct-Access ANSI SCSI revision: 03

scsi0:A:15:0: Tagged Queuing enabled. Depth 253

target0:0:15: Beginning Domain Validation

BEGINNING ASYNC, inq len = 144

ASYNC INQUIRY SUCCEEDED

TRYING WIDE ASYNC INQUIRY

(scsi0:A:15): 6.600MB/s transfers (16bit)

ECHO BUFFER HAS LEN 252

DV SETTING TO period 10, offset 255

(scsi0:A:15): 80.000MB/s transfers (40.000MHz, offset 63, 16bit)

target0:0:15: FAST-40 SCSI 40.0 MB/s ST (25 ns, offset 63)

target0:0:15: Ending Domain Validation

scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36

<Adaptec 2940 Ultra SCSI adapter>

aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs

Vendor: TOSHIBA Model: DVD-ROM SD-M1201 Rev: 1R08

Type: CD-ROM ANSI SCSI revision: 02

target1:0:1: Beginning Domain Validation

BEGINNING ASYNC, inq len = 96

ASYNC INQUIRY SUCCEEDED

ECHO BUFFER HAS LEN 0

DV SETTING TO period 9, offset 255

target1:0:1: Domain Validation skipping write tests

(scsi1:A:1): 20.000MB/s transfers (20.000MHz, offset 15)

scsi1:0:1:0: Attempting to queue an ABORT message

CDB: 0x12 0x0 0x0 0x0 0x60 0x0

scsi1: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi1: Dumping Card State in Data-in phase, at SEQADDR 0x7c

Card was paused

ACCUM = 0x0, SINDEX = 0xb8, DINDEX = 0xa8, ARG_2 = 0x0

€ x17] SCB_LUN[0x0]

Kernel Free SCB list: 1 0

Untagged Q(1): 3

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>

scsi1:0:1:0: Device is active, asserting ATN

Recovery code sleeping

Recovery code awake

Timer Expired

aic7xxx_abort returns 0x2003

scsi: Device offlined - not ready after error recovery: host 1 channel 0 id 1 lun 0

target1:0:1: FAST-20 SCSI 20.0 MB/s ST (50 ns, offset 15)

target1:0:1: Domain Validation detected failure, dropping back

That's with vanilla 2.6.12-rc5 if I have to patch, just tell me :-)

Have a great day,

Signature · 5 lines
	Grégoire Favre
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#31 lore raw
Quoted 1 line · Grégoire Favre

That's with vanilla 2.6.12-rc5 if I have to patch, just tell me :-)

OK, I have two things for you to try.

The first is the attached, which, I think, enforces the limits this device is expecting. It's really just a sanity check to see if the problem is what I think it is (device negotiates a transfer setting it can't actually support).

James

drivers/scsi/aic7xxx/aic7xxx_osm.c +1 -0
@@ -735,6 +735,7 @@ ahc_linux_slave_configure(struct scsi_de
 
 	/* Initial Domain Validation */
 	if (!spi_initial_dv(device->sdev_target))
+		spi_min_period(device->sdev_target) = 100;
 		spi_dv_device(device);
 
 	return 0;

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#32 lore raw

James Bottomley wrote:
[]

drivers/scsi/aic7xxx/aic7xxx_osm.c ahc_linux_slave_configure(struct scsi_de · line 739

Quoted 9 lines
drivers/scsi/aic7xxx/aic7xxx_osm.c +1 -0
@@ -735,6 +735,7 @@ ahc_linux_slave_configure(struct scsi_de
 
 	/* Initial Domain Validation */
 	if (!spi_initial_dv(device->sdev_target))
+		spi_min_period(device->sdev_target) = 100;
 		spi_dv_device(device);

Hmm.. Should there be a pair of {}'s somewhere?

/mjt

#33 lore raw
Quoted 1 line · Michael Tokarev

Hmm.. Should there be a pair of {}'s somewhere?

Only if it were actual code for the tree, rather than a throw away test ... it's a single lun target, so the condition is always true.

James

#34 lore raw
In reply to James Bottomley
Quoted 6 lines · James Bottomley

OK, I have two things for you to try.

The first is the attached, which, I think, enforces the limits this device is expecting. It's really just a sanity check to see if the problem is what I think it is (device negotiates a transfer setting it can't actually support).

uname -r gives me : 2.6.12-rc5 which mean it's a working fix for me !!!

Note that on the other controller the speed are quiete low ? Do you think it's more or less safe to use this kernel so ?

Thank you very much !!!

Here's dmesg :

n information
Allocating PCI resources starting at 40000000 (gap: 40000000:bec00000)
Built 1 zonelists
Kernel command line: root=/dev/sdc2 parport=auto video=vesafb:mtrr,ywrap,1024x800-16@75 vga=0xF07 console=ttyS0 Initializing CPU#0
PID hash table entries: 4096 (order: 12, 131072 bytes)
time.c: Using 3.579545 MHz PM timer.
time.c: Detected 2000.148 MHz processor.
time.c: Using PIT/TSC based timekeeping.
Console: colour VGA+ 80x60
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Memory: 1025304k/1048512k available (3138k kernel code, 22512k reserved, 1306k data, 160k init) Calibrating delay loop... 3940.35 BogoMIPS (lpj=1970176)
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU: AMD Athlon(tm) 64 Processor 3000+ stepping 00
Using local APIC timer interrupts.
Detected 12.500 MHz APIC timer.
testing NMI watchdog ... OK.
NET: Registered protocol family 16
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050309
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI: Via IRQ fixup
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: Power Resource [URP1] (off)
ACPI: Power Resource [URP2] (off)
ACPI: Power Resource [FDDP] (off)
ACPI: Power Resource [LPTP] (off)
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs *3 4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
NTFS driver 2.1.22 [Flags: R/O].
EFS: 1.0a - http://aeschi.ch.eu.org/efs/
SGI XFS with large block/inode numbers, no debug enabled
Initializing Cryptographic API
ACPI: Power Button (FF) [PWRF]
ACPI: Sleep Button (CM) [SLPB]
Real Time Clock Driver v1.12
Non-volatile memory driver v1.2
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
parport0: PC-style at 0x378 [PCSPP(,...)]
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
r8169 Gigabit Ethernet driver 2.2LK loaded
ACPI: PCI Interrupt 0000:00:0b.0[A] -> GSI 16 (level, low) -> IRQ 16
r8169: NAPI enabled
eth0: Identified chip type is 'RTL8169s/8110s'.
eth0: RTL8169 at 0xffffc20000002b00, 00:0c:76:bd:22:23, IRQ 16
Linux video capture interface: v1.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:0f.1
ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 20
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1

    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio

Probing IDE interface ide0...
hda: IC35L120AVVA07-0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: SONY DVD RW DRU-500A, ATAPI CD/DVD-ROM drive
hdd: IOMEGA ZIP 250 ATAPI Floppy, ATAPI FLOPPY drive
hdd: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
hdd: set_drive_speed_status: error=0x04 { AbortedCommand }
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hda: max request size: 128KiB
hda: 241254720 sectors (123522 MB) w/1863KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes supported
hda: hda1 hda2 hda3 hda4
hdc: ATAPI 16X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
hdd: No disk in drive
hdd: 244736kB, 239/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm
ACPI: PCI Interrupt 0000:00:05.0[A] -> GSI 16 (level, low) -> IRQ 16
ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 17 (level, low) -> IRQ 17 scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36

        <Adaptec 29160B Ultra160 SCSI adapter>
        aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

Vendor: IBM Model: DDRS-39130D Rev: DC1B
Type: Direct-Access ANSI SCSI revision: 02
scsi0:A:0:0: Tagged Queuing enabled. Depth 253
target0:0:0: Beginning Domain Validation
WIDTH IS 1
(scsi0:A:0): 6.600MB/s transfers (16bit)
target0:0:0: Domain Validation skipping write tests target0:0:0: Ending Domain Validation
Vendor: SEAGATE Model: ST336706LW Rev: 0108
Type: Direct-Access ANSI SCSI revision: 03
scsi0:A:15:0: Tagged Queuing enabled. Depth 253
target0:0:15: Beginning Domain Validation
WIDTH IS 1
(scsi0:A:15): 6.600MB/s transfers (16bit)
target0:0:15: Ending Domain Validation
scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec 2940 Ultra SCSI adapter>
aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs

Vendor: TOSHIBA Model: DVD-ROM SD-M1201 Rev: 1R08
Type: CD-ROM ANSI SCSI revision: 02
target1:0:1: Beginning Domain Validation
target1:0:1: Domain Validation skipping write tests
target1:0:1: Ending Domain Validation
Vendor: PLEXTOR Model: CD-R PX-R820T Rev: 1.08
Type: CD-ROM ANSI SCSI revision: 02
target1:0:2: Beginning Domain Validation
target1:0:2: Domain Validation skipping write tests
target1:0:2: Ending Domain Validation
Vendor: PLEXTOR Model: CD-R PX-R820T Rev: 1.08
Type: CD-ROM ANSI SCSI revision: 02
target1:0:3: Beginning Domain Validation
target1:0:3: Domain Validation skipping write tests
target1:0:3: Ending Domain Validation
libata version 1.10 loaded.
sata_via version 1.1
ACPI: PCI Interrupt 0000:00:0f.0[B] -> GSI 20 (level, low) -> IRQ 20 sata_via(0000:00:0f.0): routed to hard irq line 4
ata1: SATA max UDMA/133 cmd 0xE000 ctl 0xDC02 bmdma 0xD000 irq 20
ata2: SATA max UDMA/133 cmd 0xD800 ctl 0xD402 bmdma 0xD008 irq 20
ata1: no device found (phy stat 00000000)
scsi2 : sata_via
ata2: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4043 85:7c69 86:3e01 87:4043 88:407f
ata2: dev 0 ATA, max UDMA/133, 398297088 sectors: lba48
ata2: dev 0 configured for UDMA/133
scsi3 : sata_via
Vendor: ATA Model: Maxtor 6B200M0 Rev: BANC
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 17850000 512-byte hdwr sectors (9139 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 17850000 512-byte hdwr sectors (9139 MB)
SCSI device sda: drive cache: write back
sda: sda1 sda2
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sdb: 71687370 512-byte hdwr sectors (36704 MB)
SCSI device sdb: drive cache: write back
SCSI device sdb: 71687370 512-byte hdwr sectors (36704 MB)
SCSI device sdb: drive cache: write back
sdb: sdb1 sdb2
Attached scsi disk sdb at scsi0, channel 0, id 15, lun 0
SCSI device sdc: 398297088 512-byte hdwr sectors (203928 MB)
SCSI device sdc: drive cache: write back
SCSI device sdc: 398297088 512-byte hdwr sectors (203928 MB)
SCSI device sdc: drive cache: write back
sdc: sdc1 sdc2
Attached scsi disk sdc at scsi3, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 32x/32x cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr0 at scsi1, channel 0, id 1, lun 0
sr1: scsi3-mmc drive: 20x/20x writer cd/rw xa/form2 cdda tray Attached scsi CD-ROM sr1 at scsi1, channel 0, id 2, lun 0
sr2: scsi3-mmc drive: 20x/20x writer cd/rw xa/form2 cdda tray Attached scsi CD-ROM sr2 at scsi1, channel 0, id 3, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0 Attached scsi generic sg1 at scsi0, channel 0, id 15, lun 0, type 0

Attached scsi generic sg2 at scsi1, channel 0, id 1, lun 0,  type 5
Attached scsi generic sg3 at scsi1, channel 0, id 2, lun 0,  type 5
Attached scsi generic sg4 at scsi1, channel 0, id 3, lun 0,  type 5
Attached scsi generic sg5 at scsi3, channel 0, id 0, lun 0,  type 0

usbmon: debugs is not available
ACPI: PCI Interrupt 0000:00:10.4[C] -> GSI 21 (level, low) -> IRQ 21
ehci_hcd 0000:00:10.4: VIA Technologies, Inc. USB 2.0
ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.4: irq 21, io mem 0xcfffe900
ehci_hcd 0000:00:10.4: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
USB Universal Host Controller Interface driver v2.2
ACPI: PCI Interrupt 0000:00:10.0[A] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.0: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
ehci_hcd 0000:00:10.4: port 8 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:10.0: irq 21, io base 0x0000bc00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ehci_hcd 0000:00:10.4: port 8 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
ACPI: PCI Interrupt 0000:00:10.1[A] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.1: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
usb 1-8: new high speed USB device using ehci_hcd and address 2
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:10.1: irq 21, io base 0x0000c000
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ehci_hcd 0000:00:10.4: port 8 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
ACPI: PCI Interrupt 0000:00:10.2[B] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#3)
hub 1-8:1.0: USB hub found
hub 1-8:1.0: 2 ports detected
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:10.2: irq 21, io base 0x0000c400
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.3[B] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#4)
uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:10.3: irq 21, io base 0x0000c800
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
input: PC Speaker
Advanced Linux Sound Architecture Driver Version 1.0.9rc2 (Thu Mar 24 10:33:39 2005 UTC).
via82xx: Assuming DXS channels with 48k fixed sample rate.
Please try dxs_support=1 or dxs_support=4 option
and report if it works on your machine.
ACPI: PCI Interrupt 0000:00:11.5[C] -> GSI 22 (level, low) -> IRQ 22
PCI: Setting latency timer of device 0000:00:11.5 to 64
input: AT Translated Set 2 keyboard on isa0060/serio0
usb 1-8.1: new high speed USB device using ehci_hcd and address 3
hub 1-8.1:1.0: USB hub found
hub 1-8.1:1.0: 4 ports detected
logips2pp: Detected unknown logitech mouse model 99
input: ImExPS/2 Logitech Explorer Mouse on isa0060/serio1
ALSA device list:
#0: VIA 8237 with ALC655 at 0xb800, irq 22
NET: Registered protocol family 2
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP established hash table entries: 262144 (order: 9, 2097152 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
ip_tables: (C) 2000-2002 Netfilter core team
usb 1-8.2: new high speed USB device using ehci_hcd and address 4
arp_tables: (C) 2002 David S. Miller
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
ACPI wakeup devices:
PCI0 UAR1 USB1 USB2 USB3 USB4 EHCI USBD AC9 MC9 ILAN SLPB
ACPI: (supports S0 S1 S3 S4 S5)
ReiserFS: sdc2: found reiserfs format "3.6" with standard journal
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
Vendor: SMSC Model: 223 U HS-CF Rev: 3.60
Type: Direct-Access ANSI SCSI revision: 00
Attached scsi removable disk sdd at scsi4, channel 0, id 0, lun 0
Attached scsi generic sg6 at scsi4, channel 0, id 0, lun 0, type 0
usb-storage: device scan complete
ReiserFS: sdc2: using ordered data mode
ReiserFS: sdc2: journal params: device sdc2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sdc2: checking transaction log (sdc2)
ReiserFS: sdc2: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 160k freed

Adding 506036k swap on /dev/hda2.  Priority:2 extents:1
Adding 530136k swap on /dev/sda2.  Priority:2 extents:1
Adding 530104k swap on /dev/sdb1.  Priority:1 extents:1

Adding 1004020k swap on /dev/sdc1. Priority:3 extents:1
XFS mounting filesystem sdb2
Ending clean XFS mount for filesystem: sdb2
XFS mounting filesystem hda4
Ending clean XFS mount for filesystem: hda4
ReiserFS: sda1: found reiserfs format "3.6" with standard journal
ReiserFS: sda1: using ordered data mode
ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda1: checking transaction log (sda1)
ReiserFS: sda1: Using r5 hash to sort names
saa7146: register extension 'dvb'.
ACPI: PCI Interrupt 0000:00:06.0[A] -> GSI 17 (level, low) -> IRQ 17
saa7146: found saa7146 @ mem ffffc200004c4e00 (revision 1, irq 17) (0x13c2,0x0000).
DVB: registering new adapter (Technotrend/Hauppauge WinTV DVB-S rev1.X).
adapter has MAC addr = 00:d0:5c:00:41:90
dvb-ttpci: gpioirq unknown type=0 len=0
dvb-ttpci: info @ card 0: firm f0240009, rtsl b0250018, vid 71010068, app 8000261d
dvb-ttpci: firmware @ card 0 supports CI link layer interface
dvb-ttpci: adac type set to 0 @ card 0
saa7146_vv: saa7146 (0): registered device video0 [v4l2]
ves1x93: Detected ves1893a rev2
DVB: registering frontend 0 (VLSI VES1x93 DVB-S)...
dvb-ttpci: found av7110-0.
saa7146: register extension 'budget dvb'.
saa7146: register extension 'budget_ci dvb'.
ACPI: PCI Interrupt 0000:00:07.0[A] -> GSI 18 (level, low) -> IRQ 18
saa7146: found saa7146 @ mem ffffc200005aac00 (revision 1, irq 18) (0x13c2,0x100f).
DVB: registering new adapter (TT-Budget/WinTV-NOVA-CI PCI).
adapter has MAC addr = 00:d0:5c:23:a3:9b
DVB: registering frontend 1 (ST STV0299 DVB-S)...
r8169: eth0: link up

Signature · 5 lines
	Grégoire Favre
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#35 lore raw
Quoted 4 lines · Grégoire Favre

uname -r gives me : 2.6.12-rc5 which mean it's a working fix for me !!!

Note that on the other controller the speed are quiete low ? Do you think it's more or less safe to use this kernel so ?

Yes, that was just a global change to get the thing to boot.

Now try this:

echo 100 > /sys/class/spi_transport/target1:0:1/min_period echo 1 > /sys/class/spi_transport/target1:0:1/revalidate

and look at dmesg to see if it brought the speed up (save your files first, this may hang the box).

James

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#36 lore raw
Quoted 1 line · James Bottomley

Yes, that was just a global change to get the thing to boot.

And it works :-)

Quoted 7 lines

Now try this:

echo 100 > /sys/class/spi_transport/target1:0:1/min_period echo 1 > /sys/class/spi_transport/target1:0:1/revalidate

and look at dmesg to see if it brought the speed up (save your files first, this may hang the box).

It don't hang my box... and I got this :

target1:0:1: Beginning Domain Validation target1:0:1: Domain Validation skipping write tests
(scsi1:A:1): 10.000MB/s transfers (10.000MHz, offset 15)
target1:0:1: Ending Domain Validation

Thank,

Signature · 5 lines
	Grégoire Favre
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#37 lore raw
Quoted 4 lines · Grégoire Favre

target1:0:1: Beginning Domain Validation target1:0:1: Domain Validation skipping write tests
(scsi1:A:1): 10.000MB/s transfers (10.000MHz, offset 15)
target1:0:1: Ending Domain Validation

Well that's good ... it proves the theory that if the DV were correctly limited initially, everything would work.

However ... lets see if we can get it to work properly even with the initial mismatch. Reverse the previous patch, apply this one and try rebooting ...

Thanks,

James

drivers/scsi/scsi_error.c +3 -0
@@ -1230,6 +1230,9 @@ static void scsi_eh_offline_sdevs(struct
 				scmd->device->channel,
 				scmd->device->id,
 				scmd->device->lun);
+		/* try to reset the bus and the card to a sane state */
+		scsi_try_bus_reset(scmd);
+		scsi_try_host_reset(scmd);
 		scsi_device_set_state(scmd->device, SDEV_OFFLINE);
 		if (scsi_eh_eflags_chk(scmd, SCSI_EH_CANCEL_CMD)) {
 			/*

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#38 lore raw
Quoted 2 lines · James Bottomley

Well that's good ... it proves the theory that if the DV were correctly limited initially, everything would work.

OK :-)

Quoted 3 lines

However ... lets see if we can get it to work properly even with the initial mismatch. Reverse the previous patch, apply this one and try rebooting ...

Unfortunately it don't work :

Bootdata ok (command line is root=/dev/sdc2 parport=auto video=vesafb:mtrr,ywrap,1024x800-16@75 vga=0xF07 console=ttyS0)

Linux version 2.6.12-rc5 (root@gregoire) (gcc version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)) #3 Mon May 30 20:38:57 CEST 2005

BIOS-provided physical RAM map:

BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)

BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)

BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)

BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)

BIOS-e820: 000000003fff0000 - 000000003fff8000 (ACPI data)

BIOS-e820: 000000003fff8000 - 0000000040000000 (ACPI NVS)

BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)

BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)

BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)

ACPI: PM-Timer IO Port: 0x808

ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)

Processor #0 15:12 APIC version 16

ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])

IOAPIC[0]: apic_id 2, version 3, address 0xfec00000, GSI 0-23

ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)

ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)

Setting APIC routing to flat

Using ACPI (MADT) for SMP configuration information

Allocating PCI resources starting at 40000000 (gap: 40000000:bec00000)

Built 1 zonelists

Kernel command line: root=/dev/sdc2 parport=auto video=vesafb:mtrr,ywrap,1024x800-16@75 vga=0xF07 console=ttyS0

Initializing CPU#0

PID hash table entries: 4096 (order: 12, 131072 bytes)

time.c: Using 3.579545 MHz PM timer.

time.c: Detected 2000.148 MHz processor.

time.c: Using PIT/TSC based timekeeping.

Console: colour VGA+ 80x60

Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)

Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)

Memory: 1025304k/1048512k available (3138k kernel code, 22512k reserved, 1306k data, 160k init)

Mount-cache hash table entries: 256

CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)

CPU: L2 Cache: 512K (64 bytes/line)

CPU: AMD Athlon(tm) 64 Processor 3000+ stepping 00

Using local APIC timer interrupts.

Detected 12.500 MHz APIC timer.

testing NMI watchdog ... OK.

NET: Registered protocol family 16

PCI: Using configuration type 1

mtrr: v2.0 (20020519)

ACPI: Subsystem revision 20050309

ACPI: Interpreter enabled

ACPI: Using IOAPIC for interrupt routing

ACPI: PCI Root Bridge [PCI0] (0000:00)

PCI: Probing PCI hardware (bus 00)

PCI: Via IRQ fixup

ACPI: Power Resource [URP1] (off)

ACPI: Power Resource [URP2] (off)

ACPI: Power Resource [FDDP] (off)

ACPI: Power Resource [LPTP] (off)

ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)

ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 12 14 15)

ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 10 11 12 14 15)

ACPI: PCI Interrupt Link [LNKD] (IRQs *3 4 5 6 7 10 11 12 14 15)

ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

SCSI subsystem initialized

usbcore: registered new driver usbfs

usbcore: registered new driver hub

PCI: Using ACPI for IRQ routing

PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report

IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $

NTFS driver 2.1.22 [Flags: R/O].

EFS: 1.0a - http://aeschi.ch.eu.org/efs/

SGI XFS with large block/inode numbers, no debug enabled

Initializing Cryptographic API

ACPI: Power Button (FF) [PWRF]

ACPI: Sleep Button (CM) [SLPB]

Real Time Clock Driver v1.12

Non-volatile memory driver v1.2

serio: i8042 AUX port at 0x60,0x64 irq 12

serio: i8042 KBD port at 0x60,0x64 irq 1

Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled

ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

parport0: PC-style at 0x378 [PCSPP(,...)]

io scheduler noop registered

io scheduler anticipatory registered

io scheduler deadline registered

io scheduler cfq registered

Floppy drive(s): fd0 is 1.44M

FDC 0 is a post-1991 82077

r8169 Gigabit Ethernet driver 2.2LK loaded

ACPI: PCI Interrupt 0000:00:0b.0[A] -> GSI 16 (level, low) -> IRQ 16

r8169: NAPI enabled

eth0: RTL8169 at 0xffffc20000002b00, 00:0c:76:bd:22:23, IRQ 16

Linux video capture interface: v1.00

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx

VP_IDE: IDE controller at PCI slot 0000:00:0f.1

ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 20

VP_IDE: chipset revision 6

VP_IDE: not 100% native mode: will probe irqs later

VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1

    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio

    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio

hda: IC35L120AVVA07-0, ATA DISK drive

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

hdc: SONY DVD RW DRU-500A, ATAPI CD/DVD-ROM drive

hdd: IOMEGA ZIP 250 ATAPI Floppy, ATAPI FLOPPY drive

hdd: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }

hdd: set_drive_speed_status: error=0x04 { AbortedCommand }

ide1 at 0x170-0x177,0x376 on irq 15

hda: max request size: 128KiB

hda: 241254720 sectors (123522 MB) w/1863KiB Cache, CHS=65535/16/63, UDMA(100)

hda: cache flushes supported

hda: hda1 hda2 hda3 hda4

hdc: ATAPI 16X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33)

Uniform CD-ROM driver Revision: 3.20

ide-floppy driver 0.99.newide

hdd: No disk in drive

hdd: 244736kB, 239/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm

ACPI: PCI Interrupt 0000:00:05.0[A] -> GSI 16 (level, low) -> IRQ 16

ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 17 (level, low) -> IRQ 17

scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36

        <Adaptec 29160B Ultra160 SCSI adapter>

        aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

Vendor: IBM Model: DDRS-39130D Rev: DC1B

Type: Direct-Access ANSI SCSI revision: 02

scsi0:A:0:0: Tagged Queuing enabled. Depth 253

target0:0:0: Beginning Domain Validation

WIDTH IS 1

(scsi0:A:0): 6.600MB/s transfers (16bit)

target0:0:0: Domain Validation skipping write tests

(scsi0:A:0): 80.000MB/s transfers (40.000MHz, offset 15, 16bit)

target0:0:0: Ending Domain Validation

Vendor: SEAGATE Model: ST336706LW Rev: 0108

Type: Direct-Access ANSI SCSI revision: 03

scsi0:A:15:0: Tagged Queuing enabled. Depth 253

target0:0:15: Beginning Domain Validation

WIDTH IS 1

(scsi0:A:15): 6.600MB/s transfers (16bit)

(scsi0:A:15): 80.000MB/s transfers (40.000MHz, offset 63, 16bit)

target0:0:15: Ending Domain Validation

scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36

<Adaptec 2940 Ultra SCSI adapter>

aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs

scsi1:0:0:0: Attempting to queue an ABORT message

CDB: 0x12 0x0 0x0 0x0 0x24 0x0

scsi1: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi1: Dumping Card State while idle, at SEQADDR 0x18

Card was paused

ACCUM = 0x3, SINDEX = 0x20, DINDEX = 0xc0, ARG_2 = 0x0

HCNT = 0x0 SCBPTR = 0x0

SCSISIGI[0x44] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x1]

SCSISEQ[0x1a] SBLKCTL[0x0] SCSIRATE[0x0] SEQCTL[0x10]

SEQ_FLAGS[0xc0] SSTAT0[0x5] SSTAT1[0x0] SSTAT2[0x0]

SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xa4] SXFRCTL0[0x80]

DFCNTRL[0x4] DFSTATUS[0x6d]

STACK: 0x0 0x0 0x192 0x17

SCB count = 4

Kernel NEXTQSCB = 2

Card NEXTQSCB = 2

QINFIFO entries:

Waiting Queue entries: 0:3

Disconnected Queue entries:

QOUTFIFO entries:

Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Sequencer SCB Info:

0 SCB_CONTROL[0x50] SCB_SCSIID[0x7] SCB_LUN[0x0] SCB_TAG[0x3]

1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

Pending list:

3 SCB_CONTROL[0x50] SCB_SCSIID[0x7] SCB_LUN[0x0]

Kernel Free SCB list: 1 0

Untagged Q(0): 3

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>

scsi1:0:0:0: Cmd aborted from QINFIFO

aic7xxx_abort returns 0x2002

scsi1:0:0:0: Attempting to queue an ABORT message

CDB: 0x0 0x0 0x0 0x0 0x0 0x0

scsi1: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi1: Dumping Card State while idle, at SEQADDR 0x18

Card was paused

ACCUM = 0x3, SINDEX = 0x20, DINDEX = 0xc0, ARG_2 = 0x0

HCNT = 0x0 SCBPTR = 0x0

SCSISIGI[0x44] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x1]

SCSISEQ[0x1a] SBLKCTL[0x0] SCSIRATE[0x0] SEQCTL[0x10]

SEQ_FLAGS[0xc0] SSTAT0[0x5] SSTAT1[0x0] SSTAT2[0x0]

SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xa4] SXFRCTL0[0x80]

DFCNTRL[0x4] DFSTATUS[0x6d]

STACK: 0x0 0x0 0x192 0x17

SCB count = 4

Kernel NEXTQSCB = 3

Card NEXTQSCB = 2

QINFIFO entries: 2

Waiting Queue entries:

Disconnected Queue entries:

QOUTFIFO entries:

Sequencer Free SCB List: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Sequencer SCB Info:

0 SCB_CONTROL[0x0] SCB_SCSIID[0x7] SCB_LUN[0x0] SCB_TAG[0xff]

1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

Pending list:

2 SCB_CONTROL[0x50] SCB_SCSIID[0x7] SCB_LUN[0x0]

Kernel Free SCB list: 1 0

Untagged Q(0): 2

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>

scsi1:0:0:0: Cmd aborted from QINFIFO

aic7xxx_abort returns 0x2002

scsi1:0:0:0: Attempting to queue a TARGET RESET message

CDB: 0x12 0x0 0x0 0x0 0x24 0x0

scsi1:0:0:0: Command not found

aic7xxx_dev_reset returns 0x2002

scsi1:0:0:0: Attempting to queue an ABORT message

CDB: 0x0 0x0 0x0 0x0 0x0 0x0

scsi1: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi1: Dumping Card State while idle, at SEQADDR 0x18

Card was paused

ACCUM = 0x3, SINDEX = 0x20, DINDEX = 0xc0, ARG_2 = 0x0

HCNT = 0x0 SCBPTR = 0x0

SCSISIGI[0x44] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x1]

SCSISEQ[0x1a] SBLKCTL[0x0] SCSIRATE[0x0] SEQCTL[0x10]

SEQ_FLAGS[0xc0] SSTAT0[0x5] SSTAT1[0x0] SSTAT2[0x0]

SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xa4] SXFRCTL0[0x80]

DFCNTRL[0x4] DFSTATUS[0x6d]

STACK: 0x0 0x0 0x192 0x17

SCB count = 4

Kernel NEXTQSCB = 2

Card NEXTQSCB = 3

QINFIFO entries: 3

Waiting Queue entries:

Disconnected Queue entries:

QOUTFIFO entries:

Sequencer Free SCB List: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Sequencer SCB Info:

0 SCB_CONTROL[0x0] SCB_SCSIID[0x7] SCB_LUN[0x0] SCB_TAG[0xff]

1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

Pending list:

3 SCB_CONTROL[0x50] SCB_SCSIID[0x7] SCB_LUN[0x0]

Kernel Free SCB list: 1 0

Untagged Q(0): 3

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>

scsi1:0:0:0: Cmd aborted from QINFIFO

aic7xxx_abort returns 0x2002

scsi: Device offlined - not ready after error recovery: host 1 channel 0 id 0 lun 0

Vendor: TOSHIBA Model: DVD-ROM SD-M1201 Rev: 1R08

Type: CD-ROM ANSI SCSI revision: 02

target1:0:1: Beginning Domain Validation

target1:0:1: Domain Validation skipping write tests

(scsi1:A:1): 20.000MB/s transfers (20.000MHz, offset 15)

scsi1:0:1:0: Attempting to queue an ABORT message

CDB: 0x12 0x0 0x0 0x0 0x60 0x0

scsi1: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi1: Dumping Card State in Data-in phase, at SEQADDR 0x7b

Card was paused

ACCUM = 0x0, SINDEX = 0xb8, DINDEX = 0xa8, ARG_2 = 0x0

HCNT = 0x60 SCBPTR = 0x0

SCSISIGI[0x44] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x40]

SCSISEQ[0x12] SBLKCTL[0x0] SCSIRATE[0xf] SEQCTL[0x10]

SEQ_FLAGS[0x20] SSTAT0[0x0] SSTAT1[0x2] SSTAT2[0x0]

SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xac] SXFRCTL0[0xa0]

DFCNTRL[0x38] DFSTATUS[0x40]

STACK: 0x0 0x162 0x192 0x6e

SCB count = 4

Kernel NEXTQSCB = 2

Card NEXTQSCB = 2

QINFIFO entries:

Waiting Queue entries:

Disconnected Queue entries:

QOUTFIFO entries:

Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Sequencer SCB Info:

0 SCB_CONTROL[0x48] SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0x3]

1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

Pending list:

3 SCB_CONTROL[0x48] SCB_SCSIID[0x17] SCB_LUN[0x0]

Kernel Free SCB list: 1 0

Untagged Q(1): 3

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>

scsi1:0:1:0: Device is active, asserting ATN

R...

Thank,

Signature · 5 lines
	Grégoire Favre
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#39 lore raw
Quoted 1 line · Grégoire Favre

Unfortunately it don't work :

Well, OK, three things spring to mind.

1. Try the attached patch, just in case it's a perpetual timer reset issue.
2. You should be able to boot if you set the device speed to 10MHz in the adaptec bios (since we should read the bios values for setting the speed)
3. when the hang occurs, can you get an alt-sysrq-p to show the current process on CPU?

Thanks,

James

drivers/scsi/aic7xxx/aic7xxx_osm.h +2 -0
@@ -277,7 +277,9 @@ ahc_timer_reset(ahc_timer_t *timer, int 
 static __inline void
 ahc_scb_timer_reset(struct scb *scb, u_int usec)
 {
+#if 0
 	mod_timer(&scb->io_ctx->eh_timeout, jiffies + (usec * HZ)/1000000);
+#endif
 }
 
 /***************************** SMP support ************************************/

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#40 lore raw
Quoted 1 line · James Bottomley

Well, OK, three things spring to mind.

Thank for those three ideas :)

Quoted 2 lines

1. Try the attached patch, just in case it's a perpetual timer reset issue.

I put the log of the boot : not a success.
I hope the previous repport were right : ptelnet on my palm seems to put the log in a strange order...

Quoted 3 lines

2. You should be able to boot if you set the device speed to 10MHz in the adaptec bios (since we should read the bios values for setting the speed)

I have set all device to 10 Mhz (for that controller) in the BIOS, but I still can't boot.

Quoted 2 lines

3. when the hang occurs, can you get an alt-sysrq-p to show the current process on CPU?

MagicSysRq don't seems to work at this stage.
---
Bootdata ok (command line is root=/dev/sdc2 parport=auto video=vesafb:mtrr,ywrap,1024x800-16@75 vga=0xF07 console=ttyS0)

Linux version 2.6.12-rc5 (root@gregoire) (gcc version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)) #4 Mon Jun 6 20:29:04 CEST 2005

BIOS-provided physical RAM map:

BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)

BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)

BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)

BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)

BIOS-e820: 000000003fff0000 - 000000003fff8000 (ACPI data)

BIOS-e820: 000000003fff8000 - 0000000040000000 (ACPI NVS)

BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)

BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)

BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)

ACPI: PM-Timer IO Port: 0x808

ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)

Processor #0 15:12 APIC version 16

ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])

IOAPIC[0]: apic_id 2, version 3, address 0xfec00000, GSI 0-23

ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)

ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)

Setting APIC routing to flat

Using ACPI (MADT) for SMP configuration information

Allocating PCI resources starting at 40000000 (gap: 40000000:bec00000)

Built 1 zonelists

Kernel command line: root=/dev/sdc2 parport=auto video=vesafb:mtrr,ywrap,1024x800-16@75 vga=0xF07 console=ttyS0

Initializing CPU#0

PID hash table entries: 4096 (order: 12, 131072 bytes)

time.c: Using 3.579545 MHz PM timer.

time.c: Detected 2000.089 MHz processor.

time.c: Using PIT/TSC based timekeeping.

Console: colour VGA+ 80x60

Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)

Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)

Memory: 1025304k/1048512k available (3138k kernel code, 22512k reserved, 1306k data, 160k init)

Mount-cache hash table entries: 256

CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)

CPU: L2 Cache: 512K (64 bytes/line)

CPU: AMD Athlon(tm) 64 Processor 3000+ stepping 00

Using local APIC timer interrupts.

Detected 12.500 MHz APIC timer.

testing NMI watchdog ... OK.

NET: Registered protocol family 16

PCI: Using configuration type 1

mtrr: v2.0 (20020519)

ACPI: Subsystem revision 20050309

ACPI: Interpreter enabled

ACPI: Using IOAPIC for interrupt routing

ACPI: PCI Root Bridge [PCI0] (0000:00)

PCI: Probing PCI hardware (bus 00)

PCI: Via IRQ fixup

ACPI: Power Resource [URP1] (off)

ACPI: Power Resource [URP2] (off)

ACPI: Power Resource [FDDP] (off)

ACPI: Power Resource [LPTP] (off)

ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)

ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 12 14 15)

ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 10 11 12 14 15)

ACPI: PCI Interrupt Link [LNKD] (IRQs *3 4 5 6 7 10 11 12 14 15)

ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

SCSI subsystem initialized

usbcore: registered new driver usbfs

usbcore: registered new driver hub

PCI: Using ACPI for IRQ routing

PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report

IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $

NTFS driver 2.1.22 [Flags: R/O].

EFS: 1.0a - http://aeschi.ch.eu.org/efs/

SGI XFS with large block/inode numbers, no debug enabled

Initializing Cryptographic API

ACPI: Power Button (FF) [PWRF]

ACPI: Sleep Button (CM) [SLPB]

Real Time Clock Driver v1.12

Non-volatile memory driver v1.2

serio: i8042 AUX port at 0x60,0x64 irq 12

serio: i8042 KBD port at 0x60,0x64 irq 1

Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled

ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

parport0: PC-style at 0x378 [PCSPP(,...)]

io scheduler noop registered

io scheduler anticipatory registered

io scheduler deadline registered

io scheduler cfq registered

Floppy drive(s): fd0 is 1.44M

FDC 0 is a post-1991 82077

r8169 Gigabit Ethernet driver 2.2LK loaded

ACPI: PCI Interrupt 0000:00:0b.0[A] -> GSI 16 (level, low) -> IRQ 16

r8169: NAPI enabled

eth0: RTL8169 at 0xffffc20000002b00, 00:0c:76:bd:22:23, IRQ 16

Linux video capture interface: v1.00

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx

VP_IDE: IDE controller at PCI slot 0000:00:0f.1

ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 20

VP_IDE: chipset revision 6

VP_IDE: not 100% native mode: will probe irqs later

VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1

    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio

    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio

hda: IC35L120AVVA07-0, ATA DISK drive

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

hdc: SONY DVD RW DRU-500A, ATAPI CD/DVD-ROM drive

hdd: IOMEGA ZIP 250 ATAPI Floppy, ATAPI FLOPPY drive

hdd: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }

hdd: set_drive_speed_status: error=0x04 { AbortedCommand }

ide1 at 0x170-0x177,0x376 on irq 15

hda: max request size: 128KiB

hda: 241254720 sectors (123522 MB) w/1863KiB Cache, CHS=65535/16/63, UDMA(100)

hda: cache flushes supported

hda: hda1 hda2 hda3 hda4

hdc: ATAPI 16X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33)

Uniform CD-ROM driver Revision: 3.20

ide-floppy driver 0.99.newide

hdd: No disk in drive

hdd: 244736kB, 239/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm

ACPI: PCI Interrupt 0000:00:05.0[A] -> GSI 16 (level, low) -> IRQ 16

ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 17 (level, low) -> IRQ 17

scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36

        <Adaptec 29160B Ultra160 SCSI adapter>

        aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

Vendor: IBM Model: DDRS-39130D Rev: DC1B

Type: Direct-Access ANSI SCSI revision: 02

scsi0:A:0:0: Tagged Queuing enabled. Depth 253

target0:0:0: Beginning Domain Validation

WIDTH IS 1

(scsi0:A:0): 6.600MB/s transfers (16bit)

target0:0:0: Domain Validation skipping write tests

(scsi0:A:0): 80.000MB/s transfers (40.000MHz, offset 15, 16bit)

target0:0:0: Ending Domain Validation

Vendor: SEAGATE Model: ST336706LW Rev: 0108

Type: Direct-Access ANSI SCSI revision: 03

scsi0:A:15:0: Tagged Queuing enabled. Depth 253

target0:0:15: Beginning Domain Validation

WIDTH IS 1

(scsi0:A:15): 6.600MB/s transfers (16bit)

(scsi0:A:15): 80.000MB/s transfers (40.000MHz, offset 63, 16bit)

target0:0:15: Ending Domain Validation

scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36

<Adaptec 2940 Ultra SCSI adapter>

aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs

scsi1:0:0:0: Attempting to queue an ABORT message

CDB: 0x12 0x0 0x0 0x0 0x24 0x0

scsi1: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi1: Dumping Card State while idle, at SEQADDR 0x18

Card was paused

ACCUM = 0x3, SINDEX = 0x20, DINDEX = 0xc0, ARG_2 = 0x0

HCNT = 0x0 SCBPTR = 0x0

SCSISIGI[0x44] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x1]

SCSISEQ[0x1a] SBLKCTL[0x0] SCSIRATE[0x0] SEQCTL[0x10]

SEQ_FLAGS[0xc0] SSTAT0[0x5] SSTAT1[0x0] SSTAT2[0x0]

SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xa4] SXFRCTL0[0x80]

DFCNTRL[0x4] DFSTATUS[0x6d]

STACK: 0x0 0x0 0x192 0x17

SCB count = 4

Kernel NEXTQSCB = 2

Card NEXTQSCB = 2

QINFIFO entries:

Waiting Queue entries: 0:3

Disconnected Queue entries:

QOUTFIFO entries:

Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Sequencer SCB Info:

0 SCB_CONTROL[0x50] SCB_SCSIID[0x7] SCB_LUN[0x0] SCB_TAG[0x3]

1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

Pending list:

3 SCB_CONTROL[0x50] SCB_SCSIID[0x7] SCB_LUN[0x0]

Kernel Free SCB list: 1 0

Untagged Q(0): 3

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>

scsi1:0:0:0: Cmd aborted from QINFIFO

aic7xxx_abort returns 0x2002

scsi1:0:0:0: Attempting to queue an ABORT message

CDB: 0x0 0x0 0x0 0x0 0x0 0x0

scsi1: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi1: Dumping Card State while idle, at SEQADDR 0x18

Card was paused

ACCUM = 0x3, SINDEX = 0x20, DINDEX = 0xc0, ARG_2 = 0x0

HCNT = 0x0 SCBPTR = 0x0

SCSISIGI[0x44] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x1]

SCSISEQ[0x1a] SBLKCTL[0x0] SCSIRATE[0x0] SEQCTL[0x10]

SEQ_FLAGS[0xc0] SSTAT0[0x5] SSTAT1[0x0] SSTAT2[0x0]

SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xa4] SXFRCTL0[0x80]

DFCNTRL[0x4] DFSTATUS[0x6d]

STACK: 0x0 0x0 0x192 0x17

SCB count = 4

Kernel NEXTQSCB = 3

Card NEXTQSCB = 2

QINFIFO entries: 2

Waiting Queue entries:

Disconnected Queue entries:

QOUTFIFO entries:

Sequencer Free SCB List: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Sequencer SCB Info:

0 SCB_CONTROL[0x0] SCB_SCSIID[0x7] SCB_LUN[0x0] SCB_TAG[0xff]

1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

Pending list:

2 SCB_CONTROL[0x50] SCB_SCSIID[0x7] SCB_LUN[0x0]

Kernel Free SCB list: 1 0

Untagged Q(0): 2

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>

scsi1:0:0:0: Cmd aborted from QINFIFO

aic7xxx_abort returns 0x2002

scsi1:0:0:0: Attempting to queue a TARGET RESET message

CDB: 0x12 0x0 0x0 0x0 0x24 0x0

scsi1:0:0:0: Command not found

aic7xxx_dev_reset returns 0x2002

scsi1:0:0:0: Attempting to queue an ABORT message

CDB: 0x0 0x0 0x0 0x0 0x0 0x0

scsi1: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi1: Dumping Card State while idle, at SEQADDR 0x18

Card was paused

ACCUM = 0x3, SINDEX = 0x20, DINDEX = 0xc0, ARG_2 = 0x0

HCNT = 0x0 SCBPTR = 0x0

SCSISIGI[0x44] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x1]

SCSISEQ[0x1a] SBLKCTL[0x0] SCSIRATE[0x0] SEQCTL[0x10]

SEQ_FLAGS[0xc0] SSTAT0[0x5] SSTAT1[0x0] SSTAT2[0x0]

SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xa4] SXFRCTL0[0x80]

DFCNTRL[0x4] DFSTATUS[0x6d]

STACK: 0x0 0x0 0x192 0x17

SCB count = 4

Kernel NEXTQSCB = 2

Card NEXTQSCB = 3

QINFIFO entries: 3

Waiting Queue entries:

Disconnected Queue entries:

QOUTFIFO entries:

Sequencer Free SCB List: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Sequencer SCB Info:

0 SCB_CONTROL[0x0] SCB_SCSIID[0x7] SCB_LUN[0x0] SCB_TAG[0xff]

1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

Pending list:

3 SCB_CONTROL[0x50] SCB_SCSIID[0x7] SCB_LUN[0x0]

Kernel Free SCB list: 1 0

Untagged Q(0): 3

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>

scsi1:0:0:0: Cmd aborted from QINFIFO

aic7xxx_abort returns 0x2002

scsi: Device offlined - not ready after error recovery: host 1 channel 0 id 0 lun 0

Vendor: TOSHIBA Model: DVD-ROM SD-M1201 Rev: 1R08

Type: CD-ROM ANSI SCSI revision: 02

target1:0:1: Beginning Domain Validation

target1:0:1: Domain Validation skipping write tests

(scsi1:A:1): 20.000MB/s transfers (20.000MHz, offset 15)

scsi1:0:1:0: Attempting to queue an ABORT message

CDB: 0x12 0x0 0x0 0x0 0x60 0x0

scsi1: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi1: Dumping Card State in Data-in phase, at SEQADDR 0x7b

Card was paused

ACCUM = 0x0, SINDEX = 0xb8, DINDEX = 0xa8, ARG_2 = 0x0

HCNT = 0x60 SCBPTR = 0x0

SCSISIGI[0x44] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x40]

SCSISEQ[0x12] SBLKCTL[0x0] SCSIRATE[0xf] SEQCTL[0x10]

SEQ_FLAGS[0x20] SSTAT0[0x0] SSTAT1[0x2] SSTAT2[0x0]

SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xac] SXFRCTL0[0xa0]

DFCNTRL[0x38] DFSTATUS[0x40]

STACK: 0x0 0x162 0x192 0x6e

SCB count = 4

Kernel NEXTQSCB = 2

Card NEXTQSCB = 2

QINFIFO entries:

Waiting Queue entries:

Disconnected Queue entries:

QOUTFIFO entries:

Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Sequencer SCB Info:

0 SCB_CONTROL[0x48] SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0x3]

1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

Pending list:

3 SCB_CONTROL[0x48] SCB_SCSIID[0x17] SCB_LUN[0x0]

Kernel Free SCB list: 1 0

Untagged Q(1): 3

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>

scsi1:0:1:0: Device is active, asserting ATN

Recovery code sleeping

Recovery code awake

Timer Expired

aic7xxx_abort returns 0x2003

scsi1:0:1:0: Attempting to queue a TARGET RESET message

CDB: 0x12 0x0 0x0 0x0 0x60 0x0

aic7xxx_dev_reset returns 0x2003

Recovery SCB completes

scsi1:0:1:0: Attempting to queue an ABORT message

CDB: 0x0 0x0 0x0 0x0 0x0 0x0

scsi1: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi1: Dumping Card State in Data-in phase, at SEQADDR 0x7b

Card was paused

ACCUM = 0x0, SINDEX = 0xb8, DINDEX = 0xa8, ARG_2 = 0x0

HCNT = 0x20 SCBPTR = 0x0

SCSISIGI[0x44] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x40]

SCSISEQ[0x12] SBLKCTL[0x0] SCSIRATE[0xf] SEQCTL[0x10]

SEQ_FLAGS[0x20] SSTAT0[0x0] SSTAT1[0x2] SSTAT2[0x0]

SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xac] SXFRCTL0[0x80]

DFCNTRL[0x38] DFSTATUS[0x20]

STACK: 0x0 0x162 0x192 0x6e

SCB count = 4

Kernel NEXTQSCB = 3

Card NEXTQSCB = 3

QINFIFO entries:

Waiting Queue entries:

Disconnected Queue entries:

QOUTFIFO entries:

Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Sequencer SCB Info:

0 SCB_CONTROL[0x8] SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0x2]

1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

Pending list:

2 SCB_CONTROL[0x8] SCB_SCSIID[0x17] SCB_LUN[0x0]

Kernel Free SCB list: 1 0

Untagged Q(1): 2

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>

scsi1:0:1:0: Device is active, asserting ATN

Recovery code sleeping

Recovery code awake

Timer Expired

aic7xxx_abort returns 0x2003

scsi: Device offlined - not ready after error recovery: host 1 channel 0 id 1 lun 0

target1:0:1: Domain Validation detected failure, dropping back
---

Signature · 5 lines
	Grégoire Favre
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#41 lore raw
Quoted 2 lines · Grégoire Favre

I have set all device to 10 Mhz (for that controller) in the BIOS, but I still can't boot.

OK, let's see if I can find out why this particular controller isn't transferring the bios settings to the transport class max and min

Try this patch and send me the output.

Thanks,

James

drivers/scsi/aic7xxx/aic7xxx_osm.c +8 -0
@@ -620,9 +620,11 @@ ahc_linux_target_alloc(struct scsi_targe
 	*ahc_targp = starget;
 	memset(targ, 0, sizeof(*targ));
 
+	dev_printk(KERN_ERR, &starget->dev, "SC IS %p\n", sc);
 	if (sc) {
 		if ((ahc->features & AHC_ULTRA2) != 0) {
 			scsirate = sc->device_flags[target_offset] & CFXFER;
+			dev_printk(KERN_ERR, &starget->dev, "ULTRA2\n");
 		} else {
 			scsirate = (sc->device_flags[target_offset] & CFXFER) << 4;
 			if (sc->device_flags[target_offset] & CFSYNCH)
@@ -635,6 +637,12 @@ ahc_linux_target_alloc(struct scsi_targe
 			spi_max_width(starget) = 0;
 		spi_min_period(starget) = 
 			ahc_find_period(ahc, scsirate, AHC_SYNCRATE_DT);
+		dev_printk(KERN_ERR, &starget->dev, "scsirate IS 0x%x, min_period is %d\n", scsirate, spi_min_period(starget));
+		if (spi_min_period(starget) == 0)
+			/* This means async, so set offset to zero */
+			spi_max_offset(starget) = 0;
+		
+
 		tinfo = ahc_fetch_transinfo(ahc, channel, ahc->our_id,
 					    starget->id, &tstate);
 	}

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#42 lore raw

On Sun, Jun 12, 2005 at 10:38:29AM -0500, James Bottomley wrote:

Hello, I have applied your two patches against 2.6.12-rc6 (the
http://parisc-linux.org/~jejb/scsi_diffs/scsi-misc-2.6.diff and the last
one you sent per email) and I get this now :
---
Bootdata ok (command line is root=/dev/sdc2 parport=auto video=vesafb:mtrr,ywrap,1024x800-16@75 vga=0xF07 console=ttyS0)

Linux version 2.6.12-rc5 (root@gregoire) (gcc version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)) #4 Mon Jun 6 20:29:04 CEST 2005

BIOS-provided physical RAM map:

BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)

BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)

BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)

BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)

BIOS-e820: 000000003fff0000 - 000000003fff8000 (ACPI data)

BIOS-e820: 000000003fff8000 - 0000000040000000 (ACPI NVS)

BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)

BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)

BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)

ACPI: PM-Timer IO Port: 0x808

ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)

Processor #0 15:12 APIC version 16

ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])

IOAPIC[0]: apic_id 2, version 3, address 0xfec00000, GSI 0-23

ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)

ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)

Setting APIC routing to flat

Using ACPI (MADT) for SMP configuration information

Allocating PCI resources starting at 40000000 (gap: 40000000:bec00000)

Built 1 zonelists

Kernel command line: root=/dev/sdc2 parport=auto video=vesafb:mtrr,ywrap,1024x800-16@75 vga=0xF07 console=ttyS0

Initializing CPU#0

PID hash table entries: 4096 (order: 12, 131072 bytes)

time.c: Using 3.579545 MHz PM timer.

time.c: Detected 2000.089 MHz processor.

time.c: Using PIT/TSC based timekeeping.

Console: colour VGA+ 80x60

Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)

Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)

Memory: 1025304k/1048512k available (3138k kernel code, 22512k reserved, 1306k data, 160k init)

Mount-cache hash table entries: 256

CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)

CPU: L2 Cache: 512K (64 bytes/line)

CPU: AMD Athlon(tm) 64 Processor 3000+ stepping 00

Using local APIC timer interrupts.

Detected 12.500 MHz APIC timer.

testing NMI watchdog ... OK.

NET: Registered protocol family 16

PCI: Using configuration type 1

mtrr: v2.0 (20020519)

ACPI: Subsystem revision 20050309

ACPI: Interpreter enabled

ACPI: Using IOAPIC for interrupt routing

ACPI: PCI Root Bridge [PCI0] (0000:00)

PCI: Probing PCI hardware (bus 00)

PCI: Via IRQ fixup

ACPI: Power Resource [URP1] (off)

ACPI: Power Resource [URP2] (off)

ACPI: Power Resource [FDDP] (off)

ACPI: Power Resource [LPTP] (off)

ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)

ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 12 14 15)

ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 10 11 12 14 15)

ACPI: PCI Interrupt Link [LNKD] (IRQs *3 4 5 6 7 10 11 12 14 15)

ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

SCSI subsystem initialized

usbcore: registered new driver usbfs

usbcore: registered new driver hub

PCI: Using ACPI for IRQ routing

PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report

IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $

NTFS driver 2.1.22 [Flags: R/O].

EFS: 1.0a - http://aeschi.ch.eu.org/efs/

SGI XFS with large block/inode numbers, no debug enabled

Initializing Cryptographic API

ACPI: Power Button (FF) [PWRF]

ACPI: Sleep Button (CM) [SLPB]

Real Time Clock Driver v1.12

Non-volatile memory driver v1.2

serio: i8042 AUX port at 0x60,0x64 irq 12

serio: i8042 KBD port at 0x60,0x64 irq 1

Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled

ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

parport0: PC-style at 0x378 [PCSPP(,...)]

io scheduler noop registered€

io scheduler anticipatory registered

io scheduler deadline registered

io scheduler cfq registered

Floppy drive(s): fd0 is 1.44M

FDC 0 is a post-1991 82077

r8169 Gigabit Ethernet driver 2.2LK loaded

ACPI: PCI Interrupt 0000:00:0b.0[A] -> GSI 16 (level, low) -> IRQ 16

r8169: NAPI enabled

eth0: RTL8169 at 0xffffc20000002b00, 00:0c:76:bd:22:23, IRQ 16

Linux video capture interface: v1.00

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx

VP_IDE: IDE controller at PCI slot 0000:00:0f.1

ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 20

VP_IDE: chipset revision 6

VP_IDE: not 100% native mode: will probe irqs later

VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1

    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio

    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio

hda: IC35L120AVVA07-0, ATA DISK drive

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

hdc: SONY DVD RW DRU-500A, ATAPI CD/DVD-ROM drive

hdd: IOMEGA ZIP 250 ATAPI Floppy, ATAPI FLOPPY drive

hdd: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }

hdd: set_drive_speed_status: error=0x04 { AbortedCommand }

ide1 at 0x170-0x177,0x376 on irq 15

hda: max request size: 128KiB

hda: 241254720 sectors (123522 MB) w/1863KiB Cache, CHS=65535/16/63, UDMA(100)

hda: cache flushes supported

hda: hda1 hda2 hda3 hda4

hdc: ATAPI 16X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33)

Uniform CD-ROM driver Revision: 3.20

ide-floppy driver 0.99.newide

hdd: No disk in drive

hdd: 244736kB, 239/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm

ACPI: PCI Interrupt 0000:00:05.0[A] -> GSI 16 (level, low) -> IRQ 16

ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 17 (level, low) -> IRQ 17

scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36

        <Adaptec 29160B Ultra160 SCSI adapter>

        aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

Vendor: IBM Model: DDRS-39130D Rev: DC1B

Type: Direct-Access ANSI SCSI revision: 02

scsi0:A:0:0: Tagged Queuing enabled. Depth 253

target0:0:0: Beginning Domain Validation

WIDTH IS 1

(scsi0:A:0): 6.600MB/s transfers (16bit)

target0:0:0: Domain Validation skipping write tests

(scsi0:A:0): 80.000MB/s transfers (40.000MHz, offset 15, 16bit)

target0:0:0: Ending Domain Validation

Vendor: SEAGATE Model: ST336706LW Rev: 0108

Type: Direct-Access ANSI SCSI revision: 03

scsi0:A:15:0: Tagged Queuing enabled. Depth 253

target0:0:15: Beginning Domain Validation

WIDTH IS 1

(scsi0:A:15): 6.600MB/s transfers (16bit)

(scsi0:A:15): 80.000MB/s transfers (40.000MHz, offset 63, 16bit)

target0:0:15: Ending Domain Validation

scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36

<Adaptec 2940 Ultra SCSI adapter>

aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs

Vendor: TOSHIBA Model: DVD-ROM SD-M1201 Rev: 1R08

Type: CD-ROM ANSI SCSI revision: 02

target1:0:1: Beginning Domain Validation

target1:0:1: Domain Validation skipping write tests

(scsi1:A:1): 20.000MB/s transfers (20.000MHz, offset 15)

scsi1:0:1:0: Attempting to queue an ABORT message

CDB: 0x12 0x0 0x0 0x0 0x60 0x0

scsi1: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi1: Dumping Card State in Data-in phase, at SEQADDR 0x7b

Card was paused

ACCUM = 0x0, SINDEX = 0xb8, DINDEX = 0xa8, ARG_2 = 0x0

HCNT = 0x60 SCBPTR = 0x0

SCSISIGI[0x44] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x40]

SCSISEQ[0x12] SBLKCTL[0x0] SCSIRATE[0xf] SEQCTL[0x10]

SEQ_FLAGS[0x20] SSTAT0[0x0] SSTAT1[0x2] SSTAT2[0x0]

SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xac] SXFRCTL0[0xa0]

DFCNTRL[0x38] DFSTATUS[0x40]

STACK: 0x0 0x162 0x192 0x6e

SCB count = 4

Kernel NEXTQSCB = 3

Card NEXTQSCB = 3

QINFIFO entries:

Waiting Queue entries:

Disconnected Queue entries:

QOUTFIFO entries:

Sequencer Free SCB List: 1 2 3€ 4 5 6 7 8 9 10 11 12 13 14 15

Sequencer SCB Info:

0 SCB_CONTROL[0x48] SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0x2]

1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

Pending list:

2 SCB_CONTROL[0x48] SCB_SCSIID[0x17] SCB_LUN[0x0]

Kernel Free SCB list: 1 0

Untagged Q(1): 2

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>

scsi1:0:1:0: Device is active, asserting ATN

Recovery code sleeping

Recovery code awake

Timer Expired

aic7xxx_abort returns 0x2003

scsi1:0:1:0: Attempting to queue a TARGET RESET message

CDB: 0x12 0x0 0x0 0x0 0x60 0x0

aic7xxx_dev_reset returns 0x2003

Recovery SCB completes

scsi1:0:1:0: Attempting to queue an ABORT message

CDB: 0x0 0x0 0x0 0x0 0x0 0x0

scsi1: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi1: Dumping Card State in Data-in phase, at SEQADDR 0x7b

Card was paused

ACCUM = 0x0, SINDEX = 0xb8, DINDEX = 0xa8, ARG_2 = 0x0

HCNT = 0x20 SCBPTR = 0x0

SCSISIGI[0x44] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x40]

SCSISEQ[0x12] SBLKCTL[0x0] SCSIRATE[0xf] SEQCTL[0x10]

SEQ_FLAGS[0x20] SSTAT0[0x0] SSTAT1[0x2] SSTAT2[0x0]

SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xac] SXFRCTL0[0x80]

DFCNTRL[0x38] DFSTATUS[0x20]

STACK: 0x0 0x162 0x192 0x6e

SCB count = 4

Kernel NEXTQSCB = 2

Card NEXTQSCB = 2

QINFIFO entries:

Waiting Queue entries:

Disconnected Queue entries:

QOUTFIFO entries:

Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Sequencer SCB Info:

0 SCB_CONTROL[0x8] SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0x3]

1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

Pending list:

3 SCB_CONTROL[0x8] SCB_SCSIID[0x17] SCB_LUN[0x0]

Kernel Free SCB list: 1 0

Untagged Q(1): 3

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>

scsi1:0:1:0: Device is active, asserting ATN

Recovery code sleeping

Recovery code awake

Timer Expired

aic7xxx_abort returns 0x2003

scsi: Device offlined - not ready after error recovery: host 1 channel 0 id 1 lun 0

target1:0:1: Domain Validation detected failure, dropping back
---

The speed of my first HD is also strange (on the first AIC7xxx controler).

Thank you for regarding my problem :-)

Signature · 5 lines
	Grégoire Favre
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#43 lore raw
Quoted 3 lines

Hello, I have applied your two patches against 2.6.12-rc6 (the
http://parisc-linux.org/~jejb/scsi_diffs/scsi-misc-2.6.diff and the last one you sent per email) and I get this now :

Actually, the kernel appears to be wrong:

Quoted 1 line

Linux version 2.6.12-rc5 (root@gregoire) (gcc version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)) #4 Mon Jun 6 20:29:04 CEST 2005

                      ^^^^

It's also not showing any of the debugging information in the patch, so I think you might not be booted on the correct kernel.

James

#44 lore raw
Quoted 7 lines · James Bottomley
Quoted 3 lines

Hello, I have applied your two patches against 2.6.12-rc6 (the
http://parisc-linux.org/~jejb/scsi_diffs/scsi-misc-2.6.diff and the last one you sent per email) and I get this now :

Actually, the kernel appears to be wrong:

Quoted 1 line

Linux version 2.6.12-rc5 (root@gregoire) (gcc version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)) #4 Mon Jun 6 20:29:04 CEST 2005

Although it's doubtfull this causes it, this is a compile fully of totally broken patches. Please use a proper compile instead of the Gentoo whackopatchotree.

#45 lore raw
In reply to James Bottomley
Quoted 1 line · James Bottomley

Actually, the kernel appears to be wrong:

Oops, sorry, I took my grub conf and edited the bad entry :

title 2.6.12-rc6
#kernel (hd0,2)/bzImage-2.6.12-rc6 root=/dev/sdc2 parport=auto video=vesafb:mtrr,ywrap,1024x800-16@75 vga=0xF07 kernel (hd0,2)/bzImage-2.6.12-rc5 root=/dev/sdc2 parport=auto video=vesafb:mtrr,ywrap,1024x800-16@75 vga=0xF07 console=ttyS0

to take the second option with the "console=ttyS0" and forgot to update it to (hd0,2)/bzImage-2.6.12-rc6.

Sorry for it, I can reboot my computer at 9pm (vdr is reccording till 9pm) and then I post the result :)

And don't worry, it's a vanilla 2.6.12-rc6 with only the scsi-misc and the last patch, I even didn't patch for latest DVB.

Signature · 5 lines
	Grégoire Favre
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#46 lore raw
In reply to James Bottomley

I hope it's right now :

Bootdata ok (command line is root=/dev/sdc2 parport=auto video=vesafb:mtrr,ywrap,1024x800-16@75 vga=0xF07 console=ttyS0)

Linux version 2.6.12-rc6 (root@gregoire) (gcc version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)) #2 Sun Jun 12 19:50:13 CEST 2005

BIOS-provided physical RAM map:

BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)

BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)

BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)

BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)

BIOS-e820: 000000003fff0000 - 000000003fff8000 (ACPI data)

BIOS-e820: 000000003fff8000 - 0000000040000000 (ACPI NVS)

BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)

BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)

BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)

ACPI: PM-Timer IO Port: 0x808

ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)

Processor #0 15:12 APIC version 16

ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])

IOAPIC[0]: apic_id 2, version 3, address 0xfec00000, GSI 0-23

ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)

ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)

Setting APIC routing to flat

Using ACPI (MADT) for SMP configuration information

Allocating PCI resources starting at 40000000 (gap: 40000000:bec00000)

Built 1 zonelists

Kernel command line: root=/dev/sdc2 parport=auto video=vesafb:mtrr,ywrap,1024x800-16@75 vga=0xF07 console=ttyS0

Initializing CPU#0

PID hash table entries: 4096 (order: 12, 131072 bytes)

time.c: Using 3.579545 MHz PM timer.

time.c: Detected 2000.089 MHz processor.

time.c: Using PIT/TSC based timekeeping.

Console: colour VGA+ 80x60

Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)

Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)

Memory: 1025304k/1048512k available (3137k kernel code, 22512k reserved, 1305k data, 160k init)

Mount-cache hash table entries: 256

CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)

CPU: L2 Cache: 512K (64 bytes/line)

CPU: AMD Athlon(tm) 64 Processor 3000+ stepping 00

Using local APIC timer interrupts.

Detected 12.500 MHz APIC timer.

testing NMI watchdog ... OK.

NET: Registered protocol family 16

PCI: Using configuration type 1

mtrr: v2.0 (20020519)

ACPI: Subsystem revision 20050309

ACPI: Interpreter enabled

ACPI: Using IOAPIC for interrupt routing

ACPI: PCI Root Bridge [PCI0] (0000:00)

PCI: Probing PCI hardware (bus 00)

ACPI: Power Resource [URP1] (off)

ACPI: Power Resource [URP2] (off)

ACPI: Power Resource [FDDP] (off)

ACPI: Power Resource [LPTP] (off)

ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)

ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 12 14 15)

ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 10 11 12 14 15)

ACPI: PCI Interrupt Link [LNKD] (IRQs *3 4 5 6 7 10 11 12 14 15)

ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.

SCSI subsystem initialized

usbcore: registered new driver usbfs

usbcore: registered new driver hub

PCI: Using ACPI for IRQ routing

PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report

IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $

NTFS driver 2.1.22 [Flags: R/O].

EFS: 1.0a - http://aeschi.ch.eu.org/efs/

SGI XFS with large block/inode numbers, no debug enabled

Initializing Cryptographic API

ACPI: Power Button (FF) [PWRF]

ACPI: Sleep Button (CM) [SLPB]

Real Time Clock Driver v1.12

Non-volatile memory driver v1.2

serio: i8042 AUX port at 0x60,0x64 irq 12

serio: i8042 KBD port at 0x60,0x64 irq 1

Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled

ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

parport0: PC-style at 0x378 [PCSPP(,...)]

io scheduler noop registered

io scheduler anticipatory registered

io scheduler deadline registered

io scheduler cfq registered

Floppy drive(s): fd0 is 1.44M

FDC 0 is a post-1991 82077

r8169 Gigabit Ethernet driver 2.2LK loaded

ACPI: PCI Interrupt 0000:00:0b.0[A] -> GSI 16 (level, low) -> IRQ 16

r8169: NAPI enabled

eth0: RTL8169 at 0xffffc20000002b00, 00:0c:76:bd:22:23, IRQ 16

Linux video capture interface: v1.00

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx

VP_IDE: IDE controller at PCI slot 0000:00:0f.1

ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 20

VP_IDE: chipset revision 6

VP_IDE: not 100% native mode: will probe irqs later

VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1

    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio

    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio

hda: IC35L120AVVA07-0, ATA DISK drive

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

hdc: SONY DVD RW DRU-500A, ATAPI CD/DVD-ROM drive

hdd: IOMEGA ZIP 250 ATAPI Floppy, ATAPI FLOPPY drive

hdd: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }

hdd: set_drive_speed_status: error=0x04 { AbortedCommand }

ide1 at 0x170-0x177,0x376 on irq 15

hda: max request size: 128KiB

hda: 241254720 sectors (123522 MB) w/1863KiB Cache, CHS=65535/16/63, UDMA(100)

hda: cache flushes supported

hda: hda1 hda2 hda3 hda4

hdc: ATAPI 16X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33)

Uniform CD-ROM driver Revision: 3.20

ide-floppy driver 0.99.newide

hdd: No disk in drive

hdd: 244736kB, 239/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm

ACPI: PCI Interrupt 0000:00:05.0[A] -> GSI 16 (level, low) -> IRQ 16

ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 17 (level, low) -> IRQ 17

scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36

        <Adaptec 29160B Ultra160 SCSI adapter>

        aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

target0:0:0: SC IS ffff81003fca8b40

target0:0:0: ULTRA2

target0:0:0: scsirate IS 0x83, min_period is 10

Vendor: IBM Model: DDRS-39130D Rev: DC1B

Type: Direct-Access ANSI SCSI revision: 02

target0:0:0: asynchronous.

scsi0:A:0:0: Tagged Queuing enabled. Depth 253

target0:0:0: Beginning Domain Validation

target0:0:0: wide asynchronous.

target0:0:0: Domain Validation skipping write tests

target0:0:0: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 15)

target0:0:0: Ending Domain Validation

target0:0:1: SC IS ffff81003fca8b40

target0:0:1: ULTRA2

target0:0:1: scsirate IS 0x83, min_period is 10

target0:0:2: SC IS ffff81003fca8b40

target0:0:2: ULTRA2

target0:0:2: scsirate IS 0x83, min_period is 10

target0:0:3: SC IS ffff81003fca8b40

target0:0:3: ULTRA2

target0:0:3: scsirate IS 0x83, min_period is 10

target0:0:4: SC IS ffff81003fca8b40

target0:0:4: ULTRA2

target0:0:4: scsirate IS 0x83, min_period is 10

target0:0:5: SC IS ffff81003fca8b40

target0:0:5: ULTRA2

target0:0:5: scsirate IS 0x83, min_period is 10

target0:0:6: SC IS ffff81003fca8b40

target0:0:6: ULTRA2

target0:0:6: scsirate IS 0x83, min_period is 10

target0:0:8: SC IS ffff81003fca8b40

target0:0:8: ULTRA2

target0:0:8: scsirate IS 0x83, min_period is 10

target0:0:9: SC IS ffff81003fca8b40

target0:0:9: ULTRA2

target0:0:9: scsirate IS 0x83, min_period is 10

target0:0:10: SC IS ffff81003fca8b40

target0:0:10: ULTRA2

target0:0:10: scsirate IS 0x83, min_period is 10

target0:0:11: SC IS ffff81003fca8b40

target0:0:11: ULTRA2

target0:0:11: scsirate IS 0x83, min_period is 10

target0:0:12: SC IS ffff81003fca8b40

target0:0:12: ULTRA2

target0:0:12: scsirate IS 0x83, min_period is 10

target0:0:13: SC IS ffff81003fca8b40

target0:0:13: ULTRA2

target0:0:13: scsirate IS 0x83, min_period is 10

target0:0:14: SC IS ffff81003fca8b40

target0:0:14: ULTRA2

target0:0:14: scsirate IS 0x83, min_period is 10

target0:0:15: SC IS ffff81003fca8b40

target0:0:15: ULTRA2

target0:0:15: scsirate IS 0x83, min_period is 10

Vendor: SEAGATE Model: ST336706LW Rev: 0108

Type: Direct-Access ANSI SCSI revision: 03

target0:0:15: asynchronous.

scsi0:A:15:0: Tagged Queuing enabled. Depth 253

target0:0:15: Beginning Domain Validation

target0:0:15: wide asynchronous.

target0:0:15: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 63)

target0:0:15: Ending Domain Validation

scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36

<Adaptec 2940 Ultra SCSI adapter>

aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs

target1:0:0: SC IS ffff81003fca89c0

target1:0:0: scsirate IS 0xf, min_period is 9

target1:0:1: SC IS ffff81003fca89c0

target1:0:1: scsirate IS 0xf, min_period is 9

target1:0:1: asynchronous.

Vendor: TOSHIBA Model: DVD-ROM SD-M1201 Rev: 1R08

Type: CD-ROM ANSI SCSI revision: 02

target1:0:1: Beginning Domain Validation

target1:0:1: Domain Validation skipping write tests

target1:0:1: FAST-20 SCSI 20.0 MB/s ST (50 ns, offset 15)

scsi1:0:1:0: Attempting to queue an ABORT message

CDB: 0x12 0x0 0x0 0x0 0x60 0x0

scsi1: At time of recovery, card was not paused

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Dump Card State Begins <<<<<<<<<<<<<<<<<

scsi1: Dumping Card State in Data-in phase, at SEQADDR 0x7c

Card was paused

ACCUM = 0x0, SINDEX = 0xb8, DINDEX = 0xa8, ARG_2 = 0x0

HCNT = 0x60 SCBPTR = 0x0

SCSISIGI[0x44] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x40]

SCSISEQ[0x12] SBLKCTL[0x0] SCSIRATE[0xf] SEQCTL[0x10]

SEQ_FLAGS[0x20] SSTAT0[0x0] SSTAT1[0x2] SSTAT2[0x0]

SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xac] SXFRCTL0[0xa0]

DFCNTRL[0x38] DFSTATUS[0x40]

STACK: 0x0 0x162 0x192 0x6e

SCB count = 4

Kernel NEXTQSCB = 3

Card NEXTQSCB = 3

QINFIFO entries:

Waiting Queue entries:

Disconnected Queue entries:

QOUTFIFO entries:

Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Sequencer SCB Info:

0 SCB_CONTROL[0x48] SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0x2]

1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]

Pending list:

2 SCB_CONTROL[0x48] SCB_SCSIID[0x17] SCB_LUN[0x0]

Kernel Free SCB list: 1 0

Untagged Q(1): 2

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>

scsi1:0:1:0: Device is active, asserting ATN

Recovery code sleeping

Recovery code awake

Timer Expired

aic7xxx_abort returns 0x2003

scsi1:0:1:0: Attempting to queue a TARGET RESET message

CDB: 0x12 0x0 0x0 0x0 0x60 0x0

aic7xxx_dev_reset returns 0x2003

Recovery SCB completes

Unable to handle kernel NULL pointer dereference at 0000000000000150 RIP: 

<ffffffff802fcd62>{scsi_is_host_device+2}

PGD 0

Oops: 0000 [1] PREEMPT 

CPU 0

Modules linked in:

Pid: 297, comm: scsi_eh_1 Not tainted 2.6.12-rc6

RIP: 0010:[<ffffffff802fcd62>] <ffffffff802fcd62>{scsi_is_host_device+2}

RSP: 0000:ffff81003fd67ce0 EFLAGS: 00010046

RAX: 0000000000000000 RBX: 0000000000000028 RCX: 0000000000000013

RDX: ffff81003fcd6e80 RSI: 0000000000000041 RDI: 0000000000000028

RBP: 0000000000000000 R08: 0000000000000200 R09: 0000000000000000

R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000041

R13: ffff81003fcdae00 R14: 0000000000000000 R15: ffff81003fcdac00

FS: 0000000000000000(0000) GS:ffffffff8059c340(0000) knlGS:0000000000000000

CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b

CR2: 0000000000000150 CR3: 0000000000101000 CR4: 00000000000006e0

Process scsi_eh_1 (pid: 297, threadinfo ffff81003fd66000, task ffff81003fcee130)

Stack: ffffffff8031ae68 ffff81003fd67d08 ffffffff00000050 0000000000000000 
       0000000000000000 08ff000000000000 0000000000000000 0000000000000008 

       ffff81003fccf130 0000000000000000 
Call Trace:<ffffffff8031ae68>{ahc_send_async+328} <ffffffff8031afcf>{ahc_send_async+687}
       <ffffffff803096af>{ahc_run_untagged_queues+31} <ffffffff8030a877>{ahc_set_syncrate+583}

       <ffffffff80311176>{ahc_reset_channel+886} <ffffffff8031a077>{ahc_linux_bus_reset+39}

       <ffffffff802ff112>{scsi_try_bus_reset+82} <ffffffff80300144>{scsi_error_handler+1444}

       <ffffffff8010f383>{child_rip+8} <ffffffff802ffba0>{scsi_error_handler+0}

       <ffffffff8010f37b>{child_rip+0} 
Code: 48 81 bf 28 01 00 00 c0 d0 2f 80 0f 94 c0 c3 66 66 66 90 66 

RIP <ffffffff802fcd62>{scsi_is_host_device+2} RSP <ffff81003fd67ce0>

CR2: 0000000000000150

<6>note: scsi_eh_1[297] exited with preempt_count 1

Signature · 5 lines
	Gr�goire Favre
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#47 lore raw
Quoted 8 lines · On Mon, 2005-06-13 at 20:37 +0200, =?utf-8?Q?Gr=E9goire?= Favre wrote:

target1:0:1: SC IS ffff81003fca89c0

target1:0:1: scsirate IS 0xf, min_period is 9

target1:0:1: asynchronous.

Vendor: TOSHIBA Model: DVD-ROM SD-M1201 Rev: 1R08

Quoted 7 lines

Type: CD-ROM ANSI SCSI revision: 02

target1:0:1: Beginning Domain Validation

target1:0:1: Domain Validation skipping write tests

target1:0:1: FAST-20 SCSI 20.0 MB/s ST (50 ns, offset 15)

OK, this is what tells me there's an error in the bios reading routines for ultra cards.

Can you try this (it should apply straight on your currently patched 2.6.12-rc6 tree)... hopefully I've been more careful in the bios reading routines for the ultra (and fast) cards.

Thanks,

James

drivers/scsi/aic7xxx/aic7xxx_osm.c +27 -16
diff -u b/drivers/scsi/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c
@@ -622,26 +622,37 @@
 
 	dev_printk(KERN_ERR, &starget->dev, "SC IS %p\n", sc);
 	if (sc) {
+		int maxsync = AHC_SYNCRATE_DT;
+		int ultra = 0;
+		int flags = sc->device_flags[target_offset];
+
+		if (ahc->flags & AHC_NEWEEPROM_FMT) {
+		    if (flags & CFSYNCHISULTRA)
+			ultra = 1;
+		} else if (flags & CFULTRAEN)
+			ultra = 1;
+		/* AIC nutcase; 10MHz appears as ultra = 1, CFXFER = 0x04
+		 * change it to ultra=0, CFXFER = 0 */
+		if(ultra && (flags & CFXFER) == 0x04) {
+			dev_printk(KERN_ERR, &starget->dev, "10MHz, flags 0x%x\n", flags);
+			ultra = 0;
+			flags &= ~CFXFER;
+		}
+	    
 		if ((ahc->features & AHC_ULTRA2) != 0) {
-			scsirate = sc->device_flags[target_offset] & CFXFER;
-			dev_printk(KERN_ERR, &starget->dev, "ULTRA2\n");
+			scsirate = (flags & CFXFER) | ultra ? 0x8 : 0;
+			dev_printk(KERN_ERR, &starget->dev, "ULTRA2, flags 0x%x\n", flags);
 		} else {
-			scsirate = (sc->device_flags[target_offset] & CFXFER) << 4;
-			if (sc->device_flags[target_offset] & CFSYNCH)
-				scsirate |= SOFS;
+			scsirate = (flags & CFXFER) << 4;
+			maxsync = ultra ? AHC_SYNCRATE_ULTRA : 
+				AHC_SYNCRATE_FAST;
 		}
-		if (sc->device_flags[target_offset] & CFWIDEB) {
-			scsirate |= WIDEXFER;
-			spi_max_width(starget) = 1;
-		} else
-			spi_max_width(starget) = 0;
-		spi_min_period(starget) = 
-			ahc_find_period(ahc, scsirate, AHC_SYNCRATE_DT);
-		dev_printk(KERN_ERR, &starget->dev, "scsirate IS 0x%x, min_period is %d\n", scsirate, spi_min_period(starget));
-		if (spi_min_period(starget) == 0)
-			/* This means async, so set offset to zero */
+		spi_max_width(starget) = (flags & CFWIDEB) ? 1 : 0;
+		if (!(flags & CFSYNCH))
 			spi_max_offset(starget) = 0;
-		
+		spi_min_period(starget) = 
+			ahc_find_period(ahc, scsirate, maxsync);
+		dev_printk(KERN_ERR, &starget->dev, "scsirate IS 0x%x, min_period is %d, flags 0x%x\n", scsirate, spi_min_period(starget), flags);
 
 		tinfo = ahc_fetch_transinfo(ahc, channel, ahc->our_id,
 					    starget->id, &tstate);
#48 lore raw
Quoted 6 lines · James Bottomley

OK, this is what tells me there's an error in the bios reading routines for ultra cards.

Can you try this (it should apply straight on your currently patched 2.6.12-rc6 tree)... hopefully I've been more careful in the bios reading routines for the ultra (and fast) cards.

I was really sure I should work and I booted it without the console switch to log on my palm, so I miss the beginning of the log, I hope this dmesg is enough (yes, this time it booted perfectly, thank you very much) :-)

I wonder if the speed read for my first controller with U2 and U160 drive are right ?
I'll stay under this kernel some times, in case some info are still needed :-)

ver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:0f.1
ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 20
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1

    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio

Probing IDE interface ide0...
hda: IC35L120AVVA07-0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: SONY DVD RW DRU-500A, ATAPI CD/DVD-ROM drive
hdd: IOMEGA ZIP 250 ATAPI Floppy, ATAPI FLOPPY drive
hdd: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
hdd: set_drive_speed_status: error=0x04 { AbortedCommand }
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hda: max request size: 128KiB
hda: 241254720 sectors (123522 MB) w/1863KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes supported
hda: hda1 hda2 hda3 hda4
hdc: ATAPI 16X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
hdd: No disk in drive
hdd: 244736kB, 239/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm
ACPI: PCI Interrupt 0000:00:05.0[A] -> GSI 16 (level, low) -> IRQ 16
ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 17 (level, low) -> IRQ 17 scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36

        <Adaptec 29160B Ultra160 SCSI adapter>
        aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

target0:0:0: SC IS ffff81003fcaeac0
target0:0:0: ULTRA2, flags 0xc3bb
target0:0:0: scsirate IS 0x8, min_period is 25, flags 0xc3bb
Vendor: IBM Model: DDRS-39130D Rev: DC1B
Type: Direct-Access ANSI SCSI revision: 02
target0:0:0: asynchronous.
scsi0:A:0:0: Tagged Queuing enabled. Depth 253
target0:0:0: Beginning Domain Validation
target0:0:0: wide asynchronous.
target0:0:0: Domain Validation skipping write tests target0:0:0: FAST-10 WIDE SCSI 20.0 MB/s ST (100 ns, offset 15) target0:0:0: Ending Domain Validation
target0:0:1: SC IS ffff81003fcaeac0
target0:0:1: ULTRA2, flags 0xc1bb
target0:0:1: scsirate IS 0x8, min_period is 25, flags 0xc1bb target0:0:2: SC IS ffff81003fcaeac0
target0:0:2: ULTRA2, flags 0xc1bb
target0:0:2: scsirate IS 0x8, min_period is 25, flags 0xc1bb target0:0:3: SC IS ffff81003fcaeac0
target0:0:3: ULTRA2, flags 0xc1bb
target0:0:3: scsirate IS 0x8, min_period is 25, flags 0xc1bb target0:0:4: SC IS ffff81003fcaeac0
target0:0:4: ULTRA2, flags 0xc1bb
target0:0:4: scsirate IS 0x8, min_period is 25, flags 0xc1bb target0:0:5: SC IS ffff81003fcaeac0
target0:0:5: ULTRA2, flags 0xc1bb
target0:0:5: scsirate IS 0x8, min_period is 25, flags 0xc1bb target0:0:6: SC IS ffff81003fcaeac0
target0:0:6: ULTRA2, flags 0xc1bb
target0:0:6: scsirate IS 0x8, min_period is 25, flags 0xc1bb target0:0:8: SC IS ffff81003fcaeac0
target0:0:8: ULTRA2, flags 0xc1bb
target0:0:8: scsirate IS 0x8, min_period is 25, flags 0xc1bb target0:0:9: SC IS ffff81003fcaeac0
target0:0:9: ULTRA2, flags 0xc1bb
target0:0:9: scsirate IS 0x8, min_period is 25, flags 0xc1bb target0:0:10: SC IS ffff81003fcaeac0
target0:0:10: ULTRA2, flags 0xc1bb
target0:0:10: scsirate IS 0x8, min_period is 25, flags 0xc1bb target0:0:11: SC IS ffff81003fcaeac0
target0:0:11: ULTRA2, flags 0xc1bb
target0:0:11: scsirate IS 0x8, min_period is 25, flags 0xc1bb target0:0:12: SC IS ffff81003fcaeac0
target0:0:12: ULTRA2, flags 0xc1bb
target0:0:12: scsirate IS 0x8, min_period is 25, flags 0xc1bb target0:0:13: SC IS ffff81003fcaeac0
target0:0:13: ULTRA2, flags 0xc1bb
target0:0:13: scsirate IS 0x8, min_period is 25, flags 0xc1bb target0:0:14: SC IS ffff81003fcaeac0
target0:0:14: ULTRA2, flags 0xc1bb
target0:0:14: scsirate IS 0x8, min_period is 25, flags 0xc1bb target0:0:15: SC IS ffff81003fcaeac0
target0:0:15: ULTRA2, flags 0xc1bb
target0:0:15: scsirate IS 0x8, min_period is 25, flags 0xc1bb
Vendor: SEAGATE Model: ST336706LW Rev: 0108
Type: Direct-Access ANSI SCSI revision: 03
target0:0:15: asynchronous.
scsi0:A:15:0: Tagged Queuing enabled. Depth 253
target0:0:15: Beginning Domain Validation target0:0:15: wide asynchronous.
target0:0:15: FAST-10 WIDE SCSI 20.0 MB/s ST (100 ns, offset 63) target0:0:15: Ending Domain Validation
scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec 2940 Ultra SCSI adapter>
aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs

target1:0:0: SC IS ffff81003fcae980
target1:0:0: scsirate IS 0x0, min_period is 25, flags 0xc318 target1:0:1: SC IS ffff81003fcae980
target1:0:1: scsirate IS 0x0, min_period is 25, flags 0xc318 target1:0:1: asynchronous.
Vendor: TOSHIBA Model: DVD-ROM SD-M1201 Rev: 1R08
Type: CD-ROM ANSI SCSI revision: 02
target1:0:1: Beginning Domain Validation
target1:0:1: Domain Validation skipping write tests
target1:0:1: FAST-10 SCSI 10.0 MB/s ST (100 ns, offset 15) target1:0:1: Ending Domain Validation
target1:0:2: SC IS ffff81003fcae980
target1:0:2: scsirate IS 0x0, min_period is 25, flags 0xc318 target1:0:2: asynchronous.
Vendor: PLEXTOR Model: CD-R PX-R820T Rev: 1.08
Type: CD-ROM ANSI SCSI revision: 02
target1:0:2: Beginning Domain Validation
target1:0:2: Domain Validation skipping write tests
target1:0:2: FAST-10 SCSI 10.0 MB/s ST (100 ns, offset 8) target1:0:2: Ending Domain Validation
target1:0:3: SC IS ffff81003fcae980
target1:0:3: scsirate IS 0x0, min_period is 25, flags 0xc318 target1:0:3: asynchronous.
Vendor: PLEXTOR Model: CD-R PX-R820T Rev: 1.08
Type: CD-ROM ANSI SCSI revision: 02
target1:0:3: Beginning Domain Validation
target1:0:3: Domain Validation skipping write tests
target1:0:3: FAST-10 SCSI 10.0 MB/s ST (100 ns, offset 8) target1:0:3: Ending Domain Validation
target1:0:4: SC IS ffff81003fcae980
target1:0:4: scsirate IS 0x0, min_period is 25, flags 0xc318 target1:0:5: SC IS ffff81003fcae980
target1:0:5: scsirate IS 0x0, min_period is 25, flags 0xc318 target1:0:6: SC IS ffff81003fcae980
target1:0:6: scsirate IS 0x0, min_period is 25, flags 0xc318
libata version 1.11 loaded.
sata_via version 1.1
ACPI: PCI Interrupt 0000:00:0f.0[B] -> GSI 20 (level, low) -> IRQ 20 sata_via(0000:00:0f.0): routed to hard irq line 10
ata1: SATA max UDMA/133 cmd 0xE000 ctl 0xDC02 bmdma 0xD000 irq 20
ata2: SATA max UDMA/133 cmd 0xD800 ctl 0xD402 bmdma 0xD008 irq 20
ata1: no device found (phy stat 00000000)
scsi2 : sata_via
ata2: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4043 85:7c69 86:3e01 87:4043 88:407f
ata2: dev 0 ATA, max UDMA/133, 398297088 sectors: lba48
ata2: dev 0 configured for UDMA/133
scsi3 : sata_via
Vendor: ATA Model: Maxtor 6B200M0 Rev: BANC
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 17850000 512-byte hdwr sectors (9139 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 17850000 512-byte hdwr sectors (9139 MB)
SCSI device sda: drive cache: write back
sda: sda1 sda2
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sdb: 71687370 512-byte hdwr sectors (36704 MB)
SCSI device sdb: drive cache: write back
SCSI device sdb: 71687370 512-byte hdwr sectors (36704 MB)
SCSI device sdb: drive cache: write back
sdb: sdb1 sdb2
Attached scsi disk sdb at scsi0, channel 0, id 15, lun 0
SCSI device sdc: 398297088 512-byte hdwr sectors (203928 MB)
SCSI device sdc: drive cache: write back
SCSI device sdc: 398297088 512-byte hdwr sectors (203928 MB)
SCSI device sdc: drive cache: write back
sdc: sdc1 sdc2
Attached scsi disk sdc at scsi3, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 32x/32x cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr0 at scsi1, channel 0, id 1, lun 0
sr1: scsi3-mmc drive: 20x/20x writer cd/rw xa/form2 cdda tray Attached scsi CD-ROM sr1 at scsi1, channel 0, id 2, lun 0
sr2: scsi3-mmc drive: 20x/20x writer cd/rw xa/form2 cdda tray Attached scsi CD-ROM sr2 at scsi1, channel 0, id 3, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0 Attached scsi generic sg1 at scsi0, channel 0, id 15, lun 0, type 0

Attached scsi generic sg2 at scsi1, channel 0, id 1, lun 0,  type 5
Attached scsi generic sg3 at scsi1, channel 0, id 2, lun 0,  type 5
Attached scsi generic sg4 at scsi1, channel 0, id 3, lun 0,  type 5
Attached scsi generic sg5 at scsi3, channel 0, id 0, lun 0,  type 0

usbmon: debugs is not available
ACPI: PCI Interrupt 0000:00:10.4[C] -> GSI 21 (level, low) -> IRQ 21
ehci_hcd 0000:00:10.4: VIA Technologies, Inc. USB 2.0
ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.4: irq 21, io mem 0xcfffe900
ehci_hcd 0000:00:10.4: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
USB Universal Host Controller Interface driver v2.2
ACPI: PCI Interrupt 0000:00:10.0[A] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.0: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:10.0: irq 21, io base 0x0000bc00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.1[A] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.1: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:10.1: irq 21, io base 0x0000c000
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.2[B] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#3)
ehci_hcd 0000:00:10.4: port 8 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:10.2: irq 21, io base 0x0000c400
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.3[B] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#4)
uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:10.3: irq 21, io base 0x0000c800
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
ehci_hcd 0000:00:10.4: port 8 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
ehci_hcd 0000:00:10.4: port 8 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
usb 1-8: new high speed USB device using ehci_hcd and address 2
hub 1-8:1.0: USB hub found
hub 1-8:1.0: 2 ports detected
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
input: PC Speaker
Advanced Linux Sound Architecture Driver Version 1.0.9rc2 (Thu Mar 24 10:33:39 2005 UTC).
via82xx: Assuming DXS channels with 48k fixed sample rate.
Please try dxs_support=1 or dxs_support=4 option
and report if it works on your machine.
ACPI: PCI Interrupt 0000:00:11.5[C] -> GSI 22 (level, low) -> IRQ 22
PCI: Setting latency timer of device 0000:00:11.5 to 64
input: AT Translated Set 2 keyboard on isa0060/serio0
logips2pp: Detected unknown logitech mouse model 99
input: ImExPS/2 Logitech Explorer Mouse on isa0060/serio1
ALSA device list:
#0: VIA 8237 with ALC655 at 0xb800, irq 22
NET: Registered protocol family 2
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP established hash table entries: 262144 (order: 9, 2097152 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
ip_tables: (C) 2000-2002 Netfilter core team
arp_tables: (C) 2002 David S. Miller
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
ACPI wakeup devices:
PCI0 UAR1 USB1 USB2 USB3 USB4 EHCI USBD AC9 MC9 ILAN SLPB
ACPI: (supports S0 S1 S3 S4 S5)
ReiserFS: sdc2: found reiserfs format "3.6" with standard journal
usb 1-8.1: new high speed USB device using ehci_hcd and address 3
hub 1-8.1:1.0: USB hub found
hub 1-8.1:1.0: 4 ports detected
usb 1-8.2: new high speed USB device using ehci_hcd and address 4
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
Vendor: SMSC Model: 223 U HS-CF Rev: 3.60
Type: Direct-Access ANSI SCSI revision: 00
Attached scsi removable disk sdd at scsi4, channel 0, id 0, lun 0
Attached scsi generic sg6 at scsi4, channel 0, id 0, lun 0, type 0
usb-storage: device scan complete
ReiserFS: sdc2: using ordered data mode
ReiserFS: sdc2: journal params: device sdc2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sdc2: checking transaction log (sdc2)
ReiserFS: sdc2: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 160k freed

Adding 506036k swap on /dev/hda2.  Priority:2 extents:1
Adding 530136k swap on /dev/sda2.  Priority:2 extents:1
Adding 530104k swap on /dev/sdb1.  Priority:1 extents:1

Adding 1004020k swap on /dev/sdc1. Priority:3 extents:1
Linux agpgart interface v0.101 (c) Dave Jones
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
NVRM: loading NVIDIA Linux x86_64 NVIDIA Kernel Module 1.0-7664 Wed May 25 22:14:12 PDT 2005
XFS mounting filesystem sdb2
Ending clean XFS mount for filesystem: sdb2
XFS mounting filesystem hda4
Ending clean XFS mount for filesystem: hda4
ReiserFS: sda1: found reiserfs format "3.6" with standard journal
ReiserFS: sda1: using ordered data mode
ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda1: checking transaction log (sda1)
ReiserFS: sda1: Using r5 hash to sort names
saa7146: register extension 'dvb'.
ACPI: PCI Interrupt 0000:00:06.0[A] -> GSI 17 (level, low) -> IRQ 17
saa7146: found saa7146 @ mem ffffc20000506e00 (revision 1, irq 17) (0x13c2,0x0000).
DVB: registering new adapter (Technotrend/Hauppauge WinTV DVB-S rev1.X).
adapter has MAC addr = 00:d0:5c:00:41:90
dvb-ttpci: gpioirq unknown type=0 len=0
dvb-ttpci: info @ card 0: firm f0240009, rtsl b0250018, vid 71010068, app 8000261d
dvb-ttpci: firmware @ card 0 supports CI link layer interface
dvb-ttpci: adac type set to 0 @ card 0
saa7146_vv: saa7146 (0): registered device video0 [v4l2]
ves1x93: Detected ves1893a rev2
DVB: registering frontend 0 (VLSI VES1x93 DVB-S)...
dvb-ttpci: found av7110-0.
saa7146: register extension 'budget dvb'.
saa7146: register extension 'budget_ci dvb'.
ACPI: PCI Interrupt 0000:00:07.0[A] -> GSI 18 (level, low) -> IRQ 18
saa7146: found saa7146 @ mem ffffc200005ecc00 (revision 1, irq 18) (0x13c2,0x100f).
DVB: registering new adapter (TT-Budget/WinTV-NOVA-CI PCI).
adapter has MAC addr = 00:d0:5c:23:a3:9b
DVB: registering frontend 1 (ST STV0299 DVB-S)...
r8169: eth0: link up

Signature · 1 line
	Gr\'egoire Favre
#55 lore raw
In reply to James Bottomley

2.6.12-rc6 seems to hang in the aic7xxx driver here, pausing a few seconds dumping state, pausing a few seconds dumping state again. I started to take pictures of the screen but suddenly it got out of the loop and here's the log. I'll try the patch to see if it fixes anything. First some output of /proc:

$ cat /proc/scsi/aic7xxx/0 
Adaptec AIC7xxx driver version: 6.2.36
Adaptec aic7890/91 Ultra2 SCSI adapter
aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
Allocated SCBs: 4, SG List Length: 128

Serial EEPROM:
0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3b3 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0x18a2 0x1c5e 0x2807 0x0010 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0x98b4

Target 0 Negotiation Settings

        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 1 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 2 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)

Target 3 Negotiation Settings
User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Goal: 10.000MB/s transfers (10.000MHz, offset 15)
Curr: 10.000MB/s transfers (10.000MHz, offset 15) Channel A Target 3 Lun 0 Settings
Commands Queued 17
Commands Active 0
Command Openings 1
Max Tagged Openings 0
Device Queue Frozen Count 0
Target 4 Negotiation Settings
User: 6.600MB/s transfers (16bit)
Goal: 3.300MB/s transfers
Curr: 3.300MB/s transfers
Channel A Target 4 Lun 0 Settings
Commands Queued 61
Commands Active 0
Command Openings 1
Max Tagged Openings 0
Device Queue Frozen Count 0
Target 5 Negotiation Settings

        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 6 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 7 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 8 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 9 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 10 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 11 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 12 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 13 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 14 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 15 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
$ cat /proc/scsi/scsi 
Attached devices:
Host: scsi0 Channel: 00 Id: 03 Lun: 00
  Vendor: YAMAHA   Model: CRW6416S         Rev: 1.0b
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: WANGTEK  Model: 5525ES SCSI      Rev: 73F 
  Type:   Sequential-Access                ANSI SCSI revision: 02

/var/log/messages:

kernel:  scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
kernel:          <Adaptec aic7890/91 Ultra2 SCSI adapter>
kernel:          aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
kernel:  
kernel:    Vendor: YAMAHA    Model: CRW6416S          Rev: 1.0b
kernel:    Type:   CD-ROM                             ANSI SCSI revision: 02
kernel:   target0:0:3: Beginning Domain Validation
kernel:   target0:0:3: Domain Validation skipping write tests
kernel:  (scsi0:A:3): 10.000MB/s transfers (10.000MHz, offset 15)
kernel:   target0:0:3: Ending Domain Validation
kernel:    Vendor: WANGTEK   Model: 5525ES SCSI       Rev: 73F 
kernel:    Type:   Sequential-Access                  ANSI SCSI revision: 02
kernel:   target0:0:4: Beginning Domain Validation
kernel:   target0:0:4: Domain Validation skipping write tests
kernel:  scsi0:0:4:0: Attempting to queue an ABORT message
kernel:  CDB: 0x12 0x0 0x0 0x0 0x2c 0x0
kernel:  scsi0: At time of recovery, card was not paused
kernel:  >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
kernel:  scsi0: Dumping Card State in Message-out phase, at SEQADDR 0x16e
kernel:  Card was paused
kernel:  ACCUM = 0xa0, SINDEX = 0x61, DINDEX = 0xe4, ARG_2 = 0x0
kernel:  HCNT = 0x0 SCBPTR = 0x0
kernel:  SCSISIGI[0xa4]:(BSYI|MSGI|CDI) ERROR[0x0] SCSIBUSL[0x7] 
kernel:  LASTPHASE[0xa0]:(MSGI|CDI) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI) 
kernel:  SBLKCTL[0xa]:(SELWIDE|SELBUSB) SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) 
kernel:  SEQ_FLAGS[0x40]:(NO_CDB_SENT) SSTAT0[0x0] SSTAT1[0x2]:(PHASECHG) 
kernel:  SSTAT2[0x10]:(EXP_ACTIVE) SSTAT3[0x0] SIMODE0[0x8]:(ENSWRAP) 
kernel:  SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO) 
kernel:  SXFRCTL0[0x88]:(SPIOEN|DFON) DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) 
kernel:  STACK: 0xe4 0x0 0x166 0x17c
kernel:  SCB count = 4
kernel:  Kernel NEXTQSCB = 3
kernel:  Card NEXTQSCB = 3
kernel:  QINFIFO entries: 
kernel:  Waiting Queue entries: 
kernel:  Disconnected Queue entries: 
kernel:  QOUTFIFO entries: 
kernel:  Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 
kernel:  Sequencer SCB Info: 
kernel:    0 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0x47] SCB_LUN[0x0] 
kernel:  SCB_TAG[0x2] 
kernel:    1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   16 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   17 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   18 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   19 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   20 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   21 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   22 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   23 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   24 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   25 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   26 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   27 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   28 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   29 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   30 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   31 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:  Pending list: 
kernel:    2 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0x47] SCB_LUN[0x0] 
kernel:  Kernel Free SCB list: 1 0 
kernel:  Untagged Q(4): 2 
kernel:  
kernel:  <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
kernel:  scsi0:0:4:0: Device is active, asserting ATN
kernel:  Recovery code sleeping
kernel:  Recovery code awake
kernel:  Timer Expired
kernel:  aic7xxx_abort returns 0x2003
kernel:  scsi0:0:4:0: Attempting to queue a TARGET RESET message
kernel:  CDB: 0x12 0x0 0x0 0x0 0x2c 0x0
kernel:  aic7xxx_dev_reset returns 0x2003
kernel:  Recovery SCB completes
kernel:   target0:0:4: Domain Validation detected failure, dropping back
kernel:  scsi0:0:4:0: Attempting to queue an ABORT message
kernel:  CDB: 0x12 0x0 0x0 0x0 0x2c 0x0
kernel:  scsi0: At time of recovery, card was not paused
kernel:  >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
kernel:  scsi0: Dumping Card State in Message-out phase, at SEQADDR 0x16e
kernel:  Card was paused
kernel:  ACCUM = 0xa0, SINDEX = 0x61, DINDEX = 0xe4, ARG_2 = 0x0
kernel:  HCNT = 0x0 SCBPTR = 0x0
kernel:  SCSISIGI[0xa4]:(BSYI|MSGI|CDI) ERROR[0x0] SCSIBUSL[0x7] 
kernel:  LASTPHASE[0xa0]:(MSGI|CDI) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI) 
kernel:  SBLKCTL[0xa]:(SELWIDE|SELBUSB) SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) 
kernel:  SEQ_FLAGS[0x40]:(NO_CDB_SENT) SSTAT0[0x0] SSTAT1[0x2]:(PHASECHG) 
kernel:  SSTAT2[0x10]:(EXP_ACTIVE) SSTAT3[0x0] SIMODE0[0x8]:(ENSWRAP) 
kernel:  SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO) 
kernel:  SXFRCTL0[0x88]:(SPIOEN|DFON) DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) 
kernel:  STACK: 0xe4 0xe4 0x166 0x17c
kernel:  SCB count = 4
kernel:  Kernel NEXTQSCB = 2
kernel:  Card NEXTQSCB = 2
kernel:  QINFIFO entries: 
kernel:  Waiting Queue entries: 
kernel:  Disconnected Queue entries: 
kernel:  QOUTFIFO entries: 
kernel:  Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 
kernel:  Sequencer SCB Info: 
kernel:    0 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0x47] SCB_LUN[0x0] 
kernel:  SCB_TAG[0x3] 
kernel:    1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   16 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   17 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   18 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   19 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   20 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   21 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   22 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   23 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   24 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   25 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   26 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   27 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   28 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   29 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   30 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   31 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:  Pending list: 
kernel:    3 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0x47] SCB_LUN[0x0] 
kernel:  Kernel Free SCB list: 1 0 
kernel:  Untagged Q(4): 3 
kernel:  
kernel:  <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
kernel:  scsi0:0:4:0: Device is active, asserting ATN
kernel:  Recovery code sleeping
kernel:  Recovery code awake
kernel:  Timer Expired
kernel:  aic7xxx_abort returns 0x2003
kernel:  scsi0:0:4:0: Attempting to queue a TARGET RESET message
kernel:  CDB: 0x12 0x0 0x0 0x0 0x2c 0x0
kernel:  aic7xxx_dev_reset returns 0x2003
kernel:  Recovery SCB completes
kernel:   target0:0:4: Domain Validation detected failure, dropping back
kernel:  scsi0:0:4:0: Attempting to queue an ABORT message
kernel:  CDB: 0x12 0x0 0x0 0x0 0x2c 0x0
kernel:  scsi0: At time of recovery, card was not paused
kernel:  >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
kernel:  scsi0: Dumping Card State in Message-out phase, at SEQADDR 0x16e
kernel:  Card was paused
kernel:  ACCUM = 0xa0, SINDEX = 0x61, DINDEX = 0xe4, ARG_2 = 0x0
kernel:  HCNT = 0x0 SCBPTR = 0x0
kernel:  SCSISIGI[0xa4]:(BSYI|MSGI|CDI) ERROR[0x0] SCSIBUSL[0x7] 
kernel:  LASTPHASE[0xa0]:(MSGI|CDI) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI) 
kernel:  SBLKCTL[0xa]:(SELWIDE|SELBUSB) SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) 
kernel:  SEQ_FLAGS[0x40]:(NO_CDB_SENT) SSTAT0[0x0] SSTAT1[0x2]:(PHASECHG) 
kernel:  SSTAT2[0x10]:(EXP_ACTIVE) SSTAT3[0x0] SIMODE0[0x8]:(ENSWRAP) 
kernel:  SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO) 
kernel:  SXFRCTL0[0x88]:(SPIOEN|DFON) DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) 
kernel:  STACK: 0xe4 0xe4 0x166 0x17c
kernel:  SCB count = 4
kernel:  Kernel NEXTQSCB = 3
kernel:  Card NEXTQSCB = 3
kernel:  QINFIFO entries: 
kernel:  Waiting Queue entries: 
kernel:  Disconnected Queue entries: 
kernel:  QOUTFIFO entries: 
kernel:  Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 
kernel:  Sequencer SCB Info: 
kernel:    0 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0x47] SCB_LUN[0x0] 
kernel:  SCB_TAG[0x2] 
kernel:    1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:    9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   16 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   17 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   18 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   19 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   20 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   21 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   22 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   23 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   24 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   25 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   26 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   27 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   28 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   29 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   30 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:   31 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
kernel:  SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
kernel:  Pending list: 
kernel:    2 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0x47] SCB_LUN[0x0] 
kernel:  Kernel Free SCB list: 1 0 
kernel:  Untagged Q(4): 2 
kernel:  
kernel:  <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
kernel:  scsi0:0:4:0: Device is active, asserting ATN
kernel:  Recovery code sleeping
kernel:  Recovery code awake
kernel:  Timer Expired
kernel:  aic7xxx_abort returns 0x2003
Signature · 1 line
Frank
#49 lore raw
In reply to Gregoire Favre
Quoted 8 lines · Gregoire Favre

On Mon, Jun 13, 2005 at 03:50:47PM -0500, James Bottomley wrote:
I was really sure I should work and I booted it without the console switch to log on my palm, so I miss the beginning of the log, I hope this dmesg is enough (yes, this time it booted perfectly, thank you very much) :-)

I wonder if the speed read for my first controller with U2 and U160 drive are right ?

No ... unfortunately there's a precedence bug in the u160 code ...

Try the attached (on top of everything else).

Thanks,

James

drivers/scsi/aic7xxx/aic7xxx_osm.c +1 -1
diff -u b/drivers/scsi/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c
@@ -640,7 +640,7 @@
 		}
 	    
 		if ((ahc->features & AHC_ULTRA2) != 0) {
-			scsirate = (flags & CFXFER) | ultra ? 0x8 : 0;
+			scsirate = (flags & CFXFER) | (ultra ? 0x8 : 0);
 			dev_printk(KERN_ERR, &starget->dev, "ULTRA2, flags 0x%x\n", flags);
 		} else {
 			scsirate = (flags & CFXFER) << 4;
#50 lore raw
Quoted 3 lines · James Bottomley

No ... unfortunately there's a precedence bug in the u160 code ...

Try the attached (on top of everything else).

Thank you very much for the quick fix !!!

Here's the log :

iver 2.2LK loaded
ACPI: PCI Interrupt 0000:00:0b.0[A] -> GSI 16 (level, low) -> IRQ 16
r8169: NAPI enabled
eth0: Identified chip type is 'RTL8169s/8110s'.
eth0: RTL8169 at 0xffffc20000002b00, 00:0c:76:bd:22:23, IRQ 16 Linux video capture interface: v1.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:0f.1
ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 20
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1

    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio

Probing IDE interface ide0...
hda: IC35L120AVVA07-0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: SONY DVD RW DRU-500A, ATAPI CD/DVD-ROM drive
hdd: IOMEGA ZIP 250 ATAPI Floppy, ATAPI FLOPPY drive
hdd: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
hdd: set_drive_speed_status: error=0x04 { AbortedCommand }
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hda: max request size: 128KiB
hda: 241254720 sectors (123522 MB) w/1863KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes supported
hda: hda1 hda2 hda3 hda4
hdc: ATAPI 16X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
hdd: No disk in drive
hdd: 244736kB, 239/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm
ACPI: PCI Interrupt 0000:00:05.0[A] -> GSI 16 (level, low) -> IRQ 16
ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 17 (level, low) -> IRQ 17 scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36

        <Adaptec 29160B Ultra160 SCSI adapter>
        aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

target0:0:0: SC IS ffff81003fcaeac0
target0:0:0: ULTRA2, flags 0xc3bb
target0:0:0: scsirate IS 0x3, min_period is 10, flags 0xc3bb
Vendor: IBM Model: DDRS-39130D Rev: DC1B
Type: Direct-Access ANSI SCSI revision: 02
target0:0:0: asynchronous.
scsi0:A:0:0: Tagged Queuing enabled. Depth 253
target0:0:0: Beginning Domain Validation
target0:0:0: wide asynchronous.
target0:0:0: Domain Validation skipping write tests target0:0:0: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 15) target0:0:0: Ending Domain Validation
target0:0:1: SC IS ffff81003fcaeac0
target0:0:1: ULTRA2, flags 0xc1bb
target0:0:1: scsirate IS 0x3, min_period is 10, flags 0xc1bb target0:0:2: SC IS ffff81003fcaeac0
target0:0:2: ULTRA2, flags 0xc1bb
target0:0:2: scsirate IS 0x3, min_period is 10, flags 0xc1bb target0:0:3: SC IS ffff81003fcaeac0
target0:0:3: ULTRA2, flags 0xc1bb
target0:0:3: scsirate IS 0x3, min_period is 10, flags 0xc1bb target0:0:4: SC IS ffff81003fcaeac0
target0:0:4: ULTRA2, flags 0xc1bb
target0:0:4: scsirate IS 0x3, min_period is 10, flags 0xc1bb target0:0:5: SC IS ffff81003fcaeac0
target0:0:5: ULTRA2, flags 0xc1bb
target0:0:5: scsirate IS 0x3, min_period is 10, flags 0xc1bb target0:0:6: SC IS ffff81003fcaeac0
target0:0:6: ULTRA2, flags 0xc1bb
target0:0:6: scsirate IS 0x3, min_period is 10, flags 0xc1bb target0:0:8: SC IS ffff81003fcaeac0
target0:0:8: ULTRA2, flags 0xc1bb
target0:0:8: scsirate IS 0x3, min_period is 10, flags 0xc1bb target0:0:9: SC IS ffff81003fcaeac0
target0:0:9: ULTRA2, flags 0xc1bb
target0:0:9: scsirate IS 0x3, min_period is 10, flags 0xc1bb target0:0:10: SC IS ffff81003fcaeac0
target0:0:10: ULTRA2, flags 0xc1bb
target0:0:10: scsirate IS 0x3, min_period is 10, flags 0xc1bb target0:0:11: SC IS ffff81003fcaeac0
target0:0:11: ULTRA2, flags 0xc1bb
target0:0:11: scsirate IS 0x3, min_period is 10, flags 0xc1bb target0:0:12: SC IS ffff81003fcaeac0
target0:0:12: ULTRA2, flags 0xc1bb
target0:0:12: scsirate IS 0x3, min_period is 10, flags 0xc1bb target0:0:13: SC IS ffff81003fcaeac0
target0:0:13: ULTRA2, flags 0xc1bb
target0:0:13: scsirate IS 0x3, min_period is 10, flags 0xc1bb target0:0:14: SC IS ffff81003fcaeac0
target0:0:14: ULTRA2, flags 0xc1bb
target0:0:14: scsirate IS 0x3, min_period is 10, flags 0xc1bb target0:0:15: SC IS ffff81003fcaeac0
target0:0:15: ULTRA2, flags 0xc1bb
target0:0:15: scsirate IS 0x3, min_period is 10, flags 0xc1bb
Vendor: SEAGATE Model: ST336706LW Rev: 0108
Type: Direct-Access ANSI SCSI revision: 03
target0:0:15: asynchronous.
scsi0:A:15:0: Tagged Queuing enabled. Depth 253
target0:0:15: Beginning Domain Validation target0:0:15: wide asynchronous.
target0:0:15: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 63) target0:0:15: Ending Domain Validation
scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec 2940 Ultra SCSI adapter>
aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs

target1:0:0: SC IS ffff81003fcae980
target1:0:0: scsirate IS 0x0, min_period is 25, flags 0xc318 target1:0:1: SC IS ffff81003fcae980
target1:0:1: scsirate IS 0x0, min_period is 25, flags 0xc318 target1:0:1: asynchronous.
Vendor: TOSHIBA Model: DVD-ROM SD-M1201 Rev: 1R08
Type: CD-ROM ANSI SCSI revision: 02
target1:0:1: Beginning Domain Validation
target1:0:1: Domain Validation skipping write tests
target1:0:1: FAST-10 SCSI 10.0 MB/s ST (100 ns, offset 15) target1:0:1: Ending Domain Validation
target1:0:2: SC IS ffff81003fcae980
target1:0:2: scsirate IS 0x0, min_period is 25, flags 0xc318 target1:0:2: asynchronous.
Vendor: PLEXTOR Model: CD-R PX-R820T Rev: 1.08
Type: CD-ROM ANSI SCSI revision: 02
target1:0:2: Beginning Domain Validation
target1:0:2: Domain Validation skipping write tests
target1:0:2: FAST-10 SCSI 10.0 MB/s ST (100 ns, offset 8) target1:0:2: Ending Domain Validation
target1:0:3: SC IS ffff81003fcae980
target1:0:3: scsirate IS 0x0, min_period is 25, flags 0xc318 target1:0:3: asynchronous.
Vendor: PLEXTOR Model: CD-R PX-R820T Rev: 1.08
Type: CD-ROM ANSI SCSI revision: 02
target1:0:3: Beginning Domain Validation
target1:0:3: Domain Validation skipping write tests
target1:0:3: FAST-10 SCSI 10.0 MB/s ST (100 ns, offset 8) target1:0:3: Ending Domain Validation
target1:0:4: SC IS ffff81003fcae980
target1:0:4: scsirate IS 0x0, min_period is 25, flags 0xc318 target1:0:5: SC IS ffff81003fcae980
target1:0:5: scsirate IS 0x0, min_period is 25, flags 0xc318 target1:0:6: SC IS ffff81003fcae980
target1:0:6: scsirate IS 0x0, min_period is 25, flags 0xc318
libata version 1.11 loaded.
sata_via version 1.1
ACPI: PCI Interrupt 0000:00:0f.0[B] -> GSI 20 (level, low) -> IRQ 20 sata_via(0000:00:0f.0): routed to hard irq line 10
ata1: SATA max UDMA/133 cmd 0xE000 ctl 0xDC02 bmdma 0xD000 irq 20
ata2: SATA max UDMA/133 cmd 0xD800 ctl 0xD402 bmdma 0xD008 irq 20
ata1: no device found (phy stat 00000000)
scsi2 : sata_via
ata2: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4043 85:7c69 86:3e01 87:4043 88:407f
ata2: dev 0 ATA, max UDMA/133, 398297088 sectors: lba48
ata2: dev 0 configured for UDMA/133
scsi3 : sata_via
Vendor: ATA Model: Maxtor 6B200M0 Rev: BANC
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 17850000 512-byte hdwr sectors (9139 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 17850000 512-byte hdwr sectors (9139 MB)
SCSI device sda: drive cache: write back
sda: sda1 sda2
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sdb: 71687370 512-byte hdwr sectors (36704 MB)
SCSI device sdb: drive cache: write back
SCSI device sdb: 71687370 512-byte hdwr sectors (36704 MB)
SCSI device sdb: drive cache: write back
sdb: sdb1 sdb2
Attached scsi disk sdb at scsi0, channel 0, id 15, lun 0
SCSI device sdc: 398297088 512-byte hdwr sectors (203928 MB)
SCSI device sdc: drive cache: write back
SCSI device sdc: 398297088 512-byte hdwr sectors (203928 MB)
SCSI device sdc: drive cache: write back
sdc: sdc1 sdc2
Attached scsi disk sdc at scsi3, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 32x/32x cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr0 at scsi1, channel 0, id 1, lun 0
sr1: scsi3-mmc drive: 20x/20x writer cd/rw xa/form2 cdda tray Attached scsi CD-ROM sr1 at scsi1, channel 0, id 2, lun 0
sr2: scsi3-mmc drive: 20x/20x writer cd/rw xa/form2 cdda tray Attached scsi CD-ROM sr2 at scsi1, channel 0, id 3, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0 Attached scsi generic sg1 at scsi0, channel 0, id 15, lun 0, type 0

Attached scsi generic sg2 at scsi1, channel 0, id 1, lun 0,  type 5
Attached scsi generic sg3 at scsi1, channel 0, id 2, lun 0,  type 5
Attached scsi generic sg4 at scsi1, channel 0, id 3, lun 0,  type 5
Attached scsi generic sg5 at scsi3, channel 0, id 0, lun 0,  type 0

usbmon: debugs is not available
ACPI: PCI Interrupt 0000:00:10.4[C] -> GSI 21 (level, low) -> IRQ 21
ehci_hcd 0000:00:10.4: VIA Technologies, Inc. USB 2.0
ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.4: irq 21, io mem 0xcfffe900
ehci_hcd 0000:00:10.4: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
USB Universal Host Controller Interface driver v2.2
ACPI: PCI Interrupt 0000:00:10.0[A] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.0: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:10.0: irq 21, io base 0x0000bc00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.1[A] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.1: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:10.1: irq 21, io base 0x0000c000
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.2[B] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#3)
usb 1-8: new high speed USB device using ehci_hcd and address 2
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:10.2: irq 21, io base 0x0000c400
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.3[B] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#4)
hub 1-8:1.0: USB hub found
hub 1-8:1.0: 2 ports detected
uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:10.3: irq 21, io base 0x0000c800
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
input: PC Speaker
Advanced Linux Sound Architecture Driver Version 1.0.9rc2 (Thu Mar 24 10:33:39 2005 UTC).
via82xx: Assuming DXS channels with 48k fixed sample rate.
Please try dxs_support=1 or dxs_support=4 option
and report if it works on your machine.
ACPI: PCI Interrupt 0000:00:11.5[C] -> GSI 22 (level, low) -> IRQ 22
PCI: Setting latency timer of device 0000:00:11.5 to 64
input: AT Translated Set 2 keyboard on isa0060/serio0
logips2pp: Detected unknown logitech mouse model 99
input: ImExPS/2 Logitech Explorer Mouse on isa0060/serio1
ALSA device list:
#0: VIA 8237 with ALC655 at 0xb800, irq 22
NET: Registered protocol family 2
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP established hash table entries: 262144 (order: 9, 2097152 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
ip_tables: (C) 2000-2002 Netfilter core team
arp_tables: (C) 2002 David S. Miller
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
ACPI wakeup devices:
PCI0 UAR1 USB1 USB2 USB3 USB4 EHCI USBD AC9 MC9 ILAN SLPB
ACPI: (supports S0 S1 S3 S4 S5)
ReiserFS: sdc2: found reiserfs format "3.6" with standard journal
usb 1-8.1: new high speed USB device using ehci_hcd and address 3
hub 1-8.1:1.0: USB hub found
hub 1-8.1:1.0: 4 ports detected
usb 1-8.2: new high speed USB device using ehci_hcd and address 4
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
Vendor: SMSC Model: 223 U HS-CF Rev: 3.60
Type: Direct-Access ANSI SCSI revision: 00
Attached scsi removable disk sdd at scsi4, channel 0, id 0, lun 0
Attached scsi generic sg6 at scsi4, channel 0, id 0, lun 0, type 0
usb-storage: device scan complete
ReiserFS: sdc2: using ordered data mode
ReiserFS: sdc2: journal params: device sdc2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sdc2: checking transaction log (sdc2)
ReiserFS: sdc2: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 160k freed

Adding 506036k swap on /dev/hda2.  Priority:2 extents:1
Adding 530136k swap on /dev/sda2.  Priority:2 extents:1
Adding 530104k swap on /dev/sdb1.  Priority:1 extents:1

Adding 1004020k swap on /dev/sdc1. Priority:3 extents:1
Linux agpgart interface v0.101 (c) Dave Jones
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
NVRM: loading NVIDIA Linux x86_64 NVIDIA Kernel Module 1.0-7664 Wed May 25 22:14:12 PDT 2005
XFS mounting filesystem sdb2
Ending clean XFS mount for filesystem: sdb2
XFS mounting filesystem hda4
Ending clean XFS mount for filesystem: hda4
ReiserFS: sda1: found reiserfs format "3.6" with standard journal
ReiserFS: sda1: using ordered data mode
ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda1: checking transaction log (sda1)
ReiserFS: sda1: Using r5 hash to sort names
saa7146: register extension 'dvb'.
ACPI: PCI Interrupt 0000:00:06.0[A] -> GSI 17 (level, low) -> IRQ 17
saa7146: found saa7146 @ mem ffffc20000506e00 (revision 1, irq 17) (0x13c2,0x0000).
DVB: registering new adapter (Technotrend/Hauppauge WinTV DVB-S rev1.X).
adapter has MAC addr = 00:d0:5c:00:41:90
dvb-ttpci: gpioirq unknown type=0 len=0
dvb-ttpci: info @ card 0: firm f0240009, rtsl b0250018, vid 71010068, app 8000261d
dvb-ttpci: firmware @ card 0 supports CI link layer interface
dvb-ttpci: adac type set to 0 @ card 0
saa7146_vv: saa7146 (0): registered device video0 [v4l2]
ves1x93: Detected ves1893a rev2
DVB: registering frontend 0 (VLSI VES1x93 DVB-S)...
dvb-ttpci: found av7110-0.
saa7146: register extension 'budget dvb'.
saa7146: register extension 'budget_ci dvb'.
ACPI: PCI Interrupt 0000:00:07.0[A] -> GSI 18 (level, low) -> IRQ 18
saa7146: found saa7146 @ mem ffffc200005ecc00 (revision 1, irq 18) (0x13c2,0x100f).
DVB: registering new adapter (TT-Budget/WinTV-NOVA-CI PCI).
adapter has MAC addr = 00:d0:5c:23:a3:9b
DVB: registering frontend 1 (ST STV0299 DVB-S)...
r8169: eth0: link up

Signature · 1 line
	Gr\'egoire Favre
#51 lore raw
Quoted 5 lines · Gregoire Favre

target0:0:0: SC IS ffff81003fcaeac0
target0:0:0: ULTRA2, flags 0xc3bb
target0:0:0: scsirate IS 0x3, min_period is 10, flags 0xc3bb
Vendor: IBM Model: DDRS-39130D Rev: DC1B
Type: Direct-Access ANSI SCSI revision: 02

Well ... just to confirm for this one: although it's on a u160 controller, you have its speed configured in bios to 40MHz (rather than 80Mhz)? That's what the value of flags seems to say, and we look to be interpreting it correctly.

James

#52 lore raw
Quoted 4 lines · James Bottomley

Well ... just to confirm for this one: although it's on a u160 controller, you have its speed configured in bios to 40MHz (rather than 80Mhz)? That's what the value of flags seems to say, and we look to be interpreting it correctly.

Yes, due to those problem, I have reduced all devices speed on both controllers. Now I think I can put the HD to 160 and my CD-writers to 20 :-) (Maybe I could try to also put the DVD-Rom to 20).

Do you think it's safe to use this patched 2.6.12-rc6 (I could stay under 2.6.12-rc2 till 2.6.12-rc7 or 2.6.12 comes out) ?

Thank you very much,

Signature · 1 line
	Gr\'egoire Favre
#56 lore raw
In reply to Frank van Maarseveen
Quoted 6 lines · Frank van Maarseveen
kernel:    Vendor: WANGTEK   Model: 5525ES SCSI       Rev: 73F 
kernel:    Type:   Sequential-Access                  ANSI SCSI
revision: 02
kernel:   target0:0:4: Beginning Domain Validation
kernel:   target0:0:4: Domain Validation skipping write tests
kernel:  scsi0:0:4:0: Attempting to queue an ABORT message

The aic7xxx error handling is still very unreconstructed and DV takes the driver through this if there's a mismatch. My best guess is that like Gr\'egoir's CD-ROM, your wangtek is claiming to support a speed it cannot. We find this out in DV, but not until we've gone through all the error paths. The quick fix is simply to set the bios to whatever the tape eventually configures with (although you'll need the current patch set to make that work properly).

James

#53 lore raw
In reply to Gregoire Favre
Quoted 3 lines · Gregoire Favre

Yes, due to those problem, I have reduced all devices speed on both controllers. Now I think I can put the HD to 160 and my CD-writers to 20 :-) (Maybe I could try to also put the DVD-Rom to 20).

Actually, I think the problem is that the DVD-Rom thinks it can run at 20 but actually can't

Quoted 2 lines

Do you think it's safe to use this patched 2.6.12-rc6 (I could stay under 2.6.12-rc2 till 2.6.12-rc7 or 2.6.12 comes out) ?

Well ... look at it this way ... if no-one finds anything wrong with the patches, they'll be going straight into the kernel tree after 2.6.12, so I trust them as much as that ...

James

#54 lore raw

Re: What breaks aic7xxx in post 2.6.12-rc2 ? (fixed in 2.6.12-rc6 with patches)

Quoted 2 lines · James Bottomley

Actually, I think the problem is that the DVD-Rom thinks it can run at 20 but actually can't

You are almost certainly right : setting the speed in BIOS back to 20 and I can't boot, but I can with 16 :-)

Quoted 3 lines

Well ... look at it this way ... if no-one finds anything wrong with the patches, they'll be going straight into the kernel tree after 2.6.12, so I trust them as much as that ...

I will test it for a few days like right now, and I have now set all speed back to full (except for the DVD) :

scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36

        <Adaptec 29160B Ultra160 SCSI adapter>
        aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

target0:0:0: SC IS ffff81003fcaeac0
target0:0:0: ULTRA2, flags 0xc33a
target0:0:0: scsirate IS 0x2, min_period is 9, flags 0xc33a
Vendor: IBM Model: DDRS-39130D Rev: DC1B
Type: Direct-Access ANSI SCSI revision: 02
target0:0:0: asynchronous.
scsi0:A:0:0: Tagged Queuing enabled. Depth 253
target0:0:0: Beginning Domain Validation
target0:0:0: wide asynchronous.
target0:0:0: Domain Validation skipping write tests target0:0:0: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 15) target0:0:0: Ending Domain Validation
...
target0:0:15: SC IS ffff81003fcaeac0
target0:0:15: ULTRA2, flags 0xc13a
target0:0:15: scsirate IS 0x2, min_period is 9, flags 0xc13a
Vendor: SEAGATE Model: ST336706LW Rev: 0108
Type: Direct-Access ANSI SCSI revision: 03
target0:0:15: asynchronous.
scsi0:A:15:0: Tagged Queuing enabled. Depth 253
target0:0:15: Beginning Domain Validation
target0:0:15: wide asynchronous.
target0:0:15: FAST-80 WIDE SCSI 160.0 MB/s ST (12.5 ns, offset 63) target0:0:15: Ending Domain Validation
scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec 2940 Ultra SCSI adapter>
aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs

target1:0:0: SC IS ffff81003fcae980
target1:0:0: scsirate IS 0x0, min_period is 12, flags 0xc158 target1:0:1: SC IS ffff81003fcae980
target1:0:1: scsirate IS 0x10, min_period is 15, flags 0xc159 target1:0:1: asynchronous.
Vendor: TOSHIBA Model: DVD-ROM SD-M1201 Rev: 1R08
Type: CD-ROM ANSI SCSI revision: 02
target1:0:1: Beginning Domain Validation target1:0:1: Domain Validation skipping write tests target1:0:1: FAST-20 SCSI 16.7 MB/s ST (60 ns, offset 15) target1:0:1: Ending Domain Validation
target1:0:2: SC IS ffff81003fcae980
target1:0:2: scsirate IS 0x0, min_period is 12, flags 0xc158 target1:0:2: asynchronous.
Vendor: PLEXTOR Model: CD-R PX-R820T Rev: 1.08
Type: CD-ROM ANSI SCSI revision: 02
target1:0:2: Beginning Domain Validation target1:0:2: Domain Validation skipping write tests target1:0:2: FAST-10 SCSI 10.0 MB/s ST (100 ns, offset 8) target1:0:2: Ending Domain Validation
target1:0:3: SC IS ffff81003fcae980
target1:0:3: scsirate IS 0x0, min_period is 12, flags 0xc158 target1:0:3: asynchronous.
Vendor: PLEXTOR Model: CD-R PX-R820T Rev: 1.08
Type: CD-ROM ANSI SCSI revision: 02
target1:0:3: Beginning Domain Validation target1:0:3: Domain Validation skipping write tests target1:0:3: FAST-10 SCSI 10.0 MB/s ST (100 ns, offset 8) target1:0:3: Ending Domain Validation

Thank you very much !!!

Signature · 1 line
	Gr\'egoire Favre
#57 lore raw
In reply to James Bottomley
Quoted 8 lines · James Bottomley
Quoted 6 lines · Frank van Maarseveen
kernel:    Vendor: WANGTEK   Model: 5525ES SCSI       Rev: 73F 
kernel:    Type:   Sequential-Access                  ANSI SCSI
revision: 02
kernel:   target0:0:4: Beginning Domain Validation
kernel:   target0:0:4: Domain Validation skipping write tests
kernel:  scsi0:0:4:0: Attempting to queue an ABORT message
Quoted 7 lines

The aic7xxx error handling is still very unreconstructed and DV takes the driver through this if there's a mismatch. My best guess is that like Gr\'egoir's CD-ROM, your wangtek is claiming to support a speed it cannot. We find this out in DV, but not until we've gone through all the error paths. The quick fix is simply to set the bios to whatever the tape eventually configures with (although you'll need the current patch set to make that work properly).

Well, I can't seem to find the right collection of patches applying cleanly on 2.6.12-rc6 and the Adaptec BIOS says "ASYNC". It cannot go below 10MB/s and the tape unit can't go above 3.3 according to /proc/scsi/aic7xxx/0 I think:

Target 4 Negotiation Settings
User: 6.600MB/s transfers (16bit)
Goal: 3.300MB/s transfers
Curr: 3.300MB/s transfers
Channel A Target 4 Lun 0 Settings
Commands Queued 61
Commands Active 0
Command Openings 1
Max Tagged Openings 0
Device Queue Frozen Count 0

So, I'm kind of stuck with a very slow driver initialization. I think it takes much longer than the 30 seconds visible in the logfile, at least that's the impression I have (I'll use a stopwatch next time).

Signature · 1 line
Frank
#58 lore raw
Quoted 4 lines · Frank van Maarseveen

So, I'm kind of stuck with a very slow driver initialization. I think it takes much longer than the 30 seconds visible in the logfile, at least that's the impression I have (I'll use a stopwatch next time).

The -rc6 aic7 driver needs just over 7 minutes to recover from this tape unit. In -rc3 this was 80 seconds. -rc2 had no problem.

I don't really need this old tape unit and I don't [re-]boot that often so it is not a problem for me. Anyway, if something needs to be tested then mail me a patch (for stock rc6) and I'll try it.

Signature · 1 line
Frank
#59 lore raw
Quoted 6 lines · Frank van Maarseveen

The -rc6 aic7 driver needs just over 7 minutes to recover from this tape unit. In -rc3 this was 80 seconds. -rc2 had no problem.

I don't really need this old tape unit and I don't [re-]boot that often so it is not a problem for me. Anyway, if something needs to be tested then mail me a patch (for stock rc6) and I'll try it.

Well, the patches to try are the scsi-misc ones:

http://parisc-linux.org/~jejb/scsi_diffs/scsi-misc-2.6.diff

James

#60 lore raw
Quoted 2 lines · James Bottomley

http://parisc-linux.org/~jejb/scsi_diffs/scsi-misc-2.6.diff

Not an improvement for me: now the driver goes into battle with my other SCSI device, a CD burner. It hangs completely during boot, no alt-sysrq-anything.

Screen capture at hanging point, see http://www.frankvm.com/tmp/hang.jpg

/proc/scsi info under 2.6.11-rc5 (it just happens to be the previous kernel I use):

$ cat /proc/scsi/scsi 
Attached devices:
Host: scsi0 Channel: 00 Id: 03 Lun: 00
  Vendor: YAMAHA   Model: CRW6416S         Rev: 1.0b
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: WANGTEK  Model: 5525ES SCSI      Rev: 73F 
  Type:   Sequential-Access                ANSI SCSI revision: 02
$ cat /proc/scsi/aic7xxx/0 
Adaptec AIC7xxx driver version: 6.2.36
Adaptec aic7890/91 Ultra2 SCSI adapter
aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
Allocated SCBs: 4, SG List Length: 128

Serial EEPROM:
0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3b3 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0x18a2 0x1c5e 0x2807 0x0010 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0x98b4

Target 0 Negotiation Settings

        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 1 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 2 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)

Target 3 Negotiation Settings
User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Goal: 10.000MB/s transfers (10.000MHz, offset 15)
Curr: 10.000MB/s transfers (10.000MHz, offset 15) Channel A Target 3 Lun 0 Settings
Commands Queued 8
Commands Active 0
Command Openings 1
Max Tagged Openings 0
Device Queue Frozen Count 0
Target 4 Negotiation Settings
User: 6.600MB/s transfers (16bit)
Goal: 3.300MB/s transfers
Curr: 3.300MB/s transfers
Channel A Target 4 Lun 0 Settings
Commands Queued 2
Commands Active 0
Command Openings 1
Max Tagged Openings 0
Device Queue Frozen Count 0
Target 5 Negotiation Settings

        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 6 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 7 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 8 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 9 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 10 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 11 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 12 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 13 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 14 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 15 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Signature · 1 line
Frank
#61 lore raw
Quoted 43 lines · Frank van Maarseveen

Target 3 Negotiation Settings
User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Goal: 10.000MB/s transfers (10.000MHz, offset 15)
Curr: 10.000MB/s transfers (10.000MHz, offset 15) Channel A Target 3 Lun 0 Settings
Commands Queued 8
Commands Active 0
Command Openings 1
Max Tagged Openings 0
Device Queue Frozen Count 0
Target 4 Negotiation Settings
User: 6.600MB/s transfers (16bit)
Goal: 3.300MB/s transfers
Curr: 3.300MB/s transfers
Channel A Target 4 Lun 0 Settings
Commands Queued 2
Commands Active 0
Command Openings 1
Max Tagged Openings 0
Device Queue Frozen Count 0
Target 5 Negotiation Settings

        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 6 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 7 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 8 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 9 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 10 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 11 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 12 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 13 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 14 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Target 15 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
#62 lore raw
In reply to Frank van Maarseveen
Quoted 3 lines · Frank van Maarseveen
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
        Goal: 10.000MB/s transfers (10.000MHz, offset 15)
        Curr: 10.000MB/s transfers (10.000MHz, offset 15)

This would be why ... you need to set you bios to 10MHz narrow (it's currently set to 40MHz wide).

James

#63 lore raw
Quoted 7 lines · James Bottomley
Quoted 3 lines · Frank van Maarseveen
        User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
        Goal: 10.000MB/s transfers (10.000MHz, offset 15)
        Curr: 10.000MB/s transfers (10.000MHz, offset 15)

This would be why ... you need to set you bios to 10MHz narrow (it's currently set to 40MHz wide).

No luck doing so. I tried 10MB, 5MB(8 bit), booting UP (I have a dual PIII 450), it doesn't really seem to make any difference.

I've set the aic BIOS back to über speed (80MB, wide negotiation) everywhere and booted 2.6.11-rc5 again:

Jun 15 22:43:00 iapetus kernel: Uniform CD-ROM driver Revision: 3.20
Jun 15 22:43:00 iapetus kernel: scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
Jun 15 22:43:00 iapetus kernel:         <Adaptec aic7890/91 Ultra2 SCSI adapter>
Jun 15 22:43:00 iapetus kernel:         aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
Jun 15 22:43:00 iapetus kernel: 
Jun 15 22:43:00 iapetus kernel: (scsi0:A:3): 10.000MB/s transfers (10.000MHz, offset 15)
Jun 15 22:43:00 iapetus kernel:   Vendor: YAMAHA    Model: CRW6416S          Rev: 1.0b
Jun 15 22:43:00 iapetus kernel:   Type:   CD-ROM                             ANSI SCSI revision: 02
Jun 15 22:43:00 iapetus kernel: scsi0:0:4:0: Attempting to queue an ABORT message
Jun 15 22:43:00 iapetus kernel: CDB: 0x12 0x0 0x0 0x0 0x24 0x0
Jun 15 22:43:00 iapetus kernel: scsi0: At time of recovery, card was not paused
Jun 15 22:43:00 iapetus kernel: >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
Jun 15 22:43:00 iapetus kernel: scsi0: Dumping Card State in Message-out phase, at SEQADDR 0x16e
Jun 15 22:43:00 iapetus kernel: Card was paused
Jun 15 22:43:00 iapetus kernel: ACCUM = 0xa0, SINDEX = 0x61, DINDEX = 0xe4, ARG_2 = 0x0
Jun 15 22:43:00 iapetus kernel: HCNT = 0x0 SCBPTR = 0x0
Jun 15 22:43:00 iapetus kernel: SCSISIGI[0xa4]:(BSYI|MSGI|CDI) ERROR[0x0] SCSIBUSL[0x7] 
Jun 15 22:43:00 iapetus kernel: LASTPHASE[0xa0]:(MSGI|CDI) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI) 
Jun 15 22:43:01 iapetus kernel: SBLKCTL[0xa]:(SELWIDE|SELBUSB) SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) 
Jun 15 22:43:01 iapetus kernel: SEQ_FLAGS[0x40]:(NO_CDB_SENT) SSTAT0[0x0] SSTAT1[0x2]:(PHASECHG) 
Jun 15 22:43:01 iapetus kernel: SSTAT2[0x10]:(EXP_ACTIVE) SSTAT3[0x0] SIMODE0[0x8]:(ENSWRAP) 
Jun 15 22:43:01 iapetus kernel: SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO) 
Jun 15 22:43:01 iapetus kernel: SXFRCTL0[0x88]:(SPIOEN|DFON) DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) 
Jun 15 22:43:01 iapetus kernel: STACK: 0xe4 0x0 0x166 0x17c
Jun 15 22:43:01 iapetus kernel: SCB count = 4
Jun 15 22:43:01 iapetus kernel: Kernel NEXTQSCB = 2
Jun 15 22:43:01 iapetus kernel: Card NEXTQSCB = 2
Jun 15 22:43:01 iapetus kernel: QINFIFO entries: 
Jun 15 22:43:01 iapetus kernel: Waiting Queue entries: 
Jun 15 22:43:01 iapetus kernel: Disconnected Queue entries: 
Jun 15 22:43:01 iapetus kernel: QOUTFIFO entries: 
Jun 15 22:43:01 iapetus kernel: Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 
Jun 15 22:43:01 iapetus kernel: Sequencer SCB Info: 
Jun 15 22:43:01 iapetus kernel:   0 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0x47] SCB_LUN[0x0] 
Jun 15 22:43:01 iapetus kernel: SCB_TAG[0x3] 
Jun 15 22:43:01 iapetus kernel:   1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:   2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:   3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:   4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:   5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:   6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:   7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:   8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:   9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  16 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  17 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  18 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  19 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  20 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  21 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  22 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  23 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  24 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  25 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  26 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  27 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  28 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  29 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  30 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel:  31 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
Jun 15 22:43:01 iapetus kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
Jun 15 22:43:01 iapetus kernel: Pending list: 
Jun 15 22:43:01 iapetus kernel:   3 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0x47] SCB_LUN[0x0] 
Jun 15 22:43:02 iapetus kernel: Kernel Free SCB list: 1 0 
Jun 15 22:43:02 iapetus kernel: Untagged Q(4): 3 
Jun 15 22:43:02 iapetus kernel: DevQ(0:3:0): 0 waiting
Jun 15 22:43:02 iapetus kernel: DevQ(0:4:0): 0 waiting
Jun 15 22:43:02 iapetus kernel: 
Jun 15 22:43:02 iapetus kernel: <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
Jun 15 22:43:02 iapetus kernel: scsi0:0:4:0: Device is active, asserting ATN
Jun 15 22:43:02 iapetus kernel: Recovery code sleeping
Jun 15 22:43:02 iapetus kernel: Recovery code awake
Jun 15 22:43:02 iapetus kernel: Timer Expired
Jun 15 22:43:02 iapetus kernel: aic7xxx_abort returns 0x2003
Jun 15 22:43:02 iapetus kernel: scsi0:0:4:0: Attempting to queue a TARGET RESET message
Jun 15 22:43:02 iapetus kernel: CDB: 0x12 0x0 0x0 0x0 0x24 0x0
Jun 15 22:43:02 iapetus kernel: aic7xxx_dev_reset returns 0x2003
Jun 15 22:43:02 iapetus kernel: Recovery SCB completes
Jun 15 22:43:02 iapetus kernel:   Vendor: WANGTEK   Model: 5525ES SCSI       Rev: 73F 
Jun 15 22:43:02 iapetus kernel:   Type:   Sequential-Access                  ANSI SCSI revision: 02
Jun 15 22:43:02 iapetus kernel: st: Version 20041025, fixed bufsize 32768, s/g segs 256
Jun 15 22:43:02 iapetus kernel: Attached scsi tape st0 at scsi0, channel 0, id 4, lun 0
Jun 15 22:43:02 iapetus kernel: st0: try direct i/o: yes (alignment 512 B), max page reachable by HBA 1048575
Jun 15 22:43:02 iapetus kernel: sr0: scsi3-mmc drive: 16x/16x writer cd/rw xa/form2 cdda tray
Jun 15 22:43:02 iapetus kernel: Attached scsi generic sg0 at scsi0, channel 0, id 3, lun 0,  type 5
Jun 15 22:43:02 iapetus kernel: Attached scsi generic sg1 at scsi0, channel 0, id 4, lun 0,  type 1

so no real problem here.

Signature · 5 lines
Frank
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html