[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#352753: udev: ide-generic no longer loaded on boot



Marco,

Attached is the info you requested, at least I hope it is.
You asked for 'udevtest -a -p /sys/block/hdetc', but udevtest only gave me 
systax errors or 'could not open file' errors. udevinfo did give a result 
with those parameters, so I decided you probably mistyped.
If you actually want udevtest, what would be the correct command?

On Wednesday 15 February 2006 01:52, Marco d'Itri wrote:
> BTW, I would really really like to see the content of an uevent which
> causes ide-generic to be loaded.

I'm happy to help research the why of ide-generic further and Sven Luther 
also suggested we do so on d-kernel list. I'd also be very happy if we 
could agree to delay this until after D-I Beta2.

The plain fact is that a number of ide drivers seem to need ide-generic 
loaded after the "real" driver is loaded. Loading it early blocks the use 
of DMA for some drivers. There have been several threads about this on 
d-kernel and both initramfs-tools and yaird have added workarounds for 
it.

> When is the deadline for entering testing for Beta2?

udev would have to migrate to testing around February 20...

> Maybe, but I'd rather to fix this once for good instead of hiding all
> errors again.

Ack.

Cheers,
Frans

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/hda':
    KERNEL=="hda"
    SUBSYSTEM=="block"
    SYSFS{stat}=="    2217     1818    48103    36529      656     1590    17968    45192        0    22489    81721"
    SYSFS{size}=="117210240"
    SYSFS{removable}=="0"
    SYSFS{range}=="64"
    SYSFS{dev}=="3:0"

  looking at device '/devices/pci0000:00/0000:00:1f.1/ide0/0.0':
    ID=="0.0"
    BUS=="ide"
    DRIVER=="ide-disk"

  looking at device '/devices/pci0000:00/0000:00:1f.1/ide0':
    ID=="ide0"
    BUS==""
    DRIVER==""

  looking at device '/devices/pci0000:00/0000:00:1f.1':
    ID=="0000:00:1f.1"
    BUS=="pci"
    DRIVER=="PIIX_IDE"
    SYSFS{modalias}=="pci:v00008086d000024CAsv00001179sd00000001bc01sc01i8a"
    SYSFS{local_cpus}=="1"
    SYSFS{irq}=="169"
    SYSFS{class}=="0x01018a"
    SYSFS{subsystem_device}=="0x0001"
    SYSFS{subsystem_vendor}=="0x1179"
    SYSFS{device}=="0x24ca"
    SYSFS{vendor}=="0x8086"

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

Attachment: pgp4rq9KqZMeK.pgp
Description: PGP signature


Reply to: