Compiling Kernel....network not working

Robert Dege rdege at cse.Buffalo.EDU
Tue Dec 2 08:52:11 EST 2003


3 Things:

1) Unless you're system has dual processors, there is really no reason for
you to be running APIC.  This has been known to oddities/problems.
>From your dmesg:

> Found and enabled local APIC!
> Initializing CPU#0


2) Did you compile your NIC driver into the kernel or as a module?  If you
built it into the kernel, you might need to remove the alias eth0 line
from your modules.conf file.

3) The pci=noacpi boot parameter didn't appear to be in the right format
based on your dmesg:

> Kernel command line: auto BOOT_IMAGE=Linux ro root=301 pci=noapci
> PCI: Unknown option `noapci'


-Rob

> I tried that and it didnt work. I recompiled the kernel again and same
> results. I even put a new ethernet card in (tulip compatible) and still
> no dice. I have included my results from dmesg and hopefully someone can
> see were im screwing up
>
> Linux version 2.4.22.02 (root at b0x) (gcc version 3.3.2 (Debian)) #1 SMP
> Mon Dec 1 23:02:26 EST 2003
> BIOS-provided physical RAM map:
>  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
>  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
>  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
>  BIOS-e820: 0000000000100000 - 000000000ffc0000 (usable)
>  BIOS-e820: 000000000ffc0000 - 000000000fff8000 (ACPI data)
>  BIOS-e820: 000000000fff8000 - 0000000010000000 (ACPI NVS)
>  BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
>  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
>  BIOS-e820: 00000000ffb80000 - 00000000ffc00000 (reserved)
>  BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
> 255MB LOWMEM available.
> ACPI: have wakeup address 0xc0002000
> On node 0 totalpages: 65472
> zone(0): 4096 pages.
> zone(1): 61376 pages.
> zone(2): 0 pages.
> ACPI: RSDP (v000 AMI                                       ) @ 0x000ff980
> ACPI: RSDT (v001 GATEWA N0CPP063 0x20010820 MSFT 0x00001011) @ 0x0fff0000
> ACPI: FADT (v001 GATEWA N0CPP063 0x20010820 MSFT 0x00001011) @ 0x0fff1000
> ACPI: SSDT (v001 GATEWA N0CPP063 0x00000001 MSFT 0x0100000b) @ 0x0ffe3189
> ACPI: DSDT (v001 GATEWA N0CPP063 0x00000004 MSFT 0x0100000b) @ 0x00000000
> ACPI: MADT not present
> Kernel command line: auto BOOT_IMAGE=Linux ro root=301 pci=noapci
> PCI: Unknown option `noapci'
> Found and enabled local APIC!
> Initializing CPU#0
> Detected 1396.599 MHz processor.
> Console: colour VGA+ 80x25
> Calibrating delay loop... 2785.28 BogoMIPS
> Memory: 255344k/261888k available (1931k kernel code, 6156k reserved,
> 696k data, 148k init, 0k highmem)
> Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
> Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
> Mount cache hash table entries: 512 (order: 0, 4096 bytes)
> Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
> Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
> CPU: Trace cache: 12K uops, L1 D cache: 8K
> CPU: L2 cache: 256K
> CPU: Hyper-Threading is disabled
> Intel machine check architecture supported.
> Intel machine check reporting enabled on CPU#0.
> CPU:     After generic, caps: 3febfbff 00000000 00000000 00000000
> CPU:             Common caps: 3febfbff 00000000 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
> CPU: Trace cache: 12K uops, L1 D cache: 8K
> CPU: L2 cache: 256K
> CPU: Hyper-Threading is disabled
> Intel machine check reporting enabled on CPU#0.
> CPU:     After generic, caps: 3febfbff 00000000 00000000 00000000
> CPU:             Common caps: 3febfbff 00000000 00000000 00000000
> CPU0: Intel(R) Pentium(R) 4 CPU 1400MHz stepping 07
> per-CPU timeslice cutoff: 731.27 usecs.
> SMP motherboard not detected.
> enabled ExtINT on CPU#0
> ESR value before enabling vector: 00000000
> ESR value after enabling vector: 00000000
> Using local APIC timer interrupts.
> calibrating APIC timer ...
> ..... CPU clock speed is 1396.5256 MHz.
> ..... host bus clock speed is 99.7516 MHz.
> cpu: 0, clocks: 997516, slice: 498758
> CPU0<T0:997504,T1:498736,D:10,S:498758,C:997516>
> Waiting on wait_init_idle (map = 0x0)
> All processors have done init_idle
> ACPI: Subsystem revision 20030813
> PCI: PCI BIOS revision 2.10 entry at 0xfda95, last bus=2
> PCI: Using configuration type 1
> ACPI: Interpreter enabled
> ACPI: Using PIC for interrupt routing
> ACPI: System [ACPI] (supports S0 S1 S3 S4 S5)
> ACPI: PCI Root Bridge [PCI0] (00:00)
> PCI: Probing PCI hardware (bus 00)
> Transparent bridge - Intel Corp. 82801BA/CA/DB/EB PCI Bridge
> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
> ACPI: Power Resource [FDDP] (off)
> ACPI: Power Resource [URP1] (off)
> ACPI: Power Resource [LPTP] (off)
> ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
> ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
> ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 11 12 14 15, disabled)
> ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
> ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 14 15, disabled)
> ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
> ACPI: PCI Interrupt Link [LNKG] (IRQs *3 4 5 6 7 9 10 11 12 14 15)
> ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
> PCI: Probing PCI hardware
> ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 5
> ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
> ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 9
> ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
> ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 10
> ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 9
> PCI: Using ACPI for IRQ routing
> PCI: if you experience problems, try using option 'pci=noacpi' or even
> 'acpi=off'
> isapnp: Scanning for PnP cards...
> isapnp: No Plug & Play device found
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Initializing RT netlink socket
> Starting kswapd
> Installing knfsd (copyright (C) 1996 okir at monad.swb.de).
> pty: 256 Unix98 ptys configured
> Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
> SERIAL_PCI ISAPNP enabled
> ttyS00 at 0x03f8 (irq = 4) is a 16550A
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a post-1991 82077
> loop: loaded (max 8 devices)
> Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
> tulip0:  EEPROM default media type Autosense.
> tulip0:  Index #0 - Media MII (#11) described by a 21140 MII PHY (1) block.
> tulip0:  MII transceiver #1 config 1000 status 7829 advertising 01e1.
> eth0: Digital DS21140 Tulip rev 34 at 0xdc00, 00:C0:F0:40:E3:C5, IRQ 10.
> Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
> Linux agpgart interface v0.99 (c) Jeff Hartmann
> agpgart: Maximum main memory to use for agp memory: 203M
> agpgart: Detected Intel i850 chipset
> agpgart: AGP aperture is 64M @ 0xf8000000
> [drm] Initialized tdfx 1.0.0 20010216 on minor 0
> [drm] AGP 0.99 on Intel i850 @ 0xf8000000 64MB
> [drm] Initialized radeon 1.1.1 20010405 on minor 1
> [drm] AGP 0.99 on Intel i850 @ 0xf8000000 64MB
> [drm] Initialized i810 1.2.0 20010920 on minor 2
> Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> ICH2: IDE controller at PCI slot 00:1f.1
> ICH2: chipset revision 4
> ICH2: not 100% native mode: will probe irqs later
>     ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
>     ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA
> hda: MAXTOR 6L040J2, ATA DISK drive
> blk: queue c0415860, I/O limit 4095Mb (mask 0xffffffff)
> hdc: Hewlett-Packard CD-Writer Plus 9100b, ATAPI CD/DVD-ROM drive
> hdd: LG CD-RW CED-8080B, ATAPI CD/DVD-ROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: attached ide-disk driver.
> hda: 78177792 sectors (40027 MB) w/1819KiB Cache, CHS=4866/255/63, UDMA(100)
> hdc: attached ide-cdrom driver.
> hdc: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
> Uniform CD-ROM driver Revision: 3.12
> hdd: attached ide-cdrom driver.
> hdd: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
> Partition check:
>  hda: hda1 hda3
> SCSI subsystem driver Revision: 1.00
> kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
> Linux Kernel Card Services 3.1.22
>   options:  [pci] [cardbus] [pm]
> usb.c: registered new driver hub
> host/uhci.c: USB Universal Host Controller Interface driver v1.1
> PCI: Setting latency timer of device 00:1f.2 to 64
> host/uhci.c: USB UHCI at I/O 0xef40, IRQ 5
> usb.c: new USB bus registered, assigned bus number 1
> hub.c: USB hub found
> hub.c: 2 ports detected
> PCI: Setting latency timer of device 00:1f.4 to 64
> host/uhci.c: USB UHCI at I/O 0xef80, IRQ 9
> usb.c: new USB bus registered, assigned bus number 2
> hub.c: USB hub found
> hub.c: 2 ports detected
> usb.c: registered new driver hid
> hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech at suse.cz>
> hid-core.c: USB HID support drivers
> usb.c: registered new driver usbscanner
> scanner.c: 0.4.13:USB Scanner Driver
> usb.c: registered new driver usblp
> printer.c: v0.11: USB Printer Device Class driver
> Initializing USB Mass Storage driver...
> usb.c: registered new driver usb-storage
> USB Mass Storage support registered.
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP: routing cache hash table of 2048 buckets, 16Kbytes
> TCP: Hash tables configured (established 16384 bind 16384)
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> ds: no socket drivers loaded!
> VFS: Mounted root (ext2 filesystem) readonly.
> Freeing unused kernel memory: 148k freed
> Adding Swap: 522104k swap-space (priority -1)
> eth0: Setting full-duplex based on MII#1 link partner capability of 41e1.
> FAT: bogus logical sector size 3037
> VFS: Can't find a valid FAT filesystem on dev 02:00.
>
>
>



Dege

I'm just not up2date on my al-kee-hol-*hic* lingo
Although, I do have that slurring part down ;)



More information about the nflug mailing list