aic7xxx seems broken

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux