Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219087 - hardened-sources-2.6.24 does not boot initrd
Summary: hardened-sources-2.6.24 does not boot initrd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-23 22:21 UTC by Jeremy Huddleston (RETIRED)
Modified: 2008-04-30 22:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
2.6.24-hardened .config (config-2.6.24,46.96 KB, text/plain)
2008-04-27 02:37 UTC, Jeremy Huddleston (RETIRED)
Details
lspci -v (lspci,6.67 KB, text/plain)
2008-04-27 02:38 UTC, Jeremy Huddleston (RETIRED)
Details
2.6.23-hardened-r9 config (config-2.6.23,45.32 KB, text/plain)
2008-04-27 02:41 UTC, Jeremy Huddleston (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston (RETIRED) gentoo-dev 2008-04-23 22:21:53 UTC
I can successfully boot 2.6.23-hardened-r9, but when I boot using 2.6.24-hardened, I get the following message:

RAMDISK: incomplete write (-28 != 32768) 8388608

I have the following in grub.conf:
title  linux
root (hd0,0)
kernel /boot/linux32/kernel root=/dev/evms/upe_root ramdisk=16384
initrd /boot/linux32/evms-2.5.3-initrd-x86.gz


The initrd is only 16M in size, and the same image boots fine if kernel is 2.6.23-hardened-r9, but not 2.6.24-hardened.  On a hunch, I bumped ramdisk=32768 with no success.


emerge --info:

Portage 2.1.4.4 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.23-hardened-r9 i686)
=================================================================
System uname: 2.6.23-hardened-r9 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Timestamp of tree: Tue, 22 Apr 2008 09:45:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -fomit-frame-pointer -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -fomit-frame-pointer -O2 -pipe"
DISTDIR="/var/tmp/distfiles"
FEATURES="ccache distlocks loadpolicy metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.utf8"
LINGUAS="en es ja"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
SYNC="rsync://rsync8.us.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib alsa amrnb ao apache2 asf audiofile bash-completion berkdb bidi bitmap-fonts bl browserplugin bzip2 cdda cddb cdparanoia cjk clamav cpudetection cracklib crypt cups curl dba dbus deprecated dga dri dts dv dvd eds elf emacs enca encode enscript erandom esd exif expat fam fame fat ffmpeg firefox flac flash font-server fontconfig fortran fpx ftp gd gd-external gdbm gif glibc-omitfp glut glx gmp gnome gnutls gpm graphviz gs gstreamer gtk gtk2 gtkhtml guild guile gzip hal hardened hardenedphp hdri i8x0 iconv icq idn imap imlib imlib2 iproute2 ipsec ipv6 jack java jbig jp2 jpeg jpeg2k kcal kde lame lcms libcaca libclamav libgda libvisual linuxthreads-tls live lm_sensors logitech-mouse logrotate lzo mad maildir md5sum mhash midi ming mixer mjpeg mmx mmxext mng mod_python modperl mouse mp2 mp3 mp4 mpeg mpeg2 mplayer multislot musepack musicbrainz mysql mysqli ncurses network networking new-login nfs nls nptl nsplugin oav objc ocaml ogg oggvorbis openal opendoc openexr opengl oss pam pam_chroot pcre perl php pic png pnm portaudio postfix povray ppds pvr python pyzor q32 qt qt3 quicktime quotas radio rar razor readline real regex rtc samba sasl sdk sdl sensord sndfile sockets sox spamassassin speex spell sql sqlite sqlite3 srt sse sse2 ssl startup-notification subtitles subversion suexec suhosin svg sysfs syslog tcpd teletext tga theora tiff timidity tivo transcode truetype type1 udev unicode urandom usb utf8 vcd vcdimager vfat vidix vim vim-pager vim-with-x virus-scan visualization vorbis win32codecs wma wmf wxwindows x264 x86 xanim xchat xemacs xfs xft xine xinetd xml xml2 xmlreader xorg xpm xprint xrandr xscreensaver xv xvid xvmc yahoo zip zlib zoran" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias auth_digest authn_dbd dbd ident imagemap" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es ja" USERLAND="GNU" VIDEO_CARDS="fbdev i810 vga vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 kfm 2008-04-27 01:08:50 UTC
Jeremy, please attach your .config and a lspci -nn dump. Also, I am wondering if you are using a SCSI enclosure of any kind?
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2008-04-27 02:37:18 UTC
Created attachment 151090 [details]
2.6.24-hardened .config
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2008-04-27 02:38:13 UTC
Created attachment 151091 [details]
lspci -v
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2008-04-27 02:39:18 UTC
I saw that patch in git as well... no SCSI enclosures here, though...
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2008-04-27 02:41:11 UTC
Created attachment 151093 [details]
2.6.23-hardened-r9 config
Comment 6 Gordon Malm (RETIRED) gentoo-dev 2008-04-30 12:12:16 UTC
Could you try again with 2.6.24-r1 that is in the tree now?  If it still doesn't work, could you try to provide more of the boot output, etc.?
Comment 7 Jeremy Huddleston (RETIRED) gentoo-dev 2008-04-30 22:53:19 UTC
2.6.24-r1 boots fine.