Bug 866285 - kernel fails to install from source due to issue with /etc/sysconfig/keyboard
Summary: kernel fails to install from source due to issue with /etc/sysconfig/keyboard
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F18-accepted, F18FinalFreezeExcept
TreeView+ depends on / blocked
 
Reported: 2012-10-15 03:06 UTC by Dan Mashal
Modified: 2012-11-28 09:36 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-28 09:30:00 UTC
Type: Bug


Attachments (Terms of Use)

Description Dan Mashal 2012-10-15 03:06:40 UTC
When running make install from kernel source the following error occurs:
 
sh /root/linux-3.6.2/arch/x86/boot/install.sh 3.6.2 arch/x86/boot/bzImage \
	System.map "/boot"
/etc/sysconfig/keyboard: line 1: vconsole.keymap=us: command not found

Steps to reproduce:

1) get latest kernel from kernel.org (3.6.1 or 3.6.2 in this case)
2) tar -zxvf linux-3.6.2.tar.gz
3) cd linux-3.6.2/
4) yum install @development-tools ncurses-devel -y
5) make mrproper
6) make oldconfig
7) make prepare
8) make menuconfig
9) choose options, save config
10) make
11) make modules_install
12) make bzImage
13) make install

receive error shown above.

Fix: copy /etc/sysconfig/keyboard from f17 which looks like:

KEYTABLE="us"
MODEL="pc105+inet"
LAYOUT="us"

Comment 1 Jens Petersen 2012-10-15 03:12:46 UTC
Might be helpful to see the make install output.

Comment 2 Dan Mashal 2012-10-15 03:23:11 UTC
Make install output is the following:

"sh /root/linux-3.6.2/arch/x86/boot/install.sh 3.6.2 arch/x86/boot/bzImage \
	System.map "/boot"
/etc/sysconfig/keyboard: line 1: vconsole.keymap=us: command not found"

Comment 3 Josh Boyer 2012-10-15 10:12:11 UTC
Installs call /sbin/installkernel which is provided by grubby.  Either grubby or dracut is spitting this error out.  It's not a kernel problem.

Comment 4 Dan Mashal 2012-10-15 13:20:26 UTC
thx.

Comment 5 Dan Mashal 2012-10-19 19:43:20 UTC
Sorry to be a pest but can someone provide an update on this please?

Comment 6 Bill Nottingham 2012-10-19 19:53:51 UTC
What does your /etc/sysconfig/keyboard look like?

Comment 7 Dan Mashal 2012-10-19 19:55:06 UTC
it was something like vconsole.keymap="us"

Comment 8 Dan Mashal 2012-10-23 02:31:07 UTC
This is causing multiple issues,

Gnome netinstall, compiling kernel, changing plymouth themes, etc.

Filing as a blocker along with related bugs.

Comment 9 Josh Boyer 2012-10-23 12:44:56 UTC
(In reply to comment #8)
> This is causing multiple issues,
> 
> Gnome netinstall, compiling kernel, changing plymouth themes, etc.

The kernel builds fine in Fedora.  It's not blocking F18 in that regard.

Comment 10 Dan Mashal 2012-10-24 22:25:28 UTC
You are right. I was merely pointing out the relationship between bugs.

Comment 11 Kevin Stange 2012-11-06 20:54:46 UTC
I may be misunderstanding something... Why is this bug listed as being blocked by the F18Beta tracker bug?

Comment 12 Jens Petersen 2012-11-07 04:10:26 UTC
No idea - I removed F18Beta.

Comment 13 Jens Petersen 2012-11-07 04:11:40 UTC
Dan, if you want to escalate this you could propose it as a NTH
under F18-accepted.

Comment 14 Dan Mashal 2012-11-07 05:14:06 UTC
Done and thanks. Removed the bug dependency and added both bugs as NTH.

Comment 15 Harald Hoyer 2012-11-19 13:35:45 UTC
(In reply to comment #8)
> This is causing multiple issues,
> 
> Gnome netinstall, compiling kernel, changing plymouth themes, etc.
> 
> Filing as a blocker along with related bugs.

This misconfiguration is _not_ caused by dracut!

Comment 16 Bill Nottingham 2012-11-20 15:50:40 UTC
This was a bug in an earlier anaconda build. However, I'm pretty sure it's been fixed. Can you reproduce this with current TC trees?

Comment 17 Dan Mashal 2012-11-20 16:02:42 UTC
Will try

Comment 18 Adam Williamson 2012-11-27 09:49:15 UTC
I'm not aware of anyone but Dan hitting this, so don't think it qualifies as a 'commonbug' as things stand. dropping keyword for now.

Comment 19 Chris Lumens 2012-11-27 14:13:48 UTC
This was fixed by:

commit 96f844476268cefbc8779d037be386834974fd0a
Author: Bill Nottingham <notting@redhat.com>
Date:   Thu Oct 25 23:56:25 2012 -0400

    /etc/sysconfig/keyboard doesn't support vconsole.xyz options

Which was included in anaconda-18.22.

Comment 20 Dan Mashal 2012-11-27 22:46:57 UTC
Thanks. Will test.

Comment 21 Dan Mashal 2012-11-28 09:30:00 UTC
Confirmed the fix.

[root@f18 linux-3.6.8]# make install
sh /root/linux-3.6.8/arch/x86/boot/install.sh 3.6.8 arch/x86/boot/bzImage \
	System.map "/boot"
[root@f18 linux-3.6.8]#


Note You need to log in before you can comment on or make changes to this bug.