Re: IPMI SOL setup on FreeBSD 9.1 amd64 supermicro X9SCM-F/X9CL-F

2013-01-24 Thread Derek Ragona

At 09:07 AM 1/23/2013, Anton Yuzhaninov wrote:

On Mon, 21 Jan 2013 22:52:17, Derek Ragona wrote:
DR> I have a couple servers that are built using the supermicro 
X9SCM-F/X9CL-F

DR> motherboards, and I can't quite get IPMI SOL working right.
DR>
DR> These motherboards have 3 NIC's.  One NIC is for a dedicated IPMI 
interface.

DR>
DR> I have both servers configured to use the dedicated IPMI NIC and these
DR> NIC's are plugged into a separate unmanaged switch.
DR>
DR> Both systems boards are set to redirect com1.  I changed /etc/ttys to 
run a

DR> getty on /dev/ttyu0.  I have com1 configured to 115,200 baud, 8, n, 1, no
DR> flowcontrol in the BIOS.  I in have /etc/ttys:
DR> ttyu0   "/usr/libexec/getty std.115200" vt100   on secure

/etc/ttys:
ttyu1   "/usr/libexec/getty std.115200" vt100   on  secure

/boot/loader.conf:
hint.uart.0.flags="0"
hint.uart.1.flags="0x10"
boot_serial="YES"
boot_multicons="YES"
comconsole_speed="115200"
console="comconsole vidconsole"


Anton,

Thanks for answering.

I thought:

/etc/ttys:
ttyu1   "/usr/libexec/getty std.115200" vt100   on  secure


is for com2?

I also thought:
hint.uart.1.flags="0x10"

Is for com2?

you said:
hint.uart.1.flags="0x10"

Is that for for a serial only console?  I read in some posts, to use:
hint.uart.1.flags="0x30"

for both a local console with a serial console.  I could not find much 
documentation on the uart or sio flags.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______
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"


Squid 3.2 Reverse Proxy Problems on FreeBSD

2013-01-24 Thread dweimer
Is anyone running else running the Squid 3.2 branch on FreeBSD as a 
reverse proxy?  Specifically using HTTPS and uploading data?


The reason I ask, I have a server Running FreeBSD 9.0-p4 and Squid 
3.1.21, all works I tried upgrading to a new server running FreeBSD 9.1 
with Squid 3.2.6, thought everything was working, then we started 
getting complaints on to of the back end applications.


Tracked the issue down to any submit forms on HTTPS, if somewhere 
between 2.2k and 3k it breaks, if the post is under that very small size 
instant success, if over that size the browser churns for a few minutes 
then returns a "Bad Request Your browser sent a request that this server 
could not understand."  On the Squid side there is a TCP_MISS_ABORTED 
log entry that gets logged.  The problem doesn't show up on HTTP, I can 
upload large files, tested up to 50M.


I just wanted to see if any one else is successfully doing this, maybe 
something specific to my server build and I just need to start over.


Both servers have been built from source, both using clang, including 
ports, except on gcc, open-vm-tools, and squid.  They are both running 
on the same cluster of ESX 4.1 servers.  Other than the FreeBSD version 
and Squid version the other difference is ZFS used on the file system 
for the FreeBSD 9.1 and UFS used for the FreeBSD 9.0-p4.


I have already started a thread on the Squid mailing list on the issue 
as well, but haven't gotten any help yet.  But now that I have the 
production setup going through the old server again, I can do some more 
testing and enable debugging and possibly get some useful information as 
to whats happening.


--
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: Fwd: Re: Sharing a mail folder between Linux and FreeBSD

2013-01-24 Thread Ralf Mardorf
I was surpriesed, when Evolution from Linux had no permissions anymore to  
access the mail folder, after

drwxrwx--- rocketmouse  wheel was stable for FreeBSD

I wasn't aware, that even between Linux only, the folders for mount points  
share the same permissions, once the partition is mounted, since my Linux  
users usually share the same uid. I tested it some minutes ago.


However, I add a group freebsd (1001) to a Linux and chown/chmod most of  
the pass without -R option and for the mail directory I used the -R  
option, now everything _should_ work ...


$ ls -hAl /mnt
drwxrwx---  21 1000  rocketmouse   4.0k Oct 28 19:11 archlinux

but at the end of the pass I noticed this:

$ ls -hAl /mnt/archlinux/home/spinymouse/.local/share/evolution/mail
total 28
drwxrwx---   3 1000  rocketmouse   4.0k Jan 24 02:37  
1323712251.1853.2@archlinux

drwxrwx---   3 1000  rocketmouse   4.0k Jan 24 02:13 1353406324.3645.4@q
drwxrwx---   3 1000  rocketmouse   4.0k Jan 24 02:13 1353606434.360.4@q
drwx--   2 1000  1000  4.0k Jan 24 02:37  
1358783158.2173.1@precise

drwxrwx---  17 1000  rocketmouse   4.0k Jan 24 02:37 local
drwxrwx---   4 1000  rocketmouse   4.0k Jan 24 02:10 trash
drwxrwx---   2 1000  rocketmouse   4.0k Jan 24 02:37 vfolder

I suspect I write-accessed /1358783158.2173.1@precise with a Linux that  
has no group 1001?


I'll add a group or user 1001 to all Linux and I'll add a user or group  
1000 to FreeBSD.


If I've done that, could I expect still any issues?

Regards
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"


Wine-fbsd64 updated to 1.5.22 (32bit Wine for 64bit FreeBSD)

2013-01-23 Thread David Naylor
Hi,

Packages [1] for wine-fbsd64-1.5.21 have been uploaded to mediafire [2].  The 
packages for FreeBSD 10 have been temporarily discontinued due to build errors 
[3].  

Please read the installation messages, if you use the nVidia graphics driver, 
for further information.  

FAQ
---
Q: Wine crashing when launching some 3D programs (aka games)
A: This appears to be some clash with software however I have not been able to 
isolate where the problem is occurring (wine, ports, world, kernel, i386, 
amd64).  A possible solution in to try upgrading, or downgrading, software 
used however I have not been able to fix the problem with my attempts.  If you 
find a solution please email me, or post the solution on the mailing list.

Q: wine: failed to initialize: / usr/local/lib32/wine/ntdll.dll.so: Undefined
symbol "_ThreadRuneLocale"
A: This problem is specific to FreeBSD-9.0, please either stick with 
wine-1.5.10 or update to a newer version of FreeBSD (-STABLE or 9.1).  
Apologies for the inconvenience.  

Q: Creating pkgng packages for FreeBSD-9
A: When there is no demand for FreeBSD-8 packages I'll create additional pkgng 
packages for FreeBSD-9.  Since it is possible to install the existing pkg 
packages in a pkgng environment (which I do) this is not a high priority.  

Q: Wine doesn't run (properly) with a clang built world
A: Clang was compiling i386 on a 16-byte boundary while gcc was using a 4-byte 
boundary.  To fix, recompile world after ensuring your sources include 
http://beta.freshbsd.org/commit/freebsd/r242835 or the relevant MFC.  

Regards,

David

[1]
 MD5 (wine-1.5.x-freebsd8/wine-fbsd64-1.5.22,1.tbz) = 
a4c0b8454cee0af89525764e522c3c5c
 MD5 (wine-1.5.x-freebsd9/wine-fbsd64-1.5.22.1.txz) = 
963a74f63b2b979e5ad0b792c0bfa3af
[2] http://www.mediafire.com/wine_fbsd64
[3] I'm building using FreeBSD 9.1 system and a FreeBSD 10-current chroot.  
The error is "tar: getvfsbyname failed: No such file or directory".  Likely a 
compatibility issue...


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


Re: IPMI SOL setup on FreeBSD 9.1 amd64 supermicro X9SCM-F/X9CL-F

2013-01-23 Thread Anton Yuzhaninov
On Mon, 21 Jan 2013 22:52:17, Derek Ragona wrote:
DR> I have a couple servers that are built using the supermicro X9SCM-F/X9CL-F 
DR> motherboards, and I can't quite get IPMI SOL working right.
DR> 
DR> These motherboards have 3 NIC's.  One NIC is for a dedicated IPMI interface.
DR> 
DR> I have both servers configured to use the dedicated IPMI NIC and these 
DR> NIC's are plugged into a separate unmanaged switch.
DR> 
DR> Both systems boards are set to redirect com1.  I changed /etc/ttys to run a 
DR> getty on /dev/ttyu0.  I have com1 configured to 115,200 baud, 8, n, 1, no 
DR> flowcontrol in the BIOS.  I in have /etc/ttys:
DR> ttyu0   "/usr/libexec/getty std.115200" vt100   on secure

/etc/ttys:
ttyu1   "/usr/libexec/getty std.115200" vt100   on  secure

/boot/loader.conf:
hint.uart.0.flags="0"
hint.uart.1.flags="0x10"
boot_serial="YES"
boot_multicons="YES"
comconsole_speed="115200"
console="comconsole vidconsole"

-- 
 Anton Yuzhaninov

_______
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: ADAT does work, but often is interrupted by noise - Was: FreeBSD and snd_hdspe last-ditch attempt

2013-01-23 Thread Ralf Mardorf

Hi Ruslan :)

here's the output of sysctl hw.snd and sysctl dev.pcm.

$ sysctl hw.snd
hw.snd.vpc_reset: 0
hw.snd.vpc_0db: 45
hw.snd.vpc_autoreset: 1
hw.snd.latency_profile: 1
hw.snd.latency: 5
hw.snd.report_soft_matrix: 1
hw.snd.report_soft_formats: 1
hw.snd.compat_linux_mmap: 0
hw.snd.feeder_eq_exact_rate: 0
hw.snd.feeder_eq_presets:  
PEQ:16000,0.2500,62,0.2500:-9,9,1.0:44100,48000,88200,96000,176400,192000

hw.snd.feeder_rate_quality: 1
hw.snd.feeder_rate_round: 25
hw.snd.feeder_rate_max: 2016000
hw.snd.feeder_rate_min: 1
hw.snd.feeder_rate_polyphase_max: 183040
hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97
hw.snd.vpc_mixer_bypass: 1
hw.snd.verbose: 2
hw.snd.maxautovchans: 16
hw.snd.default_unit: 0
hw.snd.version: 2009061500/amd64
hw.snd.default_auto: 1

$ sysctl dev.pcm
dev.pcm.0.%desc: HDSPe AIO [line]
dev.pcm.0.%driver: pcm
dev.pcm.0.%parent: hdspe0
dev.pcm.0.play.vchans: 1
dev.pcm.0.play.vchanmode: fixed
dev.pcm.0.play.vchanrate: 48000
dev.pcm.0.play.vchanformat: s16le:2.0
dev.pcm.0.rec.vchans: 1
dev.pcm.0.rec.vchanmode: fixed
dev.pcm.0.rec.vchanrate: 48000
dev.pcm.0.rec.vchanformat: s16le:2.0
dev.pcm.0.buffersize: 0
dev.pcm.0.bitperfect: 0
dev.pcm.1.%desc: HDSPe AIO [phone]
dev.pcm.1.%driver: pcm
dev.pcm.1.%parent: hdspe0
dev.pcm.1.play.vchans: 1
dev.pcm.1.play.vchanmode: fixed
dev.pcm.1.play.vchanrate: 48000
dev.pcm.1.play.vchanformat: s16le:2.0
dev.pcm.1.buffersize: 0
dev.pcm.1.bitperfect: 0
dev.pcm.2.%desc: HDSPe AIO [aes]
dev.pcm.2.%driver: pcm
dev.pcm.2.%parent: hdspe0
dev.pcm.2.play.vchans: 1
dev.pcm.2.play.vchanmode: fixed
dev.pcm.2.play.vchanrate: 48000
dev.pcm.2.play.vchanformat: s16le:2.0
dev.pcm.2.rec.vchans: 1
dev.pcm.2.rec.vchanmode: fixed
dev.pcm.2.rec.vchanrate: 48000
dev.pcm.2.rec.vchanformat: s16le:2.0
dev.pcm.2.buffersize: 0
dev.pcm.2.bitperfect: 0
dev.pcm.3.%desc: HDSPe AIO [s/pdif]
dev.pcm.3.%driver: pcm
dev.pcm.3.%parent: hdspe0
dev.pcm.3.play.vchans: 1
dev.pcm.3.play.vchanmode: fixed
dev.pcm.3.play.vchanrate: 48000
dev.pcm.3.play.vchanformat: s16le:2.0
dev.pcm.3.rec.vchans: 1
dev.pcm.3.rec.vchanmode: fixed
dev.pcm.3.rec.vchanrate: 48000
dev.pcm.3.rec.vchanformat: s16le:2.0
dev.pcm.3.buffersize: 0
dev.pcm.3.bitperfect: 0
dev.pcm.4.%desc: HDSPe AIO [adat]
dev.pcm.4.%driver: pcm
dev.pcm.4.%parent: hdspe0
dev.pcm.4.play.vchans: 1
dev.pcm.4.play.vchanmode: fixed
dev.pcm.4.play.vchanrate: 48000
dev.pcm.4.play.vchanformat: s16le:2.0
dev.pcm.4.rec.vchans: 1
dev.pcm.4.rec.vchanmode: fixed
dev.pcm.4.rec.vchanrate: 48000
dev.pcm.4.rec.vchanformat: s16le:2.0
dev.pcm.4.buffersize: 0
dev.pcm.4.bitperfect: 0
dev.pcm.5.%desc: HDSPe AIO [adat]
dev.pcm.5.%driver: pcm
dev.pcm.5.%parent: hdspe0
dev.pcm.5.play.vchans: 1
dev.pcm.5.play.vchanmode: fixed
dev.pcm.5.play.vchanrate: 48000
dev.pcm.5.play.vchanformat: s16le:2.0
dev.pcm.5.rec.vchans: 1
dev.pcm.5.rec.vchanmode: fixed
dev.pcm.5.rec.vchanrate: 48000
dev.pcm.5.rec.vchanformat: s16le:2.0
dev.pcm.5.buffersize: 0
dev.pcm.5.bitperfect: 0
dev.pcm.6.%desc: HDSPe AIO [adat]
dev.pcm.6.%driver: pcm
dev.pcm.6.%parent: hdspe0
dev.pcm.6.play.vchans: 1
dev.pcm.6.play.vchanmode: fixed
dev.pcm.6.play.vchanrate: 48000
dev.pcm.6.play.vchanformat: s16le:2.0
dev.pcm.6.rec.vchans: 1
dev.pcm.6.rec.vchanmode: fixed
dev.pcm.6.rec.vchanrate: 48000
dev.pcm.6.rec.vchanformat: s16le:2.0
dev.pcm.6.buffersize: 0
dev.pcm.6.bitperfect: 0
dev.pcm.7.%desc: HDSPe AIO [adat]
dev.pcm.7.%driver: pcm
dev.pcm.7.%parent: hdspe0
dev.pcm.7.play.vchans: 1
dev.pcm.7.play.vchanmode: fixed
dev.pcm.7.play.vchanrate: 48000
dev.pcm.7.play.vchanformat: s16le:2.0
dev.pcm.7.rec.vchans: 1
dev.pcm.7.rec.vchanmode: fixed
dev.pcm.7.rec.vchanrate: 48000
dev.pcm.7.rec.vchanformat: s16le:2.0
dev.pcm.7.buffersize: 0
dev.pcm.7.bitperfect: 0

Regards,
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"


Re: ADAT does work, but often is interrupted by noise - Was: FreeBSD and snd_hdspe last-ditch attempt

2013-01-23 Thread Ruslan Bukin
please include also the output of

1. sysctl hw.snd
2. sysctl dev.pcm

On Wed, Jan 23, 2013 at 10:47:09AM +0100, Ralf Mardorf wrote:
> Thank you Ian :)
> 
> On Wed, 23 Jan 2013 05:25:59 +0100, Ian Smith  wrote:
> > 'cat /dev/sndstat'
> 
> I already posted it ;). However, I set sysctl hw.snd.verbose=2, here it's  
> again [1].
> It's a cheap professional audio device, IOW it's not a consumer or  
> semi-professional device, so cheap doesn't mean low quality. Professional  
> and semi-professional devices usually don't support surround sound, but at  
> least the professional devices provide special interfaces, such as AES/EBU  
> and ADAT. The card I'm using comes with two analog IOs, AES/EBU, ADAT and  
> it supports consumer's SPDIF.
> 
> $ ls -l /dev/dsp*
> crw-rw-rw-  1 root  wheel0, 205 Jan 23 09:41 /dev/dsp0.0
> crw-rw-rw-  1 root  wheel0, 204 Jan 23 09:41 /dev/dsp1.0
> crw-rw-rw-  1 root  wheel0, 203 Jan 23 09:41 /dev/dsp2.0
> crw-rw-rw-  1 root  wheel0, 202 Jan 23 09:41 /dev/dsp3.0
> crw-rw-rw-  1 root  wheel0, 201 Jan 23 09:41 /dev/dsp4.0
> crw-rw-rw-  1 root  wheel0, 200 Jan 23 09:41 /dev/dsp5.0
> crw-rw-rw-  1 root  wheel0, 199 Jan 23 09:41 /dev/dsp6.0
> crw-rw-rw-  1 root  wheel0, 198 Jan 23 09:41 /dev/dsp7.0
> 
> > have to assume you've already
> > discussed your issues with its author, Ruslan Bukin 
> 
> Yes, Ruslan does or at least did follow the thread.
> 
> I set jackd to use OSS with /dev/dsp4.0, I connected synaddsubfx
> 
> $ zynaddsubfx
> 
> ZynAddSubFX - Copyright (c) 2002-2009 Nasca Octavian Paul and others
> Compiled: Jan 20 2013 03:10:05
> This program is free software (GNU GPL v.2 or later) and
> it comes with ABSOLUTELY NO WARRANTY.
> 
> Try 'zynaddsubfx --help' for command-line options.
> Sound Buffer Size =   256 samples
> Internal latency =5.3 ms
> ADsynth Oscil.Size =  1024 samples
> Internal SampleRate   = 48000
> Jack Output SampleRate= 48000
> ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such  
> file or directory
> 
> Now there sometimes is audio output and sometimes dangerous noise, that  
> could damage the speakers. Jack is running without real-time,  
> Frames/Period 1024, Periods/Buffer 2, Samplerae 48000, Word Length 16.
> 
> Regards,
> Ralf
> 
> [1]
> $ cat /dev/sndstat
> FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
> Installed devices:
> pcm0:  at io 0xfdff irq 18 kld snd_hdspe  
> (1p:1v/1r:1v) default
>   snddev flags=0x2e6
>   [pcm0:play:dsp0.p0]: spd 48000, fmt 0x00200010/0x00201000, flags  
> 0x2100, 0x0006
>   interrupts 0, underruns 0, feed 0, ready 0  
> [b:131072/4096/32|bs:65536/2048/32]
>   channel flags=0x2100
>   {userland} -> feeder_mixer(0x00200010) -> feeder_format(0x00200010 ->  
> 0x00201000) -> {hardware}
>   pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 8000, fmt 0x0018, 
> flags  
> 0x1000, 0x
>   interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0]
>   channel flags=0x1000
>   {userland} -> feeder_root(0x) -> {hardware}
>   [pcm0:record:dsp0.r0]: spd 48000, fmt 0x00200010/0x00201000, flags  
> 0x2100, 0x0007
>   interrupts 0, overruns 0, feed 0, hfree 131072, sfree 65536  
> [b:131072/4096/32|bs:65536/2048/32]
>   channel flags=0x2100
>   {hardware} -> feeder_root(0x00201000) -> feeder_format(0x00201000 ->  
> 0x00200010) -> feeder_mixer(0x00200010) -> {userland}
>   pcm0:record:dsp0.r0[pcm0:virtual:dsp0.vr0]: spd 8000, fmt 0x0018,  
> flags 0x1000, 0x
>   interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs:0/0/0]
>   channel flags=0x1000
>   {hardware} -> feeder_root(0x) -> {userland}
> pcm1:  at io 0xfdff irq 18 kld snd_hdspe  
> (1p:1v/0r:0v)
>   snddev  
> flags=0x2e7
>   [pcm1:play:dsp1.p0]: spd 48000, fmt 0x00200010/0x00201000, flags  
> 0x2100, 0x0006
>   interrupts 0, underruns 0, feed 0, ready 0  
> [b:131072/4096/32|bs:65536/2048/32]
>   channel flags=0x2100
>   {userland} -> feeder_mixer(0x00200010) -> feeder_format(0x00200010 ->  
> 0x00201000) -> {hardware}
>   pcm1:play:dsp1.p0[pcm1:virtual:dsp1.vp0]: spd 8000, fmt 0x0018, 
> flags  
> 0x1000, 0x
>   interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0]
>   channel flags=0x1000
>   {userland} -> feeder_root(0x) -> {hardware}
> pcm2:  at io 0xfdff irq 18 kld snd_hdspe (1p:1v/1r:1v)
>   snddev flags=0x2e6
>   [pcm2:pl

ADAT does work, but often is interrupted by noise - Was: FreeBSD and snd_hdspe last-ditch attempt

2013-01-23 Thread Ralf Mardorf

Thank you Ian :)

On Wed, 23 Jan 2013 05:25:59 +0100, Ian Smith  wrote:

'cat /dev/sndstat'


I already posted it ;). However, I set sysctl hw.snd.verbose=2, here it's  
again [1].
It's a cheap professional audio device, IOW it's not a consumer or  
semi-professional device, so cheap doesn't mean low quality. Professional  
and semi-professional devices usually don't support surround sound, but at  
least the professional devices provide special interfaces, such as AES/EBU  
and ADAT. The card I'm using comes with two analog IOs, AES/EBU, ADAT and  
it supports consumer's SPDIF.


$ ls -l /dev/dsp*
crw-rw-rw-  1 root  wheel0, 205 Jan 23 09:41 /dev/dsp0.0
crw-rw-rw-  1 root  wheel0, 204 Jan 23 09:41 /dev/dsp1.0
crw-rw-rw-  1 root  wheel0, 203 Jan 23 09:41 /dev/dsp2.0
crw-rw-rw-  1 root  wheel0, 202 Jan 23 09:41 /dev/dsp3.0
crw-rw-rw-  1 root  wheel0, 201 Jan 23 09:41 /dev/dsp4.0
crw-rw-rw-  1 root  wheel0, 200 Jan 23 09:41 /dev/dsp5.0
crw-rw-rw-  1 root  wheel0, 199 Jan 23 09:41 /dev/dsp6.0
crw-rw-rw-  1 root  wheel0, 198 Jan 23 09:41 /dev/dsp7.0


have to assume you've already
discussed your issues with its author, Ruslan Bukin 


Yes, Ruslan does or at least did follow the thread.

I set jackd to use OSS with /dev/dsp4.0, I connected synaddsubfx

$ zynaddsubfx

ZynAddSubFX - Copyright (c) 2002-2009 Nasca Octavian Paul and others
Compiled: Jan 20 2013 03:10:05
This program is free software (GNU GPL v.2 or later) and
it comes with ABSOLUTELY NO WARRANTY.

Try 'zynaddsubfx --help' for command-line options.
Sound Buffer Size = 256 samples
Internal latency =  5.3 ms
ADsynth Oscil.Size =1024 samples
Internal SampleRate   = 48000
Jack Output SampleRate= 48000
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such  
file or directory


Now there sometimes is audio output and sometimes dangerous noise, that  
could damage the speakers. Jack is running without real-time,  
Frames/Period 1024, Periods/Buffer 2, Samplerae 48000, Word Length 16.


Regards,
Ralf

[1]
$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0:  at io 0xfdff irq 18 kld snd_hdspe  
(1p:1v/1r:1v) default

snddev flags=0x2e6
	[pcm0:play:dsp0.p0]: spd 48000, fmt 0x00200010/0x00201000, flags  
0x2100, 0x0006
	interrupts 0, underruns 0, feed 0, ready 0  
[b:131072/4096/32|bs:65536/2048/32]

channel flags=0x2100
	{userland} -> feeder_mixer(0x00200010) -> feeder_format(0x00200010 ->  
0x00201000) -> {hardware}
	pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 8000, fmt 0x0018, flags  
0x1000, 0x

interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0]
channel flags=0x1000
{userland} -> feeder_root(0x) -> {hardware}
	[pcm0:record:dsp0.r0]: spd 48000, fmt 0x00200010/0x00201000, flags  
0x2100, 0x0007
	interrupts 0, overruns 0, feed 0, hfree 131072, sfree 65536  
[b:131072/4096/32|bs:65536/2048/32]

channel flags=0x2100
	{hardware} -> feeder_root(0x00201000) -> feeder_format(0x00201000 ->  
0x00200010) -> feeder_mixer(0x00200010) -> {userland}
	pcm0:record:dsp0.r0[pcm0:virtual:dsp0.vr0]: spd 8000, fmt 0x0018,  
flags 0x1000, 0x

interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs:0/0/0]
channel flags=0x1000
{hardware} -> feeder_root(0x) -> {userland}
pcm1:  at io 0xfdff irq 18 kld snd_hdspe  
(1p:1v/0r:0v)
	snddev  
flags=0x2e7
	[pcm1:play:dsp1.p0]: spd 48000, fmt 0x00200010/0x00201000, flags  
0x2100, 0x0006
	interrupts 0, underruns 0, feed 0, ready 0  
[b:131072/4096/32|bs:65536/2048/32]

channel flags=0x2100
	{userland} -> feeder_mixer(0x00200010) -> feeder_format(0x00200010 ->  
0x00201000) -> {hardware}
	pcm1:play:dsp1.p0[pcm1:virtual:dsp1.vp0]: spd 8000, fmt 0x0018, flags  
0x1000, 0x

interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0]
channel flags=0x1000
{userland} -> feeder_root(0x) -> {hardware}
pcm2:  at io 0xfdff irq 18 kld snd_hdspe (1p:1v/1r:1v)
snddev flags=0x2e6
	[pcm2:play:dsp2.p0]: spd 48000, fmt 0x00200010/0x00201000, flags  
0x2100, 0x0006
	interrupts 0, underruns 0, feed 0, ready 0  
[b:131072/4096/32|bs:65536/2048/32]

channel flags=0x2100
	{userland} -> feeder_mixer(0x00200010) -> feeder_format(0x00200010 ->  
0x00201000) -> {hardware}
	pcm2:play:dsp2.p0[pcm2:virtual:dsp2.vp0]: spd 8000, fmt 0x0018, flags  
0x1000, 0x

interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0]
channel flags=0x1000
{userland} -> feeder_root(0x) -> {hardware}
	[pcm2:record:dsp2.r0]: spd 48000, fmt 0x00200010/0x00201000, flags  
0x2100, 0x0007
	interrupts 0, overruns 0, feed

Re: FreeBSD and snd_hdspe last-ditch attempt

2013-01-22 Thread Ian Smith
On Tue, 22 Jan 2013, Ralf Mardorf wrote:
 > Cc: FreeBSD quest 

 > Hi :)

Hi Ralf,

I've been following this saga for a while, with interest but no specific 
knowledge of your gear nor how you intend to use it.  All I can comment 
on is the way you're going about reporting and debugging your issues.

I'm not sure repeating these in questions@ will be much use if you can't 
get answers in multimedia@, but I'll leave that alone for now.  I know 
you're new to FreeBSD from Linux and can't know what advice might be 
useful and what may be wild goose chases, harder to tell in questions@

 > I can use Opera to play YouTube by the analog IOs of the HDSPe AIO sound
 > card. I can use Jack with OSS and play a WAV by Audacity and by Audacious and
 > I also can hear ZynAddSubFX. All of them only use the 2 analog IOs.
 > 
 > If I test VLC with OSS and /dev/dsp or /dev/dsp* (* is for 0 to 7), it
 > doesn't work.

What you're not telling people, now at least, is some of the basics from 
sound(4), ie which hints and sysctls you have set, for example how many 
channels and vchans you have enabled, which /dev/dsp* actually exist now 
(showing with 'ls -l /dev/dsp*' rather than telling), and how thoroughly 
you've taken the advice in sound(4) re setup and debugging, like setting 
sysctl hw.snd.verbose to 4 and reporting 'cat /dev/sndstat' results - 
this will be voluminous I'm sure, but will be needed by whoever is going 
to look at this.  I suggest gathering all the necessary information in 
one place and submitting a PR, if you can't get direct help on lists.

 > I don't know how to use Gnome Music Player Client. It's asking for an ominous
 > host, it's seemingly not the name of the machine.
 > 
 > cat file > /dev/dsp is mentioned in the handbook, but it doesn't work. ALSA
 > completely isn't available.
 > 
 > Is there nobody able to help? Are there no correct instructions what to do?
 > Is anybody else using snd_hdspe besides the coder and me?

I assume you've read what little there is in snd_hdspe(4) and the great 
deal that there is in sound(4) and are now well familiar with it, though 
your messages don't particularly indicate such familiarity.  I realise 
that you're an audio professional, but being a new card with few if any 
other users you may have to do a fair bit of digging, like inspecting 
/sys/dev/sound/pci/hdspe* and playing around with hw.snd tunables.

This is a new driver, first appearing in FreeBSD 10 :) according to 
snd_hdspe(4).  I don't know when it was merged to 9 or what level of 
testing it's had in the field, but I have to assume you've already 
discussed your issues with its author, Ruslan Bukin  ?

Sorry I can't offer anything more concrete, and good luck.

cheers, Ian
___
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: Sharing a mail folder between Linux and FreeBSD

2013-01-22 Thread Ralf Mardorf

Hi :)

perhaps good news for me.

That's strange. Now user and group are kept for the mount point of the  
ext3 fs. Can I assume that this usually should work and that I just had  
bad luck, when permissions, user and group were automatically changed?


root@freebsd:/mnt # ls -l
drwxrwx---  21 1000  1000   4096 Oct 28 19:11 archlinux
drwxrwxrwx   2 root  wheel  4096 Jan 22 07:09 dump

root@freebsd:/mnt # chown rocketmouse:wheel archlinux

root@freebsd:/mnt # ls -l
drwxrwx---  21 rocketmouse  wheel  4096 Oct 28 19:11 archlinux
drwxrwxrwx   2 root wheel  4096 Jan 22 07:09 dump

root@freebsd:/mnt # shutdown -r now

root@freebsd:/mnt # ls -l
drwxrwx---  21 rocketmouse  wheel  4096 Oct 28 19:11 archlinux
drwxrwxrwx   2 root wheel  4096 Jan 22 07:09 dump

Before I continue with setting up Evolution, I'll take care about it for a  
few shutdowns and startups.


Regards,
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"


FreeBSD and snd_hdspe last-ditch attempt

2013-01-22 Thread Ralf Mardorf

Hi :)

I can use Opera to play YouTube by the analog IOs of the HDSPe AIO sound  
card. I can use Jack with OSS and play a WAV by Audacity and by Audacious  
and I also can hear ZynAddSubFX. All of them only use the 2 analog IOs.


If I test VLC with OSS and /dev/dsp or /dev/dsp* (* is for 0 to 7), it  
doesn't work.


I don't know how to use Gnome Music Player Client. It's asking for an  
ominous host, it's seemingly not the name of the machine.


cat file > /dev/dsp is mentioned in the handbook, but it doesn't work.  
ALSA completely isn't available.


Is there nobody able to help? Are there no correct instructions what to  
do? Is anybody else using snd_hdspe besides the coder and me?


Regards,
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"


Re: Sharing a mail folder between Linux and FreeBSD

2013-01-22 Thread Ralf Mardorf

On Tue, 22 Jan 2013 11:26:18 +0100, Polytropon  wrote:


On Tue, 22 Jan 2013 04:16:42 -0600, Joshua Isom wrote:

On 1/21/2013 5:33 PM, Ralf Mardorf wrote:
> Hi :)
>
> I'm sharing the same directory for Evolution emails, by several Linux
> installs. For e.g. Ubuntu Precise it's Evolution 3.2.3 and for e.g.
> Ubuntu Quantal it's Evolution 3.6.0.
>
> I'm doing it by a link:
>

It looks like to me you're asking for long term trouble.  You're using
multiple versions, so in the future there could be changes that could
corrupt your mail.  Why not just use an IMAP server instead?  It's what
I do, so my mail's shared between FreeBSD, Windows, and Android.


That might be overhead, but still the approach contains
potential for future trouble, as you correctly pointed
out.

The reason is simple: While you may not have trouble if
all programs use the same mechanism for _storing_ mail
(e. g. in mbox, MH or Maildir format), they might store
other aspects of communication (read / unread, address
books, configuration settings) differently. This should
happen _independently_ of the mail storage. As long as
all involved programs are the same version, it will
probably work without any trouble. But if one program
of a newer version decides to rewrite the configuration
data in a new (and backwards-incompatible) format, the
older versions will definitely run into trouble.

I've been using a similar approach in the past, having
several GUI and TUI mail clients use the same mail
_storage_. Still as you suggest, running a (local) IMAP
server may prevent trouble, at least on the long run,
and it enables you easier testing for mail clients that
do not use the same storage format as your "old" ones do.
Still you can have any "storage backend" you like, so
even "plain text work" (easily done with MH and Maildir)
can be done if required (like grepping through messages
or processing them automatically in whatever manner).


I don't share configurations, filters etc. only the mails and it never did  
cause an issue. Read and unread always worked.


First I let Evolution restore all data from an Evolution backup, Evolution  
has gut an option to do it, so it will convert all configurations, filters  
etc., then I delete mail and only link "mail".


Doing this with e.g. Mozilla MUAs does cause issues, when they are from  
different versions, but it works flawlessly for Evolution. For older  
versions of Evolution it wasn't possible to backup and restore everything  
by an Evolution option, then we had to do a lot of manually work, even  
when not sharing a folder. Since this is fixed, sharing the mail folder  
always will work.


Regards,
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"


Re: Sharing a mail folder between Linux and FreeBSD

2013-01-22 Thread Ralf Mardorf

On Tue, 22 Jan 2013 11:16:42 +0100, Joshua Isom  wrote:
It looks like to me you're asking for long term trouble.  You're using  
multiple versions, so in the future there could be changes that could  
corrupt your mail.  Why not just use an IMAP server instead?  It's what  
I do, so my mail's shared between FreeBSD, Windows, and Android.


I'm doing it for a long time and I only link to the mail directory. I  
experienced IMAP as a PITA, not only that there would be the need to set  
up IMAP for each install, I only have one computer, it did cause  
incompatibilities, not seldom thousands of mails get fetched several  
times. Sync can cause tons of issues.


Keeping mails on the servers of the two providers I'm using (Alice and  
Rocketmail) is no option. I will fetch emails and delete them on their  
servers.


The only issue with sharing the GNOME email folder is, that GNOME 3 is a  
broken DE and Evolution 3.6 is buggy, but this also is an issue, if I  
don't share the email folder. Unfortunately the mail dir format can't be  
shared with other mail dir MUAs.


YMMV!

Regards,
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"


Re: Sharing a mail folder between Linux and FreeBSD

2013-01-22 Thread Joshua Isom
He already mentioned different major versions, and changing to 5.0 in a few 
years may need the mail "migrated" for a new feature.  Then there could be 
trouble.  Getting storage away from the client is the most stable.  A local 
cache will likely provide all the new fancy features.

Polytropon  wrote:

>On Tue, 22 Jan 2013 04:16:42 -0600, Joshua Isom wrote:
>> On 1/21/2013 5:33 PM, Ralf Mardorf wrote:
>> > Hi :)
>> >
>> > I'm sharing the same directory for Evolution emails, by several
>Linux
>> > installs. For e.g. Ubuntu Precise it's Evolution 3.2.3 and for e.g.
>> > Ubuntu Quantal it's Evolution 3.6.0.
>> >
>> > I'm doing it by a link:
>> >
>> 
>> It looks like to me you're asking for long term trouble.  You're
>using 
>> multiple versions, so in the future there could be changes that could
>
>> corrupt your mail.  Why not just use an IMAP server instead?  It's
>what 
>> I do, so my mail's shared between FreeBSD, Windows, and Android.
>
>That might be overhead, but still the approach contains
>potential for future trouble, as you correctly pointed
>out.
>
>The reason is simple: While you may not have trouble if
>all programs use the same mechanism for _storing_ mail
>(e. g. in mbox, MH or Maildir format), they might store
>other aspects of communication (read / unread, address
>books, configuration settings) differently. This should
>happen _independently_ of the mail storage. As long as
>all involved programs are the same version, it will
>probably work without any trouble. But if one program
>of a newer version decides to rewrite the configuration
>data in a new (and backwards-incompatible) format, the
>older versions will definitely run into trouble.
>
>I've been using a similar approach in the past, having
>several GUI and TUI mail clients use the same mail
>_storage_. Still as you suggest, running a (local) IMAP
>server may prevent trouble, at least on the long run,
>and it enables you easier testing for mail clients that
>do not use the same storage format as your "old" ones do.
>Still you can have any "storage backend" you like, so
>even "plain text work" (easily done with MH and Maildir)
>can be done if required (like grepping through messages
>or processing them automatically in whatever manner).
>
>
>
>
>-- 
>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: Sharing a mail folder between Linux and FreeBSD

2013-01-22 Thread Chris Whitehouse

On 22/01/2013 05:32, Polytropon wrote:

On Tue, 22 Jan 2013 02:31:11 +0100, Ralf Mardorf wrote:

On Tue, 2013-01-22 at 08:18 +0700, Erich Dollansky wrote:

I guess it would be possible to change the id for the existing FreeBSD
user and then to chown /home/user_name to fit to 1000?


Of course, this would work. But then all existing files of the existing
FreeBSD would be without owner.


The current user is: rocketmouse
The uid is : 1001

Isn't it possible to change the uid to 1000?
This would cause that the owner wouldn't be rocketmouse anymore, but
still 1001. I then could run chown -R for /home/rocketmouse to switch
from 1001 to back to rocketmouse = new uid 1000.


You would need to do two changes: First in the password database,
with chsh (tidy way) or by editing the /etc/passwd, /etc/master.passwd
and /etc/group files plus rebuilding the database with pwd_mkdb
(untidy way) to assign rocketmouse = 1000 on FreeBSD.


Could you do this with pw(8)?
# pw usermod rocketmouse -u 1000
checking first there isn't a uid 1000 already.

Then chown -R

Chris



Then you would also have to "promote" this change to the file
system, as all the files still belong to a user with UID 1001.
Use chown -R with the new numerical value of 1000.

Result: Your user would have the UID 1000 on all systems, so
all the "low level functions" would behave similarly.




