LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-11-2007, 02:40 PM   #1
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
Sys Unbootable: Udev Errors after upgrading to Etch


Hi,
My Debian System State before upgrading to etch:
Mix System (sarge(stable) + etch(testing) with custom built 2.6.15 kernel.

After upgrading:
Only Debian etch(stable). No Mix system. Kernel still the same: 2.6.15.

As soon as I rebooted my system after upgrading, my system hangs saying:
Code:
udevd[813]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/05-pcmcia.rules:8
What do I do? Do I really need to upgrade my kernel also to 2.6.18-4 that is the default with Debian Etch(stable). Is this because I still may have the hotplug package installed? Do I need hotplug and udev both?

Plese advice.
 
Old 05-11-2007, 04:51 PM   #2
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
Quote:
Originally Posted by kushalkoolwal
Hi,
My Debian System State before upgrading to etch:
Mix System (sarge(stable) + etch(testing) with custom built 2.6.15 kernel.

After upgrading:
Only Debian etch(stable). No Mix system. Kernel still the same: 2.6.15.

As soon as I rebooted my system after upgrading, my system hangs saying:
Code:
udevd[813]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/05-pcmcia.rules:8
What do I do? Do I really need to upgrade my kernel also to 2.6.18-4 that is the default with Debian Etch(stable). Is this because I still may have the hotplug package installed? Do I need hotplug and udev both?

Plese advice.
I believe if you run the 2.6.15 kernel with etch udev is broken......stabel etch is with 2.6.18...
 
Old 05-13-2007, 05:17 PM   #3
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Anyone??????
 
Old 05-14-2007, 12:44 PM   #4
bluequilla
LQ Newbie
 
Registered: Dec 2003
Location: Central Europe
Distribution: Mandrake 9.2
Posts: 1

Rep: Reputation: 0
Run update-initramfs

Have you tried running the update-initramfs (or what's it called?)?

You gotta do this after changing udev...
 
Old 05-14-2007, 01:54 PM   #5
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
You could try installing etch's kernel, your kernel will still be available on the grub menu.

And no udev and hotplug should not be on the same system. udev actually conflicts with hotplug and should have been automatically removed when you upgraded. Maybe something went wrong with the apt-get dist-upgrade?
 
Old 05-14-2007, 03:13 PM   #6
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by Daws
You could try installing etch's kernel, your kernel will still be available on the grub menu.

And no udev and hotplug should not be on the same system. udev actually conflicts with hotplug and should have been automatically removed when you upgraded. Maybe something went wrong with the apt-get dist-upgrade?
Thank you guys for your responses. Here is what I found. I had to give the command:

Code:
mkinitrd -o /boot/initrd.img-2.6.15 2.6.15
in order to get my system to boot again. So basically once I finish upgrading my system I had to give the above command before booting the system otherwise, it will show the error messages (as mentioned in my first post) after booting.

It seems that udev does not like initrd to be created with initramfs tool, instead it likes the old tool better which is mkinitrd.

now, I went one step further and installed the default etch kernel 2.6.18-4-686. Everything with this kernel works no matter if I use the mkinitrd (old) tool or the mkinitramfs (new) tool.

Can anyone tell me what is going on? What is the relationship between udev, kernel version and initrd generator tool?

Thanks
 
Old 05-15-2007, 01:57 PM   #7
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
anyone????
 
Old 05-15-2007, 10:13 PM   #8
BillyGalbreath
Member
 
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379

Rep: Reputation: 31
Quote:
Originally Posted by kushalkoolwal
It seems that udev does not like initrd to be created with initramfs tool, instead it likes the old tool better which is mkinitrd.

now, I went one step further and installed the default etch kernel 2.6.18-4-686. Everything with this kernel works no matter if I use the mkinitrd (old) tool or the mkinitramfs (new) tool.

Can anyone tell me what is going on? What is the relationship between udev, kernel version and initrd generator tool?
It seems simple to me. Old kernel needs Old mkinitrd. New kernel works with new initramfs tool and is backwards compatible with old tool mkinitrd. I could be wrong though.
 
  


Reply



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
setting up lilo.conf for udev (etch upgrade) sdoerr Debian 0 04-25-2007 05:55 AM
What is relationship between udev and hal in etch? acanton Debian 9 02-23-2006 02:40 PM
Have to alter fstab when upgrading to udev? rabalder321 Linux - Newbie 2 01-12-2006 07:53 PM
Upgrading to unstable broke udev Ephracis Debian 5 10-17-2005 04:28 AM
Upgrading to 2.6 Kernel, ALSA, Udev Kenji Miyamoto Slackware 8 08-27-2005 05:24 PM

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

All times are GMT -5. The time now is 07:04 PM.

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