NetBSD-Bugs archive

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

re: install/57774: Old Nvidia card with Nouveau causes kernel panic on boot



> nouveau0: NVIDIA NV44(044300b2)_
> nouveau0: bios: version 04.44.02.45.00
> nouveau0: error: imem: unable to map PRAMIN BAR 2: -35
> nouveau0: error: imem: imem ctor failed, -35
> nouveau0: unable to create nouveau device: 35
> panic: cnopen: no console device

this message comes from a netbsd-only code segment:

300         imem->iomemt = device->func->resource_tag(device, bar);
301         iomembase = device->func->resource_addr(device, bar);
302         iomemsz = device->func->resource_size(device, bar);
303         /* XXX errno NetBSD->Linux */
304         ret = -bus_space_map(imem->iomemt, iomembase, iomemsz,
305             BUS_SPACE_MAP_LINEAR|BUS_SPACE_MAP_PREFETCHABLE, &imem->iomemh);
306         if (ret) {
307                 nvkm_error(&imem->base.subdev, "unable to map PRAMIN BAR %d"
308                     ": %d\n", bar, ret);

error 35 = EAGAIN.  that's probably coming from x86/bus_space.c:

249 bus_space_reserve(bus_space_tag_t t,
...
283         error = extent_alloc_region(ex, bpa, size,
284             EX_NOWAIT | (ioport_malloc_safe ? EX_MALLOCOK : 0));

which seems to imply the address is already mapped, so we'd need
to figure out what is doing this.  can you post the full dmesg
from before it panics?  (even if just some pictures or video?)

thanks.


.mrg.


Home | Main Index | Thread Index | Old Index