NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/50804: Nouveau console doesn't come up on Dell laptop
The following reply was made to PR kern/50804; it has been noted by GNATS.
From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: Roy Bixler <rcbixler%nyx.net@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/50804: Nouveau console doesn't come up on Dell laptop
Date: Sat, 20 Feb 2016 15:51:17 +0000
Date: Sat, 20 Feb 2016 08:45:45 -0700
From: Roy Bixler <rcbixler%nyx.net@localhost>
On Mon, Feb 15, 2016 at 08:41:48PM +0000, Taylor R Campbell wrote:
> Another change that might be worthwhile to test would be to add
>
> #include <ddb/ddb.h>
>
> if (bpa/size covers the nvidia bar)
> db_stack_trace_print(
> (db_expr_t)(intptr_t)__builtin_frame_address(0),
> true, 65535, "", printf);
>
> to bus_space_map in sys/arch/x86/x86/bus_space.c, so that you can see
> who is trying to map this bus space, in case someone else has already
> mapped it. (You'll need to fill in what the relevant BAR's address
> and size actually are, unless you want to increase MSGBUFSIZE and wade
> through a stack trace for every bus space mapping in the system.)
The thought occurred to me before, so since you agree, I'll give it a
go.
Since bus_space_map is apparently failing with EAGAIN, that is
definitely worth a try -- EAGAIN means someone else has already mapped
some part of the region.
Home |
Main Index |
Thread Index |
Old Index