Click to See Complete Forum and Search --> : Bring up eth0 --> Immediate hard lockup!


psi42
11-28-2003, 01:35 AM
Hi all. :)


Okay, I have a little bit of a problem. I just installed slackware 9.1 on an old hp 7125 desktop. It's a real powerful machine with a 133mhz processor and 16 mb of ram, cs4232 sound, and SiS SG86C205 video. :)

The install was more or less uneventful, except I had to use the slackware 9.0 kernel and modules as 2.4.22 wouldn't boot (but that's another problem.:D) Anyway, I put an Intel Ethernet 10/100 Pro pci card in, and it loaded the eepro100 module without complaint. The module reported that it had succesfully found the card and...

eepro100.c:v1.09j-t 9/29/99 Donald Becker
http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin
<saw@saw.sw.com.sg> and others
eth0: OEM i82557/i82558 10/100 Ethernet, 00:50:8B:AE:CD:7A, IRQ 11.
Board assembly 726837-017, Physical connectors present: RJ45
Primary interface chip i82555 PHY #1.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0x04f4518b).


So I proceeded to connect it to my switch, and tried to get it on the network...

ifconfig eth0 up

And it just stopped. Full hard lockup. Ctrl+C didn't work, Ctrl+Alt+FN didn't work, if I try it in X the mouse pointer just freezes, pressing num lock on the keyboard didn't even turn the numlock light on, etc, you get the picture... :(

I disabled PnP OS in the BIOS, and rebooted, and the same thing still happened.

I tried the nic in a different computer, and it worked fine.

I tried putting the card in the only other pci slot, and it still failed in exactly the same way, except this time the bios beeped a couple of times before booting......

I tried several live CD distros, and all of them failed in exactly the same way...


I took a look at dmesg, and found this:
PCI: No IRQ known for interrupt pin A of device 00:01.1. Please try using pci=biosirq.

I tried booting with pci=biosirq, and...


PCI: PCI BIOS revision 2.10 entry at 0xf7f7b, last bus=0
PCI: using configuration type 1
PCI: probing PCI hardware
general protection fault: c020

....general kernel oops style message.
If you think it will help,
I can go back and copy down
all the numbers :).............

<0>Kernel panic: Attempted to kill init!


General Protection Fault, huh? Doesn't sound good......


Any ideas? :confused:


~psi42



All the fun information:


# lspci -v
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 5511/5512
Flags: bus master, slow devsel, latency 0

00:01.0 ISA bridge: Silicon Integrated Systems
[SiS] 85C503/5513 (rev 01)
Flags: bus master, medium devsel, latency 0

00:01.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
(rev 08) (prog-if 8a [Master SecP PriP])
Flags: bus master, fast devsel, latency 128
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at fcb0 [size=16]

00:0b.0 VGA compatible controller: Silicon Integrated Systems
[SiS] SG86C205 (rev 44) (prog-if 00 [VGA])
Flags: medium devsel
Memory at fdc00000 (32-bit, non-prefetchable) [size=4M]
Expansion ROM at <unassigned> [disabled] [size=32K]

00:13.0 Ethernet controller: Intel Corp.
82557/8/9 [Ethernet Pro 100] (rev 08)
Subsystem: Compaq Computer Corporation NC3123 Fast Ethernet NIC (WOL)
Flags: bus master, medium devsel, latency 66, IRQ 11
Memory at fdaff000 (32-bit, non-prefetchable) [size=4K]
I/O ports at fcc0 [size=64]
Memory at fdb00000 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at <unassigned> [disabled] [size=1M]
Capabilities: [dc] Power Management version 2




# cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0213-0213 : isapnp read
02f8-02ff : serial(auto)
0376-0376 : ide1
03c0-03df : vesafb
03e8-03ef : serial(auto)
03f2-03f5 : floppy
03f6-03f6 : ide0
03f7-03f7 : floppy DIR
03f8-03ff : serial(auto)
0534-0537 : Crystal audio controller
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
fcb0-fcbf : Silicon Integrated Systems [SiS] 5513 [IDE]
fcc0-fcff : Intel Corp. 82557/8/9 [Ethernet Pro 100]
fcc0-fcff : eepro100



# cat /proc/interrupts
CPU0
0: 271241 XT-PIC timer
1: 1749 XT-PIC keyboard
2: 0 XT-PIC cascade
5: 2 XT-PIC Crystal audio controller
6: 46 XT-PIC floppy
8: 1 XT-PIC rtc
12: 29996 XT-PIC PS/2 Mouse
14: 1266893 XT-PIC ide0
15: 84686 XT-PIC ide1
NMI: 0
ERR: 0



# cat /proc/isapnp
Card 1 'ROK0010:33.6Modem' PnP version 1.0
Logical device 0 'ROK0010:Unknown'
Supported registers 0x2
Device is not active
Resources 0
Priority acceptable
Port 0x2f8-0x2f8, align 0x0, size 0x8, 10-bit address decoding
IRQ 3 High-Level
Alternate resources 0:1
Priority acceptable
Port 0x3e8-0x3e8, align 0x0, size 0x8, 10-bit address decoding
IRQ 4,5,7 High-Level
Alternate resources 0:2
Priority acceptable
Port 0x100-0x3f8, align 0x7, size 0x8, 10-bit address decoding
IRQ 3,4,5,7 High-Level
Card 2 'CSCe032:CS4232' PnP version 1.0 Product version 0.1
Logical device 0 'CSC0000:WSS/SB'
Device is active
Active port 0x534,0x388,0x220
Active IRQ 5 [0x2]
Active DMA 3,1
Resources 0
Priority preferred
Port 0x534-0x534, align 0x3, size 0x4, 16-bit address decoding
Port 0x388-0x388, align 0x7, size 0x4, 16-bit address decoding
Port 0x220-0x220, align 0x1f, size 0x10, 16-bit address decoding
IRQ 5 High-Edge
DMA 1 8-bit byte-count compatible
DMA 0,3 8-bit byte-count compatible
Alternate resources 0:1
Priority acceptable
Port 0x534-0xffc, align 0x3, size 0x4, 16-bit address decoding
Port 0x388-0x388, align 0x7, size 0x4, 16-bit address decoding
Port 0x220-0x260, align 0x1f, size 0x10, 16-bit address decoding
IRQ 5,7,2/9,11,12,15 High-Edge
DMA 1,3 8-bit byte-count compatible
DMA 0,1,3 8-bit byte-count compatible
Alternate resources 0:2
Priority functional
Port 0x534-0xffc, align 0x3, size 0x4, 16-bit address decoding
Port 0x388-0x3f8, align 0x7, size 0x4, 16-bit address decoding
Port 0x220-0x300, align 0x1f, size 0x10, 16-bit address decoding
IRQ 5,7,2/9,11,12,15 High-Edge
DMA 0,1,3 8-bit byte-count compatible
Logical device 1 'CSC0001:GAME'
Device is not active
Resources 0
Priority preferred
Port 0x200-0x200, align 0x7, size 0x8, 16-bit address decoding
Alternate resources 0:1
Priority acceptable
Port 0x208-0x208, align 0x7, size 0x8, 16-bit address decoding
Logical device 2 'CSC0010:CTRL'
Device is not active
Resources 0
Priority preferred
Port 0x120-0x3f8, align 0x7, size 0x8, 16-bit address decoding
Logical device 3 'CSC0003:MPU'
Device is not active
Resources 0
Priority preferred
Port 0x330-0x330, align 0x7, size 0x2, 16-bit address decoding
IRQ 2/9 High-Edge
Alternate resources 0:1
Priority acceptable
Port 0x330-0x360, align 0x7, size 0x2, 16-bit address decoding
IRQ 2/9,11,12,15 High-Edge



#dmesg
Linux version 2.4.20 (root@midas) (gcc version 3.2.2) #2 Mon Mar 17 22:02:15 PST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f145a - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000001000000 (usable)
BIOS-e820: 00000000ffff145a - 0000000100000000 (reserved)
16MB LOWMEM available.
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=slackware ro root=301
Initializing CPU#0
Detected 132.634 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 264.60 BogoMIPS
Memory: 13140k/16384k available (1733k kernel code, 2856k reserved,
568k data, 112k init, 0k highmem)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Intel Pentium with F0 0F bug - workaround enabled.
CPU: After generic, caps: 000001bf 00000000 00000000 00000000
CPU: Common caps: 000001bf 00000000 00000000 00000000
CPU: Intel Pentium 75 - 200 stepping 0c
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: none
PCI: PCI BIOS revision 2.10 entry at 0xf7f7b, last bus=0
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Diskquotas version dquot_6.4.0 initialized
Journalled Block Device driver loaded
vesafb: framebuffer at 0x8000000, mapped to 0xc180d000, size 1024k
vesafb: mode is 800x600x8, linelength=800, pages=0
vesafb: protected mode interface info at c7c7:0000
vesafb: scrolling: redraw
Console: switching to colour frame buffer device 100x37
fb0: VESA VGA frame buffer device
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with
HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
ttyS02 at 0x03e8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10e
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller on PCI bus 00 dev 09
PCI: No IRQ known for interrupt pin A of device 00:01.1. Please try using pci=biosirq.
SIS5513: chipset revision 8
SIS5513: not 100% native mode: will probe irqs later
SiS5513
SIS5513: simplex device: DMA disabled
ide0: SIS5513 Bus-Master DMA disabled (BIOS)
SIS5513: simplex device: DMA disabled
ide1: SIS5513 Bus-Master DMA disabled (BIOS)
hda: QUANTUM FIREBALL_TM1700A, ATA DISK drive
hdc: FX600S, ATAPI CD/DVD-ROM drive
ide2: ports already in use, skipping probe
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 3335472 sectors (1708 MB) w/76KiB Cache, CHS=827/64/63
hdc: ATAPI 6X CD-ROM drive, 256kB Cache
Uniform CD-ROM driver Revision: 3.12
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 < hda5 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
ide-floppy driver 0.99.newide
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 58.800 MB/sec
32regs : 68.000 MB/sec
raid5: using function: 32regs (68.000 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.5+(22/07/2002)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting. Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 112k freed
Adding Swap: 84636k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
isapnp: Scanning for PnP cards...
isapnp: Card '33.6Modem'
isapnp: Card 'CS4232'
isapnp: 2 Plug & Play cards detected total
ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
ad1848: WSS/SB detected
ad1848: ISAPnP reports 'WSS/SB' at i/o 0x534, irq 5, dma 1, 3
cs4232: set synthio and synthirq to use the wavefront facilities.
eepro100.c:v1.09j-t 9/29/99 Donald Becker
http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17
Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
eth0: OEM i82557/i82558 10/100 Ethernet, 00:50:8B:AE:CD:7A, IRQ 11.
Board assembly 726837-017, Physical connectors present: RJ45
Primary interface chip i82555 PHY #1.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0x04f4518b).
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
usb-uhci.c: $Revision: 1.275 $ time 15:38:38 Mar 11 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
ttyS1: LSR safety check engaged!
parport0: PC-style at 0x378 [PCSPP,EPP]
UMSDOS 0.86k (compatibility level 0.4, fast msdos)

psi42
11-29-2003, 03:36 AM
Ok, I've got things working.

I replaced the intel nic with a realtek 8139too nic, and everything works great.

I put the intel nic in another computer (the one that previously held the 8139too), and everything works great.

I guess this thing just didn't like that intel nic.......... :confused:


~psi42