Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Abit VP6 [Solved, FINALLY!!]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
slithy
Guru
Guru


Joined: 26 Nov 2005
Posts: 321
Location: Kansas

PostPosted: Sat Feb 04, 2006 4:54 am    Post subject: Abit VP6 [Solved, FINALLY!!] Reply with quote

I am currently trying to install gentoo on my Abit VP6 with 2x1000EB PIII processors and the problem that I am having is that my network card won't get an ip from dhcp. I have a Netgear GA302T which uses the tg3 driver, which is loaded. I have tried a static ip and once I get all that set, I can't ping crap. The only time I was able to half-ass get packets was when I had the card in pci slot 4 and when I would hit keys on my USB keyboard, packets would go. I believe this to be because PCI slot 4 and the usb controller share an IRQ, but have tried just about every over slot and what not and can't get the eth0 to work. I think it has something to do with an IRQ problem, but I don't know much about IRQs, so any help would be appreciated.

Last edited by slithy on Sun Feb 05, 2006 2:47 am; edited 4 times in total
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Feb 04, 2006 5:35 pm    Post subject: Reply with quote

IRQ routing problems will certainly make your NIC not work properly.

When you load the tg3 module, look at dmesg to see what IRQ it is getting
Code:
# dmesg | less
...
ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16
ACPI: PCI Interrupt 0000:01:08.0[A] -> Link [APC1] -> GSI 16 (level, high) -> IRQ 20
eth1: Tigon3 [partno(AC91002A1) rev 0105 PHY(5701)] (PCI:33MHz:32-bit) 10/100/1000BaseT Ethernet 00:09:5b:62:1e:ce
eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[0]
eth1: dma_rwctrl[76ff000f]
tg3: eth1: Link is up at 1000 Mbps, full duplex.
tg3: eth1: Flow control is on for TX and on for RX.

then look at /proc/interrupts to see if the line for that IRQ has eth1 (in my case) listed on it.
Code:
# cat /proc/interrupts
           CPU0
  0:     603024    IO-APIC-edge  timer
  1:       2610    IO-APIC-edge  i8042
  7:          0    IO-APIC-edge  parport0
  8:          2    IO-APIC-edge  rtc
  9:          0   IO-APIC-level  acpi
 12:      93739    IO-APIC-edge  i8042
 14:      17777    IO-APIC-edge  ide0
 15:      17524    IO-APIC-edge  ide1
 16:      41638   IO-APIC-level  ide2
 17:     235708   IO-APIC-level  ohci_hcd:usb1, eth0
 18:          0   IO-APIC-level  ohci_hcd:usb2, NVidia nForce2
 19:          3   IO-APIC-level  ehci_hcd:usb3, ohci1394
 20:     121966   IO-APIC-level  eth1
 21:     119311   IO-APIC-level  radeon@pci:0000:03:00.0
NMI:          0
LOC:     603013
ERR:          0
MIS:          0

If you can't get your NIC to show up properly in /proc/interrupts , then try recompiling your kernel with different options for ACPI, APIC, IO-APIC. These are the main options that affect IRQ routing (besides putting the NIC in a different PCI slot).
Back to top
View user's profile Send private message
slithy
Guru
Guru


Joined: 26 Nov 2005
Posts: 321
Location: Kansas

PostPosted: Sat Feb 04, 2006 6:58 pm    Post subject: Reply with quote

First off, I went ahead and installed the base OS from the cd and am booted into the 2.6.12-gentoo-r6 kernel.
Second, I checked dmesg and /proc/interrupts and eth0 gets IRQ 11 in dmesg, but isn't listed /proc/interrupts.

When you were saying about recompiling with the different ACPI and APIC options, are you talking about what's under the Power Management Section?

EDIT:
tg3 from dmesg:
Code:
tg3.c:v3.31 (June 8, 2005)
ACPI: PCI INterrupt 0000:00:0b.0[A]: no GSI - using IRQ 11
eth0: Tigon3 [partno(AC91002A1) rev 0105 PHY(5701)] (PCI :33Mhz:32-bit) 10/100/1000BaseT Ethernet 00:09:5b:8e:65:6b
eth0: RXcsums[1] LinkChgREG[0] MIirg[0] ASF[0] Split[0] WireSpeed[1] TS0cap[0]
eth0: dma_rwctrl[76ff000f]


cat /proc/interrupts:
Code:
   CPU0    CPU1
0:   424320    3681    IO-APIC-edge timer
1:   483           2           IO-APIC-edge i8042
5:   0                0           IO-APIC-level  acpi
12: 2               1           IO-APIC-level uhci_hcd:usb1, uhci_hcd:usb2
14: 665          5           IO-APIC-edge ide0
15: 2              11         IO-APIC ide1
NMI:  0     0
LOC: 427883     428347
ERR: 0
MIS: 0
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Feb 04, 2006 7:22 pm    Post subject: Reply with quote

Yes, ACPI is under power management
Code:
Power management options (ACPI, APM)  --->
  ACPI (Advanced Configuration and Power Interface) Support  --->
    [*] ACPI Support

APIC and IO-APIC are in the processor section
Code:
Processor type and features  --->
  [*] Local APIC support on uniprocessors
  [*]   IO-APIC support on uniprocessors

I think APIC is enabled by default for SMP kernels, so you may not see this option.
Back to top
View user's profile Send private message
slithy
Guru
Guru


Joined: 26 Nov 2005
Posts: 321
Location: Kansas

PostPosted: Sat Feb 04, 2006 7:55 pm    Post subject: Reply with quote

Switching the power management over to APM from ACPI fixed the problem, thanks for your help!

EDIT: Ok, while the network card worked under that, I was getting a kernel panic, so I read elsewhere on the forum that the same problem was solved by flashing the BIOS. I flashed and the card worked under my original kernel, but I am still getting the panic. The one thing that is consistent with the panic is that the card is in a working condtion. I am now testing the system with no network card to see if there is a panic.

EDIT II: Moving the nic to another PCI slot (slot 5) has stopped the kernel panic. I also up the kernel to 2.6.15.

EDIT III: Was still getting kernel panics, turns out it was a bad stick of RAM.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum