no partitions on Western Digital My Book

Samuel Sieb samuel at sieb.net
Wed Jul 23 16:12:54 PDT 2008


When I plug in a Western Digital My Book, the partitions are detected by 
the kernel, but hal doesn't read them.  This means that the drive 
doesn't get automounted.  One thing that I noticed is that it is two 
devices, the actual storage device and an SES device (the enclosure). 
I've included the dmesg and lshal ouput.  If there's any other info that 
would help, please let me know.

The dmesg output:
usb 1-7: new high speed USB device using ehci_hcd and address 11
usb 1-7: configuration #1 chosen from 1 choice
scsi12 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 11
usb-storage: waiting for device to settle before scanning
input: Western Digital My Book as 
/devices/pci0000:00/0000:00:1d.7/usb1/1-7/1-7:1.1/input/input14
input,hidraw4: USB HID v1.11 Device [Western Digital My Book] on 
usb-0000:00:1d.7-7
usb 1-7: New USB device found, idVendor=1058, idProduct=0905
usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-7: Product: My Book
usb 1-7: Manufacturer: Western Digital
usb 1-7: SerialNumber: WU2T12033015
usb-storage: device scan complete
scsi 12:0:0:0: Enclosure         WD       My Book Device   104a PQ: 0 
ANSI: 4
scsi 12:0:0:1: Direct-Access     WD       My Book          104a PQ: 0 
ANSI: 4
ses 12:0:0:0: Attached Enclosure device
ses 12:0:0:0: Attached scsi generic sg3 type 13
sd 12:0:0:1: [sdb] 3907026944 512-byte hardware sectors (2000398 MB)
sd 12:0:0:1: [sdb] Write Protect is off
sd 12:0:0:1: [sdb] Mode Sense: 10 00 00 00
sd 12:0:0:1: [sdb] Assuming drive cache: write through
sd 12:0:0:1: [sdb] 3907026944 512-byte hardware sectors (2000398 MB)
sd 12:0:0:1: [sdb] Write Protect is off
sd 12:0:0:1: [sdb] Mode Sense: 10 00 00 00
sd 12:0:0:1: [sdb] Assuming drive cache: write through
  sdb: sdb1
sd 12:0:0:1: [sdb] Attached SCSI disk
sd 12:0:0:1: Attached scsi generic sg4 type 0


The (relevant part of the) lshal output:
udi = '/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015'
   info.bus = 'usb_device'  (string)
   info.linux.driver = 'usb'  (string)
   info.parent = 
'/org/freedesktop/Hal/devices/usb_device_1d6b_2_0000_00_1d_7'  (string)
   info.product = 'My Book'  (string)
   info.subsystem = 'usb_device'  (string)
   info.udi = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015'  (string)
   info.vendor = 'Western Digital Technologies, Inc.'  (string)
   linux.device_file = '/dev/bus/usb/001/011'  (string)
   linux.hotplug_type = 2  (0x2)  (int)
   linux.subsystem = 'usb'  (string)
   linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-7' 
(string)
   usb_device.bus_number = 1  (0x1)  (int)
   usb_device.can_wake_up = false  (bool)
   usb_device.configuration = 'Configuration0'  (string)
   usb_device.configuration_value = 1  (0x1)  (int)
   usb_device.device_class = 0  (0x0)  (int)
   usb_device.device_protocol = 0  (0x0)  (int)
   usb_device.device_revision_bcd = 260  (0x104)  (int)
   usb_device.device_subclass = 0  (0x0)  (int)
   usb_device.is_self_powered = true  (bool)
   usb_device.linux.device_number = 11  (0xb)  (int)
   usb_device.linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-7'  (string)
   usb_device.max_power = 0  (0x0)  (int)
   usb_device.num_configurations = 1  (0x1)  (int)
   usb_device.num_interfaces = 2  (0x2)  (int)
   usb_device.num_ports = 0  (0x0)  (int)
   usb_device.product = 'My Book'  (string)
   usb_device.product_id = 2309  (0x905)  (int)
   usb_device.serial = 'WU2T12033015'  (string)
   usb_device.speed = 480.0 (480) (double)
   usb_device.vendor = 'Western Digital Technologies, Inc.'  (string)
   usb_device.vendor_id = 4184  (0x1058)  (int)
   usb_device.version = 2.0 (2) (double)

udi = '/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if1'
   info.bus = 'usb'  (string)
   info.linux.driver = 'usbhid'  (string)
   info.parent = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015'  (string)
   info.product = 'USB HID Interface'  (string)
   info.subsystem = 'usb'  (string)
   info.udi = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if1' 
(string)
   linux.hotplug_type = 2  (0x2)  (int)
   linux.subsystem = 'usb'  (string)
   linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-7/1-7:1.1'  (string)
   usb.bus_number = 1  (0x1)  (int)
   usb.can_wake_up = false  (bool)
   usb.configuration = 'Configuration0'  (string)
   usb.configuration_value = 1  (0x1)  (int)
   usb.device_class = 0  (0x0)  (int)
   usb.device_protocol = 0  (0x0)  (int)
   usb.device_revision_bcd = 260  (0x104)  (int)
   usb.device_subclass = 0  (0x0)  (int)
   usb.interface.class = 3  (0x3)  (int)
   usb.interface.description = 'WD HID Interface'  (string)
   usb.interface.number = 1  (0x1)  (int)
   usb.interface.protocol = 0  (0x0)  (int)
   usb.interface.subclass = 0  (0x0)  (int)
   usb.is_self_powered = true  (bool)
   usb.linux.device_number = 11  (0xb)  (int)
   usb.linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-7/1-7:1.1'  (string)
   usb.max_power = 0  (0x0)  (int)
   usb.num_configurations = 1  (0x1)  (int)
   usb.num_interfaces = 2  (0x2)  (int)
   usb.num_ports = 0  (0x0)  (int)
   usb.product = 'USB HID Interface'  (string)
   usb.product_id = 2309  (0x905)  (int)
   usb.serial = 'WU2T12033015'  (string)
   usb.speed = 480.0 (480) (double)
   usb.vendor = 'Western Digital Technologies, Inc.'  (string)
   usb.vendor_id = 4184  (0x1058)  (int)
   usb.version = 2.0 (2) (double)

udi = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if1_logicaldev_input'
   info.capabilities = {'input'} (string list)
   info.category = 'input'  (string)
   info.parent = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if1' 
(string)
   info.product = 'Western Digital My Book'  (string)
   info.subsystem = 'input'  (string)
   info.udi = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if1_logicaldev_input' 
  (string)
   input.device = '/dev/input/event7'  (string)
   input.originating_device = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if1' 
(string)
   input.product = 'Western Digital My Book'  (string)
   linux.device_file = '/dev/input/event7'  (string)
   linux.hotplug_type = 2  (0x2)  (int)
   linux.subsystem = 'input'  (string)
   linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-7/1-7:1.1/input/input14/event7' 
  (string)

udi = '/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if0'
   info.bus = 'usb'  (string)
   info.linux.driver = 'usb-storage'  (string)
   info.parent = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015'  (string)
   info.product = 'USB Mass Storage Interface'  (string)
   info.subsystem = 'usb'  (string)
   info.udi = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if0' 
(string)
   linux.hotplug_type = 2  (0x2)  (int)
   linux.subsystem = 'usb'  (string)
   linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-7/1-7:1.0'  (string)
   usb.bus_number = 1  (0x1)  (int)
   usb.can_wake_up = false  (bool)
   usb.configuration = 'Configuration0'  (string)
   usb.configuration_value = 1  (0x1)  (int)
   usb.device_class = 0  (0x0)  (int)
   usb.device_protocol = 0  (0x0)  (int)
   usb.device_revision_bcd = 260  (0x104)  (int)
   usb.device_subclass = 0  (0x0)  (int)
   usb.interface.class = 8  (0x8)  (int)
   usb.interface.description = 'WD Mass Storage Interface'  (string)
   usb.interface.number = 0  (0x0)  (int)
   usb.interface.protocol = 80  (0x50)  (int)
   usb.interface.subclass = 6  (0x6)  (int)
   usb.is_self_powered = true  (bool)
   usb.linux.device_number = 11  (0xb)  (int)
   usb.linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-7/1-7:1.0'  (string)
   usb.max_power = 0  (0x0)  (int)
   usb.num_configurations = 1  (0x1)  (int)
   usb.num_interfaces = 2  (0x2)  (int)
   usb.num_ports = 0  (0x0)  (int)
   usb.product = 'USB Mass Storage Interface'  (string)
   usb.product_id = 2309  (0x905)  (int)
   usb.serial = 'WU2T12033015'  (string)
   usb.speed = 480.0 (480) (double)
   usb.vendor = 'Western Digital Technologies, Inc.'  (string)
   usb.vendor_id = 4184  (0x1058)  (int)
   usb.version = 2.0 (2) (double)

udi = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if0_scsi_host'
   info.capabilities = {'scsi_host'} (string list)
   info.category = 'scsi_host'  (string)
   info.parent = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if0' 
(string)
   info.product = 'SCSI Host Adapter'  (string)
   info.subsystem = 'scsi_host'  (string)
   info.udi = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if0_scsi_host' 
  (string)
   linux.hotplug_type = 2  (0x2)  (int)
   linux.subsystem = 'scsi_host'  (string)
   linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-7/1-7:1.0/host12'  (string)
   scsi_host.host = 12  (0xc)  (int)

udi = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if0_scsi_host_scsi_device_lun0'
   info.linux.driver = 'ses'  (string)
   info.parent = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if0_scsi_host' 
  (string)
   info.product = 'SCSI Device'  (string)
   info.subsystem = 'scsi'  (string)
   info.udi = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if0_scsi_host_scsi_device_lun0' 
  (string)
   linux.hotplug_type = 2  (0x2)  (int)
   linux.subsystem = 'scsi'  (string)
   linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-7/1-7:1.0/host12/target12:0:0/12:0:0:0' 
  (string)
   scsi.bus = 0  (0x0)  (int)
   scsi.host = 12  (0xc)  (int)
   scsi.lun = 0  (0x0)  (int)
   scsi.model = 'My Book Device'  (string)
   scsi.target = 0  (0x0)  (int)
   scsi.type = 'unknown'  (string)
   scsi.vendor = 'WD'  (string)
udi = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if0_scsi_host_scsi_device_lun0_scsi_generic'
   info.capabilities = {'scsi_generic'} (string list)
   info.category = 'scsi_generic'  (string)
   info.parent = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if0_scsi_host_scsi_device_lun0' 
  (string)
   info.product = 'SCSI Generic Interface'  (string)
   info.subsystem = 'scsi_generic'  (string)
   info.udi = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if0_scsi_host_scsi_device_lun0_scsi_generic' 
  (string)
   linux.device_file = '/dev/sg3'  (string)
   linux.hotplug_type = 2  (0x2)  (int)
   linux.subsystem = 'scsi_generic'  (string)
   linux.sysfs_path = '/sys/class/scsi_generic/sg3'  (string)
   scsi_generic.device = '/dev/sg3'  (string)

udi = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if0_scsi_host_scsi_device_lun1'
   info.linux.driver = 'sd'  (string)
   info.parent = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if0_scsi_host' 
  (string)
   info.product = 'SCSI Device'  (string)
   info.subsystem = 'scsi'  (string)
   info.udi = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if0_scsi_host_scsi_device_lun1' 
  (string)
   linux.hotplug_type = 2  (0x2)  (int)
   linux.subsystem = 'scsi'  (string)
   linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-7/1-7:1.0/host12/target12:0:0/12:0:0:1' 
  (string)
   scsi.bus = 0  (0x0)  (int)
   scsi.host = 12  (0xc)  (int)
   scsi.lun = 1  (0x1)  (int)
   scsi.model = 'My Book'  (string)
   scsi.target = 0  (0x0)  (int)
   scsi.type = 'disk'  (string)
   scsi.vendor = 'WD'  (string)

udi = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if0_scsi_host_scsi_device_lun1_scsi_generic'
   info.capabilities = {'scsi_generic'} (string list)
   info.category = 'scsi_generic'  (string)
   info.parent = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if0_scsi_host_scsi_device_lun1' 
  (string)
   info.product = 'SCSI Generic Interface'  (string)
   info.subsystem = 'scsi_generic'  (string)
   info.udi = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if0_scsi_host_scsi_device_lun1_scsi_generic' 
  (string)
   linux.device_file = '/dev/sg4'  (string)
   linux.hotplug_type = 2  (0x2)  (int)
   linux.subsystem = 'scsi_generic'  (string)
   linux.sysfs_path = '/sys/class/scsi_generic/sg4'  (string)
   scsi_generic.device = '/dev/sg4'  (string)

udi = 
'/org/freedesktop/Hal/devices/storage_serial_WD_My_Book_WU2T12033015_0_1'
   block.device = '/dev/sdb'  (string)
   block.is_volume = false  (bool)
   block.major = 8  (0x8)  (int)
   block.minor = 16  (0x10)  (int)
   block.storage_device = 
'/org/freedesktop/Hal/devices/storage_serial_WD_My_Book_WU2T12033015_0_1' 
  (string)
   info.capabilities = {'storage', 'block'} (string list)
   info.category = 'storage'  (string)
   info.parent = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if0_scsi_host_scsi_device_lun1' 
  (string)
   info.product = 'My Book'  (string)
   info.udi = 
'/org/freedesktop/Hal/devices/storage_serial_WD_My_Book_WU2T12033015_0_1' 
  (string)
   info.vendor = 'WD'  (string)
   linux.hotplug_type = 3  (0x3)  (int)
   linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-7/1-7:1.0/host12/target12:0:0/12:0:0:1/block/sdb' 
  (string)
   storage.automount_enabled_hint = true  (bool)
   storage.bus = 'usb'  (string)
   storage.drive_type = 'disk'  (string)
   storage.firmware_version = '104a'  (string)
   storage.hotpluggable = true  (bool)
   storage.lun = 1  (0x1)  (int)
   storage.media_check_enabled = false  (bool)
   storage.model = 'My Book'  (string)
   storage.no_partitions_hint = false  (bool)
   storage.originating_device = 
'/org/freedesktop/Hal/devices/usb_device_1058_905_WU2T12033015_if0' 
(string)
   storage.partitioning_scheme = 'mbr'  (string)
   storage.removable = false  (bool)
   storage.removable.media_available = true  (bool)
   storage.removable.media_size = 2000397795328  (0x1d1c1000000)  (uint64)
   storage.requires_eject = false  (bool)
   storage.serial = 'WD_My_Book_WU2T12033015-0:1'  (string)
   storage.size = 2000397795328  (0x1d1c1000000)  (uint64)
   storage.vendor = 'WD'  (string)



More information about the hal mailing list