LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-06-2009, 12:02 PM   #1
AMA
Member
 
Registered: Sep 2008
Distribution: Arch
Posts: 44

Rep: Reputation: 15
Arch installation doesn't load my NIC


Hi all.

Here's my problem. I have a WinXP partition and a blank partition on my hard disk, and I decided to create a XP-Arch dual boot system. So I downlaoded the Arch FTP install.

I have 4 net cards on my Toshiba Tecra laptop:
- 1394 Net Adapter (no idea what it's for)
- Toshiba Wireless LAN Mini PCI Card
- Intel(R) PRO/100 VE Network Connection
- Realtek RTL8139 Family PCI Fast Ethernet NIC

I'm only using the Realtek card (and it's working fine in Windows XP), the others are disabled under Windows. The MAC address of the the cards are:
Intel(R) PRO/100 VE Network Connection : 00-00-39-63-8C-EE
Realtek RTL8139/810x Family Fast Ethernet NIC: 00-19-E0-19-53-95

However, when I boot the CD and run the Arch installation, on the "Configure Network" page where I need to choose which ethernet card to use, I only have one choice: eth0, and next to it is displayed the physical address eth0, which appears to be 00-00-39-63-8C-EE. So Arch has loaded the Intel card, okay, but what about the Realtek card? Normally I should have had two choices, eth0 and eth1 (eth1 referring to the Realtek NIC). Naturally, when I select eth0, a "Failed to run DHCP" error message appears.

Another strange thing I noticed. At bootup, the Realtek NIC's green light is off, and turns on when Arch prepares the installation, precisely during udev uevents. By the way, udev uevents takes a very long time to finish (around 180000ms !). I think maybe Arch is trying to load the card, but fails. And also, during the installation, the Realtek NIC's light is on.

So, any clues on how I could get Arch loading my NIC card (maybe manually, coz there's a message in the installation saying that I can load the ethernet modules manually) ?

Thanks in advance.

Last edited by AMA; 05-06-2009 at 12:04 PM.
 
Old 05-07-2009, 05:58 AM   #2
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 997
Blog Entries: 15

Rep: Reputation: 136Reputation: 136
Hi, first 1394 is the designation for a firewire port.
For your ethernet problem, when in arch, look, look at ifconfig if it isn't just an installer bug, then check dmesg if there aren't any signs of trouble from the cards.
 
Old 05-07-2009, 11:08 AM   #3
AMA
Member
 
Registered: Sep 2008
Distribution: Arch
Posts: 44

Original Poster
Rep: Reputation: 15
Hi serafean, I don't think it's an installer bug, "ifconfig -a" only returns two interfaces: eth0 and lo. Also, here's what lspci returns:
Code:
00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 04)
00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB Controller #3 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02)
00:1f.6 Modem: Intel Corporation 82801CA/CAM AC'97 Modem Controller (rev 02)
01:00.0 VGA compatible controller: S3 Inc. SuperSavage IX/C SDR (rev 05)
02:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
02:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)
02:0a.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 01)
02:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 32)
02:0b.1 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 32)
02:0d.0 System peripheral: Toshiba America Info Systems SD TypA Controller (rev 03)
As you can see, there are no Realtek cards loaded.

And I don't quite know how to check for signs of trouble from the cards in dmesg, should I post the result of dmesg here? (it's quite long).
 
Old 05-07-2009, 02:45 PM   #4
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 997
Blog Entries: 15

Rep: Reputation: 136Reputation: 136
Hi, for dmesg, try dmesg | grep rtl and post it here if you see anything suspicious. Or simply try modprobe 8139cp or modprobe 8139too and then look at the end of dmesg.
As for the whole dmesg, either post it here, or paste it on pastebin.ca or something like that.
The fact that it doesn't how up in lspci is really strange.
Thus I found out that there are two 8139 drivers, so I suggest you check which one gets loaded, and try the other one. Or try them one by one. Another thing might be that somehow windows leaves the card in a state the L. drivers can't deal with, so you might try completely cutting power for about 30 seconds before booting Arch (to reset any memory the card has).

BTW : I don't see the wireless card detected either, so you might want to check into that too (from what I've found, your card might be based on an Atheros chip.)
 
Old 05-08-2009, 04:24 AM   #5
AMA
Member
 
Registered: Sep 2008
Distribution: Arch
Posts: 44

Original Poster
Rep: Reputation: 15
Hi, "dmesg | grep rtl" doesn't return anything. And here is "dmesg | tail" after "modprobe 8139too" and "modprobe 8139cp"
Code:
Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc <cc> cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 
EIP: [<c044dd10>] quirk_h12y_1_mmio+0x1/0x1f SS:ESP 0068:cea69ef4
---[ end trace 99bd4af850dd8e90 ]---
note: pccardd[1758] exited with preempt_count 1
pcmcia_socket pcmcia_socket0: cs: memory probe 0xff900000-0xff9fffff: excluding 0xff900000-0xff90ffff 0xff9f0000-0xff9fffff
pcmcia 0.0: pcmcia: registering new device pcmcia0.0
intel8x0_measure_ac97_clock: measured 52674 usecs
intel8x0: clocking to 48000
8139too Fast Ethernet driver 0.9.28
8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
The full dmesg is here, immediately after login as root during the installation. Note that the install's preparation takes an awful long time (180000ms, that's 3 mins) on the last line (the "intel8x0: clocking to 48000" line)

The driver that gets loaded is the 0.9.28 version, isn't it? Which is other driver, and how can I try it?

Thanks in advance.

Edit: I also tried turning the computer completely off during 30 sec and then running Arch, but still the same problem.

Last edited by AMA; 05-08-2009 at 04:31 AM.
 
Old 05-08-2009, 11:37 AM   #6
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 997
Blog Entries: 15

Rep: Reputation: 136Reputation: 136
Hi, it seems to me that its your PCCARD/PCMCIA slot that freezes up the system... relevant dmesg for future readers :
Quote:
pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0
pcmcia_socket pcmcia_socket0: cs: memory probe 0xff900000-0xff9fffff: excluding 0xff900000-0xff90ffff 0xff9f0000-0xff9fffff
pcmcia 0.0: pcmcia: registering new device pcmcia0.0
pcmcia_socket pcmcia_socket2: pccard: CardBus card inserted into slot 2
pci 0000:09:00.0: reg 10 io port: [0x00-0xff]
pci 0000:09:00.0: reg 14 32bit mmio: [0x000000-0x0001ff]
int3: 0000 [#1] PREEMPT SMP
last sysfs file: /sys/devices/pci0000:00/0000:00:1e.0/0000:02:0a.0/0.0/allow_func_id_match
Modules linked in: snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device pcmcia(+) snd_intel8x0m snd_intel8x0(+) eepro100 snd_pcm_oss snd_ac97_codec ac97_bus snd_mixer_oss snd_pcm ppdev yenta_socket snd_timer e100 ppp_generic slhc lp pcspkr rsrc_nonstatic snd psmouse serio_raw mii pcmcia_core soundcore snd_page_alloc sg iTCO_wdt iTCO_vendor_support video parport_pc usbhid parport output toshiba_acpi hid rfkill input_polldev intel_agp shpchp pci_hotplug agpgart thermal processor evdev fan button battery ac rtc_cmos rtc_core rtc_lib loop unionfs squashfs isofs zlib_inflate sr_mod cdrom sd_mod ohci1394 ieee1394 ata_piix uhci_hcd pata_acpi ata_generic ehci_hcd libata usbcore scsi_mod

Pid: 1775, comm: pccardd Not tainted (2.6.28-ARCH #1) TECRA 9100
EIP: 0060:[<c044dd10>] EFLAGS: 00000246 CPU: 0
EIP is at quirk_h12y_1_mmio+0x1/0x1f
EAX: ce6e1800 EBX: c03cbe74 ECX: ce6e1840 EDX: ce6e1800
ESI: c03cc1c4 EDI: ce6e1800 EBP: cf4aa400 ESP: cf5c5ef4
DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
Process pccardd (pid: 1775, ti=cf5c4000 task=ce754000 task.ti=cf5c4000)
Stack:
c0219423 ce6e1800 cf4aa400 ce6e1800 c0216be9 00000200 00000000 c031c76c
ce6e1826 c03b3dbd 00000000 00000009 00000000 00000000 00000001 cf4aa420
ce6e1858 00000200 813910ec 00ffffed 00000000 00000000 00000000 cf4aa400
Call Trace:
[<c0219423>] pci_fixup_device+0x63/0xc0
[<c0216be9>] pci_device_add+0x69/0xb0
[<c031c76c>] pci_scan_single_device+0x35c/0x4f0
[<c0216c53>] pci_scan_slot+0x23/0x80
[<d089f4ef>] cb_alloc+0x1f/0xd4 [pcmcia_core]
[<d089b854>] socket_insert+0x124/0x140 [pcmcia_core]
[<d089c202>] pccardd+0x202/0x290 [pcmcia_core]
[<d089c000>] pccardd+0x0/0x290 [pcmcia_core]
[<c0144279>] kthread+0x39/0x70
[<c0144240>] kthread+0x0/0x70
[<c0104d33>] kernel_thread_helper+0x7/0x14
Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc <cc> cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc
EIP: [<c044dd10>] quirk_h12y_1_mmio+0x1/0x1f SS:ESP 0068:cf5c5ef4
---[ end trace 282136fd3665c68a ]---
note: pccardd[1775] exited with preempt_count 1
I suggest you boot the liveCD while adding "printk.time=1" to the grub command (in grub, press e , select the kernel line, press e , append printk.time=1 , press enter, and press b to boot.)you will get the time from first kernel load for each action in dmesg, so you can see where there is a 18000 second wait. I suggest removing any card you have in your PCCard slot/deactivating it in the BIOS/in the kernel (by appending nopcmcia=yes to the GRUB kernel line => same steps as for printk.time=1) and tying Arch again.

The dmesg you posted here shows that the 8139 drivers find no hardware to configure (lspci told us roughly the same thing).

Last edited by serafean; 05-08-2009 at 11:41 AM.
 
Old 05-12-2009, 05:56 AM   #7
AMA
Member
 
Registered: Sep 2008
Distribution: Arch
Posts: 44

Original Poster
Rep: Reputation: 15
Hi serafean, thanks for your explanation, and guess what, the problem is solved!
As you suggested I removed the realtek card and used the Intel card only. And dhcp worked! So now I have a shiny new Arch system, all is perfect. Thanks mate!
I think the problem comes from the Arch kernel which is unable to load multiple net cards (no problem with Gentoo kernel and Ubuntu). Well, everything's fine now.
 
Old 05-14-2009, 09:31 AM   #8
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 997
Blog Entries: 15

Rep: Reputation: 136Reputation: 136
Glad you're up and running, have you considered buging the arch guys about this? BTW does you wireless card show up now or not?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Arch installation ultrapup Arch 8 04-17-2009 09:40 AM
Arch: error is failed to load vga, fbdev and nv module :doesnt exist flipwhy Linux - Newbie 24 04-08-2007 08:53 PM
ARCH BOOTLOADER installation khaleel5000 Linux - Newbie 21 01-04-2006 05:19 AM
Arch Linux - Installing a Realtek 8139 NIC John5788 Linux - Newbie 3 02-10-2004 08:47 PM
NIC Installation: Cannot load Tulip module jadugarr Slackware 9 07-21-2003 04:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration