lkml.org 
[lkml]   [1999]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectkernel v2.0.38 boot conflict between IDE, SCSI and 3Com network card.
Hi,
I'm running linux 2.0.38 with libc5.4.46 and egcs v1.0.3 as the compiler.
Here are some problems I'm having with this kernel version.

Hardware:
333mhz Dell optiplex GX1
2940U2W AIC7895
Western Digital 9.1G SCSI disk
Quantum Fireball 1.2G IDE disk
3Com 3c59x ethernet card.

Problem:

1). I've compiled kernel v2.0.38 for a minimal system and a system
that has alot of options selected.
2). I'm booting a UMSDOS filesystem off the IDE drive and trying to
mount the SCSI disk and am running into problems.

a).If the SCSI kernel config options "are not" compiled
into the kernel, but Zip100 module support is compiled for the
2.0.38 kernel, the system will boot ok and I can use my 3COM network
card to ping the world. The 3Com network driver is "insmod'" as a
module. See listing (A) below.

b). If SCSI kernel config options "are" compiled
into the kernel, and ZIP100 module support is compiled for the
2.0.38 kernel, the system "will not" boot and will just hang
after recognizing the SCSI adapter card but willl not finish
or display the " XXX instructions downloaded" for Narrow channel B
although Wide Channel A instructions were downloaded. The SCSI disk
WDE 9.1G will not be found and the 3Com network driver isn't loaded.
See listing (B) below.

c). If SCSI kernel config options "are" compiled
into the kernel, and ZIP100 module support is compiled for the
2.0.38 kernel, the system "will" boot and recognize the SCSI disk
IF AND ONLY IF the 3Com network support "isn't" compiled into the
kernel. However, since the 3c59x.o 3Com network module from a
previous compile exists (even with symbol versioning) it will get
loaded into the kernel via modprobe without problem. But, the
only thing I can do with this is to telnet/ftp/ping my local
subnet and can't get to the outside world although IP forwarding
was compiled into the kernel and all the other various protocols to.
See listing (C) below.


CONCLUSION:
1). Both channels share the same interrupt #11 and the 3Com card also
gets interrupt 11. In /proc/interrupts there is "aic7xxx aic7xxx eth0"
on this interrupt with the IDE drive on interrupt 15 and Crystal
sound support with MIDI on interrupt 9.
2). Disabling kernel built in 3Com support when SCSI disk capabilities
are selected will allow the SCSI adapter and disk to be recognized
fully and mounted. With 3Com support, the system will hang during
system boot.
3). These configurations were only done for kernel v2.0.38 when UMSDOS
boots off an IDE drive trying to detect and mount a SCSI vs. UMSDOS
booting off a SCSI and trying to mount an IDE. NOTE: I have
UMSDOS kernel v2.2.1 booting off the SCSI and mounting this IDE
drive without problems. The selection of the Interrupts 11 for
the network and SCSI adaptor are the same as above with the IDE
on interrupt 15. I just haven't tried to put kernel v2.0.38 on
the SCSI to boot and mount the IDE.
4). A problem I had earlier this year when I had kernel 2.0.34 and
was booting the IDE drive and trying to detect the SCSI adapter
and disk, and which exhibited similar boot problems, occurred under the
following condition. When the computer booted and autoexec.bat
loaded the vlm/nvlm novell drivers along with the DOS based
3Com network drivers, followed by the linux v2.0.34 OS by
loadlin v1.6a, it would hang in the same spot. This I suppose
was due to the linux kernel fighting with the MSDOS based
network drivers for the network card interrupts whils't it
was trying to detect the SCSI disk, although the kernel load
sequence hadn't tried to sync and modprobe the 3c59x.o kernel
module yet. Hence the SCSI adaptor interrupts for the kernel where
fighting for the DOS based network driver interrupts. The solution
here was to not load any DOS based 3Com network drivers nor
any vlm/nvlm novell drivers and the system booted ok off the
IDE disk. However, in my current situation, I'm not loading
any DOS or novell drivers.


QUESTION:
Any suggestions? i can send you my config file in for the
cases above.

