Ernillew / wl500g

Automatically exported from code.google.com/p/wl500g
0 stars 0 forks source link

/dev/mtd/4: No such file or directory #326

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Compiling and installing r4294 (before this I used r4051) I came across a 
problem with flashfs:
[root@asus-router root]$ flashfs commit
/dev/mtd/4: No such file or directory
[root@asus-router root]$ ls -la /dev/mtd/
drwxr-xr-x    2 oleg     root           280 Jan  1  2000 .
drwxrwxrwt    7 oleg     root          1660 Jan  1  1970 ..
crw-r-----    1 oleg     root       90,   0 Jan  1  2000 0
crw-r-----    1 oleg     root       90,   1 Jan  1  2000 0ro
crw-r-----    1 oleg     root       90,   2 Jan  1  2000 1
crw-r-----    1 oleg     root       90,   3 Jan  1  2000 1ro
crw-r-----    1 oleg     root       90,   4 Jan  1  2000 2
crw-r-----    1 oleg     root       90,   5 Jan  1  2000 2ro
crw-r-----    1 oleg     root       90,   6 Jan  1  2000 3
crw-r-----    1 oleg     root       90,   7 Jan  1  2000 3ro
brw-r-----    1 oleg     root       31,   0 Jan  1  2000 block0
brw-r-----    1 oleg     root       31,   1 Jan  1  2000 block1
brw-r-----    1 oleg     root       31,   2 Jan  1  2000 block2
brw-r-----    1 oleg     root       31,   3 Jan  1  2000 block3

Original issue reported on code.google.com by helladmi...@gmail.com on 2 Jun 2012 at 10:04

GoogleCodeExporter commented 9 years ago
сейчас обратно на r4051 перепрошился, там 
устройства на месте.

Original comment by helladmi...@gmail.com on 3 Jun 2012 at 12:24

GoogleCodeExporter commented 9 years ago
Historically, flashfs grows from down to top of physical flash. It was simply 
overwritten by firmware due to size increase. Just restore flashfs from backup.

Original comment by lly.dev on 3 Jun 2012 at 11:29

GoogleCodeExporter commented 9 years ago
Okay, how can I restore flash if i can not take access to device in which flash 
must locate?

Original comment by helladmi...@gmail.com on 3 Jun 2012 at 11:37

GoogleCodeExporter commented 9 years ago
I can't reproduce problem, which device you has?

Original comment by lly.dev on 3 Jun 2012 at 5:11

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Works for me.

Such situation can be happened only if your customized FW image are too large 
to has free space for flashfs.

Original comment by lly.dev on 3 Jun 2012 at 6:17

GoogleCodeExporter commented 9 years ago
Thanks a lot, only question - how to calculate free space for flashfs after, 
say, making new firmware? Or maybe that question preferable for forum, not 
issues list? =)

Original comment by helladmi...@gmail.com on 3 Jun 2012 at 6:22

GoogleCodeExporter commented 9 years ago
total flash size = CFE + nvram + FW + flashfs(min 64K)

Original comment by lly.dev on 3 Jun 2012 at 6:52

GoogleCodeExporter commented 9 years ago
эта ошибка возникает когда или повторно 
или еще как то применяются патчи на ядро

нужно удалить сорсы ядра - потом заново 
скопировать и один раз применить патчи

Original comment by aefor...@mail.ru on 12 Dec 2012 at 11:21