User:NeoAmsterdam/10.1.2/Bootable SD: Difference between revisions
Jump to navigation
Jump to search
NeoAmsterdam (talk | contribs) m (OK - 'nuff with the debugging output - It's coffee time.) |
NeoAmsterdam (talk | contribs) (Looks like my SD was a bit wonky... third time's the charm, right?) |
||
Line 33: | Line 33: | ||
# Switching <tt>root=LABEL=OLPCRoot</tt> to <tt>root=LABEL=OLPC-SD</tt> ('''note:''' maybe tell people to <tt>mkfs.ext3 -v -L OLPCRoot</tt> instead of editing a posteriori w/ dev key) |
# Switching <tt>root=LABEL=OLPCRoot</tt> to <tt>root=LABEL=OLPC-SD</tt> ('''note:''' maybe tell people to <tt>mkfs.ext3 -v -L OLPCRoot</tt> instead of editing a posteriori w/ dev key) |
||
= Second Attempt = |
= Second Attempt = |
||
== |
== Failure == |
||
<TUX> |
<TUX> |
||
[ 7.824604] dracut: Switching root |
[ 7.824604] dracut: Switching root |
||
Line 73: | Line 73: | ||
udevd-event[991]: exec of program '/sbin/alsactl' failed' |
udevd-event[991]: exec of program '/sbin/alsactl' failed' |
||
== Observations == |
|||
Looks like a total hang, but no "I give up" message on screen, so sipping coffee and pondering next move... (SD card busted? 10.1.2 not expecting to boot off SD? Can I <tt>fsck</tt> from withing OFW?) |
Looks like a total hang, but no "I give up" message on screen, so sipping coffee and pondering next move... (SD card busted? 10.1.2 not expecting to boot off SD? Can I <tt>fsck</tt> from withing OFW?) |
||
== Post-mortem == |
|||
OFW doesn't seem to have <tt>fsck</tt>, so... |
|||
# Restarted from 10.1.2 on NAND |
|||
# <tt>/sbin/init 3</tt> in console. |
|||
# <tt>fsck.ext3 -v /dev/mmcblk0p1</tt> returned <tt>OLPC-SD: clean, 43246/981120 files, 353740/3922425 blocks</tt>. |
|||
# <tt>fsck.ext3 -fv /dev/mmcblk0p1</tt> found a problem with inode 13 - fixed (please let ''that'' be the reason) |
|||
# <tt>shtudown -r now</tt> |
|||
= Third Attempt = |
|||
''In progress...'' |
Revision as of 09:50, 31 August 2010
This page does not contain instructions leading to a successful installation of Release 10.1.2 onto an SD card
Do not follow these instructions until this warning has been removed by its author!
Do not follow these instructions until this warning has been removed by its author!
First Attempt
Failure
- Failure
used cp -prv /versions/pristine/852/* /mnt/sd/. (it lit. takes HOURS to copy over); boot yields the following:
FATAL: Module scsi_wait_scan not found. FATAL: Module scsi_wait_scan not found. FATAL: Module scsi_wait_scan not found. FATAL: Module scsi_wait_scan not found. FATAL: Module scsi_wait_scan not found. No root device found Boot has failed, sleeping forever.
Observations
- Noticed that OFW looks for root=LABEL=OLPCRoot or somesuch, and my SD was formatted mkfs.ext3 -v -L OLPC-SD (oops?).
- Maybe editing /boot/olpc.fth with µemacs in OFW?
- Manually specifying kernel arg/root dev. in OFW (until "in")?
- Penguin, not OLPC logo, shows in corner of screen... oopsie or intentional? [ shrugs shoulders ]
Post-Mortem
- Boot into OFW (note: make sure to mention developer key required)
- emacs sd:\boot\olpc.fth
- BTW, didn't it occur to anyone that there isn't an F5/F6/F7/F8 key on an OLPC keyb? ^X^S won't work, and I can't tell which button/key I'm pressing!
- Down near the end - look for the last screenful:
" nand" dn-buf count sindex 0>= if " root=/dev/mtdblock0 rootfstype=jffs2" else " root=LABEL=OLPCRoot rootfstype=ext3" then
- Switching root=LABEL=OLPCRoot to root=LABEL=OLPC-SD (note: maybe tell people to mkfs.ext3 -v -L OLPCRoot instead of editing a posteriori w/ dev key)
Second Attempt
Failure
<TUX>
[ 7.824604] dracut: Switching root dracut: Switching root init: readahead-collector.event main process (870) terminated with status 1 Welcome to Fedora OLPC Release 10 (based on Fedora 11) Press 'I' to enter interactive startup Starting udev: udevd-event[1113]: unknown format char 'g' udevadm settle - timeout of 0 seconds reached, the event queue contains: /sys/devices/virtual/tty/tty0 (656) /sys/devices/virtual/tty/console (653) /sys/devices/virtual/net/lo (651) /sys/devices/virtual/block/ram9 (623) /sys/devices/virtual/block/ram8 (622) /sys/devices/virtual/block/ram7 (621) /sys/devices/virtual/block/ram6 (620) /sys/devices/virtual/block/ram5 (619) /sys/devices/virtual/block/ram4 (618) /sys/devices/virtual/block/ram3 (617) /sys/devices/virtual/block/ram2 (616) /sys/devices/virtual/block/ram15 (615) /sys/devices/virtual/block/ram14 (614) /sys/devices/virtual/block/ram13 (613) /sys/devices/virtual/block/ram12 (612) /sys/devices/virtual/block/ram11 (611) /sys/devices/virtual/block/ram10 (610) /sys/devices/virtual/block/ram1 (609) /sys/devices/virtual/block/ram0 (608) /sys/devices/platform/rtc_cmos/rtc/rtc0 (585) /sys/devices/pci0000:00/0000:00:0c.1/mmc_host/mmc0/mmc0:b368/block/mmcblk0/mmcblk0p1 (544) Wait timeout. Will continue in the background. [FAILED] /etc/init.d/functions: line 494: /usr/bin/plymouth: Input/output error [ 662.777089] EXT3-fs error (device: mmcblk0p1): ext3_get_inode_loc: unable to read inode block - in ode=17748, block65625 [ 988.376632] EXT3-fs error (device: mmcblk0p1): ext3_find_entry: reading directory #311662 offset 0 udevd-event[991]: exec of program '/sbin/alsactl' failed'
Observations
Looks like a total hang, but no "I give up" message on screen, so sipping coffee and pondering next move... (SD card busted? 10.1.2 not expecting to boot off SD? Can I fsck from withing OFW?)
Post-mortem
OFW doesn't seem to have fsck, so...
- Restarted from 10.1.2 on NAND
- /sbin/init 3 in console.
- fsck.ext3 -v /dev/mmcblk0p1 returned OLPC-SD: clean, 43246/981120 files, 353740/3922425 blocks.
- fsck.ext3 -fv /dev/mmcblk0p1 found a problem with inode 13 - fixed (please let that be the reason)
- shtudown -r now
Third Attempt
In progress...