Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-20 Thread Bruce Evans
On Sun, 20 Nov 2011, Kostik Belousov wrote: On Sun, Nov 20, 2011 at 12:40:42PM +0100, Robert Millan wrote: On Sat, Nov 19, 2011 at 07:56:20PM +0200, Kostik Belousov wrote: I fully agree with an idea that compiler is not an authorative source of the knowledge of the FreeBSD version. Even more,

The FreeBSD Project in the Google Code-In 2011 contest

2011-11-20 Thread Wojciech A. Koszek
Hello, (cross-posted message; please keep eventual comments on freebsd-hackers@) The FreeBSD project has been accepted to the Google Code-In 2011 contest. http://google-opensource.blogspot.com/2011/11/google-code-in-2011-participating.html We have proposed 50 tasks so far, and more ar

Re: Adding disk firmware programming capability to camcontrol

2011-11-20 Thread Garrett Cooper
On Sun, Nov 20, 2011 at 7:44 AM, Pegasus Mc Cleaft wrote: > On Sunday 20 November 2011 15:24:41 Andriy Gapon wrote: >> > I have tried issuing a TUR to all my drives to see if it was controller >> > or drive specific, but all of them return the same error (The drives are >> > Seagate, Hitachi and W

Re: ee (easy editor) bugged on 9.0?

2011-11-20 Thread Stefan Bethke
Am 20.11.2011 um 14:41 schrieb Jason Edwards: > Some of you asked for the environmental settings. Using 'env' the > output begins with: > > -- on console -- > TERM=cons25 > SHELL=/usr/local/bin/bash > > -- via SSH -- > TERM=xterm > SHELL=/usr/local/bin/bash > > Via SSH the ee editor works as it

Re: ee (easy editor) bugged on 9.0?

2011-11-20 Thread Alexander Best
On Sun Nov 20 11, Jason Edwards wrote: > On Sat, Nov 19, 2011 at 6:07 PM, Stefan Bethke wrote: > > Am 19.11.2011 um 17:29 schrieb Jason Edwards: > > > >> Dear list, > >> > >> Has anyone noticed the easy editor is quite bugged on 9.0? On console > >> direct access, opening the easy editor has sever

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-20 Thread Attilio Rao
2011/11/20 Kostik Belousov : > On Sun, Nov 20, 2011 at 08:22:38PM +0100, Attilio Rao wrote: >> 2011/11/20 Kostik Belousov : >> > On Sun, Nov 20, 2011 at 08:04:21PM +0100, Attilio Rao wrote: >> >> This other patch converts sx to a similar interface which cleans up >> >> vm_map.c: >> >> http://www.f

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-20 Thread Kostik Belousov
On Sun, Nov 20, 2011 at 08:22:38PM +0100, Attilio Rao wrote: > 2011/11/20 Kostik Belousov : > > On Sun, Nov 20, 2011 at 08:04:21PM +0100, Attilio Rao wrote: > >> This other patch converts sx to a similar interface which cleans up > >> vm_map.c: > >> http://www.freebsd.org/~attilio/sxfileline.patch

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-20 Thread Attilio Rao
2011/11/20 Kostik Belousov : > On Sun, Nov 20, 2011 at 08:04:21PM +0100, Attilio Rao wrote: >> This other patch converts sx to a similar interface which cleans up vm_map.c: >> http://www.freebsd.org/~attilio/sxfileline.patch >> >> What do you think about it? > > This one only changes the KBI ? Note

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-20 Thread Kostik Belousov
On Sun, Nov 20, 2011 at 08:04:21PM +0100, Attilio Rao wrote: > This other patch converts sx to a similar interface which cleans up vm_map.c: > http://www.freebsd.org/~attilio/sxfileline.patch > > What do you think about it? This one only changes the KBI ? Note that _sx suffix is not reserved. p

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-20 Thread Attilio Rao
2011/11/20 Attilio Rao : > 2011/11/18 Attilio Rao : >> 2011/11/18 Attilio Rao : >>> 2011/11/18 Kostik Belousov : On Fri, Nov 18, 2011 at 11:40:28AM +0100, Attilio Rao wrote: > 2011/11/16 Kostik Belousov : > > On Tue, Nov 15, 2011 at 07:15:01PM +0100, Attilio Rao wrote: > >> 2011/11

Acer Aspire Atheros Netbook

2011-11-20 Thread Nenhum_de_Nos
hail, I just installed 9.0 RC2 in Aspire One 751h and the atheros shows in ifconfig: ath0: flags=8843 metric 0 mtu 2290 ether xx:xx:xx:xx:xx:xx nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan0: flags=8843 metric 0 mtu

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-20 Thread Attilio Rao
It looks good to me. Attilio 2011/11/20 Kostik Belousov : > On Sun, Nov 20, 2011 at 07:02:14PM +0100, Attilio Rao wrote: >> 2011/11/20 Kostik Belousov : >> > +#define        vm_page_lock_assert(m, a)       \ >> > +    vm_page_lock_assert_KBI((m), (a), LOCK_FILE, LOCK_LINE) >> >> I think you shoul

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-20 Thread Kostik Belousov
On Sun, Nov 20, 2011 at 07:02:14PM +0100, Attilio Rao wrote: > 2011/11/20 Kostik Belousov : > > +#define        vm_page_lock_assert(m, a)       \ > > +    vm_page_lock_assert_KBI((m), (a), LOCK_FILE, LOCK_LINE) > > I think you should put the "\" in the last tab and also, for > consistency, you may

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-20 Thread Attilio Rao
2011/11/20 Kostik Belousov : > On Sun, Nov 20, 2011 at 05:37:33PM +0100, Attilio Rao wrote: >> 2011/11/18 Attilio Rao : >> > Please consider: >> > http://www.freebsd.org/~attilio/mutexfileline2.patch >> >> This is now committed as r227758,227759, you can update your patch now. > Here is it. > > dif

Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-20 Thread Kostik Belousov
On Sun, Nov 20, 2011 at 12:40:42PM +0100, Robert Millan wrote: > On Sat, Nov 19, 2011 at 07:56:20PM +0200, Kostik Belousov wrote: > > I fully agree with an idea that compiler is not an authorative source > > of the knowledge of the FreeBSD version. Even more, I argue that we shall > > not rely on c

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-20 Thread Kostik Belousov
On Sun, Nov 20, 2011 at 05:37:33PM +0100, Attilio Rao wrote: > 2011/11/18 Attilio Rao : > > Please consider: > > http://www.freebsd.org/~attilio/mutexfileline2.patch > > This is now committed as r227758,227759, you can update your patch now. Here is it. diff --git a/sys/vm/vm_page.c b/sys/vm/vm_p

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-20 Thread Attilio Rao
2011/11/18 Attilio Rao : > 2011/11/18 Attilio Rao : >> 2011/11/18 Kostik Belousov : >>> On Fri, Nov 18, 2011 at 11:40:28AM +0100, Attilio Rao wrote: 2011/11/16 Kostik Belousov : > On Tue, Nov 15, 2011 at 07:15:01PM +0100, Attilio Rao wrote: >> 2011/11/7 Kostik Belousov : >> > On

Re: Adding disk firmware programming capability to camcontrol

2011-11-20 Thread Pegasus Mc Cleaft
On Sunday 20 November 2011 15:24:41 Andriy Gapon wrote: > > I have tried issuing a TUR to all my drives to see if it was controller > > or drive specific, but all of them return the same error (The drives are > > Seagate, Hitachi and WD). > > > > What am I doing wrong? > > You are sending SCSI co

Re: Adding disk firmware programming capability to camcontrol

2011-11-20 Thread Andriy Gapon
on 20/11/2011 16:54 Pegasus Mc Cleaft said the following: > Hi Nima, > > I have tried your latest patch against current, but I am having > difficulty > getting it to work. I was wondering, is this feature limited to SCSI drives? > I have been trying it against my SATA drives but it look

Re: Adding disk firmware programming capability to camcontrol

2011-11-20 Thread Pegasus Mc Cleaft
Hi Nima, I have tried your latest patch against current, but I am having difficulty getting it to work. I was wondering, is this feature limited to SCSI drives? I have been trying it against my SATA drives but it looks like it is failing on issuing a TUR. IE: feathers# camcontrol

Re: ee (easy editor) bugged on 9.0?

2011-11-20 Thread Jason Edwards
On Sat, Nov 19, 2011 at 6:07 PM, Stefan Bethke wrote: > Am 19.11.2011 um 17:29 schrieb Jason Edwards: > >> Dear list, >> >> Has anyone noticed the easy editor is quite bugged on 9.0? On console >> direct access, opening the easy editor has several bugs: >> >> 1) the cursor starts on line 2 instead

Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-20 Thread Robert Millan
On Sat, Nov 19, 2011 at 07:56:20PM +0200, Kostik Belousov wrote: > I fully agree with an idea that compiler is not an authorative source > of the knowledge of the FreeBSD version. Even more, I argue that we shall > not rely on compiler for this at all. Ideally, we should be able to > build FreeBSD