Current-Users archive

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

Re: drmkms panic



On Tue, Aug 02, 2016 at 08:58:56PM +0200, Stefan Hertenberger wrote:
> Hello,
> 
> i hope this dump's are more useful, latest sources compiled with debug
> symbols.
> 
> https://www.alarum.de/netbsd/netbsd.2.gz
> https://www.alarum.de/netbsd/netbsd.2.core.gz
> 
> the kernel with debug symbols, not sure this is needed
> https://www.alarum.de/netbsd/netbsd.gdb.gz
> 
> regards,
> 
> Stefan Hertenberger


The problem is pretty obvious. netbsd kmem_alloc doesn't like allocating
zero-sized things, whereas linux kmalloc does.

Now for patching the code to return a sane value provided a zero size...


Home | Main Index | Thread Index | Old Index