Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

udev: missing sysfs

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
ericc
Posts: 40
Joined: 2008-07-08 10:16

udev: missing sysfs

#1 Post by ericc »

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

#2 Post by ericc »

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

User avatar
bugsbunny
Posts: 5354
Joined: 2008-07-06 17:04
Been thanked: 1 time

Re: udev: missing sysfs

#3 Post by bugsbunny »

What's the output of

Code: Select all

grep CONFIG_SYSFS_DEPRECATED /boot/config-2.6*

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

Re: udev: missing sysfs

#4 Post by ericc »

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

#5 Post by ericc »

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

User avatar
roseway
Posts: 1528
Joined: 2007-12-31 22:50
Location: Kent, UK
Has thanked: 3 times
Been thanked: 4 times

Re: udev: missing sysfs

#6 Post by roseway »

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

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

Re: udev: missing sysfs

#7 Post by ericc »

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

User avatar
roseway
Posts: 1528
Joined: 2007-12-31 22:50
Location: Kent, UK
Has thanked: 3 times
Been thanked: 4 times

Re: udev: missing sysfs

#8 Post by roseway »

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

noah
Posts: 1
Joined: 2010-02-08 04:46

Re: udev: missing sysfs

#9 Post by noah »

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?

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: udev: missing sysfs

#10 Post by craigevil »

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
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

chrishiestand
Posts: 2
Joined: 2010-08-09 22:53

Re: udev: missing sysfs

#11 Post by chrishiestand »

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

User avatar
bugsbunny
Posts: 5354
Joined: 2008-07-06 17:04
Been thanked: 1 time

Re: udev: missing sysfs

#12 Post by bugsbunny »

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.

chrishiestand
Posts: 2
Joined: 2010-08-09 22:53

Re: udev: missing sysfs

#13 Post by chrishiestand »

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.

Post Reply