r00tk1t |
09-04-2004 13:36 253707 |
Слышал, что у винтов с АТА возникают какие то проблемы. Хотеломьбы уточнить такли это?
|
ruslandh |
09-04-2004 20:31 253708 |
r00tk1t
Всё зависит от ядра, в новых ядрах проблем нет, а в старых возможно не включение UDMA в SATA и т.п. проблемы.
|
r00tk1t
А проблемы такие: не знают большинство Linux'ов контроллеры, поддерживающие Serial ATA и всё. Сам неделю подряд пытался установить Linux на Serial RAID. Итог: забил на linux и поствил XP.
|
Всем привет. У меня возникла следующая проблема: пытаюсь подрубить SATA винт в Слакваре. Ядро - 2.6.9, чипсет - NForce 550 U (мать от Biostar). Скачал с nvidia.com пакет NV_Linux_DRV_PKG_v1.21, обновил нужные файлы в ядре из этого пакета и вот, что получаю при компиляции:
Код:
CC [M] drivers/scsi/sata_nv.o
drivers/scsi/sata_nv.c:234: error: unknown field `bmdma_stop' specified in initializer
drivers/scsi/sata_nv.c:234: warning: initialization from incompatible pointer type
drivers/scsi/sata_nv.c:235: error: unknown field `bmdma_status' specified in initializer
drivers/scsi/sata_nv.c:235: warning: initialization from incompatible pointer type
drivers/scsi/sata_nv.c: In function `nv_enable_hotplug_ck804':
drivers/scsi/sata_nv.c:510: error: structure has no member named `dev'
drivers/scsi/sata_nv.c: In function `nv_disable_hotplug_ck804':
drivers/scsi/sata_nv.c:528: error: structure has no member named `dev'
drivers/scsi/sata_nv.c: In function `nv_enable_hotplug_mcp55':
drivers/scsi/sata_nv.c:572: error: structure has no member named `dev'
drivers/scsi/sata_nv.c: In function `nv_disable_hotplug_mcp55':
drivers/scsi/sata_nv.c:594: error: structure has no member named `dev'
make[2]: *** [drivers/scsi/sata_nv.o] Ошибка 1
make[1]: *** [drivers/scsi] Ошибка 2
make: *** [drivers] Ошибка 2
root@well:/usr/src/linux# make all modules modules_install install ; cp /home/well/nvidia.ko /lib/modules/2.6.9/kernel/drivers/video/
CHK include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' не требует обновления.
CHK include/asm-i386/asm_offsets.h
CHK include/linux/compile.h
CC [M] drivers/scsi/sata_nv.o
drivers/scsi/sata_nv.c: In function `nv_sgpio_get_func':
drivers/scsi/sata_nv.c:283: error: structure has no member named `dev'
drivers/scsi/sata_nv.c: At top level:
drivers/scsi/sata_nv.c:486: error: unknown field `bmdma_stop' specified in initializer
drivers/scsi/sata_nv.c:486: warning: initialization from incompatible pointer type
drivers/scsi/sata_nv.c:487: error: unknown field `bmdma_status' specified in initializer
drivers/scsi/sata_nv.c:487: warning: initialization from incompatible pointer type
drivers/scsi/sata_nv.c: In function `nv_init_one':
drivers/scsi/sata_nv.c:654: error: `ATA_PORT_PRIMARY' undeclared (first use in this function)
drivers/scsi/sata_nv.c:654: error: (Each undeclared identifier is reported only once
drivers/scsi/sata_nv.c:654: error: for each function it appears in.)
drivers/scsi/sata_nv.c:654: error: `ATA_PORT_SECONDARY' undeclared (first use in this function)
drivers/scsi/sata_nv.c:654: error: too many arguments to function `ata_pci_init_native_mode'
drivers/scsi/sata_nv.c: In function `nv_enable_hotplug_ck804':
drivers/scsi/sata_nv.c:839: error: structure has no member named `dev'
drivers/scsi/sata_nv.c: In function `nv_disable_hotplug_ck804':
drivers/scsi/sata_nv.c:857: error: structure has no member named `dev'
drivers/scsi/sata_nv.c: In function `nv_enable_hotplug_mcp55':
drivers/scsi/sata_nv.c:901: error: structure has no member named `dev'
drivers/scsi/sata_nv.c: In function `nv_disable_hotplug_mcp55':
drivers/scsi/sata_nv.c:923: error: structure has no member named `dev'
drivers/scsi/sata_nv.c: In function `nv_sgpio_init':
drivers/scsi/sata_nv.c:975: warning: implicit declaration of function `pci_dev_to_dev'
drivers/scsi/sata_nv.c:975: warning: initialization makes pointer from integer without a cast
drivers/scsi/sata_nv.c:976: warning: unused variable `host_set'
drivers/scsi/sata_nv.c: In function `__nv_sgpio_timer_handler':
drivers/scsi/sata_nv.c:1042: warning: initialization makes pointer from integer without a cast
drivers/scsi/sata_nv.c:1049: warning: passing arg 1 of `nv_sgpio_timer_handler' makes integer from pointer without a cast
make[2]: *** [drivers/scsi/sata_nv.o] Ошибка 1
make[1]: *** [drivers/scsi] Ошибка 2
make: *** [drivers] Ошибка 2
Не подскажите, как решить эту проблему?
|
Цитата:
А проблемы такие: не знают большинство Linux'ов контроллеры, поддерживающие Serial ATA и всё. Сам неделю подряд пытался установить Linux на Serial RAID. Итог: забил на linux и поствил XP.
|
Неправда. Нужно сказать: "Есть определенные контроллеры, драйверов для которых в linux еще нет". Между прочим, списо таких контроллеров для WinXP гораздо больше, вы не поставите ее без дискеты с драйвером. Конечно, все меняет дело, если вы пытались поставить какой-нибудь RH9.
Нужно взять дистрибутив поновее. Или самому собрать новое ядро (читайте changelog'и на www.kernel.org на предмет наличия поддержки вашего контроллера).
|
Все решилось на много проще: поставил ядро 2.6.20, все опозналось и заработало без всяких патчей :)
|
Igor_I |
24-02-2007 22:21 554821 |
Envel
Такое изредка встречается :)
Посмотри на дату поста, на которое ты отвечаешь.
|
Время: 21:39.
© OSzone.net 2001-