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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-23-2005, 08:06 AM
|
#1
|
Zenwalk Admin
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258
Rep:
|
Kernel 2.6.11.10 destroying /dev
What in the world is going on here?
After configuring, compiling & installing kernel 2.6.11.10
over half the contents of my /dev directory vanishes into thin air, including my second optical drive.
It just disappears.
What would cause that?
2.6.11.9 didn't do that.
|
|
|
05-23-2005, 08:10 AM
|
#2
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,797
|
Did you configure your kernel from the 2.6.11.9 config file ?
|
|
|
05-23-2005, 08:13 AM
|
#3
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
we'd have to assume some cahnge in kernel option. did you build in udev support?
|
|
|
05-23-2005, 08:23 AM
|
#4
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
I think 2.6.11.10 requires a newer version of udev. I get some udev errors even on 2.6.11.7, but it still works.
|
|
|
05-23-2005, 08:38 AM
|
#5
|
Zenwalk Admin
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258
Original Poster
Rep:
|
I did not configure my kernel from the 2.6.11.9 .config file.
I don't know if I included support for udev.
That's the scary part.
Would lack of support for udev done this?
How could I check to see if it was supported?
How can I fix it?
I don't care if I have to reinstall everything. I am in a learning phase right now and there is nothing important on the computer anyway. I'm just trying to learn as much as I can.
|
|
|
05-23-2005, 09:01 AM
|
#6
|
Zenwalk Admin
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258
Original Poster
Rep:
|
You know what I didn't do?
I installed Slackware Current 05/16/2005.
I assumed that the latest udev version would be included.
Maybe it isn't. Maybe that's what happened. I was really carefull when configuring the kernel and I selected everything that was recommened. I use make xconfig so that I could see all of the recomendations. I bet there's an old udev in the slack current iso.
|
|
|
05-23-2005, 10:14 AM
|
#7
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,797
|
May I suggest you to save the .config file after each compile
if you don't use the built-in .config feature ?
This way you just make config from the previous config file
when you upgrade the kernel, more fast, less errors
|
|
|
05-23-2005, 10:49 PM
|
#8
|
Member
Registered: Sep 2004
Location: Oklahoma City, OK
Distribution: Slackware 12.1
Posts: 41
Rep:
|
I had the same problem too when compiling the 2.6.11.9 kernel. My cdrom (hdc) was not showing up at all. Looked in /dev and my cdrom sym link was pointing to hdd, my dvd drive. And my dvd sym link was pointing to hdd as well. I reset the links and permissions, but on my next boot, everything was reset. After doing that a couple of times, I removed udev from my system. Haven't had any problems since.
|
|
|
05-24-2005, 07:47 AM
|
#9
|
Zenwalk Admin
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258
Original Poster
Rep:
|
Croaker,
Please explain how you reset the permissions. That's one of the things I don't know how to do.
|
|
|
05-24-2005, 04:22 PM
|
#10
|
Senior Member
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132
Rep:
|
|
|
|
05-24-2005, 05:09 PM
|
#11
|
Member
Registered: Sep 2004
Location: Oklahoma City, OK
Distribution: Slackware 12.1
Posts: 41
Rep:
|
What shilo has is one way of doing things. Me, personally, I just removed udev from my system by going to '/var/log/packages' and typing 'removepkg udev-whatever'. Then I went into /dev and removed the old sym links and created new ones pointing where I wanted. And I changed the group from root to cdrom for both of them. How you want to do it depends on personal preferences.
|
|
|
05-24-2005, 10:10 PM
|
#12
|
Member
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365
Rep:
|
What Croaker has is one way of doing things. Me, personally, I just learned how to use udev from various sources on the 'net. Created my own udev rules, made the change that Shilo mentions in the /etc/udev/scripts/make_extra_nodes.sh script and now I have much more control over my system than the "willy-nilly" /dev of old. Udev is the future, devfs has already be obsoleted. Resistance is futile, prepare to be assimilated!!!
Seriously, udev ain't that hard to learn, if a hillbilly from Arkansas like me can learn it anybody can. Not saying the "old way" doesn't work, matter of fact I did EXACTLY as Croaker did initially, but I also knew that I might as well use udev so I just got busy and did my homework. After you "tinker" with it for a little while, it gets much easier.
Later,
MMYoung
|
|
|
All times are GMT -5. The time now is 02:52 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
|
|