Comment 20 for bug 732046

Revision history for this message
Loïc Minier (lool) wrote :

Before the upgrade:
linaro-media-create --image_file beagle.img --image_size 1G --dev beagle --rootfs ext4 --hwpack hwpack_linaro-omap3_20110428-0_armel_supported.tar.gz --binary linaro-natty-nano-tar-20110428-0.tar.gz --hwpack-force-yes
[...]

This filesystem will be automatically checked every 26 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail or so

Traceback (most recent call last):
  File "/usr/bin/linaro-media-create", line 141, in <module>
    args.is_live, args.is_lowmem, args.consoles)
  File "/usr/lib/pymodules/python2.6/linaro_image_tools/media_create/boards.py", line 344, in populate_boot
    as_root=True).wait()
  File "/usr/lib/pymodules/python2.6/linaro_image_tools/cmd_runner.py", line 87, in wait
    raise SubcommandNonZeroReturnValue(self._my_args, returncode)
linaro_image_tools.cmd_runner.SubcommandNonZeroReturnValue: Sub process "['sudo', '-E', 'mount', '/dev/loop0', '/tmp/tmpkxRhQf/boot-disc']" returned a non-zero value: 32

dmesg reports:

[ 641.569705] FAT: codepage cp437 not found

This is with ami-08f40561 which uses 2.6.35-24-virtual on boot and upon reboot; linux-image-2.6.35-24-virtual 2.6.35-24.42 is installed; after running sudo update-grub, update-grub2, and update-legacy-grub2 and rebooting I still get 2.6.35-24-virtual (this is just to make sure I'm testing the latest released maverick version in UEC images).

After installing http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-2.6.35-29-virtual_2.6.35-29.51_amd64.deb which triggers an update-grub-foo run and rebooting I get 2.6.35-29-virtual and the linaro-media-create test case fails with a different module:
[ 183.868507] FAT: IO charset iso8859-1 not found

So I'm afraid listing just the cp437 module wasn't enough, sorry about that; it seems iso8859-1 is the only additional one needed as well. I've rebuilt linux_2.6.35-29.51.dsc with fs/nls/nls_iso8859-1.ko in debian.master/control.d/virtual.inclusion-list and installed the resulting package, and the linaro-media-create test case passed.