First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 122018
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: John Mylchreest (RETIRED) <johnm@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: René Fleschenberg <rene@korteklippe.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
config kernel config text/plain René Fleschenberg 2006-02-07 11:34 0000 19.11 KB Details
dmesg dmesg output text/plain René Fleschenberg 2006-02-07 11:37 0000 8.94 KB Details
diff config diff text/plain René Fleschenberg 2006-02-07 11:41 0000 406 bytes Details
lspci lspci text/plain René Fleschenberg 2006-02-07 15:54 0000 599 bytes Details
grub grub config text/plain René Fleschenberg 2006-02-07 15:56 0000 422 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 122018 depends on: Show dependency tree
Bug 122018 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-02-07 11:28 0000
After updating from sys-kernel/hardened-sources-2.6.14-r3 to 2.6.14-r5, my
machine fails to boot. The error message 'Failed to open an initial console' is
displayed and the system automatically restarts.

How the problem occured:
I emerged 2.6.14-r5, copied over my .config and executed 'make oldconfig' and
then 'make install' (I do not use any kernel modules). After trying to reboot
into the new kernel, the above problem occured. 2.6.14-r3 still works perfectly
with the exact same config.

Output of 'emerge info' follows. 

Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14-hardened-r3 i686)
=================================================================
System uname: 2.6.14-hardened-r3 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache2 bash-completion crypt hardened nls nptl pam ssl tcpd unicode
linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY

------- Comment #1 From Kerin Millar 2006-02-07 11:33:10 0000 -------
Please attach to this bug:

  * The ".config" files from both your 2.6.14-r3 and 2.6.14-r5 source trees
  * The output of the "dmesg" command having booted with your 2.6.14-r3 kernel

Thanks.

------- Comment #2 From René Fleschenberg 2006-02-07 11:34:43 0000 -------
Created an attachment (id=79148) [edit]
kernel config

This is my .config which is working with the 2.6.14-hardened-r3 kernel, but not
with r5.

After executing 'make oldconfig' in the r5 kernel tree, the only diff between
this one and the newly generated .config is in the version comments.

------- Comment #3 From René Fleschenberg 2006-02-07 11:37:32 0000 -------
Created an attachment (id=79149) [edit]
dmesg output

The output of 'dmesg' running 2.6.14-hardened-r3.

------- Comment #4 From René Fleschenberg 2006-02-07 11:41:57 0000 -------
Created an attachment (id=79150) [edit]
config diff

Output of 'diff -u' between the r3 config and the r5 config after running 'make
oldconfig' in the r5 tree.

------- Comment #5 From Kerin Millar 2006-02-07 12:20:41 0000 -------
OK, can you also attach/say:

  * lscpi output
  * information about arguments passed to kernel and/or the relevant conf
snippet
  * which version of udev you're running

Can you also do the following:

  # mkdir /tmproot
  # mount -o bind / /tmproot
  # ls -l /tmproot/dev/{null,console} <-- what does this say?

------- Comment #6 From René Fleschenberg 2006-02-07 15:54:43 0000 -------
Created an attachment (id=79173) [edit]
lspci

Outpout of 'lspci'.

------- Comment #7 From René Fleschenberg 2006-02-07 15:56:52 0000 -------
Created an attachment (id=79174) [edit]
grub config

------- Comment #8 From René Fleschenberg 2006-02-07 15:59:33 0000 -------
>   * which version of udev you're running

I am running sys-fs/udev-079-r1.

------- Comment #9 From René Fleschenberg 2006-02-07 16:02:42 0000 -------
(In reply to comment #5)
>   # mkdir /tmproot
>   # mount -o bind / /tmproot
>   # ls -l /tmproot/dev/{null,console} <-- what does this say?

# ls -l /tmproot/dev/console /tmproot/dev/null

crw-------  1 root tty  5, 1 17. Feb 2005  /tmproot/dev/console
crwxrwxrwx  1 root root 1, 3 17. Feb 2005  /tmproot/dev/null

------- Comment #10 From Kerin Millar 2006-03-07 03:20:04 0000 -------
Here are two things for you to test. Firstly, to apply the following patch to
your existing 2.6.14-r5 tree and test:

  * http://tinyurl.com/rwz9z

Secondly, to install the sources from scratch like so (then test again with
same .config):

  # UNIPATCH_EXCLUDE="1410" emerge =hardened-sources-2.6.14-r5

Please let me know the outcome as soon as you can - thanks.

------- Comment #11 From Kerin Millar 2006-03-10 05:18:53 0000 -------
Changing resolution to TEST-REQUEST and removing the block (until the reporter
responds). Please see bug 121925 for details of further work on the
hardened-sources tree as it stands.

------- Comment #12 From Kerin Millar 2006-03-16 04:43:04 0000 -------
Note that hardened-sources-2.6.14-r6 has been committed so it would be good for
this to be tested. It incorporates the patch linked to in comment 10.

------- Comment #13 From René Fleschenberg 2006-03-16 05:10:45 0000 -------
Sorry for the delay. I will test this with -r6 ASAP.

------- Comment #14 From René Fleschenberg 2006-03-17 15:05:35 0000 -------
It seems to be fixed in -r6. Thanks.

------- Comment #15 From Kerin Millar 2006-03-17 16:30:11 0000 -------
Great! Thanks for testing it.

------- Comment #16 From Kerin Millar 2006-03-17 16:36:01 0000 -------
Oops, wrong resolution - re-opening to rectify ...

------- Comment #17 From Kerin Millar 2006-03-17 16:38:08 0000 -------
Marking as FIXED :)

First Last Prev Next    No search results available      Search page      Enter new bug