Re: [review request] zfsboot/zfsloader: support accessing filesystems within a pool

2012-05-08 Thread Andriy Gapon
on 08/05/2012 17:15 John Baldwin said the following: > Bruce might even suggest adding a ba_ prefix to all the members of > struct bootargs btw. I would not be opposed, but you've already done > a fair bit of work on this patch. Thank you for sparing me :-) So I hope to get busy committing this s

GSoC Project: EFI on amd64/i386

2012-05-08 Thread Eric McCorkle
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello everyone, I'm going to be working on EFI boot support on the amd64/i386 platforms as a GSoC project. The idea is to allow booting from EFI (as opposed to legacy BIOS) on these platforms, so that FreeBSD can continue to support a wide range of h

Calling tsleep(9) with interrupts disabled

2012-05-08 Thread Ian Lepore
I just realized that I've accidentally coded a sequence similar to this in a driver: s = intr_disable(); // do stuff here tsleep(sc, 0, "twird", hz / 4); // more stuff intr_restore(s); Much to my surpise this works, including waking up due to wakeup(sc) being called from an interru

Re: How does loader(8) decide where to load the kernel?

2012-05-08 Thread Tim Kientzle
On May 8, 2012, at 2:39 AM, Andrew Turner wrote: > On Mon, 7 May 2012 22:32:10 -0700 > Tim Kientzle wrote: > >> >> On May 7, 2012, at 6:57 AM, John Baldwin wrote: >>> >>> The bit twiddling is supposed to be the equivalent of subtracting >>> KERNBASE from the load address. On both i386 and am

Re: [review request] zfsboot/zfsloader: support accessing filesystems within a pool

2012-05-08 Thread John Baldwin
On 5/8/12 3:14 AM, Andriy Gapon wrote: > on 07/05/2012 20:43 John Baldwin said the following: >> On Monday, May 07, 2012 10:47:05 am Andriy Gapon wrote: >>> on 07/05/2012 16:53 John Baldwin said the following: > [snip] >>> What do you think about the -LOCORE- change that Bruce inspired? >> >> In ge

Re: How does loader(8) decide where to load the kernel?

2012-05-08 Thread Andrew Turner
On Mon, 7 May 2012 22:32:10 -0700 Tim Kientzle wrote: > > On May 7, 2012, at 6:57 AM, John Baldwin wrote: > > > On Saturday, May 05, 2012 1:06:13 am Tim Kientzle wrote: > >> I have ubldr loading the ELF kernel on BeagleBone and am now > >> trying to untangle some of the hacks I used to get this

Re: [review request] zfsboot/zfsloader: support accessing filesystems within a pool

2012-05-08 Thread Andriy Gapon
on 07/05/2012 20:43 John Baldwin said the following: > On Monday, May 07, 2012 10:47:05 am Andriy Gapon wrote: >> on 07/05/2012 16:53 John Baldwin said the following: [snip] >> What do you think about the -LOCORE- change that Bruce inspired? > > In general I think this looks good. I have only one