Re: metadata is incorrect - freebsd-update

2009-09-09 Thread Andreas Rudisch
On Wed, 9 Sep 2009 05:26:13 +
Eitan Adler eitanadlerl...@gmail.com wrote:

 When I try to update to 8.0-BETA3

Try Beta4 instead.
http://lists.freebsd.org/pipermail/freebsd-stable/2009-September/051801.html

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgppeHXonGCW9.pgp
Description: PGP signature


Custom ISOs

2009-09-09 Thread Tim Judd
I'm not sure if this is normal or not, but I'm getting 5.0KB/sec for
two separate downloads each download speed for both the XFCE and Gnome
DVD ISOs.


I am aware that the site is sitting on wikidot.com, and not on
dev-urandom.com anymore, I was wondering if there's a better place I
can grab them from.  I have someone interested in BSD, and was trying
to download all options and let him pick.

With this download, it'll take ME a day or more to download it, then
the time to meet up with this guy.


Any light shed on the slow downloads?

Thanks again, Manolis for ALL your hard work, it is very much appreciated.

--Tim
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Custom ISOs

2009-09-09 Thread Manolis Kiagias
Tim Judd wrote:
 I'm not sure if this is normal or not, but I'm getting 5.0KB/sec for
 two separate downloads each download speed for both the XFCE and Gnome
 DVD ISOs.

   

Weird...
 I am aware that the site is sitting on wikidot.com, and not on
 dev-urandom.com anymore, I was wondering if there's a better place I
 can grab them from.  I have someone interested in BSD, and was trying
 to download all options and let him pick.

   

Not really. Only the web pages are on wikidot, the files are still
hosted in dev-urandom.com

 With this download, it'll take ME a day or more to download it, then
 the time to meet up with this guy.


 Any light shed on the slow downloads?

   
Don't know, but if it is not resolved I'll ping Glen Barber who owns
this space.
I can't test the speed right now myself but will do later and report back.

I do have some alternate space as well, so if the worse comes to the
worst, I could upload one of the ISOs there. It is currently mostly full
but I believe I can trash some things.

 Thanks again, Manolis for ALL your hard work, it is very much appreciated.

   

Thanks Tim, I thoroughly enjoyed creating this stuff.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Using mdconfig for swap space

2009-09-09 Thread Daniel Bye
On Tue, Sep 08, 2009 at 07:52:59PM -0400, Jerry McAllister wrote:
 On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote:
 
  Are there any advantages to using mdconfig and creating a virtual disk for 
  swap space as opposed to having a designated swap partition? For example, I 
  could do something like this:
 
 Unless I am missing something basic here, it seems like a bad idea to 
 me - to carve out and use up some memory to use as extra storage for 
 processes that need more memory that you have taken away to give to swap.  
 That is self defeating.
 
 In addition, one use of swap is to write dumps to if there is a crash. 
 If you put it in memory, it is gone when you reboot.

He's talking about using a swap file, rather than a dedicated partition on 
the disk, not in RAM! Although it is slightly slower, as Chuck has already 
pointed out, it might, in certain circumstances, be a somewhat more 
convenient solution than repartitioning/reinstalling the whole system.

And as RW has said, the facility already exists and can be enabled with a
couple of knobs in /etc/rc.conf.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpMvbL6kGGlc.pgp
Description: PGP signature


Error building net-snmp port

2009-09-09 Thread Ian
I've been building a new 7.2-RELEASE server, putting it into service on 
Friday. I did a portsnap  updated all the ports to the latest version, but 
was unable to upgrade /usr/ports/net-mgmt/net-snmp - see below for output:

===  Building for net-snmp-5.4.2.1_5
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers
making all 
in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/mibgroup
/bin/sh ../../libtool --mode=compile 
cc -I../../include -I. -I../../agent -I../../agent/mibgroup  -I../../snmplib   
-O -pipe -Ufreebsd7 -Dfreebsd7=freebsd7  
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.9/BSDPAN -DHAS_FPSETMASK 
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include  
-I/usr/local/lib/perl5/5.8.9/mach/CORE -c -o 
mibII/tcpTable.lo mibII/tcpTable.c
 
cc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -O 
-pipe -Ufreebsd7 -Dfreebsd7=freebsd7 
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.9/BSDPAN -DHAS_FPSETMASK 
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include 
-I/usr/local/lib/perl5/5.8.9/mach/CORE -c 
mibII/tcpTable.c  -fPIC -DPIC -o mibII/.libs/tcpTable.o
mibII/tcpTable.c: In function 'tcpTable_load':
mibII/tcpTable.c:748: error: dereferencing pointer to incomplete type
mibII/tcpTable.c:750: error: dereferencing pointer to incomplete type
mibII/tcpTable.c:750: error: invalid application of 'sizeof' to incomplete 
type 'struct xinpgen'
mibII/tcpTable.c:754: error: dereferencing pointer to incomplete type
mibII/tcpTable.c:758: error: dereferencing pointer to incomplete type
mibII/tcpTable.c:763: error: dereferencing pointer to incomplete type
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/mibgroup.
*** Error code 1

I tried everything I could think of to fix it - removed CPUTYPE 
from /etc/make.conf, ran make config  de-selected IPV6 support, did a make 
dist clean and let it fetch the source file again, did a make deinstall but 
it still stopped at the same point.

It was installed as a dependency of nut.

Any idea how to fix this?

Cheers,
Ian


-- 
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


signature.asc
Description: This is a digitally signed message part.


RE: Using mdconfig for swap space

2009-09-09 Thread Peter Steele
Thanks for the responses. The reason I'm looking at doing this is that we have 
increased memory on our platform from 4GB to 8GB and therefore have to increase 
swap space from 8GB to 16GB. We have enough space in our /var partition that we 
could add a swap file there and not have to touch the existing partition 
layout. I like the simplicity of the swap file approach, but we have an 
application that is very sensitive to I/O performance and I'm a little wary 
what this could mean. QA I know would have a field day in trying to pound the 
system with all sorts of stress tests. I think a dedicated swap partition is 
probably a safer option.

Peter

-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Daniel Bye
Sent: Wednesday, September 09, 2009 3:57 AM
To: 'freebsd-questions@freebsd.org'
Subject: Re: Using mdconfig for swap space

On Tue, Sep 08, 2009 at 07:52:59PM -0400, Jerry McAllister wrote:
 On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote:
 
  Are there any advantages to using mdconfig and creating a virtual disk for 
  swap space as opposed to having a designated swap partition? For example, I 
  could do something like this:
 
 Unless I am missing something basic here, it seems like a bad idea to 
 me - to carve out and use up some memory to use as extra storage for 
 processes that need more memory that you have taken away to give to swap.
 That is self defeating.
 
 In addition, one use of swap is to write dumps to if there is a crash. 
 If you put it in memory, it is gone when you reboot.

He's talking about using a swap file, rather than a dedicated partition on the 
disk, not in RAM! Although it is slightly slower, as Chuck has already pointed 
out, it might, in certain circumstances, be a somewhat more convenient solution 
than repartitioning/reinstalling the whole system.

And as RW has said, the facility already exists and can be enabled with a 
couple of knobs in /etc/rc.conf.

Dan

--
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Using mdconfig for swap space

2009-09-09 Thread Mel Flynn
On Wednesday 09 September 2009 15:07:37 Peter Steele wrote:
 Thanks for the responses. The reason I'm looking at doing this is that we
 have increased memory on our platform from 4GB to 8GB and therefore have to
 increase swap space from 8GB to 16GB.

No you don't. It's advised, but not mandatory.

 We have enough space in our /var
 partition that we could add a swap file there and not have to touch the
 existing partition layout. I like the simplicity of the swap file approach,
 but we have an application that is very sensitive to I/O performance and
 I'm a little wary what this could mean. QA I know would have a field day in
 trying to pound the system with all sorts of stress tests. I think a
 dedicated swap partition is probably a safer option.

Any I/O bound application suffers from any kind of swap. You would do better 
to first establish how this application suffers once you start swapping. If 
your machine needs more then or even close to 8GB of swap, I doubt the 
applications are responsive to begin with. With 8GB of memory, it's probably 
better to have 2GB of swap, so that offending applications are killed off 
sooner and the machine is able to recover sooner. But - I'm assuming this is a 
server, for a multimedia machine - editing large images or videos - more swap 
is beneficial as inactive images/videos can be swapped out.

-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Using mdconfig for swap space

2009-09-09 Thread Peter Steele
Nowadays having swap twice as RAM is not necessary. If your system wasn't 
swapping much in the past you can safely stay with 4G in my opinion... 
extending it to 16G would be waste of space :)

I won't bore you with the details but in fact our application *does* require 
this much swap space, but not for the typical reasons. It's a side effect of 
how our application works and we thought we could make use of an image file for 
the extra swap rather than repartitioning, but I've read too many warnings 
against going this route so I've decided to stick with increasing the size of 
the swap partition.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Using mdconfig for swap space

2009-09-09 Thread Jerry McAllister
On Wed, Sep 09, 2009 at 11:57:07AM +0100, Daniel Bye wrote:

 On Tue, Sep 08, 2009 at 07:52:59PM -0400, Jerry McAllister wrote:
  On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote:
  
   Are there any advantages to using mdconfig and creating a virtual disk 
   for swap space as opposed to having a designated swap partition? For 
   example, I could do something like this:
  
  Unless I am missing something basic here, it seems like a bad idea to 
  me - to carve out and use up some memory to use as extra storage for 
  processes that need more memory that you have taken away to give to swap.  
  That is self defeating.
  
  In addition, one use of swap is to write dumps to if there is a crash. 
  If you put it in memory, it is gone when you reboot.
 
 He's talking about using a swap file, rather than a dedicated partition on 
 the disk, not in RAM! Although it is slightly slower, as Chuck has already 
 pointed out, it might, in certain circumstances, be a somewhat more 
 convenient solution than repartitioning/reinstalling the whole system.
 
 And as RW has said, the facility already exists and can be enabled with a
 couple of knobs in /etc/rc.conf.

I understand using a file and making it in to swapspace.  I have used that
a couple of times when I needed to add some swap space temporarily.   But 
isn't the command he is trying to use (mdconfig) for creating a memory 
filesystem - eg use a chunk of memory and make a file from it (then use it 
for swap or whatever)?That is in RAM.

jerry

 
 Dan
 
 -- 
 Daniel Bye
  _
   ASCII ribbon campaign ( )
  - against HTML, vCards and  X
 - proprietary attachments in e-mail / \


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Using mdconfig for swap space

2009-09-09 Thread Lowell Gilbert
Peter Steele pste...@maxiscale.com writes:

Nowadays having swap twice as RAM is not necessary. If your system
wasn't swapping much in the past you can safely stay with 4G in my
opinion... extending it to 16G would be waste of space :)

 I won't bore you with the details but in fact our application *does*
 require this much swap space, but not for the typical reasons. It's a
 side effect of how our application works and we thought we could make
 use of an image file for the extra swap rather than repartitioning,
 but I've read too many warnings against going this route so I've
 decided to stick with increasing the size of the swap partition.

It's easy to *try* the swap files.  Then measure the performance.  
If the behaviour is really as specific to your custom application 
as you indicate, then general advice may not apply either.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Using mdconfig for swap space

2009-09-09 Thread Maciej Suszko
Peter Steele pste...@maxiscale.com wrote:
 Thanks for the responses. The reason I'm looking at doing this is
 that we have increased memory on our platform from 4GB to 8GB and
 therefore have to increase swap space from 8GB to 16GB. We have
 enough space in our /var partition that we could add a swap file
 there and not have to touch the existing partition layout. I like the
 simplicity of the swap file approach, but we have an application that
 is very sensitive to I/O performance and I'm a little wary what this
 could mean. QA I know would have a field day in trying to pound the
 system with all sorts of stress tests. I think a dedicated swap
 partition is probably a safer option.

Nowadays having swap twice as RAM is not necessary. If your system
wasn't swapping much in the past you can safely stay with 4G in my
opinion... extending it to 16G would be waste of space :)
-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature


Re: Using mdconfig for swap space

2009-09-09 Thread Lowell Gilbert
Jerry McAllister jerr...@msu.edu writes:

 On Wed, Sep 09, 2009 at 11:57:07AM +0100, Daniel Bye wrote:

 On Tue, Sep 08, 2009 at 07:52:59PM -0400, Jerry McAllister wrote:
  On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote:
  
   Are there any advantages to using mdconfig and creating a virtual disk 
   for swap space as opposed to having a designated swap partition? For 
   example, I could do something like this:
  
  Unless I am missing something basic here, it seems like a bad idea to 
  me - to carve out and use up some memory to use as extra storage for 
  processes that need more memory that you have taken away to give to swap.  
  That is self defeating.
  
  In addition, one use of swap is to write dumps to if there is a crash. 
  If you put it in memory, it is gone when you reboot.
 
 He's talking about using a swap file, rather than a dedicated partition on 
 the disk, not in RAM! Although it is slightly slower, as Chuck has already 
 pointed out, it might, in certain circumstances, be a somewhat more 
 convenient solution than repartitioning/reinstalling the whole system.
 
 And as RW has said, the facility already exists and can be enabled with a
 couple of knobs in /etc/rc.conf.

 I understand using a file and making it in to swapspace.  I have used that
 a couple of times when I needed to add some swap space temporarily.   But 
 isn't the command he is trying to use (mdconfig) for creating a memory 
 filesystem - eg use a chunk of memory and make a file from it (then use it 
 for swap or whatever)?That is in RAM.

Not necessarily.  What he wants is the '-t vnode' option for mdconfig(8).

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Using mdconfig for swap space

2009-09-09 Thread Peter Steele
It's easy to *try* the swap files.  Then measure the performance.  
If the behaviour is really as specific to your custom application as you 
indicate, then general advice may not apply either.

In fact, after discussing this with the team, we are going to do exactly that. 
We'll allocate an extra 8GB of swap space through an image file and let QA run 
their stress tests to see how things behave. That's the only way to know for 
sure if this will work for us.

Thanks for the feedback.

Peter

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Using mdconfig for swap space

2009-09-09 Thread Daniel Bye
On Wed, Sep 09, 2009 at 10:59:23AM -0400, Jerry McAllister wrote:
 On Wed, Sep 09, 2009 at 11:57:07AM +0100, Daniel Bye wrote:
 
  On Tue, Sep 08, 2009 at 07:52:59PM -0400, Jerry McAllister wrote:
   On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote:
   
Are there any advantages to using mdconfig and creating a virtual disk 
for swap space as opposed to having a designated swap partition? For 
example, I could do something like this:
   
   Unless I am missing something basic here, it seems like a bad idea to 
   me - to carve out and use up some memory to use as extra storage for 
   processes that need more memory that you have taken away to give to swap. 

   That is self defeating.
   
   In addition, one use of swap is to write dumps to if there is a crash. 
   If you put it in memory, it is gone when you reboot.
  
  He's talking about using a swap file, rather than a dedicated partition on 
  the disk, not in RAM! Although it is slightly slower, as Chuck has already 
  pointed out, it might, in certain circumstances, be a somewhat more 
  convenient solution than repartitioning/reinstalling the whole system.
  
  And as RW has said, the facility already exists and can be enabled with a
  couple of knobs in /etc/rc.conf.
 
 I understand using a file and making it in to swapspace.  I have used that
 a couple of times when I needed to add some swap space temporarily.   But 
 isn't the command he is trying to use (mdconfig) for creating a memory 
 filesystem - eg use a chunk of memory and make a file from it (then use it 
 for swap or whatever)?That is in RAM.

No, with the -t vnode and -f filename options, he'd actually be creating
a file-backed memory disk. The terminology can be a little confusing, but
in this instance the file wouldn't be loaded into RAM, but would instead
be treated as any other disk-like device. It's exactly the same approach
as used by /etc/rc.d/addswap, which gets its configuration from $swapfile
set in /etc/rc.conf.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpucoDWr6Wwu.pgp
Description: PGP signature


Re: Using mdconfig for swap space

2009-09-09 Thread Jerry McAllister
On Wed, Sep 09, 2009 at 11:23:14AM -0400, Lowell Gilbert wrote:

 Jerry McAllister jerr...@msu.edu writes:
 
  On Wed, Sep 09, 2009 at 11:57:07AM +0100, Daniel Bye wrote:
 
  On Tue, Sep 08, 2009 at 07:52:59PM -0400, Jerry McAllister wrote:
   On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote:
   
Are there any advantages to using mdconfig and creating a virtual disk 
for swap space as opposed to having a designated swap partition? For 
example, I could do something like this:
   
   Unless I am missing something basic here, it seems like a bad idea to 
   me - to carve out and use up some memory to use as extra storage for 
   processes that need more memory that you have taken away to give to 
   swap.  
   That is self defeating.
   
   In addition, one use of swap is to write dumps to if there is a crash. 
   If you put it in memory, it is gone when you reboot.
  
  He's talking about using a swap file, rather than a dedicated partition on 
  the disk, not in RAM! Although it is slightly slower, as Chuck has already 
  pointed out, it might, in certain circumstances, be a somewhat more 
  convenient solution than repartitioning/reinstalling the whole system.
  
  And as RW has said, the facility already exists and can be enabled with a
  couple of knobs in /etc/rc.conf.
 
  I understand using a file and making it in to swapspace.  I have used that
  a couple of times when I needed to add some swap space temporarily.   But 
  isn't the command he is trying to use (mdconfig) for creating a memory 
  filesystem - eg use a chunk of memory and make a file from it (then use it 
  for swap or whatever)?That is in RAM.
 
 Not necessarily.  What he wants is the '-t vnode' option for mdconfig(8).

Hmmm.   Haven't dealt with that before.   
Still seems like either a regular file or a dedicated partition
would be best.

jerry


 
 -- 
 Lowell Gilbert, embedded/networking software engineer, Boston area
   http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


7.2-RELEASE kbdmux

2009-09-09 Thread Chris Knipe
Hi,

I've just checked out 7.2-RELEASE from CVS.  My build world was successful,
but I am failing on compiling the stock standard GENERIC kernel that comes
out of CVS.

=== kbdmux (all)
cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc
-DHAVE_KERNEL_OPTION_HEADERS -include
/usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/GENERIC
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow
-mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c
/usr/src/sys/modules/kbdmux/../../dev/kbdmux/kbdmux.c
/usr/src/sys/modules/kbdmux/../../dev/kbdmux/kbdmux.c:127:8: error: macro
names must be identifiers
/usr/src/sys/modules/kbdmux/../../dev/kbdmux/kbdmux.c: In function
'kbdmux_kbd_event':
/usr/src/sys/modules/kbdmux/../../dev/kbdmux/kbdmux.c:261: warning: implicit
declaration of function 'KBDMUX_CHECK_CHAR'
/usr/src/sys/modules/kbdmux/../../dev/kbdmux/kbdmux.c:261: warning: nested
extern declaration of 'KBDMUX_CHECK_CHAR'
*** Error code 1


This is a stock standard cvsup'ed machine, nothing changed, altered, added,
or removed.  Any help appreciated.

--
Chris.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Using mdconfig for swap space

2009-09-09 Thread Jerry McAllister
On Wed, Sep 09, 2009 at 04:46:56PM +0100, Daniel Bye wrote:

 On Wed, Sep 09, 2009 at 10:59:23AM -0400, Jerry McAllister wrote:
  On Wed, Sep 09, 2009 at 11:57:07AM +0100, Daniel Bye wrote:
  
   On Tue, Sep 08, 2009 at 07:52:59PM -0400, Jerry McAllister wrote:
On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote:

 Are there any advantages to using mdconfig and creating a virtual 
 disk for swap space as opposed to having a designated swap partition? 
 For example, I could do something like this:

Unless I am missing something basic here, it seems like a bad idea to 
me - to carve out and use up some memory to use as extra storage for 
processes that need more memory that you have taken away to give to 
swap.  
That is self defeating.

In addition, one use of swap is to write dumps to if there is a crash. 
If you put it in memory, it is gone when you reboot.
   
   He's talking about using a swap file, rather than a dedicated partition 
   on 
   the disk, not in RAM! Although it is slightly slower, as Chuck has 
   already 
   pointed out, it might, in certain circumstances, be a somewhat more 
   convenient solution than repartitioning/reinstalling the whole system.
   
   And as RW has said, the facility already exists and can be enabled with a
   couple of knobs in /etc/rc.conf.
  
  I understand using a file and making it in to swapspace.  I have used that
  a couple of times when I needed to add some swap space temporarily.   But 
  isn't the command he is trying to use (mdconfig) for creating a memory 
  filesystem - eg use a chunk of memory and make a file from it (then use it 
  for swap or whatever)?That is in RAM.
 
 No, with the -t vnode and -f filename options, he'd actually be creating
 a file-backed memory disk. The terminology can be a little confusing, but
 in this instance the file wouldn't be loaded into RAM, but would instead
 be treated as any other disk-like device. It's exactly the same approach
 as used by /etc/rc.d/addswap, which gets its configuration from $swapfile
 set in /etc/rc.conf.

I see that now, but it seems like the long way around to
get to what you get with a swapon.
Oh well.

jerry


 
 Dan
 
 -- 
 Daniel Bye
  _
   ASCII ribbon campaign ( )
  - against HTML, vCards and  X
 - proprietary attachments in e-mail / \


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Regex Help - Greedy vs. Non-Greedy

2009-09-09 Thread Drew Tomlinson

I'm trying to do a search and replace in vim.  I have lines like this:
http://site1/dir/;
http://site2/dir/;LastName, FirstName;Phone;
http://site3/dir/;LastName, FirstName;
http://site4/dir/;

I'm want to match http:* and stop matching at the first ;.  My basic 
regex is:


/http:.\+;/

But it's matching *all* the semi-colons.  Thus I've Googled and tried 
various incatations to try and make my regex non-greedy but I can't 
seem to come up with the correct combination.


How can I write a regex that stops matching at the first semi-colon?

Thanks,

Drew

--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Regex Help - Greedy vs. Non-Greedy

2009-09-09 Thread Daniel Bye
On Wed, Sep 09, 2009 at 09:15:25AM -0700, Drew Tomlinson wrote:
 I'm trying to do a search and replace in vim.  I have lines like this:
 http://site1/dir/;
 http://site2/dir/;LastName, FirstName;Phone;
 http://site3/dir/;LastName, FirstName;
 http://site4/dir/;
 
 I'm want to match http:* and stop matching at the first ;.  My basic 
 regex is:
 
 /http:.\+;/
 
 But it's matching *all* the semi-colons.  Thus I've Googled and tried 
 various incatations to try and make my regex non-greedy but I can't 
 seem to come up with the correct combination.
 
 How can I write a regex that stops matching at the first semi-colon?

Tested in vi, not vim:

 /http:[^;]*/

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgphr4aSkzZCA.pgp
Description: PGP signature


Re: Regex Help - Greedy vs. Non-Greedy

2009-09-09 Thread Mel Flynn
On Wednesday 09 September 2009 18:15:25 Drew Tomlinson wrote:
 I'm trying to do a search and replace in vim.  I have lines like this:
 http://site1/dir/;
 http://site2/dir/;LastName, FirstName;Phone;
 http://site3/dir/;LastName, FirstName;
 http://site4/dir/;

 I'm want to match http:* and stop matching at the first ;.  My basic
 regex is:

 /http:.\+;/

 But it's matching *all* the semi-colons.  Thus I've Googled and tried
 various incatations to try and make my regex non-greedy but I can't
 seem to come up with the correct combination.

 How can I write a regex that stops matching at the first semi-colon?

AFAIK, there's no greediness modifier in vim regex. However, you can use 
character classes to solve your problem:

%s/http:[^;]\+/foo/g
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Regex Help - Greedy vs. Non-Greedy

2009-09-09 Thread Drew Tomlinson

Daniel Bye wrote:

On Wed, Sep 09, 2009 at 09:15:25AM -0700, Drew Tomlinson wrote:
  

I'm trying to do a search and replace in vim.  I have lines like this:
http://site1/dir/;
http://site2/dir/;LastName, FirstName;Phone;
http://site3/dir/;LastName, FirstName;
http://site4/dir/;

I'm want to match http:* and stop matching at the first ;.  My basic 
regex is:


/http:.\+;/

But it's matching *all* the semi-colons.  Thus I've Googled and tried 
various incatations to try and make my regex non-greedy but I can't 
seem to come up with the correct combination.


How can I write a regex that stops matching at the first semi-colon?



Tested in vi, not vim:

 /http:[^;]*/

Dan
  


Thanks for your reply.  I tried it in vim (or more specifically, gvim 
7.2) and your example matches all semi-colons.  However in vi, it does 
stop at the first semi-colon as you say.


Can anyone please explain the difference?

Thanks,

Drew

--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Regex Help - Greedy vs. Non-Greedy

2009-09-09 Thread Drew Tomlinson

Drew Tomlinson wrote:

Daniel Bye wrote:

On Wed, Sep 09, 2009 at 09:15:25AM -0700, Drew Tomlinson wrote:
 

I'm trying to do a search and replace in vim.  I have lines like this:
http://site1/dir/;
http://site2/dir/;LastName, FirstName;Phone;
http://site3/dir/;LastName, FirstName;
http://site4/dir/;

I'm want to match http:* and stop matching at the first ;.  My 
basic regex is:


/http:.\+;/

But it's matching *all* the semi-colons.  Thus I've Googled and 
tried various incatations to try and make my regex non-greedy but 
I can't seem to come up with the correct combination.


How can I write a regex that stops matching at the first semi-colon?



Tested in vi, not vim:

 /http:[^;]*/

Dan
  


Thanks for your reply.  I tried it in vim (or more specifically, gvim 
7.2) and your example matches all semi-colons.  However in vi, it does 
stop at the first semi-colon as you say.


Can anyone please explain the difference?

Thanks,

Drew

Never mind.  My mistake.  The above does work in gvim.  I had a . 
(dot) after http:.


Thanks Mel  Dan!

Cheers,

Drew

--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


System crashed need some help troubleshooting

2009-09-09 Thread Graeme Dargie
Hi All,

 

 

I have a server in the house that has been running away fine, I noticed
today that it had rebooted 17hours or so ago, looking a little further
it also looks like it had rebooted around 23hours previously.

 

 

 

panic: kmem_malloc(131072): kmem_map too small: 505761792 total
allocated

cpuid = 0

Uptime: 23h56m0s

Physical memory: 4017 MB

Dumping 1149 MB: 1134 1118 1102 1086 1070 1054 1038 1022 1006 990 974
958 942 926 910 894 878 862 846 830 814 798 782 766 750 734 718 702 686
670 654 638 622

 

I found the above in the /var/log/dmesg.yesterday 

 

 

I could use some advice on how to troubleshoot on what is going on with
this machine.

 

 

Regards

 

Graeme

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Regex Help - Greedy vs. Non-Greedy

2009-09-09 Thread Bob Hall
On Wed, Sep 09, 2009 at 09:15:25AM -0700, Drew Tomlinson wrote:
 I'm trying to do a search and replace in vim.  I have lines like this:
 http://site1/dir/;
 http://site2/dir/;LastName, FirstName;Phone;
 http://site3/dir/;LastName, FirstName;
 http://site4/dir/;
 
 I'm want to match http:* and stop matching at the first ;.  My basic 
 regex is:
 
 /http:.\+;/

Use {-} in place of +.

/http:.\{-};/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


VirtualBox not opening... from 7.2 STABLE, (GUI KDE 3.5)

2009-09-09 Thread Jeronimo Calvo
Hi Folks!!

I did compile VirtualBox, and followed the instructions under

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/virtualization-host.html

But I am getting following error when launched from the terminal:

 # VirtualBox
 No protocol specified
 Failed to open the X11 display!

When used the Icon created on SystemVirtualBox (Using KDE 3.5)

Using uname -a:

 FreeBSD  7.2-STABLE FreeBSD 7.2-STABLE #1: Sat Aug 29 15:04:29 UTC 2009 
 root@:/usr/obj/usr/src/sys/GENERIC  amd64


Seems to open for few secs... and suddenly disappears...

Any ideas?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: setquota + geli

2009-09-09 Thread Jacques Manukyan

Stefan Miklosovic wrote:

hi,

I would like to set some quotas with setquota
on crypted disk with geli, but if I want to do so -

/etc/fstab
/dev/ad0s2f.eli /home   ufs
rw,noatime,userquota,groupquota 2   2

/etc/rc.conf
enable_quotas=YES

I can edit quotas by edquota, but with setquota command it is impossible

~# setquota -u -f /dev/ad0s2f.eli -bh1 stewe
setquota : /dev/ad0s2f.eli is not a valid filesystem.
  

Doing the following should work just fine:

~# setquota -u -f /home -bh1 stewe


does setquota support encrypted disks?
what should I do?

thank you
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
  


Setquota supports any UFS based file system it doesn't matter that the 
disk is encrypted or not. Just run the above command and it should work.


-- Jacques Manukyan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Regex Help - Greedy vs. Non-Greedy

2009-09-09 Thread George Davidovich
On Wed, Sep 09, 2009 at 09:15:25AM -0700, Drew Tomlinson wrote:
 I'm trying to do a search and replace in vim.  I have lines like this:
 http://site1/dir/;
 http://site2/dir/;LastName, FirstName;Phone;
 http://site3/dir/;LastName, FirstName;
 http://site4/dir/;
 
 I'm want to match http:* and stop matching at the first ;.  My basic 
 regex is:
 
 /http:.\+;/
 
 But it's matching *all* the semi-colons.  Thus I've Googled and tried 
 various incatations to try and make my regex non-greedy but I can't 
 seem to come up with the correct combination.

LOL.  Do yourself a favour and stop Googling.  Vim has a built-in help
system.  To access help for regular expressions:

  :help regexp
  :he regexp
  :he r[TAB] ...

and search for non-greedy (or just scroll down).

 How can I write a regex that stops matching at the first semi-colon?

You've already received a few answers, but I'll add one that may be even
better -- rely on external programs instead.  Vim can be a bit clunky at
times.

The simplest and most typical usage would be

  :[range] !command 

If using Perl  

  $ perldoc -h
  $ perldoc -q regex

-- 
George

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Custom ISOs

2009-09-09 Thread Al Plant

Manolis Kiagias wrote:

Tim Judd wrote:

I'm not sure if this is normal or not, but I'm getting 5.0KB/sec for
two separate downloads each download speed for both the XFCE and Gnome
DVD ISOs.

  


Weird...

I am aware that the site is sitting on wikidot.com, and not on
dev-urandom.com anymore, I was wondering if there's a better place I
can grab them from.  I have someone interested in BSD, and was trying
to download all options and let him pick.

  


Not really. Only the web pages are on wikidot, the files are still
hosted in dev-urandom.com


With this download, it'll take ME a day or more to download it, then
the time to meet up with this guy.


Any light shed on the slow downloads?

  

Don't know, but if it is not resolved I'll ping Glen Barber who owns
this space.
I can't test the speed right now myself but will do later and report back.

I do have some alternate space as well, so if the worse comes to the
worst, I could upload one of the ISOs there. It is currently mostly full
but I believe I can trash some things.


Thanks again, Manolis for ALL your hard work, it is very much appreciated.

  


Thanks Tim, I thoroughly enjoyed creating this stuff.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


##

Aloha,

Download was fine from here in Hawaii when I have used it in the past.

I have a 1.5 DSL circuit down. Hawaii is not the fastest place on the 
planet usually. I would check Tim's provider side. I know of several 
mainland friends who have slow cable TV lines.


Hope you find the issue and can get it resolved.

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Correct way to configure an IP range for firewall

2009-09-09 Thread Maxim Khitrov
Hello all,

A quick question - I have a /29 block of IPs that needs to be handled
by a firewall I'm setting up. Two addresses are lost to broadcast and
network, one is the ISP gateway, so we end up with 5 usable IPs that
can be assigned to the external interface. The question is how to do
this correctly?

I want only one of the addresses assigned to the firewall itself,
another will be used as the public nat address for all hosts on the
lan. Remaining three addresses will be used as bidirectional nat for
servers.

Am I correct in assuming that I just need to add four
ifconfig_vr0_alias[0-3] lines to rc.conf? What happens if in the
future we get a much bigger IP block, is there a more efficient way of
accomplishing the same thing? I don't actually want the firewall to
consider itself the final destination for any of the additional IPs,
it just needs to pass them to pf for nat and filtering.

- Max
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Custom ISOs

2009-09-09 Thread Manolis Kiagias
Al Plant wrote:
 Manolis Kiagias wrote:
 Tim Judd wrote:
 I'm not sure if this is normal or not, but I'm getting 5.0KB/sec for
 two separate downloads each download speed for both the XFCE and Gnome
 DVD ISOs.

   

 Weird...
 I am aware that the site is sitting on wikidot.com, and not on
 dev-urandom.com anymore, I was wondering if there's a better place I
 can grab them from.  I have someone interested in BSD, and was trying
 to download all options and let him pick.

   

 Not really. Only the web pages are on wikidot, the files are still
 hosted in dev-urandom.com

 With this download, it'll take ME a day or more to download it, then
 the time to meet up with this guy.


 Any light shed on the slow downloads?

   
 Don't know, but if it is not resolved I'll ping Glen Barber who owns
 this space.
 I can't test the speed right now myself but will do later and report
 back.

 I do have some alternate space as well, so if the worse comes to the
 worst, I could upload one of the ISOs there. It is currently mostly full
 but I believe I can trash some things.

 Thanks again, Manolis for ALL your hard work, it is very much
 appreciated.

   

 Thanks Tim, I thoroughly enjoyed creating this stuff.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

 ##

 Aloha,

 Download was fine from here in Hawaii when I have used it in the past.

 I have a 1.5 DSL circuit down. Hawaii is not the fastest place on the
 planet usually. I would check Tim's provider side. I know of several
 mainland friends who have slow cable TV lines.

 Hope you find the issue and can get it resolved.


And I can confirm that it maxes out my connection here.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Correct way to configure an IP range for firewall

2009-09-09 Thread Matthew Seaman

Maxim Khitrov wrote:


Am I correct in assuming that I just need to add four
ifconfig_vr0_alias[0-3] lines to rc.conf? What happens if in the
future we get a much bigger IP block, is there a more efficient way of
accomplishing the same thing? I don't actually want the firewall to
consider itself the final destination for any of the additional IPs,
it just needs to pass them to pf for nat and filtering.


Assuming your assigned network is 192.0.2.24/29:

ipv4_addrs_vr0=192.0.2.25-30

See rc.conf(5) for details.

Cheers,

Matthew


--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Correct way to configure an IP range for firewall

2009-09-09 Thread Al Plant

Maxim Khitrov wrote:

Hello all,

A quick question - I have a /29 block of IPs that needs to be handled
by a firewall I'm setting up. Two addresses are lost to broadcast and
network, one is the ISP gateway, so we end up with 5 usable IPs that
can be assigned to the external interface. The question is how to do
this correctly?

I want only one of the addresses assigned to the firewall itself,
another will be used as the public nat address for all hosts on the
lan. Remaining three addresses will be used as bidirectional nat for
servers.

Am I correct in assuming that I just need to add four
ifconfig_vr0_alias[0-3] lines to rc.conf? What happens if in the
future we get a much bigger IP block, is there a more efficient way of
accomplishing the same thing? I don't actually want the firewall to
consider itself the final destination for any of the additional IPs,
it just needs to pass them to pf for nat and filtering.

- Max
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Aloha Max,

What you have sounds like an ATM ( Asynchronous Transfer Mode ) circuit. 
I have one here that is for three servers a desktop and one spare IP.


I got the setup from Michael Paoli at cal.berkely.edu in California.

With setup I had to put firewalls (PF) on the three servers facing the 
internet and the desktop as well. There are 2 references I used for this 
firewall setup. Absolute FerrBSD - M. Lucas Pg. 273 and bsdly.bet Peter 
Hansteen. Both are on this list.


If you would like to see the three sheets on how I set this up I can fax 
them to you or email.


The setup for more IP's should be scalable but the IP's and default 
route would change I would think. You could keep using /29 ATM blocks 
and increase in increments with different IP's most likely with out 
changing the first ones.




~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Custom ISOs

2009-09-09 Thread Tim Judd
On 9/9/09, Manolis Kiagias son...@otenet.gr wrote:
 Al Plant wrote:
 Manolis Kiagias wrote:
 Tim Judd wrote:
 I'm not sure if this is normal or not, but I'm getting 5.0KB/sec for
 two separate downloads each download speed for both the XFCE and Gnome
 DVD ISOs.



 Weird...
 I am aware that the site is sitting on wikidot.com, and not on
 dev-urandom.com anymore, I was wondering if there's a better place I
 can grab them from.  I have someone interested in BSD, and was trying
 to download all options and let him pick.



 Not really. Only the web pages are on wikidot, the files are still
 hosted in dev-urandom.com

 With this download, it'll take ME a day or more to download it, then
 the time to meet up with this guy.


 Any light shed on the slow downloads?


 Don't know, but if it is not resolved I'll ping Glen Barber who owns
 this space.
 I can't test the speed right now myself but will do later and report
 back.

 I do have some alternate space as well, so if the worse comes to the
 worst, I could upload one of the ISOs there. It is currently mostly full
 but I believe I can trash some things.

 Thanks again, Manolis for ALL your hard work, it is very much
 appreciated.



 Thanks Tim, I thoroughly enjoyed creating this stuff.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

 ##

 Aloha,

 Download was fine from here in Hawaii when I have used it in the past.

 I have a 1.5 DSL circuit down. Hawaii is not the fastest place on the
 planet usually. I would check Tim's provider side. I know of several
 mainland friends who have slow cable TV lines.

 Hope you find the issue and can get it resolved.


 And I can confirm that it maxes out my connection here.



Apparently was just a temp thing -- it looks like it had finished in
~40 minutes, but I started the download, wrote the mail, and then went
to bed.  Apparently it normalized.

Sorry for the disruption.

--TJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: netbooks for freebsd?

2009-09-09 Thread Steve Franks
 I like my s10e too - but remember I don't have native wireless, I'm using 
 ndis. There are also some acpi glitches which the currently available patch 
 only partially resolves.

re: acpi patch: Fascinating - now it reboots instead of
hanginggonna try current one of these days...

As far as ditching ndis, I got one of these, and I'm quite happy with it:

OxfordTEC.com
Detailed Invoice:
https://www.oxfordtec.com/us/account_history_info.php?order_id=XYZPDQ
1 x SparkLAN WPEA-165G miniPCI Wireless card - Atheros AR5006EG
AR2423A mini PCI-E, mPCIe adapter (WPEA165G-S0) = $24.95


Best,
Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


are there any notebooks with mouse-sticks?

2009-09-09 Thread Gary Kline

I'm looking for a small computer, 7-10 screen that has a ThinkPad-like stick
to act as the mouse.  Pref'ly, no touch-pad.  The ASUS and just about every 
other
notebook-size device has this kind of scratch-n-sniff pad; unfortunately, it 
looks
as tho my palm would go there.  (I *did* see a separate mouse [and other 
add-ons]
for the EEE; that might be a work around.)

Any clues?

gary

ps: just thought i'd ask here first... .


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 5.67a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Sound in FreeBSD

2009-09-09 Thread Алексей Михайлович
I want play *.mp3 in to FreeBSD

My system data
uname -a:
 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed Nov 26 11:43:51 UTC 2008 
r...@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

my sound driver:
snd_hda

$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: Intel 82801I High Definition Audio Controller at memory 0xf302 
irq 22 kld snd_hda   [20071129_0050] (1p/1r/1v channels duplex default)
pcm1: ATI (Unknown) High Definition Audio Controller at memory 0xf101 irq 
17 kld snd_hda [20071129_0050] (mixer only)  

my steps for auto load :
 1 ee /boot/loader.conf
#Sound Driver
snd_hda_load=YES (man snd_hda)
 2 reboot
 3 login
 4 kldstat
result kldstat:
Id Refs AddressSize Name
 17 0xc040 7c89e8   kernel
 21 0xc0bc9000 5c894acpi.ko
 31 0xc8dcc000 2000 fire_saver.ko
 41 0xc948a000 12000snd_hda.ko
 51 0xc949c000 1d000sound.ko

sound driver was loader 

I run X server: startx 
  and... the sound is not present

Next i press Ctrl+Alt+Backspace (down X)

Manually I do an unloading and loading
   $ kldunload snd_hda
   $ kldload snd_hda

After these actions all works

Why the such occurs 
Thanks

  





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Sound in FreeBSD

2009-09-09 Thread Glen Barber
Hi.

2009/9/9 Алексей Михайлович merfi...@bk.ru:
 I want play *.mp3 in to FreeBSD

 My system data
 uname -a:
  6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed Nov 26 11:43:51 UTC 2008     
 r...@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

 my sound driver:
    snd_hda

    $ cat /dev/sndstat
    FreeBSD Audio Driver (newpcm)
    Installed devices:
    pcm0: Intel 82801I High Definition Audio Controller at memory 0xf302 
 irq 22 kld snd_hda   [20071129_0050] (1p/1r/1v channels duplex default)
 pcm1: ATI (Unknown) High Definition Audio Controller at memory 0xf101 
 irq 17 kld snd_hda [20071129_0050] (mixer only)

 my steps for auto load :
  1 ee /boot/loader.conf
    #Sound Driver
    snd_hda_load=YES (man snd_hda)
  2 reboot
  3 login
  4 kldstat
    result kldstat:
 Id Refs Address    Size     Name
  1    7 0xc040 7c89e8   kernel
  2    1 0xc0bc9000 5c894    acpi.ko
  3    1 0xc8dcc000 2000     fire_saver.ko
  4    1 0xc948a000 12000    snd_hda.ko
  5    1 0xc949c000 1d000    sound.ko

 sound driver was loader

 I run X server: startx
  and... the sound is not present

 Next i press Ctrl+Alt+Backspace (down X)

 Manually I do an unloading and loading
   $ kldunload snd_hda
   $ kldload snd_hda

 After these actions all works

 Why the such occurs
 Thanks



What is the output of mixer(8) before and after X is started?

Also, what window manager / desktop environment are you using?

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: are there any notebooks with mouse-sticks?

2009-09-09 Thread Chad Perrin
On Wed, Sep 09, 2009 at 02:08:36PM -0700, Gary Kline wrote:
 
 I'm looking for a small computer, 7-10 screen that has a ThinkPad-like stick
 to act as the mouse.  Pref'ly, no touch-pad.  The ASUS and just about every 
 other
 notebook-size device has this kind of scratch-n-sniff pad; unfortunately, it 
 looks
 as tho my palm would go there.  (I *did* see a separate mouse [and other 
 add-ons]
 for the EEE; that might be a work around.)

I sympathize with your desire for a trackpoint (instead of a touchpad),
and this is one reason I keep getting ThinkPads for my laptops.
Unfortunately, I don't know of any netbooks that come with trackpoints.
I hope you get an answer on this list so I'll get one as well (with the
obvious preference for FreeBSD, or at least *some* BSD Unix,
compatibility).

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Philip Machanick: caution: if you write code like this,
immediately after you are fired the person assigned to maintaining your
code after you leave will resign


pgpc3wdufcET5.pgp
Description: PGP signature


Re: are there any notebooks with mouse-sticks?

2009-09-09 Thread Al Plant

Chad Perrin wrote:

On Wed, Sep 09, 2009 at 02:08:36PM -0700, Gary Kline wrote:

I'm looking for a small computer, 7-10 screen that has a ThinkPad-like stick
to act as the mouse.  Pref'ly, no touch-pad.  The ASUS and just about every 
other
notebook-size device has this kind of scratch-n-sniff pad; unfortunately, it 
looks
as tho my palm would go there.  (I *did* see a separate mouse [and other 
add-ons]
for the EEE; that might be a work around.)


I sympathize with your desire for a trackpoint (instead of a touchpad),
and this is one reason I keep getting ThinkPads for my laptops.
Unfortunately, I don't know of any netbooks that come with trackpoints.
I hope you get an answer on this list so I'll get one as well (with the
obvious preference for FreeBSD, or at least *some* BSD Unix,
compatibility).


Aloha Gary,

The HP Mini 1000 has a pad and it is not good. If I accidentally brush 
it with a finger it acts as a click same as the mouse buttons do. I 
think this is a terrible feature. ( No way to kill it either I checked. 
)I thought it was because I have large hands, but Julie has trouble too 
so she brought out a USB wireless logitech mouse from her stash of stuff 
and it works fine.


Good Luck...

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


DVD-R not recording .iso

2009-09-09 Thread Al Plant

Aloha,

on FreeBSD 8 Current

I have installed growisofs. I want to burn a DVD R of 
/path/7.2-RELEASE-p1-i386-disc1.iso .


#growisofs -dvd-compat -Z /dev/cd0=/path/7.2-RELEASE-p1-i386-disc1.iso .

Got this from FreeBSD handbook. Get no such file or directory error. 
Whats wrong with the syntax?


Is this the correct way to copy an .iso onto a DVD-R for installs?

Or can I just use burncd like somebody on the BSD forum said they did?

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: DVD-R not recording .iso

2009-09-09 Thread Adam Vande More
On Wed, Sep 9, 2009 at 9:02 PM, Al Plant n...@hdk5.net wrote:

 Aloha,

 on FreeBSD 8 Current

 I have installed growisofs. I want to burn a DVD R of
 /path/7.2-RELEASE-p1-i386-disc1.iso .

 #growisofs -dvd-compat -Z /dev/cd0=/path/7.2-RELEASE-p1-i386-disc1.iso .

 Got this from FreeBSD handbook. Get no such file or directory error. Whats
 wrong with the syntax?

 Is this the correct way to copy an .iso onto a DVD-R for installs?

 Or can I just use burncd like somebody on the BSD forum said they did?

 ~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740

do you have this in /boot/loader.conf?

atapicam_load=YES

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: DVD-R not recording .iso

2009-09-09 Thread Chris Hill

On Wed, 9 Sep 2009, Al Plant wrote:


Aloha,

on FreeBSD 8 Current

I have installed growisofs. I want to burn a DVD R of 
/path/7.2-RELEASE-p1-i386-disc1.iso .


#growisofs -dvd-compat -Z /dev/cd0=/path/7.2-RELEASE-p1-i386-disc1.iso .

