Re: /etc/jail.conf for automatically started jails listed in /etc/rc.conf

2013-05-14 Thread David Demelier
2013/5/14 Joe fb...@a1poweruser.com:
 David Demelier wrote:

 Le lundi 13 mai 2013 16:32:01 Joe a écrit :

 David Demelier wrote:

 Hello dear,

 Does jail.conf(5) does not work for jails listed in the rc.conf ?

 I've added in /etc/jail.conf:

 foo {

 hostname=Foo;
 path=/jails/foo;
 allow.sysvipc=1;

 }

 And in /etc/rc.conf only foo in the jail_list parameter, but when I try
 to
 start the jail it still complain about missing hostname.

 Regards,

 There are 2 methods for configuring jails.

 The legacy method which you put the jail config statements in the hosts
 /etc/rc.conf file and start and stop control is done by the hosts
 /etc/rc.d/jail script at boot time.

 The jail(8) method which has it's own jail config statements in the
 hosts /etc/jail.conf file and uses the jail(8) program for starting and
 stopping. You can create a jail.conf file for each jail(8) and start it
 using  jail -c -f /etc/jailname.jail.conf and stop by issuing
 jail -f /etc/jailname.jail.conf -r jailname

 You can not mix the 2 methods.


 My real problem is that I wanted to add allow.sysvipc only for *one* jail
 and I can't find a real solution by jail_* flags in /etc/rc.conf

 There is jail_allow_sysvipc but it enable it for all jails.




 The jail(8) method does have a allow_sysvipc on a per jail basis. To use it
 you have to use the jail(8) method. The 9.1-RELEASE legacy method is a work
 in process to incorporate the jail(8) parameters into the rc.conf config
 statements.

 About the allow_sysvipc parameter, this breaks the security the jail is
 designed to provide and should NOT be used on any jails having public
 internet access.

 What are you trying to do that you think you need to use the allow_sysvipc
 parameter?


PostgreSQL, usually I install it on the host instead of jails, but I
needed a second instance on a different port for a public access..

Regards,

--
Demelier David
___
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

05/11 - We will pay you to conduct surveys in your location

2013-05-14 Thread Probe Market Research
Hello,
Probe Market Research, a market research firm, is currently seeking individuals 
to act as customer-insight researchers, in various field market surveys within 
the United States.
Would you be interested in providing us with feed-back on your experience as a 
customer visitng businesses and franchises within your location in the United 
States? In doing so, you earn two hundred dollars for every customer-insight 
survey you conduct.
The customer-insight surveys are basic, can be completed in minutes, and can be 
conducted during your flexible hours. The number of surveys per week vary based 
on location.
Participation is free and at absolutely no cost to you. Also, no formal 
training is required.
If you are interested, reply for more details.
Thank you
Simon Dean
Probe Market Research
122 East 42nd Street, 
Suite 1004
New York, 
NY 10168

___
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


05/11 - We will pay you to conduct surveys in your location

2013-05-14 Thread Probe Market Research
Hello,
Probe Market Research, a market research firm, is currently seeking individuals 
to act as customer-insight researchers, in various field market surveys within 
the United States.
Would you be interested in providing us with feed-back on your experience as a 
customer visitng businesses and franchises within your location in the United 
States? In doing so, you earn two hundred dollars for every customer-insight 
survey you conduct.
The customer-insight surveys are basic, can be completed in minutes, and can be 
conducted during your flexible hours. The number of surveys per week vary based 
on location.
Participation is free and at absolutely no cost to you. Also, no formal 
training is required.
If you are interested, reply for more details.
Thank you
Simon Dean
Probe Market Research
122 East 42nd Street, 
Suite 1004
New York, 
NY 10168

___
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


Hot Swapping SATA drive?

2013-05-14 Thread Robert Huff

Ronald F. Guilmette writes:

  I bought one of these things awhile ago:
  
  
 http://www.amazon.com/gp/product/B004LXJXSW/ref=oh_details_o00_s00_i00?ie=UTF8psc=1

I believe I have a similar object, only a) external (eSATA), b)
from a different manufacturer, and c) connected to a -CURRENT
system.  I use it as a backup device. 

  I just now tried to read up a little bit on all of this ACPI
  stuff, but my eyes are starting to glaze over.  So if someone
  would answer these simple and obvious questions, I'd appreciate
  it:
  
  1) Given a system running FreeBSD 9.1-RELEASE, is anything bad
  gonna happen if I insert a drive into this thing while the system
  is running?  Will I be able to mount partitions contained on the
  drive in question after I do so?

That works for me.  I need to re-scan the ata channel using
atacontrol but once that happens it's fine.

  2) Given a system running FreeBSD 9.1-RELEASE, is anything bad
  gonna happen if I remove a drive from this thing while the system
  is running, assuming that I have already properly umounted all
  relevant partitions first?

Nothing bad happened to me.

  3) Assuming that I want to do this stuff, what BIOS options
  should I be setting or unsetting on the motherboard?

I am unable to check the BIOS settings on that MB (which may be
ASrock as well), but I don't believe I had to do anything other hand
make sure eSATA was enabled.

  Please excuse my ignorance, but I've never done this stuff
  before.

I remember the nerves when I tried this.
You should be fine,


Robert Huff

___
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: Hot Swapping SATA drive?

2013-05-14 Thread Polytropon
On Tue, 14 May 2013 07:45:21 -0400, Robert Huff wrote:
 
 Ronald F. Guilmette writes:
   1) Given a system running FreeBSD 9.1-RELEASE, is anything bad
   gonna happen if I insert a drive into this thing while the system
   is running?  Will I be able to mount partitions contained on the
   drive in question after I do so?
 
   That works for me.  I need to re-scan the ata channel using
 atacontrol but once that happens it's fine.

Isn't that supposed to be camcontrol today?

I've been using SCSI hot swap devices for many years, and
they usually required a re-scan of the bus. The same often
works for USB-connected devices which also use CAM, and maybe
SATA and eSATA also support it today?



   2) Given a system running FreeBSD 9.1-RELEASE, is anything bad
   gonna happen if I remove a drive from this thing while the system
   is running, assuming that I have already properly umounted all
   relevant partitions first?
 
   Nothing bad happened to me.

Again, it may be nice (to the system) to detach the ATA device
from the bus; see man atacontrol (and man camcontrol in
comparison) for the proper command to do this. From the electrical
point of view, there should be no problem.



   3) Assuming that I want to do this stuff, what BIOS options
   should I be setting or unsetting on the motherboard?
 
   I am unable to check the BIOS settings on that MB (which may be
 ASrock as well), but I don't believe I had to do anything other hand
 make sure eSATA was enabled.

The only thing that might be worth looking at in the CMOS setup
would be the method of the driver, making the device come up
as da0 (for example) or ada0, depending if EHCI or XHCI can be
selected. But I assume this only applies to USB devices (and
maybe Firewire). SATA should work fine with the default settings.





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Hot Swapping SATA drive?

2013-05-14 Thread RW
On Tue, 14 May 2013 07:45:21 -0400
Robert Huff wrote:

 
 Ronald F. Guilmette writes:
 
   3) Assuming that I want to do this stuff, what BIOS options
   should I be setting or unsetting on the motherboard?
 
   I am unable to check the BIOS settings on that MB (which may
 be ASrock as well), but I don't believe I had to do anything other
 hand make sure eSATA was enabled.

I don't there there is any difference between SATA and eSATA above the
physical layer. I'm not sure what that setting would do.


You do need to set the SATA channel to AHCI. Note that this may require
Windows to be updated if it's on a the same drive or if it's on a
a group of channels that's switched collectively.

___
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: ZFS mirror install /mnt is empty

2013-05-14 Thread Paul Kraus
On May 14, 2013, at 12:10 AM, Shane Ambler free...@shaneware.biz wrote:

 When it comes to disk compression I think people overlook the fact that
 it can impact on more than one level.

Compression has effects at multiple levels:

1) CPU resources to compress (and decompress) the data
2) Disk space used
3) I/O to/from disks

 The size of disks these days means that compression doesn't make a big
 difference to storage capacity for most people and 4k blocks mean little
 change in final disk space used.

The 4K block issue is *huge* if the majority of your data is less than 
4K files. It is also large when you consider that a 5K file will not occupy 8K 
on disk. I am not a UFS on FreeBSD expert, but UFS on Solaris uses a default 
block size of 4K but has a fragment size of 1K. So files are stored on disk 
with 1K resolution (so to speak). By going to a 4K minimum block size you are 
forcing all data up to the next 4K boundary.

Now, if the majority of your data is in large files (1MB or more), then 
the 4K minimum black size probably gets lost in the noise.

The other factor is the actual compressibility of the data. Most media 
files (JPEG, MPEG, GIF, PNG, MP3, AAC, etc.) are already compressed and trying 
to compress them again is not likely to garner any real reduction inn size. In 
my experience with the default compression algorithm (lzjb), even uncompressed 
audio files (.AIFF or .WAV) do not compress enough to make the CPU overhead 
worthwhile.

 One thing people seem to miss is the fact that compressed files are
 going to reduce the amount of data sent through the bottle neck that is
 the wire between motherboard and drive. While a 3k file compressed to 1k
 still uses a 4k block on disk it does (should) reduce the true data
 transferred to disk. Given a 9.1 source tree using 865M, if it
 compresses to 400M then it is going to reduce the time to read the
 entire tree during compilation. This would impact a 32 thread build more
 than a 4 thread build.

If the data does not compress well, then you get hit with the CPU 
overhead of compression to no bandwidth or space benefit. How compressible is 
the source tree ? [Not a loaded question, I haven't tried to compress it]

 While it is said that compression adds little overhead, time wise,

Compression most certainly DOES add overhead in terms of time, based on 
the speed of your CPU and how busy your system is. My home server is an HP 
Proliant Micro with a dual core AMD N36 running at 1.3 GHz. Turning on 
compression hurts performance *if* I am getting less than 1.2:1 compression 
ratio (5 drive RAIDz2 of 1TB Enterprise disks). Above that the I/O bandwidth 
reduction due to the compression makes up for the lost CPU cycles. I have 
managed servers where each case prevailed… CPU limited so compression hurt 
performance and I/O limited where compression helped performance.

 it is
 going to take time to compress the data which is going to increase
 latency. Going from a 6ms platter disk latency to a 0.2ms SSD latency
 gives a noticeable improvement to responsiveness. Adding compression is
 going to bring that back up - possibly higher than 6ms.

Interesting point. I am not sure of the data flow through the code to 
know if compression has a defined latency component, or is just throughput 
limited by CPU cycles to do the compression.

 Together these two factors may level out the total time to read a file.
 
 One question there is whether the zfs cache uses compressed file data
 therefore keeping the latency while eliminating the bandwidth.

Data cached in the ZFS ARC or L2ARC is uncompressed. Data sent via zfs 
send / zfs receive is uncompressed; there had been talk of an option to send / 
receive compressed data, but I do not think it has gone anywhere.

 Personally I have compression turned off (desktop). My thought is that
 the latency added for compression would negate the bandwidth savings.
 
 For a file server I would consider turning it on as network overhead is
 going to hide the latency.

Once again, it all depends on the compressibility of the data, the 
available CPU resources, the speed of the CPU resources, and the I/O bandwidth 
to/from the drives.

Note also that RAIDz (RAIDz2, RAIDz3) have their own computational 
overhead, so compression may be a bigger advantage in this case than in the 
case of a mirror, as the RAID code will have less data to process after being 
compressed.

--
Paul Kraus
Deputy Technical Director, LoneStarCon 3
Sound Coordinator, Schenectady Light Opera Company

___
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: /etc/jail.conf for automatically started jails listed in /etc/rc.conf

2013-05-14 Thread Joe

David Demelier wrote:

2013/5/14 Joe fb...@a1poweruser.com:

David Demelier wrote:

Le lundi 13 mai 2013 16:32:01 Joe a écrit :

David Demelier wrote:

Hello dear,

Does jail.conf(5) does not work for jails listed in the rc.conf ?

I've added in /etc/jail.conf:

foo {

hostname=Foo;
path=/jails/foo;
allow.sysvipc=1;

}

And in /etc/rc.conf only foo in the jail_list parameter, but when I try
to
start the jail it still complain about missing hostname.

Regards,

There are 2 methods for configuring jails.

The legacy method which you put the jail config statements in the hosts
/etc/rc.conf file and start and stop control is done by the hosts
/etc/rc.d/jail script at boot time.

The jail(8) method which has it's own jail config statements in the
hosts /etc/jail.conf file and uses the jail(8) program for starting and
stopping. You can create a jail.conf file for each jail(8) and start it
using  jail -c -f /etc/jailname.jail.conf and stop by issuing
jail -f /etc/jailname.jail.conf -r jailname

You can not mix the 2 methods.


My real problem is that I wanted to add allow.sysvipc only for *one* jail
and I can't find a real solution by jail_* flags in /etc/rc.conf

There is jail_allow_sysvipc but it enable it for all jails.




The jail(8) method does have a allow_sysvipc on a per jail basis. To use it
you have to use the jail(8) method. The 9.1-RELEASE legacy method is a work
in process to incorporate the jail(8) parameters into the rc.conf config
statements.

About the allow_sysvipc parameter, this breaks the security the jail is
designed to provide and should NOT be used on any jails having public
internet access.

What are you trying to do that you think you need to use the allow_sysvipc
parameter?



PostgreSQL, usually I install it on the host instead of jails, but I
needed a second instance on a different port for a public access..

Regards,

--
Demelier David



That all sounds logical and is what jails are designed to do.
Why would running PostgreSQL in a jail need sysvipc?
Have you tried it? Did you get some PostgreSQL error?

___
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: /etc/jail.conf for automatically started jails listed in /etc/rc.conf

2013-05-14 Thread dweimer

On 05/14/2013 8:20 am, Joe wrote:

David Demelier wrote:
2013/5/14 Joe fb...@a1poweruser.com:
David Demelier wrote:
Le lundi 13 mai 2013 16:32:01 Joe a écrit :
David Demelier wrote:
Hello dear,

Does jail.conf(5) does not work for jails listed in the rc.conf ?

I've added in /etc/jail.conf:

foo {

hostname=Foo;
path=/jails/foo;
allow.sysvipc=1;

}

And in /etc/rc.conf only foo in the jail_list parameter, but when I try
to
start the jail it still complain about missing hostname.

Regards,
There are 2 methods for configuring jails.

The legacy method which you put the jail config statements in the hosts
/etc/rc.conf file and start and stop control is done by the hosts
/etc/rc.d/jail script at boot time.

The jail(8) method which has it's own jail config statements in the
hosts /etc/jail.conf file and uses the jail(8) program for starting and
stopping. You can create a jail.conf file for each jail(8) and start it
using  jail -c -f /etc/jailname.jail.conf and stop by issuing
jail -f /etc/jailname.jail.conf -r jailname

You can not mix the 2 methods.

My real problem is that I wanted to add allow.sysvipc only for *one* 
jail

and I can't find a real solution by jail_* flags in /etc/rc.conf

There is jail_allow_sysvipc but it enable it for all jails.



The jail(8) method does have a allow_sysvipc on a per jail basis. To 
use it
you have to use the jail(8) method. The 9.1-RELEASE legacy method is a 
work
in process to incorporate the jail(8) parameters into the rc.conf 
config

statements.

About the allow_sysvipc parameter, this breaks the security the jail is
designed to provide and should NOT be used on any jails having public
internet access.

What are you trying to do that you think you need to use the 
allow_sysvipc

parameter?


PostgreSQL, usually I install it on the host instead of jails, but I
needed a second instance on a different port for a public access..

Regards,

--
Demelier David

That all sounds logical and is what jails are designed to do.
Why would running PostgreSQL in a jail need sysvipc?
Have you tried it? Did you get some PostgreSQL error?

___
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


I can confirm that PostgreSQL will not run in a jail without sysvipc 
enabled, I just setup a jail running PostgreSQL a few weeks ago and had 
to do that as well.  PostgreSQL will not start without it enabled, 
though perhaps there is some setting change in PostgreSQL that will make 
it not require this.  In my case its the only jail, and I am the only 
user with access to both the base system and the jail so I wasn't to 
concerned about it allowing more access to the base system from the 
jail.


--
Thanks,
Dean E. Weimer
http://www.dweimer.net/
___
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: /etc/jail.conf for automatically started jails listed in /etc/rc.conf

2013-05-14 Thread David Demelier
2013/5/14 Joe fb...@a1poweruser.com:
 David Demelier wrote:

 2013/5/14 Joe fb...@a1poweruser.com:

 David Demelier wrote:

 Le lundi 13 mai 2013 16:32:01 Joe a écrit :

 David Demelier wrote:

 Hello dear,

 Does jail.conf(5) does not work for jails listed in the rc.conf ?

 I've added in /etc/jail.conf:

 foo {

 hostname=Foo;
 path=/jails/foo;
 allow.sysvipc=1;

 }

 And in /etc/rc.conf only foo in the jail_list parameter, but when I
 try
 to
 start the jail it still complain about missing hostname.

 Regards,

 There are 2 methods for configuring jails.

 The legacy method which you put the jail config statements in the hosts
 /etc/rc.conf file and start and stop control is done by the hosts
 /etc/rc.d/jail script at boot time.

 The jail(8) method which has it's own jail config statements in the
 hosts /etc/jail.conf file and uses the jail(8) program for starting and
 stopping. You can create a jail.conf file for each jail(8) and start it
 using  jail -c -f /etc/jailname.jail.conf and stop by issuing
 jail -f /etc/jailname.jail.conf -r jailname

 You can not mix the 2 methods.


 My real problem is that I wanted to add allow.sysvipc only for *one*
 jail
 and I can't find a real solution by jail_* flags in /etc/rc.conf

 There is jail_allow_sysvipc but it enable it for all jails.



 The jail(8) method does have a allow_sysvipc on a per jail basis. To use
 it
 you have to use the jail(8) method. The 9.1-RELEASE legacy method is a
 work
 in process to incorporate the jail(8) parameters into the rc.conf config
 statements.

 About the allow_sysvipc parameter, this breaks the security the jail is
 designed to provide and should NOT be used on any jails having public
 internet access.

 What are you trying to do that you think you need to use the
 allow_sysvipc
 parameter?


 PostgreSQL, usually I install it on the host instead of jails, but I
 needed a second instance on a different port for a public access..

 Regards,

 --
 Demelier David


 That all sounds logical and is what jails are designed to do.
 Why would running PostgreSQL in a jail need sysvipc?
 Have you tried it? Did you get some PostgreSQL error?


Yes, unfortunately this is a very very old issue that has been
reported so much often..

--
Demelier David
___
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: /etc/jail.conf for automatically started jails listed in /etc/rc.conf

2013-05-14 Thread Matthew Seaman
On 14/05/2013 14:31, dweimer wrote:
 I can confirm that PostgreSQL will not run in a jail without sysvipc
 enabled, I just setup a jail running PostgreSQL a few weeks ago and had
 to do that as well.  PostgreSQL will not start without it enabled,
 though perhaps there is some setting change in PostgreSQL that will make
 it not require this.  In my case its the only jail, and I am the only
 user with access to both the base system and the jail so I wasn't to
 concerned about it allowing more access to the base system from the jail.

postgresql-9.3beta1 was announced a few days ago, and one of the key new
features is switching largely away from sysvipc to mmap for shared memory.

http://www.postgresql.org/docs/devel/static/release-9-3.html

Unfortunately I don't think it's entirely sysV IPC free yet. But
postgresql93 is available in ports.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: can't compile lang/gcc port

2013-05-14 Thread Roland Smith
On Mon, May 13, 2013 at 03:59:26PM +0200, Xavier wrote:
 Hi to all,
 
 I can't compile lang/gcc port.
 
 The last lines of error:

Unfortunately the real error happens _above_ the lines that you showed. 

 else \
   exit 1; \
 fi; \
   else true; \
   fi; \
 fi; \
   done; \
 fi
 gmake[5]: Leaving directory 
 `/usr/ports/lang/gcc/work/build/i386-portbld-freebsd
 9.1/libstdc++-v3'
 gmake[4]: Leaving directory 
 `/usr/ports/lang/gcc/work/build/i386-portbld-freebsd
[snip] 
 Stop in /usr/ports/lang/gcc.
 *** [build] Error code 1
 
 Stop in /usr/ports/lang/gcc.
 
 Somebody can help me ?

There is probably a compiler error somewhere before the lines that you posted.
Can you show a little bit more?

Roland
-- 
R.F.Smith   http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpyrXPpZbZMH.pgp
Description: PGP signature


Re: can't compile lang/gcc port

2013-05-14 Thread Xavier
On Tue, May 14, 2013 at 07:14:17PM +0200, Roland Smith wrote:

Hi Roland,

 On Mon, May 13, 2013 at 03:59:26PM +0200, Xavier wrote:
  Hi to all,
 
  I can't compile lang/gcc port.
 
  The last lines of error:

 Unfortunately the real error happens _above_ the lines that you showed.


Hmmm, OK.

  else \
exit 1; \
  fi; \
else true; \
fi; \
  fi; \
done; \
  fi
  gmake[5]: Leaving directory 
  `/usr/ports/lang/gcc/work/build/i386-portbld-freebsd
  9.1/libstdc++-v3'
  gmake[4]: Leaving directory 
  `/usr/ports/lang/gcc/work/build/i386-portbld-freebsd
 [snip]
  Stop in /usr/ports/lang/gcc.
  *** [build] Error code 1
 
  Stop in /usr/ports/lang/gcc.

  Somebody can help me ?

 There is probably a compiler error somewhere before the lines that you posted.
 Can you show a little bit more?


I don't show more lines because the log is very long for paste here.

I can send directly to your private email the 1.6 MB of log file ? For
your review.

I waiting for your answer, see you.

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


bwn0: RX decryption attempted (old 0 keyidx 0x2)

2013-05-14 Thread Anton Shterenlikht
I have this wireless chip:

siba_bwn0@pci0:48:0:0:  class=0x028000 card=0x1371103c chip=0x431214e4 rev=0x02
hdr=0x00
vendor = 'Broadcom Corporation'
device = 'BCM4311 802.11a/b/g'
class  = network

I use bwn(4) for it:

siba_bwn0: Broadcom BCM4312 802.11a/b/g Wireless mem 0xc810-0xc8103fff irq
 18 at device 0.0 on pci48
siba_bwn0: unsupported coreid (USB 1.1 Host)
bwn0 on siba_bwn0
bwn0: WLAN (chipid 0x4311 rev 13) PHY (analog 4 type 2 rev 9) RADIO (manuf 0x17f
 ver 0x2050 rev 2)
bwn0: DMA (64 bits)
bwn0: Using 1 MSI messages
bwn0: firmware version (rev 410 patch 2160 date 0x751a time 0x7c0a)

I then use wpa_supplicant(8) to connect
to the net.

All this seems to work, often I see on the
console:

bwn0: RX decryption attempted (old 0 keyidx 0x2)

repeated tens or maybe hundreds of times.

What does this tell me? Could this be a symptom
of other problems?

Thanks

Anton
 

___
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


X breaks sound

2013-05-14 Thread Anton Shterenlikht
Briefly, the sound works fine until X starts.
As soon as X starts, sound doesn't work until a reboot.

This is HP Compaq 6715s laptop.
I'm running current r250633.

I have this sound device:

hdac0@pci0:0:20:2:  class=0x040300 card=0x30c2103c chip=0x43831002 rev=0x00
hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'SBx00 Azalia (Intel HDA)'
class  = multimedia
subclass   = HDA

I use it with snd_hda(4):

hdac0: ATI SB600 HDA Controller mem 0xc000-0xc0003fff irq 16 at device 20.
2 on pci0

Until I start X, I can get sound e.g.
via /dev/dsp, or play a cd with:

dd if=/dev/cd0 of=/dev/dspcd bs=2352

As soon as I start X, either via xdm,
or simply X -config /roor/xorg.conf.new -retro
the sound does not work anymore until reboot.
Instead I see on the console a very long stream
of:

hdac0: Unexpected unsolicited response from address 0: 00400083
hdac0: Unexpected unsolicited response from address 0: 
hdac0: Unexpected unsolicited response from address 0: 04a12020
hdac0: Unexpected unsolicited response from address 0: 1727
hdac0: Unexpected unsolicited response from address 0: 0020
hdac0: Unexpected unsolicited response from address 0: 00400187
hdac0: Unexpected unsolicited response from address 0: 0002
hdac0: Unexpected unsolicited response from address 0: 0e03
hdac0: Unexpected unsolicited response from address 0: 0181302e
hdac0: Unexpected unsolicited response from address 0: 1737

etc.

and sometimes:

hdac0: Command timeout on address 0
hdac0: Reset setting timeout
pcm0: chn_write(): pcm0:virtual:dsp0.vp0: play interrupt timeout, channel dead

My graphics device is:

vgapci0@pci0:1:5:0: class=0x03 card=0x30c2103c chip=0x791f1002 rev=0x00
hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'RS690M [Radeon X1200 Series]'
class  = display
subclass   = VGA

which is seen in dmesg as:

vgapci0: VGA-compatible display port 0x4000-0x40ff mem 0xc010-0xc80f,0
xd020-0xd020,0xd030-0xd03f irq 19 at device 5.0 on pci1
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0

I use x11-drivers/xf86-video-ati port to drive it.

In Xorg logs I see that the card is recognised correctly:

(--) PCI:*(0:1:5:0) 1002:791f:103c:30c2 Advanced Micro Devices [AMD] nee ATI RS6
90M [Radeon X1200 Series] rev 0, Mem @ 0xc000/134217728, 0xd020/65536, 0
xd030/1048576, I/O @ 0x4000/256, BIOS @ 0x/65536

The only issue seems to be with DRM/DRI:

drmOpenDevice: node name is /dev/dri/card0
Failed to change owner or group for file /dev/dri! 2: No such file or directory
Failed to change owner or group for file /dev/dri/card0! 2: No such file or dire
ctory
drmOpenDevice: open result is -1, (No such file or directory)
Failed to change owner or group for file /dev/dri/card0! 2: No such file or dire
ctory
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: Open failed
[drm] failed to load kernel module radeon
(EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
[dri] Disabling DRI.

But I don't think this is related to the sound problem.
Anyway, should I add radeon and drm to the kernel?
Is it a good idea?

I'd be grateful for any advice.

Thanks

Anton

___
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: can't compile lang/gcc port

2013-05-14 Thread Roland Smith
On Tue, May 14, 2013 at 09:07:59PM +0200, Xavier wrote:
 
  There is probably a compiler error somewhere before the lines that you 
  posted.
  Can you show a little bit more?
 
 
 I don't show more lines because the log is very long for paste here.
 
 I can send directly to your private email the 1.6 MB of log file ? For
 your review.

Don't send me the whole log file! Using e.g. grep(1) or the old-fasfioned
eyeball look for the _first_ line in the log file that contains the word
error. Post that line and some lines before and after it here on the mailing
list. At a minimum, these lines should show;

 - what was the command that failed (compiler, linker, ...)
 - what was the _exact_ error message?
 - which file was it processing when the error occurred?

For an example look below:

clang -O2 -pipe  -pipe -fmerge-constants --fast-math -DDEBUG -pipe 
-fmerge-constants --fast-math -DVERSION=\3.0.0beta2\ -DPACKAGE=\stl2pov\ -c 
ftobuf.c
clang: error: unsupported option '--fast-math'
*** [ftobuf.o] Error code 1

Stop in /home/rsmith/src/progs/attic/stl2pov3.

The line containing the word error tells you what went wrong. In this case
the clang compiler got an option it doesn't recognize. The line _before_ shows
the actual command that was run. The line _after_, starting with '***' is a
notification from the 'make' program that building the file ftobuf.o failed.
But this line is _useless_ without the lines before it.

Roland
-- 
R.F.Smith   http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp3UyRgoZ3_j.pgp
Description: PGP signature


Status of Chromium port...

2013-05-14 Thread Peter Harrison
Hello list!

Does anyone know the status of the Chromium port? It's stuck at v25 with 
multiple vulnerabilities. Updated versions have been available for a while, but 
haven't been brought into ports. I've emailed the maintainer but not had a 
response. Anyone know better?

Thanks all,




Peter Harrison.

___
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: can't compile lang/gcc port

2013-05-14 Thread Robert Bonomi
 Date: Tue, 14 May 2013 21:07:59 +0200
 Subject: Re: can't compile lang/gcc port
 From: Xavier xavierfreebsdquesti...@gmail.com

 On Tue, May 14, 2013 at 07:14:17PM +0200, Roland Smith wrote:

 Hi Roland,

  On Mon, May 13, 2013 at 03:59:26PM +0200, Xavier wrote:
   Hi to all,
  
   I can't compile lang/gcc port.
  
   The last lines of error:
 
  Unfortunately the real error happens _above_ the lines that you showed.
 

 Hmmm, OK.

   else \
 exit 1; \ fi; \ else true; \ fi; \ fi; \ done; \ fi 
 gmake[5]: Leaving directory 
 `/usr/ports/lang/gcc/work/build/i386-portbld-freebsd
   9.1/libstdc++-v3'
   gmake[4]: Leaving directory 
   `/usr/ports/lang/gcc/work/build/i386-portbld-freebsd
  [snip]
   Stop in /usr/ports/lang/gcc.
   *** [build] Error code 1
  
   Stop in /usr/ports/lang/gcc.
 
   Somebody can help me ?
 
  There is probably a compiler error somewhere before the lines that you 
  posted. Can you show a little bit more?
 

 I don't show more lines because the log is very long for paste here.

Look for lines with the words:
 warning:
 Warning:
 error:
 Error:

Report at least the 3 lines before each such occurance and 10 or so lines
after it.

This command:
  grep -B 3 -A 10 -E -i '(warning|error):'  {{logfile}}
should do the selection automatically.

Asking _someone_else_ to rummage through a megabyte-plus of log because you
can't be bothered to look for the 'magic words' that actually identify the
problem _is_ an unreasonable imposition on their kindness.

Ifi, on the other hand,  you _don't_know_how_ to recognize an error message 
in a build log, you should, bluntly, *not* be building software for your 
system.  Either use pre-build binaries, or hire someone who -does- know what
they're doing to build/install custom software for 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


Re: can't compile lang/gcc port

2013-05-14 Thread Xavier
On Tue, May 14, 2013 at 10:31:11PM +0200, Roland Smith wrote:

Hi Roland,

 On Tue, May 14, 2013 at 09:07:59PM +0200, Xavier wrote:
  
   There is probably a compiler error somewhere before the lines that you 
   posted.
   Can you show a little bit more?
  
 
  I don't show more lines because the log is very long for paste here.
 
  I can send directly to your private email the 1.6 MB of log file ? For
  your review.

 Don't send me the whole log file! Using e.g. grep(1) or the old-fasfioned

OK.

 eyeball look for the _first_ line in the log file that contains the word
 error. Post that line and some lines before and after it here on the mailing
 list. At a minimum, these lines should show;

  - what was the command that failed (compiler, linker, ...)
  - what was the _exact_ error message?
  - which file was it processing when the error occurred?

 For an example look below:

 clang -O2 -pipe  -pipe -fmerge-constants --fast-math -DDEBUG -pipe 
 -fmerge-constants --fast-math -DVERSION=\3.0.0beta2\ -DPACKAGE=\stl2pov\ 
 -c ftobuf.c
 clang: error: unsupported option '--fast-math'
 *** [ftobuf.o] Error code 1

 Stop in /home/rsmith/src/progs/attic/stl2pov3.

 The line containing the word error tells you what went wrong. In this case
 the clang compiler got an option it doesn't recognize. The line _before_ shows
 the actual command that was run. The line _after_, starting with '***' is a
 notification from the 'make' program that building the file ftobuf.o failed.
 But this line is _useless_ without the lines before it.


Here an overview of log error:

http://pastebin.com/X0C1gtaG

( I cut in middle log for limit of 500 KB in pastebin.com web site ).

Thanks, see 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


Re: can't compile lang/gcc port

2013-05-14 Thread Xavier
On Tue, May 14, 2013 at 10:31:11PM +0200, Roland Smith wrote:

Hi Roland,

 On Tue, May 14, 2013 at 09:07:59PM +0200, Xavier wrote:
  
   There is probably a compiler error somewhere before the lines that you 
   posted.
   Can you show a little bit more?
  
 
  I don't show more lines because the log is very long for paste here.
 
  I can send directly to your private email the 1.6 MB of log file ? For
  your review.

 Don't send me the whole log file! Using e.g. grep(1) or the old-fasfioned

OK.

 eyeball look for the _first_ line in the log file that contains the word
 error. Post that line and some lines before and after it here on the mailing
 list. At a minimum, these lines should show;

  - what was the command that failed (compiler, linker, ...)
  - what was the _exact_ error message?
  - which file was it processing when the error occurred?

 For an example look below:

 clang -O2 -pipe  -pipe -fmerge-constants --fast-math -DDEBUG -pipe 
 -fmerge-constants --fast-math -DVERSION=\3.0.0beta2\ -DPACKAGE=\stl2pov\ 
 -c ftobuf.c
 clang: error: unsupported option '--fast-math'
 *** [ftobuf.o] Error code 1

 Stop in /home/rsmith/src/progs/attic/stl2pov3.

 The line containing the word error tells you what went wrong. In this case
 the clang compiler got an option it doesn't recognize. The line _before_ shows
 the actual command that was run. The line _after_, starting with '***' is a
 notification from the 'make' program that building the file ftobuf.o failed.
 But this line is _useless_ without the lines before it.


Here an overview of log error:

http://pastebin.com/X0C1gtaG

( I cut in middle log for limit of 500 KB in pastebin.com web site ).

Thanks, see 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


Re: can't compile lang/gcc port

2013-05-14 Thread Xavier
On Tue, May 14, 2013 at 03:44:43PM -0500, Robert Bonomi wrote:

Hi Robert,

( Sorry for my before email, my before email is an error of apropiate
thread email )

  Date: Tue, 14 May 2013 21:07:59 +0200
  Subject: Re: can't compile lang/gcc port
  From: Xavier xavierfreebsdquesti...@gmail.com
 
  On Tue, May 14, 2013 at 07:14:17PM +0200, Roland Smith wrote:
 
  Hi Roland,
 
   On Mon, May 13, 2013 at 03:59:26PM +0200, Xavier wrote:
Hi to all,
   
I can't compile lang/gcc port.
   
The last lines of error:
  
   Unfortunately the real error happens _above_ the lines that you showed.
  
 
  Hmmm, OK.
 
else \
  exit 1; \ fi; \ else true; \ fi; \ fi; \ done; \ fi
  gmake[5]: Leaving directory
  `/usr/ports/lang/gcc/work/build/i386-portbld-freebsd
9.1/libstdc++-v3'
gmake[4]: Leaving directory
`/usr/ports/lang/gcc/work/build/i386-portbld-freebsd
   [snip]
Stop in /usr/ports/lang/gcc.
*** [build] Error code 1
   
Stop in /usr/ports/lang/gcc.
  
Somebody can help me ?
  
   There is probably a compiler error somewhere before the lines that you
   posted. Can you show a little bit more?
  
 
  I don't show more lines because the log is very long for paste here.

 Look for lines with the words:
  warning:
  Warning:
  error:
  Error:

 Report at least the 3 lines before each such occurance and 10 or so lines
 after it.

 This command:
   grep -B 3 -A 10 -E -i '(warning|error):'  {{logfile}}
 should do the selection automatically.


I paste log here:

http://pastebin.com/X0C1gtaG

I cut the middle log for 500 KB of limit in pastebin.com web site.

Thanks, see 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


Will i be force.

2013-05-14 Thread k_winzic
Dear Sir/Madam

My name is Kevin, I want to build an OS that is derived from freebsd but Should 
i be worried about FreeBSD license when i am deriving.
 --
Sent from my Nokia phone
___
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: Will i be force.

2013-05-14 Thread Polytropon
On Tue, 14 May 2013 21:18:43 +, k_win...@ovi.com wrote:
 Dear Sir/Madam
 
 My name is Kevin, I want to build an OS that is derived from freebsd but 
 Should i be worried about FreeBSD license when i am deriving.

You should not be worried about the license. Just follow it.
The license grants you several rights, and as long as you
comply with the license, there is no problem deriving a new
OS from FreeBSD. Just make sure you don't violate any
copyright.

Note that I am not a lawyer, and this is no official response
from a FreeBSD body. Depending on your local legislation, I
suggest you discuss the topic with a lawyer you trust to give
you further advice.

Also read the legal documents provided by FreeBSD itself and
other sources. Read and understand (!) the license itself.

http://www.freebsd.org/copyright/freebsd-license.html

http://www.freebsd.org/copyright/

http://en.wikipedia.org/wiki/BSD_licenses#2-clause_license_.28.22Simplified_BSD_License.22_or_.22FreeBSD_License.22.29



You may find more specific answers by directing your questions
to a legal representative of the FreeBSD foundation or a more
appropriate mailing list (-questions@ is for general questions,
usually answered by FreeBSD users and contributors).



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Hot Swapping SATA drive?

2013-05-14 Thread Ronald F. Guilmette

In message 20882.9169.697806.928...@jerusalem.litteratus.org, 
Robert Huff roberth...@rcn.com wrote:

Ronald F. Guilmette writes:

  I bought one of these things awhile ago:
  
  http://www.amazon.com/gp/product/B004LXJXSW/ref=oh_details_o00_s00_i00?ie=U
TF8psc=1

   I believe I have a similar object, only a) external (eSATA), b)
from a different manufacturer, and c) connected to a -CURRENT
system.  I use it as a backup device. 

Yea, mine is internal, and real SATA.  I wonder if that will make a
difference.

  1) Given a system running FreeBSD 9.1-RELEASE, is anything bad
  gonna happen if I insert a drive into this thing while the system
  is running?  Will I be able to mount partitions contained on the
  drive in question after I do so?

   That works for me.  I need to re-scan the ata channel using
atacontrol but once that happens it's fine.

Hummm... I tried atacontrol info and I got this:

atacontrol: 
ATA_CAM option is enabled in kernel.
Please use camcontrol instead.

So I guess I need to use  camcontrol instead.  But what command?  What
were you using with atacontrol to re-scan?  Was that atacontrol attach?
I wonder what the camcontrol equivalent to that is.  Nothing obvious is
jumping out at me from the man page.

   I am unable to check the BIOS settings on that MB (which may be
ASrock as well), but I don't believe I had to do anything other hand
make sure eSATA was enabled.

OK.  Thanks.

I'm determined to try this, and to make it work.  Now I just need to know
what camcontrol command I should be using.


Regards,
rfg

___
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: Hot Swapping SATA drive?

2013-05-14 Thread Ronald F. Guilmette

In message 20130514144721.aa321c25.free...@edvax.de, 
Polytropon free...@edvax.de wrote:

I've been using SCSI hot swap devices for many years, and
they usually required a re-scan of the bus. The same often
works for USB-connected devices which also use CAM, and maybe
SATA and eSATA also support it today?

OK, so what command should I use when I plug a drive in?  Would that be
camcontrol rescan foo where foo is something like /dev/ada0?  I'm
guessing that that can't be correct, because ada0 is an actual drive.
So what is the device id for the bus itself?

Again, it may be nice (to the system) to detach the ATA device
from the bus; see man atacontrol (and man camcontrol in
comparison) for the proper command to do this. From the electrical
point of view, there should be no problem.

I am a firm believer in being nice.  I just need to know the proper
command.   Would that be camcontrol stop foo ?

The only thing that might be worth looking at in the CMOS setup
would be the method of the driver, making the device come up
as da0 (for example) or ada0, depending if EHCI or XHCI can be
selected.

Ummm... my new little SATA plug-in bay is strictly SATA... not eSATA,
and *definitely* not USB, so I think that EHCI and/or XHCI are probably
irrelevant.  Those are strictly USB things, no?


Regards,
rfg
___
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: Hot Swapping SATA drive?

2013-05-14 Thread Robert Huff

Ronald F. Guilmette writes:

  That works for me.  I need to re-scan the ata channel using
  atacontrol but once that happens it's fine.
  
  Hummm... I tried atacontrol info and I got this:
  
  atacontrol: 
  ATA_CAM option is enabled in kernel.
  Please use camcontrol instead.
  
  So I guess I need to use camcontrol instead.  But what command?
  What were you using with atacontrol to re-scan?  Was that
  atacontrol attach?

Yeah - 

# atacontrol detach ata0
# atacontrol attach ata0

did it.


Robert Huff

___
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: Hot Swapping SATA drive?

2013-05-14 Thread Polytropon
On Tue, 14 May 2013 16:34:11 -0700, Ronald F. Guilmette wrote:
 
 In message 20130514144721.aa321c25.free...@edvax.de, 
 Polytropon free...@edvax.de wrote:
 
 I've been using SCSI hot swap devices for many years, and
 they usually required a re-scan of the bus. The same often
 works for USB-connected devices which also use CAM, and maybe
 SATA and eSATA also support it today?
 
 OK, so what command should I use when I plug a drive in?  Would that be
 camcontrol rescan foo where foo is something like /dev/ada0?

No. You use the typical SCSI-like device notation, bus:unit:lun,
for example 0:1:0, or all for all buses and devices.



 I'm
 guessing that that can't be correct, because ada0 is an actual drive.
 So what is the device id for the bus itself?

With camcontrol devlist, you can get a list that will show
you what devices have been recognized and how the bus:unit:lun
corresponds to the device files.

Example:

$ camcontrol devlist
HL-DT-ST DVDRAM GSA-H42N RL00at scbus0 target 0 lun 0 (pass0,cd0)
HL-DT-ST DVD-ROM GDR8163B 0L30   at scbus0 target 1 lun 0 (pass1,cd1)
Generic Flash HS-CF 4.55 at scbus3 target 0 lun 0 (pass2,da0)
Generic Flash HS-MS/SD 4.55  at scbus3 target 0 lun 1 (pass3,da1)
Generic Flash HS-SM 4.55 at scbus3 target 0 lun 2 (pass4,da2)
WDC WD15 EARS-00MVWB0at scbus4 target 0 lun 0 (pass5,da3)

The disk you're attaching will probably be something like the
entries for the USB disk (last line).



 Again, it may be nice (to the system) to detach the ATA device
 from the bus; see man atacontrol (and man camcontrol in
 comparison) for the proper command to do this. From the electrical
 point of view, there should be no problem.
 
 I am a firm believer in being nice.  I just need to know the proper
 command.   Would that be camcontrol stop foo ?

Yes. You can use the start and stop commands like the attach
and detach commands for atacontrol. Additionally, you can use
tur for test (if) unit (is) ready, and readcap to print the
capabilities. Also reset and rescan are helpful.

See man camcontrol for details about what those commands do,
and how to properly call them. In most cases,

# camcontrol command bus:unit:lun | all

will be the correct form.



 The only thing that might be worth looking at in the CMOS setup
 would be the method of the driver, making the device come up
 as da0 (for example) or ada0, depending if EHCI or XHCI can be
 selected.
 
 Ummm... my new little SATA plug-in bay is strictly SATA... not eSATA,
 and *definitely* not USB, so I think that EHCI and/or XHCI are probably
 irrelevant.  Those are strictly USB things, no?

I'm not fully sure about that, but I assume you're right, if
the manufacturer has properly glued the SATA ports onto the
mainboard instead of creating some strange abomination of
a SATA through USB something. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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


