Hi, We need to fix a few build issues for kernels >= 4.14.x. It might take us a day or two.
On Wed, Jun 5, 2019 at 10:49 PM Louise Li <l...@houstonmechatronics.com> wrote: > > This is the year ago message. but I got the same problem now. My OS version > is ubuntu 18.04.2. What I need to update ? > > > On Monday, March 6, 2017 at 6:42:20 AM UTC-6, Duh wrote: >> >> Hello, module build failed on proxmox-ve host based on debian jessie >> >> root@b11:~# cat /etc/debian_version >> 8.7 >> root@b11:~# uname -a >> Linux b11 4.4.44-1-pve #1 SMP PVE 4.4.44-83 (Wed, 1 Mar 2017 09:22:35 +0100) >> x86_64 GNU/Linux >> root@b11:~# dpkg -l | grep pve-headers >> ii pve-headers-4.4.44-1-pve 4.4.44-83 >> amd64 The Proxmox PVE Kernel Headers >> root@b11:~# dpkg -l | grep pve-kernel >> ii pve-firmware 1.1-11 all >> Binary firmware code for the pve-kernel >> ii pve-kernel-4.4.44-1-pve 4.4.44-83 >> amd64 The Proxmox PVE Kernel Image >> root@b11:~# dpkg -l | grep quadstor >> ii quadstor-virt 3.2.11 >> amd64 QUADStor storage virtualization enterprise edition >> >> pve-kernel and headers are based on Ubuntu-4.4.0-63.84 packages >> >> build log follows... >> >> + [ ! -f /quadstor/lib/modules/corelib.o ] >> + uname >> + os=Linux >> + cd /quadstor/src/export >> + make clean >> rm -rf *.o *.ko .*.cmd *.mod.c .tmp_versions Module.symvers .*.o.d Module.* >> + make >> cp /quadstor/lib/modules/corelib.o /quadstor/src/export >> make -C /lib/modules/4.4.44-1-pve/build SUBDIRS=/quadstor/src/export modules >> make[1]: Entering directory '/usr/src/linux-headers-4.4.44-1-pve' >> CC [M] /quadstor/src/export/ldev_linux.o >> CC [M] /quadstor/src/export/devq.o >> LD [M] /quadstor/src/export/ldev.o >> CC [M] /quadstor/src/export/core_linux.o >> In file included from include/scsi/scsi_cmnd.h:10:0, >> from /quadstor/src/export/core_linux.c:26: >> include/scsi/scsi_device.h:223:3: warning: ‘printk’ is an unrecognized >> format function type [-Wformat=] >> const char *, ...); >> ^ >> include/scsi/scsi_device.h:229:40: warning: ‘printk’ is an unrecognized >> format function type [-Wformat=] >> scmd_printk(const char *, const struct scsi_cmnd *, const char *, ...); >> ^ >> In file included from include/uapi/linux/in.h:23:0, >> from include/linux/in.h:23, >> from /quadstor/src/export/linuxdefs.h:18, >> from /quadstor/src/export/core_linux.c:19: >> /quadstor/src/export/core_linux.c: In function ‘sys_sock_create’: >> include/linux/socket.h:163:18: warning: passing argument 1 of >> ‘sock_create_kern’ makes pointer from integer without a cast >> #define AF_INET 2 /* Internet IP Protocol */ >> ^ >> /quadstor/src/export/core_linux.c:174:28: note: in expansion of macro >> ‘AF_INET’ >> retval = sock_create_kern(AF_INET, SOCK_STREAM, IPPROTO_TCP, >> &sys_sock->sock); >> ^ >> In file included from include/linux/skbuff.h:29:0, >> from include/linux/tcp.h:21, >> from /quadstor/src/export/linuxdefs.h:19, >> from /quadstor/src/export/core_linux.c:19: >> include/linux/net.h:216:5: note: expected ‘struct net *’ but argument is of >> type ‘int’ >> int sock_create_kern(struct net *net, int family, int type, int proto, >> struct socket **res); >> ^ >> /quadstor/src/export/core_linux.c:174:63: warning: passing argument 4 of >> ‘sock_create_kern’ makes integer from pointer without a cast >> retval = sock_create_kern(AF_INET, SOCK_STREAM, IPPROTO_TCP, >> &sys_sock->sock); >> ^ >> In file included from include/linux/skbuff.h:29:0, >> from include/linux/tcp.h:21, >> from /quadstor/src/export/linuxdefs.h:19, >> from /quadstor/src/export/core_linux.c:19: >> include/linux/net.h:216:5: note: expected ‘int’ but argument is of type >> ‘struct socket **’ >> int sock_create_kern(struct net *net, int family, int type, int proto, >> struct socket **res); >> ^ >> /quadstor/src/export/core_linux.c:174:11: error: too few arguments to >> function ‘sock_create_kern’ >> retval = sock_create_kern(AF_INET, SOCK_STREAM, IPPROTO_TCP, >> &sys_sock->sock); >> ^ >> In file included from include/linux/skbuff.h:29:0, >> from include/linux/tcp.h:21, >> from /quadstor/src/export/linuxdefs.h:19, >> from /quadstor/src/export/core_linux.c:19: >> include/linux/net.h:216:5: note: declared here >> int sock_create_kern(struct net *net, int family, int type, int proto, >> struct socket **res); >> ^ >> /quadstor/src/export/core_linux.c: In function ‘g_new_bio’: >> /quadstor/src/export/core_linux.c:1127:17: warning: assignment from >> incompatible pointer type >> bio->bi_end_io = bio_end_bio; >> ^ >> /quadstor/src/export/core_linux.c: In function ‘bio_get_max_pages’: >> /quadstor/src/export/core_linux.c:1220:2: error: implicit declaration of >> function ‘bio_get_nr_vecs’ [-Werror=implicit-function-declaration] >> return bio_get_nr_vecs(iodev); >> ^ >> cc1: some warnings being treated as errors >> scripts/Makefile.build:258: recipe for target >> '/quadstor/src/export/core_linux.o' failed >> make[2]: *** [/quadstor/src/export/core_linux.o] Error 1 >> Makefile:1420: recipe for target '_module_/quadstor/src/export' failed >> make[1]: *** [_module_/quadstor/src/export] Error 2 >> make[1]: Leaving directory '/usr/src/linux-headers-4.4.44-1-pve' >> Makefile:28: recipe for target 'default' failed >> make: *** [default] Error 2 >> + checkerror >> + [ 2 != 0 ] >> + echo ERROR: Building kernel modules failed! >> ERROR: Building kernel modules failed! >> + exit 1 >> > > The contents of this email message and any attachments are intended solely > for the addressee(s). This message (including any attachments) may contain > confidential, proprietary, privileged and/or private information. The > information is intended to be for the use of the individual or entity > designated above. If you are not the intended recipient of this message, > please notify the sender immediately, and delete the message and any > attachments. Any disclosure, reproduction, distribution or other use of this > message or any attachments by an individual or entity other than the intended > recipient is prohibited. > > -- > You received this message because you are subscribed to the Google Groups > "QUADStor Storage Virtualization" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to quadstor-virt+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/quadstor-virt/8e9b4e93-2a80-4616-9054-a959b7110c42%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "QUADStor Storage Virtualization" group. To unsubscribe from this group and stop receiving emails from it, send an email to quadstor-virt+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/quadstor-virt/CAOhKxnn7FmJaCVk6iTGLV%3DSj2JATjOSzgMiqS2kaH2foaAb1pQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.