iptable module können nicht geladen werden mit freetz-trunk

ah, ok:
Code:
filename:       x_tables.ko
description:    [ip,ip6,arp]_tables backend module
author:         Harald Welte <[email protected]>
license:        GPL
depends:        
vermagic:       2.6.19.2 mod_unload MIPS32_R2 32BIT 

 ELF 32-bit MSB relocatable, MIPS, MIPS32 rel2 version 1 (SYSV), not stripped
 
Kannst du zum Vergleich mal noch modinfo auf ein Modul unter build/original/filesystem... zeigen?
 
klar:
Code:
/freetz-1.2-preview/build/original/filesystem/lib/modules/2.6.19.2/kernel/fs$ modinfo mbcache.ko
filename:       mbcache.ko
license:        GPL
description:    Meta block cache (for extended attributes)
author:         Andreas Gruenbacher <[email protected]>
depends:        
vermagic:       2.6.19.2 mod_unload MIPS32_R2 32BIT 

mbcache.ko: ELF 32-bit MSB relocatable, MIPS, MIPS32 rel2 version 1 (SYSV), not stripped

PS:
Welche Version hast Du auf der 7390? Hast einen .28 kernel. Geht bei dir NAT ?
 
Zuletzt bearbeitet:
Ich kann da keinen Unterschied entdecken.

Bei den neuen Kernelversionen gibt es Dauerreboots, sobald im Kernel die Optionen für nat/conntrack aktiviert werden.

Gruß
Oliver
 
Ich kann da keinen Unterschied entdecken.
Geht mir genauso.

Was schlägst Du denn vor, wie ich zu einem funktionalen NAT auf der 7390 komme?

Werde mal alles im Verzeichnis löschen und frisch erstellen. Könnte das was bringen?
(Bis auf das fw.imgae und die fw.source, die kann er nicht mehr dl)

Gruss Heiko
 
w
Code:
root@fritz:/lib/modules/2.6.19.2/kernel/net/ipv4/netfilter# ls -al
drwxr-xr-x    2 root     root           240 Aug 18  2011 .
drwxr-xr-x    3 root     root            26 Aug 18  2011 ..
-rw-r--r--    1 root     root         66458 Aug 18  2011 ip_conntrack.ko
-rw-r--r--    1 root     root          9758 Aug 18  2011 ip_conntrack_ftp.ko
-rw-r--r--    1 root     root         20717 Aug 18  2011[B] ip_nat.ko[/B]
-rw-r--r--    1 root     root          5482 Aug 18  2011 ip_nat_ftp.ko
-rw-r--r--    1 root     root         16454 Aug 18  2011 ip_tables.ko
-rw-r--r--    1 root     root         11217 Aug 18  2011 ipt_LOG.ko
-rw-r--r--    1 root     root          4843 Aug 18  2011 ipt_MASQUERADE.ko
-rw-r--r--    1 root     root          3234 Aug 18  2011 ipt_REDIRECT.ko
-rw-r--r--    1 root     root          6063 Aug 18  2011 ipt_REJECT.ko
-rw-r--r--    1 root     root          3026 Aug 18  2011 ipt_iprange.ko
-rw-r--r--    1 root     root          5194 Aug 18  2011 iptable_filter.ko
-rw-r--r--    1 root     root         11602 Aug 18  2011 iptable_nat.ko
root@fritz:/lib/modules/2.6.19.2/kernel/net/ipv4/netfilter# iptables -t nat -A p
ostrouting -o tun0 -j masquerade
iptables v1.4.1.1: can't initialize iptables table [B]`nat': Table does not exist[/B] (
do you need to insmod?)


root@fritz:/lib/modules/2.6.19.2/kernel/net/netfilter# ls -al
drwxr-xr-x    2 root     root           214 Aug 18  2011 .
drwxr-xr-x    6 root     root            56 Aug 18  2011 ..
-rw-r--r--    1 root     root         19671 Aug 18  2011 x_tables.ko
-rw-r--r--    1 root     root          3754 Aug 18  2011 xt_MARK.ko
-rw-r--r--    1 root     root          3999 Aug 18  2011 xt_conntrack.ko
-rw-r--r--    1 root     root          3095 Aug 18  2011 xt_length.ko
-rw-r--r--    1 root     root          4056 Aug 18  2011 xt_limit.ko
-rw-r--r--    1 root     root          3017 Aug 18  2011 xt_mac.ko
-rw-r--r--    1 root     root          3009 Aug 18  2011 xt_mark.ko
-rw-r--r--    1 root     root          4702 Aug 18  2011 xt_multiport.ko
-rw-r--r--    1 root     root          4443 Aug 18  2011 xt_physdev.ko
-rw-r--r--    1 root     root          3065 Aug 18  2011 xt_pkttype.ko
-rw-r--r--    1 root     root          3371 Aug 18  2011 xt_state.ko
-rw-r--r--    1 root     root          4639 Aug 18  2011 xt_tcpudp.ko
root@fritz:/lib/modules/2.6.19.2/kernel/net/netfilter#

http://192.168.178.1:81/cgi-bin/service/iptables/iptables
Starte iptables:
modprobe: can't load module x_tables (kernel/net/netfilter/x_tables.ko): invalid module format
modprobe: can't load module x_tables (kernel/net/netfilter/x_tables.ko): invalid module format
modprobe: can't load module x_tables (kernel/net/netfilter/x_tables.ko): invalid module format
modprobe: can't load module x_tables (kernel/net/netfilter/x_tables.ko): invalid module format
modprobe: can't load module x_tables (kernel/net/netfilter/x_tables.ko): invalid module format
modprobe: can't load module x_tables (kernel/net/netfilter/x_tables.ko): invalid module format
modprobe: can't load module x_tables (kernel/net/netfilter/x_tables.ko): invalid module format
modprobe: can't load module x_tables (kernel/net/netfilter/x_tables.ko): invalid module format
modprobe: can't load module x_tables (kernel/net/netfilter/x_tables.ko): invalid module format
modprobe: can't load module x_tables (kernel/net/netfilter/x_tables.ko): invalid module format
modprobe: can't load module x_tables (kernel/net/netfilter/x_tables.ko): invalid module format
modprobe: can't load module x_tables (kernel/net/netfilter/x_tables.ko): invalid module format
modprobe: can't load module x_tables (kernel/net/netfilter/x_tables.ko): invalid module format
modprobe: can't load module x_tables (kernel/net/netfilter/x_tables.ko): invalid module format
modprobe: can't load module x_tables (kernel/net/netfilter/x_tables.ko): invalid module format
Loading modules ... done.
Loading table list ... done.
Habe alles gelöscht und neuen make menuconfig, make durchgeführt.
Dann kam das oben.

Kann mir das jemand erklären? Langsam nervt es mich.
Gibt es etwas, was ich noch tun kann, damit es geht ?
Hab mir die Box extra gekauft, weil ich das brauche :(
Gibts eine andere Trunk Version die geht, wo AVM noch nicht Source und Image gelöscht hat?
Hat keiner 7390 mit NAT am laufen? :(
Danke
Gruss Heiko
 
Zuletzt bearbeitet:
Die Existenz des Moduls im Dateisystem bringt Dich nicht weiter, das Modul muss auch in den Kernel geladen werden.

Gibt es Meldungen im Log, warum das Modul x_tables nicht geladen werden kann?
 
Ich finde keine log-Einträge. Hätte jetzt auf /var/log/mod_net.log getippt?

EDIT
/var/log/mod.log
invalid module format (x_tables.ko)
Womit wir wieder bei gestern wären.
Habe svn...1.2-preview neu geladen und vorher alles gelöscht.
make menuconfig, make.
selber Fehler wie gestern.
 
Zuletzt bearbeitet:
Garnix, weil ich nicht weiss wie ich es anwenden soll.

EDIT
auf der Box kommt immer "-sh dmsg: not found"
 
Zuletzt bearbeitet:
Das Programm dmesg kannst Du einfach auf der Box aufrufen.
Außerdem gibt es in der Freetz Oberfläche einen Menüpunkt für Protokoll oder syslog. Es kann sein, dass man dafür ein Paket mit aufnehmen muss.
 
scheinbar gibts ein paket, dass ich nicht habe. aufruf geht ja nicht w.o. beschrieben.

/var/log/mod.log
invalid module format (x_tables.ko)

das hilft nicht?
 
Code:
cpu-type: MIPS24k(e)
[ikan_setup] USB_POWER on
CPU revision is: 0001964c
Determined physical RAM map:
 memory: 06000000 @ 00000000 (usable)
 memory: 01800000 @ 06800000 (usable)
[init_bootmem]
[free_bootmem]
[free_bootmem]
[reserve_bootmem]
On node 0 totalpages: 32768
  DMA zone: 256 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 32512 pages, LIFO batch:7
  Normal zone: 0 pages used for memmap
[request_resource] Kernel code: start 0x10000 < root->start 0x6800000
[request_resource] Kernel data: start 0x28b838 < root->start 0x6800000
Built 1 zonelists.  Total pages: 32512
Kernel command line: annex=B memsize=128 flash_start=0xBF000000 flash_size=16 co
nsole=ttyS0,115200n8r
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
PID hash table entries: 512 (order: 9, 2048 bytes)
CPU frequency 500.00 MHz
Using 250.000 MHz high precision timer.
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[free_all_bootmem]
Memory: 117376k/122880k available (2542k kernel code, 5420k reserved, 606k data,
 152k init, 0k highmem)
Calibrating delay loop... 330.75 BogoMIPS (lpj=661504)
Mount-cache hash table entries: 512
Checking for 'wait' instruction...  available.
NET: Registered protocol family 16
[ikan_mtd_init]
[ikan_mtd_init] flashsize = 0x01000000 Byte 16 MBytes
[ikan_mtd_init] mtd[1] = 0x9F020000,0x9FF00000
[ikan_mtd_init] mtd[1] = 0x00020000 - 0x00f00000
[ikan_mtd_init] mtd[2] = 0x9F000000,0x9F020000
[ikan_mtd_init] mtd[2] = 0x00000000 - 0x00020000
[ikan_mtd_init] mtd[3] = 0x9FF00000,0x9FF80000
[ikan_mtd_init] mtd[3] = 0x00f00000 - 0x00f80000
[ikan_mtd_init] mtd[4] = 0x9FF80000,0xA0000000
[ikan_mtd_init] mtd[4] = 0x00f80000 - 0x01000000
[ikan_mtd_init] mtd0:           filesystem: 0x00000000 - 0x00000000 (size 0x0)
[ikan_mtd_init] mtd1:               kernel: 0x00020000 - 0x00f00000 (size 0xee00
00)
[ikan_mtd_init] mtd2:              urlader: 0x00000000 - 0x00020000 (size 0x2000
0)
[ikan_mtd_init] mtd3:             tffs (1): 0x00f00000 - 0x00f80000 (size 0x8000
0)
[ikan_mtd_init] mtd4:             tffs (2): 0x00f80000 - 0x01000000 (size 0x8000
0)
[ikan_mtd_init] mtd5:             reserved: 0x00000000 - 0x00000000 (size 0x0)
[ikan_gpio_init]
Fusiv PCI: starting...
pktsched: using high resolution timer
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
squashfs: version 3.2 (2007/01/02) Phillip Lougher
Installing knfsd (copyright (C) 1996 [email protected]).
fuse init (API version 7.8)
yaffs Feb 14 2011 13:29:06 Installing.
io scheduler noop registered (default)
avm_net_trace: Up and running.
[gpio 13]: VX180_GPIO_POLAR: active low
[gpio 13]: GPIO_EDGE_SENSITIVE
[avm] configured: watchdog event debug enable direct gpio

AVM_WATCHDOG: Watchdog Driver for AR7 Hardware (Version 1.0, build: Feb 14 2011
13:29:43)
Serial: 8250/16550 driver $Revision: 1.3 $ 1 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0xb90a0000 (irq = 29) is a 16450
[cpmac] Version: 1.108.1.53  -  Revision 811:1136  -  Mo  14.02.2011  13:31:17
PPP generic driver version 2.4.2
NET: Registered protocol family 24
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
physmap platform flash device: 01000001 at 1f000000
physmap-flash.1: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
physmap-flash.1: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
[ikan_jffs2_parser_function] mtd_info->name physmap-flash.1 mtd_info->index 0 pa
ram=0 p_mtd_pat=0x811dd3bc
[ikan_jffs2_parser_function] try partition kernel (offset 0x20000 len 15597568)
[ikan_squashfs_parser_function] mtd_info->name physmap-flash.1 mtd_info->index 0
 param=0 p_mtd_pat=0x811dd3bc
[ikan_squashfs_parser_function] *p_mtd_pat->name filesystem
[mtd0]           filesystem: 0x00000000 - 0x00000000 (size 0x0)
[mtd1]               kernel: 0x00020000 - 0x00f00000 (size 0xee0000)
[mtd2]              urlader: 0x00000000 - 0x00020000 (size 0x20000)
[mtd3]             tffs (1): 0x00f00000 - 0x00f80000 (size 0x80000)
[mtd4]             tffs (2): 0x00f80000 - 0x01000000 (size 0x80000)
[mtd5]             reserved: 0x00000000 - 0x00000000 (size 0x0)
[ikan_squashfs_parser_function] try partition kernel (offset 0x20000 len 1559756
8 blocksize=20000)
[ikan_squashfs_parser_function] magic found @pos 0x123500
[ikan_squashfs_parser_function] flashsize=1000000
[ikan_squashfs_parser_function] jffs2_start@b60000 size: 58
6 find_squashfs partitions found on MTD device physmap-flash.1
Creating 6 MTD partitions on "physmap-flash.1":
0x00123500-0x00f00000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-o
nly
[ikan_mtd_add_notifier] name rootfs
[ikan_mtd_add_notifier] use rootfs
[ikan_mtd_add_notifier] root device: /dev/mtdblock0 (rootfs)
0x00020000-0x00123500 : "kernel"
mtd: partition "kernel" doesn't end on an erase block -- force read-only
[ikan_mtd_add_notifier] name kernel
[ikan_mtd_add_notifier] skip kernel
0x00000000-0x00020000 : "urlader"
[ikan_mtd_add_notifier] name urlader
[ikan_mtd_add_notifier] skip urlader
0x00f00000-0x00f80000 : "tffs (1)"
[ikan_mtd_add_notifier] name tffs (1)
[ikan_mtd_add_notifier] skip tffs (1)
0x00f80000-0x01000000 : "tffs (2)"
[ikan_mtd_add_notifier] name tffs (2)
[ikan_mtd_add_notifier] skip tffs (2)
0x00b60000-0x00f00000 : "jffs2"
[ikan_mtd_add_notifier] name jffs2
[ikan_mtd_add_notifier] skip jffs2
Generic platform RAM MTD, (c) 2004 Simtec Electronics
[request_resource] mtd-ram: start 0x1e000000 < root->start 0x1f000000
mtd-ram mtd-ram.2: failed to request memory region
[ikan_ram_mtd_set_rw] PLATRAM_RO
mtd-ram: probe of mtd-ram.2 failed with error -5
AVM Direct NAND driver,    2008 AVM Berlin
[direct_avm_nand_probe] error output
[NAND] direct NAND: GPIO usage: 16: /CE0 17: /CE1: 20 /WP 18: CLE 19: ALE (0x3)
[direct_avm_nand_probe] irq init
[gpio 21]: VX180_GPIO_POLAR: active high
[gpio 21]: GPIO_EDGE_SENSITIVE
[gpio 7]: VX180_GPIO_POLAR: active high
[gpio 7]: GPIO_EDGE_SENSITIVE
NAND device: Manufacturer ID: 0x20, Chip ID: 0xdc (ST Micro NAND 512MiB 3,3V 8-b
it)
NAND device: size write 0x800 oob 0x40 erase 0x20000
Scanning device for bad blocks. <6>Scan first page.
Scan only OOB area.
Check only oob flags.
[direct_avm_nand_adjust_partitions] adjust to size 0x20000000 (536870912)
[direct_avm_nand_adjust_partitions] old size 0x20000000 (536870912)
Creating 1 MTD partitions on "NAND 512MiB 3,3V 8-bit":
0x00000000-0x20000000 : "nand-filesystem"
[ikan_mtd_add_notifier] name nand-filesystem
[ikan_mtd_add_notifier] skip nand-filesystem
CAPI Subsystem Rev 1.1.2.8
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
mcfw: IGMPv3 fast forwarding
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
Bridge firewalling registered
Ebtables v2.0 registered
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]>
[TFFS_Init] 1: mtd_number: 3 | mtd_number2: 4
Time: MIPS clocksource has been installed.
[get_mtd_device_wrapped] 1: 3
[get_mtd_device_wrapped] 2
[TFFS_Init] 3
[TFFS_Init] 4.0
[put_mtd_device_wrapped] 1
[put_mtd_device_wrapped] 2
[put_mtd_device_wrapped] 3
[get_mtd_device_wrapped] 1: 4
[get_mtd_device_wrapped] 2
[TFFS_Init] 5
[TFFS_Init] 6
[TFFS_Init] 7
[TFFS_Init] 8
[TFFS_Init] 9
TFFS: tiny flash file system driver. GPL (c) AVM Berlin (Version 2.0)
      mount on mtd3 and mtd4 (double buffering)
Adam2 environment variables API installed.
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 152k freed
AVM_WATCHDOG: System Init UEberwachung 240 Sekunden
TFFS Name Table G
led_modul_Fritz_Box_7390: module license '
(C) Copyright 2008 by AVM
' taintskernel.
[led_gpio_bit_driver_init] gpio 24 name power
[led_gpio_bit_driver_init] gpio 28 name internet
[led_gpio_bit_driver_init] gpio 26 name festnetz
[led_gpio_bit_driver_init] gpio 27 name wlan
[led_gpio_bit_driver_init] gpio 22 name dual1
[led_gpio_bit_driver_init] gpio 23 name dual2
[button_init] name button_wlan, gpio 31 active_low
[gpio 31]: VX180_GPIO_POLAR: active low
[gpio 31]: GPIO_BOTH_EDGES_SENSITIVE
[button_init] name button_dect, gpio 29 active_low
[gpio 29]: VX180_GPIO_POLAR: active low
[gpio 29]: GPIO_BOTH_EDGES_SENSITIVE
[LED] "wyatt_earp_turn_off_leds" (0x803fc610) loaded
fusiv library initializing...

fusiv library initialized SUCCESSFULLY...

AP2AP fastpath initialized SUCCESSFULLY...

 Added AP PREROUTE Hook
 Added AP POSTROUTE Hook
 Buffer Manager is initializing...
BMU GIGE clock
Slave Mem Alloc: Req size 32   Ptr2Block 0x191f0000
Load into BM APU Successful !!!

Timers are getting initalized
Timers are initilized SUCCESSFULLY...
cpmac0: Netpro Sierra Ethernet found at 0xb9110000, irq 14
Setting unknown egress to SPA
Slave Mem Alloc: Req size 32   Ptr2Block 0x191f0020

Ethernet Driver is initialized SUCCESSFULLY
periApDriverInit: doneSlave Mem Alloc: Req size 32   Ptr2Block 0x191f0040

 *******LOAD firmware to AP:PERI_ID result:0Load into PERI_AP APU Successful !!!


 ACL-AP is initializing...
ACL major allocated is 201
Slave Mem Alloc: Req size 32   Ptr2Block 0x191f0060
Configuring host ACL Layer-2 ruleset (128/4 Rules/Intf)
Intf    Addr
0       00470000
1       00470e00
2       00471c00
3       00472a00
Configuring host ACL Layer-3 ruleset (128/4 Rules/Intf)
Intf    Addr
0       0119c000
1       0119ce00
2       0119dc00
3       0119ea00
Linux version 2.6.19.2 (4059) (gcc version 3.4.6) #3 Mon Feb 14 13:34:04 CET 201
das e war es.
 
Ist das vor oder nach dem Versuch, das Modul x_tables zu laden?
Kommt nach "modprobe x_tables" etwas neues?
Du kannst "dmesg | tail" ausführen, um nur die letzten 10 Zeilen anzuzeigen.

Kannst Du mal strace mit auf die Box bringen und "strace modprobe x_tables" ausführen?
 
Hallo Ralf, bitte sehr :)

Code:
root@fritz:/var/mod/root# iptables -t NAT -A POSTROUTING -o tun0 -j MASQUERADE
iptables v1.4.1.1: can't initialize iptables table `NAT': Table does not exist (
do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
root@fritz:/var/mod/root# dmesg | tail
[piglet]bitfile '/lib/modules/bitfile.bit'
[piglet] Read 169309 bytes total from file
[piglet] "wyatt_earp_unload_xilinx" loaded
yaffs: dev is 32505862 name is "mtdblock6"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.6, "mtdblock6"
yaffs: restored from checkpoint
yaffs_read_super: isCheckpointed 1

[avm_debug]redirect kernel-messages (/dev/debug)
root@fritz:/var/mod/root#


Code:
0x2aabe000
old_mmap(0x2ab30000, 8224, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x620
00) = 0x2ab30000
old_mmap(0x2ab33000, 18752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON
YMOUS, -1, 0) = 0x2ab33000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
stat("/lib/ld-uClibc.so.0", {st_mode=S_IFREG|0755, st_size=22536, ...}) = 0
mprotect(0x2ab30000, 4096, PROT_READ)   = 0
mprotect(0x2aabc000, 4096, PROT_READ)   = 0
ioctl(0, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
getuid()                                = 0
chdir("/lib/modules")                   = 0
uname({sys="Linux", node="fritz.fonwlan.box", ...}) = 0
chdir("2.6.19.2")                       = 0
brk(0)                                  = 0x48fbf0
brk(0x490bf0)                           = 0x490bf0
brk(0x491000)                           = 0x491000
open("/proc/modules", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, TIOCNXCL, 0x7fb773f8)          = -1 ENOTTY (Inappropriate ioctl for dev
ice)
read(3, "ip_conntrack_ftp 6654 0 - Live 0"..., 4096) = 2356
brk(0x492000)                           = 0x492000
read(3, "", 4096)                       = 0
close(3)                                = 0
lstat64("/etc/modprobe.conf", {st_mode=S_IFREG|0644, st_size=330, ...}) = 0
open("/etc/modprobe.conf", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, TIOCNXCL, 0x7fb77180)          = -1 ENOTTY (Inappropriate ioctl for dev
ice)
read(3, "# general bulk keys (disks, memo"..., 4096) = 330
read(3, "", 4096)                       = 0
close(3)                                = 0
lstat64("/etc/modprobe.d", 0x7fb77360)  = -1 ENOENT (No such file or directory)
open("modules.dep", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, TIOCNXCL, 0x7fb773d8)          = -1 ENOTTY (Inappropriate ioctl for dev
ice)
read(3, "kernel/net/ipv4/netfilter/ip_nat"..., 4096) = 4096
close(3)                                = 0
open("/proc/cmdline", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3, "annex=B memsize=128 flash_start="..., 1024) = 82
read(3, "", 942)                        = 0
close(3)                                = 0
open("kernel/net/netfilter/x_tables.ko", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=19671, ...}) = 0
brk(0x497000)                           = 0x497000
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\1\0\10\0\0\0\1\0\0\0\0\0\0\0\0"..., 2
0480) = 19671
read(3, "", 809)                        = 0
close(3)                                = 0
init_module(0x491728, 19671, "")        = -1 ENOEXEC (Exec format error)
ioctl(2147483647, TIOCNXCL, 0x7fb772b8) = -1 EBADF (Bad file descriptor)
write(2, "modprobe: can't load module x_ta"..., 95modprobe: can't load module x_
tables (kernel/net/netfilter/x_tables.ko): invalid module format
) = 95
exit(1)                                 = ?
root@fritz:/lib/modules/2.6.19.2/kernel/net/netfilter# strace modprobe x_tables
>o.txt
-sh: can't create o.txt: Read-only file system
root@fritz:/lib/modules/2.6.19.2/kernel/net/netfilter# strace modprobe x_tablesc
lear
execve("/sbin/modprobe", ["modprobe", "x_tablesclear"], [/* 217 vars */]) = 0
old_mmap(NULL, 20, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2
aaad000
open("/usr/lib/freetz/libc.so.0", O_RDONLY) = -1 ENOENT (No such file or directo
ry)
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=455372, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0
x2aaae000
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0\254\0\0\0\0004"...
, 4096) = 4096
old_mmap(NULL, 499712, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aabe000
old_mmap(0x2aabe000, 403252, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
 0x2aabe000
old_mmap(0x2ab30000, 8224, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x620
00) = 0x2ab30000
old_mmap(0x2ab33000, 18752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON
YMOUS, -1, 0) = 0x2ab33000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
stat("/lib/ld-uClibc.so.0", {st_mode=S_IFREG|0755, st_size=22536, ...}) = 0
mprotect(0x2ab30000, 4096, PROT_READ)   = 0
mprotect(0x2aabc000, 4096, PROT_READ)   = 0
ioctl(0, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
getuid()                                = 0
chdir("/lib/modules")                   = 0
uname({sys="Linux", node="fritz.fonwlan.box", ...}) = 0
chdir("2.6.19.2")                       = 0
brk(0)                                  = 0x48fbf0
brk(0x490bf0)                           = 0x490bf0
brk(0x491000)                           = 0x491000
open("/proc/modules", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, TIOCNXCL, 0x7fd473e8)          = -1 ENOTTY (Inappropriate ioctl for dev
ice)
read(3, "ip_conntrack_ftp 6654 0 - Live 0"..., 4096) = 2356
brk(0x492000)                           = 0x492000
read(3, "", 4096)                       = 0
close(3)                                = 0
lstat64("/etc/modprobe.conf", {st_mode=S_IFREG|0644, st_size=330, ...}) = 0
open("/etc/modprobe.conf", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, TIOCNXCL, 0x7fd47170)          = -1 ENOTTY (Inappropriate ioctl for dev
ice)
read(3, "# general bulk keys (disks, memo"..., 4096) = 330
read(3, "", 4096)                       = 0
close(3)                                = 0
lstat64("/etc/modprobe.d", 0x7fd47350)  = -1 ENOENT (No such file or directory)
open("modules.dep", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, TIOCNXCL, 0x7fd473c8)          = -1 ENOTTY (Inappropriate ioctl for dev
ice)
read(3, "kernel/net/ipv4/netfilter/ip_nat"..., 4096) = 4096
read(3, "ilter/iptable_filter.ko: kernel/"..., 4096) = 4096
read(3, "siv_src/kernel/ap_code/lib/fusiv"..., 4096) = 3526
read(3, "", 4096)                       = 0
close(3)                                = 0
ioctl(2147483647, TIOCNXCL, 0x7fd472a8) = -1 EBADF (Bad file descriptor)
brk(0x493000)                           = 0x493000
write(2, "modprobe: module x_tablesclear n"..., 56modprobe: module x_tablesclear
 not found in modules.dep
) = 56
exit(1)                                 = ?
root@fritz:/lib/modules/2.6.19.2/kernel/net/netfilter# strace modprobe x_tables
execve("/sbin/modprobe", ["modprobe", "x_tables"], [/* 217 vars */]) = 0
old_mmap(NULL, 20, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2
aaad000
open("/usr/lib/freetz/libc.so.0", O_RDONLY) = -1 ENOENT (No such file or directo
ry)
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=455372, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0
x2aaae000
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0\254\0\0\0\0004"...
, 4096) = 4096
old_mmap(NULL, 499712, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aabe000
old_mmap(0x2aabe000, 403252, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
 0x2aabe000
old_mmap(0x2ab30000, 8224, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x620
00) = 0x2ab30000
old_mmap(0x2ab33000, 18752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON
YMOUS, -1, 0) = 0x2ab33000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
stat("/lib/ld-uClibc.so.0", {st_mode=S_IFREG|0755, st_size=22536, ...}) = 0
mprotect(0x2ab30000, 4096, PROT_READ)   = 0
mprotect(0x2aabc000, 4096, PROT_READ)   = 0
ioctl(0, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
root@fritz:/lib/modules/2.6.19.2/kernel/net/netfilter# strace modprobe x_tables
execve("/sbin/modprobe", ["modprobe", "x_tables"], [/* 217 vars */]) = 0
old_mmap(NULL, 20, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2
aaad000
open("/usr/lib/freetz/libc.so.0", O_RDONLY) = -1 ENOENT (No such file or directo
ry)
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=455372, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0
x2aaae000
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0\254\0\0\0\0004"...
, 4096) = 4096
old_mmap(NULL, 499712, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aabe000
old_mmap(0x2aabe000, 403252, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
 0x2aabe000
old_mmap(0x2ab30000, 8224, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x620
00) = 0x2ab30000
old_mmap(0x2ab33000, 18752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON
YMOUS, -1, 0) = 0x2ab33000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
stat("/lib/ld-uClibc.so.0", {st_mode=S_IFREG|0755, st_size=22536, ...}) = 0
mprotect(0x2ab30000, 4096, PROT_READ)   = 0
mprotect(0x2aabc000, 4096, PROT_READ)   = 0
ioctl(0, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
getuid()                                = 0
chdir("/lib/modules")                   = 0
uname({sys="Linux", node="fritz.fonwlan.box", ...}) = 0
chdir("2.6.19.2")                       = 0
brk(0)                                  = 0x48fbf0
brk(0x490bf0)                           = 0x490bf0
brk(0x491000)                           = 0x491000
open("/proc/modules", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, TIOCNXCL, 0x7f8043f8)          = -1 ENOTTY (Inappropriate ioctl for dev
ice)
read(3, "ip_conntrack_ftp 6654 0 - Live 0"..., 4096) = 2356
brk(0x492000)                           = 0x492000
read(3, "", 4096)                       = 0
close(3)                                = 0
lstat64("/etc/modprobe.conf", {st_mode=S_IFREG|0644, st_size=330, ...}) = 0
open("/etc/modprobe.conf", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, TIOCNXCL, 0x7f804180)          = -1 ENOTTY (Inappropriate ioctl for dev
ice)
read(3, "# general bulk keys (disks, memo"..., 4096) = 330
read(3, "", 4096)                       = 0
close(3)                                = 0
lstat64("/etc/modprobe.d", 0x7f804360)  = -1 ENOENT (No such file or directory)
open("modules.dep", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, TIOCNXCL, 0x7f8043d8)          = -1 ENOTTY (Inappropriate ioctl for dev
ice)
read(3, "kernel/net/ipv4/netfilter/ip_nat"..., 4096) = 4096
close(3)                                = 0
open("/proc/cmdline", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3, "annex=B memsize=128 flash_start="..., 1024) = 82
read(3, "", 942)                        = 0
close(3)                                = 0
open("kernel/net/netfilter/x_tables.ko", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=19671, ...}) = 0
brk(0x497000)                           = 0x497000
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\1\0\10\0\0\0\1\0\0\0\0\0\0\0\0"..., 2
0480) = 19671
read(3, "", 809)                        = 0
close(3)                                = 0
init_module(0x491728, 19671, "")        = -1 ENOEXEC (Exec format error)
ioctl(2147483647, TIOCNXCL, 0x7f8042b8) = -1 EBADF (Bad file descriptor)
write(2, "modprobe: can't load module x_ta"..., 95modprobe: can't load module x_
tables (kernel/net/netfilter/x_tables.ko): invalid module format
) = 95
exit(1)                                 = ?
root@fritz:/lib/modules/2.6.19.2/kernel/net/netfilter# strace modprobe x_tables
> /tmp/o.txt
execve("/sbin/modprobe", ["modprobe", "x_tables"], [/* 217 vars */]) = 0
old_mmap(NULL, 20, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2
aaad000
open("/usr/lib/freetz/libc.so.0", O_RDONLY) = -1 ENOENT (No such file or directo
ry)
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=455372, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0
x2aaae000
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0\254\0\0\0\0004"...
, 4096) = 4096
old_mmap(NULL, 499712, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aabe000
old_mmap(0x2aabe000, 403252, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
 0x2aabe000
old_mmap(0x2ab30000, 8224, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x620
00) = 0x2ab30000
old_mmap(0x2ab33000, 18752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON
YMOUS, -1, 0) = 0x2ab33000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
stat("/lib/ld-uClibc.so.0", {st_mode=S_IFREG|0755, st_size=22536, ...}) = 0
mprotect(0x2ab30000, 4096, PROT_READ)   = 0
mprotect(0x2aabc000, 4096, PROT_READ)   = 0
ioctl(0, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCNXCL, 0x7f81d4b8)          = -1 ENOTTY (Inappropriate ioctl for dev
ice)
getuid()                                = 0
~
 
Modprobe kommt also schon mal soweit, dass das Modul an den Kernel übergeben wird. Allerdings sind anscheinend die Kernel-Meldungen umgeleitet.

Ich selbst habe keine 7270, aber Du kannst versuchen, ob beim Lesen von /dev/debug etwas sinnvolles herauskommt, oder versuchen mit "echo STD_PRINTK > /dev/debug" das normale Verhalten der Kernel-Meldungen wiederherzustellen.
 
Ich selbst habe keine 7270, aber Du kannst versuchen, ob beim Lesen von /dev/debug etwas sinnvolles herauskommt, oder versuchen mit "echo STD_PRINTK > /dev/debug" das normale Verhalten der Kernel-Meldungen wiederherzustellen.

Guten Morgen Ralf,
ich werde es nach der Arbeit heute Abend testen und berichten.
Es ist übrigens eine 7390, keine 7220.
Gruss Heiko
 
Erst seit der neuen Firmware (05.05).

Gruß
Oliver
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.