Re: buildkernel error

2011-02-23 Thread Kostik Belousov
On Wed, Feb 23, 2011 at 02:24:05PM +0900, mmats...@cybernet.co.jp wrote: > From: Garrett Cooper > Date: Tue, 22 Feb 2011 21:04:24 -0800 > ::On Tue, Feb 22, 2011 at 7:54 PM, wrote: > ::> From: Dimitry Andric > ::> Date: Tue, 22 Feb 2011 13:39:31 +0100 > ::> ::On 2011-02-22 08:30, gnehzuil wrote:

Re: buildkernel error

2011-02-23 Thread perryh
Dimitry Andric wrote: > On 2011-02-22 08:30, gnehzuil wrote: > > I updated my kernel source code and try to make a new kernel > > using make buildkernel command. But I got an error as follow: > ... > > ld:/usr/src/sys/conf/ldscript.i386:66: syntax error > > Your /usr/bin/ld is still at version 2.

Re: buildkernel error

2011-02-23 Thread mmatsuda
From: Kostik Belousov Date: Wed, 23 Feb 2011 10:25:32 +0200 ::On Wed, Feb 23, 2011 at 02:24:05PM +0900, mmats...@cybernet.co.jp wrote: ::> From: Garrett Cooper ::> Date: Tue, 22 Feb 2011 21:04:24 -0800 ::> ::On Tue, Feb 22, 2011 at 7:54 PM, wrote: ::> ::> From: Dimitry Andric ::> ::> Date: Tue

[patch] off by one issue in sys/kern/kern_thr.c

2011-02-23 Thread Alexander Best
hi there, i think the following should be changed. with kern.threads.max_threads_per_proc=N, a process should be able to maintain N threads and not N-1. to verify simply use tools/test/pthread_vfork. cheers. alex -- a13x diff --git a/sys/kern/kern_thr.c b/sys/kern/kern_thr.c index 75656f0..63b

Re: buildkernel error

2011-02-23 Thread Dimitry Andric
On 2011-02-23 10:00, per...@pluto.rain.com wrote: Will either "make buildworld" or "make kernel-toolchain" accomplish anything if, as the OP said, s/he only updated the _kernel_ sources? No. You must update all sources atomically, or there is no guarantee it will build. ___

Re: spontaneous reboot - ptrace

2011-02-23 Thread Dr. Baud
As it happens the NMI was caused by attempting to access memory mapped PCI address space. The HBA associated with the mapped PCI address space generated a PERR. Thanks for the help. - Original Message From: Kostik Belousov To: Dr. Baud Cc: freebsd-hackers@freebsd.org Sent: Fri,

Super pages

2011-02-23 Thread Dr. Baud
In general, is it unadvisable to disable super pages? Dr. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: ichsmb - correct locking strategy?

2011-02-23 Thread Svatopluk Kraus
On Tue, Feb 22, 2011 at 3:37 PM, John Baldwin wrote: > On Friday, February 18, 2011 9:10:47 am Svatopluk Kraus wrote: >> Hi, >> >>   I try to figure out locking strategy in FreeBSD and found 'ichsmb' >> device. There is a mutex which protects smb bus (ichsmb device). For >> example in ichsmb_readw

Re: Super pages

2011-02-23 Thread Ivan Voras
On 23/02/2011 14:03, Dr. Baud wrote: In general, is it unadvisable to disable super pages? I don't think there would be any effect on the stability of operation if you disable superpages, but generally (except in cases of CPU bugs) you would not need to. Your system should operate a bit

Re: Super pages

2011-02-23 Thread Dr. Baud
> On 23/02/2011 14:03, Dr. Baud wrote: > > > > In general, is it unadvisable to disable super pages? > > I don't think there would be any effect on the stability of operation if > you disable superpages, but generally (except in cases of CPU bugs) you > would not need to. Your system should

Re: Super pages

2011-02-23 Thread John Baldwin
On Wednesday, February 23, 2011 11:54:59 am Dr. Baud wrote: > > On 23/02/2011 14:03, Dr. Baud wrote: > > > > > > In general, is it unadvisable to disable super pages? > > > > I don't think there would be any effect on the stability of operation if > > you disable superpages, but generally (e

Re: seeking into /dev/{null,zero}

2011-02-23 Thread Garrett Cooper
On Feb 22, 2011, at 9:51 AM, John Baldwin wrote: > On Tuesday, February 22, 2011 11:46:05 am Garrett Cooper wrote: >> (Please bottom post) >> >> On Tue, Feb 22, 2011 at 8:31 AM, Andrew Duane wrote: >>> I thought seeking past EOF was valid; writing something creates a file > with a hole in it. I

Re: seeking into /dev/{null,zero}

2011-02-23 Thread Alexander Best
On Wed Feb 23 11, Garrett Cooper wrote: > On Feb 22, 2011, at 9:51 AM, John Baldwin wrote: > > > On Tuesday, February 22, 2011 11:46:05 am Garrett Cooper wrote: > >> (Please bottom post) > >> > >> On Tue, Feb 22, 2011 at 8:31 AM, Andrew Duane wrote: > >>> I thought seeking past EOF was valid; wr

Re: seeking into /dev/{null,zero}

2011-02-23 Thread Alexander Best
On Wed Feb 23 11, Garrett Cooper wrote: > On Feb 22, 2011, at 9:51 AM, John Baldwin wrote: > > > On Tuesday, February 22, 2011 11:46:05 am Garrett Cooper wrote: > >> (Please bottom post) > >> > >> On Tue, Feb 22, 2011 at 8:31 AM, Andrew Duane wrote: > >>> I thought seeking past EOF was valid; wr

Re: seeking into /dev/{null,zero}

2011-02-23 Thread Garrett Cooper
On Wed, Feb 23, 2011 at 3:36 PM, Alexander Best wrote: > On Wed Feb 23 11, Garrett Cooper wrote: >> On Feb 22, 2011, at 9:51 AM, John Baldwin wrote: >> >> > On Tuesday, February 22, 2011 11:46:05 am Garrett Cooper wrote: >> >> (Please bottom post) >> >> >> >> On Tue, Feb 22, 2011 at 8:31 AM, Andre

Re: seeking into /dev/{null,zero}

2011-02-23 Thread Garrett Cooper
On Wed, Feb 23, 2011 at 3:53 PM, Alexander Best wrote: > On Wed Feb 23 11, Garrett Cooper wrote: >> On Feb 22, 2011, at 9:51 AM, John Baldwin wrote: >> >> > On Tuesday, February 22, 2011 11:46:05 am Garrett Cooper wrote: >> >> (Please bottom post) >> >> >> >> On Tue, Feb 22, 2011 at 8:31 AM, Andre

Re: seeking into /dev/{null,zero}

2011-02-23 Thread Alexander Best
On Wed Feb 23 11, Garrett Cooper wrote: > On Wed, Feb 23, 2011 at 3:36 PM, Alexander Best wrote: > > On Wed Feb 23 11, Garrett Cooper wrote: > >> On Feb 22, 2011, at 9:51 AM, John Baldwin wrote: > >> > >> > On Tuesday, February 22, 2011 11:46:05 am Garrett Cooper wrote: > >> >> (Please bottom post

Re: seeking into /dev/{null,zero}

2011-02-23 Thread Alexander Best
On Wed Feb 23 11, Garrett Cooper wrote: > On Wed, Feb 23, 2011 at 3:36 PM, Alexander Best wrote: > > On Wed Feb 23 11, Garrett Cooper wrote: > >> On Feb 22, 2011, at 9:51 AM, John Baldwin wrote: > >> > >> > On Tuesday, February 22, 2011 11:46:05 am Garrett Cooper wrote: > >> >> (Please bottom post

Re: buildkernel error

2011-02-23 Thread gnehzuil
Hi all, I have rebuilt my world and it works well. Thanks Best regards, lz On 02/22/2011 08:39 PM, Dimitry Andric wrote: On 2011-02-22 08:30, gnehzuil wrote: I updated my kernel source code and try to make a new kernel using make buildkernel command. But I got an error as follow: ... ld:/u

Re: Scheduler question

2011-02-23 Thread Daniel O'Connor
On 04/02/2011, at 13:26, Daniel O'Connor wrote: > I am writing a program which reads from a data acquisition chassis connected > to a radar via USB. The interface is a Cypress FX2 and I am communicating via > libusb. I ended up writing a kernel driver (thank you hps for usb_fifo_*!) and it has