[tulip] System freeze using tulip v0.92w and Compaq Conexant LANfinity chipset
Daniel Greve
dgreve@se.fit.edu
Tue Mar 19 10:09:00 2002
So here's my report....
System freezes on boot during PCI autodetect and from command shell
trying insmod tulip. Interesting is windows shows ethernet controller on
IRQ 9, linux insists on IRQ 11. I
(strange I though the BIOS made the call) Kernel is v. 2.4.5. Searched
through all old
newsgroups and recompiled the kernel With full support for modules...
autoconf.h
#define CONFIG_MODULES 1
#define CONFIG_MODVERSIONS 1
#define CONFIG_KMOD 1
Built pci-scan.o and tulip.o using:
1. kern_compat.h v1.9
2. pci-scan.c v1.06
3. pci-scan.h v1.02
4. tulip.c v0.92w
Manually place object files in
/lib/modules/2.4.5/kernel/drivers/net/tulip/
Edited /lib/modules/2.4.5/modules.dep to recognize pci-scan.o and
tulip.o
Added to /etc/modules.conf
alias eth0 tulip
Tried...
modprobe tulip
System freeze
Reboot
System freeze on PCI autodetect
>From bootlog
Attempting to configure eth0 by contacting a DHCP server...
tulip.c:v0.92wa 7/11/2001 Written by Donald Becker <becker@scyld.com>
http://www.scyld.com/network/tulip.html
The PCI BIOS has not enabled the device at 0/72! Updating PCI command
0003->0007.
eth0: Conexant LANfinity rev 8 at 0xd5025000, 00:9096:17:71:CC, IRQ 11.
Changed /etc/modules.conf
Options tulip irq=9
On bootup receiving invalid parm irq_parm or something to that effect.
Diagnostic logs.....................................................
./tulip-diag
-aef---------------------------------------------------------------
tulip-diag.c:v2.06 1/8/2001 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a Conexant LANfinity adapter at 0x1400.
Conexant LANfinity chip registers at 0x1400:
0x00: fff80000 ffffffff ffffffff 00000000 00000000 f4000000 e00c0040
7bfe0000
0x40: fffe0000 fffc80e8 fffe0000 fffe0000 ffffffff ffffffff ffffffff
f7f9fec8
Extended registers:
80: cc008800 cbfe0000 f0000018 00000000 ffffffff 00000000 00000000
00000000
a0: ffffffff 00000000 00000000 00000000 00000000 00000000 00000000
00000000
c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
e0: 00000000 00000000 00000000 00000000 ffffffff 00000000 00000000
00000000
Port selection is MII, half-duplex.
Transmit stopped, Receive stopped, half-duplex.
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
The transmit threshold is 128.
Interrupt sources are pending! CSR5 is f4008800.
Timer expired indication.
EEPROM 256 words, 8 address bits.
Conexant EEPROM format is undocumented.
./tulip-diag -em
-----------------------------------------------------------------
tulip-diag.c:v2.06 1/8/2001 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a Conexant LANfinity adapter at 0x1400.
Conexant LANfinity chip registers at 0x1400:
0x00: fff80000 ffffffff ffffffff 00000000 00000000 f4000000 e00c0040
7bfe0000
0x40: fffe0000 fffc80e8 fffe0000 fffe0000 ffffffff ffffffff ffffffff
f7f9fec8
Extended registers:
80: cc008800 cbfe0000 f0000018 00000000 ffffffff 00000000 00000000
00000000
a0: ffffffff 00000000 00000000 00000000 00000000 00000000 00000000
00000000
c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
e0: 00000000 00000000 00000000 00000000 ffffffff 00000000 00000000
00000000
Port selection is MII, half-duplex.
Transmit stopped, Receive stopped, half-duplex.
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
The transmit threshold is 128.
Interrupt sources are pending! CSR5 is f4008800.
Timer expired indication.
EEPROM 256 words, 8 address bits.
Conexant EEPROM format is undocumented.
Lspci
-v----------------------------------------------------------------------
-----
00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 0305 (rev
03)
Flags: bus master, medium devsel, latency 8
Memory at f8000000 (32-bit, prefetchable) [size=64M]
Capabilities: [a0] AGP version 2.0
Capabilities: [c0] Power Management version 2
00:01.0 PCI bridge: VIA Technologies, Inc.: Unknown device 8305 (prog-if
00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00009000-00009fff
Memory behind bridge: f4100000-f5ffffff
Capabilities: [80] Power Management version 2
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super] (rev
22)
Subsystem: VIA Technologies, Inc. VT82C686/A PCI to ISA Bridge
Flags: bus master, stepping, medium devsel, latency 0
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev
10) (prog-if 8a [Master SecP PriP])
Flags: bus master, medium devsel, latency 64
I/O ports at 1820 [size=16]
Capabilities: [c0] Power Management version 2
00:07.2 USB Controller: VIA Technologies, Inc. VT82C586B USB (rev 10)
(prog-if 00 [UHCI])
Subsystem: Unknown device 0925:1234
Flags: bus master, medium devsel, latency 64, IRQ 5
I/O ports at 1800 [size=32]
Capabilities: [80] Power Management version 2
00:07.4 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
(rev 30)
Flags: medium devsel
Capabilities: [68] Power Management version 2
00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686
[Apollo Super AC97/Audio] (rev 20)
Subsystem: Compaq Computer Corporation: Unknown device b194
Flags: medium devsel, IRQ 9
I/O ports at 1000 [size=256]
I/O ports at 1834 [size=4]
I/O ports at 1830 [size=4]
Capabilities: [c0] Power Management version 2
00:09.0 Ethernet controller: CONEXANT: Unknown device 1803 (rev 08)
Subsystem: Compaq Computer Corporation: Unknown device 0023
Flags: medium devsel, IRQ 11
BIST result: 00
I/O ports at 1400 [size=256]
Memory at f4000000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [58] Power Management version 2
00:09.1 Communication controller: CONEXANT: Unknown device 1815 (rev 05)
Subsystem: Compaq Computer Corporation: Unknown device 0022
Flags: medium devsel, IRQ 11
BIST result: 00
I/O ports at 1838 [size=8]
Memory at f4004000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 2
00:0a.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus
Controller (rev 01)
Subsystem: Compaq Computer Corporation: Unknown device b103
Flags: bus master, medium devsel, latency 32
Memory at 14000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=02, subordinate=05, sec-latency=0
I/O window 0: 00000000-00000003
I/O window 1: 00000000-00000003
16-bit legacy interface ports at 0001
01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage P/M
Mobility AGP 2x (rev 64) (prog-if 00 [VGA])
Subsystem: Compaq Computer Corporation: Unknown device 005f
Flags: bus master, stepping, medium devsel, latency 66, IRQ 9
Memory at f5000000 (32-bit, non-prefetchable) [size=16M]
I/O ports at 9000 [size=256]
Memory at f4100000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [50] AGP version 1.0
Capabilities: [5c] Power Management version 1
Dmesg
------------------------------------------------------------------------
------
Linux version 2.4.5 (root@cockroach) (gcc version 2.95.3 20010315
(release)) #7 SMP Sun Mar 17 16:03:41 EST 2002
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f400 (usable)
BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000dc000 - 00000000000e0000 (reserved)
BIOS-e820: 00000000000e5000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000013ff0000 (usable)
BIOS-e820: 0000000013ff0000 - 0000000013fffc00 (ACPI data)
BIOS-e820: 0000000013fffc00 - 0000000014000000 (ACPI NVS)
BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved)
Scan SMP from c0000000 for 1024 bytes.
Scan SMP from c009fc00 for 1024 bytes.
Scan SMP from c00f0000 for 65536 bytes.
Scan SMP from c009f400 for 4096 bytes.
On node 0 totalpages: 81904
zone(0): 4096 pages.
zone(1): 77808 pages.
zone(2): 0 pages.
mapped APIC to ffffe000 (01553000)
Kernel command line: BOOT_IMAGE=Linux ro root=305
Initializing CPU#0
Detected 847.105 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 1690.82 BogoMIPS
Memory: 318932k/327616k available (1594k kernel code, 8296k reserved,
576k data, 248k init, 0k highmem)
Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: Before vendor init, caps: 0383f9ff c1c7f9ff 00000000, vendor = 2
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 64K (64 bytes/line)
CPU: After vendor init, caps: 0383f9ff c1c7f9ff 00000000 00000000
CPU: After generic, caps: 0383f9ff c1c7f9ff 00000000 00000000
CPU: Common caps: 0383f9ff c1c7f9ff 00000000 00000000
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
CPU: Before vendor init, caps: 0383f9ff c1c7f9ff 00000000, vendor = 2
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 64K (64 bytes/line)
CPU: After vendor init, caps: 0383f9ff c1c7f9ff 00000000 00000000
CPU: After generic, caps: 0383f9ff c1c7f9ff 00000000 00000000
CPU: Common caps: 0383f9ff c1c7f9ff 00000000 00000000
CPU0: AMD Mobile AMD Duron(tm) Processor stepping 00
per-CPU timeslice cutoff: 182.82 usecs.
SMP motherboard not detected. Using dummy APIC emulation.
Setting commenced=1, go go go
PCI: PCI BIOS revision 2.10 entry at 0xfd83f, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Unknown bridge resource 2: assuming transparent
got res[14000000:14000fff] for resource 0 of Texas Instruments PCI1410
PC card Cardbus Controller
Found VT82C686A, not applying VIA latency patch.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd v1.8
VFS: Diskquotas version dquot_6.4.0 initialized
devfs: v0.102 (20000622) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x2
vesafb: framebuffer at 0xf5000000, mapped to 0xd4800000, size 8128k
vesafb: mode is 1024x768x16, linelength=2048, pages=4
vesafb: protected mode interface info at c000:5130
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
pty: 512 Unix98 ptys configured
Serial driver version 5.05a (2001-03-20) with HUB-6 MANY_PORTS MULTIPORT
SHARE_IRQ SERIAL_PCI enabled
Real Time Clock Driver v1.10d
block: queued sectors max/low 211536kB/80464kB, 640 slots per queue
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: chipset revision 16
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
VP_IDE: VIA vt82c686a (rev 22) IDE UDMA66 controller on pci00:07.1
ide0: BM-DMA at 0x1820-0x1827, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x1828-0x182f, BIOS settings: hdc:DMA, hdd:pio
hda: TOSHIBA MK1016GAP, ATA DISK drive
hdc: TOSHIBA CD-ROM XM-7002Bc, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 19640880 sectors (10056 MB), CHS=1222/255/63, UDMA(66)
hdc: ATAPI 24X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
/dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
loop: loaded (max 8 devices)
SCSI subsystem driver Revision: 1.00
request_module[scsi_hostadapter]: Root fs not mounted
request_module[scsi_hostadapter]: Root fs not mounted
request_module[scsi_hostadapter]: Root fs not mounted
request_module[scsi_hostadapter]: Root fs not mounted
linear personality registered
raid0 personality registered
raid1 personality registered
raid5 personality registered
raid5: measuring checksumming speed
8regs : 1293.600 MB/sec
32regs : 1140.000 MB/sec
pIII_sse : 2294.400 MB/sec
pII_mmx : 1982.400 MB/sec
p5_mmx : 2537.200 MB/sec
raid5: using function: pIII_sse (2294.400 MB/sec)
md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md.c: sizeof(mdp_super_t) = 4096
autodetecting RAID arrays
autorun ...
... autorun DONE.
LVM version 0.9.1_beta2 by Heinz Mauelshagen (18/01/2001)
lvm -- Driver successfully initialized
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 248k freed
0x378: FIFO is 16 bytes
0x378: writeIntrThreshold is 8
0x378: readIntrThreshold is 8
0x378: PWord is 8 bits
0x378: Interrupts are ISA-Pulses
0x378: ECP port cfgA=0x10 cfgB=0x00
0x378: ECP settings irq=<none or set by other means> dma=<none or set by
other means>
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,COMPAT,ECP]
parport0: cpp_daisy: aa5500ff(38)
parport0: assign_addrs: aa5500ff(38)
parport0: cpp_daisy: aa5500ff(38)
parport0: assign_addrs: aa5500ff(38)
parport_pc: Via 686A parallel port: io=0x378
lp0: using parport0 (polling).
SLIP: version 0.8.4-NET3.019-NEWTTY-MODULAR (dynamic channels, max=256).
SLIP linefill/keepalive option.
PPP generic driver version 2.4.1
PPP Deflate Compression module registered