Bug 1212761

Summary: vbox:kmp fails with kernel 6.4
Product: [openSUSE] openSUSE Tumbleweed Reporter: Jiri Slaby <jslaby>
Component: Virtualization:OtherAssignee: Larry Finger <Larry.Finger>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: ana.guerrero, llrainey15
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: build log

Description Jiri Slaby 2023-06-27 07:57:06 UTC
> .../modules_build_dir/default/vboxsf/regops.c: In function 'vbsf_iter_max_span_of_pages':
> .../modules_build_dir/default/vboxsf/regops.c:2402:48: error: 'struct iov_iter' has no member named 'iov'; did you mean '__iov'?
>  2402 |         const struct iovec *pCurIov    = iter->iov;
>       |                                                ^~~    
>       |                                                __iov  

Since kernel 6.4, vbox should use iter_iov(iter), not iter->iov. Could you fix that up?
Comment 2 Larry Finger 2023-06-27 14:27:21 UTC
(In reply to Jiri Slaby from comment #1)
> FWIW, it's in:
> https://build.opensuse.org/request/show/1095360
> currently staged at:
> https://build.opensuse.org/project/show/openSUSE:Factory:Staging:M

Jiri - Thanks for the project pointer. That problem should ve easy to fix.
Comment 3 Larry Finger 2023-06-27 14:45:19 UTC
Adding the other Larry.
Comment 4 Larry Finger 2023-06-27 14:46:35 UTC
Ditto.
Comment 5 Larry Finger 2023-06-27 19:18:36 UTC
Fixed in version in Virtualization/virtualbox.
Comment 6 OBSbugzilla Bot 2023-07-21 17:25:06 UTC
This is an autogenerated message for OBS integration:
This bug (1212761) was mentioned in
https://build.opensuse.org/request/show/1099933 15.5 / virtualbox
https://build.opensuse.org/request/show/1099934 15.4 / virtualbox
Comment 7 Marcus Meissner 2023-07-27 01:05:32 UTC
openSUSE-RU-2023:0194-1: An update that has two recommended fixes can now be installed.

Category: recommended (important)
Bug References: 1212209,1212761
CVE References: 
JIRA References: 
Sources used:
openSUSE Leap 15.4 (src):    virtualbox-7.0.10-lp154.2.35.1, virtualbox-kmp-7.0.10-lp154.2.35.1
Comment 8 Marcus Meissner 2023-08-06 22:06:05 UTC
openSUSE-SU-2023:0213-1: An update that contains security fixes can now be installed.

Category: security (important)
Bug References: 1209727,1211941,1212209,1212761
CVE References: 
JIRA References: 
Sources used:
openSUSE Leap 15.5 (src):    virtualbox-7.0.10-lp155.2.5.1, virtualbox-kmp-7.0.10-lp155.2.5.1
Comment 9 Ana Guerrero 2023-08-18 09:58:11 UTC
Created attachment 868876 [details]
build log
Comment 10 Ana Guerrero 2023-08-18 09:59:13 UTC
This seems to have appeared again with linux 6.4.11, full log attached.
Comment 11 Jiri Slaby 2023-08-18 11:07:18 UTC
(In reply to Ana Guerrero from comment #10)
> This seems to have appeared again with linux 6.4.11, full log attached.

This is a different error handled in bug 1214391 now, right?
Comment 12 Ana Guerrero 2023-08-18 11:08:34 UTC
(In reply to Jiri Slaby from comment #11)
> (In reply to Ana Guerrero from comment #10)
> > This seems to have appeared again with linux 6.4.11, full log attached.
> 
> This is a different error handled in bug 1214391 now, right?

Yep, thank you!
Comment 13 Larry Finger 2023-08-18 16:11:02 UTC
What project is using 6.4.11, or is that a build from regular sources?
Comment 14 Ana Guerrero 2023-08-18 16:12:42 UTC
It's an update for the kernel, see:
https://build.opensuse.org/request/show/1104306
staged at
https://build.opensuse.org/project/show/openSUSE:Factory:Staging:K
where you can see the failure of virtualbox:kmp
Comment 15 Larry Finger 2023-08-18 18:32:28 UTC
I just pushed a fix to Virtualization/virtualbox. As noted in boo#1214391, the code is missing an include to <net/gso.h>. The surprising part is that the definition of skb_gso_segment is in the new place in mainline kernel 6.5-rc6, but the header in question was applied already, thus there was no failure.

In any case, the code should now build on 6.4.10 and 6.4.11 at OBS.
Comment 16 OBSbugzilla Bot 2023-09-21 16:35:03 UTC
This is an autogenerated message for OBS integration:
This bug (1212761) was mentioned in
https://build.opensuse.org/request/show/1112825 15.4 / virtualbox
https://build.opensuse.org/request/show/1112830 15.5 / virtualbox
https://build.opensuse.org/request/show/1112832 15.6 / virtualbox
Comment 17 Marcus Meissner 2023-10-02 13:07:42 UTC
openSUSE-RU-2023:0284-1: An update that has three recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 1212761,1214391,1215463
CVE References: 
JIRA References: 
Sources used:
openSUSE Leap 15.4 (src):    virtualbox-7.0.10-lp154.2.38.1, virtualbox-kmp-7.0.10-lp154.2.38.1
Comment 18 Marcus Meissner 2023-10-02 13:10:55 UTC
openSUSE-RU-2023:0286-1: An update that has three recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 1212761,1214391,1215463
CVE References: 
JIRA References: 
Sources used:
openSUSE Leap 15.5 (src):    virtualbox-7.0.10-lp155.2.8.1, virtualbox-kmp-7.0.10-lp155.2.8.1