LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 08-08-2006, 02:13 AM   #1
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
udev 096 problem? stops boot


Slackware current with 2.6.16.22 kernel from "testing" a few weeks ago. Upgraded to udev096 and some other packages. (At least one missed as it could not be found)
Multi boot PC with all of Slack in a single partition - hda7

Now on boot after reiser checks the partition and moves on to fsck 1.39 followed by
"Failed to open the device '/dev/hda7': No such file or directory"

The boot then goes to a single user rescue mode.
If I enter the root password I can see the file system is there except for the contents of /dev which only has a initcl file and a file called null.

Mounting the drive on another machine allows access to the data without problems.
 
Old 08-08-2006, 03:26 AM   #2
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Original Poster
Rep: Reputation: 33
I spotted the .new files in rc.d and copied them over.
Now boot gets to the /dev/urandom line and locks up, where INIT runlevel 3 would normally go.
Nothing much showing in logs
 
Old 08-08-2006, 09:59 AM   #3
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,850

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Exact same problem I was having:

http://www.linuxquestions.org/questi...d.php?t=471812

So far, the only thing I have been able to do is boot the machine with a LiveCD, or the install CD, and chmod -x /etc/rc.d/rc.udev.

This will get the machine to boot, but I can't figure out how to get udev working again.
 
Old 08-08-2006, 10:16 AM   #4
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Original Poster
Rep: Reputation: 33
I will have a look at udev tomorrow.
What kernel are you running, I was thinking that I should update to 2.6.16.27 if I can get the machine to boot from its own drive.
This is the first major snarlup that I have had with current for ages, not good just before the 11.0 release.

I could reaaly do with a simple summary of what should and should not be running with 2.4, 2.6.16 and 2.6.17+ kernels
 
Old 08-08-2006, 11:38 AM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,185

Rep: Reputation: 285Reputation: 285Reputation: 285
Running -current with 2.6.15 here. Had no problems although I had a few .new files to rename. I also notice on boot that hotplug is no longer running so I think everything is working as it should.

All I can think is check the changelog for any new packages you might have missed.
 
Old 08-08-2006, 11:44 AM   #6
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,850

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
I'm running 2.6.12 on my machine.
 
Old 08-08-2006, 11:58 AM   #7
hussar
Member
 
Registered: Oct 2003
Location: Heidelberg, Germany
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
Posts: 345

Rep: Reputation: 30
Today's -current changelog has this comment from Pat:

"There are a few reports that the newest udev is not friendly to some systems.
Well, that's progress for you -- it isn't always a smooth journey. In most
cases the problems I've heard about could be fixed with a little bit of fine
tuning, such as blacklisting unwanted modules in /etc/modprobe.d/blacklist
and loading the desired replacements in /etc/rc.d/rc.modules. However, in
case either of these older versions of udev worked better for you, they'll
be kept in /extra for a while as alternates. Be aware that new kernels will
soon require the latest udev, though...
extra/udev-alternate-versions/udev-064-i486-2.tgz: Added alternate udev-064.
extra/udev-alternate-versions/udev-071-i486-2.tgz: Added alternate udev-071."

So, apparently you aren't alone...
 
Old 08-08-2006, 12:11 PM   #8
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Original Poster
Rep: Reputation: 33
Not a very useful changelog comment, this problem stops booting so reverting udev is not an immediate option.
I don't see any obvious module problems, but on this machine I have serveral rc.modules.2.6.16.x files and a symlink r.modules pointing at an old version. I used to have to manually enable lp and parport on 2.4 kernels, but 2.6 seems to handle these automatially.
 
Old 08-08-2006, 01:16 PM   #9
hussar
Member
 
Registered: Oct 2003
Location: Heidelberg, Germany
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
Posts: 345

Rep: Reputation: 30
There was also this:

"a/udev-096-i486-2.tgz: Added the psmouse module to /etc/modprobe.d/blacklist
so that /etc/rc.d/rc.modules can load it using the option "proto=imps".
This change restores the mouse options used in Slackware 10.2. At least on
my machine, the default module options render the mouse completely unusable,
but feel free to remove the module from the blacklist or configure rc.modules
to your liking if this is not the ideal default for your machine."

So, udev has already gone -2. I've installed the update, but I haven't rebooted yet. I'm going on vacation tomorrow, so this isn't the kind of problem I'd like to deal with tonight. Looks like before I shutdown though, I should probably make sure all my .new's in /etc/rc.d are moved over.
 
Old 08-08-2006, 04:40 PM   #10
hussar
Member
 
Registered: Oct 2003
Location: Heidelberg, Germany
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
Posts: 345

Rep: Reputation: 30
Okay, so that was briefly exciting...

I should not have been so smug about not figuring this udev stuff out until after my vacation. About an hour ago, we had a brief power burp, and my machine rebooted - right into udev purgatory.

Looks like I am back up now. I ended up using my slack 10.2 CD as an emergency disk, changed all the .new's to their respective rc.* scripts and rebooted. Had to set up rc.inet1.conf and start rc.inet1 and rc.inet2 again, but it worked.

Now, I think I will wait until after my vacation to assess what's changed.
 
Old 08-08-2006, 09:10 PM   #11
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,345

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
i didn't upgrade -2 also. I'm quite satisfied with the current udev configuration
 
Old 08-08-2006, 11:54 PM   #12
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Original Poster
Rep: Reputation: 33
Now fixed.
I found that there was a rc.udev.new so I replace the older rc.udev with this and I was able to boot.
Then upgraded to 2.6.16.27 without any extra problems
I see warnings about the alsa driver codec being invalid, but sound is working
 
Old 08-09-2006, 08:44 PM   #13
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,345

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
i upgraded to -3 also last night and put the .new on the rc.udev and i had no problem at all when i reboot my system.

NB : Kernel version 2.6.17.8
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to have udev start at boot RVDowning Mandriva 9 06-09-2010 01:51 PM
FC5 doesn't boot at 'udev' thelonius Fedora 4 08-04-2006 09:00 AM
boot problem:laptop stops at the detecting hardware to find cd drives harys Linux - Laptop and Netbook 1 02-14-2006 02:23 PM
udev boot error alma Linux - Newbie 3 11-27-2005 10:51 AM
2.6.10 boot stopping at udev.... edM Slackware 7 02-23-2005 02:13 PM


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