Re: Potential re(4) / netbsd-4 / i386 problem?

2010-07-26 Thread Brad du Plessis
On 7/23/2010 12:54 PM, der Mouse wrote: Well, use machines whose designers cut corners on hardware design and guess what happens. Actually, my main reason for writing is to mention that I have a laptop, running 4.0.1, with an re onboard, and have never seen such random crashes. I can give

Re: Potential re(4) / netbsd-4 / i386 problem?

2010-07-26 Thread der Mouse
Actually, my main reason for writing is to mention that I have a laptop, running 4.0.1, with an re onboard, and have never seen such random crashes. I can give more details if they matter. I've got 3 motherboards with re onboard that I've tested, 2 of the 3 have the problem. I checked the

Re: Potential re(4) / netbsd-4 / i386 problem?

2010-07-26 Thread Brad du Plessis
On 7/26/2010 8:50 AM, der Mouse wrote: I don't see anything there that looks like the rev numbers you're talking about. While now is not a good time, I'll have a look at the code and see if I can find the hwrev value you're talking about and print out its value for my hardware. I manually

Re: Modules loading modules?

2010-07-26 Thread Antti Kantee
On Sun Jul 25 2010 at 15:17:29 -0700, Paul Goyette wrote: On Mon, 26 Jul 2010, matthew green wrote: it seems to me the root problem is that module_mutex is held while calling into the module startup routines. thus, the right solution is to remove this requirement. Yes, that's what is

Re: RFC: device flavours

2010-07-26 Thread Quentin Garnier
On Mon, Jul 26, 2010 at 08:25:10AM +0300, Jukka Ruohonen wrote: On Sun, Jul 25, 2010 at 09:22:53PM +, Quentin Garnier wrote: bridges (mostly on x86). An even older idea of mine is to finally see legacy devices listed in the ACPI tables attached to the PCI-ISA bridge where they

Re: envsys issues [was Re: envstat wrong: who's at fault?]

2010-07-26 Thread Paul Goyette
On Mon, 26 Jul 2010, der Mouse wrote: [moved from port-i386] [me] In passing, would it be appropriate and/or useful to suggest improvements to [the envsys(4)] API? When I was writing code, I found the envsys(4) ioctls to be deficient for my purposes. [Paul Goyette] I'd be interested in

Re: envsys issues [was Re: envstat wrong: who's at fault?]

2010-07-26 Thread der Mouse
[...] This is greatly cleaned up in the envsysV2 implementation. [...] In envsysV2, a single call is used [...] Then there's not really anything to discuss, because it's all already been fixed. Excellent. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTML

Re: RFC: device flavours

2010-07-26 Thread David Young
On Sun, Jul 25, 2010 at 09:22:53PM +, Quentin Garnier wrote: Hi all, I'm looking for comments about what I call device flavours. The best example of the kind of situation it tries to be an answer for is the multiplicity of drivers one can find around the source tree for PCI-ISA bridges

Re: RFC: device flavours

2010-07-26 Thread Quentin Garnier
On Mon, Jul 26, 2010 at 06:27:55PM -0500, David Young wrote: On Sun, Jul 25, 2010 at 09:22:53PM +, Quentin Garnier wrote: Hi all, I'm looking for comments about what I call device flavours. The best example of the kind of situation it tries to be an answer for is the multiplicity

Re: Modules loading modules?

2010-07-26 Thread Paul Goyette
On Mon, 26 Jul 2010, der Mouse wrote: We have a modular device driver, let's call it xxxmod. [...] It [] might attempt to use an optional module (e.g., zzzverbose) to print some device attachment messages. First, a required module cannot be optional. If the desired module is not present,