Seite 2 von 2 ErsteErste 12
Ergebnis 21 bis 37 von 37

Thema: FB 7412 Hardware & Firmware

  1. #21
    IPPF Achttausend-VIP Avatar von PeterPawn
    Registriert seit
    10.05.2006
    Ort
    Berlin
    Beiträge
    8.184
    Ich habe mal die 06.83 mit der Änderung an der "/etc/inittab" gebootet (nur bei der Zeile für die "rc.S") und dabei wird dann der "slow-bootmode" für den DECT-Treiber verwendet:
    Code:
    [avm_debug] redirecting kernel-messages (/dev/debug)
    [    9.380000] [module-alloc-by-name] give 0xe000 bytes at 0x81121000 to module 'Piglet_noemif' (0xb9f000 bytes left)
    [    9.380000] [piglet]use settings for 209(2 gpios from hw_config)
    
    [    9.490000] [piglet]patch_dectfw: c0220000, totallen = 44929(af81)
    [    9.490000] [piglet]patch_dectfw: patch_adress: a0 max_len: 26 with Version 2 Len: 17
    [    9.490000] [piglet]patch_dectfw: RFPI tag found 02966bfac8
    [    9.490000] [piglet]patch_dectfw: dectmode 19
    [    9.500000] 
    [38m
    [piglet]===== shared usage of UART (DECT and CONSOLE) - unusual characters shown: ====
    
    [8m
    [    9.510000] [piglet]dect_loader144xx: slow-bootmode
    [    9.770000] <FE>
    [   10.490000] system-load 3 loadavg 0.37 0.8 0.3 - 37 tasks:60 % curr:modprobe(10 %) max:init(30 %, pid:1) pgstat: sum=26658 free=22444 slab=2772 alloc=1610/s fault=2273/s (sleep 1)
    [   10.570000] *
    [   10.860000] ***************************************************************************************
    [   12.820000] [piglet]dect144xx_file_process: upload of '/lib/modules/dectfw_secondlevel_441.hex' successfull
    [   12.830000] 
    
    
    
    
    
    
    [piglet]===== end of shared usage of UART (DECT and CONSOLE) ====
    [0m
    [   14.940000] [piglet]TDM: FS: 8005 Hz CLK: 4601685 Hz  (SPITDM)
    Das alleine ist es also noch nicht - das ist auch (bis auf die eine Änderung an der "/etc/inittab") eine unveränderte originale AVM-Version.

    Wobei das Witzige an der Situation auch ist, daß es bei der 06.50 (mit /dev/ttyS0 in der rc.S-Zeile) auch nicht anders aussieht, wenn ich die 06.50 booten lasse:
    Code:
    [avm_debug] redirecting kernel-messages (/dev/debug)
    [    9.990000] [module-alloc-by-name] give 0xe000 bytes at 0x81120000 to module 'Piglet_noemif' (0xb2c000 bytes left)
    [   10.000000] [piglet]use settings for 209(2 gpios from hw_config)
    
    [   10.100000] [piglet]patch_dectfw: c021a000, totallen = 45653(b255)
    [   10.100000] [piglet]patch_dectfw: patch_adress: a0 max_len: 26 with Version 2 Len: 17
    [   10.100000] [piglet]patch_dectfw: RFPI tag found 02966bfac8
    [   10.100000] [piglet]patch_dectfw: dectmode 19
    [   10.110000] 
    [38m
    [piglet]===== shared usage of UART (DECT and CONSOLE) - unusual characters shown: ====
    
    [8m
    [   10.110000] [piglet]dect_loader144xx: slow-bootmode
    [   10.870000] system-load 100 % loadavg 0.37 0.8 0.3 - 39 tasks:61 % curr:modprobe(7 %) max:init(33 %, pid:1), readytorun: 1, pgfault 1114/s (max 1 avg 0.0)
    [   10.940000] *
    [   11.240000] *****************************************************************************************
    [   13.230000] [piglet]dect144xx_file_process: upload of '/lib/modules/dectfw_secondlevel_441.hex' successfull
    [   13.250000] 
    
    
    
    
    
    
    [piglet]===== end of shared usage of UART (DECT and CONSOLE) ====
    [0m
    [   15.360000] [piglet]TDM: FS: 8005 Hz CLK: 4025840 Hz  (SPITDM)
    Da stellt sich dann die Frage, wie ich meine 7412 (interessieren würde mich das aber erst ab 06.5x und dem 3.10er-Kernel - die 06.30 ist für mich "out of sight") überhaupt dazu bringen kann/soll, daß da ein "fast-bootmode" in Erwägung gezogen wird. Ich werde das noch mit einigen Starts verifizieren - im Moment habe ich die DECT-Funktion nicht in Benutzung (der Treiber wird trotzdem geladen) und ich muß mir erst mal ein DECT-Gerät suchen, was ich bei der Aktivierung auch anmelden kann.

    Vielleicht hat sich das Problem auch mit der 06.83 bereits generell erledigt? Ich habe keine eigene Toolchain für die 7412 und im Moment auch keine Lust, mir eine (weitere) zuzulegen. Wenn jemand ein Image haben sollte, was bei ihm nicht starten will, mache ich gerne die Gegenprobe - mehr kann ich aber im Moment (abseits von ein paar kleineren Tests mit AVM-Firmware, um erst mal die Auslöser für "fast-bootmode" vs. "slow-bootmode" zu ergründen) nicht anbieten.

    Ich habe mal den Teil mit dem Laden des "piglet"-Treibers bei einer 7490 (intl.) herausgesucht ... auch dort gibt es offenbar einen "slow-bootmode"; aber es fehlen die Zeilen zur "shared usage of UART":
    Code:
    [avm_debug] redirecting kernel-messages (/dev/debug)
    [   11.390000] [module-alloc-by-name] give 0xe000 bytes at 0x81225000 to module 'Piglet_noemif' (0xae4000 bytes left)
    [   11.400000] [piglet]use settings for 185(7 gpios from hw_config)
    
    [   11.500000] [piglet]patch_dectfw: c07e9000, totallen = 48681(be29)
    [   11.500000] [piglet]patch_dectfw: patch_adress: a0 max_len: 26 with Version 2 Len: 17
    [   11.500000] [piglet]patch_dectfw: RFPI tag found 02970b1c98
    [   11.500000] [piglet]dect_loader144xx: slow-bootmode
    [   12.310000] system-load 4 loadavg 0.37 0.8 0.3 - 39 tasks:57 % curr:modprobe(4 %) max:init(31 %, pid:1) pgstat: sum=59197 free=54878 slab=2784 alloc=1906/s fault=3454/s (sleep 2)
    [   12.390000] *
    [   12.680000] ***********************************************************************************************
    [   14.800000] [piglet]dect144xx_file_process: upload of '/lib/modules/dectfw_secondlevel_441.hex' successfull
    [   16.830000] [piglet]bitfile for autodetect '/lib/modules/bitfile_isdn.bit'
    [   16.830000] [piglet]try to preload in progress-context: /lib/modules/bitfile_isdn.bit
    [   17.580000] [piglet] bitfile 72761 bytes done
    [   22.680000] [piglet]use preload[0] /lib/modules/bitfile_pots.bit
    [   23.400000] [piglet] bitfile 72761 bytes done
    [   23.400000] [piglet]-> POTS-Mode
    [   23.500000] [piglet]TDM: FS: 8005 Hz CLK: 2047890 Hz
    Bei der 7490 ist - nur nebenbei - das DECT dann aktiviert und in Benutzung. Ich werde das zwar bei der 7412 noch einmal testen, aber damit sind auch meine Hoffnungen, daß es einen Zusammenhang zur Frage "DECT aktiviert oder nicht" gibt bei der Entscheidung für den "bootmode", wieder deutlich gesunken.

    Die Zeilen mit den Sternen würde ich dann auch eher als eine Art Fortschrittsanzeige beim Laden der DECT-Firmware interpretieren ... die besteht ja auch aus zwei Teilen, von denen der erste sehr kurz und der zweite wesentlich länger ist.

    Aber wie überredet man die Box nun zu diesem "fast-bootmode" wie in #10 zu sehen? Oder gibt es den (und damit ggf. auch die Probleme damit) in Firmware >= 06.5x gar nicht mehr?

    Alles etwas vage ... schon der (angenommene) Zusammenhang zwischen dem Freetz-Absturz bei der 7412 und dem "Piglet_noemif.ko" muß vielleicht erst einmal richtig verifiziert werden und das geht wieder nur dann (ich unterstelle mal, daß die Lösung mit Hardware für die serielle Schnittstelle tatsächlich das Ergebnis verfälscht oder selbst ein Problem darstellt), wenn man ein funktionierendes und ein nicht funktionierendes System auf derselben Box hat und ggf. das Panic-Log des anderen Systems im TFFS wiederfindet.

    Ich scheitere jedenfalls regelmäßig schon daran, die Box überhaupt (reproduzierbar) zu einem Problem zu bewegen ... auch beim ersten Versuch mit dem Image von Eugene hatte ich ja nur einen einzigen Absturz und danach keine weiteren Probleme. Das hatte ich zwar schon einmal als Problem (bei der Suche nach diesem dämlichen Fehler mit dem Telefonie-Daemon und den USB-Geräten, der auch als "walking dead" in Erscheinung trat und den ich aus unerklärlichen Gründen nie bei mir reproduzieren konnte), aber dieses Problem hier sollte sich doch irgendwie packen lassen. Sollte also jemand ein Freetz-Image mit einem 3.10er-Kernel haben (wie gesagt, Versionen davor haben Scheunentore anstelle von Lücken und da will ich auch nichts dazu beitragen, daß die noch irgendjemand auf einer 7412 verwenden kann), mit dem seine 7412 reproduzierbar abstürzt, dann nehme ich das gerne mal zum Testen - die bisherigen Versuche (ein Image von @er13, ein paar Modifikationen (wie sie Freetz auch machen würde) an einer originalen AVM-Firmware) haben leider nicht dazu geführt, daß meine Box (dauerhaft) abgestürzt wäre.

    EDIT:
    Bei der 7412 wird der serielle Port über die Kernel-Commandline gesetzt und da steht bei mir:
    Code:
    [    0.000000] Linux version 3.10.73 (jpluschke@Version_42885_C16_7412) (gcc version 4.8.3 (Buildroot 2014.08) ) #1 SMP Tue Feb 7 16:47:48 CET 2017
    [    0.000000] [env_init] 0x8103bf04[0]
    [    0.000000] [env_init] 0x8103bf44[1]
    [    0.000000] [env_init] 0x8103c044[2]
    [    0.000000] [env_init] switch to ram location
    [    0.000000] [init_avm_kernel_config] AVM Kernel Config (ptr 80847000)
    [    0.000000] [init_avm_kernel_config] AVM Kernel Config: module memory entry
    [    0.000000] [init_avm_kernel_config] AVM Kernel Config: version info entry
    [    0.000000] [init_avm_kernel_config] AVM Kernel Config: device-tree for subrev 0 found
    [    0.000000] bootconsole [early0] enabled
    [    0.000000] CPU0 revision is: 00019556 (MIPS 34Kc)
    [    0.000000] Determined physical RAM map:
    [    0.000000]  memory: 08000000 @ 00000000 (usable)
    [    0.000000] Initrd not found or empty - disabling initrd
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x00000000-0x07ffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
    [    0.000000] On node 0 totalpages: 32768
    [    0.000000] free_area_init_node: node 0, pgdat 8083dde0, node_mem_map 81003000
    [    0.000000]   Normal zone: 256 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 32768 pages, LIFO batch:7
    [    0.000000] [module-alloc] use 0xbca000 bytes at 0x81104000
    [    0.000000] [0]lsmtc_smp_setup tcstatus=18102400
    [    0.000000] 1 available secondary CPU TC(s)
    [    0.000000] [avm_cache_set_coherency]: setting cache coherency for HWRevision=209 to write back allocate 
    [    0.000000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
    [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
    [    0.000000] PERCPU: Embedded 7 pages/cpu @81cd2000 s7072 r8192 d13408 u32768
    [    0.000000] pcpu-alloc: s7072 r8192 d13408 u32768 alloc=8*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    [    0.000000] Kernel command line: test1=y test2=n console=ttyS0,115200n8r nor_size=0MB sflash_size=0KB nand_size=128MB ethaddr=5C:49:79:57:47:5A tffsver=3 
    [    0.000000] [NAND] nand_size = 0x8000000
    [    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] Writing ErrCtl register=0000dce0
    [    0.000000] Readback ErrCtl register=0000dce0
    [    0.000000] Memory: 108388k/131072k available (5583k kernel code, 22684k reserved, 2948k data, 292k init, 0k highmem)
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000] NR_IRQS:181
    [    0.000000] SRSConf0 0x3feffbfe: SRS1: 0xffffffff, SRS2 0xffffffff, SRS3 0xffffffff
    [    0.000000] Lantiq ICU driver, version 3.0.1, (c) 2001-2011 Lantiq Deutschland GmbH
    [    0.000000] Console: colour dummy device 80x25
    [    0.000000] console [ttyS0] enabled, bootconsole disabled
    [    0.020000] Calibrating delay loop... 331.77 BogoMIPS (lpj=1658880)
    [    0.080000] pid_max: default: 32768 minimum: 301
    [    0.080000] Security Framework initialized
    [    0.080000] Mount-cache hash table entries: 512
    [    0.090000] I-cache flushes single-threaded
    [    0.090000] D-cache flushes single-threaded
    [    0.090000] Limit of 2 TCs set
    [    0.090000] TLB of 32 entry pairs shared by 2 VPEs
    [    0.090000] VPE 0: TC 0, VPE 1: TC 1
    [    0.090000] IPI buffer pool of 8 buffers
    [    0.090000] CPU1 revision is: 00019556 (MIPS 34Kc)
    [    0.170000] TC 1 going on-line as CPU 1
    [    0.170000] Brought up 2 CPUs
    [    0.170000] [yield_context_init] cpu=1 tc=2 mask=301
    [    0.180000] [yield_context_init] cpu=0 tc=3 mask=2410
    [    0.180000] devtmpfs: initialized
    [    0.200000] pinctrl core: initialized pinctrl subsystem
    [    0.200000] Creating Config Table 
    [    0.200000] [avm_generate_hw_config_table_from_device_tree] gpio_cnt: 31
    [    0.210000] NET: Registered protocol family 16
    [    0.220000] FPU Affinity set after 5000 emulations
    [    0.220000] avm_check_cpu_features: mips-options: 0x006d638b icache.flags 0x00000000 dcache.flags 0x00000004 isa_level 0x00000063 ases 00000031
    [    0.230000] [TFFS3_Early_Init] called
    [    0.240000] avm_alloc_page_extension node_extension_table[0] entries=32768 (size=131072)  alloced
    [    0.240000] Reboot Status is: Power-On 
    [    0.250000] [avmnet] [avmnet_cfg_init] Driver version: 6.247  -  Revision 1496:3622  -  Di 7. Feb 16:46:58 CET 2017
    [    0.260000] Port 0 PLL REGFILE
    [    0.260000] PCIE_PHY_PLL_CTRL1    0x8e39
    [    0.260000] PCIE_PHY_PLL_CTRL2    0x0183
    [    0.260000] PCIE_PHY_PLL_CTRL3    0x0042
    [    0.260000] PCIE_PHY_PLL_CTRL4    0x0000
    [    0.260000] PCIE_PHY_PLL_CTRL5    0x0000
    [    0.260000] PCIE_PHY_PLL_CTRL6    0x0000
    [    0.260000] PCIE_PHY_PLL_CTRL7    0x0000
    [    0.260000] PCIE_PHY_PLL_A_CTRL1  0x120e
    [    0.260000] PCIE_PHY_PLL_A_CTRL2  0x39d7
    [    0.260000] PCIE_PHY_PLL_A_CTRL3  0x0900
    [    0.260000] PCIE_PHY_PLL_STATUS   0x0000
    [    0.260000] TX1 REGFILE
    [    0.260000] PCIE_PHY_TX1_CTRL1    0x0009
    [    0.260000] PCIE_PHY_TX1_CTRL2    0x2e00
    [    0.260000] PCIE_PHY_TX1_CTRL3    0x1fff
    [    0.260000] PCIE_PHY_TX1_A_CTRL1  0x0810
    [    0.260000] PCIE_PHY_TX1_A_CTRL2  0x0706
    [    0.260000] PCIE_PHY_TX1_MOD1     0x0000
    [    0.260000] PCIE_PHY_TX1_MOD2     0x0000
    [    0.260000] PCIE_PHY_TX1_MOD3     0x0180
    [    0.260000] TX2 REGFILE
    [    0.260000] PCIE_PHY_TX2_CTRL1    0x0009
    [    0.260000] PCIE_PHY_TX2_CTRL2    0x3096
    [    0.260000] PCIE_PHY_TX2_A_CTRL1  0x8010
    [    0.260000] PCIE_PHY_TX2_A_CTRL2  0x4707
    [    0.260000] PCIE_PHY_TX2_MOD1     0x0000
    [    0.260000] PCIE_PHY_TX2_MOD2     0x0000
    [    0.260000] PCIE_PHY_TX2_MOD3     0x0180
    [    0.260000] RX1 REGFILE
    [    0.260000] PCIE_PHY_RX1_CTRL1    0x0001
    [    0.260000] PCIE_PHY_RX1_CTRL2    0x3000
    [    0.260000] PCIE_PHY_RX1_CDR      0x0235
    [    0.260000] PCIE_PHY_RX1_EI       0x0004
    [    0.260000] PCIE_PHY_RX1_A_CTRL   0x6803
    [    0.270000] Port 0 PLL REGFILE
    [    0.270000] PCIE_PHY_PLL_CTRL1    0x38e4
    [    0.270000] PCIE_PHY_PLL_CTRL2    0x03ee
    [    0.270000] PCIE_PHY_PLL_CTRL3    0x0000
    [    0.270000] PCIE_PHY_PLL_CTRL4    0x1b72
    [    0.270000] PCIE_PHY_PLL_CTRL5    0xfae3
    [    0.270000] PCIE_PHY_PLL_CTRL6    0x3a04
    [    0.270000] PCIE_PHY_PLL_CTRL7    0x0002
    [    0.270000] PCIE_PHY_PLL_A_CTRL1  0x120e
    [    0.270000] PCIE_PHY_PLL_A_CTRL2  0x39d7
    [    0.270000] PCIE_PHY_PLL_A_CTRL3  0x2900
    [    0.270000] PCIE_PHY_PLL_STATUS   0x0070
    [    0.270000] TX1 REGFILE
    [    0.270000] PCIE_PHY_TX1_CTRL1    0x0009
    [    0.270000] PCIE_PHY_TX1_CTRL2    0x2e00
    [    0.270000] PCIE_PHY_TX1_CTRL3    0x1fff
    [    0.270000] PCIE_PHY_TX1_A_CTRL1  0x0810
    [    0.270000] PCIE_PHY_TX1_A_CTRL2  0x0706
    [    0.270000] PCIE_PHY_TX1_MOD1     0x1ffe
    [    0.270000] PCIE_PHY_TX1_MOD2     0xfffe
    [    0.270000] PCIE_PHY_TX1_MOD3     0x0001
    [    0.270000] TX2 REGFILE
    [    0.270000] PCIE_PHY_TX2_CTRL1    0x0009
    [    0.270000] PCIE_PHY_TX2_CTRL2    0x3096
    [    0.270000] PCIE_PHY_TX2_A_CTRL1  0x8010
    [    0.270000] PCIE_PHY_TX2_A_CTRL2  0x4707
    [    0.270000] PCIE_PHY_TX2_MOD1     0x1ffe
    [    0.270000] PCIE_PHY_TX2_MOD2     0xfffe
    [    0.270000] PCIE_PHY_TX2_MOD3     0x0001
    [    0.270000] RX1 REGFILE
    [    0.270000] PCIE_PHY_RX1_CTRL1    0x0001
    [    0.270000] PCIE_PHY_RX1_CTRL2    0x3000
    [    0.270000] PCIE_PHY_RX1_CDR      0x0235
    [    0.270000] PCIE_PHY_RX1_EI       0x0004
    [    0.270000] PCIE_PHY_RX1_A_CTRL   0x6803
    [    0.870000] Lantiq PCIe Root Complex driver, version 2.0.0, (c) 2001-2011 Lantiq Deutschland GmbH
    [    0.920000] bio: create slab <bio-0> at 0
    [    0.920000] PCI host bridge to bus 0000:00
    [    0.930000] pci_bus 0000:00: root bus resource [mem 0x1c000000-0x1cffffff]
    [    0.930000] pci_bus 0000:00: root bus resource [io  0x1d800000-0x1d8fffff]
    [    0.940000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
    [    0.950000] pci 0000:00:00.0: [1bef:0011] type 01 class 0x060000
    [    0.950000] ifx_pcie_rc_class_early_fixup port 0: fixed pcie host bridge to pci-pci bridge
    [    0.960000] pci 0000:00:00.0: PME# supported from D0 D3hot
    [    0.960000] pci 0000:01:00.0: [168c:ff1c] type 00 class 0x020000
    [    0.960000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x0000ffff 64bit]
    [    0.960000] pci 0000:01:00.0: supports D1
    [    0.960000] pci 0000:01:00.0: PME# supported from D0 D1 D3hot
    [    0.960000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
    [    0.960000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
    [    0.960000] pci 0000:00:00.0: BAR 8: assigned [mem 0x1c000000-0x1c0fffff]
    [    0.960000] pci 0000:01:00.0: BAR 0: assigned [mem 0x1c000000-0x1c00ffff 64bit]
    [    0.970000] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    0.980000] pci 0000:00:00.0:   bridge window [mem 0x1c000000-0x1c0fffff]
    [    0.990000] NET: Registered protocol family 8
    [    0.990000] NET: Registered protocol family 20
    [    0.990000] Switching to clocksource MIPS
    [    1.060000] NET: Registered protocol family 2
    [    1.060000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
    [    1.070000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
    [    1.070000] TCP: Hash tables configured (established 1024 bind 1024)
    [    1.080000] TCP: reno registered
    [    1.080000] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    1.090000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    1.100000] avm_pa: try to activate hw accelaration for pid 1 (ipv4)
    [    1.100000] NET: Registered protocol family 1
    [    1.110000] PCI: CLS 0 bytes, default 32
    [    1.110000] Lantiq CGU driver, version 1.1.32, (c) 2001-2011 Lantiq Deutschland GmbH
    [    1.130000] IFX DMA driver, version ifxmips_dma_core.c:v1.0.17, (c) 2009 Infineon Technologies AG
     skb_shared_size:184
    [    1.140000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    1.150000] fuse init (API version 7.22)
    [    1.150000] yaffs: yaffs built Feb  7 2017 16:46:28 Installing.
    [    1.150000] msgmni has been set to 211
    [    1.160000] io scheduler noop registered (default)
    [    1.160000] [avm_membench_init]
    [    1.500000] ttyS0 at MMIO 0x1e100c00 (irq = 107) is a PORT_IFX_ASC
    [    1.510000] ifx_usif_uart_init: uart_register_driver failed
    [    1.510000] avm_net_trace: Up and running.
    [    1.520000] [loadcontrol] set auto - scale=1
    [    1.520000] [avm] configured: watchdog event debug 
    [    1.520000] AVM_WATCHDOG: Watchdog Driver for AR7 Hardware (Version 1.0, build: Feb  7 2017 16:46:36)
    [    1.530000] Lantiq Thermal Sensor driver, version 1.0.3, (c) 2001-2011 Lantiq Deutschland GmbH
    [    1.530000] ifx_pmu_init: Major 244
    [    1.540000] Lantiq PMU driver, version 1.2.6, (c) 2001-2011 Lantiq Deutschland GmbH
    [    1.540000] Lantiq GPIO driver, version 1.3.2, (c) 2001-2011 Lantiq Deutschland GmbH
    [    1.550000] Infineon Technologies RCU driver version 1.0.7 
    [    1.570000] loop: module loaded
    [    1.570000] nbd: registered device at major 43
    [    1.600000] Generic platform RAM MTD, (c) 2004 Simtec Electronics
    [    1.600000] [HSNAND] Toshiba-BENAND
    [    1.610000] NAND device: Manufacturer ID: 0x98, Chip ID: 0xf1 (Toshiba NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
    [    1.620000] Scanning device for bad blocks
    [    1.650000] {tsh_read_ecc} status 0xe1
    [    1.660000] [ifx_hsnand_command] read block failed (column: 0x800 page: 0x5ec0)
    [    1.660000] Bad eraseblock 379 at 0x000002f60000
    [    1.700000] {tsh_read_ecc} status 0xe1
    [    1.710000] [ifx_hsnand_command] read block failed (column: 0x800 page: 0xc000)
    [    1.710000] Bad eraseblock 768 at 0x000006000000
    [    1.740000] badblock statistics:
    --------------------
      start block = 0
      num blocks  = 1024
      bad blocks  = 2
    [    1.760000] 
      >> The following table summarize all badblocks to visualize the distribution
      block [ start | count | size/kB ] (start block, number of blocks)
      ---------------------------------                    
    [    1.780000]   block [   379 |     1 |     128 ]
    [    1.790000]   block [   768 |     1 |     128 ]
    [    1.790000]         [ ======================= ]
            [      >>     2 |     256 ]
    [    1.800000] Creating 8 MTD partitions on "ifx_hsnand":
    [    1.800000] 0x000000440000-0x000000840000 : "reserved-kernel"
    [    1.810000] 0x000000840000-0x000003840000 : "reserved-filesystem"
    [    1.820000] 0x000003840000-0x000003c40000 : "kernel"
    [    1.830000] 0x000003c40000-0x000006c40000 : "filesystem"
    [    1.830000] 0x000006c40000-0x000006e40000 : "config"
    [    1.840000] 0x000006e40000-0x000008000000 : "nand-filesystem"
    [    1.850000] 0x000000000000-0x000000040000 : "urlader"
    [    1.860000] 0x000000040000-0x000000440000 : "nand-tffs"
    [    1.860000] [TFFS3_Register_NAND] Called
    [    1.870000] [TFFS3_Register_Panic_CB] registering panic callback for mtd ifx_hsnand
    [    1.870000] tun: Universal TUN/TAP device driver, 1.6
    [    1.880000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    [    1.880000] IFX SWITCH API, Version 1.1.8.5
    [    1.880000] SWAPI: Registered character device [switch_api] with major no [81]
    [    1.890000] Switch API: PCE MicroCode loaded !!
    [    1.890000] i2c /dev entries driver
    [    1.900000] cpuidle: using governor ladder
    [    1.900000] cpuidle: using governor menu
    [    1.900000] AVM PA for Linux 3.10.73
    [    1.910000] AVM PA skb pktinfo at offset 136 size 208
    [    1.910000] [loadcontrol]module avm_pa registered
    [    1.920000] u32 classifier
    [    1.920000]     Performance counters on
    [    1.920000]     Actions configured
    [    1.930000] ipip: IPv4 over IPv4 tunneling driver
    [    1.930000] TCP: cubic registered
    [    1.930000] NET: Registered protocol family 10
    [    1.940000] avm_pa: try to activate hw accelaration for pid 2 (ipv6)
    [    1.950000] sit: IPv6 over IPv4 tunneling driver
    [    1.950000] NET: Registered protocol family 17
    [    1.960000] Bridge broadcast ratelimiter registered
    [    1.960000] KOAM is loaded successfully.
    [    1.960000] l2tp_core: L2TP core driver, V2.0
    [    1.960000] l2tp_ip: L2TP IP encapsulation support (L2TPv3)
    [    1.970000] l2tp_netlink: L2TP netlink interface
    [    1.970000] l2tp_eth: L2TP ethernet pseudowire support (L2TPv3)
    [    1.980000] l2tp_ip6: L2TP IP encapsulation support for IPv6 (L2TPv3)
    [    1.990000] 8021q: 802.1Q VLAN Support v1.8
    [    1.990000] Key type dns_resolver registered
    [    2.000000] [TFFS3-NAND] NAND storage backend for TFFS 3.x
    [    2.000000] [TFFS3-NAND] scanning block at address 0x0
    [    2.010000] [TFFS3-NAND] found TFFS header magic at address 0x0, version 0x30000
    [    2.010000] [scan_block] blk_addr: 0x0 blkseq_nr: 0x81 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.060000] [TFFS3-NAND] scanning block at address 0x20000
    [    2.060000] [TFFS3-NAND] found TFFS header magic at address 0x20000, version 0x30000
    [    2.070000] [scan_block] blk_addr: 0x20000 blkseq_nr: 0xfe sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x2
    [    2.120000] [TFFS3-NAND] scanning block at address 0x40000
    [    2.120000] [TFFS3-NAND] found TFFS header magic at address 0x40000, version 0x30000
    [    2.130000] [scan_block] blk_addr: 0x40000 blkseq_nr: 0x112 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0xa
    [    2.180000] [TFFS3-NAND] scanning block at address 0x60000
    [    2.180000] [TFFS3-NAND] found TFFS header magic at address 0x60000, version 0x30000
    [    2.190000] [scan_block] blk_addr: 0x60000 blkseq_nr: 0x102 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x5
    [    2.230000] [TFFS3-NAND] scanning block at address 0x80000
    [    2.240000] [TFFS3-NAND] found TFFS header magic at address 0x80000, version 0x30000
    [    2.240000] [scan_block] blk_addr: 0x80000 blkseq_nr: 0xfc sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x8
    [    2.290000] [TFFS3-NAND] scanning block at address 0xa0000
    [    2.290000] [TFFS3-NAND] found TFFS header magic at address 0xa0000, version 0x30000
    [    2.300000] [scan_block] blk_addr: 0xa0000 blkseq_nr: 0xfd sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x8
    [    2.350000] [TFFS3-NAND] scanning block at address 0xc0000
    [    2.350000] [TFFS3-NAND] found TFFS header magic at address 0xc0000, version 0x30000
    [    2.360000] [scan_block] blk_addr: 0xc0000 blkseq_nr: 0x114 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x5
    [    2.400000] [TFFS3-NAND] scanning block at address 0xe0000
    [    2.410000] [TFFS3-NAND] found TFFS header magic at address 0xe0000, version 0x30000
    [    2.420000] [scan_block] blk_addr: 0xe0000 blkseq_nr: 0x88 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.460000] [TFFS3-NAND] scanning block at address 0x100000
    [    2.470000] [TFFS3-NAND] found TFFS header magic at address 0x100000, version 0x30000
    [    2.470000] [scan_block] blk_addr: 0x100000 blkseq_nr: 0xa9 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x2
    [    2.520000] [TFFS3-NAND] scanning block at address 0x120000
    [    2.520000] [TFFS3-NAND] found TFFS header magic at address 0x120000, version 0x30000
    [    2.530000] [scan_block] blk_addr: 0x120000 blkseq_nr: 0x106 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x8
    [    2.580000] [TFFS3-NAND] scanning block at address 0x140000
    [    2.580000] [TFFS3-NAND] found TFFS header magic at address 0x140000, version 0x30000
    [    2.590000] [scan_block] blk_addr: 0x140000 blkseq_nr: 0xf5 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x7
    [    2.640000] [TFFS3-NAND] scanning block at address 0x160000
    [    2.640000] [TFFS3-NAND] found TFFS header magic at address 0x160000, version 0x30000
    [    2.650000] [scan_block] blk_addr: 0x160000 blkseq_nr: 0xec sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x6
    [    2.690000] [TFFS3-NAND] scanning block at address 0x180000
    [    2.700000] [TFFS3-NAND] found TFFS header magic at address 0x180000, version 0x30000
    [    2.700000] [scan_block] blk_addr: 0x180000 blkseq_nr: 0xf6 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x7
    [    2.750000] [TFFS3-NAND] scanning block at address 0x1a0000
    [    2.760000] [TFFS3-NAND] found TFFS header magic at address 0x1a0000, version 0x30000
    [    2.760000] [scan_block] blk_addr: 0x1a0000 blkseq_nr: 0x111 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0xb
    [    2.810000] [TFFS3-NAND] scanning block at address 0x1c0000
    [    2.810000] [TFFS3-NAND] found TFFS header magic at address 0x1c0000, version 0x30000
    [    2.820000] [scan_block] blk_addr: 0x1c0000 blkseq_nr: 0x113 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x4
    [    2.860000] [TFFS3-NAND] scanning block at address 0x1e0000
    [    2.870000] [TFFS3-NAND] found TFFS header magic at address 0x1e0000, version 0x30000
    [    2.870000] [scan_block] blk_addr: 0x1e0000 blkseq_nr: 0xff sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x2
    [    2.920000] [TFFS3-NAND] scanning block at address 0x200000
    [    2.920000] [TFFS3-NAND] found TFFS header magic at address 0x200000, version 0x30000
    [    2.930000] [scan_block] blk_addr: 0x200000 blkseq_nr: 0xf9 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x7
    [    2.980000] [TFFS3-NAND] scanning block at address 0x220000
    [    2.980000] [TFFS3-NAND] found TFFS header magic at address 0x220000, version 0x30000
    [    2.990000] [scan_block] blk_addr: 0x220000 blkseq_nr: 0x103 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x4
    [    3.040000] [TFFS3-NAND] scanning block at address 0x240000
    [    3.040000] [TFFS3-NAND] found TFFS header magic at address 0x240000, version 0x30000
    [    3.050000] [scan_block] blk_addr: 0x240000 blkseq_nr: 0x115 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x5
    [    3.070000] [TFFS3-NAND] scanning block at address 0x260000
    [    3.080000] [TFFS3-NAND] found TFFS header magic at address 0x260000, version 0x30000
    [    3.080000] [scan_block] blk_addr: 0x260000 blkseq_nr: 0xc5 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x3
    [    3.130000] [TFFS3-NAND] scanning block at address 0x280000
    [    3.130000] [TFFS3-NAND] found TFFS header magic at address 0x280000, version 0x30000
    [    3.140000] [scan_block] blk_addr: 0x280000 blkseq_nr: 0xc6 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x3
    [    3.190000] [TFFS3-NAND] scanning block at address 0x2a0000
    [    3.190000] [TFFS3-NAND] found TFFS header magic at address 0x2a0000, version 0x30000
    [    3.200000] [scan_block] blk_addr: 0x2a0000 blkseq_nr: 0x100 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x2
    [    3.240000] [TFFS3-NAND] scanning block at address 0x2c0000
    [    3.250000] [TFFS3-NAND] found TFFS header magic at address 0x2c0000, version 0x30000
    [    3.260000] [scan_block] blk_addr: 0x2c0000 blkseq_nr: 0xc7 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x3
    [    3.300000] [TFFS3-NAND] scanning block at address 0x2e0000
    [    3.310000] [TFFS3-NAND] found TFFS header magic at address 0x2e0000, version 0x30000
    [    3.310000] [scan_block] blk_addr: 0x2e0000 blkseq_nr: 0xf7 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x7
    [    3.360000] [TFFS3-NAND] scanning block at address 0x300000
    [    3.360000] [TFFS3-NAND] found TFFS header magic at address 0x300000, version 0x30000
    [    3.370000] [scan_block] blk_addr: 0x300000 blkseq_nr: 0xfa sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x7
    [    3.420000] [TFFS3-NAND] scanning block at address 0x320000
    [    3.420000] [TFFS3-NAND] found TFFS header magic at address 0x320000, version 0x30000
    [    3.430000] [scan_block] blk_addr: 0x320000 blkseq_nr: 0xf1 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x6
    [    3.470000] [TFFS3-NAND] scanning block at address 0x340000
    [    3.480000] [TFFS3-NAND] found TFFS header magic at address 0x340000, version 0x30000
    [    3.490000] [scan_block] blk_addr: 0x340000 blkseq_nr: 0xfb sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x2
    [    3.530000] [TFFS3-NAND] scanning block at address 0x360000
    [    3.540000] [TFFS3-NAND] found TFFS header magic at address 0x360000, version 0x30000
    [    3.540000] [scan_block] blk_addr: 0x360000 blkseq_nr: 0x104 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x5
    [    3.570000] [TFFS3-NAND] scanning block at address 0x380000
    [    3.570000] [TFFS3-NAND] found TFFS header magic at address 0x380000, version 0x30000
    [    3.580000] [scan_block] blk_addr: 0x380000 blkseq_nr: 0xe9 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x3
    [    3.600000] [TFFS3-NAND] scanning block at address 0x3a0000
    [    3.610000] [TFFS3-NAND] found TFFS header magic at address 0x3a0000, version 0x30000
    [    3.610000] [scan_block] blk_addr: 0x3a0000 blkseq_nr: 0xb8 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x2
    [    3.640000] [TFFS3-NAND] scanning block at address 0x3c0000
    [    3.640000] [TFFS3-NAND] found TFFS header magic at address 0x3c0000, version 0x30000
    [    3.650000] [scan_block] blk_addr: 0x3c0000 blkseq_nr: 0xe3 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x2
    [    3.670000] [TFFS3-NAND] scanning block at address 0x3e0000
    [    3.680000] [TFFS3-NAND] found TFFS header magic at address 0x3e0000, version 0x30000
    [    3.690000] [scan_block] blk_addr: 0x3e0000 blkseq_nr: 0xa0 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    3.740000] [TFFS3-NAND] Initialisation successful, 32/32/32 NAND blocks active, fill rate 14%
    [    3.750000] TFFS: tiny flash file system driver. GPL (c) AVM Berlin (Version 3.0)
    [    3.750000] Adam2 environment variables API installed.
    [    3.760000] AVM Simple Profiling enabled Version 3.0
    [    3.760000] [simple-profiling]:2 performance counters implemented, NEW_34K
    [    3.770000] [simple-profiling]Enable Performance Counter 0 for Data cache load/stores (User Supervisor Kernel Exception TC-ID=0) all cores tc: 0
    [    3.780000] [simple-profiling]Enable Performance Counter 1 for Data cache load/store misses (User Supervisor Kernel Exception TC-ID=0) all cores tc: 0
    [    3.790000] [simple-profiling]Enable Performance Counter 0 for Data cache load/stores (User Supervisor Kernel Exception TC-ID=1) all cores tc: 1
    [    3.810000] [simple-profiling]Enable Performance Counter 1 for Data cache load/store misses (User Supervisor Kernel Exception TC-ID=1) all cores tc: 1
    [    3.820000] [simple-profiling]Enable Performance Counter 0 for Main pipeline stalls (P) (User Supervisor Kernel Exception TC-ID=2) all cores tc: 2
    [    3.830000] [simple-profiling]Enable Performance Counter 1 for Cycles (P) (User Supervisor Kernel Exception TC-ID=2) all cores tc: 2
    [    3.840000] [simple-profiling]Enable Performance Counter 0 for Data cache load/stores (User Supervisor Kernel Exception TC-ID=3) all cores tc: 3
    [    3.860000] [simple-profiling]Enable Performance Counter 1 for Data cache load/store misses (User Supervisor Kernel Exception TC-ID=3) all cores tc: 3
    [    3.870000] [simple-profiling]all cores:performance-mode (round-robin):  cpus on
    [    3.880000] {avmnet_cfg_netinit}
    [    3.880000] [avmnet] No config found for HWRev 209, HWSubRev 1, Profile-ID 0, trying base config for HWSubRev
    [    3.890000] [avmnet] No config found for HWRev 209, HWSubRev 1, trying base config for HWRev
    [    3.900000] [avmnet] [avmnet_swi_7port_init] Init on module swi_vr9 called.
    [    3.910000] [avmnet] [fix_phy_clock_config]: Could not read external PHY clock pin data from avm_hw_config!
    [    4.070000] Loading AVM Net Common Datapath Driver for 7Port Switch...... 
    [    4.070000] [ppe_eth_init] init_hw()
    [    4.070000] [init_hw] ppe_hw_init=0xff successful
    [    4.070000] [ppe_eth_init] ifx_proc_file_create()
    [    4.080000] [ppe_eth_init] dma_setup_init()
    [    4.090000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown unicast frames 0x7b
    [    4.100000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown multicast frames 0x7b
    [    5.240000] avm_pa: try to activate hw accelaration for pid 1 (ipv4)
    [    5.240000] avm_pa: tx channel activated, pid 1 (ipv4)
    [    5.250000] avm_pa: try to activate hw accelaration for pid 2 (ipv6)
    [    5.250000] avm_pa: tx channel activated, pid 2 (ipv6)
    [    5.260000] [avmnet_set_macaddr] Setup Mac Addr for Device(eth0): 5c:49:79:57:47:5a 
    [    5.270000] avmnet: avm_pa: register pid eth0
    [    5.300000] SQUASHFS error: Can't find a SQUASHFS superblock on mtdblock3
    [    5.300000] yaffs: dev is 32505859 name is "mtdblock3" ro
    [    5.310000] yaffs: passed flags ""
    [    5.310000] yaffs: yaffs: Attempting MTD mount of 31.3,"mtdblock3"
    [    5.310000] yaffs: auto selecting yaffs2
    [    5.330000] yaffs: yaffs_read_super: is_checkpointed 1
    [    5.330000] VFS: Mounted root (yaffs filesystem) readonly on device 31:3.
    [    5.340000] devtmpfs: mounted
    [    5.340000] Freeing unused kernel memory: 292K (80857000 - 808a0000)
    [    6.400000] TFFS Name Table L
    [    8.160000] led_modul_Fritz_Box_HW209: module license '
    (C) Copyright 2012 by AVM
    ' taints kernel.
    [    8.170000] Disabling lock debugging due to kernel taint
    [    8.180000] [module-alloc-by-name] give 0x1a000 bytes at 0x81104000 to module 'led_modul_Fritz_Box_HW209' (0xbb0000 bytes left)
    [    8.200000] [LED] use GPIO 6 for 'gpio_avm_led_power'
    [    8.210000] [LED] use GPIO 5 for 'gpio_avm_led_power_red'
    [    8.210000] [LED] use GPIO 34 for 'gpio_avm_led_internet'
    [    8.220000] [LED] use GPIO 15 for 'gpio_avm_led_dect'
    [    8.220000] [LED] use GPIO 0 for 'gpio_avm_led_wlan'
    [    8.230000] [LED] use GPIO 35 for 'gpio_avm_led_info'
    [    8.230000] [BUTTON] use GPIO 1 for 'gpio_avm_button_wlan'
    [    8.240000] [BUTTON] use GPIO 2 for 'gpio_avm_button_dect'
    [    8.260000] AVM_WATCHDOG: System Init UEberwachung 120 Sekunden
    [    9.100000] [module-alloc-by-name] give 0x3000 bytes at 0x8111e000 to module 'rtc_avm' (0xbad000 bytes left)
    [    9.120000] rtc-avm rtc-avm.0: rtc core: registered avm as rtc0
    [    9.120000] [avm-rtc]: avm_rtc_probe: register: ret=0x876ab000
    [    9.130000] [avm-rtc]: avm_rtc_probe: success
    [    9.320000] 
    [avm_debug] redirecting kernel-messages (/dev/debug)
    [    9.380000] [module-alloc-by-name] give 0xe000 bytes at 0x81121000 to module 'Piglet_noemif' (0xb9f000 bytes left)
    [    9.380000] [piglet]use settings for 209(2 gpios from hw_config)
    
    [    9.490000] [piglet]patch_dectfw: c0220000, totallen = 44929(af81)
    [    9.490000] [piglet]patch_dectfw: patch_adress: a0 max_len: 26 with Version 2 Len: 17
    [    9.490000] [piglet]patch_dectfw: RFPI tag found 02966bfac8
    [    9.490000] [piglet]patch_dectfw: dectmode 19
    [    9.500000] 
    
    [piglet]===== shared usage of UART (DECT and CONSOLE) - unusual characters shown: ====
    
    
    [    9.510000] [piglet]dect_loader144xx: slow-bootmode
    [    9.770000] <FE>
    [   10.490000] system-load 3 loadavg 0.37 0.8 0.3 - 37 tasks:60 % curr:modprobe(10 %) max:init(30 %, pid:1) pgstat: sum=26658 free=22444 slab=2772 alloc=1610/s fault=2273/s (sleep 1)
    [   10.570000] *
    [   10.860000] ***************************************************************************************
    [   12.820000] [piglet]dect144xx_file_process: upload of '/lib/modules/dectfw_secondlevel_441.hex' successfull
    [   12.830000] 
    
    
    
    
    
    
    [piglet]===== end of shared usage of UART (DECT and CONSOLE) ====
    
    [   14.940000] [piglet]TDM: FS: 8005 Hz CLK: 4601685 Hz  (SPITDM)
    [   15.060000] yaffs: dev is 32505861 name is "mtdblock5" rw
    [   15.060000] yaffs: passed flags ""
    [   15.060000] yaffs: yaffs: Attempting MTD mount of 31.5,"mtdblock5"
    [   15.080000] yaffs: yaffs_read_super: is_checkpointed 1
    [   15.320000] [module-alloc-by-name] give 0x75000 bytes at 0x8112f000 to module 'pcmlink' (0xb2a000 bytes left)
    [   15.750000] [module-alloc-by-name] give 0xce000 bytes at 0x811a4000 to module 'isdn_fbox_fon5' (0xa5c000 bytes left)
    [   15.810000] [capi_oslib]avm_stack_attach: cpu1 -> cpu1
    [   15.810000] [pcmlink]chrony-support
    [   15.830000] [isdn]PCMLINK: svnVersion: 2496 (isdn: 3215) Codecslots=6 Slics=1 Pots=0 TE=0 NT=0 DECT=4 no HwCross DSP-EC: 0
    [   16.260000] [module-alloc-by-name] give 0x69000 bytes at 0x81272000 to module 'capi_codec' (0x9f3000 bytes left)
    [   16.470000] [module-alloc-by-name] give 0x50000 bytes at 0x812db000 to module 'avm_dect' (0x9a3000 bytes left)
    [   16.510000] [DECTDRV_ERR] fpCap ext data queueSize 2560, avmTpui 4096/36865, etsiTpui 40961/0
    [   16.510000] [module-alloc-by-name] give 0x5000 bytes at 0x8132b000 to module 'dect_io' (0x99e000 bytes left)
    [   16.990000] udevd[1219]: starting version 175
    [   18.640000] [module-alloc-by-name] give 0x2e000 bytes at 0x81330000 to module 'mei_vr9' (0x970000 bytes left)
    [   18.650000] [dsl_mei] Lantiq (VRX) DSL CPE MEI driver, version 1.4.4, (c) 2013 Lantiq Deutschland GmbH
    [   18.650000] [dsl mei] tried to set GDBG Level to 4
    
    [   18.650000] [dsl mei] debug_level=4, Global UsrDbgLevel=4 MEI_DRV UsrDbgLevel=4 MEI_MEI_ACCESS UsrDbgLevel=4
    
    [   18.650000] [dsl mei] debug_level=4, Global IntDbgLevel=4 MEI_DRV IntDbgLevel=4 MEI_MEI_ACCESS IntDbgLevel=4
    
    [   18.650000] [dsl_vr9] AVM_MEI_PowerUpDSLSubsystem enable power domain 'DSL + DFE'
    [   18.650000] [AVM_MEI_PowerUpDSLSubsystem] power up 'PPE TC, PPE EMA, LEDC, DFEV1, DFEV0'
    [   18.670000] [dsl_vr9] AVM_MEI_PowerUpDSLSubsystem unreset 'DSL, DFE, AFE, VOICE, DSLTC, ARC'
    [   18.670000] spi_clc=0x00000200
    [   18.850000] [module-alloc-by-name] give 0x51000 bytes at 0x8135e000 to module 'dsl_vr9' (0x91f000 bytes left)
    [   18.880000] [dsl drv] Lantiq CPE API Driver version: DSL CPE API V4.17.6
    [   18.880000] [dsl drv] Predefined debug level: 4
    [   18.880000] [dsl drv] dynamically registered major number 237 for dsl_vr9
    [   19.100000] [module-alloc-by-name] give 0x27000 bytes at 0x813af000 to module 'ifxmips_ppa_datapath_vr9_e5' (0x8f8000 bytes left)
    [   19.110000] Loading E5 (MII0/1) driver ...... 
    [   19.120000] drivers/net/ethernet/avm/avm_cpmac/switch/ifx/vr9/ifxmips_ppa_datapath_vr9_e5.c:3029:init_local_variables: [init_local_variables] g_eth_wan_mode=0
    
    [   19.120000] drivers/net/ethernet/avm/avm_cpmac/switch/ifx/vr9/ifxmips_ppa_datapath_vr9_e5.c:3088:init_local_variables: g_wan_itf=0x80, g_wanqos_en=8
    
    [   19.130000] CPU_TO_WAN_TX_DESC_BASE[0] =0xbe227400
    [   19.140000] avmnet: avm_pa: register pid ptm_vr9
    [   19.140000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown unicast frames 0x7b
    [   19.140000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown multicast frames 0x7b
    [   19.140000] [ppe_e5_init] Succeeded!
    [   19.140000] PPE datapath driver info:
      Version ID: 64.3.3.1.0.1.1
      Family    : VR9
      DR Type   : Normal Data Path | Indirect-Fast Path
      Interface : MII0 | MII1
      Mode      : Routing
      Release   : 0.1.1
    [   19.140000] PPE firmware info:
      Version ID: 7.5.2.11.1
      Family    : VR9
      FW Package: D5
      Release   : 2.11.1
    PPE firmware feature:
      ATM/PTM TC-Layer Bonding        Support
      L2 Trunking                     Support
      Packet Acceleration             Support
      IPv4                            Support
      IPv6                            Support
      6RD                             Support
      DS-Lite                         Support
    [   20.910000] activating IRQ mode
    [   20.910000] requesting IRQ
    [   20.910000] request_irq 
    [   20.910000] usedIrq: 57 | usedIsrHandler: 8133f520 | usedFlags: 0x100 | pUsedDevName: mei_vr9 | pUsedDevId: -2014107712
    [   20.910000] IRQ requested ok
    [   20.910000] MEI_DRV: MEI_IfxRequestIrq(IRQ = 57, .., ), lock = 1
    
    check this C
    [   20.910000] about to check device status
    [   21.140000] system-load 6 loadavg 0.71 0.16 0.5 - 58 tasks:44 % curr:modprobe(4 %) max:migration/0(16 %, pid:7) pgstat: sum=25910 free=15990 slab=4264 alloc=1917/s fault=2852/s (sleep 0)
    [   21.430000] [module-alloc-by-name] give 0x1cd000 bytes at 0x813d6000 to module 'kdsldmod' (0x72b000 bytes left)
    [   21.580000] kdsldmod: init start (Feb 24 2017 10:58:58) sizeof(struct sk_buff)=448
    [   21.580000] userman: device registerd (userman_url) with major=231
    [   21.580000] kdsld: ttychannel: ldisc 8 registered
    [   21.580000] PCP_NL: PCP netlink interface (multicast group 1)
    [   21.580000] kdsldmod: init done (Feb 24 2017 10:58:55)
    [   26.320000] [avm_power] eth: port 0 force normal  CON t0
    [   27.340000] IPv6: ADDRCONF(NETDEV_UP): lan: link is not ready
    [   27.340000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   28.380000] IPv6: ADDRCONF(NETDEV_UP): guest: link is not ready
    [   31.150000] system-load 100% loadavg 0.84 0.21 0.7 - 69 tasks:60 % curr:ctlmgr(26 %) max:ctlmgr(26 %, pid:1451) pgstat: sum=27352 free=11315 slab=4964 alloc=1957/s fault=3632/s (sleep 3)
    [   20.910000] MEI_DRV[00]: INIT DEVICE, phy addr = 0x1E116000, virt addr = 0xBE116000 IRQ = 57
    
    [   31.490000] Re-init AVM Net Common Datapath Driver 7Port Switch ...... 
    [   31.490000] [init_hw] ppe_hw_init=0xff successful
    [   31.490000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown unicast frames 0x7b
    [   31.490000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown multicast frames 0x7b
    [   31.490000] [reinit_7port_common_eth] Succeeded!
    [   31.670000] [module-alloc-by-name] give 0x27000 bytes at 0x815a3000 to module 'aae' (0x704000 bytes left)
    [   31.700000] [wlan_config] Given config is:
    [   31.700000] [wlan_config]   hw_interface=0 chip_type=3 (kiwi) offload=1 (non)
    [   31.700000] [wlan_config] hwrev=209 hwsubrev=1 maca=5c:49:79:57:47:5a
    [   31.700000] [wlan_eeprom] Calibration data blocks found = 1
    [   31.700000] [wlan_eeprom] EEPROM #1, type "AR92x7":
    [   31.700000] [wlan_eeprom] Customer data="AVM7412_CAL1_V2"
    [   31.700000] [wlan_eeprom] regDmn=0x8114 - patching to 0
    [   31.700000] [wlan_eeprom] MinCCAPwr thresh set to -85,-85
    [   31.700000] [wlan_eeprom] Build with ART 0.9b27
    [   31.700000] avm_net_trace: New net trace device 'WLAN Management Traffic' registered with minor 128.
    [   31.710000] avm_net_trace: udev device avm_net_trace128 created
    [   31.730000] Loading E5 (MII0/1) driver ...... 
    [   31.740000] drivers/net/ethernet/avm/avm_cpmac/switch/ifx/vr9/ifxmips_ppa_datapath_vr9_e5.c:3029:init_local_variables: [init_local_variables] g_eth_wan_mode=3
    
    [   31.740000] drivers/net/ethernet/avm/avm_cpmac/switch/ifx/vr9/ifxmips_ppa_datapath_vr9_e5.c:3088:init_local_variables: g_wan_itf=0x2, g_wanqos_en=8
    
    [   31.760000] CPU_TO_WAN_TX_DESC_BASE[0] =0xbe227400
    [   31.760000] avmnet: avm_pa: register pid ptm_vr9
    [   31.760000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown unicast frames 0x7b
    [   31.760000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown multicast frames 0x7b
    [   31.760000] [ppe_e5_init] Succeeded!
    [   31.760000] PPE datapath driver info:
      Version ID: 64.3.3.1.0.1.1
      Family    : VR9
      DR Type   : Normal Data Path | Indirect-Fast Path
      Interface : MII0 | MII1
      Mode      : Routing
      Release   : 0.1.1
    [   31.760000] PPE firmware info:
      Version ID: 7.5.2.11.1
      Family    : VR9
      FW Package: D5
      Release   : 2.11.1
    PPE firmware feature:
      ATM/PTM TC-Layer Bonding        Support
      L2 Trunking                     Support
      Packet Acceleration             Support
      IPv4                            Support
      IPv6                            Support
      6RD                             Support
      DS-Lite                         Support
    [   31.880000] [module-alloc-by-name] give 0x14000 bytes at 0x815ca000 to module 'ifxmips_ppa_hal_vr9_e5' (0x6f0000 bytes left)
    [   31.980000] [module-alloc-by-name] give 0x17000 bytes at 0x815de000 to module 'ifx_ppa_mini_sessions' (0x6d9000 bytes left)
    [   31.980000] Register LANTIQ_PA @ AVM_PA
    [   31.980000] [ifx_ppa_mini_session_init]
    [   31.980000] [ifx_ppa_mini_session_init] avm_pa sessionh_lookup table
    [   31.980000] max_lan_entries       192
    [   31.980000] max_wan_entries       192
    [   31.980000] max_mc_entries        32
    [   31.980000] max_bridging_entries  2048
    [   31.980000] max_ipv6_addr_entries 128
    [   31.980000] max_fw_queue          8
    [   31.980000] max_6rd_entries       4
    [   31.980000] AVM - Lantiq-PPA: minimalist and slim Session Management: --- init successful
    [   31.980000] Session-Table Size: 256 * 200 byte = 50 kb
    [   32.030000] [module-alloc-by-name] give 0x3000 bytes at 0x815f5000 to module 'ifx_ppa_mini_qos' (0x6d6000 bytes left)
    [   32.040000] AVM - Lantiq-PPA: minimalist and slim QoS Management: --- init successful
    [   32.050000] kdsld: flushing internet sessions
    [   32.080000] [module-alloc-by-name] give 0x7000 bytes at 0x815f8000 to module 'adf' (0x6cf000 bytes left)
    [   32.100000] ****Address of trace_timer :815fb100 
    [   32.130000] [module-alloc-by-name] give 0x4000 bytes at 0x815ff000 to module 'asf' (0x6cb000 bytes left)
    [   32.640000] [module-alloc-by-name] give 0x3000 bytes at 0x81603000 to module 'sch_tbf' (0x6c8000 bytes left)
    [   32.810000] [module-alloc-by-name] give 0xb7000 bytes at 0x81606000 to module 'ath_hal' (0x611000 bytes left)
    [   32.830000] ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, TX_DATA_SWAP, RX_DATA_SWAP, 11D)
    [   32.900000] [module-alloc-by-name] give 0x9000 bytes at 0x816bd000 to module 'ath_rate_atheros' (0x608000 bytes left)
    [   32.910000] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
    [   32.990000] [module-alloc-by-name] give 0xc000 bytes at 0x816c6000 to module 'ath_spectral' (0x5fc000 bytes left)
    [   33.000000] ath_spectral: Version 2.0.0
    Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved
    [   33.000000] SPECTRAL module built on Feb  7 2017 17:11:10
    [   33.080000] [module-alloc-by-name] give 0x14000 bytes at 0x816d2000 to module 'ath_dfs' (0x5e8000 bytes left)
    [   33.090000] ath_dfs: Version 2.0.0
    Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
    [   33.450000] system-load 4 loadavg 0.84 0.21 0.7 - 81 tasks:8 % curr:insmod(0 %) max:ctlmgr(3 %, pid:1451) pgstat: sum=27401 free=9006 slab=5130 alloc=244/s fault=298/s (sleep 3)
    [   33.490000] [module-alloc-by-name] give 0x5f000 bytes at 0x816e6000 to module 'ath_dev' (0x589000 bytes left)
    [   33.540000] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
    [   34.690000] [module-alloc-by-name] give 0x119000 bytes at 0x81745000 to module 'umac' (0x470000 bytes left)
    [   34.810000] ath_pci: SmartAntenna-DRT-0.1 (Atheros/multi-bss)
    [   34.810000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
    [   34.810000] __ath_attach: Set global_scn[0]
    [   34.820000] SPECTRAL : get_capability not registered
    [   34.820000] HAL_CAP_PHYDIAG : Capable
    [   34.820000] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 231)
    [   34.820000] SPECTRAL : get_capability not registered
    [   34.820000] HAL_CAP_RADAR   : Capable
    [   34.820000] SPECTRAL : Need to fix the capablity check for SPECTRAL
     (spectral_attach : 236)
    [   34.820000] SPECTRAL : get_capability not registered
    [   34.820000] HAL_CAP_SPECTRAL_SCAN : Capable
    [   34.820000] SPECTRAL : get_tsf64 not registered
    [   34.820000] spectral_init_netlink 83 NULL SKB
    [   34.820000] SPECTRAL : No ADVANCED SPECTRAL SUPPORT
    [   34.820000] SPECTRAL :----- module attached
    [   34.820000] GreenAP on wifi%d: Attached
    [   34.820000] ath_get_caps[6416] rx chainmask mismatch actual 3 sc_chainmak 0
    [   34.820000] ath_get_caps[6391] tx chainmask mismatch actual 3 sc_chainmak 0
    [   34.820000] ic_num_chains=2x2
    [   34.820000] _avm_ath_ext_attach_ah:169
    [   34.820000] band steering initialized for direct attach hardware 
    [   34.830000] ieee80211_bsteering_attach: Band steering initialized
    [   34.830000] ath_attach_dfs[13067] dfsdomain 1
    [   34.830000] SPECTRAL : module already attached
    [   34.830000] osif_wrap_attach:321 osif wrap attached
    [   34.830000] osif_wrap_devt_init:946 osif wrap dev table init done
    [   34.840000] request_irq type = 0x80
    [   34.850000] avm_net_trace: New net trace device 'HW (2.4 + 5 GHz, wifi0)' registered with minor 129.
    [   34.850000] Register net trace device succeeded with minor 129 (wifi0).
    [   34.850000] wifi0: Atheros ???: mem=0x1c000000, irq=138 hw_base=0xbc000000
    [   34.850000] _avm_ath_ext_attach_ieee:151
    [   34.860000] avm_net_trace: udev device avm_net_trace129 created
    [   34.900000] [module-alloc-by-name] give 0x6000 bytes at 0x8185e000 to module 'ath_pktlog' (0x46a000 bytes left)
    [   35.290000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   35.290000] IPv6: ADDRCONF(NETDEV_CHANGE): lan: link becomes ready
    [   35.680000] ath_attach_dfs[13067] dfsdomain 1
    [   35.700000] Requested VPA id 0 and MAC 5c:49:79:57:47:5c
    [   35.700000] avm_net_trace: New net trace device 'AP (2.4 + 5 GHz, ath0)' registered with minor 131.
    [   35.700000] Register vap net trace device succeeded with minor 131 (ath0).
    [   35.700000] avm_net_trace: New net trace device 'AP (2.4 + 5 GHz, ath0)' registered with minor 132.
    [   35.700000] Register vap net trace device succeeded with minor 132 (ath0).
    [   35.700000] VAP device ath0 created osifp: (85583420) os_if: (87634000)
    [   35.710000] avm_net_trace: udev device avm_net_trace131 created
    [   35.710000] avm_net_trace: udev device avm_net_trace132 created
    [   35.710000] ath0: registered PID at AVM_PA
    [   35.710000] avm_pa: try to activate hw accelaration for pid 5 (ath0)
    [   35.710000] avm_pa: rx channel activated, pid 5 (ath0)
    [   35.710000] avm_pa: tx channel activated, pid 5 (ath0)
    [   35.710000] ath0: registered VPID at AVM_PA
    [   35.710000]  
     DES SSID SET=FRITZ!Box 7412 
    [   35.720000] ACFG vendor param set fail, AVM mcast-to-ucast deactivated
    [   35.830000]  ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1 
    [   35.870000]  DEVICE IS DOWN ifname=ath0
    [   35.870000]  DEVICE IS DOWN ifname=ath0
    [   36.420000] Warning: node not in table 0x85483000
    [   36.570000] 8021q: adding VLAN 0 to HW filter on device ath0
    [   37.540000] [DECTDRV_ERR] API_FP_MAC_START_STOP_REQ 255 -> 0
    [   37.550000] [TFFS3-NAND] writing TFFS header to address 0x160000. SeqNr: 0x116 EraseCnt: 0x7 
    [   37.550000] [DECTDRV_ERR] fpCap ext data queueSize 2560, avmTpui 4096/36865, etsiTpui 40961/0
    [   37.560000] [TFFS3-NAND] writing TFFS header to address 0x140000. SeqNr: 0x117 EraseCnt: 0x8 
    [   37.560000] [TFFS3-NAND] writing TFFS header to address 0x180000. SeqNr: 0x118 EraseCnt: 0x8 
    [   37.560000] [DECTDRV_ERR] fpCap ext data queueSize 2560, avmTpui 4096/36865, etsiTpui 40961/0
    [   37.570000] [TFFS3-NAND] writing TFFS header to address 0x200000. SeqNr: 0x119 EraseCnt: 0x8 
    [   37.760000] [module-alloc-by-name] give 0x26000 bytes at 0x81864000 to module 'krtp' (0x444000 bytes left)
    [   37.780000] krtp: rtp_fastpath_register done
    [   37.780000] krtp: krtp_init done
    [   37.790000] jitterbuffer_set_config: auto_on 1   ms 50   packets 0
    [   37.790000] avm_pa: telephony_reduce 65
    [   37.790000] avm_pa: mswin 300 400
    [   37.940000] [DECTDRV_ERR] API_FP_MAC_START_STOP_REQ 0 -> 0
    [   37.960000] [DECTDRV_ERR] fpCap ext data queueSize 2560, avmTpui 4096/36865, etsiTpui 40961/0
    [   37.970000] [DECTDRV_ERR] API_FP_MAC_START_STOP_REQ 0 -> 0
    [   37.980000] [DECTDRV_ERR] fpCap ext data queueSize 2560, avmTpui 4096/36865, etsiTpui 40961/0
    [   38.170000] [dma_device_write] auto open tx_chan_no:2
    [   38.530000] AVM_WATCHDOG: System Init UEberwachung abgeschlossen (89950 ms noch verfuegbar)
    [   38.550000] [avm_power] pm_ressourceinfo_scriptparse: powerdevice_loadrate: norm_power_rate=100 act_rate=78 mul=15 div=1 offset=0 NormP=1500 mW -> SumNormP=1500 mW
    [   38.550000] [avm_power] pm_ressourceinfo_scriptparse: powerdevice_cpuclock: norm_power_rate=100 act_rate=100 mul=0 div=1 offset=0 NormP=0 mW -> SumNormP=1500 mW
    [   38.550000] [avm_power] pm_ressourceinfo_scriptparse: powerdevice_dspclock: norm_power_rate=100 act_rate=100 mul=0 div=1 offset=1000 NormP=1000 mW -> SumNormP=2500 mW
    [   38.550000] [avm_power] pm_ressourceinfo_scriptparse: powerdevice_systemclock: norm_power_rate=100 act_rate=100 mul=0 div=1 offset=2000 NormP=2000 mW -> SumNormP=4500 mW
    [   38.550000] [avm_power] pm_ressourceinfo_scriptparse: powerdevice_dsl: norm_power_rate=100 act_rate=0 mul=15 div=1 offset=0 NormP=1500 mW -> SumNormP=6000 mW
    [   38.550000] [avm_power] pm_ressourceinfo_scriptparse: powerdevice_analog: norm_power_rate=100 act_rate=0 mul=141 div=10 offset=100 NormP=1510 mW -> SumNormP=7510 mW
    [   38.550000] [avm_power] pm_ressourceinfo_scriptparse: powerdevice_wlan: norm_power_rate=100 act_rate=0 mul=84 div=10 offset=100 NormP=940 mW -> SumNormP=8450 mW
    [   38.550000] [avm_power] pm_ressourceinfo_scriptparse: powerdevice_ethernet: norm_power_rate=167 act_rate=16777234 mul=1 div=1 offset=50 NormP=217 mW -> SumNormP=8667 mW
    [   38.550000] SysRq : Changing Loglevel
    [   38.550000] Loglevel set to 4
    [   38.650000] ---> reanimated debugbuffer: read=0 write=12074, written=12074 <---
    [   41.250000] system-load 100% loadavg 1.24 0.31 0.11 - 88 tasks:57 % curr:pidof(0 %) max:kworker/1:1H(13 %, pid:1134) pgstat: sum=28033 free=3979 slab=6366 alloc=1747/s fault=2777/s (sleep 1)
    [   42.450000] Warning: node not in table 0x85724000
    [   42.730000] GreenAP on wifi0: Transition to Power save (WAIT)
    [   42.740000] 8021q: adding VLAN 0 to HW filter on device ath0
    [   51.490000] system-load 1 loadavg 1.20 0.34 0.12 - 87 tasks:13 % curr:upnpd(6 %) max:upnpd(6 %, pid:1457) pgstat: sum=27881 free=3605 slab=6314 alloc=512/s fault=884/s (sleep 0)
    [   65.160000] Module will be unloaded
    [   91.770000] system-load 1 loadavg 0.94 0.39 0.14 - 75 tasks:7 % curr:luacgi(1 %) max:ctlmgr(2 %, pid:1451) pgstat: sum=27473 free=6867 slab=6248 alloc=114/s fault=160/s (sleep 0)
    [  104.030000] [module-alloc-by-name] give 0x7000 bytes at 0x8188a000 to module 'kspeedtest' (0x43d000 bytes left)
    [  104.040000] kspeedtest: kspeedtest_init: second timer started 
    [  104.040000] kspeedtest: kspeedtest_init done
    
    [  140.920000] Max Lock Time [12825]Sched/[0]Yield 19684 / 0 cycles 
    
    [  140.920000] REG_TE_REV            (00): 00000000
    [  140.920000] REG_TE_FRM_SAMPLE_CTRL(04): 00000000
    [  140.920000] REG_TE_TRANSMIT_CTRL  (08): 00000008
    [  140.920000] REG_TE_CMD_STATUS     (0c): 00000000
    [  140.920000] REG_NT_REV            (10): 00000000
    [  140.920000] REG_NT_FRM_SAMPLE_CTRL(14): 00000000
    [  140.920000] REG_NT_TRANSMIT_CTRL  (18): 00000014
    [  140.920000] REG_NT_CMD_STATUS     (1c): 00000000
    [  140.920000] REG_PCM_CTRL_TE       (20): 00000000
    [  140.920000] REG_PCM_CTRL_NT       (24): 00000000
    [  140.920000] REG_PCM_CTRL_DECT     (28): 00000000
    [  140.920000] REG_GLOBAL_MISC       (2c): 00000000
    [  140.920000] REG_IAPOTS            (3c): 00000000
    [  140.920000] REG_DIR               (40): 01100076
    [  140.920000] REG_ANALOG_IN         (44): 00000088
    [  140.920000] REG_ANALOG_OUT        (48): 01100026
    [  140.920000] REG_EDGE_CTRL         (4c): 00000000
    [  140.920000] REG_EDGE_DETECT       (50): 00000000
    [  140.920000] REG_CODEC_POTS        (54): 00000000
    [  140.920000] REG_CODEC_SLIC1       (58): 00000000
    [  140.920000] REG_CODEC_SLIC2       (5c): 00000000
    [  140.920000] REG_CODEC_SLIC3       (60): 00000000
    [  140.920000] REG_CODEC_COMMON      (64): 00000000
    [  140.920000] [pcmlink]ReadMaskValid=21f10cc 21f10cc
    [  140.920000] addr=00 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  140.920000] addr=04 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  140.920000] addr=08 value=00000000 real(real: 00000000 shadow: 00000008)
    [  140.920000] addr=0c value=00000000 real(real: 00000000 shadow: 00000000)
    [  140.920000] addr=10 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  140.920000] addr=14 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  140.920000] addr=18 value=00000000 real(real: 00000000 shadow: 00000014)
    [  140.920000] addr=1c value=00000000 real(real: 00000000 shadow: 00000000)
    [  140.920000] addr=20 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  140.920000] addr=24 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  140.920000] addr=28 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  140.920000] addr=2c value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  140.920000] addr=30 value=00000000 real(real: 00000000 shadow: 00000000)
    [  140.920000] addr=34 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  140.920000] addr=38 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  140.920000] addr=3c value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  140.920000] addr=40 value=01100076 real(real: 01100076 shadow: 01100076)
    [  140.920000] addr=44 value=0000c088 real(real: 0000c088 shadow: 00000000)
    [  140.920000] addr=48 value=01100026 real(real: 01100026 shadow: 01100026)
    [  140.920000] addr=4c value=00000000 real(real: 00000000 shadow: 00000001)
    [  140.920000] addr=50 value=00000000 real(real: 00000000 shadow: 00000000)
    [  140.920000] addr=54 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  140.920000] addr=58 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  140.920000] addr=5c value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  140.920000] addr=60 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  140.920000] addr=64 value=00000000 real(real: 00000000 shadow: 00000000)
    [  140.920000] TDM: SLOT-RX-DATA[0] 871ff180 : ffff fefe fefe fefe d555 0c08 ffff fefe fefe fefe d555 0c08 ffff fefe fefe
    [  140.920000] TDM: SLOT-RX-DATA[1] 871ff480 : ffff fefe fefe fefe d555 0c08 ffff fefe fefe fefe d555 0c08 ffff fefe fefe
    [  140.920000] TDM:
    [  140.920000] Frame-Violations 0.0 % (diff=2283) from 1000881 triggers irqs max-time between frame-trigger 179 us
    [  140.920000] yield-cnt: 1000881
    [  140.920000] TDM:
    [  140.920000] be100800:SPI_CLC         00000200
    [  140.920000] be100804:SPI_PISEL       00000000 CIS=0 SIS=0 MIS=0
    [  140.920000] be100808:SPI_ID          08084528 TXFS=8 RXFS=8 ID=0x45 CFG=1 REV=8
    [  140.920000] be100810:SPI_CON         005f0050 RX/TX_SWP=0/0 ENBV BM=31 TX/RXENDI=0/0  PO=1 PH=0 MSB first  RX/TXOFF=0/0
    [  140.920000] be100814:SPI_STAT        04032005 RXBV=0 TXBV=4 BC=3 BSY SSEL EN 
    [  140.920000] be100830:SPI_RXFCON      00000301 RXFITL=3 RXFEN=1
    [  140.920000] be100834:SPI_TXFCON      00000101 TXFITL=1 TXFEN=1
    [  140.920000] be100838:SPI_FSTAT       00000200 TXFFL=2 RXFFL=0
    [  140.920000] be100840:SPI_BRT         00000001
    [  140.920000] be100844:SPI_BRSTAT      00000000
    [  140.920000] be100860:SPI_SFCON       00000000 PLEN=0 STOP=0 ICLK=0 IDAT=0 DLEN=0 IAEN=0 IBEN=0 SFEN=0
    [  140.920000] be100864:SPI_SFSTAT      00000000 PCNT=0 DCNT=0 PBSY=0 DBSY=0
    [  140.920000] be100870:SPI_GPOCON      00000000 ISCSBn=0x0 INVOUTn=0x0
    [  140.920000] be100874:SPI_GPOSTAT     00000000 OUTn=0x0
    [  140.920000] be100880:SPI_RXREQ       00000000
    [  140.920000] be100884:SPI_RXCNT       00000000
    [  140.920000] be1008ec:SPI_DMACON      00000000 RXCLS=0 TXOFF RXOFF
    [  140.920000] be1008f4:SPI_IRNEN       00000002 RIREN  
    [  140.920000] be1008f8:SPI_IRNICR      00000000  
    [  140.920000] be1008fc:SPI_IRNCR       00000011 TFI TIR  
    [  140.920000] bf101014: YIELD_EN1 0x10000
    [  140.920000] Cycle-Freq: 250 MHz
    [  140.920000] [cpu=1 tc=2]yield: mask=0x301 trigger=31279 stack-used=1076(stack-start=87cbff10 gp=87cbc000) from 16144 bytes
    [  140.920000] 	[ 0]handler: lspitdm_yield+0x0/0x60 [pcmlink] enable=1 count=31279 unhandled=0
    [  140.920000] 			cycle-stat: [31279]consumption: min=1939 max=83636 avg=11824
    [  140.920000] 			cycle-stat: [31278]trigger: min=30404 max=1013026 avg=999964
    [  140.920000] [cpu=0 tc=3]yield: mask=0x2410 trigger=1290009 stack-used=184(stack-start=87ccff10 gp=87ccc000) from 16144 bytes
    [  140.920000] 	[10]handler: lspitdm_frameyield+0x0/0x4a0 [pcmlink] enable=1 count=1290009 unhandled=0
    [  140.920000] 			cycle-stat: [1290010]consumption: min=72 max=17119 avg=583
    [  140.920000] 			cycle-stat: [1290009]trigger: min=170 max=44304 avg=24246
    [  140.920000] [cpu=1]Yield-to-Linux-Statistic:
    [  140.920000] 	Max-Burst-Executed:                     3
    [  140.920000] 	Max-Trigger-Latency:                   41 us  (since last call)
    [  140.920000] 	avg Trigger-Period:                  3679 ms  (since last call)
    [  140.920000] [cpu=1]Executed ipi-functions-sum (since last call):
    [  140.920000]               wake_up_type:               66 (avm_dect_trigger_thread+0x68/0xe0 [avm_dect])
    
    [  140.920000] max consumption 227 us
    [  140.920000] avg consumption 30 us (measurement period 125.116 s)
    [  140.920000] max well      delay between irq<->irq 4062 us
    [  140.920000] min           delay between irq<->irq 0 us
    [  140.920000] [DECTDRV] STUB side status of pcm link ...
    [  140.920000] [DECTDRV] n_tx:                    64
    [  140.920000] [DECTDRV] n_rx:                    28
    [  140.920000] [DECTDRV] n_rx_cs_errors:          0
    [  140.920000] [DECTDRV] n_rx_len_errors:         0
    [  140.920000] [DECTDRV] n_rx_overflows:          0
    [  140.920000] [DECTDRV] n_rx_buffer_overruns:    0
    [  140.920000] [DECTDRV] n_phase_info_errors:     0
    [  140.920000] [DECTDRV] n_dsp_int_errors:        0
    [  140.920000] [DECTDRV] n_dsp_overflows:         0
    [  140.920000] [DECTDRV] n_mail_overflow:         0
    [  140.920000] [DECTDRV] phase_info:              140
    [  140.920000] [DECTDRV] n_lost_messages:         0
    [  140.920000] [DECTDRV] 
    [  140.920000] [DECTDRV] DRIVER side status of pcm link ...
    [  140.920000] [DECTDRV] tx_n_mails:              28
    [  140.920000] [DECTDRV] rx_n_mails:              66
    [  140.920000] [DECTDRV] rx_n_cs_errors:          0
    [  140.920000] [DECTDRV] rx_n_len_errors:         0
    [  140.920000] [DECTDRV] rx_n_mail_cnt_errors:    0
    [  140.920000] [DECTDRV] rx_n_lost_mails:         0
    [  140.920000] [DECTDRV] tx_max_len:              19
    [  140.920000] [DECTDRV] rx_max_len:              34
    [  140.920000] [DECTDRV] STUB OS status ...
    [  140.920000] [DECTDRV] stub alive:          yes
    [  140.920000] [DECTDRV] mail_buffer_usage:   0x3b
    [  140.920000] [DECTDRV] heap_usage:          0x0
    [  140.920000] [DECTDRV] runtime_error:       code=0x0, line=0, task=0
    (ich habe mal die komplette "dmesg"-Ausgabe der originalen 06.83 von AVM oben dringelassen).

    Nachdem Freetz ja m.W. keine Änderungen an den Kernel-Parametern vornimmt (iirc werden die vom Bootloader so gesetzt), ist das also bei der 7412 wohl "ttyS0", auch wenn der Bootloader im Environment das als "tty0" verzeichnet (da steht das aber auch als "bootserport") - außerdem stimmt das mit den original von AVM verwendeten Gerätenamen überein:
    Code:
    # cat /etc/inittab
    #
    /dev/ttyS0::sysinit:/etc/init.d/rc.S
    
    # Start an "askfirst" shell on ttyS0
    /dev/ttyS0::askfirst:-/bin/sh
    
    # Stuff to do before rebooting
    /dev/ttyS0::shutdown:/bin/sh -c /var/post_install
    # cat /wrapper/etc/inittab
    null::sysinit:/bin/mount -t squashfs /filesystem_core.squashfs /core -o loop
    null::sysinit:/sbin/pivot_root /core/ /core/wrapper/
    null::sysinit:/bin/mount /wrapper/dev /dev -o bind
    null::sysinit:/wrapper/sbin/flash_update
    #
    /dev/ttyS0::sysinit:/etc/init.d/rc.S
    
    # Start an "askfirst" shell on ttyS0
    /dev/ttyS0::askfirst:-/bin/sh
    
    # Stuff to do before rebooting
    /dev/ttyS0::shutdown:/bin/sh -c /var/post_install
    Bliebe noch die Möglichkeit, daß bei Freetz die "character devices" für die "ttySx" irgendwelche anderen Major- oder Minor-IDs verwenden (und sich von denen von AVM unterscheiden, m.W. werden die im Freetz ja "von Hand" angelegt und nicht kopiert (bzw. nach dem Kopieren von "original" sogar wieder gelöscht), oder?) - für mich aber eine unwahrscheinliche Fehlerquelle.
    Geändert von PeterPawn (16.05.2017 um 18:11 Uhr)
    ⠠⠏⠑⠞⠑⠗⠠⠏⠁⠺⠝

  2. #22
    IPPF-Fan
    Registriert seit
    27.05.2010
    Beiträge
    170
    Vergleich doch mal die IDs: http://freetz.org/browser/trunk/make...c/device.table Evtl fehlen auch welche.
    Für tun/openvpn gibts zB auch ne Spezialbehandlung: http://freetz.org/browser/trunk/patc...-tun-device.sh

  3. #23
    IPPF Fünfhunderter
    Registriert seit
    20.12.2005
    Beiträge
    881
    So ein wenig was zum Thema demystifying Freetz:
    • device.table wird nur bei 04.XX Firmwares verwendet (oder genauer gesagt bei den Boxen ohne udev, s. FREETZ_AVM_HAS_UDEV und die Referenzen davon 1, 2). Trifft also auf 7412 nicht zu. Der Inhalt von /dev (inkl. Majors, Minors) entspricht dem von AVM.
    • die "Spielerei" mit dem tun-device ist ausschließlich darauf zurückzuführen, dass die udev-Konfiguration von AVM fehlerhaft/unvollständig ist. AVM hat es nie gestört, weil sie dieses Device nie verwenden. Freetz hat's wegen OpenVPN gestört, deswegen muss die udev-Konfiguration vervollständigt werden.
    • für den serial console port gibt es in Freetz seit r14110 eine Variable (die Unterscheidung an sich hat es schon davor gegeben). Mir ist nicht bekannt, dass die Variable für irgendwelche Boxen falsch gesetzt wäre
    • die Kernel-Parameter werden von Freetz nicht verändert

    @Peter:
    Hast Du "/etc/initab" in dem äußeren oder in dem inneren Dateisystem geändert (vermutlich in dem äußeren, weil einfacher)? Ich bin mir zu 100% nicht mehr sicher, aber meiner Erinnerung nach greift die Hälfte der "/etc/inittab"-Zeilen aus dem einen Dateisystem und die andere Hälfte aus dem anderen, je nachdem, wann welcher Prozess gestartet wird. Das ist aber wirklich "meiner Erinnerung nach", logisch erklären kann ich es mir Stand heute nicht mehr. Rein von der Logik her sollte immer "/etc/inittab" aus dem äußeren Dateisystem greifen, denn der init-Daemon liest es einmal ein und was da alles später mittels mount/pivot_root drüber gebügelt wird, ist nicht mehr von Bedeutung. Das war auch der Grund, warum es in Freetz im äußeren Dateisystem überhaupt geändert wird (aus einem ähnlichen Grund wird auch die Busybox im äußeren Dateisystem geändert => der init-Daemon).

    Ansonsten verdichten Deine Ausführungen aus #21 bei mir den Verdacht, dass zumindest eins der Ursachen 102-dont-change-tty-settings.sh ist. Bei "shared usage of UART (DECT and CONSOLE)" werden wohl irgendwelche Steuerungssignale benötigt und da kann es schon sein, dass das Ganze Timing abhängig wird (i.e. sich als "mal läuft, mal nicht" äußert) oder durch angeschlossene Konsole verfälscht wird.

  4. #24
    IPPF-Einsteiger
    Registriert seit
    13.05.2017
    Beiträge
    10
    Zitat Zitat von er13 Beitrag anzeigen
    Ich kann mir durchaus vorstellen bzw. sogar stark dazu tendiere, dass die korrekte Lösung die folgende wäre:
    • der 102-dont-change-tty-settings.sh Patch gehört komplett raus
    • das controlling tty sollte bei jeder Zeile von 102-add_inittab.sh angegeben werden und nicht wie bisher nur bei der askfirst (das würde mehr dem entsprechen, was AVM macht)
      oder alternativ
      das controlling tty sollte zusätzlich bei der sysinit-Zeile angegeben werden, denn basierend auf dem Kommentar im busybox' Quellcode "If this field is left blank, then the init's stdin/out will be used" nehme ich an, wird das für sysinit angegebene controlling tty bei den anderen inittab-Prozessen vererbt.


    Im Anhang bzw. in Code-Tags unten (weil die Anhänge nicht funktionieren) ein die erste Alternative umsetzende Patch für die, die es testen möchten.

    VG, Gene

    Edit: habe nachgeschaut, Freetz-inittab wurde in r3423 eingeführt, gleich in der Form ohne "controlling tty". Die einzelnen box-spezifischen inittab's, die dabei abgelöst wurden, enthielten auch kein "controlling tty", s. z.B. 7170/110-inittab.sh

    Code:
    Index: patches/scripts/102-add_inittab.sh
    ===================================================================
    --- patches/scripts/102-add_inittab.sh    (revision 14252)
    +++ patches/scripts/102-add_inittab.sh    (working copy)
    @@ -4,20 +4,20 @@
     # Start Freetz IP watchdog if selected
     [ "$FREETZ_REPLACE_ONLINECHANGED" == "y" ] && ip_watchdog="
     # Freetz replacement for unreliable AVM onlinechanged
    -::respawn:/sbin/ip_watchdog
    +${FREETZ_AVM_SERIAL_CONSOLE_DEVICE}::respawn:/sbin/ip_watchdog
     "
     
     # actual filesystem
     cat << EOF > "${FILESYSTEM_MOD_DIR}/etc/inittab"
    -::sysinit:/etc/init.d/rc.S
    +${FREETZ_AVM_SERIAL_CONSOLE_DEVICE}::sysinit:/etc/init.d/rc.S
     
     # Start an "askfirst" shell on the console (whatever that may be)
     ${FREETZ_AVM_SERIAL_CONSOLE_DEVICE}::askfirst:$shell
     $ip_watchdog
     # Stuff to do before rebooting
    -::shutdown:/bin/sh -c /etc/inittab.shutdown
    +${FREETZ_AVM_SERIAL_CONSOLE_DEVICE}::shutdown:/bin/sh -c /etc/inittab.shutdown
     
    -::restart:/sbin/init
    +${FREETZ_AVM_SERIAL_CONSOLE_DEVICE}::restart:/sbin/init
     EOF
     
     # wrapper filesystem
    Index: patches/scripts/102-dont-change-tty-settings.sh
    ===================================================================
    --- patches/scripts/102-dont-change-tty-settings.sh    (revision 14252)
    +++ patches/scripts/102-dont-change-tty-settings.sh    (working copy)
    @@ -1,8 +0,0 @@
    -#
    -# freetz launches sysinit without controlling tty (s. patches/scripts/102-add_inittab.sh)
    -# don't try to set/change tty settings as it won't work
    -#
    -
    -if [ "$FREETZ_AVM_VERSION_06_0X_MIN" == "y" ]; then
    -    modsed -r 's,^([ \t]*stty .*),## disabled by freetz: \1,' "${FILESYSTEM_MOD_DIR}/etc/init.d/S01-head"
    -fi
    Hallo Gene,

    hier ist der 6.30 Bootlog mit dem angegebenen Patch.

    Code:
    Eva_AVM >##...............................................ExecuteProgram
    
    
    Lantiq xDSL CPE VR9
    [    0.000000] Linux version 2.6.32.61 (jpluschke@EmbeddedVM) (gcc version 4.8.1 (Buildroot 2013.05) ) #1 SMP Mon Oct 12 17:49:11 CEST 2015
    [    0.000000] phym = 08000000, mem = 08000000, max_pfn = 00008000
    [    0.000000] Reserving memory for CP1 @0xa8000000, size 0x00000000
    [    0.000000] [init_avm_kernel_config] AVM Kernel Config (ptr 806d6000)
    [    0.000000] [init_avm_kernel_config] AVM Kernel Config: module memory entry
    [    0.000000] bootconsole [early0] enabled
    [    0.000000] CPU revision is: 00019556 (MIPS 34Kc)
    [    0.000000] Determined physical RAM map:
    [    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_node_map[1] active PFN ranges
    [    0.000000]     0: 0x00000000 -> 0x00008000
    [    0.000000] [module-alloc-by-name] 'modulemem' not in use, use AVM Kernel Config (7684096 bytes, reserved for module mem)
    [    0.000000] [module-alloc] use 0x754000 bytes at 0x81101000
    [    0.000000] 1 available secondary CPU TC(s)
    [    0.000000] PERCPU: Embedded 7 pages/cpu @81859000 s5760 r8192 d14720 u65536
    [    0.000000] pcpu-alloc: s5760 r8192 d14720 u65536 alloc=16*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    [    0.000000] Kernel command line: console=ttyS0,115200n8r nor_size=0MB sflash_size=0KB nand_size=128MB ethaddr=5C:49:79:XX:XX:XX tffsver= 
    [    0.000000] [NAND] nand_size = 0x8000000
    [    0.000000] [tffs_setup_version] tffs version 3 requested
    [    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] wait instruction: r4k_wait_irqoff
    [    0.000000] [avm_cache_set_coherency]: setting cache coherency for HWRevision=209 to write back allocate 
    [    0.000000] Primary instruction cache 32kB, 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=00051641
    [    0.000000] Readback ErrCtl register=00051641
    [    0.000000] Memory: 114444k/131072k available (4796k kernel code, 16464k reserved, 2199k data, 212k init, 0k highmem)
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000] NR_IRQS:181
    [    0.000000] [mips_cpu_irq_init] irq_base 0
    [    0.000000] SRSConf0 0x3feffbfe: SRS1: 0xffffffff, SRS2 0xffffffff, SRS3 0xffffffff
    [    0.000000] Console: colour dummy device 80x25
    [    0.000000] console [ttyS0] enabled, bootconsole disabled
    [    0.000000] console [ttyS0] enabled, bootconsole disabled
    [    0.020000] Calibrating delay loop... 332.59 BogoMIPS (lpj=1662976)
    [    0.240000] Security Framework initialized
    [    0.240000] Mount-cache hash table entries: 512
    [    0.250000] kernel_init: started
    [    0.250000] kernel_init: kernel locked
    [    0.250000] Limit of 2 TCs set
    [    0.250000] TLB of 32 entry pairs shared by 2 VPEs
    [    0.250000] VPE 0: TC 0, VPE 1: TC 1
    [    0.250000] IPI buffer pool of 8 buffers
    [    0.260000] CPU revision is: 00019556 (MIPS 34Kc)
    [    0.490000] TC 1 going on-line as CPU 1
    [    0.500000] Brought up 2 CPUs
    [    0.510000] [yield_context_init] cpu=1 tc=2 mask=300
    [    0.510000] [yield_context_init] cpu=0 tc=3 mask=410
    [power_managment_setup] reset 'DSL, DFE, AFE, VOICE, DSLTC, ARC'
    [power_managment_setup] reset 'LDO'
    [power_managment_setup] power down 'PPE TC, PPE EMA, LEDC, DFEV1, DFEV0'
    [power_managment_setup] power down 'MSI1, PDI1 PCIE1 PCIE1_PHY'
    [power_managment_setup] power down 'USB CTRL'
    [power_managment_setup] power down 'GPHY'
    [power_managment_setup] disable power domain 'DSL + DFE'
    [    0.560000] NET: Registered protocol family 16
    [    0.560000] Lantiq GPIO driver, version 1.3.2, (c) 2001-2013 Lantiq Deutschland GmbH
    [    0.570000] Reboot Status is: Power-On
    [    0.570000] [TFFS3_Early_Init] called
    [    0.570000] [avmnet] [avmnet_cfg_init] Driver version: 6.136  -  Revision 1496:2706  -  Mo 12. Okt 17:48:42 CEST 2015
    [    0.890000] Lantiq PCIe Root Complex driver, version 2.0.0, (c) 2001-2013 Lantiq Deutschland GmbH
    [    0.900000] bio: create slab <bio-0> at 0
    [    0.900000] ifx_pcie_rc_class_early_fixup port 0: fixed pcie host bridge to pci-pci bridge
    [    0.910000] pci 0000:00:00.0: PME# supported from D0 D3hot
    [    0.910000] pci 0000:00:00.0: PME# disabled
    [    0.920000] pci 0000:01:00.0: PME# supported from D0 D1 D3hot
    [    0.920000] pci 0000:01:00.0: PME# disabled
    [    0.930000] pci 0000:00:00.0: PCI bridge, secondary bus 0000:01
    [    0.930000] pci 0000:00:00.0:   IO window: disabled
    [    0.940000] pci 0000:00:00.0:   MEM window: 0x1c000000-0x1c0fffff
    [    0.940000] pci 0000:00:00.0:   PREFETCH window: disabled
    [    0.950000] NET: Registered protocol family 8
    [    0.950000] NET: Registered protocol family 20
    [    0.960000] NET: Registered protocol family 2
    [    0.960000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.960000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.960000] TCP bind hash table entries: 4096 (order: 4, 81920 bytes)
    [    0.970000] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.990000] TCP reno registered
    [    0.990000] NET: Registered protocol family 1
    [    1.000000] IFX DMA driver, version ifxmips_dma_core.c:v1.0.17 ,(c)2009 Infineon Technologies AG
    [    1.000000]  skb_shared_size:344
    [    1.010000] Lantiq CGU driver, version 1.1.32, (c) 2001-2013 Lantiq Deutschland GmbH
    [    1.020000] squashfs: version 3.4 (2008/08/26) Phillip Lougher
    [    1.020000] fuse init (API version 7.13)
    [    1.030000] msgmni has been set to 223
    [    1.030000] io scheduler noop registered (default)
    [    1.040000] [avm_membench_init]
    [    1.300000] avm_net_trace: Up and running.
    [    1.300000] [loadcontrol] set auto - scale=1
    [    1.300000] [avm] configured: watchdog event debug 
    [    1.310000] AVM_WATCHDOG: Watchdog Driver for AR7 Hardware (Version 1.0, build: Oct 12 2015 17:48:03)
    [    1.320000] ifx_pmu_init: Major 247
    [    1.320000] Lantiq PMU driver, version 1.2.6, (c) 2001-2013 Lantiq Deutschland GmbH
    [    1.330000] Infineon Technologies RCU driver version 1.0.7 
    [    1.340000] Lantiq Thermal Sensor driver, version 1.0.3, (c) 2001-2013 Lantiq Deutschland GmbH
    [    1.340000] ttyS0 at MMIO 0x1e100c00 (irq = 107) is a PORT_IFX_ASC
    [    1.360000] loop: module loaded
    [    1.360000] nbd: registered device at major 43
    [    1.380000] Generic platform RAM MTD, (c) 2004 Simtec Electronics
    [    1.380000] Platform NOR MTD, (c) AVM 2010
    [    1.390000] ifx_hsnand_init: ifx_hsnand_chip_init(0)
    [    1.390000] [HSNAND] Toshiba-BENAND
    [    1.390000] NAND device: Manufacturer ID: 0x98, Chip ID: 0xf1 (Toshiba NAND 128MiB 3,3V 8-bit)
    [    1.400000] Scanning device for bad blocks
    [    1.470000] {ifx_hsnand_toshiba_read_eccstatus} status 0xe1
    [    1.480000] [ifx_hsnand_command] read block failed (column: 0x800 page: 0xc000)
    [    1.480000] Bad eraseblock 768 at 0x000006000000 (byte on oob[0-1]=0x0)
    [    1.510000] badblock statistics:
    [    1.510000] --------------------
    [    1.510000]   start block = 0
    [    1.510000]   num blocks  = 1024
    [    1.510000]   bad blocks  = 1
    [    1.530000] 
    [    1.530000]   >> The following table summarize all badblocks to visualize the distribution
    [    1.530000]   block [ start | count | size/kB ] (start block, number of blocks)
    [    1.530000]   ---------------------------------                    
    [    1.550000]   block [   768 |     1 |     128 ]
    [    1.550000]         [ ======================= ]
    [    1.550000]         [      >>     1 |     128 ]
    [    1.560000] Creating 8 MTD partitions on "ifx_hsnand":
    [    1.570000] 0x000000440000-0x000000840000 : "reserved-kernel"
    [    1.580000] {ifx_mtd_add_notifier} name reserved-kernel
    [    1.580000] 0x000000840000-0x000003840000 : "reserved-filesystem"
    [    1.590000] {ifx_mtd_add_notifier} name reserved-filesystem
    [    1.590000] 0x000003840000-0x000003c40000 : "kernel"
    [    1.600000] {ifx_mtd_add_notifier} name kernel
    [    1.600000] 0x000003c40000-0x000006c40000 : "filesystem"
    [    1.610000] {ifx_mtd_add_notifier} name filesystem
    [    1.610000] 0x000006c40000-0x000006e40000 : "config"
    [    1.620000] {ifx_mtd_add_notifier} name config
    [    1.620000] 0x000006e40000-0x000008000000 : "nand-filesystem"
    [    1.630000] {ifx_mtd_add_notifier} name nand-filesystem
    [    1.630000] 0x000000000000-0x000000040000 : "urlader"
    [    1.640000] {ifx_mtd_add_notifier} name urlader
    [    1.640000] 0x000000040000-0x000000440000 : "nand-tffs"
    [    1.650000] {ifx_mtd_add_notifier} name nand-tffs
    [    1.650000] [TFFS3_Register_NAND] Called
    [    1.660000] Lantiq SSC driver, version 2.4.1, (c) 2001-2013 Lantiq Deutschland GmbH
    [    1.660000] Unknown SPI device: 0xFF 0xFF 0xFF
    [    1.670000] ifx_spi_flash_init: Found no serial flash device
    [    1.670000] tun: Universal TUN/TAP device driver, 1.6
    [    1.680000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    [    1.690000] IFX SWITCH API, Version 1.1.8.5
    [    1.690000] SWAPI: Registered character device [switch_api] with major no [81]
    [    1.700000] Switch API: PCE MicroCode loaded !!
    [    1.700000] res = 87925500
    [    1.700000] i2c /dev entries driver
    [    1.710000] CAPI Subsystem Rev 1.1.2.8
    [    1.710000] AVM PA 4.3.10 2014-09-21
    [    1.710000] AVM PA skb pktinfo at offset 128 size 196
    [    1.720000] [loadcontrol]module avm_pa registered
    [    1.720000] IPv4 over IPv4 tunneling driver
    [    1.730000] TCP cubic registered
    [    1.730000] mcfw: IGMPv3 fast forwarding
    [    1.740000] NET: Registered protocol family 10
    [    1.740000] IPv6 over IPv4 tunneling driver
    [    1.740000] NET: Registered protocol family 17
    [    1.750000] NET: Registered protocol family 8
    [    1.750000] atmpvc_init() failed with -17
    [    1.760000] KOAM is loaded successfully.
    [    1.760000] l2tp_core: L2TP core driver, V2.0
    [    1.760000] l2tp_ip: L2TP IP encapsulation support (L2TPv3)
    [    1.770000] l2tp_netlink: L2TP netlink interface
    [    1.770000] l2tp_eth: L2TP ethernet pseudowire support (L2TPv3)
    [    1.780000] l2tp_ip6: L2TP IP encapsulation support for IPv6 (L2TPv3)
    [    1.790000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
    [    1.790000] All bugs added by David S. Miller <davem@redhat.com>
    [    1.800000] [tffs_init] different tffs version requested, version 2 not starting
    [    1.810000] [prepare_log_proc] TFFS version 2 not running
    [    1.810000] [TFFS3-NAND] NAND storage backend for TFFS 3.x
    [    1.820000] [TFFS3-NAND] scanning block at address 0x0
    [    1.820000] [TFFS3-NAND] found TFFS header magic at address 0x0, version 0x30000
    [    1.870000] [TFFS3-NAND] scanning block at address 0x20000
    [    1.870000] [TFFS3-NAND] found TFFS header magic at address 0x20000, version 0x30000
    [    1.910000] [TFFS3-NAND] scanning block at address 0x40000
    [    1.920000] [TFFS3-NAND] found TFFS header magic at address 0x40000, version 0x30000
    [    1.960000] [TFFS3-NAND] scanning block at address 0x60000
    [    1.960000] [TFFS3-NAND] found TFFS header magic at address 0x60000, version 0x30000
    [    2.000000] [TFFS3-NAND] scanning block at address 0x80000
    [    2.010000] [TFFS3-NAND] found TFFS header magic at address 0x80000, version 0x30000
    [    2.050000] [TFFS3-NAND] scanning block at address 0xa0000
    [    2.060000] [TFFS3-NAND] found TFFS header magic at address 0xa0000, version 0x30000
    [    2.100000] [TFFS3-NAND] scanning block at address 0xc0000
    [    2.100000] [TFFS3-NAND] found TFFS header magic at address 0xc0000, version 0x30000
    [    2.150000] [TFFS3-NAND] scanning block at address 0xe0000
    [    2.150000] [TFFS3-NAND] found TFFS header magic at address 0xe0000, version 0x30000
    [    2.190000] [TFFS3-NAND] scanning block at address 0x100000
    [    2.200000] [TFFS3-NAND] found TFFS header magic at address 0x100000, version 0x30000
    [    2.240000] [TFFS3-NAND] scanning block at address 0x120000
    [    2.240000] [TFFS3-NAND] found TFFS header magic at address 0x120000, version 0x30000
    [    2.290000] [TFFS3-NAND] scanning block at address 0x140000
    [    2.290000] [TFFS3-NAND] found TFFS header magic at address 0x140000, version 0x30000
    [    2.330000] [TFFS3-NAND] scanning block at address 0x160000
    [    2.340000] [TFFS3-NAND] found TFFS header magic at address 0x160000, version 0x30000
    [    2.380000] [TFFS3-NAND] scanning block at address 0x180000
    [    2.380000] [TFFS3-NAND] found TFFS header magic at address 0x180000, version 0x30000
    [    2.430000] [TFFS3-NAND] scanning block at address 0x1a0000
    [    2.430000] [TFFS3-NAND] found TFFS header magic at address 0x1a0000, version 0x30000
    [    2.470000] [TFFS3-NAND] scanning block at address 0x1c0000
    [    2.480000] [TFFS3-NAND] found TFFS header magic at address 0x1c0000, version 0x30000
    [    2.520000] [TFFS3-NAND] scanning block at address 0x1e0000
    [    2.530000] [TFFS3-NAND] found TFFS header magic at address 0x1e0000, version 0x30000
    [    2.570000] [TFFS3-NAND] scanning block at address 0x200000
    [    2.570000] [TFFS3-NAND] found TFFS header magic at address 0x200000, version 0x30000
    [    2.610000] [TFFS3-NAND] scanning block at address 0x220000
    [    2.610000] [TFFS3-NAND] found TFFS header magic at address 0x220000, version 0x30000
    [    2.630000] [TFFS3-NAND] scanning block at address 0x240000
    [    2.630000] [TFFS3-NAND] found TFFS header magic at address 0x240000, version 0x30000
    [    2.650000] [TFFS3-NAND] scanning block at address 0x260000
    [    2.660000] [TFFS3-NAND] found TFFS header magic at address 0x260000, version 0x30000
    [    2.670000] [TFFS3-NAND] scanning block at address 0x280000
    [    2.680000] [TFFS3-NAND] found TFFS header magic at address 0x280000, version 0x30000
    [    2.700000] [TFFS3-NAND] scanning block at address 0x2a0000
    [    2.700000] [TFFS3-NAND] found TFFS header magic at address 0x2a0000, version 0x30000
    [    2.720000] [TFFS3-NAND] scanning block at address 0x2c0000
    [    2.720000] [TFFS3-NAND] found TFFS header magic at address 0x2c0000, version 0x30000
    [    2.740000] [TFFS3-NAND] scanning block at address 0x2e0000
    [    2.750000] [TFFS3-NAND] found TFFS header magic at address 0x2e0000, version 0x30000
    [    2.770000] [TFFS3-NAND] scanning block at address 0x300000
    [    2.770000] [TFFS3-NAND] found TFFS header magic at address 0x300000, version 0x30000
    [    2.790000] [TFFS3-NAND] scanning block at address 0x320000
    [    2.790000] [TFFS3-NAND] found TFFS header magic at address 0x320000, version 0x30000
    [    2.810000] [TFFS3-NAND] scanning block at address 0x340000
    [    2.820000] [TFFS3-NAND] found TFFS header magic at address 0x340000, version 0x30000
    [    2.830000] [TFFS3-NAND] scanning block at address 0x360000
    [    2.840000] [TFFS3-NAND] found TFFS header magic at address 0x360000, version 0x30000
    [    2.860000] [TFFS3-NAND] scanning block at address 0x380000
    [    2.860000] [TFFS3-NAND] found TFFS header magic at address 0x380000, version 0x30000
    [    2.880000] [TFFS3-NAND] scanning block at address 0x3a0000
    [    2.880000] [TFFS3-NAND] found TFFS header magic at address 0x3a0000, version 0x30000
    [    2.900000] [TFFS3-NAND] scanning block at address 0x3c0000
    [    2.910000] [TFFS3-NAND] found TFFS header magic at address 0x3c0000, version 0x30000
    [    2.920000] [TFFS3-NAND] scanning block at address 0x3e0000
    [    2.930000] [TFFS3-NAND] found TFFS header magic at address 0x3e0000, version 0x30000
    [    2.960000] [TFFS3-NAND] Initialisation successful, 32/32 NAND blocks active, fill rate 8%
    [    2.970000] TFFS: tiny flash file system driver. GPL (c) AVM Berlin (Version 3.0)
    [    2.970000] Adam2 environment variables API installed.
    [    2.980000] [simple-profiling]: 2 performance counters implemented, NEW_34K
    [    2.990000] Enable Performance Counter 0 for Data cache load/stores (User-Mode enabled Supervisor-Mode enabled Kernel-Mode enabled Exept)
    [    3.000000] Setup tcs=0x1 current_tc_mask=0x1, reg=0
    [    3.000000] [simple-profiling]: 2 performance counters implemented, NEW_34K
    [    3.010000] Enable Performance Counter 1 for Data cache load/store misses (User-Mode enabled Supervisor-Mode enabled Kernel-Mode enabled)
    [    3.030000] Setup tcs=0x1 current_tc_mask=0x1, reg=1
    [    3.030000] AVM Simple Profiling enabled Version 3.0
    [    3.040000] {avmnet_cfg_netinit}
    [    3.040000] [avmnet] No config found for HWRev 209, HWSubRev 1, Profile-ID 0, trying base config for HWSubRev
    [    3.050000] [avmnet] No config found for HWRev 209, HWSubRev 1, trying base config for HWRev
    [    3.060000] [avmnet] [avmnet_swi_7port_init] Init on module swi_vr9 called.
    [    3.060000] [avmnet] [fix_phy_clock_config]: Could not read external PHY clock pin data from avm_hw_config!
    [    3.270000] Loading AVM Net Common Datapath Driver for 7Port Switch...... 
    [    3.280000] [ppe_eth_init] init_hw()
    [    3.280000] [init_hw] ppe_hw_init=0xff successful
    [    3.290000] [ppe_eth_init] ifx_proc_file_create()
    [    3.290000] [ppe_eth_init] dma_setup_init()
    [    3.300000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown unicast frames 0x7b
    [    3.310000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown multicast frames 0x7b
    [    4.770000] [avm_pa_multiplexer_init] start 
    [    4.780000] [avm_pa_multiplexer_init] init complete 
    [    4.780000] [avm_pa_multiplexer_register_instance] 
    [    4.780000]  add:avmnet_7port_pce_add_session+0x0/0x5a0 
    [    4.780000]  remove:avmnet_7port_pce_remove_session+0x0/0x80
    [    4.800000] kernel_init: basic setup done
    [    4.810000] SQUASHFS error: Can't find a SQUASHFS superblock on mtdblock3
    [    4.810000] yaffs: dev is 32505859 name is "mtdblock3" ro
    [    4.820000] yaffs: passed flags ""
    [    4.840000] VFS: Mounted root (yaffs filesystem) readonly on device 31:3.
    [    4.850000] Freeing unused kernel memory: 212k freed
    [    4.900000] trying /sbin/init
    init started: BusyBox v1.24.2 (2017-05-16 22:23:32 CEST)
    [    5.100000] [squashfs] use zip compression 
    [VR9-flash] -- Test --
    mount: mounting proc on /proc failed: Device or resource busy
    tar: removing leading '/' from member names
    source files in group 0 ...
    /etc/init.d/S00-signal    /etc/init.d/S05-watchdog  /etc/init.d/S09-config
    /etc/init.d/S01-head      /etc/init.d/S06-logging   /etc/init.d/S09-rtc
    /etc/init.d/S02-led       /etc/init.d/S08-tffs
    processing /etc/init.d/S00-signal
    processing /etc/init.d/S01-head
    [    5.560000] TFFS Name Table K
    processing /etc/init.d/S02-led
    [    6.420000] [module-alloc-by-name] give 0x17000 bytes at 0x81101000 to module 'led_modul_Fritz_Box_HW209' (0x73d000 bytes left)
    [    6.430000] led_modul_Fritz_Box_HW209: module license '
    [    6.430000] (C) Copyright 2012 by AVM
    [    6.430000] ' taints kernel.
    [    6.440000] Disabling lock debugging due to kernel taint
    [    6.470000] [LED] use GPIO 6 for 'gpio_avm_led_power'
    [    6.470000] [LED] use GPIO 5 for 'gpio_avm_led_power_red'
    [    6.480000] [LED] use GPIO 34 for 'gpio_avm_led_internet'
    [    6.480000] [LED] use GPIO 15 for 'gpio_avm_led_dect'
    [    6.490000] [LED] use GPIO 0 for 'gpio_avm_led_wlan'
    [    6.490000] [LED] use GPIO 35 for 'gpio_avm_led_info'
    [    6.500000] [BUTTON] use GPIO 1 for 'gpio_avm_button_wlan'
    [    6.500000] [BUTTON] use GPIO 2 for 'gpio_avm_button_dect'
    [    6.510000] [register_bug_debug_table] name='led-modul' 0x8110b764 - 0x8110b778
    processing /etc/init.d/S05-watchdog
    [    6.520000] AVM_WATCHDOG: System Init UEberwachung 120 Sekunden
    processing /etc/init.d/S06-logging
    processing /etc/init.d/S08-tffs
    mknod: /var/flash/ar7.cfg: File exists
    P-Defaults: do nothing
    processing /etc/init.d/S09-config
    processing /etc/init.d/S09-rtc
    [    7.010000] [module-alloc-by-name] give 0x2000 bytes at 0x81118000 to module 'rtc_avm' (0x73b000 bytes left)
    [    7.040000] rtc-avm rtc-avm.0: rtc core: registered avm as rtc0
    [    7.040000] [avm-rtc]: avm_rtc_probe: register: ret=0x872fd200
    [    7.050000] [avm-rtc]: avm_rtc_probe: success
    executing files in group 0 ...
    /etc/init.d/E05-basemodules
    executing /etc/init.d/E05-basemodules
    group 0 done ...
    source files in group 1 ...
    /etc/init.d/S10-html        /etc/init.d/S12-default
    /etc/init.d/S10-vm          /etc/init.d/S15-filesys
    /etc/init.d/S11-config_def  /etc/init.d/S17-capi
    /etc/init.d/S11-piglet      /etc/init.d/S17-tam
    processing /etc/init.d/S10-html
    processing /etc/init.d/S10-vm
    processing /etc/init.d/S11-config_def
    processing /etc/[    7.230000] 
    [    7.230000] [avm_debug] standard kernel-messages
    init.d/S11-piglet
    [    7.250000] [module-alloc-by-name] give 0xe000 bytes at 0x8111a000 to module 'Piglet_noemif' (0x72d000 bytes left)
    [    7.260000] [module-alloc-by-name] 0xe000 bytes used, 0xf954 bytes expected
    [    7.290000] set_hw_gpio: gpio_avm_dect_reset = 33
    [    7.290000] set_hw_gpio: gpio_avm_dect_rd = 8
    [    7.290000] [piglet]use settings for 209(2 gpios from hw_config)
    [    7.290000] 
    [    7.350000] [piglet]patch_dectfw: c021b000, totallen = 42136(a498)
    [    7.350000] [piglet]patch_dectfw: patch_adress: a0 max_len: 26 with Version 2 Len: 17
    [    7.360000] [piglet]patch_dectfw: RFPI tag found 02965ff4f0
    [    7.360000] [piglet]patch_dectfw: dectmode 19
    [    7.380000] 
    [    7.380000] 
    [    7.380000] [piglet]===== shared usage of UART (DECT and CONSOLE) - unusual characters shown: ====
    [    7.380000] 
    [ ��[   10.460000] <FE>d<FE><FE>
    [   11.010000] [piglet]dect_loader144xx(first): timeout in state dect_wait_for_ack
    [   11.020000] [piglet]dect_loader144xx: fast-bootmode
    [   12.080000] [0]system-load 2  loadavg 0.31 0.7 0.2 - 36 tasks:77 % curr:busybox(36 %) max:busybox(36 %, pid:288), readytorun: 3, pgfault)
    [   13.650000] [piglet]dect_loader144xx: fast-bootmode
    [   14.700000] [1]system-load 1  loadavg 0.31 0.7 0.2 - 36 tasks:18 % curr:busybox(18 %) max:busybox(18 %, pid:288), readytorun: 3, pgfault)
    [   15.640000] [piglet]dect_loader144xx: fast-bootmode
    [   18.260000] [piglet]dect_loader144xx: fast-bootmode
    [   20.230000] [piglet]dect_loader144xx: fast-bootmode
    [   22.300000] [0]system-load 5  loadavg 0.87 0.19 0.6 - 36 tasks:72 % curr:busybox(72 %) max:busybox(72 %, pid:288), readytorun: 3, pgfaul)
    [   22.870000] [piglet]dect_loader144xx: fast-bootmode
    [   24.840000] [piglet]dect_loader144xx: fast-bootmode
    [   27.470000] [piglet]dect_loader144xx: fast-bootmode
    [   27.530000] [piglet]dect144xx_file_process: error on upload firstloader '/lib/modules/dectfw_firstlevel_441.hex'
    [   27.560000] 
    [   27.560000] 
    [   27.560000] 
    [   27.560000] 
    [   27.560000] 
    [   27.560000] 
    [   27.560000] 
    [   27.560000] [piglet]===== end of shared usage of UART (DECT and CONSOLE) ====
    [   27.560000] Call Trace:
    [   27.570000] [<8002a068>] dump_stack+0x8/0x40
    [   27.580000] [<800607e4>] panic+0x64/0x1a0
    [   27.580000] [<c0180228>] init_module+0x228/0x8ec [Piglet_noemif]
    [   27.590000] [<80011a9c>] do_one_initcall+0x3c/0x260
    [   27.590000] [<800a3318>] sys_init_module+0xd8/0x280
    [   27.600000] [<800059dc>] stack_done+0x20/0x40
    [   27.600000] 
    [   27.600000] Kernel panic - not syncing: [piglet]bye bye - can't load dect-fw!
    [   27.600000] 
    [   27.610000] Rebooting in 5 seconds..
    [   28.520000] [1]system-load 3  loadavg 1.4 0.24 0.8 - 36 tasks:44 % curr:busybox(43 %) max:busybox(43 %, pid:288), readytorun: 3, pgfault)
    Leider fuehrt das auch zum Bootloop.

    Der Patch "7412_printk.patch" aus #2820 hingegen liefert das gewuenschte Ergebnis mit Freetz 6.30 und 6.50.
    Hier der 6.50 Bootlog:
    Code:
    Lantiq xDSL CPE VR9
    phym = 08000000, mem = 08000000, max_pfn = 00008000
    Reserving memory for CP1 @0xa8000000, size 0x00000000
    plat_device_tree_setup: AVM hardware subrevision 1
    plat_device_tree_setup: using Fallback device-tree of AVM hardware subrevision 0 
    DT: d0 0d fe ed 00 00 0d 55
    [    0.000000] Linux version 3.10.73 (jwetter@EmbeddedVM) (gcc version 4.8.3 (Buildroot 2014.08) ) #2 SMP Tue Jan 26 15:10:05 CET 2016
    [    0.000000] [env_init] 0x8103bf04[0]
    [    0.000000] [env_init] 0x8103bf44[1]
    [    0.000000] [env_init] 0x8103c044[2]
    [    0.000000] [env_init] switch to ram location
    [    0.000000] [init_avm_kernel_config] AVM Kernel Config (ptr 80825000)
    [    0.000000] [init_avm_kernel_config] AVM Kernel Config: module memory entry
    [    0.000000] [init_avm_kernel_config] AVM Kernel Config: version info entry
    [    0.000000] [init_avm_kernel_config] AVM Kernel Config: device-tree for subrev 0 found
    [    0.000000] bootconsole [early0] enabled
    [    0.000000] CPU0 revision is: 00019556 (MIPS 34Kc)
    [    0.000000] Determined physical RAM map:
    [    0.000000]  memory: 08000000 @ 00000000 (usable)
    [    0.000000] Initrd not found or empty - disabling initrd
    [    0.000000] [module-alloc] use 0xb56000 bytes at 0x81104000
    [    0.000000] PERCPU: Embedded 7 pages/cpu @81c5e000 s7072 r8192 d13408 u32768
    [    0.000000] Kernel command line: console=ttyS0,115200n8r nor_size=0MB sflash_size=0KB nand_size=128MB ethaddr=5C:49:79:XX:XX:XX tffsver= 
    [    0.000000] [NAND] nand_size = 0x8000000
    [    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] Writing ErrCtl register=00051640
    [    0.000000] Readback ErrCtl register=00051640
    [    0.000000] Memory: 109008k/131072k available (5704k kernel code, 22064k reserved, 2691k data, 300k init, 0k highmem)
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000] NR_IRQS:181
    [    0.000000] SRSConf0 0x3feffbfe: SRS1: 0xffffffff, SRS2 0xffffffff, SRS3 0xffffffff
    [    0.000000] Lantiq ICU driver, version 3.0.1, (c) 2001-2011 Lantiq Deutschland GmbH
    [    0.000000] Console: colour dummy device 80x25
    [    0.000000] console [ttyS0] enabled, bootconsole disabled
    [    0.000000] console [ttyS0] enabled, bootconsole disabled
    [    0.020000] Calibrating delay loop... 331.77 BogoMIPS (lpj=1658880)
    [    0.080000] pid_max: default: 32768 minimum: 301
    [    0.080000] Security Framework initialized
    [    0.080000] Mount-cache hash table entries: 512
    [    0.090000] CPU1 revision is: 00019556 (MIPS 34Kc)
    [    0.170000] Brought up 2 CPUs
    [    0.170000] [yield_context_init] cpu=1 tc=2 mask=300
    [    0.180000] [yield_context_init] cpu=0 tc=3 mask=410
    [    0.180000] devtmpfs: initialized
    [    0.200000] pinctrl core: initialized pinctrl subsystem
    [    0.200000] Creating Config Table 
    [    0.200000] [avm_generate_hw_config_table_from_device_tree] gpio_cnt: 31
    [    0.210000] NET: Registered protocol family 16
    [    0.220000] Reboot Status is: Power-On
    [    0.220000] [TFFS3_Early_Init] called
    [    0.230000] [avmnet] [avmnet_cfg_init] Driver version: 6.221  -  Revision 1496:3426  -  Mo 23. Nov 13:23:58 CET 2015
    [    0.850000] Lantiq PCIe Root Complex driver, version 2.0.0, (c) 2001-2011 Lantiq Deutschland GmbH
    [    0.900000] bio: create slab <bio-0> at 0
    [    0.900000] PCI host bridge to bus 0000:00
    [    0.900000] pci_bus 0000:00: root bus resource [mem 0x1c000000-0x1cffffff]
    [    0.910000] pci_bus 0000:00: root bus resource [io  0x1d800000-0x1d8fffff]
    [    0.920000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
    [    0.930000] ifx_pcie_rc_class_early_fixup port 0: fixed pcie host bridge to pci-pci bridge
    [    0.940000] pci 0000:00:00.0: BAR 8: assigned [mem 0x1c000000-0x1c0fffff]
    [    0.940000] pci 0000:01:00.0: BAR 0: assigned [mem 0x1c000000-0x1c00ffff 64bit]
    [    0.950000] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    0.950000] pci 0000:00:00.0:   bridge window [mem 0x1c000000-0x1c0fffff]
    [    0.960000] NET: Registered protocol family 8
    [    0.960000] NET: Registered protocol family 20
    [    0.970000] Switching to clocksource MIPS
    [    1.030000] NET: Registered protocol family 2
    [    1.030000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
    [    1.040000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
    [    1.040000] TCP: Hash tables configured (established 1024 bind 1024)
    [    1.050000] TCP: reno registered
    [    1.050000] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    1.060000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    1.070000] NET: Registered protocol family 1
    [    1.070000] Lantiq CGU driver, version 1.1.32, (c) 2001-2011 Lantiq Deutschland GmbH
    [    1.090000] IFX DMA driver, version ifxmips_dma_core.c:v1.0.17, (c) 2009 Infineon Technologies AG
    [    1.090000]  skb_shared_size:184
    [    1.110000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    1.110000] fuse init (API version 7.22)
    [    1.120000] msgmni has been set to 212
    [    1.120000] io scheduler noop registered (default)
    [    1.460000] ttyS0 at MMIO 0x1e100c00 (irq = 107) is a PORT_IFX_ASC
    [    1.470000] ifx_usif_uart_init: uart_register_driver failed
    [    1.480000] avm_net_trace: Up and running.
    [    1.480000] [loadcontrol] set auto - scale=1
    [    1.490000] Lantiq Thermal Sensor driver, version 1.0.3, (c) 2001-2011 Lantiq Deutschland GmbH
    [    1.500000] ifx_pmu_init: Major 244
    [    1.500000] Lantiq PMU driver, version 1.2.6, (c) 2001-2011 Lantiq Deutschland GmbH
    [    1.510000] Lantiq GPIO driver, version 1.3.2, (c) 2001-2011 Lantiq Deutschland GmbH
    [    1.510000] Infineon Technologies RCU driver version 1.0.7 
    [    1.530000] loop: module loaded
    [    1.540000] nbd: registered device at major 43
    [    1.570000] [HSNAND] Toshiba-BENAND
    [    1.570000] NAND device: Manufacturer ID: 0x98, Chip ID: 0xf1 (Toshiba NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
    [    1.580000] Scanning device for bad blocks
    [    1.650000] {tsh_read_ecc} status 0xe1
    [    1.650000] [ifx_hsnand_command] read block failed (column: 0x800 page: 0xc000)
    [    1.660000] Bad eraseblock 768 at 0x000006000000
    [    1.680000] badblock statistics:
    [    1.680000] --------------------
    [    1.680000]   start block = 0
    [    1.680000]   num blocks  = 1024
    [    1.680000]   bad blocks  = 1
    [    1.700000] 
    [    1.700000]   >> The following table summarize all badblocks to visualize the distribution
    [    1.700000]   block [ start | count | size/kB ] (start block, number of blocks)
    [    1.700000]   ---------------------------------                    
    [    1.720000]   block [   768 |     1 |     128 ]
    [    1.730000]         [ ======================= ]
    [    1.730000]         [      >>     1 |     128 ]
    [    1.730000] Creating 8 MTD partitions on "ifx_hsnand":
    [    1.740000] 0x000000440000-0x000000840000 : "reserved-kernel"
    [    1.750000] 0x000000840000-0x000003840000 : "reserved-filesystem"
    [    1.760000] 0x000003840000-0x000003c40000 : "kernel"
    [    1.760000] 0x000003c40000-0x000006c40000 : "filesystem"
    [    1.770000] 0x000006c40000-0x000006e40000 : "config"
    [    1.780000] 0x000006e40000-0x000008000000 : "nand-filesystem"
    [    1.790000] 0x000000000000-0x000000040000 : "urlader"
    [    1.790000] 0x000000040000-0x000000440000 : "nand-tffs"
    [    1.800000] [TFFS3_Register_NAND] Called
    [    1.800000] [TFFS3_Register_Panic_CB] registering panic callback for mtd ifx_hsnand
    [    1.810000] tun: Universal TUN/TAP device driver, 1.6
    [    1.810000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    [    1.820000] SWAPI: Registered character device [switch_api] with major no [81]
    [    1.830000] i2c /dev entries driver
    [    1.830000] cpuidle: using governor ladder
    [    1.840000] cpuidle: using governor menu
    [    1.840000] AVM PA 4.3.14 2015-10-21
    [    1.840000] AVM PA skb pktinfo at offset 136 size 196
    [    1.850000] [loadcontrol]module avm_pa registered
    [    1.850000] ipip: IPv4 over IPv4 tunneling driver
    [    1.860000] TCP: cubic registered
    [    1.860000] NET: Registered protocol family 10
    [    1.870000] sit: IPv6 over IPv4 tunneling driver
    [    1.870000] NET: Registered protocol family 17
    [    1.880000] l2tp_core: L2TP core driver, V2.0
    [    1.880000] l2tp_ip: L2TP IP encapsulation support (L2TPv3)
    [    1.890000] l2tp_netlink: L2TP netlink interface
    [    1.890000] l2tp_eth: L2TP ethernet pseudowire support (L2TPv3)
    [    1.900000] l2tp_ip6: L2TP IP encapsulation support for IPv6 (L2TPv3)
    [    1.900000] 8021q: 802.1Q VLAN Support v1.8
    [    1.910000] Key type dns_resolver registered
    [    1.910000] [TFFS3-NAND] NAND storage backend for TFFS 3.x
    [    1.920000] [TFFS3-NAND] scanning block at address 0x0
    [    1.920000] [TFFS3-NAND] found TFFS header magic at address 0x0, version 0x30000
    [    1.930000] [scan_block] blk_addr: 0x0 blkseq_nr: 0x81b sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    1.970000] [TFFS3-NAND] scanning block at address 0x20000
    [    1.980000] [TFFS3-NAND] found TFFS header magic at address 0x20000, version 0x30000
    [    1.980000] [scan_block] blk_addr: 0x20000 blkseq_nr: 0x81c sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.020000] [TFFS3-NAND] scanning block at address 0x40000
    [    2.030000] [TFFS3-NAND] found TFFS header magic at address 0x40000, version 0x30000
    [    2.040000] [scan_block] blk_addr: 0x40000 blkseq_nr: 0x81d sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.080000] [TFFS3-NAND] scanning block at address 0x60000
    [    2.080000] [TFFS3-NAND] found TFFS header magic at address 0x60000, version 0x30000
    [    2.090000] [scan_block] blk_addr: 0x60000 blkseq_nr: 0x81e sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.130000] [TFFS3-NAND] scanning block at address 0x80000
    [    2.140000] [TFFS3-NAND] found TFFS header magic at address 0x80000, version 0x30000
    [    2.150000] [scan_block] blk_addr: 0x80000 blkseq_nr: 0x81f sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.190000] [TFFS3-NAND] scanning block at address 0xa0000
    [    2.190000] [TFFS3-NAND] found TFFS header magic at address 0xa0000, version 0x30000
    [    2.200000] [scan_block] blk_addr: 0xa0000 blkseq_nr: 0x820 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.240000] [TFFS3-NAND] scanning block at address 0xc0000
    [    2.250000] [TFFS3-NAND] found TFFS header magic at address 0xc0000, version 0x30000
    [    2.250000] [scan_block] blk_addr: 0xc0000 blkseq_nr: 0x821 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.300000] [TFFS3-NAND] scanning block at address 0xe0000
    [    2.300000] [TFFS3-NAND] found TFFS header magic at address 0xe0000, version 0x30000
    [    2.310000] [scan_block] blk_addr: 0xe0000 blkseq_nr: 0x822 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.350000] [TFFS3-NAND] scanning block at address 0x100000
    [    2.360000] [TFFS3-NAND] found TFFS header magic at address 0x100000, version 0x30000
    [    2.360000] [scan_block] blk_addr: 0x100000 blkseq_nr: 0x823 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.410000] [TFFS3-NAND] scanning block at address 0x120000
    [    2.410000] [TFFS3-NAND] found TFFS header magic at address 0x120000, version 0x30000
    [    2.420000] [scan_block] blk_addr: 0x120000 blkseq_nr: 0x824 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.460000] [TFFS3-NAND] scanning block at address 0x140000
    [    2.470000] [TFFS3-NAND] found TFFS header magic at address 0x140000, version 0x30000
    [    2.470000] [scan_block] blk_addr: 0x140000 blkseq_nr: 0x825 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.520000] [TFFS3-NAND] scanning block at address 0x160000
    [    2.520000] [TFFS3-NAND] found TFFS header magic at address 0x160000, version 0x30000
    [    2.530000] [scan_block] blk_addr: 0x160000 blkseq_nr: 0x826 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.570000] [TFFS3-NAND] scanning block at address 0x180000
    [    2.580000] [TFFS3-NAND] found TFFS header magic at address 0x180000, version 0x30000
    [    2.580000] [scan_block] blk_addr: 0x180000 blkseq_nr: 0x827 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.630000] [TFFS3-NAND] scanning block at address 0x1a0000
    [    2.630000] [TFFS3-NAND] found TFFS header magic at address 0x1a0000, version 0x30000
    [    2.640000] [scan_block] blk_addr: 0x1a0000 blkseq_nr: 0x828 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.680000] [TFFS3-NAND] scanning block at address 0x1c0000
    [    2.690000] [TFFS3-NAND] found TFFS header magic at address 0x1c0000, version 0x30000
    [    2.690000] [scan_block] blk_addr: 0x1c0000 blkseq_nr: 0x829 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.740000] [TFFS3-NAND] scanning block at address 0x1e0000
    [    2.740000] [TFFS3-NAND] found TFFS header magic at address 0x1e0000, version 0x30000
    [    2.750000] [scan_block] blk_addr: 0x1e0000 blkseq_nr: 0x82a sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.790000] [TFFS3-NAND] scanning block at address 0x200000
    [    2.790000] [TFFS3-NAND] found TFFS header magic at address 0x200000, version 0x30000
    [    2.800000] [scan_block] blk_addr: 0x200000 blkseq_nr: 0x82b sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.840000] [TFFS3-NAND] scanning block at address 0x220000
    [    2.850000] [TFFS3-NAND] found TFFS header magic at address 0x220000, version 0x30000
    [    2.860000] [scan_block] blk_addr: 0x220000 blkseq_nr: 0x82c sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.880000] [TFFS3-NAND] scanning block at address 0x240000
    [    2.880000] [TFFS3-NAND] found TFFS header magic at address 0x240000, version 0x30000
    [    2.890000] [scan_block] blk_addr: 0x240000 blkseq_nr: 0x82d sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.910000] [TFFS3-NAND] scanning block at address 0x260000
    [    2.910000] [TFFS3-NAND] found TFFS header magic at address 0x260000, version 0x30000
    [    2.920000] [scan_block] blk_addr: 0x260000 blkseq_nr: 0x82e sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.940000] [TFFS3-NAND] scanning block at address 0x280000
    [    2.950000] [TFFS3-NAND] found TFFS header magic at address 0x280000, version 0x30000
    [    2.950000] [scan_block] blk_addr: 0x280000 blkseq_nr: 0x82f sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.980000] [TFFS3-NAND] scanning block at address 0x2a0000
    [    2.980000] [TFFS3-NAND] found TFFS header magic at address 0x2a0000, version 0x30000
    [    2.990000] [scan_block] blk_addr: 0x2a0000 blkseq_nr: 0x830 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    3.010000] [TFFS3-NAND] scanning block at address 0x2c0000
    [    3.010000] [TFFS3-NAND] found TFFS header magic at address 0x2c0000, version 0x30000
    [    3.020000] [scan_block] blk_addr: 0x2c0000 blkseq_nr: 0x831 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    3.040000] [TFFS3-NAND] scanning block at address 0x2e0000
    [    3.040000] [TFFS3-NAND] found TFFS header magic at address 0x2e0000, version 0x30000
    ���M����������[   12.040000] 
    
    
    
    
    
    
    
    
    
    
    
    
    [piglet]===== end of shared usage of UART (DECT and CONSOLE) ====
    FP_MAC_STOP_REQ, ignore, already stopped
    FP_MAC_STOP_REQ, ignore, already stopped
    
    
    root@fritz:/var/mod/root#
    Mit F.OS 6.83 konnte das leider bisher nicht getestet werden, da der Flashvorgang abbricht aufgrund des filesystem.image, das nicht eingebunden werden kann (siehe Kommentar #6 in diesem Thread).
    Geändert von ELpf (17.05.2017 um 00:06 Uhr)

  5. #25
    IPPF-Fan
    Registriert seit
    27.05.2010
    Beiträge
    170
    Ach, device.table wird mit aktuellen Fw nicht mehr genutzt. Ist mir jetzt beim Suchen nach der Datei nicht aufgefallen. Könnte man als Kommentar in die Datei packen für andere.
    Ich kenn auch keine Box bei der der Port in Freetz nicht richtig ist, nur wenn es dabei Probleme gibt würde ich halt zuerst schauen ob das passt.
    Mit Syslog hat euer Problem nichts zu tun? Bei der Fw 4.8x für 7270 (also aktuelle für 7270v1) machte das Probleme mit Dect, irgendwas mit avm_printk. Sollte ein Ticket dazu geben.
    Das mit dem Ersetzen von uClinc & BusyBox im äußeren System hab ich nicht so ganz verstanden. Diese Commits nutze ich selbst nicht, bislang hab ich keine negativen Effekte festgestellt! Was soll denn der Vorteil davon sein? Ich denke die Gefahr ist gross dass AVM da mal ein Applet reinpackt und nachher fällt es niemandem auf. Solche Fälle gab es bei der inneren BusyBox ja schon

  6. #26
    IPPF Fünfhunderter
    Registriert seit
    20.12.2005
    Beiträge
    881
    Zitat Zitat von ELpf Beitrag anzeigen
    Der Patch "7412_printk.patch" aus #2820 hingegen liefert das gewuenschte Ergebnis mit Freetz 6.30 und 6.50.
    Um Fehlinterpretationen zu vermeiden: reicht der 7412_printk.patch allein aus oder wird beides benötigt (printk und dont-change-tty-settings)?

    Wie sieht es bei Dir mit rc.S aus? Beendet sich der Prozess oder hast Du das auch von Oliver in #2820 gemeldete Problem?

  7. #27
    IPPF-Einsteiger
    Registriert seit
    13.05.2017
    Beiträge
    10
    Ja, 7412_printk.patch alleine reicht aus fuer fehlerfreien Start.

    rc.S scheint weiterhin zu laufen; hier der Auszug aus 'top':
    Code:
     1089     1 root     S     1628   1%   0% {rc.S} /bin/sh /etc/init.d/rc.S
    Geändert von ELpf (17.05.2017 um 00:25 Uhr)

  8. #28
    IPPF Achttausend-VIP Avatar von PeterPawn
    Registriert seit
    10.05.2006
    Ort
    Berlin
    Beiträge
    8.184
    @Gene/opto:
    Das Thema "inittab" und woher welches Kommando kommt, teste ich gleich mal ... wobei ich vorhin auch gesehen habe (#21), daß die Dateien sich im Wrapper und im SquashFS (inzwischen?) unterscheiden. Damit wird es mit einer "geteilten" Nutzung schon recht schwer und eher abenteuerlich - zumindest beim "sysinit"-Teil bis einschließlich "rc.S". Wenn da vom "init"-Applet nicht wirklich die Zeilen gezählt werden (dann müßte die Datei aber jedesmal aufs Neue von Beginn an zeilenweise gelesen werden), dann kann das eigentlich nur die aus dem Wrapper sein, die da zum Zuge kommt.

    Dabei enthält die "innere" Datei die Kommandos nach dem "pivot_root" bis zur "rc.S" gar nicht und die werden zweifellos trotzdem ausgeführt. Damit entfällt die Theorie des "zeilenweisen Lesens" vor/nach jedem Kommando eigentlich auch und die des Lesens ab dem vorhergehenden Offset krankt eben an der unterschiedlichen Größe und damit auch wieder am unterschiedlichen Offset für den Beginn der einzelnen Zeilen. Damit bleibt für mich in der Theorie eigentlich schon nur noch übrig, daß "init" das Handle offen hält und dann überlebt das eben auch das "pivot_root" oder es wird gleich am Beginn die komplette "inittab" in irgendein Array im "init" eingelesen (nachgesehen habe ich da aber auch immer noch nicht).

    Zur BusyBox kann ich nur meinerseits anmerken, daß ich schon seit den Anfängen von "modfs" die BusyBox im SquashFS gegen eine andere austauschen lasse. Am Beginn noch gegen eine dynamisch gelinkte, bis dann "modfs" mit einer eigenen, komplett statischen BusyBox an den Start ging (weil die anderen Versionen immer unterschiedlichen Umfang an Applets hatten oder irgendwelche Optionen anders reagierten) - seitdem landet auch die statische BusyBox im inneren System.

    Die BusyBox im ext2- bzw. yaffs2-Dateisystem habe ich dabei noch nie ausgetauscht und ich habe bisher auch noch nie Probleme damit gehabt (oder ich habe sie nicht bemerkt). Am Beginn hatte ich auch die Theorie, daß DSOs zwischen dem Wrapper-FS und dem SquashFS geshared werden könnten und damit unnötig Platz im Hauptspeicher belegt würde, wenn die nicht übereinstimmen würden ... aber ein einfacher Blick ins procfs bei laufendem (originalem) AVM-System (cat /proc/1/smaps bzw. cat /proc/$(pidof dsld)/smaps) zeigt auch bei der AVM-Firmware bereits deutlich, daß da für "init" eben die Dateien aus dem Wrapper-FS verwendet werden und für die nach dem "pivot_root" gestarteten Prozesse dann die Dateien aus dem SquashFS - und zwar auch dann, wenn diese identischen Inhalt haben.

    Irgendwo ist das aber auch logisch, wenn man es mal aus Systemsicht durchdenkt ... die Identifikation einer offenen Datei aus der Sicht des Kernels erfolgt anhand ihrer Inode-Nummer und die unterscheidet sich nun mal für die Dateien im Wrapper und im SquashFS. Damit kann auch das Memory-Management nicht irgendwelche (unveränderlichen) Segmente aus diesen Dateien auf denselben Speicherbereich mappen und damit Platz sparen - jedenfalls nicht ohne zusätzliche "hints", was da ggf. gemeinsam genutzt werden könnte und so etwas kenne ich bis jetzt nicht vom Linux-Linker (zumindest nicht vom "ld").

    Das ist ja auch keine Zauberei, was da verwendet wird, sondern nur das gute alte "mmap" (man sieht es spätestens in der Ausgabe von "strace"), was man auch selbst für Dateien verwenden kann und spätestens da wird dann der Zusammenhang zu "normalen" Dateien und darin enthaltenen Offsets und Längen wieder offensichtlich. Das Gegenteil (das gemeinsame Nutzen von Speicherseiten in einem einzelnen Prozess durch mehrere Segmente - also "overlays") gibt es zwar schon (auch schon länger etwas "aus der Mode gekommen"), aber "shared segments of executable code" zwischen verschiedenen Libraries kenne ich so nicht. Wenn es das geben sollte, nehme ich gerne Hinweise darauf entgegen ... auch dann, wenn da z.B. durch Hash-Tests irgendwelche identischen Seiteninhalte vom Memory-Management auf dieselbe Page gemappt werden sollten, damit man die nicht wirklich auslagern muß oder so.

    Solange also die BusyBox im Wrapper-Dateisystem neben "init" und "modprobe" (für "autoload"-Mechanismen im Kernel, auch eher reine Vorsichtsmaßnahme, wobei unter diesem Aspekt auch die Existenz von "/bin/sh" nichts schaden kann, denn da geht dann "init_exec()" im "init"-Applet auch schon mal etwas merkwürdig ans Werk - mit '/bin/sh -c <inittab-zeile>' - wenn in so einer Zeile "komische" Zeichen stehen) auch noch "mount" und "pivot_root" für die ersten beiden Zeilen enthält, sollte das vollkommen ausreichend sein und schon AVM ist an der Stelle vermutlich nur "zu faul", um da eine maßgeschneiderte BusyBox zu verwenden und so kopiert man wohl die aus dem späteren rootfs beim Build.

    Für den "ultimativen" Test bzgl. der Frage, welche "inittab" da nun verwendet wird, werde ich mal die "rc.S" um das Protokollieren der übergebenen Parameter erweitern (sind nur 1-2 Zeilen) und dann aus beiden "inittab"-Dateien dort unterschiedliche Parameter angeben. Das geht auch alles noch mit "modfs", dafür brauche ich kein Freetz-Image.

    Daß der "mod"-Teil von Freetz eher nicht so meins ist (meine Theorie zu den vier "Basis-Modulen" von Freetz habe ich ja mehrfach vorgetragen), ist ja auch kein großes Geheimnis und was da nun bei welcher Version und für welche Box genau "modifiziert" wird, kenne ich auch nur aus eher flüchtigen Blicken auf den Quell-Code im Trunk - ich habe auch diese o.a. Möglichkeit mit den unterschiedlichen Device-Files eher als Scherz gemeint (auch wenn der ttyS-Treiber sicherlich irgendwie von Lantiq angepaßt wurde) und das hoffte ich mit der "unwahrscheinlichen Fehlerquelle" eigentlich zu verdeutlichen.

    Ich teste also das mit der "inittab" einfach noch einmal aus (wenn ich lustig bin, suche ich auch die Stelle im "init" mal raus) ... bei der BusyBox im Wrapper-FS habe ich meine Theorie (erhärtet durch Analyse der "smaps" direkt in der (fast) originalen AVM-Firmware mit identischer BusyBox und identischen Libs im rootfs und im Wrapper) und da wüßte ich auch nicht so richtig, wie man die verifizieren oder falsifizieren sollte - jedenfalls nicht jenseits dessen, was ich mit dem Blick in die Mappings schon gemacht habe.

    @ELpf:
    Bist Du Dir wirklich sicher, daß der Flash-Vorgang da tatsächlich abgebrochen wird? Das von Dir in #6 Gezeigte ist jedenfalls kein echter Fehler, sondern das ganz normale Verhalten ... das habe ich aber auch schon versucht zu schreiben. Glaubst Du mir das jetzt nicht oder hat es irgendwelche anderen Gründe, warum das Flashen am Ende tatsächlich fehlschlägt? Wenn das so sein sollte (mit den anderen Gründen), dann stehen die jedenfalls nicht in dem Teil, den Du uns in #6 gezeigt hast ... das kannst Du mir wirklich glauben - "üsch schwöhr".

    EDIT:
    @Gene:
    Ich hatte das Ticket #2820 und die jüngsten Änderungen dort gar nicht auf dem Schirm ... da hat Oliver das ja praktisch schon vor 2 Monaten bis auf die serielle Kommunikation heruntergebrochen und auch einen Patch für Freetz schon bereitgestellt. Hing der nur an dem Ticket oder war der auch aktiv? Wenn ja, warum hat das dann bei @ELpf in #10 mit CS 14252 nicht funktioniert? Ich bin etwas verwirrt - ist der Patch auch bei anderen vollkommen untergegangen (weil Oliver den erst von jemandem testen lassen wollte) und es ging nicht nur mir so? Das würde mich wieder beruhigen und mit mir selbst versöhnen. Dummerweise erscheinen Kommentare zu Tickets nicht im Journal - da kriegt man solche Änderungen gar nicht mit, wenn man sich nur auf das Journal verläßt und keinen eigenen Account mit entsprechenden Benachrichtigungen per E-Mail betreibt.



    Wobei man leider beim erfolgreichen Test von @ELpf mit der 06.50 gar nichts mehr zum Laden des Piglet-Treibers sehen kann in #24 ... da ist ja dann - nach dem, was da steht - für 9 Sekunden Funkstille in diesem Protokoll und nicht einmal mehr die Kernel-Messages bis zum Start von "/sbin/init" zu sehen.

    Da stellt sich die Frage "fast-bootmode" oder "slow-bootmode" dann auch nicht mehr (wobei mich der Unterschied schon deshalb interessieren würde, damit man nicht irgendwann erneut vor diesem oder einem ähnlichen Problem steht, auch wenn das wohl bei anderen Modellen nicht so kritisch ist - hier war die Sparwut wohl besonders groß beim billigsten Modell, wenn man da die UARTs zusammengetackert hat) - nur verstehe ich trotzdem nicht, was der Patch bzgl. AVM_PRINTK jetzt damit zu tun haben sollte, daß da bereits vor dem Start von "init" sich das Protokoll vollkommen ändert, wenn doch die "Umleitung" der Nachrichten über das Schreiben nach "/dev/debug" zum ersten Mal in S11-piglet verwendet wird (das nötige Device-File wird auch erst in S01-head und somit im Rahmen von "rc.S" angelegt) und das ist nun wirklich lange nach dem Start von "/sbin/init".

    Schaut man dann in die Kernel-Quellen, wird durch das "AVM_PRINTK" am Ende (über "printk_avm_console_bend(1)", was es auch nur ein einziges Mal in den Quellen gibt, nämlich in der "write"-Behandlung des "avm_debug"-Treibers) die Variable "force_printk_avm" im Kernel (in kernel/printk.c) von ihrem Standardwert "0" bei der Initialisierung auf "1" gesetzt und die "printk"-Aufrufe nehmen einen etwas anderen Weg. Solange also das "/dev/debug" nicht existiert, kann da auch noch nichts am "force_avm_printk" geändert werden.

    Wie sich das dann aber bereits lange vor dieser Umschaltung auswirken soll, verstehe ich nicht ... es sei denn, irgendein anderer Kernel-Treiber (das kann aber auch kein LKM sein, denn in dem 06.50-Protokoll in #24 wird ja nicht einmal das Ende der Kernel-Initialisierung mit den direkt gelinkten Modulen (freeing unused memory ...) angezeigt) schaltet das schon lange vorher um. Für den müßte es dann aber wieder Quellen geben, denn ein LKM kann es zu diesem Zeitpunkt (Sekunde 3) ja eben gerade noch nicht sein und auch ansonsten widerspricht das Ganze eklatant meiner eigenen "dmesg"-Ausgabe bei der "nicht Freetz"-06.50:
    Code:
    [    0.000000] Linux version 3.10.73 (jwetter@EmbeddedVM) (gcc version 4.8.3 (Buildroot 2014.08) ) #2 SMP Tue Jan 26 15:10:05 CET 2016
    [    0.000000] [env_init] 0x8103bf04[0]
    [    0.000000] [env_init] 0x8103bf44[1]
    [    0.000000] [env_init] 0x8103c044[2]
    [    0.000000] [env_init] switch to ram location
    [    0.000000] [init_avm_kernel_config] AVM Kernel Config (ptr 80825000)
    [    0.000000] [init_avm_kernel_config] AVM Kernel Config: module memory entry
    [    0.000000] [init_avm_kernel_config] AVM Kernel Config: version info entry
    [    0.000000] [init_avm_kernel_config] AVM Kernel Config: device-tree for subrev 0 found
    [    0.000000] bootconsole [early0] enabled
    [    0.000000] CPU0 revision is: 00019556 (MIPS 34Kc)
    [    0.000000] Determined physical RAM map:
    [    0.000000]  memory: 08000000 @ 00000000 (usable)
    [    0.000000] Initrd not found or empty - disabling initrd
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x00000000-0x07ffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
    [    0.000000] On node 0 totalpages: 32768
    [    0.000000] free_area_init_node: node 0, pgdat 8081bea0, node_mem_map 81003000
    [    0.000000]   Normal zone: 256 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 32768 pages, LIFO batch:7
    [    0.000000] [module-alloc] use 0xb56000 bytes at 0x81104000
    [    0.000000] 1 available secondary CPU TC(s)
    [    0.000000] [avm_cache_set_coherency]: setting cache coherency for HWRevision=209 to write back allocate 
    [    0.000000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
    [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
    [    0.000000] PERCPU: Embedded 7 pages/cpu @81c5e000 s7072 r8192 d13408 u32768
    [    0.000000] pcpu-alloc: s7072 r8192 d13408 u32768 alloc=8*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    [    0.000000] Kernel command line: test1=y test2=n console=ttyS0,115200n8r nor_size=0MB sflash_size=0KB nand_size=128MB ethaddr=5C:49:79:57:47:5A tffsver=3 
    [    0.000000] [NAND] nand_size = 0x8000000
    [    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] Writing ErrCtl register=0000fde0
    [    0.000000] Readback ErrCtl register=0000fde0
    [    0.000000] Memory: 109008k/131072k available (5704k kernel code, 22064k reserved, 2691k data, 300k init, 0k highmem)
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000] NR_IRQS:181
    [    0.000000] SRSConf0 0x3feffbfe: SRS1: 0xffffffff, SRS2 0xffffffff, SRS3 0xffffffff
    [    0.000000] Lantiq ICU driver, version 3.0.1, (c) 2001-2011 Lantiq Deutschland GmbH
    [    0.000000] Console: colour dummy device 80x25
    [    0.000000] console [ttyS0] enabled, bootconsole disabled
    [    0.020000] Calibrating delay loop... 331.77 BogoMIPS (lpj=1658880)
    [    0.080000] pid_max: default: 32768 minimum: 301
    [    0.080000] Security Framework initialized
    [    0.080000] Mount-cache hash table entries: 512
    [    0.090000] Limit of 2 TCs set
    [    0.090000] TLB of 32 entry pairs shared by 2 VPEs
    [    0.090000] VPE 0: TC 0, VPE 1: TC 1
    [    0.090000] IPI buffer pool of 8 buffers
    [    0.090000] CPU1 revision is: 00019556 (MIPS 34Kc)
    [    0.170000] TC 1 going on-line as CPU 1
    [    0.170000] Brought up 2 CPUs
    [    0.170000] [yield_context_init] cpu=1 tc=2 mask=300
    [    0.180000] [yield_context_init] cpu=0 tc=3 mask=410
    [    0.180000] devtmpfs: initialized
    [    0.200000] pinctrl core: initialized pinctrl subsystem
    [    0.200000] Creating Config Table 
    [    0.200000] [avm_generate_hw_config_table_from_device_tree] gpio_cnt: 31
    [    0.210000] NET: Registered protocol family 16
    [    0.220000] Reboot Status is: Power-On
    [    0.220000] FPU Affinity set after 5000 emulations
    [    0.220000] [TFFS3_Early_Init] called
    [    0.230000] [avmnet] [avmnet_cfg_init] Driver version: 6.221  -  Revision 1496:3426  -  Mo 23. Nov 13:23:58 CET 2015
    [    0.240000] Port 0 PLL REGFILE
    [    0.240000] PCIE_PHY_PLL_CTRL1    0x8e39
    [    0.240000] PCIE_PHY_PLL_CTRL2    0x0183
    [    0.240000] PCIE_PHY_PLL_CTRL3    0x0042
    [    0.240000] PCIE_PHY_PLL_CTRL4    0x0000
    [    0.240000] PCIE_PHY_PLL_CTRL5    0x0000
    [    0.240000] PCIE_PHY_PLL_CTRL6    0x0000
    [    0.240000] PCIE_PHY_PLL_CTRL7    0x0000
    [    0.240000] PCIE_PHY_PLL_A_CTRL1  0x120e
    [    0.240000] PCIE_PHY_PLL_A_CTRL2  0x39d7
    [    0.240000] PCIE_PHY_PLL_A_CTRL3  0x0900
    [    0.240000] PCIE_PHY_PLL_STATUS   0x0000
    [    0.240000] TX1 REGFILE
    [    0.240000] PCIE_PHY_TX1_CTRL1    0x0009
    [    0.240000] PCIE_PHY_TX1_CTRL2    0x2e00
    [    0.240000] PCIE_PHY_TX1_CTRL3    0x1fff
    [    0.240000] PCIE_PHY_TX1_A_CTRL1  0x0810
    [    0.240000] PCIE_PHY_TX1_A_CTRL2  0x0706
    [    0.240000] PCIE_PHY_TX1_MOD1     0x0000
    [    0.240000] PCIE_PHY_TX1_MOD2     0x0000
    [    0.240000] PCIE_PHY_TX1_MOD3     0x0180
    [    0.240000] TX2 REGFILE
    [    0.240000] PCIE_PHY_TX2_CTRL1    0x0009
    [    0.240000] PCIE_PHY_TX2_CTRL2    0x3096
    [    0.240000] PCIE_PHY_TX2_A_CTRL1  0x8010
    [    0.240000] PCIE_PHY_TX2_A_CTRL2  0x4707
    [    0.240000] PCIE_PHY_TX2_MOD1     0x0000
    [    0.240000] PCIE_PHY_TX2_MOD2     0x0000
    [    0.240000] PCIE_PHY_TX2_MOD3     0x0180
    [    0.240000] RX1 REGFILE
    [    0.240000] PCIE_PHY_RX1_CTRL1    0x0001
    [    0.240000] PCIE_PHY_RX1_CTRL2    0x3000
    [    0.240000] PCIE_PHY_RX1_CDR      0x0235
    [    0.240000] PCIE_PHY_RX1_EI       0x0004
    [    0.240000] PCIE_PHY_RX1_A_CTRL   0x6803
    [    0.240000] Port 0 PLL REGFILE
    [    0.240000] PCIE_PHY_PLL_CTRL1    0x38e4
    [    0.240000] PCIE_PHY_PLL_CTRL2    0x03ee
    [    0.240000] PCIE_PHY_PLL_CTRL3    0x0000
    [    0.240000] PCIE_PHY_PLL_CTRL4    0x1b72
    [    0.240000] PCIE_PHY_PLL_CTRL5    0xfae3
    [    0.240000] PCIE_PHY_PLL_CTRL6    0x3a04
    [    0.240000] PCIE_PHY_PLL_CTRL7    0x0002
    [    0.240000] PCIE_PHY_PLL_A_CTRL1  0x120e
    [    0.240000] PCIE_PHY_PLL_A_CTRL2  0x39d7
    [    0.240000] PCIE_PHY_PLL_A_CTRL3  0x2900
    [    0.240000] PCIE_PHY_PLL_STATUS   0x0070
    [    0.240000] TX1 REGFILE
    [    0.240000] PCIE_PHY_TX1_CTRL1    0x0009
    [    0.240000] PCIE_PHY_TX1_CTRL2    0x2e00
    [    0.240000] PCIE_PHY_TX1_CTRL3    0x1fff
    [    0.240000] PCIE_PHY_TX1_A_CTRL1  0x0810
    [    0.240000] PCIE_PHY_TX1_A_CTRL2  0x0706
    [    0.240000] PCIE_PHY_TX1_MOD1     0x1ffe
    [    0.240000] PCIE_PHY_TX1_MOD2     0xfffe
    [    0.240000] PCIE_PHY_TX1_MOD3     0x0001
    [    0.240000] TX2 REGFILE
    [    0.240000] PCIE_PHY_TX2_CTRL1    0x0009
    [    0.240000] PCIE_PHY_TX2_CTRL2    0x3096
    [    0.240000] PCIE_PHY_TX2_A_CTRL1  0x8010
    [    0.240000] PCIE_PHY_TX2_A_CTRL2  0x4707
    [    0.240000] PCIE_PHY_TX2_MOD1     0x1ffe
    [    0.240000] PCIE_PHY_TX2_MOD2     0xfffe
    [    0.240000] PCIE_PHY_TX2_MOD3     0x0001
    [    0.240000] RX1 REGFILE
    [    0.240000] PCIE_PHY_RX1_CTRL1    0x0001
    [    0.240000] PCIE_PHY_RX1_CTRL2    0x3000
    [    0.240000] PCIE_PHY_RX1_CDR      0x0235
    [    0.240000] PCIE_PHY_RX1_EI       0x0004
    [    0.240000] PCIE_PHY_RX1_A_CTRL   0x6803
    [    0.850000] Lantiq PCIe Root Complex driver, version 2.0.0, (c) 2001-2011 Lantiq Deutschland GmbH
    [    0.900000] bio: create slab <bio-0> at 0
    [    0.900000] PCI host bridge to bus 0000:00
    [    0.900000] pci_bus 0000:00: root bus resource [mem 0x1c000000-0x1cffffff]
    [    0.910000] pci_bus 0000:00: root bus resource [io  0x1d800000-0x1d8fffff]
    [    0.920000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
    [    0.930000] pci_bus 0000:00: scanning bus
    [    0.930000] pci 0000:00:00.0: [1bef:0011] type 01 class 0x060000
    [    0.930000] pci 0000:00:00.0: calling quirk_mmio_always_on+0x0/0x20
    [    0.930000] pci 0000:00:00.0: calling ifx_pcie_rc_class_early_fixup+0x0/0x60
    [    0.930000] ifx_pcie_rc_class_early_fixup port 0: fixed pcie host bridge to pci-pci bridge
    [    0.930000] pci 0000:00:00.0: calling ifx_pcie_fixup_resource+0x0/0x20
    [    0.930000] pci 0000:00:00.0: PME# supported from D0 D3hot
    [    0.930000] pci 0000:00:00.0: PME# disabled
    [    0.940000] pci_bus 0000:00: fixups for bus
    [    0.940000] pci 0000:00:00.0: scanning [bus 01-ff] behind bridge, pass 0
    [    0.940000] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1
    [    0.940000] pci_bus 0000:01: scanning bus
    [    0.940000] pci 0000:01:00.0: [168c:ff1c] type 00 class 0x020000
    [    0.940000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x0000ffff 64bit]
    [    0.940000] pci 0000:01:00.0: supports D1
    [    0.940000] pci 0000:01:00.0: PME# supported from D0 D1 D3hot
    [    0.940000] pci 0000:01:00.0: PME# disabled
    [    0.940000] pci_bus 0000:01: fixups for bus
    [    0.940000] pci_bus 0000:01: bus scan returning with max=01
    [    0.940000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
    [    0.940000] pci_bus 0000:00: bus scan returning with max=01
    [    0.940000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
    [    0.940000] pci 0000:00:00.0: BAR 8: assigned [mem 0x1c000000-0x1c0fffff]
    [    0.940000] pci 0000:01:00.0: BAR 0: assigned [mem 0x1c000000-0x1c00ffff 64bit]
    [    0.950000] pci 0000:01:00.0: BAR 0: set to [mem 0x1c000000-0x1c00ffff 64bit] (PCI address [0x1c000000-0x1c00ffff])
    [    0.950000] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    0.950000] pci 0000:00:00.0:   bridge window [mem 0x1c000000-0x1c0fffff]
    [    0.960000] pci 0000:00:00.0: fixup irq: got 138
    [    0.960000] pci 0000:00:00.0: assigning IRQ 138
    [    0.960000] pci 0000:01:00.0: fixup irq: got 138
    [    0.960000] pci 0000:01:00.0: assigning IRQ 138
    [    0.960000] NET: Registered protocol family 8
    [    0.960000] NET: Registered protocol family 20
    [    0.970000] Switching to clocksource MIPS
    [    1.030000] NET: Registered protocol family 2
    [    1.030000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
    [    1.040000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
    [    1.040000] TCP: Hash tables configured (established 1024 bind 1024)
    [    1.050000] TCP: reno registered
    [    1.050000] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    1.060000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    1.070000] NET: Registered protocol family 1
    [    1.070000] PCI: CLS 0 bytes, default 32
    [    1.070000] Lantiq CGU driver, version 1.1.32, (c) 2001-2011 Lantiq Deutschland GmbH
    [    1.090000] IFX DMA driver, version ifxmips_dma_core.c:v1.0.17, (c) 2009 Infineon Technologies AG
     skb_shared_size:184
    [    1.110000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    1.110000] fuse init (API version 7.22)
    [    1.120000] yaffs: yaffs built Jan 26 2016 15:09:26 Installing.
    [    1.120000] msgmni has been set to 212
    [    1.120000] io scheduler noop registered (default)
    [    1.130000] [avm_membench_init]
    [    1.460000] ttyS0 at MMIO 0x1e100c00 (irq = 107) is a PORT_IFX_ASC
    [    1.460000] ifx_usif_uart_init: uart_register_driver failed
    [    1.470000] avm_net_trace: Up and running.
    [    1.470000] [loadcontrol] set auto - scale=1
    [    1.480000] [avm] configured: watchdog event debug 
    [    1.480000] AVM_WATCHDOG: Watchdog Driver for AR7 Hardware (Version 1.0, build: Jan 26 2016 15:08:46)
    [    1.480000] Lantiq Thermal Sensor driver, version 1.0.3, (c) 2001-2011 Lantiq Deutschland GmbH
    [    1.490000] ifx_pmu_init: Major 244
    [    1.490000] Lantiq PMU driver, version 1.2.6, (c) 2001-2011 Lantiq Deutschland GmbH
    [    1.500000] Lantiq GPIO driver, version 1.3.2, (c) 2001-2011 Lantiq Deutschland GmbH
    [    1.510000] Infineon Technologies RCU driver version 1.0.7 
    [    1.530000] loop: module loaded
    [    1.530000] nbd: registered device at major 43
    [    1.560000] Generic platform RAM MTD, (c) 2004 Simtec Electronics
    [    1.560000] [HSNAND] Toshiba-BENAND
    [    1.560000] NAND device: Manufacturer ID: 0x98, Chip ID: 0xf1 (Toshiba NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
    [    1.570000] Scanning device for bad blocks
    [    1.610000] {tsh_read_ecc} status 0xe1
    [    1.610000] [ifx_hsnand_command] read block failed (column: 0x800 page: 0x5ec0)
    [    1.620000] Bad eraseblock 379 at 0x000002f60000
    [    1.660000] {tsh_read_ecc} status 0xe1
    [    1.660000] [ifx_hsnand_command] read block failed (column: 0x800 page: 0xc000)
    [    1.670000] Bad eraseblock 768 at 0x000006000000
    [    1.690000] badblock statistics:
    --------------------
      start block = 0
      num blocks  = 1024
      bad blocks  = 2
    [    1.700000] 
      >> The following table summarize all badblocks to visualize the distribution
      block [ start | count | size/kB ] (start block, number of blocks)
      ---------------------------------                    
    [    1.730000]   block [   379 |     1 |     128 ]
    [    1.730000]   block [   768 |     1 |     128 ]
    [    1.740000]         [ ======================= ]
            [      >>     2 |     256 ]
    [    1.750000] Creating 8 MTD partitions on "ifx_hsnand":
    [    1.750000] 0x000000440000-0x000000840000 : "kernel"
    [    1.760000] 0x000000840000-0x000003840000 : "filesystem"
    [    1.770000] 0x000003840000-0x000003c40000 : "reserved-kernel"
    [    1.770000] 0x000003c40000-0x000006c40000 : "reserved-filesystem"
    [    1.780000] 0x000006c40000-0x000006e40000 : "config"
    [    1.790000] 0x000006e40000-0x000008000000 : "nand-filesystem"
    [    1.800000] 0x000000000000-0x000000040000 : "urlader"
    [    1.800000] 0x000000040000-0x000000440000 : "nand-tffs"
    [    1.810000] [TFFS3_Register_NAND] Called
    [    1.810000] [TFFS3_Register_Panic_CB] registering panic callback for mtd ifx_hsnand
    [    1.820000] tun: Universal TUN/TAP device driver, 1.6
    [    1.830000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    [    1.830000] IFX SWITCH API, Version 1.1.8.5
    [    1.830000] SWAPI: Registered character device [switch_api] with major no [81]
    [    1.840000] Switch API: PCE MicroCode loaded !!
    [    1.840000] i2c /dev entries driver
    [    1.840000] cpuidle: using governor ladder
    [    1.850000] cpuidle: using governor menu
    [    1.850000] AVM PA 4.3.14 2015-10-21
    [    1.850000] AVM PA skb pktinfo at offset 136 size 196
    [    1.860000] [loadcontrol]module avm_pa registered
    [    1.860000] ipip: IPv4 over IPv4 tunneling driver
    [    1.870000] TCP: cubic registered
    [    1.870000] NET: Registered protocol family 10
    [    1.880000] sit: IPv6 over IPv4 tunneling driver
    [    1.880000] NET: Registered protocol family 17
    [    1.890000] KOAM is loaded successfully.
    [    1.890000] l2tp_core: L2TP core driver, V2.0
    [    1.890000] l2tp_ip: L2TP IP encapsulation support (L2TPv3)
    [    1.900000] l2tp_netlink: L2TP netlink interface
    [    1.900000] l2tp_eth: L2TP ethernet pseudowire support (L2TPv3)
    [    1.910000] l2tp_ip6: L2TP IP encapsulation support for IPv6 (L2TPv3)
    [    1.910000] 8021q: 802.1Q VLAN Support v1.8
    [    1.920000] Key type dns_resolver registered
    [    1.930000] [TFFS3-NAND] NAND storage backend for TFFS 3.x
    [    1.930000] [TFFS3-NAND] scanning block at address 0x0
    [    1.940000] [TFFS3-NAND] found TFFS header magic at address 0x0, version 0x30000
    [    1.940000] [scan_block] blk_addr: 0x0 blkseq_nr: 0x81 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    1.980000] [TFFS3-NAND] scanning block at address 0x20000
    [    1.990000] [TFFS3-NAND] found TFFS header magic at address 0x20000, version 0x30000
    [    2.000000] [scan_block] blk_addr: 0x20000 blkseq_nr: 0xfe sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x2
    [    2.040000] [TFFS3-NAND] scanning block at address 0x40000
    [    2.040000] [TFFS3-NAND] found TFFS header magic at address 0x40000, version 0x30000
    [    2.050000] [scan_block] blk_addr: 0x40000 blkseq_nr: 0x112 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0xa
    [    2.090000] [TFFS3-NAND] scanning block at address 0x60000
    [    2.100000] [TFFS3-NAND] found TFFS header magic at address 0x60000, version 0x30000
    [    2.100000] [scan_block] blk_addr: 0x60000 blkseq_nr: 0x102 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x5
    [    2.150000] [TFFS3-NAND] scanning block at address 0x80000
    [    2.150000] [TFFS3-NAND] found TFFS header magic at address 0x80000, version 0x30000
    [    2.160000] [scan_block] blk_addr: 0x80000 blkseq_nr: 0xfc sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x8
    [    2.200000] [TFFS3-NAND] scanning block at address 0xa0000
    [    2.200000] [TFFS3-NAND] found TFFS header magic at address 0xa0000, version 0x30000
    [    2.210000] [scan_block] blk_addr: 0xa0000 blkseq_nr: 0xfd sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x8
    [    2.250000] [TFFS3-NAND] scanning block at address 0xc0000
    [    2.260000] [TFFS3-NAND] found TFFS header magic at address 0xc0000, version 0x30000
    [    2.270000] [scan_block] blk_addr: 0xc0000 blkseq_nr: 0x114 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x5
    [    2.310000] [TFFS3-NAND] scanning block at address 0xe0000
    [    2.310000] [TFFS3-NAND] found TFFS header magic at address 0xe0000, version 0x30000
    [    2.320000] [scan_block] blk_addr: 0xe0000 blkseq_nr: 0x88 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.360000] [TFFS3-NAND] scanning block at address 0x100000
    [    2.370000] [TFFS3-NAND] found TFFS header magic at address 0x100000, version 0x30000
    [    2.380000] [scan_block] blk_addr: 0x100000 blkseq_nr: 0xa9 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x2
    [    2.420000] [TFFS3-NAND] scanning block at address 0x120000
    [    2.420000] [TFFS3-NAND] found TFFS header magic at address 0x120000, version 0x30000
    [    2.430000] [scan_block] blk_addr: 0x120000 blkseq_nr: 0x106 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x8
    [    2.470000] [TFFS3-NAND] scanning block at address 0x140000
    [    2.480000] [TFFS3-NAND] found TFFS header magic at address 0x140000, version 0x30000
    [    2.480000] [scan_block] blk_addr: 0x140000 blkseq_nr: 0x117 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x8
    [    2.510000] [TFFS3-NAND] scanning block at address 0x160000
    [    2.510000] [TFFS3-NAND] found TFFS header magic at address 0x160000, version 0x30000
    [    2.520000] [scan_block] blk_addr: 0x160000 blkseq_nr: 0x116 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x7
    [    2.540000] [TFFS3-NAND] scanning block at address 0x180000
    [    2.550000] [TFFS3-NAND] found TFFS header magic at address 0x180000, version 0x30000
    [    2.550000] [scan_block] blk_addr: 0x180000 blkseq_nr: 0x118 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x8
    [    2.570000] [TFFS3-NAND] scanning block at address 0x1a0000
    [    2.580000] [TFFS3-NAND] found TFFS header magic at address 0x1a0000, version 0x30000
    [    2.590000] [scan_block] blk_addr: 0x1a0000 blkseq_nr: 0x111 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0xb
    [    2.630000] [TFFS3-NAND] scanning block at address 0x1c0000
    [    2.630000] [TFFS3-NAND] found TFFS header magic at address 0x1c0000, version 0x30000
    [    2.640000] [scan_block] blk_addr: 0x1c0000 blkseq_nr: 0x113 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x4
    [    2.680000] [TFFS3-NAND] scanning block at address 0x1e0000
    [    2.690000] [TFFS3-NAND] found TFFS header magic at address 0x1e0000, version 0x30000
    [    2.700000] [scan_block] blk_addr: 0x1e0000 blkseq_nr: 0xff sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x2
    [    2.740000] [TFFS3-NAND] scanning block at address 0x200000
    [    2.740000] [TFFS3-NAND] found TFFS header magic at address 0x200000, version 0x30000
    [    2.750000] [scan_block] blk_addr: 0x200000 blkseq_nr: 0x119 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x8
    [    2.770000] [TFFS3-NAND] scanning block at address 0x220000
    [    2.770000] [TFFS3-NAND] found TFFS header magic at address 0x220000, version 0x30000
    [    2.780000] [scan_block] blk_addr: 0x220000 blkseq_nr: 0x103 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x4
    [    2.820000] [TFFS3-NAND] scanning block at address 0x240000
    [    2.830000] [TFFS3-NAND] found TFFS header magic at address 0x240000, version 0x30000
    [    2.840000] [scan_block] blk_addr: 0x240000 blkseq_nr: 0x115 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x5
    [    2.860000] [TFFS3-NAND] scanning block at address 0x260000
    [    2.860000] [TFFS3-NAND] found TFFS header magic at address 0x260000, version 0x30000
    [    2.870000] [scan_block] blk_addr: 0x260000 blkseq_nr: 0xc5 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x3
    [    2.910000] [TFFS3-NAND] scanning block at address 0x280000
    [    2.920000] [TFFS3-NAND] found TFFS header magic at address 0x280000, version 0x30000
    [    2.920000] [scan_block] blk_addr: 0x280000 blkseq_nr: 0xc6 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x3
    [    2.970000] [TFFS3-NAND] scanning block at address 0x2a0000
    [    2.970000] [TFFS3-NAND] found TFFS header magic at address 0x2a0000, version 0x30000
    [    2.980000] [scan_block] blk_addr: 0x2a0000 blkseq_nr: 0x100 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x2
    [    3.020000] [TFFS3-NAND] scanning block at address 0x2c0000
    [    3.030000] [TFFS3-NAND] found TFFS header magic at address 0x2c0000, version 0x30000
    [    3.030000] [scan_block] blk_addr: 0x2c0000 blkseq_nr: 0xc7 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x3
    [    3.080000] [TFFS3-NAND] scanning block at address 0x2e0000
    [    3.080000] [TFFS3-NAND] found TFFS header magic at address 0x2e0000, version 0x30000
    [    3.090000] [scan_block] blk_addr: 0x2e0000 blkseq_nr: 0xf7 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x7
    [    3.130000] [TFFS3-NAND] scanning block at address 0x300000
    [    3.140000] [TFFS3-NAND] found TFFS header magic at address 0x300000, version 0x30000
    [    3.140000] [scan_block] blk_addr: 0x300000 blkseq_nr: 0xfa sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x7
    [    3.190000] [TFFS3-NAND] scanning block at address 0x320000
    [    3.190000] [TFFS3-NAND] found TFFS header magic at address 0x320000, version 0x30000
    [    3.200000] [scan_block] blk_addr: 0x320000 blkseq_nr: 0xf1 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x6
    [    3.240000] [TFFS3-NAND] scanning block at address 0x340000
    [    3.250000] [TFFS3-NAND] found TFFS header magic at address 0x340000, version 0x30000
    [    3.250000] [scan_block] blk_addr: 0x340000 blkseq_nr: 0xfb sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x2
    [    3.300000] [TFFS3-NAND] scanning block at address 0x360000
    [    3.300000] [TFFS3-NAND] found TFFS header magic at address 0x360000, version 0x30000
    [    3.310000] [scan_block] blk_addr: 0x360000 blkseq_nr: 0x104 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x5
    [    3.330000] [TFFS3-NAND] scanning block at address 0x380000
    [    3.330000] [TFFS3-NAND] found TFFS header magic at address 0x380000, version 0x30000
    [    3.340000] [scan_block] blk_addr: 0x380000 blkseq_nr: 0xe9 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x3
    [    3.360000] [TFFS3-NAND] scanning block at address 0x3a0000
    [    3.370000] [TFFS3-NAND] found TFFS header magic at address 0x3a0000, version 0x30000
    [    3.370000] [scan_block] blk_addr: 0x3a0000 blkseq_nr: 0xb8 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x2
    [    3.390000] [TFFS3-NAND] scanning block at address 0x3c0000
    [    3.400000] [TFFS3-NAND] found TFFS header magic at address 0x3c0000, version 0x30000
    [    3.410000] [scan_block] blk_addr: 0x3c0000 blkseq_nr: 0xe3 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x2
    [    3.430000] [TFFS3-NAND] scanning block at address 0x3e0000
    [    3.430000] [TFFS3-NAND] found TFFS header magic at address 0x3e0000, version 0x30000
    [    3.440000] [scan_block] blk_addr: 0x3e0000 blkseq_nr: 0xa0 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    3.490000] [TFFS3-NAND] Initialisation successful, 32/32/32 NAND blocks active, fill rate 14%
    [    3.500000] TFFS: tiny flash file system driver. GPL (c) AVM Berlin (Version 3.0)
    [    3.510000] Adam2 environment variables API installed.
    [    3.510000] [simple-profiling]: 2 performance counters implemented, NEW_34K
    [    3.520000] Enable Performance Counter 0 for Data cache load/stores (User-Mode enabled Supervisor-Mode enabled Kernel-Mode enabled Exeption-Mode disable)
    [    3.530000] Setup tcs=0x2 current_tc_mask=0x2, reg=0
    [    3.540000] [simple-profiling]: 2 performance counters implemented, NEW_34K
    [    3.540000] Enable Performance Counter 1 for Data cache load/store misses (User-Mode enabled Supervisor-Mode enabled Kernel-Mode enabled Exeption-Mode disable)
    [    3.560000] Setup tcs=0x2 current_tc_mask=0x2, reg=1
    [    3.560000] AVM Simple Profiling enabled Version 3.0
    [    3.570000] {avmnet_cfg_netinit}
    [    3.570000] [avmnet] No config found for HWRev 209, HWSubRev 1, Profile-ID 0, trying base config for HWSubRev
    [    3.580000] [avmnet] No config found for HWRev 209, HWSubRev 1, trying base config for HWRev
    [    3.590000] [avmnet] [avmnet_swi_7port_init] Init on module swi_vr9 called.
    [    3.590000] [avmnet] [fix_phy_clock_config]: Could not read external PHY clock pin data from avm_hw_config!
    [    3.800000] Loading AVM Net Common Datapath Driver for 7Port Switch...... 
    [    3.800000] [ppe_eth_init] init_hw()
    [    3.810000] [init_hw] ppe_hw_init=0xff successful
    [    3.810000] [ppe_eth_init] ifx_proc_file_create()
    [    3.810000] [ppe_eth_init] dma_setup_init()
    [    3.820000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown unicast frames 0x7b
    [    3.830000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown multicast frames 0x7b
    [    5.290000] [avmnet_set_macaddr] Setup Mac Addr for Device(eth0): 5c:49:79:57:47:5a 
    [    5.300000] avmnet: avm_pa: register pid eth0
    [    5.350000] SQUASHFS error: Can't find a SQUASHFS superblock on mtdblock1
    [    5.360000] yaffs: dev is 32505857 name is "mtdblock1" ro
    [    5.360000] yaffs: passed flags ""
    [    5.370000] yaffs: yaffs: Attempting MTD mount of 31.1,"mtdblock1"
    [    5.370000] yaffs: auto selecting yaffs2
    [    5.390000] {tsh_read_ecc} status 0xe1
    [    5.390000] [ifx_hsnand_command] read block failed (column: 0x800 page: 0x5ec0)
    [    5.440000] yaffs: block 314 is bad
    [    6.130000] yaffs: yaffs_read_super: is_checkpointed 0
    [    6.130000] VFS: Mounted root (yaffs filesystem) readonly on device 31:1.
    [    6.140000] devtmpfs: mounted
    [    6.140000] Freeing unused kernel memory: 300K (80835000 - 80880000)
    [    7.180000] TFFS Name Table L
    [    8.690000] [avm_urlader_env_set_variable] opening ID 0x1ae for writing
    [    8.830000] led_modul_Fritz_Box_HW209: module license '
    (C) Copyright 2012 by AVM
    ' taints kernel.
    [    8.840000] Disabling lock debugging due to kernel taint
    [    8.840000] [module-alloc-by-name] give 0x19000 bytes at 0x81104000 to module 'led_modul_Fritz_Box_HW209' (0xb3d000 bytes left)
    [    8.860000] [LED] use GPIO 6 for 'gpio_avm_led_power'
    [    8.870000] [LED] use GPIO 5 for 'gpio_avm_led_power_red'
    [    8.870000] [LED] use GPIO 34 for 'gpio_avm_led_internet'
    [    8.880000] [LED] use GPIO 15 for 'gpio_avm_led_dect'
    [    8.880000] [LED] use GPIO 0 for 'gpio_avm_led_wlan'
    [    8.890000] [LED] use GPIO 35 for 'gpio_avm_led_info'
    [    8.890000] [BUTTON] use GPIO 1 for 'gpio_avm_button_wlan'
    [    8.900000] [BUTTON] use GPIO 2 for 'gpio_avm_button_dect'
    [    8.900000] [register_bug_debug_table] name='led-modul' 0x8110e1e4 - 0x8110e1f8
    [    8.910000] AVM_WATCHDOG: System Init UEberwachung 120 Sekunden
    [    9.710000] [module-alloc-by-name] give 0x3000 bytes at 0x8111d000 to module 'rtc_avm' (0xb3a000 bytes left)
    [    9.720000] rtc-avm rtc-avm.0: rtc core: registered avm as rtc0
    [    9.730000] [avm-rtc]: avm_rtc_probe: register: ret=0x877bfc00
    [    9.730000] [avm-rtc]: avm_rtc_probe: success
    [    9.940000] 
    [avm_debug] redirecting kernel-messages (/dev/debug)
    [    9.990000] [module-alloc-by-name] give 0xe000 bytes at 0x81120000 to module 'Piglet_noemif' (0xb2c000 bytes left)
    [   10.000000] [piglet]use settings for 209(2 gpios from hw_config)
    
    [   10.100000] [piglet]patch_dectfw: c021a000, totallen = 45653(b255)
    [   10.100000] [piglet]patch_dectfw: patch_adress: a0 max_len: 26 with Version 2 Len: 17
    [   10.100000] [piglet]patch_dectfw: RFPI tag found 02966bfac8
    [   10.100000] [piglet]patch_dectfw: dectmode 19
    [   10.110000] 
    [38m
    [piglet]===== shared usage of UART (DECT and CONSOLE) - unusual characters shown: ====
    
    [8m
    [   10.110000] [piglet]dect_loader144xx: slow-bootmode
    [   10.870000] system-load 100 % loadavg 0.37 0.8 0.3 - 39 tasks:61 % curr:modprobe(7 %) max:init(33 %, pid:1), readytorun: 1, pgfault 1114/s (max 1 avg 0.0)
    [   10.940000] *
    [   11.240000] *****************************************************************************************
    [   13.230000] [piglet]dect144xx_file_process: upload of '/lib/modules/dectfw_secondlevel_441.hex' successfull
    [   13.250000] 
    
    
    
    
    
    
    [piglet]===== end of shared usage of UART (DECT and CONSOLE) ====
    [0m
    [   15.360000] [piglet]TDM: FS: 8005 Hz CLK: 4025840 Hz  (SPITDM)
    [   15.490000] yaffs: dev is 32505861 name is "mtdblock5" rw
    [   15.490000] yaffs: passed flags ""
    [   15.490000] yaffs: yaffs: Attempting MTD mount of 31.5,"mtdblock5"
    [   16.320000] yaffs: yaffs_read_super: is_checkpointed 0
    [   16.530000] [module-alloc-by-name] give 0x68000 bytes at 0x8112e000 to module 'pcmlink' (0xac4000 bytes left)
    [   16.950000] [module-alloc-by-name] give 0xcb000 bytes at 0x81196000 to module 'isdn_fbox_fon5' (0x9f9000 bytes left)
    [   17.000000] [capi_oslib]avm_stack_attach: cpu1 -> cpu1
    [   17.000000] [pcmlink]chrony-support
    [   17.040000] [isdn]PCMLINK: svnVersion: 2282 (isdn: 3163) Codecslots=6 Slics=1 Pots=0 TE=0 NT=0 DECT=4 no HwCross DSP-EC: 0
    [   17.470000] [module-alloc-by-name] give 0x69000 bytes at 0x81261000 to module 'capi_codec' (0x990000 bytes left)
    [   17.490000] capicodec_init()
    [   17.490000] [capi_codec] support fax
    [   17.490000] [capi_codec] support Codecs
    [   17.660000] [module-alloc-by-name] give 0x4b000 bytes at 0x812ca000 to module 'avm_dect' (0x945000 bytes left)
    [   17.700000] [module-alloc-by-name] give 0x5000 bytes at 0x81315000 to module 'dect_io' (0x940000 bytes left)
    [   18.170000] [avm_urlader_env_set_variable] opening ID 0x1aa for writing
    [   18.230000] udevd[1234]: starting version 175
    [   19.840000] [module-alloc-by-name] give 0x2e000 bytes at 0x8131a000 to module 'mei_vr9' (0x912000 bytes left)
    [   17.490000] : Codecs_Init register a /dev/debug handler
    [   19.850000] [dsl_mei] Lantiq (VRX) DSL CPE MEI driver, version 1.4.4, (c) 2013 Lantiq Deutschland GmbH
    [   19.850000] [dsl mei] tried to set GDBG Level to 4
    
    [   19.850000] [dsl mei] debug_level=4, Global UsrDbgLevel=4 MEI_DRV UsrDbgLevel=4 MEI_MEI_ACCESS UsrDbgLevel=4
    
    [   19.850000] [dsl mei] debug_level=4, Global IntDbgLevel=4 MEI_DRV IntDbgLevel=4 MEI_MEI_ACCESS IntDbgLevel=4
    
    [   19.850000] [dsl_vr9] AVM_MEI_PowerUpDSLSubsystem enable power domain 'DSL + DFE'
    [   19.850000] [AVM_MEI_PowerUpDSLSubsystem] power up 'PPE TC, PPE EMA, LEDC, DFEV1, DFEV0'
    [   19.870000] [dsl_vr9] AVM_MEI_PowerUpDSLSubsystem unreset 'DSL, DFE, AFE, VOICE, DSLTC, ARC'
    [   19.870000] spi_clc=0x00000200
    [   20.050000] [module-alloc-by-name] give 0x4d000 bytes at 0x81348000 to module 'dsl_vr9' (0x8c5000 bytes left)
    [   20.070000] [dsl drv] Lantiq CPE API Driver version: DSL CPE API V4.16.6-pd1
    [   20.070000] [dsl drv] Predefined debug level: 4
    [   20.070000] [dsl drv] dynamically registered major number 237 for dsl_vr9
    [   20.280000] [module-alloc-by-name] give 0x27000 bytes at 0x81395000 to module 'ifxmips_ppa_datapath_vr9_e5' (0x89e000 bytes left)
    [   20.290000] Loading E5 (MII0/1) driver ...... 
    [   20.300000] drivers/net/ethernet/avm/avm_cpmac/switch/ifx/vr9/ifxmips_ppa_datapath_vr9_e5.c:3031:init_local_variables: [init_local_variables] g_eth_wan_mode=0
    
    [   20.300000] drivers/net/ethernet/avm/avm_cpmac/switch/ifx/vr9/ifxmips_ppa_datapath_vr9_e5.c:3090:init_local_variables: g_wan_itf=0x80, g_wanqos_en=8
    
    [   20.310000] CPU_TO_WAN_TX_DESC_BASE[0] =0xbe227400
    [   20.320000] avmnet: avm_pa: register pid ptm_vr9
    [   20.320000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown unicast frames 0x7b
    [   20.320000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown multicast frames 0x7b
    [   20.320000] [ppe_e5_init] Succeeded!
    [   20.320000] PPE datapath driver info:
      Version ID: 64.3.3.1.0.1.1
      Family    : VR9
      DR Type   : Normal Data Path | Indirect-Fast Path
      Interface : MII0 | MII1
      Mode      : Routing
      Release   : 0.1.1
    [   20.320000] PPE firmware info:
      Version ID: 7.5.2.11.1
      Family    : VR9
      FW Package: D5
      Release   : 2.11.1
    PPE firmware feature:
      ATM/PTM TC-Layer Bonding        Support
      L2 Trunking                     Support
      Packet Acceleration             Support
      IPv4                            Support
      IPv6                            Support
      6RD                             Support
      DS-Lite                         Support
    [   21.860000] system-load 100 % loadavg 0.47 0.11 0.4 - 60 tasks:34 % curr:dsl_control(5 %) max:migration/0(10 %, pid:7), readytorun: 1, pgfault 1426/s (max 0 avg 0.0)
    [   21.890000] activating IRQ mode
    [   21.890000] requesting IRQ
    [   21.890000] request_irq 
    [   21.890000] usedIrq: 57 | usedIsrHandler: 813296e0 | usedFlags: 0x100 | pUsedDevName: mei_vr9 | pUsedDevId: -2028920960
    [   21.890000] IRQ requested ok
    [   21.890000] MEI_DRV: MEI_IfxRequestIrq(IRQ = 57, .., ), lock = 1
    
    check this C
    [   21.890000] about to check device status
    [   22.440000] [module-alloc-by-name] give 0x1ae000 bytes at 0x813bc000 to module 'kdsldmod' (0x6f0000 bytes left)
    [   22.570000] kdsldmod: init start (Feb  4 2016 17:39:46) sizeof(struct sk_buff)=448
    [   22.580000] userman: device registerd (userman_url) with major=231
    [   22.580000] kdsld: ttychannel: ldisc 8 registered
    [   22.580000] PCP_NL: PCP netlink interface (multicast group 1)
    [   22.580000] kdsldmod: init done (Feb  4 2016 17:39:47)
    [   26.600000] [avm_power] eth: port 0 force normal  CON t0
    [   27.650000] IPv6: ADDRCONF(NETDEV_UP): lan: link is not ready
    [   27.650000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   28.320000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   28.320000] IPv6: ADDRCONF(NETDEV_CHANGE): lan: link becomes ready
    [   28.690000] IPv6: ADDRCONF(NETDEV_UP): guest: link is not ready
    [   28.850000] [dma_device_write] auto open tx_chan_no:2
    [   28.890000] system-load 2  loadavg 0.51 0.13 0.4 - 71 tasks:14 % curr:ctlmgr(5 %) max:ctlmgr(5 %, pid:1467), readytorun: 3, pgfault 1358/s (max 3 avg 1.8)
    [   21.890000] MEI_DRV[00]: INIT DEVICE, phy addr = 0x1E116000, virt addr = 0xBE116000 IRQ = 57
    
    [   32.050000] Re-init AVM Net Common Datapath Driver 7Port Switch ...... 
    [   32.050000] [init_hw] ppe_hw_init=0xff successful
    [   32.050000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown unicast frames 0x7b
    [   32.050000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown multicast frames 0x7b
    [   32.050000] [reinit_7port_common_eth] Succeeded!
    [   32.090000] Loading E5 (MII0/1) driver ...... 
    [   32.100000] drivers/net/ethernet/avm/avm_cpmac/switch/ifx/vr9/ifxmips_ppa_datapath_vr9_e5.c:3031:init_local_variables: [init_local_variables] g_eth_wan_mode=3
    
    [   32.100000] drivers/net/ethernet/avm/avm_cpmac/switch/ifx/vr9/ifxmips_ppa_datapath_vr9_e5.c:3090:init_local_variables: g_wan_itf=0x2, g_wanqos_en=8
    
    [   32.120000] CPU_TO_WAN_TX_DESC_BASE[0] =0xbe227400
    [   32.120000] avmnet: avm_pa: register pid ptm_vr9
    [   32.120000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown unicast frames 0x7b
    [   32.120000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown multicast frames 0x7b
    [   32.120000] [ppe_e5_init] Succeeded!
    [   32.120000] PPE datapath driver info:
      Version ID: 64.3.3.1.0.1.1
      Family    : VR9
      DR Type   : Normal Data Path | Indirect-Fast Path
      Interface : MII0 | MII1
      Mode      : Routing
      Release   : 0.1.1
    [   32.120000] PPE firmware info:
      Version ID: 7.5.2.11.1
      Family    : VR9
      FW Package: D5
      Release   : 2.11.1
    PPE firmware feature:
      ATM/PTM TC-Layer Bonding        Support
      L2 Trunking                     Support
      Packet Acceleration             Support
      IPv4                            Support
      IPv6                            Support
      6RD                             Support
      DS-Lite                         Support
    [   32.220000] [module-alloc-by-name] give 0x14000 bytes at 0x8156a000 to module 'ifxmips_ppa_hal_vr9_e5' (0x6dc000 bytes left)
    [   32.310000] [module-alloc-by-name] give 0x17000 bytes at 0x8157e000 to module 'ifx_ppa_mini_sessions' (0x6c5000 bytes left)
    [   32.320000] Register LANTIQ_PA @ AVM_PA
    [   32.320000] [ifx_ppa_mini_session_init]
    [   32.320000] [ifx_ppa_mini_session_init] avm_pa sessionh_lookup table
    [   32.320000] max_lan_entries       192
    [   32.320000] max_wan_entries       192
    [   32.320000] max_mc_entries        32
    [   32.320000] max_bridging_entries  2048
    [   32.320000] max_ipv6_addr_entries 128
    [   32.320000] max_fw_queue          8
    [   32.320000] max_6rd_entries       4
    [   32.320000] AVM - Lantiq-PPA: minimalist and slim Session Management: --- init successful
    [   32.320000] Session-Table Size: 256 * 200 byte = 50 kb
    [   32.400000] [module-alloc-by-name] give 0x24000 bytes at 0x81595000 to module 'aae' (0x6a1000 bytes left)
    [   32.410000] [module-alloc-by-name] give 0x3000 bytes at 0x815b9000 to module 'ifx_ppa_mini_qos' (0x69e000 bytes left)
    [   32.410000] AVM - Lantiq-PPA: minimalist and slim QoS Management: --- init successful
    [   32.420000] [wlan_config] Given config is:
    [   32.420000] [wlan_config]   hw_interface=0 chip_type=3 (kiwi) offload=1 (non)
    [   32.420000] [wlan_config] hwrev=209 hwsubrev=1 maca=5c:49:79:57:47:5a
    [   32.430000] [wlan_eeprom] Calibration data blocks found = 1
    [   32.430000] [wlan_eeprom] EEPROM #1, type "AR92x7":
    [   32.430000] [wlan_eeprom] Customer data="AVM7412_CAL1_V2"
    [   32.430000] [wlan_eeprom] regDmn=0x8114 - patching to 0
    [   32.430000] [wlan_eeprom] MinCCAPwr thresh set to -85,-85
    [   32.430000] [wlan_eeprom] Build with ART 0.9b27
    [   32.430000] avm_net_trace: New net trace device 'WLAN Management Traffic' registered with minor 128.
    [   32.440000] avm_net_trace: udev device avm_net_trace128 created
    [   32.650000] system-load 100 % loadavg 0.63 0.16 0.5 - 88 tasks:37 % curr:dsld(1 %) max:ctlmgr(13 %, pid:1467), readytorun: 1, pgfault 2491/s (max 6 avg 1.8)
    [   32.690000] [module-alloc-by-name] give 0x7000 bytes at 0x815bc000 to module 'adf' (0x697000 bytes left)
    [   32.700000] ****Address of trace_timer :815bf270 
    [   32.760000] [module-alloc-by-name] give 0x4000 bytes at 0x815c3000 to module 'asf' (0x693000 bytes left)
    [   32.820000] [module-alloc-by-name] give 0x3000 bytes at 0x815c7000 to module 'sch_tbf' (0x690000 bytes left)
    [   33.340000] [module-alloc-by-name] give 0xb6000 bytes at 0x815ca000 to module 'ath_hal' (0x5da000 bytes left)
    [   33.360000] ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, TX_DATA_SWAP, RX_DATA_SWAP, 11D)
    [   33.390000] [module-alloc-by-name] give 0x9000 bytes at 0x81680000 to module 'ath_rate_atheros' (0x5d1000 bytes left)
    [   33.400000] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
    [   33.450000] [module-alloc-by-name] give 0xc000 bytes at 0x81689000 to module 'ath_spectral' (0x5c5000 bytes left)
    [   33.460000] ath_spectral: Version 2.0.0
    Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved
    [   33.460000] SPECTRAL module built on Feb 11 2016 11:41:15
    [   33.530000] [module-alloc-by-name] give 0x13000 bytes at 0x81695000 to module 'ath_dfs' (0x5b2000 bytes left)
    [   33.550000] ath_dfs: Version 2.0.0
    Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
    [   33.850000] [module-alloc-by-name] give 0x5a000 bytes at 0x816a8000 to module 'ath_dev' (0x558000 bytes left)
    [   33.900000] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
    [   34.110000] [dma_device_write] auto open tx_chan_no:2
    [   35.030000] [module-alloc-by-name] give 0x10e000 bytes at 0x81702000 to module 'umac' (0x44a000 bytes left)
    [   35.130000] ath_pci: SmartAntenna-DRT-0.1 (Atheros/multi-bss)
    [   35.130000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
    [   35.130000] ath_pci 0000:01:00.0: enabling bus mastering
    [   35.130000] __ath_attach: Set global_scn[0]
    [   35.140000] SPECTRAL : get_capability not registered
    [   35.140000] HAL_CAP_PHYDIAG : Capable
    [   35.140000] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 231)
    [   35.140000] SPECTRAL : get_capability not registered
    [   35.140000] HAL_CAP_RADAR   : Capable
    [   35.140000] SPECTRAL : Need to fix the capablity check for SPECTRAL
     (spectral_attach : 236)
    [   35.140000] SPECTRAL : get_capability not registered
    [   35.140000] HAL_CAP_SPECTRAL_SCAN : Capable
    [   35.140000] SPECTRAL : get_tsf64 not registered
    [   35.140000] spectral_init_netlink 83 NULL SKB
    [   35.140000] SPECTRAL : No ADVANCED SPECTRAL SUPPORT
    [   35.140000] SPECTRAL :----- module attached
    [   35.140000] GreenAP on wifi%d: Attached
    [   35.140000] ath_get_caps[6407] rx chainmask mismatch actual 3 sc_chainmak 0
    [   35.140000] ath_get_caps[6382] tx chainmask mismatch actual 3 sc_chainmak 0
    [   35.140000] ic_num_chains=2x2
    [   35.140000] _avm_ath_ext_attach_ah:156
    [   35.140000] band steering initialized for direct attach hardware 
    [   35.140000] ieee80211_bsteering_attach: Band steering initialized
    [   35.140000] ath_attach_dfs[13034] dfsdomain 1
    [   35.150000] SPECTRAL : module already attached
    [   35.150000] osif_wrap_attach:318 osif wrap attached
    [   35.150000] osif_wrap_devt_init:943 osif wrap dev table init done
    [   35.160000] request_irq type = 0x80
    [   35.190000] avm_net_trace: New net trace device 'HW (2.4 + 5 GHz, wifi0)' registered with minor 129.
    [   35.190000] Register net trace device succeeded with minor 129 (wifi0).
    [   35.190000] wifi0: Atheros ???: mem=0x1c000000, irq=138 hw_base=0xbc000000
    [   35.200000] _avm_ath_ext_attach_ieee:138
    [   35.200000] avm_net_trace: udev device avm_net_trace129 created
    [   35.260000] [module-alloc-by-name] give 0x6000 bytes at 0x81810000 to module 'ath_pktlog' (0x444000 bytes left)
    [   35.770000] [module-alloc-by-name] give 0x26000 bytes at 0x81816000 to module 'krtp' (0x41e000 bytes left)
    [   35.790000] krtp: rtp_fastpath_register done
    [   35.800000] krtp: krtp_init done
    [   37.030000] ath_attach_dfs[13034] dfsdomain 1
    [   37.050000] Requested VPA id 0 and MAC 5c:49:79:57:47:5c
    [   37.050000] avm_net_trace: New net trace device 'AP (2.4 + 5 GHz, ath0)' registered with minor 131.
    [   37.050000] Register vap net trace device succeeded with minor 131 (ath0).
    [   37.050000] avm_net_trace: New net trace device 'AP (2.4 + 5 GHz, ath0)' registered with minor 132.
    [   37.050000] Register vap net trace device succeeded with minor 132 (ath0).
    [   37.050000] VAP device ath0 created osifp: (8654c420) os_if: (83450000)
    [   37.060000] avm_net_trace: udev device avm_net_trace131 created
    [   37.060000] avm_net_trace: udev device avm_net_trace132 created
    [   37.070000] ath0: registered PID at AVM_PA
    [   37.070000] ath0: registered VPID at AVM_PA
    [   37.070000]  
     DES SSID SET=FRITZ!Box 7412 
    [   37.070000] ACFG vendor param set fail, AVM mcast-to-ucast deactivated
    [   37.160000]  ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1 
    [   37.220000]  DEVICE IS DOWN ifname=ath0
    [   37.220000]  DEVICE IS DOWN ifname=ath0
    [   37.850000] [DECTDRV_ERR] API_FP_MAC_START_STOP_REQ 255 -> 0
    [   37.990000] Warning: node not in table 0x8678e000
    [   38.030000] jitterbuffer_set_config: auto_on 1   ms 50   packets 0
    [   38.030000] avm_pa: telephony_reduce 65
    [   38.030000] avm_pa: mswin 300 400
    [   38.140000] 8021q: adding VLAN 0 to HW filter on device ath0
    [   38.400000] 8021q: adding VLAN 0 to HW filter on device ath0
    [   39.280000] AVM_WATCHDOG: System Init UEberwachung abgeschlossen (89840 ms noch verfuegbar)
    [   39.320000] [avm_power] pm_ressourceinfo_scriptparse: powerdevice_cpuclock: norm_power_rate=100 act_rate=100 mul=0 div=1 offset=0 NormP=0 mW -> SumNormP=0 mW
    [   39.320000] [avm_power] pm_ressourceinfo_scriptparse: powerdevice_systemclock: norm_power_rate=100 act_rate=100 mul=0 div=1 offset=2000 NormP=2000 mW -> SumNormP=2000 mW
    [   39.320000] [avm_power] pm_ressourceinfo_scriptparse: powerdevice_dspclock: norm_power_rate=100 act_rate=100 mul=0 div=1 offset=1000 NormP=1000 mW -> SumNormP=3000 mW
    [   39.320000] [avm_power] pm_ressourceinfo_scriptparse: powerdevice_loadrate: norm_power_rate=100 act_rate=79 mul=15 div=1 offset=0 NormP=1500 mW -> SumNormP=4500 mW
    [   39.320000] [avm_power] pm_ressourceinfo_scriptparse: powerdevice_dsl: norm_power_rate=100 act_rate=0 mul=15 div=1 offset=0 NormP=1500 mW -> SumNormP=6000 mW
    [   39.320000] [avm_power] pm_ressourceinfo_scriptparse: powerdevice_analog: norm_power_rate=100 act_rate=0 mul=141 div=10 offset=100 NormP=1510 mW -> SumNormP=7510 mW
    [   39.320000] [avm_power] pm_ressourceinfo_scriptparse: powerdevice_wlan: norm_power_rate=100 act_rate=0 mul=84 div=10 offset=100 NormP=940 mW -> SumNormP=8450 mW
    [   39.320000] [avm_power] pm_ressourceinfo_scriptparse: powerdevice_ethernet: norm_power_rate=167 act_rate=16777234 mul=1 div=1 offset=50 NormP=217 mW -> SumNormP=8667 mW
    [   39.320000] SysRq : Changing Loglevel
    [   39.320000] Loglevel set to 4
    [   39.420000] ---> reanimated debugbuffer: read=0 write=10938, written=10938 <---
    [   39.610000] [DECTDRV_ERR] API_FP_MAC_START_STOP_REQ 0 -> 0
    [   39.610000] [DECTDRV_ERR] API_FP_MAC_START_STOP_REQ 0 -> 0
    [   44.220000] ieee80211_node_table_reset: ERROR! reclaiming unexpected node 5c:49:79:57:47:5c@ath0: @83695000, flags 0, ni_bss @83695000, refcnt 1
    [   44.500000] GreenAP on wifi0: Transition to Power save (WAIT)
    [   44.500000] 8021q: adding VLAN 0 to HW filter on device ath0
    [   45.840000] system-load 100 % loadavg 1.13 0.30 0.10 - 93 tasks:51 % curr:openssl_req(2 %) max:kworker/1:1H(11 %, pid:1143), readytorun: 3, pgfault 1488/s (max 8 avg 6.9)
    [   49.960000] system-load 8  loadavg 1.13 0.30 0.10 - 99 tasks:4 % curr:upnpd(2 %) max:upnpd(2 %, pid:1473), readytorun: 2, pgfault 1651/s (max 0 avg 0.0)
    [   65.110000] Module will be unloaded
    [   66.060000] system-load 2  loadavg 1.35 0.41 0.14 - 83 tasks:13 % curr:luacgi(2 %) max:upnpd(4 %, pid:1473), readytorun: 3, pgfault 623/s (max 8 avg 8.0)
    [   76.140000] system-load 1  loadavg 1.30 0.42 0.15 - 81 tasks:20 % curr:luacgi(12 %) max:luacgi(12 %, pid:2010), readytorun: 1, pgfault 131/s (max 8 avg 8.0)
    [   78.670000] [module-alloc-by-name] give 0x6000 bytes at 0x8183c000 to module 'kspeedtest' (0x418000 bytes left)
    [   78.680000] kspeedtest: kspeedtest_init: second timer started 
    [   78.680000] kspeedtest: kspeedtest_init done
    
    
    [  111.510000] REG_TE_REV            (00): 00000000
    [  111.510000] REG_TE_FRM_SAMPLE_CTRL(04): 00000000
    [  111.510000] REG_TE_TRANSMIT_CTRL  (08): 00000008
    [  111.510000] REG_TE_CMD_STATUS     (0c): 00000000
    [  111.510000] REG_NT_REV            (10): 00000000
    [  111.510000] REG_NT_FRM_SAMPLE_CTRL(14): 00000000
    [  111.510000] REG_NT_TRANSMIT_CTRL  (18): 00000014
    [  111.510000] REG_NT_CMD_STATUS     (1c): 00000000
    [  111.510000] REG_PCM_CTRL_TE       (20): 00000000
    [  111.510000] REG_PCM_CTRL_NT       (24): 00000000
    [  111.510000] REG_PCM_CTRL_DECT     (28): 00000000
    [  111.510000] REG_GLOBAL_MISC       (2c): 00000000
    [  111.510000] REG_IAPOTS            (3c): 00000000
    [  111.510000] REG_DIR               (40): 01100076
    [  111.510000] REG_ANALOG_IN         (44): 00000088
    [  111.510000] REG_ANALOG_OUT        (48): 01100026
    [  111.510000] REG_EDGE_CTRL         (4c): 00000000
    [  111.510000] REG_EDGE_DETECT       (50): 00000000
    [  111.510000] REG_CODEC_POTS        (54): 00000000
    [  111.510000] REG_CODEC_SLIC1       (58): 00000000
    [  111.510000] REG_CODEC_SLIC2       (5c): 00000000
    [  111.510000] REG_CODEC_SLIC3       (60): 00000000
    [  111.510000] REG_CODEC_COMMON      (64): 00000000
    [  111.520000] [pcmlink]ReadMaskValid=21f10cc 21f10cc
    [  111.520000] addr=00 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  111.520000] addr=04 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  111.520000] addr=08 value=00000000 real(real: 00000000 shadow: 00000008)
    [  111.520000] addr=0c value=00000000 real(real: 00000000 shadow: 00000000)
    [  111.520000] addr=10 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  111.520000] addr=14 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  111.520000] addr=18 value=00000000 real(real: 00000000 shadow: 00000014)
    [  111.520000] addr=1c value=00000000 real(real: 00000000 shadow: 00000000)
    [  111.520000] addr=20 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  111.520000] addr=24 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  111.520000] addr=28 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  111.520000] addr=2c value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  111.520000] addr=30 value=00000000 real(real: 00000000 shadow: 00000000)
    [  111.520000] addr=34 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  111.520000] addr=38 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  111.520000] addr=3c value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  111.520000] addr=40 value=01100076 real(real: 01100076 shadow: 01100076)
    [  111.520000] addr=44 value=0000c088 real(real: 0000c088 shadow: 00000000)
    [  111.520000] addr=48 value=01100026 real(real: 01100026 shadow: 01100026)
    [  111.520000] addr=4c value=00000000 real(real: 00000000 shadow: 00000001)
    [  111.520000] addr=50 value=00000000 real(real: 00000000 shadow: 00000000)
    [  111.520000] addr=54 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  111.520000] addr=58 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  111.520000] addr=5c value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  111.520000] addr=60 value=00000000 shadow(real: 00000000 shadow: 00000000)
    [  111.520000] addr=64 value=00000000 real(real: 00000000 shadow: 00000000)
    [  111.520000] TDM: SLOT-RX-DATA[0] 8770d180 : ffff fefe fefe fefe d5d5 0c08 ffff fefe fefe fefe d5d5 0c08 ffff fefe fefe
    [  111.520000] TDM: SLOT-RX-DATA[1] 8770d480 : ffff fefe fefe fefe d5d5 0c08 ffff fefe fefe fefe d5d5 0c08 ffff fefe fefe
    [  111.520000] TDM:
    [  111.520000] Frame-Violations 0.0 % (diff=603) from 756089 triggers irqs max-time between frame-trigger 151 us
    [  111.520000] yield-cnt: 756089
    [  111.520000] TDM:
    [  111.520000] be100800:SPI_CLC         00000200
    [  111.520000] be100804:SPI_PISEL       00000000 CIS=0 SIS=0 MIS=0
    [  111.520000] be100808:SPI_ID          08084528 TXFS=8 RXFS=8 ID=0x45 CFG=1 REV=8
    [  111.520000] be100810:SPI_CON         005f0050 RX/TX_SWP=0/0 ENBV BM=31 TX/RXENDI=0/0  PO=1 PH=0 MSB first  RX/TXOFF=0/0
    [  111.520000] be100814:SPI_STAT        04082005 RXBV=0 TXBV=4 BC=8 BSY SSEL EN 
    [  111.520000] be100830:SPI_RXFCON      00000301 RXFITL=3 RXFEN=1
    [  111.520000] be100834:SPI_TXFCON      00000101 TXFITL=1 TXFEN=1
    [  111.520000] be100838:SPI_FSTAT       00000003 TXFFL=0 RXFFL=3
    [  111.520000] be100840:SPI_BRT         00000001
    [  111.520000] be100844:SPI_BRSTAT      00000000
    [  111.520000] be100860:SPI_SFCON       00000000 PLEN=0 STOP=0 ICLK=0 IDAT=0 DLEN=0 IAEN=0 IBEN=0 SFEN=0
    [  111.520000] be100864:SPI_SFSTAT      00000000 PCNT=0 DCNT=0 PBSY=0 DBSY=0
    [  111.520000] be100870:SPI_GPOCON      00000000 ISCSBn=0x0 INVOUTn=0x0
    [  111.520000] be100874:SPI_GPOSTAT     00000000 OUTn=0x0
    [  111.520000] be100880:SPI_RXREQ       00000000
    [  111.520000] be100884:SPI_RXCNT       00000000
    [  111.520000] be1008ec:SPI_DMACON      00000000 RXCLS=0 TXOFF RXOFF
    [  111.520000] be1008f4:SPI_IRNEN       00000002 RIREN  
    [  111.520000] be1008f8:SPI_IRNICR      00000000  
    [  111.520000] be1008fc:SPI_IRNCR       00000011 TFI TIR  
    [  111.520000] bf101014: YIELD_EN1 0x10000
    [  111.520000] [cpu=1 tc=2]yield: mask=0x300 trigger=0 stack-used=40(stack-start=87cb7068) from 4096 bytes
    [cpu=0 tc=3]yield: mask=0x410 trigger=1027541 stack-used=116(stack-start=87cc1068) from 4096 bytes
    	[10]handler: ltdm_frameyield+0x0/0x380 [pcmlink] enable=1 count=1027541 unhandled=0
    			cycle-stat: [1027543]consumption: min=55 max=10838 avg=636
    			cycle-stat: [1027542]trigger: min=144 max=35750 avg=22994
    
    [  111.520000] max consumption 166 us
    [  111.520000] avg consumption 30 us (measurement period 94.512 s)
    [  111.520000] max well      delay between irq<->irq 5776 us
    [  111.520000] min           delay between irq<->irq 0 us
    [  111.520000] [DECTDRV] STUB side status of pcm link ...
    [  111.520000] [DECTDRV] n_tx:                    52
    [  111.520000] [DECTDRV] n_rx:                    27
    [  111.520000] [DECTDRV] n_rx_cs_errors:          0
    [  111.520000] [DECTDRV] n_rx_len_errors:         0
    [  111.520000] [DECTDRV] n_rx_overflows:          0
    [  111.520000] [DECTDRV] n_rx_buffer_overruns:    0
    [  111.520000] [DECTDRV] n_phase_info_errors:     0
    [  111.520000] [DECTDRV] n_dsp_int_errors:        0
    [  111.520000] [DECTDRV] n_dsp_overflows:         0
    [  111.520000] [DECTDRV] n_mail_overflow:         0
    [  111.520000] [DECTDRV] phase_info:              140
    [  111.520000] [DECTDRV] n_lost_messages:         0
    [  111.520000] [DECTDRV] 
    [  111.520000] [DECTDRV] DRIVER side status of pcm link ...
    [  111.520000] [DECTDRV] tx_n_mails:              27
    [  111.520000] [DECTDRV] rx_n_mails:              54
    [  111.520000] [DECTDRV] rx_n_cs_errors:          0
    [  111.520000] [DECTDRV] rx_n_len_errors:         0
    [  111.520000] [DECTDRV] rx_n_mail_cnt_errors:    0
    [  111.520000] [DECTDRV] rx_n_lost_mails:         0
    [  111.520000] [DECTDRV] tx_max_len:              19
    [  111.520000] [DECTDRV] rx_max_len:              34
    [  111.520000] [DECTDRV] STUB OS status ...
    [  111.520000] [DECTDRV] stub alive:          yes
    [  111.520000] [DECTDRV] mail_buffer_usage:   0x3b
    [  111.520000] [DECTDRV] heap_usage:          0x0
    [  111.520000] [DECTDRV] runtime_error:       code=0x0, line=0, task=0
    Mir fehlt da einfach jede Phantasie, wo die fehlenden 9 Sekunden (von 3.04 bis 12.04) im Protokoll der 06.50 in #24 geblieben sein könnten ... das kann m.E. nicht nur an dem "printk"-Patch liegen; vor diesem (ebenfalls fehlenden) "[avm_debug] redirecting kernel-messages (/dev/debug)" (das ist die Reaktion auf das Schreiben von AVM_PRINTK) müßten noch jede Menge Zeilen kommen.

    Das ist alles sehr mysteriös ...



    Der hängenbleibende "init"-Prozess bei der Abarbeitung der "rc.S" könnte auch schlicht an einem geänderten Verhalten der BusyBox liegen - rufe ich bei mir in einer interaktiven Session ein "cat /dev/debug&" auf, erzeugt das gar keinen Eintrag mit diesem Kommando in der Prozessliste, das steht da als "-sh":
    Code:
    root@FB7490:~ $ jobs
    root@FB7490:~ $ echo AVMDBG_EOF 0 >/dev/debug
    root@FB7490:~ $ cat /dev/debug&
    [   10.890000][1][module-alloc-by-name] give 0xe000 bytes at 0x81225000 to module 'Piglet_noemif' (0xae4000 bytes left)
    [   10.900000][1][piglet]use settings for 185(7 gpios from hw_config)
    [   10.900000][1]
    [   11.010000][1][piglet]patch_dectfw: c0791000, totallen = 48681(be29)
    [   11.010000][1][piglet]patch_dectfw: patch_adress: a0 max_len: 26 with Version 2 Len: 17
    [   11.010000][1][piglet]patch_dectfw: RFPI tag found 0258dd0860
    [   11.010000][1][piglet]dect_loader144xx: slow-bootmode
    [...]
    root@FB7490:~ $ for l in $(find /proc/*/fd/ -type l); do [ "$(realpath $l 2>/dev/null)" = "/dev/debug" ] && echo $l; done
    /proc/873/fd/3
    root@FB7490:~ $ ps w | grep 873
      873 root      1616 S    -sh
     1571 root      1332 S    {exe} grep 873
    root@FB7490:~ $ ps l | grep 873
    S     0   873 29046  1616   444 pts1  04:03 00:00:00 -sh
    S     0  1573 29046  1332   180 pts1  04:05 00:00:00 {exe} grep 873
    root@FB7490:~ $ ps | grep 873
      873 root      1616 S    -sh
     1575 root      1332 S    {exe} grep 873
    root@FB7490:~ $ cat /proc/1/smaps | grep "^[0-7]"
    00400000-0046e000 r-xp 00000000 1f:01 433        /wrapper/bin/busybox
    0047d000-0047f000 rw-p 0006d000 1f:01 433        /wrapper/bin/busybox
    0047f000-00484000 rw-p 00000000 00:00 0          [heap]
    778e2000-7797f000 r-xp 00000000 1f:01 384        /wrapper/lib/libuClibc-0.9.33.2.so
    7797f000-7798e000 ---p 00000000 00:00 0
    7798e000-7798f000 r--p 0009c000 1f:01 384        /wrapper/lib/libuClibc-0.9.33.2.so
    7798f000-77990000 rw-p 0009d000 1f:01 384        /wrapper/lib/libuClibc-0.9.33.2.so
    77990000-77998000 rw-p 00000000 00:00 0
    77998000-7799f000 r-xp 00000000 1f:01 385        /wrapper/lib/ld-uClibc-0.9.33.2.so
    779ac000-779ae000 rw-p 00000000 00:00 0
    779ae000-779af000 r--p 00006000 1f:01 385        /wrapper/lib/ld-uClibc-0.9.33.2.so
    779af000-779b0000 rw-p 00007000 1f:01 385        /wrapper/lib/ld-uClibc-0.9.33.2.so
    7fe9a000-7febb000 rwxp 00000000 00:00 0          [stack]
    7fff7000-7fff8000 r-xp 00000000 00:00 0          [vdso]
    root@FB7490:~ $ stat /wrapper/lib/ld-uClibc-0.9.33.2.so
      File: /wrapper/lib/ld-uClibc-0.9.33.2.so
      Size: 31680           Blocks: 62         IO Block: 4096   regular file
    Device: 1f01h/7937d     Inode: 385         Links: 1
    Access: (0700/-rwx------)  Uid: (    0/    root)   Gid: (    0/    root)
    Access: 2017-03-06 13:35:37.000000000
    Modify: 2017-03-06 13:35:37.000000000
    Change: 2017-03-30 21:33:29.000000000
    
    root@FB7490:~ $
    Wenn das innerhalb von "/sbin/init" genauso abläuft (die originale AVM-BusyBox aus "/wrapper" verhält sich nicht anders und die wird vom "init" benutzt, s.o. die letzten beiden Kommandos) und es hier nicht einen Unterschied zwischen dem interaktiven Modus und dem "batch mode" von "init" gibt, dann findet der AVM-Code (in der "rc.tail.sh", zum Beenden des Prozesses mit der Debug-Ausgabe - es kann nur einen geben) das aktive "cat" gar nicht, gibt das "AVMDBG_EOF 1" nicht aus und man muß jetzt darauf bauen, daß das "cat"-Kommando, was aus der "S11-piglet" noch aktiv sein könnte, beim Aufräumen am Ende von "rc.S" eigentlich mit abgeräumt werden sollte.

    Wieso da "rc.S" jetzt warten sollte (Du erinnerst Dich bestimmt auch an Berichte in anderen Tickets, daß aus der rc.custom heraus gestartete Prozesse als "laufen nicht richtig" angesehen wurden, weil die einfach nicht sauber detached waren und sofort wieder mit abgeräumt wurden, wenn der Parent endete), würde mich aber auch interessieren ... anhand der Ausgabe von "cat /proc/<pid>/wchan" für so eine hängende "rc.S" könnte man aber zumindest mal ermitteln, was die letzte aufgerufene Kernel-Funktion diese Prozesses war und daraus ggf. ableiten, wo der wirklich hängt.



    Die Kommandos aus der "inittab" verwaltet die BusyBox in einer (einfach) verketteten Liste, die zwar auch bei Bedarf neu geladen werden kann (über SIGHUP an PID 1), aber in einem Rutsch (in "parse_inittab()") eingelesen wird. Damit sollte die "inittab" im Wrapper-FS bei den Modellen mit diesem Konstrukt auch die entscheidende sein ... ich kenne jedenfalls keine Stelle, wo so ein Hangup-Signal an den "init"-Prozess gesendet würde.
    Dafür habe ich erst beim Blick in den Quelltext gelernt, daß die BusyBox in ihrem "init"-Applet auch "once" als "action" kennt und die dann auch noch zu allem Überfluß parallel gestartet werden in dieser Gruppe. Bisher habe ich immer über irgendwelche Kopfstände einen "detached process" gestartet, damit der "init"-Prozess weitermachen konnte mit dem "sysinit"-Ablauf ... das könnte man jetzt tatsächlich mal mit einem "once"-Eintrag probieren und der Vorteil der "/etc/inittab" im Wrapper ist es ja, daß die nach einem einfachen Remount mit "-o rw" direkt beschreibbar ist. Da die Aktionen auch noch in der Reihenfolge "sysinit", "wait" und "once" ausgeführt werden, findet man für einen "once"-Eintrag praktisch schon eine komplett initialisierte Box vor ... vorausgesetzt die "rc.S" endet irgendwann auch mal und der "init"-Prozess kommt über die "sysinit"-Kommandos überhaupt hinaus.
    Geändert von PeterPawn (17.05.2017 um 05:11 Uhr)
    ⠠⠏⠑⠞⠑⠗⠠⠏⠁⠺⠝

  9. #29
    IPPF Fünfhunderter
    Registriert seit
    20.12.2005
    Beiträge
    881
    Für die Ersetzung von busybox im äußeren Dateisystem gibt es aus meiner Sicht folgende Gründe:
    • pure Konsistenz und Nachvollziehbarkeit der Abläufe. Oder anders ausgedrückt, ich will mir sicher sein (bei der Suche nach irgendeinem Fehler z.B.), dass genau der Code, der im Freetz-Repository gepflegt ist, auch ausgeführt wird. Ich will keine Gedanken der Art machen: bei dem Prozess handelt es sich um busybox aus dem äußeren Dateisystem, deswegen habe ich im AVM-Quellcode nachzuschauen, was da ausgeführt wird; und umgekehrt bei einem anderen Prozess handelt es sich um busybox aus dem inneren Dateisystem, deswegen wäre das Freetz-Build-Verzeichnis die richtige Anlaufstelle.
    • für den init-Prozess wird das äußere busybox verwendet, und für init haben wir nun mal einen Patch in Freetz - revert_crtscts_fix.freetz.patch. Damit dieser greift muss nun mal busybox auch im äußeren Dateisystem geändert werden. Die Notwendigkeit dieses Patches für Boxen mit Kernel-Versionen >= 2.6.28 oder sogar >= 2.6.19 wäre allerdings zu challengen. So wie sich #1163 für mich liest, wurde das Problem nur auf Boxen mit dem Kernel 2.6.13 beobachtet.

    p.s. die Edits in #28 habe ich erst jetzt gesehen, ich antworte später drauf.

    Edit:
    @Aufnahme vom printk-Patch von Oliver: der Patch ist bis gestern nicht eingecheckt gewesen. Der Patch ist vermutlich bei @ELpf (und auch bei den anderen) untergegangen, sodass die ersten Tests von @ELpf ohne diesen erfolgten.

    @Auswirkung von printk-Patch auf das Problem: teile Deine Ausführungen, deswegen habe ich bei @ELpf auch extra nachgefragt, ob der printk-Patch allein wirklich ausreichend ist.

    Edit2:
    @Verhalten von busybox:
    Nach einem Hinweis von Oliver in #2820 wäre ich mir nicht sicher, dass das Verhalten von Freetz-Busybox und AVM-busybox identisch wäre, s. meine Antwort an Oliver.

    @inittab:
    Gut, dass Du dasselbe wie ich aus dem Code rausliest. Ich hatte den vor einiger Zeit bei der Analyse von irgendeinem Problem gelesen und hatte dieselben Schüsse gezogen.
    Geändert von er13 (17.05.2017 um 13:29 Uhr)

  10. #30
    IPPF-Aufsteiger
    Registriert seit
    28.01.2008
    Beiträge
    33
    Weiterführend zu meinem Thema von hier :

    http://www.ip-phone-forum.de/showthread.php?t=292543

    habe ich zu dem aktuellen patch aus der 14253 (siehe link)

    http://freetz.org/browser/trunk/patc...k.sh?rev=14253

    einfach auch mal die 7272 hinzugefügt und die 6.83 neu compiliert !

    ERFOLG !

    Läuft nun tadellos. Also eventuell für die Fritz!Box 7272 + 6.83 diesen Patch noch mit einbeziehen ...


    Image2.jpg

  11. #31
    IPPF-Einsteiger
    Registriert seit
    13.05.2017
    Beiträge
    10
    Zitat Zitat von PeterPawn Beitrag anzeigen
    @ELpf:
    Bist Du Dir wirklich sicher, daß der Flash-Vorgang da tatsächlich abgebrochen wird? Das von Dir in #6 Gezeigte ist jedenfalls kein echter Fehler, sondern das ganz normale Verhalten ... das habe ich aber auch schon versucht zu schreiben. Glaubst Du mir das jetzt nicht oder hat es irgendwelche anderen Gründe, warum das Flashen am Ende tatsächlich fehlschlägt? Wenn das so sein sollte (mit den anderen Gründen), dann stehen die jedenfalls nicht in dem Teil, den Du uns in #6 gezeigt hast ... das kannst Du mir wirklich glauben - "üsch schwöhr".
    Hi Peter,

    die urspruenglich gezeigte Fehlerdarstellung war zu knapp, als dass man den Fehler haette sehen koennen. Ich habe den Post nochmal erweitert und ein paar Zeilen Kontext dazugetan.

    Die eigentliche Fehlermeldung bei 6.83 ist nicht die mit dem Dateisystem, sondern ein paar Zeilen weiter unten mit 'no space left on device'.
    Scheinbar ist die 6.83 FW groesser als 'tempfs' in 6.30 zum Auspacken Platz hat.

    Deswegen kann ich auf der 7412 mit der konventionellen 'sh /var/install' Methode kein 6.83 testen.

    Mit Freetz (6.50) ist aber in der GUI der 'Upload Firmware' Knopf wieder da. Besteht mit dieser Methode Hoffnung, oder laeuft da im Hintergrund auch '/var/install'?

    - - - Aktualisiert - - -

    Zitat Zitat von er13 Beitrag anzeigen
    Der Patch ist vermutlich bei @ELpf (und auch bei den anderen) untergegangen, sodass die ersten Tests von @ELpf ohne diesen erfolgten.
    So ist es.

  12. #32
    IPPF Fünfhunderter
    Registriert seit
    20.12.2005
    Beiträge
    881
    @ELpf:
    Könntest Du bitte den folgenden Patch anwenden, im Freetz-menuconfig FREETZ_BUSYBOX_FEATURE_PREFER_APPLETS ausschalten (zu finden unter "Busybox applets/Busybox Settings/General Configuration/exec prefers applets") und testen, welche Auswirkungen diese Änderung aufs rc.S hat, i.e. ob sich dieses beendet oder nicht. Danke!

    Code:
    --- make/busybox/Config.in
    +++ make/busybox/Config.in
    @@ -116,14 +116,14 @@
     	select FREETZ_BUSYBOX_FEATURE_PIDFILE
     	select FREETZ_BUSYBOX_FEATURE_PIDOF_OMIT
     	select FREETZ_BUSYBOX_FEATURE_PIDOF_SINGLE
    -	select FREETZ_BUSYBOX_FEATURE_PREFER_APPLETS
    +#	select FREETZ_BUSYBOX_FEATURE_PREFER_APPLETS
     	select FREETZ_BUSYBOX_FEATURE_PS_LONG
     	select FREETZ_BUSYBOX_FEATURE_PS_WIDE
     	select FREETZ_BUSYBOX_FEATURE_SEAMLESS_GZ
     	select FREETZ_BUSYBOX_FEATURE_SHADOWPASSWDS
     	select FREETZ_BUSYBOX_FEATURE_SH_IS_ASH
    -	select FREETZ_BUSYBOX_FEATURE_SH_NOFORK
    -	select FREETZ_BUSYBOX_FEATURE_SH_STANDALONE
    +#	select FREETZ_BUSYBOX_FEATURE_SH_NOFORK
    +#	select FREETZ_BUSYBOX_FEATURE_SH_STANDALONE
     	select FREETZ_BUSYBOX_FEATURE_SKIP_ROOTFS
     	select FREETZ_BUSYBOX_FEATURE_START_STOP_DAEMON_FANCY if FREETZ_BUSYBOX_START_STOP_DAEMON
     	select FREETZ_BUSYBOX_FEATURE_STAT_FORMAT

  13. #33
    IPPF Achttausend-VIP Avatar von PeterPawn
    Registriert seit
    10.05.2006
    Ort
    Berlin
    Beiträge
    8.184
    @ELpf:
    Wenn der Speicher so eng wird in einer 7412, daß kein Platz für das "dd" verbleibt, mit dem der Dummy-Header vor einem SquashFS4-Image nur abgeschnitten werden soll (das braucht halt für recht kurze Zeit den doppelten Platz im tmpfs), dann könntest Du das von Hand machen oder vorher so ziemlich alles abschalten, was nicht gebraucht wird. Dafür kann man z.B. - wenn man schon in der Shell ist - einfach "prepare_fwupgrade" vorher aufrufen ... selbst ein Telnet-Daemon (Du hast ja aber ohnehin die über "askfirst" gestartete Shell) würde das überleben, aber die anderen AVM-Dienste werden weitestgehend beendet (das macht die AVM-Firmware selbst auch so, bevor es ans Entpacken der neuen Firmware geht) und damit sollte mehr Platz zur Verfügung stehen.

    @Gene:
    Ich verstehe den Gedanken hinter dem Kopieren der BusyBox, sehe aber auf der anderen Seite auch, daß es gerade/ausgerechnet an dieser Stelle eben auch schon Probleme gab, weil Bibliotheken fehlten oder ähnliches (ich müßte den Thread auch erst suchen; ich denke, Du weißt was/wann ich meine - irgendwo am Beginn der 06.50 - ich habe im Gedächtnis mehr Probleme mit dem Ersetzen präsent als welche ohne, das muß aber objektiv nicht unbedingt stimmen) - vielleicht bringt es ja auch "Erleichterung" bei der eigenständigen Fehlersuche durch Freetz-Benutzer, wenn der Austausch der BusyBox im yaffs2-Filesystem (bzw. ext2 zum Zeitpunkt der Erstellung) nur optional erfolgt (dann eben mit passender Standardbelegung des Wertes, wie Du es lieber hättest). Dann kann bei derartigen Startproblemen zumindest als Test einfach einmal ohne das Ersetzen der BusyBox ein Image erstellt werden und - vollkommen ohne Ticket und eigene Patches - geprüft werden, ob die BusyBox Teil des Problems oder der Lösung ist.

    Wenn man mal unterstellt, daß auch die AVM-Entwickler früher oder später mal mit einer bestückten seriellen Schnittstelle und einem dort angeschlossenen Terminal arbeiten werden, dann würde ich zumindest schlußfolgern, daß der in der AVM-BusyBox verwendete Code beim Löschen der Flags für CTS/RTS beim termios auch der korrekte ist ... wenn ich das richtig im Kopf habe, patcht AVM lediglich das "telnetd"-Applet in der BusyBox und sonst nichts. Auch ist ja dieses Symbol CRTSCTS nach der oben verlinkten Man-Page für die termios-Funktionen eine nicht-POSIX-konforme Erweiterung und steht ohnehin nur zur Verfügung in der "üblichen C-Library", wenn die Feature für BSD oder System V ausgewählt sind. Das korrespondiert auch mit dem Quelltext im "init.c" der BusyBox 1.22.1, die von AVM verwendet wird:
    Code:
     341     /* Make it be sane */
     342 #ifndef CRTSCTS
     343 # define CRTSCTS 0
     344 #endif
     345     /* added CRTSCTS to fix Debian bug 528560 */
     346     tty.c_cflag &= CBAUD | CBAUDEX | CSIZE | CSTOPB | PARENB | PARODD | CRTSCTS;
     347     tty.c_cflag |= CREAD | HUPCL | CLOCAL;
    Wenn es also das Symbol gar nicht gibt, wird es als "0" definiert und ist damit wirkungslos in der OR-Verknüpfung der Bits für die AND-Maske. In Anbetracht dessen, was dieser Revert-Patch dann macht, ist also das Ergebnis absolut dasselbe, wenn man davon ausgehen kann/darf, daß CRTSCTS zu diesem Zeitpunkt nicht definiert ist.

    In der "libc/sysdeps/linux/mips/bits/termios.h" ist es nur bedingt definiert:
    Code:
    171 #ifdef __USE_MISC
    172 # define CIBAUD   002003600000  /* input baud rate (not used) */
    173 # define CRTSCTS  020000000000      /* flow control */
    174 #endif
    und in der "include/features.h" ist dieses "__USE_MISC" wiederum so beschrieben und später definiert:
    Code:
     75    __USE_MISC       Define things common to BSD and System V Unix.
    [...]
    331 #if defined _BSD_SOURCE || defined _SVID_SOURCE
    332 # define __USE_MISC 1
    333 #endif
    Solange die C-Library also von Freetz nicht mit BSD- oder SysV-Features übersetzt wird (das wage ich nicht einzuschätzen und will ich jetzt auch nicht nachsehen, Du weißt das sicherlich/hoffentlich aus dem Stand), ist der Revert-Patch nach meinem Verständnis ohnehin vollkommen wirkungslos (bzw. das Ergebnis ist mit und ohne diesen Patch dasselbe) und ich würde auch die Zuordnung dieses Patches zum Ticket 1163 für nicht nachvollziehbar ansehen. Da ist m.E. etwas durcheinander gekommen ... es sei denn, es gab mal oder gibt tatsächlich eine uClibc für Freetz, bei der BSD und/oder SysV aktiviert war aus irgendeinem Grund, weil ein Paket da ein Feature gerne haben wollte.

    Sollte der Patch am Ende doch wirkungslos sein, gibt es bzgl. "init" keinen weiteren Unterschied zwischen der AVM- und der Freetz-BusyBox, wenn ich Dich richtig verstanden habe.



    Aber es bleiben wohl tatsächlich noch die anderen denkbaren Modifikationen beim Aufruf von weiteren Programmen durch "init". In "init_exec()" gibt es ja nur zwei Möglichkeiten, ein anderes Programm zu starten ... einmal direkt das, was in einer Zeile steht (wenn es keine Sonderzeichen enthält) und einmal als "/bin/sh -c exec <command>", wobei beide Arrays am Ende an "BB_EXECVP()" verfüttert werden.

    Nun interessiert sich aber BB_EXECVP gar nicht für die Besonderheiten von NOFORK und NOEXEC, wie man dem Kommentar in "include/libbb.h" entnehmen kann (alles im Moment bezieht sich bei den Zeilennummern auf die BusyBox 1.22.1 von AVM aus dem OSS-Paket der 113.06.83):
    Code:
     917 /* BB_EXECxx always execs (it's not doing NOFORK/NOEXEC stuff),
     918  * but it may exec busybox and call applet instead of searching PATH.
     919  */
     920 #if ENABLE_FEATURE_PREFER_APPLETS
     921 int BB_EXECVP(const char *file, char *const argv[]) FAST_FUNC;
     922 #define BB_EXECLP(prog,cmd,...) \
     923     do { \
     924         if (find_applet_by_name(prog) >= 0) \
     925             execlp(bb_busybox_exec_path, cmd, __VA_ARGS__); \
     926         execlp(prog, cmd, __VA_ARGS__); \
     927     } while (0)
     928 #else
     929 #define BB_EXECVP(prog,cmd)     execvp(prog,cmd)
     930 #define BB_EXECLP(prog,cmd,...) execlp(prog,cmd,__VA_ARGS__)
     931 #endif
     932 int BB_EXECVP_or_die(char **argv) NORETURN FAST_FUNC;
    Die BB_EXECVP (BB_EXECLP ist oben nur mit drin, damit man das zum PREFER_APPLETS zugehörige #endif sieht) findet sich dann wieder in der "libbb/execable.c" und sieht so aus:
    Code:
     70 #if ENABLE_FEATURE_PREFER_APPLETS
     71 /* just like the real execvp, but try to launch an applet named 'file' first */
     72 int FAST_FUNC BB_EXECVP(const char *file, char *const argv[])
     73 {
     74     if (find_applet_by_name(file) >= 0)
     75         execvp(bb_busybox_exec_path, argv);
     76     return execvp(file, argv);
     77 }
     78 #endif
    Es wird also nachgeschaut, ob der Name im ersten Parameter ein Applet sein könnte (aus "init" heraus ist das - wir erinnern uns - entweder ein "/bin/sh" oder das, was in der Zeile in "inittab" steht) und wenn das so ist, wird der Dateiname durch den eigenen Namen der BusyBox ersetzt (und damit eben das Applet gestartet und nichts erst im Dateisystem über PATH gesucht). Der Dateiname der aktuell laufenden BusyBox wird ja nun wirklich über den Symlink "/proc/self/exe" ermittelt und somit würde für "PREFER_APPLETS" und einen Dateinamen, der zu einem Applet paßt, dann auch tatsächlich erneut die BusyBox aus dem "äußeren" Dateisystem verwendet.

    Aber das gilt eben nur dann, wenn wirklich der Dateiname der eines Applets ist und das wird bereits durch jede zusätzliche Pfadangabe (egal ob absolut oder relativ) ausgehebelt, wenn ich mich nicht vollkommen in die Irre habe führen lassen ("libbb/appletlib.c"):
    Code:
    142 #if NUM_APPLETS > 8
    143 static int applet_name_compare(const void *name, const void *idx)
    144 {
    145     int i = (int)(ptrdiff_t)idx - 1;
    146     return strcmp(name, APPLET_NAME(i));
    147 }
    148 #endif
    149 int FAST_FUNC find_applet_by_name(const char *name)
    150 {
    151 #if NUM_APPLETS > 8
    152     /* Do a binary search to find the applet entry given the name. */
    153     const char *p;
    154     p = bsearch(name, (void*)(ptrdiff_t)1, ARRAY_SIZE(applet_main), 1, applet_name_compare);
    155     /*
    156      * if (!p) return -1;
    157      * ^^^^^^^^^^^^^^^^^^ the code below will do this if p == NULL :)
    158      */
    159     return (int)(ptrdiff_t)p - 1;
    160 #else
    161     /* A version which does not pull in bsearch */
    162     int i = 0;
    163     const char *p = applet_names;
    164     while (i < NUM_APPLETS) {
    165         if (strcmp(name, p) == 0)
    166             return i;
    167         p += strlen(p) + 1;
    168         i++;
    169     }
    170     return -1;
    171 #endif
    172 }
    Da der Vergleich hier ganz simpel mit "strcmp()" erfolgt und ich nicht davon ausgehe, daß im Array die Namen mit einer Pfadangabe stehen (habe ich allerdings nicht verifiziert, hier war dann Schluß, weil es mir zu unwahrscheinlich wird - das müßte ja dynamisch erzeugt werden beim Aufruf der BusyBox), dürfte da also als erster Parameter beim "execvp()" entweder das "/bin/sh" ankommen (in dem Fall mit den Sonderzeichen in der Zeile) oder der Name (bis zum ersten Whitespace) aus der Zeile in der "inittab". Nachdem da bei AVM nicht ein Name ohne (sogar absolute) Pfadangabe steht, sollte wirklich jeder Programmaufruf (selbst für Dateien mit SheBang wie die "rc.S", wo dann über den Kernel erst nach dem Binary gesucht wird) nicht auf den Namen aus /proc/self/exe der "init"-Instanz zurückgreifen, sondern auf das Dateisystem zu diesem Zeitpunkt und das zeigt - nach dem "pivot_root" - dann auf die BusyBox-Instanz im SquashFS-Image.

    Ich würde hier also keinerlei Grund sehen, warum außer dem "init"-Prozess selbst - der sich auch nur um seine "inittab" kümmern muß und um sonst nichts - noch ein anderer Prozess jemals mit der "/wrapper/bin/busybox" arbeiten sollte, solange niemand in der "inittab" einen direkten Aufruf eines solchen Applets (ohne jede Pfadangabe) einbaut und damit sollten die BusyBox-Einstellungen zum NOFORK, NOEXEC und PREFER_APPLETS m.E. keine Rolle dabei spielen, welche BusyBox im laufenden System verwendet wird.

    Für andere Mitleser: Die unterschiedlichen Auswirkungen der Kombination dieser drei Einstellungen sind in den BusyBox-Quellen in der Datei "docs/nofork_noexec.txt" nachzulesen.
    Geändert von PeterPawn (17.05.2017 um 20:02 Uhr)
    ⠠⠏⠑⠞⠑⠗⠠⠏⠁⠺⠝

  14. #34
    IPPF-Fan
    Registriert seit
    27.05.2010
    Beiträge
    170
    Falls jemand original uclibc und busybox im wrapper nutzen möchte, bzw zum einfacheren "optional" machen:
    Code:
    ===================================================================
    --- fwmod       (Revision 14116)
    +++ fwmod       (Arbeitskopie)
    @@ -1042,18 +1042,8 @@
                                    [ -d "${FILESYSTEM_MOD_DIR}/${dn}" ] || mkdir -p "${FILESYSTEM_MOD_DIR}/${dn}"
                                    cp -a $files "${FILESYSTEM_MOD_DIR}/${dn}/"
    
    -                               if [ "${FREETZ_AVM_HAS_INNER_OUTER_FILESYSTEM}" == "y" ]; then
    -                                       wrapper_fs_required_libs="ld_uClibc libuClibc"
    +                               #r13732
    
    -                                       # replaced busybox might require some additional libraries not available in AVM's wrapper filesystem
    -                                       [ "$FREETZ_REPLACE_BUSYBOX" == "y" -a -r "${PACKAGES_DIR}/busybox/busybox" ] && \
    -                                         wrapper_fs_required_libs+=" $(getNeededEntries ${PACKAGES_DIR}/busybox/busybox | sed -r -e 's,[.]so([.].+)?$,,' | sort | tr $'\n' " ")"
    -
    -                                       if echo "${bn}" | grep -qE "^($(join '|' ${wrapper_fs_required_libs}))$"; then
    -                                               cp -a $files "${FILESYSTEM_OUTER_MOD_DIR}/${dn}/"
    -                                       fi
    -                               fi
    -
                                    all_files="$all_files $files"
                            done
                            if [ "$found" = 0 ]; then
    @@ -1064,7 +1054,7 @@
                    done
                    if [ "$FREETZ_KEEP_AVM_UCLIBC" != "y" -a "$FREETZ_LIB_libuClibc" == "y" ]; then
                            cp -a "${TARGET_SPECIFIC_ROOT_DIR}/lib/libc.so.0" "${FILESYSTEM_MOD_DIR}/lib/"
    -                       [ "${FREETZ_AVM_HAS_INNER_OUTER_FILESYSTEM}" == "y" ] && cp -a "${TARGET_SPECIFIC_ROOT_DIR}/lib/libc.so.0" "${FILESYSTEM_OUTER_MOD_DIR}/lib/"
    +                       #r12979
                    fi
    
                    echo1 "checking uClibc version"
    @@ -1106,7 +1096,7 @@
                    echo0 "installing busybox"
    
                    DIRS_BUSYBOX_TO_REPLACE_WITHIN="${FILESYSTEM_MOD_DIR}"
    -               [ "${FREETZ_AVM_HAS_INNER_OUTER_FILESYSTEM}" == "y" ] && DIRS_BUSYBOX_TO_REPLACE_WITHIN+=" ${FILESYSTEM_OUTER_MOD_DIR}"
    +               #r12980
    
                    echo1 "replacing busybox"
                    [ ! -r "${PACKAGES_DIR}/busybox/busybox" ] && error 1 "cannot find busybox replacement"
    @@ -1419,7 +1409,7 @@
            if [ "$FREETZ_STRIP_BINARIES" == "y" ]; then
                    echo0 "stripping leftover unstripped binaries"
                    for i in $(find \
    -                               "${FILESYSTEM_MOD_DIR}" $([ "${FREETZ_AVM_HAS_INNER_OUTER_FILESYSTEM}" == "y" ] && echo "${FILESYSTEM_OUTER_MOD_DIR}") \
    +                               "${FILESYSTEM_MOD_DIR}" $([ "${FREETZ_AVM_HAS_INNER_OUTER_FILESYSTEM}" == "r12979" ] && echo "${FILESYSTEM_OUTER_MOD_DIR}") \
                                    ! \( -name '*.ko' -o -path '*/usr/www/*' -o -path '*/etc/default*' -o -path '*/lib/modules*' \) \
                                    \( -perm /100 -o -name "*.so*" \) \
                                    -type f \
    Index: patches/scripts/140-remove_uclibc.sh
    ===================================================================
    --- patches/scripts/140-remove_uclibc.sh        (Revision 14116)
    +++ patches/scripts/140-remove_uclibc.sh        (Arbeitskopie)
    @@ -9,7 +9,7 @@
    
     echo1 "removing uClibc-${version} files"
     rm_files "${FILESYSTEM_MOD_DIR}/lib/*${version}*"
    -[ "${FREETZ_AVM_HAS_INNER_OUTER_FILESYSTEM}" == "y" ] && rm_files "${FILESYSTEM_OUTER_MOD_DIR}/lib/*${version}*"
    +#r12988
    
     echo1 "removing uClibc links"
     for link in \
    @@ -31,11 +31,7 @@
       ; do
            rm_files "${FILESYSTEM_MOD_DIR}/lib/$link"
            rm_files "${FILESYSTEM_MOD_DIR}/usr/lib/$link"
    -
    -       if [ "${FREETZ_AVM_HAS_INNER_OUTER_FILESYSTEM}" == "y" ]; then
    -               rm_files "${FILESYSTEM_OUTER_MOD_DIR}/lib/$link"
    -               rm_files "${FILESYSTEM_OUTER_MOD_DIR}/usr/lib/$link"
    -       fi
    +       #r12979
     done
    
     echo1 "linking ld.so.1"

  15. #35
    IPPF Fünfhunderter
    Registriert seit
    20.12.2005
    Beiträge
    881
    Hallo Peter,

    ich glaube Du hast etwas missverstanden, was als Problem angesehen wird.

    NOFORK/NOEXEC sind für init von keiner Bedeutung, das hat auch keiner behauptet. NOFORK ist im Kontext von "rc.S beendet sich nicht" vom Interesse. Und zwar aus dem Grund, dass in S11-piglet sich die folgende Zeile finden lässt (alles am Beispiel von 7412)
    Code:
    cat /dev/debug &
    und in rc.tail.sh die folgenden (hast Du selbst in #28 sogar geschrieben):
    Code:
    #########################################################################
    ## cleanup - if running, stop debug (0 normal, 1 flush buffer)
    #########################################################################
    if `ps | grep -v grep | grep -q "cat /dev/debug"` ; then
    echo Info: have to stop 'cat /dev/debug'.
    echo AVMDBG_EOF 1 >/dev/debug
    fi;
    Die Vermutung ist nun, dass dadurch, dass Freetz-busybox die NOFORK-Optimierung enthält und im äußeren Dateisystem ersetzt wird, wird "cat" aus der "cat /dev/debug &"-Zeile als NOFORK-Applet ausgeführt, was wiederum dazu führt, dass "ps | grep -v grep | grep -q "cat /dev/debug"" nicht greift, weil die ps-Ausgabe aufgrund dieser Optimierung gar kein "cat /dev/debug" enthält. <Edit-Begin>Und das wiederum führt dazu, dass rc.S sich nicht beendet, weil "cat /dev/debug" blockt.<Edit-End>

    Die eine Lösung wäre was ähnliches dem in r2955 umgesetzten - sprich "cat /dev/debug &" sollte durch "/bin/cat /dev/debug &" ersetzt werden, damit würde man die "prefer applet"-Einstellung aushebeln, weil (wie Du durch Lesen des Quellcodes auch festgestellt hast) der auszuführende Befehl in der Tat mit dem Appletnamen verglichen wird und wenn der Befehl einen Pfad enthält, dann ist er nicht mehr dem Appletnamen gleich.

    Die andere Lösung wäre "prefer applet" und NOFORK-Kram komplett auszuschalten. Das ist das, worum ich @ELpf in #32 zu Testzwecken gebeten habe.




    @das Vorhandensein von CRTSCTS in Abhängigkeit von __USE_MISC bzw. _BSD_SOURCE:
    Da würde ich Dich etwas korrigieren wollen. Nicht die C-Library muss mit diesen Flags übersetzt werden, sondern das Binary (busybox in dem Fall), welches dagegen gelinkt wird. Die C-Library bzw. die Header-Dateien von dieser exportieren lediglich die Symbole. Je nachdem, welche Symbole es sind, kann dazu eine weitere Bedingung kommen - nämlich, der Kernel muss mit den Werten dieser Symbole was anfangen können, sofern diese als Parameter an irgendwelche mit dem Kernel interagierenden Funktionen übergeben werden.




    @Wirkung von Revert-CRTSCTS-Patch:
    Da der Revert-Patch, als er eingeführt wurde, den Fehler behoben (oder zumindest workaroundet) hat, gehe ich davon aus, dass er sehr wohl gewirkt hat, sprich CRTSCTS sehr wohl definiert wurde, diese Definition aus termios.h kam und nicht 0 war.




    @Unterschiede zwischen der AVM- und der Freetz-busybox im äußeren Dateisystem (nur um diese nochmal explizit aufzuschreiben):
    1. Freetz hat "prefer applet"/NOFORK als nicht-abschaltbare Default-Einstellung, AVM dagegen hat diese mit großer Wahrscheinlichkeit NICHT eingeschaltet (weil sowohl in busybox selbst als auch in buildroot-2014.08 bzw. sogar allen buildroot-Versionen diese per Default ausgeschaltet sind)
    2. Freetz enthält Revert-CRTSCTS-Patch, AVM-Version dagegen nicht


    Der erste Unterschied kann zu unerwarteten Abweichungen im Shell-Code führen, der irgendwie ps-Ausgaben parst/grept.

    Der zweite Unterschied wirkt sich beim init-Prozess aus, beim (c)tty von init wird in der Freetz-Version RTS / CTS Hardware Flow Control nicht aktiviert. Warum das Aktivieren davon bei älteren Boxen überhaupt zu Problemen geführt hat, kann ich nur dadurch erklären, dass der bei diesen Boxen verwendete Kernel mit diesem Flag einfach hat nichts anfangen können. Daher der Wunsch meinerseits, die Notwendigkeit dieses Patches für Boxen mit Kernel>=2.6.19 zu challengen.

    VG, Gene
    Geändert von er13 (17.05.2017 um 21:27 Uhr)

  16. #36
    IPPF-Einsteiger
    Registriert seit
    13.05.2017
    Beiträge
    10
    Zitat Zitat von er13 Beitrag anzeigen
    @ELpf:
    Könntest Du bitte den folgenden Patch anwenden, im Freetz-menuconfig FREETZ_BUSYBOX_FEATURE_PREFER_APPLETS ausschalten (zu finden unter "Busybox applets/Busybox Settings/General Configuration/exec prefers applets") und testen, welche Auswirkungen diese Änderung aufs rc.S hat, i.e. ob sich dieses beendet oder nicht. Danke!
    Vorbedingungen: Frisches Buildverzeichnis (distclean), r14257, 7412, Basis: F.OS 6.50
    Code:
    > svn diff
    Index: make/busybox/Config.in
    ===================================================================
    --- make/busybox/Config.in    (revision 14257)
    +++ make/busybox/Config.in    (working copy)
    @@ -116,14 +116,14 @@
         select FREETZ_BUSYBOX_FEATURE_PIDFILE
         select FREETZ_BUSYBOX_FEATURE_PIDOF_OMIT
         select FREETZ_BUSYBOX_FEATURE_PIDOF_SINGLE
    -    select FREETZ_BUSYBOX_FEATURE_PREFER_APPLETS
    +#    select FREETZ_BUSYBOX_FEATURE_PREFER_APPLETS
         select FREETZ_BUSYBOX_FEATURE_PS_LONG
         select FREETZ_BUSYBOX_FEATURE_PS_WIDE
         select FREETZ_BUSYBOX_FEATURE_SEAMLESS_GZ
         select FREETZ_BUSYBOX_FEATURE_SHADOWPASSWDS
         select FREETZ_BUSYBOX_FEATURE_SH_IS_ASH
    -    select FREETZ_BUSYBOX_FEATURE_SH_NOFORK
    -    select FREETZ_BUSYBOX_FEATURE_SH_STANDALONE
    +#    select FREETZ_BUSYBOX_FEATURE_SH_NOFORK
    +#    select FREETZ_BUSYBOX_FEATURE_SH_STANDALONE
         select FREETZ_BUSYBOX_FEATURE_SKIP_ROOTFS
         select FREETZ_BUSYBOX_FEATURE_START_STOP_DAEMON_FANCY if FREETZ_BUSYBOX_START_STOP_DAEMON
         select FREETZ_BUSYBOX_FEATURE_STAT_FORMAT
    
    
    
    ./.config:# FREETZ_BUSYBOX_FEATURE_PREFER_APPLETS is not set
    Bootlog:

    Code:
    root@fritz:/var/mod/root# dmesg
    [    0.000000] Linux version 3.10.73 (jwetter@EmbeddedVM) (gcc version 4.8.3 (Buildroot 2014.08) ) #2 SMP Tue Jan 26 15:10:05 CET 2016
    [    0.000000] [env_init] 0x8103bf04[0]
    [    0.000000] [env_init] 0x8103bf44[1]
    [    0.000000] [env_init] 0x8103c044[2]
    [    0.000000] [env_init] switch to ram location
    [    0.000000] [init_avm_kernel_config] AVM Kernel Config (ptr 80825000)
    [    0.000000] [init_avm_kernel_config] AVM Kernel Config: module memory entry
    [    0.000000] [init_avm_kernel_config] AVM Kernel Config: version info entry
    [    0.000000] [init_avm_kernel_config] AVM Kernel Config: device-tree for subrev 0 found
    [    0.000000] bootconsole [early0] enabled
    [    0.000000] CPU0 revision is: 00019556 (MIPS 34Kc)
    [    0.000000] Determined physical RAM map:
    [    0.000000]  memory: 08000000 @ 00000000 (usable)
    [    0.000000] Initrd not found or empty - disabling initrd
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x00000000-0x07ffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
    [    0.000000] On node 0 totalpages: 32768
    [    0.000000] free_area_init_node: node 0, pgdat 8081bea0, node_mem_map 81003000
    [    0.000000]   Normal zone: 256 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 32768 pages, LIFO batch:7
    [    0.000000] [module-alloc] use 0xb56000 bytes at 0x81104000
    [    0.000000] 1 available secondary CPU TC(s)
    [    0.000000] [avm_cache_set_coherency]: setting cache coherency for HWRevision=209 to write back allocate 
    [    0.000000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
    [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
    [    0.000000] PERCPU: Embedded 7 pages/cpu @81c5e000 s7072 r8192 d13408 u32768
    [    0.000000] pcpu-alloc: s7072 r8192 d13408 u32768 alloc=8*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    [    0.000000] Kernel command line: console=ttyS0,115200n8r nor_size=0MB sflash_size=0KB nand_size=128MB ethaddr=5C:49:79:XX:XX:XX tf 
    [    0.000000] [NAND] nand_size = 0x8000000
    [    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] Writing ErrCtl register=000516c0
    [    0.000000] Readback ErrCtl register=000516c0
    [    0.000000] Memory: 109008k/131072k available (5704k kernel code, 22064k reserved, 2691k data, 300k init, 0k highmem)
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000] NR_IRQS:181
    [    0.000000] SRSConf0 0x3feffbfe: SRS1: 0xffffffff, SRS2 0xffffffff, SRS3 0xffffffff
    [    0.000000] Lantiq ICU driver, version 3.0.1, (c) 2001-2011 Lantiq Deutschland GmbH
    [    0.000000] Console: colour dummy device 80x25
    [    0.000000] console [ttyS0] enabled, bootconsole disabled
    [    0.020000] Calibrating delay loop... 331.77 BogoMIPS (lpj=1658880)
    [    0.080000] pid_max: default: 32768 minimum: 301
    [    0.080000] Security Framework initialized
    [    0.080000] Mount-cache hash table entries: 512
    [    0.090000] Limit of 2 TCs set
    [    0.090000] TLB of 32 entry pairs shared by 2 VPEs
    [    0.090000] VPE 0: TC 0, VPE 1: TC 1
    [    0.090000] IPI buffer pool of 8 buffers
    [    0.090000] CPU1 revision is: 00019556 (MIPS 34Kc)
    [    0.170000] TC 1 going on-line as CPU 1
    [    0.170000] Brought up 2 CPUs
    [    0.170000] [yield_context_init] cpu=1 tc=2 mask=300
    [    0.180000] [yield_context_init] cpu=0 tc=3 mask=410
    [    0.180000] devtmpfs: initialized
    [    0.200000] pinctrl core: initialized pinctrl subsystem
    [    0.200000] Creating Config Table 
    [    0.200000] [avm_generate_hw_config_table_from_device_tree] gpio_cnt: 31
    [    0.210000] NET: Registered protocol family 16
    [    0.220000] Reboot Status is: Power-On
    [    0.220000] FPU Affinity set after 5000 emulations
    [    0.220000] [TFFS3_Early_Init] called
    [    0.230000] [avmnet] [avmnet_cfg_init] Driver version: 6.221  -  Revision 1496:3426  -  Mo 23. Nov 13:23:58 CET 2015
    [    0.240000] Port 0 PLL REGFILE
    [    0.240000] PCIE_PHY_PLL_CTRL1    0x8e39
    [    0.240000] PCIE_PHY_PLL_CTRL2    0x0183
    [    0.240000] PCIE_PHY_PLL_CTRL3    0x0042
    [    0.240000] PCIE_PHY_PLL_CTRL4    0x0000
    [    0.240000] PCIE_PHY_PLL_CTRL5    0x0000
    [    0.240000] PCIE_PHY_PLL_CTRL6    0x0000
    [    0.240000] PCIE_PHY_PLL_CTRL7    0x0000
    [    0.240000] PCIE_PHY_PLL_A_CTRL1  0x120e
    [    0.240000] PCIE_PHY_PLL_A_CTRL2  0x39d7
    [    0.240000] PCIE_PHY_PLL_A_CTRL3  0x0900
    [    0.240000] PCIE_PHY_PLL_STATUS   0x0000
    [    0.240000] TX1 REGFILE
    [    0.240000] PCIE_PHY_TX1_CTRL1    0x0009
    [    0.240000] PCIE_PHY_TX1_CTRL2    0x2e00
    [    0.240000] PCIE_PHY_TX1_CTRL3    0x1fff
    [    0.240000] PCIE_PHY_TX1_A_CTRL1  0x0810
    [    0.240000] PCIE_PHY_TX1_A_CTRL2  0x0706
    [    0.240000] PCIE_PHY_TX1_MOD1     0x0000
    [    0.240000] PCIE_PHY_TX1_MOD2     0x0000
    [    0.240000] PCIE_PHY_TX1_MOD3     0x0180
    [    0.240000] TX2 REGFILE
    [    0.240000] PCIE_PHY_TX2_CTRL1    0x0009
    [    0.240000] PCIE_PHY_TX2_CTRL2    0x3096
    [    0.240000] PCIE_PHY_TX2_A_CTRL1  0x8010
    [    0.240000] PCIE_PHY_TX2_A_CTRL2  0x4707
    [    0.240000] PCIE_PHY_TX2_MOD1     0x0000
    [    0.240000] PCIE_PHY_TX2_MOD2     0x0000
    [    0.240000] PCIE_PHY_TX2_MOD3     0x0180
    [    0.240000] RX1 REGFILE
    [    0.240000] PCIE_PHY_RX1_CTRL1    0x0001
    [    0.240000] PCIE_PHY_RX1_CTRL2    0x3000
    [    0.240000] PCIE_PHY_RX1_CDR      0x0235
    [    0.240000] PCIE_PHY_RX1_EI       0x0004
    [    0.240000] PCIE_PHY_RX1_A_CTRL   0x6803
    [    0.240000] Port 0 PLL REGFILE
    [    0.240000] PCIE_PHY_PLL_CTRL1    0x38e4
    [    0.240000] PCIE_PHY_PLL_CTRL2    0x03ee
    [    0.240000] PCIE_PHY_PLL_CTRL3    0x0000
    [    0.240000] PCIE_PHY_PLL_CTRL4    0x1b72
    [    0.240000] PCIE_PHY_PLL_CTRL5    0xfae3
    [    0.240000] PCIE_PHY_PLL_CTRL6    0x3a04
    [    0.240000] PCIE_PHY_PLL_CTRL7    0x0002
    [    0.240000] PCIE_PHY_PLL_A_CTRL1  0x120e
    [    0.240000] PCIE_PHY_PLL_A_CTRL2  0x39d7
    [    0.240000] PCIE_PHY_PLL_A_CTRL3  0x2900
    [    0.240000] PCIE_PHY_PLL_STATUS   0x0070
    [    0.240000] TX1 REGFILE
    [    0.240000] PCIE_PHY_TX1_CTRL1    0x0009
    [    0.240000] PCIE_PHY_TX1_CTRL2    0x2e00
    [    0.240000] PCIE_PHY_TX1_CTRL3    0x1fff
    [    0.240000] PCIE_PHY_TX1_A_CTRL1  0x0810
    [    0.240000] PCIE_PHY_TX1_A_CTRL2  0x0706
    [    0.240000] PCIE_PHY_TX1_MOD1     0x1ffe
    [    0.240000] PCIE_PHY_TX1_MOD2     0xfffe
    [    0.240000] PCIE_PHY_TX1_MOD3     0x0001
    [    0.240000] TX2 REGFILE
    [    0.240000] PCIE_PHY_TX2_CTRL1    0x0009
    [    0.240000] PCIE_PHY_TX2_CTRL2    0x3096
    [    0.240000] PCIE_PHY_TX2_A_CTRL1  0x8010
    [    0.240000] PCIE_PHY_TX2_A_CTRL2  0x4707
    [    0.240000] PCIE_PHY_TX2_MOD1     0x1ffe
    [    0.240000] PCIE_PHY_TX2_MOD2     0xfffe
    [    0.240000] PCIE_PHY_TX2_MOD3     0x0001
    [    0.240000] RX1 REGFILE
    [    0.240000] PCIE_PHY_RX1_CTRL1    0x0001
    [    0.240000] PCIE_PHY_RX1_CTRL2    0x3000
    [    0.240000] PCIE_PHY_RX1_CDR      0x0235
    [    0.240000] PCIE_PHY_RX1_EI       0x0004
    [    0.240000] PCIE_PHY_RX1_A_CTRL   0x6803
    [    0.850000] Lantiq PCIe Root Complex driver, version 2.0.0, (c) 2001-2011 Lantiq Deutschland GmbH
    [    0.900000] bio: create slab <bio-0> at 0
    [    0.900000] PCI host bridge to bus 0000:00
    [    0.900000] pci_bus 0000:00: root bus resource [mem 0x1c000000-0x1cffffff]
    [    0.910000] pci_bus 0000:00: root bus resource [io  0x1d800000-0x1d8fffff]
    [    0.920000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
    [    0.930000] pci_bus 0000:00: scanning bus
    [    0.930000] pci 0000:00:00.0: [1bef:0011] type 01 class 0x060000
    [    0.930000] pci 0000:00:00.0: calling quirk_mmio_always_on+0x0/0x20
    [    0.930000] pci 0000:00:00.0: calling ifx_pcie_rc_class_early_fixup+0x0/0x60
    [    0.930000] ifx_pcie_rc_class_early_fixup port 0: fixed pcie host bridge to pci-pci bridge
    [    0.930000] pci 0000:00:00.0: calling ifx_pcie_fixup_resource+0x0/0x20
    [    0.930000] pci 0000:00:00.0: PME# supported from D0 D3hot
    [    0.930000] pci 0000:00:00.0: PME# disabled
    [    0.940000] pci_bus 0000:00: fixups for bus
    [    0.940000] pci 0000:00:00.0: scanning [bus 01-ff] behind bridge, pass 0
    [    0.940000] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1
    [    0.940000] pci_bus 0000:01: scanning bus
    [    0.940000] pci 0000:01:00.0: [168c:ff1c] type 00 class 0x020000
    [    0.940000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x0000ffff 64bit]
    [    0.940000] pci 0000:01:00.0: supports D1
    [    0.940000] pci 0000:01:00.0: PME# supported from D0 D1 D3hot
    [    0.940000] pci 0000:01:00.0: PME# disabled
    [    0.940000] pci_bus 0000:01: fixups for bus
    [    0.940000] pci_bus 0000:01: bus scan returning with max=01
    [    0.940000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
    [    0.940000] pci_bus 0000:00: bus scan returning with max=01
    [    0.940000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
    [    0.940000] pci 0000:00:00.0: BAR 8: assigned [mem 0x1c000000-0x1c0fffff]
    [    0.940000] pci 0000:01:00.0: BAR 0: assigned [mem 0x1c000000-0x1c00ffff 64bit]
    [    0.950000] pci 0000:01:00.0: BAR 0: set to [mem 0x1c000000-0x1c00ffff 64bit] (PCI address [0x1c000000-0x1c00ffff])
    [    0.950000] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    0.950000] pci 0000:00:00.0:   bridge window [mem 0x1c000000-0x1c0fffff]
    [    0.960000] pci 0000:00:00.0: fixup irq: got 138
    [    0.960000] pci 0000:00:00.0: assigning IRQ 138
    [    0.960000] pci 0000:01:00.0: fixup irq: got 138
    [    0.960000] pci 0000:01:00.0: assigning IRQ 138
    [    0.960000] NET: Registered protocol family 8
    [    0.960000] NET: Registered protocol family 20
    [    0.970000] Switching to clocksource MIPS
    [    1.030000] NET: Registered protocol family 2
    [    1.030000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
    [    1.040000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
    [    1.040000] TCP: Hash tables configured (established 1024 bind 1024)
    [    1.050000] TCP: reno registered
    [    1.050000] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    1.060000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    1.070000] NET: Registered protocol family 1
    [    1.070000] PCI: CLS 0 bytes, default 32
    [    1.070000] Lantiq CGU driver, version 1.1.32, (c) 2001-2011 Lantiq Deutschland GmbH
    [    1.090000] IFX DMA driver, version ifxmips_dma_core.c:v1.0.17, (c) 2009 Infineon Technologies AG
    [    1.090000]  skb_shared_size:184
    [    1.110000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    1.110000] fuse init (API version 7.22)
    [    1.120000] yaffs: yaffs built Jan 26 2016 15:09:26 Installing.
    [    1.120000] msgmni has been set to 212
    [    1.120000] io scheduler noop registered (default)
    [    1.130000] [avm_membench_init]
    [    1.460000] ttyS0 at MMIO 0x1e100c00 (irq = 107) is a PORT_IFX_ASC
    [    1.470000] ifx_usif_uart_init: uart_register_driver failed
    [    1.470000] avm_net_trace: Up and running.
    [    1.480000] [loadcontrol] set auto - scale=1
    [    1.480000] [avm] configured: watchdog event debug 
    [    1.480000] AVM_WATCHDOG: Watchdog Driver for AR7 Hardware (Version 1.0, build: Jan 26 2016 15:08:46)
    [    1.490000] Lantiq Thermal Sensor driver, version 1.0.3, (c) 2001-2011 Lantiq Deutschland GmbH
    [    1.490000] ifx_pmu_init: Major 244
    [    1.500000] Lantiq PMU driver, version 1.2.6, (c) 2001-2011 Lantiq Deutschland GmbH
    [    1.500000] Lantiq GPIO driver, version 1.3.2, (c) 2001-2011 Lantiq Deutschland GmbH
    [    1.510000] Infineon Technologies RCU driver version 1.0.7 
    [    1.530000] loop: module loaded
    [    1.530000] nbd: registered device at major 43
    [    1.560000] Generic platform RAM MTD, (c) 2004 Simtec Electronics
    [    1.560000] [HSNAND] Toshiba-BENAND
    [    1.570000] NAND device: Manufacturer ID: 0x98, Chip ID: 0xf1 (Toshiba NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size:4
    [    1.580000] Scanning device for bad blocks
    [    1.650000] {tsh_read_ecc} status 0xe1
    [    1.650000] [ifx_hsnand_command] read block failed (column: 0x800 page: 0xc000)
    [    1.660000] Bad eraseblock 768 at 0x000006000000
    [    1.680000] badblock statistics:
    [    1.680000] --------------------
    [    1.680000]   start block = 0
    [    1.680000]   num blocks  = 1024
    [    1.680000]   bad blocks  = 1
    [    1.690000] 
    [    1.690000]   >> The following table summarize all badblocks to visualize the distribution
    [    1.690000]   block [ start | count | size/kB ] (start block, number of blocks)
    [    1.690000]   ---------------------------------                    
    [    1.720000]   block [   768 |     1 |     128 ]
    [    1.720000]         [ ======================= ]
    [    1.720000]         [      >>     1 |     128 ]
    [    1.730000] Creating 8 MTD partitions on "ifx_hsnand":
    [    1.740000] 0x000000440000-0x000000840000 : "reserved-kernel"
    [    1.750000] 0x000000840000-0x000003840000 : "reserved-filesystem"
    [    1.750000] 0x000003840000-0x000003c40000 : "kernel"
    [    1.760000] 0x000003c40000-0x000006c40000 : "filesystem"
    [    1.770000] 0x000006c40000-0x000006e40000 : "config"
    [    1.770000] 0x000006e40000-0x000008000000 : "nand-filesystem"
    [    1.780000] 0x000000000000-0x000000040000 : "urlader"
    [    1.790000] 0x000000040000-0x000000440000 : "nand-tffs"
    [    1.800000] [TFFS3_Register_NAND] Called
    [    1.800000] [TFFS3_Register_Panic_CB] registering panic callback for mtd ifx_hsnand
    [    1.810000] tun: Universal TUN/TAP device driver, 1.6
    [    1.810000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    [    1.820000] IFX SWITCH API, Version 1.1.8.5
    [    1.820000] SWAPI: Registered character device [switch_api] with major no [81]
    [    1.820000] Switch API: PCE MicroCode loaded !!
    [    1.820000] i2c /dev entries driver
    [    1.830000] cpuidle: using governor ladder
    [    1.830000] cpuidle: using governor menu
    [    1.840000] AVM PA 4.3.14 2015-10-21
    [    1.840000] AVM PA skb pktinfo at offset 136 size 196
    [    1.850000] [loadcontrol]module avm_pa registered
    [    1.850000] ipip: IPv4 over IPv4 tunneling driver
    [    1.860000] TCP: cubic registered
    [    1.860000] NET: Registered protocol family 10
    [    1.860000] sit: IPv6 over IPv4 tunneling driver
    [    1.870000] NET: Registered protocol family 17
    [    1.870000] KOAM is loaded successfully.
    [    1.870000] l2tp_core: L2TP core driver, V2.0
    [    1.880000] l2tp_ip: L2TP IP encapsulation support (L2TPv3)
    [    1.880000] l2tp_netlink: L2TP netlink interface
    [    1.890000] l2tp_eth: L2TP ethernet pseudowire support (L2TPv3)
    [    1.890000] l2tp_ip6: L2TP IP encapsulation support for IPv6 (L2TPv3)
    [    1.900000] 8021q: 802.1Q VLAN Support v1.8
    [    1.900000] Key type dns_resolver registered
    [    1.910000] [TFFS3-NAND] NAND storage backend for TFFS 3.x
    [    1.910000] [TFFS3-NAND] scanning block at address 0x0
    [    1.920000] [TFFS3-NAND] found TFFS header magic at address 0x0, version 0x30000
    [    1.930000] [scan_block] blk_addr: 0x0 blkseq_nr: 0x81b sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    1.970000] [TFFS3-NAND] scanning block at address 0x20000
    [    1.970000] [TFFS3-NAND] found TFFS header magic at address 0x20000, version 0x30000
    [    1.980000] [scan_block] blk_addr: 0x20000 blkseq_nr: 0x81c sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.020000] [TFFS3-NAND] scanning block at address 0x40000
    [    2.030000] [TFFS3-NAND] found TFFS header magic at address 0x40000, version 0x30000
    [    2.040000] [scan_block] blk_addr: 0x40000 blkseq_nr: 0x81d sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.080000] [TFFS3-NAND] scanning block at address 0x60000
    [    2.080000] [TFFS3-NAND] found TFFS header magic at address 0x60000, version 0x30000
    [    2.090000] [scan_block] blk_addr: 0x60000 blkseq_nr: 0x81e sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.130000] [TFFS3-NAND] scanning block at address 0x80000
    [    2.140000] [TFFS3-NAND] found TFFS header magic at address 0x80000, version 0x30000
    [    2.140000] [scan_block] blk_addr: 0x80000 blkseq_nr: 0x81f sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.190000] [TFFS3-NAND] scanning block at address 0xa0000
    [    2.190000] [TFFS3-NAND] found TFFS header magic at address 0xa0000, version 0x30000
    [    2.200000] [scan_block] blk_addr: 0xa0000 blkseq_nr: 0x820 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.240000] [TFFS3-NAND] scanning block at address 0xc0000
    [    2.250000] [TFFS3-NAND] found TFFS header magic at address 0xc0000, version 0x30000
    [    2.250000] [scan_block] blk_addr: 0xc0000 blkseq_nr: 0x821 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.300000] [TFFS3-NAND] scanning block at address 0xe0000
    [    2.300000] [TFFS3-NAND] found TFFS header magic at address 0xe0000, version 0x30000
    [    2.310000] [scan_block] blk_addr: 0xe0000 blkseq_nr: 0x822 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.350000] [TFFS3-NAND] scanning block at address 0x100000
    [    2.350000] [TFFS3-NAND] found TFFS header magic at address 0x100000, version 0x30000
    [    2.360000] [scan_block] blk_addr: 0x100000 blkseq_nr: 0x823 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.400000] [TFFS3-NAND] scanning block at address 0x120000
    [    2.410000] [TFFS3-NAND] found TFFS header magic at address 0x120000, version 0x30000
    [    2.420000] [scan_block] blk_addr: 0x120000 blkseq_nr: 0x824 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.460000] [TFFS3-NAND] scanning block at address 0x140000
    [    2.460000] [TFFS3-NAND] found TFFS header magic at address 0x140000, version 0x30000
    [    2.470000] [scan_block] blk_addr: 0x140000 blkseq_nr: 0x825 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.510000] [TFFS3-NAND] scanning block at address 0x160000
    [    2.520000] [TFFS3-NAND] found TFFS header magic at address 0x160000, version 0x30000
    [    2.530000] [scan_block] blk_addr: 0x160000 blkseq_nr: 0x826 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.570000] [TFFS3-NAND] scanning block at address 0x180000
    [    2.570000] [TFFS3-NAND] found TFFS header magic at address 0x180000, version 0x30000
    [    2.580000] [scan_block] blk_addr: 0x180000 blkseq_nr: 0x827 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.620000] [TFFS3-NAND] scanning block at address 0x1a0000
    [    2.630000] [TFFS3-NAND] found TFFS header magic at address 0x1a0000, version 0x30000
    [    2.630000] [scan_block] blk_addr: 0x1a0000 blkseq_nr: 0x828 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.680000] [TFFS3-NAND] scanning block at address 0x1c0000
    [    2.680000] [TFFS3-NAND] found TFFS header magic at address 0x1c0000, version 0x30000
    [    2.690000] [scan_block] blk_addr: 0x1c0000 blkseq_nr: 0x829 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.730000] [TFFS3-NAND] scanning block at address 0x1e0000
    [    2.740000] [TFFS3-NAND] found TFFS header magic at address 0x1e0000, version 0x30000
    [    2.740000] [scan_block] blk_addr: 0x1e0000 blkseq_nr: 0x82a sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.790000] [TFFS3-NAND] scanning block at address 0x200000
    [    2.790000] [TFFS3-NAND] found TFFS header magic at address 0x200000, version 0x30000
    [    2.800000] [scan_block] blk_addr: 0x200000 blkseq_nr: 0x82b sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.840000] [TFFS3-NAND] scanning block at address 0x220000
    [    2.840000] [TFFS3-NAND] found TFFS header magic at address 0x220000, version 0x30000
    [    2.850000] [scan_block] blk_addr: 0x220000 blkseq_nr: 0x82c sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.900000] [TFFS3-NAND] scanning block at address 0x240000
    [    2.900000] [TFFS3-NAND] found TFFS header magic at address 0x240000, version 0x30000
    [    2.910000] [scan_block] blk_addr: 0x240000 blkseq_nr: 0x82d sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    2.950000] [TFFS3-NAND] scanning block at address 0x260000
    [    2.950000] [TFFS3-NAND] found TFFS header magic at address 0x260000, version 0x30000
    [    2.960000] [scan_block] blk_addr: 0x260000 blkseq_nr: 0x82e sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    3.000000] [TFFS3-NAND] scanning block at address 0x280000
    [    3.010000] [TFFS3-NAND] found TFFS header magic at address 0x280000, version 0x30000
    [    3.010000] [scan_block] blk_addr: 0x280000 blkseq_nr: 0x82f sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    3.040000] [TFFS3-NAND] scanning block at address 0x2a0000
    [    3.040000] [TFFS3-NAND] found TFFS header magic at address 0x2a0000, version 0x30000
    [    3.050000] [scan_block] blk_addr: 0x2a0000 blkseq_nr: 0x830 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    3.070000] [TFFS3-NAND] scanning block at address 0x2c0000
    [    3.070000] [TFFS3-NAND] found TFFS header magic at address 0x2c0000, version 0x30000
    [    3.080000] [scan_block] blk_addr: 0x2c0000 blkseq_nr: 0x831 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    3.100000] [TFFS3-NAND] scanning block at address 0x2e0000
    [    3.100000] [TFFS3-NAND] found TFFS header magic at address 0x2e0000, version 0x30000
    [    3.110000] [scan_block] blk_addr: 0x2e0000 blkseq_nr: 0x832 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    3.130000] [TFFS3-NAND] scanning block at address 0x300000
    [    3.140000] [TFFS3-NAND] found TFFS header magic at address 0x300000, version 0x30000
    [    3.140000] [scan_block] blk_addr: 0x300000 blkseq_nr: 0x833 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    3.160000] [TFFS3-NAND] scanning block at address 0x320000
    [    3.170000] [TFFS3-NAND] found TFFS header magic at address 0x320000, version 0x30000
    [    3.180000] [scan_block] blk_addr: 0x320000 blkseq_nr: 0x834 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    3.200000] [TFFS3-NAND] scanning block at address 0x340000
    [    3.200000] [TFFS3-NAND] found TFFS header magic at address 0x340000, version 0x30000
    [    3.210000] [scan_block] blk_addr: 0x340000 blkseq_nr: 0x835 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    3.230000] [TFFS3-NAND] scanning block at address 0x360000
    [    3.230000] [TFFS3-NAND] found TFFS header magic at address 0x360000, version 0x30000
    [    3.240000] [scan_block] blk_addr: 0x360000 blkseq_nr: 0x836 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    3.260000] [TFFS3-NAND] scanning block at address 0x380000
    [    3.270000] [TFFS3-NAND] found TFFS header magic at address 0x380000, version 0x30000
    [    3.270000] [scan_block] blk_addr: 0x380000 blkseq_nr: 0x837 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    3.290000] [TFFS3-NAND] scanning block at address 0x3a0000
    [    3.300000] [TFFS3-NAND] found TFFS header magic at address 0x3a0000, version 0x30000
    [    3.310000] [scan_block] blk_addr: 0x3a0000 blkseq_nr: 0x838 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    3.330000] [TFFS3-NAND] scanning block at address 0x3c0000
    [    3.330000] [TFFS3-NAND] found TFFS header magic at address 0x3c0000, version 0x30000
    [    3.340000] [scan_block] blk_addr: 0x3c0000 blkseq_nr: 0x839 sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    3.360000] [TFFS3-NAND] scanning block at address 0x3e0000
    [    3.360000] [TFFS3-NAND] found TFFS header magic at address 0x3e0000, version 0x30000
    [    3.370000] [scan_block] blk_addr: 0x3e0000 blkseq_nr: 0x83a sect_per_pg: 0x1 num_bad_pages: 0x0 erase_cnt: 0x1
    [    3.410000] [TFFS3-NAND] Initialisation successful, 32/32/32 NAND blocks active, fill rate 8%
    [    3.410000] TFFS: tiny flash file system driver. GPL (c) AVM Berlin (Version 3.0)
    [    3.420000] Adam2 environment variables API installed.
    [    3.430000] [simple-profiling]: 2 performance counters implemented, NEW_34K
    [    3.430000] Enable Performance Counter 0 for Data cache load/stores (User-Mode enabled Supervisor-Mode enabled Kernel-Mode enabled)
    [    3.450000] Setup tcs=0x2 current_tc_mask=0x2, reg=0
    [    3.450000] [simple-profiling]: 2 performance counters implemented, NEW_34K
    [    3.460000] Enable Performance Counter 1 for Data cache load/store misses (User-Mode enabled Supervisor-Mode enabled Kernel-Mode e)
    [    3.470000] Setup tcs=0x2 current_tc_mask=0x2, reg=1
    [    3.480000] AVM Simple Profiling enabled Version 3.0
    [    3.480000] {avmnet_cfg_netinit}
    [    3.480000] [avmnet] No config found for HWRev 209, HWSubRev 1, Profile-ID 0, trying base config for HWSubRev
    [    3.490000] [avmnet] No config found for HWRev 209, HWSubRev 1, trying base config for HWRev
    [    3.500000] [avmnet] [avmnet_swi_7port_init] Init on module swi_vr9 called.
    [    3.510000] [avmnet] [fix_phy_clock_config]: Could not read external PHY clock pin data from avm_hw_config!
    [    3.670000] Loading AVM Net Common Datapath Driver for 7Port Switch...... 
    [    3.670000] [ppe_eth_init] init_hw()
    [    3.670000] [init_hw] ppe_hw_init=0xff successful
    [    3.670000] [ppe_eth_init] ifx_proc_file_create()
    [    3.680000] [ppe_eth_init] dma_setup_init()
    [    3.690000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown unicast frames 0x7b
    [    3.690000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown multicast frames 0x7b
    [    4.840000] [avmnet_set_macaddr] Setup Mac Addr for Device(eth0): 5c:49:79:XX:XX:XX 
    [    4.840000] avmnet: avm_pa: register pid eth0
    [    4.870000] SQUASHFS error: Can't find a SQUASHFS superblock on mtdblock3
    [    4.880000] yaffs: dev is 32505859 name is "mtdblock3" ro
    [    4.880000] yaffs: passed flags ""
    [    4.890000] yaffs: yaffs: Attempting MTD mount of 31.3,"mtdblock3"
    [    4.890000] yaffs: auto selecting yaffs2
    [    4.910000] yaffs: yaffs_read_super: is_checkpointed 1
    [    4.910000] VFS: Mounted root (yaffs filesystem) readonly on device 31:3.
    [    4.910000] devtmpfs: mounted
    [    4.920000] Freeing unused kernel memory: 300K (80835000 - 80880000)
    [    5.890000] WARNING: TFFS Name Table update ! (current @K new @L)
    [    7.360000] [avm_urlader_env_set_variable] opening ID 0x1ae for writing
    [    7.510000] led_modul_Fritz_Box_HW209: module license '
    [    7.510000] (C) Copyright 2012 by AVM
    [    7.510000] ' taints kernel.
    [    7.520000] Disabling lock debugging due to kernel taint
    [    7.530000] [module-alloc-by-name] give 0x19000 bytes at 0x81104000 to module 'led_modul_Fritz_Box_HW209' (0xb3d000 bytes left)
    [    7.550000] [LED] use GPIO 6 for 'gpio_avm_led_power'
    [    7.550000] [LED] use GPIO 5 for 'gpio_avm_led_power_red'
    [    7.560000] [LED] use GPIO 34 for 'gpio_avm_led_internet'
    [    7.560000] [LED] use GPIO 15 for 'gpio_avm_led_dect'
    [    7.570000] [LED] use GPIO 0 for 'gpio_avm_led_wlan'
    [    7.570000] [LED] use GPIO 35 for 'gpio_avm_led_info'
    [    7.580000] [BUTTON] use GPIO 1 for 'gpio_avm_button_wlan'
    [    7.580000] [BUTTON] use GPIO 2 for 'gpio_avm_button_dect'
    [    7.590000] [register_bug_debug_table] name='led-modul' 0x8110e1e4 - 0x8110e1f8
    [    7.600000] AVM_WATCHDOG: System Init UEberwachung 120 Sekunden
    [    8.430000] [module-alloc-by-name] give 0x3000 bytes at 0x8111d000 to module 'rtc_avm' (0xb3a000 bytes left)
    [    8.440000] rtc-avm rtc-avm.0: rtc core: registered avm as rtc0
    [    8.440000] [avm-rtc]: avm_rtc_probe: register: ret=0x87756400
    [    8.450000] [avm-rtc]: avm_rtc_probe: success
    [    8.630000] 
    [    8.630000] [avm_debug] redirecting kernel-messages (/dev/debug)
    [    8.680000][1][module-alloc-by-name] give 0xe000 bytes at 0x81120000 to module 'Piglet_noemif' (0xb2c000 bytes left)
    [    8.690000][1][piglet]use settings for 209(2 gpios from hw_config)
    [    8.690000][1]
    [    8.780000][0][piglet]patch_dectfw: c0212000, totallen = 45653(b255)
    [    8.780000][0][piglet]patch_dectfw: patch_adress: a0 max_len: 26 with Version 2 Len: 17
    [    8.780000][0][piglet]patch_dectfw: RFPI tag found 02965ff4f0
    [    8.780000][0][piglet]patch_dectfw: dectmode 19
    [    8.790000][0]
    [    8.790000][0]
    [    8.790000][0][piglet]===== shared usage of UART (DECT and CONSOLE) - unusual characters shown: ====
    [    8.790000][0]
    [    8.790000][0]
    [    8.800000][0][piglet]dect_loader144xx: slow-bootmode
    [    9.640000][0]*
    [    9.930000][0]********************
    [   10.360000][0]system-load 4  loadavg 0.15 0.3 0.1 - 37 tasks:58 % curr:modprobe(11 %) max:init(30 %, pid:1), readytorun: 3, pgfaul)
    [   10.370000][0]*********************************************************************
    [   11.920000][0][piglet]dect144xx_file_process: upload of '/lib/modules/dectfw_secondlevel_441.hex' successfull
    [   11.930000][0]
    [   11.930000][0]
    [   11.930000][0]
    [   11.930000][0]
    [   11.930000][0]
    [   11.930000][0]
    [   11.930000][0]
    [   11.930000][0][piglet]===== end of shared usage of UART (DECT and CONSOLE) ====
    [   11.930000][0]
    [   14.040000][0][piglet]TDM: FS: 8005 Hz CLK: 4582200 Hz  (SPITDM)
    [   14.160000][1]yaffs: dev is 32505861 name is "mtdblock5" rw
    [   14.160000][1]yaffs: passed flags ""
    [   14.160000][1]yaffs: yaffs: Attempting MTD mount of 31.5,"mtdblock5"
    [   14.170000][1]yaffs: yaffs_read_super: is_checkpointed 1
    [   14.380000][1][module-alloc-by-name] give 0x68000 bytes at 0x8112e000 to module 'pcmlink' (0xac4000 bytes left)
    [   14.800000][1][module-alloc-by-name] give 0xcb000 bytes at 0x81196000 to module 'isdn_fbox_fon5' (0x9f9000 bytes left)
    [   14.850000][1][capi_oslib]avm_stack_attach: cpu1 -> cpu1
    [   14.850000][1][pcmlink]chrony-support
    [   14.870000][1][isdn]PCMLINK: svnVersion: 2282 (isdn: 3163) Codecslots=6 Slics=1 Pots=0 TE=0 NT=0 DECT=4 no HwCross DSP-EC: 0
    [   15.290000][0][module-alloc-by-name] give 0x69000 bytes at 0x81261000 to module 'capi_codec' (0x990000 bytes left)
    [   15.310000][0]capicodec_init()
    [   15.310000][0][capi_codec] support fax
    [   15.310000][0][capi_codec] support Codecs
    [   15.490000][0][module-alloc-by-name] give 0x4b000 bytes at 0x812ca000 to module 'avm_dect' (0x945000 bytes left)
    [   15.530000][0][module-alloc-by-name] give 0x5000 bytes at 0x81315000 to module 'dect_io' (0x940000 bytes left)
    [   17.860000][0]udevd[1372]: starting version 175
    [   17.880000][1][avm_urlader_env_set_variable] opening ID 0x1aa for writing
    [   19.430000][0][module-alloc-by-name] give 0x2e000 bytes at 0x8131a000 to module 'mei_vr9' (0x912000 bytes left)
    [   15.320000][0]: Codecs_Init register a /dev/debug handler
    [   19.450000][0][dsl_mei] Lantiq (VRX) DSL CPE MEI driver, version 1.4.4, (c) 2013 Lantiq Deutschland GmbH[dsl mei] tried to set GDB4
    [   19.450000][0]
    [   19.450000][0][dsl mei] debug_level=4, Global UsrDbgLevel=4 MEI_DRV UsrDbgLevel=4 MEI_MEI_ACCESS UsrDbgLevel=4
    [dsl mei] debug_level=4, Global IntDbgLevel=4 MEI_DRV IntDbgLevel=4 MEI_MEI_ACCESS IntDbgLevel=4
    [   19.450000][0]
    [   19.450000][0][dsl_vr9] AVM_MEI_PowerUpDSLSubsystem enable power domain 'DSL + DFE'
    [   19.450000][0][AVM_MEI_PowerUpDSLSubsystem] power up 'PPE TC, PPE EMA, LEDC, DFEV1, DFEV0'
    [   19.470000][0][dsl_vr9] AVM_MEI_PowerUpDSLSubsystem unreset 'DSL, DFE, AFE, VOICE, DSLTC, ARC'
    [   19.470000][0]spi_clc=0x00000200
    [   19.650000][0][module-alloc-by-name] give 0x4d000 bytes at 0x81348000 to module 'dsl_vr9' (0x8c5000 bytes left)
    [   19.670000][0][dsl drv] Lantiq CPE API Driver version: DSL CPE API V4.16.6-pd1
    [   19.670000][0][dsl drv] Predefined debug level: 4
    [   19.670000][0][dsl drv] dynamically registered major number 237 for dsl_vr9
    [   19.860000][1]DSP: XDU=1( D1 ) OVR=0 MIPS_OVR=0
    [   19.870000][0][module-alloc-by-name] give 0x27000 bytes at 0x81395000 to module 'ifxmips_ppa_datapath_vr9_e5' (0x89e000 bytes left)
    [   19.880000][0]Loading E5 (MII0/1) driver ...... 
    [   19.880000][0]drivers/net/ethernet/avm/avm_cpmac/switch/ifx/vr9/ifxmips_ppa_datapath_vr9_e5.c:3031:init_local_variables: [init_loc0
    [   19.880000][0]
    [   19.890000][0]drivers/net/ethernet/avm/avm_cpmac/switch/ifx/vr9/ifxmips_ppa_datapath_vr9_e5.c:3090:init_local_variables: g_wan_itf8
    [   19.890000][0]
    [   19.900000][0]CPU_TO_WAN_TX_DESC_BASE[0] =0xbe227400
    [   19.910000][0]avmnet: avm_pa: register pid ptm_vr9
    [   19.910000][0][avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown unicast frames 0x7b
    [   19.910000][0][avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown multicast frames 0x7b
    [   19.910000][0][ppe_e5_init] Succeeded!
    [   19.910000][0]PPE datapath driver info:
    [   19.910000][0]  Version ID: 64.3.3.1.0.1.1
    [   19.910000][0]  Family    : VR9
    [   19.910000][0]  DR Type   : Normal Data Path | Indirect-Fast Path
    [   19.910000][0]  Interface : MII0 | MII1
    [   19.910000][0]  Mode      : Routing
    [   19.910000][0]  Release   : 0.1.1
    [   19.910000][0]PPE firmware info:
    [   19.910000][0]  Version ID: 7.5.2.11.1
    [   19.910000][0]  Family    : VR9
    [   19.910000][0]  FW Package: D5
    [   19.910000][0]  Release   : 2.11.1
    [   19.910000][0]PPE firmware feature:
    [   19.910000][0]  ATM/PTM TC-Layer Bonding        Support
    [   19.910000][0]  L2 Trunking                     Support
    [   19.910000][0]  Packet Acceleration             Support
    [   19.910000][0]  IPv4                            Support
    [   19.910000][0]  IPv6                            Support
    [   19.910000][0]  6RD                             Support
    [   19.910000][0]  DS-Lite                         Support
    [   21.440000][0]system-load 4  loadavg 0.44 0.10 0.3 - 56 tasks:39 % curr:dsl_control(5 %) max:migration/0(16 %, pid:7), readytorun:)
    [   21.500000][0]activating IRQ mode
    [   21.500000][0]requesting IRQ
    [   21.500000][0]request_irq 
    [   21.500000][0]usedIrq: 57 | usedIsrHandler: 813296e0 | usedFlags: 0x100 | pUsedDevName: mei_vr9 | pUsedDevId: -2015991552
    [   21.500000][0]IRQ requested ok
    [   21.500000][0]MEI_DRV: MEI_IfxRequestIrq(IRQ = 57, .., ), lock = 1
    check this C0][0]
    [   21.500000][0]about to check device status
    [   22.080000][0][module-alloc-by-name] give 0x1ae000 bytes at 0x813bc000 to module 'kdsldmod' (0x6f0000 bytes left)
    [   22.210000][0]kdsldmod: init start (Feb  4 2016 17:39:46) sizeof(struct sk_buff)=448
    [   22.220000][0]userman: device registerd (userman_url) with major=231
    [   22.220000][0]kdsld: ttychannel: ldisc 8 registered
    [   22.220000][0]PCP_NL: PCP netlink interface (multicast group 1)
    [   22.220000][0]kdsldmod: init done (Feb  4 2016 17:39:47)
    [   26.270000][0][avm_power] eth: port 0 force normal  CON t0
    [   27.820000][0]IPv6: ADDRCONF(NETDEV_UP): lan: link is not ready
    [   27.840000][0]IPv6: ADDRCONF(NETDEV_UP): lan: link is not ready
    [   27.850000][0]IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   27.880000][0]IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   27.880000][0]IPv6: ADDRCONF(NETDEV_CHANGE): lan: link becomes ready
    [   27.900000][0][dma_device_write] auto open tx_chan_no:2
    [   28.860000][1]IPv6: ADDRCONF(NETDEV_UP): guest: link is not ready
    [   28.880000][0]IPv6: ADDRCONF(NETDEV_UP): guest: link is not ready
    [   32.490000][1][module-alloc-by-name] give 0x24000 bytes at 0x8156a000 to module 'aae' (0x6cc000 bytes left)
    [   32.510000][1][wlan_config] Given config is:
    [   32.510000][1][wlan_config]   hw_interface=0 chip_type=3 (kiwi) offload=1 (non)
    [   32.510000][1][wlan_config] hwrev=209 hwsubrev=1 maca=5c:49:79:XX:XX:XX
    [   32.510000][1][wlan_eeprom] Calibration data blocks found = 1
    [   32.510000][1][wlan_eeprom] EEPROM #1, type "AR92x7":
    [   32.510000][1][wlan_eeprom] Customer data="AVM7412_CAL1_V2"
    [   32.510000][1][wlan_eeprom] regDmn=0x8114 - patching to 0
    [   21.500000][1]MEI_DRV[00]: INIT DEVICE, phy addr = 0x1E116000, virt addr = 0xBE116000 IRQ = 57
    [   21.500000][1]
    [   32.510000][1][wlan_eeprom] MinCCAPwr thresh set to -85,-85
    [   32.510000][1][wlan_eeprom] Build with ART 0.9b27
    [   32.510000][1]avm_net_trace: New net trace device 'WLAN Management Traffic' registered with minor 128.
    [   32.540000][1]avm_net_trace: udev device avm_net_trace128 created
    [   32.660000][0]kdsld: kdsld_vcc_preunregister: *
    [   32.670000][0]kdsld: nr_ipv4 0 nr_ipv6 0 nr_vpn 0
    [   32.680000][1][module-alloc-by-name] give 0x7000 bytes at 0x8158e000 to module 'adf' (0x6c5000 bytes left)
    [   32.680000][1]****Address of trace_timer :81591270 
    [   32.730000][0][module-alloc-by-name] give 0x4000 bytes at 0x81595000 to module 'asf' (0x6c1000 bytes left)
    [   32.790000][1]kdsld: kdsld_vcc_preregister: predsl1
    [   32.790000][1]kdsld: kdsld_vcc_preregister: vcc->ifaces=  (null)
    [   33.030000][0]system-load 6  loadavg 0.68 0.16 0.5 - 83 tasks:63 % curr:pidof(0 %) max:ctlmgr(24 %, pid:1599), readytorun: 2, pgfa)
    [   33.120000][1][module-alloc-by-name] give 0x3000 bytes at 0x81599000 to module 'sch_tbf' (0x6be000 bytes left)
    [   33.270000][0][module-alloc-by-name] give 0xb6000 bytes at 0x8159c000 to module 'ath_hal' (0x608000 bytes left)
    [   33.300000][0]ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, TX_DATA_SWAP, RX_DATA_SWAP, 11D)
    [   33.340000][0][module-alloc-by-name] give 0x9000 bytes at 0x81652000 to module 'ath_rate_atheros' (0x5ff000 bytes left)
    [   33.350000][0]ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
    [   33.370000][1]system-load 4  loadavg 0.68 0.16 0.5 - 78 tasks:0 % curr:insmod(0 %) max:avm_dect_thread(0 %, pid:1138), readytorun:)
    [   33.420000][1][module-alloc-by-name] give 0xc000 bytes at 0x8165b000 to module 'ath_spectral' (0x5f3000 bytes left)
    [   33.420000][1]ath_spectral: Version 2.0.0
    [   33.420000][1]Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved
    [   33.430000][1]SPECTRAL module built on Feb 11 2016 11:41:15
    [   33.500000][1][module-alloc-by-name] give 0x13000 bytes at 0x81667000 to module 'ath_dfs' (0x5e0000 bytes left)
    [   33.510000][1]ath_dfs: Version 2.0.0
    [   33.510000][1]Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
    [   33.840000][1][module-alloc-by-name] give 0x5a000 bytes at 0x8167a000 to module 'ath_dev' (0x586000 bytes left)
    [   33.880000][1]ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
    [   34.980000][1][module-alloc-by-name] give 0x10e000 bytes at 0x816d4000 to module 'umac' (0x478000 bytes left)
    [   35.110000][1]ath_pci: SmartAntenna-DRT-0.1 (Atheros/multi-bss)
    [   35.110000][1]PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
    [   35.110000][1]ath_pci 0000:01:00.0: enabling bus mastering
    [   35.110000][1]__ath_attach: Set global_scn[0]
    [   35.120000][1]SPECTRAL : get_capability not registered
    [   35.120000][1]HAL_CAP_PHYDIAG : Capable
    [   35.120000][1]SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 231)
    [   35.120000][1]SPECTRAL : get_capability not registered
    [   35.120000][1]HAL_CAP_RADAR   : Capable
    [   35.120000][1]SPECTRAL : Need to fix the capablity check for SPECTRAL
    [   35.120000][1] (spectral_attach : 236)
    [   35.120000][1]SPECTRAL : get_capability not registered
    [   35.120000][1]HAL_CAP_SPECTRAL_SCAN : Capable
    [   35.120000][1]SPECTRAL : get_tsf64 not registered
    [   35.120000][1]spectral_init_netlink 83 NULL SKB
    [   35.120000][1]SPECTRAL : No ADVANCED SPECTRAL SUPPORT
    [   35.120000][1]SPECTRAL :----- module attached
    [   35.120000][1]GreenAP on wifi%d: Attached
    [   35.120000][1]ath_get_caps[6407] rx chainmask mismatch actual 3 sc_chainmak 0
    [   35.120000][1]ath_get_caps[6382] tx chainmask mismatch actual 3 sc_chainmak 0
    [   35.120000][1]ic_num_chains=2x2
    [   35.120000][1]_avm_ath_ext_attach_ah:156
    [   35.130000][1]band steering initialized for direct attach hardware 
    [   35.130000][1]ieee80211_bsteering_attach: Band steering initialized
    [   35.130000][1]ath_attach_dfs[13034] dfsdomain 1
    [   35.140000][1]SPECTRAL : module already attached
    [   35.140000][1]osif_wrap_attach:318 osif wrap attached
    [   35.140000][1]osif_wrap_devt_init:943 osif wrap dev table init done
    [   35.150000][1]request_irq type = 0x80
    [   35.160000][0]avm_net_trace: New net trace device 'HW (2.4 + 5 GHz, wifi0)' registered with minor 129.
    [   35.160000][0]Register net trace device succeeded with minor 129 (wifi0).
    [   35.160000][0]wifi0: Atheros ???: mem=0x1c000000, irq=138 hw_base=0xbc000000
    [   35.160000][0]_avm_ath_ext_attach_ieee:138
    [   35.200000][0]avm_net_trace: udev device avm_net_trace129 created
    [   35.220000][1][module-alloc-by-name] give 0x6000 bytes at 0x817e2000 to module 'ath_pktlog' (0x472000 bytes left)
    [   35.990000][1]ath_attach_dfs[13034] dfsdomain 1
    [   36.010000][1]Requested VPA id 0 and MAC 5c:49:79:XX:XX:XX
    [   36.010000][1]avm_net_trace: New net trace device 'AP (2.4 + 5 GHz, ath0)' registered with minor 131.
    [   36.010000][1]Register vap net trace device succeeded with minor 131 (ath0).
    [   36.010000][1]avm_net_trace: New net trace device 'AP (2.4 + 5 GHz, ath0)' registered with minor 132.
    [   36.010000][1]Register vap net trace device succeeded with minor 132 (ath0).
    [   36.010000][1]VAP device ath0 created osifp: (864d8c20) os_if: (83a20000)
    [   36.020000][1]avm_net_trace: udev device avm_net_trace131 created
    [   36.030000][1]avm_net_trace: udev device avm_net_trace132 created
    [   36.030000][1]ath0: registered PID at AVM_PA
    [   36.030000][1]ath0: registered VPID at AVM_PA
    [   36.030000][1] 
    [   36.030000][1] DES SSID SET=FRITZ!Box 7412 
    [   36.040000][1]ACFG vendor param set fail, AVM mcast-to-ucast deactivated
    [   36.120000][1] ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1 
    [   36.210000][0] DEVICE IS DOWN ifname=ath0
    [   36.210000][0] DEVICE IS DOWN ifname=ath0
    [   36.250000][1][module-alloc-by-name] give 0x26000 bytes at 0x817e8000 to module 'krtp' (0x44c000 bytes left)
    [   36.280000][1]krtp: rtp_fastpath_register done
    [   36.280000][1]krtp: krtp_init done
    [   36.710000][1]Warning: node not in table 0x85537000
    [   36.850000][1]8021q: adding VLAN 0 to HW filter on device ath0
    [   37.130000][1]8021q: adding VLAN 0 to HW filter on device ath0
    [   37.390000][1]8021q: adding VLAN 0 to HW filter on device ath0
    [   37.430000][0][module-alloc-by-name] give 0x17000 bytes at 0x8180e000 to module 'userman_mod' (0x435000 bytes left)
    [   37.460000][0]userman: LAN Client Internet-Accounting and Blocking
    [   37.460000][0]userman: device registerd with major=229
    [   37.460000][0]userman: init ok
    [   37.810000][0][DECTDRV_ERR] API_FP_MAC_START_STOP_REQ 255 -> 1
    [   38.150000][1]jitterbuffer_set_config: auto_on 1   ms 50   packets 0
    [   38.150000][1]avm_pa: telephony_reduce 65
    [   38.150000][1]avm_pa: mswin 300 400
    [   38.680000][1]AVM_WATCHDOG: System Init UEberwachung abgeschlossen (89160 ms noch verfuegbar)
    [   38.760000][0][avm_power] pm_ressourceinfo_scriptparse: powerdevice_cpuclock: norm_power_rate=100 act_rate=100 mul=0 div=1 offset=W
    [   38.760000][0][avm_power] pm_ressourceinfo_scriptparse: powerdevice_systemclock: norm_power_rate=100 act_rate=100 mul=0 div=1 offsW
    [   38.760000][0][avm_power] pm_ressourceinfo_scriptparse: powerdevice_dspclock: norm_power_rate=100 act_rate=100 mul=0 div=1 offset=W
    [   38.760000][0][avm_power] pm_ressourceinfo_scriptparse: powerdevice_loadrate: norm_power_rate=100 act_rate=83 mul=15 div=1 offset=W
    [   38.760000][0][avm_power] pm_ressourceinfo_scriptparse: powerdevice_dsl: norm_power_rate=100 act_rate=80 mul=15 div=1 offset=0 NorW
    [   38.760000][0][avm_power] pm_ressourceinfo_scriptparse: powerdevice_analog: norm_power_rate=100 act_rate=0 mul=141 div=10 offset=1W
    [   38.760000][0][avm_power] pm_ressourceinfo_scriptparse: powerdevice_wlan: norm_power_rate=100 act_rate=0 mul=84 div=10 offset=100 W
    [   38.760000][0][avm_power] pm_ressourceinfo_scriptparse: powerdevice_ethernet: norm_power_rate=167 act_rate=16777234 mul=1 div=1 ofW
    [   38.760000][1]SysRq : Changing Loglevel
    [   38.760000][1]Loglevel set to 4
    [   38.860000][0]---> reanimated debugbuffer: read=0 write=9684, written=9684 <---
    [   39.290000][1][DECTDRV_ERR] API_FP_MAC_START_STOP_REQ 1 -> 1
    [   43.280000][1]ieee80211_node_table_reset: ERROR! reclaiming unexpected node 5c:49:79:XX:XX:XX@ath0: @8392d000, flags 0, ni_bss @831
    [   43.560000][0]GreenAP on wifi0: Transition to Power save (WAIT)
    [   43.560000][0]8021q: adding VLAN 0 to HW filter on device ath0
    [   49.650000][0]system-load 100 % loadavg 1.8 0.28 0.10 - 85 tasks:41 % curr:upnpd(2 %) max:kworker/1:1H(9 %, pid:1132), readytorun:)
    top:

    Code:
    root@fritz:/var/mod/root# top
    Mem: 94276K used, 15032K free, 1544K shrd, 9280K buff, 44284K cached
    CPU:   0% usr   0% sys   0% nic  98% idle   0% io   0% irq   0% sirq
    Load average: 0.11 0.19 0.09 1/86 2422
      PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
     2422  2328 root     R     1368   1%   0% top
     1849     1 root     S     6448   6%   0% telefon a127.0.0.1
     1583     1 root     S     2932   3%   0% avmipcd
     1132     2 root     SW<      0   0%   0% [kworker/1:1H]
     1599     1 root     S    16488  15%   0% ctlmgr
     1605     1 root     S     6748   6%   0% upnpd
     1882     1 root     S <   6372   6%   0% voipd
     1866  1849 root     S     5800   5%   0% dect_manager
     1439     1 root     S     5044   5%   0% dsl_control -i10_00_10_40_00_04_01_07 -f/lib/modules/dsp_vr9/vr9-B-dsl.bin -n/etc/dsl/noti
     1752     1 root     S     4948   5%   0% dsld -i -n
     1659     1 root     S     4796   4%   0% multid
     1446     1 root     S     4204   4%   0% dsl_monitor -d
     1726     1 root     S     4152   4%   0% wland -B
     1919     1 root     S     3760   3%   0% usermand
     1949     1 root     S     3612   3%   0% contfiltd
     1823     1 root     S     3584   3%   0% pbd
     1590     1 root     S     3540   3%   0% l2tpv3d
     1713     1 root     S     3176   3%   0% pcpd
     1717     1 root     S     3020   3%   0% upnpdevd
     1384     1 root     S     2092   2%   0% /bin/configd
     1893     1 root     S     1916   2%   0% /usr/bin/boxnotifyd
     2328     1 root     S     1380   1%   0% -/bin/sh
        1     0 root     S     1364   1%   0% init
     1373     1 root     S     1364   1%   0% tail -f /nohup.out
     2178     1 root     S     1360   1%   0% inetd
     2096     1 root     S     1360   1%   0% httpd-webcfg -P /var/run/webcfg.pid -p 81 -c /mod/etc/webcfg.conf -h /usr/mww/ -r Freetz
     1851     1 root     S     1220   1%   0% wpa_supplicant -B -g /var/run/wpa_supplicant/global -D athr
     1843     1 root     S     1212   1%   0% hostapd -B -g /var/run/hostapd/global
     1372     1 root     S      972   1%   0% /sbin/udevd --daemon
     1421  1372 root     S      972   1%   0% /sbin/udevd --daemon
     1438  1372 root     S      972   1%   0% /sbin/udevd --daemon
     1901     1 root     S      876   1%   0% /bin/run_clock -c /dev/tffs -d
        7     2 root     SW       0   0%   0% [migration/0]
      917     2 root     SW<      0   0%   0% [loop0]
       12     2 root     SW       0   0%   0% [migration/1]
     1138     2 root     SW<      0   0%   0% [avm_dect_thread]
        3     2 root     SW       0   0%   0% [ksoftirqd/0]
       19     2 root     SW       0   0%   0% [kworker/0:1]
        6     2 root     SW       0   0%   0% [kworker/u4:0]
        9     2 root     SW       0   0%   0% [rcu_sched]
     1129     2 root     SW       0   0%   0% [pcmlink_ctrl]
       11     2 root     SW       0   0%   0% [watchdog/1]
       13     2 root     SW       0   0%   0% [ksoftirqd/1]
       21     2 root     SW       0   0%   0% [kdevtmpfs]
       14     2 root     SW       0   0%   0% [kworker/1:0]
     1587     2 root     SW       0   0%   0% [pmex_ne]
    rc.S scheint nicht mehr dabei zu sein.
    Geändert von ELpf (19.05.2017 um 17:49 Uhr)

  17. #37
    IPPF Achttausend-VIP Avatar von PeterPawn
    Registriert seit
    10.05.2006
    Ort
    Berlin
    Beiträge
    8.184
    @er13:
    Entschuldige bitte meine unpräzise Ausdrucksweise bzgl. dessen, was und wer da mit den passenden Feature-Einstellungen übersetzt werden müßte - wobei in der Absolutheit, wie Du es Deinerseits formulierst, ist das mit dem Zeitpunkt für diese Feature-Auswahl auch nicht ganz richtig. Selbstverständlich beeinflussen diese Einstellungen auch das, was in der C-Library beim Übersetzen generiert wird, das zeigt schon ein einfaches Kommando im "Basisverzeichnis" der uClibc-Quellen:
    Code:
    $ $ find . -name "*.c" -exec grep -H "USE_SVID\|USE_BSD" '{}' \;
    ./libc/misc/error/err.c:#if defined __USE_BSD
    ./libc/misc/time/time.c:# ifdef __USE_BSD
    ./libc/misc/time/time.c:# ifdef __USE_BSD
    ./libc/misc/time/time.c:# ifdef __USE_BSD
    ./libc/stdio/setbuffer.c:#ifdef __USE_BSD
    ./libc/stdio/setlinebuf.c:#ifdef __USE_BSD
    ./libc/unistd/usershell.c:#if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
    ./libc/unistd/getpass.c:#if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_XOPEN2K)
    ./libc/unistd/usleep.c:#if defined __USE_BSD || defined __USE_POSIX98
    ./libc/unistd/daemon.c:#if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
    ./libc/string/generic/strsep.c:#ifdef __USE_BSD
    ./libc/string/strsep.c:#ifdef __USE_BSD
    ./libc/sysdeps/linux/common/chroot.c:#if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_XOPEN2K)
    ./libc/sysdeps/linux/common/ptrace.c:#if defined __NR_ptrace && defined __USE_BSD && defined __USE_MISC
    ./libc/sysdeps/linux/common/madvise.c:#if defined __NR_madvise && defined __USE_BSD
    ./libc/sysdeps/linux/common/stime.c:#ifdef __USE_SVID
    ./libc/sysdeps/linux/common/sync.c:# if defined __USE_BSD || defined __USE_UNIX98
    ./libc/sysdeps/linux/common/wait4.c:#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
    ./libc/sysdeps/linux/common/sigaltstack.c:#if defined __NR_sigaltstack && (defined __USE_BSD || defined __USE_UNIX98)
    ./libc/sysdeps/linux/common/sysctl.c:#if defined __NR__sysctl && (defined __USE_GNU || defined __USE_BSD)
    ./libc/sysdeps/linux/common/settimeofday.c:#ifdef __USE_BSD
    ./libc/sysdeps/linux/common/wait3.c:#if defined __USE_BSD
    ./libc/sysdeps/linux/common/acct.c:#if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
    ./libc/sysdeps/linux/common/symlink.c:#if defined __USE_BSD || defined __USE_UNIX98 || defined __USE_XOPEN2K
    ./libc/sysdeps/linux/common/getdtablesize.c:#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
    ./libc/sysdeps/linux/common/setpgid.c:#if defined __USE_UNIX98 || defined __USE_SVID
    ./libc/sysdeps/linux/common/gettimeofday.c:#ifdef __USE_BSD
    ./libc/sysdeps/linux/common/sethostname.c:#if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
    ./libc/sysdeps/linux/common/mincore.c:#if defined __NR_mincore && (defined __USE_BSD || defined __USE_SVID)
    ./libc/sysdeps/linux/common/quotactl.c:#if defined __USE_BSD
    ./libc/sysdeps/linux/common/setdomainname.c:#if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
    ./libc/sysdeps/linux/common/sysfs.c:#if defined __USE_SVID
    ./libc/sysdeps/linux/common/vhangup.c:#if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
    ./libc/sysdeps/linux/common/setgroups.c:#ifdef __USE_BSD
    ./libc/sysdeps/linux/common/getdomainname.c:#if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
    ./libc/sysdeps/linux/common/waitid.c:#if defined __USE_SVID || defined __USE_XOPEN
    ./libc/pwd_grp/pwd_grp.c:#ifdef __USE_SVID
    ./libc/pwd_grp/pwd_grp.c:#ifdef __USE_SVID
    ./libc/pwd_grp/pwd_grp.c:#ifdef __USE_SVID
    ./libc/pwd_grp/pwd_grp.c:#ifdef __USE_SVID
    ./libc/pwd_grp/pwd_grp.c:#if defined __USE_BSD || defined __USE_GNU
    ./libc/pwd_grp/pwd_grp.c:#ifdef __USE_BSD
    ./libc/pwd_grp/pwd_grp.c:#ifdef __USE_SVID
    ./libc/inet/rpc/rpc_dtablesize.c:#define __USE_BSD
    ./libc/inet/hostid.c:#ifdef __USE_BSD
    ./libc/termios/cfsetspeed.c:#ifdef __USE_BSD
    ./libc/termios/cfmakeraw.c:#ifdef __USE_BSD
    ./libc/stdlib/mkdtemp.c:#ifdef __USE_BSD
    ./libc/stdlib/bsd_getpt.c:#if defined __USE_BSD
    ./libc/stdlib/bsd_getpt.c:#endif /* __USE_BSD */
    [ Das "USE_irgendwas", nach dem ich hier suchen lasse, leitet sich ebenfalls in der "include/feature.h" aus dem Vorhandensein des Symbols "_irgendwas_SOURCE" ab. ]

    Es gibt also auch C-Quellen mit bedingten Passagen anhand dieser Feature-Einstellungen und daraus entsteht meines Erachtens sehr wohl bereits zum Build-Zeitpunkt eine andere Bibliothek ... ich greife einfach mal wahllos die "./libc/sysdeps/linux/common/wait3.c" heraus. Die darin definierte (und von der Library "exportierte") Funktion "wait3" wird eben nur dann übersetzt, wenn beim Build der uClibc bereits "_BSD_SOURCE" definiert war.

    Wobei ich da jetzt auch nicht weiter insistieren will, denn ich hatte tatsächlich nicht bis in den letzten Winkel der termios-Implementierung überprüft, ob das nun nur Auswirkungen auf den Inhalt von Include-Files (bzw. das Ergebnis nach deren Verarbeitung durch den Präprozessor) hat oder ob es auch in den termios-bezogenen C-Quellen solche bedingten Abschnitte gibt und wenn es die geben sollte, ob die dann auch wirklich anderen Code generieren oder nur mit abweichenden Symbolen aus den System-Include-Files zurechtkommen sollen - das wäre ja auch noch denkbar (auch wenn es bei cfsetspeed.c z.B. wieder die gesamte Funktion und ihre Präsenz in der generierten uClibc betrifft).

    Entscheidend ist in meinen Augen, daß/ob beim Übersetzen der BusyBox nun _BSD_SOURCE oder _SVID_SOURCE definiert war oder nicht - davon (oder von einer expliziten Definition von CRTSCTS an anderer Stelle) hängt es dann ab, ob dieser konkrete Patch für das "init"-Applet nun etwas bewirkt oder nicht. Um das sicher festzustellen, müßte man jetzt genau das CS mit diesem Patch auschecken und dann da durchsehen, wo und warum da CRTSCTS definiert sein soll. Das ist selbst mir zuviel Aufwand ... erst recht angesichts eines Themas, was mich nur am Rande berührt.

    Ich verstehe ohnehin nicht, wo der Berührungspunkt zwischen diesem Patch und dem Thema von Ticket 1163 sein soll. Zwar hat Oliver dort im comment:23 den Patch mit CS 6468 committed, aber im Kommentar danach geht es später beim Benutzer "udo" immer noch nicht mit CS 6469 - das Problem liegt ja offenbar irgendwo beim Laden von Modulen und das korrigiert dann Oliver tatsächlich später mit CS 6487 und einem vollkommen anderen Revert-Patch. Insofern kann ich auch Deinen Standpunkt: "Der Patch hat schließlich geholfen." nicht wirklich teilen - in meinen Augen bleibt dieser Patch (gerade auch angesichts der Kommentare im Ticket 1163) überflüssig.

    Bei der BusyBox hatte ich schon verstanden, wo das Problem (auch mit der "rc.tail.sh") liegen könnte ... ich hätte jetzt gedacht, daß ich genau das in #28 als mögliche Fehlerquelle angesprochen hatte, auch wenn ich noch nicht bis in alle Einzelheiten verstehe, warum dann nicht auch das "cat /dev/debug" (egal, was das als argv[0] auch immer verwendet hat) einfach mit abgeräumt wird, wenn die "rc.S" ans Ende kommt. Das könnte zwar irgendein implizites "wait" auf die letzte offene Instanz sein, weil die "rc.S" ja noch einmal über eine Rekursion über "/bin/sh" aufgerufen wird (anhand des SheBang) und damit ein zusätzliches Shell-Level hinzugekommen ist, aber das ist auch nur reine Spekulation.

    Warum ich noch einmal so ausführlich auf die Frage mit PREFER_APPLETS, NOEXEC und NOFORK eingegangen bin? Ich wollte auf die von Dir ebenfalls in #29 am Beginn vorgebrachte Idee eingehen, daß es mehr oder weniger willkürlich oder gar unklar wäre, welcher Prozess nun mit welcher BusyBox-Version läuft und daß schon deshalb der Austausch praktisch unumgänglich wäre (das zweite Argument war dann der CRTSCTS-Patch von oben). So, wie ich das sehe, gilt die abweichende BusyBox-Version ausschließlich für den allerersten Prozess "init" und alle nachfolgenden Prozesse verwenden die andere BusyBox - ich weiß nicht genau, wie oft man einem Fehler im "init" hinterherlaufen muß, aber das kann man sich m.E. noch merken, daß der halt bei den Modellen mit dem Wrapper mit einer anderen BusyBox arbeitet.

    Auch nur dieser "init"-Prozess ist jetzt seinerseits in der Lage, weitere Instanzen mit dieser BusyBox zu starten und das auch nur unter sehr, sehr engen Voraussetzungen, denen man dann eben aus dem Weg gehen muß. Schon alles das, was aus/nach der "rc.S" dann kommt, verwendet die BusyBox aus dem rootfs.

    Die Kontrolle, ob ein Problem von unterschiedlichen Versionen herrührt, kann einem ohnehin niemand abnehmen - spätestens bei der Untersuchung muß man dann ohnehin überprüfen, ob das auch wirklich dieselben Versionen sind. Schon ein Problem beim "cp -a" in "fwmod" (direkt neben den Kommandos steht keine Fehlerbehandlung und damit bliebe noch ein generelles "set -e" zur Fehlerbehandlung als denkbare Lösung, dem spüre ich jetzt aber nicht nach) kann ja problemlos dazu führen, daß da gar nicht wirklich die Dateien aus dem Freetz-Package kopiert werden - die Kontrolle ist also ohnehin unumgänglich, wenn man ein Problem an dieser Stelle vermutet und solange sich die AVM-Version und die Freetz-Version bei diesem "init" nicht unterscheiden (oder es irgendwelche Upstream-Patches am "init" gibt, die es unbedingt braucht - wobei dann die Frage übrig bliebe, wieso die AVM-Version ohne diese Patches funktioniert), ist das als "Begründung" (so es denn überhaupt eine braucht - wenn Du unbedingt ersetzen willst, kann ich Dich ohnehin weder davon abhalten noch Dich mit Argumenten vom Gegenteil überzeugen) nicht schlüssig, daß man ansonsten nicht so richtig weiß, welche BusyBox da nun gerade von welchem Prozess verwendet wird ... das war der Zweck meiner oben stehenden Ausführungen zu den BusyBox-Build-Settings.

    Ansonsten bleibt bei mir trotzdem die Frage über, warum meine BusyBox (das ist wieder einmal die statisch gelinkte, die ich an vielen Stellen verwende - und die ist auch mit der Freetz-Toolchain erzeugt, weil ich nach GPLv2 auf Freetz (bzw. den Fork) als Quelle verweisen will) trotz dieser Build-Settings:
    Code:
    root@FB7490:~ $ busybox bbconfig | grep "^[^#]"
    CONFIG_HAVE_DOT_CONFIG=y
    CONFIG_PLATFORM_LINUX=y
    CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y
    CONFIG_SHOW_USAGE=y
    CONFIG_FEATURE_VERBOSE_USAGE=y
    CONFIG_FEATURE_COMPRESS_USAGE=y
    CONFIG_UNICODE_SUPPORT=y
    CONFIG_FEATURE_CHECK_UNICODE_IN_ENV=y
    CONFIG_SUBST_WCHAR=0
    CONFIG_LAST_SUPPORTED_WCHAR=0
    CONFIG_UNICODE_WIDE_WCHARS=y
    CONFIG_LONG_OPTS=y
    CONFIG_FEATURE_DEVPTS=y
    CONFIG_FEATURE_UTMP=y
    CONFIG_FEATURE_WTMP=y
    CONFIG_FEATURE_PIDFILE=y
    CONFIG_PID_FILE_PATH="/var/run"
    CONFIG_FEATURE_SUID=y
    CONFIG_FEATURE_PREFER_APPLETS=y
    CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe"
    CONFIG_FEATURE_SYSLOG=y
    CONFIG_FEATURE_HAVE_RPC=y
    CONFIG_STATIC=y
    CONFIG_LFS=y
    CONFIG_CROSS_COMPILER_PREFIX=""
    CONFIG_SYSROOT=""
    CONFIG_EXTRA_CFLAGS=""
    CONFIG_EXTRA_LDFLAGS=""
    CONFIG_EXTRA_LDLIBS=""
    CONFIG_NO_DEBUG_LIB=y
    CONFIG_INSTALL_APPLET_SYMLINKS=y
    CONFIG_PREFIX="./_install"
    CONFIG_FEATURE_RTMINMAX=y
    CONFIG_PASSWORD_MINLEN=6
    CONFIG_MD5_SMALL=0
    CONFIG_SHA3_SMALL=0
    CONFIG_FEATURE_FAST_TOP=y
    CONFIG_FEATURE_USE_TERMIOS=y
    CONFIG_FEATURE_EDITING=y
    CONFIG_FEATURE_EDITING_MAX_LEN=1024
    CONFIG_FEATURE_EDITING_VI=y
    CONFIG_FEATURE_EDITING_HISTORY=2048
    CONFIG_FEATURE_EDITING_SAVEHISTORY=y
    CONFIG_FEATURE_EDITING_SAVE_ON_EXIT=y
    CONFIG_FEATURE_REVERSE_SEARCH=y
    CONFIG_FEATURE_TAB_COMPLETION=y
    CONFIG_FEATURE_USERNAME_COMPLETION=y
    CONFIG_FEATURE_EDITING_FANCY_PROMPT=y
    CONFIG_FEATURE_EDITING_ASK_TERMINAL=y
    CONFIG_FEATURE_NON_POSIX_CP=y
    CONFIG_FEATURE_COPYBUF_KB=64
    CONFIG_FEATURE_SKIP_ROOTFS=y
    CONFIG_MONOTONIC_SYSCALL=y
    CONFIG_IOCTL_HEX2STR_ERROR=y
    CONFIG_FEATURE_HWIB=y
    CONFIG_FEATURE_SEAMLESS_XZ=y
    CONFIG_FEATURE_SEAMLESS_LZMA=y
    CONFIG_FEATURE_SEAMLESS_BZ2=y
    CONFIG_FEATURE_SEAMLESS_GZ=y
    CONFIG_GUNZIP=y
    CONFIG_BUNZIP2=y
    CONFIG_UNLZMA=y
    CONFIG_LZMA=y
    CONFIG_UNXZ=y
    CONFIG_XZ=y
    CONFIG_BZIP2=y
    CONFIG_CPIO=y
    CONFIG_FEATURE_CPIO_O=y
    CONFIG_FEATURE_CPIO_P=y
    CONFIG_DPKG=y
    CONFIG_DPKG_DEB=y
    CONFIG_GZIP=y
    CONFIG_FEATURE_GZIP_LONG_OPTIONS=y
    CONFIG_GZIP_FAST=0
    CONFIG_FEATURE_GZIP_LEVELS=y
    CONFIG_RPM2CPIO=y
    CONFIG_RPM=y
    CONFIG_TAR=y
    CONFIG_FEATURE_TAR_CREATE=y
    CONFIG_FEATURE_TAR_AUTODETECT=y
    CONFIG_FEATURE_TAR_FROM=y
    CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY=y
    CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y
    CONFIG_FEATURE_TAR_LONG_OPTIONS=y
    CONFIG_FEATURE_TAR_TO_COMMAND=y
    CONFIG_FEATURE_TAR_UNAME_GNAME=y
    CONFIG_FEATURE_TAR_NOPRESERVE_TIME=y
    CONFIG_UNZIP=y
    CONFIG_BASENAME=y
    CONFIG_CAT=y
    CONFIG_DATE=y
    CONFIG_FEATURE_DATE_ISOFMT=y
    CONFIG_FEATURE_DATE_COMPAT=y
    CONFIG_DD=y
    CONFIG_FEATURE_DD_SIGNAL_HANDLING=y
    CONFIG_FEATURE_DD_THIRD_STATUS_LINE=y
    CONFIG_FEATURE_DD_IBS_OBS=y
    CONFIG_FEATURE_DD_STATUS=y
    CONFIG_HOSTID=y
    CONFIG_ID=y
    CONFIG_GROUPS=y
    CONFIG_SHUF=y
    CONFIG_SYNC=y
    CONFIG_TEST=y
    CONFIG_FEATURE_TEST_64=y
    CONFIG_TOUCH=y
    CONFIG_FEATURE_TOUCH_NODEREF=y
    CONFIG_FEATURE_TOUCH_SUSV3=y
    CONFIG_TR=y
    CONFIG_FEATURE_TR_CLASSES=y
    CONFIG_FEATURE_TR_EQUIV=y
    CONFIG_TRUNCATE=y
    CONFIG_UNLINK=y
    CONFIG_BASE64=y
    CONFIG_WHO=y
    CONFIG_USERS=y
    CONFIG_CHGRP=y
    CONFIG_CHMOD=y
    CONFIG_CHOWN=y
    CONFIG_FEATURE_CHOWN_LONG_OPTIONS=y
    CONFIG_CHROOT=y
    CONFIG_CKSUM=y
    CONFIG_COMM=y
    CONFIG_CP=y
    CONFIG_FEATURE_CP_LONG_OPTIONS=y
    CONFIG_CUT=y
    CONFIG_DF=y
    CONFIG_FEATURE_DF_FANCY=y
    CONFIG_DIRNAME=y
    CONFIG_DOS2UNIX=y
    CONFIG_UNIX2DOS=y
    CONFIG_DU=y
    CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y
    CONFIG_ECHO=y
    CONFIG_FEATURE_FANCY_ECHO=y
    CONFIG_ENV=y
    CONFIG_FEATURE_ENV_LONG_OPTIONS=y
    CONFIG_EXPAND=y
    CONFIG_FEATURE_EXPAND_LONG_OPTIONS=y
    CONFIG_EXPR=y
    CONFIG_EXPR_MATH_SUPPORT_64=y
    CONFIG_FALSE=y
    CONFIG_FOLD=y
    CONFIG_FSYNC=y
    CONFIG_HEAD=y
    CONFIG_FEATURE_FANCY_HEAD=y
    CONFIG_INSTALL=y
    CONFIG_FEATURE_INSTALL_LONG_OPTIONS=y
    CONFIG_LN=y
    CONFIG_LOGNAME=y
    CONFIG_LS=y
    CONFIG_FEATURE_LS_FILETYPES=y
    CONFIG_FEATURE_LS_FOLLOWLINKS=y
    CONFIG_FEATURE_LS_RECURSIVE=y
    CONFIG_FEATURE_LS_SORTFILES=y
    CONFIG_FEATURE_LS_TIMESTAMPS=y
    CONFIG_FEATURE_LS_USERNAME=y
    CONFIG_FEATURE_LS_COLOR=y
    CONFIG_FEATURE_LS_COLOR_IS_DEFAULT=y
    CONFIG_MD5SUM=y
    CONFIG_MKDIR=y
    CONFIG_FEATURE_MKDIR_LONG_OPTIONS=y
    CONFIG_MKFIFO=y
    CONFIG_MKNOD=y
    CONFIG_MV=y
    CONFIG_FEATURE_MV_LONG_OPTIONS=y
    CONFIG_NICE=y
    CONFIG_NOHUP=y
    CONFIG_OD=y
    CONFIG_PRINTENV=y
    CONFIG_PRINTF=y
    CONFIG_PWD=y
    CONFIG_READLINK=y
    CONFIG_FEATURE_READLINK_FOLLOW=y
    CONFIG_REALPATH=y
    CONFIG_RM=y
    CONFIG_RMDIR=y
    CONFIG_FEATURE_RMDIR_LONG_OPTIONS=y
    CONFIG_SEQ=y
    CONFIG_SHA1SUM=y
    CONFIG_SHA256SUM=y
    CONFIG_SHA512SUM=y
    CONFIG_SHA3SUM=y
    CONFIG_SLEEP=y
    CONFIG_FEATURE_FANCY_SLEEP=y
    CONFIG_SORT=y
    CONFIG_FEATURE_SORT_BIG=y
    CONFIG_SPLIT=y
    CONFIG_FEATURE_SPLIT_FANCY=y
    CONFIG_STAT=y
    CONFIG_FEATURE_STAT_FORMAT=y
    CONFIG_STTY=y
    CONFIG_TAC=y
    CONFIG_TAIL=y
    CONFIG_FEATURE_FANCY_TAIL=y
    CONFIG_TEE=y
    CONFIG_FEATURE_TEE_USE_BLOCK_IO=y
    CONFIG_TRUE=y
    CONFIG_TTY=y
    CONFIG_UNAME=y
    CONFIG_UNAME_OSNAME="y"
    CONFIG_UNEXPAND=y
    CONFIG_FEATURE_UNEXPAND_LONG_OPTIONS=y
    CONFIG_UNIQ=y
    CONFIG_USLEEP=y
    CONFIG_UUDECODE=y
    CONFIG_UUENCODE=y
    CONFIG_WC=y
    CONFIG_FEATURE_WC_LARGE=y
    CONFIG_YES=y
    CONFIG_FEATURE_VERBOSE=y
    CONFIG_FEATURE_PRESERVE_HARDLINKS=y
    CONFIG_FEATURE_AUTOWIDTH=y
    CONFIG_FEATURE_HUMAN_READABLE=y
    CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y
    CONFIG_FGCONSOLE=y
    CONFIG_CLEAR=y
    CONFIG_OPENVT=y
    CONFIG_RESET=y
    CONFIG_SETCONSOLE=y
    CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS=y
    CONFIG_DEFAULT_SETFONT_DIR=""
    CONFIG_SETLOGCONS=y
    CONFIG_MKTEMP=y
    CONFIG_PIPE_PROGRESS=y
    CONFIG_RUN_PARTS=y
    CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS=y
    CONFIG_FEATURE_RUN_PARTS_FANCY=y
    CONFIG_START_STOP_DAEMON=y
    CONFIG_FEATURE_START_STOP_DAEMON_FANCY=y
    CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS=y
    CONFIG_WHICH=y
    CONFIG_AWK=y
    CONFIG_FEATURE_AWK_LIBM=y
    CONFIG_FEATURE_AWK_GNU_EXTENSIONS=y
    CONFIG_CMP=y
    CONFIG_DIFF=y
    CONFIG_FEATURE_DIFF_LONG_OPTIONS=y
    CONFIG_FEATURE_DIFF_DIR=y
    CONFIG_PATCH=y
    CONFIG_SED=y
    CONFIG_VI=y
    CONFIG_FEATURE_VI_MAX_LEN=1024
    CONFIG_FEATURE_VI_8BIT=y
    CONFIG_FEATURE_VI_COLON=y
    CONFIG_FEATURE_VI_YANKMARK=y
    CONFIG_FEATURE_VI_SEARCH=y
    CONFIG_FEATURE_VI_REGEX_SEARCH=y
    CONFIG_FEATURE_VI_USE_SIGNALS=y
    CONFIG_FEATURE_VI_DOT_CMD=y
    CONFIG_FEATURE_VI_READONLY=y
    CONFIG_FEATURE_VI_SETOPTS=y
    CONFIG_FEATURE_VI_SET=y
    CONFIG_FEATURE_VI_WIN_RESIZE=y
    CONFIG_FEATURE_VI_ASK_TERMINAL=y
    CONFIG_FEATURE_VI_UNDO=y
    CONFIG_FEATURE_VI_UNDO_QUEUE=y
    CONFIG_FEATURE_VI_UNDO_QUEUE_MAX=1024
    CONFIG_FEATURE_ALLOW_EXEC=y
    CONFIG_FIND=y
    CONFIG_FEATURE_FIND_PRINT0=y
    CONFIG_FEATURE_FIND_MTIME=y
    CONFIG_FEATURE_FIND_MMIN=y
    CONFIG_FEATURE_FIND_PERM=y
    CONFIG_FEATURE_FIND_TYPE=y
    CONFIG_FEATURE_FIND_XDEV=y
    CONFIG_FEATURE_FIND_MAXDEPTH=y
    CONFIG_FEATURE_FIND_NEWER=y
    CONFIG_FEATURE_FIND_INUM=y
    CONFIG_FEATURE_FIND_EXEC=y
    CONFIG_FEATURE_FIND_EXEC_PLUS=y
    CONFIG_FEATURE_FIND_USER=y
    CONFIG_FEATURE_FIND_GROUP=y
    CONFIG_FEATURE_FIND_NOT=y
    CONFIG_FEATURE_FIND_DEPTH=y
    CONFIG_FEATURE_FIND_PAREN=y
    CONFIG_FEATURE_FIND_SIZE=y
    CONFIG_FEATURE_FIND_PRUNE=y
    CONFIG_FEATURE_FIND_DELETE=y
    CONFIG_FEATURE_FIND_PATH=y
    CONFIG_FEATURE_FIND_REGEX=y
    CONFIG_FEATURE_FIND_LINKS=y
    CONFIG_GREP=y
    CONFIG_FEATURE_GREP_EGREP_ALIAS=y
    CONFIG_FEATURE_GREP_FGREP_ALIAS=y
    CONFIG_FEATURE_GREP_CONTEXT=y
    CONFIG_XARGS=y
    CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION=y
    CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y
    CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT=y
    CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y
    CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR=y
    CONFIG_HALT=y
    CONFIG_TELINIT_PATH=""
    CONFIG_INIT=y
    CONFIG_FEATURE_USE_INITTAB=y
    CONFIG_FEATURE_KILL_REMOVED=y
    CONFIG_FEATURE_KILL_DELAY=0
    CONFIG_FEATURE_INIT_SYSLOG=y
    CONFIG_INIT_TERMINAL_TYPE="linux"
    CONFIG_FEATURE_SHADOWPASSWDS=y
    CONFIG_USE_BB_CRYPT=y
    CONFIG_USE_BB_CRYPT_SHA=y
    CONFIG_ADDUSER=y
    CONFIG_LAST_ID=60000
    CONFIG_FIRST_SYSTEM_ID=100
    CONFIG_LAST_SYSTEM_ID=999
    CONFIG_ADDGROUP=y
    CONFIG_FEATURE_ADDUSER_TO_GROUP=y
    CONFIG_DELUSER=y
    CONFIG_DELGROUP=y
    CONFIG_FEATURE_DEL_USER_FROM_GROUP=y
    CONFIG_LOGIN=y
    CONFIG_LOGIN_SESSION_AS_CHILD=y
    CONFIG_LOGIN_SCRIPTS=y
    CONFIG_PASSWD=y
    CONFIG_FEATURE_PASSWD_WEAK_CHECK=y
    CONFIG_CRYPTPW=y
    CONFIG_FEATURE_DEFAULT_PASSWD_ALGO="des"
    CONFIG_CHATTR=y
    CONFIG_LSATTR=y
    CONFIG_TUNE2FS=y
    CONFIG_MODINFO=y
    CONFIG_INSMOD=y
    CONFIG_RMMOD=y
    CONFIG_LSMOD=y
    CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT=y
    CONFIG_MODPROBE=y
    CONFIG_FEATURE_MODPROBE_BLACKLIST=y
    CONFIG_DEPMOD=y
    CONFIG_FEATURE_INSMOD_TRY_MMAP=y
    CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
    CONFIG_FEATURE_MODUTILS_ALIAS=y
    CONFIG_FEATURE_MODUTILS_SYMBOLS=y
    CONFIG_DEFAULT_MODULES_DIR="/lib/modules"
    CONFIG_DEFAULT_DEPMOD_FILE="modules.dep"
    CONFIG_BLOCKDEV=y
    CONFIG_FATATTR=y
    CONFIG_MOUNT=y
    CONFIG_FEATURE_MOUNT_FAKE=y
    CONFIG_FEATURE_MOUNT_VERBOSE=y
    CONFIG_FEATURE_MOUNT_HELPERS=y
    CONFIG_FEATURE_MOUNT_LABEL=y
    CONFIG_FEATURE_MOUNT_NFS=y
    CONFIG_FEATURE_MOUNT_CIFS=y
    CONFIG_FEATURE_MOUNT_FLAGS=y
    CONFIG_FEATURE_MOUNT_FSTAB=y
    CONFIG_FEATURE_MOUNT_OTHERTAB=y
    CONFIG_REV=y
    CONFIG_BLKID=y
    CONFIG_FEATURE_BLKID_TYPE=y
    CONFIG_DMESG=y
    CONFIG_FEATURE_DMESG_PRETTY=y
    CONFIG_FDISK=y
    CONFIG_FEATURE_FDISK_WRITABLE=y
    CONFIG_FEATURE_GPT_LABEL=y
    CONFIG_FEATURE_FDISK_ADVANCED=y
    CONFIG_FLOCK=y
    CONFIG_GETOPT=y
    CONFIG_FEATURE_GETOPT_LONG=y
    CONFIG_HEXDUMP=y
    CONFIG_FEATURE_HEXDUMP_REVERSE=y
    CONFIG_HD=y
    CONFIG_LOSETUP=y
    CONFIG_LSPCI=y
    CONFIG_MKSWAP=y
    CONFIG_FEATURE_MKSWAP_UUID=y
    CONFIG_MORE=y
    CONFIG_PIVOT_ROOT=y
    CONFIG_RDATE=y
    CONFIG_SWAPONOFF=y
    CONFIG_FEATURE_SWAPON_DISCARD=y
    CONFIG_FEATURE_SWAPON_PRI=y
    CONFIG_SWITCH_ROOT=y
    CONFIG_UMOUNT=y
    CONFIG_FEATURE_UMOUNT_ALL=y
    CONFIG_FEATURE_MOUNT_LOOP=y
    CONFIG_FEATURE_MOUNT_LOOP_CREATE=y
    CONFIG_VOLUMEID=y
    CONFIG_FEATURE_VOLUMEID_EXFAT=y
    CONFIG_FEATURE_VOLUMEID_EXT=y
    CONFIG_FEATURE_VOLUMEID_FAT=y
    CONFIG_FEATURE_VOLUMEID_LINUXSWAP=y
    CONFIG_FEATURE_VOLUMEID_NTFS=y
    CONFIG_FEATURE_VOLUMEID_SQUASHFS=y
    CONFIG_CONSPY=y
    CONFIG_CROND=y
    CONFIG_FEATURE_CROND_D=y
    CONFIG_FEATURE_CROND_CALL_SENDMAIL=y
    CONFIG_FEATURE_CROND_ROOT_NOLOG=y
    CONFIG_FEATURE_CROND_DIR="/var/crontabs"
    CONFIG_I2CGET=y
    CONFIG_I2CSET=y
    CONFIG_I2CDUMP=y
    CONFIG_I2CDETECT=y
    CONFIG_LESS=y
    CONFIG_FEATURE_LESS_MAXLINES=9999999
    CONFIG_FEATURE_LESS_BRACKETS=y
    CONFIG_FEATURE_LESS_FLAGS=y
    CONFIG_FEATURE_LESS_TRUNCATE=y
    CONFIG_FEATURE_LESS_MARKS=y
    CONFIG_FEATURE_LESS_REGEXP=y
    CONFIG_FEATURE_LESS_WINCH=y
    CONFIG_FEATURE_LESS_ASK_TERMINAL=y
    CONFIG_FEATURE_LESS_DASHCMD=y
    CONFIG_FEATURE_LESS_LINENUMS=y
    CONFIG_NANDWRITE=y
    CONFIG_RFKILL=y
    CONFIG_SETSERIAL=y
    CONFIG_TASKSET=y
    CONFIG_FEATURE_TASKSET_FANCY=y
    CONFIG_UBIATTACH=y
    CONFIG_UBIDETACH=y
    CONFIG_UBIMKVOL=y
    CONFIG_UBIRMVOL=y
    CONFIG_UBIRSVOL=y
    CONFIG_UBIUPDATEVOL=y
    CONFIG_BBCONFIG=y
    CONFIG_FEATURE_COMPRESS_BBCONFIG=y
    CONFIG_FEATURE_BEEP_FREQ=0
    CONFIG_FEATURE_BEEP_LENGTH_MS=0
    CONFIG_CHAT=y
    CONFIG_FEATURE_CHAT_NOFAIL=y
    CONFIG_FEATURE_CHAT_TTY_HIFI=y
    CONFIG_FEATURE_CHAT_IMPLICIT_CR=y
    CONFIG_FEATURE_CHAT_SWALLOW_OPTS=y
    CONFIG_FEATURE_CHAT_SEND_ESCAPES=y
    CONFIG_FEATURE_CHAT_VAR_ABORT_LEN=y
    CONFIG_FEATURE_CHAT_CLR_ABORT=y
    CONFIG_CRONTAB=y
    CONFIG_DEVMEM=y
    CONFIG_FLASHCP=y
    CONFIG_FLASH_LOCK=y
    CONFIG_FLASH_UNLOCK=y
    CONFIG_FLASH_ERASEALL=y
    CONFIG_INOTIFYD=y
    CONFIG_HDPARM=y
    CONFIG_FEATURE_HDPARM_GET_IDENTITY=y
    CONFIG_MAKEDEVS=y
    CONFIG_FEATURE_MAKEDEVS_TABLE=y
    CONFIG_MICROCOM=y
    CONFIG_MOUNTPOINT=y
    CONFIG_RX=y
    CONFIG_SETSID=y
    CONFIG_STRINGS=y
    CONFIG_TIME=y
    CONFIG_TIMEOUT=y
    CONFIG_WATCHDOG=y
    CONFIG_NBDCLIENT=y
    CONFIG_NC=y
    CONFIG_NC_SERVER=y
    CONFIG_NC_EXTRA=y
    CONFIG_PING=y
    CONFIG_PING6=y
    CONFIG_FEATURE_FANCY_PING=y
    CONFIG_STUN_IP=y
    CONFIG_WGET=y
    CONFIG_FEATURE_WGET_STATUSBAR=y
    CONFIG_FEATURE_WGET_AUTHENTICATION=y
    CONFIG_FEATURE_WGET_LONG_OPTIONS=y
    CONFIG_FEATURE_WGET_TIMEOUT=y
    CONFIG_FEATURE_WGET_OPENSSL=y
    CONFIG_WHOIS=y
    CONFIG_FEATURE_IPV6=y
    CONFIG_FEATURE_PREFER_IPV4_ADDRESS=y
    CONFIG_VERBOSE_RESOLUTION_ERRORS=y
    CONFIG_ARP=y
    CONFIG_ARPING=y
    CONFIG_BRCTL=y
    CONFIG_FEATURE_BRCTL_FANCY=y
    CONFIG_FEATURE_BRCTL_SHOW=y
    CONFIG_DNSD=y
    CONFIG_ETHER_WAKE=y
    CONFIG_FTPD=y
    CONFIG_FEATURE_FTP_WRITE=y
    CONFIG_FEATURE_FTPD_ACCEPT_BROKEN_LIST=y
    CONFIG_FEATURE_FTP_AUTHENTICATION=y
    CONFIG_FTPGET=y
    CONFIG_FTPPUT=y
    CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS=y
    CONFIG_HOSTNAME=y
    CONFIG_HTTPD=y
    CONFIG_FEATURE_HTTPD_RANGES=y
    CONFIG_FEATURE_HTTPD_SETUID=y
    CONFIG_FEATURE_HTTPD_BASIC_AUTH=y
    CONFIG_FEATURE_HTTPD_AUTH_MD5=y
    CONFIG_FEATURE_HTTPD_CGI=y
    CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR=y
    CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV=y
    CONFIG_FEATURE_HTTPD_ENCODE_URL_STR=y
    CONFIG_FEATURE_HTTPD_ERROR_PAGES=y
    CONFIG_FEATURE_HTTPD_PROXY=y
    CONFIG_FEATURE_HTTPD_GZIP=y
    CONFIG_IFCONFIG=y
    CONFIG_FEATURE_IFCONFIG_STATUS=y
    CONFIG_FEATURE_IFCONFIG_HW=y
    CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS=y
    CONFIG_IFENSLAVE=y
    CONFIG_IFUPDOWN=y
    CONFIG_IFUPDOWN_IFSTATE_PATH="/var/run/ifstate"
    CONFIG_FEATURE_IFUPDOWN_IFCONFIG_BUILTIN=y
    CONFIG_FEATURE_IFUPDOWN_IPV4=y
    CONFIG_FEATURE_IFUPDOWN_IPV6=y
    CONFIG_FEATURE_IFUPDOWN_MAPPING=y
    CONFIG_INETD=y
    CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO=y
    CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD=y
    CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME=y
    CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME=y
    CONFIG_FEATURE_INETD_RPC=y
    CONFIG_IP=y
    CONFIG_FEATURE_IP_ADDRESS=y
    CONFIG_FEATURE_IP_LINK=y
    CONFIG_FEATURE_IP_ROUTE=y
    CONFIG_FEATURE_IP_ROUTE_DIR="y"
    CONFIG_FEATURE_IP_TUNNEL=y
    CONFIG_FEATURE_IP_RULE=y
    CONFIG_FEATURE_IP_SHORT_FORMS=y
    CONFIG_IPADDR=y
    CONFIG_IPLINK=y
    CONFIG_IPROUTE=y
    CONFIG_IPTUNNEL=y
    CONFIG_IPRULE=y
    CONFIG_IPCALC=y
    CONFIG_FEATURE_IPCALC_FANCY=y
    CONFIG_FEATURE_IPCALC_LONG_OPTIONS=y
    CONFIG_NETSTAT=y
    CONFIG_FEATURE_NETSTAT_WIDE=y
    CONFIG_FEATURE_NETSTAT_PRG=y
    CONFIG_NSLOOKUP=y
    CONFIG_NTPD=y
    CONFIG_FEATURE_NTPD_SERVER=y
    CONFIG_FEATURE_NTPD_CONF=y
    CONFIG_PSCAN=y
    CONFIG_ROUTE=y
    CONFIG_SLATTACH=y
    CONFIG_TCPSVD=y
    CONFIG_TELNET=y
    CONFIG_FEATURE_TELNET_TTYPE=y
    CONFIG_FEATURE_TELNET_AUTOLOGIN=y
    CONFIG_TELNETD=y
    CONFIG_FEATURE_TELNETD_STANDALONE=y
    CONFIG_FEATURE_TELNETD_INETD_WAIT=y
    CONFIG_TFTP=y
    CONFIG_TFTPD=y
    CONFIG_FEATURE_TFTP_GET=y
    CONFIG_FEATURE_TFTP_PUT=y
    CONFIG_FEATURE_TFTP_BLOCKSIZE=y
    CONFIG_FEATURE_TFTP_PROGRESS_BAR=y
    CONFIG_TFTP_DEBUG=y
    CONFIG_TRACEROUTE=y
    CONFIG_TRACEROUTE6=y
    CONFIG_FEATURE_TRACEROUTE_VERBOSE=y
    CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE=y
    CONFIG_FEATURE_TRACEROUTE_USE_ICMP=y
    CONFIG_TUNCTL=y
    CONFIG_FEATURE_TUNCTL_UG=y
    CONFIG_UDHCPC6=y
    CONFIG_UDHCPD=y
    CONFIG_DHCPRELAY=y
    CONFIG_DUMPLEASES=y
    CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY=y
    CONFIG_FEATURE_UDHCPD_BASE_IP_ON_MAC=y
    CONFIG_DHCPD_LEASES_FILE="/var/tmp/udhcpd.leases"
    CONFIG_UDHCPC=y
    CONFIG_FEATURE_UDHCPC_ARPING=y
    CONFIG_FEATURE_UDHCPC_SANITIZEOPT=y
    CONFIG_FEATURE_UDHCP_PORT=y
    CONFIG_UDHCP_DEBUG=9
    CONFIG_FEATURE_UDHCP_RFC3397=y
    CONFIG_FEATURE_UDHCP_8021Q=y
    CONFIG_UDHCPC_DEFAULT_SCRIPT="/var/tmp/udhcpc.script"
    CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80
    CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n"
    CONFIG_UDPSVD=y
    CONFIG_VCONFIG=y
    CONFIG_ZCIP=y
    CONFIG_MAKEMIME=y
    CONFIG_FEATURE_MIME_CHARSET="iso-8859-1"
    CONFIG_REFORMIME=y
    CONFIG_SENDMAIL=y
    CONFIG_IOSTAT=y
    CONFIG_LSOF=y
    CONFIG_MPSTAT=y
    CONFIG_NMETER=y
    CONFIG_PMAP=y
    CONFIG_PSTREE=y
    CONFIG_PWDX=y
    CONFIG_SMEMCAP=y
    CONFIG_TOP=y
    CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y
    CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS=y
    CONFIG_FEATURE_TOP_SMP_CPU=y
    CONFIG_FEATURE_TOP_SMP_PROCESS=y
    CONFIG_FEATURE_TOPMEM=y
    CONFIG_UPTIME=y
    CONFIG_FREE=y
    CONFIG_FUSER=y
    CONFIG_KILL=y
    CONFIG_KILLALL=y
    CONFIG_KILLALL5=y
    CONFIG_PGREP=y
    CONFIG_PIDOF=y
    CONFIG_FEATURE_PIDOF_SINGLE=y
    CONFIG_FEATURE_PIDOF_OMIT=y
    CONFIG_PKILL=y
    CONFIG_PS=y
    CONFIG_FEATURE_PS_WIDE=y
    CONFIG_FEATURE_PS_LONG=y
    CONFIG_RENICE=y
    CONFIG_BB_SYSCTL=y
    CONFIG_FEATURE_SHOW_THREADS=y
    CONFIG_WATCH=y
    CONFIG_RUNSV=y
    CONFIG_RUNSVDIR=y
    CONFIG_FEATURE_RUNSVDIR_LOG=y
    CONFIG_SV=y
    CONFIG_SV_DEFAULT_SERVICE_DIR="/var/custom/var/service"
    CONFIG_SVLOGD=y
    CONFIG_CHPST=y
    CONFIG_SETUIDGID=y
    CONFIG_ENVUIDGID=y
    CONFIG_ENVDIR=y
    CONFIG_SOFTLIMIT=y
    CONFIG_ASH=y
    CONFIG_ASH_BASH_COMPAT=y
    CONFIG_ASH_JOB_CONTROL=y
    CONFIG_ASH_ALIAS=y
    CONFIG_ASH_GETOPTS=y
    CONFIG_ASH_BUILTIN_ECHO=y
    CONFIG_ASH_BUILTIN_PRINTF=y
    CONFIG_ASH_BUILTIN_TEST=y
    CONFIG_ASH_HELP=y
    CONFIG_ASH_CMDCMD=y
    CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
    CONFIG_ASH_RANDOM_SUPPORT=y
    CONFIG_ASH_EXPAND_PRMT=y
    CONFIG_FEATURE_SH_IS_ASH=y
    CONFIG_FEATURE_BASH_IS_NONE=y
    CONFIG_SH_MATH_SUPPORT=y
    CONFIG_SH_MATH_SUPPORT_64=y
    CONFIG_FEATURE_SH_EXTRA_QUIET=y
    CONFIG_FEATURE_SH_STANDALONE=y
    CONFIG_FEATURE_SH_NOFORK=y
    CONFIG_FEATURE_SH_HISTFILESIZE=y
    CONFIG_SYSLOGD=y
    CONFIG_FEATURE_ROTATE_LOGFILE=y
    CONFIG_FEATURE_REMOTE_LOG=y
    CONFIG_FEATURE_SYSLOGD_DUP=y
    CONFIG_FEATURE_SYSLOGD_CFG=y
    CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE=256
    CONFIG_FEATURE_IPC_SYSLOG=y
    CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=32
    CONFIG_LOGREAD=y
    CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING=y
    CONFIG_KLOGD=y
    CONFIG_FEATURE_KLOGD_KLOGCTL=y
    CONFIG_LOGGER=y
    kein Problem mit der "rc.S" hat (7490, sieht man ja am Prompt oben), obwohl auch hier die "S11-piglet" vorhanden ist und auch der Rest praktisch identisch zur 7412 läuft:
    Code:
    root@FB7490:~ $ grep -r /dev/debug /etc/init.d/
    /etc/init.d/S01-head:mknod /dev/debug c $debug_c_major 0
    /etc/init.d/S11-piglet:echo AVM_PRINTK >/dev/debug
    /etc/init.d/S11-piglet:cat /dev/debug &
    /etc/init.d/rc.net:# echo STD_PRINTK >/dev/debug ; echo 9 >/proc/sysrq-trigger
    /etc/init.d/rc.tail.sh:if `ps | grep -v grep | grep -q "cat /dev/debug"` ; then
    /etc/init.d/rc.tail.sh:echo Info: have to stop 'cat /dev/debug'.
    /etc/init.d/rc.tail.sh:echo AVMDBG_EOF 1 >/dev/debug
    root@FB7490:~ $ for l in $(find /proc/*/fd/ -type l); do [ "$(realpath $l 2>/dev/null)" = "/etc/init.d/rc.S" ] && echo $l; done
    root@FB7490:~ $
    Da versteckt sich auch kein "rc.S" hinter irgendeinem anderen Namen im "ps" - offenbar wird die Abarbeitung ordentlich beendet. Entweder hier wird also der Eintrag für das "cat /dev/debug" in der Prozessliste gefunden (was interaktiv ja nicht klappt, wie ich in einem früheren Beitrag gezeigt habe) oder da wird dann eben doch auch dieses "cat /dev/debug" einfach mit abgeräumt, wenn die Abarbeitung der "rc.S" zum Ende kommt.

    Dabei geht es mir gar nicht so sehr um die Unterschiede in der Prozessliste (Du kennst sicherlich auch den Patch für "exec -a" in der Mailing-Liste, irgendwo Mitte April 2017, der das noch einmal explizit änderbar macht) als viel mehr um das Verständnis, warum das nun bei mir eben nicht hängenbleiben will.

    Vielleicht ist es ja doch so simpel wie ein "exit"-Kommando in der "debug.cfg" (wenn die wieder eingebaut wurde und auch genau mit dem alten Mechanismus, dann beendet das "exit" dort ja auch die "rc.tail.sh" und die Suche nach dem "cat /dev/debug" findet gar nicht erst statt - selbst wenn das "nicht-interaktiv" wirklich als "cat /dev/debug" in der Prozessliste stehen sollte) - das sind alles diese Unwägbarkeiten, wo man m.E. auch ganz schnell mit Vollgas in die falsche Richtung rennen kann.

    Dafür gibt es einfach zu viele denkbare Ursachen für dieses Hängenbleiben und ich würde (zumindest als Versuch oder für eine erste Idee) noch einmal auf die "wchan" zurückkommen wollen bzw. auf eine komplette Prozessliste (am besten ein "ps l" in Kombination mit einem "pstree -p") verweisen wollen, wenn man die Ursache des Hängenbleibens nicht durch Probieren ermitteln will. Das wird zwar irgendwann auch unumgänglich werden, aber dann sollte das m.E. mit einer gezielten Idee verbunden sein.

    Die Vermutung, daß es an der anderen Benennung der Prozesse liegen könnte, habe ich zwar selbst ins Spiel gebracht ... aber ich beharre da auch nicht drauf, wenn andere Tests das Gegenteil nahelegen. Wie gesagt ... es kann sein, daß das ohne Terminal-Device für die Shell wieder ganz anders aussieht (man braucht bloß mal in "shellexec()" in der "ash.c" hineinschauen und findet da sofort ein paar Stellen, wo dann argv[0] und dessen zu setzender Wert auch ein Thema ist) und irgendwoher muß dieses "-sh" ja auch kommen. Das ist - auch wieder nur als Vermutung - ggf. ein "geerbter" Prozessname des Elternprozesses (hier könnte NOEXEC/NOFORK dann ins Spiel kommen), wenn dieser eben eine interaktive Shell ist ... wenn das über das System ginge (also über "exec" und Syscalls), müßte es ein "/bin/sh" sein, was da steht.

    Aber genau da könnte dann eben auch wieder die Frage mit dem "controlling tty" eine Rolle spielen anstelle von "NOEXEC/NOFORK" (bei mir ist es immer noch das "/dev/ttyS0" aus der AVM-"inittab", das von "init" an "rc.S" wohl vererbt werden wird), wenn die Shell da die Entscheidung treffen soll, in welchem Modus sie läuft und was als argv[0] für einen Prozess gesetzt werden soll.

    Was mich halt irritieren würde, wäre die Frage, wieso aus dem Parsen eines "cat irgendwas &" am Ende tatsächlich ein "interner" Aufruf werden sollte ... das "cat" ist zwar an sich ein NOFORK-Applet, aber das kommt ja hier gar nicht in Betracht, wenn es als paralleler Prozess weiterlaufen soll und damit müßte der Interpreter hier ja auf "normales Kommando" (ggf. sogar direkt auf ein BB_EXECVP, meinetwegen noch mit "find_applet_by_name", aber keinesfalls mit dem Gedanken "NOEXEC kommt in Frage" im Hinterkopf) umschalten - wenn ich nicht meinerseits etwas fundamental falsch interpretiere.

    Da stellt sich dann aber angesichts von "BB_EXECVP()" weiter oben wieder die Frage, wie da ein "-sh" in die Prozessliste kommt, wenn das doch entweder ein "cat" sein sollte (das über den Pfad gesucht wird) oder eben die "/proc/self/exe" des aufrufenden Prozesses und das kann als Symlink ja kein simples "-sh" sein, sondern sollte immer auf eine Datei (mit vollem Pfad sogar) verweisen:
    Code:
    root@FB7490:~ $ for pid in $(pidof -- "-sh"); do ls -l /proc/$pid/exe; done
    lrwxrwxrwx    1 root     root             0 May 18 00:20 /proc/29046/exe -> /bin/busybox
    lrwxrwxrwx    1 root     root             0 May 18 00:20 /proc/4371/exe -> /bin/busybox
    root@FB7490:~ $
    Also müßte dieses "-sh" die Folge irgendeines merkwürdigen Ablaufes in "ash.c" sein, wenn es auch für Kommandos "verwendet" wird, die als gesonderter Prozess laufen sollen und damit nicht mit dem NOEXEC-/NOFORK-Geraffel gestartet werden können. Oder wo bin ich da besonders begriffsstutzig? Ich kann auch Deiner Überlegung nicht folgen, daß es sich wirklich um einen NOFORK-Aufruf handeln würde (der ist ja nicht zwingend, nur weil das Applet dafür geeignet wäre). Wenn das als gesonderter Job läuft, sollte das m.E. über "forkshell()" in "ash.c" gestartet werden (mit "FORK_BG") und das ist dann ein neuer Prozess und hat mit dem NOFORK-Mechanismus (für mich) gar nichts mehr zu tun.

    NOFORK führt das Kommando/Applet eben in demselben Prozess/Thread aus und das muß dann auch definitiv zu einem Ende kommen - das geht also schon mal nicht, wenn es um eine parallele Abarbeitung geht. Beim NOEXEC wird dann zwar geforkt (gibt eine neue PID, vererbt praktisch alles vom Elternprozess inkl. ctty), aber das auszuführende Applet wird jetzt direkt aufgerufen (und nicht über eine der "exec...()"-Funktionen) - damit ist der Kindsprozess die (mehr oder weniger exakte) Kopie der aktuellen BusyBox (theoretisch inkl. argv[0] vom Parent und da könnte das "-sh" herkommen) und da es kein "exec...()" gibt, ändert der jetzt auch den Inhalt des argv-Arrays für den Prozess nicht. Das würde zumindest erklären, wie es zu diesem Phänomen mit dem "-sh" kommt - der Ausweg hier wäre dann eben der Weg über das Vermeiden von NOEXEC in diesem konkreten Fall und anstatt das komplett abzuschalten in der BusyBox, würde ich dann eher den Weg wählen, das Kommando eben anders zu formulieren - wenn es nicht als Applet erkannt wird, kann weder NOEXEC noch NOFORK in Betracht kommen und es wird ein ganz normaler Aufruf über eine der "exec...()"-Funktionen, die dann auch sauber die Daten für die Prozesssteuerung setzen.

    Alternative wäre vielleicht ein Patch, der beim "forkshell()" mit "FORK_BG"-Option (wenn meine Annahme stimmt, daß dieses "cat"-Kommando tatsächlich zu einem solchen Aufruf führen müßte) versucht, die kopierten Daten der Prozesssteuerung (hier speziell argv[0], woraus sich m.W. auch /proc/<pid>/cmdline bedient) auch noch passend zu setzen, selbst wenn die BusyBox ansonsten mit NOEXEC arbeiten kann/darf ... dieser Fall sollte jetzt nicht so häufig auftreten, daß Performance-Gewinne durch NOEXEC/NOFORK an anderer Stelle damit gleich wieder aufgehoben wären.

    Vielleicht könnte man sogar auf die Idee kommen, einen entsprechenden Patch am Upstream einzureichen (wenn es nicht schon einen geben sollte, das habe ich nicht nachgesehen) - denn in diesem Falle (neuer Prozess, der ein Kommando <> "sh" ausführt als neuen Job und damit eben nicht diese "interactive shell" ist) sollte m.E. auch der Prozessname richtig gesetzt sein (argv[0], aber nicht mit prctl(PR_SET_NAME) verwechseln), damit man mit "ps" und den anderen Kommandos aus dieser Kategorie über das procfs vernünftig darauf zugreifen kann.

    Aber auch das sind alles nur theoretische Überlegungen und ein paar Recherchen im C-Quellcode der BusyBox. Ob das die richtige Richtung ist, will ich um Gottes Willen nicht beschwören ... ich halte nur die andere auch für falsch bzw. man müßte sich ja auch dann, wenn sich diese Vermutungen bestätigen sollten, gleich noch überlegen, welche Konsequenzen man daraus zu ziehen gewillt ist.
    Geändert von PeterPawn (18.05.2017 um 03:08 Uhr)
    ⠠⠏⠑⠞⠑⠗⠠⠏⠁⠺⠝

Seite 2 von 2 ErsteErste 12

Ähnliche Themen

  1. FRITZ!Box 7412 Firmware Version 137.06.30 vom 13.07.2015
    Von Daniel Lücking im Forum FRITZ!Box tot? Recover, Firmware Up-/ Downgrade
    Antworten: 3
    Letzter Beitrag: 27.02.2016, 17:29
  2. [Info] FritzBox 7412 Firmware 137.06.21 vom 03.12.2014
    Von SF1975 im Forum FRITZ!Box tot? Recover, Firmware Up-/ Downgrade
    Antworten: 1
    Letzter Beitrag: 13.07.2015, 19:25
  3. FRITZ!Box 7412 Labor-Firmware Version 137.06.25-30889 vom 10.07.2015
    Von thommygay24 im Forum FRITZ!Box tot? Recover, Firmware Up-/ Downgrade
    Antworten: 0
    Letzter Beitrag: 10.07.2015, 18:07
  4. [Info] FRITZ!Box 7412 Labor-Firmware Version 137.06.25-30630 vom 19.06.2015
    Von SF1975 im Forum FRITZ!Box tot? Recover, Firmware Up-/ Downgrade
    Antworten: 1
    Letzter Beitrag: 30.06.2015, 08:27
  5. [Info] FRITZ!Box 7412 Labor-Firmware Version 137.06.25-30758 vom 29.06.2015
    Von SF1975 im Forum FRITZ!Box tot? Recover, Firmware Up-/ Downgrade
    Antworten: 0
    Letzter Beitrag: 30.06.2015, 08:27

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •