用的是sarge testing,之前有update kernel.
# dpkg -l | grep kernel
ii iptables 1.2.11-8 Linux kernel 2.4+ iptables administration to
ii kernel-image-2 2.4.27-6 Linux kernel image for version 2.4.27 on 386
不過不清楚為什麼uname -r的結果如下:
mail:/lib/modules# uname -r
2.4.27-1-386
為什麼是2.4.27-1-386而不是2.4.27-6 ?不知這樣是否正常?
今天要用iptables才發現這樣的問題.
- 代碼: 選擇全部
mail:/lib/modules# iptables -L
/lib/modules/2.4.27-1-386/kernel/net/ipv4/netfilter/ip_tables.o: /lib/modules/2.4.27-1-386/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol nf_unregister_sockopt_Ra47c80d3
/lib/modules/2.4.27-1-386/kernel/net/ipv4/netfilter/ip_tables.o: /lib/modules/2.4.27-1-386/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol create_proc_entry_R6f117def
/lib/modules/2.4.27-1-386/kernel/net/ipv4/netfilter/ip_tables.o: /lib/modules/2.4.27-1-386/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol irq_stat_Refe6ab5f
/lib/modules/2.4.27-1-386/kernel/net/ipv4/netfilter/ip_tables.o: /lib/modules/2.4.27-1-386/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol nf_register_sockopt_Rf09a11a3
/lib/modules/2.4.27-1-386/kernel/net/ipv4/netfilter/ip_tables.o: /lib/modules/2.4.27-1-386/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol remove_proc_entry_R3183023b
/lib/modules/2.4.27-1-386/kernel/net/ipv4/netfilter/ip_tables.o: /lib/modules/2.4.27-1-386/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol proc_net_R9f411cd1
/lib/modules/2.4.27-1-386/kernel/net/ipv4/netfilter/ip_tables.o: insmod /lib/modules/2.4.27-1-386/kernel/net/ipv4/netfilter/ip_tables.o failed
/lib/modules/2.4.27-1-386/kernel/net/ipv4/netfilter/ip_tables.o: insmod ip_tables failed
iptables v1.2.11: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
做depmod -a幾乎全部都是 Unresolved symbols的error,節錄如下:
- 代碼: 選擇全部
mail:/tmp# depmod -a 2>&1 | head
depmod: *** Unresolved symbols in /lib/modules/2.4.27-1-386/kernel/arch/i386/kernel/apm.o
depmod: *** Unresolved symbols in /lib/modules/2.4.27-1-386/kernel/arch/i386/kernel/edd.o
depmod: *** Unresolved symbols in /lib/modules/2.4.27-1-386/kernel/crypto/deflate.o
depmod: *** Unresolved symbols in /lib/modules/2.4.27-1-386/kernel/crypto/tcrypt.o
depmod: *** Unresolved symbols in /lib/modules/2.4.27-1-386/kernel/drivers/acpi/ac.o
depmod: *** Unresolved symbols in /lib/modules/2.4.27-1-386/kernel/drivers/acpi/asus_acpi.o
depmod: *** Unresolved symbols in /lib/modules/2.4.27-1-386/kernel/drivers/acpi/battery.o
depmod: *** Unresolved symbols in /lib/modules/2.4.27-1-386/kernel/drivers/acpi/button.o
depmod: *** Unresolved symbols in /lib/modules/2.4.27-1-386/kernel/drivers/acpi/fan.o
depmod: *** Unresolved symbols in /lib/modules/2.4.27-1-386/kernel/drivers/acpi/processor.o
請教怎麼處理比較好呢!?