USB Stick with UASP support; uas.ko missing

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
Post Reply
ping69
Ronin
Ronin
Posts: 3
Joined: 12 Sep 2015, 19:05
Distribution: LRP Porteus SuSE Ubuntu
Location: Germany - NRW

USB Stick with UASP support; uas.ko missing

Post#1 by ping69 » 12 Sep 2015, 19:42

Short:
Porteus 3.1 does not boot from USB devices with UASP support since the needed driver "uas.ko" is missing at boot time. It is contained in "000-kernel.xzm", that is 'too late for booting'.

How can this be fixed? I want to use the performance of USB UASP ;)
For details on UAS / UASP: https://en.wikipedia.org/wiki/USB_Attached_SCSI

Long:
Downloaded a freshly build Porteus 3.1 - 32bit ISO with LXQt.
Copied to a FAT32 partition on a Sandisk SSD in an external USB 3.0 enclosure with USB UASP support.
USB SSD is detected by BIOS as USB HDD.

a) Booting from USB device with UASP support
When trying to boot from this USB SDD / FAT32 partition it hangs with 'no porteus data found'.
Entering debug shell:
"blkid" lists all other SATA and USB devices, but not the enclosure.
"dmesg" only contains logs from other USB devices.

b) Booting from other USB 2.0 device with (old) bulk protocol
Boot the same files from an older USB Key / FAT32 partition and enter debug shell:
"blkid" lists all other SATA and USB devices, but not the enclosure.
"dmesg" only lists logs from other USB devices.
Exiting debug shell and continue booting.
As soon as the system loads the .xzm-modules with "/lib/modules/../uas.ko" the uas.ko-kernel module is loaded, the USB devices is registered and the USB SSD in the enclosure can be accessed.

Examing in the "000-kernel.xzm": uas.ko ist supplied as a kernel-module in this package-file. But in order to boot from an USB device with UASP, this module has either to be compiled into the kernel or supplied via initrd.

Perhaps the error report has the same reason: It also happened with a new USB 3.0 stick:
https://forum.porteus.org/viewtopic.php?f=81&t=4574

Since USB SSDs are more advertised this time, this problem will be encountered by other people, too.

Thanks in advance,
ping69
Last edited by brokenman on 13 Sep 2015, 14:03, edited 2 times in total.
Reason: made faa

User avatar
brokenman
Site Admin
Site Admin
Posts: 5503
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: [FAA] USB Stick with UASP support; uas.ko missing

Post#2 by brokenman » 12 Sep 2015, 21:44

Thanks for the report. Marked as FAA so fanthom can review it for the kernel.
How do i become super user?
Wear your underpants on the outside and put on a cape.

neko
DEV Team
DEV Team
Posts: 928
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: [FAA] USB Stick with UASP support; uas.ko missing

Post#3 by neko » 12 Sep 2015, 22:51

@ping69
About 'HDD via USB3 and SATA' case,
It was reported by the following article.
viewtopic.php?f=117&t=4696#p33995

There was one more issue in this case.
It was not stabile.
A retry routine in initrd was needed for stabile.

Thanks.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4587
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: [FAA] USB Stick with UASP support; uas.ko missing

Post#4 by fanthom » 13 Sep 2015, 07:19

I have it on my list already - thanks.
Please add [Solved] to your thread title if the solution was found.

Post Reply