Modify

Opened 4 years ago

Closed 3 years ago

#14759 closed defect (fixed)

NAND support broken in Barrier Breaker r39223 ?

Reported by: sorin.capra@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: kernel Version: Trunk
Keywords: nand mount Cc:

Description

Hello

I compiled Barrier Breaker (r39223) today and tried to update my RouterBoard RB433AH but I found out the kernel and root MTD partitions cannot be mounted.

Here's the console log after the RouterBoard has been netbooted :

-----------------------------------------------------
BARRIER BREAKER (Bleeding Edge, r39223)
-----------------------------------------------------

  • 1/2 oz Galliano Pour all ingredients into
  • 4 oz cold Coffee an irish coffee mug filled
  • 1 1/2 oz Dark Rum with crushed ice. Stir.
  • 2 tsp. Creme de Cacao

-----------------------------------------------------

root@OpenWrt:/# mount /dev/mtdblock5 /mnt
[ 42.060000] yaffs: dev is 32505861 name is "mtdblock5" rw
[ 42.070000] yaffs: passed flags ""
[ 42.070000] yaffs: dev is 32505861 name is "mtdblock5" rw
[ 42.080000] yaffs: passed flags ""
mount: mounting /dev/mtdblock5 on /mnt failed: Invalid argument
root@OpenWrt:/# mount /dev/mtdblock6 /mnt
[ 51.930000] yaffs: dev is 32505862 name is "mtdblock6" rw
[ 51.930000] yaffs: passed flags ""
[ 51.940000] yaffs: dev is 32505862 name is "mtdblock6" rw
[ 51.940000] yaffs: passed flags ""
mount: mounting /dev/mtdblock6 on /mnt failed: Invalid argument

Here are the kernel errors logged when trying to mount the kernel (mtd5) and root (mtd6) MTD partitions :

[ 16.210000] br-lan: port 1(eth1) entered forwarding state
[ 16.220000] br-lan: port 1(eth1) entered forwarding state
[ 16.220000] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 16.240000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 18.220000] br-lan: port 1(eth1) entered forwarding state
[ 42.060000] yaffs: dev is 32505861 name is "mtdblock5" rw
[ 42.070000] yaffs: passed flags ""
[ 42.070000] yaffs: yaffs: Attempting MTD mount of 31.5,"mtdblock5"
[ 42.070000] yaffs: NAND geometry problems: chunk size 512, type is yaffs, inband_tags 1
[ 42.070000] yaffs: dev is 32505861 name is "mtdblock5" rw
[ 42.080000] yaffs: passed flags ""
[ 42.080000] yaffs: yaffs: Attempting MTD mount of 31.5,"mtdblock5"
[ 42.080000] yaffs: auto selecting yaffs1
[ 42.080000] yaffs: NAND geometry problems: chunk size 512, type is yaffs, inband_tags 1
[ 51.930000] yaffs: dev is 32505862 name is "mtdblock6" rw
[ 51.930000] yaffs: passed flags ""
[ 51.940000] yaffs: yaffs: Attempting MTD mount of 31.6,"mtdblock6"
[ 51.940000] yaffs: NAND geometry problems: chunk size 512, type is yaffs, inband_tags 1
[ 51.940000] yaffs: dev is 32505862 name is "mtdblock6" rw
[ 51.940000] yaffs: passed flags ""
[ 51.950000] yaffs: yaffs: Attempting MTD mount of 31.6,"mtdblock6"
[ 51.950000] yaffs: auto selecting yaffs1
[ 51.950000] yaffs: NAND geometry problems: chunk size 512, type is yaffs, inband_tags 1

I saw there is another recent NAND related topic open in the forum which could be related (https://forum.openwrt.org/viewtopic.php?id=48215) but it has no replies.

Help please ?

Attachments (0)

Change History (5)

comment:1 Changed 4 years ago by duvi

Maybe this is the reason why the latest trunk didn't boot from nand on my RB751U, only from initramfs?

comment:2 Changed 4 years ago by duvi

r39409 has solved this for me on RB433UAH.

comment:3 Changed 3 years ago by anonymous

I have RB751U old hardware, that work well with old trunk 31700.
I try to upgrade.
But, it don't boot from nand and initramfs with AA 42742 and BB 42714.

comment:4 Changed 3 years ago by anonymous

Please, forget the previous message. Boot OK . The ticket may be closed.

comment:5 Changed 3 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.