LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 11-26-2007, 01:55 AM   #1
jorgeluis
LQ Newbie
 
Registered: Nov 2007
Posts: 7

Rep: Reputation: 0
Unhappy eth0 not working in SMP kernel mode (but works in UP mode!)


Dear all,

I'm having a rather strange problem. I just fresh-installed Centos3 on my laptop (P4 dualcore 1.8GHz, 2GB ram, 120GB hdd), but I cannot make it "see" the network by no means in smp kernel mode. The strange thing is that the inteface runs perfectly in up (uniprocessor) kernel mode. I even did a full yum update in this mode (which updated lots of packages), and despite yum now says that there are no more things to update, the problem persists. I am using the kernel 2.4.21-52.ELsmp.

I've tried configuring the adapter both using dhcp and fixed-IP methods, but they both fail (note however that they both work in up mode!). I am attaching below some relevant command outputs that might help to understand the problem.

Thanks so much in advance for any help/comment/ideas!

Regards,

Jorge Luis.

(P.S. For those wondering why CentOS3, I specifically need this release because I need to run a design SW that is only supported in RHEL3)

==============
Errors - using DHCP
==============

# uname -a
Linux LetsBeGreat 2.4.21-52.ELsmp #1 SMP Thu Sep 27 18:23:04 EDT 2007 i686 i686 i386 GNU/Linux

# /etc/init.d/network start
Setting network parameters: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:
Determining IP information for eth0...PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.

--- 192.168.0.1 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2015ms, pipe 4
failed. [FAILED]

==============
Errors - using fixed IP
==============
# /etc/init.d/network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Setting network parameters: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]

# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:13:A9:47:0E:83
inet addr:192.168.0.21 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 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:0 (0.0 b) TX bytes:0 (0.0 b)

# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
From 192.168.0.21 icmp_seq=0 Destination Host Unreachable
From 192.168.0.21 icmp_seq=1 Destination Host Unreachable
From 192.168.0.21 icmp_seq=2 Destination Host Unreachable

--- 192.168.0.1 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4021ms, pipe 4


============================
Example of interface working in UP mode
============================

# uname -a
Linux LetsBeGreat 2.4.21-52.EL #1 SMP Thu Sep 27 18:31:25 EDT 2007 i686 i686 i386 GNU/Linux

# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:13:A9:47:0E:83
inet addr:192.168.0.21 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:35 errors:0 dropped:0 overruns:0 frame:0
TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:24548 (23.9 Kb) TX bytes:3976 (3.8 Kb)

# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=0 ttl=128 time=0.129 ms
64 bytes from 192.168.0.1: icmp_seq=1 ttl=128 time=0.063 ms

--- 192.168.0.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1018ms
rtt min/avg/max/mdev = 0.063/0.096/0.129/0.033 ms, pipe 2

# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default letsbegreat2.ms 0.0.0.0 UG 0 0 0 eth0

# ping www.google.com
PING www.l.google.com (64.233.169.147) 56(84) bytes of data.

--- www.l.google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1012ms

Last edited by jorgeluis; 11-26-2007 at 01:59 AM.
 
Old 11-26-2007, 05:35 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
What module is this nic using?
Is both single and SMP kernel using the same module name?
Maybe the module does not work in SMP kernels.
Check the changlogs at www.kernel.org on your kernel version and future ones to see if there has been changes noted you need a newer kernel.
Check the ' dmesg ' command output to see if it reports anything wrong.

Brian
 
Old 11-27-2007, 08:46 AM   #3
hasnain110
LQ Newbie
 
Registered: Feb 2006
Posts: 11

Rep: Reputation: 0
issue seems to be of module..I had same problem the only difference was..my NIC use to work with SMP mode
 
  


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
Kernel Panic -- Selinux Strict mode rather than targeted mode Peter_APIIT Fedora 2 07-06-2007 02:23 AM
Deactivating Kernel Mode PREEMPT & SMP Maladjez LinuxAnswers Discussion 1 03-28-2007 08:57 AM
How to disable PREEMPT and/or SMP kernel mode on OpenSuse 10.2 Maladjez Linux - Kernel 3 02-06-2007 01:58 AM
dual core not recognized even with SMP kernel mode (suse 10) cynick Linux - Hardware 5 05-01-2006 11:08 PM
proftpd only works in standalone mode, not inetd mode (slack 10.2) yimboli Linux - Newbie 9 01-24-2006 12:49 PM


All times are GMT -5. The time now is 10:11 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration