PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : init Problem mit Kernel 2.6.5



Mr.Sailer
09.04.04, 12:19
Hallo,

Ich wollte heute mein Kernel 2.6.5 backen. hat auch alles gut geklappt. Aber beim booten kommt folgende Meldung:

K Desktop manager: kdm kommen die meldungen:
INIT: Id "1" respawing too fast: disbled for 5 minutes
INIT: Id "2" respawing too fast: disbled for 5 minutes
INIT: Id "4" respawing too fast: disbled for 5 minutes
INIT: Id "6" respawing too fast: disbled for 5 minutes
INIT: Id "4" respawing too fast: disbled for 5 minutes
INIT: Id "5" respawing too fast: disbled for 5 minutes
INI: no more processes left in this runlevel

Ich denke das da irgend ein Problem mit denrunlevel gibt. Nur wie könnte ich das Problem beheben?
Ich benutze debian SID.

MfG
Mr. Sailer

hp_tux
09.04.04, 12:52
Hallo,

nun, ich bin mir nicht ganz sicher, aber kann es vielleicht sein, daß der X-Server nicht läuft? Boote doch mal in einen anderen runlevel (ohne "kdm") und starte den X-Server von der Kommandozeile.

Gruß

hp_tux

Mr.Sailer
09.04.04, 12:58
Und wie boote ich in einem anderen runlevel? :D

MfG
Mr. Sailer

hp_tux
09.04.04, 13:18
Hallo,


Und wie boote ich in einem anderen runlevel?
nun, ich weiß nicht, in welchem Runlevel bei Dir "kdm" gestartet wird, meist ist es "5". In der Regel ist Runlevel "2" der richtige, manchmal aber auch "3". Du kannst in einen dieser Runlevel booten, indem Du am Prompt des Bootloaders (LILO oder GRUB) hinter dem Namen des Kernelimages (z.B. "vmlinuz") die Nummer des Runlevels als Parameter eingibst.

Beispiel:

vmlinuz 2

Have fun! ;)

Gruß

hp_tux

Mr.Sailer
09.04.04, 13:50
Ok. Vielen Dank. Ich habe jetzt ohne kdm gestartet. Das Problem ist jetzt einfach, das die Meldung nicht nach dem Versuch kdm zu starten kommt sondern bei cron irgendetwas.

Darum glaube ich nicht das es am xserver liegt. Wo kann es sonst noch liegen?

MfG
Mr. Sailer

hp_tux
09.04.04, 14:10
Hallo,


Ok. Vielen Dank. Ich habe jetzt ohne kdm gestartet. Das Problem ist jetzt einfach, das die Meldung nicht nach dem Versuch kdm zu starten kommt sondern bei cron irgendetwas.

Darum glaube ich nicht das es am xserver liegt. Wo kann es sonst noch liegen?
na, Du kannst ja mal schauen, welche Unterschiede es sonst noch gibt zwischen dem Standard-Runlevel (in dem auch "kdm" gestartet wird) und dem Runlevel, in dem Du Dich jetzt befindest. Oder Du deaktivierst einfach mal "kdm" im Standard-Runlevel und bootest nochmal neu.

Gruß

hp_tux

Mr.Sailer
09.04.04, 14:24
Ich habe kdm jetzt einfach mal deinstalliert. Und wenn ich jetzt mit dem alten Lernel boote komm ich in die Konsole nach dem booten. Nach dem starting periodie command scheduler: cron. kommt wieder die genau gleiche Meldung.:(

MfG
Mr. Sailer

hp_tux
09.04.04, 14:40
Hallo,

poste doch bitte mal Deine "/etc/inittab"!

Gruß

hp_tux

Mr.Sailer
09.04.04, 14:43
# /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $

# The default runlevel.
id:2:initdefault:

# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

# What to do in single-user mode.
~~:S:wait:/sbin/sulogin

# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin

# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

# Action on special keypress (ALT-UpArrow).
#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."

# What to do when the power fails/returns.
pf::powerwait:/etc/init.d/powerfail start
pn::powerfailnow:/etc/init.d/powerfail now
po::powerokwait:/etc/init.d/powerfail stop

# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
# <id>:<runlevels>:<action>:<process>
#
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

# Example how to put a getty on a serial line (for a terminal)
#
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100

# Example how to put a getty on a modem line.
#
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3

BBlack
09.04.04, 14:47
Schau mla hier wurde das auch schonmal behandelt. Die SuFu ist echt manchmal ne sinnige Sache..

http://www.linuxforen.de/forums/showthread.php?t=92185&highlight=respawing+too :cool:

Mr.Sailer
09.04.04, 14:54
Leider helfen mit die Antworten dort auch nicht weiter:(

Da bei mir die Fehlermeldung später kommt.

MfG
Mr. Sailer

hp_tux
09.04.04, 15:06
Hallo,

steht in Deiner "/etc/fstab" zufällig etwas von "devfs"? Dann fehlt wahrscheinlich die notwendige Unterstützung im Kernel!

Gruß

hp_tux

Mr.Sailer
09.04.04, 16:22
Ne steht nichts. :)

Meine fstab:

/dev/hda3 / ext2 errors=remount-ro 0 1
/dev/hda2 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy auto user,noauto 0 0
/dev/cdrom /cdrom iso9660 ro,user,noauto 0 0

Achja den 2.6.4 Kernel den ich mit ähnlicher config gebacken habe kann ich booten.

MfG
Mr. Sailer

hp_tux
09.04.04, 16:32
Hallo,


Achja den 2.6.4 Kernel den ich mit ähnlicher config gebacken habe kann ich booten.
hmm, was heißt ähnlich? Wo liegen denn genau die Unterschiede? Die kannst du z.B. mit "diff" ermitteln.

Gruß

hp_tux

Mr.Sailer
09.04.04, 17:03
das kam bein diff config2.6.4 config2.6.5 heraus:



26c26,27
< # CONFIG_IKCONFIG is not set
---
> CONFIG_IKCONFIG=y
> CONFIG_IKCONFIG_PROC=y
57c58
< CONFIG_M386=y
---
> # CONFIG_M386 is not set
68c69
< # CONFIG_MK7 is not set
---
> CONFIG_MK7=y
70d70
< # CONFIG_MELAN is not set
78,81c78,89
< CONFIG_X86_L1_CACHE_SHIFT=4
< CONFIG_RWSEM_GENERIC_SPINLOCK=y
< CONFIG_X86_PPRO_FENCE=y
< CONFIG_X86_F00F_BUG=y
---
> CONFIG_X86_CMPXCHG=y
> CONFIG_X86_XADD=y
> CONFIG_X86_L1_CACHE_SHIFT=6
> CONFIG_RWSEM_XCHGADD_ALGORITHM=y
> CONFIG_X86_WP_WORKS_OK=y
> CONFIG_X86_INVLPG=y
> CONFIG_X86_BSWAP=y
> CONFIG_X86_POPAD_OK=y
> CONFIG_X86_GOOD_APIC=y
> CONFIG_X86_INTEL_USERCOPY=y
> CONFIG_X86_USE_PPRO_CHECKSUM=y
> CONFIG_X86_USE_3DNOW=y
86a95
> CONFIG_X86_TSC=y
93c102,106
< # CONFIG_EDD is not set
---
>
> #
> # Firmware Drivers
> #
> CONFIG_EDD=y
113,120c126,133
< CONFIG_ACPI_AC=m
< CONFIG_ACPI_BATTERY=m
< CONFIG_ACPI_BUTTON=m
< CONFIG_ACPI_FAN=m
< CONFIG_ACPI_PROCESSOR=m
< CONFIG_ACPI_THERMAL=m
< CONFIG_ACPI_ASUS=m
< CONFIG_ACPI_TOSHIBA=m
---
> CONFIG_ACPI_AC=y
> # CONFIG_ACPI_BATTERY is not set
> # CONFIG_ACPI_BUTTON is not set
> CONFIG_ACPI_FAN=y
> CONFIG_ACPI_PROCESSOR=y
> CONFIG_ACPI_THERMAL=y
> # CONFIG_ACPI_ASUS is not set
> # CONFIG_ACPI_TOSHIBA is not set
177c190
< # CONFIG_PARPORT_PC_SUPERIO is not set
---
> CONFIG_PARPORT_PC_SUPERIO=y
196a210
> # CONFIG_BLK_DEV_CARMEL is not set
211c225
< # CONFIG_BLK_DEV_HD_IDE is not set
---
> CONFIG_BLK_DEV_HD_IDE=y
213,215c227,229
< # CONFIG_IDEDISK_MULTI_MODE is not set
< # CONFIG_IDEDISK_STROKE is not set
< # CONFIG_BLK_DEV_IDECD is not set
---
> CONFIG_IDEDISK_MULTI_MODE=y
> CONFIG_IDEDISK_STROKE=y
> CONFIG_BLK_DEV_IDECD=y
218c232
< # CONFIG_IDE_TASK_IOCTL is not set
---
> CONFIG_IDE_TASK_IOCTL=y
229,230c243
< # CONFIG_DMA_NONPCI is not set
< # CONFIG_BLK_DEV_HD is not set
---
> CONFIG_BLK_DEV_HD=y
244a258
> # CONFIG_FUSION is not set
257,260d270
< # Macintosh device drivers
< #
<
< #
280d289
< # CONFIG_INET_ECN is not set
293d301
< CONFIG_IPV6_SCTP__=y
323c331
< CONFIG_DUMMY=y
---
> CONFIG_DUMMY=m
337,338c345,346
< # CONFIG_VORTEX is not set
< # CONFIG_TYPHOON is not set
---
> CONFIG_VORTEX=y
> CONFIG_TYPHOON=y
345,368c353
< CONFIG_NET_PCI=y
< # CONFIG_PCNET32 is not set
< # CONFIG_AMD8111_ETH is not set
< # CONFIG_ADAPTEC_STARFIRE is not set
< # CONFIG_B44 is not set
< # CONFIG_FORCEDETH is not set
< # CONFIG_DGRS is not set
< # CONFIG_EEPRO100 is not set
< # CONFIG_E100 is not set
< # CONFIG_FEALNX is not set
< # CONFIG_NATSEMI is not set
< # CONFIG_NE2K_PCI is not set
< # CONFIG_8139CP is not set
< CONFIG_8139TOO=y
< CONFIG_8139TOO_PIO=y
< CONFIG_8139TOO_TUNE_TWISTER=y
< CONFIG_8139TOO_8129=y
< CONFIG_8139_OLD_RX_RESET=y
< CONFIG_8139_RXBUF_IDX=2
< # CONFIG_SIS900 is not set
< # CONFIG_EPIC100 is not set
< # CONFIG_SUNDANCE is not set
< # CONFIG_TLAN is not set
< # CONFIG_VIA_RHINE is not set
---
> # CONFIG_NET_PCI is not set
390c375
< CONFIG_PLIP=m
---
> # CONFIG_PLIP is not set
392,395c377
< CONFIG_SLIP=m
< CONFIG_SLIP_COMPRESSED=y
< CONFIG_SLIP_SMART=y
< # CONFIG_SLIP_MODE_SLIP6 is not set
---
> # CONFIG_SLIP is not set
407a390
> # CONFIG_NETCONSOLE is not set
427,435c410,412
< CONFIG_BT=m
< # CONFIG_BT_L2CAP is not set
< # CONFIG_BT_SCO is not set
<
< #
< # Bluetooth device drivers
< #
< # CONFIG_BT_HCIUART is not set
< # CONFIG_BT_HCIVHCI is not set
---
> # CONFIG_BT is not set
> # CONFIG_NETPOLL is not set
> # CONFIG_NET_POLL_CONTROLLER is not set
481a459
> # CONFIG_KEYBOARD_LKKBD is not set
486a465
> # CONFIG_MOUSE_VSXXXAA is not set
514,518d492
<
< #
< # Mice
< #
< CONFIG_BUSMOUSE=m
610,671c584
< CONFIG_SOUND=y
<
< #
< # Advanced Linux Sound Architecture
< #
< CONFIG_SND=y
< CONFIG_SND_SEQUENCER=y
< CONFIG_SND_SEQ_DUMMY=y
< CONFIG_SND_OSSEMUL=y
< CONFIG_SND_MIXER_OSS=y
< CONFIG_SND_PCM_OSS=y
< # CONFIG_SND_SEQUENCER_OSS is not set
< # CONFIG_SND_VERBOSE_PRINTK is not set
< CONFIG_SND_DEBUG=y
< # CONFIG_SND_DEBUG_MEMORY is not set
< # CONFIG_SND_DEBUG_DETECT is not set
<
< #
< # Generic devices
< #
< CONFIG_SND_DUMMY=y
< # CONFIG_SND_VIRMIDI is not set
< CONFIG_SND_MTPAV=y
< CONFIG_SND_SERIAL_U16550=y
< CONFIG_SND_MPU401=y
<
< #
< # PCI devices
< #
< # CONFIG_SND_ALI5451 is not set
< # CONFIG_SND_AZT3328 is not set
< # CONFIG_SND_BT87X is not set
< # CONFIG_SND_CS46XX is not set
< # CONFIG_SND_CS4281 is not set
< # CONFIG_SND_EMU10K1 is not set
< # CONFIG_SND_KORG1212 is not set
< # CONFIG_SND_NM256 is not set
< # CONFIG_SND_RME32 is not set
< # CONFIG_SND_RME96 is not set
< # CONFIG_SND_RME9652 is not set
< # CONFIG_SND_HDSP is not set
< # CONFIG_SND_TRIDENT is not set
< # CONFIG_SND_YMFPCI is not set
< # CONFIG_SND_ALS4000 is not set
< CONFIG_SND_CMIPCI=y
< # CONFIG_SND_ENS1370 is not set
< # CONFIG_SND_ENS1371 is not set
< # CONFIG_SND_ES1938 is not set
< # CONFIG_SND_ES1968 is not set
< # CONFIG_SND_MAESTRO3 is not set
< # CONFIG_SND_FM801 is not set
< # CONFIG_SND_ICE1712 is not set
< # CONFIG_SND_ICE1724 is not set
< # CONFIG_SND_INTEL8X0 is not set
< # CONFIG_SND_SONICVIBES is not set
< # CONFIG_SND_VIA82XX is not set
< # CONFIG_SND_VX222 is not set
<
< #
< # Open Sound System
< #
< # CONFIG_SOUND_PRIME is not set
---
> # CONFIG_SOUND is not set
687c600,602
< # CONFIG_EXT2_FS_XATTR is not set
---
> CONFIG_EXT2_FS_XATTR=y
> # CONFIG_EXT2_FS_POSIX_ACL is not set
> # CONFIG_EXT2_FS_SECURITY is not set
689c604,606
< # CONFIG_EXT3_FS_XATTR is not set
---
> CONFIG_EXT3_FS_XATTR=y
> # CONFIG_EXT3_FS_POSIX_ACL is not set
> # CONFIG_EXT3_FS_SECURITY is not set
691a609
> CONFIG_FS_MBCACHE=y
724,725c642,646
< # CONFIG_DEVFS_FS is not set
< # CONFIG_DEVPTS_FS_XATTR is not set
---
> CONFIG_DEVFS_FS=y
> CONFIG_DEVFS_MOUNT=y
> CONFIG_DEVFS_DEBUG=y
> CONFIG_DEVPTS_FS_XATTR=y
> CONFIG_DEVPTS_FS_SECURITY=y
738,739c659
< CONFIG_BEFS_FS=y
< CONFIG_BEFS_DEBUG=y
---
> # CONFIG_BEFS_FS is not set
761c681
< # CONFIG_SUNRPC_GSS is not set
---
> # CONFIG_RPCSEC_GSS_KRB5 is not set
765a686
> # CONFIG_INTERMEZZO_FS is not set


MfG
Mr. Sailer

hp_tux
09.04.04, 21:56
Hallo,


Achja den 2.6.4 Kernel den ich mit ähnlicher config gebacken habe kann ich booten.
hmm, was verstehst Du unter "ähnlich", Du meinst sicher, jede Ähnlichkeit ist rein zufällig! Wenn das wirklich die richtigen Dateien sind, die Du da verglichen hast, dann hast Du im 2.6.5er "devfs" reinkompiliert, beim 2.6.4er jedoch nicht. Nun kann ich mir vorstellen, daß der Kernel dieses "devfs" dann auch verwenden will, und das nicht funktioniert, weil der "devfsd" nicht zur Verfügung steht.

Wenn Du den 2.6.5er mit der gleichen Konfiguration haben willst wie den 2.6.4er, dann mußt Du (nach einem beherzten "make mrproper")die Datei ".config" vom 2.6.4er in das Stammverzeichnis der aktuellen Kernelsourcen kopieren und "make oldconfig" laufen lassen. Danach kannst Du dann kompilieren und installieren.

Have fun! :)

Gruß

hp_tux