wired network not working in Intrepid also in Live CD

Asked by David Wende

My wired ethernet connection to home router worked perfectly in Hardy 8.04 using the
skge driver.
Output of "lspci" gives:
 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)

However, installed 8.10 and ethernet stopped working.

I tried suggestions at :
http://mail.google.com/mail/?ui=2&view=js&name=js&ver=A5pcKYmUmLY&am=X_E4tcT3ECGpBf3gOdJHWQ

but this also did not work.

The 8.10 Install CD (in Live CD mode) also fails to connect with my wired connection.

I re-installed Hardy 8.04 and ethernet / internet is back working again.

I would appreciate any suggestions on how to operate Intrepid with ethernet?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu network-manager Edit question
Assignee:
No assignee Edit question
Solved by:
David Wende
Solved:
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

Hi,

This looks like the following bug (probably a regression/bug in the skge driver):

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/131965

Please try supplying the kernel with the mem=3G boot parameter.

If the issue is still not solved using the mem=3G boot parameter, please send output of following commands:

uname -a
cat /proc/version_signature
dmesg | grep eth
sudo lspci -v
sudo lshw -C network
ifconfig

Regards,

Mark

Revision history for this message
David Wende (david-wende) said :
#2

Hi Mark,

Tried your suggestion with the 8.10 LiveCD and using F6 to set kernel options.
Wrote mem=3G and then <enter>

I could now not even start the LiveCD properly (as I could before adding options).

The message is something like:
[ 0.027433] ACPI Aborted because bad gzip magic numbers
[ 0.765466] Kernel panic - not syncing : VFS: Unable to mount root fs on unknown block (8,1)

If I boot the liveCD WITHOUT the added kernel option mem=3G, the network does not
work as previously stated, and the outputs that you requested are:
=============
===uname -a====
Linux ubuntu 2.6.27-7-generic #1 SMP Fri Oct 24 06:42:44 UTC 2008 i686 GNU/Linux
=============
===lspci -v===
00:00.0 Host bridge: nVidia Corporation nForce3 250Gb Host Bridge (rev a1)
 Flags: bus master, 66MHz, fast devsel, latency 0
 Memory at e8000000 (32-bit, prefetchable) [size=128M]
 Capabilities: [44] HyperTransport: Slave or Primary Interface
 Capabilities: [c0] AGP version 3.0
 Kernel driver in use: agpgart-amd64
 Kernel modules: amd64-agp

00:01.0 ISA bridge: nVidia Corporation nForce3 250Gb LPC Bridge (rev a2)
 Subsystem: Giga-byte Technology Device 0c11
 Flags: bus master, 66MHz, fast devsel, latency 0

00:01.1 SMBus: nVidia Corporation nForce 250Gb PCI System Management (rev a1)
 Subsystem: Giga-byte Technology Device 0c11
 Flags: 66MHz, fast devsel, IRQ 10
 I/O ports at e400 [size=32]
 I/O ports at 1c00 [size=64]
 I/O ports at 2000 [size=64]
 Capabilities: [44] Power Management version 2
 Kernel driver in use: nForce2_smbus
 Kernel modules: i2c-nforce2

00:02.0 USB Controller: nVidia Corporation CK8S USB Controller (rev a1) (prog-if 10)
 Subsystem: Giga-byte Technology Device 5004
 Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
 Memory at fc003000 (32-bit, non-prefetchable) [size=4K]
 Capabilities: [44] Power Management version 2
 Kernel driver in use: ohci_hcd
 Kernel modules: ohci-hcd

00:02.1 USB Controller: nVidia Corporation CK8S USB Controller (rev a1) (prog-if 10)
 Subsystem: Giga-byte Technology Device 5004
 Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
 Memory at fc004000 (32-bit, non-prefetchable) [size=4K]
 Capabilities: [44] Power Management version 2
 Kernel driver in use: ohci_hcd
 Kernel modules: ohci-hcd

00:02.2 USB Controller: nVidia Corporation nForce3 EHCI USB 2.0 Controller (rev a2) (prog-if 20)
 Subsystem: Giga-byte Technology Device 5004
 Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
 Memory at fc005000 (32-bit, non-prefetchable) [size=256]
 Capabilities: [44] Debug port: BAR=1 offset=0098
 Capabilities: [80] Power Management version 2
 Kernel driver in use: ehci_hcd
 Kernel modules: ehci-hcd

00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb AC'97 Audio Controller (rev a1)
 Subsystem: Giga-byte Technology Device a002
 Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
 I/O ports at bc00 [size=256]
 I/O ports at c000 [size=128]
 Memory at fc001000 (32-bit, non-prefetchable) [size=4K]
 Capabilities: [44] Power Management version 2
 Kernel driver in use: Intel ICH
 Kernel modules: snd-intel8x0

