Re: Kernel v2.2.15pre3 SCSI 2940U2W with AIC7895 boot still broke.

From: M Sweger (mikesw@whiterose.net)
Date: Tue Jan 18 2000 - 16:04:26 EST


On Tue, 18 Jan 2000, Alan Cox wrote:

> > I'm trying to upgrade my linux kernel from v2.2.13 to v2.2.14 and I've
> > also applied pre-patch-2.2.15-3 from Alan Cox and running into boot
> > problems finishing the SCSI Channel B iinstruction download sequence.
>

> DOes 2.2.15pre2 boot. pre3 has some scsi updates for your card.
>
> > 9 GIG SCSI Western Digital on an Adaptec 2940U2W AIC 7895
>
> Alan
>

I didn't try 2.2.15pre2 since it didn't have any SCSI fixes. However,
I did compile 2.2.14 and it hangs at the same location. I then tried
2.2.15pre1 and it hangs during boot at the same location trying to
download Narrow Channel B instructions.

If I reboot using linux 2.2.13 with mnalis init patch (which you put
into the source tree in 2.2.14pre16 and verified by mnalis), then
it detects the adaptec 2940U2W card and does the Narrow Channel B
instruction download. The number of instructions downloaded is 374
in both channels. In linux 2.2.1, the number of instructions downloaded
in both channels is 404.

Note: in linux 2.2.1 there are no SCSI error messsages being output to
console;however, in linux 2.2.13 this is the following error message
that is output

(scsi0) Data overrun detected in Data-In phase, tag 1
            Have seen Data Phase length=255 NuSgs=1

           sg[0] Addr 0x7fec380 length=255

I assume this is what is being fixed in the 2.2.14 scsi patches although
it doesn't seem to cause any problem for me in linux 2.2.13.

Below are two different sets of "dmesg" listings. The first is for
linux 2.2.1 and the seconnd is for linux 2.2.13 with the data phase error.
Just search for "version" to jump to the second listing.

Linux version 2.2.1 (root@(none)) (gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)) #1 SMP Mon Nov 8 16:47:42 /etc/localtime 1999
mapped APIC to ffffe000 (0026c000)
mapped IOAPIC to ffffd000 (0026d000)
Detected 331713751 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 330.96 BogoMIPS
Memory: 127912k/131072k available (1116k kernel code, 420k reserved, 1540k data, 84k init)
VFS: Diskquotas version dquot_6.4.0 initialized
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
per-CPU timeslice cutoff: 100.21 usecs.
CPU0: Intel Pentium II (Deschutes) stepping 01
SMP motherboard not detected. Using dummy APIC emulation.
PCI: PCI BIOS revision 2.10 entry at 0xfcaee
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
Starting kswapd v 1.5
parport0: PC-style at 0x378 [SPP,PS2,ECP,ECPPS2]
parport0: no IEEE-1284 device present.
Detected PS/2 Mouse Port.
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.9)
Real Time Clock Driver v1.09
RAM disk driver initialized: 16 RAM disks of 4096K size
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA
hdc: QUANTUM FIREBALL_TM1280A, ATA DISK drive
hdd: TOSHIBA CD-ROM XM-6202B, ATAPI CDROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hdc: QUANTUM FIREBALL_TM1280A, 1222MB w/76kB Cache, CHS=2484/16/63, DMA
hdd: ATAPI 32X CD-ROM drive, 256kB Cache
Uniform CDROM driver Revision: 2.52
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
linear personality registered
raid0 personality registered
raid1 personality registered
raid5 personality registered
(scsi0) <Adaptec AIC-7895 Ultra SCSI host adapter> found at PCI 14/0
(scsi0) Wide Channel A, SCSI ID=7, 32/255 SCBs
(scsi0) Warning - detected auto-termination
(scsi0) Please verify driver detected settings are correct.
(scsi0) If not, then please properly set the device termination
(scsi0) in the Adaptec SCSI BIOS by hitting CTRL-A when prompted
(scsi0) during machine bootup.
(scsi0) Cables present (Int-50 NO, Int-68 YES, Ext-68 NO)
(scsi0) Downloading sequencer code... 404 instructions downloaded
(scsi1) <Adaptec AIC-7895 Ultra SCSI host adapter> found at PCI 14/1
(scsi1) Narrow Channel B, SCSI ID=7, 32/255 SCBs
(scsi1) Warning - detected auto-termination
(scsi1) Please verify driver detected settings are correct.
(scsi1) If not, then please properly set the device termination
(scsi1) in the Adaptec SCSI BIOS by hitting CTRL-A when prompted
(scsi1) during machine bootup.
(scsi1) Cables present (Int-50 NO, Ext-50 NO)
(scsi1) Downloading sequencer code... 404 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.10/3.2.4
       <Adaptec AIC-7895 Ultra SCSI host adapter>
scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.10/3.2.4
       <Adaptec AIC-7895 Ultra SCSI host adapter>
scsi2 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 3 hosts.
  Vendor: WDIGTL Model: WDE9100-1807A4 Rev: 1.30
  Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
scsi : detected 1 SCSI disk total.
(scsi0:0:0:0) Synchronous at 40.0 Mbyte/sec, offset 8.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 17783204 [8683 MB] [8.7 GB]
Partition check:
 sda: sda1 sda2 < sda5 sda6 sda7 >
 hdc: [PTBL] [621/64/63] hdc1
UMSDOS dentry-pre 0.84 (compatibility level 0.4, fast msdos)
check_pseudo_root: mounted as root
check_pseudo_root: found //linux
check_pseudo_root: found sbin/init, enabling pseudo-root
UMSDOS: changed to alternate root
VFS: Mounted root (umsdos filesystem).
Freeing unused kernel memory: 84k freed
CSLIP: code copyright 1989 Regents of the University of California
SLIP: version 0.8.4-NET3.019-NEWTTY-MODULAR (dynamic channels, max=256).
SLIP linefill/keepalive option.
PPP: version 2.3.10 (demand dialling)
PPP line discipline registered.
PPP BSD Compression module registered
PPP Deflate Compression module registered
ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
YM3812 and OPL-3 driver Copyright (C) by Hannu Savolainen, Rob Hooft 1993-1996
3c59x.c:v0.99H 11/17/98 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
eth0: 3Com 3c905B Cyclone 100baseTx at 0xdc00, 00:c0:4f:78:7a:80, IRQ 11
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
  MII transceiver found at address 24, status 786d.
  MII transceiver found at address 0, status 786d.
  Enabling bus-master transmits and whole-frame receives.
ppa: Version 2.03 (for Linux 2.0.0)
ppa: Found device at ID 6, Attempting to use EPP 16 bit
ppa: Found device at ID 6, Attempting to use PS/2
ppa: Communication established with ID 6 using PS/2
scsi3 : Iomega VPI0 (ppa) interface
scsi : 4 hosts.
  Vendor: IOMEGA Model: ZIP 100 Rev: D.17
  Type: Direct-Access ANSI SCSI revision: 02
Detected scsi removable disk sdb at scsi3, channel 0, id 6, lun 0
sdb : READ CAPACITY failed.
sdb : status = 0, message = 00, host = 0, driver = 28
sdb : extended sense code = 2
sdb : block size assumed to be 512 bytes, disk size 1GB.
 sdb:scsidisk I/O error: dev 08:10, sector 0
 unable to read partition table
ISO 9660 Extensions: Microsoft Joliet Level 3
ISOFS: changing to secondary root

Linux version 2.2.13 (root@DosLinux) (gcc version 2.95.2 19991024 (release)) #1 SMP Thu Dec 23 17:09:34 /etc/localtime 1999
mapped APIC to ffffe000 (00291000)
mapped IOAPIC to ffffd000 (00292000)
Detected 331709857 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 330.96 BogoMIPS
Memory: 127760k/131072k available (1240k kernel code, 420k reserved, 1600k data, 52k init)
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
per-CPU timeslice cutoff: 100.21 usecs.
CPU0: Intel Pentium II (Deschutes) stepping 01
SMP motherboard not detected. Using dummy APIC emulation.
PCI: PCI BIOS revision 2.10 entry at 0xfcaee
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
Starting kswapd v 1.5
Detected PS/2 Mouse Port.
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.9)
Real Time Clock Driver v1.09
RAM disk driver initialized: 16 RAM disks of 4096K size
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA
hdc: QUANTUM FIREBALL_TM1280A, ATA DISK drive
hdd: TOSHIBA CD-ROM XM-6202B, ATAPI CDROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hdc: QUANTUM FIREBALL_TM1280A, 1222MB w/76kB Cache, CHS=2484/16/63, DMA
hdd: ATAPI 32X CD-ROM drive, 256kB Cache
Uniform CDROM driver Revision: 2.56
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
linear personality registered
raid0 personality registered
raid1 personality registered
raid5 personality registered
(scsi0) <Adaptec AIC-7895 Ultra SCSI host adapter> found at PCI 14/0
(scsi0) Wide Channel A, SCSI ID=7, 32/255 SCBs
(scsi0) Warning - detected auto-termination
(scsi0) Please verify driver detected settings are correct.
(scsi0) If not, then please properly set the device termination
(scsi0) in the Adaptec SCSI BIOS by hitting CTRL-A when prompted
(scsi0) during machine bootup.
(scsi0) Cables present (Int-50 NO, Int-68 YES, Ext-68 NO)
(scsi0) Downloading sequencer code... 374 instructions downloaded
(scsi1) <Adaptec AIC-7895 Ultra SCSI host adapter> found at PCI 14/1
(scsi1) Narrow Channel B, SCSI ID=7, 32/255 SCBs
(scsi1) Warning - detected auto-termination
(scsi1) Please verify driver detected settings are correct.
(scsi1) If not, then please properly set the device termination
(scsi1) in the Adaptec SCSI BIOS by hitting CTRL-A when prompted
(scsi1) during machine bootup.
(scsi1) Cables present (Int-50 NO, Ext-50 NO)
(scsi1) Downloading sequencer code... 374 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.20/3.2.4
       <Adaptec AIC-7895 Ultra SCSI host adapter>
scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.20/3.2.4
       <Adaptec AIC-7895 Ultra SCSI host adapter>
scsi : 2 hosts.
(scsi0:0:0:0) Synchronous at 40.0 Mbyte/sec, offset 8.
(scsi0:0:0:0) Data overrun detected in Data-In phase, tag 1;
  Have seen Data Phase. Length=255, NumSGs=1.
     sg[0] - Addr 0x7fec380 : Length 255
  Vendor: WDIGTL Model: WDE9100-1807A4 Rev: 1.30
  Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
scsi : detected 1 SCSI disk total.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 17783204 [8683 MB] [8.7 GB]
Partition check:
 sda: sda1 sda2 < sda5 sda6 sda7 >
 hdc: [PTBL] [621/64/63] hdc1
UMSDOS 0.85b (compatibility level 0.4, fast msdos)
check_pseudo_root: mounted as root
check_pseudo_root: found //linux
check_pseudo_root: found sbin/init, enabling pseudo-root
UMSDOS: changed to alternate root
VFS: Mounted root (umsdos filesystem).
Freeing unused kernel memory: 52k freed
CSLIP: code copyright 1989 Regents of the University of California
SLIP: version 0.8.4-NET3.019-NEWTTY-MODULAR (dynamic channels, max=256).
SLIP linefill/keepalive option.
PPP: version 2.3.7 (demand dialling)
PPP line discipline registered.
PPP BSD Compression module registered
PPP Deflate Compression module registered
ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
YM3812 and OPL-3 driver Copyright (C) by Hannu Savolainen, Rob Hooft 1993-1996
3c59x.c:v0.99H 11/17/98 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
eth0: 3Com 3c905B Cyclone 100baseTx at 0xdc00, 00:c0:4f:78:7a:80, IRQ 11
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
  MII transceiver found at address 24, status 786d.
  MII transceiver found at address 0, status 786d.
  Enabling bus-master transmits and whole-frame receives.
ppa: Version 2.03 (for Linux 2.2.x)
ppa: parport reports no devices.
scsi : 2 hosts.
ISO 9660 Extensions: Microsoft Joliet Level 3
ISOFS: changing to secondary root
umsdos_readdir_x: linux/LINK2944 negative after link
umsdos_readdir_x: linux/LINK2944 negative after link

NOTE: Mnalis is working on the negative link problem so just ignore this.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:18 EST