Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network issues on a ServerWorks chipset mobo
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
quiver
n00b
n00b


Joined: 31 Dec 2004
Posts: 17
Location: Melbourne, Australia

PostPosted: Thu Sep 29, 2005 6:10 am    Post subject: Network issues on a ServerWorks chipset mobo Reply with quote

and yes, I've waded through the forums already!!!

Ok, got an odd situation here. I'm installing Gentoo on a dual-PIII Tyan Thunder HEsl S2567 (ServerWorks ServerSet HE-SL chipset), with a gigabyte of parity ECC installed. The motherboard 'features' onboard LAN, with an embedded Intel 82559 rev. 08 controller.

Two additional PCI NIC's (Intel Pro/100+, RealTek RTL8139C) and no less than four Gentoo livecd's (2004.2, 2004.3, 2005.0, 2005.1) later, and not one of the livecd's could recognise any of the adapters, no matter what was thrown at it by way of dhcpcd or static IP's, or driver loading for that matter (coincidentally it couldn't load the onboard SCSI, a PCI Adaptec 29160, or the onboard audio either...)

Oh, wait up, let me expand on the above ..."recognise any of the adapters"... Well, ifconfig -a will show the device, and dmesg | grep eth reports no more nor any less than it should;
Code:
localhost ~ # dmesg | grep eth
eth0: 0000:00:07.0, 00:E0:81:21:72:50, IRQ 9

It's just that no amount of configuring, restarting adapters, reloading modules (e100, eepro100, mii...) or even pinging, will cause any alteration to the stats that ifconfig displays for that adapter (particularly by way of RX/TX packets/bytes). dmesg will recognise the network state if I take the adapter down and back up or unplug it and plug it back in again, as it should, and if I run dhcpcd or attempt pinging, there's plenty of activity from both the NIC's traffic lights and that of the relevant LED on the switch with which it's connected.

So, nothing appears to be /actually/ working, despite the kernels apparent recognition of the many adapters it's had thrown at it.

Well, In comes Knoppix, to save the day!

Knoppix not only detects all the adapters including the onboard one, right away, but it picks up all the other assorted goodies on the systems PCI bus also. So, as per the 'alternative installation means' guide, I did a stage1 install care of Knoppix, and played plenty of tux-racer in the process (The installation does prescribe it, afterall :D).

So, two more stages and a reboot later, and I'm in my trusty gentoo kernel... and you guessed it, without anything by way of a network. mii, e100, (and the Becker driver, eepro100 plus the Realtek set, for good measure) are modularized, and I appear to be getting the exact same behaviour as I did with the Gentoo livecd's. Naturally I decided this was a good point to fire up Knoppix again, and lsmod to find out what it's secret was. However no tricks, just mii and e100, same as my new gentoo install.

So I'm thinking it's a PCI bridge issue. And there's no way I'm gonna copy the entire output of lspci -v from one display to this one, so excuse me whilst I reboot into trusty knoppix and cat and scp it's output from there!
Code:
Knoppix / # lspci -v
0000:00:00.0 Host bridge: ServerWorks CNB20HE Host Bridge (rev 23)
   Flags: fast devsel
   Memory at ea000000 (32-bit, prefetchable) [disabled] [size=32M]
   Memory at e9fff000 (32-bit, non-prefetchable) [disabled] [size=4K]

0000:00:00.1 PCI bridge: ServerWorks CNB20LE Host Bridge (rev 01) (prog-if 00 [Normal decode])
   Flags: bus master, 66MHz, medium devsel, latency 64
   Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
   I/O behind bridge: 0000c000-0000cfff
   Memory behind bridge: fc500000-fe5fffff
   Prefetchable memory behind bridge: ec200000-fc2fffff
   Capabilities: <available only to root>

0000:00:00.2 Host bridge: ServerWorks CNB20HE Host Bridge (rev 01)
   Flags: medium devsel

0000:00:00.3 Host bridge: ServerWorks CNB20HE Host Bridge (rev 01)
   Flags: medium devsel

0000:00:02.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 09)
   Subsystem: Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128
   Flags: bus master, slow devsel, latency 64, IRQ 30
   I/O ports at df00 [size=64]
   Capabilities: <available only to root>

0000:00:07.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08)
   Subsystem: Intel Corp. EtherExpress PRO/100+ Server Adapter (PILA8470B)
   Flags: bus master, medium devsel, latency 64, IRQ 23
   Memory at feaff000 (32-bit, non-prefetchable) [size=4K]
   I/O ports at de80 [size=64]
   Memory at fe900000 (32-bit, non-prefetchable) [size=1M]
   Expansion ROM at fe800000 [disabled] [size=1M]
   Capabilities: <available only to root>

0000:00:0f.0 ISA bridge: ServerWorks OSB4 South Bridge (rev 51)
   Subsystem: ServerWorks OSB4 South Bridge
   Flags: bus master, medium devsel, latency 0

0000:00:0f.1 IDE interface: ServerWorks OSB4 IDE Controller (prog-if 8a [Master SecP PriP])
   Flags: bus master, medium devsel, latency 64
   I/O ports at ffa0 [size=16]

0000:00:0f.2 USB Controller: ServerWorks OSB4/CSB5 OHCI USB Controller (rev 04) (prog-if 10 [OHCI])
   Subsystem: ServerWorks OSB4/CSB5 OHCI USB Controller
   Flags: bus master, medium devsel, latency 64, IRQ 10
   Memory at feaf5000 (32-bit, non-prefetchable) [size=4K]

0000:01:00.0 VGA compatible controller: nVidia Corporation NV15 [GeForce2 GTS/Pro] (rev a3) (prog-if 00 [VGA])
   Subsystem: LeadTek Research Inc. WinFast GeForce2 GTS with TV output
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
   Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
   Memory at f0000000 (32-bit, prefetchable) [size=128M]
   Expansion ROM at fe5f0000 [disabled] [size=64K]
   Capabilities: <available only to root>

...In fact, what the hell, I'll toss in lsmod's output whilst I'm at it;
Code:
Knoppix / # lsmod
Module                  Size  Used by
snd_mixer_oss          18688  0
snd                    46308  1 snd_mixer_oss
agpgart                30512  0
autofs4                18820  1
af_packet              20104  0
reiserfs              232304  0
es1371                 35520  1
soundcore              11104  3 snd,es1371
gameport                7552  1 es1371
ac97_codec             20108  1 es1371
e100                   34944  0
mii                     7808  1 e100
i2c_piix4              11408  0
i2c_core               21248  1 i2c_piix4
parport_pc             38596  0
parport                33480  1 parport_pc
8250                   41692  0
serial_core            21120  1 8250
tsdev                   9664  0
evdev                  11008  0
usbhid                 42176  0
pcmcia                 21776  0
yenta_socket           21896  0
rsrc_nonstatic         12160  1 yenta_socket
pcmcia_core            42272  3 pcmcia,yenta_socket,rsrc_nonstatic
apm                    22252  0
genrtc                 12060  0
unionfs               109944  1
cloop                  18848  1
sbp2                   24456  0
ohci1394               33028  0
ieee1394              300600  2 sbp2,ohci1394
usb_storage            63296  0
ub                     18332  0
ohci_hcd               21896  0
uhci_hcd               31376  0
ehci_hcd               31752  0
usbcore               101496  7 usbhid,usb_storage,ub,ohci_hcd,uhci_hcd,ehci_hcd


So, has anyone had experience with this motherboard or chipset, who could tell me either what to alter or add to my existing installation to get it to access the PCI bus properly, or can anyone tell me what the Knoppix livecd did that gentoo didn't?!

Any help would be very muchly appreciated!
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Thu Sep 29, 2005 12:14 pm    Post subject: Reply with quote

Quote:
can anyone tell me what the Knoppix livecd did that gentoo didn't?

Certainly.
Knoppix tries to autodetect all hardware - and loads modules for it.
Gentoo uses the Knoppix autodetector - but doesn't load all modules.

Try booting a LiveCD with
Code:
gentoo noapic

as suggested in the Handbook in case of NIC or SCSI troubles (!)

Yes, it's in the Handbook. :D

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=2#doc_chap4
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
quiver
n00b
n00b


Joined: 31 Dec 2004
Posts: 17
Location: Melbourne, Australia

PostPosted: Thu Sep 29, 2005 12:42 pm    Post subject: Reply with quote

Well, from a 2005.1 livecd at least, you'd be right, but wrong. Yes it uses the autoloader if I add the noapic tag to it, but still exactly the same problem exists, so Knoppix is still doing something different.

Is there someplace I can find a key for all the modules lsmod gave me earlier? Because if I had descriptions of those modules, it'd probably be a lot easier to track down... I could go through what the differences were between the 2005.1 gentoo noapic & the knoppix livecd, but it would hardly narrow it down, there's scarcely a similarity to be found, which is interesting.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Thu Sep 29, 2005 1:41 pm    Post subject: Reply with quote

Let's start with the NIC, just to simplify matters.
What happens when you modprobe it, or force load it, or try to change the IRQ assignment ?

Is there a difference between Knoppix's lspci output and the Gentoo one ?

What do the various /proc lists tell you in either of these OSes ?

I'm afraid you have to investigate this stuff, since short of reading the Knoppix sources I doubt it'll be an easy answer.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
root_cause
n00b
n00b


Joined: 03 Oct 2005
Posts: 8

PostPosted: Mon Oct 03, 2005 4:12 am    Post subject: Reply with quote

Quiver

No, you are not alone. I have had the same issue with my own Serverworks STL2 motherboard - right up to this weekend - and yes - with the same built in Intel network card. In fact If I read your message right your experience almost parallels mine. I boot from the 2005.1 Live CD, the card is detected AND provided an IP address via DHCP, but within minutes would just drop off the network and off the active list in ifconfig.

The best I could gather is this - the issue is either specific to the Gentoo boot CD OR the linux kernel used OR a combination of the two with the Serverworks system hardware. I say this because as a control experiment I can boot and install FreeBSD 5,6 and 7 versions with no problem anywhere during the process. Gentoo itself also runs without a hitch once the install is complete.

So to solve the problem for install I manually assigned an IP address to the Intel card as soon as the Live CD booted.
However to your credit it sounds like you tried this long ago. In your situation my next step would be to install a secondary network card to use during setup since once Gentoo is installed the Intel card seems to work just fine. Sorry I can't give you a better answer. :?

As a matter of interest I remember reading a similar note during FreeBSD's development of their 5.x series. Since the 5.x series is a complete rewrite from 4.x one of their first tasks was to rewrite the kernel down to the system drivers. And one of the biggest headaches I read about was the driver for this network card. Sometimes the card's active light would stay off even when the connection was active. Other times the card itself would not connect at all. They even asked Intel what the cause may be and Intel was stumped.

I think I read this on the FreeBSD mailing list as well as one of the early release notes.

Anyway, it took a while but as always with open source development teams they solved it. I never could locate what it was or what they did.

So if not to solve your problem here I can at least validate your experience. Hope this helps.
Back to top
View user's profile Send private message
root_cause
n00b
n00b


Joined: 03 Oct 2005
Posts: 8

PostPosted: Mon Oct 03, 2005 4:36 am    Post subject: Reply with quote

Sorry, I just read your message one more time. You already tried multiple cards with no success. Damn - even I had better luck than that....
Back to top
View user's profile Send private message
tkdfighter
Apprentice
Apprentice


Joined: 14 May 2004
Posts: 271
Location: Bludenz, Austria

PostPosted: Wed Sep 06, 2006 2:05 pm    Post subject: Reply with quote

Sorry to bump up this thread again, but I'm having the very same problem. Did anyone ever solve this?
Back to top
View user's profile Send private message
Janne Pikkarainen
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1143
Location: Helsinki, Finland

PostPosted: Wed Sep 06, 2006 2:26 pm    Post subject: Reply with quote

Just to make sure... is this problem still present with Gentoo 2006.1?
_________________
Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.".
Back to top
View user's profile Send private message
tkdfighter
Apprentice
Apprentice


Joined: 14 May 2004
Posts: 271
Location: Bludenz, Austria

PostPosted: Thu Sep 07, 2006 12:18 pm    Post subject: Reply with quote

I'm still using 2006.0 and the kernel 2.6.14-hardened-r8 on this installation as of now. Should the issue be solved using 2006.1? Well, looks like I'll have to download the full CD and then update. Could anyone tell me what version of Knoppix the original poster used? I tried version 4.0.2, the RHEL 4 installation / rescue CD, the Gentoo 2004.1 minimal LiveCD and the FreeBSD 5.3 disc. None of them worked.
I also installed a Linksys PCI NIC, which uses the Tulip driver. But that was also a no-go with all of the above mentioned LiveCDs.

I'll try using a newer kernel and update to 2006.1.
Back to top
View user's profile Send private message
tkdfighter
Apprentice
Apprentice


Joined: 14 May 2004
Posts: 271
Location: Bludenz, Austria

PostPosted: Sat Sep 09, 2006 11:00 pm    Post subject: Reply with quote

So here's a quick report: I tried out the 2006.1 LiveCD and on my first boot, the Linksys card was working just fine! I had disabled the integrated NIC in the BIOS. I then rebooted and enabled it, and then they both didn't work. Ever since, I've been trying to find out how I got it to work the first time. I've disabled the Intel NIC again, tried plugging the card into a PCI slot on the second bus, playing around with modules and parameters. But nothing works :cry:

I really have no clue what to do except sleep over it, which I'll do now.
Back to top
View user's profile Send private message
tkdfighter
Apprentice
Apprentice


Joined: 14 May 2004
Posts: 271
Location: Bludenz, Austria

PostPosted: Mon Sep 11, 2006 4:06 pm    Post subject: Reply with quote

OK, I solved the problem. My network cable is pretty long, and apparantly not all NICs like that. So I tried moving the computer to a different room with a shorter cable and cha-ching, both ethernet cards worked just fine.

Sorry to have bumped up this thread as my problem was not quite on topic, but the symptoms seemed the same.
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