00:08.0 IDE interface: nVidia Corporation CK8S Parallel ATA Controller (v2.5) (rev a2) (prog-if 8a [Master SecP PriP])
 Subsystem: Device f458:5002
 Flags: bus master, 66MHz, fast devsel, latency 0
 [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
 [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
 [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
 [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
 I/O ports at f000 [size=16]
 Capabilities: [44] Power Management version 2
 Kernel driver in use: pata_amd
 Kernel modules: pata_amd

00:0a.0 IDE interface: nVidia Corporation nForce3 Serial ATA Controller (rev a2) (prog-if 85 [Master SecO PriO])
 Subsystem: Giga-byte Technology Device b002
 Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
 I/O ports at 09f0 [size=8]
 I/O ports at 0bf0 [size=4]
 I/O ports at 0970 [size=8]
 I/O ports at 0b70 [size=4]
 I/O ports at dc00 [size=16]
 I/O ports at e000 [size=128]
 Capabilities: [44] Power Management version 2
 Kernel driver in use: sata_nv
 Kernel modules: sata_nv

00:0b.0 PCI bridge: nVidia Corporation nForce3 250Gb AGP Host to PCI Bridge (rev a2)
 Flags: bus master, 66MHz, medium devsel, latency 16
 Bus: primary=00, secondary=01, subordinate=01, sec-latency=10
 Memory behind bridge: f8000000-f9ffffff
 Prefetchable memory behind bridge: f0000000-f7ffffff
 Kernel modules: shpchp

00:0e.0 PCI bridge: nVidia Corporation nForce3 250Gb PCI-to-PCI Bridge (rev a2)
 Flags: bus master, 66MHz, fast devsel, latency 0
 Bus: primary=00, secondary=02, subordinate=02, sec-latency=128
 I/O behind bridge: 0000a000-0000afff
 Memory behind bridge: fa000000-fbffffff
 Prefetchable memory behind bridge: 30000000-300fffff
 Kernel modules: shpchp

00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
 Flags: fast devsel
 Capabilities: [80] HyperTransport: Host or Secondary Interface

00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
 Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
 Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
 Flags: fast devsel
 Kernel driver in use: k8temp
 Kernel modules: k8temp

01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
 Subsystem: Giga-byte Technology Device 3103
 Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 5
 Memory at f8000000 (32-bit, non-prefetchable) [size=16M]
 Memory at f0000000 (32-bit, prefetchable) [size=128M]
 [virtual] Expansion ROM at f9000000 [disabled] [size=128K]
 Capabilities: [60] Power Management version 2
 Capabilities: [44] AGP version 3.0
 Kernel modules: nvidiafb

02:0b.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)
 Subsystem: Giga-byte Technology Device e000
 Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
 Memory at fb000000 (32-bit, non-prefetchable) [size=16K]
 I/O ports at a000 [size=256]
 [virtual] Expansion ROM at 30000000 [disabled] [size=128K]
 Capabilities: [48] Power Management version 2
 Capabilities: [50] Vital Product Data <?>
 Kernel driver in use: skge
 Kernel modules: skge

================
===version_signature===
Ubuntu 2.6.27-7.14-generic
====================
===lshw -C network===
  *-network
       description: Ethernet interface
       product: 88E8001 Gigabit Ethernet Controller
       vendor: Marvell Technology Group Ltd.
       physical id: b
       bus info: pci@0000:02:0b.0
       logical name: eth0
       version: 13
       serial: 00:0f:ea:cc:6f:32
       size: 100MB/s
       capacity: 1GB/s
       width: 32 bits
       clock: 66MHz
       capabilities: pm vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=skge driverversion=1.13 duplex=full firmware=N/A latency=64 link=yes maxlatency=31 mingnt=23 module=skge multicast=yes port=twisted pair speed=100MB/s
  *-network DISABLED
       description: Ethernet interface
       physical id: 1
       logical name: pan0
       serial: 7e:06:87:b4:a7:97
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes

==============
===dmesg | grep eth===
[ 3.757385] skge eth0: addr 00:0f:ea:cc:6f:32
[ 4.627655] Driver 'sd' needs updating - please use bus_type methods
[ 5.019869] Driver 'sr' needs updating - please use bus_type methods
[ 83.612528] skge eth0: enabling interface
[ 85.575418] skge eth0: Link is up at 100 Mbps, full duplex, flow control both
[ 108.035171] skge eth0: disabling interface
[ 108.037518] skge eth0: enabling interface
[ 109.689068] skge eth0: Link is up at 100 Mbps, full duplex, flow control both

===ifconfig===
eth0 Link encap:Ethernet HWaddr 00:0f:ea:cc:6f:32
          UP BROADCAST RUNNING MULTICAST MTU:64 Metric:1
          RX packets:54 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6961 (6.9 KB) TX bytes:0 (0.0 B)
          Interrupt:19

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:264 errors:0 dropped:0 overruns:0 frame:0
          TX packets:264 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:17328 (17.3 KB) TX bytes:17328 (17.3 KB)

Thanks for your help

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#3

Hi,

Can you please send the output of the following command?

sudo dhclient

If that command does not help to give your wired network card (eth0) an IP address,I advise using Windows to download

http://apt.wicd.net/pool/intrepid/extras/wicd_1.5.3_all.deb

 and install wicd in order to replace network-manager in Intrepid Ibex.

Then use wicd to try to get an IP address from your router in Intrepid Ibex.

Regards,

Mark

Revision history for this message
David Wende (david-wende) said :
#4

Hi Mark
Before installing wicd the output of sudo dhclient is (roughly copied)

SIOCSIFADDR: No buffer space available
Listening on LPF/pan0/06:84:7a:b0:fc:5d
Sending on LPF/pan0/06:84:7a:b0:fc:5d
... a few times ...
Sending on socket fallback
DHCPDISCOVER on pan0 to 255.255.255.255 port 67 interval 5
... few times ....
send packet: message too long
..etc etc etc

I don't get assigned an IP address:

Then used Synaptic to remove network-manager and install wicd:
This also failed (wicd tries hard for a long time but fails to get IP).

Then installed 8.10 on spare partition and
tried the mem=3G (by editing "kernel" line in grub) and this time the dchpclient eth0 does bind an IP.

I can now ping my router but not the other PC connected to it? - am using wicd.
If I try pinging an external site, ping returns the first response line with something like:
PING www.externalsite.com (xx.xx.xx.xx) 56(84) bytes of data
but then no response.

Any further ideas - thanks for your help till now.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

Ubuntu 8.10 DNS dont' works

If you can open the page http://82.105.36.210/ and not http://www.elart.it is a DNS issue... so please try:

Migth be related to this bug https://bugs.edge.launchpad.net/ubuntu/+source/network-manager/+bug/279262

As a workaround please try to set OpenDns dns server https://www.opendns.com/smb/start/
into your resolv.conf and lock it:

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(when the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo gedit /etc/resolv.conf

add this rows as first DNS server (you can also put your provider DNS instead of OpenDNS servers)

nameserver 208.67.222.222
nameserver 208.67.220.220

save and exit

Then to avoid other modification from other program, lock your resolv.conf, still sing terminal type:

sudo chattr +i /etc/resolv.conf

Then try... if still this doesn't works please rebbot your pc, and try again.

Hope this helps

Revision history for this message
David Wende (david-wende) said :
#6

Hi Marcobra,

Thanks for your suggestions but I don't think you understood the problem, so to re-cap:

1. Added kernel option "mem=3G" to allow skge driver to operate (as per Mark above).
2. swapped network-manager with wcid
3. manually "connected" using the wcid gui.
4. Get assigned by dhcp the IP 10.0.0.5
5. After that I can ping my home router at 10.0.0.2.
6. I CANNOT ping the other PC on my router, the other is at 10.0.0.3
7. Try to do:
   sudo route add default gw 10.0.0.2
but get error message:
   SIOCADDRT: File exists.
8. The contents of /etc/resolv.conf is:
  nameserver 10.0.0.2
9.More info. when I try and ping an address such as:
   ping www.lynxpn.com
the response is:
PING www.lynxpn.com (212.235.60.45) etc etc etc
so that somehow I am retrieving the IP of the destination, but things just don't continue.

I would be really grateful for a working solution here, else Intrepid is not a viable alternative for me.

Revision history for this message
Tomasz Grzegurzko (tomasz89) said :
#7

It's the setting of MTU in your network interface. I've got a similar problem after an 8.10 upgrade.
# sudo ifconfig eth0 mtu 1500
should correct those issues.

Revision history for this message
David Wende (david-wende) said :
#8

Hi Tomasz

If I stop networking, then do
sudo ifconfig eth0 mtu 1500
and
sudo dhclient eth0
then internet is up and running.

Trouble is, at next login (restart) I have to do it all over again.

Any ideas.

Thanks

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#9

Hi,

I think you need to configure eth0 to use a static IP as described here:

See http://ubuntuforums.org/archive/index.php/t-912984.html for details.

Then add the line

mtu 1500

to the file /etc/network/interfaces

Regards,

Mark

Revision history for this message
David Wende (david-wende) said :
#10

I have added

auto eth0
iface eth0 inet dhcp
netmask 255.255.255.0
mtu 1500

to my /etc/network/interfaces file and now internet is working.

For some reason I no longer have the networking icon appearing on the panel -
bit I can live without that!

Thanks to all responders for the help.

Revision history for this message
Conrad Theart (conradtheart-deactivatedaccount) said :
#11

I honestly don't know what to do anymore. The advice on here works, but number one, I need the networking icon in order to select my 3G network and number 2 when I change something in my networking interfaces, my ALSA freezes on shut down. Any ideas?