kernel disabled console output and keyboard lights in early boot

Bug #1103406 reported by James Hunt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
High
Unassigned

Bug Description

Testing the fix for bug 1096531 on a MacBook Air results in frequent boot failures (1 failure in every 3 boots on average for me).

Seemingly 1-2 seconds after the kernel hands off to userland, the kernel freezes. I've tried to get output on a serial console, but no joy with this hardware.

The problem is unrelated to Upstart since I subvert Upstart starting by specifying init=... to load a menu system which then starts upstart on request. What I see is that the menu displays, then the kernel dumps details of new usb/bluetooth devices to the console, then the system is dead (no caps light, etc).

Screenshot attached.

This problem may be the same as seen by apw on a raring server system he has (this was discussed on #ubuntu-kernel yesterday).
---
ApportVersion: 2.8-0ubuntu2
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: james 24105 F.... pulseaudio
DistroRelease: Ubuntu 13.04
HibernationDevice: RESUME=UUID=6ceced21-ddb0-4f6c-b5a1-37ced96f43b0
InstallationDate: Installed on 2012-06-12 (225 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha i386 (20120609.1)
MachineType: Apple Inc. MacBookAir4,1
MarkForUpload: True
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-1-generic root=UUID=28f57e46-6814-4e4b-bbc1-512a9f51ca02 ro init=/sbin/upstart_menu.sh
ProcVersionSignature: Ubuntu 3.8.0-1.5-generic 3.8.0-rc4
RelatedPackageVersions:
 linux-restricted-modules-3.8.0-1-generic N/A
 linux-backports-modules-3.8.0-1-generic N/A
 linux-firmware 1.99
Tags: raring running-unity
Uname: Linux 3.8.0-1-generic i686
UpgradeStatus: Upgraded to raring on 2012-11-15 (68 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 01/24/2012
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBA41.88Z.0077.B0F.1201241549
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-C08A6BB70A942AC2
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookAir4,1
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-C08A6BB70A942AC2
dmi.modalias: dmi:bvnAppleInc.:bvrMBA41.88Z.0077.B0F.1201241549:bd01/24/2012:svnAppleInc.:pnMacBookAir4,1:pvr1.0:rvnAppleInc.:rnMac-C08A6BB70A942AC2:rvrMacBookAir4,1:cvnAppleInc.:ct10:cvrMac-C08A6BB70A942AC2:
dmi.product.name: MacBookAir4,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
---
ApportVersion: 2.8-0ubuntu2
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: james 13290 F.... pulseaudio
DistroRelease: Ubuntu 13.04
HibernationDevice: RESUME=UUID=6ceced21-ddb0-4f6c-b5a1-37ced96f43b0
InstallationDate: Installed on 2012-06-12 (225 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha i386 (20120609.1)
MachineType: Apple Inc. MacBookAir4,1
MarkForUpload: True
Package: linux (not installed)
ProcFB:
 0 inteldrmfb
 1 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-1-generic root=UUID=28f57e46-6814-4e4b-bbc1-512a9f51ca02 ro init=/sbin/upstart_menu.sh
ProcVersionSignature: Ubuntu 3.8.0-1.5-generic 3.8.0-rc4
RelatedPackageVersions:
 linux-restricted-modules-3.8.0-1-generic N/A
 linux-backports-modules-3.8.0-1-generic N/A
 linux-firmware 1.99
Tags: raring running-unity
Uname: Linux 3.8.0-1-generic i686
UpgradeStatus: Upgraded to raring on 2012-11-15 (68 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 01/24/2012
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBA41.88Z.0077.B0F.1201241549
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-C08A6BB70A942AC2
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookAir4,1
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-C08A6BB70A942AC2
dmi.modalias: dmi:bvnAppleInc.:bvrMBA41.88Z.0077.B0F.1201241549:bd01/24/2012:svnAppleInc.:pnMacBookAir4,1:pvr1.0:rvnAppleInc.:rnMac-C08A6BB70A942AC2:rvrMacBookAir4,1:cvnAppleInc.:ct10:cvrMac-C08A6BB70A942AC2:
dmi.product.name: MacBookAir4,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.

Revision history for this message
James Hunt (jamesodhunt) wrote :
Revision history for this message
James Hunt (jamesodhunt) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected raring running-unity
description: updated
Revision history for this message
James Hunt (jamesodhunt) wrote : BootDmesg.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : CRDA.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : CurrentDmesg.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : IwConfig.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : Lspci.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : Lsusb.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : ProcEnviron.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : ProcInterrupts.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : ProcModules.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : PulseList.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : RfKill.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : UdevDb.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : UdevLog.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : WifiSyslog.txt

apport information

Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
James Hunt (jamesodhunt) wrote : Re: kernel freezes 1-2 seconds after userland starts

Booting with nomodeset doesn't help.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Do you have the option to test earlier kernels? If so, it would be good to know if earlier kernel versions don't exhibit this bug.

Changed in linux (Ubuntu):
importance: Undecided → High
Revision history for this message
James Hunt (jamesodhunt) wrote : AlsaInfo.txt

apport information

summary: - kernel freezes 1-2 seconds after userland starts
+ kernel disabled console output and keyboard lights in early boot
description: updated
Revision history for this message
James Hunt (jamesodhunt) wrote : BootDmesg.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : CRDA.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : CurrentDmesg.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : IwConfig.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : Lspci.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : Lsusb.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : ProcEnviron.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : ProcInterrupts.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : ProcModules.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : PulseList.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : RfKill.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : UdevDb.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : UdevLog.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote : WifiSyslog.txt

apport information

Revision history for this message
James Hunt (jamesodhunt) wrote :

Any progress on this? I still have the problem with 3.8.0-11-generic such that booting is wholly unreliable (generally takes up to 3 attempts to actually get beyond the kernel).

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Hi James,

Were you able to test any earlier kernels, per comment #20?

Revision history for this message
James Hunt (jamesodhunt) wrote :

Hi Joseph,

Testing with all previous kernels that I have back to 3.4.0-5-generic result in the following messages (and nothing else):

Loading Linux <version> ...
Loading initial ramdisk ...

I've tried booting without an initrd, but the behaviour is the same. The recovery boot options for these kernels allow the kernel to boot, but I have still seen the loss of console output with 3.4.0-5-generic even in recovery mode. That said, I have not yet seen the problem with kernels 3.5.0-1-generic -> 3.8.0-14-generic in recovery mode. But it might point to gfx issues.

Note that I have only had this problem with a MacBook Air, but I believe apw has seen the same issue with one of his servers so it would be useful to get data from him on this issue.

Revision history for this message
Andy Whitcroft (apw) wrote :

Requesting testing with vt.handoff disabled (set gfxpayload=text in grub) to see if this is related to display initialisation.

Revision history for this message
James Hunt (jamesodhunt) wrote :
Revision history for this message
James Hunt (jamesodhunt) wrote :

Setting gfxpayload=text in grub doesn't seem to fix the problem.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Hi James,

So you are unable to boot any Quantal kernels? Can you try the following upstream kernels:

v3.6 final: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/
v3.7 final: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.7-raring/
v3.8-rc1: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.8-rc1-raring/

tags: added: performing-bisect
Revision history for this message
James Hunt (jamesodhunt) wrote :

Sorry - haven't been able to test all these kernels yet so will report back when I've had a chance.

However, what I have discovered is that the bug has something to do with the "quiet" and/or "splash" kernel options: I remove these so my init menu works correctly. However, I've reverted back to stock kernel command-line options and the problem appears to have gone (no sign of issues in 8 boots).

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.