Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2006 16:46:20 +0200
From:      "Andreas Kohn" <andreas.kohn@gmail.com>
To:        freebsd-mobile@freebsd.org
Subject:   Intel i830M behind transparent AGP bridge?
Message-ID:  <b185530d0607280746v6c94c22ascc62af865139777c@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

a friend of mine has a laptop which has an Intel i830M chipset.
Linux recognizes the chip, and connects it to its agpgart.
FreeBSD* also recognizes the chip, but see it as connected to the pci
bus. This makes the drm parts fail to attach, as they require
(according to the code) the i830 to be attached as AGP chip.

Is this a known problem, and even more, is there any known work-around
to achieve working drm with i830M in this setup?

The relevant/interesting lines from the boot
Linux:
PCI: Transparent bridge - 0000:00:1e.0
PCI: Bus #02 (-#05) is hidden behind transparent bridge #01 (-#01)
(try 'pci=assign-busses')
Please report the result to linux-kernel to fix this permanently
[...]
agpgart: Detected an Intel 830M Chipset.
agpgart: Detected 8060K stolen memory.
agpgart: AGP aperture is 128M @ 0x98000000
[...]
[drm] Initialized drm 1.0.1 20051102
[...]
[drm] Initialized i915 1.4.0 20060119 on minor 0
[drm] Initialized i915 1.4.0 20060119 on minor 1

FreeBSD:
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
drmsub0: <Intel i830M GMCH> mem
0x98000000-0x9fffffff,0x90100000-0x9017ffff irq 11 at device 2.0 on
pci0
error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize AGP.
device_attach: drmsub0 attach returned 12
drmsub1: <Intel i830M GMCH> mem
0x88000000-0x8fffffff,0x80200000-0x8027ffff at device 2.1 on pci0
error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize AGP.
device_attach: drmsub1 attach returned 12

drmsub0@pci0:2:0:       class=0x030000 card=0x05051014 chip=0x35778086 rev=0x04
hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82830M/MG Integrated Graphics Device'
    class    = display
    subclass = VGA
drmsub1@pci0:2:1:       class=0x038000 card=0x05051014 chip=0x35778086 rev=0x00
hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82830M/MG Integrated Graphics Device'
    class    = display

I have put a complete FreeBSD (6.1-Release, *PCBSD) dmesg, the linux
dmesg (Knoppix), and the ACPI .dsl file on
http://andreas.syndrom23.de/dump/enrico-laptop

Could updating to -CURRENT help in any way?

Best Regards,
Andreas Kohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b185530d0607280746v6c94c22ascc62af865139777c>