ubuntu-x-swat team mailing list archive
-
ubuntu-x-swat team
-
Mailing list archive
-
Message #70288
[Bug 468413] Re: Radeon module loaded before agpgart
I have attached a boot log (dmesg) when system fails to boot properly.
As can be clearly seen, agpgart-amd64 is loaded after the drm and radeon
modules, too late infact, and system either hangs or drops to command
line. If you compare this boot log to the boot log I attached earlier
(with apport-collect), you'll see that the order in which modules in
question are loaded is completely different. The order seems to be
random every time the system is booted. In a boot log of a successful
attempt to boot the system, agpgart-amd64 module is loaded after the
agpgart module and just before drm. Everything (KMS, DRI, 3D accel.)
worked perfectly after that. In a failed attempt to boot, agpgart-amd64
module loaded much, much later.
Boot log snippets:
*******
Fail:
*******
[ 2.938953] Linux agpgart interface v0.103
...
[ 3.058004] [drm] Initialized drm 1.1.0 20060810
...
[ 3.394070] [drm] radeon defaulting to kernel modesetting.
[ 3.394074] [drm] radeon kernel modesetting enabled.
[ 3.394401] ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 19
[ 3.394406] alloc irq_desc for 19 on node -1
[ 3.394408] alloc kstat_irqs on node -1
[ 3.394418] radeon 0000:01:00.0: PCI INT A -> Link[LNKE] -> GSI 19 (level, low) -> IRQ 19
[ 3.397169] [drm] radeon: Initializing kernel modesetting.
[ 3.397258] [drm] register mmio base: 0xFF4F0000
[ 3.397260] [drm] register mmio size: 65536
[ 3.398712] [drm] GPU reset succeed (RBBM_STATUS=0x00000140)
[ 3.398732] [drm] Generation 2 PCI interface, using max accessible memory
[ 3.398746] BUG: unable to handle kernel NULL pointer dereference at 00000040
[ 3.398860] IP: [<f8270a49>] radeon_agp_init+0x19/0x3d0 [radeon]
[ 3.398996] *pde = 00000000
[ 3.399068] Oops: 0000 [#1] SMP
[ 3.399173] last sysfs file: /sys/devices/pci0000:00/0000:00:08.0/host0/uevent
[ 3.399215] Modules linked in: radeon(+) ttm drm_kms_helper drm amd64_agp(+) floppy i2c_algo_bit forcedeth(+) sata_nv(+) pata_amd agpgart
[ 3.399667]
[ 3.399705] Pid: 215, comm: modprobe Not tainted (2.6.32-21-generic #32-Ubuntu) K8N
[ 3.399748] EIP: 0060:[<f8270a49>] EFLAGS: 00010282 CPU: 0
[ 3.399803] EIP is at radeon_agp_init+0x19/0x3d0 [radeon]
[ 3.399843] EAX: f68da400 EBX: f73df000 ECX: d0000000 EDX: 00000000
[ 3.399884] ESI: f68da400 EDI: 00000008 EBP: f6a1fd48 ESP: f6a1fcf4
[ 3.399924] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 3.399965] Process modprobe (pid: 215, ti=f6a1e000 task=f6a20000 task.ti=f6a1e000)
[ 3.400006] Stack:
[ 3.400020] f6a10020 c00c0000 f70f1000 c00cd000 f6a1fd10 452b1daf f73df000 10000000
[ 3.400020] <0> 00000008 f6a1fd28 c0588f42 f82d9e2c f6a1fd34 f6a1fd40 f829604b f82d9e2c
[ 3.400020] <0> f68da400 f73df000 f73df000 f68da400 00000008 f6a1fd54 f829386f f73df000
[ 3.400020] Call Trace:
[ 3.400020] [<c0588f42>] ? printk+0x1d/0x23
[ 3.400020] [<f829604b>] ? r100_get_accessible_vram+0x11b/0x150 [radeon]
[ 3.400020] [<f829386f>] ? r100_mc_init+0x9f/0xe0 [radeon]
[ 3.400020] [<f8297f72>] ? r100_init+0xd2/0x270 [radeon]
[ 3.400020] [<c058b5af>] ? _spin_lock_irqsave+0x2f/0x50
[ 3.400020] [<c03cbf4b>] ? vga_client_register+0x6b/0x80
[ 3.400020] [<f826cb6f>] ? radeon_device_init+0x22f/0x2f0 [radeon]
[ 3.400020] [<f826bed0>] ? radeon_vga_set_decode+0x0/0x30 [radeon]
[ 3.400020] [<f826d80a>] ? radeon_driver_load_kms+0x7a/0x190 [radeon]
[ 3.400020] [<f810d685>] ? drm_get_dev+0x125/0x230 [drm]
[ 3.400020] [<c025f2b0>] ? sysfs_addrm_start+0x60/0xa0
[ 3.400020] [<f82cd5d2>] ? radeon_pci_probe+0x12/0x17f [radeon]
[ 3.400020] [<c0363883>] ? local_pci_probe+0x13/0x20
[ 3.400020] [<c0364688>] ? pci_device_probe+0x68/0x90
[ 3.400020] [<c03e684d>] ? really_probe+0x4d/0x140
[ 3.400020] [<c03ed15e>] ? pm_runtime_barrier+0x4e/0xc0
[ 3.400020] [<c03e697c>] ? driver_probe_device+0x3c/0x60
[ 3.400020] [<c03e6a21>] ? __driver_attach+0x81/0x90
[ 3.400020] [<c03e5e63>] ? bus_for_each_dev+0x53/0x80
[ 3.400020] [<c03e671e>] ? driver_attach+0x1e/0x20
[ 3.400020] [<c03e69a0>] ? __driver_attach+0x0/0x90
[ 3.400020] [<c03e60e5>] ? bus_add_driver+0xd5/0x280
[ 3.400020] [<c03645c0>] ? pci_device_remove+0x0/0x40
[ 3.400020] [<c03e6d1a>] ? driver_register+0x6a/0x130
[ 3.400020] [<c03648c5>] ? __pci_register_driver+0x45/0xb0
[ 3.400020] [<f81082a3>] ? drm_init+0xf3/0x100 [drm]
[ 3.400020] [<f82fb0df>] ? radeon_init+0xdf/0xe1 [radeon]
[ 3.400020] [<c0101131>] ? do_one_initcall+0x31/0x190
[ 3.400020] [<f82fb000>] ? radeon_init+0x0/0xe1 [radeon]
[ 3.400020] [<c0182340>] ? sys_init_module+0xb0/0x210
[ 3.400020] [<c01033ec>] ? syscall_call+0x7/0xb
[ 3.400020] Code: 66 90 e8 eb db e9 ff 5d 66 90 c3 8d b4 26 00 00 00 00 55 89 e5 57 56 53 83 ec 48 0f 1f 44 00 00 89 c3 8b 40 04 8b 90 28 02 00 00 <8b> 4a 40 85 c9 75 12 e8 2b db e9 ff 85 c0 89 c7 0f 85 51 03 00
[ 3.400020] EIP: [<f8270a49>] radeon_agp_init+0x19/0x3d0 [radeon] SS:ESP 0068:f6a1fcf4
[ 3.400020] CR2: 0000000000000040
...
[ 3.466714] agpgart-amd64 0000:00:00.0: AGP bridge [10de/00e1]
[ 3.466788] agpgart-amd64 0000:00:00.0: aperture size 4096 MB is not right, using settings from NB
[ 3.466847] agpgart-amd64 0000:00:00.0: setting up Nforce3 AGP
[ 3.476329] agpgart-amd64 0000:00:00.0: AGP aperture is 256M @ 0xe0000000
************
Success:
************
[ 2.936956] Linux agpgart interface v0.103
...
[ 3.642948] agpgart-amd64 0000:00:00.0: AGP bridge [10de/00e1]
[ 3.642976] agpgart-amd64 0000:00:00.0: aperture size 4096 MB is not right, using settings from NB
[ 3.642983] agpgart-amd64 0000:00:00.0: setting up Nforce3 AGP
[ 3.680294] agpgart-amd64 0000:00:00.0: AGP aperture is 256M @ 0xe0000000
[ 3.682155] [drm] Initialized drm 1.1.0 20060810
[ 3.727295] [drm] radeon defaulting to kernel modesetting.
[ 3.727299] [drm] radeon kernel modesetting enabled.
[ 3.727616] ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 19
[ 3.727622] alloc irq_desc for 19 on node -1
[ 3.727624] alloc kstat_irqs on node -1
[ 3.727633] radeon 0000:01:00.0: PCI INT A -> Link[LNKE] -> GSI 19 (level, low) -> IRQ 19
[ 3.730389] [drm] radeon: Initializing kernel modesetting.
[ 3.730480] [drm] register mmio base: 0xFF4F0000
[ 3.730482] [drm] register mmio size: 65536
[ 3.731970] [drm] GPU reset succeed (RBBM_STATUS=0x00000140)
[ 3.732117] [drm] Generation 2 PCI interface, using max accessible memory
[ 3.732128] agpgart-amd64 0000:00:00.0: AGP 3.0 bridge
[ 3.732147] agpgart-amd64 0000:00:00.0: putting AGP V3 device into 8x mode
[ 3.732177] radeon 0000:01:00.0: putting AGP V3 device into 8x mode
[ 3.732188] [drm] radeon: VRAM 128M
[ 3.732191] [drm] radeon: VRAM from 0x00000000 to 0x07FFFFFF
[ 3.732193] [drm] radeon: GTT 256M
[ 3.732195] [drm] radeon: GTT from 0xE0000000 to 0xEFFFFFFF
[ 3.732232] [drm] radeon: irq initialized.
[ 3.732436] [drm] Detected VRAM RAM=128M, BAR=128M
[ 3.732441] [drm] RAM width 128bits DDR
[ 3.732570] [TTM] Zone kernel: Available graphics memory: 443632 kiB.
[ 3.732572] [TTM] Zone highmem: Available graphics memory: 513140 kiB.
[ 3.732591] [drm] radeon: 128M of VRAM memory ready
[ 3.732593] [drm] radeon: 256M of GTT memory ready.
[ 3.733075] [drm] radeon: cp idle (0x02000603)
[ 3.733116] [drm] Loading R200 Microcode
[ 3.733390] platform radeon_cp.0: firmware: requesting radeon/R200_cp.bin
[ 3.739714] [drm] radeon: ring at 0x00000000E0000000
[ 3.739740] [drm] ring test succeeded in 0 usecs
[ 3.744112] [drm] radeon: ib pool ready.
[ 3.744188] [drm] ib test succeeded in 0 usecs
[ 3.744447] [drm] Default TV standard: PAL
[ 3.744449] [drm] 27.000000000 MHz TV ref clk
[ 3.744452] [drm] DFP table revision: 3
[ 3.744613] [drm] Default TV standard: PAL
[ 3.744614] [drm] 27.000000000 MHz TV ref clk
[ 3.744662] [drm] Radeon Display Connectors
[ 3.744664] [drm] Connector 0:
[ 3.744665] [drm] VGA
[ 3.744668] [drm] DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
[ 3.744670] [drm] Encoders:
[ 3.744671] [drm] CRT1: INTERNAL_DAC1
[ 3.744673] [drm] Connector 1:
[ 3.744674] [drm] DVI-I
[ 3.744676] [drm] HPD1
[ 3.744678] [drm] DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64
[ 3.744680] [drm] Encoders:
[ 3.744681] [drm] CRT2: INTERNAL_DAC2
[ 3.744683] [drm] DFP1: INTERNAL_TMDS1
[ 3.744684] [drm] Connector 2:
[ 3.744686] [drm] S-video
[ 3.744687] [drm] Encoders:
[ 3.744688] [drm] TV1: INTERNAL_DAC2
[ 3.894571] [drm] fb mappable at 0xD0040000
[ 3.894574] [drm] vram apper at 0xD0000000
[ 3.894576] [drm] size 5242880
[ 3.894578] [drm] fb depth is 24
[ 3.894579] [drm] pitch is 5120
[ 3.894894] fb0: radeondrmfb frame buffer device
[ 3.894896] registered panic notifier
[ 3.894902] [drm] Initialized radeon 2.0.0 20080528 for 0000:01:00.0 on minor 0
** Attachment added: "Boot log when system fails to boot properly."
http://launchpadlibrarian.net/48016610/dmesg-fail.txt
--
Radeon module loaded before agpgart
https://bugs.launchpad.net/bugs/468413
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-ati in ubuntu.