Re: mount root from zfs fails under current with error 6

2011-05-31 Thread Michael Reifenberger
On Mon, 30 May 2011, Garrett Cooper wrote: ... dmesg for starters (boot -v if possible) would be extremely helpful. More details like your disk subsystem that you're booting off of, whether you're using GPT/MBR when booting via ZFS, etc would be helpful. Also being able to better trace down

Re: [rfc] remove hlt_cpus et al sysctls and related code

2011-05-31 Thread Andriy Gapon
on 29/05/2011 06:06 Attilio Rao said the following: 2011/5/28 Attilio Rao atti...@freebsd.org: 2011/5/25 Andriy Gapon a...@freebsd.org: The patch is here: http://people.freebsd.org/~avg/cpu-offline-sysctl.diff It should implement the strategy described above. I don't see the point in

Re: Testing new nfs and VIMAGE

2011-05-31 Thread Goran Lowkrantz
For the list: Attached patch works. /glz --On May 28, 2011 19:28:43 -0400 Rick Macklem rmack...@uoguelph.ca wrote: It worked when I added CURVNET_SET/CURVNET_RESTORE around the RTFREE_LOCKED macro too. Attached a complete patch. Thank you. and thanks for finding/reporting/testing it. I've

Re: [rfc] remove hlt_cpus et al sysctls and related code

2011-05-31 Thread Attilio Rao
2011/5/31 Andriy Gapon a...@freebsd.org: on 29/05/2011 06:06 Attilio Rao said the following: 2011/5/28 Attilio Rao atti...@freebsd.org: 2011/5/25 Andriy Gapon a...@freebsd.org: The patch is here: http://people.freebsd.org/~avg/cpu-offline-sysctl.diff It should implement the strategy

Re: [rfc] remove hlt_cpus et al sysctls and related code

2011-05-31 Thread Andriy Gapon
on 31/05/2011 16:34 Attilio Rao said the following: 2011/5/31 Andriy Gapon a...@freebsd.org: on 29/05/2011 06:06 Attilio Rao said the following: 2011/5/28 Attilio Rao atti...@freebsd.org: 2011/5/25 Andriy Gapon a...@freebsd.org: The patch is here:

Re: ZFS install from -CURRENT snapshot

2011-05-31 Thread Alexander Leidinger
Quoting Daniel Staal dst...@usa.net (from Mon, 30 May 2011 11:01:06 -0400): --As of May 29, 2011 9:10:57 AM -0400, George Kontostanos, freebsd-current@freebsd.org is alleged to have said: --As of May 29, 2011 12:06:30 PM +0300, George Kontostanos is alleged to have said: The new

Re: pcib allocation failure

2011-05-31 Thread John Baldwin
On Saturday, May 28, 2011 9:45:48 pm deeptec...@gmail.com wrote: On Thu, May 26, 2011 at 3:40 PM, John Baldwin j...@freebsd.org wrote: Ohh, you have two devices behind this bridge that have prefetch ranges. As a hack, can you try this: Index: pci_pci.c

Re: message buffer scrambling fix

2011-05-31 Thread Kenneth D. Merry
On Sat, May 28, 2011 at 11:26:50 -0700, Julian Elischer wrote: On 5/27/11 3:45 PM, Kenneth D. Merry wrote: Hey folks, I have attached some patches to the kernel message buffer code (this affects dmesg(8) output as well as kernel messages that go to the syslog) to address log scrambling.

Re: mount root from zfs fails under current with error 6

2011-05-31 Thread Michael Reifenberger
Hi, On Tue, 31 May 2011, Michael Reifenberger wrote: ... (fs)(root) gpart show ada0 =34 5860533101 ada0 GPT (2.7T) 34 990 1 freebsd-boot (495k) 1024 2098176 2 freebsd-swap (1.0G) 2099200 5858433928 3 freebsd-zfs (2.7T) 5860533128

Re: mount root from zfs fails under current with error 6

2011-05-31 Thread Andriy Gapon
on 31/05/2011 20:38 Michael Reifenberger said the following: Hi, On Tue, 31 May 2011, Michael Reifenberger wrote: ... (fs)(root) gpart show ada0 =34 5860533101 ada0 GPT (2.7T) 34 990 1 freebsd-boot (495k) 1024 2098176 2 freebsd-swap

lazy mmap for a device driver ?

2011-05-31 Thread Luigi Rizzo
hi, i have a kernel module implementing a memory mapped special device which exports a large block of memory to the process. I see that when the process calls mmap(), my routine foo_mmap() is called immediately once per page, even though the process is not actually touching the pages. I believe

Re: lazy mmap for a device driver ?

2011-05-31 Thread Kostik Belousov
On Tue, May 31, 2011 at 10:21:42PM +0200, Luigi Rizzo wrote: hi, i have a kernel module implementing a memory mapped special device which exports a large block of memory to the process. I see that when the process calls mmap(), my routine foo_mmap() is called immediately once per page, even

Re: Boot halts on Thinkpad X220 (Sandy Bridge)

2011-05-31 Thread Jung-uk Kim
On Friday 27 May 2011 01:14 pm, Xin LI wrote: On Thu, May 19, 2011 at 5:18 AM, Johannes Dieterich dieterich@googlemail.com wrote: On Wed, May 18, 2011 at 7:40 PM, Xin LI delp...@delphij.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Try this patch? The attached

Re: Boot halts on Thinkpad X220 (Sandy Bridge)

2011-05-31 Thread Jung-uk Kim
On Tuesday 31 May 2011 04:50 pm, Jung-uk Kim wrote: I got BIOS dump from gnn last week. I've been scratching my head cause it should just fail and exit gracefully unless I am totally missing something. :-( Are you guys sure that INT 15h is causing hangs? Maybe INT 16h is the real culprit

Re: Boot halts on Thinkpad X220 (Sandy Bridge)

2011-05-31 Thread Jung-uk Kim
On Tuesday 31 May 2011 04:50 pm, Jung-uk Kim wrote: On Friday 27 May 2011 01:14 pm, Xin LI wrote: On Thu, May 19, 2011 at 5:18 AM, Johannes Dieterich dieterich@googlemail.com wrote: On Wed, May 18, 2011 at 7:40 PM, Xin LI delp...@delphij.net wrote: -BEGIN PGP SIGNED