View previous topic :: View next topic |
Author |
Message |
funkoolow Guru
Joined: 21 Sep 2004 Posts: 545 Location: er paese delle anguille
|
Posted: Wed Apr 19, 2006 9:01 am Post subject: modulo sis.ko per video SiS 630/730 |
|
|
salve,
ho scoperto di avere una scheda grafica integrata con accelerazione hw, ma non riesco ad attivare il tutto perchè quando vado ad installare i moduli con make modules_install mi viene riportata una cosa piuttosto incomprensibile (per me) che impedisce poi il modprobing del modulo:
Code: | funkserver funkoolow # cd /usr/src/linux
funkserver linux # make modules_install
INSTALL arch/i386/crypto/aes-i586.ko
[....]
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map 2.6.15-gentoo-r1; fi
WARNING: /lib/modules/2.6.15-gentoo-r1/x11-drm/sis.ko needs unknown symbol pci_pretty_name
|
L'ultima riga in particolare credo sia quella che segnala il problema, tant'è che se provo un modprobe sis:
Code: | funkserver linux # modprobe sis
FATAL: Error inserting sis (/lib/modules/2.6.15-gentoo-r1/x11-drm/sis.ko): Unknown symbol in module, or unknown parameter (see dmesg)
|
l'hw in questione è il chipset della sis 630/730, come riportato da lspci:
Code: | funkserver linux # lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 730 Host (rev 02)
00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
00:01.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC Bridge)
00:01.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
00:01.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
00:01.4 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS PCI Audio Accelerator (rev 02)
00:01.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
00:02.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 630/730 PCI/AGP VGA Display Adapter (rev 31)
|
Per far funzionare tutto ho provato a seguire le indicazioni riportate su http://www.winischhofer.net/sisdri.shtml
il kernel che uso è il 2.6.15-r1
grazie a tutti per l'eventuale aiuto _________________ SabaziaLUG: il LUG a nord di Roma |
|
Back to top |
|
|
!equilibrium Bodhisattva
Joined: 06 Jun 2004 Posts: 2109 Location: MI/BG/LC
|
Posted: Wed Apr 19, 2006 11:52 am Post subject: |
|
|
il driver SIS del kernel non è il driver video per X11, è solo il framebuffer e puoi farne tranquillamente a meno.
Il driver SIS accellerato per la tua scheda video si trova in X11, e se hai Xorg 7.0 devi impostare in /etc/make.conf:
e ri-compilare Xorg (emerge -auDNv xorg-x11 dovrebbe essere sufficiente) _________________ Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe
all my contents are released under the Creative Commons Licence by-nc-nd 2.5 |
|
Back to top |
|
|
makoomba Bodhisattva
Joined: 03 Jun 2004 Posts: 1856
|
Posted: Wed Apr 19, 2006 1:30 pm Post subject: |
|
|
!equilibrium wrote: | il driver SIS del kernel non è il driver video per X11, è solo il framebuffer e puoi farne tranquillamente a meno. |
sono 2, drm e framebuffer.
per avere il dri con il driver sis è necessario compilare il modulo in char/drm/sis*
@funkoolow
prova ad usare x11-base/x11-drm _________________ When all else fails, read the instructions. |
|
Back to top |
|
|
funkoolow Guru
Joined: 21 Sep 2004 Posts: 545 Location: er paese delle anguille
|
Posted: Fri Apr 21, 2006 12:09 am Post subject: |
|
|
Ho prvato a rimergere z11-drm dopo aver settato la chiave VIDEO_CARDS="sis" in make.conf (in realtaà c'era già, ma mi pare di averla inserita di recente, quindi ho ricompilato il pacchetto), ed ecco quello che ho ottenuto:
Code: | emerge x11-drm
Calculating dependencies ...done!
[...]
>>> original instance of package unmerged safely.
QA Notice: USE Flag 'video_cards_sis' not in IUSE for x11-base/x11-drm-20050502
* SiS direct rendering only works on 300 series chipsets.
* SiS framebuffer also needs to be enabled in the kernel.
QA Notice: USE Flag 'video_cards_mach64' not in IUSE for x11-base/x11-drm-20050502
* Checking kernel module dependencies
* Updating modules.conf ... [ ok ]
* Updating module dependencies for 2.6.15-gentoo-r1 ...
WARNING: //lib/modules/2.6.15-gentoo-r1/x11-drm/sis.ko needs unknown symbol pci_pretty_ [ ok ]
>>> Regenerating /etc/ld.so.cache...
>>> x11-base/x11-drm-20050502 merged.
>>> clean: No packages selected for removal.
>>> Auto-cleaning packages ...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date. |
In sostanza, in fondo alla compilazione ricompare quella simpaticissima dicitura "pci_pretty _name"... le varie ozioni del kernel pure mi parevano già a posto...
boh! _________________ SabaziaLUG: il LUG a nord di Roma |
|
Back to top |
|
|
|