my usb 3.0 stick only boots from a usb2 hub

Kernels & Hardware, configuring network, installing services

Re: my usb 3.0 stick only boots from a usb2 hub

Postby swirly_cloud » 2015-12-08 23:12

I created the installation media just fine on a usb2 flash drive that is not an issue.
I can't boot debian which is installed into the usb3 flash drive from the installer. It drops into a initramfs prompt for some driver reason maybe is an initramfs problem since I did everythight right. He suggested me to install debian again but on a usb2 flash drive and yes I can boot from there.
Apparently Debian can't boot from usb3 flash drives at least by default is what the problem is.
Oh and I can boot from usb3 flash drive but only when using the usb2 hub so go figure :/


Please drop the generalisations. Debian can boot from some usb 3.x flash drives at the very least for the purpose of installing the system on another storage device.

You are just accepting that you have done everything correctly without even explaining how. You are killing your own topic. If you want people to help you out, it would help to include error messages, logs and whatever procedure you have used to install Debian on a flash drive.
User avatar
swirly_cloud
 
Posts: 69
Joined: 2015-07-08 04:56
Location: Where sun shines.

Re: my usb 3.0 stick only boots from a usb2 hub

Postby kiyop » 2015-12-09 12:42

Why not understanding correctly what I mean?
viewtopic.php?f=5&t=124489#p598490
kiyop wrote:Do you have another debian installed onto another media than the usb3 stick?
If you have, connect the media with a port different from the usb3 port. Try booting the debian. If the debian boots correctly, execute
(snip by kiyop)


viewtopic.php?f=5&t=124489#p601023
ELDebiano wrote:from a run of installed debian 8.2 on a usb2 stick

So, you have an USB2 stick with installed debian 8.2, don't you?

Furthermoe,
viewtopic.php?f=17&t=124117#p588629
ELDebiano wrote:I burned a live dvdrw with the hybrid live cd of debian 8.1 gnome and installed Debian onto the 32gb usb stick like this

So, you have a live DVDRW with hybrid live cd of debian 8.1 gnome, don't you?

Connect the USB2 stick onto the USB2 port on the problematic PC.
Boot the debian installed on the USB2 stick.
Execute
Code: Select all
lsmod > modules_before

Then, connect the USB3 stick with installed debian to the USB3 port of the problematic PC.
Try to mount the partition of the USB3 stick.
For example, execute
Code: Select all
blkid
lsblk

to check if the USB3 stick is recognized by the debian or not.
If it is not recognized, execute
Code: Select all
dmesg

to know if there is error message on the USB3 stick.
If it is recognized, try to mount by executing
Code: Select all
mount -t auto /dev/sdXY /mnt -o rw

Replace "X" and "Y" to the proper values.
Execute
Code: Select all
mount
df

to know if the partition in the USB3 stick is correctly mounted or not.
If it is mounted, execute
Code: Select all
lsmod > modules_after
diff modules_before modules_after

and post the results.
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/
User avatar
kiyop
 
Posts: 3984
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan

Re: my usb 3.0 stick only boots from a usb2 hub

Postby ELDebiano » 2015-12-10 05:58

swirly_cloud wrote:
I created the installation media just fine on a usb2 flash drive that is not an issue.
I can't boot debian which is installed into the usb3 flash drive from the installer. It drops into a initramfs prompt for some driver reason maybe is an initramfs problem since I did everythight right. He suggested me to install debian again but on a usb2 flash drive and yes I can boot from there.
Apparently Debian can't boot from usb3 flash drives at least by default is what the problem is.
Oh and I can boot from usb3 flash drive but only when using the usb2 hub so go figure :/


Please drop the generalisations. Debian can boot from some usb 3.x flash drives at the very least for the purpose of installing the system on another storage device.

You are just accepting that you have done everything correctly without even explaining how. You are killing your own topic. If you want people to help you out, it would help to include error messages, logs and whatever procedure you have used to install Debian on a flash drive.

I think I can boot Debian from a usb3 flash drive as an installer medium but I don't care about that, yes I didn't include error messages or things like that intensively because I posted another thread about this 2 months ago that has all those details.
ELDebiano
 
Posts: 69
Joined: 2015-08-12 05:47

Re: my usb 3.0 stick only boots from a usb2 hub

Postby ELDebiano » 2015-12-10 06:32

kiyop wrote:If it is not recognized, execute
Code: Select all
dmesg

to know if there is error message on the USB3 stick.

No is not recognized and I get the initramfs prompt that you already know. It shows:
xhci_hcd command completion event does not match command.
Gave up waiting for root device.
/dev/disk/root uuid does not exist
modprobe: module ehci-orion not found in modules.dep
/bin/sh: cant acces tty; job control turned off

And then initramfs prompt.
Remember im on 8.2 now
ELDebiano
 
Posts: 69
Joined: 2015-08-12 05:47

Re: my usb 3.0 stick only boots from a usb2 hub

Postby kiyop » 2015-12-13 01:18

ELDebiano wrote:xhci_hcd command completion event does not match command.

Gave up waiting for root device.
/dev/disk/root uuid does not exist
modprobe: module ehci-orion not found in modules.dep

One of my debian jessie uses kernel 3.16.0-4-amd64.
It has
/lib/modules/3.16.0-4-amd64/kernel/drivers/usb/host/ehci-hcd.ko
/lib/modules/3.16.0-4-amd64/kernel/drivers/usb/host/ehci-pci.ko
/lib/modules/3.16.0-4-amd64/kernel/drivers/usb/host/xhci-hcd.ko
but it doesn't have
echi-orion.ko

Connect the USB3 flash to the USB hub on USB2 port of the problematic PC.
Boot the debian on the USB3 flash.
Get root privilege.
Execute
Code: Select all
find /lib/modules -iname *hci*.ko

to confirm what kind of *hci*.ko modules exist.
If xhci-hcd.ko and ehci-hcd.ko and ehci-pci.ko exist, execute
Code: Select all
echo "xhci_hcd
ehci_hcd
ehci_pci" >> /etc/initramfs-tools/modules
update-initramfs -u -k all

Shutdown and connect the USB3 flash to the USB3 port of the problematic PC and try booting.
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/
User avatar
kiyop
 
Posts: 3984
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan

Re: my usb 3.0 stick only boots from a usb2 hub

Postby ELDebiano » 2015-12-14 03:32

kiyop wrote:Connect the USB3 flash to the USB hub on USB2 port of the problematic PC.
Boot the debian on the USB3 flash.
Get root privilege.
Execute
Code: Select all
find /lib/modules -iname *hci*.ko

to confirm what kind of *hci*.ko modules exist.
If xhci-hcd.ko and ehci-hcd.ko and ehci-pci.ko exist, execute
Code: Select all
echo "xhci_hcd
ehci_hcd
ehci_pci" >> /etc/initramfs-tools/modules
update-initramfs -u -k all

Shutdown and connect the USB3 flash to the USB3 port of the problematic PC and try booting.

I'm in the process of doing this.
I don't have a problematic pc as I originally thought, is not desktop vs laptop anymore both need the hub for debian to run from usb3 stick.
-I want to know if I have to run this command all in one line or in 3 lines as you posted, I ran it in 3 lines and nothing was added, I ran it also in 1 lines and the modules were added but they're all in 1 line. like this
Code: Select all
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod
xhci_hcd ehci_hcd ehci_pci

I want to know if this method of putting modules names in the modules file is correct.
ELDebiano
 
Posts: 69
Joined: 2015-08-12 05:47

Re: my usb 3.0 stick only boots from a usb2 hub

Postby kiyop » 2015-12-14 13:08

ELDebiano wrote:I don't have a problematic pc as I originally thought, is not desktop vs laptop anymore both need the hub for debian to run from usb3 stick.

I did not want to be sarcastic. I did not discriminate between "PC" and "laptop". I wanted to mean either "desktop PC" or "laptop (PC)". I am not good at English.
I wanted to mean just that you cannot boot the debian in the USB3 stick if it is directly connected to the PC or the laptop, which is problem.

ELDebiano wrote:I want to know if I have to run this command all in one line or in 3 lines as you posted, I ran it in 3 lines and nothing was added, I ran it also in 1 lines and the modules were added but they're all in 1 line. like this
Code: Select all
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod
xhci_hcd ehci_hcd ehci_pci

I want to know if this method of putting modules names in the modules file is correct.

I thought that each module name ("-" may be replaced with "_") should be in each line, judging from the last 4 lines in /etc/initramfs-tools/modules:
# Examples:
#
# raid1
# sd_mod

You need not wait my answers. If your way works correctly, then it is the answer: the correct way. Believe your skill, if it works correctly. You may know better than I. My suggestion may be wrong.
Find better way instead of waiting "spoonfedding" reply ;)
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/
User avatar
kiyop
 
Posts: 3984
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan

Re: my usb 3.0 stick only boots from a usb2 hub

Postby ELDebiano » 2015-12-14 20:15

Can I just use nano to add the modules names? I get they have to be each in each line, and yes I'll replace the _ with - for better accuracy.
Yes you know english haha.
UPDATE
I tried putting the modules with "-" did update-initram but it still didn't work. I used nano. Using echo puts them all in line line even if I specify each module name with "module-name".
So that didn't work, I will try putting more info from dmesg.
And I can't run
Code: Select all
lsmod > modules_after
diff modules_before modules_after
yet. Can I try mounting a partition on usb3 flash drive from initramfs prompt and that it?
Here is the output of "modules_before" first part of what you asked me, I think I haven't post it yet.
misdibujos.netne.net/linux/modules_before
Thanks for all your trying to help.
ELDebiano
 
Posts: 69
Joined: 2015-08-12 05:47

Re: my usb 3.0 stick only boots from a usb2 hub

Postby kiyop » 2015-12-14 23:59

ELDebiano wrote:Can I just use nano to add the modules names?

You can. But as you may know, "update-initramfs -u -k all" should be executed in order to include the modules described in /etc/initramfs-tools/modules into the initramfs file.
ELDebiano wrote:I get they have to be each in each line

?? You confirmed that modules names can be in one line in /etc/initramfs-tools/modules, didn't you?
I cannot understand what you wrote. :?
ELDebiano wrote:and yes I'll replace the _ with - for better accuracy.

:?
ELDebiano wrote:Yes you know english haha.

What do you mean? I am not good at communication in English. I am not a native English speaker. Thus, I may misunderstand what are written in English and I may write wrong English sentences.
ELDebiano wrote:UPDATE
I tried putting the modules with "-" did update-initram but it still didn't work. I used nano. Using echo puts them all in line line even if I specify each module name with "module-name".
So that didn't work, I will try putting more info from dmesg.
And I can't run
Code: Select all
lsmod > modules_after
diff modules_before modules_after
yet.

What do you mean by "that didn't work"? How do you confirm it although you cannot run "lsmod > modules_after"?
If you don't know what modules should be added to initrd.img (iniramfs) file, you cannot even check whether that work.
I cannot understand what you mean. :?
Write concretely what you did in detail. Otherwise, I will not reply to you.
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/
User avatar
kiyop
 
Posts: 3984
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan

Re: my usb 3.0 stick only boots from a usb2 hub

Postby ELDebiano » 2015-12-15 00:38

kiyop wrote:
ELDebiano wrote:I get they have to be each in each line

?? You confirmed that modules names can be in one line in /etc/initramfs-tools/modules, didn't you?
I cannot understand what you wrote. :?

I didn't know that you asked me that, I will check around.

kiyop wrote:
ELDebiano wrote:and yes I'll replace the _ with - for better accuracy.

kiyop wrote::?
I meant to say more exact, like modules are named for example: xhci-hcd.ko not with xchi_hcd.ko.

and no I can't run
Code: Select all
lsmod > modules_after
diff modules_before modules_after
on the usb3 flash drive since I can't boot from it directly. That's where I'm stuck at now.
ELDebiano
 
Posts: 69
Joined: 2015-08-12 05:47

Re: my usb 3.0 stick only boots from a usb2 hub

