Unprivileged user can't set sticky bit on a file; why?

2008-11-13 Thread Nate Eldredge
Hi folks, FreeBSD doesn't allow an unprivileged user to set the sticky bit (mode S_ISTXT, octal 01000) on a file, though it does allow root to do so. [EMAIL PROTECTED]:/tmp$ chmod +t foo chmod: foo: Inappropriate file type or format [EMAIL PROTECTED]:/tmp$ su Password: vulcan# chmod +t foo vul

Re: 128 Bucket Failures?

2008-11-13 Thread Ivan Voras
Chris Pratt wrote: > I have asked this before a couple of years ago but received no > replies. I assumed that's because it's a somewhat obscure question. > I'm still interested and thought I might try again in case someone > new is watching this list who might know. > > A vmstat -z on my highest t

Re: assigning interrupts

2008-11-13 Thread John Baldwin
On Thursday 13 November 2008 10:40:03 am Joerg Sonnenberger wrote: > On Thu, Nov 13, 2008 at 02:40:54AM -0800, Jeremy Chadwick wrote: > > Otherwise, consider purchasing a motherboard that has an APIC (this is > > not a typo) increasing the IRQ count to 256. > > This is wrong. The first IO-APIC giv

Re: ide with DMA and ram > 4GB

2008-11-13 Thread John Baldwin
On Wednesday 12 November 2008 12:23:14 pm Marc Lörner wrote: > Hello, > I just stepped over a problem with my IDE disk running in DMA-mode > and having more than 4GB of RAM. > It seems that the whole way down GEOM, ata-disk, ata-dma never is checked > whether physical address of buffer is less than

Re: assigning interrupts

2008-11-13 Thread John Baldwin
On Thursday 13 November 2008 11:56:31 am Jeremy Chadwick wrote: > On Thu, Nov 13, 2008 at 04:40:03PM +0100, Joerg Sonnenberger wrote: > > On Thu, Nov 13, 2008 at 02:40:54AM -0800, Jeremy Chadwick wrote: > > > Otherwise, consider purchasing a motherboard that has an APIC (this is > > > not a typo) i

Re: assigning interrupts

2008-11-13 Thread John Baldwin
On Thursday 13 November 2008 05:03:20 am Ronnel P. Maglasang wrote: > Hi All, > > Is there a way to explicitly assign an interrupt > of a device? I'm running on 6.3 and the two NICs > share the same interrupt. Obviously this will affect > the performance if the NICs are exposed to heavy network >

Re: Is chflags' "nodump + sunlnk" = "uchg"

2008-11-13 Thread Tim Kientzle
Ok, that's sort of a different question. "nodump" is only checked by /sbin/dump tar obeys the nodump flag as well if you specify the --nodump option. Hmmm... Now that I think of it, cpio should also have that option; I'll put that on my TODO list. Tim

Re: Is chflags' "nodump + sunlnk" = "uchg"

2008-11-13 Thread Dan Nelson
In the last episode (Nov 13), Charles Darwin said: > On 12-Nov-08, at 6:43 PM, Dan Nelson wrote: > > In the last episode (Nov 12), Charles Darwin said: > >> Hi all, > >> > >> Title is the question actually: Is chflags' "nodump + sunlnk" = > >> "uchg" > > > > No; why would it be? > > I mean as far

Re: assigning interrupts

2008-11-13 Thread Joerg Sonnenberger
On Thu, Nov 13, 2008 at 08:56:31AM -0800, Jeremy Chadwick wrote: > Regarding "it means you can still get interrupt sharing", I'd like to > hear more about why/how that's possible with a system sporting at least > one I/O APIC. You still have a limited number of interrupt lines. Many non-highend ma

Patch for working AMD Geode CS5530 audio driver on HEAD

2008-11-13 Thread O.
Hi Alec, did you find the solution? I have the same problem. Best Regards, O. >I just got around to playing with this again, to no avail: > > geode Probe devid 20821022 classid 0010! > > geode Probe devid 20931022 classid 0004! > > pcm0: port 0xfe00-0xfe7f

Re: assigning interrupts

2008-11-13 Thread Jeremy Chadwick
On Thu, Nov 13, 2008 at 04:40:03PM +0100, Joerg Sonnenberger wrote: > On Thu, Nov 13, 2008 at 02:40:54AM -0800, Jeremy Chadwick wrote: > > Otherwise, consider purchasing a motherboard that has an APIC (this is > > not a typo) increasing the IRQ count to 256. > > This is wrong. The first IO-APIC gi

Re: assigning interrupts

2008-11-13 Thread Joerg Sonnenberger
On Thu, Nov 13, 2008 at 02:40:54AM -0800, Jeremy Chadwick wrote: > Otherwise, consider purchasing a motherboard that has an APIC (this is > not a typo) increasing the IRQ count to 256. This is wrong. The first IO-APIC gives you 8 additional interrupts to the 16 ISA interrupt lines. Every additiona

Re: Is chflags' "nodump + sunlnk" = "uchg"

2008-11-13 Thread Charles Darwin
On 12-Nov-08, at 6:43 PM, Dan Nelson wrote: In the last episode (Nov 12), Charles Darwin said: Hi all, Title is the question actually: Is chflags' "nodump + sunlnk" = "uchg" No; why would it be? I mean as far as their effect on a directory; doesn't "Don't change" for a directory mean

Re: FreeBSD 5.4 - filesystem full

2008-11-13 Thread Varshavchick Alexander
On Wed, 12 Nov 2008, Adrian Penisoara wrote: What kind of applications are you running on the machine ? Are they mmap'ing files on the filesystem in quesiton (which one ?) ? mainly apache, sphinx's search daemon and several perl scripts AFAIR even if you delete a big file the disk space ma

Re: FreeBSD 5.4 - filesystem full

2008-11-13 Thread Varshavchick Alexander
On Wed, 12 Nov 2008, Ivan Voras wrote: I don't know for sure, but here's some generic troubleshooting: a) Are you 100% sure there isn't an application that periodically fills the drive? This would be easiest to solve - all other problems are worse. Yes, I'm sure, anyways there is about 40G f

Re: assigning interrupts

2008-11-13 Thread Jeremy Chadwick
On Thu, Nov 13, 2008 at 06:03:20PM +0800, Ronnel P. Maglasang wrote: > Hi All, > > Is there a way to explicitly assign an interrupt > of a device? I'm running on 6.3 and the two NICs > share the same interrupt. Obviously this will affect > the performance if the NICs are exposed to heavy network >

Re: assigning interrupts

2008-11-13 Thread Eygene Ryabinkin
Thu, Nov 13, 2008 at 06:03:20PM +0800, Ronnel P. Maglasang wrote: > Is there a way to explicitly assign an interrupt > of a device? What about BIOS? What about physically reshuffling the cards if they aren't on-board ones? -- Eygene ____ _.--. # \`.|\.....-'` `-._

assigning interrupts

2008-11-13 Thread Ronnel P. Maglasang
Hi All, Is there a way to explicitly assign an interrupt of a device? I'm running on 6.3 and the two NICs share the same interrupt. Obviously this will affect the performance if the NICs are exposed to heavy network traffic. # vmstat -i interrupt total rate irq11: