All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: "Paul D. DeRocco" <pderocco@ix.netcom.com>
Cc: yocto@yoctoproject.org
Subject: Re: This one can't be me...
Date: Wed, 03 Apr 2013 13:24:15 -0700	[thread overview]
Message-ID: <515C8FEF.2090201@linux.intel.com> (raw)
In-Reply-To: <1FA14170446D481E9E3DB9080F55EEB9@PAULD>



On 04/03/2013 12:57 PM, Paul D. DeRocco wrote:
>> From: Darren Hart
>>
>> The most obvious question is whether or not the kernel you built has
>> ramdisk support. You can do this by analyzing the .config file in your
>> linux-yocto build tree
>> (build/tmp/work/cedartrail.../linux-yocto*/linux-cedartrail-st
>> andard-build/.config).
>> You want to look for:
>>
>> $ grep BLK_DEV_RAM .config
>> CONFIG_BLK_DEV_RAM=y
>> CONFIG_BLK_DEV_RAM_COUNT=16
>> CONFIG_BLK_DEV_RAM_SIZE=4096
> 
> That directory (full path is
> /home/pauld/yocto-atom/build/tmp/work/cedartrail_nopvr-poky-linux/linux-yoct
> o-3.0.32+git1+a4ac64fe873f08ef718e2849b88914725dc99c1c_1+1e79e03d115ed177882
> ab53909a4f3555e434833-r4.1/linux-cedartrail-nopvr-standard-build) is
> completely empty. Yes, I know it's supposed to be a hidden file. This is
> right after completing a "successful" build of core-image-sato.


Are you building with the rm work setting? Otherwise, that should not be
empty unless you have more than one linux-yocto* directory and the other
is populated.

If not, verify rm work is not on and just build the kernel:

$ bitbake linux-yocto -c cleansstate
$ bitbake linux-yocto

>> Well, see my comment above, the kernel was about as explicit as it can
>> be - it didn't find a block device to mount as root. However, when
>> debugging kernel issues, it is important to be able to record the log.
>> You have a serial port console configured in your kernel parameters
>> (console=ttyS0,115200), it would be a good idea to connect to 
>> the serial
>> console and capture the boot messages to a file using minicom, screen,
>> or similar.
> 
> Done. Attached.
> 

Nothing in there suggests any other failure than it just didn't find a
block device. I didn't see anything in there about loading the initrd
though (I think there usually is...). Check to make sure the initrd file
does indeed exist on the boot drive.

>> Another common problem is the hddimg format itself and conflicts with
>> certain firmware. You can try the zip image format as described in
>> poky/README.hardware under the "Intel Atom based PCs and 
>> devices" section.
> 
> Tried that, same result.


That would hint at either a problem with the initrd or a lack of support
in the kernel.


>> Finally, usb sticks are terrible about just being bad. Many 
>> of them are
>> literally write once devices. They're fine so long as you don't fill
>> them up, which works for shuffling small files around, but 
>> writing full
>> OS images to them tends to kill them in a hurry. Try with a 
>> brand new stick.
> 
> Tried a fresh one, same results. I'm using a 1GB eUSB SSD, which is
> basically an industrial grade flash drive that uses SLC memory, on a card
> that sits on the mobo USB header. The image doesn't come close to filling it
> up. I've successfully done a live-image boot of full Ubuntu from the 2GB
> version of the same drive (same vendor).
> 
> It smells to me like that first problem is the real one. Should I try a
> clean rebuild? Is there anything I can do short of nuking the entire build
> tree with its downloads to ensure a clean rebuild? Or would that be like
> waving a dead chicken over it?

The nuke is the big hammer, try the slightly more subtle linux-yocto
rebuild without rm-work as described above.

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel


  reply	other threads:[~2013-04-03 20:24 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-02 21:27 This one can't be me Paul D. DeRocco
2013-04-02 23:57 ` Paul D. DeRocco
2013-04-03 16:04   ` Marc Ferland
2013-04-03 15:38 ` Darren Hart
2013-04-03 17:47   ` Bodke, Kishore K
2013-04-03 19:57   ` Paul D. DeRocco
2013-04-03 20:24     ` Darren Hart [this message]
2013-04-03 20:50       ` Paul D. DeRocco
2013-04-03 22:01         ` Bodke, Kishore K
2013-04-04  0:32           ` Paul D. DeRocco
2013-04-04 17:17             ` Darren Hart
2013-04-03 22:09         ` Darren Hart
2013-04-04  0:21       ` Paul D. DeRocco
2013-04-04 17:18         ` Darren Hart
2013-04-04 18:31           ` Bodke, Kishore K
2013-04-04 19:14             ` Bodke, Kishore K
2013-06-20 14:58               ` Darren Hart
     [not found]             ` <13F417252F8B4CB5BB755BB07928D20C@PAULD>
     [not found]               ` <D956029D25CF204F948EA0FB515E1EE258405AC4@ORSMSX105.amr.corp.intel.com>
     [not found]                 ` <2FD1BA69DE1E491C839CA26A7D2CA32A@PAULD>
     [not found]                   ` <D956029D25CF204F948EA0FB515E1EE258405C96@ORSMSX105.amr.corp.intel.com>
2013-04-05 17:06                     ` Paul D. DeRocco
2013-04-05 18:15                       ` Bodke, Kishore K
2013-04-05 18:48                         ` Paul D. DeRocco
2013-04-05 22:32                           ` Bodke, Kishore K
2013-04-05 22:45                             ` Paul D. DeRocco
2013-04-05 23:17                               ` Sean Liming
2013-04-05 23:54                                 ` Paul D. DeRocco
2013-04-05 23:34                           ` Tom Zanussi
2013-04-06  4:03                             ` Tom Zanussi
2013-04-06  4:15                               ` Paul D. DeRocco
2013-04-06  4:48                                 ` Tom Zanussi
2013-04-06  5:55                                   ` Bruce Ashfield
2013-04-06 14:00                                   ` Tom Zanussi
2013-04-06 18:20                                     ` Paul D. DeRocco
2013-04-06 19:20                                       ` Tom Zanussi

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=515C8FEF.2090201@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=pderocco@ix.netcom.com \
    --cc=yocto@yoctoproject.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.