Re: ath / 802.11n performance issues and timer code

2011-09-23 Thread Adrian Chadd
I'll get you a trace soon. I noticed a much smaller but valid looking effect when doing this on my eeepc. If I enable idletick, I get an extra 15-25mbit/sec 11n TX throughput. kern.eventtimer.choice: LAPIC(400) i8254(100) RTC(0) kern.eventtimer.et.LAPIC.flags: 15 kern.eventtimer.et.LAPIC.frequenc

Re: ath / 802.11n performance issues and timer code

2011-09-23 Thread Alexander Motin
On 24.09.2011 04:13, Adrian Chadd wrote: > On 24 September 2011 05:38, Alexander Motin wrote: >>> When I set kern.eventtimer.periodic=1, the 11n TX/RX performance >>> suddenly jumps to where it should be. >>> >>> Would you mind helping me figure out what the problem is? >> >> I would be glad to he

Re: ath / 802.11n performance issues and timer code

2011-09-23 Thread Adrian Chadd
On 24 September 2011 05:38, Alexander Motin wrote: >> When I set kern.eventtimer.periodic=1, the 11n TX/RX performance >> suddenly jumps to where it should be. >> >> Would you mind helping me figure out what the problem is? > > I would be glad to help, but at this moment I am not sure how network

Re: Boot FreeBSD-current on macbook from USB stick ?

2011-09-23 Thread Hans Petter Selasky
On Friday 23 September 2011 21:12:52 Poul-Henning Kamp wrote: > Has anybody managed this on an unadultered MacBook ? > > I've tried with rEFIt and it sees the FreeBSD, but it doesn't > boot for me :-/ Hi, Yes - you need to put a dummy MBR there even if using GPT layout. There are some tools in

Re: Boot FreeBSD-current on macbook from USB stick ?

2011-09-23 Thread Poul-Henning Kamp
In message , Garrett Cooper writes: >> That does not seem to work for me, I have USB stick with a >> NanoBSD on it, and it never gets recognized by the macbook, >> so there is no 'windows' to select... > >What does gpart list say for the USB stick? critter# gpart list da0 Geom name: da0 modified

Re: Boot FreeBSD-current on macbook from USB stick ?

2011-09-23 Thread Garrett Cooper
On Fri, Sep 23, 2011 at 1:56 PM, Poul-Henning Kamp wrote: > In message <4e7cf115.5000...@shadowsun.net>, Eric McCorkle writes: > >>You can boot in legacy BIOS mode, which I do.  You have to create an >>MBR/BSD label installation, as if you have a GPT, the firmware will do >>what I described above.

Re: ath / 802.11n performance issues and timer code

2011-09-23 Thread Alexander Motin
On 23.09.2011 18:29, Adrian Chadd wrote: > I've been looking at issues with 802.11n RX performance on these > MIPS24k based MIPS boards. > After doing a bit of digging, I discovered what looked like strange > scheduler issues where the RX and TX completion schedulers weren't > being invoked quickly

Re: Boot FreeBSD-current on macbook from USB stick ?

2011-09-23 Thread Poul-Henning Kamp
In message <4e7cf115.5000...@shadowsun.net>, Eric McCorkle writes: >You can boot in legacy BIOS mode, which I do. You have to create an >MBR/BSD label installation, as if you have a GPT, the firmware will do >what I described above. Now, the mac firmware will wait 30 seconds >before doing the le

Re: Boot FreeBSD-current on macbook from USB stick ?

2011-09-23 Thread Eric McCorkle
On 09/23/11 15:12, Poul-Henning Kamp wrote: > Has anybody managed this on an unadultered MacBook ? > > I've tried with rEFIt and it sees the FreeBSD, but it doesn't > boot for me :-/ > I have. There's some information which isn't easy co come by: Macs use a non-standard EFI boot process. They s

Boot FreeBSD-current on macbook from USB stick ?

2011-09-23 Thread Poul-Henning Kamp
Has anybody managed this on an unadultered MacBook ? I've tried with rEFIt and it sees the FreeBSD, but it doesn't boot for me :-/ -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribut

Re: 9.0 bata2 & keymap

2011-09-23 Thread David Brodbeck
I don't think not asking the question is the right answer. Asking about the keyboard layout during installation is the right thing to do; working with the wrong one is difficult and not everyone has a standard US keyboard. I think the problem is that the keymap names are kind of obscure, making i

Re: 9.0 bata2 & keymap

2011-09-23 Thread Gavin Atkinson
On Sat, 2011-09-17 at 12:24 -0400, Fbsd8 wrote: > Changing the cancel button in the kbdmap command to skip, does not > address the problem, which is the lack of knowledge of the standard > bsdinstall user. I've been using Freebsd since 4.0 and never used the > kbdmap command or for that matter

panic without swap partition in single user mode 9.0-BETA2 spoiling cp->ace = 1

2011-09-23 Thread Peter Klett
Hello, maybe this is "a bad thing to do", I'm trying to to change the active partition on the device (ada1) which is booted from in single user mode. I changed kern.geom.debugflags to 16. Calling fdisk with -a or -u flags, panics immediately: panic: spoiling cp->ace = 1 Maybe it is related to

Re: Choosing between DELAY(useconds) and pause()

2011-09-23 Thread Gavin Atkinson
On Thu, 2011-09-22 at 20:07 +0200, Hans Petter Selasky wrote: > On Thursday 22 September 2011 19:55:23 David Somayajulu wrote: > > It appears that the pause() function cannot be used in driver functions > > which are invoked early in the boot process. Is there is a kernel api > > which a device dri

ath / 802.11n performance issues and timer code

2011-09-23 Thread Adrian Chadd
Hi Alexander, I've been looking at issues with 802.11n RX performance on these MIPS24k based MIPS boards. After doing a bit of digging, I discovered what looked like strange scheduler issues where the RX and TX completion schedulers weren't being invoked quickly. The ath driver schedules these fun

Re: 9.0 beta2 & the new bsdinstaller

2011-09-23 Thread deeptec...@gmail.com
Fbsd8 wrote: > 6. At the "Complete screen" when the reboot option is selected the > cd/dvd drive should automatically open so the install media can be > removed just like sysinstall does. If disc1.iso or dvd.iso was installed > to memstick and used to boot from to install the system, then a message

Re: SCSI descriptor sense changes, testing needed

2011-09-23 Thread Marius Strobl
On Thu, Sep 22, 2011 at 01:33:05PM -0600, Kenneth D. Merry wrote: > > I have attached a set of patches against head that implement SCSI > descriptor sense support for CAM. > > Descriptor sense is a new sense (SCSI error) format introduced in the SPC-3 > spec in 2006. FreeBSD doesn't currently su

Re: 9.0 bsdinstall usage

2011-09-23 Thread Glen Barber
On 9/23/11 9:23 AM, Fbsd8 wrote: > We have to protect the poor user from them selfs doing stupid things. > I find your presumptuous "users are stupid" comment rather offensive. But, it did remind me of one of my favorite quotes: "UNIX was not designed to stop you from doing stupid things, becau

Re: 9.0 bsdinstall usage

2011-09-23 Thread Daniel O'Connor
On 23/09/2011, at 23:03, Fbsd8 wrote: >> The binary is installed by default, but there it isn't run at startup. >> If it is being run then I would expect you are booting off your install >> media again by accident. >> -- >> Daniel O'Connor > > You did not read my post correctly. I dont say bsdi

Re: 9.0 bsdinstall usage

2011-09-23 Thread Fbsd8
Adrian Chadd wrote: On 23 September 2011 10:09, Fbsd8 wrote: I have installed 9.0 bata2 from cd and the net. In both cases after the completion of the install and rebooting, the bsdinstall scripts still remain on the new installed system. If I interpret the code logic correctly, bsdinstall can

Re: 9.0 bsdinstall usage

2011-09-23 Thread Fbsd8
Daniel O'Connor wrote: On 23/09/2011, at 11:39, Fbsd8 wrote: I have installed 9.0 bata2 from cd and the net. >>In both cases after the completion of the install and rebooting, the bsdinstall >>scripts still remain on the new installed system. If I interpret the code logic correctly, >>bsdinsta

Re: 9.0 bsdinstall usage

2011-09-23 Thread Fbsd8
Nathan Whitehorn wrote: On 09/23/11 04:09, Fbsd8 wrote: I have installed 9.0 bata2 from cd and the net. In both cases after the completion of the install and rebooting, the bsdinstall scripts still remain on the new installed system. If I interpret the code logic correctly, bsdinstall can ONLY b

Re: 9.0 bsdinstall usage

2011-09-23 Thread Nathan Whitehorn
On 09/23/11 04:09, Fbsd8 wrote: I have installed 9.0 bata2 from cd and the net. In both cases after the completion of the install and rebooting, the bsdinstall scripts still remain on the new installed system. If I interpret the code logic correctly, bsdinstall can ONLY be used for an original in