OpenSolaris

Printable Version Enter a New Search
Bug ID 6487609
Synopsis vgatext_get_pci_reg_index failing to find a reg entry leads to panic in i915_sun_attach
State 10-Fix Delivered (Fix available in build)
Category:Subcategory graphics:videox86
Keywords dri | drm | i915 | i915_sun_attach
Responsible Engineer Daniel Zhu
Reported Against snv_51
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_53
Fixed In snv_53
Release Fixed solaris_nevada(snv_53)
Related Bugs 6406183 , 6487864 , 6488256
Submit Date 30-October-2006
Last Update Date 6-November-2008
Description
After installation of snv_51, some machines (with Intel i855 chipset so far) will panic at first booting. Crash dump attached.

WARNING: gfxp_vgatext: can't find reg entry for registers
WARNING: i915_sun_attach: failed, invoke detach
...
d4459abc unix:die+98 (e, d4459b70, 0, 0)
d4459b5c unix:trap+1193 (d4459b70, 0, 0)
d4459b70 unix:cmntrap+9b (1b0, 0, 160, 160, 0)
d4459be4 genunix:ddi_regs_map_free+d (0)
d4459bf8 genunix:pci_config_teardown+e (0)
d4459c14 i915:i915_sun_detach+5c (d9b9c5a8, 0)
d4459c94 i915:i915_sun_attach+180 (d9b9c5a8, 0)
d4459cc4 genunix:devi_attach+6c (d9b9c5a8, 0)
d4459ce8 genunix:attach_node+81 (d9b9c5a8)
d4459d08 genunix:i_ndi_config_node+86 (d9b9c5a8, 6, 0)
d4459d28 genunix:i_ddi_attachchild+35 (d9b9c5a8)
d4459d44 genunix:devi_attach_node+6c (d9b9c5a8, 4048)
d4459d74 genunix:config_immediate_children+c9 (d9b9cb48, 4048, bf)
d4459d90 genunix:devi_config_common+7f (d9b9cb48, 4048, bf)
d4459dc8 genunix:mt_config_thread+40 (d4aac080, 0)
d4459dd8 unix:thread_start+8 ()
Work Around
Go to the failsafe mode, remove /a/platform/i86pc/kernel/drv/i915, and then delete/comment i915 entries in /a/etc/driver_aliases and /a/etc/name_to_major.

The better way is to add:
i915   " pciclass,030000" 
before vgatext lines in /etc/driver_aliases
and then the system will work with DRI enabled

PLEASE note that pciclass,030000 acutally refers to all the video devices, which may contain some hardware that i915 does not support. So this workaround should only be used in a machine with i855 chipset and without any other video card.
Comments
N/A