Or another idea would be to create a new user with the uid 1000 and then
to add rocketmouse to the group of this user. I guess this is what you
already recommended.


Yes, that would also work. You only have to make sure that
group permissions are valid, and the "access permission" is
provided in /etc/group properly.





_______
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: Sharing a mail folder between Linux and FreeBSD

2013-01-22 Thread Polytropon
On Tue, 22 Jan 2013 04:16:42 -0600, Joshua Isom wrote:
> On 1/21/2013 5:33 PM, Ralf Mardorf wrote:
> > Hi :)
> >
> > I'm sharing the same directory for Evolution emails, by several Linux
> > installs. For e.g. Ubuntu Precise it's Evolution 3.2.3 and for e.g.
> > Ubuntu Quantal it's Evolution 3.6.0.
> >
> > I'm doing it by a link:
> >
> 
> It looks like to me you're asking for long term trouble.  You're using 
> multiple versions, so in the future there could be changes that could 
> corrupt your mail.  Why not just use an IMAP server instead?  It's what 
> I do, so my mail's shared between FreeBSD, Windows, and Android.

That might be overhead, but still the approach contains
potential for future trouble, as you correctly pointed
out.

The reason is simple: While you may not have trouble if
all programs use the same mechanism for _storing_ mail
(e. g. in mbox, MH or Maildir format), they might store
other aspects of communication (read / unread, address
books, configuration settings) differently. This should
happen _independently_ of the mail storage. As long as
all involved programs are the same version, it will
probably work without any trouble. But if one program
of a newer version decides to rewrite the configuration
data in a new (and backwards-incompatible) format, the
older versions will definitely run into trouble.

I've been using a similar approach in the past, having
several GUI and TUI mail clients use the same mail
_storage_. Still as you suggest, running a (local) IMAP
server may prevent trouble, at least on the long run,
and it enables you easier testing for mail clients that
do not use the same storage format as your "old" ones do.
Still you can have any "storage backend" you like, so
even "plain text work" (easily done with MH and Maildir)
can be done if required (like grepping through messages
or processing them automatically in whatever manner).




-- 
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: Sharing a mail folder between Linux and FreeBSD

2013-01-22 Thread Joshua Isom

On 1/21/2013 5:33 PM, Ralf Mardorf wrote:

Hi :)

I'm sharing the same directory for Evolution emails, by several Linux
installs. For e.g. Ubuntu Precise it's Evolution 3.2.3 and for e.g.
Ubuntu Quantal it's Evolution 3.6.0.

I'm doing it by a link:



It looks like to me you're asking for long term trouble.  You're using 
multiple versions, so in the future there could be changes that could 
corrupt your mail.  Why not just use an IMAP server instead?  It's what 
I do, so my mail's shared between FreeBSD, Windows, and Android.

___
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: Sharing a mail folder between Linux and FreeBSD

2013-01-21 Thread Polytropon
On Tue, 22 Jan 2013 02:31:11 +0100, Ralf Mardorf wrote:
> On Tue, 2013-01-22 at 08:18 +0700, Erich Dollansky wrote:
> > > I guess it would be possible to change the id for the existing FreeBSD
> > > user and then to chown /home/user_name to fit to 1000?
> > 
> > Of course, this would work. But then all existing files of the existing
> > FreeBSD would be without owner.
> 
> The current user is: rocketmouse
> The uid is : 1001
> 
> Isn't it possible to change the uid to 1000?
> This would cause that the owner wouldn't be rocketmouse anymore, but
> still 1001. I then could run chown -R for /home/rocketmouse to switch
> from 1001 to back to rocketmouse = new uid 1000.

You would need to do two changes: First in the password database,
with chsh (tidy way) or by editing the /etc/passwd, /etc/master.passwd
and /etc/group files plus rebuilding the database with pwd_mkdb
(untidy way) to assign rocketmouse = 1000 on FreeBSD.

Then you would also have to "promote" this change to the file
system, as all the files still belong to a user with UID 1001.
Use chown -R with the new numerical value of 1000.

Result: Your user would have the UID 1000 on all systems, so
all the "low level functions" would behave similarly.



> Or another idea would be to create a new user with the uid 1000 and then
> to add rocketmouse to the group of this user. I guess this is what you
> already recommended.

Yes, that would also work. You only have to make sure that
group permissions are valid, and the "access permission" is
provided in /etc/group properly.



-- 
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: Sharing a mail folder between Linux and FreeBSD

2013-01-21 Thread Erich Dollansky
Hi,

On Tue, 22 Jan 2013 02:31:11 +0100
Ralf Mardorf  wrote:

> On Tue, 2013-01-22 at 08:18 +0700, Erich Dollansky wrote:
> > > I guess it would be possible to change the id for the existing
> > > FreeBSD user and then to chown /home/user_name to fit to 1000?
> > 
> > Of course, this would work. But then all existing files of the
> > existing FreeBSD would be without owner.
> 
> The current user is: rocketmouse
> The uid is : 1001
> 
> Isn't it possible to change the uid to 1000?
> This would cause that the owner wouldn't be rocketmouse anymore, but
> still 1001. I then could run chown -R for /home/rocketmouse to switch
> from 1001 to back to rocketmouse = new uid 1000.
> 
> Or another idea would be to create a new user with the uid 1000 and
> then to add rocketmouse to the group of this user. I guess this is
> what you already recommended.

yes, this is what I would do.

Erich
___
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: Sharing a mail folder between Linux and FreeBSD

2013-01-21 Thread Ralf Mardorf
On Tue, 2013-01-22 at 08:18 +0700, Erich Dollansky wrote:
> > I guess it would be possible to change the id for the existing FreeBSD
> > user and then to chown /home/user_name to fit to 1000?
> 
> Of course, this would work. But then all existing files of the existing
> FreeBSD would be without owner.

The current user is: rocketmouse
The uid is : 1001

Isn't it possible to change the uid to 1000?
This would cause that the owner wouldn't be rocketmouse anymore, but
still 1001. I then could run chown -R for /home/rocketmouse to switch
from 1001 to back to rocketmouse = new uid 1000.

Or another idea would be to create a new user with the uid 1000 and then
to add rocketmouse to the group of this user. I guess this is what you
already recommended.

Regards,
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"


Re: Sharing a mail folder between Linux and FreeBSD

2013-01-21 Thread Erich Dollansky
Hallo Ralf,

On Tue, 22 Jan 2013 01:53:52 +0100
Ralf Mardorf  wrote:

> On Tue, 2013-01-22 at 07:31 +0700, Erich Dollansky wrote:
> > On Tue, 22 Jan 2013 00:33:49 +0100
> > Ralf Mardorf  wrote:
> > 
> > > 
> > > root@freebsd:/usr/home/rocketmouse # ls -l /mnt
> > > drwxrwx---  21 1000  1000   4096 Oct 28 19:11 archlinux
> > > drwxrwxrwx   2 root  wheel  4096 Jan 20 20:09 dump
> > > 
> > it seems that you do not have a user with the id 1000 on this
> > machine. Create one and that user will be able to access it.
> 
> Hallo Erich :)
> 
> correct, as already mentioned, the uid of the FreeBSD user is 1001.
> Why doesn't change chown the user and group, why do I get ---? I'll
> try it again, perhaps it was voodoo ;).
> 
> Assumed it wasn't voodoo, is there no way to get consistent rwx
> permissions for "others" or to get a consistent group "wheel" instead
> of "1000"? Why do I get those permissions, owner and group
> automatically? And why does it differ to what I get for /dump?
> 
root and wheel have the ID 0. All other IDs are more or less randomly
used. I use scripts on my systems to have always the same IDs.

> I guess it would be possible to change the id for the existing FreeBSD
> user and then to chown /home/user_name to fit to 1000?

Of course, this would work. But then all existing files of the existing
FreeBSD would be without owner.

Erich
___
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: Sharing a mail folder between Linux and FreeBSD

2013-01-21 Thread Ralf Mardorf
On Tue, 2013-01-22 at 07:31 +0700, Erich Dollansky wrote:
> On Tue, 22 Jan 2013 00:33:49 +0100
> Ralf Mardorf  wrote:
> 
> > 
> > root@freebsd:/usr/home/rocketmouse # ls -l /mnt
> > drwxrwx---  21 1000  1000   4096 Oct 28 19:11 archlinux
> > drwxrwxrwx   2 root  wheel  4096 Jan 20 20:09 dump
> > 
> it seems that you do not have a user with the id 1000 on this machine.
> Create one and that user will be able to access it.

Hallo Erich :)

correct, as already mentioned, the uid of the FreeBSD user is 1001. Why
doesn't change chown the user and group, why do I get ---? I'll try it
again, perhaps it was voodoo ;).

Assumed it wasn't voodoo, is there no way to get consistent rwx
permissions for "others" or to get a consistent group "wheel" instead of
"1000"? Why do I get those permissions, owner and group automatically?
And why does it differ to what I get for /dump?

I guess it would be possible to change the id for the existing FreeBSD
user and then to chown /home/user_name to fit to 1000?

Ciao,
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"


Re: Sharing a mail folder between Linux and FreeBSD

2013-01-21 Thread Erich Dollansky
Hi,

On Tue, 22 Jan 2013 00:33:49 +0100
Ralf Mardorf  wrote:

> 
> root@freebsd:/usr/home/rocketmouse # ls -l /mnt
> drwxrwx---  21 1000  1000   4096 Oct 28 19:11 archlinux
> drwxrwxrwx   2 root  wheel  4096 Jan 20 20:09 dump
> 
it seems that you do not have a user with the id 1000 on this machine.
Create one and that user will be able to access it.

Erich
_______
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"


Sharing a mail folder between Linux and FreeBSD

2013-01-21 Thread Ralf Mardorf
Hi :)

I'm sharing the same directory for Evolution emails, by several Linux
installs. For e.g. Ubuntu Precise it's Evolution 3.2.3 and for e.g.
Ubuntu Quantal it's Evolution 3.6.0.

I'm doing it by a link:

root@precise:~# ls -l /home/spinymouse/.local/share/evolution
lrwxrwxrwx 1 spinymouse spinymouse58 Apr 28  2012 mail
-> /mnt/archlinux/home/spinymouse/.local/share/evolution/mail

I would like to share it with Evolution from my FreeBSD install, but
there's an issue regarding to permissions.

For FreeBSD I don't have control about the permissions of the mounted
Linux ext3 partitions.

I get:

root@freebsd:/usr/home/rocketmouse # ls -l /mnt
drwxrwx---  21 1000  1000   4096 Oct 28 19:11 archlinux
drwxrwxrwx   2 root  wheel  4096 Jan 20 20:09 dump

The user is able to access /dump, but only /root can access /archlinux.
The uid of the FreeBSD user is 1001. I wonder why for /archlinux I get
rwxrwx--- and for /dump rwxrwxrwx, those permissions, user and group
will be changed automatically.

Regards,
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"


Re: What is the timeout of TCP in freeBSD?

2013-01-21 Thread Adam Vande More
On Sun, Jan 20, 2013 at 9:38 PM, Karthik Reddy <22karthikre...@gmail.com>wrote:

> When I change the kern.hz to 50, the timeout is happening at 76sec. Could
> you please elaborate on kern.hz and how does it effect timing.
>

Lower frequency so less opportunities for errors to be introduced, although
you may have greater network latency at that setting.

Some setting under sysctl kern.timecounter and/or sysctl kern.eventtimer
should be able to allow the guest to run better if the hypervisor can't do
it.

-- 
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"


IPMI SOL setup on FreeBSD 9.1 amd64 supermicro X9SCM-F/X9CL-F

2013-01-21 Thread Derek Ragona
I have a couple servers that are built using the supermicro X9SCM-F/X9CL-F 
motherboards, and I can't quite get IPMI SOL working right.


These motherboards have 3 NIC's.  One NIC is for a dedicated IPMI interface.

I have both servers configured to use the dedicated IPMI NIC and these 
NIC's are plugged into a separate unmanaged switch.


Both systems boards are set to redirect com1.  I changed /etc/ttys to run a 
getty on /dev/ttyu0.  I have com1 configured to 115,200 baud, 8, n, 1, no 
flowcontrol in the BIOS.  I in have /etc/ttys:

ttyu0   "/usr/libexec/getty std.115200" vt100   on secure

Using one server, I start an IPMI SOL session to the other server.  But all 
I get is the IPMI SOL output, no login prompt.
If I reboot the server I am SOL connected to, I do see the BIOS boot 
messages, and even the initial FreeBSD boot prompt.  I can even make boot 
prompt changes from the SOL session.  Once boot starts the SOL gets no more 
output.


I looked at both servers and the one I am using to initiate the SOL has 
/dev/ipmi0 and ipmitool working fine.  On the server I am trying to connect 
to has /dev/ipmi1 and ipmitool errors:
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No 
such file or directory


These are identical motherboards.

I suspect that because the one system creates /dev/ipmi1 instead of 
/dev/ipmi0 may be why the SOL output stops right after the boot starts.


If I do:
ln -s /dev/ipmi1 /dev/ipmi0

ipmitool works fine, until the next reboot.

How can I get the one system to make /dev/ipmi0 instead of /dev/ipmi1?

In FreeBSD 9.1 do I use hint.uart instead of hint.sio in /boot/loader.conf?

Any help would be appreciated.


-Derek
derek at computinginnovations.com



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______
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 9.1 i386 and OpenBSD 5.2 i386 - Ping Test Intermittent

2013-01-21 Thread Zamri Besar
Good morning,

I installed FreeBSD (9.1 i386) and OpenBSD (5.2 i386), and I found ping
result from directly attached Cisco switch to FreeBSD boxes were
intermittent. I test to ping to few other FreeBSD boxes, and still produce
the same result like below, regardless either using em or bce, or changing
the connected interface at Cisco switch that used by OpenBSD box. This is
default installation of FreeBSD and OpenBSD.

By the way, do syslog server (under FreeBSD or OpenBSD has limitation to
receive more than 3000 messages per second?

>From Cisco switch to FreeBSD box:

#ping 10.100.3.73 repeat 1000

Type escape sequence to abort.
Sending 1000, 100-byte ICMP Echos to 10.100.3.73, timeout is 2 seconds:
!!
!!
!!!.!!
!!
!!
!.
!!
!!
!!.!!!
!!
!!
.!
!!
!!
!!.!
Success rate is 99 percent (995/1000), round-trip min/avg/max = 1/1/8 ms

>From Cisco switch to OpenBSD box:

#ping 10.100.3.165 repeat 1000
Type escape sequence to abort.
Sending 1000, 100-byte ICMP Echos to 10.100.3.165, timeout is 2 seconds:
!!
!!
!!
!!
!!
!!
!!
!!
!!
!!
!!
!!
!!
!!

Success rate is 100 percent (1000/1000), round-trip min/avg/max = 1/1/4 ms

Please advise.

-- 
Thank you.

Zamri Besar
___
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 is the timeout of TCP in freeBSD?

2013-01-20 Thread Karthik Reddy
When I change the kern.hz to 50, the timeout is happening at 76sec. Could
you please elaborate on kern.hz and how does it effect timing.


On Sun, Jan 20, 2013 at 10:12 PM, Adam Vande More wrote:

> On Sun, Jan 20, 2013 at 8:50 AM, Karthik Reddy 
> <22karthikre...@gmail.com>wrote:
>
>> I was doing a experiment on FreeBSD for testing TCP timeout and RTO. OS is
>> being run from two different VMware versions 4.0 and 5.0.
>>
>> Present Scenario: VMware Player 4.0
>> I'll start a telnet session to a non-existing system in the network. When
>> I
>> look at the tcpdump the RTO starts at every 3 seconds and after some
>> exponential backoff starts. In this scenario after 75 seconds the TCP
>> gives
>> up and tells me that there is no system existing with the IP and telnet
>> session terminates.
>>
>> Next Scenario: VMware Player 5.0
>> In this scenario, I did the same but the RTO starts at 5 sec and then
>> varies. In this scenario, it takes more than 120 seconds for telnet
>> session
>> to tell me that there is no system is available in the network.
>>
>> I have seen sysctl in both VM's. net.inet.tcp.keepinit = 75000
>>
>> Is this problem something related to timing of the VM's or any other
>> issue?
>>
>
> What's the wallclock delta during such a test?  Have you tried setting
> 'kern.hz="50"' or fiddling other TC options?  UP VM's tend to keep time
> better than other multicore configs.
>
> --
> Adam Vande More




-- 
Karthik Reddy
I'm not the best, but I'm not like the Rest
___
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 is the timeout of TCP in freeBSD?

2013-01-20 Thread Adam Vande More
On Sun, Jan 20, 2013 at 8:50 AM, Karthik Reddy <22karthikre...@gmail.com>wrote:

> I was doing a experiment on FreeBSD for testing TCP timeout and RTO. OS is
> being run from two different VMware versions 4.0 and 5.0.
>
> Present Scenario: VMware Player 4.0
> I'll start a telnet session to a non-existing system in the network. When I
> look at the tcpdump the RTO starts at every 3 seconds and after some
> exponential backoff starts. In this scenario after 75 seconds the TCP gives
> up and tells me that there is no system existing with the IP and telnet
> session terminates.
>
> Next Scenario: VMware Player 5.0
> In this scenario, I did the same but the RTO starts at 5 sec and then
> varies. In this scenario, it takes more than 120 seconds for telnet session
> to tell me that there is no system is available in the network.
>
> I have seen sysctl in both VM's. net.inet.tcp.keepinit = 75000
>
> Is this problem something related to timing of the VM's or any other issue?
>

What's the wallclock delta during such a test?  Have you tried setting
'kern.hz="50"' or fiddling other TC options?  UP VM's tend to keep time
better than other multicore configs.

-- 
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"


What is the timeout of TCP in freeBSD?

2013-01-20 Thread Karthik Reddy
I was doing a experiment on FreeBSD for testing TCP timeout and RTO. OS is
being run from two different VMware versions 4.0 and 5.0.

Present Scenario: VMware Player 4.0
I'll start a telnet session to a non-existing system in the network. When I
look at the tcpdump the RTO starts at every 3 seconds and after some
exponential backoff starts. In this scenario after 75 seconds the TCP gives
up and tells me that there is no system existing with the IP and telnet
session terminates.

Next Scenario: VMware Player 5.0
In this scenario, I did the same but the RTO starts at 5 sec and then
varies. In this scenario, it takes more than 120 seconds for telnet session
to tell me that there is no system is available in the network.

I have seen sysctl in both VM's. net.inet.tcp.keepinit = 75000

Is this problem something related to timing of the VM's or any other issue?

-- 
Karthik Reddy
I'm not the best, but I'm not like the Rest
_______
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: laptop fan control via FreeBSD

2013-01-20 Thread Polytropon
On Sat, 19 Jan 2013 18:19:39 +0100, Xavier wrote:
> On Sat, Jan 19, 2013 at 05:04:36PM +0100, Polytropon wrote:
> 
> Hi Polytropon,
> 
> > On Sat, 19 Jan 2013 16:55:23 +0100, Xavier wrote:
> > > On Sat, Jan 19, 2013 at 03:13:58PM +0100, Fabian Keil wrote:
> > >
> > > Hi Fabian,
> > >
> > > > Xavier  wrote:
> > > >
> > > > > Is there any way to control the on and off the fan on a laptop using 
> > > > > FreeBSD?
> > > >
> > > > It depends on the laptop. On mine it works:
> > > >
> > > > fk@r500 ~ $sysctl -ad | grep fan
> > > > dev.acpi_ibm.0.fan_speed: Fan speed
> > > > dev.acpi_ibm.0.fan_level: Fan level
> > > > dev.acpi_ibm.0.fan: Fan enable
> > > >
> > >
> > > My output of 'sysctl -ad | grep fan' don't show these parameters. Why ?
> > > Because, my BIOS don't support these aparameters ? Another answer ?
> >
> > For laptops, you usually load a kernel module for interfacing
> > with the specific ACPI functions, like acpi_ibm.ko. There are
> > several others, but see "man acpi_ibm" for some impressions.
> >
> 
> Yes, but I have an acer Aspire 5634WLMi, and:
> 
> % ls /boot/kernel/acpi*
> /boot/kernel/acpi_asus.ko   /boot/kernel/acpi_panasonic.ko
> /boot/kernel/acpi_asus.ko.symbols
> /boot/kernel/acpi_panasonic.ko.symbols
> /boot/kernel/acpi_dock.ko   /boot/kernel/acpi_sony.ko
> /boot/kernel/acpi_dock.ko.symbols
> /boot/kernel/acpi_sony.ko.symbols
> /boot/kernel/acpi_fujitsu.ko/boot/kernel/acpi_toshiba.ko
> /boot/kernel/acpi_fujitsu.ko.symbols
> /boot/kernel/acpi_toshiba.ko.symbols
> /boot/kernel/acpi_hp.ko /boot/kernel/acpi_video.ko
> /boot/kernel/acpi_hp.ko.symbols
> /boot/kernel/acpi_video.ko.symbols
> /boot/kernel/acpi_ibm.ko/boot/kernel/acpi_wmi.ko
> /boot/kernel/acpi_ibm.ko.symbols/boot/kernel/acpi_wmi.ko.symbols
> 
> I don't have an acer kernel module for ACPI.

Two options:

If you can derive from the documentation of your Acer laotop
if it is _compatible_ to one of the implementations provided
by the system, use that instead.

You can do "trial & error" to see if one of the modules works,
even though the name is different. In worst case, load them
all (by using * wildcard) and check with "kldstat".




-- 
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: FreeBSD 9.1-RELEASE w/ SanDisk ImageMate S11202

2013-01-19 Thread Waitman Gobble
After fiddling with it I don't think the CAM status CCB errors in my
previous post were actually related to the SanDisk device, but I am sure
when it's plugged in there's a 20 minute reboot cycle. And that's a problem.

I think it's maybe because the device I have needs some quirks stuff. i'll
check it out.

Somebody suggested I post in the freebsd-usb group,  sounds like a better
idea! Off I go/

I did get the multi card dumper daemon working. It's good for people who
dump alot of cards.
https://github.com/waitman/beenie



-- 
Waitman Gobble
San Jose California USA
510-830-7975
_______
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: FreeBSD 9.1-RELEASE w/ SanDisk ImageMate S11202

2013-01-19 Thread Waitman Gobble
On Sat, Jan 19, 2013 at 9:05 AM, Waitman Gobble  wrote:

>
>
> On Sat, Jan 19, 2013 at 6:42 AM, Joe Altman wrote:
>
>> On Fri, Jan 18, 2013 at 10:19:25PM -0800, Waitman Gobble wrote:
>> > On Fri, Jan 18, 2013 at 12:10 AM, Waitman Gobble > >wrote:
>> >
>> >  Hi,
>> >
>> > I have a PCI Express card with VIA VL800 chipset which seems to work
>> > OK with a Seagate drive, so I presume the interface is working.
>>
>> I think my question is relevant:
>>
>> Does the working drive mean that you have the proper USB bits in your
>> kernel?
>>
>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html
>>
>> 19.5.1 Configuration
>> If you use a custom kernel, be sure that the following lines are present
>> in your kernel configuration file:
>>
>> device scbus <==
>> device da<==
>> device pass  <+=
>> device uhci
>> device ohci
>> device ehci
>> device usb
>> device umass <==
>>
>> I don't see them mentioned below.
>>
>> > > If I boot with a SanDisk ImageMate S11202 plugged into the USB 3.0
>> card,
>> > > the display shows messages about the SanDisk device, appears to
>> properly
>> > > identify it, and with like 'querying ...' slots on the card reader,
>> which
>> > > all fail - (there are no cards in the reader). Then the machine sails
>> into
>> > > outerspace, kind of just sits there until (perhaps) the end of time,
>> or
>> > > until I kill the power. It never gets the network interface up, so no
>> ssh.
>>
>> > > kernel built with:
>> > >
>> > > deviceahci# AHCI-compatible SATA controllers
>> > > deviceuhci# UHCI PCI->USB interface
>> > > deviceohci# OHCI PCI->USB interface
>> > > deviceehci# EHCI PCI->USB interface (USB 2.0)
>> > > devicexhci# XHCI PCI->USB interface (USB 3.0)
>>
>> General question:
>>
>> The man page is ambiguous to me; does it mean that one only needs xhci
>> for all three versions, or must one specify all?
>>
>> DESCRIPTION
>>  The xhci driver provides support for the USB eXtensible Host
>>  Controller Interface, which allows use of USB 1.0, 2.0 and 3.0
>>  devices on the same USB port.
>>
>> Such that xhci can handle *all* such USB devices?
>>
>> Also, ahci has a number of sysctl knobs for interrupts. Maybe that is a
>> path to resolving the issue?
>>
>> Regards,
>>
>> Joe
>>
>> ___
>> 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"
>>
>
>
> Hi,
>
> yes i have those options in the kernel config
>
> # ATA/SCSI peripherals
> device  scbus   # SCSI bus (required for ATA/SCSI)
> device  ch  # SCSI media changers
> device  da  # Direct Access (disks)
> device  sa  # Sequential Access (tape etc)
> device  cd  # CD
> device  pass# Passthrough device (direct ATA/SCSI
> access)
> device  ses # Enclosure Services (SES and SAF-TE)
> device  ctl # CAM Target Layer
>
> # USB support
> options USB_DEBUG   # enable debug msgs
>
> device  uhci# UHCI PCI->USB interface
> device  ohci# OHCI PCI->USB interface
> device  ehci# EHCI PCI->USB interface (USB 2.0)
> device  xhci# XHCI PCI->USB interface (USB 3.0)
> device  usb # USB Bus (required)
> #device udbp# USB Double Bulk Pipe devices (needs
> netgraph)
> device  uhid# "Human Interface Devices"
> device  ukbd# Keyboard
> #device ulpt# Printer
> device  umass   # Disks/Mass storage - Requires scbus and
> da
> device  ums # Mouse
> #device urio# Diamond Rio 500 MP3 player
>
> I have turned off usb printer, double bulk pipe device, and all the usb
> wireless and ethernet interfaces.
>
> # camcontrol devlist
>at scbus0 target 0 lun 0 (ada0,pass0)
> at scbus0 target 1 lun 0 (pass1,cd0)
>   at sc

Re: laptop fan control via FreeBSD

2013-01-19 Thread Xavier
On Sat, Jan 19, 2013 at 05:07:07PM +0100, Fabian Keil wrote:

Hi Fabian,

> Xavier  wrote:
>
> > On Sat, Jan 19, 2013 at 03:13:58PM +0100, Fabian Keil wrote:
> >
> > Hi Fabian,
> >
> > > Xavier  wrote:
> > >
> > > > Is there any way to control the on and off the fan on a laptop using 
> > > > FreeBSD?
> > >
> > > It depends on the laptop. On mine it works:
> > >
> > > fk@r500 ~ $sysctl -ad | grep fan
> > > dev.acpi_ibm.0.fan_speed: Fan speed
> > > dev.acpi_ibm.0.fan_level: Fan level
> > > dev.acpi_ibm.0.fan: Fan enable
> > >
> >
> > My output of 'sysctl -ad | grep fan' don't show these parameters. Why ?
> > Because, my BIOS don't support these aparameters ? Another answer ?
>
> acpi_ibm(4) is a kernel module that isn't loaded by default.
>
> Depending on your hardware you may have to kldload a different
> module. You could try:
>
> ls /boot/kernel/acpi_*.ko

Yes, but I hace an acer ...

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: laptop fan control via FreeBSD

2013-01-19 Thread Xavier
On Sat, Jan 19, 2013 at 05:04:36PM +0100, Polytropon wrote:

Hi Polytropon,

> On Sat, 19 Jan 2013 16:55:23 +0100, Xavier wrote:
> > On Sat, Jan 19, 2013 at 03:13:58PM +0100, Fabian Keil wrote:
> >
> > Hi Fabian,
> >
> > > Xavier  wrote:
> > >
> > > > Is there any way to control the on and off the fan on a laptop using 
> > > > FreeBSD?
> > >
> > > It depends on the laptop. On mine it works:
> > >
> > > fk@r500 ~ $sysctl -ad | grep fan
> > > dev.acpi_ibm.0.fan_speed: Fan speed
> > > dev.acpi_ibm.0.fan_level: Fan level
> > > dev.acpi_ibm.0.fan: Fan enable
> > >
> >
> > My output of 'sysctl -ad | grep fan' don't show these parameters. Why ?
> > Because, my BIOS don't support these aparameters ? Another answer ?
>
> For laptops, you usually load a kernel module for interfacing
> with the specific ACPI functions, like acpi_ibm.ko. There are
> several others, but see "man acpi_ibm" for some impressions.
>

Yes, but I have an acer Aspire 5634WLMi, and:

% ls /boot/kernel/acpi*
/boot/kernel/acpi_asus.ko   /boot/kernel/acpi_panasonic.ko
/boot/kernel/acpi_asus.ko.symbols
/boot/kernel/acpi_panasonic.ko.symbols
/boot/kernel/acpi_dock.ko   /boot/kernel/acpi_sony.ko
/boot/kernel/acpi_dock.ko.symbols
/boot/kernel/acpi_sony.ko.symbols
/boot/kernel/acpi_fujitsu.ko/boot/kernel/acpi_toshiba.ko
/boot/kernel/acpi_fujitsu.ko.symbols
/boot/kernel/acpi_toshiba.ko.symbols
/boot/kernel/acpi_hp.ko /boot/kernel/acpi_video.ko
/boot/kernel/acpi_hp.ko.symbols
/boot/kernel/acpi_video.ko.symbols
/boot/kernel/acpi_ibm.ko/boot/kernel/acpi_wmi.ko
/boot/kernel/acpi_ibm.ko.symbols/boot/kernel/acpi_wmi.ko.symbols

I don't have an acer kernel module for ACPI.

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: FreeBSD 9.1-RELEASE w/ SanDisk ImageMate S11202

2013-01-19 Thread Waitman Gobble
On Sat, Jan 19, 2013 at 6:42 AM, Joe Altman  wrote:

> On Fri, Jan 18, 2013 at 10:19:25PM -0800, Waitman Gobble wrote:
> > On Fri, Jan 18, 2013 at 12:10 AM, Waitman Gobble  >wrote:
> >
> >  Hi,
> >
> > I have a PCI Express card with VIA VL800 chipset which seems to work
> > OK with a Seagate drive, so I presume the interface is working.
>
> I think my question is relevant:
>
> Does the working drive mean that you have the proper USB bits in your
> kernel?
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html
>
> 19.5.1 Configuration
> If you use a custom kernel, be sure that the following lines are present
> in your kernel configuration file:
>
> device scbus <==
> device da<==
> device pass  <+=
> device uhci
> device ohci
> device ehci
> device usb
> device umass <==
>
> I don't see them mentioned below.
>
> > > If I boot with a SanDisk ImageMate S11202 plugged into the USB 3.0
> card,
> > > the display shows messages about the SanDisk device, appears to
> properly
> > > identify it, and with like 'querying ...' slots on the card reader,
> which
> > > all fail - (there are no cards in the reader). Then the machine sails
> into
> > > outerspace, kind of just sits there until (perhaps) the end of time, or
> > > until I kill the power. It never gets the network interface up, so no
> ssh.
>
> > > kernel built with:
> > >
> > > deviceahci# AHCI-compatible SATA controllers
> > > deviceuhci# UHCI PCI->USB interface
> > > deviceohci# OHCI PCI->USB interface
> > > deviceehci# EHCI PCI->USB interface (USB 2.0)
> > > devicexhci# XHCI PCI->USB interface (USB 3.0)
>
> General question:
>
> The man page is ambiguous to me; does it mean that one only needs xhci
> for all three versions, or must one specify all?
>
> DESCRIPTION
>  The xhci driver provides support for the USB eXtensible Host
>  Controller Interface, which allows use of USB 1.0, 2.0 and 3.0
>  devices on the same USB port.
>
> Such that xhci can handle *all* such USB devices?
>
> Also, ahci has a number of sysctl knobs for interrupts. Maybe that is a
> path to resolving the issue?
>
> Regards,
>
> Joe
>
> ___
> 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"
>


Hi,

yes i have those options in the kernel config

# ATA/SCSI peripherals
device  scbus   # SCSI bus (required for ATA/SCSI)
device  ch  # SCSI media changers
device  da  # Direct Access (disks)
device  sa  # Sequential Access (tape etc)
device  cd  # CD
device  pass# Passthrough device (direct ATA/SCSI
access)
device  ses # Enclosure Services (SES and SAF-TE)
device  ctl # CAM Target Layer

# USB support
options USB_DEBUG   # enable debug msgs
device  uhci# UHCI PCI->USB interface
device  ohci# OHCI PCI->USB interface
device  ehci# EHCI PCI->USB interface (USB 2.0)
device  xhci# XHCI PCI->USB interface (USB 3.0)
device  usb # USB Bus (required)
#device udbp# USB Double Bulk Pipe devices (needs
netgraph)
device  uhid# "Human Interface Devices"
device  ukbd# Keyboard
#device ulpt# Printer
device  umass   # Disks/Mass storage - Requires scbus and da
device  ums # Mouse
#device urio# Diamond Rio 500 MP3 player

I have turned off usb printer, double bulk pipe device, and all the usb
wireless and ethernet interfaces.

# camcontrol devlist
   at scbus0 target 0 lun 0 (ada0,pass0)
at scbus0 target 1 lun 0 (pass1,cd0)
  at scbus1 target 1 lun 0 (pass2,cd1)
at scbus5 target 0 lun 0 (pass3,da0)
 at scbus5 target 0 lun 1 (pass4,da1)
 at scbus5 target 0 lun 2 (pass5,da2)
 at scbus5 target 0 lun 3 (pass6,da3)
 at scbus6 target 0 lun 0 (pass7,da4)
  at scbus6 target 0 lun 1 (pass8,cd2)
   at scbus6 target 0 lun 2 (ses0,pass9)


I am not trying to boot "from" the memory stick, just boot when the usb
card reader is plugged into the usb3 interface. When it is not plugged in
it's fast reboot, when it's plugged in it takes like 20 

Re: laptop fan control via FreeBSD

2013-01-19 Thread Fabian Keil
Xavier  wrote:

> On Sat, Jan 19, 2013 at 03:13:58PM +0100, Fabian Keil wrote:
> 
> Hi Fabian,
> 
> > Xavier  wrote:
> >
> > > Is there any way to control the on and off the fan on a laptop using 
> > > FreeBSD?
> >
> > It depends on the laptop. On mine it works:
> >
> > fk@r500 ~ $sysctl -ad | grep fan
> > dev.acpi_ibm.0.fan_speed: Fan speed
> > dev.acpi_ibm.0.fan_level: Fan level
> > dev.acpi_ibm.0.fan: Fan enable
> >
> 
> My output of 'sysctl -ad | grep fan' don't show these parameters. Why ?
> Because, my BIOS don't support these aparameters ? Another answer ?

acpi_ibm(4) is a kernel module that isn't loaded by default.

Depending on your hardware you may have to kldload a different
module. You could try:

ls /boot/kernel/acpi_*.ko

and then kldload the module you think makes sense for your hardware.
Note that not all modules have fan control, though.

As I only use IBM and Lenovo laptops I'm not familiar with
the other modules.

Fabian


signature.asc
Description: PGP signature


Re: laptop fan control via FreeBSD

2013-01-19 Thread Polytropon
On Sat, 19 Jan 2013 16:55:23 +0100, Xavier wrote:
> On Sat, Jan 19, 2013 at 03:13:58PM +0100, Fabian Keil wrote:
> 
> Hi Fabian,
> 
> > Xavier  wrote:
> >
> > > Is there any way to control the on and off the fan on a laptop using 
> > > FreeBSD?
> >
> > It depends on the laptop. On mine it works:
> >
> > fk@r500 ~ $sysctl -ad | grep fan
> > dev.acpi_ibm.0.fan_speed: Fan speed
> > dev.acpi_ibm.0.fan_level: Fan level
> > dev.acpi_ibm.0.fan: Fan enable
> >
> 
> My output of 'sysctl -ad | grep fan' don't show these parameters. Why ?
> Because, my BIOS don't support these aparameters ? Another answer ?

For laptops, you usually load a kernel module for interfacing
with the specific ACPI functions, like acpi_ibm.ko. There are
several others, but see "man acpi_ibm" for some impressions.




-- 
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: laptop fan control via FreeBSD

2013-01-19 Thread Xavier
On Sat, Jan 19, 2013 at 03:13:58PM +0100, Fabian Keil wrote:

Hi Fabian,

> Xavier  wrote:
>
> > Is there any way to control the on and off the fan on a laptop using 
> > FreeBSD?
>
> It depends on the laptop. On mine it works:
>
> fk@r500 ~ $sysctl -ad | grep fan
> dev.acpi_ibm.0.fan_speed: Fan speed
> dev.acpi_ibm.0.fan_level: Fan level
> dev.acpi_ibm.0.fan: Fan enable
>

My output of 'sysctl -ad | grep fan' don't show these parameters. Why ?
Because, my BIOS don't support these aparameters ? Another answer ?

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: FreeBSD 9.1-RELEASE w/ SanDisk ImageMate S11202

2013-01-19 Thread Joe Altman
On Fri, Jan 18, 2013 at 10:19:25PM -0800, Waitman Gobble wrote:
> On Fri, Jan 18, 2013 at 12:10 AM, Waitman Gobble wrote:
> 
>  Hi,
> 
> I have a PCI Express card with VIA VL800 chipset which seems to work
> OK with a Seagate drive, so I presume the interface is working.

I think my question is relevant:

Does the working drive mean that you have the proper USB bits in your
kernel?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html

19.5.1 Configuration
If you use a custom kernel, be sure that the following lines are present
in your kernel configuration file:

device scbus <==
device da<==
device pass  <+=
device uhci
device ohci
device ehci
device usb
device umass <==

I don't see them mentioned below.

> > If I boot with a SanDisk ImageMate S11202 plugged into the USB 3.0 card,
> > the display shows messages about the SanDisk device, appears to properly
> > identify it, and with like 'querying ...' slots on the card reader, which
> > all fail - (there are no cards in the reader). Then the machine sails into
> > outerspace, kind of just sits there until (perhaps) the end of time, or
> > until I kill the power. It never gets the network interface up, so no ssh.

> > kernel built with:
> >
> > deviceahci# AHCI-compatible SATA controllers
> > deviceuhci# UHCI PCI->USB interface
> > deviceohci# OHCI PCI->USB interface
> > deviceehci# EHCI PCI->USB interface (USB 2.0)
> > devicexhci# XHCI PCI->USB interface (USB 3.0)

General question:

The man page is ambiguous to me; does it mean that one only needs xhci
for all three versions, or must one specify all? 

DESCRIPTION
 The xhci driver provides support for the USB eXtensible Host
 Controller Interface, which allows use of USB 1.0, 2.0 and 3.0
 devices on the same USB port.

Such that xhci can handle *all* such USB devices?

Also, ahci has a number of sysctl knobs for interrupts. Maybe that is a
path to resolving the issue?

Regards,

Joe

___
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: laptop fan control via FreeBSD

2013-01-19 Thread Fabian Keil
Xavier  wrote:

> Is there any way to control the on and off the fan on a laptop using FreeBSD?

It depends on the laptop. On mine it works:

fk@r500 ~ $sysctl -ad | grep fan
dev.acpi_ibm.0.fan_speed: Fan speed
dev.acpi_ibm.0.fan_level: Fan level
dev.acpi_ibm.0.fan: Fan enable

Fabian


signature.asc
Description: PGP signature


Re: FreeBSD 9.1-RELEASE w/ SanDisk ImageMate S11202

2013-01-19 Thread Fbsd8

Waitman Gobble wrote:

On Fri, Jan 18, 2013 at 12:10 AM, Waitman Gobble wrote:


Hi,

I have a PCI Express card with VIA VL800 chipset which seems to work OK
with a Seagate drive, so I presume the interface is working.

If I boot with a SanDisk ImageMate S11202 plugged into the USB 3.0 card,
the display shows messages about the SanDisk device, appears to properly
identify it, and with like 'querying ...' slots on the card reader, which
all fail - (there are no cards in the reader). Then the machine sails into
outerspace, kind of just sits there until (perhaps) the end of time, or
until I kill the power. It never gets the network interface up, so no ssh.

It would be great to be able to paste the log here but when I reboot there
is nothing about the activity in the log, it's like the entire boot process
never happened.

Anyone have any experience with this card reader? I appreciate any
suggestions or tips.

Below is pertinent system information.

Thank you,


# uname -a
FreeBSD kamira.waitman.net 9.1-RELEASE FreeBSD 9.1-RELEASE #1 r245537:
Thu Jan 17 22:10:56 PST 2013 
r...@kamira.waitman.net:/usr/obj/usr/src/sys/BURPLEX
amd64

kernel built with:

deviceahci# AHCI-compatible SATA controllers
deviceuhci# UHCI PCI->USB interface
deviceohci# OHCI PCI->USB interface
deviceehci# EHCI PCI->USB interface (USB 2.0)
devicexhci# XHCI PCI->USB interface (USB 3.0)

pciconf output:

xhci0@pci0:2:0:0:class=0x0c0330 card=0x34321106 chip=0x34321106
rev=0x03 hdr=0x00
vendor = 'VIA Technologies, Inc.'
class  = serial bus
subclass   = USB

interesting log entries:

Jan 17 23:10:48 kamira kernel: usbus0: 5.0Gbps Super Speed USB v3.0

Jan 17 23:11:32 kamira kernel: ugen0.3:  at usbus0
Jan 17 23:11:32 kamira kernel: umass1:  on usbus0
Jan 17 23:11:32 kamira kernel: da1 at umass-sim1 bus 1 scbus6 target 0 lun
0
Jan 17 23:11:32 kamira kernel: da1:  Fixed
Direct Access SCSI-0 device
Jan 17 23:11:32 kamira kernel: da1: 400.000MB/s transfers
Jan 17 23:11:32 kamira kernel: da1: 2861588MB (732566645 4096 byte
sectors: 255H 63S/T 45600C)


--
Waitman Gobble
San Jose California USA
510-830-7975







After experimenting a bit,

A follow up, when I plug the device in after booting it's no problem.
nothing bad happens.

Jan 18 20:58:20 kamira kernel: ugen0.4 (:  at usbus0
Jan 18 20:58:20 kamira kernel: umass2:  on
usbus0
Jan 18 20:58:20 kamira kernel: umass2:  SCSI over Bulk-Only; quirks = 0x4000
Jan 18 20:58:20 kamira kernel: umass2:7:2:-1: Attached to scbus7
Jan 18 20:58:20 kamira kernel: da2 at umass-sim2 bus 2 scbus7 target 0 lun 0
Jan 18 20:58:20 kamira kernel: da2:  Removable
Direct Access SCSI-0 device
Jan 18 20:58:20 kamira kernel: da2: 400.000MB/s transfers
Jan 18 20:58:20 kamira kernel: da2: Attempt to query device size failed:
NOT READY, Medium not present
Jan 18 20:58:20 kamira kernel: da3 at umass-sim2 bus 2 scbus7 target 0 lun 1
Jan 18 20:58:20 kamira kernel: da3:  Removable
Direct Access SCSI-0 device
Jan 18 20:58:20 kamira kernel: da3: 400.000MB/s transfers
Jan 18 20:58:20 kamira kernel: da3: Attempt to query device size failed:
NOT READY, Medium not present
Jan 18 20:58:20 kamira kernel: da4 at umass-sim2 bus 2 scbus7 target 0 lun 2
Jan 18 20:58:20 kamira kernel: da4:  Removable
Direct Access SCSI-0 device
Jan 18 20:58:20 kamira kernel: da4: 400.000MB/s transfers
Jan 18 20:58:20 kamira kernel: da4: Attempt to query device size failed:
NOT READY, Medium not present
Jan 18 20:58:20 kamira kernel: da5 at umass-sim2 bus 2 scbus7 target 0 lun 3
Jan 18 20:58:20 kamira kernel: da5:  Removable
Direct Access SCSI-0 device
Jan 18 20:58:20 kamira kernel: da5: 400.000MB/s transfers
Jan 18 20:58:20 kamira kernel: da5: Attempt to query device size failed:
NOT READY, Medium not present



when i do a shutdown now, it takes 9:51-9:57 about 6 minutes to disappear
from ping and shut down, then it finally comes back up 10:12, so 15
minutes.

So reboot = 21 minutes.

While it's not the end of time scenario, something is hanging up this
machine on boot up and shutdown, with that device...

If anyone has a pointer or suggestion I totally appreciate it! definitely
need this machine to boot/shutdown much faster!

Thank you,




I did google lookup on SanDisk uSD SDDR-289, this is a external 4 slot 
sd card reader that is usb 3 ready and usb 2 compatible.


If I understand your post above correctly you can boot your Freebsd 
system from internal disk or from external usb disk with this external 
sd card reader plugged in but empty of sd memory cards.


The problem is you want to boot off of a sd memory card you have plugged 
into the external sd card reader. And when you do it takes for ever to 
boot up.


When you plug in your sd memory card, Freebsd reads this info from it.
 If I remember correctly the 1.00 is the usb 
standard that card was designed to work with.


Since your extern

Re: FreeBSD 9.1-RELEASE w/ SanDisk ImageMate S11202

2013-01-18 Thread Waitman Gobble
On Fri, Jan 18, 2013 at 12:10 AM, Waitman Gobble wrote:

> Hi,
>
> I have a PCI Express card with VIA VL800 chipset which seems to work OK
> with a Seagate drive, so I presume the interface is working.
>
> If I boot with a SanDisk ImageMate S11202 plugged into the USB 3.0 card,
> the display shows messages about the SanDisk device, appears to properly
> identify it, and with like 'querying ...' slots on the card reader, which
> all fail - (there are no cards in the reader). Then the machine sails into
> outerspace, kind of just sits there until (perhaps) the end of time, or
> until I kill the power. It never gets the network interface up, so no ssh.
>
> It would be great to be able to paste the log here but when I reboot there
> is nothing about the activity in the log, it's like the entire boot process
> never happened.
>
> Anyone have any experience with this card reader? I appreciate any
> suggestions or tips.
>
> Below is pertinent system information.
>
> Thank you,
>
>
> # uname -a
> FreeBSD kamira.waitman.net 9.1-RELEASE FreeBSD 9.1-RELEASE #1 r245537:
> Thu Jan 17 22:10:56 PST 2013 
> r...@kamira.waitman.net:/usr/obj/usr/src/sys/BURPLEX
> amd64
>
> kernel built with:
>
> deviceahci# AHCI-compatible SATA controllers
> deviceuhci# UHCI PCI->USB interface
> deviceohci# OHCI PCI->USB interface
> deviceehci# EHCI PCI->USB interface (USB 2.0)
> devicexhci# XHCI PCI->USB interface (USB 3.0)
>
> pciconf output:
>
> xhci0@pci0:2:0:0:class=0x0c0330 card=0x34321106 chip=0x34321106
> rev=0x03 hdr=0x00
> vendor = 'VIA Technologies, Inc.'
> class  = serial bus
> subclass   = USB
>
> interesting log entries:
>
> Jan 17 23:10:48 kamira kernel: usbus0: 5.0Gbps Super Speed USB v3.0
>
> Jan 17 23:11:32 kamira kernel: ugen0.3:  at usbus0
> Jan 17 23:11:32 kamira kernel: umass1:  rev 3.00/1.00, addr 2> on usbus0
> Jan 17 23:11:32 kamira kernel: da1 at umass-sim1 bus 1 scbus6 target 0 lun
> 0
> Jan 17 23:11:32 kamira kernel: da1:  Fixed
> Direct Access SCSI-0 device
> Jan 17 23:11:32 kamira kernel: da1: 400.000MB/s transfers
> Jan 17 23:11:32 kamira kernel: da1: 2861588MB (732566645 4096 byte
> sectors: 255H 63S/T 45600C)
>
>
> --
> Waitman Gobble
> San Jose California USA
> 510-830-7975
>





After experimenting a bit,

A follow up, when I plug the device in after booting it's no problem.
nothing bad happens.

Jan 18 20:58:20 kamira kernel: ugen0.4 (:  at usbus0
Jan 18 20:58:20 kamira kernel: umass2:  on
usbus0
Jan 18 20:58:20 kamira kernel: umass2:  SCSI over Bulk-Only; quirks = 0x4000
Jan 18 20:58:20 kamira kernel: umass2:7:2:-1: Attached to scbus7
Jan 18 20:58:20 kamira kernel: da2 at umass-sim2 bus 2 scbus7 target 0 lun 0
Jan 18 20:58:20 kamira kernel: da2:  Removable
Direct Access SCSI-0 device
Jan 18 20:58:20 kamira kernel: da2: 400.000MB/s transfers
Jan 18 20:58:20 kamira kernel: da2: Attempt to query device size failed:
NOT READY, Medium not present
Jan 18 20:58:20 kamira kernel: da3 at umass-sim2 bus 2 scbus7 target 0 lun 1
Jan 18 20:58:20 kamira kernel: da3:  Removable
Direct Access SCSI-0 device
Jan 18 20:58:20 kamira kernel: da3: 400.000MB/s transfers
Jan 18 20:58:20 kamira kernel: da3: Attempt to query device size failed:
NOT READY, Medium not present
Jan 18 20:58:20 kamira kernel: da4 at umass-sim2 bus 2 scbus7 target 0 lun 2
Jan 18 20:58:20 kamira kernel: da4:  Removable
Direct Access SCSI-0 device
Jan 18 20:58:20 kamira kernel: da4: 400.000MB/s transfers
Jan 18 20:58:20 kamira kernel: da4: Attempt to query device size failed:
NOT READY, Medium not present
Jan 18 20:58:20 kamira kernel: da5 at umass-sim2 bus 2 scbus7 target 0 lun 3
Jan 18 20:58:20 kamira kernel: da5:  Removable
Direct Access SCSI-0 device
Jan 18 20:58:20 kamira kernel: da5: 400.000MB/s transfers
Jan 18 20:58:20 kamira kernel: da5: Attempt to query device size failed:
NOT READY, Medium not present



when i do a shutdown now, it takes 9:51-9:57 about 6 minutes to disappear
from ping and shut down, then it finally comes back up 10:12, so 15
minutes.

So reboot = 21 minutes.

While it's not the end of time scenario, something is hanging up this
machine on boot up and shutdown, with that device...

If anyone has a pointer or suggestion I totally appreciate it! definitely
need this machine to boot/shutdown much faster!

Thank you,

-- 
Waitman Gobble
San Jose California USA
510-830-7975
___
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"


Have there been any fixes for long TCP delays with FreeBSD 8.3 or 9.x?

2013-01-18 Thread Richard Sharpe
Hi folks,

I am seeing a problem when copying large files via SMB/Samba from a
FreeBSD 8.0-based system (with Samba 3.6.6 and ZFS etc) where
eventually Windows drops the connection.

However, it seems, based on three captures I have, that what has
happened is that FreeBSD has not supplied any data on the connection
for 50-60 seconds and the Windows 60-second timeout trips.

In each case, what I see is a large number of 1500-byte frames go out.
Then Windows ACKs a reasonable amount of data, 30+K or so, and then
sends another ACK to ack everything so far received.

Then in two cases, after about 52 seconds I see some more data in two
of the captures I have but after a further few seconds, Windows
disconnects. In the last capture, there was no further data for 60
seconds, so Windows disconnected.

I know there should have been more data because:

1. The READ requests are for 64kiB and there is still data to come and
the sequence numbers match up.

2. In my Samba traces I know that Samba has gone on to process the
next SMB2 command in sequence and the time difference between these
are of the order of 1mS and Samba in this case is operating in sync
mode where it does not read the next command off the socket until it
has finished writing the response for the previous command to the
socket.

The system is relatively idle. Only one smbd and some web traffic
(inbound as a result of a get).

I am hoping that this describes a known problem. I can provide
captures on request. They will have to be cut-down as they are 300 to
500MB in length.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)
___
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: FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD

2013-01-18 Thread Mike Clarke

On Friday 18 January 2013 16:58:11 RW wrote:
> You can carry on using 3.5 on any current release. The problem is when
> it's eventually removed from ports, updating  other ports may result in
> dependency problems.

I'm already starting to experience some problems which I assume are due to 
incompatibility with some recently upgraded dependencies and I've finally, and 
somewhat reluctantly, switched to KDE 4.8. It's certainly more bloated than 
3.5 but after getting rid of some unwanted eye candy it's not as bad as I 
expected, certainly better than last time I tried it out about a year ago. The 
most noticeable deterioration in performance is that it's much slower to start 
up than 3.5 was and kmail takes much longer to open a mail "folder" than it 
used to.

-- 
Mike Clarke
___
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: FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD

2013-01-18 Thread RW
On Fri, 18 Jan 2013 01:25:03 + (GMT)
Georg Reilinger wrote:


> As a consequence, I can see myself do two possible things, to have a
> system 
> 
> running with KDE 3.5 once again:
> 
> 1. Go back to an older release of FreeBSD and install KDE 3.5 from
> the 
> 
that's pointless

> 2. To be honest, I am quite happy with 8.2 and I would like to keep
> it for some time to come. In other words, is there a way to keep 8.2
> and still have KDE 3.5 along with it? For example has anyone ever
> tried to install a 7.1 pre-built package (KDE 3.5 in this case) on an
> 8.2 system? Is that be possible?

You can carry on using 3.5 on any current release. The problem is when
it's eventually removed from ports, updating  other ports may result in
dependency problems. 
___
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: FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD

2013-01-18 Thread Polytropon
On Fri, 18 Jan 2013 15:26:12 + (GMT), Georg Reilinger wrote:
> -- Excuse me... you're joking, right? I assume you have a plentycore
> -- processor with Gigs of RAM, and already two shells show a problem?
> -- That sounds totally wrong.
> 
> Is that sarcasm or irony?

I'm not sure. :-)

It just makes me sad to see that today's users with their
more-than-sufficient hardware can still run into a lack of
resources with something so "simple" as a shell window,
simply because today's "simple" isn't simple anymore.

If I look back in time... my first BSD system was a Pentium
with 150 MHz and 64 MB RAM. This machine had been running
a desktop, playing MP3 music, downloading stuff via FTP,
compiling the OS kernel, burning a CD, and still providing
a responsive web browser -- all at the same time.

Of course software matters, or to be precise: It _is_ the
software that matters. The quotient

   resources provided by hardware
overall speed  =  
   resources consumed by software

doesn't seem to improve (because both numerator and denominator
keep increasing quickly). While every release of FreeBSD
tends to run faster on the _same_ hardware, this advantage
is eaten by the "big stuff" (like desktop environments,
office suites and web browsers for example). Most people
seem to think that this is normal.

So if someone tells: "I open two shells and this almost crashes
the system", it sounds terribly wrong. I know it's not about
the actual shells, but the environment they're being used in.
That's everything I wanted to express with this statement.




-- 
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: FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD

2013-01-18 Thread Georg Reilinger
-- Excuse me... you're joking, right? I assume you have a plentycore
-- processor with Gigs of RAM, and already two shells show a problem?
-- That sounds totally wrong.

Is that sarcasm or irony?





 Von: Polytropon 
An: Georg Reilinger  
CC: "freebsd-questions@freebsd.org"  
Gesendet: 5:24 Freitag, 18.Januar 2013
Betreff: Re: FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD
 
On Fri, 18 Jan 2013 01:25:03 + (GMT), Georg Reilinger wrote:
> As far as I know, FreeBSD has completely dropped support for KDE 3.5. 

As for other desktop environments, yes.



> Whether it's the ports, or the pkg_add precompiled binaries. Am I right in 
> assuming this?

I think KDE 3 is still in ports, but will be scheduled for removal,
as KDE 4 is the place where development takes place, and there seems
to be no active development on KDE 3 that can be built (!) on FreeBSD
due to lack of contribution.



> I am currently running a live version of FreeBSD 8.2 with KDE 4.8.

May I ask which live system this is?



> The thing 
> here is, that KDE 4 is simply too heavy for my system. For example: it is 
> impossible for me to have two open shells at the same time. Once I exit a 
> given shell, I can't open another one due to a lack of resources, even after 
> having 
> turned off all the extra stuff - plasma desktop, nepomuk...

Excuse me... you're joking, right? I assume you have a plentycore
processor with Gigs of RAM, and already two shells show a problem?
That sounds totally wrong.

When you play a music file and move the window, do you get skipping
audio, too?

Just scary...



> As a consequence, I can see myself do two possible things, to have a system 
> running with KDE 3.5 once again:
> 
> 1. Go back to an older release of FreeBSD and install KDE 3.5 from the 
> precompiled binaries that are on the DVD donwload version.
> Judging by the release announcements, this should be 7.1.

Yes, this will work. But note that you are running an OS that
has been gone out of support, so you probably won't be able
to install "newer" software using ports or packages. However,
you can use the system "as is", and even use ports as long 
as the distfiles are still kept available online.



> 2. To be honest, I am quite happy with 8.2 and I would like to keep it for 
> some time to come. In other words, is there a way to keep 8.2 and still 
> have KDE 3.5 along with it? For example has anyone ever tried to 
> install a 7.1 pre-built package (KDE 3.5 in this case) on an 8.2 system? 
> Is that be possible?

That should be possible if you install the required compat7x
port on the system. Keep an eye on dependencies and make sure
you won't be shooting your feet. A good start would be to
install the KDE stuff on a "clean" system (right after compat7x)
so there won't be much confusion.




-- 
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"
_______
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 9.1-RELEASE w/ SanDisk ImageMate S11202

2013-01-18 Thread Waitman Gobble
Hi,

I have a PCI Express card with VIA VL800 chipset which seems to work OK
with a Seagate drive, so I presume the interface is working.

