PDA

View Full Version : 2006 Beta / mkfs.vfat / Illegal instruction


Kralisec
06-16-2006, 08:36 PM
Hi,

I use 2006 beta, I can't format my mmc from xterm inside Nokia 770
I have repeatedly same error message:

after sudo gainroot (modified version, I'm not in R&D mode)
/ # mkfs.vfat /dev/mmcblk0p1
mkfs.vfat 2.8 (28 Feb 2001)
Illegal instruction
/ #

(I try also mkfs.vfat -F 32 /dev/mmcblk0p1, no luck)

I can format it on the PC, back to the Nokia work fine,
but still can't format it ...

Dunno if I should open a bug report, since it's the Beta version ...

I will wait for extrootfs package ported to 2.0
and try to see if creating partition directly from Nokia give better result
since I create them on PC.


Good day,
Laurent.

konttori
06-17-2006, 04:38 AM
could be that you jusst need to be in rd mode anyway. try that and open a bug if prroblem persists. Now is really the best time to fix bugs.

aflegg
06-17-2006, 04:44 AM
The fact it's a beta shows that it's the perfect time to open a bug!

smith
06-17-2006, 05:18 AM
you can try 'mmc-format' as root.

Kralisec
06-17-2006, 07:01 PM
you can try 'mmc-format' as root.

I try:
(first line cause /dev/mmcblk0p1 is fine, 448Mo, type 06,
mkfs.vfat /dev/mmcblk0p1 ok from Avril 2005 OS !)

/ # umount /media/mmc1
/ # mmc-format /dev/mmcblk0 1 /mnt/ truc
mmc-format.c:248: entered
start_format:168: entered

Disk /dev/mmcblk0: 31360 cylinders, 4 heads, 16 sectors/track
Illegal instruction
/usr/sbin/osso-prepare-partition.sh: could not make the partition
sig_handler:217: child from exec_prog
prepare_partition:156: exec_prog returned 1
mmc-format.c:309: could not start formatting
/ # mount
/dev/mtdblock4 on /mnt/initfs type jffs2 (rw)
none on /mnt/initfs/proc type proc (rw)
none on /mnt/initfs/sys type sysfs (rw)
none on /mnt/initfs/tmp type tmpfs (rw)
/dev/mtdblock4 on / type jffs2 (rw,rpsize=1024,rpuid=0,rpuid=30000)
none on /tmp type tmpfs (rw)
/proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
none on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
/ # mkfs.vfat /dev/mmcblk0p1
mkfs.vfat 2.8 (28 Feb 2001)
Illegal instruction
/ #


I finally open BugReport 599 !


Good day,
Laurent.