[Solved] GA build fails for Kernel 4.15.3-300
-
- Posts: 19
- Joined: 3. Mar 2017, 18:52
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux(Fedora, CentOS)
[Solved] GA build fails for Kernel 4.15.3-300
host: Mac HighSierra 10.13.3
guest: Fedora 27 newest Kernel update (4.15.3-300)
VBox Version: 5.2.6
GA-iso: 5.2.6 and 5.2.7 beta (https://www.virtualbox.org/download/tes ... 120528.iso)
Guest addition fails to build - due to at least 2 issues introduced by kernel header changes:
1) (see vboxadd-setup.log.3 attached)
/tmp/vbox.0/VBoxGuest-linux.c35: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
module_param_call(log, vgdrvLinuxParamLogGrpSet, vgdrvLinuxParamLogGrpGet, NULL, 0664);
^
./include/linux/moduleparam.h:233:24: note: in definition of macro ‘module_param_call’
{ .flags = 0, .set = _set, .get = _get }; \
^~~~
succeeded to fix that by changing ./include/linux/moduleparam.h:233:24 to:
{ .flags = 0, .set = (void *)_set, .get =(void *) _get };
but this should be probably fixed elsewhere.
2) (see vboxadd-setup.log attached)
/tmp/vbox.0/vbox_mode.c: In function ‘vbox_best_single_encoder’:
/tmp/vbox.0/vbox_mode.c:400:43: warning: passing argument 2 of ‘drm_encoder_find’ makes pointer from integer without a cast [-Wint-conversion]
return drm_encoder_find(connector->dev, enc_id);
^~~~~~
it seems the underlying call drm_mode_object_find now requires an additional parameter file_priv:
static inline struct drm_encoder *drm_encoder_find(struct drm_device *dev,
struct drm_file *file_priv,
uint32_t id)
{
struct drm_mode_object *mo;
mo = drm_mode_object_find(dev, file_priv, id, DRM_MODE_OBJECT_ENCODER);
return mo ? obj_to_encoder(mo) : NULL;
}
couldn't figure out how to fix that yet.
guest: Fedora 27 newest Kernel update (4.15.3-300)
VBox Version: 5.2.6
GA-iso: 5.2.6 and 5.2.7 beta (https://www.virtualbox.org/download/tes ... 120528.iso)
Guest addition fails to build - due to at least 2 issues introduced by kernel header changes:
1) (see vboxadd-setup.log.3 attached)
/tmp/vbox.0/VBoxGuest-linux.c35: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
module_param_call(log, vgdrvLinuxParamLogGrpSet, vgdrvLinuxParamLogGrpGet, NULL, 0664);
^
./include/linux/moduleparam.h:233:24: note: in definition of macro ‘module_param_call’
{ .flags = 0, .set = _set, .get = _get }; \
^~~~
succeeded to fix that by changing ./include/linux/moduleparam.h:233:24 to:
{ .flags = 0, .set = (void *)_set, .get =(void *) _get };
but this should be probably fixed elsewhere.
2) (see vboxadd-setup.log attached)
/tmp/vbox.0/vbox_mode.c: In function ‘vbox_best_single_encoder’:
/tmp/vbox.0/vbox_mode.c:400:43: warning: passing argument 2 of ‘drm_encoder_find’ makes pointer from integer without a cast [-Wint-conversion]
return drm_encoder_find(connector->dev, enc_id);
^~~~~~
it seems the underlying call drm_mode_object_find now requires an additional parameter file_priv:
static inline struct drm_encoder *drm_encoder_find(struct drm_device *dev,
struct drm_file *file_priv,
uint32_t id)
{
struct drm_mode_object *mo;
mo = drm_mode_object_find(dev, file_priv, id, DRM_MODE_OBJECT_ENCODER);
return mo ? obj_to_encoder(mo) : NULL;
}
couldn't figure out how to fix that yet.
- Attachments
-
- vboxadd-setup.log.zip
- (10.12 KiB) Downloaded 34 times
Last edited by socratis on 19. Feb 2018, 11:25, edited 1 time in total.
Reason: Marked as [Solved].
Reason: Marked as [Solved].
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: GA build fails for Kernel 4.15.3-300
You need to keep up with VirtualBox. Neither 5.2.6 nor 5.2.7 r120528 came after 4.15.3. You should try the latest test builds, especially with all the Spectre/Meltdown patches coming in from all sides. And keep on checking the test builds for updates...JeanR wrote: guest: Fedora 27 newest Kernel update (4.15.3-300)
GA-iso: 5.2.6 and 5.2.7 beta r120528
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
- Posts: 19
- Joined: 3. Mar 2017, 18:52
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux(Fedora, CentOS)
Re: GA build fails for Kernel 4.15.3-300
Indeed: using the newest GAs fixes both problems. Point taken - should have looked there first..
Thanks socratis for the fast response, please mark this thread solved..
Thanks socratis for the fast response, please mark this thread solved..
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: GA build fails for Kernel 4.15.3-300
Glad you got it going. Marking as [Solved].
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
- Posts: 58
- Joined: 26. Jan 2017, 18:27
- Primary OS: MS Windows other
- VBox Version: OSE other
- Guest OSses: Centos, Ubuntu, Debian, Various Windows
- Contact:
Re: [Solved] GA build fails for Kernel 4.15.3-300
Just wanted to add some thanks that 5.1.33_120670 works on the 4.15 kernel as well.
Regression?? Re: [Solved] GA build fails for Kernel 4.15.3-300
This problem (or something very similar) appears to be back with latest CentOS 7 updates
Kernel 3.10.0-957.1.3.el7.x86_64
VirtualBox 5.2.22 with latest available extensions
the end of the 'vboxadd-setup.log' file is...
Kernel 3.10.0-957.1.3.el7.x86_64
VirtualBox 5.2.22 with latest available extensions
the end of the 'vboxadd-setup.log' file is...
/tmp/vbox.0/vbox_mode.c: In function 'vbox_best_single_encoder': /tmp/vbox.0/vbox_mode.c:358:3: warning: passing argument 2 of 'drm_encoder_find' makes pointer from integer without a cast [enabled by default] return drm_encoder_find(connector->dev, enc_id); ^ In file included from /tmp/vbox.0/vbox_drv.h:89:0, from /tmp/vbox.0/vbox_mode.c:35: include/drm/drm_encoder.h:221:35: note: expected 'struct drm_file *' but argument is of type 'int' static inline struct drm_encoder *drm_encoder_find(struct drm_device *dev, ^ /tmp/vbox.0/vbox_mode.c:358:3: error: too few arguments to function 'drm_encoder_find' return drm_encoder_find(connector->dev, enc_id); ^ In file included from /tmp/vbox.0/vbox_drv.h:89:0, from /tmp/vbox.0/vbox_mode.c:35: include/drm/drm_encoder.h:221:35: note: declared here static inline struct drm_encoder *drm_encoder_find(struct drm_device *dev, ^ make[2]: *** [/tmp/vbox.0/vbox_mode.o] Error 1 make[1]: *** [_module_/tmp/vbox.0] Error 2 make: *** [vboxvideo] Error 2
Last edited by socratis on 4. Dec 2018, 01:15, edited 1 time in total.
Reason: Enclosed the information in [quote][pre] tags for better readability
Reason: Enclosed the information in [quote][pre] tags for better readability
-
- Posts: 5
- Joined: 4. Dec 2018, 04:25
Re: [Solved] GA build fails for Kernel 4.15.3-300
I just got that error as well.
I installed the test GA on VBoxGuestAdditions_5.2.23-126769.iso and all is well.
I'm running Version 5.2.22 r126460 (Qt5.6.2) VirtualBox on Windows 7, CentOS 3.10.0-957.1.3.el7.x86_64.
Hope that helps.
Update. All was not well. My setup now has mouse irregularities as has been reported in other threads.
The primary symptom is that only one app will receive mouse events. Clicking on another one does nothing.
Sometimes you can recover by right clicking to pull up a context menu, which seems to free up the assignment of mouse to app.
If that does not work the advice about killing the drag-and-drop processes did the job for me. Just Ctrl-Alt-F2 into a console window and kill VBoxClient --draganddrop. (there may be more than one)
Of course, if you need that feature you might be hurting.
See viewtopic.php?f=3&t=79034 and https://www.virtualbox.org/ticket/14903.
I installed the test GA on VBoxGuestAdditions_5.2.23-126769.iso and all is well.
I'm running Version 5.2.22 r126460 (Qt5.6.2) VirtualBox on Windows 7, CentOS 3.10.0-957.1.3.el7.x86_64.
Hope that helps.
Update. All was not well. My setup now has mouse irregularities as has been reported in other threads.
The primary symptom is that only one app will receive mouse events. Clicking on another one does nothing.
Sometimes you can recover by right clicking to pull up a context menu, which seems to free up the assignment of mouse to app.
If that does not work the advice about killing the drag-and-drop processes did the job for me. Just Ctrl-Alt-F2 into a console window and kill VBoxClient --draganddrop. (there may be more than one)
Of course, if you need that feature you might be hurting.
See viewtopic.php?f=3&t=79034 and https://www.virtualbox.org/ticket/14903.
Re: [Solved] GA build fails for Kernel 4.15.3-300
thank you for that - I don't care about drag/drop, so hopefully this will allow me to do some instance upgrades without losing resize... now all I have to do is find the .23 GA iso and get it put in the right place... fun stuff...
so... help? where did you find the .23 iso?? I'm only finding the .22 that I already have (and earlier ones)
so... help? where did you find the .23 iso?? I'm only finding the .22 that I already have (and earlier ones)
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: [Solved] GA build fails for Kernel 4.15.3-300
Check the thread Mouse only usable within single application after mouse click on RHEL 7.6 (#18124), sounds fitting...Change Nickname wrote:The primary symptom is that only one app will receive mouse events
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
- Posts: 5
- Joined: 4. Dec 2018, 04:25
Re: [Solved] GA build fails for Kernel 4.15.3-300
tim79-
A post near the top mentions the test build download page https://www.virtualbox.org/wiki/Testbuilds. That's where I got .23.
Another useful but non-obvious site is http://download.virtualbox.org/virtualbox/. It has a lot of past releases and is one way to get your hands on older GAs should you need to.
A post near the top mentions the test build download page https://www.virtualbox.org/wiki/Testbuilds. That's where I got .23.
Another useful but non-obvious site is http://download.virtualbox.org/virtualbox/. It has a lot of past releases and is one way to get your hands on older GAs should you need to.
-
- Posts: 5
- Joined: 4. Dec 2018, 04:25
Re: [Solved] GA build fails for Kernel 4.15.3-300
I had run across that thread and have posted the draganddrop workaround that works for me there, since that thread has a more apropos title.socratis wrote:Check the thread Mouse only usable within single application after mouse click on RHEL 7.6 (#18124), sounds fitting...Change Nickname wrote:The primary symptom is that only one app will receive mouse events
Re: [Solved] GA build fails for Kernel 4.15.3-300
Installing the .23 version of the GA solved my problem - thank you!!