Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#15389 - fallback kernel loads X

Attached to Project: Arch Linux
Opened by Michal (broch) - Sunday, 05 July 2009, 18:24 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 05 July 2009, 22:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I have nvidia driver installed. selecting Fallback kernel will load X. This is new and not desirable setting

corresponding grub line:
# (3) Arch Linux
title Arch Linux Fallback
root (hd0,0)
kernel /vmlinuz26 root=/dev/sda2 ro
initrd /kernel26-fallback.img

inittab file:
cat /etc/inittab
#
# /etc/inittab
#

# Runlevels:
# 0 Halt
# 1(S) Single-user
# 2 Not used
# 3 Multi-user
# 4 Not used
# 5 X11
# 6 Reboot

id:5:initdefault:

rc::sysinit:/etc/rc.sysinit
rs:S1:once:/etc/rc.single
rm:2345:once:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p

c1:2345:respawn:/sbin/agetty 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty 38400 vc/2 linux
#c3:2345:respawn:/sbin/agetty 38400 vc/3 linux
#c4:2345:respawn:/sbin/agetty 38400 vc/4 linux
#c5:2345:respawn:/sbin/agetty 38400 vc/5 linux
#c6:2345:respawn:/sbin/agetty 38400 vc/6 linux

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

#x:5:respawn:/usr/bin/xdm -nodaemon

# End of file

nvidia module installed for:
$ locate nvidia.ko
/lib/modules/2.6.29.5-grsec-CHACONNE/kernel/drivers/video/nvidia.ko
/lib/modules/2.6.30-ARCH/kernel/drivers/video/nvidia.ko
/lib/modules/2.6.31-rc1-zen1-RIGAUDON/kernel/drivers/video/nvidia.ko


Additional info:
* package version(s)
i686 system updated on 07-05-09
* config and/or log files etc.


Steps to reproduce:
similar preblem reported here:
http://bbs.archlinux.org/viewtopic.php?id=75160
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Sunday, 05 July 2009, 22:51 GMT
Reason for closing:  Not a bug
Comment by Roman Kyrylych (Romashka) - Sunday, 05 July 2009, 18:39 GMT
I've read the forum topic but still don't understand where's the bug in this behaviour, and how is this related to kernel and more so - to nvidia.
Comment by Jan de Groot (JGC) - Sunday, 05 July 2009, 18:59 GMT
The fallback kernel only loads an initramfs module that contains all modules. This has been this way since the first release of a kernel26 package with optimized initrd/initramfs.
Comment by Thomas Bächler (brain0) - Sunday, 05 July 2009, 20:26 GMT
Can you please include all information in the bug report? Like - what the actual problem is? I will not proceed with this any further until I get a proper problem description.
Comment by Michal (broch) - Sunday, 05 July 2009, 20:47 GMT
Thomas Bächler (brain0):
"Can you please include all information in the bug report? Like - what the actual problem is? I will not proceed with this any further until I get a proper problem description."

I did explain this in my first post:
1) bug title: "fallback kernel loads X"
2) description:
"...Description:
...selecting Fallback kernel will load X..."

I really thought that this is as clear as possible: when selected fallback kernel loads X, it should not (and never did until now). When I boot fallback kernel I am greeted with X login (in my case kdm). I added information regarding files that may be related to the issue. If you do not understand what is the problem, I am not sure what are you expecting from me. Whatever information you need I will provide it.

Roman Kyrylych (Romashka):
"I've read the forum topic but still don't understand where's the bug in this behaviour, and how is this related to kernel and more so - to nvidia."

Neither do I, that is why I am asking for your help. Because it looks like I am not the only one with the problem, I decided to open this bug.

Jan de Groot (JGC):
"The fallback kernel only loads an initramfs module that contains all modules. This has been this way since the first release of a kernel26 package with optimized initrd/initramfs. The fallback kernel only loads an initramfs module that contains all modules. This has been this way since the first release of a kernel26 package with optimized initrd/initramfs."

well there is a lot of changes related to video (KMS, PAT and so on), maybe there is a bug introduced in the vanilla sources.

If there is any additional information you need I will try to provide it.
I have other problems related to 2.6.30. kernel sources introduced bug into PAT (I am not reporting this here as this is evidently not Arch fault), it seems that recent changes to the kernel may be a reason of this problem.
Comment by Roman Kyrylych (Romashka) - Sunday, 05 July 2009, 21:13 GMT
Your inittab has:
id:5:initdefault:
which means this gets active:
rm:2345:once:/etc/rc.multi
which means DAEMONS array in rc.conf gets processed
which means that 'kdm' that you have there (I bet you do!) gets started
which means X gets started

Where is the bug?
Comment by Roman Kyrylych (Romashka) - Sunday, 05 July 2009, 21:18 GMT
as for your message on forum: "the problem is that fallback should not boot to GUI, while it does." - why it should not boot to GUI? it is the same as non-fallback image, just with more modules, and it was always that way, and it has nothing to do with GUI either.

try appending '3' to your kernel line in fallback config in menu.lst, as was suggested by forum moderator.
Comment by Michal (broch) - Sunday, 05 July 2009, 21:31 GMT
why not?
because fallback allows to fix things including X which should be offline (and until recently it was).

thank you
Comment by Roman Kyrylych (Romashka) - Sunday, 05 July 2009, 22:10 GMT
it is fallback _kernel_image_, it cannot magically turn loading X off, you have to specify it in menu.lst

> and until recently it was
I don't recall such behaviour
Comment by Michal (broch) - Sunday, 05 July 2009, 22:50 GMT
O.K.
thank you, added 3 at the end of fallback kernel line

Loading...