Bug 3294

Summary: i830 bug when loaded without intel-agp
Product: Drivers Reporter: CASTET Matthieu (castet.matthieu)
Component: Video(DRI - non Intel)Assignee: Dave Airlie (airlied)
Status: REJECTED WILL_NOT_FIX    
Severity: normal    
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.8 Subsystem:
Regression: --- Bisected commit-id:

Description CASTET Matthieu 2004-08-28 12:56:14 UTC
hello,
when I forgot to load intel-agp and i load i830 I had got this log

Thanks
Matthieu


Aug 26 11:38:21 linux -- MARK --
Aug 26 11:47:42 linux kernel: [drm:i830_probe] *ERROR* Cannot initialize the agp
gart module.
Aug 26 11:47:42 linux kernel: [drm:i830_probe] *ERROR* Cannot initialize the agp
gart module.
Aug 26 11:47:42 linux kernel: inter_module_unregister: no entry for 'drm'-------
-----[ cut here ]------------
Aug 26 11:47:42 linux kernel: kernel BUG at kernel/intermodule.c:104!
Aug 26 11:47:42 linux kernel: invalid operand: 0000 [#1]
Aug 26 11:47:42 linux kernel: PREEMPT 
Aug 26 11:47:42 linux kernel: Modules linked in: i830 snd_pcm_oss snd_mixer_oss 
snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd_mpu401_uart snd_rawmidi snd_se
q_device snd usb_storage uhci_hcd agpgart speedstep_centrino thermal processor f
an snd_page_alloc button soundcore battery ac ds yenta_socket pcmcia_core psmous
e joydev evdev ehci_hcd usbcore ide_scsi scsi_mod ide_cd cdrom vfat fat 8250 ser
ial_core
Aug 26 11:47:42 linux kernel: CPU:    0
Aug 26 11:47:42 linux kernel: EIP:    0060:[<c012917e>]    Not tainted
Aug 26 11:47:42 linux kernel: EFLAGS: 00010246   (2.6.8) 
Aug 26 11:47:42 linux kernel: EIP is at inter_module_unregister+0x9e/0xf0
Aug 26 11:47:42 linux kernel: eax: 0000002e   ebx: e0255a29   ecx: c0351530  
edx: d1075f20
Aug 26 11:47:42 linux kernel: esi: df641400   edi: 00000000   ebp: c0352b80   es
p: d1075f1c
Aug 26 11:47:42 linux kernel: ds: 007b   es: 007b   ss: 0068
Aug 26 11:47:42 linux kernel: Process modprobe (pid: 6680, threadinfo=d1074000 t
ask=de525160)
Aug 26 11:47:42 linux kernel: Stack: c0311660 e0255a29 00000000 df641400 0000000
0 00000000 e024fe7a 00000000 
Aug 26 11:47:42 linux kernel:        e02500c2 d1075f58 e0259120 df641400 e025912
0 e024c336 e02544e0 e0253c4c 
Aug 26 11:47:42 linux kernel:        00000000 00000010 00000015 00000016 0000000
0 00000011 ffffffff df630c00 
Aug 26 11:47:42 linux kernel: Call Trace:
Aug 26 11:47:42 linux kernel:  [<e024fe7a>] i830_stub_putminor+0x6a/0xb0 [i830]
Aug 26 11:47:42 linux kernel:  [<e02500c2>] i830_stub_unregister+0x22/0x41 [i830
]
Aug 26 11:47:42 linux kernel:  [<e024c336>] i830_probe+0x276/0x290 [i830]
Aug 26 11:47:42 linux kernel:  [<e01a4027>] drm_init+0x27/0x5b [i830]
Aug 26 11:47:42 linux kernel:  [<c012f7c7>] sys_init_module+0x107/0x230
Aug 26 11:47:42 linux kernel:  [<c014e82f>] filp_close+0x4f/0x90
Aug 26 11:47:42 linux kernel:  [<c010409b>] syscall_call+0x7/0xb
Aug 26 11:47:42 linux kernel: Code: 0f 0b 68 00 5f 0c 31 c0 83 c4 08 5b 5e 5f 5d
 c3 8b 45 04 89
Comment 1 Dave Airlie 2004-08-28 23:51:44 UTC
this is due to the class stuff that was added incorrectly, we have proper code
in DRM cvs but it needs a blessing from the kernel...
Comment 2 Dave Airlie 2005-06-04 21:25:11 UTC
I'm nearly sure this should be fixed in latest kernels, or at least something
very different will happen..