Modify

Opened 11 years ago

Closed 11 years ago

#2110 closed defect (fixed)

jffs2 not working on ixp4xx board using 7.07 binary or build from trunk

Reported by: xxiao Owned by: developers
Priority: highest Milestone: Kamikaze 7.07
Component: base system Version:
Keywords: jffs2 broken Cc:

Description

Jffs2 is broken on ixp4xx, including both the 7.07 binaries and trunk source code.

Attachments (0)

Change History (8)

comment:1 Changed 11 years ago by nbd

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

comment:2 Changed 11 years ago by xxiao

  • Resolution duplicate deleted
  • Status changed from closed to reopened

I think it's a bit different from ticket 1419, in 7.07/trunk, after boot there is no jffs2 and only ramdisk is used along with squashfs. I modified /etc/config/* and it will disappear after reboot, which means jffs2 is totally gone instead of "overlaying" squashfs. in 7.06 and svn #7886 it worked fine.

comment:3 Changed 11 years ago by pittipatti@…

I can reproduce this fault on a wrt54gs_1.1 and kernel 2.6

Since r8047 no overlaying jffs2-partition gets mounted.

dmesg shows:

flash init: 0x1c000000 0x02000000
Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
 Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
erase region 0: offset=0x0,size=0x20000,blocks=64
Flash device: 0x800000 at 0x1fc00000
bootloader size: 262144
Creating 4 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x007e0000 : "linux"
0x000f7400-0x007e0000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=1C0000, len=620000 
0x001c0000-0x007e0000 : "rootfs_data"
0x007e0000-0x00800000 : "nvram"

and in with logread I get:

Jan  1 00:00:20 OpenWrt user.info : mount: mounting /dev/mtdblock2 
Jan  1 00:00:20 OpenWrt user.info : mtd3 on /rom/jffs failed 

comment:4 Changed 11 years ago by nbd

try r8081

comment:5 Changed 11 years ago by xxiao

tried r8086, no luck.

comment:6 Changed 11 years ago by anonymous

xxiao: clean your kernel dir and then post a log with all the boot messages

comment:7 Changed 11 years ago by xxiao

after a fresh build of ixp4xx kernel using r8086 i can now see jffs2 working. see log below and you may close this ticket now. thanks for the suggestion of "fresh building".


Warning: unable to open an initial console.

  • preinit -

jffs2 not ready yet; using ramdisk
mini_fo: using base directory: /
mini_fo: using storage directory: /tmp/root

  • init -

init started: BusyBox v1.4.2 (2007-07-19 09:05:10 CDT) multi-call binary

Please press Enter to activate this console. eth0: link up, 100Mbps, full-duplex
, lpa 0x45E1
PPP generic driver version 2.4.2
wlan: 0.8.4.2 (svn r2568)
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.30.13 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF54
13, RF2133, REGOPS_FUNC)
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (svn r2568)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registered
ath_pci: 0.9.4.5 (svn r2568)
PCI: enabling device 0000:00:0e.0 (0340 -> 0342)
ath_pci: switching rfkill capability off
ath_pci: switching per-packet transmit power control off
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36
Mbps 48Mbps 54Mbps
wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 5.9 phy 4.3 radio 3.6
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0x48000000, irq=23
PCI: enabling device 0000:00:10.0 (0340 -> 0342)
ath_pci: switching rfkill capability off
ath_pci: switching per-packet transmit power control off
wifi1: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi1: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi1: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36
Mbps 48Mbps 54Mbps
wifi1: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi1: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi1: H/W encryption support: WEP AES AES_CCM TKIP
wifi1: mac 10.5 phy 6.1 radio 6.3
wifi1: Use hw queue 1 for WME_AC_BE traffic
wifi1: Use hw queue 0 for WME_AC_BK traffic
wifi1: Use hw queue 2 for WME_AC_VI traffic
wifi1: Use hw queue 3 for WME_AC_VO traffic
wifi1: Use hw queue 8 for CAB traffic
wifi1: Use hw queue 9 for beacons
wifi1: Atheros 5212: mem=0x48010000, irq=7
jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
jffs2_build_filesystem(): unlocking the mtd device... done.

comment:8 Changed 11 years ago by nbd

  • Resolution set to fixed
  • Status changed from reopened 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.