Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-21 Thread Kostik Belousov
On Mon, Nov 21, 2011 at 01:45:29PM +1100, Bruce Evans wrote: On Sun, 20 Nov 2011, Kostik Belousov wrote: On Sun, Nov 20, 2011 at 12:40:42PM +0100, Robert Millan wrote: On Sat, Nov 19, 2011 at 07:56:20PM +0200, Kostik Belousov wrote: I fully agree with an idea that compiler is not an

Re: Reprobing of devices after module load?

2011-11-21 Thread John Baldwin
On Friday, November 18, 2011 11:48:20 am Paul B. Mahol wrote: Hi, Is there nice way in FreeBSD to force reprobe of devices for specific driver like it is done when kernel module is loaded (via DRIVER_MODULE(...) stuff)? Note that those probes happen for specific buses rather than for

Re: ixgbe and fast interrupts

2011-11-21 Thread John Baldwin
On Friday, November 18, 2011 5:04:58 pm Luigi Rizzo wrote: On Fri, Nov 18, 2011 at 11:16:00AM -0800, Doug Barton wrote: On 11/18/2011 09:54, Luigi Rizzo wrote: One more thing (i am mentioning it here for archival purposes, as i keep forgetting to test it). Is entropy harvesting expensive

Re: Stop scheduler on panic

2011-11-21 Thread John Baldwin
On Friday, November 18, 2011 4:59:32 pm Andriy Gapon wrote: on 17/11/2011 23:38 John Baldwin said the following: On Thursday, November 17, 2011 4:35:07 pm John Baldwin wrote: Hmmm, you could also make critical_exit() not perform deferred preemptions if SCHEDULER_STOPPED? That would fix the

Re: Stop scheduler on panic

2011-11-21 Thread Attilio Rao
2011/11/21 John Baldwin j...@freebsd.org: On Friday, November 18, 2011 4:59:32 pm Andriy Gapon wrote: on 17/11/2011 23:38 John Baldwin said the following: On Thursday, November 17, 2011 4:35:07 pm John Baldwin wrote: Hmmm, you could also make critical_exit() not perform deferred preemptions

Re: Reprobing of devices after module load?

2011-11-21 Thread Warner Losh
On Nov 21, 2011, at 9:26 AM, John Baldwin wrote: On Friday, November 18, 2011 11:48:20 am Paul B. Mahol wrote: Hi, Is there nice way in FreeBSD to force reprobe of devices for specific driver like it is done when kernel module is loaded (via DRIVER_MODULE(...) stuff)? Note that those

Re: ixgbe and fast interrupts

2011-11-21 Thread Luigi Rizzo
On Mon, Nov 21, 2011 at 11:29:29AM -0500, John Baldwin wrote: On Friday, November 18, 2011 5:04:58 pm Luigi Rizzo wrote: On Fri, Nov 18, 2011 at 11:16:00AM -0800, Doug Barton wrote: On 11/18/2011 09:54, Luigi Rizzo wrote: One more thing (i am mentioning it here for archival purposes,

Re: 9.0-RC2 - bsdinstall miscount of remaining diskspace after partition deletion.

2011-11-21 Thread John Baldwin
On Saturday, November 19, 2011 7:07:58 pm Nathan Whitehorn wrote: On 11/18/11 17:09, nev...@tx.net wrote: If you are performating a manual partion in 9.0-RC2 bsdinstall and you delete any created partition except the most recently created one, the total remaining space will be

Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-21 Thread Robert Millan
(replying with Debian hat this time) 2011/11/21 Kostik Belousov kostik...@gmail.com: There are some implementations that use FreeBSD kernel, and which could potentially benefit from providing its own value for __FreeBSD_kernel. Actually, we wouldn't be able to provide a different value for

Re: 9.0-RC2 - bsdinstall miscount of remaining diskspace after partition deletion.

2011-11-21 Thread Nathan Whitehorn
On 11/21/11 11:52, John Baldwin wrote: On Saturday, November 19, 2011 7:07:58 pm Nathan Whitehorn wrote: On 11/18/11 17:09, nev...@tx.net wrote: If you are performating a manual partion in 9.0-RC2 bsdinstall and you delete any created partition except the most recently created one, the total

Re: Reprobing of devices after module load?

2011-11-21 Thread Paul B. Mahol
On 11/21/11, John Baldwin j...@freebsd.org wrote: On Friday, November 18, 2011 11:48:20 am Paul B. Mahol wrote: Hi, Is there nice way in FreeBSD to force reprobe of devices for specific driver like it is done when kernel module is loaded (via DRIVER_MODULE(...) stuff)? Note that those

loader crash / BTX halted on 9.0-RC2 DVD with AMD pseudo-RAID

2011-11-21 Thread John Nielsen
This weekend I downloaded the Freebsd 9.0 RC2 amd64 ISO image and burned it to a DVD. I have a computer that currently runs Windows 7 but I plan to install FreeBSD on it in the near future so I booted it up from the DVD to check the hardware/driver status. Much to my dismay, the boot loader

Re: 9.0-RC2 - bsdinstall miscount of remaining diskspace after partition deletion.

2011-11-21 Thread Peter
On Saturday, November 19, 2011 7:07:58 pm Nathan Whitehorn wrote: On 11/18/11 17:09, nev...@tx.net wrote: If you are performating a manual partion in 9.0-RC2 bsdinstall and you delete any created partition except the most recently created one, the total remaining space will be

Re: 9RC2 amd64 Can't work out which disk we are booting from

2011-11-21 Thread Jakub Lach
But I have not found what it was, and switched to build i386 images only yet. Indeed, only amd64 has this problem. -- View this message in context: http://freebsd.1045724.n5.nabble.com/9RC2-amd64-Can-t-work-out-which-disk-we-are-booting-from-tp5006547p5011412.html Sent from the

rc.conf changes IPV6

2011-11-21 Thread Dan The Man
I notice we have changed way IPV6 is done in rc.conf now. I assume someone will update: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html My question now concerns aliases, and what the norm will end up being. Here is example below: Here we have the new layout with

9.0-RC2 - bsdinstall - new user group

2011-11-21 Thread Peter
Doing a fresh install of 9.0RC2 [amd64]. Add User Accounts - Yes [stuff between '*' is my input/answers] Username: *peter* Full name: *P* UID: [default] Login group [peter]: *admin* Group admin does not exist! Login group [peter]: *ENTER* Login group is peter. Invite peter into other groups?

Re: rc.conf changes IPV6

2011-11-21 Thread Stefan Bethke
Am 21.11.2011 um 20:25 schrieb Dan The Man: I notice we have changed way IPV6 is done in rc.conf now. I assume someone will update: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html My question now concerns aliases, and what the norm will end up being. Here is

9.0-RC2 - bsdinstall overwrites /etc/fstab and spams /etc/rc.conf after edits in shell

2011-11-21 Thread Peter
Fresh install of 9.0RC2. Which comes first the, installer writing config files, or user using live shell to write custom config files? On the Final Configuration' screen I have the option to change several options like hostname/root password/network/etc.etc and final option is: Open a shell in

Buildworld broken with clang on current

2011-11-21 Thread Manfred Antar
make buildworld is broken iif using clang on current i386 (libc)5027}make clang -O2 -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -DNLS -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc

Re: Buildworld broken with clang on current

2011-11-21 Thread Roman Divacky
this was broken by the xlocale import, David, can you fix this please? I guess that just removing the typedef from strcasecmp.c should do it On Mon, Nov 21, 2011 at 12:59:38PM -0800, Manfred Antar wrote: make buildworld is broken iif using clang on current i386 (libc)5027}make clang -O2

/usr/home vs /home

2011-11-21 Thread David Cornejo
Hi, In the old days home was typically a separate partition that was mounted on /home. If you didn't have a partition the installer would create /usr/home and symlink /home to it. The root was also typically an independent partition, so it made sense not to clutter it up with home directories.

did SVN r227753 (locale changes) break something?

2011-11-21 Thread Michael Butler
VLC (multimedia/vlc) on my -current now crashes leaving a trace like this .. imb@toshi:/home/imb gdb `which vlc` vlc.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or

Heads Up: NFS server will now use LK_SHARED vnode locks

2011-11-21 Thread Rick Macklem
Hi, I have just committed r227809 to head/current which enables the new/default NFS server's use of shared vnode locks for Read, Readdir, Readlink, Getattr and Access. Although it is hoped that this will improve performance for these operations when multiple ones are performed concurrently on

Re: rc.conf changes IPV6

2011-11-21 Thread Doug Barton
Looping Hiroki Sato in since he's the architect of the most recent changes here. Doug On 11/21/2011 12:11, Stefan Bethke wrote: Am 21.11.2011 um 20:25 schrieb Dan The Man: I notice we have changed way IPV6 is done in rc.conf now. I assume someone will update:

Re: rc.conf changes IPV6

2011-11-21 Thread Dan The Man
On Mon, 21 Nov 2011, Stefan Bethke wrote: Am 21.11.2011 um 20:25 schrieb Dan The Man: I notice we have changed way IPV6 is done in rc.conf now. I assume someone will update: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html My question now concerns aliases, and

Re: rc.conf changes IPV6

2011-11-21 Thread Doug Barton
On 11/21/2011 17:39, Dan The Man wrote: On Mon, 21 Nov 2011, Stefan Bethke wrote: Am 21.11.2011 um 20:25 schrieb Dan The Man: I notice we have changed way IPV6 is done in rc.conf now. I assume someone will update:

Re: rc.conf changes IPV6

2011-11-21 Thread Dan The Man
Good point, I did switch to new config, let me find a box I can take down and I'll report back. I assume you'd be right considering how shell scripting works, that would not make much sense... Dan. -- Dan The Man CTO/ Senior System Administrator Websites, Domains and Everything else

Re: rc.conf changes IPV6

2011-11-21 Thread Dan The Man
Your right Doug, didn't bother taking box down after changing to new format, it works as expected, ignoring duplicate aliases regardless of protocal. I've regrouped my configs into interfaces instead of protocals now for the change so ipv4/6 aliases can be seen together without making

Re: /usr/home vs /home

2011-11-21 Thread Martin Sugioarto
Am Mon, 21 Nov 2011 13:15:36 -1000 schrieb David Cornejo d...@dogwood.com: I've always liked the more succinct /home and was wondering if there is any reason why not to delete the symlink and move home to / to mimic the old many partition style? Hi David, I like the idea of having /usr/home

Re: did SVN r227753 (locale changes) break something?

2011-11-21 Thread Andrey Chernov
On Mon, Nov 21, 2011 at 07:21:17PM -0500, Michael Butler wrote: #0 0x283eb243 in fprintf () from /lib/libc.so.7 #1 0x283eb558 in uselocale () from /lib/libc.so.7 #2 0x283eb6f9 in newlocale () from /lib/libc.so.7 #3 0x281637f2 in msg_Subscribe () from /usr/local/lib/libvlccore.so.4 Could