View previous topic :: View next topic |
Author |
Message |
dhave Apprentice
Joined: 28 Oct 2005 Posts: 298 Location: Still outside the Matrix ...
|
Posted: Sat Nov 25, 2006 5:00 pm Post subject: udev probs after update [SOLVED, I think] |
|
|
After updating from udev-087-r1 to udev-103, I'm getting a long list of error messages on boot (see below). The system does boot, however. I'm wondering if and how I need to clean this up. Thanks. (Also, if somebody will tell me how to format the output below so that it scrolls within the post, I'd be grateful.)
Code: | Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{removable}', in 'KERNEL'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'DRIVERS', in 'KERNEL'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{removable}', in 'KERNEL'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{ieee1394_id}', in 'KERNEL'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTR{removable}', in 'KERNEL'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'SUBSYSTEMS', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'SUBSYSTEMS', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{bInterfaceClass}', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{bInterfaceProtocol}', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'SUBSYSTEMS', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{bInterfaceClass}', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{bInterfaceProtocol}', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'DRIVERS', in 'DRIVERS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'DRIVERS', in 'DRIVERS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'DRIVERS', in 'DRIVERS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{name}', in 'ATTRS{name}'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{modalias}', in 'ATTRS{modalias}'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{modalias}', in 'ATTRS{modalias}'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{removable}', in 'KERNEL'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'DRIVERS', in 'KERNEL'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{removable}', in 'KERNEL'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{ieee1394_id}', in 'KERNEL'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTR{removable}', in 'KERNEL'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'SUBSYSTEMS', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'SUBSYSTEMS', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{bInterfaceClass}', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{bInterfaceProtocol}', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'SUBSYSTEMS', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{bInterfaceClass}', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{bInterfaceProtocol}', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'DRIVERS', in 'DRIVERS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'DRIVERS', in 'DRIVERS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'DRIVERS', in 'DRIVERS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{name}', in 'ATTRS{name}'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{modalias}', in 'ATTRS{modalias}'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{modalias}', in 'ATTRS{modalias}'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{removable}', in 'KERNEL'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'DRIVERS', in 'KERNEL'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{removable}', in 'KERNEL'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{ieee1394_id}', in 'KERNEL'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTR{removable}', in 'KERNEL'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'SUBSYSTEMS', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'SUBSYSTEMS', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{bInterfaceClass}', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{bInterfaceProtocol}', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'SUBSYSTEMS', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{bInterfaceClass}', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{bInterfaceProtocol}', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'DRIVERS', in 'DRIVERS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'DRIVERS', in 'DRIVERS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'DRIVERS', in 'DRIVERS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{name}', in 'ATTRS{name}'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{modalias}', in 'ATTRS{modalias}'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{modalias}', in 'ATTRS{modalias}'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{removable}', in 'KERNEL'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'DRIVERS', in 'KERNEL'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{removable}', in 'KERNEL'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTRS{ieee1394_id}', in 'KERNEL'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'ATTR{removable}', in 'KERNEL'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'DRIVERS', in 'ACTION'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'SUBSYSTEMS', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'SUBSYSTEMS', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'SUBSYSTEMS', in 'SUBSYSTEMS'
Nov 25 11:18:33 thinkpad udevd[1089]: add_to_rules: unknown key 'SUBSYSTEMS', in 'SUBSYSTEMS'
Nov 25 11:18:35 thinkpad udevd[7931]: add_to_rules: invalid KERNEL operation
Nov 25 11:18:35 thinkpad udevd[7931]: add_to_rules: invalid rule '/etc/udev/rules.d/40-fuse.rules:1'
Nov 25 11:18:35 thinkpad udevd[7931]: add_to_rules: invalid KERNEL operation
Nov 25 11:18:35 thinkpad udevd[7931]: add_to_rules: invalid rule '/etc/udev/rules.d/50-udev.rules:37'
Nov 25 11:18:35 thinkpad udevd[7931]: add_to_rules: invalid KERNEL operation
Nov 25 11:18:35 thinkpad udevd[7931]: add_to_rules: invalid rule '/etc/udev/rules.d/50-udev.rules:38'
Nov 25 11:18:35 thinkpad udevd[7931]: add_to_rules: invalid KERNEL operation
Nov 25 11:18:35 thinkpad udevd[7931]: add_to_rules: invalid rule '/etc/udev/rules.d/50-udev.rules:39'
Nov 25 11:18:35 thinkpad udevd[7931]: lookup_user: specified user 'tss' unknown
Nov 25 11:18:35 thinkpad udevd[7931]: lookup_group: specified group 'tss' unknown
Nov 25 11:18:35 thinkpad udevd[7931]: add_to_rules: do not reference parent sysfs directories directly, that may break with a future kernel, please fix it in /etc/udev/rules.d/50-udev.rules:260
Nov 25 11:18:35 thinkpad udevd[7931]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:4
Nov 25 11:18:35 thinkpad udevd[7931]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:10
Nov 25 11:18:35 thinkpad udevd[7931]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:14
Nov 25 11:21:56 thinkpad udevd[7932]: add_to_rules: invalid KERNEL operation
Nov 25 11:21:56 thinkpad udevd[7932]: add_to_rules: invalid rule '/etc/udev/rules.d/40-fuse.rules:1'
Nov 25 11:21:56 thinkpad udevd[7932]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:4
Nov 25 11:21:56 thinkpad udevd[7932]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:10
Nov 25 11:21:56 thinkpad udevd[7932]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:14
Nov 25 11:21:56 thinkpad udevd[7932]: add_to_rules: invalid KERNEL operation
Nov 25 11:21:56 thinkpad udevd[7932]: add_to_rules: invalid rule '/etc/udev/rules.d/40-fuse.rules:1'
Nov 25 11:21:56 thinkpad udevd[7932]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:4
Nov 25 11:21:56 thinkpad udevd[7932]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:10
Nov 25 11:21:56 thinkpad udevd[7932]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:14
Nov 25 11:22:11 thinkpad udevd[7932]: add_to_rules: invalid KERNEL operation
Nov 25 11:22:11 thinkpad udevd[7932]: add_to_rules: invalid rule '/etc/udev/rules.d/40-fuse.rules:1'
Nov 25 11:22:11 thinkpad udevd[7932]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:4
Nov 25 11:22:11 thinkpad udevd[7932]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:10
Nov 25 11:22:11 thinkpad udevd[7932]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:14
Nov 25 11:22:11 thinkpad udevd[7932]: add_to_rules: invalid KERNEL operation
Nov 25 11:22:11 thinkpad udevd[7932]: add_to_rules: invalid rule '/etc/udev/rules.d/40-fuse.rules:1'
Nov 25 11:22:11 thinkpad udevd[7932]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:4
Nov 25 11:22:11 thinkpad udevd[7932]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:10
Nov 25 11:22:11 thinkpad udevd[7932]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:14
|
_________________ This space available!
Last edited by dhave on Sun Nov 26, 2006 4:01 am; edited 1 time in total |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Sat Nov 25, 2006 5:49 pm Post subject: |
|
|
What kernel version are you using? udev is notorious for being less than, er, forgiving about which version works with which kernel. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
SinoTech Advocate
Joined: 20 Mar 2004 Posts: 2579 Location: Neunkirchen / Saarland / Germany
|
Posted: Sat Nov 25, 2006 5:55 pm Post subject: |
|
|
Did you update your config files (e.g. etc-update)?
Cheers,
Sino _________________ Help to answer the unanswered |
|
Back to top |
|
|
staffan n00b
Joined: 31 Oct 2004 Posts: 29 Location: Sweden
|
Posted: Sat Nov 25, 2006 6:12 pm Post subject: |
|
|
I suppose there has been some changes. My iPod used to work but after the update it keeps saying that /dev/ipod doesn't exist. I've written a rule based on information available elsewhere and it has worked flawlessly until just now.
I didn't get any udev errors, though.
Hopefully someone will be able to point us in the right direction. I have only a very limited understanding about this...
[Edit: Note to self: Find english grammar book and reread it...] _________________ /S
"I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, 'What is that, swearing?'" (Larry Wall) |
|
Back to top |
|
|
madisonicus Veteran
Joined: 20 Sep 2006 Posts: 1130
|
Posted: Sat Nov 25, 2006 6:32 pm Post subject: |
|
|
@dhave: ++ on the etc-update. That should eliminate those errors.
@staffan: My iPod works fine with the new udev. I'd double check your fstab and make sure you weren't depending on coldplug to load any usb-related modules. You might need/want to set up some udev rules. If so, here are two excellent resources: http://www.gentoo.org/doc/en/udev-guide.xml and http://www.gentoo.org/doc/en/udev-guide.xml .
HTH,
m _________________ Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC |
|
Back to top |
|
|
staffan n00b
Joined: 31 Oct 2004 Posts: 29 Location: Sweden
|
Posted: Sat Nov 25, 2006 8:06 pm Post subject: |
|
|
Thanks for the reply.
It didn't work at first, for some unknown reason, and then I started messing with the rules file and in my haste, typed a '.' instead of a ','. It works fine now. I'm still not sure exactly what happened, though. _________________ /S
"I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, 'What is that, swearing?'" (Larry Wall) |
|
Back to top |
|
|
dhave Apprentice
Joined: 28 Oct 2005 Posts: 298 Location: Still outside the Matrix ...
|
Posted: Sat Nov 25, 2006 10:40 pm Post subject: |
|
|
moocha wrote: | What kernel version are you using? udev is notorious for being less than, er, forgiving about which version works with which kernel. |
Kernel is 2.6.17-suspend2-r6
SinoTech wrote: | Did you update your config files (e.g. etc-update)? |
Yup. _________________ This space available! |
|
Back to top |
|
|
dhave Apprentice
Joined: 28 Oct 2005 Posts: 298 Location: Still outside the Matrix ...
|
Posted: Sun Nov 26, 2006 4:01 am Post subject: |
|
|
I think I've resolved this problem, though I'm a bit mystified.
On a second reboot, the long list of udev-related error messages was reduced to these:
Code: | Nov 25 11:18:35 thinkpad udevd[7931]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:4
Nov 25 11:18:35 thinkpad udevd[7931]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:10
Nov 25 11:18:35 thinkpad udevd[7931]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:14 |
So, following the info in this bug https://bugs.gentoo.org/show_bug.cgi?id=146948 , I changed all occurrences of MODALIAS to ENV{MODALIAS} in the udev rules file /etc/udev/rules.d/60-pcmcia.rules.
I'm not exactly sure why I did what I did, but it seems to have taken care of the error messages. _________________ This space available! |
|
Back to top |
|
|
lunchlady55 n00b
Joined: 03 Oct 2005 Posts: 12
|
Posted: Sat Dec 09, 2006 6:29 am Post subject: |
|
|
I was having a similar problem.
However, I remember not allowing etc-update to overwrite the original udev config files. (Now I can't remember why, and it seems like a poor choice now that I look back.)
Anyway, re-emerging udev-103 didn't register with etc-update that a config file had to be updated
Here's what I did to fix it: (Warning, ugly, possibly dangerous hack below)
Code: | # emerge =sys-fs/udev-087-rc1
# etc-update
1) /etc/udev/rules.d/50-udev.rules (1)
Please select a file to edit by entering the corresponding number.
(don't use -3, -5, -7 or -9 if you're unsure what to do)
(-1 to exit) (-3 to auto merge all remaining files)
(-5 to auto-merge AND not use 'mv -i')
(-7 to discard all updates)
(-9 to discard all updates AND not use 'rm -i'): -3
# emerge sys-fs/udev
# etc-update
1) /etc/udev/rules.d/50-udev.rules (1)
Please select a file to edit by entering the corresponding number.
(don't use -3, -5, -7 or -9 if you're unsure what to do)
(-1 to exit) (-3 to auto merge all remaining files)
(-5 to auto-merge AND not use 'mv -i')
(-7 to discard all updates)
(-9 to discard all updates AND not use 'rm -i'): -3
|
Only then did etc-update overwrite the config file I had skipped at first.
For those "What the hell was I thinking?" moments, is there any way to force the new config file without downgrading to an older version? |
|
Back to top |
|
|
SierraXTC n00b
Joined: 12 Oct 2004 Posts: 32
|
Posted: Sat Dec 23, 2006 4:57 pm Post subject: |
|
|
Didn't work for me. Any further hints? Still got the same messages |
|
Back to top |
|
|
[Lx]-=Mystify=- Apprentice
Joined: 16 Mar 2004 Posts: 180
|
Posted: Tue Dec 26, 2006 8:20 pm Post subject: |
|
|
have a look HERE.
this thread is on the same issue and provides a clean fix. _________________ DARK IS NOT THE OPPISITE OF LIGHT
IT'S THE ABSENCE OF LIGHT |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|