Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: i386 i915drmkms on i82845G/GL
On Mon, 16 Feb 2015, Robert Swindells wrote:
> Can you set up a serial console on this ?
Many times.
On Tue, 10 Feb 2015, John D. Baker wrote:
> If the console is the serial port, the VGA output is disabled when
> i915drmkms attaches. Subsequently starting X spins forever looking for
> an active video output and doesn't panic.
Excerpts from dmesg/ddb with said serial console:
[...]
pchb0 at pci0 dev 0 function 0: Intel 82845G/GL DRAM Controller / Host-Hub I/F Bridge (rev. 0x01)
agp0 at pchb0: i830-family chipset
agp0: detected 8060k stolen memory
agp0: aperture at 0xf0000000, size 0x8000000
i915drmkms0 at pci0 dev 2 function 0: Intel 82845G/GL Integrated Graphics Device (rev. 0x01)
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
i915drmkms0: map 2 failed
pci_mem_find: void region
i915drmkms0: map 3 failed
pci_mem_find: void region
i915drmkms0: map 4 failed
pci_mem_find: void region
i915drmkms0: map 5 failed
DRM debug in drm_minor_register:
DRM debug in drm_minor_register: new minor assigned 64
DRM debug in drm_minor_register:
DRM debug in drm_minor_register:
DRM debug in drm_minor_register: new minor assigned 0
DRM debug in i915_dump_device_info: i915 device info: gen=2, pciid=0x2562 flags=has_overlay,overlay_needs_physical,pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
DRM debug in intel_detect_pch: No PCH found.
drm: Memory usable by graphics device = 128M
DRM debug in i915_gem_gtt_init: GMADR size = 128M
DRM debug in i915_gem_gtt_init: GTT stolen size = 7M
DRM debug in i915_gem_gtt_init: ppgtt mode: 0
DRM debug in intel_opregion_setup: graphic opregion physical addr: 0x0
DRM debug in intel_opregion_setup: ACPI OpRegion not supported!
drm: Supports vblank timestamp caching Rev 2 (21.10.2013).
drm: Driver supports precise vblank timestamp query.
DRM debug in init_vbt_defaults: Set default to SSC at 66667 kHz
pci_mem_find: void region
DRM debug in parse_general_features: BDB_GENERAL_FEATURES int_tv_support 1 int_crt_support 0 lvds_use_ssc 0 lvds_ssc_freq 48000 display_clock_mode 0 fdi_rx_polarity_inverted 0
DRM debug in parse_general_definitions: crt_ddc_bus_pin: 2
DRM debug in parse_sdvo_device_mapping: different child size is found. Invalid.
DRM debug in parse_device_mapping: different child size is found. Invalid.
DRM debug in parse_mipi: No MIPI BDB foundDRM debug in intel_display_power_get: enabling always-on
DRM debug in drm_irq_install: irq=268963849
i915drmkms0: interrupting at ioapic0 pin 16 (i915)
DRM debug in intel_modeset_init: 1 display pipe available.
DRM debug in intel_modeset_init: pipe A sprite A init failed: -19
DRM debug in intel_gmbus_force_bit: enabling bit-banging on i915 gmbus dpb. force bit now 1
DRM debug in intel_gmbus_force_bit: disabling bit-banging on i915 gmbus dpb. force bit now 0
DRM debug in intel_gmbus_force_bit: enabling bit-banging on i915 gmbus dpb. force bit now 1
DRM debug in intel_gmbus_force_bit: disabling bit-banging on i915 gmbus dpb. force bit now 0
DRM debug in intel_gmbus_force_bit: enabling bit-banging on i915 gmbus dpb. force bit now 1
DRM debug in intel_gmbus_force_bit: disabling bit-banging on i915 gmbus dpb. force bit now 0
DRM debug in intel_gmbus_force_bit: enabling bit-banging on i915 gmbus ssc. force bit now 1
DRM debug in intel_gmbus_force_bit: disabling bit-banging on i915 gmbus ssc. force bit now 0
DRM debug in intel_gmbus_force_bit: enabling bit-banging on i915 gmbus dpb. force bit now 1
DRM debug in tfp410_init: tfp410 not detected got VID FFFFFFFF: from i915 gmbus dpb Slave 56.
DRM debug in intel_gmbus_force_bit: disabling bit-banging on i915 gmbus dpb. force bit now 0
DRM debug in intel_gmbus_force_bit: enabling bit-banging on i915 gmbus dpb. force bit now 1
DRM debug in intel_gmbus_force_bit: disabling bit-banging on i915 gmbus dpb. force bit now 0
DRM debug in intel_gmbus_force_bit: enabling bit-banging on i915 gmbus dpb. force bit now 1
DRM debug in intel_gmbus_force_bit: disabling bit-banging on i915 gmbus dpb. force bit now 0
DRM debug in intel_modeset_readout_hw_state: [CRTC:5] hw state readout: enabled
DRM debug in intel_modeset_readout_hw_state: [ENCODER:7:DAC-7] hw state readout: enabled, pipe A
DRM debug in intel_modeset_readout_hw_state: [CONNECTOR:6:VGA-1] hw state readout: enabled
DRM debug in intel_dump_pipe_config: [CRTC:5][setup_hw_state] config for pipe A
DRM debug in intel_dump_pipe_config: cpu_transcoder: A
DRM debug in intel_dump_pipe_config: pipe bpp: 0, dithering: 0
DRM debug in intel_dump_pipe_config: fdi/pch: 0, lanes: 0, gmch_m: 0, gmch_n: 0, link_m: 0, link_n: 0, tu: 0
DRM debug in intel_dump_pipe_config: dp: 0, gmch_m: 0, gmch_n: 0, link_m: 0, link_n: 0, tu: 0
DRM debug in intel_dump_pipe_config: requested mode:
DRM debug in drm_mode_debug_printmodeline: Modeline 0:"" 0 0 640 0 0 0 480 0 0 0 0x0 0x0
DRM debug in intel_dump_pipe_config: adjusted mode:
DRM debug in drm_mode_debug_printmodeline: Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 0x0 0xa
DRM debug in intel_dump_crtc_timings: crtc timings: 25154 640 656 752 800 480 490 492 525, type: 0x0 flags: 0xa
DRM debug in intel_dump_pipe_config: port clock: 25154
DRM debug in intel_dump_pipe_config: pipe src size: 640x480
DRM debug in intel_dump_pipe_config: gmch pfit: control: 0x00000000, ratios: 0x00000000, lvds border: 0x00000000
DRM debug in intel_dump_pipe_config: pch pfit: pos: 0x00000000, size: 0x00000000, disabled
DRM debug in intel_dump_pipe_config: ips: 0
DRM debug in intel_dump_pipe_config: double wide: 0
DRM debug in intel_connector_check_state: [CONNECTOR:6:VGA-1]
DRM debug in check_encoder_state: [ENCODER:7:DAC-7]
DRM debug in check_crtc_state: [CRTC:5]
DRM debug in i9xx_get_plane_config: pipe/plane 0/0 with fb: size=640x480@8, offset=0, pitch 640, size 0x4b000
DRM debug in i915_gem_setup_global_gtt: clearing unused GTT space: [0, 7fff000]
DRM debug in i915_gem_context_init: fake context support initialized
drm: initialized overlay support
DRM debug in drm_helper_probe_single_connector_modes: [CONNECTOR:6:VGA-1]
DRM debug in intel_crt_detect: [CONNECTOR:6:VGA-1] force=1
DRM debug in intel_crt_detect_ddc: CRT detected via DDC:0x50 [EDID]
DRM debug in drm_edid_to_eld: ELD: no CEA Extension found
DRM debug in drm_mode_debug_printmodeline: Modeline 30:"1024x768i" 0 44900 1024 1032 1208 1264 768 768 776 817 0x40 0x15
DRM debug in drm_mode_prune_invalid: Not using 1024x768i mode 7
DRM debug in drm_helper_probe_single_connector_modes: [CONNECTOR:6:VGA-1] probed modes :
DRM debug in drm_mode_debug_printmodeline: Modeline 18:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x40 0x5
DRM debug in drm_mode_debug_printmodeline: Modeline 17:"1280x960" 60 108000 1280 1376 1488 1800 960 961 964 1000 0x40 0x5
DRM debug in drm_mode_debug_printmodeline: Modeline 16:"1152x864" 75 108000 1152 1216 1344 1600 864 865 868 900 0x40 0x5
DRM debug in drm_mode_debug_printmodeline: Modeline 15:"1024x768" 85 94500 1024 1072 1168 1376 768 769 772 808 0x40 0x5
DRM debug in drm_mode_debug_printmodeline: Modeline 27:"1024x768" 75 78800 1024 1040 1136 1312 768 769 772 800 0x40 0x5
DRM debug in drm_mode_debug_printmodeline: Modeline 28:"1024x768" 70 75000 1024 1048 1184 1328 768 771 777 806 0x40 0xa
DRM debug in drm_mode_debug_printmodeline: Modeline 29:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
DRM debug in drm_mode_debug_printmodeline: Modeline 14:"800x600" 85 56250 800 832 896 1048 600 601 604 631 0x40 0x5
DRM debug in drm_mode_debug_printmodeline: Modeline 31:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
DRM debug in drm_mode_debug_printmodeline: Modeline 32:"800x600" 72 50000 800 856 976 1040 600 637 643 666 0x40 0x5
DRM debug in drm_mode_debug_printmodeline: Modeline 19:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
DRM debug in drm_mode_debug_printmodeline: Modeline 20:"800x600" 56 36000 800 824 896 1024 600 601 603 625 0x40 0x5
DRM debug in drm_mode_debug_printmodeline: Modeline 13:"640x480" 85 36000 640 696 752 832 480 481 484 509 0x40 0xa
DRM debug in drm_mode_debug_printmodeline: Modeline 21:"640x480" 75 31500 640 656 720 840 480 481 484 500 0x40 0xa
DRM debug in drm_mode_debug_printmodeline: Modeline 22:"640x480" 73 31500 640 664 704 832 480 489 491 520 0x40 0xa
DRM debug in drm_mode_debug_printmodeline: Modeline 23:"640x480" 67 30240 640 704 768 864 480 483 486 525 0x40 0xa
DRM debug in drm_mode_debug_printmodeline: Modeline 24:"640x480" 60 25200 640 656 752 800 480 490 492 525 0x40 0xa
DRM debug in drm_mode_debug_printmodeline: Modeline 25:"720x400" 88 35500 720 738 846 900 400 421 423 449 0x40 0xa
DRM debug in drm_mode_debug_printmodeline: Modeline 12:"720x400" 85 35500 720 756 828 936 400 401 404 446 0x40 0x6
DRM debug in drm_mode_debug_printmodeline: Modeline 26:"720x400" 70 28320 720 738 846 900 400 412 414 449 0x40 0x6
DRM debug in drm_mode_debug_printmodeline: Modeline 11:"640x400" 85 31500 640 672 736 832 400 401 404 445 0x40 0x6
DRM debug in drm_mode_debug_printmodeline: Modeline 10:"640x350" 85 31500 640 672 736 832 350 382 385 445 0x40 0x9
DRM debug in drm_mode_debug_printmodeline: Modeline 9:"640x350" 70 25180 640 656 752 800 350 387 389 449 0x40 0x9
DRM debug in drm_setup_crtcs:
DRM debug in drm_enable_connectors: connector 6 enabled? yes
DRM debug in intel_fb_initial_config: looking for cmdline mode on connector 6
DRM debug in intel_fb_initial_config: looking for preferred mode on connector 6
DRM debug in intel_fb_initial_config: using first mode listed on connector VGA-1
DRM debug in intel_fb_initial_config: connector VGA-1 on crtc 5: 1280x1024
DRM debug in drm_setup_crtcs: desired mode 1280x1024 set on crtc 5
DRM debug in intelfb_create: no BIOS fb, allocating a new one
DRM debug in drm_framebuffer_reference: FB ID: 33
intelfb0 at i915drmkms0
intelfb0: WARNING: power management not supported
DRM debug in intelfb_create: allocated 1280x1024 fb: 0x00060000, bo 0xc3a75c00
i915drmkms0: info: registered panic notifier
intelfb0: framebuffer at 0xdb65c000, size 1280x1024, depth 32, stride 5120
DRM debug in intel_crtc_cursor_set: cursor off
DRM debug in intel_crtc_set_config: [CRTC:5] [FB:33] #connectors=1 (x y) (0 0)
DRM debug in intel_set_config_compute_mode_changes: inactive crtc, full mode set
DRM debug in intel_set_config_compute_mode_changes: modes are different, full mode set
DRM debug in drm_mode_debug_printmodeline: Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 0x0 0x0
DRM debug in drm_mode_debug_printmodeline: Modeline 30:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x40 0x5
DRM debug in intel_set_config_compute_mode_changes: computed changes for [CRTC:5], mode_changed=1, fb_changed=0
DRM debug in intel_modeset_stage_output_state: [CONNECTOR:6:VGA-1] to [CRTC:5]
DRM debug in intel_modeset_affected_pipes: set mode pipe masks: modeset: 1, prepare: 1, disable: 0
DRM debug in connected_sink_compute_bpp: [CONNECTOR:6:VGA-1] checking for sink bpp constrains
DRM debug in intel_modeset_pipe_config: plane bpp: 24, pipe bpp: 24, dithering: 0
DRM debug in intel_dump_pipe_config: [CRTC:5][modeset] config for pipe A
DRM debug in intel_dump_pipe_config: cpu_transcoder: A
DRM debug in intel_dump_pipe_config: pipe bpp: 24, dithering: 0
DRM debug in intel_dump_pipe_config: fdi/pch: 0, lanes: 0, gmch_m: 0, gmch_n: 0, link_m: 0, link_n: 0, tu: 0
DRM debug in intel_dump_pipe_config: dp: 0, gmch_m: 0, gmch_n: 0, link_m: 0, link_n: 0, tu: 0
DRM debug in intel_dump_pipe_config: requested mode:
DRM debug in drm_mode_debug_printmodeline: Modeline 0:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x40 0x5
DRM debug in intel_dump_pipe_config: adjusted mode:
DRM debug in drm_mode_debug_printmodeline: Modeline 0:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x40 0x5
DRM debug in intel_dump_crtc_timings: crtc timings: 108000 1280 1328 1440 1688 1024 1025 1028 1066, type: 0x40 flags: 0x5
DRM debug in intel_dump_pipe_config: port clock: 108000
DRM debug in intel_dump_pipe_config: pipe src size: 1280x1024
DRM debug in intel_dump_pipe_config: gmch pfit: control: 0x00000000, ratios: 0x00000000, lvds border: 0x00000000
DRM debug in intel_dump_pipe_config: pch pfit: pos: 0x00000000, size: 0x00000000, disabled
DRM debug in intel_dump_pipe_config: ips: 0
DRM debug in intel_dump_pipe_config: double wide: 0
DRM debug in drm_calc_vbltimestamp_from_scanoutpos: crtc 0: Noop due to uninitialized mode.
DRM debug in drm_calc_timestamping_constants: crtc 5: hwmode: htotal 1688, vtotal 1066, vdisplay 1024
DRM debug in drm_calc_timestamping_constants: crtc 5: clock 108000 kHz framedur 16661185 linedur 15629, pixeldur 9
DRM debug in drm_vblank_get: enabling vblank on crtc 0, ret: -22
DRM debug in i9xx_update_primary_plane: Writing base 00060000 00000000 0 0 5120
DRM debug in intel_crtc_mode_set: [ENCODER:7:DAC-7] set [MODE:0:1280x1024]
DRM debug in i845_get_fifo_size: FIFO size - (0x0000005f) A: 23
DRM debug in intel_calculate_wm: FIFO entries required for mode: 68
DRM debug in intel_calculate_wm: FIFO watermark level: -47
DRM debug in i845_update_wm: Setting FIFO watermarks - A: 1
DRM debug in intel_wait_for_vblank: vblank wait timed out
DRM debug in intel_wait_for_vblank: vblank wait timed out
DRM debug in intel_connector_check_state: [CONNECTOR:6:VGA-1]
DRM debug in check_encoder_state: [ENCODER:7:DAC-7]
DRM debug in check_crtc_state: [CRTC:5]
DRM debug in drm_framebuffer_reference: FB ID: 33
wsdisplay0 at intelfb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wskbd0: connecting to wsdisplay0
[...]
$ logger starting X11 ; startx > gx260-startx05.log 2>&1
DRM debug in i915_gem_open:
DRM debug in intel_crtc_cursor_set: cursor off
DRM debug in intel_crtc_set_config: [CRTC:5] [FB:33] #connectors=1 (x y) (0 0)
DRM debug in intel_set_config_compute_mode_changes: computed changes for [CRTC:5], mode_changed=0, fb_changed=0
DRM debug in intel_modeset_stage_output_state: [CONNECTOR:6:VGA-1] to [CRTC:5]
DRM debug in drm_framebuffer_reference: FB ID: 33
DRM debug in drm_framebuffer_unreference: FB ID: 33
DRM debug in i915_gem_open:
DRM debug in drm_mode_getresources: CRTC[1] CONNECTORS[1] ENCODERS[1]
DRM debug in intel_crtc_cursor_set: cursor off
DRM debug in intel_crtc_set_config: [CRTC:5] [FB:33] #connectors=1 (x y) (0 0)
DRM debug in intel_set_config_compute_mode_changes: computed changes for [CRTC:5], mode_changed=0, fb_changed=0
DRM debug in intel_modeset_stage_output_state: [CONNECTOR:6:VGA-1] to [CRTC:5]
DRM debug in drm_framebuffer_reference: FB ID: 33
DRM debug in drm_framebuffer_unreference: FB ID: 33
DRM debug in i915_gem_open:
DRM debug in intel_crtc_cursor_set: cursor off
DRM debug in intel_crtc_set_config: [CRTC:5] [FB:33] #connectors=1 (x y) (0 0)
DRM debug in intel_set_config_compute_mode_changes: computed changes for [CRTC:5], mode_changed=0, fb_changed=0
DRM debug in intel_modeset_stage_output_state: [CONNECTOR:6:VGA-1] to [CRTC:5]
DRM debug in drm_framebuffer_reference: FB ID: 33
DRM debug in drm_framebuffer_unreference: FB ID: 33
DRM debug in i915_gem_open:
DRM debug in drm_mode_getresources: CRTC[1] CONNECTORS[1] ENCODERS[1]
DRM debug in drm_mode_getresources: CRTC[1] CONNECTORS[1] ENCODERS[1]
DRM debug in drm_mode_getresources: CRTC[1] CONNECTORS[1] ENCODERS[1]
DRM debug in drm_mode_getconnector: [CONNECTOR:6:?]
DRM debug in drm_helper_probe_single_connector_modes: [CONNECTOR:6:VGA-1]
DRM debug in intel_crt_detect: [CONNECTOR:6:VGA-1] force=1
drm: GMBUS [i915 gmbus vga] timed out, falling back to bit banging on pin 2
DRM debug in intel_crt_detect_ddc: CRT not detected via DDC:0x50 [no valid EDID found]
DRM debug in intel_get_load_detect_pipe: [CONNECTOR:6:VGA-1], [ENCODER:7:DAC-7]
DRM debug in intel_crt_detect_ddc: CRT not detected via DDC:0x50 [no valid EDID found]
DRM debug in intel_crt_load_detect: starting load-detect on CRT
[spins here]
[BREAK sent]
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c02a4074 cs 8 eflags 200202 cr2 bb307414 ilevel 8 esp dad24f6c
curlwp 0xc3df27e0 pid 146 lid 1 lowest kstack 0xdc72e2c0
Stopped in pid 146.1 (Xorg) at netbsd:breakpoint+0x4: popl %ebp
db{0}> bt
breakpoint(c1006fc0,3f8,5,c1007880,c06a6e34,c10ae1c8,c3bec8c8,c3bec840,c3abd000,
c3c540c6) at netbsd:breakpoint+0x4
comintr(c3bec788,dc730ca8,0,0,0,0,0,0,0,0) at netbsd:comintr+0x552
--- switch to interrupt stack ---
Xintr_ioapic_edge11() at netbsd:Xintr_ioapic_edge11+0xb5
--- interrupt ---
bus_space_read_4(c3575000,70000,0,1,1,401,0,42903ff,60010,0) at netbsd:bus_space
_read_4+0x13
intel_crt_detect(c36a594c,1,6,c1082ac0,c02e2774,c3556140,6,dc730db4,c0c457e0,c35
5600c) at netbsd:intel_crt_detect+0x8f9
drm_helper_probe_single_connector_modes(c36a594c,800,800,c02fabeb,c36a594c,c3556
13c,c4d15f10,c4d15f10,1,2) at netbsd:drm_helper_probe_single_connector_modes+0x2
9b
drm_mode_getconnector(c355600c,dc730eb0,c4d15f10,c3c59b98,ff,c43f0a08,dc730f68,c
04c64a7,c44fd3c0,dc730f3c) at netbsd:drm_mode_getconnector+0x333
drm_ioctl(c44fd3c0,c04c64a7,dc730eb0,1,c41f39f0,c41f0520,c41f3b40,0,4c,0) at net
bsd:drm_ioctl+0x100
sys_ioctl(c3df27e0,dc730f68,dc730f60,bb307000,c3c59b98,c105ee28,dc730f68,0,0,a) a
t netbsd:sys_ioctl+0x198
syscall() at netbsd:syscall+0x83
--- syscall (number 54) ---
bb77be47:
db{0}>
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index