Re: How to get a device_t

2003-08-10 Thread Bernd Walter
On Wed, Aug 06, 2003 at 03:34:01PM -0400, Eric Jacobs wrote: > On Wed, 6 Aug 2003 13:00:13 +0200 > Bernd Walter <[EMAIL PROTECTED]> wrote: > > > > > Back to the original question: > > How do I get the device_t from nexus? > > Is there a get_nexus() function somewhere? > > You can do it this way:

Re: How to get a device_t

2003-08-10 Thread Bernd Walter
On Wed, Aug 06, 2003 at 12:45:43PM +0200, Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Bernd Walter writes: > >On Wed, Aug 06, 2003 at 12:18:28PM +0200, Poul-Henning Kamp wrote: > >> In message <[EMAIL PROTECTED]>, Bernd Walter writes: > >> >>From the logicaly standpoint the extension

hang in sio driver when interrupt occurs while in siocnputc()

2003-08-10 Thread Don Bowman
I find that if the kernel is in the middle of a printf, is using a serial console, and a key is pressed, that i may end up stuck in the siointr. I added a counter to siointr1() so that if it receives more than 100 characters in a single interrupt it panics. What I find happens is that the chip (a

Re: [patch] Re: getfsent(3) and spaces in fstab

2003-08-10 Thread mitrohin a.s.
On Mon, Aug 04, 2003 at 02:33:31AM +0200, Simon Barner wrote: > Hi Terry, > > > You need to add '\\' to the list of characters that can be escaped, > > or you've just traded the inability to specify '\t' or ' ' for an > > inability to speciy '\\'. > > Oh yes, I have overlook this special case. I

Re: COW and mprotect on non-shared memory

2003-08-10 Thread David Schultz
On Thu, Aug 07, 2003, Ed L Cashin wrote: > "Luoqi Chen" <[EMAIL PROTECTED]> writes: > > [Ed writes] > >> That means that if I do this: > >> > >> for (i = 0; i < n; ++i) { > >> assert(!mprotect(p, pgsiz, PROT_NONE)); > >> assert(!mprotect(p, pgsiz, PROT_READ|PROT_WRITE|PROT_EXEC));

Re: BSD make question

2003-08-10 Thread Ruslan Ermilov
On Thu, Aug 07, 2003 at 02:50:51PM -0400, Andrew Gallatin wrote: > > Ruslan Ermilov writes: > > On Thu, Aug 07, 2003 at 02:42:30PM -0400, Andrew Gallatin wrote: > > > > > > Using BSD make, how can I apply different rules based on different > > > directories while using only a single makefile?

Re: panic during nfs operations in 4.8S on Dell 2650

2003-08-10 Thread Kip Macy
Can you get a backtrace? Not knowing anything at this point, bumping up the number of mbuf clusters *might* help. -Kip FYI: I'm not representing NetApp in any official capacity on this, I just happen to have a vested interest in both OnTap and FreeBSD.