Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: i386 i915drmkms on i82845G/GL



On Tue, 17 Feb 2015, Ryo ONODERA wrote:

> My dmesg has no agp(4).
> Is agp(4) required to use i915drmkms(4) like i915drm(4)?

Using "userconf" (boot netbsd -cvx) to disable "agp" resulted in failure
to attach i915drmkms.  Subsequently attempting to start X panicked the
machine.

Since wsdisplay ended up on vga0 at isa (???, not vga1 at pci?), the
video console stayed operational.  I guess i915drmkms claimed the pci
device, but intelfb couldn't attach.  Hmm.  Maybe disable pcdisplay
and vga0 at isa as well and try again?

In this instance, I was able to use the serial console to capture the
relevant bits:

>> NetBSD/x86 PXE boot, Revision 5.1 (from NetBSD 7.99.1)
>> Memory: 562/2087364 k
> boot netbsd -cvx
[...]
NetBSD 7.99.4 (GENERIC) #126: Fri Feb 13 11:06:00 CST 2015
	sysop%verthandi.technoskunk.fur@localhost:/d0/build/current/obj/i386/sys/arch/i386/compile/GENERIC
total memory = 2039 MB
avail memory = 1987 MB
[...]
userconf: configure system autoconfiguration:   
uc> disable agp                              
[424] agp* disabled
uc> exit           
Continuing...
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
BIOS32 rev. 0 found at 0xffe90                                   
SMBIOS rev. 2.3 @ 0xf0450 (67 entries)
Dell Computer Corporation OptiPlex GX260               
[...]
pchb0 at pci0 dev 0 function 0: Intel 82845G/GL DRAM Controller / Host-Hub I/F Bridge (rev. 0x01)
agp at pchb0 not configured
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 error in i915_gmch_probe: failed to set up gmch
i915drmkms0: unable to attach drm: 5               
[...]
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console                                              
vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
wsdisplay0 at vga0 kbdmux 1                        
wsmux1: connecting to wsdisplay0
wskbd0: connecting to wsdisplay0
vga0: WARNING: power management not supported
[...]
$ logger starting X11 ; startx > gx260-startx05.log 2>&1
uvm_fault(0xc3e78d44, 0, 2) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 2 eip c0b2ec1a cs 8 eflags 13206 cr2 11 ilevel 8 esp c02f9737
curlwp 0xc3d9e800 pid 168 lid 1 lowest kstack 0xdbc182c0                      
kernel: supervisor trap page fault, code=0              
Stopped in pid 168.1 (Xorg) at  netbsd:_atomic_inc_32_nv+0xa:   xaddl   %eax,0(%
edx)                                                                           
db{0}> bt
_atomic_inc_32_nv(0,c4064c60,c0682143,6,0,1,4,c4064c60,c3d9e800,0) at netbsd:_at
omic_inc_32_nv+0xa                                                             
drm_open(b400,0,3,2000,c3d9e800,c0bcffa0,2000,3,0,b400) at netbsd:drm_open+0x48
cdev_open(b400,0,3,2000,c3d9e800,c0682166,c40631e8,c4064c60,b4,b400) at netbsd:c
dev_open+0xce                                                                  
spec_open(dbc1adb4,0,0,c0da3914,c4064c60,3,c4426600,dbc1aea4,dbc1ae80,c0ab1738) a
t netbsd:spec_open+0x297
VOP_OPEN(c4064c60,3,c4426600,3,c4064c60,0,c4426600,0,dbc1ae18,c0670abd) at netbs
d:VOP_OPEN+0x50                                                                
vn_open(dbc1aea4,3,0,dbc1aeb8,0,c4415400,a,0,c4458f68,c4076400) at netbsd:vn_ope
n+0x211                                                                        
do_open(c3d9e800,0,c4458f68,2,0,dbc1af38,0,c4458f68,c3d9e800,dbc1afa8) at netbsd
:do_open+0xb5                                                                  
do_sys_openat(2,0,dbc1af38,c07edac2,dbc1af9c,c0995163,c3d9e800,dbc1af68,dbc1af60
,79536000) at netbsd:do_sys_openat+0x6f                                        
sys_open(c3d9e800,dbc1af68,dbc1af60,79536000,c1008880,c105fbdc,dbc1af68,0,0,bfbf
e9b0) at netbsd:sys_open+0x2c                                                  
syscall() at netbsd:syscall+0x83
--- syscall (number 5) ---      
bb6deab7:                 
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