Bug 11868

Summary: agpgart-intel fails on gigabyte ga-g31mf-s1 board with low (1+1megabyte shared ram) chipset framebuffer size
Product: Drivers Reporter: real name (abittner)
Component: Video(DRI - Intel)Assignee: drivers_video-dri-intel (drivers_video-dri-intel)
Status: RESOLVED DUPLICATE    
Severity: normal CC: airlied, akashandtony, chris, chuckwow001, devzero, jeffm, mimiyang233, myriam.gulkowski
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.27.1-2-default (opensuse 11.1 beta3) Subsystem:
Regression: Yes Bisected commit-id:
Attachments: boot.msg file from opensuse 11.1 beta3 system with 2megabyte shared framebuffer size

Description real name 2008-10-27 07:24:03 UTC
Latest working kernel version: 2.6.18.2 (opensuse 10.2 release)
Earliest failing kernel version: 2.6.22.5 (opensuse 10.3 release)
Distribution: opensuse 11.1
Hardware Environment: gigabyte mainboard ga-g21mf-s1, intel g31 express chipset, intel ich7 southbridge
Software Environment: opensuse kernels booting
Problem Description:

i have already create quite an extensive and detailed bugreport over at the opensuse/novell bugzilla, but they asked me to file another bugreport here too. please check: https://bugzilla.novell.com/show_bug.cgi?id=434618

you will find extensive log information about (partly) booting/crashing opensuse versions 10.2, 10.3 11.0 and so on.. up til 11.1 beta2 and beta3 info stuff and also some "screenshots".

i needed to upload the opensuse 11.1 beta3 "screenshots" onto an imagehosting site, as the opensuse 11.1 beta3 wouldnt really boot with any sort of storage subsystem devices present and i couldnt copy the log/bootup messages but needed to take pictures of the screen.

unfortunately i didnt really find any imagehoster that would make it possible to easily create a simple gallery out of my archived pictures, there was only this adult/mature hoster available, but i uploaded it into the non-adult area of course, but if you will surf the site, you will most likely to encounter adult/mature content banners, advertisements and content. beware ;)
here is the link to all the pictures, also the mainboards bios showing the two settings of the chipset shared video memory settings.
<http://www.imagefap.com/gallery.php?gid=1370379&view=0>

opensuse 11.1 beta3 (kernel 2.6.27.1) wont boot properly and gives agpintel-gart crash when being used with the small shared video ram (1+1megabytes). no agpintel-gart problem is being reported when being set to 1+8megabyte setting in the gigabyte bios settings.



Steps to reproduce:
see https://bugzilla.novell.com/show_bug.cgi?id=434618

use the board/chipset with smallest possible chipset shared video memory settings and try to boot up current opensuse releases and current linux kernels.

thanks for listening.
regards.
Comment 1 real name 2008-10-27 15:21:23 UTC
managed to snatch some real boot.msg data some other way from a booting opensuse 11.1 beta3 system with shared video framebuffer set to small (1+1megabytes settings in gigabytes board bios):

.....
<5>Linux version 2.6.27.1-2-pae (geeko@buildhost) (gcc version 4.3.3 20081002 (prerelease) [gcc-4_3-branch revision 140831] (SUSE Linux) ) #1 SMP 2008-10-16 20:35:15 +0200
....
<6>Linux agpgart interface v0.103
....
<6>agpgart-intel 0000:00:00.0: Intel G33 Chipset
<6>agpgart-intel 0000:00:00.0: no pre-allocated video memory detected
<1>BUG: unable to handle kernel paging request at f8c7fffc
<1>IP: [<f8c13652>] :intel_agp:intel_i915_configure+0xd2/0xf8
<4>*pdpt = 0000000000596001 *pde = 0000000037da0067 *pte = 0000000000000000 
<0>Oops: 0002 [#1] SMP 
<0>last sysfs file: /sys/devices/platform/i8042/modalias
<4>Modules linked in: intel_agp(+) pcspkr iTCO_vendor_support cdrom soundcore agpgart r8169 sg uhci_hcd ehci_hcd sd_mod crc_t10dif usbcore edd ext3 mbcache jbd fan ide_pci_generic ide_core ata_generic ata_piix pata_acpi libata scsi_mod dock thermal processor thermal_sys hwmon
<4>Supported: Yes
<4>
<4>Pid: 672, comm: modprobe Not tainted (2.6.27.1-2-pae #1)
<4>EIP: 0060:[<f8c13652>] EFLAGS: 00010287 CPU: 1
<4>EIP is at intel_i915_configure+0xd2/0xf8 [intel_agp]
<4>EAX: f8c7fffc EBX: ffffffff ECX: fffffffc EDX: 37dcd001
<4>ESI: f8c1696c EDI: f8b7d000 EBP: 000003fc ESP: f6d05e00
<4> DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
<0>Process modprobe (pid: 672, ti=f6d04000 task=f6c94030 task.ti=f6d04000)
<0>Stack: 00000114 d0000008 01140000 00000000 f6ce5a40 f8bd8244 c02361bf 00000300 
<0>       f74b005c f74b00f8 f74b0000 f8c168e0 ffffffed f6ce5a40 f8bd8368 f74b00f8 
<0>       f8c147d7 00000000 f8c147d7 003466f2 000029c2 f8c16914 f8c168e0 f74b0000 
<0>Call Trace:
<0> [<f8bd8244>] agp_backend_initialize+0x187/0x232 [agpgart]
<0> [<f8bd8368>] agp_add_bridge+0x5d/0x175 [agpgart]
<0> [<c0237c99>] pci_device_probe+0x36/0x55
<0> [<c02a45fe>] really_probe+0xd7/0x1de
<0> [<c02a47da>] __driver_attach+0x37/0x55
<0> [<c02a3eb9>] bus_for_each_dev+0x31/0x57
<0> [<c02a43b0>] driver_attach+0x16/0x18
<0> [<c02a38b2>] bus_add_driver+0xec/0x21b
<0> [<c02a494d>] driver_register+0x85/0xe2
<0> [<c0237e9f>] __pci_register_driver+0x3c/0x69
<0> [<c010112b>] _stext+0x3b/0x127
<0> [<c014d898>] sys_init_module+0x8a/0x19e
<0> [<c0103cbb>] sysenter_do_call+0x12/0x2f
<0> [<ffffe430>] 0xffffe430
<0> =======================
<0>Code: 00 3f be f8 8b 40 04 80 78 11 00 74 32 8b 1d 10 b0 c1 f8 8d 0c 9d 00 00 00 00 eb 1e a1 00 3f be f8 8b 50 24 a1 08 b0 c1 f8 01 c8 <89> 10 a1 08 b0 c1 f8 01 c8 8b 00 43 83 c1 04 3b 5e 04 7c dd e8 
<0>EIP: [<f8c13652>] intel_i915_configure+0xd2/0xf8 [intel_agp] SS:ESP 0068:f6d05e00
<4>---[ end trace 82b62fe1e140deb1 ]---
.......

i can also attach the complete boot.msg file in the next step.
regards.
Comment 2 real name 2008-10-27 15:22:54 UTC
Created attachment 18477 [details]
boot.msg file from opensuse 11.1 beta3 system with 2megabyte shared framebuffer size

complete boot.msg file from opensuse 11.1 beta3 system with 2megabyte shared framebuffer size
Comment 3 Andrew Morton 2008-10-27 15:33:35 UTC
OK, thanks.

David: intel_i915_configure() oopsed, and it's a regression.
Comment 4 Roland Kletzing 2008-11-22 08:59:28 UTC
not sure, but is this one
http://marc.info/?l=linux-kernel&m=122595443123449&w=2

related here?

as the reporter is using 2.6.27.1-2-pae , may it be worth giving advice to try non-pae kernel to see if it makes a difference ?

iirc, suse had switched default distro kernel to pae kernel, so even <4gb systems can use cpu nx feature.
Comment 5 Gordon Jin 2009-09-18 02:47:15 UTC
Does this issue still exist?
Comment 6 Jeff Mahoney 2009-11-24 16:25:18 UTC
I believe this may be a duplicate of bug #12539, which has been fixed.
Comment 7 Chris Wilson 2010-07-24 09:32:51 UTC
Indeed, same bug resulting from slightly different input parameters.

*** This bug has been marked as a duplicate of bug 12539 ***