You are not logged in.

#1 2010-02-02 12:46:57

mechmg93
Member
From: Greece
Registered: 2007-05-23
Posts: 197

[SOLVED]new udev caused huge problems in devices detection

I did an upgrade today and after a reboot, my laptop (lenovo r61) had problems with sound(no soundcard found), graphics(no compositing), acpi did not work etc.

I saw my /var/log/pacman.log and thought that maybe udev had caused all that problems.

I tried to switch to older udev and that was only possible with reinstallind older mdadm. So i do not know if udev or mdadm were responsible for all this mess, and because i am in a work machine i immediately switched back to old packages where everything works fine.

I did not open a bug report because i cannot stay with newer packages (have a lot of work to do up to now) and look for logs etc , but i am opening this thread just to let you know that these packages may cause serious trouble.


well working packages for me :

local/udev 146-2 (base)
local/mdadm 2.6.9-1 (base)


edit:

mdadm is not the problem. I realized that i do not use and i purged iit because i do not have raid enabled, so the problem is caused by udev for sure.

Last edited by mechmg93 (2010-02-03 13:09:42)


Mikes on AUR

Offline

#2 2010-02-02 18:15:44

pcxz
Member
From: Italy
Registered: 2008-01-13
Posts: 67

Re: [SOLVED]new udev caused huge problems in devices detection

Yes ..same for me  ..i post now in kernel-hardware section.
http://bbs.archlinux.org/viewtopic.php? … 91#p700491


With new udev 151 not start my system with 2.6.31.9 kernel (not found root partition)

Downgraded to 146 solve situation.

Offline

#3 2010-02-02 18:28:05

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [SOLVED]new udev caused huge problems in devices detection

@pcxz -- I think you need to use UUID now in fstab. Is that maybe the cause of your root partition not being found? Maybe something to check.


Matt

"It is very difficult to educate the educated."

Offline

#4 2010-02-02 20:03:53

pcxz
Member
From: Italy
Registered: 2008-01-13
Posts: 67

Re: [SOLVED]new udev caused huge problems in devices detection

I have already test with:

root=/dev/sda5

and

root=/dev/disk/by-uuid/0ba90068-e5ab-4b9a-a3a7-e47c1598f04e

..same result sad

Offline

#5 2010-02-03 02:30:18

imrehg
Member
From: London, UK
Registered: 2008-04-10
Posts: 107
Website

Re: [SOLVED]new udev caused huge problems in devices detection

Same to me.

So far found:
-------------

* Good up to udev 149-1  (svn r63099, because there are more than one 149-1...)
* Bad from 150-1

* /etc/fstab is using UUID

* at boot /dev/sdaX entries are missing even if /etc/mtab says that /dev/sda3 (my / partition) is mounted, and I can list the partition contents.

* Plugging in an USB drive:
  /dev/sdaX are missing, /dev/sdbX are present....


(wrote about this at http://bbs.archlinux.org/viewtopic.php?id=89957 as well)

Offline

#6 2010-02-03 04:59:29

imrehg
Member
From: London, UK
Registered: 2008-04-10
Posts: 107
Website

Re: [SOLVED]new udev caused huge problems in devices detection

Okay, figured out with a DUH!

Solution:
When you compile your kernel, uncheck "General Setup / enable deprecated sysfs features which may confuse old userspace tools"

That makes a change in the config such as:
-CONFIG_SYSFS_DEPRECATED=y
-CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_SYSFS_DEPRECATED_V2 is not set

Then it will be all fine. Looking at the text of this setting, it's kinda "you have been warned" feeling...

Last edited by imrehg (2010-02-03 05:00:05)

Offline

#7 2010-02-03 05:55:04

mechmg93
Member
From: Greece
Registered: 2007-05-23
Posts: 197

Re: [SOLVED]new udev caused huge problems in devices detection

i forgot to mention that in my laptop i use kernel 2.6.30.6 because of major wireless problems with newer kernels. So the problem is the version of my kernel?

Last edited by mechmg93 (2010-02-03 06:00:16)


Mikes on AUR

Offline

#8 2010-02-03 06:20:38

imrehg
Member
From: London, UK
Registered: 2008-04-10
Posts: 107
Website

Re: [SOLVED]new udev caused huge problems in devices detection

mechmg93 wrote:

i forgot to mention that in my laptop i use kernel 2.6.30.6 because of major wireless problems with newer kernels. So the problem is the version of my kernel?

Even in 2.6.30.6 you have "General setup / Create deprecated sysfs layout for older userspace tools" (which is the same setting CONFIG_SYSFS_DEPRECATED_V2, just different name compared to the newer kernel versions). Check if you have that ticked. If you do, untick and recompile. I think that should solve the problem, at least on 2.6.32.7 that was the only thing that I had to change.

Offline

#9 2010-02-03 07:10:54

mechmg93
Member
From: Greece
Registered: 2007-05-23
Posts: 197

Re: [SOLVED]new udev caused huge problems in devices detection

imrehg, i am a little bit confused, i do not want to recompile any kernel. i am only interested in arch stock kernels.

So, my question is that if stock 2.6.30.6 causes any problem with udev.


Mikes on AUR

Offline

#10 2010-02-03 07:24:12

mechmg93
Member
From: Greece
Registered: 2007-05-23
Posts: 197

Re: [SOLVED]new udev caused huge problems in devices detection

i just did a test with latest udev and latest kernel26 and it seems that everything is ok. so the problem may be with older kernels.


Mikes on AUR

Offline

#11 2010-02-03 14:15:54

Isengrin
Member
Registered: 2008-08-07
Posts: 166

Re: [SOLVED]new udev caused huge problems in devices detection

Just confirming what mechmg92 said:

I'm using a custom 2.6.30 and both audio and graphic card were giving me problems after update (e.g. audio card not detected, opening urxvt slow, Urban Terror extremely laggy). Found this thread and decided to try downgrading udev, and everything is perfect again.
I didn't try with a newer kernel, tough. I ike my custom one. xD

Last edited by Isengrin (2010-02-03 14:18:27)


The Wheel weaves as the Wheel wills, and we are only the thread of the Pattern."
—Moiraine Damodred

Offline

#12 2010-02-03 23:17:42

leberyo
Member
Registered: 2009-12-30
Posts: 123

Re: [SOLVED]new udev caused huge problems in devices detection

I'm getting the same problem here.  Except that I've downgraded udev and I still can't boot.  I've even downgraded my kernel to 2.6.3.2-6-1 and I still can't boot my machine.  I guess that's what they mean with "rolling upgrades".

Offline

Board footer

Powered by FluxBB