View previous topic :: View next topic |
Author |
Message |
lermit Tux's lil' helper
Joined: 14 Oct 2005 Posts: 141
|
Posted: Sun Dec 17, 2006 12:59 am Post subject: [BOOT] try passing init= option to kernel (resolu) |
|
|
bonjour à tous
je n'ave plus à demarer ma gento.
Code: | EXT3-fs: mounted filesystem with ordered data mode.
VFS : mounded root (ext3 filesystem) readonly
Freeing unused kernel memory : 172k Freed.
kernel panic - not syncing: no init found. try passing init= option to kernel. |
voici mon fstab
Code: | /dev/hda3 / ext3 noatime 0 1
/dev/hda1 /boot ext2 noatime 1 2
/dev/hda2 none swap sw 0 0
/dev/hda5 /home ext3 noatime 0 0
/dev/hda6 /opt ext3 noatime 0 0
/dev/hda7 /usr ext3 noatime 0 0
/dev/hda8 /var ext3 noatime 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs nodev,nosuid,noexec 0 0 |
je boot avec lilo
voici lilo.conf
Code: |
boot=/dev/hda
prompt
timeout=30
default=gentoo2.6.18r4
image=/boot/gentoo-2.6.18-r4
label=gentoo2.6.18r4
read-only
root=/dev/hda3 |
de ou peu venir mon probleme et sur tout comme je peu le résoudre??
quelqu'un serait'il m'aider?
merci d'avance
lermit
Last edited by lermit on Sun Dec 17, 2006 11:30 am; edited 1 time in total |
|
Back to top |
|
|
SanKuKai Apprentice
Joined: 17 Feb 2006 Posts: 228 Location: Toulouse, France
|
Posted: Sun Dec 17, 2006 1:30 am Post subject: |
|
|
Salut.
Dans ton /etc/lilo.conf, je vois que tu as :
Ce serait pas plutôt :
EDIT : Oooooups j'ai rien dit je fais un amalgame avec grub désolé. |
|
Back to top |
|
|
kaworu Guru
Joined: 07 Dec 2005 Posts: 450
|
Posted: Sun Dec 17, 2006 2:34 am Post subject: |
|
|
ouhlala c'est pas joli ...
qu'est ce qui c'est passé avant ?
update kernel ? tu as bidouillée qqch ? _________________ Macbook
Core2Duo @ 2.0GHz - 1Go RAM - HD 80Go - Intel GMA 945
Gentoo GNU/Linux
~amd64 - 2.6.24-gentoo-r2 - Fluxbox || (KDE && Compiz-Fusion) |
|
Back to top |
|
|
lermit Tux's lil' helper
Joined: 14 Oct 2005 Posts: 141
|
Posted: Sun Dec 17, 2006 7:18 am Post subject: |
|
|
heu oui
j'était entrain d'installer un QOS mais je pence que j'ai dut avoir modifier le make menuconfig avant car j'ai tous passé en module se que j'avais coché et sa fonctionne toujours pas
comment je peu récupéré se qui a avant?? car j'ai le syslog-ng d'installer mais il me log que quand le kernel est installé
j'avais pansé de remettre par defaut le make menuconfig mais je sais pas comment faire. |
|
Back to top |
|
|
nost4r Apprentice
Joined: 08 Oct 2006 Posts: 164 Location: Bordeaux
|
Posted: Sun Dec 17, 2006 8:29 am Post subject: |
|
|
Tu boot sur un live cd , tu te chrootes et tu recompile ton kernel . |
|
Back to top |
|
|
lermit Tux's lil' helper
Joined: 14 Oct 2005 Posts: 141
|
Posted: Sun Dec 17, 2006 8:38 am Post subject: |
|
|
sa je sais faire mais le kernel panic est toujours la.
il faut si manque dans le kernel pour qu'il fonctionne correctement.
je pense quand dans mon probleme la solution la plus rapide et de remedre dans l'état inicial le fichier de copilation (make menuconfig) et de reselectionner tout se que j'ai besion. |
|
Back to top |
|
|
lermit Tux's lil' helper
Joined: 14 Oct 2005 Posts: 141
|
Posted: Sun Dec 17, 2006 9:52 am Post subject: |
|
|
voici se que j'ai su rcupéré avant le kernel panic
Code: | Uniform Multi-platform E-IDE driver Revison: 7.00alpha2
Ide: Assuming 33MHz system bus speed for PIO modes: override with idebus=xx
SIS5515: IDE controller «t PCI slot 0000:00:02.5
SIS5515: chipset revision 0
SIS5515: not 100% native mode: will probe irqs later
SIS5515: SIS 962/963 MutIOL IDE UDMA133 controller
ide1: BM-DMA at 0xff08-0xff0f. BIOS settings: hda:DMA, hdd:DMA
ide1: BM-DMA at 0xff08-0xff0f. BIOS settings: hdc:DMA, hdd:DMA
input: AT Translated Set 2 keyboard AS /class/input/Input©
hda: Maxtor 6K040L0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: LITE-ON LTR-40125S, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KIB
hda: 80293248 sectors (41110 MB) w/2048K1B Cache, CHS =65535/16/63, UDMA (133)
hda: cache f lushes supported
hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 >
hdc: ATAPI 46X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA (33)
Uniform CD-ROM driver Revision: 3,20
ACPI: PCI Interrupt 0000:00:03.2[D] -> GSI 23 (level, iow) -> IRQ 20
ehci_hcd 0000:00:03,2: EHCl Host Controller
ehci_hcd 0000:00:03.2: new USB but registered, assigned bus number 1
ehci_hcd 0000:00:03.2: Irq 20, io mem 0xcfffb000
ehci_hcd 0000:00:03.2: USB 2.0 started, EHCI 1,00, driuer 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
huh 1-0:1.0: USB hub found
huh 1-0:1.0: 6 ports detected
USB Universal Host Controller Interface driver v3.0
Initialising USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driuer usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
12c /dev entries driver
oproflle: using NMI Interrupt.
Ip_conntrack uersion 2.4 (3583 buckets, 28664 max) - 224 bytes per conntrack
Ip_tables: (C) 2000-2006 Netfilter Core Tean
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
using IPI Shortcut mode Time: tsc clocksource has been Installed.
kjournald starting. Commit Interval 5 second
EXT3-fs: mounted filesystem with ordered data mode.
UFS: Mounted root (ext3 fllesystem) readonly,
Freeing unused kernel memory: 172k freed
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
|
quelqu'un serait-il m'aides ? |
|
Back to top |
|
|
Enlight Advocate
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Sun Dec 17, 2006 10:38 am Post subject: |
|
|
alors idées en vrac :
- le fs est monté donc le kernel doit être ok (IMHO)
- Si tu monte /hda3 depuis un live-cd est-ce que /sbin/init y existe bien?
- Le fs passe le fsck avec succès?
- /usr est séparé, est-ce récent? parceque si par malheur /sbin/init utilise une lib dans /usr/lib c'est fini et il prétendra ne pas avoir trouvé /sbin/init (à vérifier avec ldd) |
|
Back to top |
|
|
lermit Tux's lil' helper
Joined: 14 Oct 2005 Posts: 141
|
Posted: Sun Dec 17, 2006 10:46 am Post subject: |
|
|
vois si les réponse a tes interogation
Enlight wrote: |
- Si tu monte /hda3 depuis un live-cd est-ce que /sbin/init y existe bien? |
Code: | (chroot) livecd / # vi /sbin/in
init insmod.static installkernel
insmod insmod.static.old
insmod.old insmod_ksymoops_clean
(chroot) livecd / # vi /sbin/init |
Enlight wrote: | - Le fs passe le fsck avec succès? |
Code: | (chroot) livecd / # fsck
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
/dev/hda3 is mounted.
WARNING!!! Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.
Do you really want to continue (y/n)? yes
/dev/hda3: recovering journal
/dev/hda3: clean, 6708/611648 files, 95250/1222948 blocks
e2fsck 1.39 (29-May-2006)
/dev/hda1 is mounted.
WARNING!!! Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.
Do you really want to continue (y/n)? yes
/dev/hda1 was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/hda1: 17/10040 files (0.0% non-contiguous), 3158/40128 blocks
|
Enlight wrote: | - /usr est séparé, est-ce récent? parceque si par malheur /sbin/init utilise une lib dans /usr/lib c'est fini et il prétendra ne pas avoir trouvé /sbin/init (à vérifier avec ldd) |
le /usr est toujours dans une autre partition dans mais install.
je n'ai pas tres bien compris se que tu voulais dire avec le ldd?
que doije faire avec la command ldd car je la connai pas? |
|
Back to top |
|
|
Enlight Advocate
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Sun Dec 17, 2006 10:55 am Post subject: |
|
|
ldd /sbin/init (enfin plutot ldd /mnt/point_de_montage_de_hda3/sbin/init, ça montre avec quelles librairies il est lié. faut vérifier qu'il n'y en ait pas dans /usr/lib et que si elles sont toutes bien dans /lib, il n'y en ait pas une qui soit un lien symbolique vers une de /usr/lib. |
|
Back to top |
|
|
lermit Tux's lil' helper
Joined: 14 Oct 2005 Posts: 141
|
Posted: Sun Dec 17, 2006 10:57 am Post subject: |
|
|
sa me donne sa
Code: |
(chroot) livecd / # ldd /sbin/init
linux-gate.so.1 => (0xffffe000)
libc.so.6 => /lib/libc.so.6 (0xb7e0d000)
/lib/ld-linux.so.2 (0xb7f2a000)
|
|
|
Back to top |
|
|
Enlight Advocate
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Sun Dec 17, 2006 10:59 am Post subject: |
|
|
ok donc toutes mes pistes sont à écarter a priori... ben heu... j'vais relire et réfléchir des fois qu'une idée venue du ciel me tomberait sur la gueule...
edit ;: si jamais le problème vient de la manière dont les arguments sont passé au kernel via lilo, je ne maitrise pas du tout la syntaxe lilo.
Last edited by Enlight on Sun Dec 17, 2006 11:01 am; edited 1 time in total |
|
Back to top |
|
|
lermit Tux's lil' helper
Joined: 14 Oct 2005 Posts: 141
|
Posted: Sun Dec 17, 2006 11:00 am Post subject: |
|
|
ok si tu veu plus d'info quoi se soitfait la demande. je ferai de monmeiux pour te répondre |
|
Back to top |
|
|
SanKuKai Apprentice
Joined: 17 Feb 2006 Posts: 228 Location: Toulouse, France
|
Posted: Sun Dec 17, 2006 11:05 am Post subject: |
|
|
Salut.
As-tu vu ce thread ?
Apparemment cette personne a eu le même problème que toi en oubliant de compiler le support ELF dans son noyau.
Vérifie, si ce n'est déjà fait, que t'as pas viré ce support en bidouillant ton kernel. |
|
Back to top |
|
|
Enlight Advocate
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Sun Dec 17, 2006 11:07 am Post subject: |
|
|
SanKuKai wrote: | Salut.
As-tu vu ce thread ?
Apparemment cette personne a eu le même problème que toi en oubliant de compiler le support ELF dans son noyau.
Vérifie, si ce n'est déjà fait, que t'as pas viré ce support en bidouillant ton kernel. |
Erf.... celle là elle m'aurait même pas éfleuré l'esprit! |
|
Back to top |
|
|
lermit Tux's lil' helper
Joined: 14 Oct 2005 Posts: 141
|
Posted: Sun Dec 17, 2006 11:35 am Post subject: |
|
|
merci à tous
s'etait bien l'elf qui etait pas installé
/usr/src/linux/.config
Code: | #
# Executable file formats
#
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not set |
|
|
Back to top |
|
|
|