Problem with kernel pkg postinstall
Andy Green
andy at openmoko.com
Fri Jan 18 11:25:25 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi folks -
While examining initscripts for why resume gets busted, I noticed this
$ ../init.d/ipkg-configure start
Starting to configure packages...
Configuring kernel-image-2.6.22.5-moko11
Upgrading Kernel in Flash
DO NOT stop this process
Erasing 128 Kibyte @ 0 -- 0 % complete.Erasing 128 Kibyte @ 20000 -- 50
% complete.
Image 1539424 bytes, NAND page 2048 bytes, OOB area 2048 bytes, device
size 262144 bytes
Input file does not fit into device: Success
Data was only partially written due to error
: Success
postinst script returned status 1
ERROR: kernel-image-2.6.22.5-moko11.postinst returned 1
Nothing to be done
An error ocurred, return value: 1.
Finished to configure packages.
The postinstall script has chosen the wrong partition on my system,
which has the NOR stuff enabled. It erases my U-Boot config every boot :-)
The kernel package postinstall script needs to grep /proc/mtd to find
out the device node it wants to nuke.
Maybe this is already done, I only saw this on the modified rootfs image
that Werner sent out yesterday, if so: great. Otherwise it needs doing
to avoid havoc when the partitioning is changed.
- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFHkH6VOjLpvpq7dMoRAneiAJ9heRzIvbhsUyTrvrtDgGM8bkhLngCfe47D
1EVZqAmD9rOZ24Apzag2g8I=
=KSVY
-----END PGP SIGNATURE-----
More information about the distro-devel
mailing list