From: Gary Thomas <gary@mlbassoc.com>
To: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: Poky <poky@lists.pokylinux.org>
Subject: Re: No joy on "standard" PC
Date: Sat, 29 Jan 2011 06:25:54 -0700 [thread overview]
Message-ID: <4D441562.2090205@mlbassoc.com> (raw)
In-Reply-To: <AANLkTimhHmH0LKGnsEKu47gD6tJs4enLtSYuzAt2+Wgv@mail.gmail.com>
On 01/28/2011 07:43 AM, Bruce Ashfield wrote:
> On Fri, Jan 28, 2011 at 9:31 AM, Gary Thomas<gary@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).
This now bug #686 (http://bugzilla.pokylinux.org/show_bug.cgi?id=686)
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
next prev parent reply other threads:[~2011-01-29 13:25 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-26 13:43 No joy on "standard" PC Gary Thomas
2011-01-26 13:50 ` Gary Thomas
2011-01-26 13:58 ` Bruce Ashfield
2011-01-26 14:17 ` Gary Thomas
2011-01-26 14:24 ` Bruce Ashfield
2011-01-26 21:22 ` Bruce Ashfield
2011-01-26 21:26 ` Darren Hart
2011-01-26 22:07 ` Gary Thomas
2011-01-27 0:02 ` Darren Hart
2011-01-27 0:13 ` Gary Thomas
2011-01-27 3:30 ` Darren Hart
2011-01-27 12:47 ` Gary Thomas
2011-01-27 22:23 ` Gary Thomas
2011-01-28 14:28 ` Gary Thomas
2011-01-28 14:31 ` Gary Thomas
2011-01-28 14:43 ` Bruce Ashfield
2011-01-29 13:25 ` Gary Thomas [this message]
2011-01-28 14:35 ` Bruce Ashfield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D441562.2090205@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=bruce.ashfield@gmail.com \
--cc=poky@lists.pokylinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.