[Bug 925098] Re: [precise] bad interplay between grub menu, X driver and 3.2.0 kernel
Jamie Strandboge
jamie at ubuntu.com
Tue Feb 7 17:42:57 UTC 2012
Here is the /etc/default/grub menu for this machine.
** Description changed:
On 11.10 and earlier, if I used a default /etc/default/grub file, the
- kernel would boot fine and X would run fine. After upgrading to 12.04
- today, I found that while lightdm would come up, after I logged into the
- desktop X was horribly broken with flashing colors and the like. This
- was my only clue in kern.log:
+ kernel would boot fine and X would run fine. This was true whether or
+ not I accessed the grub2 menu (ie, holding shift after the BIOS screen
+ goes away).
+
+ After upgrading to 12.04 today, I found that after accessing the grub2
+ menu, while lightdm would come up, after I logged into the desktop X was
+ horribly broken with flashing colors and the like. This was my only clue
+ in kern.log:
Feb 1 14:12:58 harry kernel: [ 33.626782] [drm:drm_mode_getfb]
*ERROR* invalid framebuffer id
- So I rebooted to try the 11.10 kernel and I could login to the desktop fine with no problems. I noticed that I could not get the grub menu to show up however (I used GRUB_DEFAULT=2 in /etc/default/grub in order to boot into the 3.0.0 11.10 kernel), so I started playing with GRUB_GFXMODE. 'vbeinfo' told me the recommended setting should be "1024x768", so I tried that with no change (ie, I couldn't see the grub menu). I then used:
- GRUB_GFXMODE=640x480
+ If I do not access the grub2 menu, I can login to X and everything is
+ fine.
- and rebooted. This time I was able to see the grub menu. So I changed
- back to GRUB_DEFAULT=0, ran update-grub and rebooted into the 12.04
- 3.2.0 kernel. At this point I was able to login to the 12.04 desktop
- with the 3.2.0 kernel with no errors in kern.log.
+ I verified that booting into the 11.10 kernel on precise works as
+ expected: I can login to the desktop whether I access the grub menu or
+ not.
- It appears that my hardware is reporting that 1024x768 is what should be
- used, presumably defaulting to it and then not being initialized
- correctly/working right with the new kernel and X stack.
-
- At this point my system is in good order, but this was a very bad
- upgrade experience in general.
+ This will be a problem for anyone who is not using the default installed
+ kernel (eg testing, booting into a known-good kernel). The workaround is
+ to adjust /etc/default/grub and set GRUB_DEFAULT to the kernel you want
+ to boot into and run 'update-grub' (so we don't have to access the grub2
+ menu).
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-12-generic-pae 3.2.0-12.21
ProcVersionSignature: Ubuntu 3.2.0-12.21-generic-pae 3.2.2
Uname: Linux 3.2.0-12-generic-pae i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices: aplay: device_list:242: no soundcards found...
ApportVersion: 1.91-0ubuntu1
Architecture: i386
ArecordDevices: arecord: device_list:242: no soundcards found...
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D2', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Date: Wed Feb 1 14:26:34 2012
HibernationDevice: RESUME=UUID=cff0bc83-50c8-4d48-9481-d28efd2e9380
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
IwConfig:
lo no wireless extensions.
vboxnet0 no wireless extensions.
eth0 no wireless extensions.
ProcEnviron:
LC_CTYPE=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LANG=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-12-generic-pae root=UUID=c646f9ef-dc15-4a2a-9dc9-649a5a03589a ro quiet splash vt.handoff=7
PulseSinks: Error: command ['pacmd', 'list-sinks'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
PulseSources: Error: command ['pacmd', 'list-sources'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
linux-restricted-modules-3.2.0-12-generic-pae N/A
linux-backports-modules-3.2.0-12-generic-pae N/A
linux-firmware 1.68
RfKill:
SourcePackage: linux
StagingDrivers: mei
UpgradeStatus: Upgraded to precise on 2012-02-01 (0 days ago)
dmi.bios.date: 08/04/2006
dmi.bios.vendor: Intel Corp.
dmi.bios.version: CO96510J.86A.4462.2006.0804.2059
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: DQ965GF
dmi.board.vendor: Intel Corporation
dmi.board.version: AAD41676-400
dmi.chassis.type: 2
dmi.modalias: dmi:bvnIntelCorp.:bvrCO96510J.86A.4462.2006.0804.2059:bd08/04/2006:svn:pn:pvr:rvnIntelCorporation:rnDQ965GF:rvrAAD41676-400:cvn:ct2:cvr:
** Attachment added: "grub"
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/925098/+attachment/2722170/+files/grub
** Tags added: regression-release
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/925098
Title:
[precise] bad interplay between grub menu, X driver and 3.2.0 kernel
Status in “grub2” package in Ubuntu:
New
Status in “linux” package in Ubuntu:
Confirmed
Bug description:
On 11.10 and earlier, if I used a default /etc/default/grub file, the
kernel would boot fine and X would run fine. This was true whether or
not I accessed the grub2 menu (ie, holding shift after the BIOS screen
goes away).
After upgrading to 12.04 today, I found that after accessing the grub2
menu, while lightdm would come up, after I logged into the desktop X
was horribly broken with flashing colors and the like. This was my
only clue in kern.log:
Feb 1 14:12:58 harry kernel: [ 33.626782] [drm:drm_mode_getfb]
*ERROR* invalid framebuffer id
If I do not access the grub2 menu, I can login to X and everything is
fine.
I verified that booting into the 11.10 kernel on precise works as
expected: I can login to the desktop whether I access the grub menu or
not.
This will be a problem for anyone who is not using the default
installed kernel (eg testing, booting into a known-good kernel). The
workaround is to adjust /etc/default/grub and set GRUB_DEFAULT to the
kernel you want to boot into and run 'update-grub' (so we don't have
to access the grub2 menu).
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-12-generic-pae 3.2.0-12.21
ProcVersionSignature: Ubuntu 3.2.0-12.21-generic-pae 3.2.2
Uname: Linux 3.2.0-12-generic-pae i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices: aplay: device_list:242: no soundcards found...
ApportVersion: 1.91-0ubuntu1
Architecture: i386
ArecordDevices: arecord: device_list:242: no soundcards found...
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D2', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Date: Wed Feb 1 14:26:34 2012
HibernationDevice: RESUME=UUID=cff0bc83-50c8-4d48-9481-d28efd2e9380
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
IwConfig:
lo no wireless extensions.
vboxnet0 no wireless extensions.
eth0 no wireless extensions.
ProcEnviron:
LC_CTYPE=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LANG=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-12-generic-pae root=UUID=c646f9ef-dc15-4a2a-9dc9-649a5a03589a ro quiet splash vt.handoff=7
PulseSinks: Error: command ['pacmd', 'list-sinks'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
PulseSources: Error: command ['pacmd', 'list-sources'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
linux-restricted-modules-3.2.0-12-generic-pae N/A
linux-backports-modules-3.2.0-12-generic-pae N/A
linux-firmware 1.68
RfKill:
SourcePackage: linux
StagingDrivers: mei
UpgradeStatus: Upgraded to precise on 2012-02-01 (0 days ago)
dmi.bios.date: 08/04/2006
dmi.bios.vendor: Intel Corp.
dmi.bios.version: CO96510J.86A.4462.2006.0804.2059
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: DQ965GF
dmi.board.vendor: Intel Corporation
dmi.board.version: AAD41676-400
dmi.chassis.type: 2
dmi.modalias: dmi:bvnIntelCorp.:bvrCO96510J.86A.4462.2006.0804.2059:bd08/04/2006:svn:pn:pvr:rvnIntelCorporation:rnDQ965GF:rvrAAD41676-400:cvn:ct2:cvr:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/925098/+subscriptions
More information about the foundations-bugs
mailing list