radeon(4)+apic(4) on SMP environment causes panic

From: Norikatsu Shigemura <nork_at_FreeBSD.org>
Date: Mon, 28 Aug 2006 23:47:02 +0900
	When X run and is initializing with radeon.ko kldload-ed,
	I always contact a panic.  I think that apic(4) and radeon(4)
	have any problems.  I don't why panic, so I'll report it.

	[environment]
	7-current
FreeBSD nadesico.ninth-nine.com 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Mon Aug 28 23:10:32 JST 2006     nork_at_nadesico.ninth-nine.com:/usr/obj/usr/src/sys/NADESICO  i386

	Intel PentiumIII-S 1.13GHz Dual Socket (SMP)
	ATi Radeon 9600
	VIA Apollo Pro266T (Supermicro P3DDE)


	[check pattern]
	1. hint.apic.0.disabled=1
	   doesn't panic
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
drm0: <ATI Radeon AP 9600> on vgapci0
info: [drm] AGP at 0xf0000000 64MB
info: [drm] Initialized radeon 1.24.0 20060225
info: [drm] Setting GART location based on old memory map
info: [drm] Loading R300 Microcode
info: [drm] writeback test succeeded in 1 usecs

FreeBSD/i386 (nadesico.ninth-nine.com) (dcons)

login: 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


	2. kern.smp.active=0
	   panic in drm(4) initilizing before Setting GART location
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
drm0: <ATI Radeon AP 9600> on vgapci0
info: [drm] AGP at 0xf0000000 64MB
info: [drm] Initialized radeon 1.24.0 20060225


Fatal trap 30: reserved (unknown) fault while in kernel mode
cpuid = 1; apic id = 01
instruction pointer     = 0x20:0xc0624ba7
stack pointer           = 0x28:0xe1f11cc4
frame pointer           = 0x28:0xe1f11cc8
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, IOPL = 0
current process         = 10 (idle: cpu1)
[thread pid 10 tid 100006 ]
Stopped at      spinlock_exit+0x27:     popl    %ebx
db> bt
Tracing pid 10 tid 100006 td 0xc5466510
spinlock_exit(1,0,0,0,0,...) at spinlock_exit+0x27
idle_proc(0,e1f11d38,ffffffff,ffffffff,ffffffff,...) at idle_proc+0x170
fork_exit(c0475570,0,e1f11d38) at fork_exit+0x81
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xe1f11d6c, ebp = 0 ---
db> 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


	3. kldunload radeon.ko and X run
	   doesn't panic (same as 1)
Received on Mon Aug 28 2006 - 12:47:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:59 UTC