[pkg-fso-maint] ext2 as part1fs - not bootable, usb0 not available

Steffen Moeller steffen_moeller at gmx.de
Sun Aug 23 23:52:34 UTC 2009


Hello,

Qt Extended, freshly flashed, does not have mkfs.vfat, so I went for ext2 as --part1fs (as
set by default). However, I could not boot from the SD, the uimage.bin could not be read,
bad magic number. That message is somewhat missleading, the boot flag of the partition was
missed. That was all. I booted Osm2009, ran fdisk, and it was all ok again. Shall I add
something like
a
1

to the action_partition? Was I doing something wrong? Is the SD faulty? It seems much like
it, since the error reoccurred after a regular (/sbin/reboot) reboot and fdisk (back in
Osm2009) says

Disk /dev/mmcblk0: 1967 MB, 1967128576 bytes
4 heads, 16 sectors/track, 60032 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

        Device Boot      Start         End      Blocks  Id System
/dev/mmcblk0p1   *           1        3053       97688  83 Linux
/dev/mmcblk0p2            3054       55455     1676864  83 Linux
/dev/mmcblk0p3           55456       60032      146464  82 Linux swap

which looks just fine to me. I just said "w" to fdisk to write what it read back to disk,
followed by an immediate reboot - works!


The other mysterious event is the disappearance of usb0, i.e. I cannot connect to the
laptop any more when booting into Debian. This seems to be because the kernel answers to
/proc/version with "2.6.24 (build at barbie)". But this is the Qt Extended kernel. Why does
that happen? Did I mess up something? but /boot clearly lists config-2.6.28 (openmoko), so
it seems like not being booted ... weird. And the binaries of QtExtended/boot/uImage.bin
and /mnt/debian/boot/uImage.bin differ. I have updated to the 2.6.29 kernel just found via
apt, copied the uImages from /mnt/debian/boot/* to /media/card, reset symlink to the
2.6.29 kernel, rebooted, found the image to have the bad magic number, echo "w" | fdisk
/dev/mmcblk0, reboot again, Debian boots up nicely with wrong kernel again.

Would anyone have any suggestions for me? I could try my old 512MB SD, obviously. Or flash
uboot?

Cheers,

Steffen



More information about the pkg-fso-maint mailing list