Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-04-2012, 11:36 AM
|
#1
|
|
LQ Newbie
Registered: Apr 2012
Posts: 17
Rep: 
|
eth0 not found after upgrading to slack 14
Hi everyone,
i've just updated my distro to the version 14, but after the reboot it doesn't seem to find the eth0 interface: #ifconfig -a return the presence of only loopback interface. I've run netconfig but it didn't work.
lsmod return:
Code:
ipv6 238549 14
agpgart 22087 0
lp 7119 0
parport_pc 16775 1
parport 26159 2 lp,parport_pc
fuse 58252 1
loop 14650 0
Thanks for attention,
i'm waiting for answers
Francexi
|
|
|
|
10-04-2012, 11:56 AM
|
#2
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,782
|
We need to know which is your network adapter and which kernel module(s) are supposed to support it. To provide that information please send out output of following command:
Code:
lspci -knn|grep -iA3 network
Also, which kernel are you using? Is it a stock Slackware kernel or did you compile it yourself?
I ask that because lsmod's output looks really short.
Last edited by Didier Spaier; 10-04-2012 at 11:58 AM.
|
|
|
|
10-04-2012, 12:06 PM
|
#3
|
|
LQ Newbie
Registered: Apr 2012
Posts: 17
Original Poster
Rep: 
|
Quote:
Originally Posted by Didier Spaier
We need to know which is your network adapter and which kernel module(s) are supposed to support it. To provide that information please send out output of following command:
Code:
lspci -knn|grep -iA3 network
Also, which kernel are you using? Is it a stock Slackware kernel or did you compile it yourself?
I ask that because lsmod's output looks really short.
|
Looks same to me when i see it. Before the upgrading i was using a self-compiled kernel, now the one there's in the stock. However the command doesn't retunr anything, but I remember that i use a Realtek ethernet controller which use the r8169 kernel module
EDIT. I launched modprobe r8169 and now eth0 appear in the ifconfig -a. But dhcpcd don't want to work. It only show "version etc.etc. starting" and then "no interfaces have a carrier"
RE EDIT: using dhcpcd eth0 the system get the Ip from the system, but now i can't use the mouse. Rebooting the computer i've seen that it can't find /dev/mouse. Also when i reboot the system, i have to re-probe the module and rerun dhcpcd
Last edited by Francexi; 10-04-2012 at 12:19 PM.
|
|
|
|
10-04-2012, 12:24 PM
|
#4
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,782
|
I guess something went wrong during the upgrade. I suggest you reinstall the kernel from Slackware and the associated modules. Then please send the output of "uname -r" and the command's output I requested in my previous post.
|
|
|
|
10-04-2012, 12:26 PM
|
#5
|
|
LQ Newbie
Registered: Apr 2012
Posts: 17
Original Poster
Rep: 
|
Quote:
Originally Posted by Didier Spaier
I guess something went wrong during the upgrade. I suggest you reinstall the kernel from Slackware and the associated modules. Then please send the output of "uname -r" and the command's output I requested in my previous post.
|
how can i reinstall it?
|
|
|
|
10-04-2012, 12:32 PM
|
#6
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,782
|
upgradepkg -- install-new --reinstall </path/to/the/package>
or
slackpkg reinstall <package name>
The latter won't work if the package was not installed. Then type instead:
slackpkg install <package name>
To know more: "man <command name>".
|
|
|
|
10-04-2012, 12:36 PM
|
#7
|
|
LQ Newbie
Registered: Apr 2012
Posts: 17
Original Poster
Rep: 
|
So i have to launch something like slackpkg kernel-modules and slackpkg kernel. Bu there's lots of kernel (huge, generic) and i dont' kknow which installing
|
|
|
|
10-04-2012, 12:43 PM
|
#8
|
|
Member
Registered: May 2004
Distribution: Slackware
Posts: 128
Rep:
|
Did you run lilo after upgrading and before rebooting? I'm kind of wondering if the system is booting with your old kernel left behind in /boot and it's failing to load the modules now under /lib/modules (because they are for the new kernel). Seems like in that scenario it wouldn't be able to load *any* modules, but maybe a handful are compatible.
|
|
|
|
10-04-2012, 12:43 PM
|
#9
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,782
|
"uname -r" will tell you which is in use. Reinstall the same. But if this is a generic one don't forget to make an initrd and run lilo. In any case edit /etc/lilo.conf to update the "image=..." name then run lilo.
Last edited by Didier Spaier; 10-04-2012 at 12:46 PM.
|
|
|
|
10-04-2012, 01:02 PM
|
#10
|
|
LQ Newbie
Registered: Apr 2012
Posts: 17
Original Poster
Rep: 
|
reinstalling the kernel and its modules and running mkinitrd seems working. Thanks for all
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:32 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|