Postby kiyop » 2015-12-16 12:37

Maybe you misunderstand what I asked you to do.
ELDebiano wrote:no I can't run
Code: Select all
lsmod > modules_after
diff modules_before modules_after
on the usb3 flash drive since I can't boot from it directly. That's where I'm stuck at now.

You need not boot from the USB3 flash drive.
Read viewtopic.php?f=5&t=124489&p=601789#p601300 again.
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/
User avatar
kiyop
 
Posts: 3984
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan

Re: my usb 3.0 stick only boots from a usb2 hub

Postby ELDebiano » 2015-12-16 23:52

kiyop wrote:You need not boot from the USB3 flash drive.

I thought you meant boot debian from usb3 flash drive, I think you mean boot debian from usb2 stick and execute those commands about usb3 flash drive, which is the following:
Code: Select all
updated file for module_before http://misdibujos.netne.net/linux/modules_before

modules after or the difference is 0 bytes so I won't post it, I don't know why.
that's all I can tell you, apparently there is no modules added after I insert the usb3 stick onto the usb3 port, I don't know if that's right.
And I already tried adding the modules xhci-hcd ehci-hcd and ehci-pci with no positive result.
ELDebiano
 
Posts: 69
Joined: 2015-08-12 05:47

Re: my usb 3.0 stick only boots from a usb2 hub

Postby kiyop » 2015-12-17 12:30

ELDebiano wrote:I thought you meant boot debian from usb3 flash drive

As you know, I did not mean such a thing.
ELDebiano wrote:I think you mean boot debian from usb2 stick and execute those commands about usb3 flash drive

Yes, I mean it.
ELDebiano wrote:
Code: Select all
updated file for module_before http://misdibujos.netne.net/linux/modules_before

modules after or the difference is 0 bytes so I won't post it, I don't know why.
that's all I can tell you, apparently there is no modules added after I insert the usb3 stick onto the usb3 port, I don't know if that's right.

I read http://misdibujos.netne.net/linux/modules_before .
Did you confirm that some partition/s of the usb3 flash had been mounted before you executed "lsmod > modules_after"?

ELDebiano wrote:And I already tried adding the modules xhci-hcd ehci-hcd and ehci-pci with no positive result.

Connect the USB hub to the USB3 port of the PC or the laptop and connect the USB3 flash to the USB hub. Boot debian installed in the USB3 flash and execute
Code: Select all
lsmod
cat /etc/initramfs-tools/modules

and post the results.
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/
User avatar
kiyop
 
Posts: 3984
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan

Re: my usb 3.0 stick only boots from a usb2 hub

Postby ELDebiano » 2015-12-17 13:48

kiyop wrote:I read http://misdibujos.netne.net/linux/modules_before .
Did you confirm that some partition/s of the usb3 flash had been mounted before you executed
Code: Select all
"lsmod > modules_after"?

Yes, it was not connected to the back of the pc where the usb3 port is.
ELDebiano
 
Posts: 69
Joined: 2015-08-12 05:47

Re: my usb 3.0 stick only boots from a usb2 hub

Postby kiyop » 2015-12-17 14:01

ELDebiano wrote:
kiyop wrote:I read http://misdibujos.netne.net/linux/modules_before .
Did you confirm that some partition/s of the usb3 flash had been mounted before you executed
Code: Select all
"lsmod > modules_after"?

Yes, it was not connected to the back of the pc where the usb3 port is.

?????
Not connected to the USB3 port?
viewtopic.php?f=5&t=124489#p598490
kiyop wrote:Do you have another debian installed onto another media than the usb3 stick?
If you have, connect the media with a port different from the usb3 port. Try booting the debian. If the debian boots correctly, execute
Code: Select all
lsmod > modules_before

Then connect the usb3 stick on the usb3 port and try mounting a partition in the usb3 stick.
If you can mount it, execute
Code: Select all
lsmod > modules_after
diff modules_before modules_after

and post the results.

Maybe you misunderstand what I asked.
I am confused :?
And tired :(
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/
User avatar
kiyop
 
Posts: 3984
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan

PreviousNext

Return to System configuration

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable