Cannot boot joyride-2200 from USB stick

Ton van Overbeek tvoverbeek at gmail.com
Thu Jul 24 14:06:40 EDT 2008


Deepak Saxena wrote:
> On Jul 24 2008, at 08:07, Deepak Saxena was caught saying:
>   
>> On Jul 24 2008, at 09:37, Ton van Overbeek was caught saying:
>>     
>>> I did *not* copy it to /versions/boot/current/boot, since it never 
>>> completed the
>>> boot from the USB stick.
>>>
>>> I copied your modified ramdisk to /boot on the USB disk, renamed it to
>>> olpcrd-2.6.25-deepak-fix.img and changed the olpcrd.img sym link to
>>> point to it.
>>>
>>> The USB boot still does not succed, but we are a bit further.
>>> Now it is complaining about a missing libusual.ko:
>>> WARNING: Could not open 
>>> '/lib/modules/2.6.25-20080722.2.olpc.d86980aeb8d0adb/kernel/drivers/usb/storage/libusual.ko': 
>>> No such file or directory
>>> I get fewer warnings about missing symbols in usb-storage (now only four):
>>> storage_usb_ids, usb_usual_clear_presetn, usb_usual_check_type and 
>>> usb_usual_set_present.
>>> But the end result is still the same: cannot mount /dev/sda1 on /sysroot.
>>>
>>> Could you make (yet) an other fixed ram disk which I can try?
>>>       
>> Yep.
>>     
>
> OK, I've uploaded a new olpcrd with libusual to the same URL.
>
>   
>>> Other question, should this be entered in trac, and is it blocking for 
>>> 8.2.0 ?
>>>       
>> I've opened #7620 to track this. Definetely a blocker.
>>     
>
> Scott has added the missing modules and we should see it fixed in the next joyride.
>
> ~Deepak
>   

Tried your updated ramdisk, still no boot.
No more missing modules, but the mount still fails in the same way.
USB Mass Storage support is now properly loaded. Here is an excerpt from 
the boot screen:
---------------------------------------------
[    5.540762] usbcore: registered new ineterface driver usbfs
[    5.553912] usbcore: registered new interface driver hub
[    5.564065] usbcore: registered new device driver usb
[    5.585768] usbcore: registered new interface driver libusual
[    5.601305] Initializing USB Mass Storage driver...
[    5.613938] usbcore: registered new interface driver usb-storage
[    5.619927] USB Mass Storage support registered.
[    5.630239] modprobe used greatest stack depth: 2888 bytes left
mount: mounting /dev/sda1 on /sysroot failed: No such device or address
[   10.904898] mount used greatest stack depth: 2772 bytes left
Traceback (most recent call last:)
   .... <python traceback, same as in my first mail> ....
[   11.239467] init used greatest stack depth: 2708 bytes left
   <machine hangs, since init finished>
-----------------------------------------------
Note that it takes about 5 seconds for mount to fail.
Something wrong with /dev or /sysroot in the ram disk ????

I'll try the next joyride (2205 ?) too.

My firmware is now Q2E11 (got updated during one of these tests when my 
xo-1 was on net power)

Ton van Overbeek






More information about the Devel mailing list