All of lore.kernel.org
 help / color / mirror / Atom feed
* aic7xxx seems broken
@ 2021-04-09 11:15 Daniel Hiepler
  0 siblings, 0 replies; only message in thread
From: Daniel Hiepler @ 2021-04-09 11:15 UTC (permalink / raw)
  To: linux-scsi

Hi,

i tried to get my old Adaptec AHA-2940W/2940UW controller working to read some
old disks. This controller needs firmware compiled to work (i.e. it doesn't
detect any disks without firmware compiled).

Compiling fails [1] (This is a kernel with gentoo patchset but I also tried with
vanilla, without luck). I think it's related to this lkml post [2].

I hope this is fixable and this is the right place to report. If I should
report somewhere else, I'd appreciate if someone could point it out.


Best Regards


[1]
---------------------------------------------------
make -C ./drivers/scsi/aic7xxx/aicasm OUTDIR=/mnt/hdd/usr/src/linux-5.11.11-gentoo/drivers/scsi/aic7xxx/aicasm/
gcc -I/usr/include -I. -I/mnt/hdd/usr/src/linux-5.11.11-gentoo/drivers/scsi/aic7xxx/aicasm/ aicasm.c aicasm_symbol.c /mnt/hdd/usr/src/linux-5.11.11-gentoo/drivers/scsi/aic7xxx/
aicasm//aicasm_gram.c /mnt/hdd/usr/src/linux-5.11.11-gentoo/drivers/scsi/aic7xxx/aicasm//aicasm_macro_gram.c /mnt/hdd/usr/src/linux-5.11.11-gentoo/drivers/scsi/aic7xxx/aicasm//
aicasm_scan.c /mnt/hdd/usr/src/linux-5.11.11-gentoo/drivers/scsi/aic7xxx/aicasm//aicasm_macro_scan.c -o /mnt/hdd/usr/src/linux-5.11.11-gentoo/drivers/scsi/aic7xxx/aicasm//aicas
m -ldb
aicasm_symbol.c: In function 'aic_print_reg_dump_end':
aicasm_symbol.c:393:13: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration]
  393 |   *letter = tolower(*letter);
      |             ^~~~~~~
aicasm_gram.tab.c:204:10: fatal error: aicasm_gram.tab.h: No such file or directory
compilation terminated.
aicasm_macro_gram.tab.c:167:10: fatal error: aicasm_macro_gram.tab.h: No such file or directory
compilation terminated.
aicasm_scan.l: In function 'yylex':
aicasm_scan.l:417:6: warning: implicit declaration of function 'mm_switch_to_buffer'; did you mean 'yy_switch_to_buffer'? [-Wimplicit-function-declaration]
  417 |      mm_switch_to_buffer(old_state);
      |      ^~~~~~~~~~~~~~~~~~~
      |      yy_switch_to_buffer
aicasm_scan.l:418:6: warning: implicit declaration of function 'mmparse'; did you mean 'yyparse'? [-Wimplicit-function-declaration]
  418 |      mmparse();
      |      ^~~~~~~
      |      yyparse
aicasm_scan.l:421:6: warning: implicit declaration of function 'mm_delete_buffer'; did you mean 'yy_delete_buffer'? [-Wimplicit-function-declaration]
  421 |      mm_delete_buffer(temp_state);
      |      ^~~~~~~~~~~~~~~~
      |      yy_delete_buffer
make[4]: *** [Makefile:39: aicasm] Error 1
make[3]: *** [drivers/scsi/aic7xxx/Makefile:87: drivers/scsi/aic7xxx/aicasm/aicasm] Error 2
make[2]: *** [scripts/Makefile.build:496: drivers/scsi/aic7xxx] Error 2
make[1]: *** [scripts/Makefile.build:496: drivers/scsi] Error 2
make: *** [Makefile:1809: drivers] Error 2
make: *** Waiting for unfinished jobs....
---------------------------------------------------

[2] https://lkml.org/lkml/2020/8/22/285


-- 
Daniel Hiepler



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-09 11:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-09 11:15 aic7xxx seems broken Daniel Hiepler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.