PXE booting Ubuntu Precise CDs fails to load X (race condition)

Bug #1012590 reported by Thomi Richards
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Three different machines fail in the same way:

I'm PXE booting the precise daily live CD [1], and if I let the boot progress normally, X starts with the "low graphics mode" dialog. The XOrg log shows an error relating to the drm module[2].

At this point, if I close the "low graphics mode" dialog and restart lightdm, everything comes up properly.

What's interesting is that if I pass "break=mount" to the kernel and boot into the busybox shell, and then exit the busybox shell without changing anything, X loads the desktop perfectly.

I have tried:
 * Different machines. I get exactly the same result across three different machines running different graphics hardware (intel, nvidia, ati).
 * Different ISO images (precise daily live CD, precise release DVD, and quantal daily live CD).
 * Putting the graphics driver modules into the CD initrd, so they're loaded earlier in the boot sequence, all with no effect.

[1] http://cdimages.ubuntu.com/precise/daily-live/current/precise-desktop-i386.iso
[2] http://static.inky.ws/image/2161/image.jpg
---
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory
AplayDevices: aplay: device_list:252: no soundcards found...
ApportVersion: 2.0.1-0ubuntu5
Architecture: i386
ArecordDevices: arecord: device_list:252: no soundcards found...
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
CasperVersion: 1.315
DistroRelease: Ubuntu 12.04
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120609)
MachineType: MSI MS-7676
NonfreeKernelModules: squashfs overlayfs nfs lockd fscache auth_rpcgss nfs_acl sunrpc dm_mirror dm_region_hash dm_log usbhid hid i915 drm_kms_helper drm i2c_algo_bit video r8169 firewire_ohci firewire_core crc_itu_t
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: initrd=/images/dx-autopilot-test/initrd.lz ksdevice=bootif lang= log_host=10.128.92.2 locale=en_US netboot=nfs boot=casper --verbose priority=critical log_port=514 netcfg/choose_interface=auto nfsroot=10.97.4.1:/var/lib/tftpboot/dx-autopilot hostname=dx domain=local.lan suite=oneiric BOOT_IMAGE=/images/dx-autopilot-test/vmlinuz BOOTIF=01-8c-89-a5-16-02-3c
ProcVersionSignature: Ubuntu 3.4.0-3.8-generic 3.4.0
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.4.0-3-generic N/A
 linux-backports-modules-3.4.0-3-generic N/A
 linux-firmware 1.79
RfKill:

Tags: precise
Uname: Linux 3.4.0-3-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 05/04/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V10.2
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Z68MA-ED55 (MS-7676)
dmi.board.vendor: MSI
dmi.board.version: 2.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.version: 2.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV10.2:bd05/04/2011:svnMSI:pnMS-7676:pvr2.0:rvnMSI:rnZ68MA-ED55(MS-7676):rvr2.0:cvnMSI:ct3:cvr2.0:
dmi.product.name: MS-7676
dmi.product.version: 2.0
dmi.sys.vendor: MSI

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1012590

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: precise
Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote :
tags: added: apport-collected
description: updated
Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote : AcpiTables.txt

apport information

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote : AudioDevicesInUse.txt

apport information

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote : BootDmesg.txt

apport information

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote : Lspci.txt

apport information

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote : Lsusb.txt

apport information

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote : PciMultimedia.txt

apport information

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote : ProcEnviron.txt

apport information

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote : ProcModules.txt

apport information

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote : UdevDb.txt

apport information

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote : UdevLog.txt

apport information

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote : WifiSyslog.txt

apport information

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote :
Changed in linux (Ubuntu):
status: Incomplete → Opinion
status: Opinion → Confirmed
Revision history for this message
Andy Whitcroft (apw) wrote :

@Thomi -- ok below is some new kernels with additional debug. Please boot those with and without drm.debug enabled and let us know what comes out in dmesg:

    http://people.canonical.com/~apw/lp1012590-precise/

Thanks.

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote :

With drm.debug turned ON, I get the attached dmesg output. Interestingly, X starts working again.

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote :

Now attaching dmesh output with drm.debug turned OFF. It turns out that this boots X as well, so I guess there's something in that custom kernel that resolves the issue - what did you change?

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.