PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Raid - Controller - Problem



gonzo_17
13.12.03, 12:18
Hallo,

also ich hbae auf meinem Mobo eine Rain controller an dem auch ein paar platten hängen...nun würde ihc gern unter Debian auf die Platten! Habd auch nen Linux treiber welcher aber eigentlich für RedHat ist! Und für Mandrake gibts auch einen! Meine Frage : Kann ihc den Treiber irgendwie unter Debian nutzen? Die Datei heißt ITERAID.O! Wenn ja wie mache ich das? und wie heißt dann das Laufwerk hdf?

viruz
13.12.03, 13:14
Hallo,

back dir einfach einen neuen Kernel, du musst halt alle RAID-relevanten Chips(für dein mobo) aktivieren.

Bye

gonzo_17
13.12.03, 13:28
hallo...

ich nutze den 2.4.22 Kernel und da bibts meinen Chip nicht (is von ITE)!
Mit der *.o Datei kann ich nichts anfangen oder

boxi
13.12.03, 15:52
Hi,

ich habe auch diesen RAID-Controller. Wenn das Modul iteraid.o zu Deinem Kernel passt, kannst du es mit insmod laden. Das RAID-Array wird dann als sda erkannt.

Bei
http://www.ite.com.tw/productInfo/Download.html#IT8212%20ATA133%20Controller
kannst Du Dir den Treiber auch im Quellcode runterladen und für Deinen Kernel kompilieren. Es gibt drei Versionen, eine für Suse, Mandrake und Redhat. Bei mir (Gentoo) hat das kompilieren mit dem Makefile für Redhat funktioniert.
Es gibt hierzu auch einen interessanten Thread im Gentoo-Forum: http://forums.gentoo.org/viewtopic.php?t=62163&highlight=iteraid

Grüße, boxi

gonzo_17
13.12.03, 17:08
danke...

gonzo_17
24.01.04, 08:41
hallo...
bin heute endlich mal dazugekommen das auszuprobieren!
Aber es gibt ja nur ne Makefile.rh und ne Makefile.md
Wie Kompiliere ich das unter Debian?

Gonzo

boxi
24.01.04, 08:54
Hallo,

die Treiber auf der ITE-Seite sind aktualisiert worden. Es ist jetzt auch ein Makefile für Debian dabei.
Außerdem für Turbolinux, SuSe, Slackware, RedHat, Mandrake, Gentoo, Debian, "Atapi"(?).
Aber Leider nicht für Kernel-2.6.

Gruß, boxi

gonzo_17
24.01.04, 09:51
Ok Danke! Nur wenn ich jetzt die Debian makefile Compilieren will kommt:
gonzo:/home/gonzo/raid/a# cd Debian/
gonzo:/home/gonzo/raid/a/Debian# make
gcc -D__KERNEL__ -DMODULE -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -I. -I/usr/src/linux/drivers/scsi -I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h -c -o iteraid.o iteraid.c
<command line>:138467403:55440: /usr/src/linux/include/linux/modversions.h: No such file or directory
In file included from /usr/include/asm/smp.h:18,
from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from iteraid.c:213:
/usr/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from /usr/include/asm/smp.h:18,
from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from iteraid.c:213:
/usr/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function)
/usr/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:54: error: `MAX_APICS' undeclared here (not in a function)
In file included from /usr/include/asm/smp.h:20,
from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from iteraid.c:213:
/usr/include/asm/io_apic.h:120: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/include/asm/io_apic.h:120: error: conflicting types for `mp_irqs'
/usr/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In file included from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from iteraid.c:213:
/usr/include/asm/smp.h:73:26: mach_apicdef.h: No such file or directory
In file included from iteraid.c:224:
/usr/include/linux/blk.h:1:2: warning: #warning this file is obsolete, please use <linux/blkdev.h> instead
In file included from iteraid.c:234:
/usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
iteraid.c:237:16: sd.h: No such file or directory
iteraid.c:238:18: scsi.h: No such file or directory
iteraid.c:239:19: hosts.h: No such file or directory
In file included from iteraid.c:241:
iteraid.h:951: error: parse error before "Scsi_Cmnd"
iteraid.h:951: warning: no semicolon at end of struct or union
iteraid.h:952: warning: type defaults to `int' in declaration of `SCSI_REQUEST_BLOCK'
iteraid.h:952: warning: type defaults to `int' in declaration of `PSCSI_REQUEST_BLOCK'
iteraid.h:952: warning: data definition has no type or storage class
iteraid.h:1221: error: parse error before "PSCSI_REQUEST_BLOCK"
iteraid.h:1221: warning: no semicolon at end of struct or union
iteraid.h:1226: warning: type defaults to `int' in declaration of `OriginalSrb'
iteraid.h:1226: warning: data definition has no type or storage class
iteraid.h:1231: error: parse error before "_Srb"
iteraid.h:1231: warning: type defaults to `int' in declaration of `_Srb'
iteraid.h:1231: warning: data definition has no type or storage class
iteraid.h:1242: error: parse error before '}' token
iteraid.h:1242: warning: type defaults to `int' in declaration of `Channel'
iteraid.h:1242: warning: type defaults to `int' in declaration of `PChannel'
iteraid.h:1242: warning: data definition has no type or storage class
iteraid.h:1258: error: parse error before "Channel"
iteraid.h:1258: warning: no semicolon at end of struct or union
iteraid.h:1260: error: parse error before '}' token
iteraid.h:1260: warning: type defaults to `int' in declaration of `ITE_ADAPTER'
iteraid.h:1260: warning: type defaults to `int' in declaration of `PITE_ADAPTER'
iteraid.h:1260: warning: data definition has no type or storage class
iteraid.h:1265: warning: `struct Scsi_Host' declared inside parameter list
iteraid.h:1265: warning: its scope is only this definition or declaration, which is probably not what you want
iteraid.h:1266: error: parse error before '*' token
iteraid.h:1266: warning: function declaration isn't a prototype
iteraid.h:1267: warning: `struct Scsi_Host' declared inside parameter list
iteraid.h:1268: error: parse error before '*' token
iteraid.h:1268: warning: function declaration isn't a prototype
iteraid.h:1269: error: parse error before '*' token
iteraid.h:1269: warning: function declaration isn't a prototype
iteraid.h:1270: error: parse error before '*' token
iteraid.h:1270: warning: function declaration isn't a prototype
iteraid.h:1271: error: parse error before '*' token
iteraid.h:1271: error: parse error before '*' token
iteraid.h:1272: error: parse error before '*' token
iteraid.h:1272: warning: function declaration isn't a prototype
iteraid.h:1557: warning: parameter names (without types) in function declaration
iteraid.h:1558: error: parse error before '*' token
iteraid.h:1558: warning: function declaration isn't a prototype
iteraid.h:1560: warning: parameter names (without types) in function declaration
iteraid.h:1561: warning: parameter names (without types) in function declaration
iteraid.h:1562: error: parse error before "PChannel"
iteraid.h:1562: warning: function declaration isn't a prototype
iteraid.h:1563: error: parse error before "ULONG"
iteraid.h:1563: warning: function declaration isn't a prototype
iteraid.h:1564: error: parse error before '*' token
iteraid.h:1564: warning: function declaration isn't a prototype
iteraid.h:1565: error: parse error before "UCHAR"
iteraid.h:1565: warning: function declaration isn't a prototype
iteraid.h:1566: warning: parameter names (without types) in function declaration
iteraid.h:1568: warning: parameter names (without types) in function declaration
iteraid.c:256: error: parse error before '*' token
iteraid.c:256: warning: type defaults to `int' in declaration of `it8212_req_last'
iteraid.c:256: warning: data definition has no type or storage class
iteraid.c:259: error: parse error before "ite_adapters"
iteraid.c:259: warning: type defaults to `int' in declaration of `ite_adapters'
iteraid.c:259: warning: data definition has no type or storage class
iteraid.c:324: error: parse error before "pChan"
iteraid.c:325: warning: function declaration isn't a prototype
iteraid.c: In function `MapError':
iteraid.c:334: error: `pChan' undeclared (first use in this function)
iteraid.c:334: error: (Each undeclared identifier is reported only once
iteraid.c:334: error: for each function it appears in.)
iteraid.c:340: error: `Srb' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:602: error: parse error before "pChan"
iteraid.c:603: warning: function declaration isn't a prototype
iteraid.c: In function `AtapiResetController':
iteraid.c:607: error: `pChan' undeclared (first use in this function)
iteraid.c:609: error: parse error before "srb"
iteraid.c:657: error: `srb' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:705: error: parse error before "pChan"
iteraid.c:710: warning: function declaration isn't a prototype
iteraid.c: In function `IdeStartTransfer':
iteraid.c:712: error: `Srb' undeclared (first use in this function)
iteraid.c:715: error: `pChan' undeclared (first use in this function)
iteraid.c:730: error: `startingSector' undeclared (first use in this function)
iteraid.c:730: error: `SectorNumber' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:856: error: parse error before "pChan"
iteraid.c:857: warning: function declaration isn't a prototype
iteraid.c: In function `IdeBuildSglist':
iteraid.c:860: error: `Srb' undeclared (first use in this function)
iteraid.c:862: error: `pChan' undeclared (first use in this function)
iteraid.c:877: error: structure has no member named `address'
iteraid.c: At top level:
iteraid.c:889: error: parse error before "pChan"
iteraid.c:890: warning: function declaration isn't a prototype
iteraid.c: In function `IdeBuildDmaTable':
iteraid.c:891: error: `pChan' undeclared (first use in this function)
iteraid.c:896: error: `Srb' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:966: error: parse error before "pChan"
iteraid.c:967: warning: function declaration isn't a prototype
iteraid.c: In function `IdeBuildDmaSgTable':
iteraid.c:971: error: `pChan' undeclared (first use in this function)
iteraid.c:972: error: `Srb' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:998: error: parse error before "pChan"
iteraid.c:999: warning: function declaration isn't a prototype
iteraid.c: In function `IdeSetupDma':
iteraid.c:1004: error: `pChan' undeclared (first use in this function)
iteraid.c:1004: error: `dma_base' undeclared (first use in this function)
iteraid.c:1005: error: `num_ports' undeclared (first use in this function)
iteraid.c:1010: warning: `check_region' is deprecated (declared at /usr/include/linux/ioport.h:118)
iteraid.c: At top level:
iteraid.c:1064: error: parse error before "pChan"
iteraid.c:1065: warning: function declaration isn't a prototype
iteraid.c: In function `IT8212ReconfigChannel':
iteraid.c:1068: error: `pChan' undeclared (first use in this function)
iteraid.c:1072: error: `Operation' undeclared (first use in this function)
iteraid.c:1074: error: `ArrayId' undeclared (first use in this function)
iteraid.c: In function `IT8212GetChipStatus':
iteraid.c:1110: error: parse error before "pAdap"
iteraid.c:1121: error: `pAdap' undeclared (first use in this function)
iteraid.c:1122: error: `pChan' undeclared (first use in this function)
iteraid.c: In function `IT8212ErasePartition':
iteraid.c:1256: error: parse error before "pAdap"
iteraid.c:1266: error: `pAdap' undeclared (first use in this function)
iteraid.c:1270: error: `pChan' undeclared (first use in this function)
iteraid.c: In function `IT8212CreateDiskArray':
iteraid.c:1508: error: parse error before "pChan"
iteraid.c:1580: error: `pAdap' undeclared (first use in this function)
iteraid.c:1581: error: `pChan' undeclared (first use in this function)
iteraid.c: In function `IT8212IssueIdentify':
iteraid.c:1820: error: parse error before "pAdap"
iteraid.c:1827: error: `pAdap' undeclared (first use in this function)
iteraid.c:1836: error: `pChan' undeclared (first use in this function)
iteraid.c: In function `IT8212ResetAdapter':
iteraid.c:1958: error: parse error before "pChan"
iteraid.c:1966: error: `pChan' undeclared (first use in this function)
iteraid.c:1966: error: `pAdap' undeclared (first use in this function)
iteraid.c: In function `IT8212Rebuild':
iteraid.c:2063: error: parse error before "pAdap"
iteraid.c:2073: error: `pAdap' undeclared (first use in this function)
iteraid.c:2079: error: `pChan' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:2161: error: parse error before "pChan"
iteraid.c:2162: warning: function declaration isn't a prototype
iteraid.c: In function `IT8212SwitchDmaMode':
iteraid.c:2169: error: `pChan' undeclared (first use in this function)
iteraid.c:2187: error: `DeviceId' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:2274: error: parse error before "pChan"
iteraid.c:2275: warning: function declaration isn't a prototype
iteraid.c: In function `IT8212ReadWrite':
iteraid.c:2281: error: parse error before "pAdap"
iteraid.c:2286: error: `Srb' undeclared (first use in this function)
iteraid.c:2293: error: `pChan' undeclared (first use in this function)
iteraid.c:2327: error: `pAdap' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:2363: error: parse error before "pChan"
iteraid.c:2368: warning: function declaration isn't a prototype
iteraid.c: In function `IT8212SetTransferMode':
iteraid.c:2375: error: `DiskId' undeclared (first use in this function)
iteraid.c:2375: error: `pChan' undeclared (first use in this function)
iteraid.c:2402: error: `TransferMode' undeclared (first use in this function)
iteraid.c:2402: error: `ModeNumber' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:2428: error: parse error before "pAdap"
iteraid.c:2429: warning: function declaration isn't a prototype
iteraid.c: In function `IT8212SetBestTransferMode':
iteraid.c:2440: error: `pChan' undeclared (first use in this function)
iteraid.c:2513: error: `channel' undeclared (first use in this function)
iteraid.c:2578: error: `pAdap' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:2819: error: parse error before "pChan"
iteraid.c:2820: warning: function declaration isn't a prototype
iteraid.c: In function `IT8212Interrupt':
iteraid.c:2825: error: `pChan' undeclared (first use in this function)
iteraid.c:2826: error: parse error before "Srb"
iteraid.c:2829: error: `Srb' undeclared (first use in this function)
iteraid.c:2859: error: `pAdap' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:2937: error: parse error before "pChan"
iteraid.c:2938: warning: function declaration isn't a prototype
iteraid.c: In function `AtapiInterrupt':
iteraid.c:2946: error: parse error before "srb"
iteraid.c:2951: error: `pChan' undeclared (first use in this function)
iteraid.c:2982: error: `srb' undeclared (first use in this function)
iteraid.c: In function `Irq_Handler':
iteraid.c:3356: error: parse error before "pAdap"
iteraid.c:3357: error: `pAdap' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:3375: error: parse error before "pChan"
iteraid.c:3376: warning: function declaration isn't a prototype
iteraid.c: In function `IdeVerify':
iteraid.c:3388: error: `Srb' undeclared (first use in this function)
iteraid.c:3388: error: `pChan' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:3575: error: parse error before "pChan"
iteraid.c:3576: warning: function declaration isn't a prototype
iteraid.c: In function `Scsi2Atapi':
iteraid.c:3588: error: `Srb' undeclared (first use in this function)
iteraid.c:3599: error: `pChan' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:3738: error: parse error before "pChan"
iteraid.c:3739: warning: function declaration isn't a prototype
iteraid.c: In function `AtapiSendCommand':
iteraid.c:3741: error: `pChan' undeclared (first use in this function)
iteraid.c:3750: error: parse error before "pAdap"
iteraid.c:3764: error: `Srb' undeclared (first use in this function)
iteraid.c:3935: error: `pAdap' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:4125: error: parse error before "pChan"
iteraid.c:4126: warning: function declaration isn't a prototype
iteraid.c: In function `IdeSendCommand':
iteraid.c:4131: error: `Scsi_Cmnd' undeclared (first use in this function)
iteraid.c:4131: error: `pREQ' undeclared (first use in this function)
iteraid.c:4135: error: `Srb' undeclared (first use in this function)
iteraid.c:4149: error: `pChan' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:4275: error: parse error before "pChan"
iteraid.c:4276: warning: function declaration isn't a prototype
iteraid.c: In function `AtapiStartIo':
iteraid.c:4283: error: `Srb' undeclared (first use in this function)
iteraid.c:4290: error: `pChan' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:4366: error: parse error before '*' token
iteraid.c:4367: warning: function declaration isn't a prototype
iteraid.c: In function `MapRequest':
iteraid.c:4369: error: `Srb' undeclared (first use in this function)
iteraid.c:4370: error: `pREQ' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:4431: error: parse error before "pChan"
iteraid.c:4432: warning: function declaration isn't a prototype
iteraid.c: In function `ite_watch_timer':
iteraid.c:4435: error: `Scsi_Cmnd' undeclared (first use in this function)
iteraid.c:4435: error: `pREQ' undeclared (first use in this function)
iteraid.c:4436: error: parse error before "Srb"
iteraid.c:4442: error: `Srb' undeclared (first use in this function)
iteraid.c:4442: error: `pChan' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:4459: error: parse error before "pChan"
iteraid.c:4460: warning: function declaration isn't a prototype
iteraid.c: In function `iteretry':
iteraid.c:4462: error: `Scsi_Cmnd' undeclared (first use in this function)
iteraid.c:4462: error: `pREQ' undeclared (first use in this function)
iteraid.c:4467: error: `pChan' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:4483: error: parse error before "pChan"
iteraid.c:4484: warning: function declaration isn't a prototype
iteraid.c: In function `TaskDone':
iteraid.c:4486: error: `Scsi_Cmnd' undeclared (first use in this function)
iteraid.c:4486: error: `pREQ' undeclared (first use in this function)
iteraid.c:4486: error: `Srb' undeclared (first use in this function)
iteraid.c:4488: error: `pChan' undeclared (first use in this function)
iteraid.c:4494: error: `DID_OK' undeclared (first use in this function)
iteraid.c:4498: error: `DID_NO_CONNECT' undeclared (first use in this function)
iteraid.c:4502: error: `DID_BUS_BUSY' undeclared (first use in this function)
iteraid.c:4506: error: `DID_RESET' undeclared (first use in this function)
iteraid.c:4513: error: `DID_BAD_TARGET' undeclared (first use in this function)
iteraid.c:4521: error: `DRIVER_SENSE' undeclared (first use in this function)
iteraid.c:4522: error: `CHECK_CONDITION' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:4545: error: parse error before "pChan"
iteraid.c:4546: warning: function declaration isn't a prototype
iteraid.c: In function `TaskStart':
iteraid.c:4548: error: parse error before "Srb"
iteraid.c:4552: error: `Srb' undeclared (first use in this function)
iteraid.c:4552: error: `pChan' undeclared (first use in this function)
iteraid.c:4562: error: `pREQ' undeclared (first use in this function)
iteraid.c: In function `TaskQueue':
iteraid.c:4580: error: `Scsi_Cmnd' undeclared (first use in this function)
iteraid.c:4580: error: `SCpnt' undeclared (first use in this function)
iteraid.c:4581: error: parse error before "pChan"
iteraid.c:4589: error: parse error before ')' token
iteraid.c:4597: error: request for member `SCp' in something not a structure or union
iteraid.c:4601: error: `pAdap' undeclared (first use in this function)
iteraid.c:4603: error: `pChan' undeclared (first use in this function)
iteraid.c:4617: error: `DID_BAD_TARGET' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:4637: error: parse error before '*' token
iteraid.c:4637: error: parse error before '*' token
iteraid.c:4649: error: parse error before '&' token
iteraid.c:4649: warning: type defaults to `int' in declaration of `_raw_spin_lock'
iteraid.c:4649: warning: function declaration isn't a prototype
iteraid.c:4649: error: conflicting types for `_raw_spin_lock'
/usr/include/asm/spinlock.h:114: error: previous declaration of `_raw_spin_lock'
iteraid.c:4649: warning: data definition has no type or storage class
iteraid.c:4659: warning: type defaults to `int' in declaration of `it8212_req_last'
iteraid.c:4659: error: conflicting types for `it8212_req_last'
iteraid.c:256: error: previous declaration of `it8212_req_last'
iteraid.c:4659: error: `SCpnt' undeclared here (not in a function)
iteraid.c:4659: warning: data definition has no type or storage class
iteraid.c:4660: error: parse error before "do"
iteraid.c:4660: error: `flags' undeclared here (not in a function)
iteraid.c:4660: warning: type defaults to `int' in declaration of `__dummy2'
iteraid.c:4660: error: parse error before "void"
iteraid.c:4662: error: parse error before '&' token
iteraid.c:4662: warning: type defaults to `int' in declaration of `_raw_spin_lock'
iteraid.c:4662: warning: function declaration isn't a prototype
iteraid.c:4662: warning: data definition has no type or storage class
iteraid.c:4663: warning: type defaults to `int' in declaration of `TaskQueue'
iteraid.c:4663: warning: function declaration isn't a prototype
iteraid.c:4663: error: conflicting types for `TaskQueue'
iteraid.c:4577: error: previous declaration of `TaskQueue'
iteraid.c:4663: warning: data definition has no type or storage class
iteraid.c:4664: error: parse error before "do"
iteraid.c:4664: error: `flags' undeclared here (not in a function)
iteraid.c:4664: warning: type defaults to `int' in declaration of `__dummy2'
iteraid.c:4664: error: parse error before "void"
iteraid.c:4679: error: parse error before '*' token
iteraid.c:4680: warning: function declaration isn't a prototype
iteraid.c: In function `internal_done':
iteraid.c:4682: error: `SCpnt' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:4693: error: parse error before '*' token
iteraid.c:4694: warning: function declaration isn't a prototype
iteraid.c: In function `iteraid_command':
iteraid.c:4698: error: `SCpnt' undeclared (first use in this function)
iteraid.c:4699: warning: implicit declaration of function `iteraid_queuecommand'
iteraid.c:4710: error: `DID_ERROR' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:4720: error: parse error before "PChannel"
iteraid.c:4721: warning: function declaration isn't a prototype
iteraid.c: In function `IdeMediaStatus':
iteraid.c:4728: error: `EnableMSN' undeclared (first use in this function)
iteraid.c:4733: error: `pChan' undeclared (first use in this function)
iteraid.c:4733: error: `Device' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:4780: error: parse error before "pChan"
iteraid.c:4781: warning: function declaration isn't a prototype
iteraid.c: In function `SetWatchDogTimer':
iteraid.c:4783: error: `pChan' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:4792: error: parse error before "pChan"
iteraid.c:4793: warning: function declaration isn't a prototype
iteraid.c: In function `CancelWatchDogTimer':
iteraid.c:4795: error: `pChan' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:4804: error: parse error before "pChan"
iteraid.c:4805: warning: function declaration isn't a prototype
iteraid.c: In function `IssueIdentify':
iteraid.c:4813: error: `pChan' undeclared (first use in this function)
iteraid.c:4815: error: `Command' undeclared (first use in this function)
iteraid.c:4835: error: `DeviceNumber' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:5020: error: parse error before "pChan"
iteraid.c:5021: warning: function declaration isn't a prototype
iteraid.c: In function `iteraid_find_device':
iteraid.c:5033: error: `pChan' undeclared (first use in this function)
iteraid.c:5076: error: `channel' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:5157: error: parse error before "pAdap"
iteraid.c:5158: warning: function declaration isn't a prototype
iteraid.c: In function `AtapiHwInitialize':
iteraid.c:5171: error: `pAdap' undeclared (first use in this function)
iteraid.c:5173: error: `pChan' undeclared (first use in this function)
iteraid.c:5186: error: `channel' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:5208: error: parse error before "pAdap"
iteraid.c:5209: warning: function declaration isn't a prototype
iteraid.c: In function `iteraid_init':
iteraid.c:5218: error: parse error before "pChan"
iteraid.c:5223: error: `pAdap' undeclared (first use in this function)
iteraid.c:5234: error: parse error before "kmalloc"
iteraid.c:5247: error: invalid type argument of `->'
iteraid.c:5255: warning: implicit declaration of function `request_irq'
iteraid.c:5280: error: `pChan' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:5380: error: parse error before '*' token
iteraid.c:5381: warning: function declaration isn't a prototype
iteraid.c: In function `iteraid_detect':
iteraid.c:5387: error: parse error before "pChan"
iteraid.c:5394: warning: implicit declaration of function `pci_present'
iteraid.c:5411: error: `pAdap' undeclared (first use in this function)
iteraid.c:5411: error: parse error before "kmalloc"
iteraid.c:5446: error: `pChan' undeclared (first use in this function)
iteraid.c:5456: warning: implicit declaration of function `scsi_register'
iteraid.c:5456: error: `tpnt' undeclared (first use in this function)
iteraid.c:5456: warning: assignment makes pointer from integer without a cast
iteraid.c:5458: error: dereferencing pointer to incomplete type
iteraid.c:5459: error: dereferencing pointer to incomplete type
iteraid.c:5460: error: dereferencing pointer to incomplete type
iteraid.c:5461: error: dereferencing pointer to incomplete type
iteraid.c:5462: error: dereferencing pointer to incomplete type
iteraid.c:5463: warning: implicit declaration of function `scsi_set_pci_device'
iteraid.c: At top level:
iteraid.c:5497: error: conflicting types for `iteraid_release'
iteraid.h:1267: error: previous declaration of `iteraid_release'
iteraid.c: In function `iteraid_release':
iteraid.c:5501: error: parse error before "pAdap"
iteraid.c:5505: error: `pAdap' undeclared (first use in this function)
iteraid.c:5507: warning: implicit declaration of function `free_irq'
iteraid.c:5517: warning: implicit declaration of function `scsi_unregister'
iteraid.c: At top level:
iteraid.c:5530: error: parse error before '*' token
iteraid.c:5531: warning: function declaration isn't a prototype
iteraid.c: In function `iteraid_old_abort':
iteraid.c:5536: error: `SCSI_ABORT_ERROR' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:5553: error: parse error before '*' token
iteraid.c:5554: warning: function declaration isn't a prototype
iteraid.c: In function `iteraid_old_reset':
iteraid.c:5556: error: `SCSI_RESET_SUCCESS' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:5564: error: parse error before '*' token
iteraid.c:5565: warning: function declaration isn't a prototype
iteraid.c: In function `iteraid_reset_eh':
iteraid.c:5568: error: parse error before "pChan"
iteraid.c:5571: error: `pAdap' undeclared (first use in this function)
iteraid.c:5573: error: `SCpnt' undeclared (first use in this function)
iteraid.c:5576: error: `FAILED' undeclared (first use in this function)
iteraid.c:5581: error: `pChan' undeclared (first use in this function)
iteraid.c:5585: error: `SUCCESS' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:5593: error: parse error before '*' token
iteraid.c:5594: warning: function declaration isn't a prototype
iteraid.c: In function `iteraid_abort_eh':
iteraid.c:5596: error: `SCpnt' undeclared (first use in this function)
iteraid.c:5599: error: `FAILED' undeclared (first use in this function)
iteraid.c:5603: error: `SUCCESS' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:5617: error: parse error before '*' token
iteraid.c:5618: warning: function declaration isn't a prototype
iteraid.c: In function `iteraid_biosparam':
iteraid.c:5626: error: `disk' undeclared (first use in this function)
iteraid.c:5642: error: `geom' undeclared (first use in this function)
iteraid.c: In function `itedev_open':
iteraid.c:5694: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:482)
iteraid.c: In function `itedev_ioctl':
iteraid.c:5745: error: parse error before "pAdap"
iteraid.c:5815: error: `pAdap' undeclared (first use in this function)
iteraid.c:5828: error: `pChan' undeclared (first use in this function)
iteraid.c: In function `itedev_close':
iteraid.c:5931: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:494)
iteraid.c: At top level:
iteraid.c:5943: error: parse error before "driver_template"
iteraid.c:5943: warning: type defaults to `int' in declaration of `driver_template'
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: initialization makes integer from pointer without a cast
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: error: `iteraid_queuecommand' undeclared here (not in a function)
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: error: `DISABLE_CLUSTERING' undeclared here (not in a function)
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: error: field name not in record or union initializer
iteraid.c:5943: error: (near initialization for `driver_template')
iteraid.c:5943: warning: excess elements in scalar initializer
iteraid.c:5943: warning: (near initialization for `driver_template')
iteraid.c:5943: warning: data definition has no type or storage class
iteraid.c:5944:25: scsi_module.c: No such file or directory
iteraid.c:276: warning: `gio_request_lock' defined but not used
make: *** [iteraid.o] Error 1
gonzo:/home/gonzo/raid/a/Debian#


Was mache ich falsch

gonzo_17
24.01.04, 12:32
OK habe es hinbekommen! Musste nur in der Makefile meinen SRC Path ändern! So nun die andere Frage! Was muss ich tun damit ich nicht nach jedem reboot insmod nutzen muss?

boxi
24.01.04, 14:14
Hallo,

Ich kompiliere mir das Modul in den Kernel. Im o.g. Thread in den Gentooforen ist das so beschrieben:

...
2) copy iteraid.c to /usr/src/linux/drivers/scsi/3w-xxxx.c
3) copy iteraid.h to /usr/src/linux/drivers/scsi/iteraid.h
4) configure/compile kernel with scsi 3ware controller support
...

Damit kann ich dann auch vom Raid booten.

Eine andere Möglichkeit wäre wohl, das Modul in eine initrd zu packen.
Da weiß ich aber so auf Anhieb nicht, wie das geht.

Gruß, Boxi