scst icon indicating copy to clipboard operation
scst copied to clipboard

issue with kernel 5.15 stable

Open limbo127 opened this issue 4 years ago • 4 comments

Hello, some issues during compilation of scst on 5.15 stable kernel. Regards, Nicolas

make[3]: Entering directory '/tmp/workdir/kernel/linux-5.15' CC [M] /tmp/workdir/modules/scst/scst/src/scst_lib.o /tmp/workdir/modules/scst/scst/src/scst_lib.c: In function ‘blk_make_request’: /tmp/workdir/modules/scst/scst/src/scst_lib.c:8254:9: error: implicit declaration of function ‘scsi_req_init’; did you mean ‘scst_cm_init’? [-Werror=implicit-function-declaration] 8254 | scsi_req_init(scsi_req(rq)); | ^~~~~~~~~~~~~ | scst_cm_init cc1: some warnings being treated as errors

limbo127 avatar Nov 02 '21 11:11 limbo127

Which kernel version are you using (version number or git commit ID)? As far as I know no kernel v5.15.x has been released yet.

bvanassche avatar Nov 03 '21 03:11 bvanassche

this one : https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.tar.xz fyi, we are using our env test to compiling all modules we are using, and we use this : curl https://www.kernel.org/releases.json 2>/dev/null |jq -r .latest_stable.version to get the latest stable kernel version.

limbo127 avatar Nov 03 '21 08:11 limbo127

Please retest with the latest SCST master branch.

bvanassche avatar Nov 03 '21 14:11 bvanassche

Yes it's working, thanks for your help. ls -Rl /lib/modules/5.15.0/extra/ /lib/modules/5.15.0/extra/: total 1264 drwxr-xr-x 1 root root 240 Nov 3 15:15 dev_handlers -rw-r--r-- 1 root root 222889 Nov 3 17:57 iscsi-scst.ko -rw-r--r-- 1 root root 1065866 Nov 3 17:56 scst.ko

/lib/modules/5.15.0/extra/dev_handlers: total 416 -rw-r--r-- 1 root root 10896 Nov 3 17:56 scst_cdrom.ko -rw-r--r-- 1 root root 8200 Nov 3 17:56 scst_changer.ko -rw-r--r-- 1 root root 17344 Nov 3 17:56 scst_disk.ko -rw-r--r-- 1 root root 12616 Nov 3 17:56 scst_modisk.ko -rw-r--r-- 1 root root 8216 Nov 3 17:56 scst_processor.ko -rw-r--r-- 1 root root 8176 Nov 3 17:56 scst_raid.ko -rw-r--r-- 1 root root 12608 Nov 3 17:56 scst_tape.ko -rw-r--r-- 1 root root 84592 Nov 3 17:56 scst_user.ko -rw-r--r-- 1 root root 240632 Nov 3 17:56 scst_vdisk.ko Nicolas

Le mer. 3 nov. 2021 à 15:43, Bart Van Assche @.***> a écrit :

Please retest with the latest SCST master branch.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bvanassche/scst/issues/50#issuecomment-959294133, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMCNUA7SKVHZFVCO2YVTHDUKFKC3ANCNFSM5HGFIPPA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

limbo127 avatar Nov 03 '21 18:11 limbo127