Package: udev
Version: 0.085-1
Severity: normal

Marco d'Itri <[EMAIL PROTECTED]> wrote:

> Maybe a rule like this one would work, but is it correct? (And how are
> people going to figure this?)
> 
> BUS=="ide", SYSFS{block/removable}=="1", DRIVER!="ide-cdrom", 
> GOTO="no_volume_id"

Marco,

Just bought a Dazzle 4 in 1 Card Adapter and hit the same hde: hde1
storm with udev 0.085-1 on etch on my ThinkPad T40p. After updating
persistent.rules as you suggest above, the storm subdued to just five
instances of the "hde: hde1" message and I was able to mount the device.
Thanks very much for the workaround.

Mirko Parthey <[EMAIL PROTECTED]> wrote:

> It would be nice if anyone could verify this on a testing/unstable
> system (i.e., without using backports).

Confirmed on etch.


Please find attached my output of 

1. udevinfo -a -p /block/hde/hde1
2. udevtest /block/hde/hde1

udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/block/hde/hde1':
    KERNEL=="hde1"
    SUBSYSTEM=="block"
    SYSFS{stat}=="     137      137        0        0"
    SYSFS{size}=="255953"
    SYSFS{start}=="47"
    SYSFS{dev}=="33:1"

  looking at device '/block/hde':
    ID=="hde"
    BUS=="block"
    DRIVER==""
    SYSFS{stat}=="      17      155      417      174        0        0        
0        0        0      174      174"
    SYSFS{size}=="256000"
    SYSFS{removable}=="1"
    SYSFS{range}=="64"
    SYSFS{dev}=="33:0"

  looking at device 
'/devices/pci0000:00/0000:00:1e.0/0000:02:00.0/0.0/ide2/2.0':
    ID=="2.0"
    BUS=="ide"
    DRIVER=="ide-disk"

  looking at device '/devices/pci0000:00/0000:00:1e.0/0000:02:00.0/0.0/ide2':
    ID=="ide2"
    BUS==""
    DRIVER==""

  looking at device '/devices/pci0000:00/0000:00:1e.0/0000:02:00.0/0.0':
    ID=="0.0"
    BUS=="pcmcia"
    DRIVER=="ide-cs"
    
SYSFS{modalias}=="pcmcia:m0045c0401f04fn00pfn00pa21B3C300pb6190EEF1pc00000000pd00000000"
    SYSFS{prod_id2}=="Memory Card Adapter"
    SYSFS{prod_id1}=="                   "
    SYSFS{card_id}=="0x0401"
    SYSFS{manf_id}=="0x0045"
    SYSFS{func_id}=="0x04"
    SYSFS{function}=="0x00"

  looking at device '/devices/pci0000:00/0000:00:1e.0/0000:02:00.0':
    ID=="0000:02:00.0"
    BUS=="pci"
    DRIVER=="yenta_cardbus"
    SYSFS{modalias}=="pci:v0000104Cd0000AC55sv00001014sd00000512bc06sc07i00"
    SYSFS{local_cpus}=="1"
    SYSFS{irq}=="11"
    SYSFS{class}=="0x060700"
    SYSFS{subsystem_device}=="0x0512"
    SYSFS{subsystem_vendor}=="0x1014"
    SYSFS{device}=="0xac55"
    SYSFS{vendor}=="0x104c"

  looking at device '/devices/pci0000:00/0000:00:1e.0':
    ID=="0000:00:1e.0"
    BUS=="pci"
    DRIVER==""
    SYSFS{modalias}=="pci:v00008086d00002448sv00000000sd00000000bc06sc04i00"
    SYSFS{local_cpus}=="1"
    SYSFS{irq}=="0"
    SYSFS{class}=="0x060400"
    SYSFS{subsystem_device}=="0x0000"
    SYSFS{subsystem_vendor}=="0x0000"
    SYSFS{device}=="0x2448"
    SYSFS{vendor}=="0x8086"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""

main: looking at device '/block/hde/hde1' from subsystem 'block'
run_program: 'ide-devfs.sh hde1 2.0 1'
run_program: '/lib/udev/ide-devfs.sh' (stdout) 
'ide/host2/bus0/target0/lun0/part1 discs/disc2/part1'
run_program: '/lib/udev/ide-devfs.sh' returned with status 0
udev_rules_get_name: add symlink 'hde1'
udev_rules_get_name: add symlink 'discs/disc2/part1'
udev_rules_get_name: rule applied, 'hde1' becomes 
'ide/host2/bus0/target0/lun0/part1'
create_node: creating device node '/dev/ide/host2/bus0/target0/lun0/part1', 
major = '33', minor = '1', mode = '0660', uid = '0', gid = '25'
create_node: creating symlink '/dev/hde1' to 'ide/host2/bus0/target0/lun0/part1'
create_node: creating symlink '/dev/discs/disc2/part1' to 
'../../ide/host2/bus0/target0/lun0/part1'
main: run: 'socket:/org/freedesktop/hal/udev_event'
main: run: 'socket:/org/kernel/udev/monitor'
main: run: 'udev_run_hotplugd block'
main: run: 'udev_run_devd block'

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (600, 'testing'), (80, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) (ignored: LC_ALL set to 
en_US)

Versions of packages udev depends on:
ii  initscripts                  2.86.ds1-12 Scripts for initializing and shutt
ii  libc6                        2.3.5-13    GNU C Library: Shared libraries an
ii  libselinux1                  1.28-4      SELinux shared libraries
ii  lsb-base                     3.0-15      Linux Standard Base 3.0 init scrip
ii  makedev                      2.3.1-80    creates device files in /dev
ii  sed                          4.1.4-4     The GNU sed stream editor

udev recommends no packages.

-- no debconf information

-- 
Bill Wohler <[EMAIL PROTECTED]>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.

Reply via email to