ubiattach /dev/ubi_ctrl -m 5
mount -t ubifs -o rw,bulk_read,no_chk_data_crc ubi0:rootfs /media/maemo
[root@localhost maemo]# cd usr/lib/xorg/modules/input/ [root@localhost input]# ls evdev_drev.so evdev_drv.so.mousesupport joystick_drv.so [root@localhost input]# mv evdev_drev.so evdev_drv.so
Hello everybody, I kind of messed up my "evdev_drv.so" file. I didn't like the mouse support anymore, fooled around, missspelled "evdev_drv.so.orig" and so now the file is missing. Of course I rebooted before I figured it out so yay - looks like a reflash. The thing is I thought about what I would do, if something like the would happen to my pc. Of course I would just boot another OS, fix the missspelled filename and done. Since the n900 is pretty open and I've got meego as an alternative, I tried it. At the moment I'm stuck. I got this far: - "The 256 MB NAND is formatted as UBIFS and contains the bootloader, kernel and root directory "/" with about 100 MB of free space." (wikipedia) - the filesystem is ubifs - meego does not load ubifs in the kernel natively so I use modprobe ubifs, which turns out to be working since it appears in lsmod - the "proper" device to mount if there is any seems to be "/dev/mtdblock5" - additional options could be "rw,bulk_read,no_chk_data_crc" so all in all I tried " Code: mount -t ubifs /dev/mtdblock5 -o rw,bulk_read,no_chk_data_crc /media/maemo/ " and either get " Code: unknow filesystem: ubifs " or I get " Code: mount: wrong fs type, bad option, bad superblock on /dev/mtdblock5, missing codepage or helper program, or other error Sometime Syslog helps: Try dmesg | tail " " Code: dmesg | tail " gives me: " Code: [ 182.204833] UBIFS error (pid 1081): ubifs_get_sb: cannot open "/dev/mtdblock5", error -22 " On other OS I saw things like "ubimkvolume" or similar. Not on meego though. Has anybody ever successfully mounted the rootfs of maemo in another os? Or has someone an idea to solve the problem with the "endev.." without reflashing? Thanks in advance for your help! If you need any further information I will be happy to reply tcm Here is the output of fdisk -l (sorry it's in german but I think you know the format anyway) " Code: [root@localhost media]# fdisk -l Platte /dev/mtdblock0: 0 MByte, 131072 Byte 59 Köpfe, 106 Sektoren/Spuren, 0 Zylinder Einheiten = Zylinder von 6254 × 512 = 3202048 Bytes Disk identifier: 0x00000000 Festplatte /dev/mtdblock0 enthält keine gültige Partitionstabelle Platte /dev/mtdblock1: 0 MByte, 393216 Byte 59 Köpfe, 106 Sektoren/Spuren, 0 Zylinder Einheiten = Zylinder von 6254 × 512 = 3202048 Bytes Disk identifier: 0xffffffff Festplatte /dev/mtdblock1 enthält keine gültige Partitionstabelle Platte /dev/mtdblock2: 0 MByte, 262144 Byte 60 Köpfe, 106 Sektoren/Spuren, 0 Zylinder Einheiten = Zylinder von 6360 × 512 = 3256320 Bytes Disk identifier: 0x646f6d5f Festplatte /dev/mtdblock2 enthält keine gültige Partitionstabelle Platte /dev/mtdblock3: 2 MByte, 2097152 Byte 60 Köpfe, 106 Sektoren/Spuren, 0 Zylinder Einheiten = Zylinder von 6360 × 512 = 3256320 Bytes Disk identifier: 0x00000000 Festplatte /dev/mtdblock3 enthält keine gültige Partitionstabelle Platte /dev/mtdblock4: 2 MByte, 2097152 Byte 60 Köpfe, 106 Sektoren/Spuren, 0 Zylinder Einheiten = Zylinder von 6360 × 512 = 3256320 Bytes Disk identifier: 0xffffffff Festplatte /dev/mtdblock4 enthält keine gültige Partitionstabelle Platte /dev/mtdblock5: 263 MByte, 263454720 Byte 60 Köpfe, 106 Sektoren/Spuren, 80 Zylinder Einheiten = Zylinder von 6360 × 512 = 3256320 Bytes Disk identifier: 0x00000000 Festplatte /dev/mtdblock5 enthält keine gültige Partitionstabelle Platte /dev/mmcblk0: 8018 MByte, 8018460672 Byte 4 Köpfe, 32 Sektoren/Spuren, 122352 Zylinder Einheiten = Zylinder von 128 × 512 = 65536 Bytes Disk identifier: 0x000a5a4c Gerät boot. Anfang Ende Blöcke Id System /dev/mmcblk0p1 1 24415 1562500 83 Linux /dev/mmcblk0p2 24417 28320 249856 83 Linux Platte /dev/mmcblk1: 32.0 GByte, 32015122432 Byte 4 Köpfe, 16 Sektoren/Spuren, 977024 Zylinder Einheiten = Zylinder von 64 × 512 = 32768 Bytes Disk identifier: 0x00000000 Gerät boot. Anfang Ende Blöcke Id System /dev/mmcblk1p1 2 884865 28315648 c W95 FAT32 (LBA) /dev/mmcblk1p2 884866 950401 2097152 83 Linux /dev/mmcblk1p3 950402 974977 786432 82 Linux Swap / Solaris " "enthält keine gültige Partitionstabelle" means "does not contain valid partition tables"
mount -t ubifs /dev/mtdblock5 -o rw,bulk_read,no_chk_data_crc /media/maemo/
unknow filesystem: ubifs
mount: wrong fs type, bad option, bad superblock on /dev/mtdblock5, missing codepage or helper program, or other error Sometime Syslog helps: Try dmesg | tail
dmesg | tail
[ 182.204833] UBIFS error (pid 1081): ubifs_get_sb: cannot open "/dev/mtdblock5", error -22
[root@localhost media]# fdisk -l Platte /dev/mtdblock0: 0 MByte, 131072 Byte 59 Köpfe, 106 Sektoren/Spuren, 0 Zylinder Einheiten = Zylinder von 6254 × 512 = 3202048 Bytes Disk identifier: 0x00000000 Festplatte /dev/mtdblock0 enthält keine gültige Partitionstabelle Platte /dev/mtdblock1: 0 MByte, 393216 Byte 59 Köpfe, 106 Sektoren/Spuren, 0 Zylinder Einheiten = Zylinder von 6254 × 512 = 3202048 Bytes Disk identifier: 0xffffffff Festplatte /dev/mtdblock1 enthält keine gültige Partitionstabelle Platte /dev/mtdblock2: 0 MByte, 262144 Byte 60 Köpfe, 106 Sektoren/Spuren, 0 Zylinder Einheiten = Zylinder von 6360 × 512 = 3256320 Bytes Disk identifier: 0x646f6d5f Festplatte /dev/mtdblock2 enthält keine gültige Partitionstabelle Platte /dev/mtdblock3: 2 MByte, 2097152 Byte 60 Köpfe, 106 Sektoren/Spuren, 0 Zylinder Einheiten = Zylinder von 6360 × 512 = 3256320 Bytes Disk identifier: 0x00000000 Festplatte /dev/mtdblock3 enthält keine gültige Partitionstabelle Platte /dev/mtdblock4: 2 MByte, 2097152 Byte 60 Köpfe, 106 Sektoren/Spuren, 0 Zylinder Einheiten = Zylinder von 6360 × 512 = 3256320 Bytes Disk identifier: 0xffffffff Festplatte /dev/mtdblock4 enthält keine gültige Partitionstabelle Platte /dev/mtdblock5: 263 MByte, 263454720 Byte 60 Köpfe, 106 Sektoren/Spuren, 80 Zylinder Einheiten = Zylinder von 6360 × 512 = 3256320 Bytes Disk identifier: 0x00000000 Festplatte /dev/mtdblock5 enthält keine gültige Partitionstabelle Platte /dev/mmcblk0: 8018 MByte, 8018460672 Byte 4 Köpfe, 32 Sektoren/Spuren, 122352 Zylinder Einheiten = Zylinder von 128 × 512 = 65536 Bytes Disk identifier: 0x000a5a4c Gerät boot. Anfang Ende Blöcke Id System /dev/mmcblk0p1 1 24415 1562500 83 Linux /dev/mmcblk0p2 24417 28320 249856 83 Linux Platte /dev/mmcblk1: 32.0 GByte, 32015122432 Byte 4 Köpfe, 16 Sektoren/Spuren, 977024 Zylinder Einheiten = Zylinder von 64 × 512 = 32768 Bytes Disk identifier: 0x00000000 Gerät boot. Anfang Ende Blöcke Id System /dev/mmcblk1p1 2 884865 28315648 c W95 FAT32 (LBA) /dev/mmcblk1p2 884866 950401 2097152 83 Linux /dev/mmcblk1p3 950402 974977 786432 82 Linux Swap / Solaris