[poky] No joy on "standard" PC

Bruce Ashfield bruce.ashfield at gmail.com
Fri Jan 28 06:43:37 PST 2011


On Fri, Jan 28, 2011 at 9:31 AM, Gary Thomas <gary at mlbassoc.com> wrote:
> On 01/28/2011 07:28 AM, Gary Thomas wrote:
>>
>> On 01/27/2011 03:23 PM, Gary Thomas wrote:
>>>
>>> On 01/27/2011 05:47 AM, Gary Thomas wrote:
>>>>
>>>> On 01/26/2011 08:30 PM, Darren Hart wrote:
>>>>>
>>>>> On 01/26/2011 04:13 PM, Gary Thomas wrote:
>>>>>>
>>>>>> On 01/26/2011 05:02 PM, Darren Hart wrote:
>>>>>>>
>>>>>>> On 01/26/2011 02:07 PM, Gary Thomas wrote:
>>>>>>>>
>>>>>>>> On 01/26/2011 02:26 PM, Darren Hart wrote:
>>>>>>>>>
>>>>>>>>> On 01/26/2011 05:43 AM, Gary Thomas wrote:
>>>>>>>>>>
>>>>>>>>>> I finally got Poky to build for a standard PC (actually atom-pc
>>>>>>>>>> so I could build a live/bootable image). Sadly, that's all I
>>>>>>>>>> have is an image as I can't get it to run anywhere :-(
>>>>>>>>>>
>>>>>>>>>> * On my laptop (the point of this exercise) which is an older
>>>>>>>>>> Pentium-III machine, the kernel crashes almost immediately.
>>>>>>>>>
>>>>>>>>> Can you capture the output and provide some details on the
>>>>>>>>> hardware?
>>>>>>>>
>>>>>>>> Hard to do - I took pictures of the screen with my camera, the
>>>>>>>> results
>>>>>>>> may help, but won't win me a Pulitzer :-)
>>>>>>>>
>>>>>>>> On the AMD/2800+
>>>>>>>> http://www.mlbassoc.com/poky/BootFailures/P1000630.JPG
>>>>>>>> On the old Pentium-III laptop
>>>>>>>> http://www.mlbassoc.com/poky/BootFailures/P1000631.JPG
>>>>>>>
>>>>>>> Failing to mount the root partition either due to missing drivers for
>>>>>>> the block device or the filesystem. You said this was MACHINE=atom-pc
>>>>>>> and poky-image-sato-live? And you're
>>>>>>> booting using the .iso image burned to a CD?
>>>>>>
>>>>>> Correct.
>>>>>>
>>>>>>>
>>>>>>>> http://www.mlbassoc.com/poky/BootFailures/P1000632.JPG
>>>>>>>
>>>>>>> Too late, missed the good bits. I suspect the two above are adequate.
>>>>>>>
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> * On my brand new laptop (Core-i3), I couldn't get it to even
>>>>>>>>>> try...
>>>>>>>>>
>>>>>>>>> What happened? Some bios are very particular about usb layout, see
>>>>>>>>> README.hardware under atom-pc. Some (including my netbook) require
>>>>>>>>> that it be in USB-ZIP format, so you can't just dd the image to
>>>>>>>>> the stick in some cases (unfortunately).
>>>>>>>>
>>>>>>>> My boot medium is a CD-RW with the ISO image.
>>>>>>>> Not sure why it didn't want to boot before, but when I just retried
>>>>>>>> it, it hung in yet a different way.
>>>>>>>> http://www.mlbassoc.com/poky/BootFailures/P1000629.JPG
>>>>>>>
>>>>>>> If I'm reading this one correctly, it's failing to boot from the USB
>>>>>>> device and later detects another drive (My Passport) which has
>>>>>>> something other than a standard ext[23]
>>>>>>> filesystem on the first partition.
>>>>>>
>>>>>> Same boot CD as above - I'm not sure what it's up to at this point.
>>>>>
>>>>> Check the .config in the linux-yocto build directory, does it have
>>>>> CONFIG_ISO9660_FS set?
>>>>
>>>> Nope :-(
>>>> $ grep ISO9660
>>>>
>>>> tmp/work/atom-pc-poky-linux/linux-yocto-stable-2.6.34+git0+e1f85a470934a0cf6abde5d95533e74501822c6b_0+72ca49ab08b8eb475cec82a10049503602325791-r1/linux-atom-pc-standard-build/.config
>>>>
>>>>
>>>> # CONFIG_ISO9660_FS is not set
>>>>
>>>> I'll try forcing this and rebuild to test.
>>>
>>> I've tried this, but I didn't see any change. Perhaps I didn't
>>> do it correctly. Since all I wanted was to update the kernel
>>> with a different configuration, here are the steps I executed:
>>> ... adjust config using makeconfig
>>> % rm -f sstate-cache/sstate-linux-yocto-stable-atom-pc*
>>> % bitbake virtual/kernel -f -c compile
>>> % bitbake poky-image-minimal-live
>>>
>>> Any other ideas?
>>
>> Still no joy booting from CD. I did boot the HDD image on
>> multiple systems and it runs just fine. The exact same ISO
>> on those hardware still fails.
>>
>
> BTW, the kernel config file I used (after running menuconfig)
> is attached.
>
> How/what can I diff to send a patch, once I get a working
> kernel configuration?

The location differs between the 2.6.34 and 2.6.37 kernel (since things
are being generalized).

You'll find the base configuration for the atom-pc in 2.6.34 in your
'linux-yocto-stable-2.6.34+git0+e1f85a470934a0cf6abde5d95533e74501822c6b_0+72ca49ab08b8eb475cec82a10049503602325791-r1/linux'
(that's a mouthful) directory.  On the wrs_meta branch.

Then you'll find: wrs/cfg/kernel-cache/bsp/atom-pc/boot-live.cfg

If you send a diff against that, we can merge and make the change
permanent (assuming it is suitable for general use).

Cheers,

Bruce

>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"



More information about the poky mailing list