https://bugzilla.kernel.org/show_bug.cgi?id=62541
Bug ID: 62541 Summary: Kernel oops/panic during system boot with systemd - "Unable to handle kernel NULL pointer dereference" Product: Drivers Version: 2.5 Kernel Version: 3.11 Hardware: All OS: Linux Tree: Mainline Status: NEW Severity: high Priority: P1 Component: Video(DRI - non Intel) Assignee: drivers_video-dri@kernel-bugs.osdl.org Reporter: a.byszuk@elka.pw.edu.pl Regression: No
Created attachment 110251 --> https://bugzilla.kernel.org/attachment.cgi?id=110251&action=edit dmesg, lswh, .config outputs
Hello,
I have a bug (100 % repeatable) that prevents booting Linux when systemd is used as an init system. However, booting with traditional init works fine. I'm posting this bug to the DRI subsystem because I was (barely) able to capture to capture kernel message before the screen becomes blank. I can verify that this problem happens in all 3.11.x kernels and in Debian's 3.10 kernel. The hardware is Dell Vostro 3560 - Intel Ivy Bridge, hybrid graphics (Intel + Radeon), OCZ Vertex 4 SSD. My suspicion is that maybe the system bootup is too fast for the kernel; I was able to boot kernel once even with systemd, but that was when I turned on all the debugging messages which flooded console a bit.
Photo of captured BUG message: http://s23.postimg.org/qgk843rzv/vga1.png dmesg, lshw and .config outputs attached.
Kind regards, Adrian
https://bugzilla.kernel.org/show_bug.cgi?id=62541
Adrian Byszuk a.byszuk@elka.pw.edu.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |a.byszuk@elka.pw.edu.pl Hardware|All |x86-64
https://bugzilla.kernel.org/show_bug.cgi?id=62541
--- Comment #1 from Adrian Byszuk a.byszuk@elka.pw.edu.pl --- OK, I was able to track down the problem more precisely.
In my rc.local I have: echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
for switching discrete graphics after boot. With this line booting fails. But when I change it to: sleep 5 echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
kernel is booting just fine.
So I think the problem is that systemd is, unlike the old init, executing rc.local just in the beginning which switches discrete graphics just in the beginning of system startup.
https://bugzilla.kernel.org/show_bug.cgi?id=62541
xerofoify@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerofoify@gmail.com
--- Comment #2 from xerofoify@gmail.com --- Is this bug closed? Seems the problem is with systemd and not the kernel. Can we please close this bug as it's fairly old as of me writing this in June 2014. Thanks A Fellow Developer, Nick
https://bugzilla.kernel.org/show_bug.cgi?id=62541
--- Comment #3 from Szőgyényi Gábor (szg0000@freemail.hu) --- Please try to reproduce this bug with latest kernel image & latest systemd.
https://bugzilla.kernel.org/show_bug.cgi?id=62541
--- Comment #4 from Jani Nikula (jani.nikula@intel.com) --- (In reply to Szőgyényi Gábor from comment #3)
Please try to reproduce this bug with latest kernel image & latest systemd.
Sorry, what's the point? If you're scrubbing the bugs here, please just close the old bugs, and ask for reopen if the bug persists with latests bits and pieces. It's been 3½ years since the reporter was last seen here.
Ditto for all the other bugs you've commented on.
https://bugzilla.kernel.org/show_bug.cgi?id=62541
Jani Nikula (jani.nikula@intel.com) changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |OBSOLETE
dri-devel@lists.freedesktop.org