HERE are the "dmesg" listings..........


SCENARIO (A):

Memory: sized by int13 0e801h
Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000ffe80
pcibios_init : BIOS32 Service Directory entry at 0xffe90
pcibios_init : PCI BIOS revision 2.10 entry at 0xfcaee
Probing PCI hardware.
Calibrating delay loop.. ok - 330.96 BogoMIPS
Memory: 127772k/131072k available (816k kernel code, 384k reserved, 2100k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: IGMP, ICMP, UDP, TCP
Linux IP multicast router 0.07.
VFS: Diskquotas version dquot_5.6.0 initialized
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 2.0.38 (root@DosLinux) (gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)) #1 Fri Dec 17 14:06:19 1999
Starting kswapd v 1.4.2.2
Serial driver version 4.13p1 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
APM BIOS version 1.2 Flags 0x03 (Driver version 1.2)
Entry f000:f0fc cseg16 f000 dseg f000 cseg len ffff, dseg len ffff
Connection version 1.1
AC on line, battery status unknown, battery life unknown
battery flag 0x80, battery life unknown
Real Time Clock Driver v1.09
Ramdisk driver initialized : 16 ramdisks of 4096K size
ide: Intel 82371 (single FIFO) DMA Bus Mastering IDE
Controller on PCI bus 0 function 57
ide: timings == e3370000
ide1: BM-DMA at 0xffa8-0xffaf
hdc: QUANTUM FIREBALL_TM1280A, 1222MB w/76kB Cache, CHS=2484/16/63, DMA
hdd: TOSHIBA CD-ROM XM-6202B, ATAPI CDROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
md driver 0.36.3 MAX_MD_DEV=4, MAX_REAL=8
linear personality registered
raid0 personality registered
raid1 personality registered
raid5 personality registered
scsi : 0 hosts.
scsi : detected total.
Partition check:
hdc: [PTBL] [621/64/63] hdc1
JAVA Binary support v1.01 for Linux 1.3.98 (C)1996 Brian A. Lantz
UMSDOS Beta 0.6 (compatibility level 0.4, fast msdos)
Mounting root
/linux is there
/linux/etc is there
/linux/sbin is there
Activating pseudo root /linux
VFS: Mounted root (umsdos filesystem).
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.2.0 (dynamic channel allocation)
PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
PPP line discipline registered.
PPP BSD Compression module registered
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.
PS/2 auxiliary pointing device detected -- driver installed.
ppa: Version 1.42
ppa: Probing port 03bc
ppa: Probing port 0378
ppa: SPP port present
ppa: ECP with a 16 byte FIFO present
ppa: PS/2 bidirectional port present
ppa: Passed Intel bug check.
ppa: EPP 1.7
ppa: Found device at ID 6, Attempting to use EPP 32 bit
ppa: Communication established with ID 6 using EPP 32 bit
ppa: Probing port 0278
scsi0 : Iomega parport ZIP drive
scsi : 1 host.
Vendor: IOMEGA Model: ZIP 100 Rev: D.17
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi removable disk sda at scsi0, channel 0, id 6, lun 0
SCSI device sda: hdwr sector= 512 bytes. Sectors= 196608 [96 MB] [0.1 GB]
sda: Write Protect is off
sda: sda4
UMSDOS Beta 0.6 (compatibility level 0.4, fast msdos)



SCENARIO (B):

Memory: sized by int13 0e801h
Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000ffe80
pcibios_init : BIOS32 Service Directory entry at 0xffe90
pcibios_init : PCI BIOS revision 2.10 entry at 0xfcaee
Probing PCI hardware.
Calibrating delay loop.. ok - 330.96 BogoMIPS
Memory: 127680k/131072k available (888k kernel code, 384k reserved, 2120k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: IGMP, ICMP, UDP, TCP
Linux IP multicast router 0.07.
VFS: Diskquotas version dquot_5.6.0 initialized
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 2.0.38 (root@DosLinux) (gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)) #1 Mon Dec 20 08:15:04 1999
Starting kswapd v 1.4.2.2
Serial driver version 4.13p1 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
APM BIOS version 1.2 Flags 0x03 (Driver version 1.2)
Entry f000:f0fc cseg16 f000 dseg f000 cseg len ffff, dseg len ffff
Connection version 1.1
AC on line, battery status unknown, battery life unknown
battery flag 0x80, battery life unknown
Real Time Clock Driver v1.09
Ramdisk driver initialized : 16 ramdisks of 4096K size
ide: Intel 82371 (single FIFO) DMA Bus Mastering IDE
Controller on PCI bus 0 function 57
ide: timings == e3370000
ide1: BM-DMA at 0xffa8-0xffaf
hdc: QUANTUM FIREBALL_TM1280A, 1222MB w/76kB Cache, CHS=2484/16/63, DMA
hdd: TOSHIBA CD-ROM XM-6202B, ATAPI CDROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
md driver 0.36.3 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)



SCNEARIO (C):

Memory: sized by int13 0e801h
Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000ffe80
pcibios_init : BIOS32 Service Directory entry at 0xffe90
pcibios_init : PCI BIOS revision 2.10 entry at 0xfcaee
Probing PCI hardware.
Calibrating delay loop.. ok - 330.96 BogoMIPS
Memory: 127680k/131072k available (888k kernel code, 384k reserved, 2120k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: IGMP, ICMP, UDP, TCP
Linux IP multicast router 0.07.
VFS: Diskquotas version dquot_5.6.0 initialized
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 2.0.38 (root@DosLinux) (gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)) #1 Mon Dec 20 08:15:04 1999
Starting kswapd v 1.4.2.2
Serial driver version 4.13p1 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
APM BIOS version 1.2 Flags 0x03 (Driver version 1.2)
Entry f000:f0fc cseg16 f000 dseg f000 cseg len ffff, dseg len ffff
Connection version 1.1
AC on line, battery status unknown, battery life unknown
battery flag 0x80, battery life unknown
Real Time Clock Driver v1.09
Ramdisk driver initialized : 16 ramdisks of 4096K size
ide: Intel 82371 (single FIFO) DMA Bus Mastering IDE
Controller on PCI bus 0 function 57
ide: timings == e3370000
ide1: BM-DMA at 0xffa8-0xffaf
hdc: QUANTUM FIREBALL_TM1280A, 1222MB w/76kB Cache, CHS=2484/16/63, DMA
hdd: TOSHIBA CD-ROM XM-6202B, ATAPI CDROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
md driver 0.36.3 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.13/3.2.4
<Adaptec AIC-7895 Ultra SCSI host adapter>
scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.13/3.2.4
<Adaptec AIC-7895 Ultra SCSI host adapter>
scsi : 2 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
(scsi0:0:0:0) Synchronous at 40.0 Mbyte/sec, offset 8.
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
JAVA Binary support v1.01 for Linux 1.3.98 (C)1996 Brian A. Lantz
UMSDOS Beta 0.6 (compatibility level 0.4, fast msdos)
Mounting root
/linux is there
/linux/etc is there
/linux/sbin is there
Activating pseudo root /linux
VFS: Mounted root (umsdos filesystem).
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.2.0 (dynamic channel allocation)
PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
PPP line discipline registered.
PPP BSD Compression module registered
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.
PS/2 auxiliary pointing device detected -- driver installed.
ppa: Version 1.42
ppa: Probing port 03bc
ppa: Probing port 0378
ppa: SPP port present
ppa: ECP with a 16 byte FIFO present
ppa: PS/2 bidirectional port present
ppa: Passed Intel bug check.
ppa: EPP 1.7
ppa: Found device at ID 6, Attempting to use EPP 32 bit
ppa: Communication established with ID 6 using EPP 32 bit
ppa: Probing port 0278
scsi2 : Iomega parport ZIP drive
scsi : 3 hosts.
Vendor: IOMEGA Model: ZIP 100 Rev: D.17
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi removable disk sdb at scsi2, channel 0, id 6, lun 0
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 196608 [96 MB] [0.1 GB]
sdb: Write Protect is off
sdb: sdb4



MIKE


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.031 / U:0.796 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site