LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 06-18-2013, 03:23 AM   #16
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Question


Quote:
Originally Posted by druuna View Post
Can you post the output of the following commands:
Code:
dmesg | grep -i eth

lspci -vvs $(lspci | awk '/Ethernet/ { print $1 }')

lshw -class network      # should also show mac address
Befor change kernel , the kernel is 3.2.0.29 and the ethernet is work
following are the command results

angela@angela-desktop:~$ dmesg | grep -i eth

[ 0.256664] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
[ 0.417812]
i2c-core: driver [aat2870] using legacy suspend method

[ 0.417825] i2c-core: driver
[aat2870] using legacy resume method
[ 4.558572] ADDRCONF(NETDEV_UP):
eth0: link is not ready
[ 5.930781] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

[ 20.704053] eth0: no IPv6 routers present





angela@angela-desktop:~$ lspci -vvs $(lspci | awk '/Ethernet/ {print $1}')

02:00.1 Ethernet controller: Intel Corporation Platform Controller Hub EG20T Gigabit Ethernet Controller (rev 02)

Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+

Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

Interrupt: pin A routed to IRQ 42

Region 0: I/O ports at e020 [size=32]

Region 1: Memory at d0158000 (32-bit, non-prefetchable) [size=512]

Capabilities: <access denied>

Kernel driver in use: pch_gbe

Kernel modules: pch_gbe





angela@angela-desktop:~$ sudo lshw -class network

[sudo] password for angela:

PCI (sysfs)

^@









After change to kernel 2.6.32.45, the ethernet does't work
following is the command results:


angela@angela-desktop:/$ dmesg | grep -i eth

[ 7.684497] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

[ 29.127663] hda-intel: Invalid position buffer, using LPIB read method instead.





angela@angela-desktop:~$ lspci -vvs $(lspci | awk '/Ethernet/ {print $1}')

02:00.1 Ethernet controller: Intel Corporation Platform Controller Hub EG20T Gigabit Ethernet Controller (rev 02)

Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-

Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-

Latency: 0

Interrupt: pin A routed to IRQ 11

Region 0: I/O ports at e020 [size=32]

Region 1: Memory at d0158000 (32-bit, non-prefetchable) [size=512]

Capabilities: <access denied>


^C
angela@angela-desktop:~$ sudo lshw -class network
PCI (sysfs)






Thanks
 
Old 06-18-2013, 04:17 AM   #17
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
No output for lshw? This should show you the mac address (among other things). To give you an idea, this is what mine looks like (bold being the mac address):
Code:
# lshw -class network
  *-network               
       description: Ethernet interface
       product: 88E8056 PCI-E Gigabit Ethernet Controller
       vendor: Marvell Technology Group Ltd.
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: eth0
       version: 12
       serial: 20:cf:30:39:bb:20
       size: 1GB/s
       capacity: 1GB/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm vpd msi pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.28 duplex=full firmware=N/A ip=10.0.100.12 latency=0 link=yes multicast=yes port=twisted pair speed=1GB/s
       resources: irq:57 memory:fbdfc000-fbdfffff ioport:d800(size=256) memory:fbdc0000-fbddffff(prefetchable)
Quote:
Originally Posted by Angela Wu
angela@angela-desktop:/$ dmesg | grep -i eth
[ 7.684497] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 29.127663] hda-intel: Invalid position buffer, using LPIB read method instead.
Looks like the ethernet card isn't initialized (possibly: wrong driver).


Quote:
Originally Posted by Angela Wu
angela@angela-desktop:~$ dmesg | grep -i eth
[ 4.558572] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 20.704053] eth0: no IPv6 routers present
If I look at the above part from the 3.2.0.29 kernel that does work (your words) I don't see the info I expect (a link becomes ready and a xyz enabling interface message): Depending on how long your machine has been up and running, you might want to bring the interface down and up again or reboot the machine and have another look.


I'm at the end of my string when it comes to pointing you to a specific thing. Only thing I can come up with are these 2:
1) Your network card is too new for the older kernel (which means you're out of luck),
2) You could try one of the other Intel network interfaces that are present in the (older) kernel.


BTW: All the commands should be run as root.

Also: Next time put the output between [code] ... [/code] tags to preserve layout. If you don't know how: LQ - BB Code List.
 
Old 06-18-2013, 05:37 AM   #18
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Gigabit ethernet is still fairly new, unlike the 2.6 series kernels. I run a 2.6 series on my laptop to bridge ethernet to wireless. The bridge-utils package doesn't seem to support that in the 3.x series of kernels. And then there's video driver woes, like ati-legacy, which only works up to 3.4 kernels and 3.9 being commonly used now. While the 13.4 driver for non-legacy cards has been out over a month. Sort of the opposite problem of yours it seems.

It seems like the sk98lin driver existed in 2.6.26 kernels and prior for this card. It looks like the skge driver supercedes it. Use lsmod in the working kernel version to verify what driver you're using successfully.

# modprobe -r sk98lin
# modprobe -r skge
# modinfo skge
(looks like the only "parm" option sets the debug level, so safe there I guess)
# modprobe skge

Other possibilities is that udev gave it a different name.

# ifconfig -a

Using the vender:device id to google it will likely give more definitive results.

# lspci -k
# lspci -n
 
Old 06-19-2013, 01:03 AM   #19
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Unhappy Thanks for the help

It seems that the kernel version 2.6.32.45 was too old.
I'd done a lot of work but failed.
I think I got to take a quit here.
 
  


Reply

Tags
ubuntu 12.04


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
Does kgdb have ethernet support for 3.x kernel. Vivekpanwar Linux - Newbie 0 07-31-2012 01:21 AM
Adding Ethernet to kernel without Network support configured awp2513 Linux - Networking 1 10-16-2009 09:25 AM
Linux ethernet does not support ravibhure Linux - Newbie 2 09-02-2009 03:28 AM
Does Linux kernel 2.4.37 support RealTek RTL8102 Ethernet driver afa_linux Linux - Kernel 1 05-26-2009 02:53 PM
Building custom kernel with support for exotic ethernet card srainville Linux - Kernel 1 01-21-2008 12:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:21 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