[arch-general] Problem with udev 145?

Sebastian Schwarz seschwar at googlemail.com
Fri Aug 28 23:59:27 UTC 2009


I forgot to mention that I do not use any custom udev rules.  Just
Arch's defaults.

On 2009-08-29 at 01:43 +0200, Thomas Bächler wrote:
> It's an external drive for you, so can you run:
> udevadm --kernel --udev --env
> and then plug it in? Maybe we can find the problem in the output.

Here you go.  Hope it helps:

# udevadm monitor --kernel --udev --env
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[1251503380.850313] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2 (usb)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2
SUBSYSTEM=usb
DEVTYPE=usb_device
DEVICE=/proc/bus/usb/001/038
PRODUCT=d49/7201/1
TYPE=0/0/0
BUSNUM=001
DEVNUM=038
SEQNUM=1613
MAJOR=189
MINOR=37

KERNEL[1251503380.852219] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0 (usb)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
DEVICE=/proc/bus/usb/001/038
PRODUCT=d49/7201/1
TYPE=0/0/0
INTERFACE=8/6/80
MODALIAS=usb:v0D49p7201d0001dc00dsc00dp00ic08isc06ip50
SEQNUM=1614

KERNEL[1251503380.853833] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6 (scsi)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6
SUBSYSTEM=scsi
DEVTYPE=scsi_host
SEQNUM=1615

KERNEL[1251503380.854877] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/scsi_host/host6 (scsi_host)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/scsi_host/host6
SUBSYSTEM=scsi_host
SEQNUM=1616

KERNEL[1251503380.856312] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/usb_endpoint/usbdev1.38_ep01 (usb_endpoint)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/usb_endpoint/usbdev1.38_ep01
SUBSYSTEM=usb_endpoint
SEQNUM=1617
MAJOR=253
MINOR=16

KERNEL[1251503380.857239] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/usb_endpoint/usbdev1.38_ep82 (usb_endpoint)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/usb_endpoint/usbdev1.38_ep82
SUBSYSTEM=usb_endpoint
SEQNUM=1618
MAJOR=253
MINOR=24

KERNEL[1251503380.858211] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/usb_device/usbdev1.38 (usb_device)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/usb_device/usbdev1.38
SUBSYSTEM=usb_device
SEQNUM=1619
MAJOR=189
MINOR=37

KERNEL[1251503380.859130] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/usb_endpoint/usbdev1.38_ep00 (usb_endpoint)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/usb_endpoint/usbdev1.38_ep00
SUBSYSTEM=usb_endpoint
SEQNUM=1620
MAJOR=253
MINOR=25

UDEV  [1251503380.888230] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2 (usb)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2
SUBSYSTEM=usb
DEVTYPE=usb_device
DEVICE=/proc/bus/usb/001/038
PRODUCT=d49/7201/1
TYPE=0/0/0
BUSNUM=001
DEVNUM=038
SEQNUM=1613
ID_VENDOR=Maxtor
ID_VENDOR_ENC=Maxtor
ID_VENDOR_ID=0d49
ID_MODEL=OneTouch_III
ID_MODEL_ENC=OneTouch\x20III
ID_MODEL_ID=7201
ID_REVISION=0001
ID_SERIAL=Maxtor_OneTouch_III_00F3127F
ID_SERIAL_SHORT=00F3127F
ID_BUS=usb
ID_USB_INTERFACES=:080650:
DEVNAME=/dev/bus/usb/001/038
MAJOR=189
MINOR=37
DEVLINKS=/dev/char/189:37

UDEV  [1251503380.892215] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/usb_endpoint/usbdev1.38_ep00 (usb_endpoint)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/usb_endpoint/usbdev1.38_ep00
SUBSYSTEM=usb_endpoint
SEQNUM=1620
DEVNAME=/dev/usbdev1.38_ep00
MAJOR=253
MINOR=25
DEVLINKS=/dev/char/253:25

