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

Re: Disque sata avec module sis1185 non reconnu



> O� ce scsi_request.h ???

Tu peux essayer de le trouver :

- dans les paquets debian (m'�onnerait !) �partir du site
  www.fr.debian.org
- dans les sources du noyau, avec un find �partir de la racine du noyau
- dans les sources du noyau de Mdk avec le find
- sur Google

--
jm
------------------------------------------------------------------------
J'ai fait une recherche dans les paquets debian... sans r�ltat.
Sur internet, j'ai r�si �rouver un source du fichier. Mais est-ce le bon ?
Toujours est-il que la commande make ne m'indique plus l'absence de
scsi_request.h, mais il reste des erreurs (voir ci-dessous). Est-ce parce que le
fichier n'est pas le bon ou me manque t-il autre chose ?

-----make avant le fichier scsi_request.h ---------------
make -C /lib/modules/2.6.18-4-686/build SUBDIRS=/root  modules
make[1]: entrant dans le r�rtoire � /usr/src/linux-headers-2.6.18-4-686 �
  CC [M]  /root/sata_sis.o
In file included from /root/sata_sis.c:38:
/root/scsi.h:29:31: error: scsi/scsi_request.h: Aucun fichier ou r�rtoire de
ce type
In file included from /root/sata_sis.c:38:
/root/scsi.h:79: warning: ‘struct scsi_request’ declared inside
parameter list
/root/scsi.h:79: warning: its scope is only this definition or declaration,
which is probably not what you want
/root/scsi.h: In function ‘print_req_sense’:
/root/scsi.h:81: warning: implicit declaration of function
‘scsi_print_req_sense’
/root/scsi.h:81: warning: ‘return’ with a value, in function
returning void
/root/scsi.h: In function ‘print_msg’:
/root/scsi.h:97: warning: implicit declaration of function
‘scsi_print_msg’
/root/sata_sis.c: At top level:
/root/sata_sis.c:91: error: unknown field ‘eh_strategy_handler’
specified in initializer
/root/sata_sis.c:91: error: ‘ata_scsi_error’ undeclared here (not in
a function)
/root/sata_sis.c: In function ‘sis_init_one’:
/root/sata_sis.c:358: error: too few arguments to function
‘ata_pci_init_native_mode’
make[2]: *** [/root/sata_sis.o] Erreur 1
make[1]: *** [_module_/root] Erreur 2
make[1]: quittant le r�rtoire � /usr/src/linux-headers-2.6.18-4-686 �
make: *** [default] Erreur 2

-----make apr�avoir mis un fichier scsi_request.h ---------------
make -C /lib/modules/2.6.18-4-686/build SUBDIRS=/root  modules
make[1]: entrant dans le r�rtoire � /usr/src/linux-headers-2.6.18-4-686 �
  CC [M]  /root/sata_sis.o
In file included from /root/sata_sis.c:38:
/root/scsi.h: In function ‘print_req_sense’:
/root/scsi.h:81: warning: implicit declaration of function
‘scsi_print_req_sense’
/root/scsi.h:81: warning: ‘return’ with a value, in function
returning void
/root/scsi.h: In function ‘print_msg’:
/root/scsi.h:97: warning: implicit declaration of function
‘scsi_print_msg’
/root/sata_sis.c: At top level:
/root/sata_sis.c:91: error: unknown field ‘eh_strategy_handler’
specified in initializer
/root/sata_sis.c:91: error: ‘ata_scsi_error’ undeclared here (not in
a function)
/root/sata_sis.c: In function ‘sis_init_one’:
/root/sata_sis.c:358: error: too few arguments to function
‘ata_pci_init_native_mode’
make[2]: *** [/root/sata_sis.o] Erreur 1
make[1]: *** [_module_/root] Erreur 2
make[1]: quittant le r�rtoire � /usr/src/linux-headers-2.6.18-4-686 �
make: *** [default] Erreur 2

Je continue �hercher sur internet et dans les sources du noyau mais j'aimerais
bien savoir si quelqu'un a pu faire ce fichier sata_sis.ko (les sources sont
dans la rubrique download du site de sis, dans "sis18x_20060508.zip").



Reply to: