LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Device Notifier not listing 2nd external usb drive (https://www.linuxquestions.org/questions/slackware-14/device-notifier-not-listing-2nd-external-usb-drive-827778/)

geb 08-22-2010 07:19 AM

Device Notifier not listing 2nd external usb drive
 
kde 4.3.4 kernel 2.6.32.7-smp
Have Seagate 500GB (fuseblk) external usb drive that gets listed in the "Devices recently plugged in, pop-up panel" but a Verbatim 1.5TB does not. I have to mount it manually as ntfs volume.
eg
bash-3.1# mount /dev/sdd1 /verbatim

/dev/sdc1 fuseblk 4.0G 598M 3.5G 15% /media/Free-4GB
/dev/sdd1 ntfs 1.4T 401G 997G 29% /verbatim
/dev/sdc2 fuseblk 462G 409G 54G 89% /media/FreeAgentDrive

When I boot using the Mint distro on same PC both ext usb drives are automounted.
Looking for pointers as to why the 1.5TB verbatim disk does not automount.
Thanks in advance.

onebuck 08-22-2010 07:58 AM

Hi,

As root modify your '/etc/fstab' to reflect the new hardware mounts you desire.

Just a few useful links;

SlackwareŽ Essentials
SlackwareŽ Basics
Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Bash Reference Manual
Advanced Bash-Scripting Guide
Linux Newbie Admin Guide
LinuxSelfHelp
Getting Started with Linux

The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!

willysr 08-22-2010 08:09 AM

i have WDC 2 TB and it's still displayed on the panel :)

geb 08-22-2010 12:01 PM

-> onebuck The Seagate 500GB pops up in panel. The question is "Why not the Verbatim 1.5TB ?" No need to go near fstab for removable media.
-> willysr Thanks - eliminates a size limit!

willysr 08-22-2010 12:34 PM

try checking your dmesg and compare the output of both devices

geb 08-22-2010 01:01 PM

Thanks again willysr

Have narrowed it down to hald problem not detecting the size of 1.5TB disk

killall hald
/usr/sbin/hald --verbose=yes --daemon=no 2&> hald.log

<<<<<<<<<<<<<<<<<<<<<<<<<<<<< then in log for 1.5TB disk after probe-storage>

18:44:30.664 [D] device_store.c:516: adding 0x80f7ab0 to (linux.sysfs_path,/sys/devices/pci0000:00/0000:00:10.3/host10/target10:0:0/10:0:0:0/block/sdd)
18:44:30.664 [I] hald.c:108: Added device to GDL; udi=/org/freedesktop/Hal/devices/storage_serial_SAMSUNG_HD154U0
18:44:30.731 [I] osspec.c:241: SEQNUM=1736, ACTION=add, SUBSYSTEM=block, DEVPATH=/sys/devices/pci0000:00/0000:002:1.0/host10/target10:0:0/10:0:0:0/block/sdd/sdd1, DEVNAME=/dev/sdd1, IFINDEX=0
18:44:30.731 [I] osspec.c:966: hal_util_find_known_parent: '/sys/devices/pci0000:00/0000:00:10.3/usb1/1-2/1-2:1.:0:0/10:0:0:0/block/sdd/sdd1'->'/sys/devices/pci0000:00/0000:00:10.3/usb1/1-2/1-2:1.0/host10/target10:0:0/10:0:0
18:44:30.731 [I] blockdev.c:875: block_add: sysfs_path=/sys/devices/pci0000:00/0000:00:10.3/usb1/1-2/1-2:1.0/hos10:0:0:0/block/sdd/sdd1 dev=/dev/sdd1 is_part=1, parent=0x080f7ab0
18:44:30.731 [I] blockdev.c:1448: Ignoring hotplug event - cannot read 'size'
18:44:30.731 [W] blockdev.c:1481: Not adding device object


<<<<<<<<<<<<<<<<<< as opposed to good detection for 500GB disk>

8:38:45.668 [D] device_store.c:516: adding 0x80d11c0 to (linux.sysfs_path,/sys/devices/pci0000:00/0000:00:10.3/usb1/1-1/1-1:1.0/host9/target9:0:0/9:0:0:0/block/sdc)
18:38:45.668 [I] hald.c:108: Added device to GDL; udi=/org/freedesktop/Hal/devices/storage_serial_Seagate_FreeAgentDesktop_6QG2G6WV_0_0
18:38:45.681 [I] osspec.c:241: SEQNUM=1707, ACTION=add, SUBSYSTEM=block, DEVPATH=/sys/devices/pci0000:00/0000:00:10.3/usb1/1-1/1-1:1.0/host9/target9:0:0/9:0:0:0/block/sdc/sdc1, DEVNAME=/dev/sdc1, IFINDEX=0
18:38:45.682 [I] osspec.c:966: hal_util_find_known_parent: '/sys/devices/pci0000:00/0000:00:10.3/usb1/1-1/1-1:1.0/host9/target9:0:0/9:0:0:0/block/sdc/sdc1'->'/sys/devices/pci0000:00/0000:00:10.3/usb1/1-1/1-1:1.0/host9/target9:0:0/9:0:0:0/block/sdc'
18:38:45.682 [I] blockdev.c:875: block_add: sysfs_path=/sys/devices/pci0000:00/0000:00:10.3/usb1/1-1/1-1:1.0/host9/target9:0:0/9:0:0:0/block/sdc/sdc1 dev=/dev/sdc1 is_part=1, parent=0x080d11c0
18:38:45.689 [I] osspec.c:241: SEQNUM=1708, ACTION=add, SUBSYSTEM=block, DEVPATH=/sys/devices/pci0000:00/0000:00:10.3/usb1/1-1/1-1:1.0/host9/target9:0:0/9:0:0:0/block/sdc/sdc2, DEVNAME=/dev/sdc2, IFINDEX=0
[3460]: 18:38:45.697 [D] probe-volume.c:377: Doing probe-volume for /dev/sdc1

[3460]: 18:38:45.698 [D] probe-volume.c:388: volume.block_size = 512
[3460]: 18:38:45.698 [D] probe-volume.c:392: volume.size = 4293563904

<<<<<<<<<<<<<<<<<<<<<
Question still remains the same - Trying to find out why hald does not detect size of 1.5TB verbatim externel usb disk

willysr 08-22-2010 01:16 PM

very very strange indeed

here's my dmesg on my WDC 2TB
Code:

usb 1-4: new high speed USB device using ehci_hcd and address 31
usb 1-4: New USB device found, idVendor=1058, idProduct=1003
usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-4: Product: External HDD   
usb 1-4: Manufacturer: Western Digital
usb 1-4: SerialNumber: 57442D574D41565930303332303835
scsi28 : usb-storage 1-4:1.0
scsi 28:0:0:0: Direct-Access    WD      20EADS External  1.75 PQ: 0 ANSI: 4
sd 28:0:0:0: Attached scsi generic sg7 type 0
sd 28:0:0:0: [sdg] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
sd 28:0:0:0: [sdg] Write Protect is off
sd 28:0:0:0: [sdg] Mode Sense: 23 00 00 00
sd 28:0:0:0: [sdg] Assuming drive cache: write through
sd 28:0:0:0: [sdg] Assuming drive cache: write through
 sdg: sdg1
sd 28:0:0:0: [sdg] Assuming drive cache: write through
sd 28:0:0:0: [sdg] Attached SCSI disk


geb 08-22-2010 01:38 PM

Thanks again willysr for your dmesg
My dmesg loooks ok (see below) and I can mount the verbatim disk manually.
It is the fact that it is not listed in the "Devices recently plugged in, pop-up panel" that started this enquiry (its not a show stopper)
The other Seagate external usb disk is listed in popup and then can be opened in Filemanager Dolphin by clicking on it.
So I will investigate further and will report back.


>> from lshal

pci_1106_3104
usb_device_1d6b_2_0000_00_10_3
usb_device_1d6b_2_0000_00_10_3_usbraw
usb_device_18a5_216_160500171f37
usb_device_18a5_216_160500171f37_usbraw
usb_device_18a5_216_160500171f37_if0
usb_device_18a5_216_160500171f37_if0_scsi_host
usb_device_18a5_216_160500171f37_if0_scsi_host_scsi_host
usb_device_18a5_216_160500171f37_if0_scsi_host_scsi_device_lun0
usb_device_18a5_216_160500171f37_if0_scsi_host_scsi_device_lun0_scsi_generic
storage_serial_SAMSUNG_HD154UI_160500171f37_0_0
usb_device_bc2_3000_____________6QG2G6WV
usb_device_bc2_3000_____________6QG2G6WV_usbraw
usb_device_bc2_3000_____________6QG2G6WV_if0
usb_device_bc2_3000_____________6QG2G6WV_if0_scsi_host
usb_device_bc2_3000_____________6QG2G6WV_if0_scsi_host_scsi_host
usb_device_bc2_3000_____________6QG2G6WV_if0_scsi_host_scsi_device_lun0
usb_device_bc2_3000_____________6QG2G6WV_if0_scsi_host_scsi_device_lun0_scsi_generic
storage_serial_Seagate_FreeAgentDesktop_6QG2G6WV_0_0
volume_uuid_BA0C26780C263035
volume_uuid_69BE8411533C7658

>>> from dmesg
usb 1-1: Product: FreeAgentDesktop
usb 1-1: Manufacturer: Seagate
usb 1-1: SerialNumber: 6QG2G6WV
usb 1-1: configuration #1 chosen from 1 choice
scsi11 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 10
usb-storage: waiting for device to settle before scanning
scsi 11:0:0:0: Direct-Access Seagate FreeAgentDesktop 100F PQ: 0 ANSI: 4
sd 11:0:0:0: Attached scsi generic sg4 type 0
usb-storage: device scan complete
sd 11:0:0:0: [sdc] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 11:0:0:0: [sdc] Write Protect is off
sd 11:0:0:0: [sdc] Mode Sense: 1c 00 00 00
sd 11:0:0:0: [sdc] Assuming drive cache: write through
sd 11:0:0:0: [sdc] Assuming drive cache: write through
sdc: sdc1 sdc2
sd 11:0:0:0: [sdc] Assuming drive cache: write through
sd 11:0:0:0: [sdc] Attached SCSI disk
usb 1-2: USB disconnect, address 9
usb 1-2: new high speed USB device using ehci_hcd and address 11
usb 1-2: New USB device found, idVendor=18a5, idProduct=0216
usb 1-2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
usb 1-2: Product: Desktop USB Drive
usb 1-2: Manufacturer: Verbatim
usb 1-2: SerialNumber: 160500171f37
usb 1-2: 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
scsi 12:0:0:0: Direct-Access SAMSUNG HD154UI PQ: 0 ANSI: 2
sd 12:0:0:0: Attached scsi generic sg5 type 0
usb-storage: device scan complete
sd 12:0:0:0: [sdd] 2930277168 512-byte logical blocks: (1.50 TB/1.36 TiB)
sd 12:0:0:0: [sdd] Write Protect is off
sd 12:0:0:0: [sdd] Mode Sense: 38 00 00 00
sd 12:0:0:0: [sdd] Assuming drive cache: write through
sd 12:0:0:0: [sdd] Assuming drive cache: write through
sdd: sdd1
sd 12:0:0:0: [sdd] Assuming drive cache: write through
sd 12:0:0:0: [sdd] Attached SCSI disk

geb 08-22-2010 02:17 PM

Had to move on - so got the hammer out.
Used gparted to split 1.5TB disk thinking that maybe rewriting drive info to drive might enable hal (hard abstract layer) to pick it up. ie size & uuid info.
hald now gets info from samsung drive (verbatim label)
and I'm a happy camper.
Have not pursued a problem like this for quite a while but realize that I did not find the exact answer to original problem.
I effected a solution and that suffices for me and I can only surmise that as it was a brand new external hard drive maybe the particular info hal requires was not on disk???
Anyway, thanks for all the help.
-John


eg
lshal -t
pci_1106_3104
usb_device_1d6b_2_0000_00_10_3
usb_device_bc2_3000_____________6QG2G6WV
usb_device_bc2_3000_____________6QG2G6WV_usbraw
usb_device_bc2_3000_____________6QG2G6WV_if0
usb_device_bc2_3000_____________6QG2G6WV_if0_scsi_host_0
usb_device_bc2_3000_____________6QG2G6WV_if0_scsi_host_0_scsi_device_lun0
storage_serial_Seagate_FreeAgentDesktop_6QG2G6WV_0_0
volume_uuid_BA0C26780C263035
volume_uuid_69BE8411533C7658
usb_device_bc2_3000_____________6QG2G6WV_if0_scsi_host_0_scsi_device_lun0_scsi_generic
usb_device_bc2_3000_____________6QG2G6WV_if0_scsi_host
usb_device_1d6b_2_0000_00_10_3_usbraw
usb_device_18a5_216_160500171f37
usb_device_18a5_216_160500171f37_usbraw
usb_device_18a5_216_160500171f37_if0
usb_device_18a5_216_160500171f37_if0_scsi_host
usb_device_18a5_216_160500171f37_if0_scsi_host_scsi_host
usb_device_18a5_216_160500171f37_if0_scsi_host_scsi_device_lun0
usb_device_18a5_216_160500171f37_if0_scsi_host_scsi_device_lun0_scsi_generic
storage_serial_SAMSUNG_HD154UI_160500171f37_0_0
volume_uuid_4BE86E4B2BECF74D <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<------------------YIPPEEEE - picking up some info at last
volume_uuid_2C3A82913A82582A


All times are GMT -5. The time now is 10:38 AM.