lspci sagt 1103:0004 RAID bus controller: Triones Technologies, Inc. HPT366/368/370/370A/372/ 372N (rev 05)
dmesg output deutet auf ein DMA Problem hin.
Code: Alles auswählen
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8233 (rev 00) IDE UDMA100 controller on pci0000:00:11.1
ide0: BM-DMA at 0xbc00-0xbc07, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xbc08-0xbc0f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hde: max request size: 128KiB
hde: 160836480 sectors (82348 MB) w/1863KiB Cache, CHS=65535/16/63, UDMA(100)
hde: cache flushes supported
hde: hde1 hde2 hde3
hde: p3 exceeds device capacity
hdg: max request size: 512KiB
hdg: 160836480 sectors (82348 MB) w/1719KiB Cache, CHS=16383/255/63, UDMA(133)
hdg: cache flushes supported
hdg:hda: ST380020A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: HL-DT-ST DVDRAM GSA-4163B, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
ACPI: PCI Interrupt 0000:00:11.2[D] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:11.2: UHCI Host Controller
uhci_hcd 0000:00:11.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:11.2: irq 11, io base 0x0000c000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:11.3[D] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:11.3: UHCI Host Controller
uhci_hcd 0000:00:11.3: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:11.3: irq 11, io base 0x0000c400
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:11.4[D] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:11.4: UHCI Host Controller
uhci_hcd 0000:00:11.4: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:11.4: irq 11, io base 0x0000c800
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
hdg: dma_timer_expiry: dma status == 0x21
hdg: DMA timeout error
hdg: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hdg: dma_timer_expiry: dma status == 0x21
hdg: DMA timeout error
hdg: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hdg: dma_timer_expiry: dma status == 0x21
hdg: DMA timeout error
hdg: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
unknown partition table
hda: max request size: 128KiB
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes not supported
hda: hda1 hda2 < hda5 >
hdc: ATAPI 40X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
attempt to access beyond end of device
hde: rw=0, want=321669351, limit=160836480
Buffer I/O error on device hde3, logical block 237777920
attempt to access beyond end of device
hde: rw=0, want=321669352, limit=160836480
Buffer I/O error on device hde3, logical block 237777921
attempt to access beyond end of device
hde: rw=0, want=321669353, limit=160836480
Buffer I/O error on device hde3, logical block 237777922
attempt to access beyond end of device
hde: rw=0, want=321669354, limit=160836480
Buffer I/O error on device hde3, logical block 237777923
attempt to access beyond end of device
hde: rw=0, want=321669355, limit=160836480
Buffer I/O error on device hde3, logical block 237777924
attempt to access beyond end of device
hde: rw=0, want=321669356, limit=160836480
Buffer I/O error on device hde3, logical block 237777925
attempt to access beyond end of device
hde: rw=0, want=321669357, limit=160836480
Buffer I/O error on device hde3, logical block 237777926
attempt to access beyond end of device
hde: rw=0, want=321669358, limit=160836480
Buffer I/O error on device hde3, logical block 237777927
attempt to access beyond end of device
hde: rw=0, want=321669351, limit=160836480
Buffer I/O error on device hde3, logical block 237777920
attempt to access beyond end of device
hde: rw=0, want=321669352, limit=160836480
Buffer I/O error on device hde3, logical block 237777921
attempt to access beyond end of device
hde: rw=0, want=321669353, limit=160836480
attempt to access beyond end of device
usw. usw.
http://www.highpoint-tech.com/BIOS_Driv ... 1-0717.tgz
Bekomme das Modul aber nicht gebaut.
Code: Alles auswählen
adlerhost:/usr/src/hpt372x2# make
gcc -DDRIVER_VERSION=\"2.1.060607\" -DLIST_H_INCLUDED -DMODVERSIONS -DMODULE -DLINUX -D_LINUX_ -D__KERNEL__=1 -DCONFIG_PCI -DNO_CROSS_CTRL=1 -DSUPPORT_ARRAY -DDBG=0 -Wall -O2 -Wstrict-prototypes -fomit-frame-pointer -I. -I/lib/modules/2.6.18-6-486/build/include -I/lib/modules/2.6.18-6-486/build/drivers/scsi -c hpt.c -o hpt.o
In file included from /lib/modules/2.6.18-6-486/build/include/linux/rwsem.h:24,
from /lib/modules/2.6.18-6-486/build/include/asm/semaphore.h:42,
from /lib/modules/2.6.18-6-486/build/include/linux/sched.h:57,
from hpt.c:8:
/lib/modules/2.6.18-6-486/build/include/asm/rwsem.h: In function ‘__down_read’:
/lib/modules/2.6.18-6-486/build/include/asm/rwsem.h:104: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/lib/modules/2.6.18-6-486/build/include/asm/rwsem.h: In function ‘__down_write_nested’:
/lib/modules/2.6.18-6-486/build/include/asm/rwsem.h:156: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/lib/modules/2.6.18-6-486/build/include/asm/rwsem.h: In function ‘__up_read’:
/lib/modules/2.6.18-6-486/build/include/asm/rwsem.h:198: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/lib/modules/2.6.18-6-486/build/include/asm/rwsem.h:192: warning: unused variable ‘tmp’
/lib/modules/2.6.18-6-486/build/include/asm/rwsem.h: In function ‘__up_write’:
/lib/modules/2.6.18-6-486/build/include/asm/rwsem.h:224: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/lib/modules/2.6.18-6-486/build/include/asm/rwsem.h: In function ‘__downgrade_write’:
/lib/modules/2.6.18-6-486/build/include/asm/rwsem.h:249: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
In file included from /lib/modules/2.6.18-6-486/build/include/linux/sched.h:57,
from hpt.c:8:
/lib/modules/2.6.18-6-486/build/include/asm/semaphore.h: In function ‘down’:
/lib/modules/2.6.18-6-486/build/include/asm/semaphore.h:105: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/lib/modules/2.6.18-6-486/build/include/asm/semaphore.h: In function ‘down_interruptible’:
/lib/modules/2.6.18-6-486/build/include/asm/semaphore.h:130: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/lib/modules/2.6.18-6-486/build/include/asm/semaphore.h: In function ‘down_trylock’:
/lib/modules/2.6.18-6-486/build/include/asm/semaphore.h:155: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/lib/modules/2.6.18-6-486/build/include/asm/semaphore.h: In function ‘up’:
/lib/modules/2.6.18-6-486/build/include/asm/semaphore.h:179: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
In file included from /lib/modules/2.6.18-6-486/build/include/linux/irq.h:22,
from /lib/modules/2.6.18-6-486/build/include/asm/hardirq.h:5,
from /lib/modules/2.6.18-6-486/build/include/linux/hardirq.h:7,
from /lib/modules/2.6.18-6-486/build/include/linux/interrupt.h:11,
from hpt.c:18:
/lib/modules/2.6.18-6-486/build/include/asm/irq.h:15:25: error: irq_vectors.h: Datei oder Verzeichnis nicht gefunden
In file included from /lib/modules/2.6.18-6-486/build/include/asm/hardirq.h:5,
from /lib/modules/2.6.18-6-486/build/include/linux/hardirq.h:7,
from /lib/modules/2.6.18-6-486/build/include/linux/interrupt.h:11,
from hpt.c:18:
/lib/modules/2.6.18-6-486/build/include/linux/irq.h: At top level:
/lib/modules/2.6.18-6-486/build/include/linux/irq.h:169: error: ‘NR_IRQS’ undeclared here (not in a function)
In file included from /lib/modules/2.6.18-6-486/build/include/linux/irq.h:182,
from /lib/modules/2.6.18-6-486/build/include/asm/hardirq.h:5,
from /lib/modules/2.6.18-6-486/build/include/linux/hardirq.h:7,
from /lib/modules/2.6.18-6-486/build/include/linux/interrupt.h:11,
from hpt.c:18:
/lib/modules/2.6.18-6-486/build/include/asm/hw_irq.h:31: error: ‘NR_IRQ_VECTORS’ undeclared here (not in a function)
In file included from hpt.c:185:
entry.c:20: error: ‘UTS_RELEASE’ undeclared here (not in a function)
In file included from hpt.c:185:
entry.c: In function ‘Check_Idle_Call’:
entry.c:216: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c: In function ‘Queue_SC’:
entry.c:225: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c:227: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c:227: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c:228: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c: In function ‘Release_SC’:
entry.c:238: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c:242: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c:243: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c:245: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c:245: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c: In function ‘do_mode_sense’:
entry.c:354: error: ‘Scsi_Cmnd’ has no member named ‘bufflen’
entry.c:354: warning: initialization makes integer from pointer without a cast
entry.c:372: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c: In function ‘OsSendCommand’:
entry.c:439: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c:455: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c:521: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c: In function ‘internal_done’:
entry.c:608: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c: In function ‘hpt3xx_Command’:
entry.c:621: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c:625: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c:627: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c: In function ‘hpt3xx_Reset’:
entry.c:915: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c: In function ‘fOsBuildSgl’:
entry.c:1112: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c:1113: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c:1116: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c:1118: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c:1123: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c:1127: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c:1128: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c:1130: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c:1132: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c: In function ‘fOsCommandDone’:
entry.c:1146: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c:1157: warning: dereferencing type-punned pointer will break strict-aliasing rules
entry.c: In function ‘__check_autorebuild’:
entry.c:1700: warning: pointer targets in return differ in signedness
In file included from ioctl.c:6,
from hpt.c:187:
gui_lib.c: In function ‘hpt_get_controller_info’:
gui_lib.c:427: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
gui_lib.c:440: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
gui_lib.c:446: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
gui_lib.c:451: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
gui_lib.c:464: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
make: *** [hpt.o] Fehler 1