Boot problem on nec bootable usb 3 port

Hello,

I did an installation suse 11.4 on a key usb3, connected to a controller nec usb 3 natively bootable on the motherboard of my machine.

The installation went fine but on reboot, I have the following message:

“Waiting for device / dev/disk/by-id/usb-innostor_xxx-0 :0-part2? (Y / N)”

when I said yes and he seeks answers:

“not found - exiting to / bin / sh”

“sh: can not set terminal process group (-1): Inappropriate ioctl for device”

“sh: no job control in this shell”

If I plug this install on a USB 2 port intel it works but is too slow!

Thank you for your help.

                 Hello,

I did an installation suse 11.4 on a key usb3, connected to a controller nec usb 3 natively bootable on the motherboard of my machine.

The installation went fine but on reboot, I have the following message:

“Waiting for device / dev/disk/by-id/usb-innostor_xxx-0 :0-part2? (Y / N)”

when I said yes and he seeks answers:

“not found - exiting to / bin / sh”

“sh: can not set terminal process group (-1): Inappropriate ioctl for device”

“sh: no job control in this shell”

If I plug this install on a USB 2 port intel it works but is too slow!

Thank you for your help.
So far I have not run into an Intel or AMD chipset that natively supports USB 3.0 and thus USB 3.0 drives can not be selected as a boot drive in BIOS setup. In the event you could select a USB 3.0 external hard drive to boot from and Grub does boot, but then the USB 3.0 drive fails to be found by the kernel, then I think you need to rebuild the kernel initrd image and add the USB 3.0 module. I thought it was called xhcd, but I can’t remember the name this morning. Also, errors can occur with the grub boot loader in the /boot/grub/device.map file not properly reflect the external drive, perhaps sdb, as being hd0 in the device.map file and in the menu.lst file. So, more than one problem might exist.

Thank You,

I have a sony vaio new machine that can boot natively on an embedded controller USB3 NEC.

I am newbie linux I’m not able to recompile the kernel, the other driver usb 3 is supposed to be already present in 11.4.

Thank you for your help

I just tried to install suse 11.4 with a “swap” and a directory “/” only, this does not work either.

Error messages are the same as previously.

The error occurs shortly after grub has launched the system.

So, I have looked up just what the USB 3 module is called and it is called xhci-hcd, but I can’t say that this module is not automatically loaded. Way back when, at around version 10.0 of openSUSE, no USB drivers were loaded automatically and all had to be added to Initrd module if you intended on booting from a USB hard drive, but that is no longer true with the present openSUSE version, but again, I am not sure about USB 3.0 support. The basic issues were/are:

  1. Can you really boot from a USB 3.0 device by BIOS setup?
  2. Does the openSUSE Initrd Image really contain the xhci-hcd module, able to use/boot from UISB 3.0 drives?
  3. Is it possible your Grub Menu.lst file is just not setup properly to boot from an external hard drive?
  4. Is it possible you just don’t have the correct partition setup to work with openSUSE?

To over come an Intrd image file that might be missing the xhci-hcd module, you must download a LiveCD boot disk you can boot from to fix your openSUSE installation AFTER it has been installed. So, to make sure you understand how to install openSUSE onto an External Hard drive, here is basic partition setup information you need to know:

Each hard drive can have up to four PRIMARY partitions, any of which could be marked active and bootable. No matter what you might hear, only one of the first four primary partitions can be booted from. That means you can boot from Primary partitions 1, 2, 3 or 4 and that is all. In order to boot openSUSE, you must load openSUSE and the grub boot loader into one of the first four partitions. Or, your second choice is to load the grub boot loader into the MBR (Master Boot Record) at the start of the disk. The MBR can be blank, like a new disk, it can contain a Windows partition booting code or generic booting code to boot the active partition 1, 2, 3, or 4. Or, as stated before, it can contain the grub boot loader. Why load grub into the MBR then? You do this so that you can “boot” openSUSE from a logical partition, numbered 5 or higher, which is not normally possible. In order to have more than four partitions, one of them (and only one can be assigned as extended) must be a extended partition. It is called an Extended Primary Partition, a container partition, it can be any one of the first four and it can contain one or more logical partitions within. Anytime you see partition numbers 5, 6 or higher for instance, they can only occur inside of the one and only Extended Primary partition you could have.

What does openSUSE want as far as partitions? It needs at minimum a SWAP partition and a “/” partition where all of your software is loaded. Further, it is recommended you create a separate /home partition, which makes it easier to upgrade or reload openSUSE without losing all of your settings. So, that is three more partitions you must add to what you have now. What must you do to load and boot openSUSE from an external hard drive? Number one, you must be able to select your external hard drive as the boot drive in your BIOS setup. Number two, you need to make sure that the external hard drive, perhaps /dev/sdb, is listed as the first hard drive in your grub device.map file and listed as drive hd0. I always suggest that you do not load grub into the MBR, but rather into the openSUSE “/” root primary partition which means a primary number of 1, 2, 3 or 4. If number one is used, then that will be out. You will mark the openSUSE partition as active for booting and finally you must load generic booting code into the MBR so that it will boot the openSUSE partition. I suggest a partition like this:

  1. /dev/sdb, Load MBR with generic booting code
  2. /dev/sdb1, Primary NTFS Partition for Windows
  3. /dev/sdb2, Primary SWAP (4 GB)
  4. /dev/sdb3, Primary EXT4 “/” openSUSE Partition Marked Active for booting (80-120 GB)
  5. /dev/sdb4, Primary EXT4 “/home” Your main home directory (Rest of the disk)

Now, if you feel you have install oipenSUSE properly to work with an External Hard drive, here is what you might do to add the xhci-hcd module to openSUSE, should it be missing:

  1. Boot from a LiveCD AFTER you have installed openSUSE properly, but where it does not boot into openSUSE properly.
  2. Open Up a terminal session and execute the following commands:

mkdir /mnt/sysimage
mount /dev/sdXY /mnt/sysimage
chroot /mnt/sysimage

NOTE: X=disk name as in a, b, c or d AND Y=1, 2, 3 or 4 as to partition number. Ex:sdb1 where you have installed the main or root openSUSE partition called /

  1. Use VI or other text editor (Look up the VI editor command first) and edit the file /etc/sysconfig/kernel
  2. In the text file called kernel look for the line that starts with INITRD_MODULES=" and add the name xhci-hcd to the line and save the file. For instances, here is what my line says with this option added:

INITRD_MODULES=“xhci-hcd pata_jmicron ata_generic thermal processor fan”

Your line will likely be different than mine.

  1. Issue the following terminal commands after you have edited the above text file called kernel located in the folder /etc/sysconfig/

mount -tproc none /proc
mkinitrd

This should create a new image in the /boot folder that might be named: initrd-2.6.37.1-1.2-desktop and is being loaded in your /boot/grub/menu.lst file.

Thank You,

Thank you for your advice! It works! It was enough to effect change in the file / etc / sysconfig / kernel and then do a mkinitrd:) I am happy thank you again.

To answer the questions:

1 yes I boot on usb 3, natively, on a Sony Vaio with nec usb3 chip integrated on the motherboard (VPCSB series)
2 the 11.4 runs natively usb3

I use a USB key 3 Sharkoon Flexi-Drive Extreme USB 3.0 Duo - 16 GB to 130 Mb w / r it’s wonderful !

Thank you for your advice! It works! It was enough to effect change in the file / etc / sysconfig / kernel and then do a mkinitrd:) I am happy thank you again.

To answer the questions:

1 yes I boot on usb 3, natively, on a Sony Vaio with nec usb3 chip integrated on the motherboard (VPCSB series)
2 the 11.4 runs natively usb3

I use a USB key 3 Sharkoon Flexi-Drive Extreme USB 3.0 Duo - 16 GB to 130 Mb w / r it’s wonderful !
Yeah! I am happy to hear that this information helped. It does answer several questions about using USB3 to boot openSUSE. So, what more can you tell me about your computer? Can you tell me the model number so I can look up the chipset, cpu and BIOS information on this computer?

Second, when and if more PC’s come up with boot support for USB 3 external hard drives, more people will have the same issue as you did and required the manual modification of the initrd image to get it to work. That means that you actually helped me out with some very important information to know about USB 3 support in openSUSE, so thank you very much!

Thank You,

Hello,

My machine is a Sony Vaio “VPCSB1Z9E / B” bios “R1030H4”, Intel Core 2.3 GHz i5, chipset Standy Bridge, HM65, NEC USB3.

Two other recent models of Vaio machines out on the market and equipped with USB3 NEC, I tested also the ability to boot on usb3.

It is I who thank you very much, without you, progress would not exist in the same way …

I would love to buy you a beer to thank you, unfortunately it does not yet exist for download:)

Thank you again and good continuations.

Hello

I have a new question to ask. I added a usb 3 hub "Icy Box"on my computer. If I boot on my usb 3 key (Linux) connected to this hub, I am limited to transfer rates of 30 Mb, I’m at full speed without this hub on linux, and at full speed in this hub on windows ?! Have you an idea of the reason for this limitation?

Hello

I have a new question to ask. I added a usb 3 hub "Icy Box"on my computer. If I boot on my usb 3 key (Linux) connected to this hub, I am limited to transfer rates of 30 Mb, I’m at full speed without this hub on linux, and at full speed in this hub on windows ?! Have you an idea of the reason for this limitation?
So I have not even used a real USB 3.0 rated hub, however, even with USB 2.0 hubs, you were always better off connecting any external hard drive to a port directly provided by your computer. I assume that the band width of the single port may some how be divided up amongst the four ports added by the hub. Normally you get two USB 3.0 rated ports on the PC. If you really have more than two USB 3.0 devices, make sure the USB 3.0 hard drive is connected directly to the PC and the hub to the other. If you are trying to use the hub as an extension cable, I would try to find a longer cable. Here is some info I found on that.

**USB Cable Lengths
**
http://i.techrepublic.com.com/gallery/376421-398-118.jpg

*The USB 3.0 spec does not detail a maximum cable length, but 3.0 meters or 9.8 feet has been recommended.

Thank You,

Hello,

Thank you for your reply.

I have some more information:

  • My laptop has only one USB port 3. So I bought a 4 port hub USB3 “icy box” to add additional devices in USB3.

  • If I boot on the key usb3 Linux directly on usb3 port of the laptop, everything is ok (flow at 160 mb / sec usb3). If I add usb3 hub, a port usb2 free, it is recognized, I can use USB2.

  • If I plug the hub usb3, usb3 port on my machine, and that I connect my key usb3 Linux it boots up, but it’s sometimes difficult to see the root partition “/”. I am limited to usb2 speeds (38 mb / sec instead of 160 MB / sec if I connected directly to the laptop via the usb3 port hub USB3). If I add other devices usb3 they will not work more than 38 mb / sec either.

  • If I boot with a “live-cd key usb2” USB2 port on this machine, once Linux starts, I connect the hub port usb3 usb3 on my machine, it is recognized as is usb2.

  • On Windows no problems all the hardware is well recognized and works perfectly.

  • The cable USB3 I use is not a problem.

Linux 11.4 does not recognize this hub as usb3 but as usb2. The driver used is bad. How to force Linux to use the driver usb3 integrated in this distribution instead of usb3 this is my question.

The problem seems similar to what we experienced previously with my key usb3 containing my Linux install.

Thank you for your help.

  • When I connect the hub I have this message:

May 9 22:52:51 linux-ajb5 kernel: 3837.224193] hub 3-0:1.0: Cannot enable port 3. Maybe the USB cable is bad?
May 9 22:52:51 linux-ajb5 kernel: 3837.224231] hub 3-0:1.0: unable to enumerate USB device on port 3
May 9 22:52:51 linux-ajb5 kernel: 3837.611809] xhci_hcd 0000:04:00.0: WARN: short transfer on control ep
May 9 22:52:51 linux-ajb5 kernel: 3837.626979] xhci_hcd 0000:04:00.0: WARN: short transfer on control ep
May 9 22:52:51 linux-ajb5 kernel: 3837.642044] xhci_hcd 0000:04:00.0: WARN: short transfer on control ep
May 9 22:52:51 linux-ajb5 kernel: 3837.642413] usb 3-1: ep 0x81 - rounding interval to 32768 microframes
May 9 22:52:51 linux-ajb5 kernel: 3837.642420] xhci_hcd 0000:04:00.0: WARN no SS endpoint bMaxBurst
May 9 22:52:51 linux-ajb5 kernel: 3837.701383] xhci_hcd 0000:04:00.0: WARN: Stalled endpoint
May 9 22:52:51 linux-ajb5 kernel: 3837.706826] xhci_hcd 0000:04:00.0: WARN: Stalled endpoint
May 9 22:52:51 linux-ajb5 kernel: 3837.712446] xhci_hcd 0000:04:00.0: WARN: Stalled endpoint
May 9 22:52:51 linux-ajb5 kernel: 3837.712514] hub 3-1:1.0: config failed, can’t read hub descriptor (err -22)

  • I found the hub Id

Bus 003 Device 007: ID 2109:3431

  • I found in / proc / bus / pci / devices description xhci_hcd

  • Usb2 driver that loads instead of usb3.Is it possible to change the driver as we did for the key usb3 ?

Tanks for help

So the problem as I understand it is a kernel issue in recognition of the USB 3.0 hub and the allaged fix is to upgrade to kernel 2.6.39 which is just to rc6 and not in final release. You can wait till that happens or install rc6 to night with a little extra information.

1. Get the Kernel Source File Here: http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.39-rc6.tar.bz2

2. You need to perform the following Tasks:

Normally you should consider doing the following:

Open YaST / Software / Software Management - Select the View Button on the top left and pick Patterns. Now, you will see several Patterns listed and you want to select:

    Development 

[X] Base Development
[X] Linux Kernel Development
[X] C/C++ Development

Then Press the Accept button on the bottom right and allow these applications to install.

3. Download my Bash Script file here, see message #17:

S.A.K.C. - SUSE Automated Kernel Compiler - Version 2.00

I also have a companion script I call klist, also in the same message at #22, so find and download it.

**4. **If you normally install a proprietary video driver, it must be reloaded when you update the kernel. I have a script file for use with the nVIDIA video driver to load it the hard way you can find here:

LNVHW - Load NVIDIA (driver the) Hard Way from runlevel 3

The SAKC bash script will maintain your original kernel load, but add a new one for the 2.6.39 kernel. If this works for you, consider updating to the final 2.6.39 kernel when it comes out.

Thank You,

Hello

Thank you for your reply, I saw that the kernel had spent in RC7. I think I’ll wait until it is stabilized to install it.

Thank you for the procedure, my laptop has an ATI card, I think I can simply adapt the procedure.

Good evening

Hello

Thank you for your reply, I saw that the kernel had spent in RC7. I think I’ll wait until it is stabilized to install it.

Thank you for the procedure, my laptop has an ATI card, I think I can simply adapt the procedure.

Good evening
You are welcome. Please come back and ask for any more help that you require and good luck.

Thank You,

Hello, I saw the final version 2.6.39 was released! I tried to install it on my usb key 3 of 16 Gb, unfortunately I do not have enough disk space to complete this update.

I managed to find on the market a key from the same brand from 32 GB:) they are very hard to find … I installed suse 11.4 on it. The ID of the key is poorly known it seems. I have left in / etc / sysconfig / kernel only “xhci_hcd” mention (not ID), it works. The differance is that without the ID was a speed of 130 Mb (speed constructor) read with ID is reached at 180 Mb.

I will first try to make this update on my station to tell you if it works better or not … Suse they provide updates to the kernel via their automatic update tool?

Good weekend.

Right now, if you use openSUSE 11.4, you can add the following repository (YaST / Software / Software Repository and add the url):

http://download.opensuse.org/repositories/Kernel:/HEAD/openSUSE_11.4/

and use YaST to upgrade to 2.6.39.

I normally suggest you enable the ability to maintain more than one kernel version as to have more than one version to load in the event 2.6.39 does not load for some reason.

In order to maintain just multiple copies of kernel-desktop then edit the file /etc/zypp/zypp.conf as root to say:

    ##
    ## Packages which can be installed in different versions at the same time.
    ##
    ## Packages are selected either by name, or by provides. In the later case
    ## the string must start with "provides:" immediately followed by the capability.
    ##
    ## Example:
    ##    kernel                - just packages whith name 'kernel'
    ##    provides:multiversion(kernel)   - all packages providing 'multiversion(kernel)'
    ##                      (kenel and kmp packages should do this)
    ## Valid values:
    ##    Comma separated list of packages.
    ##
    ## Default value:
    ##    empty
    ##
    # multiversion = provides:multiversion(kernel)

    multiversion = kernel-desktop

OR, If you want to keep multiple versions of all kernels, then use the line below instead of the one shown above:

multiversion = provides:multiversion(kernel)

Just as the comment text above shows. This config file contains many many other lines which you will leave unmodified. Then, after you restart openSUSE and go into YaST / Software / Software Management, search on kernel and then go to the kernel-deskop versions tab (or any kernel version, depending on the option selected) and you will now have a check block and not just a bullet thus allowing to select and load more than one kernel version. This method of maintaining multiple kernel versions is highly recommended when switching between different kernels. If does increase disk space that is used if you are tight on disk space.

Thank You,

Good evening, thank you again for your advice. I installed the new kernel and everything works perfectly The card readers SD and Memory Stick are also supported in this update, it must be disseminated widely, it is a success it seems.

IF I can make a comment about the support of ihr9 intel, when put in RAID that we have two similar disks that you do not want the couple to install raid, but leaving them as simple volumes, it is unfortunately not possible. We have manually disconnect one disk and reconnect after the install.

I wrote an error in speaking of differance speed keys USB 3, with or without ID, I thought I had found, in fact the two keys are not quite the same rate. Sorry for this false trail.

Thank you very much for everything and good evening.

Philippe

Good evening, thank you again for your advice. I installed the new kernel and everything works perfectly The card readers SD and Memory Stick are also supported in this update, it must be disseminated widely, it is a success it seems.

IF I can make a comment about the support of ihr9 intel, when put in RAID that we have two similar disks that you do not want the couple to install raid, but leaving them as simple volumes, it is unfortunately not possible. We have manually disconnect one disk and reconnect after the install.

I wrote an error in speaking of differance speed keys USB 3, with or without ID, I thought I had found, in fact the two keys are not quite the same rate. Sorry for this false trail.

Thank you very much for everything and good evening.

Philippe
You are very welcome for the help. Believe it or not, working others such as yourself can prove very useful to us all with the information it can provide on software and hardware support. I have also moved up to the latest kernel 2.6.39 and find it works very well and fast with my hardware. As always, there are some issues and in fact one can never reach total perfection, but we all try and try again. Please, if you need any other assistance, just let us know.

Thank You,