Sziasztok!
Építettem magamnak egy OpenWRT-t hogy boot közben az SD kártyát csatolja fel a /jffs-be és ezzel sokkal több helyem legyen csomagok részére mint a flash fennmaradó részén (http://oldwiki.openwrt.org/ReplaceJFFS2WithExternalMedia.html) de ezt kapom boot-kor:
CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Tue Aug 7 17:14:08 CST 2007 (crazy@sw1.rd)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.Initializing Arena
Initializing Devices.No DPN
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.37.0
CPU type 0x29008: 200MHz
Total memory: 16384 KBytesTotal memory used by CFE: 0x80300000 - 0x803A39B0 (670128)
Initialized Data: 0x803398C0 - 0x8033BFD0 (10000)
BSS Area: 0x8033BFD0 - 0x8033D9B0 (6624)
Local Heap: 0x8033D9B0 - 0x803A19B0 (409600)
Stack Area: 0x803A19B0 - 0x803A39B0 (8192)
Text (code) segment: 0x80300000 - 0x803398C0 (235712)
Boot area (physical): 0x003A4000 - 0x003E4000
Relocation Factor: I:00000000 - D:00000000Boot version: v3.7
The boot is CFEmac_init(): Find mac [XX:XX:XX:XX:XX:XX] in location 0
Nothing...eou_key_init(): Find key pair in location 0
The eou device id is same
The eou public key is same
The eou private key is same
Device eth0: hwaddr XX-XX-XX-XX-XX-XX, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Reading :: Failed.: Timeout occured
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3760 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
CPU revision is: 00029008
Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, linesize 16 bytes.
Linux version 2.4.35.4 (hunbalazs@BG1) (gcc version 3.4.6 (OpenWrt-2.0)) #11 Sat Jul 18 18:16:49 CEST 2009
Setting the PFC to its default value
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
CPU: BCM5352 rev 0 at 200 MHz
Using 100.000 MHz high precision timer.
Calibrating delay loop... 199.47 BogoMIPS
Memory: 14260k/16384k available (1425k kernel code, 2124k reserved, 100k data, 84k init, 0k highmem)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: no core
PCI: Fixing up bus 0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Registering mini_fo version $Id$
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
b44.c:v0.93 (Mar, 2004)
eth0: Broadcom 47xx 10/100BaseT Ethernet 00:1d:7e:bc:c9:f2
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x400000 at 0x1c000000
bootloader size: 262144
Physically mapped flash: Filesystem type: squashfs, size=0x188f37
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x003f0000 : "linux"
0x000bb000-0x00250000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x00250000-0x003f0000 : "rootfs_data"
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.8 Ben Greear
All bugs added by David S. Miller
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 84k freed
Algorithmics/MIPS FPU Emulator v1.5
mount: mounting sysfs on /sys failed: No such device
mount: mounting devfs on /dev failed: Device or resource busy
- preinit -
Press CTRL-C for failsafe
diag: Detected 'Linksys WRT54G/GS/GL'
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
roboswitch: Probing device eth0: found!
switch-robo 5180 0 (unused)
switching to jffs2
[INFO] mmc_hardware_init: initializing GPIOs
[INFO] mmc_card_init: the period of a 380KHz frequency lasts 524 CPU cycles
[INFO] mmc_card_init: powering card on. sending 80 CLK
[INFO] mmc_card_init: 80 CLK sent in 43646 CPU cycles
[INFO] mmc_card_init: resetting card (CMD0)
[INFO] mmc_card_init: doing initialization loop
[INFO] mmc_card_init: card inited successfully in 620 tries (19126861 CPU cycles).
[INFO] mmc_init: MMC/SD Card ID:
02 54 4d 53 44 35 31 32 28 82 6e cf 33 00 6b f3 [INFO] Manufacturer ID : 02
[INFO] OEM/Application ID: TM
[INFO] Product name : SD512
[INFO] Product revision : 2.8
[INFO] Product SN : 826ecf33
[INFO] Product Date : 2006-11
[INFO] mmc_card_config: size = 500224, hardsectsize = 512, sectors = 1000448
[WARN] mmc_init: hd_sizes=500224, hd[0].nr_sects=1000448
[INFO] mmc_card_init: set_blocklen (CMD16) succeeded !
Partition check:
mmca: p1
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
mini_fo: meta_build_lists: ERROR, fs does not support reading.
- init -Please press Enter to activate this console. jffs2.bbc: SIZE compression mode activated.
mini_fo: meta_build_lists: ERROR, fs does not support reading.
VFS: Busy inodes after unmount. Self-destruct in 5 seconds. Have a nice day...
Unhandled kernel unaligned access in unaligned.c::emulate_load_store_insn, line 481:
$0 : 00000000 1000ec00 62696c2f 00000001 80e66a80 80190000 80df1440 802130c8
$8 : 1000ec01 00020000 80c63dc0 7fff7efc ffffffff 00020000 0001ffff 00000008
$16: 2d646c2f 00000000 80c67220 80ca33e0 80c63dc0 80c63f30 00000000 004ca87c
$24: 00000000 00000000 80c62000 80c63d18 00000000 8004e0d8
Hi : 00000000
Lo : 0000003d
epc : 80062390 Not tainted
Status: 1000ec03
Cause : 00000010
PrId : 00029008
Process uci (pid: 100, stackpage=80c62000)
Stack: 802bbc60 00442b3f 00442b80 00000003 80ca33e0 80ca33f8 8004e0d8
80ca33e0 80063304 00006012 2aaa8000 00000001 80df16c0 8021b4a0 80038ac8
80038a10 8018c8e0 800570cc 00000000 00000000 8018c8e0 800570cc 00000000
00000000 800418e8 80041874 80c63dc0 00000000 00000000 802b7000 00000000
802b7000 004d0a6c 004ca8f4 80c63f30 00000000 80041b04 80041af0 00000000
00000000 ...
Call Trace: [<8004e0d8>] [<80063304>] [<80038ac8>] [<80038a10>] [<800570cc>]
[<800570cc>] [<800418e8>] [<80041874>] [<80041b04>] [<80041af0>] [<80008404>]
[<80008a60>] [<8000f330>] [<8005bb0c>]Code: 8c820000 1040000a 8c900004 <8c43004c> 10600007 00000000 8c63000c 10600004 00000000
Unable to handle kernel paging request at virtual address 00000008, epc == 80026ea4, ra == 80027900
Oops in fault.c::do_page_fault, line 206:
$0 : 00000000 1000ec00 00000000 00000000 80df14c0 80cbdee0 80cbde90 80027744
$8 : 00000000 00000000 00000054 00000000 80df1440 00000000 801e6024 2ab98320
$16: 80df1460 00000fff 80df14c0 80df1440 ffffffea 80cbdee0 004cfa60 80df14c0
$24: 801a15d4 2ab9f540 80cbc000 80cbde30 00000000 80027900
Hi : 00000000
Lo : 0000001b
epc : 80026ea4 Not tainted
Status: 1000ec03
Cause : 00000008
PrId : 00029008
Process S10boot (pid: 97, stackpage=80cbc000)
Stack: 00c7269b 004c6894 00c7279f 800233dc 80cbdee0 7f342138 80dfa2a0
00000000 80df1460 00000fff 00000000 80df1440 ffffffea 80cbdee0 004cfa60
80df14c0 00000000 80027900 80011758 004d2af0 80da7a40 8018c5bc 8004fd44
00000000 00000000 00000fff 004cfa60 00000000 80df1460 80df14c0 ffffffea
80df1440 ffffffea 80df1460 00000000 004cf78c 00000000 80062638 0000000b
8017c820 ...
Call Trace: [<800233dc>] [<80027900>] [<80011758>] [<8004fd44>] [<80062638>]
[<80048648>] [<80037be4>] [<80037644>] [<8003763c>] [<80008a60>] [<8005bb0c>]Code: 8c820008 afa50010 00809021 <8c420008> afa70014 8c5300b8 8e760020 96c40030 10800009
Unhandled kernel unaligned access in unaligned.c::emulate_load_store_insn, line 481:
$0 : 00000000 1000ec00 80e66a80 80ca32e0 62696c2f 8014dd44 8014e6a4 00000063
$8 : 00000011 8029b000 00001000 00000002 8017cba0 00000000 00000001 00000001
$16: 2d646c2f 00000001 00000001 00000009 8029b011 00000009 00000001 00000003
$24: 00000000 00000000 80ca6000 80ca7e20 ffffffff 80062104
Hi : 00000000
Lo : 00000000
epc : 8006211c Not tainted
Status: 1000ec03
Cause : 00000010
PrId : 00029008
Process S10boot (pid: 102, stackpage=80ca6000)
Stack: 80f86c20 00000009 00000000 80ca7f00 80ca32e0 00000009 00000000
80ca7f00 8004354c fffffffe 800434c8 6d006574 80f86c20 ffffffec 80f86c20
00000000 800440e4 800440cc 80c97ea0 80ca6000 8000b484 8000b420 8029b009
00000008 7498a549 6f63006e 00000000 726f665f 8029b000 80ca7f00 00000000
004ca814 00000000 004d0000 8004478c 80044774 616f6c5f 79730064 6d657473
70706100 ...
Call Trace: [<8004354c>] [<800434c8>] [<800440e4>] [<800440cc>] [<8000b484>]
[<8000b420>] [<8004478c>] [<80044774>] [<80044968>] [<800405e4>] [<800072d8>]
[<80037644>] [<8003763c>] [<80008a60>] [<8000f1b8>] [<8005bb0c>]Code: 8c440000 1080000a 8c500004 <8c82004c> 10400007 00000000 8c420000 10400004 00000000
ASSERTION FAILED: src != NULL at mini_fo.h:413 (fist_copy_attr_all)
Unable to handle kernel paging request at virtual address 00000000, epc == 80065d44, ra == 80065d44
Oops in fault.c::do_page_fault, line 206:
$0 : 00000000 1000ec00 00000047 00000000 8018a8c0 00000001 00000001 8018a8d0
$8 : 00000000 000024c6 000024c6 0000247f 801a0000 801a0000 801a0000 ffffffff
$16: 00000000 80c67220 00000000 004ca7ac 00000000 004d0000 00000001 00000000
$24: 00000002 00000002 80d34000 80d35ec8 ffffffff 80065d44
Hi : 00000000
Lo : 00000000
epc : 80065d44 Not tainted
Status: 1000ec03
Cause : 0000000c
PrId : 00029008
Process S10boot (pid: 94, stackpage=80d34000)
Stack: 80da6000 8014d5c8 8014d5bc 0000019d 80143f3c 80d35f30 00000000
7fff4ab0 00000001 80040614 004c8d34 004cf6dc 00000000 800072d8 80ca33e0
8021b4a0 00000000 00000000 000002a9 00000009 00000001 00000000 004ca7bc
7fff4b40 80008a60 80005a88 004d2af0 004cf77c 00000000 004d2b0c ffffffff
00000000 00000000 1000ec00 00001075 0000002f 004ca7bc 7fff4ab0 7fff4ab0
7fff7fbd ...
Call Trace: [<8014d5c8>] [<8014d5bc>] [<80143f3c>] [<80040614>] [<800072d8>]
[<80008a60>] [<80005a88>] [<8005bb0c>]
és ezzel nincs vége, ha hagyom akkor telerakja a terminált a hibákkal ezért leállítottam és idáig kimásoltam a minicom-ból.
A szerencsés router egy WRT54GL v1.1 (SD/MMC mod és serial).
- 2438 megtekintés