[Mplayer-felhasznalok] MatroxG550 + mga_vid + 2.6.8-rc3 kernel

Haller Jozsef haller at freemail.hu
Fri Aug 13 15:07:43 CEST 2004


Sziasztok!

Eddig sajat forditasu 2.4.26-os kernellel hasznalt Debianom gond nelkul
mukodott, de mostanaban valamit elkefeltek Debianeknal (megjegyzes:
fejlesztok nem rohogni), mert a csomagfrissitesen kivuli valtozasok
ellenere a hangkartyam nem szol, mig a 2.6-os kernelag hasznalataval van
hang.

Fentiek miatt kenyszerulok a 2.6-os kernel hasznalatara, de ott nem
sikerul leforditanom a mga_vid drivert MatroxG550 kartyamhoz :(

A hibauzenet:
root at blackdragon: /opt/install/mplayer/main/drivers# make
make mga_vid.ko mga_vid_test
make[1]: Entering directory `/opt/install/mplayer/main/drivers'
make -C /lib/modules/`uname -r`/build SUBDIRS=/opt/install/mplayer/main/drivers modules
make[2]: Entering directory `/usr/local/src/linux-2.6.7'
  CC [M]  /opt/install/mplayer/main/drivers/mga_vid.o
In file included from include/asm/processor.h:18,
                 from include/asm/thread_info.h:16,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from /opt/install/mplayer/main/drivers/mga_vid.c:38:
include/asm/system.h: In function `__set_64bit_var':
include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from include/asm/smp.h:18,
                 from include/linux/smp.h:17,
                 from include/linux/sched.h:23,
                 from include/linux/module.h:10,
                 from /opt/install/mplayer/main/drivers/mga_vid.c:38:
include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from include/asm/smp.h:18,
                 from include/linux/smp.h:17,
                 from include/linux/sched.h:23,
                 from include/linux/module.h:10,
                 from /opt/install/mplayer/main/drivers/mga_vid.c:38:
include/asm/mpspec.h: At top level:
include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
In file included from include/asm/smp.h:20,
                 from include/linux/smp.h:17,
                 from include/linux/sched.h:23,
                 from include/linux/module.h:10,
                 from /opt/install/mplayer/main/drivers/mga_vid.c:38:
include/asm/io_apic.h:160: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
include/asm/io_apic.h:160: error: conflicting types for `mp_irqs'
include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In file included from include/linux/smp.h:17,
                 from include/linux/sched.h:23,
                 from include/linux/module.h:10,
                 from /opt/install/mplayer/main/drivers/mga_vid.c:38:
include/asm/smp.h:71:26: mach_apicdef.h: No such file or directory
In file included from include/linux/smp.h:17,
                 from include/linux/sched.h:23,
                 from include/linux/module.h:10,
                 from /opt/install/mplayer/main/drivers/mga_vid.c:38:
include/asm/smp.h: In function `hard_smp_processor_id':
include/asm/smp.h:75: warning: implicit declaration of function `GET_APIC_ID'
/opt/install/mplayer/main/drivers/mga_vid.c: At top level:
/opt/install/mplayer/main/drivers/mga_vid.c:152: warning: static declaration for `simple_strtol' follows non-static
/opt/install/mplayer/main/drivers/mga_vid.c: In function `mga_vid_find_card':
/opt/install/mplayer/main/drivers/mga_vid.c:1350: error: structure has no member named `name'
/opt/install/mplayer/main/drivers/mga_vid.c:1355: error: structure has no member named `name'
/opt/install/mplayer/main/drivers/mga_vid.c:1360: error: structure has no member named `name'
/opt/install/mplayer/main/drivers/mga_vid.c:1365: error: structure has no member named `name'
/opt/install/mplayer/main/drivers/mga_vid.c:1370: error: structure has no member named `name'
/opt/install/mplayer/main/drivers/mga_vid.c: In function `mga_vid_release':
/opt/install/mplayer/main/drivers/mga_vid.c:1497: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:567)
/opt/install/mplayer/main/drivers/mga_vid.c: In function `mga_vid_open':
/opt/install/mplayer/main/drivers/mga_vid.c:1511: error: request for member `value' in something not a structure or union
/opt/install/mplayer/main/drivers/mga_vid.c:1542: warning: `MOD_INC_USE_COUNT' is deprecated (declared at include/linux/module.h:555)
make[3]: *** [/opt/install/mplayer/main/drivers/mga_vid.o] Error 1
make[2]: *** [_module_/opt/install/mplayer/main/drivers] Error 2
make[2]: Leaving directory `/usr/local/src/linux-2.6.7'
make[1]: *** [mga_vid.ko] Error 2
make[1]: Leaving directory `/opt/install/mplayer/main/drivers'
make: *** [all] Error 2
root at blackdragon: /opt/install/mplayer/main/drivers#

Szoftverkornyezet:
- Debian GNU/Linux up-to-date Sarge
- kernel: 2.6.7 vanilla + patch-2.6.8-rc3 + matroxfb-2.6.8-rc3 patch
- uname -a: Linux blackdragon 2.6.8-rc3 #1 SMP Fri Aug 13 13:08:21 CEST
  2004 i686 GNU/Linux
- mplayer tegnapi cvs
- gcc version 3.3.4 (Debian 1:3.3.4-6sarge1)
- xfree86: XFree86 Version 4.3.0.1 (Debian 4.3.0.dfsg.1-4 20040529113443
  root at cyberhq.internal.cyberhqz.com)

Reszlet a kernelkonfigbol:

#
CONFIG_AGP=m
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
CONFIG_AGP_INTEL=m
# CONFIG_AGP_INTEL_MCH is not set
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_EFFICEON is not set
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_GAMMA is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
CONFIG_DRM_MGA=m
# CONFIG_DRM_SIS is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HPET is not set
# CONFIG_HANGCHECK_TIMER is not set

#
# Graphics support
#
CONFIG_FB=y
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_VESA is not set
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_HGA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I810 is not set
CONFIG_FB_MATROX=y
# CONFIG_FB_MATROX_MILLENIUM is not set
# CONFIG_FB_MATROX_MYSTIQUE is not set
CONFIG_FB_MATROX_G450=y
CONFIG_FB_MATROX_G100=y
CONFIG_FB_MATROX_I2C=m
# CONFIG_FB_MATROX_MAVEN is not set
CONFIG_FB_MATROX_PROC=m
# CONFIG_FB_MATROX_MULTIHEAD is not set
# CONFIG_FB_RADEON_OLD is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_VIRTUAL is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
# CONFIG_FONT_6x11 is not set
# CONFIG_FONT_PEARL_8x8 is not set
# CONFIG_FONT_ACORN_8x8 is not set
# CONFIG_FONT_MINI_4x6 is not set
# CONFIG_FONT_SUN8x16 is not set
# CONFIG_FONT_SUN12x22 is not set

#
# Logo configuration
#
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y

Otleteitek, segitsegetek elore is koszonom!

Bye, Fifi

-- 
`` Peace cannot be kept by force
   It can only be achieved by understanding '' A.E.




More information about the MPlayer-felhasznalok mailing list