You are not logged in.

#1 2016-08-22 20:55:21

x79
Member
Registered: 2016-07-14
Posts: 14

External USB drive not detected on boot

I have a USB 3.0 drive that is detected and shown (usually) as /dev/sdg when I plug it in. The only 3.0 ports are located on an addon PCI-Express card. When I reboot, the device is missing until I unplug/insert the usb cable again.


I booted the machine with the drive connected and did dmesg, lspci, lsusb, and ls -l /dev/sd*. Then I unplugged/replugged the drive and did the same commands.

Before
dmesg
lspci
lsusb
ls -l /dev/sd*

After
dmesg
lspci
lsusb
ls -l /dev/sd*

Last edited by x79 (2016-08-24 03:01:32)

Offline

#2 2016-08-23 09:49:40

Starfish
Member
From: Germany
Registered: 2015-10-21
Posts: 134

Re: External USB drive not detected on boot

dmesg

in general. I this case I would try

dmesg | grep -i usb

"Yesterday is history, tomorrow is a mystery, but today is a gift. That is why it is called the present." - Master Oogway

Offline

#3 2016-08-24 03:01:54

x79
Member
Registered: 2016-07-14
Posts: 14

Re: External USB drive not detected on boot

Updated with logs but I don't see anything that would help :-/

Offline

#4 2016-08-24 03:06:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: External USB drive not detected on boot

I would compare the modules that are loaded before and after a plug/unplug cycle.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2016-08-24 03:19:05

x79
Member
Registered: 2016-07-14
Posts: 14

Re: External USB drive not detected on boot

jasonwryan wrote:

I would compare the modules that are loaded before and after a plug/unplug cycle.

loaded modules are identical :-/
lsmod

Only changes are some numbers in the 'Used by' column for 3 sound modules.

Offline

#6 2016-08-24 08:39:46

Starfish
Member
From: Germany
Registered: 2015-10-21
Posts: 134

Re: External USB drive not detected on boot

x79 wrote:

Only changes are some numbers in the 'Used by' column for 3 sound modules.

That does make a difference.

Let's do Jason's approach more systematically:
Before the plugin, type

lsmod > before.asc

after the plugin, type

lsmod > after.asc

and finally

diff before.asc after.asc

"Yesterday is history, tomorrow is a mystery, but today is a gift. That is why it is called the present." - Master Oogway

Offline

#7 2016-08-24 11:39:04

x79
Member
Registered: 2016-07-14
Posts: 14

Re: External USB drive not detected on boot

Starfish wrote:
x79 wrote:

Only changes are some numbers in the 'Used by' column for 3 sound modules.

That does make a difference.

Let's do Jason's approach more systematically:
Before the plugin, type

lsmod > before.asc

after the plugin, type

lsmod > after.asc

and finally

diff before.asc after.asc

diff lsmod.txt lsmod2.txt
I had compared them using Winmerge. I only dismissed it because I didn't think the sound modules were relevant to this issue.

Last edited by x79 (2016-08-24 11:40:49)

Offline

Board footer

Powered by FluxBB