Bug 21498 - [945GME KMS] failed to detect modes on any connector
Summary: [945GME KMS] failed to detect modes on any connector
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Jesse Barnes
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2009-05-01 02:59 UTC by rem11_1999
Modified: 2017-07-24 23:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description rem11_1999 2009-05-01 02:59:57 UTC
I try to use KMS on a laptop with an X3100 (hp6720s)


and at boot I have this :

Apr 25 23:01:29 gentoo Linux agpgart interface v0.103
Apr 25 23:01:29 gentoo agpgart-intel 0000:00:00.0: Intel 965GME/GLE Chipset
Apr 25 23:01:29 gentoo agpgart-intel 0000:00:00.0: detected 7676K stolen memory
Apr 25 23:01:29 gentoo agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
Apr 25 23:01:29 gentoo [drm] Initialized drm 1.1.0 20060810
Apr 25 23:01:29 gentoo i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Apr 25 23:01:29 gentoo i915 0000:00:02.0: setting latency timer to 64
Apr 25 23:01:29 gentoo [drm:drm_helper_initial_config] *ERROR* connectors have no modes, using standard modes


and after that no change : console stay with vga resolution


for info I use a gentoo (amd64 arch)

with the entire X stack from git and latest kernel (2.6.30-rc4 at the moment)
Comment 1 rem11_1999 2009-05-04 06:19:58 UTC
Seems like there's same report on fedora :

https://bugzilla.redhat.com/show_bug.cgi?id=493499
Comment 2 Jesse Barnes 2009-05-04 16:16:53 UTC
Can you attach a dmesg from after loading drm with debug=1?  That should give us more info about your configuration.
Comment 3 rem11_1999 2009-05-05 08:05:38 UTC
here is /var/log/message with :

modprobe drm debug=1
modprobe i915 modeset=1

May  5 16:50:39 gentoo [drm] Initialized drm 1.1.0 20060810
May  5 16:51:04 gentoo [drm:drm_init] 
May  5 16:51:04 gentoo [drm:drm_get_dev] 
May  5 16:51:04 gentoo i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
May  5 16:51:04 gentoo i915 0000:00:02.0: setting latency timer to 64
May  5 16:51:04 gentoo [drm:drm_get_minor] 
May  5 16:51:04 gentoo [drm:drm_get_minor] new minor assigned 64
May  5 16:51:04 gentoo [drm:drm_get_minor] 
May  5 16:51:04 gentoo [drm:drm_get_minor] new minor assigned 0
May  5 16:51:04 gentoo [drm:i915_init_phys_hws] Enabled hardware status page
May  5 16:51:04 gentoo [drm:drm_agp_bind_pages] 
May  5 16:51:04 gentoo [drm:parse_panel_data] Found panel mode in BIOS VBT tables:
May  5 16:51:04 gentoo [drm:drm_mode_debug_printmodeline] Modeline 0:"1280x800" 0 69300 1280 1296 1344 1416 800 801 804 816 0x8 0x0
May  5 16:51:04 gentoo [drm:drm_irq_install] irq=16
May  5 16:51:04 gentoo [drm:intel_modeset_init] 2 display pipes available.
May  5 16:51:04 gentoo [drm:drm_sysfs_connector_add] adding "VGA-1" to sysfs
May  5 16:51:04 gentoo [drm:drm_sysfs_hotplug_event] generating hotplug event
May  5 16:51:04 gentoo [drm:drm_helper_probe_single_connector_modes] VGA-1
May  5 16:51:04 gentoo [drm:drm_helper_probe_single_connector_modes] VGA-1 is disconnected
May  5 16:51:04 gentoo [drm:drm_helper_initial_config] *ERROR* connectors have no modes, using standard modes
May  5 16:51:04 gentoo [drm:drm_helper_add_std_modes] Adding mode 800x600 to VGA-1
May  5 16:51:04 gentoo [drm:drm_helper_add_std_modes] Added std modes on VGA-1
May  5 16:51:04 gentoo [drm:drm_mode_debug_printmodeline] Modeline 7:"800x600" 60315 40000 800 840 968 1056 600 601 605 628 0x10 0x5
May  5 16:51:04 gentoo [drm:drm_setup_crtcs] 
May  5 16:51:04 gentoo [drm:drm_enable_connectors] connector 5 enabled? no
May  5 16:51:04 gentoo [drm:drm_setup_crtcs] picking CRTCs for 8192x8192 config
May  5 16:51:04 gentoo [drm:intelfb_probe] 
May  5 16:51:04 gentoo [drm:intelfb_single_fb_probe] 
May  5 16:51:04 gentoo [drm:intelfb_single_fb_probe] no CRTCs available?
May  5 16:51:04 gentoo [drm:intel_opregion_init] graphic opregion physical addr: 0x7f7c5400
May  5 16:51:04 gentoo [drm:intel_opregion_init] Public ACPI methods supported
May  5 16:51:04 gentoo [drm:intel_opregion_init] SWSCI supported
May  5 16:51:04 gentoo [drm:intel_opregion_init] ASLE supported
May  5 16:51:04 gentoo ACPI Exception (exoparg2-0445): AE_AML_PACKAGE_LIMIT, Index (0FFFFFFFF) is beyond end of object [20090320]
May  5 16:51:04 gentoo ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.C003.C099._DOD] (Node ffff88007f015a20), AE_AML_PACKAGE_LIMIT
May  5 16:51:04 gentoo ACPI Exception (video-1785): AE_AML_PACKAGE_LIMIT, Evaluating _DOD [20090320]
May  5 16:51:04 gentoo acpi device:02: registered as cooling_device7
May  5 16:51:04 gentoo input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/input/input7
May  5 16:51:04 gentoo ACPI: Video Device [C099] (multi-head: yes  rom: no  post: no)
May  5 16:51:04 gentoo [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0


for info if needed, here is log when I launch kdm which doesn't load...:

May  5 16:51:34 gentoo [drm:drm_stub_open] 
May  5 16:51:34 gentoo [drm:drm_open_helper] pid = 4760, minor = 0
May  5 16:51:34 gentoo [drm:i915_driver_open] 
May  5 16:51:34 gentoo [drm:drm_setup] 
May  5 16:51:34 gentoo [drm:drm_ioctl] pid=4760, cmd=0xc0406400, nr=0x00, dev 0xe200, auth=1
May  5 16:51:34 gentoo [drm:drm_ioctl] pid=4760, cmd=0xc0406400, nr=0x00, dev 0xe200, auth=1
May  5 16:51:34 gentoo [drm:drm_release] open_count = 1
May  5 16:51:34 gentoo [drm:drm_release] pid = 4760, device = 0xe200, open_count = 1
May  5 16:51:34 gentoo [drm:drm_lastclose] 
May  5 16:51:34 gentoo [drm:drm_crtc_helper_set_config] 
May  5 16:51:34 gentoo [drm:drm_lastclose] driver lastclose completed
May  5 16:51:34 gentoo [drm:drm_lastclose] lastclose completed
May  5 16:51:34 gentoo [drm:drm_stub_open] 
May  5 16:51:34 gentoo [drm:drm_open_helper] pid = 4760, minor = 0
May  5 16:51:34 gentoo [drm:i915_driver_open] 
May  5 16:51:34 gentoo [drm:drm_setup] 
May  5 16:51:34 gentoo [drm:drm_ioctl] pid=4760, cmd=0xc0406400, nr=0x00, dev 0xe200, auth=1
May  5 16:51:34 gentoo [drm:drm_ioctl] pid=4760, cmd=0xc0406400, nr=0x00, dev 0xe200, auth=1
May  5 16:51:34 gentoo [drm:drm_release] open_count = 1
May  5 16:51:34 gentoo [drm:drm_release] pid = 4760, device = 0xe200, open_count = 1
May  5 16:51:34 gentoo [drm:drm_lastclose] 
May  5 16:51:34 gentoo [drm:drm_crtc_helper_set_config] 
May  5 16:51:34 gentoo [drm:drm_lastclose] driver lastclose completed
May  5 16:51:34 gentoo [drm:drm_lastclose] lastclose completed
May  5 16:51:34 gentoo [drm:drm_stub_open] 
May  5 16:51:34 gentoo [drm:drm_open_helper] pid = 4760, minor = 0
May  5 16:51:34 gentoo [drm:i915_driver_open] 
May  5 16:51:34 gentoo [drm:drm_setup] 
May  5 16:51:34 gentoo [drm:drm_ioctl] pid=4760, cmd=0xc0106407, nr=0x07, dev 0xe200, auth=1
May  5 16:51:34 gentoo [drm:drm_ioctl] pid=4760, cmd=0xc0106401, nr=0x01, dev 0xe200, auth=1
May  5 16:51:34 gentoo [drm:drm_ioctl] pid=4760, cmd=0xc0106401, nr=0x01, dev 0xe200, auth=1
May  5 16:51:34 gentoo [drm:drm_ioctl] pid=4760, cmd=0xc0106407, nr=0x07, dev 0xe200, auth=1
May  5 16:51:34 gentoo [drm:drm_ioctl] pid=4760, cmd=0xc0286415, nr=0x15, dev 0xe200, auth=1
May  5 16:51:34 gentoo [drm:drm_addmap_core] offset = 0x00000000, size = 0x00002000, type = 2
May  5 16:51:34 gentoo [drm:drm_addmap_core] 8192 13 ffffc20004c89000
May  5 16:51:34 gentoo [drm:drm_mmap_locked] start = 0x7fa43892a000, end = 0x7fa43892c000, page offset = 0x1efff
May  5 16:51:34 gentoo [drm:drm_vm_open_locked] 0x7fa43892a000,0x00002000
May  5 16:51:34 gentoo [drm:drm_do_vm_shm_fault] shm_fault 0x0
May  5 16:51:34 gentoo [drm:drm_do_vm_shm_fault] shm_fault 0x1000
May  5 16:51:34 gentoo [drm:drm_ioctl] pid=4760, cmd=0xc04064a0, nr=0xa0, dev 0xe200, auth=1
May  5 16:51:34 gentoo [drm:drm_mode_getresources] Counted 2 1 1
May  5 16:51:34 gentoo [drm:drm_ioctl] pid=4760, cmd=0xc04064a0, nr=0xa0, dev 0xe200, auth=1
May  5 16:51:34 gentoo [drm:drm_mode_getresources] Counted 2 1 1
May  5 16:51:34 gentoo [drm:drm_ioctl] pid=4760, cmd=0xc06864a1, nr=0xa1, dev 0xe200, auth=1
May  5 16:51:34 gentoo [drm:drm_ioctl] pid=4760, cmd=0xc06864a1, nr=0xa1, dev 0xe200, auth=1
May  5 16:51:34 gentoo [drm:drm_ioctl] pid=4760, cmd=0xc05064a7, nr=0xa7, dev 0xe200, auth=1
May  5 16:51:34 gentoo [drm:drm_mode_getconnector] connector id 5:
May  5 16:51:34 gentoo [drm:drm_helper_probe_single_connector_modes] VGA-1
May  5 16:51:34 gentoo [drm:drm_helper_probe_single_connector_modes] VGA-1 is disconnected
May  5 16:51:34 gentoo [drm:drm_ioctl] pid=4760, cmd=0xc05064a7, nr=0xa7, dev 0xe200, auth=1
May  5 16:51:34 gentoo [drm:drm_mode_getconnector] connector id 5:
May  5 16:51:34 gentoo [drm:drm_ioctl] pid=4760, cmd=0xc01464a6, nr=0xa6, dev 0xe200, auth=1
May  5 16:51:34 gentoo [drm:drm_ioctl] pid=4760, cmd=0xc05064a7, nr=0xa7, dev 0xe200, auth=1
May  5 16:51:34 gentoo [drm:drm_mode_getconnector] connector id 5:
May  5 16:51:34 gentoo [drm:drm_helper_probe_single_connector_modes] VGA-1
May  5 16:51:34 gentoo [drm:drm_helper_probe_single_connector_modes] VGA-1 is disconnected
May  5 16:51:34 gentoo [drm:drm_ioctl] pid=4760, cmd=0xc05064a7, nr=0xa7, dev 0xe200, auth=1
May  5 16:51:34 gentoo [drm:drm_mode_getconnector] connector id 5:
May  5 16:51:34 gentoo [drm:drm_ioctl] pid=4760, cmd=0x80106463, nr=0x63, dev 0xe200, auth=1
May  5 16:51:34 gentoo [drm:drm_ioctl] pid=4760, cmd=0xc0106446, nr=0x46, dev 0xe200, auth=1
May  5 16:51:34 gentoo [drm:drm_vm_shm_close] 0x7fa43892a000,0x00002000
May  5 16:51:34 gentoo [drm:drm_release] open_count = 1
May  5 16:51:34 gentoo [drm:drm_release] pid = 4760, device = 0xe200, open_count = 1
May  5 16:51:34 gentoo [drm:drm_lastclose] 
May  5 16:51:34 gentoo [drm:drm_crtc_helper_set_config] 
May  5 16:51:34 gentoo [drm:drm_lastclose] driver lastclose completed
May  5 16:51:34 gentoo [drm:drm_lastclose] lastclose completed
May  5 16:51:34 gentoo kdm[4756]: X server died during startup
May  5 16:51:34 gentoo kdm[4756]: X server for display :0 cannot be started, session disabled


After that I try to unload i915 module, here is the crash :

ay  5 16:51:48 gentoo [drm:drm_exit] 
May  5 16:51:48 gentoo [drm:drm_put_dev] 
May  5 16:51:48 gentoo [drm:drm_lastclose] 
May  5 16:51:48 gentoo [drm:drm_crtc_helper_set_config] 
May  5 16:51:48 gentoo [drm:drm_lastclose] driver lastclose completed
May  5 16:51:48 gentoo [drm:drm_lastclose] lastclose completed
May  5 16:51:48 gentoo [drm:drm_irq_uninstall] irq=16
May  5 16:51:48 gentoo int3: 0000 [#1] SMP 
May  5 16:51:48 gentoo last sysfs file: /sys/devices/pci0000:00/0000:00:1f.0/resource
May  5 16:51:48 gentoo CPU 0 
May  5 16:51:48 gentoo Modules linked in: i915(-) i2c_algo_bit cfbcopyarea cfbimgblt cfbfillrect drm snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device iwl3945 iwlcore pcspkr sbp2 ohci1394 ieee1394 usbhid uhci_hcd usb_storage ehci_hcd usbcore scsi_wait_scan
May  5 16:51:48 gentoo Pid: 4858, comm: modprobe Not tainted 2.6.30-rc4 #1 HP Compaq 6720s
May  5 16:51:48 gentoo RIP: 0010:[<ffffffff807ce37c>]  [<ffffffff807ce37c>] 0xffffffff807ce37c
May  5 16:51:48 gentoo RSP: 0018:ffff88003928bd50  EFLAGS: 00000246
May  5 16:51:48 gentoo RAX: 0000000000000000 RBX: ffff880039319000 RCX: 0000000000000000
May  5 16:51:48 gentoo RDX: ffff8800391bec80 RSI: 0000000000000000 RDI: ffff88003908b000
May  5 16:51:48 gentoo RBP: ffff88003908b000 R08: 0000000000000000 R09: ffffffff8076d7d0
May  5 16:51:48 gentoo R10: 00000000e4400000 R11: 00000000f8a0919f R12: ffff880039319000
May  5 16:51:48 gentoo R13: ffffffffa0170b20 R14: 00007fff073ce460 R15: 0000000000f040c8
May  5 16:51:48 gentoo FS:  00007fd6ff3ae6f0(0000) GS:ffff880001010000(0000) knlGS:0000000000000000
May  5 16:51:48 gentoo CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
May  5 16:51:48 gentoo CR2: 00007fd6fef70ce0 CR3: 0000000039151000 CR4: 00000000000006e0
May  5 16:51:48 gentoo DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
May  5 16:51:48 gentoo DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
May  5 16:51:48 gentoo Process modprobe (pid: 4858, threadinfo ffff88003928a000, task ffff88007e105370)
May  5 16:51:48 gentoo Stack:
May  5 16:51:48 gentoo ffffffffa0162f04 00000000f8a0919f 00000000f8a0919f ffff88003908b000
May  5 16:51:48 gentoo ffffffffa014add1 00000000f8a0919f 00000000f8a0919f ffff88003908b000
May  5 16:51:48 gentoo ffff88007f118800 ffffffffa0170dc8 ffffffffa01155f8 0000000000f043b0
May  5 16:51:48 gentoo Call Trace:
May  5 16:51:48 gentoo [<ffffffffa0162f04>] ? intel_opregion_free+0x2e/0xad [i915]
May  5 16:51:48 gentoo [<ffffffffa014add1>] ? i915_driver_unload+0x90/0x10d [i915]
May  5 16:51:48 gentoo [<ffffffffa01155f8>] ? drm_put_dev+0xc1/0x1a3 [drm]
May  5 16:51:48 gentoo [<ffffffff803ecafe>] ? pci_device_remove+0x37/0x72
May  5 16:51:48 gentoo [<ffffffff80466d4d>] ? __device_release_driver+0x87/0xd9
May  5 16:51:48 gentoo [<ffffffff80466e32>] ? driver_detach+0x93/0xc5
May  5 16:51:48 gentoo [<ffffffff80465e3a>] ? bus_remove_driver+0x91/0xec
May  5 16:51:48 gentoo [<ffffffff803ecdc4>] ? pci_unregister_driver+0x4c/0xb3
May  5 16:51:48 gentoo [<ffffffffa011152b>] ? drm_exit+0x4a/0x98 [drm]
May  5 16:51:48 gentoo [<ffffffff80263c8e>] ? sys_delete_module+0x1d1/0x251
May  5 16:51:48 gentoo [<ffffffff8028be75>] ? sys_munmap+0x55/0x7c
May  5 16:51:48 gentoo [<ffffffff8029d6d1>] ? sys_close+0xa3/0xf3
May  5 16:51:48 gentoo [<ffffffff8020b26b>] ? system_call_fastpath+0x16/0x1b
May  5 16:51:48 gentoo Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc <cc> cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 
May  5 16:51:48 gentoo RIP  [<ffffffff807ce37c>] 0xffffffff807ce37c
May  5 16:51:48 gentoo RSP <ffff88003928bd50>
May  5 16:51:48 gentoo ---[ end trace 89b5567d878585a8 ]---
May  5 16:51:48 gentoo note: modprobe[4858] exited with preempt_count 1
May  5 16:51:48 gentoo BUG: scheduling while atomic: modprobe/4858/0x10000001
May  5 16:51:48 gentoo Modules linked in: i915(-) i2c_algo_bit cfbcopyarea cfbimgblt cfbfillrect drm snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device iwl3945 iwlcore pcspkr sbp2 ohci1394 ieee1394 usbhid uhci_hcd usb_storage ehci_hcd usbcore scsi_wait_scan
May  5 16:51:48 gentoo Pid: 4858, comm: modprobe Tainted: G      D    2.6.30-rc4 #1
May  5 16:51:48 gentoo Call Trace:
May  5 16:51:48 gentoo <#DB>  [<ffffffff805e4536>] ? __schedule+0xc0/0x87f
May  5 16:51:48 gentoo [<ffffffff805e4ddc>] ? schedule+0x19/0x45
May  5 16:51:48 gentoo [<ffffffff802364b1>] ? __cond_resched+0x2c/0x6b
May  5 16:51:48 gentoo [<ffffffff805e4f16>] ? _cond_resched+0x3d/0x60
May  5 16:51:48 gentoo [<ffffffff80254670>] ? lock_hrtimer_base+0x2f/0x6a
May  5 16:51:48 gentoo [<ffffffff805e6097>] ? down_read+0x1d/0x3d
May  5 16:51:48 gentoo [<ffffffff8023bc1c>] ? exit_mm+0x42/0x131
May  5 16:51:48 gentoo [<ffffffff8023d882>] ? do_exit+0x176/0x5da
May  5 16:51:48 gentoo [<ffffffff8020f662>] ? oops_end+0x96/0xb2
May  5 16:51:48 gentoo [<ffffffff8020ccf4>] ? do_int3+0x7e/0xb3
May  5 16:51:48 gentoo [<ffffffff805e780d>] ? int3+0x2d/0x40
May  5 16:51:48 gentoo <<EOE>>  [<ffffffffa0162f04>] ? intel_opregion_free+0x2e/0xad [i915]
May  5 16:51:48 gentoo [<ffffffffa014add1>] ? i915_driver_unload+0x90/0x10d [i915]
May  5 16:51:48 gentoo [<ffffffffa01155f8>] ? drm_put_dev+0xc1/0x1a3 [drm]
May  5 16:51:48 gentoo [<ffffffff803ecafe>] ? pci_device_remove+0x37/0x72
May  5 16:51:48 gentoo [<ffffffff80466d4d>] ? __device_release_driver+0x87/0xd9
May  5 16:51:48 gentoo [<ffffffff80466e32>] ? driver_detach+0x93/0xc5
May  5 16:51:48 gentoo [<ffffffff80465e3a>] ? bus_remove_driver+0x91/0xec
May  5 16:51:48 gentoo [<ffffffff803ecdc4>] ? pci_unregister_driver+0x4c/0xb3
May  5 16:51:48 gentoo [<ffffffffa011152b>] ? drm_exit+0x4a/0x98 [drm]
May  5 16:51:48 gentoo [<ffffffff80263c8e>] ? sys_delete_module+0x1d1/0x251
May  5 16:51:48 gentoo [<ffffffff8028be75>] ? sys_munmap+0x55/0x7c
May  5 16:51:48 gentoo [<ffffffff8029d6d1>] ? sys_close+0xa3/0xf3
May  5 16:51:48 gentoo [<ffffffff8020b26b>] ? system_call_fastpath+0x16/0x1b

Comment 4 rem11_1999 2009-06-04 11:42:52 UTC
This bug seems solved with 2.6.30-rc7 and git X stack. Thanks


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.