[Openchrome-users] Black screen with VIA Chrome9 HC DX9

Tassilo Horn tassilo
Sun Jun 24 10:26:53 PDT 2007


Benno Schulenberg <bensberg at justemail.net> writes:

Hi Benno,

> Tassilo Horn wrote:
>>[   15.814148] agpgart: Detected AGP bridge 0
>>[   15.818412] agpgart: AGP aperture is 128M @ 0xd0000000
>>[   16.481833] Linux agpgart interface v0.102 (c) Dave Jones
>
> Uh?  Where's your drm and via kernel module?

Oh, I started using the vesa driver at that point. If I don't start with
vesa the system will be locked after X starts. I even cannot ssh to it.

So this time I started with vesa and loaded via and drm with modprobe.

,----[ dmesg | grep -e agp -e drm ]
| [   15.928550] agpgart: Detected AGP bridge 0
| [   15.932791] agpgart: AGP aperture is 128M @ 0xd0000000
| [   16.595580] Linux agpgart interface v0.102 (c) Dave Jones
| [  507.391325] [drm] Initialized drm 1.1.0 20060810
| [  512.997160] [drm] Initialized via 2.11.0 20061227 on minor 0
`----

> Didn't you build the drm modules from source?

No, make in the git checkout's linux-core subdir fails with an error:

,----[ make LINUXDIR=/lib/modules/`uname -r`/build DRM_MODULES=via ]
| sh ../scripts/create_linux_pci_lists.sh < ../shared-core/drm_pciids.txt
| make -C /lib/modules/2.6.20-16-generic/build  SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
| make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_auth.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_bufs.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_context.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_dma.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_drawable.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_drv.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_fops.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_ioctl.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_irq.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_lock.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_memory.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_proc.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_stub.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_vm.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_sysfs.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_pci.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_agpsupport.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_scatter.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_memory_debug.o
|   CC [M]  /home/heimdall/src/drm/linux-core/ati_pcigart.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_sman.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_hashtab.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_mm.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_object.o
|   CC [M]  /home/heimdall/src/drm/linux-core/drm_compat.o
| /home/heimdall/src/drm/linux-core/drm_compat.c:190: error: static declaration of 'vm_insert_pfn' follows non-static declaration
| include/linux/mm.h:1126: error: previous declaration of 'vm_insert_pfn' was here
| make[2]: *** [/home/heimdall/src/drm/linux-core/drm_compat.o] Error 1
| make[1]: *** [_module_/home/heimdall/src/drm/linux-core] Error 2
| make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
| make: *** [modules] Error 2
`----

> If you did, then make sure that these modules get loaded early during
> boot, before X starts, by adding their names to /etc/modules.

Ok, I did that anyway. But it seems not to help. The system locks
directly after X starts. I've put the Xorg.0.log at
http://www.tsdh.de/mnb/ as 3-Xorg.0.log.

> But first do an 'svn up' in your openchrome dir and build and 
> install the driver again.

I did that.

Bye,
Tassilo




More information about the Openchrome-users mailing list