Skip to contentSkip to conversation

aix7xxx_old woes in 2.5

DISCUSSION Andrew Morton 3 participants 4 messages Dec 15, 2002 – Dec 16, 2002 SCSI

lore
Share & tools
lore
#0 lore raw

ho hum.

It just doesn't start at all:

scsi HBA driver <NULL> didn't set max_sectors, please fix the template<6>(scsi0) <Adaptec AIC-7892 Ultra 160/m SCSI host adapter> found at PCI 3/4/0 (scsi0) Wide Channel, SCSI ID=7, 32/255 SCBs
(scsi0) Downloading sequencer code... 396 instructions downloaded
(scsi1) <Adaptec AIC-7880 Ultra SCSI host adapter> found at PCI 0/10/0
(scsi1) Wide Channel, SCSI ID=7, 16/255 SCBs
(scsi1) Downloading sequencer code... 436 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.2.6/5.2.0
<Adaptec AIC-7892 Ultra 160/m SCSI host adapter>
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 0 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 1 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 2 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 3 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 4 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 5 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 6 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 8 lun 0

(The above took three minutes or more)

Note that I have set the machine's BIOS up to not run external BIOSes, so the Adaptec firmware is not being used. Reboot times are unacceptable otherwise.

This doesn't seem to offend the 2.4 aic7xxx driver, nor the 2.5 aic7xxx 75% of the time...

#1 lore raw
Quoted 22 lines · Andrew Morton

ho hum.

It just doesn't start at all:

scsi HBA driver <NULL> didn't set max_sectors, please fix the template<6>(scsi0) <Adaptec AIC-7892 Ultra 160/m SCSI host adapter> found at PCI 3/4/0 (scsi0) Wide Channel, SCSI ID=7, 32/255 SCBs
(scsi0) Downloading sequencer code... 396 instructions downloaded
(scsi1) <Adaptec AIC-7880 Ultra SCSI host adapter> found at PCI 0/10/0
(scsi1) Wide Channel, SCSI ID=7, 16/255 SCBs
(scsi1) Downloading sequencer code... 436 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.2.6/5.2.0
<Adaptec AIC-7892 Ultra 160/m SCSI host adapter>
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 0 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 1 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 2 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 3 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 4 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 5 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 6 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 8 lun 0

Quoted 1 line

(The above took three minutes or more)

Interrupt routing problems is what that looks like to me, not driver problems. Try booting with different interrupt settings or with a different kernel (smp vs. up, that sort of thing).

Signature · 4 lines
  Doug Ledford <[email protected]>     919-754-3700 x44233
         Red Hat, Inc. 
         1801 Varsity Dr.
         Raleigh, NC 27606
#2 lore raw
Quoted 24 lines · Doug Ledford
Quoted 22 lines · Andrew Morton

ho hum.

It just doesn't start at all:

scsi HBA driver <NULL> didn't set max_sectors, please fix the template<6>(scsi0) <Adaptec AIC-7892 Ultra 160/m SCSI host adapter> found at PCI 3/4/0 (scsi0) Wide Channel, SCSI ID=7, 32/255 SCBs
(scsi0) Downloading sequencer code... 396 instructions downloaded
(scsi1) <Adaptec AIC-7880 Ultra SCSI host adapter> found at PCI 0/10/0
(scsi1) Wide Channel, SCSI ID=7, 16/255 SCBs
(scsi1) Downloading sequencer code... 436 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.2.6/5.2.0
<Adaptec AIC-7892 Ultra 160/m SCSI host adapter>
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 0 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 1 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 2 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 3 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 4 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 5 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 6 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 8 lun 0

Quoted 5 lines
Quoted 1 line

(The above took three minutes or more)

Interrupt routing problems is what that looks like to me, not driver problems. Try booting with different interrupt settings or with a different kernel (smp vs. up, that sort of thing).

Uniprocessor, no IO-APIC. No go:

CPU0

  0:     736412          XT-PIC  timer
  1:         15          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  4:          0          XT-PIC  GDB-stub
  8:          1          XT-PIC  rtc
 11:        294          XT-PIC  ide2, ide3, ide4, ide5, aic7xxx, aic7xxx, eth0
 12:         52          XT-PIC  i8042
 14:       2848          XT-PIC  ide0
 15:          8          XT-PIC  ide1
NMI:          0 
ERR:          0

(Doesn't this rule out your theory? If it's asserting the IRQ, we will take an interrupt with this configuration?)

Uniprocessor, IO-APIC:

CPU0

  0:     654721    IO-APIC-edge  timer
  1:         15    IO-APIC-edge  i8042
  2:          0          XT-PIC  cascade
  4:          0    IO-APIC-edge  GDB-stub
  8:          1    IO-APIC-edge  rtc
 12:         55    IO-APIC-edge  i8042
 14:       2835    IO-APIC-edge  ide0
 15:         10    IO-APIC-edge  ide1
 19:         43   IO-APIC-level  ide2, ide3, ide4, ide5
 35:          0   IO-APIC-level  aic7xxx
 38:        296   IO-APIC-level  eth0
 58:        137   IO-APIC-level  aic7xxx
NMI:        668 
LOC:     654631 
ERR:          0
MIS:          0

I assume SMP/IO-APIC will do the same thing (takes too darn long to go through them all).

Why should aic7xxx_old have this problem, and not aic7xxx?

Here's /proc/interrupts with aic7xxx, uniproc, IO-APIC:

CPU0

  0:      38650    IO-APIC-edge  timer
  1:         16    IO-APIC-edge  i8042
  2:          0          XT-PIC  cascade
  4:          0    IO-APIC-edge  GDB-stub
  8:          1    IO-APIC-edge  rtc
 12:         55    IO-APIC-edge  i8042
 14:       2726    IO-APIC-edge  ide0
 15:         10    IO-APIC-edge  ide1
 19:         43   IO-APIC-level  ide2, ide3, ide4, ide5
 35:        391   IO-APIC-level  aic7xxx
 38:        115   IO-APIC-level  eth0
 58:        284   IO-APIC-level  aic7xxx
NMI:         48 
LOC:      38516 
ERR:          0
MIS:          0

Just the same, only this time it's generating interrupts. I don't think this is a mainboard problem.

The logs say:

scsi HBA driver <NULL> didn't set max_sectors, please fix the template
(scsi0) <Adaptec AIC-7892 Ultra 160/m SCSI host adapter> found at PCI 3/4/0
(scsi0) Wide Channel, SCSI ID=7, 32/255 SCBs
(scsi0) Downloading sequencer code... 396 instructions downloaded
(scsi1) <Adaptec AIC-7880 Ultra SCSI host adapter> found at PCI 0/10/0
(scsi1) Wide Channel, SCSI ID=7, 16/255 SCBs
(scsi1) Downloading sequencer code... 436 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.2.6/5.2.0
<Adaptec AIC-7892 Ultra 160/m SCSI host adapter>
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 0 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 1 lun 0

Maybe the 7892 sequencer code is bust??

#3 lore raw
In reply to Andrew Morton
Quoted 27 lines · Andrew Morton

ho hum.

It just doesn't start at all:

scsi HBA driver <NULL> didn't set max_sectors, please fix the template<6>(scsi0) <Adaptec AIC-7892 Ultra 160/m SCSI host adapter> found at PCI 3/4/0 (scsi0) Wide Channel, SCSI ID=7, 32/255 SCBs
(scsi0) Downloading sequencer code... 396 instructions downloaded
(scsi1) <Adaptec AIC-7880 Ultra SCSI host adapter> found at PCI 0/10/0
(scsi1) Wide Channel, SCSI ID=7, 16/255 SCBs
(scsi1) Downloading sequencer code... 436 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.2.6/5.2.0
<Adaptec AIC-7892 Ultra 160/m SCSI host adapter>
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 0 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 1 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 2 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 3 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 4 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 5 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 6 lun 0
scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 8 lun 0

(The above took three minutes or more)

Note that I have set the machine's BIOS up to not run external BIOSes, so the Adaptec firmware is not being used. Reboot times are unacceptable otherwise.

Quoted 6 lines

This doesn't seem to offend the 2.4 aic7xxx driver, nor the 2.5 aic7xxx 75% of the time...
-
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

I had some problems like this with a megaraid card recently. Once I turned off ACPI in the config, things started working OK.

Signature · 1 line
Mark Haverkamp <[email protected]>