Hello, We have compiled the OpenWrt attitude adjustment release for the "Ubiquiti RouterStation Pro" and it flashes fine.
But after enabling tracing support in the kernel under Kernel hacking->Tracers and in the .config (CONFIG_KERNEL_FTRACE), the router doesn't boot anymore. This is the output it displayed while booting: AR8316 PHY found on MAC0 AR8316 PHY found on MAC1 Ethernet eth0: MAC address 00:15:6d:c4:23:c4 IP: 192.168.1.20/255.255.255.0, Gateway: 0.0.0.0 Default server: 0.0.0.0 RedBoot(tm) bootstrap and debug environment [ROMRAM] Ubiquiti Networks certified release, version 0.9.00318M.0905121200 - built 12:01:38, M9 Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. Board: Ubiquiti RouterStation PRO Arch: ar7100pro RAM: 0x80000000-0x88000000, [0x8003bf00-0x87fe1000] available Flash: 0xbf000000-0xc0000000, in 256 blocks of 0x00010000 bytes each == Executing boot script in 1.000 seconds - enter ^C to abort RedBoot> fis load -d -e kernel Trying LZMA decompression... Image loaded from 0x80060000-0x803ddf44 Image is not ELF, skipping ELF parsing... RedBoot> exec Now booting linux kernel: Base address 0x80050000 Entry 0x80060000 memsize=0x08000000 modetty0=0,n,8,1,hw board=RouterStation PRO ethaddr=00.15.6d.c4.23.c4 [ 0.000000] Linux version 3.3.8 (root@kapitza2) (gcc version 4.6.3 20120201 (prerel3 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 00019374(MIPS 24Kc) [ 0.000000] SoC: Atheros AR7161 rev 2 [ 0.000000] Clocks: CPU:720.000MHz, DDR:360.000MHz, AHB:180.000MHz, Ref:40.000MHz [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 08000000 @00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone PFN ranges: [ 0.000000] Normal 0x00000000 -> 0x00008000 [ 0.000000] Movable zone start PFN for each node [ 0.000000] Early memory PFN ranges [ 0.000000] 0: 0x00000000 -> 0x00008000 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 322 [ 0.000000] Kernel command line: board=UBNT-RSPRO console=ttyS0,115200 ethaddr=00.d [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] Writing ErrCtl register=00010222 [ 0.000000] Readback ErrCtl register=00010222 [ 0.000000] Memory: 125592k/131072k available (2633k kernel code, 5480k reserved, 6) [ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:51 [ 0.000000] Calibrating delay loop... 479.23 BogoMIPS (lpj=2396160) [ 0.060000] pid_max: default: 32768 minimum: 301 [ 0.060000] Mount-cache hash table entries: 512 [ 0.060000] ftrace: allocating 9405 entries in 19 pages [ 0.080000] NET: Registered protocol family 16 [ 0.090000] gpiochip_add: registered GPIOs 0 to 15 on device: ath79 [ 0.090000] MIPS: machine is Ubiquiti RouterStation Pro [ 0.400000] registering PCI controller with io_map_base unset [ 2.710000] bio: create slab <bio-0> at 0 [ 2.710000] PCI host bridge to bus 0000:00 [ 2.720000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x16ffffff] [ 2.720000] pci_bus 0000:00: root bus resource [io 0x0000] [ 2.730000] pci 0000:00:12.0: BAR 0: assigned [mem 0x10000000-0x1000ffff] [ 2.730000] pci 0000:00:12.0: using irq 41 for pin 1 [ 2.740000] Switching to clocksource MIPS [ 2.750000] NET: Registered protocol family 2 [ 2.750000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 2.750000] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 2.760000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 2.770000] TCP: Hash tables configured (established 4096 bind 4096) [ 2.770000] TCP reno registered [ 2.780000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 2.780000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 2.790000] NET: Registered protocol family 1 [ 2.810000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 2.810000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) . [ 2.820000] msgmni has been set to 245 [ 2.830000] io scheduler noop registered [ 2.830000] io scheduler deadline registered (default) [ 2.840000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 2.860000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A [ 2.870000] console [ttyS0] enabled, bootconsole disabled [ 2.870000] console [ttyS0] enabled, bootconsole disabled [ 2.880000] m25p80 spi0.0: found mx25l12805d, expected m25p80 [ 2.890000] m25p80 spi0.0: mx25l12805d (16384 Kbytes) [ 2.900000] Searching for RedBoot partition table in spi0.0 at offset 0xfe0000 [ 2.920000] Searching for RedBoot partition table in spi0.0 at offset 0xff0000 [ 2.950000] 5 RedBoot partitions found on MTD device spi0.0 [ 2.960000] Creating 5 MTD partitions on "spi0.0": [ 2.960000] 0x000000000000-0x000000030000 : "RedBoot" [ 2.970000] 0x000000030000-0x000000140000 : "kernel" [ 2.980000] 0x000000140000-0x000000ff0000 : "rootfs" [ 2.980000] mtd: partition "rootfs" set to be root filesystem [ 2.990000] mtd: partition "rootfs_data" created automatically, ofs=2C0000, len=D30 [ 3.000000] 0x0000002c0000-0x000000ff0000 : "rootfs_data" [ 3.000000] 0x000000ff0000-0x000000fff000 : "FIS directory" [ 3.010000] 0x000000fff000-0x000001000000 : "RedBoot config" [ 3.130000] ag71xx_mdio: probed [ 3.140000] eth0: Atheros AG71xx at 0xb9000000, irq 4 [ 3.470000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd0] [ 3.480000] eth1: Atheros AG71xx at 0xba000000, irq 5 [ 3.810000] eth1: Atheros AR8316 switch driver attached. [ 3.810000] ar8316: Using port 4 as PHY [ 3.900000] ag71xx ag71xx.1: eth1: connected to PHY at ag71xx-mdio.0:00 [uid=004dd0] [ 3.910000] TCP cubic registered [ 3.920000] NET: Registered protocol family 17 [ 3.920000] 8021q: 802.1Q VLAN Support v1.8 [ 3.930000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. [ 3.940000] Freeing unused kernel memory: 284k freed - preinit - [ 5.210000] CPU 0 Unable to handle kernel paging request at virtual address 5b6e6fb8 [ 5.220000] Oops[#1]: [ 5.220000] Cpu 0 [ 5.220000] $ 0 : 00000000 80173b38 5b6e6f6e 80358228 [ 5.220000] $ 4 : 80358228 87b844d0 87839d08 00000000 [ 5.220000] $ 8 : 0000720a 87b4c00600000010 fffffff8 [ 5.220000] $12 : 87839cec 0000000000000022 00480000 [ 5.220000] $16 : 87839d08 87b503b000000002 87b844d0 [ 5.220000] $20 : 80391b60 87839e00 87b84208 87ae1518 [ 5.220000] $24 : 00000010 770c9be8 [ 5.220000] $28 : 87838000 87839cc8 87839cd0 80173b38 [ 5.220000] Hi : 00000010 [ 5.220000] Lo : 00000041 [ 5.220000] epc : 801738c8 sysfs_attr_ns+0x58/0xd8 [ 5.220000] Tainted: G O [ 5.220000] ra : 80173b38 sysfs_add_file_mode+0x50/0x104 [ 5.220000] Status: 1000f403 KERNEL EXL IE [ 5.220000] Cause : 00800008 [ 5.220000] BadVA : 5b6e6fb0 [ 5.220000] PrId : 00019374 (MIPS 24Kc) [ 5.220000] Modules linked in: ledtrig_timer ledtrig_default_on leds_gpio gpio_butt) [ 5.220000] Process preinit (pid: 1, threadinfo=87838000, task=87830000, tls=771724) [ 5.220000] Stack : 87839cd8 801348688748c720 87839e48 00000000 8748c7cc00000000 0 [ 5.220000] 87839cf8 80173b3800000005 0c845883 ffffffea 8749920000000041 0 [ 5.220000] 8748c720 0000020087839d20 800e6fec 8748c720 87b84104 87b503b0 4 [ 5.220000] 80390000 0000000687839d40 80173c14 803957c0 87839d48 ffffffff 1 [ 5.220000] 811021b0 80395d7c 87839d60 80173d64 00776359 0077635900000000 8 [ 5.220000] ... [ 5.220000] Call Trace: [ 5.220000] [<801738c8>] sysfs_attr_ns+0x58/0xd8 [ 5.220000] [ 5.220000] [ 5.220000] Code: 24c69edc 0805ce42 2403fffe [ 5.220000] 10c0000c 00001021 8c820014 50400012 8c670000 [ 5.380000] ---[ end trace c5dd06b812a5fdda ]--- [ 5.380000] Kernel panic - not syncing: Attempted to kill init! We assume that this may be caused by the size of the kernel, that it might be too big [1], but we are not sure. Do you have any suggestions how to fix this and flash the kernel with tracing still enabled? Thank you in advance! Signe Rüsch [1] https://dev.openwrt.org/ticket/11140
_______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-users
