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

Bug#968940: marked as done (linux: please add patch to support virtualbox on kernel 5.8)



Your message dated Mon, 7 Sep 2020 11:32:11 +0200
with message-id <56eaf4ba-4dc0-1f31-6da2-19d9506b7116@debian.org>
and subject line Re: Bug#968940: linux: please add patch to support virtualbox on kernel 5.8
has caused the Debian Bug report #968940,
regarding linux: please add patch to support virtualbox on kernel 5.8
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
968940: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968940
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: linux
Version: 5.8.3-1~exp1
Severity: serious
tags: patch

Hello, as explained on upstream ticket [1], the new kernel broke virtualbox, and the only fix that has been found
so far is to export map_kernel_range and __get_vm_area_caller to modules

https://www.virtualbox.org/attachment/ticket/19644/local_patches

This trivial patch does the trick
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -325,6 +325,7 @@ int map_kernel_range(unsigned long start, unsigned long size, pgprot_t prot,
        flush_cache_vmap(start, start + size);
        return ret;
 }
+EXPORT_SYMBOL(map_kernel_range);
	 
 int is_vmalloc_or_module_addr(const void *x)
 {
@@ -2130,6 +2131,7 @@ struct vm_struct *__get_vm_area_caller(unsigned long size, unsigned long flags,
        return __get_vm_area_node(size, 1, flags, start, end, NUMA_NO_NODE,
                                  GFP_KERNEL, caller);
 }
+EXPORT_SYMBOL(__get_vm_area_caller);
 
 /**
  * get_vm_area - reserve a contiguous kernel virtual area


[1] https://www.virtualbox.org/ticket/19644

thanks

Gianfranco

--- End Message ---
--- Begin Message ---
On Mon, 24 Aug 2020 12:42:51 +0200 Bastian Blank <waldi@debian.org> wrote:
> Control: severity -1 important
> 
> On Mon, Aug 24, 2020 at 12:11:08PM +0200, Gianfranco Costamagna wrote:
> > Hello, as explained on upstream ticket [1], the new kernel broke virtualbox, and the only fix that has been found
> > so far is to export map_kernel_range and __get_vm_area_caller to modules
> 
> Please talk to linux upstream.
> 
> Bastian
> 
> -- 
> 	"Get back to your stations!"
> 	"We're beaming down to the planet, sir."
> 		-- Kirk and Mr. Leslie, "This Side of Paradise",
> 		   stardate 3417.3
> 
> 

fortunately the new virtualbox 6.1.14 fixes don't require such symbols anymore.

G.

--- End Message ---

Reply to: