OpenWrt Forum Archive

Topic: Help Extroot BARRIER BREAKER (Bleeding Edge, r38342) comtrend

The content of this topic has been archived on 18 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi , pleease i try mount usb hdd 500 gb Samsung , and configurate extroot but , i dont know why not workred!

please help me any tutorial?

config 'global'
        option  anon_swap       '0'
        option  anon_mount      '0'
        option  auto_swap       '1'
        option  auto_mount      '1'
        option  delay_root      '5'
        option  check_fs        '0'

config 'swap'
        option  device  '/dev/sda5'
        option  enabled '1'

config 'mount'
        option  target  '/mnt/datos'
        option  device  '/dev/sda6'
        option  uuid    'f35a337e-ff42-cf01-2052-337eff42cf01'
        option  enabled '1'

config 'mount'
        option  device '/dev/sda7'
        option  target  '/'
        option  uuid    'b3bfe3b1-ff42-cf01-20be-e3b1ff42cf01'
        option  enabled '1'
        option fstype 'ext3'
        option  options 'rw,sync'
        option enabled_fsck '0'

this is /etc/config/fstab

and df -h

Filesystem                Size      Used Available Use% Mounted on
rootfs                   11.6M     10.5M      1.1M  91% /
/dev/root                 3.3M      3.3M         0 100% /rom
tmpfs                    30.1M     40.0K     30.1M   0% /tmp
/dev/mtdblock3           11.6M     10.5M      1.1M  91% /overlay
overlayfs:/overlay       11.6M     10.5M      1.1M  91% /
tmpfs                   512.0K         0    512.0K   0% /dev

any idea?

thx

this dmesg

root@OpenWrt:~# dmesg
[    0.000000] Linux version 3.10.13 (noltari@skynet) (gcc version 4.6.4 (OpenWr                                                t/Linaro GCC 4.6-2013.05 r38342) ) #1 Wed Oct 9 01:41:39 CEST 2013
[    0.000000] Detected Broadcom 0x6328 CPU revision b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: 1.0.37-110.11-2
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 96328A-1441N1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 802dea70, node_mem_map 8100000                                                0
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 16 bytes.
[    0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16                                                 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag                                                es: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jff                                                s2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 61432k/65536k available (2348k kernel code, 4104k reserve                                                d, 614k data, 236k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.036000] Calibrating delay loop... 318.46 BogoMIPS (lpj=636928)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.048000] NET: Registered protocol family 16
[    0.276000] registering PCI controller with io_map_base unset
[    0.288000] bio: create slab <bio-0> at 0
[    0.292000] PCI host bridge to bus 0000:00
[    0.296000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.300000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.304000] pci_bus 0000:00: No busn resource found for root bus, will use [b                                                us 00-ff]
[    0.308000] pci 0000:00:00.0: [14e4:6328] type 01 class 0x060400
[    0.308000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.308000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), rec                                                onfiguring
[    0.312000] pci 0000:01:00.0: [14e4:a8d8] type 00 class 0x028000
[    0.312000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.312000] pci 0000:01:00.0: supports D1 D2
[    0.312000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.312000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[    0.312000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.316000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bi                                                t]
[    0.320000] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.324000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.328000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.332000] Switching to clocksource MIPS
[    0.340000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.348000] bcma: bus0: Found chip with id 0xA8D9, rev 0x01 and package 0x08
[    0.356000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev                                                 0x22, class 0x0)
[    0.364000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev                                                 0x17, class 0x0)
[    0.372000] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F,                                                 class 0x0)
[    0.380000] bcma: bus0: Found rev 6 PMU (capabilities 0x108C2606)
[    0.380000] bcma: bus0: SPROM offset 0x800
[    0.464000] bcma: bus0: Invalid SPROM read from the PCIe card, trying to use                                                 fallback SPROM
[    0.472000] bcm63xx_sprom_bcma: filled sprom for chip id 0xa8d9
[    0.476000] bcma: bus0: Using SPROM revision 8 provided by platform.
[    0.476000] bcma: bus0: PMU resource config unknown or not needed for device                                                 0xA8D9
[    0.480000] bcma: bus0: Workarounds unknown or not needed for device 0xA8D9
[    0.488000] bcma: bus0: GPIO driver not activated
[    0.488000] bcma: bus0: Bus registered
[    0.492000] NET: Registered protocol family 2
[    0.496000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.504000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.512000] TCP: Hash tables configured (established 512 bind 512)
[    0.516000] TCP: reno registered
[    0.520000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.528000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.532000] NET: Registered protocol family 1
[    0.540000] PCI: CLS 0 bytes, default 16
[    0.540000] audit: initializing netlink socket (disabled)
[    0.548000] type=2000 audit(0.548:1): initialized
[    0.552000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.560000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT                                                Y) (c) 2001-2006 Red Hat, Inc.
[    0.568000] msgmni has been set to 119
[    0.576000] io scheduler noop registered
[    0.580000] io scheduler deadline registered (default)
[    0.584000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_                                                uart
[    0.592000] console [ttyS0] enabled, bootconsole disabled
[    0.612000] m25p80 spi1.0: found mx25l12805d, expected m25p80
[    0.616000] m25p80 spi1.0: mx25l12805d (16384 Kbytes)
[    0.624000] bcm63xxpart: CFE boot tag found with version 6 and board type 963                                                28A-1441N1
[    0.632000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.636000] bcm63xxpart: Partition 1 is kernel offset 10100 and length 10ff00
[    0.644000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length ed000                                                0
[    0.652000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.660000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.668000] bcm63xxpart: Spare partition is offset 450004 and length b9fffc
[    0.676000] 5 bcm63xxpart partitions found on MTD device spi1.0
[    0.680000] Creating 5 MTD partitions on "spi1.0":
[    0.684000] 0x000000000000-0x000000010000 : "CFE"
[    0.692000] 0x000000010100-0x000000120000 : "kernel"
[    0.700000] mtd: partition "kernel" must either start or end on erase block b                                                oundary or be smaller than an erase block -- forcing read-only
[    0.716000] 0x000000120000-0x000000ff0000 : "rootfs"
[    0.724000] mtd: partition "rootfs" set to be root filesystem
[    0.728000] mtd: partition "rootfs_data" created automatically, ofs=0x450000,                                                 len=0xba0000
[    0.736000] 0x000000450000-0x000000ff0000 : "rootfs_data"
[    0.744000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.752000] 0x000000010000-0x000000ff0000 : "linux"
[    0.804000] b53_common: found switch: BCM63xx, rev 0
[    0.812000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.820000] TCP: cubic registered
[    0.824000] NET: Registered protocol family 17
[    0.828000] 8021q: 802.1Q VLAN Support v1.8
[    0.844000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.856000] Freeing unused kernel memory: 236K (802f5000 - 80330000)
[    6.412000] usbcore: registered new interface driver usbfs
[    6.420000] usbcore: registered new interface driver hub
[    6.424000] usbcore: registered new device driver usb
[    6.440000] Button Hotplug driver version 0.4.1
[    6.528000] SCSI subsystem initialized
[    6.548000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.556000] ehci-platform: EHCI generic platform driver
[    6.664000] ehci-platform ehci-platform: EHCI Host Controller
[    6.668000] ehci-platform ehci-platform: new USB bus registered, assigned bus                                                 number 1
[    6.676000] ehci-platform ehci-platform: irq 50, io mem 0xb0002500
[    6.696000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurr                                                ent ignored
[    6.704000] hub 1-0:1.0: USB hub found
[    6.708000] hub 1-0:1.0: 1 port detected
[    6.720000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    6.724000] ohci-platform ohci-platform: Generic Platform OHCI Controller
[    6.732000] ohci-platform ohci-platform: new USB bus registered, assigned bus                                                 number 2
[    6.740000] ohci-platform ohci-platform: irq 49, io mem 0xb0002600
[    6.808000] hub 2-0:1.0: USB hub found
[    6.812000] hub 2-0:1.0: 1 port detected
[    6.828000] usbcore: registered new interface driver usb-storage
[    6.840000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/i                                                nput/input0
[    7.124000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full                                                -duplex
[    7.132000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 3, 100Mbps, full                                                -duplex
[    7.140000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full                                                -duplex
[    7.280000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    7.440000] usb-storage 1-1:1.0: USB Mass Storage device detected
[    7.444000] scsi0 : usb-storage 1-1:1.0
[   10.492000] scsi 0:0:0:0: Direct-Access     WDC WD50 00BEKT-60KA9T0        PQ                                                : 0 ANSI: 2 CCS
[   11.004000] jffs2: notice: (252) jffs2_build_xattr_subsystem: complete buildi                                                ng xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 7 of xref (0 dead, 0                                                 orphan) found.
[   13.220000] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465                                                 GiB)
[   13.236000] sd 0:0:0:0: [sda] Write Protect is off
[   13.240000] sd 0:0:0:0: [sda] Mode Sense: 28 00 00 00
[   13.244000] sd 0:0:0:0: [sda] No Caching mode page found
[   13.248000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   13.276000] sd 0:0:0:0: [sda] No Caching mode page found
[   13.280000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   13.300000]  sda: sda1 < sda5 sda6 sda7 >
[   13.332000] sd 0:0:0:0: [sda] No Caching mode page found
[   13.340000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   13.344000] sd 0:0:0:0: [sda] Attached SCSI disk
[   14.180000] Adding 2097148k swap on /dev/sda5.  Priority:-1 extents:1 across:                                                2097148k
[   14.476000] EXT4-fs (sda6): mounting ext3 file system using the ext4 subsyste                                                m
[   14.552000] EXT4-fs error (device sda6): ext4_ext_check_inode:464: inode #8:                                                 comm block: bad header/extent: invalid magic - magic 224, entries 0, max 549(0),                                                 depth 0(0)
[   14.568000] EXT4-fs (sda6): no journal found
[   14.900000] NET: Registered protocol family 10
[   14.924000] nf_conntrack version 0.5.0 (963 buckets, 3852 max)
[   14.944000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   14.988000] Loading modules backported from Linux version master-2013-06-27-0                                                -gdcfa6d5
[   14.996000] Backport generated by backports.git backports-20130617-4-ge3220f5
[   15.020000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.044000] lib80211: common routines for IEEE802.11 drivers
[   15.048000] lib80211_crypt: registered algorithm 'NULL'
[   15.052000] lib80211_crypt: registered algorithm 'CCMP'
[   15.056000] lib80211_crypt: registered algorithm 'TKIP'
[   15.060000] lib80211_crypt: registered algorithm 'WEP'
[   15.140000] xt_time: kernel timezone is -0000
[   15.152000] usbcore: registered new interface driver zd1201
[   15.204000] cfg80211: Calling CRDA to update world regulatory domain
[   15.212000] cfg80211: World regulatory domain updated:
[   15.220000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gai                                                n, max_eirp)
[   15.228000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 20                                                00 mBm)
[   15.236000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 20                                                00 mBm)
[   15.244000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 20                                                00 mBm)
[   15.252000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 20                                                00 mBm)
[   15.260000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 20                                                00 mBm)
[   15.436000] usbcore: registered new interface driver p54usb
[   15.448000] PPP generic driver version 2.4.2
[   15.456000] NET: Registered protocol family 24
[   15.488000] usbcore: registered new interface driver rt73usb
[   15.508000] usbcore: registered new interface driver rtl8187
[   15.536000] usbcore: registered new interface driver usb8xxx
[   15.552000] usbcore: registered new interface driver zd1211rw
[   15.656000] usbcore: registered new interface driver brcmfmac
[   15.732000] brcmsmac bcma0:0: mfg 4bf core 812 rev 23 class 0 irq 31
[   15.740000] bcma: bus0: Switched to core: 0x812
[   15.744000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.788000] usbcore: registered new interface driver carl9170
[   15.816000] usbcore: registered new interface driver rt2500usb
[   15.856000] usbcore: registered new interface driver rt2800usb
[   15.912000] usbcore: registered new interface driver ath9k_htc
[   15.944000] usbcore: registered new interface driver rtl8192cu
[   19.972000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full                                                -duplex
[   19.980000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 3, 100Mbps, full                                                -duplex
[   19.988000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full                                                -duplex
[   22.092000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full                                                -duplex
[   22.100000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 3, 100Mbps, full                                                -duplex
[   22.108000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full                                                -duplex
[   22.120000] device eth0.1 entered promiscuous mode
[   22.124000] device eth0 entered promiscuous mode
[   22.156000] br-lan: port 1(eth0.1) entered forwarding state
[   22.160000] br-lan: port 1(eth0.1) entered forwarding state
[   23.084000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   24.164000] br-lan: port 1(eth0.1) entered forwarding state
[   30.780000] EXT4-fs (sda6): mounting ext2 file system using the ext4 subsyste                                                m
[   30.824000] EXT4-fs error (device sda6): ext4_ext_check_inode:464: inode #8:                                                 comm mount: bad header/extent: invalid magic - magic 224, entries 0, max 549(0),                                                 depth 0(0)
[   30.840000] EXT4-fs (sda6): no journal found
[   31.128000] EXT4-fs (sda7): couldn't mount as ext2 due to feature incompatibi   

very THX

[   14.476000] EXT4-fs (sda6): mounting ext3 file system using the ext4 subsyste                                                m
[   14.552000] EXT4-fs error (device sda6): ext4_ext_check_inode:464: inode #8:                                                 comm block: header/extent: invalid magic - magic 224, entries 0, max 549(0),                                                 depth 0(0)
[   14.568000] EXT4-fs (sda6): no journal found


[   30.780000] EXT4-fs (sda6): mounting ext2 file system using the ext4 subsyste                                                m
[   30.824000] EXT4-fs error (device sda6): ext4_ext_check_inode:464: inode #8:                                                 comm mount: bad header/extent: invalid magic - magic 224, entries 0, max 549(0),                                                 depth 0(0)
[   30.840000] EXT4-fs (sda6): no journal found
[   31.128000] EXT4-fs (sda7): couldn't mount as ext2 due to feature incompatibi   


Maybe this is your problem?

Here is the video, where some guy installing openwrt AA and then making extroot via luci, but it is in russian. Still it may help you http://www.youtube.com/watch?v=2mlFc2IK3yE

(Last edited by valentin2208 on 20 Mar 2014, 12:32)

U know any tutorial step to step , to configurate a router with ext root! for this model and fw.

thx friend

The discussion might have continued from here.