NetBSD-Users archive

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

Re: X on 10.0 RC1 is unusable on my laptop



On Wed, Nov 15, 2023 at 10:46:13PM +0100, Rhialto wrote:
> 
> That resulted in both undefined and double defined symbols...
> so I tried the more oldfashioned way of editing a copy of GENERIC and
> removing stuff (like the above). Still the same kind of linking errors..
> 

Did you completely remove the compile directory for you kernel before
doing the config?

I have done the same as you on a current-ish 10 and I did not get the
duplicate symbols.

I also have no joy, for a start my i915 adaptor id is not in the pciid
list.  I added it with a faked name string but now I get a kernel panic
because the size of the BAR mapping is 0.

I tracked this down to the function drm_alloc_resource in drm_bufs.c
which has, basically, an ifdef NetBSD that contains "This space _not_
intentionally left blank", the function drops out with a 0 return which
means the size of the PCI mapping is 0 and, hence, the kernel panic.

I am not really experienced in the PCI mechanics but I was thinking of
copying the code from elsewhere that checks the sizes of all the BARs of
memory type and returning that sum.  Is that right? anyone?

-- 
Brett Lymn
--
Sent from my NetBSD device.

"We are were wolves",
"You mean werewolves?",
"No we were wolves, now we are something else entirely",
"Oh"


Home | Main Index | Thread Index | Old Index