LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-28-2004, 09:01 AM   #1
abbasakhtar
Member
 
Registered: Sep 2003
Posts: 89

Rep: Reputation: 15
IT8212 - trying to access hd


when i do lspci i get

0000:02:00.0 RAID bus controller: Integrated Technology Express, Inc. IT/ITE8212 Dual channel ATA RAID controller (PCI version seems to be IT8212, embedded seems (rev 11)

i no linux can see it but I can't see any extra hard drives,

im totally new to linux if anyone could help me out please,

Iv got the source for drivers and the already compiled, the iteraid.o and iteraid.smp files i dont no where to put them or which commands to issue, could someone help me out as im trying to install the drivers so i can see my hard drives through the raid ide controller card on my mboard

also if i try to compile the source i get errors

i do this

insmod iteraid.o
iteraid.o: kernel-module version mismatch
iteraid.o was compiled for kernel version 2.4.18
while this kernel is version 2.4.27.

so i am trying to recompile from the source but this happens





aakhtar@mainframe-linux:~/My Files/MISC/ite/src/2.4.x$ su
Password:
root@mainframe-linux:/home/aakhtar/My Files/MISC/ite/src/2.4.x# make iteraid
gcc -D__KERNEL__ -DMODULE -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -I. -I/usr/src/linux-2.4.27/drivers/scsi -I/usr/src/linux-2.4.27/include -include /usr/src/linux-2.4.27/include/linux/modversions.h -c -o iteraid.o iteraid.c
iteraid.c:255:16: sd.h: No such file or directory
iteraid.c:256:18: scsi.h: No such file or directory
iteraid.c:257:19: hosts.h: No such file or directory
In file included from iteraid.c:259:
iteraid.h:946: error: parse error before "Scsi_Cmnd"
iteraid.h:946: warning: no semicolon at end of struct or union
iteraid.h:947: warning: type defaults to `int' in declaration of `SCSI_REQUEST_BLOCK'
iteraid.h:947: warning: type defaults to `int' in declaration of `PSCSI_REQUEST_BLOCK'
iteraid.h:947: warning: data definition has no type or storage class
iteraid.h:1201: error: parse error before "PSCSI_REQUEST_BLOCK"
iteraid.h:1201: warning: no semicolon at end of struct or union
iteraid.h:1206: warning: type defaults to `int' in declaration of `OriginalSrb'
iteraid.h:1206: warning: data definition has no type or storage class
iteraid.h:1211: error: parse error before "_Srb"
iteraid.h:1211: warning: type defaults to `int' in declaration of `_Srb'
iteraid.h:1211: warning: data definition has no type or storage class
iteraid.h:1222: error: parse error before '}' token
iteraid.h:1222: warning: type defaults to `int' in declaration of `Channel'
iteraid.h:1222: warning: type defaults to `int' in declaration of `PChannel'
iteraid.h:1222: warning: data definition has no type or storage class
iteraid.h:1238: error: parse error before "Channel"
iteraid.h:1238: warning: no semicolon at end of struct or union
iteraid.h:1240: error: parse error before '}' token
iteraid.h:1241: warning: type defaults to `int' in declaration of `ITE_ADAPTER'
iteraid.h:1241: warning: type defaults to `int' in declaration of `PITE_ADAPTER'
iteraid.h:1241: warning: data definition has no type or storage class
iteraid.h:1522: warning: `struct Scsi_Host' declared inside parameter list
iteraid.h:1522: warning: its scope is only this definition or declaration, which is probably not what you want
iteraid.h:1523: error: parse error before '*' token
iteraid.h:1523: warning: function declaration isn't a prototype
iteraid.h:1524: warning: `struct Scsi_Host' declared inside parameter list
iteraid.h:1525: error: parse error before '*' token
iteraid.h:1525: warning: function declaration isn't a prototype
iteraid.h:1526: error: parse error before '*' token
iteraid.h:1526: error: parse error before '*' token
iteraid.h:1527: error: parse error before '*' token
iteraid.h:1527: warning: function declaration isn't a prototype
iteraid.h:1531: error: parse error before '*' token
iteraid.h:1531: warning: function declaration isn't a prototype
iteraid.h:1533: warning: parameter names (without types) in function declaration
iteraid.h:1534: warning: parameter names (without types) in function declaration
iteraid.h:1535: error: parse error before "PChannel"
iteraid.h:1535: warning: function declaration isn't a prototype
iteraid.h:1536: error: parse error before "unsigned"
iteraid.h:1536: warning: function declaration isn't a prototype
iteraid.h:1537: error: parse error before '*' token
iteraid.h:1537: warning: function declaration isn't a prototype
iteraid.h:1538: error: parse error before "u8"
iteraid.h:1538: warning: function declaration isn't a prototype
iteraid.h:1539: warning: parameter names (without types) in function declaration
iteraid.h:1540: warning: parameter names (without types) in function declaration
iteraid.h:1541: warning: parameter names (without types) in function declaration
iteraid.h:1542: error: parse error before "pAdap"
iteraid.h:1542: warning: function declaration isn't a prototype
iteraid.c:274: error: parse error before '*' token
iteraid.c:274: warning: type defaults to `int' in declaration of `it8212_req_last'
iteraid.c:274: warning: data definition has no type or storage class
iteraid.c:277: error: parse error before "ite_adapters"
iteraid.c:277: warning: type defaults to `int' in declaration of `ite_adapters'
iteraid.c:277: warning: data definition has no type or storage class
iteraid.c:344: error: parse error before "pChan"
iteraid.c:345: warning: function declaration isn't a prototype
iteraid.c: In function `MapError':
iteraid.c:354: error: `pChan' undeclared (first use in this function)
iteraid.c:354: error: (Each undeclared identifier is reported only once
iteraid.c:354: error: for each function it appears in.)
iteraid.c:360: error: `Srb' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:622: error: parse error before "pAdap"
iteraid.c:623: warning: function declaration isn't a prototype
iteraid.c: In function `AtapiResetController':
iteraid.c:629: error: parse error before "srb"
iteraid.c:632: error: `pChan' undeclared (first use in this function)
iteraid.c:679: error: `srb' undeclared (first use in this function)
iteraid.c:700: error: `pAdap' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:725: error: parse error before "pChan"
iteraid.c:730: warning: function declaration isn't a prototype
iteraid.c: In function `IdeStartTransfer':
iteraid.c:738: error: `Srb' undeclared (first use in this function)
iteraid.c:739: error: `pChan' undeclared (first use in this function)
iteraid.c:744: error: `startingSector' undeclared (first use in this function)
iteraid.c:744: error: `SectorNumber' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:870: error: parse error before "pChan"
iteraid.c:871: warning: function declaration isn't a prototype
iteraid.c: In function `IdeBuildSglist':
iteraid.c:874: error: `Srb' undeclared (first use in this function)
iteraid.c:876: error: `pChan' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:903: error: parse error before "pChan"
iteraid.c:904: warning: function declaration isn't a prototype
iteraid.c: In function `IdeBuildDmaTable':
iteraid.c:906: error: `pChan' undeclared (first use in this function)
iteraid.c:911: error: `Srb' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:981: error: parse error before "pChan"
iteraid.c:982: warning: function declaration isn't a prototype
iteraid.c: In function `IdeBuildDmaSgTable':
iteraid.c:986: error: `pChan' undeclared (first use in this function)
iteraid.c:987: error: `Srb' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:1013: error: parse error before "pChan"
iteraid.c:1014: warning: function declaration isn't a prototype
iteraid.c: In function `IdeSetupDma':
iteraid.c:1016: error: `pChan' undeclared (first use in this function)
iteraid.c:1016: error: `dma_base' undeclared (first use in this function)
iteraid.c:1017: error: `num_ports' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:1055: error: parse error before "pChan"
iteraid.c:1056: warning: function declaration isn't a prototype
iteraid.c: In function `IT8212ReconfigChannel':
iteraid.c:1059: error: `pChan' undeclared (first use in this function)
iteraid.c:1063: error: `Operation' undeclared (first use in this function)
iteraid.c:1065: error: `ArrayId' undeclared (first use in this function)
iteraid.c: In function `IT8212GetChipStatus':
iteraid.c:1101: error: parse error before "pChan"
iteraid.c:1111: error: `pAdap' undeclared (first use in this function)
iteraid.c:1112: error: `pChan' undeclared (first use in this function)
iteraid.c: In function `IT8212ErasePartition':
iteraid.c:1245: error: parse error before "pAdap"
iteraid.c:1254: error: `pAdap' undeclared (first use in this function)
iteraid.c:1258: error: `pChan' undeclared (first use in this function)
iteraid.c: In function `IT8212CreateDiskArray':
iteraid.c:1495: error: parse error before "pChan"
iteraid.c:1567: error: `pAdap' undeclared (first use in this function)
iteraid.c:1568: error: `pChan' undeclared (first use in this function)
iteraid.c: In function `IT8212IssueIdentify':
iteraid.c:1806: error: parse error before "pAdap"
iteraid.c:1813: error: `pAdap' undeclared (first use in this function)
iteraid.c:1822: error: `pChan' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:1934: error: parse error before "pAdap"
iteraid.c:1935: warning: function declaration isn't a prototype
iteraid.c: In function `IT8212ResetAdapter':
iteraid.c:1942: error: parse error before "pChan"
iteraid.c:1949: error: `pChan' undeclared (first use in this function)
iteraid.c:1949: error: `pAdap' undeclared (first use in this function)
iteraid.c: In function `IT8212Rebuild':
iteraid.c:2048: error: parse error before "pAdap"
iteraid.c:2056: error: `pAdap' undeclared (first use in this function)
iteraid.c:2062: error: `pChan' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:2144: error: parse error before "pChan"
iteraid.c:2145: warning: function declaration isn't a prototype
iteraid.c: In function `IT8212SwitchDmaMode':
iteraid.c:2152: error: `pChan' undeclared (first use in this function)
iteraid.c:2165: error: `DeviceId' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:2251: error: parse error before "pChan"
iteraid.c:2252: warning: function declaration isn't a prototype
iteraid.c: In function `IT8212ReadWrite':
iteraid.c:2258: error: parse error before "pAdap"
iteraid.c:2260: error: `Srb' undeclared (first use in this function)
iteraid.c:2262: error: `pAdap' undeclared (first use in this function)
iteraid.c:2263: error: `pChan' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:2353: error: parse error before "pChan"
iteraid.c:2358: warning: function declaration isn't a prototype
iteraid.c: In function `IT8212SetTransferMode':
iteraid.c:2365: error: `DiskId' undeclared (first use in this function)
iteraid.c:2365: error: `pChan' undeclared (first use in this function)
iteraid.c:2392: error: `TransferMode' undeclared (first use in this function)
iteraid.c:2392: error: `ModeNumber' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:2418: error: parse error before "pAdap"
iteraid.c:2419: warning: function declaration isn't a prototype
iteraid.c: In function `IT8212SetBestTransferMode':
iteraid.c:2430: error: `pChan' undeclared (first use in this function)
iteraid.c:2502: error: `channel' undeclared (first use in this function)
iteraid.c:2567: error: `pAdap' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:2791: error: parse error before "pChan"
iteraid.c:2792: warning: function declaration isn't a prototype
iteraid.c: In function `IT8212Interrupt':
iteraid.c:2798: error: parse error before "Srb"
iteraid.c:2801: error: `pChan' undeclared (first use in this function)
iteraid.c:2802: error: `Srb' undeclared (first use in this function)
iteraid.c:2834: error: `bypass_mode' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:2912: error: parse error before "pChan"
iteraid.c:2913: warning: function declaration isn't a prototype
iteraid.c: In function `AtapiInterrupt':
iteraid.c:2922: error: parse error before "srb"
iteraid.c:2927: error: `srb' undeclared (first use in this function)
iteraid.c:2927: error: `pChan' undeclared (first use in this function)
iteraid.c:2932: error: `pAdap' undeclared (first use in this function)
iteraid.c: In function `Irq_Handler':
iteraid.c:3341: error: parse error before "pAdap"
iteraid.c:3351: error: `pAdap' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:3370: error: parse error before "pChan"
iteraid.c:3371: warning: function declaration isn't a prototype
iteraid.c: In function `IdeVerify':
iteraid.c:3383: error: `Srb' undeclared (first use in this function)
iteraid.c:3383: error: `pChan' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:3570: error: parse error before "pChan"
iteraid.c:3571: warning: function declaration isn't a prototype
iteraid.c: In function `Scsi2Atapi':
iteraid.c:3576: error: `Srb' undeclared (first use in this function)
iteraid.c:3587: error: `pChan' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:3722: error: parse error before "pChan"
iteraid.c:3723: warning: function declaration isn't a prototype
iteraid.c: In function `AtapiSendCommand':
iteraid.c:3733: error: `pChan' undeclared (first use in this function)
iteraid.c:3734: error: parse error before "pAdap"
iteraid.c:3748: error: `Srb' undeclared (first use in this function)
iteraid.c:3919: error: `pAdap' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:4109: error: parse error before "pChan"
iteraid.c:4110: warning: function declaration isn't a prototype
iteraid.c: In function `IdeSendCommand':
iteraid.c:4115: error: `Scsi_Cmnd' undeclared (first use in this function)
iteraid.c:4115: error: `pREQ' undeclared (first use in this function)
iteraid.c:4119: error: `Srb' undeclared (first use in this function)
iteraid.c:4133: error: `pChan' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:4259: error: parse error before "pChan"
iteraid.c:4260: warning: function declaration isn't a prototype
iteraid.c: In function `AtapiStartIo':
iteraid.c:4267: error: `Srb' undeclared (first use in this function)
iteraid.c:4274: error: `pChan' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:4348: error: parse error before '*' token
iteraid.c:4349: warning: function declaration isn't a prototype
iteraid.c: In function `MapRequest':
iteraid.c:4351: error: `Srb' undeclared (first use in this function)
iteraid.c:4352: error: `pREQ' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:4412: error: parse error before "pChan"
iteraid.c:4413: warning: function declaration isn't a prototype
iteraid.c: In function `TaskDone':
iteraid.c:4415: error: `Scsi_Cmnd' undeclared (first use in this function)
iteraid.c:4415: error: `pREQ' undeclared (first use in this function)
iteraid.c:4415: error: `Srb' undeclared (first use in this function)
iteraid.c:4417: error: `pChan' undeclared (first use in this function)
iteraid.c:4423: error: `DID_OK' undeclared (first use in this function)
iteraid.c:4427: error: `DID_NO_CONNECT' undeclared (first use in this function)
iteraid.c:4431: error: `DID_BUS_BUSY' undeclared (first use in this function)
iteraid.c:4435: error: `DID_RESET' undeclared (first use in this function)
iteraid.c:4442: error: `DID_BAD_TARGET' undeclared (first use in this function)
iteraid.c:4450: error: `DRIVER_SENSE' undeclared (first use in this function)
iteraid.c:4451: error: `CHECK_CONDITION' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:4474: error: parse error before "pChan"
iteraid.c:4475: warning: function declaration isn't a prototype
iteraid.c: In function `TaskStart':
iteraid.c:4477: error: parse error before "Srb"
iteraid.c:4481: error: `Srb' undeclared (first use in this function)
iteraid.c:4481: error: `pChan' undeclared (first use in this function)
iteraid.c:4491: error: `pREQ' undeclared (first use in this function)
iteraid.c: In function `TaskQueue':
iteraid.c:4509: error: `Scsi_Cmnd' undeclared (first use in this function)
iteraid.c:4509: error: `SCpnt' undeclared (first use in this function)
iteraid.c:4510: error: parse error before "pChan"
iteraid.c:4518: error: parse error before ')' token
iteraid.c:4526: error: request for member `SCp' in something not a structure or union
iteraid.c:4540: error: `DID_BAD_TARGET' undeclared (first use in this function)
iteraid.c:4548: error: `pAdap' undeclared (first use in this function)
iteraid.c:4549: error: `pChan' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:4573: error: parse error before '*' token
iteraid.c:4573: error: parse error before '*' token
iteraid.c:4584: error: parse error before '&' token
iteraid.c:4584: warning: type defaults to `int' in declaration of `spin_lock'
iteraid.c:4584: warning: function declaration isn't a prototype
iteraid.c:4584: error: conflicting types for `spin_lock'
/usr/src/linux-2.4.27/include/asm/spinlock.h:127: error: previous declaration of `spin_lock'
iteraid.c:5118: warning: function declaration isn't a prototype
iteraid.c: In function `iteraid_init':
iteraid.c:5277: error: parse error before "kmalloc"
iteraid.c:5319: error: `pChan' undeclared (first use in this function)
iteraid.c:5329: warning: implicit declaration of function `scsi_register'
iteraid.c:5329: error: `tpnt' undeclared (first use in this function)
iteraid.c:5329: warning: assignment makes pointer from integer without a cast
iteraid.c:5331: error: dereferencing pointer to incomplete type
iteraid.c:5332: error: dereferencing pointer to incomplete type
iteraid.c:5333: error: dereferencing pointer to incomplete type
iteraid.c:5334: error: dereferencing pointer to incomplete type
iteraid.c:5335: error: dereferencing pointer to incomplete type
iteraid.c:5336: warning: implicit declaration of function `scsi_set_pci_device'
iteraid.c: At top level:
iteraid.c:5371: error: conflicting types for `iteraid_release'
iteraid.h:1524: error: previous declaration of `iteraid_release'
iteraid.c: In function `iteraid_release':
iteraid.c:5374: error: parse error before "pAdap"
iteraid.c:5390: error: `pAdap' undeclared (first use in this function)
iteraid.c:5405: warning: implicit declaration of function `scsi_unregister'
iteraid.c: At top level:
iteraid.c:5418: error: parse error before '*' token
iteraid.c:5419: warning: function declaration isn't a prototype
iteraid.c: In function `iteraid_old_abort':
iteraid.c:5424: error: `SCSI_ABORT_ERROR' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:5441: error: parse error before '*' token
iteraid.c:5442: warning: function declaration isn't a prototype
iteraid.c: In function `iteraid_old_reset':
iteraid.c:5444: error: `SCSI_RESET_SUCCESS' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:5452: error: parse error before '*' token
iteraid.c:5453: warning: function declaration isn't a prototype
iteraid.c: In function `iteraid_reset_eh':
iteraid.c:5457: error: parse error before "pChan"
iteraid.c:5460: error: `SCpnt' undeclared (first use in this function)
iteraid.c:5463: error: `FAILED' undeclared (first use in this function)
iteraid.c:5468: error: `pAdap' undeclared (first use in this function)
iteraid.c:5471: error: `pChan' undeclared (first use in this function)
iteraid.c:5476: error: `SUCCESS' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:5484: error: parse error before '*' token
iteraid.c:5485: warning: function declaration isn't a prototype
iteraid.c: In function `iteraid_abort_eh':
iteraid.c:5487: error: `SCpnt' undeclared (first use in this function)
iteraid.c:5490: error: `FAILED' undeclared (first use in this function)
iteraid.c:5493: error: `SUCCESS' undeclared (first use in this function)
iteraid.c: At top level:
iteraid.c:5507: error: parse error before '*' token
iteraid.c:5508: warning: function declaration isn't a prototype
iteraid.c: In function `iteraid_biosparam':
iteraid.c:5518: error: `disk' undeclared (first use in this function)
iteraid.c:5534: error: `geom' undeclared (first use in this function)
iteraid.c: In function `itedev_ioctl':
iteraid.c:5637: error: parse error before "pAdap"
iteraid.c:5705: error: `pAdap' undeclared (first use in this function)
iteraid.c:5718: error: `pChan' undeclared (first use in this function)
iteraid.c: At top level:
ss
iteraid.c:5836:25: scsi_module.c: No such file or directory
iteraid.c:4653: warning: `IdeMediaStatus' defined but not used
make: *** [iteraid.o] Error 1
root@mainframe-linux:/home/aakhtar/My Files/MISC/ite/src/2.4.x#


and my makefile is this



CC =$(shell if which kgcc > /dev/null 2>&1; then echo kgcc; else echo gcc; fi)

#SRCPATH =$(shell if uname -r | grep '2.4' > /dev/null 2>&1; then echo /usr/src/linux-2.4; else echo /usr/src/linux; fi)

SRCPATH=/usr/src/linux-2.4.27

CFLAGS =-D__KERNEL__ -DMODULE $(shell if uname -r | grep '2.4.2-2' > /dev/null 2>&1; then echo "-DEXPORT_SYMTAB"; fi) -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer

CFLAGS += $(shell if $(CC) -fno-strict-aliasing -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo -fno-strict-aliasing; fi)


OBJS = iteraid.o
iteraid.o:iteraid.c iteraid.h
$(CC) $(CFLAGS) $(shell if uname -r | grep '2.2.' > /dev/null 2>&1; then echo "-DMODVERSIONS"; fi) -I. -I$(SRCPATH)/drivers/scsi -I$(SRCPATH)/include -include $(SRCPATH)/include/linux/modversions.h -c -o iteraid.o iteraid.c


BOOTOBJS = iteraid.bot
iteraid.bot:iteraid.c iteraid.h
$(CC) $(CFLAGS) $(shell if echo $(CC) | grep 'kgcc' > /dev/null 2>&1 || uname -r | grep '2.4' > /dev/null 2>&1; then echo "-D__module__BOOT"; fi) $(shell if uname -r | grep '2.2.' > /dev/null 2>&1; then echo "-DMODVERSIONS"; fi) -I. -I$(SRCPATH)/drivers/scsi -I$(SRCPATH)/include -include $(SRCPATH)/include/linux/modversions.h -c -o iteraid.bot iteraid.c


SMPOBJS = iteraid.smp
iteraid.smp:iteraid.c iteraid.h
$(CC) $(CFLAGS) -D__SMP__ $(shell if echo $(CC) | grep 'kgcc' > /dev/null 2>&1 || uname -r | grep '2.4' > /dev/null 2>&1; then echo "-D__module__smp"; fi) $(shell if uname -r | grep '2.2.' > /dev/null 2>&1; then echo "-DMODVERSIONS"; fi) -I. -I$(SRCPATH)/drivers/scsi -I$(SRCPATH)/include -include $(SRCPATH)/include/linux/modversions.h -c -o iteraid.smp iteraid.c

BIGOBJS = iteraid.big
iteraid.big:iteraid.c iteraid.h
$(CC) $(CFLAGS) $(shell if echo $(CC) | grep 'kgcc' > /dev/null 2>&1 || uname -r | grep '2.4' > /dev/null 2>&1; then echo "-D__module__bigmem"; fi) $(shell if uname -r | grep '2.2.' > /dev/null 2>&1; then echo "-DMODVERSIONS"; fi) -I. -I$(SRCPATH)/drivers/scsi -I$(SRCPATH)/include -include $(SRCPATH)/include/linux/modversions.h -c -o iteraid.big iteraid.c


up: $(OBJS)

all: $(OBJS) $(BOOTOBJS) $(SMPOBJS) $(BIGOBJS)

bot: $(BOOTOBJS)

smp: $(SMPOBJS)

big: $(BIGOBJS)

clean:
rm -rf iteraid.o iteraid.smp iteraid.bot iteraid.big *~


my kernel is on /usr/src/kernel-2.4.27
link is /usr/src/linux/

can someone help me out, i really need to access my harddrive through the ata "raid" controller, has anyone experienced anything similar ??
 
Old 12-28-2004, 10:12 AM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hello,

Quote:
insmod iteraid.o
iteraid.o: kernel-module version mismatch
iteraid.o was compiled for kernel version 2.4.18
while this kernel is version 2.4.27.
try "insmod -f iteraid.o"
else if you really want to recompile your module (which is safer) all I can say is that's an include problem... try to check where sd.h, scsi.h and hosts.h are.

Oliv'
 
Old 12-28-2004, 02:08 PM   #3
abbasakhtar
Member
 
Registered: Sep 2003
Posts: 89

Original Poster
Rep: Reputation: 15
that will force it right ?? wot do i do after that ? wil my drive become visible somewhere ?
 
Old 12-29-2004, 08:11 AM   #4
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Yes it will force the insertion. Then you can do "lsmod" to list inserted modules and see if iteraid is present.
After I can't tell you more 'cause I've never used this driver... but either it will create a device to access RAID or it's up to you to create it with "mknod". See the driver README for more info

Oliv'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IT8212 driver problems zzzt Linux - Hardware 43 07-21-2005 11:41 AM
Installing SuSE 9.1 with IT8212 RAID neonodie SUSE / openSUSE 1 07-21-2005 11:31 AM
IT8212 Suse linux 9.3 Professional scr02bcg Linux - Hardware 2 07-21-2005 11:25 AM
ITE IT8212 on Slack 10.1 zWaR Slackware 3 06-17-2005 04:13 PM
IT8212 installation on Mandrake 10 grishnak Linux - Hardware 0 07-08-2004 10:40 AM


All times are GMT -5. The time now is 10:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration