Kernel panic: not syncing

Welches Modul/Treiber für welche Hardware, Kernel compilieren...
Antworten
Benutzeravatar
Stefanowitsch
Beiträge: 274
Registriert: 21.09.2003 22:20:05

Kernel panic: not syncing

Beitrag von Stefanowitsch » 06.11.2005 14:16:33

Hallo,

ich habe mir mit den Sourcen von http://www.kernel.org meinen eigenen Kernel (2.6.14) kompiliert. Nach dem Starten bekomme ich eine Kernel-Panic-Fehlermeldung:

Code: Alles auswählen

Kernel panic - not syncing: No init found. Try to pass init= option to kernel
Davor steht noch

Code: Alles auswählen

hda: cannot handle device with more than 16 heads - giving up
Das Linux-System soll von /dev/hda (ext3-Filesystem) gestartet werden. Ext3 habe ich fest in den Kernel kompiliert, ebenso den IDE-Festplatten-Controller, um die Verwendung von initrd zu vermeiden:

Code: Alles auswählen

~$ lspci 
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
0000:00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
0000:00:04.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:04.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 16)
0000:00:04.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 16)
0000:00:04.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
0000:00:09.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
0000:00:09.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)
0000:00:0b.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller
0000:00:0c.0 VGA compatible controller: NVidia / SGS Thomson (Joint Venture) Riva128 (rev 10)

Code: Alles auswählen

CONFIG_BLK_DEV_VIA82CXXX=y

Code: Alles auswählen

CONFIG_EXT3_FS=y
Meine /etc/fstab sieht so aus:

Code: Alles auswählen

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda1       /               ext3    defaults,errors=remount-ro 0       1
/dev/hda5       none            swap    sw              0       0
/dev/hdc        /media/cdrom0   iso9660 ro,user,noauto  0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
Und das ist die /boot/grub/menu.lst (zumindest der relevante Teil):

Code: Alles auswählen

title           Debian GNU/Linux, kernel 2.6.14
root            (hd0,0)
kernel          /boot/vmlinuz root=/dev/hda1 ro 
savedefault
boot

title           Debian GNU/Linux, kernel 2.6.14 (recovery mode)
root            (hd0,0)
kernel          /boot/vmlinuz root=/dev/hda1 ro single
savedefault
boot
Die ganze Konfigurationsdatei für den Kernel ist hier zu finden.

Danke und viele Grüße,

Stefan

Benutzeravatar
KBDCALLS
Moderator
Beiträge: 22455
Registriert: 24.12.2003 21:26:55
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Dortmund
Kontaktdaten:

Beitrag von KBDCALLS » 06.11.2005 18:28:32

Mal ein Debianpaket versucht ?
Was haben Windows und ein Uboot gemeinsam?
Kaum macht man ein Fenster auf, gehen die Probleme los.

EDV ist die Abkürzung für: Ende der Vernunft

Bevor du einen Beitrag postest:
  • Kennst du unsere Verhaltensregeln
  • Lange Codezeilen/Logs gehören nach NoPaste, in Deinen Beitrag dann der passende Link dazu.

Benutzeravatar
KBDCALLS
Moderator
Beiträge: 22455
Registriert: 24.12.2003 21:26:55
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Dortmund
Kontaktdaten:

Beitrag von KBDCALLS » 06.11.2005 18:54:05

Aber das ist ja auch kein Wunder wenn du du den alten IDE Treiber nimmst.

Code: Alles auswählen

#
CONFIG_BLK_DEV_HD_IDE=y
Muß aus , also N

Code: Alles auswählen

 Linux Kernel v2.6.14 Configuration
 ──────────────────────────────────────────────────────────────────────────────
  ┌───────────── Use old disk-only driver on primary interface ─────────────┐
  │ CONFIG_BLK_DEV_HD_IDE:                                                  │
  │                                                                         │
  │ There are two drivers for MFM/RLL/IDE disks.  Most people use just      │
  │ the new enhanced driver by itself.  This option however installs the    │
  │ old hard disk driver to control the primary IDE/disk interface in       │
  │ the system, leaving the new enhanced IDE driver to take care of only    │
  │ the 2nd/3rd/4th IDE interfaces.  Doing this will prevent you from       │
  │ having an IDE/ATAPI CD-ROM or tape drive connected to the primary       │
  │ IDE interface.  Choosing this option may be useful for older systems    │
  │ which have MFM/RLL/ESDI controller+drives at the primary port           │
  │ address (0x1f0), along with IDE drives at the secondary/3rd/4th port    │
  │ addresses.                                                              │
  │                                                                         │
  │ Normally, just say N here; you will then use the new driver for all     │
  │ 4 interfaces.                                                           │
  │                                                                         │
  ├─────────────────────────────────────────────────────────────────( 65%)──┤
  │                                < Exit >                                 │
  └─────────────────────────────────────────────────────────────────────────┘


Code: Alles auswählen

 Linux Kernel v2.6.14 Configuration
 ──────────────────────────────────────────────────────────────────────────────
  ┌─────────────────────── ATA/ATAPI/MFM/RLL support ───────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.          │
  │  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, │
  │  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> │
  │  for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       │
  │ ┌─────────────────────────────────────────────────────────────────────┐ │
  │ │<M> ATA/ATAPI/MFM/RLL support                                        │ │
  │ │<M>   Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support            │ │
  │ │---     Please see Documentation/ide.txt for help/info on IDE drives │ │
  │ │[ ]     Support for SATA (deprecated; conflicts with libata SATA driv│ │
  │ │[ ]     Use old disk-only driver on primary interface                │ │
  │ │<M>     Include IDE/ATA-2 DISK support                               │ │
  │ │[ ]     Use multi-mode by default                                    │ │
  │ │<M>     PCMCIA IDE support                                           │ │
  │ │<M>     Include IDE/ATAPI CDROM support                              │ │
  │ │<M>     Include IDE/ATAPI TAPE support (EXPERIMENTAL)                │ │
  │ └v(+)─────────────────────────────────────────────────────────────────┘ │
  ├─────────────────────────────────────────────────────────────────────────┤
  │                    <Select>    < Exit >    < Help >                     │
  └─────────────────────────────────────────────────────────────────────────┘


Was haben Windows und ein Uboot gemeinsam?
Kaum macht man ein Fenster auf, gehen die Probleme los.

EDV ist die Abkürzung für: Ende der Vernunft

Bevor du einen Beitrag postest:
  • Kennst du unsere Verhaltensregeln
  • Lange Codezeilen/Logs gehören nach NoPaste, in Deinen Beitrag dann der passende Link dazu.

Antworten