Allocating physical memory without a kernel mapping

2010-03-01 Thread Alexander Eichner
Hi, I'm currently trying to finish the R0 memory implementation[1] of FreeBSD for VirtualBox. One of the missing methods allocates physical non contiguous pages which don't need to have a kernel mapping (rtR0MemObjNativeAllocPhysNC). I'm using vm_phys_alloc_contig to achieve this. The pages are

Re: package building failure irritation

2010-03-01 Thread Dag-Erling Smørgrav
% fgrep 'Directory not empty' inkscape.txt rmdir: /work/ports/devel/boost-libs/work: Directory not empty rmdir: /work/ports/x11-toolkits/gtkmm24/work: Directory not empty rmdir: /work/ports/devel/boehm-gc/work: Directory not empty rmdir: /work/ports/math/gsl/work: Directory not empty rmdir: /work/

Re: `make cleanworld` and /usr/obj/lib32/usr/src

2010-03-01 Thread Alexander Best
jhell schrieb am 2010-03-01: > On Sun, 28 Feb 2010 11:54, alexbestms@ wrote: > >Gary Jennejohn schrieb am 2010-02-28: > >>On Sat, 27 Feb 2010 14:49:58 +0100 (CET) > >>Alexander Best wrote: > >>>how about something like this? > >>Based on a quick look it seems OK to me. > >>Have you tested it?

Re: package building failure irritation

2010-03-01 Thread xorquewasp
On 2010-03-01 14:34:50, Dag-Erling Smørgrav wrote: > % fgrep 'Directory not empty' inkscape.txt > rmdir: /work/ports/devel/boost-libs/work: Directory not empty > rmdir: /work/ports/x11-toolkits/gtkmm24/work: Directory not empty > rmdir: /work/ports/devel/boehm-gc/work: Directory not empty > rmdir:

Re: package building failure irritation

2010-03-01 Thread Dag-Erling Smørgrav
xorquew...@googlemail.com writes: > There's certainly no parallel building going on, but /work is nullfs > mounted (from ZFS). Could this cause the above? Not sure. Why are you using nullfs? Can you show us the contents of those directories? DES -- Dag-Erling Smørgrav - d...@des.no ___

Re: Allocating physical memory without a kernel mapping

2010-03-01 Thread Giovanni Trematerra
On Mon, Mar 1, 2010 at 10:59 AM, Alexander Eichner wrote: > Hi, > > I'm currently trying to finish the R0 memory implementation[1] of FreeBSD for > VirtualBox. One of the missing methods allocates physical non contiguous > pages which don't need to have a kernel mapping > (rtR0MemObjNativeAlloc

Re: package building failure irritation

2010-03-01 Thread David Wolfskill
On Mon, Mar 01, 2010 at 01:58:29PM +, xorquew...@googlemail.com wrote: > On 2010-03-01 14:34:50, Dag-Erling Smørgrav wrote: > > % fgrep 'Directory not empty' inkscape.txt > > rmdir: /work/ports/devel/boost-libs/work: Directory not empty > > ... > > rmdir: /work/ports/x11-toolkits/pangomm/work:

Re: [patch] extending {amd64|i386} cpu info

2010-03-01 Thread Alexander Best
Garrett Cooper schrieb am 2010-03-01: > On Sun, Feb 28, 2010 at 5:43 PM, jhell wrote: > > On Fri, 26 Feb 2010 22:19, alexbestms@ wrote: > >> hi there, > >> i always forget how to decipher model and family from the cpu id. > >> of > >> course > >> there're 3rd party tools to do that for you, but

Re: package building failure irritation

2010-03-01 Thread xorquewasp
On 2010-03-01 15:10:16, Dag-Erling Smørgrav wrote: > xorquew...@googlemail.com writes: > > There's certainly no parallel building going on, but /work is nullfs > > mounted (from ZFS). Could this cause the above? > > Not sure. Why are you using nullfs? Basically because "I don't know any better".

Re: namei() returns EISDIR for "/" (Re: svn commit: r203990 - head/lib/libc/sys)

2010-03-01 Thread Gary Jennejohn
On Sun, 28 Feb 2010 18:26:05 -0800 Garrett Cooper wrote: > On Sun, Feb 28, 2010 at 5:11 PM, Alexander Best wrote: > > i have a small test app to check {rm|mk}dir()'s errnos with certain args > > like > > /, ., /proc and non-empty dirs. i'll submit it to this thread as soon as i > > also add tes

Re: [patch] extending {amd64|i386} cpu info

2010-03-01 Thread John Baldwin
On Friday 26 February 2010 10:19:46 pm Alexander Best wrote: > hi there, > > i always forget how to decipher model and family from the cpu id. of course > there're 3rd party tools to do that for you, but instead i decided to hack the > kernel. ;) > > maybe somebody finds these changes useful. T

Re: 32 bit Linux lseek missing overflow check (was: Re: Linuxolator patches: stat and lseek SEEK_END for disk devices)

2010-03-01 Thread John Baldwin
On Friday 26 February 2010 4:09:52 pm Juergen Lock wrote: > On Fri, Feb 26, 2010 at 11:21:05AM -0500, John Baldwin wrote: > > On Thursday 25 February 2010 3:28:50 pm Juergen Lock wrote: > > > On Tue, Feb 23, 2010 at 10:50:10PM +0100, Juergen Lock wrote: > > > > Hi! > > > > > > > > Before this get

Re: package building failure irritation

2010-03-01 Thread Dag-Erling Smørgrav
xorquew...@googlemail.com writes: > Dag-Erling Smørgrav writes: > > xorquew...@googlemail.com writes: > > > There's certainly no parallel building going on, but /work is nullfs > > > mounted (from ZFS). Could this cause the above? > > Not sure. Why are you using nullfs? > Basically because "I don

Re: `make cleanworld` and /usr/obj/lib32/usr/src

2010-03-01 Thread Alexander Best
jhell schrieb am 2010-03-01: > On Sun, 28 Feb 2010 11:54, alexbestms@ wrote: > >Gary Jennejohn schrieb am 2010-02-28: > >>On Sat, 27 Feb 2010 14:49:58 +0100 (CET) > >>Alexander Best wrote: > >>>how about something like this? > >>Based on a quick look it seems OK to me. > >>Have you tested it?

Re: package building failure irritation

2010-03-01 Thread xorquewasp
'Lo, Here's the current state of '/work': http://coreland.ath.cx/tmp/work.txt On 2010-03-01 20:08:45, Dag-Erling Smørgrav wrote: > That's begging the question... Clearly you're using nullfs because you > need something done that you think nullfs can do for you. I'd like to > know what that i

snd_amd5536 for freebsd8.0

2010-03-01 Thread Mike Steinmann
Hi, I have an ALIX3d3 board and I'm looking for the audio driver for freebsd 8.0. How do I get it running? Is there a new version of snd_amd5536.ko yet? where can I get it? All I need (at the moment) is playback. thanks for letting me know. -Mike ___ fr

Re: `make cleanworld` and /usr/obj/lib32/usr/src

2010-03-01 Thread Alexander Best
jhell schrieb am 2010-03-01: > On Sun, 28 Feb 2010 11:54, alexbestms@ wrote: > >Gary Jennejohn schrieb am 2010-02-28: > >>On Sat, 27 Feb 2010 14:49:58 +0100 (CET) > >>Alexander Best wrote: > >>>how about something like this? > >>Based on a quick look it seems OK to me. > >>Have you tested it?

Re: `make cleanworld` and /usr/obj/lib32/usr/src

2010-03-01 Thread Alexander Best
jhell schrieb am 2010-03-01: > On Sun, 28 Feb 2010 11:54, alexbestms@ wrote: > >Gary Jennejohn schrieb am 2010-02-28: > >>On Sat, 27 Feb 2010 14:49:58 +0100 (CET) > >>Alexander Best wrote: > >>>how about something like this? > >>Based on a quick look it seems OK to me. > >>Have you tested it?

Re: `make cleanworld` and /usr/obj/lib32/usr/src

2010-03-01 Thread jhell
On Mon, 1 Mar 2010 14:52, alexbestms@ wrote: oh. and btw: wouldn't it be reasonable to prevent a user shooting himself in the foot if he has the brilliant idea of setting "MAKEOBJDIRPREFIX = /" ? alex Trying to match something like this is going to get out of control. Though this is a nice

kernel malloc() and free()

2010-03-01 Thread Shrivatsan
Hi, I am looking at the code that allocates and frees kernel memory. I understand that allocating kernel memory is quite different from the user level mallocs. In case of user level mallocs, we allocate requested size + 4 bytes and store the requested size in the additional 4 bytes. However,

unable to offline a failing drive in a zfs RAIDZ

2010-03-01 Thread Aryeh Friedman
I have a raidz setup as per the handbook but when I attempt to "offline" a failing drive it will not let me: kate# zpool status -c invalid option 'c' usage: status [-vx] [pool] ... kate# zpool status -v pool: storage state: ONLINE scrub: resilver completed with 0 errors on Mon Mar 1 1

Re: [patch] extending {amd64|i386} cpu info

2010-03-01 Thread Alexander Best
jhell schrieb am 2010-03-01: > On Fri, 26 Feb 2010 22:19, alexbestms@ wrote: > >hi there, > >i always forget how to decipher model and family from the cpu id. > >of course > >there're 3rd party tools to do that for you, but instead i decided > >to hack the > >kernel. ;) > >maybe somebody finds t

Re: `make cleanworld` and /usr/obj/lib32/usr/src

2010-03-01 Thread Alexander Best
jhell schrieb am 2010-03-01: > On Sun, 28 Feb 2010 11:54, alexbestms@ wrote: > >Gary Jennejohn schrieb am 2010-02-28: > >>On Sat, 27 Feb 2010 14:49:58 +0100 (CET) > >>Alexander Best wrote: > >>>how about something like this? > >>Based on a quick look it seems OK to me. > >>Have you tested it?

Re: `make cleanworld` and /usr/obj/lib32/usr/src

2010-03-01 Thread Alexander Best
jhell schrieb am 2010-03-02: > On Mon, 1 Mar 2010 14:52, alexbestms@ wrote: > >oh. and btw: wouldn't it be reasonable to prevent a user shooting > >himself in > >the foot if he has the brilliant idea of setting "MAKEOBJDIRPREFIX > >= /" ? > >alex > Trying to match something like this is going

Re: `make cleanworld` and /usr/obj/lib32/usr/src

2010-03-01 Thread jhell
On Mon, 1 Mar 2010 19:45, alexbestms@ wrote: jhell schrieb am 2010-03-02: On Mon, 1 Mar 2010 14:52, alexbestms@ wrote: oh. and btw: wouldn't it be reasonable to prevent a user shooting himself in the foot if he has the brilliant idea of setting "MAKEOBJDIRPREFIX = /" ? alex Trying to

Re: `make cleanworld` and /usr/obj/lib32/usr/src

2010-03-01 Thread Alexander Best
jhell schrieb am 2010-03-02: > On Mon, 1 Mar 2010 19:45, alexbestms@ wrote: > >jhell schrieb am 2010-03-02: > >>On Mon, 1 Mar 2010 14:52, alexbestms@ wrote: > >>>oh. and btw: wouldn't it be reasonable to prevent a user shooting > >>>himself in > >>>the foot if he has the brilliant idea of settin

Re: `make cleanworld` and /usr/obj/lib32/usr/src

2010-03-01 Thread Garrett Cooper
On Mon, Mar 1, 2010 at 5:19 PM, Alexander Best wrote: > jhell schrieb am 2010-03-02: > >> On Mon, 1 Mar 2010 19:45, alexbestms@ wrote: >> >jhell schrieb am 2010-03-02: > >> >>On Mon, 1 Mar 2010 14:52, alexbestms@ wrote: > >> >>>oh. and btw: wouldn't it be reasonable to prevent a user shooting >> >

mac_mls mac_biba mac_lomac patches to fix ptys_equal mib support for new /dev/pts in FreeBSD 8

2010-03-01 Thread Estella Mystagic
Hi, Found issues with sysctl mibs security.mac.biba.ptys_equal, security.mac.lomac.ptys_equal, security.mac.mls.ptys_equal, not supporting new /dev/pts terminal system in FreeBSD 8, proposed fix for issue. When using a higher security grade/clearance with mac_mls it prevents writing to the

Re: kernel malloc() and free()

2010-03-01 Thread Dan Nelson
In the last episode (Mar 01), Shrivatsan said: > I am looking at the code that allocates and frees kernel memory. I > understand that allocating kernel memory is quite different from the user > level mallocs. In case of user level mallocs, we allocate requested size > + 4 bytes and store the reque

Re: unable to offline a failing drive in a zfs RAIDZ

2010-03-01 Thread Dan Nelson
In the last episode (Mar 01), Aryeh Friedman said: > I have a raidz setup as per the handbook but when I attempt to "offline" a > failing drive it will not let me: > > kate# zpool status -c > invalid option 'c' > usage: > status [-vx] [pool] ... > kate# zpool status -v > pool: storage >

Re: unable to offline a failing drive in a zfs RAIDZ

2010-03-01 Thread Aryeh M. Friedman
Dan Nelson wrote: In the last episode (Mar 01), Aryeh Friedman said: I have a raidz setup as per the handbook but when I attempt to "offline" a failing drive it will not let me: kate# zpool status -c invalid option 'c' usage: status [-vx] [pool] ... kate# zpool status -v pool: stor

Re: namei() returns EISDIR for "/" (Re: svn commit: r203990 - head/lib/libc/sys)

2010-03-01 Thread Nate Eldredge
On Sun, 28 Feb 2010, Garrett Cooper wrote: On Sun, Feb 28, 2010 at 5:11 PM, Alexander Best wrote: i have a small test app to check {rm|mk}dir()'s errnos with certain args like /, ., /proc and non-empty dirs. i'll submit it to this thread as soon as i also add testcases for syscalls like rename

Re: GEOM_ULZMA

2010-03-01 Thread Pawel Jakub Dawidek
On Fri, Feb 19, 2010 at 04:36:44PM +0200, Alexandr Rybalko wrote: > Hi, > I wrote a module GEOM_ULZMA (such as GEOM_UZIP, but compression with lzma), > [...] Wouldn't it be better to modify geom_uzip to be universal decompression class with various algorithms implemented as plugins? This is basci