linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to correct udev rules that generate errors with udev 100
@ 2006-09-13 23:28 Miles Lane
  2006-09-13 23:29 ` Kay Sievers
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Miles Lane @ 2006-09-13 23:28 UTC (permalink / raw)
  To: linux-hotplug

I am running Ubuntu's development repository.  It currently has udev 079,
but I upgraded to udev 100 recently.  udev 079 doesn't work correctly with
AKPM's latest kernel tree, which I test.  After upgrading to udev 100, I get
the following:

Sep 13 15:18:30 localhost udevd[5973]: add_to_rules: invalid KERNEL operation
Sep 13 15:18:30 localhost udevd[5973]: add_to_rules: invalid rule
'/etc/udev/rules.d/40-permissions.rules:40'

From the file:
[...]
SUBSYSTEM="usb", KERNEL="lp[0-9]*",    GROUP="lp"
KERNEL="pt[0-9]*",                     GROUP="tape"
KERNEL="pht[0-9]*",                    GROUP="tape"
[...]
KERNEL="nvram",                        GROUP="nvram"

Sep 13 15:18:30 localhost udevd[5973]: lookup_group: specified group
unknown 'nvram'

Sep 13 15:18:30 localhost udevd[5973]: add_to_rules: unknown key
'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:4
Sep 13 15:18:30 localhost udevd[5973]: add_to_rules: unknown key
'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:10
Sep 13 15:18:30 localhost udevd[5973]: add_to_rules: unknown key
'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:14

For example:
ACTION="add", SUBSYSTEM="pcmcia", MODALIAS="?*", \
                RUN+="/sbin/modprobe $modalias"

Sep 13 15:18:30 localhost udevd[5973]: add_to_rules: invalid ACTION operation
Sep 13 15:18:30 localhost udevd[5973]: add_to_rules: invalid rule
'/etc/udev/rules.d/85-hal.rules:5'

SUBSYSTEM="block",ACTION="remove", RUN+="/usr/lib/hal/hal-unmount.sh"

Sep 13 15:18:30 localhost udevd[5973]: add_to_rules: unknown key
'MODALIAS' in /etc/udev/rules.d/85-pcmcia.rules:8
Sep 13 15:18:30 localhost udevd[5973]: add_to_rules: unknown key
'MODALIAS' in /etc/udev/rules.d/85-pcmcia.rules:12

Sep 13 15:18:30 localhost udevd[5973]: add_to_rules: invalid KERNEL operation
Sep 13 15:18:30 localhost udevd[5973]: add_to_rules: invalid rule
'/etc/udev/rules.d/z60_usbmount.rules:3'
Sep 13 15:18:30 localhost udevd[5973]: add_to_rules: invalid KERNEL operation
Sep 13 15:18:30 localhost udevd[5973]: add_to_rules: invalid rule
'/etc/udev/rules.d/z60_usbmount.rules:4'
Sep 13 15:18:30 localhost udevd[5973]: add_to_rules: invalid KERNEL operation
Sep 13 15:18:30 localhost udevd[5973]: add_to_rules: invalid rule
'/etc/udev/rules.d/z60_usbmount.rules:5'
Sep 13 15:18:30 localhost udevd[5973]: add_to_rules: invalid KERNEL operation
Sep 13 15:18:30 localhost udevd[5973]: add_to_rules: invalid rule
'/etc/udev/rules.d/z60_usbmount.rules:6'

KERNEL="sd*", BUS="usb", ACTION="add",
RUN+="/usr/share/usbmount/usbmount add"
KERNEL="ub*", BUS="usb", ACTION="add",
RUN+="/usr/share/usbmount/usbmount add"
KERNEL="sd*",             ACTION="remove",
RUN+="/usr/share/usbmount/usbmount remove"
KERNEL="ub*",             ACTION="remove",
RUN+="/usr/share/usbmount/usbmount remove"

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-09-14  7:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-13 23:28 How to correct udev rules that generate errors with udev 100 Miles Lane
2006-09-13 23:29 ` Kay Sievers
2006-09-14  0:21 ` Miles Lane
2006-09-14  0:41 ` Bryan Kadzban
2006-09-14  1:08 ` Miles Lane
2006-09-14  3:06 ` Bryan Kadzban
2006-09-14  7:00 ` Scott James Remnant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).