Re: pkg_add on 64bits kernel w/ options MAC

2008-08-19 Thread Tim Kientzle
Jerry Toung wrote: On Tue, Aug 19, 2008 at 1:26 PM, Robert Watson <[EMAIL PROTECTED]> wrote: Sounds like a bug of some sort. Could you send the output of "sysctl security.mac"? Also, if you could use ktrace to confirm which system calls are returning EACCES/EPERM leading to the warnings, that

Re: pkg_add on 64bits kernel w/ options MAC

2008-08-19 Thread Jerry Toung
On Tue, Aug 19, 2008 at 1:26 PM, Robert Watson <[EMAIL PROTECTED]> wrote: > > > Sounds like a bug of some sort. Could you send the output of "sysctl > security.mac"? Also, if you could use ktrace to confirm which system calls > are returning EACCES/EPERM leading to the warnings, that would also

Re: pkg_add on 64bits kernel w/ options MAC

2008-08-19 Thread Robert Watson
On Tue, 19 Aug 2008, Jerry Toung wrote: I am running into a weird issue. On a 6.2 stable, 32bits built with options MAC, I can run pkg_add of anything. But a 6.2 stable, 64bits built with MAC won't let me do pkg_add. If anybody has an input, please advise. Below is the output on the 64 bits m

Re: pkg_add on 64bits kernel w/ options MAC

2008-08-19 Thread Robert Watson
On Tue, 19 Aug 2008, Jerry Toung wrote: I am running into a weird issue. On a 6.2 stable, 32bits built with options MAC, I can run pkg_add of anything. But a 6.2 stable, 64bits built with MAC won't let me do pkg_add. If anybody has an input, please advise. Below is the output on the 64 bits m

pkg_add on 64bits kernel w/ options MAC

2008-08-19 Thread Jerry Toung
Hi List, I am running into a weird issue. On a 6.2 stable, 32bits built with options MAC, I can run pkg_add of anything. But a 6.2 stable, 64bits built with MAC won't let me do pkg_add. If anybody has an input, please advise. Below is the output on the 64 bits machine: net3# pkg_add test.tbz +CONT

Re: Acquiring a mtx after an sx lock

2008-08-19 Thread Julian Elischer
Ed Maste wrote: On Mon, Aug 18, 2008 at 11:38:40AM -0700, Julian Elischer wrote: Ed Maste wrote: Ahh, it seems ups' commit of rmlocks changed the "You have: sx_lock, You want: Slp_mtx" case from no to ok (in r173444). Ignore me.. I was reading the table backwards.. of course if you have an sx

Re: USB Video class

2008-08-19 Thread Alexander Leidinger
Quoting "Peter B" <[EMAIL PROTECTED]> (from Tue, 19 Aug 2008 15:05:29 +0200 (MEST)): Is there any ongoing project towards USB Video class support in FreeBSD ..? This is better asked on usb@ (CCed). I'm not aware of such an effort, feel free to start it (you better wait some days until the

Re: Acquiring a mtx after an sx lock

2008-08-19 Thread Ed Maste
On Mon, Aug 18, 2008 at 11:38:40AM -0700, Julian Elischer wrote: > >Ed Maste wrote: > >>Ahh, it seems ups' commit of rmlocks changed the "You have: sx_lock, > >>You want: Slp_mtx" case from no to ok (in r173444). > > Ignore me.. I was reading the table backwards.. of course if you have > an sx y

USB Video class

2008-08-19 Thread Peter B
Is there any ongoing project towards USB Video class support in FreeBSD ..? (Looking at the Asus eee builtin webcam 0x04F2 (CHICONY) 0xB071) Some links: http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/usb/ uvideo.c http://developer.berlios.de/projects/linux-uvc http://www.usb.org/devel

Re: Disk quotas out of sync

2008-08-19 Thread Simon
Yes, the inodes seem to be in sync. When I run quotacheck -av only blocks get fixed or at least that is what I see. Here is an example repquota -a output before 'quotacheck -av': Block limitsFile limits Userused soft

Re: Disk quotas out of sync

2008-08-19 Thread Kostik Belousov
On Mon, Aug 18, 2008 at 11:54:15PM -0400, Simon wrote: > > Yes, I'm running SMP on all machines, version 7.0-R-p2 (amd64 on some). > No group quotas, just user. The questions to you: 1. Are inode counts for users coincide with quota report ? 2. How did you compared "actual usage" with the usage r

Re: Disk quotas out of sync

2008-08-19 Thread Simon
fstab: /dev/mfid0s2d /web1 ufs rw,userquota2 2 rc.conf: enable_quotas="YES" check_quotas="NO" I always had it this way and it always worked until 7.x -Simon On Tue, 19 Aug 2008 01:46:46 -0500, Mike Pritchard wrote: >On Mon, Aug 18, 2008 at 07:16:53PM -0400, S

Re: Recommend literature for beginner programer

2008-08-19 Thread Jeroen Ruigrok van der Werven
-On [20080819 09:37], Rudi Kramer - MWEB ([EMAIL PROTECTED]) wrote: >I learn how FreeBSD is put together and eventually contribute code to >the base. So C it is. http://home.netcom.com/~tjensen/ptr/pointers.htm is a good reference for arrays and pointers. C: A Reference Manual is

RE: Recommend literature for beginner programer

2008-08-19 Thread Rudi Kramer - MWEB
> Ruigrok van der Werven > > What is your goal? I learn how FreeBSD is put together and eventually contribute code to the base. Rudi ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe

Re: Disk quotas out of sync

2008-08-19 Thread Mike Pritchard
On Mon, Aug 18, 2008 at 07:16:53PM -0400, Simon 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 of

Re: Recommend literature for beginner programer

2008-08-19 Thread Jeroen Ruigrok van der Werven
-On [20080819 08:36], Rudi Kramer - MWEB ([EMAIL PROTECTED]) wrote: >I've been using FreeBSD for the last couple of years as an admin and I >would like to take the next step and learn how to write code, >specifically with FreeBSD in mind. What is your goal? I am of the opinion th