Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GoogleCodeExporter opened this issue Mar 29, 2015 · 9 comments
Closed

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

GoogleCodeExporter opened this issue Mar 29, 2015 · 9 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

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

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

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

  • Changed state: Invalid
  • Added labels: Type-Support
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

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

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

I can't reproduce problem, which device you has?

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

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

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

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

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

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

total flash size = CFE + nvram + FW + flashfs(min 64K)

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

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

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

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

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

  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant