Re: Idea for FreeBSD

2008-08-18 Thread Garrett Cooper
On Aug 12, 2008, at 5:14 AM, Jonathan McKeown wrote: On Tuesday 12 August 2008 14:03:30 Adrian Penisoara wrote: While we're at it, I wish we could leverage the posibility for the admin to manually start the service at the CLI, no matter whether the service has been enabled or not -- that is

Re: Extending the ddb command set

2008-08-18 Thread Guillaume Ballet
On Sun, Aug 17, 2008 at 6:23 PM, Sam Leffler [EMAIL PROTECTED] wrote: (snip) Last I looked at this I was convinced it could be done using SYSINIT's and the existing mechanisms for adding ddb cmds. I don't think you need to modify the linker or ddb. Not sure if you looked sys/module.h and/or

sysinstall - upgrade

2008-08-18 Thread sam
Hello. Faced with a strange situation. output of downgrade HEAD - 7.0-RELEASE --- # uname -a FreeBSD damask 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jun 16 17:44:59 SAMST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DAMASK i386

Re: textvp_fullpath

2008-08-18 Thread Uladzislau Rezki
On 16 August 2008 01:09:39 Robert Watson wrote: On Fri, 15 Aug 2008, Uladzislau Rezki wrote: We have to to do a few thinks: 1) do original write sys call; 2) get full path (/etc/passwd); 3) put all this information to user land through the character device. I get stuck in point 2. I

Re: Extending the ddb command set

2008-08-18 Thread John Baldwin
On Sunday 17 August 2008 01:17:54 pm Guillaume Ballet wrote: On Sat, Aug 16, 2008 at 5:15 PM, Sam Leffler [EMAIL PROTECTED] wrote: Guillaume Ballet wrote: Hello hackers, I am currently working on a small project and would like to add a few commands to the set that is available in ddb.

Keyboard map for asus-eee900-linux

2008-08-18 Thread Peter B
Here's a new console + X11 keymap for FreeBSD on Asus Eee 900 linux netbook: It should work for all asus eee models with Swedish, Danish, Norwegian, Finnish or Icelandic keyboard. In particular this fixes the '|' character. (Asus Eee Nordic SE-DK-NW-FI-IS 80-keys) kbdcontrol -l

Acquiring a mtx after an sx lock

2008-08-18 Thread Ryan Stone
Are there any problems acquiring a sleep mutex after acquiring an sx lock? man 9 locking says that you can't, but doesn't provide any reasons. Obviously while you're holding the mutex you have to abide by the rules applying to mutexes, but as long as you do that, I can't see why acquiring a mutex

Re: Acquiring a mtx after an sx lock

2008-08-18 Thread Max Laier
On Monday 18 August 2008 17:14:01 Ryan Stone wrote: Are there any problems acquiring a sleep mutex after acquiring an sx lock? man 9 locking says that you can't, but doesn't provide any reasons. Obviously while you're holding the mutex you have to abide by the rules applying to mutexes, but as

Re: Acquiring a mtx after an sx lock

2008-08-18 Thread Ryan Stone
I guess the FreeBSD 8 man pages have been fixed but the FreeBSD 7 ones haven't. This is what I was looking at: http://www.freebsd.org/cgi/man.cgi?query=lockingapropos=0sektion=0manpath=FreeBSD+7.0-RELEASEformat=html Thanks for the response, Ryan Stone On Mon, Aug 18, 2008 at 11:54 AM, Max

Re: Acquiring a mtx after an sx lock

2008-08-18 Thread Ed Maste
On Mon, Aug 18, 2008 at 12:02:56PM -0400, Ryan Stone wrote: On Mon, Aug 18, 2008 at 11:54 AM, Max Laier [EMAIL PROTECTED] wrote: On Monday 18 August 2008 17:14:01 Ryan Stone wrote: Are there any problems acquiring a sleep mutex after acquiring an sx lock? man 9 locking says that you

Re: Acquiring a mtx after an sx lock

2008-08-18 Thread Julian Elischer
Ed Maste wrote: On Mon, Aug 18, 2008 at 12:02:56PM -0400, Ryan Stone wrote: On Mon, Aug 18, 2008 at 11:54 AM, Max Laier [EMAIL PROTECTED] wrote: On Monday 18 August 2008 17:14:01 Ryan Stone wrote: Are there any problems acquiring a sleep mutex after acquiring an sx lock? man 9 locking

Re: Acquiring a mtx after an sx lock

2008-08-18 Thread Julian Elischer
Julian Elischer wrote: Ed Maste wrote: On Mon, Aug 18, 2008 at 12:02:56PM -0400, Ryan Stone wrote: On Mon, Aug 18, 2008 at 11:54 AM, Max Laier [EMAIL PROTECTED] wrote: On Monday 18 August 2008 17:14:01 Ryan Stone wrote: Are there any problems acquiring a sleep mutex after acquiring an sx

Multiple page support

2008-08-18 Thread Rao, Nikhil
What is the current status of multiple page sizes for applications (4K and 2MB) in FreeBSD 8-CURRENT ? It is enabled by default for the amd64 arch and only available in the amd64 and i386 architectures. From reading the source code, there is support for reservations as described in the original

Summer of Code is over!!

2008-08-18 Thread Ryan French
Hi all, As those of you involved in the Google Summer of Code know, today is the last day of coding for the project. However, I still have a lot to do on my implementation of MPLS, and will continue to work on this until it is working. I would like to say thank you to all of those who have

Disk quotas out of sync

2008-08-18 Thread Simon
Hello All, I sent this to freebsd-questions but it went unanswered, hoping for better luck here. The issue I'm trying to resolve is this: Ever since I went from 6.x to 7.0-R I have started experiencing disk quotas getting out of sync with the actual amount used. For example, a user with 100GB

Re: Multiple page support

2008-08-18 Thread Carlos A. M. dos Santos
On Mon, Aug 18, 2008 at 5:42 PM, Rao, Nikhil [EMAIL PROTECTED] wrote: What is the current status of multiple page sizes for applications (4K and 2MB) in FreeBSD 8-CURRENT ? It is enabled by default for the amd64 arch and only available in the amd64 and i386 architectures. I just saw this

Re: Disk quotas out of sync

2008-08-18 Thread Rong-en Fan
On Tue, Aug 19, 2008 at 7:16 AM, Simon [EMAIL PROTECTED] wrote: Hello All, I sent this to freebsd-questions but it went unanswered, hoping for better luck here. The issue I'm trying to resolve is this: Ever since I went from 6.x to 7.0-R I have started experiencing disk quotas getting out

Re: Disk quotas out of sync

2008-08-18 Thread Simon
Yes, I'm running SMP on all machines, version 7.0-R-p2 (amd64 on some). No group quotas, just user. Thanks, Simon On Tue, 19 Aug 2008 09:36:43 +0800, Rong-en Fan wrote: On Tue, Aug 19, 2008 at 7:16 AM, Simon [EMAIL PROTECTED] wrote: Hello All, I sent this to freebsd-questions but it went