On Tue, Jun 2, 2015 at 2:53 AM, gm <
g.g.ma...@gmail.com> wrote:
> Hello there,
>
> I have been successful at building&booting a full ChromiumOS (dev) via
> USB/SD - although shutting down via poweroff doesn't seem to work.
>
> However, I get a blank screen if I try to use its kernel stand-alone with a
> custom command line:
>
> console=tty1 debug verbose root=/dev/sda1 rootwait rw lsm.module_locking=0
>
>
> If I use the vmlinuz (v3.10) extracted from the OEM ChromeOS clapper, the
> above boots fine and seems fully functional; during the very fast boot
> sequence I can see a crash dump about fbdev-something, but it's too fast for
> me to catch.
>
> If I rebuild the kernel partition with exactly the same vbutil_kernel
> command but with the ChromiumOS kernel, I get instead a blank screen.
how are you building the kernel? emerge?
> I've also tried using i915.modeset=1, but doesn't change the net effect. As
> a side note, I can shutdown with a single power button press when I am in
> such blank screen mode, and the chromebook is not rebooting - so it must
> think kernel is doing something (I guess).
>
> I'm using kernel 3.10 from release-R42-6812.B and this is the net CONFIG_
> diff of the working ChromeOS kernel (left) and non-working ChromiumOS one
> (right):
http://pastebin.com/raw.php?i=7gY05PWb
> To me, none of those options can interfere with framebuffers, I suspect the
> kernel is instantly panicking when coming alive...
>
> Any pointers on how to troubleshoot this? Next on my list would be
> serial-over-USB output.
One trick for debugging is to boot te kernel that panics followed by a
known working kernel so you can look at /dev/pstore/console-ramoops
and then you can see the panic.
A way to do this is to either boot the panicing kernel using a USB
stick or boot the good kernel on a USB stick after the panic.
Another (more tricky way) is to put the bad kernel on the kernel
partition which isn't used, but don't set the successful bit and have
try count of one so that it falls back to the good kernel after it
panics. For this I use the update_kernel.sh script with the
--partition flag to explicitly specify the kernel partition, the
--bootonce flag and the --rootoff flag (you might not need this if
you're hardcoding the partition to /dev/sda1)
>
> --
> gm
>
> --
> --
> Chromium OS Developers mailing list:
chromiu...@chromium.org
> View archives, change email options, or unsubscribe:
>
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
>
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
chromium-os-d...@chromium.org.