Installing Freetz trunk (7635) on 7170, no Freetz webinterface

RomMon

Neuer User
Mitglied seit
29 Aug 2011
Beiträge
105
Punkte für Reaktionen
0
Punkte
16
Hi Experts,

These are my first steps with Freetz.

I’m trying to create an image for my 7170, a test router not connected to my ADSL line.

I used the following commands:
svn co http://svn.freetz.org/trunk/ freetz-trunk
mv freetz-trunk/ freetz-trunk-7635
cd freetz-trunk-7635
make menuconfig > selected “Fon WLAN 7170”, “Firmware language (en - international)” and “Annex (A)”
make
Which resulted in: -rw-r--r-- 1 user users 7499776 2011-09-17 22:07 7170_04.84freetz-devel-7635.en_20110917-220645.image

I uploaded this image via the webinterface which seem to be successful (blinking Info for ~30 sec followed by a reset).

The normal Fritz!box webinterface (http://fritz.box) is normally working, but the Freetz webinterface (http://fritz.box:81) is not.
Any idea what I’m missing here? Can I verify if my image is successfully installed (e.g. via telnet)?

Below the output of ps and dmesg:
Code:
# ps
  PID  Uid        VSZ Stat Command
    1 root       1308 S   init
    2 root            SWN [ksoftirqd/0]
    3 root            SW< [events/0]
    4 root            SW< [khelper]
    5 root            SW< [kthread]
    6 root            SW< [kblockd/0]
   23 root            SW< [pdflush]
   24 root            SW< [pdflush]
   26 root            SW< [aio/0]
   25 root            SW  [kswapd0]
   62 root            SW  [pm_info]
   66 root            SW< [CPMAC]
   70 root            SW  [mtdblockd]
   96 root            SW  [tffsd_mtd_0]
  215 root            SWN [jffs2_gcd_mtd6]
  243 root            SW< [capi_oslib]
  244 root            SW< [capi_oslib]
  245 root            SW  [capitransp]
  267 root            SW< [khubd]
  321 root       8616 S N ctlmgr
  347 root       1968 S   wpa_authenticator
  352 root       8616 S N ctlmgr
  353 root       8616 R N ctlmgr
  354 root       8616 S N ctlmgr
  355 root       8616 S N ctlmgr
  356 root       8616 S N ctlmgr
  390 root       4540 S   upnpd
  396 root       3236 S   multid
  400 root       3540 S   dsld -i -n
  405 root       2640 S   usermand
  415 root       1312 S   telnetd -l /sbin/ar7login
  416 root       5388 S   telefon a127.0.0.1
  420 root       4748 S < voipd
  425 root       2900 S   pbd
  428 root       2900 S   pbd
  431 root       2900 S   pbd
  432 root       2900 S   pbd
  435 root        860 S   /bin/run_clock -c /dev/tffs -d
  444 root       1308 S   init
  445 root       3236 S   multid
  450 root       4540 S   upnpd
  451 root       4540 S   upnpd
  452 root       4540 S   upnpd
  453 root       1328 S   -sh
  662 root       1312 R   ps
#

Code:
# dmesg
Linux version 2.6.13.1-ohio (2953) (gcc-Version 3.4.6) #1 Mon Feb 7 10:19:51 CET 2011
memsize=32 MByte
flashsize=8 MByte
&_end=0x94247784 PFN_ALIGN(&_end)=0x94248000 CPHYSADDR(PFN_ALIGN(&_end))=0x14248000 memsize=0x2000000
CPU revision is: 00018448
[ohio_gpio_init]
Determined physical RAM map:
 memory: 00248000 @ 14000000 (reserved)
 memory: 01db8000 @ 14248000 (usable)
On node 0 totalpages: 8192
[alloc_node_mem_map] reduce size from 2883616 Bytes to  262176 Bytes
[alloc_node_mem_map]: (org) sizeof(mem_map) = 262176 mem_map=0x9424b000-0x9428b020
[alloc_node_mem_map]: sizeof(mem_map) = 2883616 mem_map=0x93fcb000-0x9428b020
zone=0 zone_size[j]=0x90112
realsize=8192
  DMA zone: 8192 pages, LIFO batch:3
zone=1 zone_size[j]=0x0
realsize=0
  Normal zone: 0 pages, LIFO batch:1
zone=2 zone_size[j]=0x0
realsize=0
  HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line:  console=ttyS0,38400n8r
[ld_mmu_r4xx0] memcpy((void *)(CAC_BASE   + 0x100), &except_vec2_generic, 0x30)
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 8kB, 4-way, linesize 16 bytes.
Synthesized TLB refill handler (20 instructions). Base=0x9420a8ac
TLB synthesizer field overflow (simm)
Synthesized TLB load handler fastpath (34 instructions) Base=0x9420e620.
TLB synthesizer field overflow (simm)
Synthesized TLB store handler fastpath (34 instructions) Base=0x9420e820.
TLB synthesizer field overflow (simm)
Synthesized TLB modify handler fastpath (33 instructions) Base=0x9420ea20.
PID hash table entries: 256 (order: 8, 4096 bytes)
CPU frequency 211.97 MHz
Using 105.984 MHz high precision timer.
[setup_irq]: irq 255 irqaction->handler 0x940430e0 (no_action+0x0/0x8 )
[register_console] enable commandline console 0
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 30080k/30432k available (1593k kernel code, 320k reserved, 387k data, 116k init, 0k highmem)
totalram_pages= 7528
Calibrating delay loop... 211.35 BogoMIPS (lpj=1056768)
loops_per_jiffy=1056768
Mount-cache hash table entries: 512
Checking for 'wait' instruction...  available.
Calling initcall 0x941fe27c: helper_init+0x0/0x30()
Calling initcall 0x941fe53c: ksysfs_init+0x0/0x3c()
Calling initcall 0x94200468: filelock_init+0x0/0x48()
Calling initcall 0x94200d88: init_script_binfmt+0x0/0xc()
Calling initcall 0x94200d94: init_elf_binfmt+0x0/0xc()
Calling initcall 0x94205c70: netlink_proto_init+0x0/0x2ac()
NET: Registered protocol family 16
Calling initcall 0x9420161c: kobject_uevent_init+0x0/0x50()
Calling initcall 0x942018a4: tty_class_init+0x0/0x34()
Calling initcall 0x941f52c4: frame_info_init+0x0/0xb4()
Can't analyze prologue code at 9418caa4
Calling initcall 0x94200158: init_bio+0x0/0x17c()
Calling initcall 0x94201f50: misc_init+0x0/0xc0()
Calling initcall 0x94203b18: genhd_device_init+0x0/0x44()
Calling initcall 0x94204230: init_mtd+0x0/0x48()
Calling initcall 0x94204e40: input_init+0x0/0x1e0()
Calling initcall 0x94205378: proto_init+0x0/0x48()
Calling initcall 0x9420553c: net_dev_init+0x0/0x1dc()
Calling initcall 0x94205b68: pktsched_init+0x0/0xc8()
Calling initcall 0x94205c3c: tc_filter_init+0x0/0x34()
Calling initcall 0x942003bc: init_pipe_fs+0x0/0x6c()
Calling initcall 0x94201734: chr_dev_init+0x0/0xb4()
Calling initcall 0x941fd8a4: create_proc_profile+0x0/0x64()
Calling initcall 0x941fd984: ioresources_init+0x0/0xc4()
Calling initcall 0x941fdb90: uid_cache_init+0x0/0x88()
Calling initcall 0x941fdf6c: param_sysfs_init+0x0/0x208()
Calling initcall 0x941fe174: init_posix_timers+0x0/0x108()
Calling initcall 0x941fe2ac: init_posix_cpu_timers+0x0/0xd4()
Calling initcall 0x941fe4fc: kallsyms_init+0x0/0x40()
Calling initcall 0x941ff7b4: init_per_zone_pages_min+0x0/0x64()
Calling initcall 0x941ffbf8: pdflush_init+0x0/0x28()
Calling initcall 0x941ffc20: cpucache_init+0x0/0x20()
Calling initcall 0x941fff6c: kswapd_init+0x0/0x70()
Calling initcall 0x94200020: procswaps_init+0x0/0x40()
Calling initcall 0x94200060: init_tmpfs+0x0/0x3c()
Calling initcall 0x94200428: fasync_init+0x0/0x40()
Calling initcall 0x94200b2c: aio_setup+0x0/0x8c()
Calling initcall 0x94200bb8: inotify_setup+0x0/0xf4()
Calling initcall 0x94200cac: eventpoll_init+0x0/0xdc()
Calling initcall 0x942012e4: init_devpts_fs+0x0/0x48()
Calling initcall 0x9420132c: init_squashfs_fs+0x0/0xe4()
Squashfs 2.2-r2b (released 2006/02/23) (C) 2002-2005 Phillip Lougher
Calling initcall 0x94201410: init_ramfs_fs+0x0/0xc()
Calling initcall 0x94201428: ipc_init+0x0/0x30()
Calling initcall 0x942017e8: rand_initialize+0x0/0x3c()
Calling initcall 0x942018d8: tty_init+0x0/0x184()
Calling initcall 0x94201a5c: pty_init+0x0/0x4f4()
Calling initcall 0x94202010: avm_net_trace_init+0x0/0x80()
avm_net_trace: Up and running.
Calling initcall 0x94202090: avm_power_init+0x0/0x190()
[avm_power]Ohio250 detected -> overclocking possible
Calling initcall 0x94202220: avm_sammel_init+0x0/0x158()
[avm] configured: watchdog eventled enable shift register enable direct gpio
        gpio usage: reset=12 clock=13 store=10 data=9
AR7WDT: Watchdog Driver for AR7 Hardware (Version 1.0, build: Feb  7 2011 10:17:13)
Calling initcall 0x94203168: serial8250_init+0x0/0x10c()
Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
[uart_add_one_port]
ttyS0 at MMIO 0x0 (irq = 15) is a OHIO_UART
[uart_add_one_port] dont register console port->type = 16
port->cons = 0x941ce340 port->cons->flags = 0x7
[uart_add_one_port] success
Calling initcall 0x94203b5c: noop_init+0x0/0xc()
io scheduler noop registered
Calling initcall 0x94203b68: cpphy_entry_probe+0x0/0x440()
[cpmac] Version: 1.128  -  Revision 790:974  -  Mo   7.02.2011  10:18:34
[avm_event_source_trigger]: not registered
[cpmac] [cpmac_if_register] dev cpmac0 (phy_id 0) registered
Calling initcall 0x94204038: net_olddevs_init+0x0/0x100()
Calling initcall 0x942041a0: tun_init+0x0/0x90()
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
Calling initcall 0x94204278: cmdline_parser_init+0x0/0xc()
Calling initcall 0x94204284: init_mtdchar+0x0/0xc0()
Calling initcall 0x94204344: init_mtdblock+0x0/0xc()
Calling initcall 0x94204350: cfi_probe_init+0x0/0x24()
Calling initcall 0x94204374: cfi_amdstd_init+0x0/0x30()
Calling initcall 0x942043a4: cfi_intelext_init+0x0/0x4c()
Calling initcall 0x942043f0: jedec_probe_init+0x0/0x24()
Calling initcall 0x94204414: map_ram_init+0x0/0x24()
Calling initcall 0x94204438: init_physmap+0x0/0x170()
physmap flash device: 400000 at 10000000
phys_mapped_flash: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
phys_mapped_flash: Swapping erase regions for broken CFI table.
number of CFI chips: 1
RedBoot partition parsing not available
Calling initcall 0x942045a8: platram_init+0x0/0x30()
Generic platform RAM MTD, (c) 2004 Simtec Electronics
Calling initcall 0x942045d8: init_ohio_flash+0x0/0x868()
Ohio flash driver (size->0x400000 mem->0x10000000)
flash_size=0x800000
flash_mask=0xffffff
Ohio flash memory: Found 1 x16 devices at 0x0 in 16-bit bank
[genprobe_ident_chips] 4 i 0 j 0
[genprobe_ident_chips] 5 i 0 j 1
 Amd/Fujitsu Extended Query Table at 0x0040
Ohio flash memory: Swapping erase regions for broken CFI table.
number of CFI chips: 1
[mtd]: jffs2_size = 16 * 64KByte (0x100000 Bytes)
[ohio_find_hidden_filesystem]: super block found: bytes_used: 0x5c1a26/6036006
[init_ohio_flash] find hidden filesystem size=0x6c7d00 offset=0xb8300
[mtd] configure jffs2 partition
[mtd] fs_size=0x670000 max=0x100000 is=0x100000 max jffs2_size value 16
[mtd] ohio_flash_map: name=Ohio flash memory bankwidth=2 virt=0xb0000000 phys=0x10000000 size=0x800000
Creating 7 MTD partitions on "Ohio flash memory":
0x000b8300-0x00780000 : "filesystem"
        'nor-flash'
        'Bits can be cleared (flash)'
        'Has an erase function'
mtd: partition "filesystem" doesn't start on an erase block boundary -- force read-only
0x00010000-0x00780000 : "kernel"
        'nor-flash'
        'Bits can be cleared (flash)'
        'Has an erase function'
0x00000000-0x00010000 : "bootloader"
        'nor-flash'
        'Bits can be cleared (flash)'
        'Has an erase function'
0x00780000-0x007c0000 : "tffs (1)"
        'nor-flash'
        'Bits can be cleared (flash)'
        'Has an erase function'
0x007c0000-0x00800000 : "tffs (2)"
        'nor-flash'
        'Bits can be cleared (flash)'
        'Has an erase function'
0x00680000-0x00780000 : "jffs2"
        'nor-flash'
        'Bits can be cleared (flash)'
        'Has an erase function'
0x00010000-0x00680000 : "Kernel without jffs2"
        'nor-flash'
        'Bits can be cleared (flash)'
        'Has an erase function'
partition_info[0]: name=filesystem offset=b8300 size=6c7d00
partition_info[0]: 0xb00b8300: 0x73717368 0x8b5
partition_info[1]: name=kernel offset=10000 size=770000
partition_info[1]: 0xb0010000: 0xfeed1281 0xa8271
partition_info[2]: name=bootloader offset=0 size=10000
partition_info[2]: 0xb0000000: 0x40809000 0x40809800
partition_info[3]: name=tffs (1) offset=780000 size=40000
partition_info[3]: 0xb0780000: 0x40001 0x89fbffff
partition_info[4]: name=tffs (2) offset=7c0000 size=40000
partition_info[4]: 0xb07c0000: 0x40001 0x88fbffff
partition_info[5]: name=jffs2 offset=680000 size=100000
partition_info[5]: 0xb0680000: 0x20031985 0xc
partition_info[6]: name=Kernel without jffs2 offset=10000 size=670000
partition_info[6]: 0xb0010000: 0xfeed1281 0xa8271
Calling initcall 0x94205020: kcapi_init+0x0/0x9c()
Calling initcall 0x94205164: capi_oslib_init+0x0/0x8()
Calling initcall 0x94205c30: blackhole_module_init+0x0/0xc()
Calling initcall 0x94206920: inet_init+0x0/0x504()
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
Calling initcall 0x94209338: init+0x0/0x8()
Calling initcall 0x94209340: bictcp_register+0x0/0xc()
TCP bic registered
Calling initcall 0x9420934c: mcfw_init_module+0x0/0x2c()
mcfw: IGMPv3 fast forwarding
Calling initcall 0x94209378: af_unix_init+0x0/0xa0()
NET: Registered protocol family 1
Calling initcall 0x94209418: packet_init+0x0/0x80()
NET: Registered protocol family 17
Calling initcall 0x94209498: br_init+0x0/0x68()
Calling initcall 0x94209554: atm_init+0x0/0xec()
NET: Registered protocol family 8
NET: Registered protocol family 20
Calling initcall 0x942096f8: br2684_init+0x0/0x54()
Calling initcall 0x941f4024: ohio_install_dummy_irq_functions+0x0/0x58()
[setup_irq]: irq 1 irqaction->handler 0x94001590 (dummy_timer_irq+0x0/0x14 )
[setup_irq]: irq 6 irqaction->handler 0x940015a4 (dummy_system_irq_2+0x0/0x14 )
Calling initcall 0x940017e4: ohio_late_init+0x0/0x3c()
[ohio_late_init]
Calling initcall 0x941f4160: ohio_clk_switch_init+0x0/0x60()
Calling initcall 0x941f43dc: speedup_init+0x0/0x3c()
Calling initcall 0x94201824: seqgen_init+0x0/0x20()
Calling initcall 0x940cef50: avm_event_push_button_init+0x0/0x130()
[avm_new] push_button_gpio=8 value=1 enabled
Calling initcall 0x942029dc: tffs_init+0x0/0x224()
TFFS: tiny flash file system driver. GPL (c) AVM Berlin (Version 2.0)
      mount on mtd4 and mtd5 (double buffering)
Adam2 environment variables API installed.
Calling initcall 0x9420382c: early_uart_console_switch+0x0/0xb4()
Calling initcall 0x9412c148: net_random_reseed+0x0/0x34()
Calling initcall 0x94207e40: ip_auto_config+0x0/0x1120()
[prepare_namespace] new mount root /dev/mtdblock1
use lzma compression
VFS: Mounted root (squashfs filesystem) readonly.
Freeing prom memory: 0kb freed
Freeing unused kernel memory: 116k freed (7557 free)
[setup_irq]: irq 15 irqaction->handler 0x940db17c (serial8250_interrupt+0x0/0x13c )
AR7WDT: System Init UEberwachung 240 Sekunden
TFFS Name Table G
Piglet: module license '
(C) Copyright 2005 by AVM
' taints kernel.
EMIF: asize=1 ta=3 r_hold=0 w_strobe=6 r_strobe=6 ew=1
[piglet]McSP: rFS: 8000 Hz rCLK:2048215 Hz
[avm_new]push_button 'Wlan-Taster', released: GPIO=8 presses=5250 key=button_key_2
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
registered device TI Avalanche SAR
tiatm driver (patch_annex=0xc00e42ec)
[tiatm] Set StrictPriority=0
DSP binary filesize = 389522 bytes
[dsl_ur8] dsl serial number successfully set to "465249545a21426f78466f6e574c414e37313730303031463346414530344143"
[tiatm] INFO V2U-BRIDGEREGISTER: 0x00000019
[avm_power]Ohio250 detected -> overclocking possible
[avm_power]#### boostVoltage: DSP Core voltage set to 1,5 V ####
[setup_irq]: irq 23 irqaction->handler 0xc00ca208 (tn7atm_sar_irq+0x0/0x50 [tiatm] )
[setup_irq]: irq 31 irqaction->handler 0xc00ca258 (tn7atm_dsl_irq+0x0/0x28 [tiatm] )
[tiatm]: Powermanagment (States => 1,3,10) supported!
[tiatm] AvmInterface length: 44
[avm_power]#### boostVoltage: DSP Core voltage set to 1,65 V ####
Texas Instruments ATM driver: version:[4.08.02.01]
ubik2 driver (ubik2 - 0x10=0xc003efd4)
atm_dsp_register_ubik2: ubik2_ToMIPS_notify=0xc002cbfc
atm_dsp_register_ubik2: dsp mem pointer 0xa1c1644c
ubik2_init_interface: DSP-Link Version v3 8480

[ubik2_debug] eof_sync =1
#
 

olistudent

IPPF-Urgestein
Mitglied seit
19 Okt 2004
Beiträge
14,779
Punkte für Reaktionen
10
Punkte
38
Flashing your new image did not succeed. The output of ps doesn't show anything different from an original AVM firmware.

Regards
Oliver
 

RomMon

Neuer User
Mitglied seit
29 Aug 2011
Beiträge
105
Punkte für Reaktionen
0
Punkte
16
Oliver,

Thanks for your reply.
I verified the md5 outcome of the image in ./freetz-trunk-7635/images/ and the one I used for flashing, they are the same.
So I have to look further...I didn't see errors during make. Below Step 1 to 3 of make.

Can I see from the LED behavior to get a better understanding what goes wrong?

I ordered a Data cable that probably arrives in a week or two, which hopefully gives more info what happens during flashing.

Code:
STEP 1: UNPACK
unpacking firmware image
splitting kernel image
unpacking filesystem image
    2110 inodes (2288 blocks) to write
    created 1553 files
    created 119 directories
    created 247 symlinks
    created 310 devices
    created 0 fifos
unpacking var.tar
done.

STEP 2: MODIFY
applying symlinks, deleting additional webinterfaces in: usr/www
applying patches
  applying patches (7170-en)
    applying patch file ./patches/110-multid-wait.patch
    patching file etc/init.d/rc.net
    Hunk #1 succeeded at 66 with fuzz 1 (offset -2 lines).
    ----------------------------------------------------------------------
    applying patch file ./patches/110-system_status.patch
    patching file usr/bin/system_status
    ----------------------------------------------------------------------
    applying patch file ./patches/7170/110-rc.S-mknod.patch
    patching file etc/init.d/rc.S
    Hunk #1 succeeded at 195 (offset -23 lines).
    ----------------------------------------------------------------------
    applying patch file ./patches/7170/120-rc.S-dev.patch
    patching file etc/init.d/rc.S
    ----------------------------------------------------------------------
    applying patch file ./patches/7170/130-rc.S-logging.patch
    patching file etc/init.d/rc.S
    ----------------------------------------------------------------------
    applying patch file ./patches/7170/140-rc.S-no_avm_exit.patch
    patching file etc/init.d/rc.S
    Hunk #1 succeeded at 1578 (offset -416 lines).
    ----------------------------------------------------------------------
    applying patch file ./patches/7170/290-replace_websrv-remove_igdd.patch
    patching file etc/init.d/rc.net
    Hunk #1 succeeded at 52 (offset -2 lines).
    Hunk #2 succeeded at 298 (offset -13 lines).
    ----------------------------------------------------------------------
    applying patch file ./patches/7170/301-remove_smbd.patch
    patching file etc/init.d/rc.net
    Hunk #1 succeeded at 66 (offset -2 lines).
    Hunk #2 succeeded at 311 (offset -16 lines).
    ----------------------------------------------------------------------
    applying patch file ./patches/7170/en/190-webmenu.patch
    patching file usr/www/all/html/de/menus/menu2_homehome.html
    patching file usr/www/all/html/de/menus/menu2_konfig.html
    ----------------------------------------------------------------------
    applying patch file ./patches/7170/en/200-sperre1.patch
    patching file usr/www/all/html/de/fon/sperre1.js
    ----------------------------------------------------------------------
  creating symlinks /tmp, /mod and /home
  creating /mnt and /opt
  setting freetz-version 'freetz-devel-7635'
  setting subversion 'freetz-devel-7635'
    applying patch file ./patches/100-3170_7170.sh
    applying patch file ./patches/100-7112_7170.sh
    applying patch file ./patches/100-7113_7170.sh
    applying patch file ./patches/100-7140_7170.sh
    applying patch file ./patches/100-7141_7170.sh
    applying patch file ./patches/100-7240_7270.sh
    applying patch file ./patches/100-7270v1_7270.sh
    applying patch file ./patches/100-7570_IAD.sh
    applying patch file ./patches/100-W920_7570.sh
    applying patch file ./patches/100-enforce-urlader-settings.sh
    applying patch file ./patches/100-w701v_7170.sh
    applying patch file ./patches/100-w900v_7170.sh
    applying patch file ./patches/100_iad3331_7170.sh
    applying patch file ./patches/101-ctlmgr_wrapper.sh
    applying patch file ./patches/105-onlinechanged.sh
  patching /bin/onlinechanged
    applying patch file ./patches/109-rc.net-multid-wrapper.sh
  replacing multid by a wrapper
    patching build/modified/filesystem/etc/init.d/rc.net
    applying patch file ./patches/110-inittab.sh
    applying patch file ./patches/115-rc.S.sh
    applying patch file ./patches/116-usbroot_S46-usb.sh
    applying patch file ./patches/120-dev_led.sh
  applying /dev/led patch
    patching build/modified/filesystem/bin/update_led_on
    patching build/modified/filesystem/bin/update_led_off
    applying patch file ./patches/130-fstab.sh
    applying patch file ./patches/140-remove-uClibc.sh
    applying patch file ./patches/170-rename_ar7login.sh
  renaming ar7login to make way for wrapper script
    applying patch file ./patches/180-printk.sh
  applying printk patch
    patching build/modified/filesystem/etc/init.d/rc.S
    patching build/modified/filesystem/etc/init.d/rc.S
    applying patch file ./patches/191-webmenu_wol.sh
    applying patch file ./patches/195-webmenu_signed.sh
    applying patch file ./patches/197-freetzmount.sh
  applying FREETZMOUNT patch
    patching build/modified/filesystem/etc/hotplug/storage
    patching build/modified/filesystem/etc/hotplug/storage
    patching build/modified/filesystem/etc/hotplug/storage
    patching build/modified/filesystem/etc/hotplug/run_mount
    patching build/modified/filesystem/etc/hotplug/run_mount
    patching build/modified/filesystem/etc/hotplug/storage
    patching run_mount script
    patching /etc/hotplug/storage
    patching build/modified/filesystem/etc/hotplug/storage
    applying patch file ./patches/198-usbroot.sh
    applying patch file ./patches/200-vcc.sh
    applying patch file ./patches/210-ata.sh
    applying patch file ./patches/210-enum.sh
    applying patch file ./patches/210-international.sh
    applying patch file ./patches/220-assistant.sh
    applying patch file ./patches/220-cdrom-iso.sh
    applying patch file ./patches/220-chronyd.sh
    applying patch file ./patches/220-help.sh
    applying patch file ./patches/220-remove-nas.sh
    applying patch file ./patches/230-openssl.sh
    applying patch file ./patches/240-add-dsl-expert-pages.sh
    applying patch file ./patches/250-remove_avm_inetd.sh
  removing AVM inetd
    rm build/modified/filesystem/bin/inetdctl
    rm build/modified/filesystem/etc/inetd.conf
    patching build/modified/filesystem/etc/init.d/rc.S
    applying patch file ./patches/260-remove_tr069.sh
    applying patch file ./patches/270-remove_usb_module.sh
    applying patch file ./patches/275-multiple_printers.sh
    applying patch file ./patches/290-replace_websrv-remove_igdd.sh
    applying patch file ./patches/300-remove-smbd.sh
    applying patch file ./patches/310-remove_userman.sh
    applying patch file ./patches/320-remove-dsld.sh
    applying patch file ./patches/320-remove_capiotcp.sh
    applying patch file ./patches/330-remove-voip-isdn.sh
    applying patch file ./patches/331-remove-voipd.sh
    applying patch file ./patches/340-remove_dect_update.sh
    applying patch file ./patches/350-add_remove_annex_file.sh
    applying patch file ./patches/360-remove-wlan.sh
    applying patch file ./patches/370-remove_dtrace.sh
  removing dtrace file
    rm build/modified/filesystem/usr/bin/dtrace
    applying patch file ./patches/380-remove-umtsd.sh
    applying patch file ./patches/385-remove-ntfs.sh
    applying patch file ./patches/390-remove_util_linux.sh
    applying patch file ./patches/400-remove-inetdctl.sh
    applying patch file ./patches/401-remove_ftpd.sh
    applying patch file ./patches/410-remove_piglet.sh
    applying patch file ./patches/420-remove_printserv.sh
    applying patch file ./patches/460-MAXDEVCOUNT.sh
    applying patch file ./patches/470-volumecounter.sh
    applying patch file ./patches/480-alarmclock.sh
    applying patch file ./patches/500-remove-mediasrv.sh
    applying patch file ./patches/510-remove_aura_usb.sh
    applying patch file ./patches/510-remove_avm_vpn.sh
    applying patch file ./patches/510-remove_minid.sh
    applying patch file ./patches/520-remove_dect.sh
    applying patch file ./patches/530-remove_support.sh
    applying patch file ./patches/540-remove_webdav.sh
    applying patch file ./patches/550-add_reg_external_in_gui.sh
    applying patch file ./patches/560-remove_lsof.sh
    applying patch file ./patches/570-remove_strace.sh
    applying patch file ./patches/600-replace_mdev.sh
    applying patch file ./patches/700-add_bash_to_etc_shells.sh
    applying patch file ./patches/900-add_options_cfg.sh
  creating options.cfg
    by symlinking it to .config
    applying patch file ./patches/999-remove_run_clock.sh
  removing oem: none
installing mod base
  installing libs
    ld_uClibc
    libcrypt
    libdl
    libfreetz
    libgcc_s
    libm
    libnsl
    libpthread
    librt
    libuClibc
replacing busybox
  replacing busybox-8mb
  installing symlinks
installing modules
  generating modules.dep
installing packages
  syslogd-cgi-0.2.3
  inetd-0.2
  haserl-0.9.29
  mod-1.0
  modcgi-0.3
invoking custom script
processing mod base options
  setting colored style as default
  patching security level
  rc.external was not integrated into image
  integrating stripped .config file into image
stripping leftover unstripped binaries
    build/modified/filesystem/lib/libled2.so.2.2.0
    build/modified/filesystem/lib/libpthread-0.9.29.so
    build/modified/filesystem/lib/libusbcfg.so.1.0.0
    build/modified/filesystem/lib/libacgenusb.so.1.0.0
    build/modified/filesystem/lib/libupnpdevusb.so.1.0.0
    build/modified/filesystem/usr/share/ctlmgr/libctlusb.so
done.

STEP 3: PACK
  checking for left over Subversion directories
  integrate freetz info file into image
packing var.tar
creating filesystem image
  squashfs blocksize: 65536
merging kernel image
  kernel image size: 6718208 (max: 7798784, free: 1080576)
  Aproximately free time for the answering machine: 419s (6min 59s)
packing 7170_04.84freetz-devel-7635.en_20110917-220645.image
Image files can be found in the ./images/ subfolder
done.

FINISHED
 

RomMon

Neuer User
Mitglied seit
29 Aug 2011
Beiträge
105
Punkte für Reaktionen
0
Punkte
16
RalfFriedl,

Thanks for your interest.
Here the steps I used:

Settings > System > Firmware Update > Firmware File
Step 1: Save Settings
Step 2: Selected firmware “7170_04.84freetz-devel-7635.en_20110917-220645.image” via the Browse button
Step 3: Start Update button.
After about 50 seconds get message “Attention! The specified file does not contain firmware released for this device by AVM. …..” >
Selected “Continue Update” button

Info blinking for about 30 seconds followed by all LEDs on for 1 second that all LEDs off followed by a reboot.


I tried it a few times with each time the same result.
 

RomMon

Neuer User
Mitglied seit
29 Aug 2011
Beiträge
105
Punkte für Reaktionen
0
Punkte
16
I installed freetz-linux under VirtualBox and re-build the image for my 7170 with the same selections (exept now with 7662), inside freetz-linux and this installed fine.
Looks that I have to look more carefull at my first build environment...but guess I will use freetz-linux for now.
 

RomMon

Neuer User
Mitglied seit
29 Aug 2011
Beiträge
105
Punkte für Reaktionen
0
Punkte
16
After receiving de Data cable I again tried to load the failed image, but I didn't recognize the error.
Below the startup messages from the 7170. I did make a note when I got the request to continue with the not AVM released firmware.
But I don't see where it goes wrong. The router did again came back online with the old existing image. I expected more details about the reason of the failure.
But if someone sees where it goes wrong than please let me know.

Code:
  PID USER       VSZ STAT COMMAND
    1 root      1140 S    init
    2 root         0 SWN  [ksoftirqd/0]
    3 root         0 SW<  [events/0]
    4 root         0 SW<  [khelper]
    5 root         0 SW<  [kthread]
    6 root         0 SW<  [kblockd/0]
   23 root         0 SW<  [pdflush]
   24 root         0 SW<  [pdflush]
   26 root         0 SW<  [aio/0]
   25 root         0 SW   [kswapd0]
   62 root         0 SW   [pm_info]
   66 root         0 SW<  [CPMAC]
   70 root         0 SW   [mtdblockd]
   98 root         0 SW   [tffsd_mtd_0]
  334 root         0 SWN  [jffs2_gcd_mtd6]
  357 root         0 SW<  [capi_oslib]
  358 root         0 SW<  [capi_oslib]
  359 root         0 SW   [capitransp]
  380 root         0 SW<  [khubd]
  447 root      8776 S N  /usr/bin/ctlmgr.bin
  538 root      3056 S    multid
  581 root      1132 S    telnetd -l /sbin/ar7login
  582 root      5204 S    telefon a127.0.0.1
  595 root      2748 S    pbd
  596 root      2748 S    pbd
  601 root      2748 S    pbd
  602 root      2748 S    pbd
  605 root       696 S    /bin/run_clock -c /dev/tffs -d
  628 root      3056 S    multid
  766 root      1132 S    httpd-webcfg -P /var/run/webcfg.pid -p 81 -c /mod/et
  847 root      1132 S    inetd
  949 root      8776 S N  /usr/bin/ctlmgr.bin
  950 root      8776 S N  /usr/bin/ctlmgr.bin
  951 root      8776 S N  /usr/bin/ctlmgr.bin
  952 root      8776 S N  /usr/bin/ctlmgr.bin
  953 root      8776 S N  /usr/bin/ctlmgr.bin
 1021 root      2660 S    usermand
 1054 root       828 S    radvd -C /mod/etc/radvd.conf
 1245 root      1148 S    -/bin/sh
 1293 root      3908 S N  /cgi-bin/firmwarecfg
 1294 root      2748 S    pbd
 1295 root      1156 S N  /bin/sh /bin/prepare_fwupgrade start
 1297 root      1136 R N  ps
Sat Jan  1 01:03:40 CET 2000
/etc/hotplug/storage: line 250: led-ctrl: not found
killall: ftpd: no process killed
killall: smbd: no process killed
rmmod: can't unload 'vfat': unknown symbol in module, or unknown parameter
rmmod: can't unload 'fat': unknown symbol in module, or unknown parameter
rmmod: can't unload 'nls_cp437': unknown symbol in module, or unknown parameter
rmmod: can't unload 'nls_iso8859_1': unknown symbol in module, or unknown parameter
rmmod: can't unload 'sd_mod': unknown symbol in module, or unknown parameter
rmmod: can't unload 'usb_storage': unknown symbol in module, or unknown parameter
rmmod: can't unload 'scsi_mod': unknown symbol in module, or unknown parameter
AVM USB 1.1 Host stopped
Sat Jan  1 01:03:47 CET 2000
  PID USER       VSZ STAT COMMAND
    1 root      1140 S    init
    2 root         0 SWN  [ksoftirqd/0]
    3 root         0 SW<  [events/0]
    4 root         0 SW<  [khelper]
    5 root         0 SW<  [kthread]
    6 root         0 SW<  [kblockd/0]
   23 root         0 SW<  [pdflush]
   24 root         0 SW<  [pdflush]
   26 root         0 SW<  [aio/0]
   25 root         0 SW   [kswapd0]
   62 root         0 SW   [pm_info]
   66 root         0 SW<  [CPMAC]
   70 root         0 SW   [mtdblockd]
   98 root         0 SW   [tffsd_mtd_0]
  334 root         0 SWN  [jffs2_gcd_mtd6]
  357 root         0 SW<  [capi_oslib]
  358 root         0 SW<  [capi_oslib]
  359 root         0 SW   [capitransp]
  380 root         0 SW<  [khubd]
  447 root      8776 S N  /usr/bin/ctlmgr.bin
  538 root      3056 S    multid
  581 root      1132 S    telnetd -l /sbin/ar7login
  582 root      5204 S    telefon a127.0.0.1
  595 root      2752 S    pbd
  596 root      2752 S    pbd
  601 root      2752 S    pbd
  602 root      2752 S    pbd
  605 root       696 S    /bin/run_clock -c /dev/tffs -d
  628 root      3056 S    multid
  766 root      1132 S    httpd-webcfg -P /var/run/webcfg.pid -p 81 -c /mod/et
  847 root      1132 S    inetd
  949 root      8776 S N  /usr/bin/ctlmgr.bin
  950 root      8776 S N  /usr/bin/ctlmgr.bin
  951 root      8776 S N  /usr/bin/ctlmgr.bin
  952 root      8776 S N  /usr/bin/ctlmgr.bin
  953 root      8776 S N  /usr/bin/ctlmgr.bin
 1021 root      2660 S    usermand
 1054 root       828 S    radvd -C /mod/etc/radvd.conf
 1245 root      1148 S    -/bin/sh
 1293 root      3908 S N  /cgi-bin/firmwarecfg
 1294 root      2752 S    pbd
 1295 root      1156 S N  /bin/sh /bin/prepare_fwupgrade start
 1417 root      1136 R N  ps
Sat Jan  1 01:03:48 CET 2000
TERMINATING capiotcp_server pbd faxd telefon dtrace printserv smbd mailer
Jan  1 01:03:48 pbd[595]: received signal: Terminated.
Jan  1 01:03:48 pbd[595]: terminating.
Jan  1 01:03:48 telefon[582]: SIGTERM received!
Jan  1 01:03:48 telefon[582]: wdt release failed
Sat Jan  1 01:03:51 CET 2000
TERMINATING audiod pictured feedd playerd
Sat Jan  1 01:03:52 CET 2000
TERMINATING configd
Sat Jan  1 01:03:52 CET 2000
TERMINATING maild voipd usermand upnpd mediasrv avmlogd tr069discover avmike dsld
Sat Jan  1 01:03:54 CET 2000
Sat Jan  1 01:03:55 CET 2000


[email protected]:/var/mod/root# Get window with: File_not_released_by_AVM_continue_?
-/bin/sh: File_not_released_by_AVM_continue_: not found
[email protected]:/var/mod/root#   PID USER       VSZ STAT COMMAND
    1 root      1140 S    init
    2 root         0 SWN  [ksoftirqd/0]
    3 root         0 SW<  [events/0]
    4 root         0 SW<  [khelper]
    5 root         0 SW<  [kthread]
    6 root         0 SW<  [kblockd/0]
   23 root         0 SW<  [pdflush]
   24 root         0 SW<  [pdflush]
   26 root         0 SW<  [aio/0]
   25 root         0 SW   [kswapd0]
   62 root         0 SW   [pm_info]
   66 root         0 SW<  [CPMAC]
   70 root         0 SW   [mtdblockd]
   98 root         0 SW   [tffsd_mtd_0]
  334 root         0 SWN  [jffs2_gcd_mtd6]
  357 root         0 SW<  [capi_oslib]
  358 root         0 SW<  [capi_oslib]
  359 root         0 SW   [capitransp]
  380 root         0 SW<  [khubd]
  447 root      8728 S N  /usr/bin/ctlmgr.bin
  538 root      3048 S    multid
  581 root      1132 S    telnetd -l /sbin/ar7login
  605 root       696 S    /bin/run_clock -c /dev/tffs -d
  628 root      3048 S    multid
  766 root      1132 S    httpd-webcfg -P /var/run/webcfg.pid -p 81 -c /mod/et
  847 root      1132 S    inetd
  949 root      8728 S N  /usr/bin/ctlmgr.bin
  950 root      8728 S N  /usr/bin/ctlmgr.bin
  951 root      8728 S N  /usr/bin/ctlmgr.bin
  952 root      8728 S N  /usr/bin/ctlmgr.bin
  953 root      8728 S N  /usr/bin/ctlmgr.bin
 1054 root       828 S    radvd -C /mod/etc/radvd.conf
 1245 root      1148 S    -/bin/sh
 1625 root      3948 S N  /cgi-bin/firmwarecfg
 1626 root      1156 S N  /bin/sh /bin/prepare_fwupgrade end
 1628 root      1136 R N  ps
Sat Jan  1 01:05:45 CET 2000
sh: /proc/bus/usb: unknown operand
cat: can't open '/var/USB-proc-bus-*': No such file or directory
/etc/hotplug/storage: line 250: led-ctrl: not found
killall: ftpd: no process killed
killall: smbd: no process killed
rmmod: can't unload 'vfat': unknown symbol in module, or unknown parameter
rmmod: can't unload 'fat': unknown symbol in module, or unknown parameter
rmmod: can't unload 'nls_cp437': unknown symbol in module, or unknown parameter
rmmod: can't unload 'nls_iso8859_1': unknown symbol in module, or unknown parameter
rmmod: can't unload 'sd_mod': unknown symbol in module, or unknown parameter
rmmod: can't unload 'usb_storage': unknown symbol in module, or unknown parameter
rmmod: can't unload 'scsi_mod': unknown symbol in module, or unknown parameter
rmmod: can't unload 'usbahcicore': unknown symbol in module, or unknown parameter
Sat Jan  1 01:05:51 CET 2000
SHUTDOWN: initiated
SHUTDOWN: executing /etc/init.d/rc.mod stop
Stopping all packages:
inetd: Stopping inetd ... done.
authorized-keys: 
dropbear: Stopping dropbear SSH server ... not running.
dnsmasq: Stopping dnsmasq ... not running.
aiccu: Stopping aiccu ... not running.
radvd: Stopping radvd ... done.
crond: Stopping crond ... not running.
telnetd: AVM telnetd is started by phone, failed.
webcfg: Stopping Freetz webinterface ... done.
dsld: Stopping AVM dsld ... not running.
ftpd: Stopping AVM ftpd ... not running.
multid: Stopping AVM multid ... not running.
Stopping all packages finished.
SHUTDOWN: executing /var/post_install
unload dsl and dependend driver ..
rmmod: can't unload 'rfcntl': unknown symbol in module, or unknown parameter
rmmod: can't unload 'isdn_fbox_fon5': unknown symbol in module, or unknown parameter
rmmod: can't unload 'isdn_fbox_fon3': unknown symbol in module, or unknown parameter
rmmod: can't unload 'isdn_fbox_fon2': unknown symbol in module, or unknown parameter
rmmod: can't unload 'isdn_fbox_fon': unknown symbol in module, or unknown parameter
rmmod: can't unload 'userman': unknown symbol in module, or unknown parameter
  PID USER       VSZ STAT COMMAND
    1 root      1140 S    init
    2 root         0 SWN  [ksoftirqd/0]
    3 root         0 SW<  [events/0]
    4 root         0 SW<  [khelper]
    5 root         0 SW<  [kthread]
    6 root         0 SW<  [kblockd/0]
   23 root         0 SW<  [pdflush]
   24 root         0 SW<  [pdflush]
   26 root         0 SW<  [aio/0]
   25 root         0 SW   [kswapd0]
   62 root         0 SW   [pm_info]
   66 root         0 SW<  [CPMAC]
   70 root         0 SW   [mtdblockd]
   98 root         0 SW   [tffsd_mtd_0]
  334 root         0 SWN  [jffs2_gcd_mtd6]
  357 root         0 SW<  [capi_oslib]
  380 root         0 SW<  [khubd]
  447 root      8708 S N  /usr/bin/ctlmgr.bin
  581 root      1132 S    telnetd -l /sbin/ar7login
  605 root       696 S    /bin/run_clock -c /dev/tffs -d
  949 root      8708 S N  /usr/bin/ctlmgr.bin
  950 root      8708 R N  /usr/bin/ctlmgr.bin
  951 root      8708 S N  /usr/bin/ctlmgr.bin
  952 root      8708 S N  /usr/bin/ctlmgr.bin
  953 root      8708 S N  /usr/bin/ctlmgr.bin
 1245 root      1148 S    -/bin/sh
 1842 root      1132 S    /bin/sh -c /etc/inittab.shutdown
 1843 root      1136 S    /bin/sh /etc/inittab.shutdown
 2013 root      1132 S    /bin/sh /var/post_install
 2014 root      1160 S    /bin/sh /etc/init.d/rc.dsl.sh stop
 2047 root      1132 R    ps
Module                  Size  Used by    Tainted: P  
ipv6                  273280  6 
usbcore               113328  1 
jffs2                 108800  1 
Piglet                 10656  0 
system is going down ..
/var/post_install: start
skip deleting language from env
still running:
  PID USER       VSZ STAT COMMAND
    1 root      1140 S    init
    2 root         0 SWN  [ksoftirqd/0]
    3 root         0 SW<  [events/0]
    4 root         0 SW<  [khelper]
    5 root         0 SW<  [kthread]
    6 root         0 SW<  [kblockd/0]
   23 root         0 SW<  [pdflush]
   24 root         0 SW<  [pdflush]
   26 root         0 SW<  [aio/0]
   25 root         0 SW   [kswapd0]
   62 root         0 SW   [pm_info]
   66 root         0 SW<  [CPMAC]
   70 root         0 SW   [mtdblockd]
   98 root         0 SW   [tffsd_mtd_0]
  334 root         0 SWN  [jffs2_gcd_mtd6]
  357 root         0 SW<  [capi_oslib]
  380 root         0 SW<  [khubd]
  447 root      8708 R N  /usr/bin/ctlmgr.bin
  949 root      8708 S N  /usr/bin/ctlmgr.bin
  950 root      8708 R N  /usr/bin/ctlmgr.bin
  951 root      8708 S N  /usr/bin/ctlmgr.bin
  952 root      8708 S N  /usr/bin/ctlmgr.bin
  953 root      8708 S N  /usr/bin/ctlmgr.bin
 1245 root      1148 S    -/bin/sh
 1842 root      1132 S    /bin/sh -c /etc/inittab.shutdown
 1843 root      1136 S    /bin/sh /etc/inittab.shutdown
 2013 root      1132 S    /bin/sh /var/post_install
 2058 root      1132 R    ps
Module                  Size  Used by    Tainted: P  
ipv6                  273280  6 
usbcore               113328  1 
jffs2                 108800  1 
Piglet                 10656  0 
SHUTDOWN: unmounting
SysRq : Emergency Sync
SysRq : Emergency Remount R/O
SHUTDOWN: unmounting 'usbfs' on '/proc/bus/usb'
SHUTDOWN: unmounting 'jffs2' on '/data'
SHUTDOWN: unmounting 'sysfs' on '/sys'
SHUTDOWN: unmounting 'devpts' on '/dev/pts'
SHUTDOWN: umount rootfs (on /) failed, trying to remount readonly...
SHUTDOWN: still rw mounted: rootfs (on /)
SHUTDOWN: still ro mounted: /dev/root (on /)
SHUTDOWN: still rw mounted: dev (on /dev)
SHUTDOWN: still rw mounted: proc (on /proc)
SHUTDOWN: still rw mounted: tmpfs (on /var)
SHUTDOWN: finished
Th[avm_power]pm_ressourceinfo_thread: exit
e system is going down NOW!
Sent SIGTERM to all processes
Sent Restarting system.

(AVM) EVA Revision: 1.347 Version: 1347
(C) Copyright 2005 AVM Date: Sep 20 2007 Time: 11:14:07 (3) 2 0x0-0x41F

[FLASH:] SPANSION Top-MirrorBit-Flash 8MB 32 Bytes WriteBuffer
[FLASH:](Eraseregion [0] 127 sectors a 64kB) 
[FLASH:](Eraseregion [1] 8 sectors a 8kB) 
[SYSTEM:] OHIO on 211MHz/125MHz 

Eva_AVM >AVM decompress Kernel:
...................executeProgram on 0x94209000
[ohio_pre_init] System Clk = 62500000 Hz               

LINUX started...
Linux version 2.6.13.1-ohio () (gcc version 3.4.6) #2 Thu Sep 29 21:22:40 CEST 2011
memsize=32 MByte
flashsize=8 MByte
&_end=0x94264f84 PFN_ALIGN(&_end)=0x94265000 CPHYSADDR(PFN_ALIGN(&_end))=0x14265000 memsize=0x2000000
CPU revision is: 00018448
[ohio_gpio_init]
Determined physical RAM map:
 memory: 00265000 @ 14000000 (reserved)
 memory: 01d9b000 @ 14265000 (usable)
On node 0 totalpages: 8192
[alloc_node_mem_map] reduce size from 2883616 Bytes to  262176 Bytes
[alloc_node_mem_map]: (org) sizeof(mem_map) = 262176 mem_map=0x94268000-0x942a8020
[alloc_node_mem_map]: sizeof(mem_map) = 2883616 mem_map=0x93fe8000-0x942a8020
zone=0 zone_size[j]=0x90112
realsize=8192
  DMA zone: 8192 pages, LIFO batch:3
zone=1 zone_size[j]=0x0
realsize=0
  Normal zone: 0 pages, LIFO batch:1
zone=2 zone_size[j]=0x0
realsize=0
  HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line:  console=ttyS0,38400n8r
[ld_mmu_r4xx0] memcpy((void *)(CAC_BASE   + 0x100), &except_vec2_generic, 0x30)
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 8kB, 4-way, linesize 16 bytes.
Synthesized TLB refill handler (20 instructions). Base=0x94224244
TLB synthesizer field overflow (simm)
Synthesized TLB load handler fastpath (34 instructions) Base=0x94227620.
TLB synthesizer field overflow (simm)
Synthesized TLB store handler fastpath (34 instructions) Base=0x94227820.
TLB synthesizer field overflow (simm)
Synthesized TLB modify handler fastpath (33 instructions) Base=0x94227a20.
PID hash table entries: 256 (order: 8, 4096 bytes)
CPU frequency 211.97 MHz
Using 105.984 MHz high precision timer.
[setup_irq]: irq 255 irqaction->handler 0x94043a60 (no_action+0x0/0x8 )
[register_console] enable commandline console 0
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 29952k/30316k available (1683k kernel code, 320k reserved, 397k data, 116k init, 0k highmem)
totalram_pages= 7499
Calibrating delay loop... 211.35 BogoMIPS (lpj=1056768)
loops_per_jiffy=1056768
Mount-cache hash table entries: 512
Checking for 'wait' instruction...  available.
NET: Registered protocol family 16
Can't analyze prologue code at 941a333c
squashfs: version 3.3 (2007/10/31) Phillip Lougher
Initializing Cryptographic API
avm_net_trace: Up and running.
[avm_power]Ohio250 detected -> overclocking possible
[avm] configured: watchdog eventled enable shift register enable direct gpio 
        gpio usage: reset=12 clock=13 store=10 data=9 
AR7WDT: Watchdog Driver for AR7 Hardware (Version 1.0, build: Sep 29 2011 21:21:18)
Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
[uart_add_one_port]
ttyS0 at MMIO 0x0 (irq = 15) is a OHIO_UART
[uart_add_one_port] dont register console port->type = 16
port->cons = 0x941e64e0 port->cons->flags = 0x7
[uart_add_one_port] success
io scheduler noop registered
[cpmac] Version: 1.124  -  Revision 538:916  -  Mi   9.12.2009  14:07:43
[avm_event_source_trigger]: not registered
[cpmac] [cpmac_if_register] dev cpmac0 (phy_id 0) registered
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
physmap flash device: 400000 at 10000000
phys_mapped_flash: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
phys_mapped_flash: Swapping erase regions for broken CFI table.
number of CFI chips: 1
RedBoot partition parsing not available
Generic platform RAM MTD, (c) 2004 Simtec Electronics
Ohio flash driver (size->0x400000 mem->0x10000000)
flash_size=0x800000
flash_mask=0xffffff
Ohio flash memory: Found 1 x16 devices at 0x0 in 16-bit bank
[genprobe_ident_chips] 4 i 0 j 0
[genprobe_ident_chips] 5 i 0 j 1
 Amd/Fujitsu Extended Query Table at 0x0040
Ohio flash memory: Swapping erase regions for broken CFI table.
number of CFI chips: 1
[mtd]: jffs2_size = 6 * 64KByte (0x60000 Bytes)
[ohio_find_hidden_filesystem]: super block found: bytes_used: 0x0/6677749
[init_ohio_flash] find hidden filesystem size=0x6c2c00 offset=0xbd400
[mtd] configure jffs2 partition
[mtd] fs_size=0x710000 max=0x60000 is=0x60000 max jffs2_size value 6
[mtd] ohio_flash_map: name=Ohio flash memory bankwidth=2 virt=0xb0000000 phys=0x10000000 size=0x800000
Creating 7 MTD partitions on "Ohio flash memory":
0x000bd400-0x00780000 : "filesystem"
        'nor-flash'
        'Bits can be cleared (flash)'
        'Has an erase function'
mtd: partition "filesystem" doesn't start on an erase block boundary -- force read-only
0x00010000-0x00780000 : "kernel"
        'nor-flash'
        'Bits can be cleared (flash)'
        'Has an erase function'
0x00000000-0x00010000 : "bootloader"
        'nor-flash'
        'Bits can be cleared (flash)'
        'Has an erase function'
0x00780000-0x007c0000 : "tffs (1)"
        'nor-flash'
        'Bits can be cleared (flash)'
        'Has an erase function'
0x007c0000-0x00800000 : "tffs (2)"
        'nor-flash'
        'Bits can be cleared (flash)'
        'Has an erase function'
0x00720000-0x00780000 : "jffs2"
        'nor-flash'
        'Bits can be cleared (flash)'
        'Has an erase function'
0x00010000-0x00720000 : "Kernel without jffs2"
        'nor-flash'
        'Bits can be cleared (flash)'
        'Has an erase function'
partition_info[0]: name=filesystem offset=bd400 size=6c2c00
partition_info[0]: 0xb00bd400: 0x73717368 0xa47
partition_info[1]: name=kernel offset=10000 size=770000
partition_info[1]: 0xb0010000: 0xfeed1281 0xad3ab
partition_info[2]: name=bootloader offset=0 size=10000
partition_info[2]: 0xb0000000: 0x40809000 0x40809800
partition_info[3]: name=tffs (1) offset=780000 size=40000
partition_info[3]: 0xb0780000: 0x40001 0x87fbffff
partition_info[4]: name=tffs (2) offset=7c0000 size=40000
partition_info[4]: 0xb07c0000: 0x40001 0x88fbffff
partition_info[5]: name=jffs2 offset=720000 size=60000
partition_info[5]: 0xb0720000: 0x20031985 0xc
partition_info[6]: name=Kernel without jffs2 offset=10000 size=710000
partition_info[6]: 0xb0010000: 0xfeed1281 0xad3ab
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
TCP bic registered
mcfw: IGMPv3 fast forwarding
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
All bugs added by David S. Miller <[email protected]>
[setup_irq]: irq 1 irqaction->handler 0x94001590 (dummy_timer_irq+0x0/0x14 )
[setup_irq]: irq 6 irqaction->handler 0x940015a4 (dummy_system_irq_2+0x0/0x14 )
[ohio_late_init] 
[avm_new] push_button_gpio=8 value=1 enabled
TFFS: tiny flash file system driver. GPL (c) AVM Berlin (Version 2.0)
      mount on mtd4 and mtd5 (double buffering)
Adam2 environment variables API installed.
[prepare_namespace] new mount root /dev/mtdblock1
NumProbs = 7990 / 2 -> 15980
VFS: Mounted root (squashfs filesystem) readonly.
Freeing prom memory: 0kb freed
Freeing unused kernel memory: 116k freed (7528 free)
[setup_irq]: irq 15 irqaction->handler 0x940e346c (serial8250_interrupt+0x0/0x13c )
init started: BusyBox v1.18.5 (2011-09-29 20:45:41 CEST)
rootdir=/
table='/etc/device.table'
AR7WDT: System Init UEberwachung 240 Sekunden
TFFS Name Table G
HWRevision      127.1.1.0
ProductID       Fritz_Box_7170_AnnexA
SerialNumber    0000000000000000
annex   A
autoload        yes
bootloaderVersion       1.347
bootserport     tty0
country 031
cpufrequency    211968000
firstfreeaddress        0x946C0D14
firmware_version        avme
firmware_info   58.04.84
flashsize       0x00800000
jffs2_size      6
maca    00:1F:3F:AE:04:AA
macb    00:1F:3F:AE:04:AB
macwlan 00:1F:3F:A0:91:0A
macdsl  00:1F:3F:AE:04:AC
memsize 0x02000000
modetty0        38400,n,8,1,hw
modetty1        38400,n,8,1,hw
mtd0    0x90000000,0x90000000
mtd1    0x90010000,0x90780000
mtd2    0x90000000,0x90010000
mtd3    0x90780000,0x907C0000
mtd4    0x907C0000,0x90800000
my_ipaddress    192.168.178.1
prompt  Eva_AVM
ptest
req_fullrate_freq       125000000
sysfrequency    125000000
urlader-version 1347
usb_board_mac   00:1F:3F:AE:04:AD
usb_rndis_mac   00:1F:3F:AE:04:AE
usb_device_id   0x3D00
usb_revision_id 0x0200
usb_device_name USB DSL Device
usb_manufacturer_name   AVM
wlan_key        5130695660030532
wlan_cal        001E,03BD,0022,00DA,010A,00DB,010A,0313,0303
mknod: /var/flash/ar7.cfg: File exists
Loading /var/flash/freetz ... done.
Loading users, groups and passwords ... done.
Loading hosts ... done.
Loading config ... done.
Loading modules ... done.
P-Defaults: do nothing
[avm_new]push_button 'Wlan-Taster', released: GPIO=8 presses=6250 key=button_key_3
checkempty: : No such file or directory
Piglet: module license '
(C) Copyright 2005 by AVM
' taints kernel.
EMIF: asize=1 ta=3 r_hold=0 w_strobe=6 r_strobe=6 ew=1
[piglet]McSP: rFS: 8000 Hz rCLK:2048225 Hz
[jffs2] xx=mtd6: 00060000 00010000 "jffs2"
[jffs2] i=mtd6:
[jffs2] jffs2_pat=6
[jffs2] i=00060000
[jffs2] jffs2_size=6
[jffs2] i=00010000
[jffs2] i="jffs2"
[jffs2] load jffs2 module
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
[jffs2] mount jffs 
[jffs2] write env variable jffs2_size to 6
TAM: create JFFS2 directory /data/tam
attempting to load DSL Firmware '/lib/modules/microvoip-dsl.bin'
**** ANNEX: 'A'
*************************************
setting DSL Firmware to Annex A
EOC info: product_name='FRITZ!BoxFonWLAN7170AnnexA'
registered device TI Avalanche SAR
tiatm driver (patch_annex=0xc013e2ec)
[tiatm] Set StrictPriority=0
DSP binary filesize = 389522 bytes
[dsl_ur8] dsl serial number successfully set to "465249545a21426f78466f6e574c414e37313730303031463346414530344143"
[tiatm] INFO V2U-BRIDGEREGISTER: 0x00000019
[avm_power]Ohio250 detected -> overclocking possible
[avm_power]#### boostVoltage: DSP Core voltage set to 1,5 V ####
[setup_irq]: irq 23 irqaction->handler 0xc0124208 (tn7atm_sar_irq+0x0/0x50 [tiatm] )
[setup_irq]: irq 31 irqaction->handler 0xc0124258 (tn7atm_dsl_irq+0x0/0x28 [tiatm] )
[tiatm]: Powermanagment (States => 1,3,10) supported!
[tiatm] AvmInterface length: 44
[avm_power]#### boostVoltage: DSP Core voltage set to 1,65 V ####
Texas Instruments ATM driver: version:[4.08.02.01]
ubik2 driver (ubik2 - 0x10=0xc0098fd4)
atm_dsp_register_ubik2: ubik2_ToMIPS_notify=0xc0086bfc
atm_dsp_register_ubik2: dsp mem pointer 0xa1c1644c
ubik2_init_interface: DSP-Link Version v3 8480
driver params overwritten io_addr=0x0 irq_num=0
[setup_irq]: irq 28 irqaction->handler 0xc0091af0 (soft_interrupt_handler+0x0/0x30 [ubik2] )
capicodec_init()
[capi_codec] support fax
[capi_codec] support Codecs
usbcore: registered new driver usbfs
usbcore: registered new driver hub
        AHCI RevisionID = 0x02, RamSize = 16384, NumPorts= 1
[setup_irq]: irq 9 irqaction->handler 0xc0119490 (ahci_irq+0x0/0x880 [usbahcicore] )
ahci : new USB bus registered, assigned bus number 1
AVM USB 1.1 Host started
kdsldmod: init start (Apr  4 2011 16:27:39) sizeof(struct sk_buff)=176
kdsldmod: init done
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
MAC WLAN:       00:1F:3F:A0:91:0A
WLAN is not enabled
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCGIFFLAGS: No such device
/etc/init.d/rc.net: line 408: websrv: not found
AVMMULTID: dnsmasq is disabled.
[tiatm]: error getting DSL parametrization interface for read operation!
[avm_power] : ethernet port 0 status 2
[avm_power] : ethernet port 1 status 1
[avm_power] : ethernet port 2 status 1
[avm_power] : ethernet port 3 status 1
[setup_irq]: irq 27 irqaction->handler 0x940f41cc (cpmac_main_isr+0x0/0x78 )
[cpmac] [cpmac_main_ioctl] unknown ioctl 35142
device cpmac0 entered promiscuous mode
device eth0 entered promiscuous mode
device wan entered promiscuous mode
Jan  1 01:00:31 multid[538]: DEBUG: upnpdev_start_usb
AVMMULTID: Starting AVM multid ... done.
lan: port 1(eth0) entering learning state
lan: topology change detected, propagating
lan: port 1(eth0) entering forwarding state
Jan  1 01:00:31 dsld[572]: voip: ppptarget voip disabled, ignored
Jan  1 01:00:31 dsld[572]: get_queueindex: none: not found
Jan  1 01:00:31 dsld[572]: get_queueindex: none: not found
Jan  1 01:00:32 telefon[576]: use clock_gettime(CLOCK_MONOTONIC)!
Jan  1 01:00:32 telefon[576]: SIGC[capi_oslib] capi_installed -1811764080
HLD received!
Jan  1 01:00:33 telefon[576]: SIGCHLD received!
[capi_oslib] capi_installed -1811531940
create sema UPNPAPI_DATA_phonebook
/etc/init.d/rc.S: line 1523: /etc/init.d/rc.media: not found
run_clock demAR7WDT: System Init UEberwachung abgeschlossen (207710 ms noch verfuegbar)
on started

SysRq : Changing Loglevel
Loglevel set to 4
rc.mod version freetz-devel-7662M
crond is disabled.
AVM telnetd is started by phone, failed.
Starting Freetz webinterface ... done.
swap is disabled.
syslogd is disabled.
Starting inetd ... done.
Setting up SSH authorized_keys for root ... done.
dropbear SSH server is disabled.
Jan  1 01:00:47 ctlmgr[450]: my_wlan_init

Starting aiccu ... failed.
Starting radvd ... done.
rc.mod finished.

Please press Enter to activate this console. 


BusyBox v1.18.5 (2011-09-29 20:45:41 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

[email protected]:/var/mod/root#
 

olistudent

IPPF-Urgestein
Mitglied seit
19 Okt 2004
Beiträge
14,779
Punkte für Reaktionen
10
Punkte
38
Perhaps you can try to execute "sh -x /var/install" manually when it stops with this webinterface message and post the output of "cat /var/post_install". Is the file /var/tmp/kernel.image created?

Regards
Oliver
 

RomMon

Neuer User
Mitglied seit
29 Aug 2011
Beiträge
105
Punkte für Reaktionen
0
Punkte
16
Oliver,

Thanks for pointing me to locations that provide additional infomation during uploading an image.

Yes the file is created, with an expected timestamp (file name on disk:7170_04.84freetz-devel-7635.en_20110917-220645.image). The size is smaller than on my harddisk (7499776bytes). I understand from the flash layout that kernel.image contains both kernel and root files system. I only don't understand the difference of 781560bytes.

Code:
[email protected]:/var/mod/root# ls -la /var/tmp/kernel.image
-rw-r--r--    1 root     root       6718216 Sep 17 22:07 /var/tmp/kernel.image
[email protected]:/var/mod/root#

Here the output of sh -x /var/install:
Code:
[email protected]:/var/mod/root# sh -x /var/install
+ kernel_update_start=0
+ kernel_update_len=0
+ name_list=
+ export INSTALL_SUCCESS_NO_REBOOT=0
+ export INSTALL_SUCCESS_REBOOT=1
+ export INSTALL_WRONG_HARDWARE=2
+ export INSTALL_KERNEL_CHECKSUM=3
+ export INSTALL_FILESYSTEM_CHECKSUM=4
+ export INSTALL_URLADER_CHECKSUM=5
+ export INSTALL_OTHER_ERROR=6
+ export INSTALL_FIRMWARE_VERSION=7
+ export INSTALL_DOWNGRADE_NEEDED=8
+ force_update=n
+ uname -r
+ echo install: have Kernel 2.6
install: have Kernel 2.6
+ kversion=26
+ echo install: check and install new firmware ...
install: check and install new firmware ...
+ need_reboot=0
+ korrekt_version=0
+ /bin/update_led_on
/bin/update_led_on: line 2: can't create /dev/led: No such device or address
+ [ 26 = 24 ]
+ echo OEM=avme
OEM=avme
+ [ 26 = 24 ]
+ export CONFIG_ENVIRONMENT_PATH=/proc/sys/urlader
+ cat /proc/sys/urlader/annex
+ export ANNEX=A
+ [ -z A ]
+ echo ANNEX=A
ANNEX=A
+ [ -z  ]
+ echo testing acceptance for device Fritz_Box_7170_AnnexA ...
testing acceptance for device Fritz_Box_7170_AnnexA ...
+ /etc/version --install=ar7_8MB_xilinx_4eth_3ab_isdn_nt_te_pots_wlan_usb_host_25762
korrekt install type: ar7_8MB_xilinx_4eth_3ab_isdn_nt_te_pots_wlan_usb_host_25762
+ echo device has installtype ar7_8MB_xilinx_4eth_3ab_isdn_nt_te_pots_wlan_usb_host_25762
device has installtype ar7_8MB_xilinx_4eth_3ab_isdn_nt_te_pots_wlan_usb_host_25762
+ accept_annex=A
+ echo assumed ANNEX A -- found ANNEX A
assumed ANNEX A -- found ANNEX A
+ [ A = A ]
+ echo device has ANNEX A
device has ANNEX A
+ [ ! -z avme ]
+ oem_found=0
+ [ avme = avme ]
+ echo OK - OEM avme is supported
OK - OEM avme is supported
+ oem_found=1
+ break
+ [ 1 = 0 ]
+ echo OK - accept this update for device Fritz_Box_7170_AnnexA ...
OK - accept this update for device Fritz_Box_7170_AnnexA ...
+ korrekt_version=1
+ echo testing acceptance for device Fritz_Box_7170_AnnexA done
testing acceptance for device Fritz_Box_7170_AnnexA done
+ kernel_start=0x90010000
+ kernel_size=7798784
+ filesystem_start=0x90000000
+ filesystem_size=0
+ urlader_start=0x90000000
+ urlader_size=65536
+ newFWver=04.84
+ [ 1 = 0 ]
+ /etc/version -v
+ currFWver=58.04.84
+ echo curr: 58.04.84  new: xx.04.84
curr: 58.04.84  new: xx.04.84
+ major_currFWver=58
+ middle_currFWver=58.04
+ middle_currFWver=04
+ minor_currFWver=84
+ echo debug: curr: 58.04.84
debug: curr: 58.04.84
+ middle_newFWver=04
+ middle_newFWver=04
+ minor_newFWver=84
+ echo debug: new: "XX.04.84"
debug: new: "XX.04.84"
+ major_currFWver=58
+ middle_currFWver=4
+ minor_currFWver=84
+ major_newFWver=
+ middle_newFWver=4
+ minor_newFWver=84
+ echo major_currFWver=58
major_currFWver=58
+ echo middle_currFWver=4
middle_currFWver=4
+ echo minor_currFWver=84
minor_currFWver=84
+ echo middle_newFWver=4
middle_newFWver=4
+ echo minor_newFWver=84
minor_newFWver=84
+ [ -z 4 ]
+ [ -z 84 ]
+ [ -z 4 ]
+ [ -z 84 ]
+ [ n = y ]
+ echo check Firmware Version: xx.04.84
check Firmware Version: xx.04.84
+ [ 4 -lt 4 ]
+ echo DEBUG: 4 >= 4
DEBUG: 4 >= 4
+ [ 4 -eq 4 ]
+ [ 84 -gt 89 ]
+ [ 84 -lt 84 ]
+ echo DEBUG: 84 >= 84
DEBUG: 84 >= 84
+ echo Accept Firmware Version: xx.04.84
Accept Firmware Version: xx.04.84
+ echo install: 26 check files...
install: 26 check files...
+ [ -f /var/tmp/filesystem.image ]
+ [ 0 -ne 0 ]
+ [ -f /var/tmp/kernel.image ]
+ /var/chksum /var/tmp/kernel.image
File already contains the checksum, verifying
Calculated checksum is A715B6E3
Saved checksum is A715B6E3
Checksum validation successful!
+ echo chksum for file /var/tmp/kernel.image ok
chksum for file /var/tmp/kernel.image ok
+ [ ! -f /var/post_install ]
+ echo echo $0: start
+ echo sleep 1
+ echo killall run_clock
+ echo if ps | grep -v grep | grep -q telefon ; then killall telefon ; fi
+ echo if ps | grep -v grep | grep -q telnetd ; then killall telnetd ; fi
+ [ 26 = 24 ]
+ echo echo skip deleting language from env
+ echo echo MODE=update > /dev/avm_power
+ [ -e /dev/watchdog ]
+ 
+ echo echo "disable" > /dev/watchdog
+ echo echo still running:
+ echo ps
+ echo lsmod
+ echo sleep 1
+ [ 26 = 24 ]
+ echo install: 26 getting mtd to install...
install: 26 getting mtd to install...
+ echo install: -----------------------------------------------------
install: -----------------------------------------------------
+ ls -l /var/tmp/kernel.image
+ sed -e s/[^0-9]/#/g
+ sed -e s/#\+[0-9]\+#\+\([0-9]\+\).*/\1/
+ kernel_image_size=6718216
+ get_kernel_mtd 6718216 7798784
+ kernel_image_size=6718216
+ kernel_mtd_size=7798784
+ cat /proc/mtd
+ grep urlader
+ sed -n -e s/mtd[0-9].*: \([^ ]*\) \([^ ]*\) .*/\1/p
+ tmp_size=
+ [ -z  ]
+ cat /proc/mtd
+ grep bootloader
+ sed -n -e s/mtd[0-9].*: \([^ ]*\) \([^ ]*\) .*/\1/p
+ tmp_size=00010000
+ [ -z 00010000 ]
+ bootloader_size=0x00010000
+ cat /proc/mtd
+ grep "jffs2"
+ grep -v Kernel
+ sed -n -e s/mtd[0-9].*: \([^ ]*\) \([^ ]*\) .*/\1/p
+ tmp_size=00060000
+ [ -z 00060000 ]
+ jffs2_size=0x00060000
+ Kernel_without_jffs2_size=7405568
+ kernel_update_start=268500992
+ echo bootloader_size 0x00010000
bootloader_size 0x00010000
+ echo jffs2_size 0x00060000
jffs2_size 0x00060000
+ echo Kernel_without_jffs2_size 7405568
Kernel_without_jffs2_size 7405568
+ echo kernel_image_size 6718216
kernel_image_size 6718216
+ echo kernel_mtd_size 7798784
kernel_mtd_size 7798784
+ echo Kernel_Start_Add=268500992
Kernel_Start_Add=268500992
+ echo Kernel_End_Addr=275219208
Kernel_End_Addr=275219208
+ echo Kernel_without_jffs2_End_Addr=275906560
Kernel_without_jffs2_End_Addr=275906560
+ [ 6718216 -le 7405568 ]
+ kernel_update_len=7405568
+ return 0
+ echo install: -----------------------------------------------------
install: -----------------------------------------------------
+ echo install: kernel_size=7798784
install: kernel_size=7798784
+ echo install: kernel_update_start=268500992
install: kernel_update_start=268500992
+ echo install: kernel_update_len=7405568
install: kernel_update_len=7405568
+ [ 268500992 = 0 ]
+ echo install: 26 setting files to install...
install: 26 setting files to install...
+ [ -f /var/tmp/kernel.image ]
+ crc_param=1
+ echo install: /var/tmp/kernel.image to start(268500992) size(7405568)
install: /var/tmp/kernel.image to start(268500992) size(7405568)
+ echo update_parameter=flash_update_file0="/var/tmp/kernel.image,268500992,7405568,crc=1"
+ need_reboot=1
+ [ -f /var/tmp/filesystem.image ]
+ ls -l /var/tmp/filesystem.image
+ sed -e s/[^0-9]/#/g
+ sed -e s/#\+[0-9]\+#\+\([0-9]\+\).*/\1/
+ act_fs_size=0
+ [ 0 -ne 0 ]
+ [ 1 -eq 1 ]
+ echo insmod /var/flash_update.ko $update_parameter
+ echo exit 0
+ chmod +x /var/post_install
+ [ 1 -eq 1 ]
+ echo install: check for old settings ...
install: check for old settings ...
+ OLD_SETTINGS_FILE=#! /bin/sh major=`grep tffs /proc/devices` tffs_major=${major%%tffs} telnetd -l /sbin/ar7login killall capiotcp_server sleep 5 /usr/bin/capiotcp_server -p5031 -m3 &
+ [ -f /var/rc.user ]
+ [ -x /var/regelex ]
+ [ -e /var/flash/fx_lcr ]
+ [ -n  ]
+ echo clear_id 95
+ echo clear_id 96
+ [ 1 -eq 1 ]
+ echo set INFO led to blink (modul=7, state=4)
set INFO led to blink (modul=7, state=4)
+ /bin/update_led_on
/bin/update_led_on: line 2: can't create /dev/led: No such device or address
+ exit 1
[email protected]:/var/mod/root#

And the output of cat /var/post_install:
Code:
[email protected]:/var/mod/root# cat /var/post_install
# ! /bin/sh
if [ -x /etc/hotplug/usb.pandu -a -f /proc/bus/usb/devices ] ; then
    echo "stopping USB-Subsystem .."
    /etc/hotplug/usb.pandu stop
fi
if [ -x /etc/init.d/rc.dsl.sh ] ; then
    echo "unload dsl and dependend driver .."
    /etc/init.d/rc.dsl.sh stop
fi
echo "system is going down .."

# UBIK2 Nutzer freigeben
# if lsmod | grep -q ubik2 ; then
#     echo "stopping applications using ubik2 .."
#     if ps | grep -v grep | grep -q capiotcp_server ; then killall capiotcp_server ; fi
#     if ps | grep -v grep | grep -q telefon ; then killall telefon ; fi
#     if ps | grep -v grep | grep -q voipd ; then voipd -s ; fi
#     sleep 2
#     if ps | grep -v grep | grep -q voipd ; then killall voipd ; fi
#     sleep 3
#     if lsmod | grep -q isdn_fbox ; then rmmod isdn_fbox ; fi
#     sleep 3
#     if lsmod | grep -q ubik2 ; then rmmod ubik2 ; fi
# fi
# return 0
[email protected]:/var/mod/root#
 

olistudent

IPPF-Urgestein
Mitglied seit
19 Okt 2004
Beiträge
14,779
Punkte für Reaktionen
10
Punkte
38
I don't know what is going on there. The piece of code in /var/install is:
Code:
if [ $need_reboot -eq $INSTALL_SUCCESS_REBOOT ] ; then
    echo "insmod /var/flash_update.ko \$update_parameter" >>/var/post_install
fi
# due to append sequence add exit to prevent accidently second run.
echo "exit 0" >>/var/post_install
chmod +x /var/post_install
But the instructions don't appear in your post_install!?

Regards
Oliver
 

Zurzeit aktive Besucher

Keine Mitglieder online.
3CX

Statistik des Forums

Themen
235,885
Beiträge
2,067,229
Mitglieder
356,872
Neuestes Mitglied
Machsgut