LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-23-2005, 08:06 AM   #1
AxXium
Zenwalk Admin
 
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258

Rep: Reputation: 31
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.
 
Old 05-23-2005, 08:10 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,797

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
Did you configure your kernel from the 2.6.11.9 config file ?
 
Old 05-23-2005, 08:13 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
we'd have to assume some cahnge in kernel option. did you build in udev support?
 
Old 05-23-2005, 08:23 AM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
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.
 
Old 05-23-2005, 08:38 AM   #5
AxXium
Zenwalk Admin
 
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258

Original Poster
Rep: Reputation: 31
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.
 
Old 05-23-2005, 09:01 AM   #6
AxXium
Zenwalk Admin
 
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258

Original Poster
Rep: Reputation: 31
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.
 
Old 05-23-2005, 10:14 AM   #7
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,797

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
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
 
Old 05-23-2005, 10:49 PM   #8
Croaker
Member
 
Registered: Sep 2004
Location: Oklahoma City, OK
Distribution: Slackware 12.1
Posts: 41

Rep: Reputation: 15
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.
 
Old 05-24-2005, 07:47 AM   #9
AxXium
Zenwalk Admin
 
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258

Original Poster
Rep: Reputation: 31
Croaker,

Please explain how you reset the permissions. That's one of the things I don't know how to do.
 
Old 05-24-2005, 04:22 PM   #10
shilo
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: Reputation: 50
This may be helpful.

http://www.linuxquestions.org/questi...13#post1453013
 
Old 05-24-2005, 05:09 PM   #11
Croaker
Member
 
Registered: Sep 2004
Location: Oklahoma City, OK
Distribution: Slackware 12.1
Posts: 41

Rep: Reputation: 15
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.
 
Old 05-24-2005, 10:10 PM   #12
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
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
 
  


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 config options (/dev, /dev/pts) jrdioko Slackware 5 08-22-2005 01:25 AM
is there a way to reinstall XP without destroying GRUB Lleb_KCir Linux - General 8 10-04-2004 08:39 PM
Is Microsoft destroying itself? ShakyJake General 35 07-07-2004 05:40 AM
XF86Config destroying my life babajobu Slackware - Installation 10 04-19-2004 07:42 PM
Re-Install RH 7.1 w/o destroying old partitions Neelix Linux - Software 2 11-19-2001 05:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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