LINUX.ORG.RU

Прошивка adp94xx


0

0

Пытаюсь собрать эту прошивку для ядра 2.6, делаю как прописанно в их How_To_Compile_SCSI_Drivers.txt. make -C /usr/src/linux-2.6.33.4 M=`pwd`

вываливается с ошибками:

make: Entering directory `/usr/src/linux-2.6.33.4'
  CC [M]  /home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.o
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:46:5: warning: "KDB_ENABLE" is not defined
In file included from /home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:49:
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.h:59:26: error: linux/config.h: No such file or directory
...
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_inline.h: In function 'asd_next_device_to_run':
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_inline.h:773: error: 'struct asd_device' has no member named 'target'
In file included from /home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:53:
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_inline.h:865:43: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_inline.h: In function 'asd_setup_dev_dpc_task':
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_inline.h:865: error: 'INIT_WORK' undeclared (first use in this function)
...
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c: In function 'asd_init':
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:709: error: implicit declaration of function 'asd_detect'
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:709: error: 'asd_sht' undeclared (first use in this function)
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c: At top level:
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:956: error: expected ')' before '*' token
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c: In function 'asd_register_host':
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:1083: error: 'asd_sht' undeclared (first use in this function)
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:1109: error: implicit declaration of function 'scsi_assign_lock'
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c: In function 'asd_alloc_device':
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:1208: error: 'struct asd_device' has no member named 'target'
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c: In function 'asd_free_device':
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:1245: error: 'struct asd_device' has no member named 'target'
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c: In function 'asd_flush_device_queue':
...
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:1496: error: 'struct scsi_cmnd' has no member named 'sc_magic'
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c: In function 'asd_dev_timed_unfreeze':
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:1574: error: 'struct asd_device' has no member named 'target'
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:1586: error: 'struct asd_device' has no member named 'target'
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c: In function 'asd_timed_run_dev_queue':
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:1605: error: 'struct asd_device' has no member named 'target'
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:1611: error: 'struct asd_device' has no member named 'target'
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:1612: error: 'struct asd_device' has no member named 'target'
...
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:2041: error: 'struct asd_device' has no member named 'target'
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:2041: error: 'struct asd_device' has no member named 'target'
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c: In function 'asd_setup_data':
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:2089: error: 'Scsi_Cmnd' has no member named 'use_sg'
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:2093: error: 'Scsi_Cmnd' has no member named 'request_buffer'
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:2095: error: 'Scsi_Cmnd' has no member named 'use_sg'
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:2115: error: 'Scsi_Cmnd' has no member named 'request_bufflen'
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:2120: error: 'Scsi_Cmnd' has no member named 'request_buffer'
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:2120: error: 'Scsi_Cmnd' has no member named 'request_bufflen'
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:2124: error: 'Scsi_Cmnd' has no member named 'request_bufflen'
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:2126: error: 'Scsi_Cmnd' has no member named 'request_bufflen'
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c: In function 'asd_build_sas_scb':
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:2195: error: 'struct asd_device' has no member named 'target'
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:2207: error: 'Scsi_Cmnd' has no member named 'request_bufflen'
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c: In function 'asd_discovery_thread':
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:2285: error: 'PF_FREEZE' undeclared (first use in this function)
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:2296: warning: ignoring return value of 'down_interruptible', declared with attribute warn_unused_result
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c: In function 'asd_kill_discovery_thread':
...
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:5055: error: expected ')' before '*' token
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c: In function 'asd_get_user_tagdepth':
...
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:5828: error: dereferencing pointer to incomplete type
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:5829: error: dereferencing pointer to incomplete type
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c: At top level:
/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.c:6162: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'asd_sht'
make[1]: *** [/home/splinter/Downloads/drivers/drivers/adp94xx/adp94xx_osm.o] Error 1
make: *** [_module_/home/splinter/Downloads/drivers/drivers/adp94xx] Error 2
make: Leaving directory `/usr/src/linux-2.6.33.4'
Не пойму что ему нехватает :-(

★★★★★

Ответ на: комментарий от anon_666

из биоса диски не видны, я пытаюсь загрузиться с установочного диска slackware linux 13.1, пробовал уже и убунту и мандриву и т.п. никто не видит дисков.

splinter ★★★★★ ()
Ответ на: комментарий от splinter

>как подсунуть firmware при загрузке?
Так. Кроме того, придётся поставить ещё один диск, видимый для bios - чтобы на него поставить загрузчик.

anon_666 ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.