Страница 1 из 1

FreeBSD 7.2 и Lsi SAS2008

Добавлено: 2009-10-15 20:26:25
AntonS
Добрый день
как заставить работать этот рэйд
драйвер который на сайте www.lsi.com не собирается

Re: FreeBSD 7.2 и Lsi SAS2008

Добавлено: 2009-10-15 20:40:12
paradox
а там под фрибсд есть?
именно под ту верисю под которую вы собираете

Re: FreeBSD 7.2 и Lsi SAS2008

Добавлено: 2009-10-15 21:04:40
AntonS
нет только под 7.0 32 бит
а у меня 7.2 64 бит :) думал прокатит

запустить как то надо
вот как..

Re: FreeBSD 7.2 и Lsi SAS2008

Добавлено: 2009-10-15 21:06:20
paradox
ну так давайте результат вашего запуска сюда
а то непонятно что там за ошибки

да и у меня есть смутные сомнения что оно может уже найтивно бсд поддерживаться

Re: FreeBSD 7.2 и Lsi SAS2008

Добавлено: 2009-10-16 8:22:35
AntonS

Код: Выделить всё

pcib5: <ACPI PCI-PCI bridge> at device 9.0 on pci0
pci5: <ACPI PCI bus> on pcib5
pci5: <mass storage, SAS> at device 0.0 (no driver attached)
вот так он в системе

Код: Выделить всё

none13@pci0:5:0:0:      class=0x010700 card=0x00721000 chip=0x00721000 rev=0x02 hdr=0x00
    vendor     = 'LSI Logic (Was: Symbios Logic, NCR)'
    class      = mass storage
    subclass   = SAS
если собирать по инструкции то ругается так

Код: Выделить всё

../../../dev/mfi/mfi.c: In function 'mfi_alloc_skinny_memory':
../../../dev/mfi/mfi.c:688: warning: cast to pointer from integer of different size
../../../dev/mfi/mfi.c:722: warning: cast to pointer from integer of different size
../../../dev/mfi/mfi.c:723: warning: cast to pointer from integer of different size
../../../dev/mfi/mfi.c:728: warning: cast to pointer from integer of different size
../../../dev/mfi/mfi.c:728: warning: format '%lld' expects type 'long long int', but argument 3 has type 'uint64_t'
../../../dev/mfi/mfi.c:766: warning: cast to pointer from integer of different size
../../../dev/mfi/mfi.c:769: warning: cast to pointer from integer of different size
../../../dev/mfi/mfi.c:807: warning: cast to pointer from integer of different size
../../../dev/mfi/mfi.c:811: warning: cast to pointer from integer of different size
../../../dev/mfi/mfi.c:821: warning: cast to pointer from integer of different size
../../../dev/mfi/mfi.c: In function 'mfi_free_skinny_memory':
../../../dev/mfi/mfi.c:1142: warning: cast to pointer from integer of different size
../../../dev/mfi/mfi.c:1146: warning: cast to pointer from integer of different size
../../../dev/mfi/mfi.c:1156: warning: cast to pointer from integer of different size
../../../dev/mfi/mfi.c: In function 'mfi_bio_command':
../../../dev/mfi/mfi.c:2104: warning: cast from pointer to integer of different size
../../../dev/mfi/mfi.c:2106: warning: cast from pointer to integer of different size
../../../dev/mfi/mfi.c: In function 'mfi_ioctl':
../../../dev/mfi/mfi.c:2955: warning: cast to pointer from integer of different size
 
На форуме нага сказали "Видимо код не приспособлен для amd64. Такие ошибки возникают из-за попытки присвоения 64-битному указателю значения 32-битной переменной. Если других проблем нет, то можно и самому допилить. "

а вот если по другому
как то странно щас собралось

billing# make
Warning: Object directory not changed from original /usr/home/anton/mfi
@ -> /usr/src/sys
machine -> /usr/src/sys/amd64/include
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
:> opt_mfi.h
:> opt_cam.h
cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c mfi.c
mfi.c: In function 'mfi_alloc_skinny_memory':
mfi.c:688: warning: cast to pointer from integer of different size
mfi.c:722: warning: cast to pointer from integer of different size
mfi.c:723: warning: cast to pointer from integer of different size
mfi.c:728: warning: cast to pointer from integer of different size
mfi.c:728: warning: format '%lld' expects type 'long long int', but argument 3 has type 'uint64_t'
mfi.c:766: warning: cast to pointer from integer of different size
mfi.c:769: warning: cast to pointer from integer of different size
mfi.c:807: warning: cast to pointer from integer of different size
mfi.c:811: warning: cast to pointer from integer of different size
mfi.c:821: warning: cast to pointer from integer of different size
mfi.c: In function 'mfi_free_skinny_memory':
mfi.c:1142: warning: cast to pointer from integer of different size
mfi.c:1146: warning: cast to pointer from integer of different size
mfi.c:1156: warning: cast to pointer from integer of different size
mfi.c: In function 'mfi_bio_command':
mfi.c:2104: warning: cast from pointer to integer of different size
mfi.c:2106: warning: cast from pointer to integer of different size
mfi.c: In function 'mfi_ioctl':
mfi.c:2955: warning: cast to pointer from integer of different size
cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c mfi_pci.c
cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c mfi_disk.c
cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c mfi_syspd.c
cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c mfi_cam.c
cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c mfi_debug.c
ld  -d -warn-common -r -d -o mfi.ko mfi.o mfi_pci.o mfi_disk.o mfi_syspd.o mfi_cam.o mfi_debug.o
:> export_syms
awk -f /sys/conf/kmod_syms.awk mfi.ko  export_syms | xargs -J% objcopy % mfi.ko
objcopy --strip-debug mfi.ko
billing# make install
install -o root -g wheel -m 555   mfi.ko /boot/kernel
kldxref /boot/kernel
billing# uname -a
FreeBSD billing.pskovline.ru 7.2-STABLE FreeBSD 7.2-STABLE #0: Thu Oct 15 22:27:27 MSD 2009     anton@billing.123.ru:/usr/src/sys/amd64/compile/billing  amd64

Re: FreeBSD 7.2 и Lsi SAS2008

Добавлено: 2009-10-16 8:51:55
AntonS

Код: Выделить всё

module_register: module pci/mfi already exists!
Module pci/mfi failed to register: 17
module_register: module mfi/mfid already exists!
Module mfi/mfid failed to register: 17
а все равно не работает и не загружает его

Re: FreeBSD 7.2 и Lsi SAS2008

Добавлено: 2013-08-13 12:18:20
CTOPMbI4
может кто сталкивался на железке с данным контролером.
при установки 9.1 видит диска по отдельности рейд не видет?

Re: FreeBSD 7.2 и Lsi SAS2008

Добавлено: 2013-08-18 16:45:04
Alex Keda
нету поддержки этого, насколько я помню
у меня тоже сервер c таким есть - пришлось 3ware купить и поставить

Re: FreeBSD 7.2 и Lsi SAS2008

Добавлено: 2013-08-18 18:47:00
CTOPMbI4
Alex Keda писал(а):нету поддержки этого, насколько я помню
у меня тоже сервер c таким есть - пришлось 3ware купить и поставить
Александ. Вообще тема такая. Хотел воткнуть на эту железку виртуалку. vmware esxi
на ней уже крутить. при установке так же не видит рейда.
убрал рейд поставил без него. одну из сетевух не видит vmware.
получается нужно докупить контроллер + сетевуху которая точно поддерживается :evil:

Re: FreeBSD 7.2 и Lsi SAS2008

Добавлено: 2013-08-19 0:06:41
Alex Keda
ВмТварь вообще капризная. зато на поддерживаемом железе работает стабильно
--
и я алексей =)

Re: FreeBSD 7.2 и Lsi SAS2008

Добавлено: 2013-08-20 13:40:19
CTOPMbI4
Alex Keda писал(а):ВмТварь вообще капризная. зато на поддерживаемом железе работает стабильно
--
и я алексей =)
Алексей решил забить накрутил софтварный рейд и радуюсь
всем большой респект. :smile: