Chattanooga
Unix
Gnu
Android
Linux
Users
Group

 

Hot Topics:

Sponsoring:

force usb enumeration?

From: Matt Keys 
------------------------------------------------------
I have a problem enumerating a usb drive at boot. At the moment, I can only
get ubuntu "see" it by unplugging and replugging the drive after the system
is fully up. : 

 

http://pastebin.com/azZ3p4Cb

 

Another oddity, the disk has a strange uuid. I don't know if that's because
it's NTFS or what. I've seen other examples out there on the net with
similar uuids on ntfs. I've tried telling fstab to use both /dev/sdc1 and
the strange uuid, both fail as it doesn't see the device at all until it's
manually replugged. After replugging it will show up on blkid :

 

/dev/sdc1: LABEL="Seagate Backup Plus Drive" UUID="D6D4E78DD4E76E65"
TYPE="ntfs"

 

Also in /dev/disk/by-id or by-uuid :

 

mkeys@server:~$ ll /dev/disk/by-id/ |grep sdc1

lrwxrwxrwx 1 root root  10 Oct  1 19:54
ata-ST1000DL002-9TT153

=============================================================== From: Dave Brockman ------------------------------------------------------ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Is it possible the drive is going to sleep? Does the drive power via USB? If not, does power off/on accomplish the same thing? Regards, dtb - -- "Some things in life can never be fully appreciated nor understood unless experienced firsthand. Some things in networking can never be fully understood by someone who neither builds commercial networking equipment nor runs an operational network." RFC 1925 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBqNWEACgkQABP1RO+tr2TFygCfaOSlJ3wWj2p9n+1FewmZOeUN 6I0AoKJArLI+U8Cm4triQayHPOo4o8An =Af8W -----END PGP SIGNATURE-----

=============================================================== From: Matt Keys ------------------------------------------------------ I'm not sure wtf is going on with it. I just repartitioned it and reformatted as ext3 thinking it may just be ntfs screwing with it. That cleared up the weird uuid, so I put that in fstab and tried again. Ubuntu still prompts me at boot to "Press S to skip" for the missing disk at boot. The system goes to sleep after there's no activity. As soon as I replug it, it was mounted on /usbhd : [ 85.398048] usb 4-1: device descriptor read/8, error -110 [ 85.500145] hub 4-0:1.0: unable to enumerate USB device on port 1 [ 121.084055] usb 1-5: new high-speed USB device number 8 using ehci