Hi,

  Advantech PCM-9578 is a x86 board, more information in:

http://www.advantech.com/products/PCM-9578/mod_1-2JKHVM.aspx

  I am trying to compile and install OpenWRT in this hardware, the
compile process work fine.

  I am using a 128 MB Compact Flash and jffs2 image.

  My board boots kernel but It not mount roofs the error is related
with erase block size

-----------
CLEANMARKER node found at 0x0066de00, not first node in block (0x0066d000)
-----------

The full output is attached

The question is: How can I change the erase blocksize?


Does somebody known the structure of the jffs2 image/file?

I can see two partitions in openwrt-x86-jffs2-128k.image and I am not
sure about if this two partitions are /dev/hdc1 and /dev/hdc2 or this
two partitions are /dev/hdc2 jffs2 partitions.


Thanks in advance

--

SALUDE3.

http://www.rodeiroag.es/
http://soloeningles.blogspot.com/
Robert Benchley  - "A dog teaches a boy fidelity, perseverance, and to
turn around three times before lying down."
BIOS EBDA/lowmem at: 0009fc00/00099400
Linux version 2.6.28.9 ([email protected]) (gcc version 4.1.2) #1 Fri 
Apr 3 19:05:17 CEST 2009
KERNEL supported cpus:
  Intel GenuineIntel
  AMD AuthenticAMD
  NSC Geode by NSC
  Cyrix CyrixInstead
  Cenaround.
last_pfn = 0x7f00 max_arch_pfn = 0x100000
127MB LOWMEM available.
  mapped low ram: 0 - 07f00000
  low ram: 00000000 - 07f00000
  bootmap 00012000 - 00012fe0
(6 early reservations) ==> bootmem [0000000000 - 0007f00000]
  #0 [0000000000 - 0000ach node
early_node_map[2] active PFN ranges
    0: 0x00000010 -> 0x0000009f
    0: 0x00000100 -> 0x00007f00
Local APIC disabled by BIOS -- you can enable it with "lapic"
Allocating PCI resources starting at 10000000 (gap: 7f00000:f7c00000)
Built 1 zoy cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 125700k/130048k available (1471k kernel code, 3752k reserved, 742k 
data, 188k init, 0k highmem)
virtual kernel memory l, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 237.56 BogoMIPS (lpj=1187840)
Mount-cache hash table entries: 512
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU serial number disabled.
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: It 0xfb3e0, last bus=1
PCI: Using configuration type 1 for base access
PCI: Probing PCI hardware
pci 0000:00:1f.0: quirk: region 0400-047f claimed by ICH4 ACPI/GPIO/TCO
pci 0000:00:1f.0: quirk: region 0480-04bf claimed by ICH4 GPIO
pci 0000:01:08.0: PME
pci 0000:00:1e.0:   IO window: 0xc000-0xcfff
pci 0000:00:1e.0:   MEM window: 0xe4000000-0xe5ffffff
pci 0000:00:1e.0:   PREFETCH window: 0x00000010000000-0x000000102fffff
bus: 00 index 0 io port: [0x00-0xffff]
l family 1dex 1 mmio: [0x000000-0xffffffff]
platform rtc_cmos: registered platform RTC device (no PNP device found)
scx200: NatSemi SCx200 Driver
Microcode Update Driver: v2.00 <[email protected]>, Peter Oruba
squashfs: version 3.0 (2006/03/15) Phillip Lougher
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12ac
Non-volatile memory driver v1.2
Serial: 8250/16550 driver2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Uniform Multi-Platform E-IDE driver
piix 0000:00:1f.1: IDE controller (0x8086:0x244b rev 0x05)
piix 0000:00:1f.1: not 100% native mode: will probe hdc: Transcend 128M, CFA 
DISK drive
hdc: tPIO > 2, assuming tPIO = 2
hdc: tPIO > 2, assuming tPIO = 2
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide_generic: please use "probe_mask=0x3f" module parameter for probing all 
legacy ISA IDE ports
ide-gd driver 1.18
hdc: max request size: 128KiB
hdc: 250368 sectors (128 MB) w/2KiB Cache, CHS=978/8/32
 hdc: hdc1 hdc2
Creating 1 MTD partitions on "/dev/hdc2":
0x00000000-0x040 <[email protected]>
IO APIC resources could be not be allocated.
Using IPI Shortcut mode
input: AT Translated Set 2 keyboard as 
/devices/platform/i8042/serio0/input/input0
logips2pp: Detected unknown logitech mouse model 62
input: ImExPS/2 Logitech Explorer Mouse as 
/devices/platform/i8042/serio1/input/input1
CLEANMARKER node found at 0x0066de00, not first node in block (0x0066d000)



jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0066e000: 0xfb1d 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0066e004: 0x0006 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0066f014: 0xfd97 
instead
Node at 0x0066edbc with length 0x000008b1 would run over the end of the erase 
block
Perhaps the file system was created with the wrong erase size?
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0066edc0: 0x08b1 
instead
jffs2_scan_eraseblock(
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0066f018: 0xc674 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0066f01c: 0xa6d3 
instead
jffs22_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00670008: 0x3e8d 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0067000c: 0xaf61 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00670010: 0x7f31 
instead
e block
Perhaps the file system was created with the wrong erase size?
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00671000: 0x85ce 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00671004: 0x979a 
instead
jffs2_scan found at 0x00671020: 0x5d08 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00671024: 0xe87a 
instead
Further such events for this erase block will not be printed
Node at 0x00671bd4 with length 0x00000be4 would run over the end of th4: 0xbb82 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00672018: 0xb886 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0067201c: 0xa8f6 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006 0x4871 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0067300c: 0x731b 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00673010: 0xda84 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00673e?
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00674000: 0xcbb6 
instead

[...]   Some messages are deleted.

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a4000: 0xd0fc 
instead
jffs2_scound at 0x007a401c: 0xd935 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a4020: 0x6efc 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a4024: 0x4c4f 
instead
Further such events for this erase block will nd at 0x007a5010: 0xa117 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a5014: 0xf9eb 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a5018: 0x7cb2 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not x7f69 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a6008: 0xaecd 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a600c: 0x39f4 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a601 of the 
erase block
Perhaps the file system was created with the wrong erase size?
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a7000: 0x5d5a 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a7004: 0x27bb 
insteadot found at 0x007a7020: 0x25be instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a7024: 0xaa34 
instead
Further such events for this erase block will not be printed
Node at 0x007a7bc8 with length 0x000004ae would run over the end of found at 
0x007a8014: 0x1ca3 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a8018: 0xc5c0 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a801c: 0x60f3 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 
 Online 00:02
Mounted root (jffs2 filesystem) readonly.
Freeing unused kernel memory: 188k freed
Please be patient, while OpenWrt loads ...
JFFS2 warning: (1) jffs2_do_read_inode_internal: Truncating ino #17 to 374624 
bytes failed because it only had 372736 bytes 
 Online 00:03
 Online 00:04
 Online 00:05
 Online 00:06
 Online 00:07
 Online 00:08
 Online 00:09
 Online 00:10
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to