"We are back" « oc.at

Warning: The initial RAM disk is too big to fit between the kernel ... Fehler

Philipp 18.09.2005 - 01:00 1069 3
Posts

Philipp

Here to stay
Registered: Jul 2001
Location: Wien
Posts: 1970
Ich habe mir einen neuen Root Server mit Debian 3.1 zugelegt. Da die vorinstallierte Kernel Version nicht alle Module enthält und außerdem noch ein 2.4er Kernel ist, habe ich den offiziellen Debian Kernel 2.6.8-2 installiert.

Leider will der Server den 2.6er Kernel nicht booten (Kernel Panic) :(

Lilo gibt ein paar Warnmeldungen von sich:
Zitat
debian:~# lilo -v -v
LILO version 22.6.1, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2004 John Coffman
Released 17-Nov-2004, and compiled at 12:32:32 on May 25 2005
Debian GNU/Linux

Warning: LBA32 addressing assumed
raid_setup returns offset = 00000000 ndisk = 0
BIOS VolumeID Device
Reading boot sector from /dev/hda
pf_hard_disk_scan: ndevs=1
0300 7E914A2F /dev/hda
device codes (user assigned pf) = 0
device codes (user assigned) = 0
device codes (BIOS assigned) = 1
device codes (canonical) = 1
mode = 0x03, columns = 80, rows = 25, page = 0
Using MENU secondary loader
Calling map_insert_data
Secondary loader: 18 sectors (0x3400 dataend).
bios_boot = 0x80 bios_map = 0x80 map==boot = 0 map S/N: 7E914A2F
BIOS data check was okay on the last boot

Boot image: /boot/vmlinuz-2.6.8-2-386
Setup length is 10 sectors.
Mapped 2146 sectors.
Mapping RAM disk /boot/initrd.img-2.6.8-2-386
RAM disk: 30808 sectors.
Warning: The initial RAM disk is too big to fit between the kernel and
the 15M-16M memory hole. It will be loaded in the highest memory as
though the configuration file specified "large-memory" and it will
be assumed that the BIOS supports memory moves above 16M.
Added Linux ?

Boot image: /boot/vmlinuz -> vmlinuz-2.4.29
Setup length is 5 sectors.
Mapped 3037 sectors.
Added LinuxOLD *

BIOS VolumeID Device
80 7E914A2F 0300
Writing boot sector.
/boot/boot.0300 exists - no boot sector backup copy made.
Map file size: 198144 bytes.
RAID device mask 0x0000

Ich vermute das es daran liegt:
Zitat
Mapping RAM disk /boot/initrd.img-2.6.8-2-386
RAM disk: 30808 sectors.
Warning: The initial RAM disk is too big to fit between the kernel and
the 15M-16M memory hole. It will be loaded in the highest memory as
though the configuration file specified "large-memory" and it will
be assumed that the BIOS supports memory moves above 16M.
Irgendwelche Ideen?
Bearbeitet von Philipp am 18.09.2005, 16:33

Philipp

Here to stay
Registered: Jul 2001
Location: Wien
Posts: 1970
Ich schätze das initrd.img-2.6.8-2-386 mit seinen 17MB(!) schlicht und einfach zu groß sein. Kann man irgendwo einstellen welche Treiber in initrd.img enthalten sein sollen und welche nicht? Bei meinen anderen Servern belegen die initrd Images normalerweise nur 4MB-5MB

COLOSSUS

Administrator
GNUltra
Avatar
Registered: Dec 2000
Location: ~
Posts: 12142
Bau dir den Kernel neu, mit den Modulen die du brauchst sans anything else, und das wichtigste Zeug statisch im Image. Dann kannst du dir die initrd ganz sparen.

Philipp

Here to stay
Registered: Jul 2001
Location: Wien
Posts: 1970
Ich habe eine Lösung gefunden. Man muss in /etc/mkinitrd/mkinitrd.conf:
Code:
# What modules to install.                                                                                                                                          
MODULES=all
auf
Code:
# What modules to install.                                                                                                                                          
MODULES=most 
umstellen und initrd neu generieren. Jetzt sind nur noch die wichtigsten Module im initrd Image enthalten und der Server bootet normal hoch :)
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz