Probleme bei Kernel-Kompilierung 2.4.20

  • Themenstarter Themenstarter Rushjo
  • Beginndatum Beginndatum
R

Rushjo

Guest
Hi,

so nachdem ich eigentlich dachte, ich hätte das Problem mit der
beiden folgenden Fehlermeldungen durch Rekompilen meines RH8.0
2.4.20 Kernels gelöst, aber dem scheinbar nicht so ist, habe ich keine
Idee mehr, an was es liegen könnte.

Eigentlich sind es drei getrennte Probleme.

1. Fehlermeldung bei "Booten" und "Shutdown"

modprobe: modprobe: Can't locate module char-major-10-135

Ich hatte per Google eigentlich schon ein Lösung gesucht, sprich im
Kernel den RTC Support aktivieren unter "Charakter Device" , aber
danach taucht die Fehlermeldung immernoch auf!! Jetzt habe ich keine
Idee mehr?! Hier ist der Auszug von meinem Kernel mit RTC Support:

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_AMD_RNG is not set
# CONFIG_INTEL_RNG is not set
# CONFIG_AMD_PM768 is not set
# CONFIG_NVRAM is not set
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set


2. Fehlermeldung:

[root@localhost sbin]# ./iptables -L
modprobe: Can't locate module ip_tables
iptables v1.2.7a: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

So, das ist scheinbar ein Problem, da ich den iptables-Support im Kernel nicht aktiviert
hatte, habe ihn dann vor dem Rekompilen aktiviert, siehe hier:

#
# IP: Netfilter Configuration
#
# CONFIG_IP_NF_CONNTRACK is not set
# CONFIG_IP_NF_QUEUE is not set
CONFIG_IP_NF_IPTABLES=y
# CONFIG_IP_NF_MATCH_LIMIT is not set
# CONFIG_IP_NF_MATCH_MAC is not set
# CONFIG_IP_NF_MATCH_PKTTYPE is not set
# CONFIG_IP_NF_MATCH_MARK is not set
CONFIG_IP_NF_MATCH_MULTIPORT=y
# CONFIG_IP_NF_MATCH_TOS is not set
# CONFIG_IP_NF_MATCH_ECN is not set
# CONFIG_IP_NF_MATCH_DSCP is not set
# CONFIG_IP_NF_MATCH_AH_ESP is not set
# CONFIG_IP_NF_MATCH_LENGTH is not set
CONFIG_IP_NF_MATCH_TTL=y
CONFIG_IP_NF_MATCH_TCPMSS=y
# CONFIG_IP_NF_MATCH_UNCLEAN is not set
# CONFIG_IP_NF_MATCH_OWNER is not set
CONFIG_IP_NF_FILTER=y
# CONFIG_IP_NF_TARGET_REJECT is not set
# CONFIG_IP_NF_TARGET_MIRROR is not set
# CONFIG_IP_NF_MANGLE is not set
# CONFIG_IP_NF_TARGET_LOG is not set
# CONFIG_IP_NF_TARGET_ULOG is not set
# CONFIG_IP_NF_TARGET_TCPMSS is not set
# CONFIG_IP_NF_ARPTABLES is not set
# CONFIG_IPV6 is not set
# CONFIG_KHTTPD is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set

Aber trotzdem bekomme ich immernoch die Fehlermeldung, obwohl bei
"booten" iptables scheinbar normal gestartet wird. Wo kann der Fehler liegen?
Hatte auch schon das "neue" iptables v1.2.7a Modul installiert, aber daran lag
leider auch nicht!

3. Ich wollte eigentlich, das mein Rechner sich nach dem "shutdown" automatisch
ausschaltet und nicht nur "power down" dort steht. Dazu hatte ich ACPI Support
und APM im Kernel aktiviert, aber das hat auch nichts gebracht?! Irgendeine Idee?

#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=y
CONFIG_PM=y
CONFIG_ACPI=y
# CONFIG_ACPI_DEBUG is not set
# CONFIG_ACPI_BUSMGR is not set
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
# CONFIG_APM_RTC_IS_GMT is not set
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set

Hat denn Irgendjemand eine Idee für die Lösung dieser Probleme?
Wäre für alle Ideen und Tips dankbar!

Thx & MfG Rushjo
 
Hi,

wie kompilierst du deinen Kernel? Laut den Fehlermeldungen kann er die Module nicht laden! Versuch mal mit folgender Befehlskette deinen Kernel zu übersetzen:

make dep && make clear && make bzImage && make modules && make modules_install

MfG Little
 
Original von Rushjo
CONFIG_RTC=y

Das fehlende Modul ist fest in den Kern compiliert, also kann es als Modul selbstverstaendlich nicht mehr geladen werden. Entweder als Modul compilieren, oder nicht mehr versuchen es zu laden. Thats it. Bei iptables genau das selbe.
 
Zurück
Oben