На www.viaarena.com выложен драйвер RAID VT6410, v 1.00.

Автор: Woodoo Дата: 24.03.2004 20:41 Для RH 9.0, FC1.
[downloads.viaarena.com]
Re: На www.viaarena.com выложен драйвер RAID VT6410, v 1.00. 24.03.2004 20:52Woodoo ---
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.

---
Re: На www.viaarena.com выложен драйвер RAID VT6410, v 1.00. 13.03.2007 02:39kirush ASP Linux 11, свежеустановленная.

[root@w bin]# uname -r
2.6.14-1.1653.1aspsmp

[root@w bin]# uname -a
Linux w 2.6.14-1.1653.1aspsmp #1 SMP Mon Jan 23 20:08:13 EET 2006 i686 i686 i386 GNU/Linux

[root@w bin]# lspci
...
00:08.0 RAID bus controller: VIA Technologies, Inc. VT6421 IDE RAID Controller (rev 50)
00:0a.0 RAID bus controller: VIA Technologies, Inc. VT6421 IDE RAID Controller (rev 50)

установлены 2 эти контроллера.
При стандартной установке ("Сервер";-) жесткие диски не находятся.

Скачал исходники ядра, скачал драйвера с сайта производителя.

Поменял всё что только можно придумать, выдаёт ошибку при сборке драйверов:

[root@w driver]# make
gcc -c -DVIA_LINUX -DMULTIPLE_CARD_SUPPORT -DMODULE -D__KERNEL__=1 -O -DMODVERSIONS -I/lib/modules/2.6.14/build/include -I/lib/modules/2.6.14/build/include/asm-ia64 -I/lib/modules/2.6.14/build/drivers/scsi -Wall viapubraid.c
In file included from viapubraid.h:9,
from viapubraid.c:21:
/usr/include/linux/modversions.h:1:2: error: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: error: #error but rather headers from the appropriate kernel package.
/usr/include/linux/modversions.h:3:2: error: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: error: #error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: error: #error to build against the currently-running kernel.
In file included from /lib/modules/2.6.14/build/include/asm/smp.h:18,
from /lib/modules/2.6.14/build/include/linux/smp.h:19,
from /lib/modules/2.6.14/build/include/linux/sched.h:26,
from /lib/modules/2.6.14/build/include/linux/module.h:10,
from viapubraid.h:13,
from viapubraid.c:21:
/lib/modules/2.6.14/build/include/asm/mpspec.h:6:25: error: mach_mpspec.h: Нет такого файла или каталога
In file included from /lib/modules/2.6.14/build/include/asm/smp.h:18,
from /lib/modules/2.6.14/build/include/linux/smp.h:19,
from /lib/modules/2.6.14/build/include/linux/sched.h:26,
from /lib/modules/2.6.14/build/include/linux/module.h:10,
from viapubraid.h:13,
from viapubraid.c:21:
/lib/modules/2.6.14/build/include/asm/mpspec.h:8: error: 'MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.14/build/include/asm/mpspec.h:23: error: 'MAX_IRQ_SOURCES' undeclared here (not in a function)
In file included from /lib/modules/2.6.14/build/include/linux/smp.h:19,
from /lib/modules/2.6.14/build/include/linux/sched.h:26,
from /lib/modules/2.6.14/build/include/linux/module.h:10,
from viapubraid.h:13,
from viapubraid.c:21:
/lib/modules/2.6.14/build/include/asm/smp.h:75:26: error: mach_apicdef.h: Нет такого файла или каталога
In file included from /lib/modules/2.6.14/build/include/linux/smp.h:19,
from /lib/modules/2.6.14/build/include/linux/sched.h:26,
from /lib/modules/2.6.14/build/include/linux/module.h:10,
from viapubraid.h:13,
from viapubraid.c:21:
/lib/modules/2.6.14/build/include/asm/smp.h: In function 'hard_smp_processor_id':
/lib/modules/2.6.14/build/include/asm/smp.h:79: warning: implicit declaration of function 'GET_APIC_ID'
In file included from /lib/modules/2.6.14/build/include/linux/irq.h:21,
from /lib/modules/2.6.14/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.14/build/include/linux/hardirq.h:7,
from /lib/modules/2.6.14/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.14/build/include/linux/rcuref.h:36,
from /lib/modules/2.6.14/build/include/linux/fs.h:12,
from /lib/modules/2.6.14/build/include/linux/genhd.h:18,
from /lib/modules/2.6.14/build/include/linux/blkdev.h:6,
from /usr/include/linux/blk.h:4,
from viapubraid.h:23,
from viapubraid.c:21:
/lib/modules/2.6.14/build/include/asm/irq.h:16:25: error: irq_vectors.h: Нет такого файла или каталога
In file included from /lib/modules/2.6.14/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.14/build/include/linux/hardirq.h:7,
from /lib/modules/2.6.14/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.14/build/include/linux/rcuref.h:36,
from /lib/modules/2.6.14/build/include/linux/fs.h:12,
from /lib/modules/2.6.14/build/include/linux/genhd.h:18,
from /lib/modules/2.6.14/build/include/linux/blkdev.h:6,
from /usr/include/linux/blk.h:4,
from viapubraid.h:23,
from viapubraid.c:21:
/lib/modules/2.6.14/build/include/linux/irq.h: At top level:
/lib/modules/2.6.14/build/include/linux/irq.h:84: error: 'NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.14/build/include/linux/irq.h:93,
from /lib/modules/2.6.14/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.14/build/include/linux/hardirq.h:7,
from /lib/modules/2.6.14/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.14/build/include/linux/rcuref.h:36,
from /lib/modules/2.6.14/build/include/linux/fs.h:12,
from /lib/modules/2.6.14/build/include/linux/genhd.h:18,
from /lib/modules/2.6.14/build/include/linux/blkdev.h:6,
from /usr/include/linux/blk.h:4,
from viapubraid.h:23,
from viapubraid.c:21:
/lib/modules/2.6.14/build/include/asm/hw_irq.h:30: error: 'NR_IRQ_VECTORS' undeclared here (not in a function)
In file included from viapubraid.h:23,
from viapubraid.c:21:
/usr/include/linux/blk.h:13:2: error: #endif without #if
In file included from viapubraid.c:21:
viapubraid.h:55:16: error: sd.h: Нет такого файла или каталога
In file included from viapubraid.h:56,
from viapubraid.c:21:
/lib/modules/2.6.14/build/drivers/scsi/hosts.h:1:2: warning: #warning "This file is obsolete, please use <scsi/scsi_host.h> instead"
In file included from viapubraid.c:21:
viapubraid.h:57:23: error: constants.h: Нет такого файла или каталога
In file included from viapubraid.c:22:
viaprvdef.h:89: error: syntax error before '*' token
viapubraid.c:76: warning: type defaults to 'int' in declaration of 'EXPORT_NO_SYMBOLS'
viapubraid.c:76: warning: data definition has no type or storage class
viapubraid.c: In function 'viaraid_intr':
viapubraid.c:85: error: 'io_request_lock' undeclared (first use in this function)
viapubraid.c:85: error: (Each undeclared identifier is reported only once
viapubraid.c:85: error: for each function it appears in.)
viapubraid.c: In function 'viaraid_Detect':
viapubraid.c:163: warning: implicit declaration of function 'pci_present'
viapubraid.c: At top level:
viapubraid.c:250: error: syntax error before '*' token
viapubraid.c: In function 'viaraid_BiosParam':
viapubraid.c:259: error: 'disk' undeclared (first use in this function)
viapubraid.c:262: error: 'geom' undeclared (first use in this function)
viapubraid.c: In function 'viaraid_ProcInfo':
viapubraid.c:278: warning: implicit declaration of function 'save_flags'
viapubraid.c:279: warning: implicit declaration of function 'cli'
viapubraid.c:281: warning: implicit declaration of function 'restore_flags'
viapubraid.c: In function 'TaskQueue':
viapubraid.c:321: error: 'struct scsi_cmnd' has no member named 'host'
viapubraid.c:322: error: 'struct scsi_cmnd' has no member named 'target'
viapubraid.c:323: error: 'struct scsi_cmnd' has no member named 'lun'
viapubraid.c: In function 'via_request_irq':
viapubraid.c:498: warning: passing argument 2 of 'request_irq' from incompatible pointer type
viapubraid.c: At top level:
viapubraid.c:550: warning: initialization from incompatible pointer type
viapubraid.c:550: error: unknown field 'command' specified in initializer
viapubraid.c:550: warning: initialization from incompatible pointer type
viapubraid.c:550: error: unknown field 'use_new_eh_code' specified in initializer
make: *** [viapubraid.o] Ошибка 1

Может кто подскажет как можно увидеть жесткие диски подключенные на эти идиотские контроллеры или не мучаться а купить новые?
Контроллеры установлены только для увеличения IDE разъемов, RAID не нужен.
Re: На www.viaarena.com выложен драйвер RAID VT6410, v 1.00. 15.05.2007 23:21Allegator Аналогично предыдущему постеру:

ASPLinux 11 + vt6421 = не видно устройств на канале IDE.

зато видно:

lsmod | grep ata
---
sata_via 8773 0
libata 47693 1 sata_via
scsi_mod 136169 2 libata,sd_mod
---

modinfo sata_via
---
filename: /lib/modules/2.6.14-1.1653.1asp/kernel/drivers/scsi/sata_via.ko
author: Jeff Garzik
description: SCSI low-level driver for VIA SATA controllers
license: GPL
version: 1.1
vermagic: 2.6.14-1.1653.1asp 686 REGPARM 4KSTACKS gcc-4.0
depends: libata
alias: pci:v00001106d00003149sv*sd*bc*sc*i*
alias: pci:v00001106d00003249sv*sd*bc*sc*i*
srcversion: 53C290CD7FEC4785F05ECD8
---

lspci
---
00:0c.0 RAID bus controller: VIA Technologies, Inc. VT6421 IDE RAID Controller (rev 50)
---

uname -r
---
2.6.14-1.1653.1asp
---

Вот здесь:
[community.asplinux.ru]
указано, что есть поддержка этого контроллера в версии 11,2.

Вопрос: что нужно для того, чтобы в версии 11 получить поддержку девайса? (кроме глобального апдейта до 11,2)
Re: На www.viaarena.com выложен драйвер RAID VT6410, v 1.00. 15.05.2007 23:26kirush Забей, я взял и сменил контроллеры на чипсете silicon, все встало на ура без всяких дров. Не мучайся.
Re: На www.viaarena.com выложен драйвер RAID VT6410, v 1.00. 16.05.2007 00:13Allegator Да собственно, наверное придется, если ничем больше никто не порадует...\

Просто что интересно, - почему модуль ядра называется sata_via, если в самом контроллере имеется еще и IDE канал. Помоему чего-то явно нехватает тут Улыбка
RSS-материал