2930B BIOS recognizes Multiple LUNs -- aic7xxx doesn't

David C. Hoos, Sr. david.c.hoos.sr at ada95.com
Wed Apr 5 12:05:27 PDT 2000


Hi all,

I am using an Adaptec 2930B host adapter with a SCSI-1 device
that is actually a modem, but characterizes itself as a Direct-
Access device with one-byte block size, and a read capacity of 10,414
blocks, and 3 LUNs (0, 1, 2).

The Host Adapter BIOS detects the three LUNs during boot up,
but the Linux OS does not.  The host adapter BIOS shows three
disk drives (81h), (82h), and (83h), and flags the first as D:

The system I am working on has IDE disk and CD-ROM drives.

I am running kernel 2.2.12, and aic7xxx version 5.1.19.

I have attached a copy of /var/log/messages, commencing with the
last restart, having booted with the following options in my
/etc/lilo.conf:

append = "aic7xxx=verbose,seltime:1,dump_card,dump_sequencer"

In addition, I have attached the output of
cat /proc/scsi/aic7xxx/0

One possibility that occurred to me is that one-byte "blocks" may not
be taken as "normal" for a Direct-Access device, and therefore, the
scan for additional LUNs may not take place.

In any event, I need to use all three LUNS, because one is for write,
one for read, and one for control.

Can anyone give me a clue as to what is wrong -- i.e., why the
Linux driver does not see the three LUNs?


-------------- next part --------------
Apr  5 11:05:24 piu01 syslogd 1.3-3: restart.
Apr  5 11:05:24 piu01 syslog: syslogd startup succeeded
Apr  5 11:05:24 piu01 kernel: klogd 1.3-3, log source = /proc/kmsg started.
Apr  5 11:05:24 piu01 syslog: klogd startup succeeded
Apr  5 11:05:24 piu01 kernel: Inspecting /boot/System.map-2.2.12
Apr  5 11:05:24 piu01 kernel: Loaded 7134 symbols from /boot/System.map-2.2.12.
Apr  5 11:05:24 piu01 kernel: Symbols match kernel version 2.2.12.
Apr  5 11:05:24 piu01 kernel: No module symbols loaded.
Apr  5 11:05:24 piu01 kernel: Linux version 2.2.12 (root at piu01.hsv.crc.com) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #33 SMP Mon Apr 3 11:48:55 CDT 2000 
Apr  5 11:05:24 piu01 kernel: mapped APIC to ffffe000 (00271000) 
Apr  5 11:05:24 piu01 kernel: mapped IOAPIC to ffffd000 (00272000) 
Apr  5 11:05:24 piu01 kernel: Detected 265917796 Hz processor. 
Apr  5 11:05:24 piu01 kernel: Console: colour VGA+ 80x25 
Apr  5 11:05:24 piu01 kernel: Calibrating delay loop... 265.42 BogoMIPS 
Apr  5 11:05:24 piu01 kernel: Memory: 63000k/65536k available (1120k kernel code, 424k reserved, 940k data, 52k init) 
Apr  5 11:05:24 piu01 kernel: Checking 386/387 coupling... OK, FPU using exception 16 error reporting. 
Apr  5 11:05:24 piu01 kernel: Checking 'hlt' instruction... OK. 
Apr  5 11:05:24 piu01 kernel: POSIX conformance testing by UNIFIX 
Apr  5 11:05:24 piu01 kernel: mtrr: v1.35a (19990819) Richard Gooch (rgooch at atnf.csiro.au) 
Apr  5 11:05:24 piu01 kernel: per-CPU timeslice cutoff: 100.34 usecs. 
Apr  5 11:05:24 piu01 kernel: CPU0: Intel Pentium II (Klamath) stepping 03 
Apr  5 11:05:24 piu01 kernel: SMP motherboard not detected. Using dummy APIC emulation. 
Apr  5 11:05:24 piu01 kernel: PCI: PCI BIOS revision 2.10 entry at 0xfda11 
Apr  5 11:05:24 piu01 kernel: PCI: Using configuration type 1 
Apr  5 11:05:24 piu01 kernel: PCI: Probing PCI hardware 
Apr  5 11:05:24 piu01 kernel: PCI: 00:00 [8086/1237]: Passive release enable (00) 
Apr  5 11:05:24 piu01 kernel: Linux NET4.0 for Linux 2.2 
Apr  5 11:05:24 piu01 kernel: Based upon Swansea University Computer Society NET3.039 
Apr  5 11:05:24 piu01 kernel: NET4: Unix domain sockets 1.0 for Linux NET4.0. 
Apr  5 11:05:24 piu01 kernel: NET4: Linux TCP/IP 1.0 for NET4.0 
Apr  5 11:05:24 piu01 kernel: IP Protocols: ICMP, UDP, TCP, IGMP 
Apr  5 11:05:24 piu01 kernel: Starting kswapd v 1.5  
Apr  5 11:05:24 piu01 kernel: parport0: PC-style at 0x378 [SPP] 
Apr  5 11:05:24 piu01 kernel: parport0: no IEEE-1284 device present. 
Apr  5 11:05:24 piu01 kernel: Detected PS/2 Mouse Port. 
Apr  5 11:05:24 piu01 kernel: Serial driver version 4.27 with no serial options enabled 
Apr  5 11:05:24 piu01 kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A 
Apr  5 11:05:24 piu01 kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A 
Apr  5 11:05:24 piu01 kernel: pty: 256 Unix98 ptys configured 
Apr  5 11:05:24 piu01 kernel: lp0: using parport0 (polling). 
Apr  5 11:05:24 piu01 kernel: Real Time Clock Driver v1.09 
Apr  5 11:05:24 piu01 kernel: Non-volatile memory driver v1.0 
Apr  5 11:05:24 piu01 kernel: RAM disk driver initialized:  16 RAM disks of 4096K size 
Apr  5 11:05:24 piu01 kernel: loop: registered device at major 7 
Apr  5 11:05:24 piu01 kernel: PIIX3: IDE controller on PCI bus 00 dev 39 
Apr  5 11:05:24 piu01 kernel: PIIX3: not 100% native mode: will probe irqs later 
Apr  5 11:05:24 piu01 kernel:     ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:pio, hdb:pio 
Apr  5 11:05:24 piu01 kernel:     ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:pio 
Apr  5 11:05:24 piu01 kernel: hda: WDC AC24300L, ATA DISK drive 
Apr  5 11:05:24 piu01 kernel: hdc: FX240S, ATAPI CDROM drive 
Apr  5 11:05:24 piu01 kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 
Apr  5 11:05:24 piu01 kernel: ide1 at 0x170-0x177,0x376 on irq 15 
Apr  5 11:05:24 piu01 kernel: hda: WDC AC24300L, 4112MB w/256kB Cache, CHS=524/255/63, (U)DMA 
Apr  5 11:05:24 piu01 kernel: hdc: ATAPI 24X CD-ROM drive, 256kB Cache 
Apr  5 11:05:24 piu01 kernel: Uniform CDROM driver Revision: 2.55 
Apr  5 11:05:24 piu01 kernel: Floppy drive(s): fd0 is 1.44M 
Apr  5 11:05:24 piu01 kernel: FDC 0 is a National Semiconductor PC87306 
Apr  5 11:05:24 piu01 kernel: (scsi0) <Adaptec AIC-7860 Ultra SCSI host adapter> found at PCI 11/0 
Apr  5 11:05:24 piu01 kernel: (scsi0) Narrow Channel, SCSI ID=7, 3/255 SCBs 
Apr  5 11:05:24 piu01 kernel: (scsi0) Warning - detected auto-termination 
Apr  5 11:05:24 piu01 kernel: (scsi0) Please verify driver detected settings are correct. 
Apr  5 11:05:24 piu01 kernel: (scsi0) If not, then please properly set the device termination 
Apr  5 11:05:24 piu01 kernel: (scsi0) in the Adaptec SCSI BIOS by hitting CTRL-A when prompted 
Apr  5 11:05:24 piu01 kernel: (scsi0) during machine bootup. 
Apr  5 11:05:24 piu01 kernel: (scsi0) Cables present (Int-50 NO, Ext-50 YES) 
Apr  5 11:05:24 piu01 kernel: (scsi0) Downloading sequencer code... 413 instructions downloaded 
Apr  5 11:05:24 piu01 kernel: Adaptec AIC-7860 Ultra SCSI host adapter at PCI 11/0. 
Apr  5 11:05:24 piu01 kernel: PCI Dump: 
Apr  5 11:05:24 piu01 kernel: 04:07 05:00 06:80 07:02 08:01 0c:08 0d:28 0e:00 10:01 11:fc 12:00 13:00 14:00  
Apr  5 11:05:24 piu01 kernel: 15:f0 16:be 17:ff 28:00 29:00 2a:00 2b:00 30:00 31:00 32:00 33:00 3c:0a 3d:01  
Apr  5 11:05:24 piu01 kernel: 3e:04 3f:04 40:40 41:11 43:80 44:40 45:11 46:00 47:80  
Apr  5 11:05:24 piu01 kernel: Card Dump: 
Apr  5 11:05:24 piu01 kernel: 00:00 01:80 02:3f 03:00 04:00 05:07 08:00 09:00 0a:00 0b:05 0c:00 0d:00 0e:00  
Apr  5 11:05:24 piu01 kernel: 0f:00 10:00 11:a4 18:03 19:00 1a:00 1b:1b 1c:00 1d:40 1e:11 1f:00 60:10 62:09  
Apr  5 11:05:24 piu01 kernel: 63:00 64:00 65:00 66:00 80:04 81:90 82:78 83:60 84:a1 85:28 86:c0 87:06 88:00  
Apr  5 11:05:24 piu01 kernel: 89:00 8a:00 8b:00 8c:00 8d:00 8e:00 90:00 91:00 92:00 93:00 94:29 95:00 97:00  
Apr  5 11:05:24 piu01 kernel: 9a:00 9b:00 9c:00 9d:00 9e:00 9f:00  
Apr  5 11:05:24 piu01 kernel: SEEPROM dump. 
Apr  5 11:05:24 piu01 kernel: 0x0b10  0x0b10  0x0b10  0x0b10  0x0b10  0x0b10  0x0b10  0x0b10 
Apr  5 11:05:24 piu01 kernel: 0x0238  0x0238  0x0238  0x0238  0x0238  0x0238  0x0238  0x0238 
Apr  5 11:05:24 piu01 kernel: 0x0034  0x005d  0x2807  0x0008  0xffff  0xffff  0xffff  0xffff 
Apr  5 11:05:24 piu01 kernel: 0xffff  0xffff  0xffff  0xffff  0xffff  0xffff  0xffff  0x92d5 
Apr  5 11:05:24 piu01 kernel: Scratch RAM: 
Apr  5 11:05:24 piu01 kernel: 20:00 21:00 22:00 23:00 24:00 25:00 26:00 27:00 28:ff 29:ff 2a:ff 2b:ff 2c:ff  
Apr  5 11:05:24 piu01 kernel: 2d:ff 2e:ff 2f:ff 30:00 31:00 32:00 33:ff 34:08 35:c8 36:00 37:08 38:00 39:39  
Apr  5 11:05:24 piu01 kernel: 3a:00 3b:00 3c:00 3d:01 3e:ff 3f:ff 40:00 41:00 42:60 43:fd 44:03 45:78 46:93  
Apr  5 11:05:24 piu01 kernel: 47:fd 48:03 49:00 4a:00 4b:00 4c:00 4d:00 4e:00 4f:00 50:00 51:7f 52:7f 53:08  
Apr  5 11:05:24 piu01 kernel: 54:7f 55:7f 56:ff 57:ff 58:ff 59:ff 5a:27 5b:07 5c:ff 5d:ff 5e:ff 5f:ff  
Apr  5 11:05:24 piu01 kernel: scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.19/3.2.4 
Apr  5 11:05:24 piu01 kernel:        <Adaptec AIC-7860 Ultra SCSI host adapter> 
Apr  5 11:05:24 piu01 kernel: scsi : 1 host. 
Apr  5 11:05:24 piu01 kernel:   Vendor: NAVOX TC  Model: IM S/N:016329  P  Rev: WB V 
Apr  5 11:05:24 piu01 kernel:   Type:   Direct-Access                      ANSI SCSI revision: 01 
Apr  5 11:05:24 piu01 kernel: scsi : detected total. 
Apr  5 11:05:24 piu01 kernel: 3c59x.c:v0.99H 11/17/98 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html 
Apr  5 11:05:24 piu01 kernel: eth0: 3Com 3c905 Boomerang 100baseTx at 0xff00,  00:10:4b:87:3b:ed, IRQ 9 
Apr  5 11:05:24 piu01 kernel:   8K word-wide RAM 3:5 Rx:Tx split, autoselect/MII interface. 
Apr  5 11:05:24 piu01 kernel:   MII transceiver found at address 24, status 786f. 
Apr  5 11:05:24 piu01 kernel:   Enabling bus-master transmits and whole-frame receives. 
Apr  5 11:05:24 piu01 kernel: Partition check: 
Apr  5 11:05:24 piu01 kernel:  hda: hda1 hda2 < hda5 hda6 hda7 > 
Apr  5 11:05:24 piu01 kernel: VFS: Mounted root (ext2 filesystem) readonly. 
Apr  5 11:05:24 piu01 kernel: Freeing unused kernel memory: 52k freed 
Apr  5 11:05:24 piu01 kernel: Adding Swap: 787144k swap-space (priority -1) 
Apr  5 11:05:25 piu01 atd: atd startup succeeded
Apr  5 11:05:25 piu01 crond: crond startup succeeded
Apr  5 11:05:25 piu01 pcmcia: Starting PCMCIA services:
Apr  5 11:05:26 piu01 pcmcia:  modules
Apr  5 11:05:26 piu01 kernel: Linux PCMCIA Card Services 3.1.13 
Apr  5 11:05:26 piu01 kernel:   kernel build: 2.2.12 #28 SMP Tue Mar 28 07:30:26 CST 2000 
Apr  5 11:05:26 piu01 kernel:   options:  [pci] [cardbus] 
Apr  5 11:05:26 piu01 kernel: Intel PCIC probe:  
Apr  5 11:05:26 piu01 kernel:   Intel i82365sl B step ISA-to-PCMCIA at port 0x3e0 ofs 0x00 
Apr  5 11:05:26 piu01 kernel:     host opts [0]: none 
Apr  5 11:05:26 piu01 kernel:     host opts [1]: none 
Apr  5 11:05:26 piu01 kernel:     ISA irqs (scanned) = 3,4,7 polling interval = 1000 ms 
Apr  5 11:05:26 piu01 pcmcia:  cardmgr.
Apr  5 11:05:26 piu01 cardmgr[379]: starting, version is 3.1.13
Apr  5 11:05:26 piu01 rc: Starting pcmcia succeeded
Apr  5 11:05:26 piu01 cardmgr[379]: watching 2 sockets
Apr  5 11:05:26 piu01 kernel: cs: IO port probe 0x1000-0x17ff: clean. 
Apr  5 11:05:26 piu01 kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x220-0x22f 0x290-0x297 0x330-0x337 0x388-0x38f 0x4d0-0x4d7 
Apr  5 11:05:26 piu01 kernel: cs: IO port probe 0x0a00-0x0aff: clean. 
Apr  5 11:05:26 piu01 inet: inetd startup succeeded
Apr  5 11:05:26 piu01 lpd: lpd startup succeeded
Apr  5 11:05:27 piu01 cardmgr[379]: initializing socket 0
Apr  5 11:05:27 piu01 cardmgr[379]: socket 0: Serial or Modem
Apr  5 11:05:27 piu01 kernel: cs: memory probe 0x0d0000-0x0dffff: clean. 
Apr  5 11:05:27 piu01 keytable: Loading keymap: Loading system font: 
Apr  5 11:05:27 piu01 cardmgr[379]: executing: 'insmod /lib/modules/2.2.12/pcmcia/serial_cs.o'
Apr  5 11:05:27 piu01 kernel: tty02 at 0x03e8 (irq = 3) is a 16550A 
Apr  5 11:05:27 piu01 cardmgr[379]: executing: './serial start ttyS2'
Apr  5 11:05:27 piu01 rc: Starting keytable succeeded
Apr  5 11:05:28 piu01 sendmail: sendmail startup succeeded
Apr  5 11:05:28 piu01 gpm: gpm startup succeeded
Apr  5 11:05:29 piu01 httpd: httpd startup succeeded
Apr  5 11:05:30 piu01 xfs: xfs startup succeeded
Apr  5 11:05:30 piu01 linuxconf: Linuxconf final setup
Apr  5 11:05:30 piu01 xfs: Warning: The directory "/usr/X11R6/lib/X11/fonts/100dpi" does not exist. 
Apr  5 11:05:30 piu01 xfs:          Entry deleted from font path. 
Apr  5 11:05:32 piu01 rc: Starting linuxconf succeeded
Apr  5 11:06:01 piu01 PAM_pwdb[574]: (login) session opened for user hoosd by (uid=0)
Apr  5 11:06:11 piu01 PAM_pwdb[593]: authentication failure; hoosd(uid=1000) -> root for su service
Apr  5 11:06:18 piu01 PAM_pwdb[594]: (su) session opened for user root by hoosd(uid=1000)
Apr  5 12:16:43 piu01 PAM_pwdb[594]: (su) session closed for user root
Apr  5 12:54:25 piu01 PAM_pwdb[650]: (su) session opened for user root by hoosd(uid=1000)
-------------- next part --------------
Adaptec AIC7xxx driver version: 5.1.19/3.2.4
Compile Options:
  TCQ Enabled By Default : Disabled
  AIC7XXX_PROC_STATS     : Enabled
  AIC7XXX_RESET_DELAY    : 5

Adapter Configuration:
           SCSI Adapter: Adaptec AIC-7860 Ultra SCSI host adapter
                           Ultra Narrow Controller
    PCI MMAPed I/O Base: 0xffbef000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 10
                   SCBs: Active 0, Max Active 1,
                         Allocated 15, HW 3, Page 255
             Interrupts: 15
      BIOS Control Word: 0x0034
   Adapter Control Word: 0x005d
   Extended Translation: Disabled
Disconnect Enable Flags: 0x00ff
     Ultra Enable Flags: 0x0000
 Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 8
    Tagged Queue By Device array for aic7xxx host instance 0:
      {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
    Actual queue depth per device for aic7xxx host instance 0:
      {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

Statistics:

(scsi0:0:4:0)
  Device using Narrow/Async transfers.
  Transinfo settings: current(0/0/0/0), goal(0/0/0/0), user(0/0/0/0)
  Total transfers 0 (0 reads and 0 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:       0       0       0       0       0       0       0       0
  Writes:       0       0       0       0       0       0       0       0



More information about the aic7xxx mailing list