Re: Booting from FAT(32)

2009-06-13 Thread Daniel O'Connor
On Sun, 14 Jun 2009, Daniel O'Connor wrote: > > I've been meaning to trial it out actually. It sure would be > > interesting to boot a kernel/mfs off of a DOS bootable FAT USB. > > I think you can do it if you makefs /boot and feed it to syslinux > using memdisk (I plan on trying this today). I us

Re: Booting from FAT(32)

2009-06-13 Thread Daniel O'Connor
On Sun, 14 Jun 2009, Adrian Chadd wrote: > I believe there's some NetBSD FAT32 aware loader. Dianora stumbled > across it when I was talking about this very thing earlier. I thought the FreeBSD loader spoke FAT32 already, although now I go and have a proper look I see otherwise :( > I've been m

Re: Maybe confused about AMD64 / i386 compatibility

2009-06-13 Thread Peter Jeremy
On 2009-Jun-13 15:55:29 -0500, Joe Greco wrote: >Adding a SIL3112A gives us the SATA. These are known to cause data corruption (check the archives). I wouldn't trust anything that has passed through a SIL chip without independent validation. -- Peter Jeremy pgpMf1MOQkbWz.pgp Description: PGP

Re: Maybe confused about AMD64 / i386 compatibility

2009-06-13 Thread Joe Greco
> On 2009-Jun-13 15:55:29 -0500, Joe Greco wrote: > >Adding a SIL3112A gives us the SATA. > > These are known to cause data corruption (check the archives). I > wouldn't trust anything that has passed through a SIL chip without > independent validation. I already said it had been validated. gu

Re: Porting problem with gnu configure (c++ -V)

2009-06-13 Thread Alex de Kruijff
On Sat, Jun 13, 2009 at 10:23:50PM +0200, Dag-Erling Sm??rgrav wrote: > Alex de Kruijff writes: > > Andrey Simonenko writes: > > > It's better to see your version for configure.ac, since without its > > > content it is hard to say something. > > Oke here it is: > > This configure.ac can not poss

Maybe confused about AMD64 / i386 compatibility

2009-06-13 Thread Joe Greco
Background (most probably not necessary): We use rsync snapshots and cheap IDE disks as part of our backup strategy. Recently, a backup server started getting near full, and with 1.5TB disks being what they are, we shot to replace a 750GB IDE with a 1.5TB SATA. The backup server was upgraded to F

Re: sysinstall, GJOURNAL and ZFS

2009-06-13 Thread Dan Naumov
Which Wiki do you want me to contribute this to? http://wiki.freebsd.org/FreeBSD/BSDInstaller2009 or http://wiki.bsdinstaller.org/wikka.php?wakka=BSDInstaller ? Whichever it is, I am not that experienced with editing Wikis, so perhaps you could create the needed sections/subsections for usability i

Re: Porting problem with gnu configure (c++ -V)

2009-06-13 Thread Dag-Erling Smørgrav
Alex de Kruijff writes: > Andrey Simonenko writes: > > It's better to see your version for configure.ac, since without its > > content it is hard to say something. > Oke here it is: This configure.ac can not possibly have produced the configure.log you posted earlier. Can you please show us the

Re: sysinstall, GJOURNAL and ZFS

2009-06-13 Thread Scott Ullrich
On Sat, Jun 13, 2009 at 3:56 PM, Dan Naumov wrote: > Which Wiki do you want me to contribute this to? > http://wiki.freebsd.org/FreeBSD/BSDInstaller2009 or > http://wiki.bsdinstaller.org/wikka.php?wakka=BSDInstaller ? Whichever > it is, I am not that experienced with editing Wikis, so perhaps you >

Re: sysinstall, GJOURNAL and ZFS

2009-06-13 Thread Scott Ullrich
On Fri, Jun 12, 2009 at 6:07 PM, Dan Naumov wrote: > As promised, I took a go at this new BSDInstaller, I wrote down some > of my thoughts. Since I don't know if this is the kind of feedback you > are looking for, here is just a part of it. As you can probably guess > from it, I deal with usability

Re: top shows that multithreaded program uses 19623.14% CPU

2009-06-13 Thread Dan Nelson
In the last episode (Jun 13), Yuri said: > I ran then program with 1500 threads and in top it looked the this: > > PID USERNAMETHR PRI NICE SIZERES STATE C TIMECPU COMMAND > 20382 yuri 1500 990 641M 462M umtxn 0 0:00 19623.14% > quicksort > > > Where can I

Re: pthread_mutexattr_getprioceiling error?

2009-06-13 Thread Daniel Eischen
On Sat, 13 Jun 2009, Михаил Кипа wrote: Next little program: #include #include int main() { pthread_mutexattr_t t; if (pthread_mutexattr_init(&t)) return 1; int i; std::cout << pthread_mutexattr_getprioceiling(&t, &i) << std::endl; } always print 22. It means that

Re: Booting from FAT(32)

2009-06-13 Thread Adrian Chadd
I believe there's some NetBSD FAT32 aware loader. Dianora stumbled across it when I was talking about this very thing earlier. I've been meaning to trial it out actually. It sure would be interesting to boot a kernel/mfs off of a DOS bootable FAT USB. Adrian 2009/6/13 Daniel O'Connor : > Does

Re: pthread_mutexattr_getprioceiling error?

2009-06-13 Thread Jilles Tjoelker
On Sat, Jun 13, 2009 at 05:59:12PM +0400, Михаил Кипа wrote: > Next little program: > #include > #include > int main() > { > pthread_mutexattr_t t; > if (pthread_mutexattr_init(&t)) return 1; > int i; > std::cout << pthread_mutexattr_getprioceiling(&t, &i) << std

Booting from FAT(32)

2009-06-13 Thread Daniel O'Connor
Does anyone have a recipe for such a thing? I currently have a split FAT32/UFS install USB stick but I'd like to get it to just FAT32 if possible.. I think I can do it once I can run the loader - I can then load an MFS and use UZIP for the FSs and so on.. I have been playing with Syslinux but i

pthread_mutexattr_getprioceiling error?

2009-06-13 Thread Михаил Кипа
Next little program: #include #include int main() { pthread_mutexattr_t t; if (pthread_mutexattr_init(&t)) return 1; int i; std::cout << pthread_mutexattr_getprioceiling(&t, &i) << std::endl; } always print 22. It means that pthread_mutexattr_getprioceiling alwa

Re: Porting problem with gnu configure (c++ -V)

2009-06-13 Thread Alex de Kruijff
On Sat, Jun 13, 2009 at 03:01:17PM +0300, Andrey Simonenko wrote: > Hello, > > On Sat, Jun 13, 2009 at 01:06:18PM +0200, Alex de Kruijff wrote: > > I'm converting my port samesame to use gnu configue, but came a cross a > > problem that is beond me. I'm able to run aclocal, autoconf, autoheader >

Porting problem with gnu configure (c++ -V)

2009-06-13 Thread Alex de Kruijff
I'm converting my port samesame to use gnu configue, but came a cross a problem that is beond me. I'm able to run aclocal, autoconf, autoheader and automake --add-missing -c. I've read the docs for autoconf and automake and search the web, but dont know how to solve elegantly. I would proberbly be

Re: GNAT on FreeBSD amd64

2009-06-13 Thread xorquewasp
On 2009-06-13 01:42:05, Михаил Кипа wrote: > I need gnat on FreeBSD 7.2 amd64, but in ports it is only for i386 :(. I have > tired to compile cross compiler under linux, and now I can compile my ada > programs under linux for FreeBSD, but I can`t compile native amd64 FreeBSD > gcc. > Can anybody h

top shows that multithreaded program uses 19623.14% CPU

2009-06-13 Thread Yuri
I ran then program with 1500 threads and in top it looked the this: PID USERNAMETHR PRI NICE SIZERES STATE C TIMECPU COMMAND 20382 yuri 1500 990 641M 462M umtxn 0 0:00 19623.14% quicksort Where can I read how CPU column is calculated? Some time ago I saw