Bug 69170 - Unable to boot fedora 19 with intel HD4000 without nomodeset
Summary: Unable to boot fedora 19 with intel HD4000 without nomodeset
Status: RESOLVED WORKSFORME
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-10 08:38 UTC by Dan
Modified: 2014-04-11 13:17 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
/var/log/xorg.0.log.old from boot WITH nomodeset (81.29 KB, text/plain)
2013-09-10 08:38 UTC, Dan
no flags Details
/var/log/messages (229.25 KB, text/plain)
2013-09-12 18:02 UTC, Dan
no flags Details

Description Dan 2013-09-10 08:38:12 UTC
Created attachment 85541 [details]
/var/log/xorg.0.log.old from boot WITH nomodeset

This is a 'flipping' touch screen Dell XPS-12 running a fresh install of Fedora 19 from install media (not live media), yum updated as of 2013.09.09 including testing releases and current testing kernel, same results with non-testing kernel and with kernel 3.11.0-3.fc20.x86_64. Booting from UEFI without secure boot.

Boots OK with nomodeset in kernel parameters (will not resume from suspend; not sure this is related).

With nomodeset removed, comes up with black screen after selecting boot from grub2.

With acpi_backlight=vendor boot parameter, black screen problem goes away, encryption screen works, 'f bubble' on boot (or boot messages after pressing 'esc') visible, but hangs on boot.

After searching, tried boot parameters:

acpi_osi=Linux does not help.

acpi_osi="!Windows 2012" does not help. (attached xorg.0.log.old from this trial)

i915.modeset=1 does not help.

 

Tried installing rpm-fusion and mesa-dri-drivers:

$ yum list installed | grep mesa
mesa-dri-drivers.x86_64 9.2-1.20130902.fc19 @updates-testing
mesa-filesystem.x86_64 9.2-1.20130902.fc19 @updates-testing
mesa-libEGL.x86_64 9.2-1.20130902.fc19 @updates-testing
mesa-libGL.x86_64 9.2-1.20130902.fc19 @updates-testing
mesa-libGLU.x86_64 9.0.0-2.fc19 @fedora 
mesa-libgbm.x86_64 9.2-1.20130902.fc19 @updates-testing
mesa-libglapi.x86_64 9.2-1.20130902.fc19 @updates-testing
mesa-libxatracker.x86_64 9.2-1.20130902.fc19 @updates-testing

no change after installing these.

graphics hardware:
$ sudo lspci -s 00:02.0 -vv -nn
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
Subsystem: Dell Device [1028:0589]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 16
Region 0: Memory at c0000000 (64-bit, non-prefetchable) [size=4M]
Region 2: Memory at b0000000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at 2000 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
Address: 00000000 Data: 0000
Capabilities: [d0] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [a4] PCI Advanced Features
AFCap: TP+ FLR+
AFCtrl: FLR-
AFStatus: TP-

rest of lspci:
$ lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:04.0 Signal processing controller: Intel Corporation 3rd Gen Core Processor Thermal Subsystem (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QS77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
00:1f.6 Signal processing controller: Intel Corporation 7 Series/C210 Series Chipset Family Thermal Management Controller (rev 04)
02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6235 (rev 24)


would love to be able to boot this machine with good graphics driver
Comment 1 Chris Wilson 2013-09-10 11:01:50 UTC
Wrong log file - that has nomodeset. Can you also please attach the dmesg, preferrably with drm.debug=6?
Comment 2 Jani Nikula 2013-09-10 12:00:38 UTC
(In reply to comment #0)
> Booting from UEFI without secure boot.

Please also try CSM, or legacy, boot.

> With acpi_backlight=vendor boot parameter, black screen problem goes away,
> encryption screen works, 'f bubble' on boot (or boot messages after pressing
> 'esc') visible, but hangs on boot.

Odd. Can you ping or ssh into the machine?

Please also include what Chris asked.
Comment 3 Dan 2013-09-12 18:02:57 UTC
Created attachment 85730 [details]
/var/log/messages
Comment 4 Dan 2013-09-12 18:04:34 UTC
Turns out that, without nomodeset, the machine does not boot up far enough to write the xorg.log (or so I surmise). Also can't ssh into it or ping it in this state. I will upload /var/log/messages; maybe something there. I guess dmesg doesn't persist past reboot so not sure how to get that info uploaded short of hand writing a bunch of stuff. Physical photo of screen with boot messages maybe? Dual boot system with win8; will have to mess with bios to try legacy boot and I may not be skilled enough with grub2 etc to do it, but iirc the behavior was the same. Will give it a try, though.
Comment 5 Chris Wilson 2013-09-12 22:04:19 UTC
Ok, there is nothing in there to go on. What I would try first is booting into a VT rather than the desktop, so try appending 3 to your grub boot command (or maybe "single" -- it's been a while, but at a last resort you could use init=/bin/bash). If that at least gets us to a non-VGA console (i.e. native resolution set on the panel) it means the kernel driver is more or less functional.
Comment 6 Dan 2013-09-12 23:13:09 UTC
OK, booted with nomodeset removed, acpi_backlight=vendor, and single.

I think it's failing in basically the same way as it was in runlevel 5 (?); I'm getting a bunch of errors of the form (transcribed onto another machine by hand)

[          ] status: ( DRDY )
[          ] failed command: WRITE FFDMA QUEUED
[152.451388] ata1.00: cmd 61/80:f0:70:a8:ac/00:00:19:00:00/40 tag 30 ncq 4096 out
...                   res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
...          ata1.00: status ( DRDY )
...          INFO: rcu_sched detected stalls on CPUs/tasks: ( 0) (detected by 1, t=60002 jiffies, g=404, c=403, q=1102)

first 5 lines of that repeated with some varations, numerous times
last line repeating every few minutes, no further activity
Comment 7 Daniel Vetter 2013-09-13 08:11:20 UTC
That smells a lot like the kernel has a hard time with the sata drives. As long as you can still see something on the screen we're not to blame.

To test this can you please put a fc19 image onto an usb stick (to avoid any issues with sata cdrom, just in case)? If that works please file a new bug at bugzilla.kernel.org against the sata drivers (grab a picture of the message so you can attach it there).
Comment 8 Dan 2013-09-13 19:08:26 UTC
No CD on this machine (USB Blueray available but not attached)

All previous info is from win8/f19 dual boot installation to SSD (sda) from full F19 install media, dd'ed onto a USB stick.

I'm in way over my head on this, but it seems like nomodeset kernel parameter wouldn't fix a problem with SATA drives... but really, I don't know.

Results with Fedora 19 Live Desktop, downloaded today, dd'ed onto a usb stick (I am mostly running xfce, but gnome d/l'ed first):

straight boot, nothing added: black screen

add kernel parameter nomodeset: boots, seems to run OK.

add kernel parameter acpi_backlight=vendor, do not add nomodeset, press esc during boot. Starts booting, looks like the graphics driver is working (full res on the 'f bubble', rather than big and stretchy), but never finishes. errors of significance, as transcribed by hand, include:

starts stalling out with messages about systemd-udevd:worker terminated
and A start job is running for Trigger Flushing of Journal to Persistent Storage INFO: rcu_sched detected stalls on CPUs/tasks: { 0}
and ...Tell Plymoth to write out runtime data

[FAILED] Failed to start GNOME Display Manager
See 'systemctl status gdm.service' for details
         Stopping GNOME display manager.
[  OK  ] Stopped GNOME display manager.
         Starting GNOME display Manager
[FAILED] Failed to start GNOME Display Manager
See 'systemctl status gdm.service' for details.

above sequence repeated at least 4 times

[...] (2 of 2) A start job is running for RealtimeKit Scheduling Policy Service [   67.079034] INFO: rcu_sched detected stalls on CPUs/tasks: { 0} (detected by 2, t=60002 jiffies, g=436, c...
[67.xxx] SQUASHFS error: squashfs_read_data failed to read block 0xblah
[      ] SQUASHFS error: unable to read data cache entry...
[      ] SQUASHFS error: unable to read page...
these last two repeated several times
[FAILED] Failed to start RealtimeKit Scheduling Policy Service...


If there is a way to make this info persist past a reboot, I'd be happy to try to post it.
Comment 9 Chris Wilson 2013-09-13 20:04:15 UTC
No but fs corruption would explain both the errors and the failure to start X with a particular driver.
Comment 10 Dan 2013-09-13 20:27:57 UTC
This is probably the 3rd or 4th attempt at installing on this particular machine, and I think I was getting similar behavior with previous installs (but not sure I knew about the backlight thing before this install). Any conjecture whether it might help to reformat/reinstall, or is this likely to be a hardware problem? (or as has been suggested an SATA driver problem)? Getting out of the realm of xorg, I know...
Comment 11 Dan 2013-09-14 04:18:43 UTC
OK, tried same procedure with another usb stick, this time with f19 xfce spin. Substantially same results; boots OK with nomodeset, otherwise hangs with similar errors. 

In none of these cases do I find any of the sata related errors in the log files if I boot with nomodeset. Am I correct in my understanding that nomodeset forces the kernel to use a generic VGA driver instead of any kind of graphics acceleration? Seems like that would be an xorg issue, but could be kernel I guess. Not sure why it would have any effect on SATA hardware?

Seems like file system corruption would not affect three different installs on 3 different devices (one sdd and two usb sticks) from 3 different downloads, but I may be missing the point. Now, bad graphics hardware, that seems like it might do the trick, but I would think it would show some kind of problem under win8, which I haven't observed.

Wish I had a second similar machine to test it on; might be able to exonerate the hardware at least, but alas I have but the one.

Please advise if there is any other info I might be able to provide, or if y'all still think I need to file the bug against the kernel SATA driver.
Comment 12 Chris Wilson 2013-10-16 12:09:45 UTC
Sorry for the delay, but I haven't seen anything here that appears to be actionable for the ddx (i.e. I haven't seen anything that looks like a driver bug).
Comment 13 JoseAlberto 2013-10-26 11:59:48 UTC
I have a similar peoblem in Dell xps 13 (i7 fhd).

With nomodeset the system boots, but gnome cannot init.

without modeset, the screen is very dark, and the resolution seems incompatible, so not usable status.

It works perfectly in kernel 3.9, but not in 3.11
Comment 14 Chris Wilson 2013-10-26 20:23:58 UTC
(In reply to comment #13)
> I have a similar peoblem in Dell xps 13 (i7 fhd).

Similar, but not the same. Please do file a separate bug with a dmesg from boot with the kernel command line parameter drm.debug=6. I suspect this is a known backlight issue, but until we have that debug log I cannot be sure.
Comment 15 Dan 2014-04-01 05:37:46 UTC
Same hardware, fresh install, Fedora 20, default gnome instead of xfce. 'Insecure' boot. Just works now. Shrug.
Comment 16 Chris Wilson 2014-04-01 10:27:25 UTC
Any clues? Is there still a setup that fails?
Comment 17 Dan 2014-04-09 23:31:06 UTC
Can't resume from suspend or hibernate if booted in secure mode. I imagine that is more of a acpi/secure boot interaction issue, or related to encrypted partition. Otherwise seems to 'just work'.
Comment 18 Daniel Vetter 2014-04-11 13:17:59 UTC
Yeah I guess until there's further evidence we need to shrug this off. Thanks for your report.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.