what commands show memory usage

2013-05-14 Thread Joe

When stopping vnet jails get message about lost memory pages.
What console commands show available memory pages so I can determine the 
lost memory pages after 100 stopped jails?

Want to find out if that lost memory page message is bogus or not.

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


SCTP: transport protocol and vimage jails

2013-05-14 Thread Joe
All the info on vimage jails say to nooption SCTP when compiling vimage 
into your kernel. Reason given is that sctp is not vimage aware. If that 
is ture, then why can't I find a PR on SCTP or vimage about this problem?

___
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: what commands show memory usage

2013-05-14 Thread Tim Daneliuk

On 05/14/2013 08:56 PM, Joe wrote:

Tim Daneliuk wrote:

On 05/14/2013 08:32 PM, Joe wrote:

When stopping vnet jails get message about lost memory pages.
What console commands show available memory pages so I can determine the lost 
memory pages after 100 stopped jails?
Want to find out if that lost memory page message is bogus or not.



Look at 'vmstat' and 'free' commands.



can't find any free command



Sorry Joe (and everyone), I had a brief bit flip.  The command is
actually called freebsd-memory and is not in the base system.
It's an addon from Ralph Engelshall and can be found here:

   http://people.freebsd.org/~rse/utils/

(If you care, the 'free' command is how you do this on Linux.)

--

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: List Spam Filtering

2013-05-14 Thread Da Rock

On 05/12/13 22:04, Rich Kulawiec wrote:

1. Restricting mailing lists to subscribers only has been a best
practice since the last century.  It's a very good anti-spam tactic.

2. However, doing so -- for a list run via Mailman, like this one --
does not pose a significant impediment for non-subscribers.  By default,
Mailman will hold traffic from non-subscribers for list-owner approval.
Provided the list-owners check that queue periodically and have reasonable
spam-spotting abilities, this works beautifully.

3. Note that Mailman, as part of that same mechanism, allows list-owners
to add non-subscribers to a list of those permitted to send traffic to
the list without approval.  This feature is probably more often used to
allow traffic from alternative addresses for subscribers, e.g., someone
is subscribed as f...@example.com but sends occasionally from f...@example.net.
But it can just as easily be used for non-subscribers if the list-owners
so choose.

4. List-owners may also find it useful to keep track of which spammers
repeatedly attempt to abuse the list and block them at the MTA -- which
has the desirable side effect of blocking them from ALL lists.  I do this
on a user/host/domain/network basis, and it's proven itself to be worth
the effort.

So: setting the subscribers-only flag on Mailman has major advantages,
at the cost of additional work on the part of list-owners -- which can
be mitigated in part across all lists by making changes to the MTA.
I'm a big fan of _not_ having to subscribe to a list to get a quick hand 
with a one off problem (obviously not this one!)- otherwise too many 
lists get subscribed to, oodles of messages come in which you can't do 
anything about and so forth (so its not simply just a matter of 
subscribe, unsubscribe as noted). Unfortunately, many see it as a spam 
filter and thereby abuse it. How often do you need help with an issue 
with libreoffice, mozilla whatever, or other application? And yet 
subscription is compulsory and a ton of messages (devs convs mostly) 
come flooding in within minutes.


Aside from all that, the last suggestion (4) should be possible using 
some simple filtering without the need to change the subscription 
parameters. It could be possible to even do it automatically saving 
further work on a list-owner.


I admit the spam is getting worse, but there are still many more users 
sending who would like try before they buy - or subscribe. FreeBSD is an 
OS, yes, but it does give users options and freedom; and although many 
are willing to give up their freedom because it is *appears* safer, they 
tend to have serious regrets in the light of day. Better to find a way 
to maintain the freedom (and minimise the overheads required for 
oversight) through other measures.

___
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


Connecting EFTPOS terminals to FreeBSD

2013-05-14 Thread Da Rock
I have a client looking for a POS system and they need to be able to 
connect an EFTPOS terminal (credit/debit card terminal) to obtain data 
for transactions from. Has anyone here had any experience with this?


I'm used to servers and such, but the goal here is to use a CRM (vTiger 
or such) with ERP/POS, and the server is in a room and the POS terminal 
in another (naturally). It currently works with a very basic accounts 
package running on Winblows, and the aim is to have a web based POS 
system (or similar) for online/instore transactions, with a secure 
EFTPOS terminal just at the front desk.


Ideally we want to be able to use any web enabled system to be able to 
dropped in for quick deployment to use as a POS system and maintenance 
is kept to the server backend.


My research so far has dragged up a lot of Winblows only solutions, and 
some IP based ones. I'm wondering how hard it is to get a serial 
connection working for linux/BSD to the EFT terminal? Or if that is even 
a consideration at all if it needs to communicate to a web based POS 
system- does that mean it has to IP based to communicate directly with 
the server itself?


If anyone has some dev material (or links to such) would be handy as 
well- I need to get a far better picture of all this.


Cheers
___
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: Will i be force.

2013-05-14 Thread Jerry McAllister
On Tue, May 14, 2013 at 09:18:43PM +, k_win...@ovi.com wrote:

 Dear Sir/Madam
 
 My name is Kevin, I want to build an OS that is derived from freebsd but 
 Should i be worried about FreeBSD license when i am deriving.

No.  Not at all.   FreeBSD allows free use including modifying.
Look it up on the FreeBSD web sitehttp://www.freebsd.org/

jerry


  --
 Sent from my Nokia phone
 ___
 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
___
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: X breaks sound

2013-05-14 Thread Ralf Mardorf
On Tue, 2013-05-14 at 21:20 +0100, Anton Shterenlikht wrote:
 Briefly, the sound works fine until X starts.
 As soon as X starts, sound doesn't work until a reboot.

Assumed pulseaudio should be installed, this likely is the culprit, if
so, remove it.

Hth,
Ralf

___
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