Re: Memory leak in net80211 on FBSD 6.0

2005-11-29 Thread Nate Nielsen
Nate Nielsen wrote: > I'm experiencing a memory leak in the net80211 code. I have two atheros > 5213-A cards on two embedded systems running FreeBSD 6.0. They are setup > as IBSS (adhoc) stations. After roughly 15 seconds of ~14Mbps TCP > traffic (single stream) I promptly run out of memory: > >>l

Weird PCI interrupt delivery problem

2005-11-29 Thread Craig Boston
Hi, I'm working on getting this laptop up and running and need some advice from PCI gurus. I am running into a really odd problem with PCI interrupts. After a while they simply stop being delivered. ACPI makes the problem much worse, but it happens eventually without ACPI too. The system looks

Re: Bash scripting -- Usage of arrays

2005-11-29 Thread Marco Gigante
On Wed, Nov 30, 2005 at 02:39:15AM +0530, Jayesh Jayan wrote: > Hi, > > Today I was trying to script using arrays in FreeBSD 5.4 but it doesn't > work. > > Below is a sample script which I used. > > ** > > #!/bin/bash > > array=( zero one two

Re: Bash scripting -- Usage of arrays

2005-11-29 Thread John Baldwin
On Tuesday 29 November 2005 04:49 pm, Jayesh Jayan wrote: > Hi John, > > I already have bash installed from ports. It is bash 2.05b. Then use 'bash foo.sh' :) -- John Baldwin <[EMAIL PROTECTED]> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org __

Re: Bash scripting -- Usage of arrays

2005-11-29 Thread Jayesh Jayan
Hi John, yes it works when executed with bash aa.sh. Thank you :) On 11/30/05, John-Mark Gurney <[EMAIL PROTECTED]> wrote: > > Jayesh Jayan wrote this message on Wed, Nov 30, 2005 at 03:19 +0530: > > I already have bash installed from ports. It is bash 2.05b. > > But below you were running sh, a

Re: Bash scripting -- Usage of arrays

2005-11-29 Thread John-Mark Gurney
Jayesh Jayan wrote this message on Wed, Nov 30, 2005 at 03:19 +0530: > I already have bash installed from ports. It is bash 2.05b. But below you were running sh, and not bash... if you do sh array.sh, it will not reinterpet the #!/bin/bash line, and re-exec it with the program in part because /bi

Re: Bash scripting -- Usage of arrays

2005-11-29 Thread Jayesh Jayan
Hi Freddie, Thank you. I have only installed bash2. I hope that may be one reason. Anyhow I have got the solution for other people in the list. Thank you once again. On 11/30/05, Freddie Cash <[EMAIL PROTECTED]> wrote: > > On November 29, 2005 01:09 pm, Jayesh Jayan wrote: > > Today I was try

Re: Bash scripting -- Usage of arrays

2005-11-29 Thread Jayesh Jayan
Hi John, Thank you. It seems to work like a charm. On 11/30/05, John Baldwin <[EMAIL PROTECTED]> wrote: > > On Tuesday 29 November 2005 04:09 pm, Jayesh Jayan wrote: > > Hi, > > > > Today I was trying to script using arrays in FreeBSD 5.4 but it doesn't > > work. > > > > Below is a sample scrip

Re: Bash scripting -- Usage of arrays

2005-11-29 Thread Jayesh Jayan
Hi John, I already have bash installed from ports. It is bash 2.05b. On 11/30/05, John-Mark Gurney <[EMAIL PROTECTED]> wrote: > > Jayesh Jayan wrote this message on Wed, Nov 30, 2005 at 02:39 +0530: > > Below is the output. > > > > # sh array.sh > > Install the bash port (as root: pkg_add -r ba

Re: Bash scripting -- Usage of arrays

2005-11-29 Thread Freddie Cash
On November 29, 2005 01:09 pm, Jayesh Jayan wrote: > Today I was trying to script using arrays in FreeBSD 5.4 but it doesn't > work. > Below is a sample script which I used. > ** > #!/bin/bash > array=( zero one two three four); > echo "Elements

Re: Bash scripting -- Usage of arrays

2005-11-29 Thread John Baldwin
On Tuesday 29 November 2005 04:09 pm, Jayesh Jayan wrote: > Hi, > > Today I was trying to script using arrays in FreeBSD 5.4 but it doesn't > work. > > Below is a sample script which I used. > > ** > > #!/bin/bash > > array=( zero one two three fo

Re: Bash scripting -- Usage of arrays

2005-11-29 Thread John-Mark Gurney
Jayesh Jayan wrote this message on Wed, Nov 30, 2005 at 02:39 +0530: > Below is the output. > > # sh array.sh Install the bash port (as root: pkg_add -r bas), and then try again using bash... FreeBSD doesn't have bash installed by default (and hence, /bin/sh is not bash like it is usually on Lin

Bash scripting -- Usage of arrays

2005-11-29 Thread Jayesh Jayan
Hi, Today I was trying to script using arrays in FreeBSD 5.4 but it doesn't work. Below is a sample script which I used. ** #!/bin/bash array=( zero one two three four); echo "Elements in array0: [EMAIL PROTECTED]" *

Re: misc questions about the device&driver arch

2005-11-29 Thread Warner Losh
> We only try > to alloc resources if the BIOS doesn't, and I'm not sure how we handle a > bridge running out of resources. I think we might just fail the allocation. Yes. The allocation would fail. Warner ___ freebsd-hackers@freebsd.org mailing lis

Re: misc questions about the device&driver arch

2005-11-29 Thread John Baldwin
On Thursday 10 November 2005 05:48 am, kylin wrote: > Sir ,i am still puzzled by the windows and freebsd arch similar. > 1 > the window TPS say that windwo allocate the resource window in default > size of 1M or 2M,so there may be hole ,does that happen in freebsd 5 > or 6? No. > 2 > in my view i

Re: i915 DRM module question

2005-11-29 Thread John Baldwin
On Tuesday 29 November 2005 11:54 am, othermark wrote: > I have a newer Dell gx280 at work that I have -current running on and I was > curious about trying out the i915 DRM module. However the kernel doesn't > pickup my device, although it looks like the DRM module will: > > drm_pciids.h: >

i915 DRM module question

2005-11-29 Thread othermark
I have a newer Dell gx280 at work that I have -current running on and I was curious about trying out the i915 DRM module. However the kernel doesn't pickup my device, although it looks like the DRM module will: drm_pciids.h: 244 {0x8086, 0x2582, 0, "Intel i915G"}, \ I think this

Re: Loading gzipped mfsroot

2005-11-29 Thread Iasen Kostov
On Mon, 2005-11-28 at 19:19 +0200, Ruslan Ermilov wrote: > On Mon, Nov 28, 2005 at 04:38:11PM +0200, Iasen Kostov wrote: > > On Mon, 2005-11-28 at 09:18 -0500, David S. Madole wrote: > > > From: "Iasen Kostov" <[EMAIL PROTECTED]> > > > > > > > I've seen a lot of examples where peeple load gzipped