udev: missing sysfs

If none of the more specific forums is the right place to ask

udev: missing sysfs

Postby ericc » 2009-10-19 18:23

Hello All

I have a big problem !!
I have a Debian Testing (Squeeze) Kernel : 2.6.26

This morning, I made an update with
apt-get update && apt-get dist-upgrade

and something goes wrong !
As I wasn't in front of my machine, I can't say what fail exactly. I just see briefly an error message.

A few minutes later, my machine completely freeze. I was oblige to power it off.

Now each time I boot, I see this message :
Code: Select all
udev: missing sysfs features; please update the kernel or disable the kernel's CONFIG_SYSFS_DEPRECATED option

My machine boot after, until the gdm screen. When I login, the Xwindow appear but my computer freeze again and I need to power off (with a manual fsck at the next boot)

I check in /var/log/dpkg.log and I see that udev was updated this morning, so most probably the error come from it.

How can I re-install udev ?
Or do you have an other idea to solve my problem ?
I have access to the console

Thanks in advance for your help

ericc
ericc
 
Posts: 40
Joined: 2008-07-08 10:16

Re: udev: missing sysfs

Postby ericc » 2009-10-19 20:06

I found how to reinstall a package.

Code: Select all
apt-get --reinstall install udev

unfortunately this doesn't solve my problem !
At the end of the (re)install , it trigger 'update-initramfs' and the same error appear again !!

I'm lost ...

ericc
ericc
 
Posts: 40
Joined: 2008-07-08 10:16

Re: udev: missing sysfs

Postby bugsbunny » 2009-10-19 21:32

What's the output of
Code: Select all
grep CONFIG_SYSFS_DEPRECATED /boot/config-2.6*
User avatar
bugsbunny
 
Posts: 5355
Joined: 2008-07-06 17:04

Re: udev: missing sysfs

Postby ericc » 2009-10-20 07:42

Hi

Thanks to respond
grep CONFIG_SYSFS_DEPRECATED /boot/config-2.6.26-1-686 give me
Code: Select all
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y


nota: I don't recompile the kernel ! This is the version installed by apt

ericc
ericc
 
Posts: 40
Joined: 2008-07-08 10:16

Re: udev: missing sysfs

Postby ericc » 2009-10-20 09:04

I check in /var/log/dpkg.log which other packages was installed yesterday morning and I found beside udev, also libudev and libgudev.
I reinstall both but without success :(

With previous version of udev (0.141-2) I had no problem !
The new version is 0.146-5

ericc
ericc
 
Posts: 40
Joined: 2008-07-08 10:16

Re: udev: missing sysfs

Postby roseway » 2009-10-20 09:24

Not a direct answer to your question, but as the current kernel in Testing is 2.6.30 it might be worth upgrading to this. Your present kernel will still be available as a boot option.
Eric

Debian Testing, KDE
User avatar
roseway
 
Posts: 1301
Joined: 2007-12-31 22:50
Location: Kent, UK

Re: udev: missing sysfs

Postby ericc » 2009-10-20 09:43

roseway wrote:Not a direct answer to your question, but as the current kernel in Testing is 2.6.30 it might be worth upgrading to this. Your present kernel will still be available as a boot option.

Alleluia !! 8)
it solve my problem !!
Thousands thanks

I just don't understand why "apt-get dist-upgrade" didn't upgrade the kernel automatically :roll:
anyway, it works now

ericc
ericc
 
Posts: 40
Joined: 2008-07-08 10:16

Re: udev: missing sysfs

Postby roseway » 2009-10-20 10:38

Thousands thanks

Just one would be enough, and you're welcome. :D

I just don't understand why "apt-get dist-upgrade" didn't upgrade the kernel automatically

You need to have one of the linux-image-2.6-*** packages installed to enable automatic upgrades (*** represents the architecture you're using), e.g. linux-image-2.6-686.
Eric

Debian Testing, KDE
User avatar
roseway
 
Posts: 1301
Joined: 2007-12-31 22:50
Location: Kent, UK

Re: udev: missing sysfs

Postby noah » 2010-02-08 04:51

I am having the same problem, and I am not understanding how to upgrade to the newer kernel, since apt-get fails:

The following packages have unmet dependencies:
consolekit: Breaks: udev (< 147) but 0.125-7+lenny3 is to be installed
pulseaudio: Depends: udev (>= 143) but 0.125-7+lenny3 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Help, anyone?
noah
 
Posts: 1
Joined: 2010-02-08 04:46

Re: udev: missing sysfs

Postby craigevil » 2010-02-08 05:02

noah wrote:I am having the same problem, and I am not understanding how to upgrade to the newer kernel, since apt-get fails:

The following packages have unmet dependencies:
consolekit: Breaks: udev (< 147) but 0.125-7+lenny3 is to be installed
pulseaudio: Depends: udev (>= 143) but 0.125-7+lenny3 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Help, anyone?


First search the forum, the issue is discussed in several threads. Second please start a new thread.

Are you running stable and trying to upgrade to testing?
aptitude install linux-image-2.6.32-trunk-686 then do aptitude full-upgrade
Debian Sid KDE 4.8 Kernel 3.7 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5149
Joined: 2006-09-17 03:17
Location: down the rabbit hole

Re: udev: missing sysfs

Postby chrishiestand » 2010-08-09 23:15

I'm posting in this old thread because this thread is the first Google search result for the key terms "debian udev CONFIG_SYSFS_DEPRECATED".

If you were not smart enough to read about this problem before doing the install (as I wasn't), you can still fix your system without doing a reinstall. I just had this problem, which really should be fixed before squeeze goes stable.

If you have already hosed your system doing a lenny to squeeze upgrade, you unhose it by doing the following:

1. Go to these web pages:
http://packages.debian.org/squeeze/libapt-pkg-perl
http://packages.debian.org/squeeze/linu ... 32-5-amd64
http://packages.debian.org/squeeze/linux-base

2. Manually download the right .deb file for your architecture to /tmp/

3. In a terminal, "sudo dpkg -i /tmp/*.deb"

4. Reboot into the new kernel

5. Continue the dist-upgrade
chrishiestand
 
Posts: 2
Joined: 2010-08-09 22:53

Re: udev: missing sysfs

Postby bugsbunny » 2010-08-10 12:18

Note that for the kernel you have to check what the most recent is (the link in the previous post was current as of the posting date, for 64 bit) and also get the correct one for your architecture. You can easily track that down by going (in most cases) to either:
Debian -- Details of package linux-image-2.6-amd64 in squeeze (for 64 bit)
or
Debian -- Details of package linux-image-2.6-686 in squeeze (for 32 bit)
and then downloading the package that's listed as a dependency. If you need a different architecture then one of the above see Debian -- Package Search Results -- linux-image-2.6-
You'll also probably want the associated header package for your kernel.
User avatar
bugsbunny
 
Posts: 5355
Joined: 2008-07-06 17:04

Re: udev: missing sysfs

Postby chrishiestand » 2010-08-10 18:32

bugsbunny wrote:Note that for the kernel you have to check what the most recent is (the link in the previous post was current as of the posting date, for 64 bit) and also get the correct one for your architecture. You can easily track that down by going (in most cases) to either:
Debian -- Details of package linux-image-2.6-amd64 in squeeze (for 64 bit)
or
Debian -- Details of package linux-image-2.6-686 in squeeze (for 32 bit)
and then downloading the package that's listed as a dependency. If you need a different architecture then one of the above see Debian -- Package Search Results -- linux-image-2.6-
You'll also probably want the associated header package for your kernel.


Thanks for catching my sloppiness bugsbunny. Very good points.
chrishiestand
 
Posts: 2
Joined: 2010-08-09 22:53


Return to General Questions

Who is online

Users browsing this forum: No registered users and 19 guests

fashionable