integration d'un drivers dans linux comment? - Linux et OS Alternatifs
Marsh Posté le 29-05-2004 à 18:57:02
Attends un peu, le temps qu'on devine le message d'erreur qui est apparu sur ton écran
Marsh Posté le 29-05-2004 à 19:46:09
voila le millieu du message d'erreur
viapubraid.c: In function `viaraid_intr':
viapubraid.c:85: error: `io_request_lock' undeclared (first use in this function
)
viapubraid.c: At top level:
viapubraid.c:94: error: parse error before '*' token
viapubraid.c:94: error: parse error before '*' token
viapubraid.c:111: warning: type defaults to `int' in declaration of `viaraid_req
_last'
viapubraid.c:111: error: conflicting types for `viaraid_req_last'
viapubraid.c:25: error: previous declaration of `viaraid_req_last'
viapubraid.c:111: error: `SCpnt' undeclared here (not in a function)
viapubraid.c:111: warning: data definition has no type or storage class
viapubraid.c:112: error: parse error before "do"
viapubraid.c:112: error: `flags' undeclared here (not in a function)
viapubraid.c:112: warning: type defaults to `int' in declaration of `__dummy2'
viapubraid.c:112: error: parse error before "void"
viapubraid.c:129: error: parse error before '*' token
viapubraid.c: In function `internal_done':
viapubraid.c:131: error: `SCpnt' undeclared (first use in this function)
viapubraid.c: At top level:
viapubraid.c:139: error: parse error before '*' token
viapubraid.c: In function `viaraid_Command':
viapubraid.c:143: error: `SCpnt' undeclared (first use in this function)
viapubraid.c:144: warning: implicit declaration of function `viaraid_QueueComman
d'
viapubraid.c:149: error: `DID_ERROR' undeclared (first use in this function)
viapubraid.c: At top level:
viapubraid.c:154: error: parse error before '*' token
viapubraid.c: In function `viaraid_Detect':
viapubraid.c:163: warning: implicit declaration of function `pci_present'
viapubraid.c:179: warning: implicit declaration of function `scsi_register'
viapubraid.c:179: error: `tpnt' undeclared (first use in this function)
viapubraid.c:179: warning: assignment makes pointer from integer without a cast
viapubraid.c:180: error: dereferencing pointer to incomplete type
viapubraid.c:181: error: dereferencing pointer to incomplete type
viapubraid.c:182: error: dereferencing pointer to incomplete type
viapubraid.c:183: error: dereferencing pointer to incomplete type
viapubraid.c:184: error: dereferencing pointer to incomplete type
viapubraid.c:185: error: dereferencing pointer to incomplete type
viapubraid.c:186: error: dereferencing pointer to incomplete type
viapubraid.c: At top level:
viapubraid.c:222: error: conflicting types for `viaraid_Release'
viaprvdef.h:88: error: previous declaration of `viaraid_Release'
viapubraid.c: In function `viaraid_Release':
viapubraid.c:234: error: dereferencing pointer to incomplete type
viapubraid.c:235: warning: implicit declaration of function `scsi_unregister'
viapubraid.c: At top level:
Marsh Posté le 29-05-2004 à 19:47:25
et voila le fichier txt pour l'installer
------------------------------------------------------------
Copyright (c) 2002-2003 VIA Technologies Inc.
VIA RAID Linux Driver Software Package ReadMe.txt
This readme file is to provide the information of VIA RAID Linux Driver
Package. VIA Technologies assumes no responsibility for any errors in
this document and no part of this document may be reproduced, transmitted,
or translated into any language,or in any form without the prior written
permission of VIA Technologies Incorporated.
Package Version 1.00 / ReadMe Version 1.00
-------------------------------------------------------------------------------
This RAID driver can now support 3 kind of VIA RAID Controllers, include
VT6410,VT6420/8237, VT6421. It supports RAID type 0, 1, span, 0+1(needs 4 hard disk).
VIA VT6410 is a ATA RAID controller, supports up to four ATA hard disks.
VIA VT6420/8237 is a SATA RAID controller.
VIA VT6421 supports two SATA and two ATA hard disks.
This "VIA RAID Linux Driver Package" is provided for drivers installations,
which are needed when using the above VIA RAID Controllers.
CONTENTS
============================================
1) System Requirements
2) Software Package Contents
3) Driver Installation
4) Install Operating System RedHat linux
5) Notes
============================================
1) System Requirements
You should have at least one VIA RAID controller.
System BIOS must integrates VIA RAID BIOS if you want to install OS
on RAID Controller.
Supports up to four hard disk drives, which all support LBA address.
Supports the following Operating Systems:
Linux
2) Software Package Contents
The decompressed software package includes the following files:
/Driver
viapubraid.c viamraid open source file
viapubraid.h
viaprvdef.h
viaprvmraid.o viamraid library file
viaprvraidm64.o lib file for SuSE 64 bit
Makefile Makefile
dd.sh script to make RedHat driver disk
patch.pl patch script for Mandrake 9.2 driver disk.
PACKAGES.PY for RedHat 7.2 update disk only
driverdisk.txt A document about how do I install Linux onto the RAID
ReadMe.txt This file, provides information on this Linux Driver Package
3) Driver Installation
=========================
== Driver Installation ==
=========================
*Pre-Install
The package include source code files, so we need to compile a driver
according to your kernel version.
Before begin to compile, make sure that
1. You have installed the kernel source package
2. Kernel source default directory is /usr/src/linux, please check it.
If your default kernel source directory is not /usr/src/linux,
create a link:
# ln -s linux2.4 linux
3. Assume you have unzip this package to a diretory /tmp/viamraid
*Compile/Install
1. compile the file, viamraid.o is the driver we need
# cd /tmp/viamraid/driver
# make
2. Install the driver
# make install
3. To use the driver, type:
#modprobe viamraid
If there are no other SCSI cards on the system, /dev/sda, sdb ... are
our devices.
4. To unuse the driver, type:
#rmmod viamraid
Marsh Posté le 29-05-2004 à 20:53:58
à tout hasard... tu as bien installé les kernel-source, hein ???
Marsh Posté le 29-05-2004 à 21:34:37
Ouiii je les ais installer et je les mis ds le repertoire
\usr\src\linux2.66 avec un lien ds le meme repertoire au nom de linux
Marsh Posté le 30-05-2004 à 00:25:46
ok j'ai trouvé n en faite j'explique , ma carte est incomptaible avec linux mandrak le pilote fournit sur internet fonctionne que pour redhart et que pour la version 9.1 lol snif tampis......
Marsh Posté le 29-05-2004 à 18:50:55
Bonjour ,
je suis novice sur linux
J'ai installer la mandrake 10.0 official
Mon probleme repose pour installer le pilote afin de me permette d'installer mes port ide suplementaire qui sont sur la p4p800 deluxe
j'ai telecharger le pilote ensuite
je le decompresse
je fais un make , et la des messages d'erreur
pourkoi snif!!
pourriez vous m'expliquer la methode pas a pas pour installer ce pilote merci