UDEV  [1251503380.892529] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/usb_device/usbdev1.38 (usb_device)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/usb_device/usbdev1.38
SUBSYSTEM=usb_device
SEQNUM=1619
DEVNAME=/dev/usbdev1.38
MAJOR=189
MINOR=37
DEVLINKS=/dev/char/189:37

UDEV  [1251503380.893759] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0 (usb)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
DEVICE=/proc/bus/usb/001/038
PRODUCT=d49/7201/1
TYPE=0/0/0
INTERFACE=8/6/80
MODALIAS=usb:v0D49p7201d0001dc00dsc00dp00ic08isc06ip50
SEQNUM=1614

UDEV  [1251503380.893936] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/usb_endpoint/usbdev1.38_ep01 (usb_endpoint)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/usb_endpoint/usbdev1.38_ep01
SUBSYSTEM=usb_endpoint
SEQNUM=1617
DEVNAME=/dev/usbdev1.38_ep01
MAJOR=253
MINOR=16
DEVLINKS=/dev/char/253:16

UDEV  [1251503380.894090] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/usb_endpoint/usbdev1.38_ep82 (usb_endpoint)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/usb_endpoint/usbdev1.38_ep82
SUBSYSTEM=usb_endpoint
SEQNUM=1618
DEVNAME=/dev/usbdev1.38_ep82
MAJOR=253
MINOR=24
DEVLINKS=/dev/char/253:24

UDEV  [1251503380.894217] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6 (scsi)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6
SUBSYSTEM=scsi
DEVTYPE=scsi_host
SEQNUM=1615

UDEV  [1251503380.894492] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/scsi_host/host6 (scsi_host)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/scsi_host/host6
SUBSYSTEM=scsi_host
SEQNUM=1616

KERNEL[1251503386.566024] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0 (scsi)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0
SUBSYSTEM=scsi
DEVTYPE=scsi_target
SEQNUM=1621

KERNEL[1251503386.566179] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0 (scsi)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0
SUBSYSTEM=scsi
DEVTYPE=scsi_device
MODALIAS=scsi:t-0x00
SEQNUM=1622

KERNEL[1251503386.566297] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/scsi_device/6:0:0:0 (scsi_device)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/scsi_device/6:0:0:0
SUBSYSTEM=scsi_device
SEQNUM=1623

KERNEL[1251503386.566408] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/scsi_generic/sg1 (scsi_generic)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/scsi_generic/sg1
SUBSYSTEM=scsi_generic
SEQNUM=1624
MAJOR=21
MINOR=1

KERNEL[1251503386.566537] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/bsg/6:0:0:0 (bsg)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/bsg/6:0:0:0
SUBSYSTEM=bsg
SEQNUM=1625
MAJOR=254
MINOR=1

UDEV  [1251503386.568461] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0 (scsi)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0
SUBSYSTEM=scsi
DEVTYPE=scsi_target
SEQNUM=1621

UDEV  [1251503386.568591] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0 (scsi)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0
SUBSYSTEM=scsi
DEVTYPE=scsi_device
MODALIAS=scsi:t-0x00
SEQNUM=1622

UDEV  [1251503386.568873] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/scsi_device/6:0:0:0 (scsi_device)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/scsi_device/6:0:0:0
SUBSYSTEM=scsi_device
SEQNUM=1623

UDEV  [1251503386.569130] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/scsi_generic/sg1 (scsi_generic)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/scsi_generic/sg1
SUBSYSTEM=scsi_generic
SEQNUM=1624
DEVNAME=/dev/sg1
MAJOR=21
MINOR=1
DEVLINKS=/dev/char/21:1

UDEV  [1251503386.569721] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/bsg/6:0:0:0 (bsg)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/bsg/6:0:0:0
SUBSYSTEM=bsg
SEQNUM=1625
DEVNAME=/dev/bsg/6:0:0:0
MAJOR=254
MINOR=1
DEVLINKS=/dev/char/254:1

KERNEL[1251503386.570239] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/scsi_disk/6:0:0:0 (scsi_disk)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/scsi_disk/6:0:0:0
SUBSYSTEM=scsi_disk
SEQNUM=1626

UDEV  [1251503386.570649] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/scsi_disk/6:0:0:0 (scsi_disk)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/scsi_disk/6:0:0:0
SUBSYSTEM=scsi_disk
SEQNUM=1626

KERNEL[1251503386.596528] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/block/sdb (block)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/block/sdb
SUBSYSTEM=block
DEVTYPE=disk
SEQNUM=1627
MAJOR=8
MINOR=16

KERNEL[1251503386.596692] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1 (block)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1
SUBSYSTEM=block
DEVTYPE=partition
SEQNUM=1628
MAJOR=8
MINOR=17

KERNEL[1251503386.596818] add      /devices/virtual/bdi/8:16 (bdi)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/virtual/bdi/8:16
SUBSYSTEM=bdi
SEQNUM=1629

UDEV  [1251503386.601120] add      /devices/virtual/bdi/8:16 (bdi)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/virtual/bdi/8:16
SUBSYSTEM=bdi
SEQNUM=1629

UDEV  [1251503386.788141] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/block/sdb (block)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/block/sdb
SUBSYSTEM=block
DEVTYPE=disk
SEQNUM=1627
ID_VENDOR=Maxtor
ID_VENDOR_ENC=Maxtor\x20\x20
ID_VENDOR_ID=0d49
ID_MODEL=OneTouch_III
ID_MODEL_ENC=OneTouch\x20III\x20\x20\x20\x20
ID_MODEL_ID=7201
ID_REVISION=035f
ID_SERIAL=Maxtor_OneTouch_III_00F3127F-0:0
ID_SERIAL_SHORT=00F3127F
ID_TYPE=disk
ID_INSTANCE=0:0
ID_BUS=usb
ID_USB_INTERFACES=:080650:
ID_USB_INTERFACE_NUM=00
ID_USB_DRIVER=usb-storage
ID_PATH=pci-0000:00:1d.7-usb-0:8.2.2:1.0-scsi-0:0:0:0
DEVNAME=/dev/sdb
MAJOR=8
MINOR=16
DEVLINKS=/dev/block/8:16 /dev/disk/by-id/usb-Maxtor_OneTouch_III_00F3127F-0:0 /dev/disk/by-path/pci-0000:00:1d.7-usb-0:8.2.2:1.0-scsi-0:0:0:0

UDEV  [1251503386.843873] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1 (block)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1
SUBSYSTEM=block
DEVTYPE=partition
SEQNUM=1628
ID_VENDOR=Maxtor
ID_VENDOR_ENC=Maxtor\x20\x20
ID_VENDOR_ID=0d49
ID_MODEL=OneTouch_III
ID_MODEL_ENC=OneTouch\x20III\x20\x20\x20\x20
ID_MODEL_ID=7201
ID_REVISION=035f
ID_SERIAL=Maxtor_OneTouch_III_00F3127F-0:0
ID_SERIAL_SHORT=00F3127F
ID_TYPE=disk
ID_INSTANCE=0:0
ID_BUS=usb
ID_USB_INTERFACES=:080650:
ID_USB_INTERFACE_NUM=00
ID_USB_DRIVER=usb-storage
ID_PATH=pci-0000:00:1d.7-usb-0:8.2.2:1.0-scsi-0:0:0:0
DEVNAME=/dev/sdb1
MAJOR=8
MINOR=17
DEVLINKS=/dev/block/8:17 /dev/disk/by-id/usb-Maxtor_OneTouch_III_00F3127F-0:0-part1 /dev/disk/by-path/pci-0000:00:1d.7-usb-0:8.2.2:1.0-scsi-0:0:0:0-part1


More information about the arch-general mailing list