If I boot with a SanDisk ImageMate S11202 plugged into the USB 3.0 card,
the display shows messages about the SanDisk device, appears to properly
identify it, and with like 'querying ...' slots on the card reader, which
all fail - (there are no cards in the reader). Then the machine sails into
outerspace, kind of just sits there until (perhaps) the end of time, or
until I kill the power. It never gets the network interface up, so no ssh.

It would be great to be able to paste the log here but when I reboot there
is nothing about the activity in the log, it's like the entire boot process
never happened.

Anyone have any experience with this card reader? I appreciate any
suggestions or tips.

Below is pertinent system information.

Thank you,


# uname -a
FreeBSD kamira.waitman.net 9.1-RELEASE FreeBSD 9.1-RELEASE #1 r245537: Thu
Jan 17 22:10:56 PST 2013
r...@kamira.waitman.net:/usr/obj/usr/src/sys/BURPLEX
amd64

kernel built with:

deviceahci# AHCI-compatible SATA controllers
deviceuhci# UHCI PCI->USB interface
deviceohci# OHCI PCI->USB interface
deviceehci# EHCI PCI->USB interface (USB 2.0)
devicexhci# XHCI PCI->USB interface (USB 3.0)

pciconf output:

xhci0@pci0:2:0:0:class=0x0c0330 card=0x34321106 chip=0x34321106
rev=0x03 hdr=0x00
vendor = 'VIA Technologies, Inc.'
class  = serial bus
subclass   = USB

interesting log entries:

Jan 17 23:10:48 kamira kernel: usbus0: 5.0Gbps Super Speed USB v3.0

Jan 17 23:11:32 kamira kernel: ugen0.3:  at usbus0
Jan 17 23:11:32 kamira kernel: umass1:  on usbus0
Jan 17 23:11:32 kamira kernel: da1 at umass-sim1 bus 1 scbus6 target 0 lun 0
Jan 17 23:11:32 kamira kernel: da1:  Fixed
Direct Access SCSI-0 device
Jan 17 23:11:32 kamira kernel: da1: 400.000MB/s transfers
Jan 17 23:11:32 kamira kernel: da1: 2861588MB (732566645 4096 byte sectors:
255H 63S/T 45600C)


-- 
Waitman Gobble
San Jose California USA
510-830-7975
_______
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: FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD

2013-01-17 Thread Polytropon
On Fri, 18 Jan 2013 01:25:03 + (GMT), Georg Reilinger wrote:
> As far as I know, FreeBSD has completely dropped support for KDE 3.5. 

As for other desktop environments, yes.



> Whether it's the ports, or the pkg_add precompiled binaries. Am I right in 
> assuming this?

I think KDE 3 is still in ports, but will be scheduled for removal,
as KDE 4 is the place where development takes place, and there seems
to be no active development on KDE 3 that can be built (!) on FreeBSD
due to lack of contribution.



> I am currently running a live version of FreeBSD 8.2 with KDE 4.8.

May I ask which live system this is?



> The thing 
> here is, that KDE 4 is simply too heavy for my system. For example: it is 
> impossible for me to have two open shells at the same time. Once I exit a 
> given shell, I can't open another one due to a lack of resources, even after 
> having 
> turned off all the extra stuff - plasma desktop, nepomuk...

Excuse me... you're joking, right? I assume you have a plentycore
processor with Gigs of RAM, and already two shells show a problem?
That sounds totally wrong.

When you play a music file and move the window, do you get skipping
audio, too?

Just scary...



> As a consequence, I can see myself do two possible things, to have a system 
> running with KDE 3.5 once again:
> 
> 1. Go back to an older release of FreeBSD and install KDE 3.5 from the 
> precompiled binaries that are on the DVD donwload version.
> Judging by the release announcements, this should be 7.1.

Yes, this will work. But note that you are running an OS that
has been gone out of support, so you probably won't be able
to install "newer" software using ports or packages. However,
you can use the system "as is", and even use ports as long 
as the distfiles are still kept available online.



> 2. To be honest, I am quite happy with 8.2 and I would like to keep it for 
> some time to come. In other words, is there a way to keep 8.2 and still 
> have KDE 3.5 along with it? For example has anyone ever tried to 
> install a 7.1 pre-built package (KDE 3.5 in this case) on an 8.2 system? 
> Is that be possible?

That should be possible if you install the required compat7x
port on the system. Keep an eye on dependencies and make sure
you won't be shooting your feet. A good start would be to
install the KDE stuff on a "clean" system (right after compat7x)
so there won't be much confusion.




-- 
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: FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD

2013-01-17 Thread Ralf Mardorf
On Fri, 18 Jan 2013 03:06:15 +0100, Georg Reilinger  
 wrote:

http://www.trinitydesktop.org/


Oops, I've forgotten that there is that fork. However, I suspect that KDE  
and GNOME forks will suffer from Qt and GTK dependencies, resp. the  
manpower (coders and user base, aka testers) to maintain the forks. A lot  
of people don't like that DEs do look like and behave similar as DEs for  
tablet PCs do, so in the near future, those forks might become more  
important. OTOH KDE 4 still is a classic DE and not one of those tablet PC  
like DEs.

_______
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: [Bulk] FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD

2013-01-17 Thread Mike Jeays


On Fri, 18 Jan 2013 01:25:03 + (GMT)
Georg Reilinger  wrote:

> Hi everybody,
> 
> 
> My issue is the following:
> 
> As far as I know, FreeBSD has completely dropped support for KDE 3.5. 
> 
> Whether it's the ports, or the pkg_add precompiled binaries. Am I right in 
> 
> assuming this?
> 
> 
> I am currently running a live version of FreeBSD 8.2 with KDE 4.8. The thing 
> 
> here is, that KDE 4 is simply too heavy for my system. For example: it is 
> 
> impossible for me to have two open shells at the same time. Once I exit a 
> 
> given shell, I can't open another one due to a lack of resources, even after 
> having 
> 
> turned off all the extra stuff - plasma desktop, nepomuk...
> 
> As a consequence, I can see myself do two possible things, to have a system 
> 
> running with KDE 3.5 once again:
> 
> 1. Go back to an older release of FreeBSD and install KDE 3.5 from the 
> 
> precompiled binaries that are on the DVD donwload version.
> Judging by the release announcements, this should be 7.1.
> 
> http://www.freebsd.org/releases/7.1R/announce.html
> 
> This is something that I don't really feel like doing.
> 
> 2. To be honest, I am quite happy with 8.2 and I would like to keep it for 
> some time to come. In other words, is there a way to keep 8.2 and still 
> have KDE 3.5 along with it? For example has anyone ever tried to 
> install a 7.1 pre-built package (KDE 3.5 in this case) on an 8.2 system? 
> Is that be possible?
> 
> 
> Any other solutions?
> 
> 
> Many thanks
> Georg
> _______
> 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 run xfce4 with FreeBSD 9.0 on an old Pentium 4 with 1.5 GB, and it works 
well. Resource
requirements are much less than the latest KDE, and Unity is even more 
unworkable.
KDE and Gnome have got very bloated in the last few years, IMHO and less 
intuitive.
They seem to be going backwards. The multiple desktop feature is one of the main
things that set Unix-style desktops way ahead of Windows, and now they have 
become
harder to use.

___
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: FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD

2013-01-17 Thread Georg Reilinger





 Von: Ralf Mardorf 
An: "freebsd-questions@freebsd.org"  
Gesendet: 2:37 Freitag, 18.Januar 2013
Betreff: Re: FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD 
 
-- Some decisions from upstream are a PITA. I'm from Linux, it's more 
up-to-date than FreeBSD. On Linux I switched from KDE 3 to GNOME 2, when KDE 4 
was introduced and from GNOME 2 to Xfce, when GNOME 3 was introduced.

I have tried both, GNOME and Xfce. Found both to be kinda yuckie. Not really 
feeling at home here.


-- There are forks of GNOME 2, but I guess there's no fork of KDE 3. 

Actually there is. It is called Trinity: http://www.trinitydesktop.org/ , but I 
don't know, if it is currently supported on FreeBSD.
If not, may be a reason, to become a porter!

-- Some users claim that it should be possible to set up KDE 4, that it become 
equal to KDE 3. I doubt that. 

I highly and holily second that. I have heard quite a few people complain about 
KDE 4's heavy hunger for resources.

-- Another issue are hard dependencies, such as the dependency to the buggy 
pulseaudio. You better get rid of KDE and start to accustom to another DE.

This would be my very last option. As you can see, I am still working on a go 
around here.


2 Cents,
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"
_______
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: FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD

2013-01-17 Thread Ralf Mardorf
Some decisions from upstream are a PITA. I'm from Linux, it's more  
up-to-date than FreeBSD. On Linux I switched from KDE 3 to GNOME 2, when  
KDE 4 was introduced and from GNOME 2 to Xfce, when GNOME 3 was  
introduced. There are forks of GNOME 2, but I guess there's no fork of KDE  
3. Some users claim that it should be possible to set up KDE 4, that it  
become equal to KDE 3. I doubt that. Another issue are hard dependencies,  
such as the dependency to the buggy pulseaudio. You better get rid of KDE  
and start to accustom to another DE.


2 Cents,
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"


FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD

2013-01-17 Thread Georg Reilinger
Hi everybody,


My issue is the following:

As far as I know, FreeBSD has completely dropped support for KDE 3.5. 

Whether it's the ports, or the pkg_add precompiled binaries. Am I right in 

assuming this?


I am currently running a live version of FreeBSD 8.2 with KDE 4.8. The thing 

here is, that KDE 4 is simply too heavy for my system. For example: it is 

impossible for me to have two open shells at the same time. Once I exit a 

given shell, I can't open another one due to a lack of resources, even after 
having 

turned off all the extra stuff - plasma desktop, nepomuk...

As a consequence, I can see myself do two possible things, to have a system 

running with KDE 3.5 once again:

1. Go back to an older release of FreeBSD and install KDE 3.5 from the 

precompiled binaries that are on the DVD donwload version.
Judging by the release announcements, this should be 7.1.

http://www.freebsd.org/releases/7.1R/announce.html

This is something that I don't really feel like doing.

2. To be honest, I am quite happy with 8.2 and I would like to keep it for 
some time to come. In other words, is there a way to keep 8.2 and still 
have KDE 3.5 along with it? For example has anyone ever tried to 
install a 7.1 pre-built package (KDE 3.5 in this case) on an 8.2 system? 
Is that be possible?


Any other solutions?


Many thanks
Georg
_______
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-9.1-RELEASE-i386 geom mirror+stripe question.

2013-01-15 Thread Alexander Zhegalov
Hi.

Is it possible to configure geom mirror+stripe (looks like RAID10)?

Trying to do it in VirtualBox:
  gmirror label -v gm11 /dev/ada0s2 /dev/ada1s2
  gmirror label -v gm12 /dev/ada2s2 /dev/ada3s2
  gstripe label -v gs0 /dev/mirror/gm11 /dev/mirror/gm12
  newfs -U /dev/stripe/gs0
  mount /dev/stripe/gs0 /mnt

'shutdown -r now' stucks in 'GEOM_MIRROR: cannot destroy gm11'

I also tried to BSD label /dev/stripe/gs0:
  gpart create -s BSD /dev/stripe/gs0
  gpart add -t freebsd-ufs /dev/stripe/gs0

after newfs -U /dev/stripe/gs0a got
  GEOM_PART: partition 1 has end offset beyond last LBA: 4193919 > 2097079
  GEOM_PART: integrity check failed (mirror/gm11, BSD)

  mount /dev/stripe/gs0a /mnt
'shutdown -r now' stucks in 'GEOM_MIRROR: cannot destroy gm11'

Any idea?

---
Best regards,
  Alexander.
_______
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: SSH on FreeBSD

2013-01-15 Thread Mannase Nyathi


Hi Guys,

Thanks for your help.

I have managed to sought it out. Will let you know if I require any further 
assistance.

I have been receiving numerous emails. It's all fine now :)



-Original Message-
From: Matthias Apitz [mailto:g...@unixarea.de] 
Sent: 15 January 2013 02:51 PM
To: Volodymyr Kostyrko
Cc: Erich Dollansky; questi...@freebsd.org; Mannase Nyathi
Subject: Re: SSH on FreeBSD

El día Tuesday, January 15, 2013 a las 02:40:32PM +0200, Volodymyr Kostyrko 
escribió:

> > In FreeBSD it is in rc.conf
> >
> > $ man rc.conf | col -b | fgrep -i ssh
> 
> In FreeBSD there are two ways of enabling sshd: default, fast and easy 
> through rc.conf and a bit tricky and secure via inetd.conf. Everyone 
> can select their own poison. I personally prefer the latter one.

Why it is more secure via inetd.conf?

    matthias
--
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |  - No proprietary attachments
phone: +49-170-4527211   |  - Respect for open standards

-- 
Mannase Nyathi
Support Technician
sb: 011 541 9940
fax: 011 541 9920
web: www.cipherwave.co.za

This email may be confidential or privileged, and CipherWave Storage
Solutions Africa (Pty) Ltd does not waive any related rights and
obligations, which may include the protection of intellectual
property. Any distribution, use or copying of this email or the
information it contains by other than an intended recipient is
unauthorised. If you have received this email in error please delete
it immediately. Due to the inherent uncertainties involved in modern
email transmissions, CipherWave Storage Solutions Africa (Pty) Ltd
cannot accept any responsibility or liability for any errors or
omissions, loss or damage from either use or misuse of the content,
including viruses.
_______
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: SSH on FreeBSD

2013-01-15 Thread Volodymyr Kostyrko

15.01.2013 14:48, Frank Staals:

Volodymyr Kostyrko  writes:



In FreeBSD there are two ways of enabling sshd: default, fast and easy through
rc.conf and a bit tricky and secure via inetd.conf. Everyone can select their
own poison. I personally prefer the latter one.


You seem to imply that enabling sshd through inetd is more secure than
directly through rc.conf. Care to elaborate on that?


* there's no central process to target with attacks;
* SSHv1 server key is regenerated every time new connection is created;
* with inetd you can force max connections per minute rate or max 
connections per ip.


--
Sphinx of black quartz, judge my vow.
___
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: SSH on FreeBSD

2013-01-15 Thread Bruce Cran

On 15/01/2013 12:51, Matthias Apitz wrote:

Why it is more secure via inetd.conf?


You can centralise access control via TCP Wrappers - 
http://www.freebsd.org/doc/handbook/tcpwrappers.html .


--
Bruce Cran
___
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: SSH on FreeBSD

2013-01-15 Thread Matthias Apitz
El día Tuesday, January 15, 2013 a las 02:40:32PM +0200, Volodymyr Kostyrko 
escribió:

> > In FreeBSD it is in rc.conf
> >
> > $ man rc.conf | col -b | fgrep -i ssh
> 
> In FreeBSD there are two ways of enabling sshd: default, fast and easy 
> through rc.conf and a bit tricky and secure via inetd.conf. Everyone can 
> select their own poison. I personally prefer the latter one.

Why it is more secure via inetd.conf?

matthias
-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |  - No proprietary attachments
phone: +49-170-4527211   |  - Respect for open standards
_______
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: SSH on FreeBSD

2013-01-15 Thread Frank Staals
Volodymyr Kostyrko  writes:

>  
> In FreeBSD there are two ways of enabling sshd: default, fast and easy through
> rc.conf and a bit tricky and secure via inetd.conf. Everyone can select their
> own poison. I personally prefer the latter one.

You seem to imply that enabling sshd through inetd is more secure than
directly through rc.conf. Care to elaborate on that? 

Regards, 

-- 

- Frank
___
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: SSH on FreeBSD

2013-01-15 Thread Volodymyr Kostyrko

15.01.2013 12:50, Matthias Apitz:

El día Tuesday, January 15, 2013 a las 05:45:36PM +0700, Erich Dollansky 
escribió:


Hi,

On Tue, 15 Jan 2013 10:10:16 +
Mannase Nyathi  wrote:


CipherWave Fibre Broadband with FREE installation from only
R8840/month

Good day,

I have just configured FreeBSD on my server. I would like to find out
how can I be able to login to it via ssh?

Looking forward to hear from you soon.

Thank you



you must enable ssh in /etc/inetd.conf and then read


In FreeBSD it is in rc.conf

$ man rc.conf | col -b | fgrep -i ssh


In FreeBSD there are two ways of enabling sshd: default, fast and easy 
through rc.conf and a bit tricky and secure via inetd.conf. Everyone can 
select their own poison. I personally prefer the latter one.


--
Sphinx of black quartz, judge my vow.
___
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: SSH on FreeBSD

2013-01-15 Thread Jerry
On Tue, 15 Jan 2013 10:52:04 +
Matthew Seaman articulated:

> On 15/01/2013 10:10, Mannase Nyathi wrote:
> > I have just configured FreeBSD on my server. I would like to find
> > out how can I be able to login to it via ssh?
> 
> Start by editing /etc/rc.conf and add the line:
> 
> sshd_enable="YES"
> 
> (anywhere in the file -- order doesn't matter)
> 
> Then as root:
> 
>/etc/rc.d/sshd start
> 
> It should generate some host keys and then start the sshd daemon.
> 
> That's all.  sshd will restart automatically after any reboots.  You
> should be able to log into any ordinary user account remotely using
> the account username and password.
> 
> Note: if your system is exposed to the internet, it will be attacked
> by bots attempting to brute-force SSH username and passwords.  Make
> sure you have good passwords on all user accounts -- see the archives
> of this list for many, many discussions of further steps you can take
> to prevent this activity filling up your logfiles...

You might want to consider using certificates rather than 'usernames'
'passwords' for logging in. Your system will be far more secure. As
Matthew stated, you can check the archives. If needed, start a new
thread and ask for assistance on the subject here.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
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: SSH on FreeBSD

2013-01-15 Thread Matthias Apitz
El día Tuesday, January 15, 2013 a las 05:45:36PM +0700, Erich Dollansky 
escribió:

> Hi,
> 
> On Tue, 15 Jan 2013 10:10:16 +
> Mannase Nyathi  wrote:
> 
> > CipherWave Fibre Broadband with FREE installation from only
> > R8840/month
> > 
> > Good day,
> > 
> > I have just configured FreeBSD on my server. I would like to find out
> > how can I be able to login to it via ssh?
> > 
> > Looking forward to hear from you soon.
> > 
> > Thank you
> > 
> 
> you must enable ssh in /etc/inetd.conf and then read

In FreeBSD it is in rc.conf

$ man rc.conf | col -b | fgrep -i ssh

matthias

-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |  - No proprietary attachments
phone: +49-170-4527211   |  - Respect for open standards
___
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: SSH on FreeBSD

2013-01-15 Thread Bruce Cran

On 15/01/2013 10:52, Matthew Seaman wrote:

That's all.  sshd will restart automatically after any reboots.  You
should be able to log into any ordinary user account remotely using the
account username and password.


Note "ordinary user account" - sshd on FreeBSD disallows root logins by 
default. You can change that by editing /etc/ssh/sshd_config .


--
Bruce Cran
_______
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: SSH on FreeBSD

2013-01-15 Thread Matthew Seaman
On 15/01/2013 10:10, Mannase Nyathi wrote:
> I have just configured FreeBSD on my server. I would like to find out
> how can I be able to login to it via ssh?

Start by editing /etc/rc.conf and add the line:

sshd_enable="YES"

(anywhere in the file -- order doesn't matter)

Then as root:

   /etc/rc.d/sshd start

It should generate some host keys and then start the sshd daemon.

That's all.  sshd will restart automatically after any reboots.  You
should be able to log into any ordinary user account remotely using the
account username and password.

Note: if your system is exposed to the internet, it will be attacked by
bots attempting to brute-force SSH username and passwords.  Make sure
you have good passwords on all user accounts -- see the archives of this
list for many, many discussions of further steps you can take to prevent
this activity filling up your logfiles...

Cheers,

Matthew


_______
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: SSH on FreeBSD

2013-01-15 Thread Olivier Nicole
Hi,

>> I have just configured FreeBSD on my server. I would like to find out
>> how can I be able to login to it via ssh?
>>
>> Looking forward to hear from you soon.
>>
>> Thank you
>>
>
> you must enable ssh in /etc/inetd.conf and then read

Or better, in /etc/rc.conf
sshd_enable="YES"

Olivier

>
> man ssh
>
> If you could tell us more what you really want, we could give you a
> better answer.
>
> Erich
> ___
> 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: SSH on FreeBSD

2013-01-15 Thread Erich Dollansky
Hi,

On Tue, 15 Jan 2013 10:10:16 +
Mannase Nyathi  wrote:

> CipherWave Fibre Broadband with FREE installation from only
> R8840/month
> 
> Good day,
> 
> I have just configured FreeBSD on my server. I would like to find out
> how can I be able to login to it via ssh?
> 
> Looking forward to hear from you soon.
> 
> Thank you
> 

you must enable ssh in /etc/inetd.conf and then read

man ssh

If you could tell us more what you really want, we could give you a
better answer.

Erich
___
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"


SSH on FreeBSD

2013-01-15 Thread Mannase Nyathi
CipherWave Fibre Broadband with FREE installation from only R8840/month

Good day,

I have just configured FreeBSD on my server. I would like to find out how can I 
be able to login to it via ssh?

Looking forward to hear from you soon.

Thank you

-- 
Mannase Nyathi
Support Technician
sb: 011 541 9940
fax: 011 541 9920
web: www.cipherwave.co.za

This email may be confidential or privileged, and CipherWave Storage
Solutions Africa (Pty) Ltd does not waive any related rights and
obligations, which may include the protection of intellectual
property. Any distribution, use or copying of this email or the
information it contains by other than an intended recipient is
unauthorised. If you have received this email in error please delete
it immediately. Due to the inherent uncertainties involved in modern
email transmissions, CipherWave Storage Solutions Africa (Pty) Ltd
cannot accept any responsibility or liability for any errors or
omissions, loss or damage from either use or misuse of the content,
including viruses.
___
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"


Wine-fbsd64 updated to 1.5.21 (32bit Wine for 64bit FreeBSD)

2013-01-14 Thread David Naylor
Hi,

Packages [1] for wine-fbsd64-1.5.21 have been uploaded to mediafire [2].  The 
packages for FreeBSD 10 use the pkgng [3] format.  

Please read the installation messages, if you use the nVidia graphics driver, 
for further information.  

FAQ
---
Q: Wine crashing when launching some 3D programs (aka games)
A: This appears to be some clash with software however I have not been able to 
isolate where the problem is occurring (wine, ports, world, kernel, i386, 
amd64).  A possible solution in to try upgrading, or downgrading, software 
used however I have not been able to fix the problem with my attempts.  If you 
find a solution please email me, or post the solution on the mailing list.

Q: wine: failed to initialize: / usr/local/lib32/wine/ntdll.dll.so: Undefined
symbol "_ThreadRuneLocale"
A: This problem is specific to FreeBSD-9.0, please either stick with 
wine-1.5.10 or update to a newer version of FreeBSD (-STABLE or 9.1).  
Apologies for the inconvenience.  

Q: Creating pkgng packages for FreeBSD-9
A: When there is no demand for FreeBSD-8 packages I'll create additional pkgng 
packages for FreeBSD-9.  Since it is possible to install the existing pkg 
packages in a pkgng environment (which I do) this is not a high priority.  

Q: Wine doesn't run (properly) with a clang built world
A: Clang was compiling i386 on a 16-byte boundary while gcc was using a 4-byte 
boundary.  To fix, recompile world after ensuring your sources include 
http://beta.freshbsd.org/commit/freebsd/r242835 or the relevant MFC.  

Regards,

David

[1]
 MD5 (wine-1.5.x-freebsd8/wine-fbsd64-1.5.21,1.tbz) = 
cfe91a668242a5f8fea5f395adda4e15
 MD5 (wine-1.5.x-freebsd9/wine-fbsd64-1.5.21.1.txz) = 
43fbfd9e4882f4098f62c57f15474ed9
 MD5 (wine-1.5.x-freebsd10/wine-fbsd64-1.5.21,1.txz) = 
63cca726e420be570485d173e8ce12f5
[2] http://www.mediafire.com/wine_fbsd64
[3] http://wiki.freebsd.org/pkgng


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


CUPS building error in FreeBSD 9.1

2013-01-14 Thread Antonios Atlasis
Hello to the list,

I made a fresh install of FreeBSD 9.1 on a 74bit system and I am trying to
install everything I need using ports and not packages. However, when I try
to install cups (version 1.5.4), even in the default configuration, I
receive the following build errors:

echo Linking ippserver...
Linking ippserver...
cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler
-L/usr/local/lib -Wl,-rpath=/usr/lib:/usr/local/lib -Wl,-R/usr/local/lib
-Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -o ippserver
ippserver.o  ../cups/libcups.a \
 -lssl -lcrypto  -pthread -lcrypt -lm -lssp_nonshared -liconv  -lz
../cups/libcups.a(http.o): In function `http_write_ssl':
/usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:4637: undefined
reference to `gnutls_record_send'
../cups/libcups.a(http.o): In function `_httpWait':
/usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:2901: undefined
reference to `gnutls_record_check_pending'
../cups/libcups.a(http.o): In function `http_setup_ssl':
/usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3965: undefined
reference to `gnutls_certificate_allocate_credentials'
/usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3967: undefined
reference to `gnutls_init'
/usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3968: undefined
reference to `gnutls_set_default_priority'
/usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3969: undefined
reference to `gnutls_server_name_set'
/usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3971: undefined
reference to `gnutls_credentials_set'
/usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3972: undefined
reference to `gnutls_transport_set_ptr'
/usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3973: undefined
reference to `gnutls_transport_set_pull_function'
/usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3974: undefined
reference to `gnutls_transport_set_push_function'
/usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3976: undefined
reference to `gnutls_handshake'
/usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3981: undefined
reference to `gnutls_error_is_fatal'
/usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3986: undefined
reference to `gnutls_strerror'
/usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3988: undefined
reference to `gnutls_deinit'
/usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3989: undefined
reference to `gnutls_certificate_free_credentials'
../cups/libcups.a(http.o): In function `http_shutdown_ssl':
/usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:4320: undefined
reference to `gnutls_bye'
/usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:4321: undefined
reference to `gnutls_deinit'
/usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:4322: undefined
reference to `gnutls_certificate_free_credentials'
../cups/libcups.a(http.o): In function `http_read_ssl':
/usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3466: undefined
reference to `gnutls_record_recv'
../cups/libcups.a(http.o): In function `httpInitialize':
/usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:1527: undefined
reference to `gnutls_global_init'
gmake[1]: *** [ippserver] Error 1
gmake[1]: Leaving directory
`/usr/ports/print/cups-base/work/cups-1.5.4/test'
gmake: *** [all] Error 1
*** [do-build] Error code 1

Stop in /usr/ports/print/cups-base.
*** [install] Error code 1

Stop in /usr/ports/print/cups-base.
*** [build-depends] Error code 1

Stop in /usr/ports/print/cups.


Any help is highly appreciated

Regards

Antonios
___
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 v9.1 Release Torrents?

2013-01-13 Thread Curt Dox
Hello!

For those who are seeking a torrent for the various install media,
one location they may be found is at http://gotbsd.net/

I wish you success!
___
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-update won't update 8.2-R-p9 to p10

2013-01-13 Thread Matthew Pounsett

I can't seem to get freebsd-update to do the jump from 9.2-RELEASE-p9 to p10.  
This is what I'm getting.

   > sudo freebsd-update fetch
   Password:
   Looking up update.FreeBSD.org mirrors... 3 mirrors found.
   Fetching metadata signature for 8.2-RELEASE from update5.FreeBSD.org... done.
   Fetching metadata index... done.
   Inspecting system... done.
   Preparing to download files... done.

   The following files are affected by updates, but no changes have
   been downloaded because the files have been modified locally:
   /var/db/mergemaster.mtree

   No updates needed to update system to 8.2-RELEASE-p10.
 
   WARNING: FreeBSD 8.2-RELEASE-p9 HAS PASSED ITS END-OF-LIFE DATE.
   Any security issues discovered after Wed Aug  1 00:00:00 UTC 2012
   will not have been corrected.

Note the complaint about mergemaster.mtree.  I haven't modified that, so I'm 
not sure why it's complaining.  It may be a red herring anyway though.  
However, since no changes have been downloaded, an install does nothing.

   > sudo freebsd-update install
   No updates are available to install.
   Run '/usr/sbin/freebsd-update fetch' first.

However, after a reboot, I'm still running p9.

   > uname -a
   FreeBSD obfuscated.com 8.2-RELEASE-p9 FreeBSD 8.2-RELEASE-p9 #0: Mon Jun 11 
23:00:11 UTC 2012 
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

I'm running a generic kernel, which should be updated according to the 
freebsd-update docs.  Any suggestions for how to get this to complete?



___
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-update IDS

2013-01-12 Thread ajtiM
Hi!

I run freebsd-update on my upgraded FreeBSD 9.1-RELEASE and I got:
/var/cache has 0755 permissions, but should have 0750 permissions

I don't have a server. Should I change  permission, please?

Thank you.

Mitja

http://www.redbubble.com/people/lumiwa
___
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: FreeBSD Hp Proliant DL580 g7 & IBM 3650 installation problem

2013-01-11 Thread Emre Çamalan
HP p410i Smart Array Raid Controller Card is used by HP proliant dl 580 g7,
so when i read Freebsd Hardware Compatibility page ... i saw

ciss(4) driver
includes: HP Smart Array P410i

before installation start i load this module from loader console... 

 
loader console> load ciss
OK Loading
loader console> autoboot

it worked,

thanks

best regards





> Date: Thu, 10 Jan 2013 10:15:22 -0800
> From: d...@pki2.com
> To: cwe...@hotmail.com
> Subject: Re: FreeBSD Hp Proliant DL580 g7 & IBM 3650 installation problem
> CC: freebsd-questions@freebsd.org
> 
> 
> 
> On Thu, 10 Jan 2013, Emre ?amalan wrote:
> 
> > Hi,
> >
> > I have got a big computer which has got at least 4 core "Hp Proliant 
> > DL580 g7" server. And it has got HP p410i smart array RAID card.
> >
> >
> > I tried to install FreeBSD 8.2, 8.3 9.1 from DVD and bootonly cd but 
> > after passed menu screen I got an error.
> >
> >
> 
> I have many HP machines with 410i controllers but no G7s. I haven't had a 
> problem installing FreeBSD on them.
> 
> 
> 
> > Please show me the way for solution.
> >
> > I attached last screenshot from HP 580.
> >
> > And IBM machine give an error and restart again and again.
> > I attached screenshot too.
> _______
> 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: FreeBSD Hp Proliant DL580 g7 & IBM 3650 installation problem‏

2013-01-10 Thread Dennis Glatting



On Thu, 10 Jan 2013, Emre ?amalan wrote:


Hi,

I have got a big computer which has got at least 4 core "Hp Proliant 
DL580 g7" server. And it has got HP p410i smart array RAID card.



I tried to install FreeBSD 8.2, 8.3 9.1 from DVD and bootonly cd but 
after passed menu screen I got an error.





I have many HP machines with 410i controllers but no G7s. I haven't had a 
problem installing FreeBSD on them.





Please show me the way for solution.

I attached last screenshot from HP 580.

And IBM machine give an error and restart again and again.
I attached screenshot too.

_______
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: FreeBSD Hp Proliant DL580 g7 & IBM 3650 installation problem‏

2013-01-10 Thread Emre Çamalan
u can also see image for HP (proliant DL 580 g7)


http://s1.postimage.org/j5gocn2xb/image.jpg





for IBM (3650 server)


http://s20.postimage.org/uonx173gd/Ibm.jpg



> From: axel...@ymail.com
> Date: Thu, 10 Jan 2013 18:41:58 +0100
> Subject: Re: FreeBSD Hp Proliant DL580 g7 & IBM 3650 installation problem‏
> To: cwe...@hotmail.com
> CC: freebsd-questions@freebsd.org
> 
> On Thu, Jan 10, 2013 at 6:19 PM, Emre Çamalan  wrote:
> 
> > Hi,
> >
> > I have got a big computer which has got at least 4 core "Hp Proliant DL580
> > g7" server.
> > And it has got HP p410i smart array RAID card.
> >
> >
> > I tried to install FreeBSD 8.2, 8.3 9.1 from DVD and bootonly cd but after
> > passed menu screen I got an error.
> >
> >
> >
> > Please show me the way for solution.
> >
> > I attached last screenshot from HP 580.
> >
> > And IBM machine give an error and restart again and again.
> > I attached screenshot too.
> >
> > ___
> > 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"
> >
> Hi,
> 
> Could you please send us the errors you encounter please?
> 
> Regards,
> Alexandre
> ___
> 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: FreeBSD Hp Proliant DL580 g7 & IBM 3650 installation problem‏

2013-01-10 Thread Alexandre
On Thu, Jan 10, 2013 at 6:19 PM, Emre Çamalan  wrote:

> Hi,
>
> I have got a big computer which has got at least 4 core "Hp Proliant DL580
> g7" server.
> And it has got HP p410i smart array RAID card.
>
>
> I tried to install FreeBSD 8.2, 8.3 9.1 from DVD and bootonly cd but after
> passed menu screen I got an error.
>
>
>
> Please show me the way for solution.
>
> I attached last screenshot from HP 580.
>
> And IBM machine give an error and restart again and again.
> I attached screenshot too.
>
> ___
> 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"
>
Hi,

Could you please send us the errors you encounter please?

Regards,
Alexandre
_______
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 Hp Proliant DL580 g7 & IBM 3650 installation problem‏

2013-01-10 Thread Emre Çamalan
Hi,

I have got a big computer which has got at least 4 core "Hp Proliant DL580 g7" 
server. 
And it has got HP p410i smart array RAID card.


I tried to install FreeBSD 8.2, 8.3 9.1 from DVD and bootonly cd but after 
passed menu screen I got an error.



Please show me the way for solution.

I attached last screenshot from HP 580.

And IBM machine give an error and restart again and again.
I attached screenshot too.  
  _______
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"

Trouble with Virt-Manager 'client' on FreeBSD

2013-01-10 Thread Michel Le Cocq
(sorry for the multi-list send)

Hi, I tried to use Virt-Manager on my freebsd Desktop.

$ pkg info | grep virt-manager
virt-manager-0.9.4_2   Toolkit to interact with virtualization
capabilities

All seem ok but when I tried to connect to remote kvm host I've got the
following error.

> Unable to connect to libvirt.
>
> End of file while reading data: : Input/output error
>
> Verify that the 'libvirtd' daemon is running
> on the remote host.
>
> Libvirt URI is: qemu+ssh://root@myremotehost/system
>
> Traceback (most recent call last):
>   File "/usr/local/share/virt-manager/virtManager/connection.py", line
> 1027, in _open_thread
> self.vmm = self._try_open()
>   File "/usr/local/share/virt-manager/virtManager/connection.py", line
> 1009, in _try_open
> flags)
>   File "/usr/local/lib/python2.7/site-packages/libvirt.py", line 102,
> in openAuth
> if ret is None:raise libvirtError('virConnectOpenAuth() failed')
> libvirtError: End of file while reading data: : Input/output error
I'm sure that the 'libvirtd' daemon is running on the remote host.
Because I can connect to the same host on an other Linux 'ubuntu'
Desktop (virt-manager 0.901-1ubuntu5.1).

Here is the detail of my connection setting :
qemu+ssh://root@myremotehost/system

Thanks

--
Michel Le Cocq
___
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: KDE4 has no FolderView in FreeBSD 9.1-RELEASE [SOLVED]

2013-01-08 Thread Elias Chrysocheris
Just for the record, I found out that the package x11/kde4-baseapps was not in 
my system. By installing it many of the problems had on KDE4 solved. I don't 
know why it didn't get compiled when installing kde4, but now everything works 
like a charm...

Regards and Happy new year to everybody!
Elias
_______
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"


Help to understand the behaviour of TCP-Cubic module in FreeBSD

2013-01-08 Thread Debojyoti Roy
Hi Everyone,

I am trying to develop TCP-CUBIC and using Free-BSD as a standard device
for testing.


To load the Cubic module in FreeBSD the following commands were executed :

kldload ./cc_cubic.ko
sysctl -w net.inet.tcp.cc.algorithm=cubic

The test method has been attached which was used to understand the
behaviour of TCP-Cubic.

There are few questions regarding the behaviour of FreeBSD.

Q1) After receiving Full Acknowledgement from the receiver, sender entered
into Congestion Avoidance State. At that moment filghtsize was equal to 0
and CWND became 1. Now, sender will increase its CWND according to CUBIC
algorithm but FreeBSD follows Slow Start Algorithm by incrementing CWND
from 1 --> 2 --> 4 segments. As per my understanding, if FreeBSD follows
TCP-Cubic functionality, it should be in TCP friendly region. So, CWND
should be 7 in next RTT. Calculation has been provided below :

*W_tcp(t) = W_Max * (1 - beta) + 3 * beta/(2 - beta) * t/RTT*

*=> W_tcp(t) = 7 *

*[W_Max = 8, congestion occurs = 18.874sec , current time = 18.878sec,
therefore elapsed time t = 0.004 sec, RTT = (18.878 - 18.876) = 0.002 sec,
beta = 0.2]*
But I find that it incremented to 2 rather than 7.

Could you please explain this behaviour ?

Q2) If my tool acknowledges all the packets coming from FreeBSD after Fast
Retransmit, the segment sequence was 1 --> 2 --> 4 --> 5 --> 6 --> 7 --> 8
--> 6 --> 6 --> 6... Why after sending 8 segments in congestion avoidance
state, CWND unexpectedly sets to 6 ?

Q3) What will be the unit of t and RTT (i.e seconds or miliseconds) ?

Q4) In Cubic-draft both concave and convex use the same formula. Only
difference in convex it depends on max_increment_rate. How does
max_increment_rate variable can be calculated ?

If I have any wrong understanding please rectify me and I will be very
grateful if you could answer the questions as soon as possible.

Thanks in advance,
Debojyoti Roy
The following method has been used to test the Cubic in congestion avoidance 
state : 

+
| Test  Action in   

|
| Step No.  the step
Comments
|
+
|1  RECEIVER sends SYN packet   
Connection Estublishment        
|
|2  FreeBSD sends SYN-ACK packet

|
|3  RECEIVER sends ACK packet   

|
+-------+
|4  FreeBSD sends 4 segments
From here we can infer that initial window size is 4. So, CWND = 4  
|
+---+
|5  RECEIVER sends ACK for all 4 segments   
FreeBSD will follow the Slow Start Algorithm. Hence it should make CWND = 2 x 4 
= 8 |
+-------+
|6  FreeBSD sends 8 segments

|
+---+
|7  RECEIVER sends 3-Duplicate ACKs of last segment of step 5   
FreeBSD realises the Congestion has occured 
|
+-------+
|8  FreeBSD retransmits the lost segment 

Re: freebsd-update: fale?

2013-01-04 Thread Fbsd8

Joe Altman wrote:

On Thu, Jan 03, 2013 at 03:50:44PM +0100, Martin Laabs wrote:

Hi,

On 01/02/13 01:21, Joe Altman wrote:

Greetings, list. I have the following error; though I can load
update5.FreeBSD.org in a browser:
[...]

maybe you use a release that is not supported by freebsd-update. Run
"uname -r" an compare the release with that you see when looking at
http://update4.freebsd.org/

If it is not there you can not use freebsd-update.


Yes; I realized that after I revisited the man page and handbook;
somehow I managed to miss that initially. I'm currently using
9.1-PRERELEASE.


Now I am left to wonder how that state will last; ISTM that eventually
9.1 will be supported by freebsd-update but I cannot tell when that
might happen. Given that CVSUP is going away soon, I can't see
reinstalling it just for this unnecessary upgrade.

Since I appear to be stuck between things, I have three questions:

1) Is there any way to guesstimate how long until 9.1 is supported by
   freebsd-update?

2) Am I correct in assuming that there is no good reason (security
   concerns, for instance) to update right now? I seem to have no
   problems with my system; it runs fine.

3) Does freebsd-update really require at least a Gig of space in /var
   for a major or minor upgrade? If so, it looks like I may as well
   reinstall the OS, since I never anticipated needing that much in
   /var. At this point, given the amount of 'portupgrade -fr' I'll need
   to do, it might consume less time to start from scratch.


Thanks for the followup, and best regards,

Joe


Heres a work around that should work.

For your 9.1-PRERELEASE  you can temporary change that so freebsd-update 
will work for you.


Issue this console command on your system.
setenv UNAME_r "9.0-RELEASE"

Now when you run freebsd-update it will think your system is 9.0-RELEASE
and go through with the update to 9.1-RELEASE.





_______
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: freebsd-update: fale?

2013-01-04 Thread Joe Altman

On Thu, Jan 03, 2013 at 03:50:44PM +0100, Martin Laabs wrote:
> Hi,
> 
> On 01/02/13 01:21, Joe Altman wrote:
> > Greetings, list. I have the following error; though I can load
> > update5.FreeBSD.org in a browser:
> > [...]
> 
> maybe you use a release that is not supported by freebsd-update. Run
> "uname -r" an compare the release with that you see when looking at
> http://update4.freebsd.org/
>
> If it is not there you can not use freebsd-update.

Yes; I realized that after I revisited the man page and handbook;
somehow I managed to miss that initially. I'm currently using
9.1-PRERELEASE.


Now I am left to wonder how that state will last; ISTM that eventually
9.1 will be supported by freebsd-update but I cannot tell when that
might happen. Given that CVSUP is going away soon, I can't see
reinstalling it just for this unnecessary upgrade.

Since I appear to be stuck between things, I have three questions:

1) Is there any way to guesstimate how long until 9.1 is supported by
   freebsd-update?

2) Am I correct in assuming that there is no good reason (security
   concerns, for instance) to update right now? I seem to have no
   problems with my system; it runs fine.

3) Does freebsd-update really require at least a Gig of space in /var
   for a major or minor upgrade? If so, it looks like I may as well
   reinstall the OS, since I never anticipated needing that much in
   /var. At this point, given the amount of 'portupgrade -fr' I'll need
   to do, it might consume less time to start from scratch.


Thanks for the followup, and best regards,

Joe
___
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: Looking for info on how to install and configure suPHP on FreeBSD 8

2013-01-04 Thread Matt Rauch

> -Original Message-
> From: owner-freebsd-questi...@freebsd.org 
> [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of 
> Ilya Kazakevich
> Sent: January-03-13 7:17 PM
> To: Matt Rauch
> Cc: freebsd-questions@freebsd.org
> Subject: Re: Looking for info on how to install and configure 
> suPHP on FreeBSD 8
> 
> http://www.freshports.org/www/suphp/
> 
> Is not it what are you looking for?
> 


I guess what I'm looking for is not only how to do the ports install (which
I think I can do without issue), but also how to implement it so that it is
being used. The simple port install won't make that work right out of the
box will it?

Thanks,

Matt Rauch

___
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: FreeBSD: GIT instaed of SVN?

2013-01-04 Thread Volodymyr Kostyrko

03.01.2013 20:30, Mark Felder:

On Thu, 3 Jan 2013 12:24:31 -0400
Joseph Mingrone  wrote:


A little of topic, but Fossil is BSD licensed.


It also would work poorly as an SCM for FreeBSD because everything would be in 
a giant sqlite database :(


Why this is bad? Even for SVN I prefer bdb backend as it works faster 
and better regardless what SVN authors say.


--
Sphinx of black quartz, judge my vow.
___
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: Looking for info on how to install and configure suPHP on FreeBSD 8

2013-01-03 Thread Ilya Kazakevich
http://www.freshports.org/www/suphp/

Is not it what are you looking for?


On Fri, Jan 4, 2013 at 2:29 AM, Matt Rauch  wrote:

> suPHP
___
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"


Looking for info on how to install and configure suPHP on FreeBSD 8

2013-01-03 Thread Matt Rauch
Hello,

I apologize if there is an easy spot to find this, but I'm looking for some
instructions on implementing suPHP on FreeBSD 8 with Apache. The server is
currently in production and I'd like to convert it from running PHP files as
an Apache module and instead as cgi with suPHP for security and for some
issues that crop up with file and directory ownership with Joomla and other
CMS platforms. I have done quite a bit of searching and cannot find just a
step by step installation guide of any kind for FreeBSD. I can find my way
around FreeBSD pretty well, but am by no means an expert user, hence why a
guide would be perfect.

Any help would be greatly appreciated,

Matt Rauch


_______
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: audio/baresip on FreeBSD 9

2013-01-03 Thread Joseph Olatt
On Thu, Jan 03, 2013 at 08:15:41AM +0100, Matthias Apitz wrote:
> 
> Hi,
> 
> El d?a Wednesday, January 02, 2013 a las 08:19:11PM -0800, Joseph Olatt 
> escribi?:
> 
> > 
> > I've been trying to get baresip to work on my FreeBSD 9.x laptop and
> > haven't had much success. I register successfully to callcentric.com and
> > it appears that I can connect and there is a stream of data coming
> > through based on the status display:
> > 
> > [0:00:08] audio=0/0 (bit/s) []
> 
> The display shows zero audio data!
> 
> > However, there is no sound.
> 
> Have you tried the local audio loop with pressing the single letter 'a'?
> 
> > Is anybody on the list successfully using baresip? If so, could they
> > please provide some pointers on how to get sound?
> 
> I'm attaching my config file which works fine; in your config file it
> looks stange to me:
> 
> > # Audio
> > audio_dev   /dev/audio0.0
> 
> do you have such a device file '/dev/audio0.0'?
> 
> > # Audio codec Modules (in order)
> > #module g7221.so
> > #module g722.so
> > module  g711.so
> > #module gsm.so
> > #module l16.so
> > #module speex.so
> > #module celt.so
> > #module bv32.so
> > 
> > # Audio filter Modules (in order)
> > # NOTE: AEC should be before Preproc
> > #module sndfile.so
> > #module speex_aec.so
> > #module speex_pp.so
> > #module speex_resamp.so
> > #module plc.so
> > 
> > # Audio driver Modules
> > #module oss.so
> > #module alsa.so
> > #module portaudio.so
> > #module gst.so
> 
> you have no audio driver loaded, try 'oss.so'
> 
> Once you get the local loop working you could contact me off-list for my
> SIP and try to call me.
> 
> HIH
> 
>   matthias
> -- 
> Sent from my FreeBSD netbook
> 
> Matthias Apitz   |  - No system with backdoors like Apple/Android
> E-mail: g...@unixarea.de |  - No HTML/RTF in E-mail
> WWW: http://www.unixarea.de/ |  - No proprietary attachments
> phone: +49-170-4527211   |  - Respect for open standards

> #
> # baresip configuration
> #
> 
> #--
> 
> # Core
> poll_method   poll# poll, select, epoll ..
> 
> # Input
> input_device  /dev/event0
> input_port
> 
> # SIP
> sip_trans_bsize   128
> #sip_listen   127.0.0.1:5050
> 
> # Audio
> audio_dev /dev/dsp
> audio_srate   8000-48000
> audio_channels1-2
> #audio_aec_length 128 # [ms]
> 
> # Video
> video_dev /dev/video0
> video_size352x288
> video_bitrate 384000
> video_fps 25
> #video_selfview   window # {window,pip}
> 
> # AVT - Audio/Video Transport
> rtp_tos   184
> #rtp_ports1-2
> rtp_ports 1024-1030
> #rtp_bandwidth512-1024 # [kbit/s]
> rtcp_enable   yes
> rtcp_mux  no
> jitter_buffer_delay   5-10# frames
> 
> # Network
> #dns_server   10.0.0.1:53
> 
> #--
> # Modules
> 
> module_path   /usr/local/lib/baresip/modules
> 
> # UI Modules
> modulestdio.so
> modulecons.so
> #module   evdev.so
> 
> # Audio codec Modules (in order)
> #module   g7221.so
> #module   g722.so
> moduleg711.so
> #module   gsm.so
> #module   l16.so
> #module   speex.so
> #module   celt.so
> #module   bv32.so
> 
> # Audio filter Modules (in order)
> # NOTE: AEC should be before Preproc
> #module   sndfile.so
> #module   speex_aec.so
> #module   speex_pp.so
> #module   speex_resamp.so
> #module   plc.so
> 
> # Audio driver Modules
&

Re: FreeBSD: GIT instaed of SVN?

2013-01-03 Thread Mark Felder
On Thu, 3 Jan 2013 12:24:31 -0400
Joseph Mingrone  wrote:

> A little of topic, but Fossil is BSD licensed.

It also would work poorly as an SCM for FreeBSD because everything would be in 
a giant sqlite database :(
___
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: FreeBSD 9.1 RELEASE - does not install package

2013-01-03 Thread Matthew Seaman
On 03/01/2013 17:56, Joseph A. Nagy, Jr wrote:
> On 01/03/13 11:50, Celso Viana wrote:
>> Hi all,
>>
>> I can not install the package "subversion" with "pkg_add -r"
>>
>> pkg_add: unable to fetch
>> 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/subversion.tbz'
>>
>> by URL
>>
>> I observed that there is "packages-9.1-release" in
>> 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64";
>>
>> In FreeBSD 9.1 RELEASE, how do I install packages via "pkg_add"?
>>
>> Thanks!!
>>
> 
> You don't, the pkgbeta site is, to my knowledge, still down. Also, if
> pkgng is in by default, next time try 'pkg add' instead.
> 

pkgng isn't in 9.1 by default.  You've got to wait until 9.2 for that
(or upgrade to 10.x).  However, you can choose to install it from ports
if you wish.

The OP is asking about pkg_add, however the answer is basically the same
for either pkg_tools and pkgng:

The security incident: http://www.freebsd.org/news/2012-compromise.html
has meant that all of the package building systems available to the
FreeBSD project (either for pkg_tools or pkgng) have been quarantined,
pending sanitization and reinstallation.  Consequently there have hardly
been any packages built in the last month or so.

There are no packages available yet for the packages-9.1-release set.

There are no packages available from pkgbeta (except for a lonely copy
of pkg-1.0.3.txz so people can bootstrap pkgng on their machines).

For pkg_tools, there are older packages available: you should be able to
use pkg compiled for 9.0 or stable/9 pretty successfully on 9.1-RELEASE.
 For pkgng unfortunately your only choices are to wait patiently or to
compile your own.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matt...@infracaninophile.co.uk



signature.asc
Description: OpenPGP digital signature


Re: FreeBSD 9.1 RELEASE - does not install package

2013-01-03 Thread Joseph A. Nagy, Jr

On 01/03/13 11:50, Celso Viana wrote:

Hi all,

I can not install the package "subversion" with "pkg_add -r"

pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/subversion.tbz'
by URL

I observed that there is "packages-9.1-release" in
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64";

In FreeBSD 9.1 RELEASE, how do I install packages via "pkg_add"?

Thanks!!



You don't, the pkgbeta site is, to my knowledge, still down. Also, if 
pkgng is in by default, next time try 'pkg add' instead.


--
Yours in Christ,

Joseph A Nagy Jr
"Whoever loves instruction loves knowledge, But he who hates correction
is stupid." -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL http://owl.apotheon.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"


FreeBSD 9.1 RELEASE - does not install package

2013-01-03 Thread Celso Viana
Hi all,

I can not install the package "subversion" with "pkg_add -r"

pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/subversion.tbz'
by URL

I observed that there is "packages-9.1-release" in
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64";

In FreeBSD 9.1 RELEASE, how do I install packages via "pkg_add"?

Thanks!!

-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org
Palmas/TO
___
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: FreeBSD: GIT instaed of SVN?

2013-01-03 Thread Joseph Mingrone
On Wed, Jan 2, 2013 at 9:35 AM, Mark Felder  wrote:
> Git is also not BSD licensed. I believe it may require bringing Python into 
> base as well.

A little of topic, but Fossil is BSD licensed.
___
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: freebsd-update: fale?

2013-01-03 Thread Martin Laabs
Hi,

On 01/02/13 01:21, Joe Altman wrote:
> Greetings, list. I have the following error; though I can load
> update5.FreeBSD.org in a browser:
> [...]

maybe you use a release that is not supported by freebsd-update. Run "uname
-r" an compare the release with that you see when looking at
http://update4.freebsd.org/
If it is not there you can not use freebsd-update.

Best regards,
 Martin

_______
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: freebsd-update: fale?

2013-01-03 Thread Martin Laabs
Hi,

On 01/02/13 01:21, Joe Altman wrote:
> Greetings, list. I have the following error; though I can load
> update5.FreeBSD.org in a browser:
> [...]

maybe you use a release that is not supported by freebsd-update. Run "uname
-r" an compare the release with that you see when looking at
http://update4.freebsd.org/
If it is not there you can not use freebsd-update.

Best regards,
 Martin

_______
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: audio/baresip on FreeBSD 9

2013-01-03 Thread Hugo Silva
On 01/03/13 04:19, Joseph Olatt wrote:
> 
> I've been trying to get baresip to work on my FreeBSD 9.x laptop and
> haven't had much success. I register successfully to callcentric.com and
> it appears that I can connect and there is a stream of data coming
> through based on the status display:
> 
> [0:00:08] audio=0/0 (bit/s) []
> 
> However, there is no sound.
> 
> Is anybody on the list successfully using baresip? If so, could they
> please provide some pointers on how to get sound?
> 
> There doesn't seem to be much documentation anywhere on the Internet for
> baresip.
> 
> My config file (~/.baresip/config) is:
> 
> /* Begin ~/.baresip/config */
> #
> # baresip configuration
> #
> 
> #--
> 
> # Core
> poll_method   poll# poll, select, epoll ..
> 
> # Input
> input_device  /dev/event0
> input_port
> 
> # SIP
> sip_trans_bsize   128
> #sip_listen   127.0.0.1:5050
> 
> # Audio
> audio_dev   /dev/audio0.0
> audio_srate   8000-48000
> audio_channels1-2
> #audio_aec_length 128 # [ms]
> 
> # Video
> video_dev 
> video_size352x288
> video_bitrate 384000
> video_fps 25
> #video_selfview   window # {window,pip}
> 
> # AVT - Audio/Video Transport
> rtp_tos   184
> #rtp_ports1-2
> #rtp_bandwidth512-1024 # [kbit/s]
> rtcp_enable   yes
> rtcp_mux  no
> jitter_buffer_delay   5-10# frames
> 
> # Network
> #dns_server   10.0.0.1:53
> 
> #--
> # Modules
> 
> module_path   /usr/local/lib/baresip/modules
> 
> # UI Modules
> modulestdio.so
> modulecons.so
> #module   evdev.so
> 
> # Audio codec Modules (in order)
> #module   g7221.so
> #module   g722.so
> moduleg711.so
> #module   gsm.so
> #module   l16.so
> #module   speex.so
> #module   celt.so
> #module   bv32.so
> 
> # Audio filter Modules (in order)
> # NOTE: AEC should be before Preproc
> #module   sndfile.so
> #module   speex_aec.so
> #module   speex_pp.so
> #module   speex_resamp.so
> #module   plc.so
> 
> # Audio driver Modules
> #module   oss.so
> #module   alsa.so
> #module   portaudio.so
> #module   gst.so
> 
> # Video codec Modules (in order)
> moduleavcodec.so
> #module   vpx.so
> 
> # Video source modules
> #module   avformat.so
> #module   v4l.so
> #module   v4l2.so
> 
> # Video display modules
> #module   sdl.so
> #module   x11.so
> 
> # Media NAT modules
> #module   stun.so
> #module   turn.so
> #module   ice.so
> 
> # Media encoding modules
> #module   srtp.so
> 
> # Other modules
> #module   natbd.so
> 
> #--
> # Module parameters
> 
> 
> # Speex codec parameters
> speex_quality 7 # 0-10
> speex_complexity  7 # 0-10
> speex_enhancement 0 # 0-1
> speex_vbr 0 # Variable Bit Rate 0-1
> speex_vad 0 # Voice Activity Detection 0-1
> speex_agc_level   8000
> 
> # NAT Behavior Discovery
> #natbd_server creytiv.com
> #natbd_interval   600 # in seconds
> /* End ~/.baresip/config */
> 
> 
> /* uname -a */
> FreeBSD peace 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #4 r244062: Mon Dec
> 10 17:56:25 CST 2012 root@peace:/usr/obj/usr/src/sys/PEACE  i386
> 
> 
> 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"
> 



This works for me (not sure about video

Re: FreeBSD: GIT instaed of SVN?

2013-01-03 Thread RW
On Thu, 03 Jan 2013 12:19:55 +0200
Volodymyr Kostyrko wrote:

> 03.01.2013 11:54, David Demelier:
> > subversion is not in base and will probably never? So this is not a
> > real problem :)
> 
> Nope, importing svnsup would suffice.
> 
> http://svnweb.freebsd.org/base/user/des/svnsup/

Even that isn't essential, cvsup was used from ports for years before
csup was written. And now we have portsnap, freebsd-update and pkg. 
___
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: FreeBSD: GIT instaed of SVN?

2013-01-03 Thread Mark Felder
On Thu, 3 Jan 2013 12:19:55 +0200
Volodymyr Kostyrko  wrote:

> Nope, importing svnsup would suffice.
> 
> http://svnweb.freebsd.org/base/user/des/svnsup/

As far as I know that's not a completed project.
_______
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: FreeBSD: GIT instaed of SVN?

2013-01-03 Thread Volodymyr Kostyrko

03.01.2013 11:54, David Demelier:

subversion is not in base and will probably never? So this is not a real
problem :)


Nope, importing svnsup would suffice.

http://svnweb.freebsd.org/base/user/des/svnsup/

--
Sphinx of black quartz, judge my vow.
___
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"


<    2   3   4   5   6   7   8   9   10   11   >