.titleBar { margin-bottom: 5px!important; }

[Problem] USB-Root auf 7170

Dieses Thema im Forum "Freetz" wurde erstellt von noidea, 25 Okt. 2011.

  1. noidea

    noidea Neuer User

    Registriert seit:
    7 Feb. 2007
    Beiträge:
    2
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Hallo zusammen,

    ich habe schon erfolgreich mehrere FBs mit selbstgebauten Freetz-Images ausgestattet, bin also kein blutiger Anfänger aber bei meinem derzeitigen Vorhaben eine 7170 mit USB-Root auszustatten, komme ich nicht weiter.

    Ich habe ein Freetz-Image auf Basis der Stable-1.2 nur mit USB-Root, Syslog und Dropbear gebaut und erfolgreich geflasht. Dasselbe Image habe ich dann auf einen USB-Stick kopiert (nach Anleitung http://trac.freetz.org/wiki/packages/usb-root).
    Beim Ausführen des letzten Schrittes (chown -R 0.0 /var/media/ftp/uStor01/rootfs) kommt dann folgende Ausgabe:
    Code:
    [email protected]:/var/media/ftp/uStor01/rootfs# chown -R 0.0 /var/media/ftp/uStor01/rootfs
    chown: /var/media/ftp/uStor01/rootfs/etc/exports: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/default.0: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/avm/mini.xml: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/avm/providers: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/avm/cgi-bin/firmwarecfg: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/avm/cgi-bin/luacgi: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/avm/aura.xml: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/avm/fboxdesc.xml: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/avm/phonebook.xml: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/avm/MediaServerDevDesc.xml: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/avm/igddesc.xml: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/avm/mediapath: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/avm/foncontrol.xml: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/avm/tr64desc.xml: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/1und1/mini.xml: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/1und1/providers: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/1und1/cgi-bin/firmwarecfg: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/1und1/cgi-bin/luacgi: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/1und1/aura.xml: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/1und1/fboxdesc.xml: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/1und1/phonebook.xml: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/1und1/MediaServerDevDesc.xml: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/1und1/igddesc.xml: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/1und1/mediapath: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/1und1/foncontrol.xml: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/default.Fritz_Box_7170/1und1/tr64desc.xml: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/shadow: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/gshadow: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/ethers: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/passwd: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/TZ: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/etc/default: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/etc/htmltext.db: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/etc/hosts: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/etc/group: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/home: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/lib/libled2.so.2.2: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/lib/libled2.so.2: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/lib/libcapi20.so.3: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/lib/libfwsign.so.0: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/lib/libcapi20.so: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/mod: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/nohup.out: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/sbin/showaddrs: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/sbin/localize: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/tmp: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/usr/mww/style: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/usr/mww/images: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/usr/share/tam/message: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/usr/www/cgi-bin/freetz_status: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/usr/www/cgi-bin/system_status: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/usr/www/kids/html: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/usr/www/all/cgi-bin/firmwarecfg: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/usr/www/all/cgi-bin/freetz_status: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/usr/www/all/cgi-bin/system_status: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/usr/www/all/cgi-bin/capture_notimeout: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/usr/www/all/cgi-bin/webcm: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/usr/www/all/cgi-bin/luacgi: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/usr/www/all/html/de/fon_config/dect.frm: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/usr/www/all/html/de/fon_config/dect.js: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/usr/www/all/html/de/fon_config/dect.html: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/usr/www/all/html/lcr.html: No such file or directory
    chown: /var/media/ftp/uStor01/rootfs/usr/www/all/html/flash.html: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/usr/www/all/errors/kids/images: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/usr/www/all/errors/images: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/usr/www/all/flash.html: Read-only file system
    chown: /var/media/ftp/uStor01/rootfs/usr/www/html: Read-only file system
    
    Da scheint ein Fehler vorzuliegen oder muss das so aussehen?
    Der Stick ist jedenfalls rw gemountet wie die Ausgabe von mount anzeigt:

    Code:
    [email protected]:/var/media/ftp/uStor01/rootfs# mount
    rootfs on / type rootfs (rw)
    /dev/root on / type squashfs (ro)
    dev on /dev type tmpfs (rw,nosuid)
    devpts on /dev/pts type devpts (rw)
    proc on /proc type proc (rw,nodiratime,nosuid,nodev,noexec)
    tmpfs on /var type tmpfs (rw)
    sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
    usbfs on /proc/bus/usb type usbfs (rw)
    /dev/sda1 on /var/media/ftp/uStor01 type ext2 (rw,noatime,nodiratime)
    
    Wieso steht dann da beim chown Befehl etwas von Read-only file system?

    Wenn ich dann im WebIF von freetz USB-Root aktiviere und die Box reboote, blinkt die LED vom USB-Stick zwar heftig, aber die Box bootet vom Flash. Das syslog zeigt nur in Zeile 27 eine Meldung bzgl. USB-Root:
    Code:
    Jan  1 01:02:09 fritz user.notice kernel: Kernel command line: init=/etc/init.d/rc.usbroot  usbroot=/dev/sda1:ext2:/rootfs rw console=ttyS0,38400n8r
    
    Vollständiges syslog:
    Code:
    Jan  1 01:02:09 fritz syslog.info syslogd started: BusyBox v1.18.5
    Jan  1 01:02:09 fritz user.notice kernel: klogd started: BusyBox v1.18.5 (2011-10-22 19:58:04 CEST)
    Jan  1 01:02:09 fritz user.notice FREETZMOD: Starting syslogd ... done.
    Jan  1 01:02:09 fritz user.notice kernel: Linux version 2.6.13.1-ohio (3964) (gcc-Version 3.4.6) #1 Thu May 5 16:23:59 CEST 2011
    Jan  1 01:02:09 fritz user.warn kernel: memsize=32 MByte
    Jan  1 01:02:09 fritz user.warn kernel: flashsize=8 MByte
    Jan  1 01:02:09 fritz user.warn kernel: &_end=0x942317e4 PFN_ALIGN(&_end)=0x94232000 CPHYSADDR(PFN_ALIGN(&_end))=0x14232000 memsize=0x2000000
    Jan  1 01:02:09 fritz user.warn kernel: CPU revision is: 00018448
    Jan  1 01:02:09 fritz user.warn kernel: [ohio_gpio_init]
    Jan  1 01:02:09 fritz user.warn kernel: Determined physical RAM map:
    Jan  1 01:02:09 fritz user.warn kernel:  memory: 00232000 @ 14000000 (reserved)
    Jan  1 01:02:09 fritz user.warn kernel:  memory: 01dce000 @ 14232000 (usable)
    Jan  1 01:02:09 fritz user.warn kernel: On node 0 totalpages: 8192
    Jan  1 01:02:09 fritz user.warn kernel: [alloc_node_mem_map] reduce size from 2883616 Bytes to  262176 Bytes
    Jan  1 01:02:09 fritz user.warn kernel: [alloc_node_mem_map]: (org) sizeof(mem_map) = 262176 mem_map=0x94235000-0x94275020
    Jan  1 01:02:09 fritz user.warn kernel: [alloc_node_mem_map]: sizeof(mem_map) = 2883616 mem_map=0x93fb5000-0x94275020
    Jan  1 01:02:09 fritz user.warn kernel: zone=0 zone_size[j]=0x90112
    Jan  1 01:02:09 fritz user.warn kernel: realsize=8192
    Jan  1 01:02:09 fritz user.warn kernel:   DMA zone: 8192 pages, LIFO batch:3
    Jan  1 01:02:09 fritz user.warn kernel: zone=1 zone_size[j]=0x0
    Jan  1 01:02:09 fritz user.warn kernel: realsize=0
    Jan  1 01:02:09 fritz user.warn kernel:   Normal zone: 0 pages, LIFO batch:1
    Jan  1 01:02:09 fritz user.warn kernel: zone=2 zone_size[j]=0x0
    Jan  1 01:02:09 fritz user.warn kernel: realsize=0
    Jan  1 01:02:09 fritz user.warn kernel:   HighMem zone: 0 pages, LIFO batch:1
    Jan  1 01:02:09 fritz user.warn kernel: Built 1 zonelists
    Jan  1 01:02:09 fritz user.notice kernel: Kernel command line: init=/etc/init.d/rc.usbroot  usbroot=/dev/sda1:ext2:/rootfs rw console=ttyS0,38400n8r
    Jan  1 01:02:09 fritz user.warn kernel: [ld_mmu_r4xx0] memcpy((void *)(CAC_BASE   + 0x100), &except_vec2_generic, 0x30)
    Jan  1 01:02:09 fritz user.warn kernel: Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
    Jan  1 01:02:09 fritz user.warn kernel: Primary data cache 8kB, 4-way, linesize 16 bytes.
    Jan  1 01:02:09 fritz user.warn kernel: Synthesized TLB refill handler (20 instructions). Base=0x941f4a0c
    Jan  1 01:02:09 fritz user.warn kernel: TLB synthesizer field overflow (simm)
    Jan  1 01:02:09 fritz user.warn kernel: Synthesized TLB load handler fastpath (34 instructions) Base=0x941f8620.
    Jan  1 01:02:09 fritz user.warn kernel: TLB synthesizer field overflow (simm)
    Jan  1 01:02:09 fritz user.warn kernel: Synthesized TLB store handler fastpath (34 instructions) Base=0x941f8820.
    Jan  1 01:02:09 fritz user.warn kernel: TLB synthesizer field overflow (simm)
    Jan  1 01:02:09 fritz user.warn kernel: Synthesized TLB modify handler fastpath (33 instructions) Base=0x941f8a20.
    Jan  1 01:02:09 fritz user.warn kernel: PID hash table entries: 256 (order: 8, 4096 bytes)
    Jan  1 01:02:09 fritz user.warn kernel: CPU frequency 211.97 MHz
    Jan  1 01:02:09 fritz user.warn kernel: Using 105.984 MHz high precision timer.
    Jan  1 01:02:09 fritz user.warn kernel: [setup_irq]: irq 255 irqaction->handler 0x94041dc0 ()
    Jan  1 01:02:09 fritz user.warn kernel: [register_console] enable commandline console 0
    Jan  1 01:02:09 fritz user.warn kernel: Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
    Jan  1 01:02:09 fritz user.warn kernel: Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
    Jan  1 01:02:09 fritz user.info kernel: Memory: 30140k/30520k available (1589k kernel code, 320k reserved, 302k data, 116k init, 0k highmem)
    Jan  1 01:02:09 fritz user.info kernel: totalram_pages= 7550
    Jan  1 01:02:09 fritz user.warn kernel: Calibrating delay loop... 211.35 BogoMIPS (lpj=1056768)
    Jan  1 01:02:09 fritz user.warn kernel: loops_per_jiffy=1056768
    Jan  1 01:02:09 fritz user.warn kernel: Mount-cache hash table entries: 512
    Jan  1 01:02:09 fritz user.warn kernel: Checking for 'wait' instruction...  available.
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941e827c
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941e84fc
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ea428
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ead48
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ead54
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941efdd4
    Jan  1 01:02:09 fritz user.info kernel: NET: Registered protocol family 16
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941eb5dc
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941eb864
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941df2c4
    Jan  1 01:02:09 fritz user.warn kernel: Can't analyze prologue code at 9418bc04
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ea118
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ebf10
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941edc7c
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ee394
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941eefa4
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ef4dc
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ef6a0
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941efccc
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941efda0
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ea37c
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941eb6f4
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941e78a4
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941e7984
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941e7b90
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941e7f6c
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941e8174
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941e82ac
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941e9774
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941e9bb8
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941e9be0
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941e9f2c
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941e9fe0
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ea020
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ea3e8
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941eaaec
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941eab78
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941eac6c
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941eb2a4
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941eb2ec
    Jan  1 01:02:09 fritz user.info kernel: Squashfs 2.2-r2b (released 2006/02/23) (C) 2002-2005 Phillip Lougher
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941eb3d0
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941eb3e8
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941eb7a8
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941eb898
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941eba1c
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ebfd0
    Jan  1 01:02:09 fritz user.info kernel: avm_net_trace: Up and running.
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ec050
    Jan  1 01:02:09 fritz user.info kernel: [avm_power]Ohio250 detected -> overclocking possible
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ec384
    Jan  1 01:02:09 fritz user.warn kernel: [avm] configured: watchdog eventled enable shift register enable direct gpio 
    Jan  1 01:02:09 fritz user.warn kernel: 	gpio usage: reset=12 clock=13 store=10 data=9 
    Jan  1 01:02:09 fritz user.warn kernel: AR7WDT: Watchdog Driver for AR7 Hardware (Version 1.0, build: May  5 2011 16:21:26)
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ed2cc
    Jan  1 01:02:09 fritz user.info kernel: Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
    Jan  1 01:02:09 fritz user.warn kernel: [uart_add_one_port]
    Jan  1 01:02:09 fritz user.warn kernel: ttyS0 at MMIO 0x0 (irq = 15) is a OHIO_UART
    Jan  1 01:02:09 fritz user.warn kernel: [uart_add_one_port] dont register console port->type = 16
    Jan  1 01:02:09 fritz user.warn kernel: port->cons = 0x941ce300 port->cons->flags = 0x7
    Jan  1 01:02:09 fritz user.warn kernel: [uart_add_one_port] success
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941edcc0
    Jan  1 01:02:09 fritz user.info kernel: io scheduler noop registered
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941edccc
    Jan  1 01:02:09 fritz user.err kernel: [cpmac] Version: 1.129  -  Revision 790:1110  -  Do   5.05.2011  16:22:45 
    Jan  1 01:02:09 fritz user.err kernel: [avm_event_source_trigger]: not registered
    Jan  1 01:02:09 fritz user.err kernel: [cpmac] [cpmac_if_register] dev cpmac0 (phy_id 0) registered
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ee19c
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ee304
    Jan  1 01:02:09 fritz user.info kernel: tun: Universal TUN/TAP device driver, 1.6
    Jan  1 01:02:09 fritz user.info kernel: tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ee3dc
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ee3e8
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ee4a8
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ee4b4
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ee4d8
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ee508
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ee554
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ee578
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ee59c
    Jan  1 01:02:09 fritz user.notice kernel: physmap flash device: 400000 at 10000000
    Jan  1 01:02:09 fritz user.info kernel: phys_mapped_flash: Found 1 x16 devices at 0x0 in 16-bit bank
    Jan  1 01:02:09 fritz user.warn kernel:  Amd/Fujitsu Extended Query Table at 0x0040
    Jan  1 01:02:09 fritz user.warn kernel: phys_mapped_flash: Swapping erase regions for broken CFI table.
    Jan  1 01:02:09 fritz user.notice kernel: number of CFI chips: 1
    Jan  1 01:02:09 fritz user.notice kernel: RedBoot partition parsing not available
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ee70c
    Jan  1 01:02:09 fritz user.warn kernel: Generic platform RAM MTD, (c) 2004 Simtec Electronics
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ee73c
    Jan  1 01:02:09 fritz user.notice kernel: Ohio flash driver (size->0x400000 mem->0x10000000)
    Jan  1 01:02:09 fritz user.warn kernel: flash_size=0x800000
    Jan  1 01:02:09 fritz user.warn kernel: flash_mask=0xffffff
    Jan  1 01:02:09 fritz user.info kernel: Ohio flash memory: Found 1 x16 devices at 0x0 in 16-bit bank
    Jan  1 01:02:09 fritz user.warn kernel: [genprobe_ident_chips] 4 i 0 j 0
    Jan  1 01:02:09 fritz user.warn kernel: [genprobe_ident_chips] 5 i 0 j 1
    Jan  1 01:02:09 fritz user.warn kernel:  Amd/Fujitsu Extended Query Table at 0x0040
    Jan  1 01:02:09 fritz user.warn kernel: Ohio flash memory: Swapping erase regions for broken CFI table.
    Jan  1 01:02:09 fritz user.notice kernel: number of CFI chips: 1
    Jan  1 01:02:09 fritz user.warn kernel: [mtd]: jffs2_size = 5 * 64KByte (0x50000 Bytes)
    Jan  1 01:02:09 fritz user.warn kernel: [ohio_find_hidden_filesystem]: super block found: bytes_used: 0x6bbe13/7061011
    Jan  1 01:02:09 fritz user.warn kernel: [init_ohio_flash] find hidden filesystem size=0x6d2f00 offset=0xad100
    Jan  1 01:02:09 fritz user.warn kernel: [mtd] configure jffs2 partition
    Jan  1 01:02:09 fritz user.warn kernel: [mtd] fs_size=0x760000 max=0x10000 is=0x50000 max jffs2_size value 1
    Jan  1 01:02:09 fritz user.warn kernel: [mtd] ERROR jffs2_size too big, reduce to max
    Jan  1 01:02:09 fritz user.warn kernel: [mtd] ohio_flash_map: name=Ohio flash memory bankwidth=2 virt=0xb0000000 phys=0x10000000 size=0x800000
    Jan  1 01:02:09 fritz user.notice kernel: Creating 7 MTD partitions on "Ohio flash memory":
    Jan  1 01:02:09 fritz user.notice kernel: 0x000ad100-0x00780000 : "filesystem"
    Jan  1 01:02:09 fritz user.notice kernel: 	'nor-flash'
    Jan  1 01:02:09 fritz user.warn kernel: 	'Bits can be cleared (flash)'
    Jan  1 01:02:09 fritz user.warn kernel: 	'Has an erase function'
    Jan  1 01:02:09 fritz user.warn kernel: mtd: partition "filesystem" doesn't start on an erase block boundary -- force read-only
    Jan  1 01:02:09 fritz user.notice kernel: 0x00010000-0x00780000 : "kernel"
    Jan  1 01:02:09 fritz user.notice kernel: 	'nor-flash'
    Jan  1 01:02:09 fritz user.warn kernel: 	'Bits can be cleared (flash)'
    Jan  1 01:02:09 fritz user.warn kernel: 	'Has an erase function'
    Jan  1 01:02:09 fritz user.notice kernel: 0x00000000-0x00010000 : "bootloader"
    Jan  1 01:02:09 fritz user.notice kernel: 	'nor-flash'
    Jan  1 01:02:09 fritz user.warn kernel: 	'Bits can be cleared (flash)'
    Jan  1 01:02:09 fritz user.warn kernel: 	'Has an erase function'
    Jan  1 01:02:09 fritz user.notice kernel: 0x00780000-0x007c0000 : "tffs (1)"
    Jan  1 01:02:09 fritz user.notice kernel: 	'nor-flash'
    Jan  1 01:02:09 fritz user.warn kernel: 	'Bits can be cleared (flash)'
    Jan  1 01:02:09 fritz user.warn kernel: 	'Has an erase function'
    Jan  1 01:02:09 fritz user.notice kernel: 0x007c0000-0x00800000 : "tffs (2)"
    Jan  1 01:02:09 fritz user.notice kernel: 	'nor-flash'
    Jan  1 01:02:09 fritz user.warn kernel: 	'Bits can be cleared (flash)'
    Jan  1 01:02:09 fritz user.warn kernel: 	'Has an erase function'
    Jan  1 01:02:09 fritz user.notice kernel: 0x00770000-0x00780000 : "jffs2"
    Jan  1 01:02:09 fritz user.notice kernel: 	'nor-flash'
    Jan  1 01:02:09 fritz user.warn kernel: 	'Bits can be cleared (flash)'
    Jan  1 01:02:09 fritz user.warn kernel: 	'Has an erase function'
    Jan  1 01:02:09 fritz user.notice kernel: 0x00010000-0x00770000 : "Kernel without jffs2"
    Jan  1 01:02:09 fritz user.notice kernel: 	'nor-flash'
    Jan  1 01:02:09 fritz user.warn kernel: 	'Bits can be cleared (flash)'
    Jan  1 01:02:09 fritz user.warn kernel: 	'Has an erase function'
    Jan  1 01:02:09 fritz user.warn kernel: partition_info[0]: name=filesystem offset=ad100 size=6d2f00
    Jan  1 01:02:09 fritz user.warn kernel: partition_info[0]: 0xb00ad100: 0x73717368 0xbb5
    Jan  1 01:02:09 fritz user.warn kernel: partition_info[1]: name=kernel offset=10000 size=770000
    Jan  1 01:02:09 fritz user.warn kernel: partition_info[1]: 0xb0010000: 0xfeed1281 0x9d05e
    Jan  1 01:02:09 fritz user.warn kernel: partition_info[2]: name=bootloader offset=0 size=10000
    Jan  1 01:02:09 fritz user.warn kernel: partition_info[2]: 0xb0000000: 0x40809000 0x40809800
    Jan  1 01:02:09 fritz user.warn kernel: partition_info[3]: name=tffs (1) offset=780000 size=40000
    Jan  1 01:02:09 fritz user.warn kernel: partition_info[3]: 0xb0780000: 0x40001 0xfdffffff
    Jan  1 01:02:09 fritz user.warn kernel: partition_info[4]: name=tffs (2) offset=7c0000 size=40000
    Jan  1 01:02:09 fritz user.warn kernel: partition_info[4]: 0xb07c0000: 0x40001 0xfeffffff
    Jan  1 01:02:09 fritz user.warn kernel: partition_info[5]: name=jffs2 offset=770000 size=10000
    Jan  1 01:02:09 fritz user.warn kernel: partition_info[5]: 0xb0770000: 0xffffffff 0xffffffff
    Jan  1 01:02:09 fritz user.warn kernel: partition_info[6]: name=Kernel without jffs2 offset=10000 size=760000
    Jan  1 01:02:09 fritz user.warn kernel: partition_info[6]: 0xb0010000: 0xfeed1281 0x9d05e
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ef184
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ef2c8
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941efd94
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941f0a84
    Jan  1 01:02:09 fritz user.info kernel: NET: Registered protocol family 2
    Jan  1 01:02:09 fritz user.warn kernel: IP route cache hash table entries: 512 (order: -1, 2048 bytes)
    Jan  1 01:02:09 fritz user.warn kernel: TCP established hash table entries: 2048 (order: 2, 16384 bytes)
    Jan  1 01:02:09 fritz user.warn kernel: TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    Jan  1 01:02:09 fritz user.info kernel: TCP: Hash tables configured (established 2048 bind 2048)
    Jan  1 01:02:09 fritz user.info kernel: TCP reno registered
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941f349c
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941f34a4
    Jan  1 01:02:09 fritz user.info kernel: TCP bic registered
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941f34b0
    Jan  1 01:02:09 fritz user.info kernel: mcfw: IGMPv3 fast forwarding
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941f34dc
    Jan  1 01:02:09 fritz user.info kernel: NET: Registered protocol family 1
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941f357c
    Jan  1 01:02:09 fritz user.info kernel: NET: Registered protocol family 17
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941f35fc
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941f36b8
    Jan  1 01:02:09 fritz user.info kernel: NET: Registered protocol family 8
    Jan  1 01:02:09 fritz user.info kernel: NET: Registered protocol family 20
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941f385c
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941de024
    Jan  1 01:02:09 fritz user.warn kernel: [setup_irq]: irq 1 irqaction->handler 0x94001590 ()
    Jan  1 01:02:09 fritz user.warn kernel: [setup_irq]: irq 6 irqaction->handler 0x940015a4 ()
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x940017e4
    Jan  1 01:02:09 fritz user.warn kernel: [ohio_late_init] 
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941de160
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941de3dc
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941eb7e4
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x940cdef0
    Jan  1 01:02:09 fritz user.info kernel: [avm_new] push_button_gpio=8 value=1 enabled
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ecb40
    Jan  1 01:02:09 fritz user.warn kernel: TFFS: tiny flash file system driver. GPL (c) AVM Berlin (Version 2.0)
    Jan  1 01:02:09 fritz user.warn kernel:       mount on mtd4 and mtd5 (double buffering)
    Jan  1 01:02:09 fritz user.info kernel: Adam2 environment variables API installed.
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941ed990
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x9412b2a8
    Jan  1 01:02:09 fritz user.debug kernel: Calling initcall 0x941f1fa4
    Jan  1 01:02:09 fritz user.warn kernel: [prepare_namespace] new mount root /dev/mtdblock1
    Jan  1 01:02:09 fritz user.warn kernel: use lzma compression 
    Jan  1 01:02:09 fritz user.warn kernel: VFS: Mounted root (squashfs filesystem) readonly.
    Jan  1 01:02:09 fritz user.warn kernel: Freeing prom memory: 0kb freed
    Jan  1 01:02:09 fritz user.info kernel: Freeing unused kernel memory: 116k freed (7579 free)
    Jan  1 01:02:09 fritz user.warn kernel: [setup_irq]: irq 15 irqaction->handler 0x940da11c ()
    Jan  1 01:02:09 fritz user.warn kernel: TFFS Name Table H
    Jan  1 01:02:09 fritz user.warn kernel: Piglet: module license '
    Jan  1 01:02:09 fritz user.warn kernel: (C) Copyright 2005 by AVM
    Jan  1 01:02:09 fritz user.warn kernel: ' taints kernel.
    Jan  1 01:02:09 fritz user.warn kernel: EMIF: asize=1 ta=3 r_hold=0 w_strobe=6 r_strobe=6 ew=1
    Jan  1 01:02:09 fritz user.info kernel: [avm_new]push_button 'Wlan-Taster', released: GPIO=8 presses=2000 key=button_key_2
    Jan  1 01:02:09 fritz user.warn kernel: [piglet]McSP: rFS: 8000 Hz rCLK:2048300 Hz
    Jan  1 01:02:09 fritz user.info kernel: usbcore: registered new driver usbfs
    Jan  1 01:02:09 fritz user.info kernel: usbcore: registered new driver hub
    Jan  1 01:02:09 fritz user.info kernel: 	AHCI RevisionID = 0x02, RamSize = 16384, NumPorts= 1
    Jan  1 01:02:09 fritz user.warn kernel: [setup_irq]: irq 9 irqaction->handler 0xc0006490 ()
    Jan  1 01:02:09 fritz user.info kernel: ahci : new USB bus registered, assigned bus number 1
    Jan  1 01:02:09 fritz user.notice kernel: SCSI subsystem initialized
    Jan  1 01:02:09 fritz user.info kernel: Initializing USB Mass Storage driver...
    Jan  1 01:02:09 fritz user.info kernel: usbcore: registered new driver usb-storage
    Jan  1 01:02:09 fritz user.info kernel: USB Mass Storage support registered.
    Jan  1 01:02:09 fritz user.info kernel: hub 1-0:1.0: USB hub found
    Jan  1 01:02:09 fritz user.info kernel: hub 1-0:1.0: 1 port detected
    Jan  1 01:02:09 fritz user.info kernel: usb 1-1: new full speed USB device using ahci and address 2
    Jan  1 01:02:09 fritz user.info kernel: USB Mass Storage device (1221:3234) detected...
    Jan  1 01:02:09 fritz user.info kernel: scsi0 : SCSI emulation for USB Mass Storage devices
    Jan  1 01:02:09 fritz user.debug kernel: usb-storage: device found at 2
    Jan  1 01:02:09 fritz user.debug kernel: usb-storage: waiting for device to settle before scanning
    Jan  1 01:02:09 fritz user.notice kernel:   Vendor: USB2.0    Model: Flash Disk        Rev: 2.50
    Jan  1 01:02:09 fritz user.notice kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
    Jan  1 01:02:09 fritz user.notice kernel: SCSI device sda: 8171520 512-byte hdwr sectors (4184 MB)
    Jan  1 01:02:09 fritz user.notice kernel: sda: Write Protect is off
    Jan  1 01:02:09 fritz user.debug kernel: sda: Mode Sense: 0b 00 00 08
    Jan  1 01:02:09 fritz user.err kernel: sda: assuming drive cache: write through
    Jan  1 01:02:09 fritz user.notice kernel: SCSI device sda: 8171520 512-byte hdwr sectors (4184 MB)
    Jan  1 01:02:09 fritz user.notice kernel: sda: Write Protect is off
    Jan  1 01:02:09 fritz user.debug kernel: sda: Mode Sense: 0b 00 00 08
    Jan  1 01:02:09 fritz user.err kernel: sda: assuming drive cache: write through
    Jan  1 01:02:09 fritz user.info kernel:  sda: sda1
    Jan  1 01:02:09 fritz user.notice kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
    Jan  1 01:02:09 fritz user.debug kernel: usb-storage: device scan complete
    Jan  1 01:02:09 fritz user.info kernel: usbcore: deregistering driver usb-storage
    Jan  1 01:02:09 fritz user.info kernel: usb usb1: USB disconnect, address 1
    Jan  1 01:02:09 fritz user.info kernel: usb 1-1: USB disconnect, address 2
    Jan  1 01:02:09 fritz user.info kernel: ahci : USB bus 1 deregistered
    Jan  1 01:02:09 fritz user.info kernel: usbcore: deregistering driver usbfs
    Jan  1 01:02:09 fritz user.info kernel: usbcore: deregistering driver hub
    Jan  1 01:02:09 fritz user.warn kernel: AR7WDT: System Init UEberwachung 240 Sekunden
    Jan  1 01:02:09 fritz user.info kernel: [avm_new]push_button 'Wlan-Taster' presses: GPIO=8 time=4294944497
    Jan  1 01:02:09 fritz user.info kernel: [avm_new]push_button 'Wlan-Taster', released: GPIO=8 presses=510 key=button_key_1
    Jan  1 01:02:09 fritz user.warn kernel: EMIF: asize=1 ta=3 r_hold=0 w_strobe=6 r_strobe=6 ew=1
    Jan  1 01:02:09 fritz user.warn kernel: [piglet]McSP: rFS: 8010 Hz rCLK:2048305 Hz
    Jan  1 01:02:09 fritz user.info kernel: JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
    Jan  1 01:02:09 fritz user.err kernel: jffs2: Too few erase blocks (1)
    Jan  1 01:02:09 fritz user.err kernel: jffs2: Too few erase blocks (1)
    Jan  1 01:02:09 fritz user.warn kernel: registered device TI Avalanche SAR
    Jan  1 01:02:09 fritz user.warn kernel: tiatm driver (patch_annex=0xc005ae4c)
    Jan  1 01:02:09 fritz user.warn kernel: [tiatm] Set StrictPriority=0
    Jan  1 01:02:09 fritz user.warn kernel: DSP binary filesize = 322784 bytes
    Jan  1 01:02:09 fritz user.warn kernel: [dsl_ur8] dsl serial number successfully set to "465249545a21426f78466f6e574c414e37313730303030343045454242344534"
    Jan  1 01:02:09 fritz user.warn kernel: [tiatm] INFO V2U-BRIDGEREGISTER: 0x00000019
    Jan  1 01:02:09 fritz user.info kernel: [avm_power]Ohio250 detected -> overclocking possible
    Jan  1 01:02:09 fritz user.info kernel: [avm_power]#### boostVoltage: DSP Core voltage set to 1,5 V ####
    Jan  1 01:02:09 fritz user.warn kernel: [setup_irq]: irq 23 irqaction->handler 0xc0046208 ()
    Jan  1 01:02:09 fritz user.warn kernel: [setup_irq]: irq 31 irqaction->handler 0xc0046258 ()
    Jan  1 01:02:09 fritz user.warn kernel: [tiatm]: Powermanagment (States => 1,3,10) supported!
    Jan  1 01:02:09 fritz user.warn kernel: Texas Instruments ATM driver: version:[4.08.02.01]
    Jan  1 01:02:09 fritz user.warn kernel: [tiatm] AvmInterface length: 44
    Jan  1 01:02:09 fritz user.warn kernel: ubik2 driver (ubik2 - 0x10=0xc00f3094)
    Jan  1 01:02:09 fritz user.warn kernel: atm_dsp_register_ubik2: ubik2_ToMIPS_notify=0xc00e4bfc
    Jan  1 01:02:09 fritz user.warn kernel: atm_dsp_register_ubik2: dsp mem pointer 0xa1c10af4
    Jan  1 01:02:09 fritz user.err kernel: ubik2_init_interface: DSP-Link Version v3 8480
    Jan  1 01:02:09 fritz user.warn kernel: [ubik2_debug]redirect kernel-messages (/dev/debug)
    Jan  1 01:02:10 fritz user.notice FREETZMOD: Starting inetd ... done.
    Jan  1 01:02:12 fritz user.notice FREETZMOD: Setting up SSH authorized_keys for root ... done.
    Jan  1 01:02:12 fritz user.err telefon[804]: TAM init error
    Jan  1 01:02:13 fritz authpriv.info dropbear[1524]: Running in background
    Jan  1 01:02:13 fritz user.notice FREETZMOD: Starting dropbear SSH server ... done.
    Jan  1 01:02:18 fritz user.notice FREETZMOD: rc.mod finished.
    Jan  1 01:21:07 fritz authpriv.info dropbear[2277]: Child connection from 192.168.178.20:50093
    Jan  1 01:21:19 fritz authpriv.notice dropbear[2277]: Password auth succeeded for 'root' from 192.168.178.20:50093
    
    Der USB-Stick wird anscheinend erst später eingebunden (kurz vor Schluss). Könnte da ein Problem liegen? Und wenn ja, wie kann ich es beheben?

    Weitere Logs:
    Code:
    /var/log/mod_load.log
    Loading /var/flash/freetz ... done.
    Loading users, groups and passwords ... done.
    Loading hosts ... done.
    Loading config ... done.
    Loading modules ... done.
    
    /var/log/mod_net.log
    Starting AVM multid ... done.
    
    /var/log/mod.log
    rc.mod version freetz-1.2-stable
    crond is disabled.
    AVM telnetd is disabled.
    Starting Freetz webinterface ... done.
    swap is disabled.
    Starting syslogd ... done.
    Starting inetd ... done.
    Setting up SSH authorized_keys for root ... done.
    Starting dropbear SSH server ... done.
    rc.mod finished.
    
    /var/log/mod_mount.log
    [INFO] Mounting device /dev/sda1 ... 
    [INFO] Partition uStor01 (/dev/sda1) was mounted successfully (ext2)
    
    Vor zwei Jahren hatte der user yui ein ähnliches Problem: http://www.ip-phone-forum.de/archive/index.php/t-187081.html Er hat es wohl hingekriegt, leider hat er nicht geschrieben wie.

    Meine Fragen wären also:
    1. Die Ausgabe nach dem chown Befehl ist doch wohl nicht in Ordnung?
    2. Irgendeiner eine Idee woran es liegen könnte? Der Stick wird wie es aussieht als rw gemountet. Allerdings kann ich per FTP auch nur lesend auf den Stick zugreifen. Wenn ich Files schreiben will (per Total Commander) kommt "553: permission denied".

    Vielen Dank schonmal
     
  2. Doemer

    Doemer Neuer User

    Registriert seit:
    28 Jan. 2010
    Beiträge:
    8
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    #2 Doemer, 24 Nov. 2011
    Zuletzt bearbeitet: 24 Nov. 2011
    hey noidea

    Hast du den Fehler gefunden? Hatte gestern Abend beim Testen genau das selbe Problem.

    Danke und Gruss

    Doemer

    PS: Irgendwie fliegt mir grad der Gedanke im Kopf rum, dass ich wahrscheinlich Replace Kernel hätte benutzen müssen damit das mit dem ext2 sauber funtzt. Wird heute Abend direkt probiert.

    PPS: leider kein Erfolg. Jeder Schritt der Anleitung im Wiki funktioniert aber es scheint ein Berechtigungsproblem vorzuliegen. Ich kopier das filesystem archiv mit scp auf die fritzbox rüber, wenn ich allerdings den Befehl ausm Wiki komplet nutze kann ich nicht mal ins rootfs directory rein. erstelle ich das verzeichnis selber komme ich rein und kann das tar entpacken, erhalte dann aber beim chown Befehl genau dieselben Fehler wie NoIdea oben beschrieben hat. Ich versuchs weiter. Wenn jemand nen Tip hat bin ich dankbar.