[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with module sata_sis



Hello.

I first apologize for my english, i am not a specialist ;-)

I've got a computer with motherboard foxconn sis6627 MA and sata hard disk.
The chipset for sata is sis966 and sis966L. With a lspci command, it appears
like an unknow device 1183 (or 1184, 1185, it depends on my bios settings), us
shown :
00:00.0 Host bridge: Silicon Integrated Systems [SiS] Unknown device 0662 (rev
01)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual
PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] Unknown device 0966 (rev
59)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97
Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev
0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev
0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:05.0 IDE interface: Silicon Integrated Systems [SiS] Unknown device 1183 (rev
02)
00:06.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:07.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:0e.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
00:1f.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS]
661/741/760/761 PCI/AGP VGA Display Adapter (rev 04)

I used mandriva to test, and my sata hard disk was recognized ! The module is
sata_sis also, but not the same as debian's one, it includes the device 1183.
I downloaded the source on the sis site and hoped making my own sata_sis.ko
file :
apt-get install linux-header-mykernelversion build-essentials, then i follow the
instructions of the sata_sis.c file author
Unfortunately, a file was missing : scsi/scsi_request.h
I founded it on internet (i hope it's the good one) and try making again. But
make gave me the following message:

make -C /lib/modules/2.6.18-4-686/build SUBDIRS=/home/kiti/sa  modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.18-4-686 »
  CC [M]  /home/kiti/sa/sata_sis.o
In file included from /home/kiti/sa/sata_sis.c:38:
/home/kiti/sa/scsi.h: In function 'print_req_sense':
/home/kiti/sa/scsi.h:81: warning: implicit declaration of function
'scsi_print_req_sense'
/home/kiti/sa/scsi.h:81: warning: 'return' with a value, in function returning
void
/home/kiti/sa/scsi.h: In function 'print_msg':
/home/kiti/sa/scsi.h:97: warning: implicit declaration of function
'scsi_print_msg'
/home/kiti/sa/sata_sis.c: At top level:
/home/kiti/sa/sata_sis.c:91: error: unknown field 'eh_strategy_handler'
specified in initializer
/home/kiti/sa/sata_sis.c:91: error: 'ata_scsi_error' undeclared here (not in a
function)
/home/kiti/sa/sata_sis.c: In function 'sis_init_one':
/home/kiti/sa/sata_sis.c:358: error: too few arguments to function
'ata_pci_init_native_mode'
/home/kiti/sa/sata_sis.c: At top level:
/home/kiti/sa/sata_sis.c:460: fatal error: opening dependency file
/home/kiti/sa/.sata_sis.o.d: Permission non accordée
compilation terminated.
make[2]: *** [/home/kiti/sa/sata_sis.o] Erreur 1
make[1]: *** [_module_/home/kiti/sa] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.18-4-686 »
make: *** [default] Erreur 2

I don't know if sis_request.h is the good one (but why debian doesn't got it ?),
i don't known if i got all files to make the sata_sis.ko.
Could you help me ?
(It may be good idea to include the module in the installer.)
Thanks so much, long time seeking, i am a bit tired (and desesparate).
T. Devilliere



Reply to: