Bug 63628 - [ILK Bisected]System boot fail with -queued kernel
Summary: [ILK Bisected]System boot fail with -queued kernel
Status: CLOSED NOTOURBUG
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high major
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
: 63872 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-04-17 08:30 UTC by lu hua
Modified: 2015-05-14 01:36 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description lu hua 2013-04-17 08:30:16 UTC
System Environment:
--------------------------
Arch:           x86_64
Platform:       Ironlake
Kernel: (drm-intel-next-queued)59ce99eb6bb333f54c2fb440df33393a79674782

Bug detailed description:
-------------------------
It fails on ironlake with drm-intel-next-queued kernel. It doesn't happen on -fixes kernel.

Bisect shows:14134f6584212d585b310ce95428014b653dfaf6 is the first bad commit
commit 14134f6584212d585b310ce95428014b653dfaf6
Author:     dingtianhong <dingtianhong@huawei.com>
AuthorDate: Mon Mar 25 17:02:04 2013 +0000
Commit:     David S. Miller <davem@davemloft.net>
CommitDate: Tue Mar 26 12:33:55 2013 -0400

    af_unix: dont send SCM_CREDENTIAL when dest socket is NULL

    SCM_SCREDENTIALS should apply to write() syscalls only either source or dest
    socket asserted SOCK_PASSCRED. The original implememtation in maybe_add_cred
    and breaks several LSB testcases ( i.e. /tset/LSB.os/netowkr/recvfrom/T.recv

    Origionally-authored-by: Karel Srot <ksrot@redhat.com>
    Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
    Acked-by: Eric Dumazet <edumazet@google.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

console boot log:
udevd[778]: sender uid=65534, message ignored

udevd[778]: sender uid=65534, message ignored

[    5.979564] systemd-readahead-collect[0]: Failed to create fanotify object: Function not implemented
[    7.482049] udevd[1625]: bind failed: Address already in use
[    7.549834] udevd[1625]: error binding udev control socket
[   11.677427] udevd[2307]: bind failed: Address already in use
[   11.745341] udevd[2307]: error binding udev control socket
[   11.848299] udevd[2313]: bind failed: Address already in use
[   11.917261] udevd[2313]: error binding udev control socket
[   11.986549] udevd[2315]: bind failed: Address already in use
[   12.055494] udevd[2315]: error binding udev control socket
[   12.124890] udevd[2317]: bind failed: Address already in use
[   12.124894] udevd[2317]: error binding udev control socket
[   12.263536] udevd[2319]: bind failed: Address already in use
[   12.263539] udevd[2319]: error binding udev control socket

lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0040] (rev 12)
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0042] (rev 12)
00:16.0 Communication controller [0780]: Intel Corporation 5 Series/3400 Series Chipset HECI Controller [8086:3b64] (rev 06)
00:1a.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller [8086:3b3b] (rev 06)
00:1a.1 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller [8086:3b3e] (rev 06)
00:1a.2 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller [8086:3b3f] (rev 06)
00:1a.7 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 06)
00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56] (rev 06)
00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42] (rev 06)
00:1c.4 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 [8086:3b4a] (rev 06)
00:1c.5 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 [8086:3b4c] (rev 06)
00:1d.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller [8086:3b36] (rev 06)
00:1d.1 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller [8086:3b37] (rev 06)
00:1d.2 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller [8086:3b38] (rev 06)
00:1d.7 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 06)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev a6)
00:1f.0 ISA bridge [0601]: Intel Corporation 5 Series Chipset LPC Interface Controller [8086:3b06] (rev 06)
00:1f.2 IDE interface [0101]: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller [8086:3b20] (rev 06)
00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30] (rev 06)
00:1f.5 IDE interface [0101]: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller [8086:3b26] (rev 06)
02:00.0 IDE interface [0101]: JMicron Technology Corp. JMB368 IDE controller [197b:2368]
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03)
04:07.0 FireWire (IEEE 1394) [0c00]: Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) [104c:8024]
3f:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers [8086:2c61] (rev 02)
3f:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2d01] (rev 02)
3f:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2d10] (rev 02)
3f:02.1 Host bridge [0600]: Intel Corporation Core Processor QPI Physical 0 [8086:2d11] (rev 02)
3f:02.2 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d12] (rev 02)
3f:02.3 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d13] (rev 02)

It works well on Ironlake with following system environment:
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0040] (rev 12)
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0042] (rev 12)
00:16.0 Communication controller [0780]: Intel Corporation 5 Series/3400 Series Chipset HECI Controller [8086:3b64] (rev 06)
00:1a.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller [8086:3b3b] (rev 06)
00:1a.1 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller [8086:3b3e] (rev 06)
00:1a.2 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller [8086:3b3f] (rev 06)
00:1a.7 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 06)
00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56] (rev 06)
00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42] (rev 06)
00:1c.4 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 [8086:3b4a] (rev 06)
00:1c.5 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 [8086:3b4c] (rev 06)
00:1d.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller [8086:3b36] (rev 06)
00:1d.1 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller [8086:3b37] (rev 06)
00:1d.2 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller [8086:3b38] (rev 06)
00:1d.7 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 06)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev a6)
00:1f.0 ISA bridge [0601]: Intel Corporation 5 Series Chipset LPC Interface Controller [8086:3b06] (rev 06)
00:1f.2 IDE interface [0101]: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller [8086:3b20] (rev 06)
00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30] (rev 06)
00:1f.5 IDE interface [0101]: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller [8086:3b26] (rev 06)
02:00.0 IDE interface [0101]: JMicron Technology Corp. JMB368 IDE controller [197b:2368]
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03)
04:07.0 FireWire (IEEE 1394) [0c00]: Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) [104c:8024]
3f:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers [8086:2c61] (rev 02)
3f:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2d01] (rev 02)
3f:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2d10] (rev 02)
3f:02.1 Host bridge [0600]: Intel Corporation Core Processor QPI Physical 0 [8086:2d11] (rev 02)
3f:02.2 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d12] (rev 02)
3f:02.3 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d13] (rev 02)
Comment 1 Yi Sun 2013-04-17 08:58:27 UTC
It seems not DRI issue.
Anyone give some comments which product or component should it belong to? Or it should be filed at kernel.org?
Comment 2 Daniel Vetter 2013-04-17 09:03:24 UTC
Can you please check whether Linus' latest upstream git is affected by this, too?
Comment 3 lu hua 2013-04-18 02:07:18 UTC
It also happens on upstream kernel.
Comment 4 Daniel Vetter 2013-04-18 09:51:40 UTC
Hm, the regressing commit has been reverted in 3.9-rc6 with

commit 25da0e3e9d3fb2b522bc2a598076735850310eb1
Author: Eric W. Biederman <ebiederm@xmission.com>
Date:   Wed Apr 3 16:13:35 2013 +0000

    Revert "af_unix: dont send SCM_CREDENTIAL when dest socket is NULL"

If you still see issue with this commit, please check that the revert itself boots.
Comment 5 lu hua 2013-04-22 06:56:49 UTC
(In reply to comment #4)
> Hm, the regressing commit has been reverted in 3.9-rc6 with
> 
> commit 25da0e3e9d3fb2b522bc2a598076735850310eb1
> Author: Eric W. Biederman <ebiederm@xmission.com>
> Date:   Wed Apr 3 16:13:35 2013 +0000
> 
>     Revert "af_unix: dont send SCM_CREDENTIAL when dest socket is NULL"
> 
> If you still see issue with this commit, please check that the revert itself
> boots.

I can't find this commit.
Comment 6 Daniel Vetter 2013-04-22 09:05:50 UTC
It's now part of drm-intel-nightly branch. Can you please retest?
Comment 7 lu hua 2013-04-23 05:51:03 UTC
It fixed on drm-intel-nightly branch. I will close it when fixed on drm-intel-next-queued branch.
Comment 8 Chris Wilson 2013-04-23 09:09:32 UTC
Upstream regression, fixed upstream. dinq will be updated in a couple of weeks after the next merge window.
Comment 9 cancan,feng 2013-04-25 06:52:54 UTC
*** Bug 63872 has been marked as a duplicate of this bug. ***


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.