Got this from FreeBSD handbook. Get no such file or directory error. Whats 
wrong with the syntax?


Caveats about anything I say: 1) I'm using 7.2, and b) I'm using +R media.

Nothing is wrong with the syntax, although your command above says the ISO 
file is in a directory called /path. Does the directory exist? Is the ISO 
in that directory? Permissions OK on everything? Does /dev/cd0 point to 
your burner? And as Adam said, make sure you have atapicam loaded.


I'm also assuming that dot at the end of your line is a period at the end 
of your sentence, and not part of the command you issued.



Is this the correct way to copy an .iso onto a DVD-R for installs?


It burns the ISO to the disk as a premastered disk, which is what you want 
in this situation. If you wanted to just copy the ISO as a file, you'd 
replace the = sign with a space.



Or can I just use burncd like somebody on the BSD forum said they did?


I have no idea what somebody on the BSD forum said  :^)

HTH. Hang loose.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


7.2-RELEASE/amd64 - weird stuff in dmesg

2009-09-09 Thread Alex R

Hi everyone,

I was wondering whether anyone could shed some light on the following 
messages I am seeing in dmesg:




33aarrpp::  uunnkknnoowwnn  hhaarrddwwaarree  aaress format (0x)
ress format (0x)
arp: unakrnpo:w nu nhkanrodwwna rhea raddwdarrees sa dfdorremsast  
f(o0rxm0a0t0 0()0

x
)
arp:3 uanrkpn:o wunn khnaorwdnw ahraer dawdadrree sasd dfroersmsa tf 
o(r0mxat0 0(00x000)0

0
)
arp: unknown hardware address format (0xarp:0 7u0n0k)n
o
wn hardware address format (0x0700)
aarrpp::  uunnkknnoowwnn  hhaarrddwwaarree  aarree  
ffoorrmmaatt  ((00xx0077))


--

Any ideas whats with the jumbled/double letters? Is there something 
wrong with the machine or is it a bug in the OS? I have seen similar 
symptoms on SMP enabled boxes when shutting down if 2 processes call 
kprintf() or printf() at the same time, it results in garbled output.


Should i turn a blind eye to this?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: are there any notebooks with mouse-sticks?

2009-09-09 Thread Gary Kline
On Wed, Sep 09, 2009 at 02:50:01PM -1000, Al Plant wrote:
 Chad Perrin wrote:
 On Wed, Sep 09, 2009 at 02:08:36PM -0700, Gary Kline wrote:
 I'm looking for a small computer, 7-10 screen that has a ThinkPad-like 
 stick
 to act as the mouse.  Pref'ly, no touch-pad.  The ASUS and just about 
 every other
 notebook-size device has this kind of scratch-n-sniff pad; unfortunately, 
 it looks
 as tho my palm would go there.  (I *did* see a separate mouse [and other 
 add-ons]
 for the EEE; that might be a work around.)
 
 I sympathize with your desire for a trackpoint (instead of a touchpad),
 and this is one reason I keep getting ThinkPads for my laptops.
 Unfortunately, I don't know of any netbooks that come with trackpoints.
 I hope you get an answer on this list so I'll get one as well (with the
 obvious preference for FreeBSD, or at least *some* BSD Unix,
 compatibility).
 
 Aloha Gary,
 
 The HP Mini 1000 has a pad and it is not good. If I accidentally brush 
 it with a finger it acts as a click same as the mouse buttons do. I 
 think this is a terrible feature. ( No way to kill it either I checked. 
 )I thought it was because I have large hands, but Julie has trouble too 
 so she brought out a USB wireless logitech mouse from her stash of stuff 
 and it works fine.
 

Aloha Al [and Chad also],

I fat-finger any of these mico-telephone keys[!]; it's worse yet if 
my finger spasms or even twitches.  Really, with one hand, my hand 
has to go smack in the middle of these small computers.  Which is 
where the touch pads are according to the pix.  

Are you saying that you can use your HP with the wireless mouse and
still miss the pad most of the time?

I checked out the ASUS extras, including the mouse and optical drive.
Anybody on-list know if the EE touchpad can be completely disabled 
via the hardware setup/config?  

gary



 Good Luck...
 
 ~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
   + http://hawaiidakine.com + http://freebsdinfo.org +
   + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
email: n...@hdk5.net 
 All that's really worth doing is what we do for others.- Lewis Carrol
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 5.67a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: are there any notebooks with mouse-sticks?

2009-09-09 Thread Al Plant

Gary Kline wrote:

On Wed, Sep 09, 2009 at 02:50:01PM -1000, Al Plant wrote:

Chad Perrin wrote:

On Wed, Sep 09, 2009 at 02:08:36PM -0700, Gary Kline wrote:
I'm looking for a small computer, 7-10 screen that has a ThinkPad-like 
stick
to act as the mouse.  Pref'ly, no touch-pad.  The ASUS and just about 
every other
notebook-size device has this kind of scratch-n-sniff pad; unfortunately, 
it looks
as tho my palm would go there.  (I *did* see a separate mouse [and other 
add-ons]

for the EEE; that might be a work around.)

I sympathize with your desire for a trackpoint (instead of a touchpad),
and this is one reason I keep getting ThinkPads for my laptops.
Unfortunately, I don't know of any netbooks that come with trackpoints.
I hope you get an answer on this list so I'll get one as well (with the
obvious preference for FreeBSD, or at least *some* BSD Unix,
compatibility).


Aloha Gary,

The HP Mini 1000 has a pad and it is not good. If I accidentally brush 
it with a finger it acts as a click same as the mouse buttons do. I 
think this is a terrible feature. ( No way to kill it either I checked. 
)I thought it was because I have large hands, but Julie has trouble too 
so she brought out a USB wireless logitech mouse from her stash of stuff 
and it works fine.




Aloha Al [and Chad also],

	I fat-finger any of these mico-telephone keys[!]; it's worse yet if 
	my finger spasms or even twitches.  Really, with one hand, my hand 
	has to go smack in the middle of these small computers.  Which is 
	where the touch pads are according to the pix.  


Are you saying that you can use your HP with the wireless mouse and
still miss the pad most of the time?

I checked out the ASUS extras, including the mouse and optical drive.
	Anybody on-list know if the EE touchpad can be completely disabled 
	via the hardware setup/config?  


gary




Good Luck...

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



Aloha,
I dont use the keypad at all. Keys and Mouse only.

The HP Mini touchpad is centered below the keyboard, but the keyboard 
had regular sized keys which is good. I think if you have a wireless 
mouse on any of them you could cover the touchpad with something like 
card stock or plastic so the pressure or proximity of a hand would not 
set it off.


It is really bad that you cant turn off the feature that causes the 
false clicks etc.


Have fun...

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org