[lug] Adding 2nd SCSI card

Gary Hodges Gary.Hodges at noaa.gov
Fri Oct 11 09:28:19 MDT 2002


"D. Stimits" wrote:
> 
> Gary Hodges wrote:
> >
> > In the spirit of "short and sweet", what am I missing about getting the
> > machine to boot from the LSI card?  At this point I'd like to just try
> > it out without the Adaptec card.
> 
> Items to check would be that you built support as a module, and included
> the module in the mkinitrd; that your version of mkinitrd (or anything
> related in kernel docs subdirectory Documentation/, file Changes, is up
> to date). 

mkinitrd was the ticket.  Thanks much for the suggestion.  A couple of
us spent a good bit of time poking around late yesterday and it sure
seemed like everything (mostly) was what it should be and where it
should be.  In the end we made a new image file without making any other
changes and it worked like a champ.  We made a few test reads and writes
to the RAID tower and it worked fine.  We are suspecting the Adaptec
card _may_ be the problem, but were going to hold off on making that
judgment for a while still.  If it is the card we've had some bad luck
with the hardware in that machine.  We replaced a bad 1 GB Corsair DIMM
already.

While I'm on the subject I'd like to run a couple related things by the
group.  Here is a listing of /proc/interrupts

           CPU0       CPU1       
  0:    2862985    2880910    IO-APIC-edge  timer
  1:       1080        979    IO-APIC-edge  keyboard
  2:          0          0          XT-PIC  cascade
  5:     100414      97914   IO-APIC-level  aic7xxx
  8:          2          0    IO-APIC-edge  rtc
  9:      31187      29965   IO-APIC-level  sym53c8xx
 10:      60226      60544   IO-APIC-level  usb-ohci, eth0
 11:         15         15   IO-APIC-level  sym53c8xx
 12:      18940      17286    IO-APIC-edge  PS/2 Mouse
NMI:          0          0 
LOC:    5743845    5743825 
ERR:          0
MIS:          0

Here is modules.conf

alias parport_lowlevel parport_pc
alias eth0 3c59x
alias scsi_hostadapter aic7xxx
alias usb-controller usb-ohci
alias scsi_hostadapter1 sym53c8xx
alias scsi_hostadapter2 sym53c8xx

The LSI Logic card is a single bus LVD card.  Why is it listed twice? 
If I do a "more" on /proc/scsi/aic7xxx/0 I get a lot of useful
information about the Adaptec card.  If I do the same thing for the LSI
card I get very little.  One last item...  When a "more
/proc/scsi/aic7xxx/0" is done I see a message about a Corrupted Serial
EEPROM.  It doesn't sound normal and I'm thinking that might be related
to the problem we had.  Below is a result of both the "more
scsi/aic7xxx/0" and "more scsi/sym53c8xx/1" commands.

Thanks,
Gary

[root at quasar proc]# more scsi/aic7xxx/0 
Adaptec AIC7xxx driver version: 6.2.6
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

Corrupted Serial EEPROM

Channel A Target 0 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
        Goal: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
        Curr: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
        Channel A Target 0 Lun 0 Settings
                Commands Queued 81580
                Commands Active 0
                Command Openings 99
                Max Tagged Openings 253
                Device Queue Frozen Count 0
Channel A Target 1 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
        Goal: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
        Curr: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
        Channel A Target 1 Lun 0 Settings
                Commands Queued 19173
                Commands Active 0
                Command Openings 99
                Max Tagged Openings 253
                Device Queue Frozen Count 0
Channel A Target 2 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
        Goal: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
        Curr: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
        Channel A Target 2 Lun 0 Settings
                Commands Queued 90587
                Commands Active 0
                Command Openings 113
                Max Tagged Openings 253
                Device Queue Frozen Count 0
Channel A Target 3 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 4 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 5 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 6 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 7 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 8 Negotiation Settings
        User: 40.000MB/s transfers (20.000MHz DT, offset 255, 16bit)
        Goal: 40.000MB/s transfers (20.000MHz, offset 15, 16bit)
        Curr: 40.000MB/s transfers (20.000MHz, offset 15, 16bit)
        Channel A Target 8 Lun 0 Settings
                Commands Queued 6905
                Commands Active 0
                Command Openings 1
                Max Tagged Openings 0
                Device Queue Frozen Count 0
Channel A Target 9 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 10 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 11 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 12 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 13 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 14 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 15 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)


======================================================
[root at quasar proc]# more scsi/sym53c8xx/1 
General information:
  Chip sym53c1010-33, device id 0x20, revision id 0x1
  On PCI bus 0, device 9, function 0, IRQ 9
  Synchronous period factor 9, max commands per lun 32


======================================================
[root at quasar proc]# more scsi/sym53c8xx/2 
General information:
  Chip sym53c1010-33, device id 0x20, revision id 0x1
  On PCI bus 0, device 9, function 1, IRQ 11
  Synchronous period factor 9, max commands per lun 32



More information about the LUG mailing list