Re: Editors are broken after update

2013-01-21 Thread Ralf Mardorf

On Mon, 21 Jan 2013 03:53:56 +0100, Polytropon free...@edvax.de wrote:

/usr/home/rocketmouse, _not_ user/home/rocketmouse


It wasn't possible to copy the message, so I've written it. It's very  
likely that I made a typo. I'm a dyslexic and since there's no big  
difference between /usr and /user and it both is for user it's very  
likely that I haven't notice it all the times when I read it. If I would  
have written /usgr or something similar it could happen that I don't  
notice it when reading it 2 or 3 times, but when reading it for the 4th  
time I will notice it. It oven happens that people type 'unmount' instead  
of 'umount', so I've seen Linux distros that ship with an alias 'unmount'  
:D.


I'm sorry for the confusion :). I only noticed it regarding to your  
comparison.


OT:

# grep alias .cshrc
alias h history 25
alias j jobs -l
alias lals -aF
alias lfls -FA
alias llls -lAF

I avoid using aliases. FWIW on Linux mailing lists that aren't for a  
specific distro, it's unwanted to use aliases when posting to the list.


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: Editors are broken after update

2013-01-21 Thread Polytropon
On Mon, 21 Jan 2013 09:51:13 +0100, Ralf Mardorf wrote:
 On Mon, 21 Jan 2013 03:53:56 +0100, Polytropon free...@edvax.de wrote:
  /usr/home/rocketmouse, _not_ user/home/rocketmouse
 
 It wasn't possible to copy the message, so I've written it. It's very  
 likely that I made a typo. I'm a dyslexic and since there's no big  
 difference between /usr and /user and it both is for user it's very  
 likely that I haven't notice it all the times when I read it. If I would  
 have written /usgr or something similar it could happen that I don't  
 notice it when reading it 2 or 3 times, but when reading it for the 4th  
 time I will notice it. It oven happens that people type 'unmount' instead  
 of 'umount', so I've seen Linux distros that ship with an alias 'unmount'  
 :D.

Seen in this context, the message was probably beginning
with /usr instead of user which makes sense (even though
it would be considered a bug when the editor is invoked
without a file name and it instead tries to open something
that is not a file to edit). It also fits the tradition that
usr is often pronounced user and therefor carries that
mental image.



 OT:
 
 # grep alias .cshrc
 alias h   history 25
 alias j   jobs -l
 alias la  ls -aF
 alias lf  ls -FA
 alias ll  ls -lAF
 
 I avoid using aliases. FWIW on Linux mailing lists that aren't for a  
 specific distro, it's unwanted to use aliases when posting to the list.

That's a valid advice, especially when the alias name suggests
that it does something it doesn't do in reality. However, a
common alias ll for list long is widely accepted, even though
the implementation (and additional flags and preferences) may
differ from system to system.

alias   ls  'ls -FG -D %Y-%m-%d %H:%M:%S'
alias   ll  'ls -laFG -D %Y-%m-%d %H:%M:%S'
setenv  LSCOLORSExGxdxdxCxDxDxBxBxegeg

;-)



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


AUTO: KVVSN Murthy is out of the office (returning 01/25/2013)

2013-01-21 Thread KVVSN Murthy

I am out of the office until 01/25/2013.

In my absence, please coordinate with either Mr.Siva nor Mr.Ravikanth for
QA support.


Note: This is an automated response to your message  freebsd-questions
Digest, Vol 451, Issue 1 sent on 1/21/2013 2:39:02 PM.

This is the only notification you will receive while this person is away.

Disclaimer

This message contains legally privileged and/or confidential information. If 
you are not the intended recipient(s), or employee or agent responsible for 
delivery of this message to the intended recipient(s), you are hereby notified 
that any dissemination, distribution or copying of this e-mail message is 
strictly prohibited. If you have received this message in error, please 
immediately notify the sender and delete this e-mail message from your computer.
WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

___
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


OSS and ALSA

2013-01-21 Thread Ralf Mardorf

Hi :)

I know it's a topic for the multimedia list, but there's less traffic on
that list, so I hope it's okay to post it to both lists :S.

I'll test the snd_hdspe driver. It's working for the 2 analog IOs of a
HDSPe AIO, but other ports are missing by jackd.

I was asked to use mpd, but I never used this kind of media player before.
Usually I'm using pro-audio apps on Linux and seldom I use averaged
media players and as mentioned before, I never used this kind of player.

I don't know how to use mpd or the Gnome GUI for it and sonata failed to
build.

Perhaps I could use an averaged media player to get access to all ports?

Is there a way to automatically get all dependencies when building  
applications?


To me it's already strange that audacious is build without the output  
plugins, however, I'll build them now and I get


root@freebsd:/usr/home/rocketmouse # cd  
/usr/ports/multimedia/audacious-plugins ; make install clean












┌┐
│ Options for audacious-plugins  
3.3.3│
│  
┌┐ │
│ │ [*] AAC AAC/MP4  
format │ │
│ │ [*] ADPLUG  ADPLUG  
decoder │ │
│ │ [*] ALSAALSA audio  
architecture│ │
│ │ [*] AMIDI   Amidi  
decoder  │ │
│ │ [*] AOSDAudacious  
OSD  │ │
│ │ [*] AOSDXCOMP   Audacious OSD X  
Composite  │ │
│ │ [*] BS2BBS2B  
effect│ │
│ │ [*] CDAUDIO CD audio  
input │ │
│ │ [*] CUE Embedded CUE  
sheets│ │
│ │ [*] DBUSD-Bus IPC  
system   │ │
│ │ [*] FFAUDIO FFAudio  
decoder│ │
│ │ [*] FLACFLAC lossless audio  
codec  │ │
│ │ [*] GIO GIO  
support│ │
│ │ [*] JACKJACK audio  
server  │ │
│  
└─v(+)───45%─┘ │


├┤
│ OK 
Cancel   │


└┘










===  Found saved configuration for audacious-plugins-3.3.3
= audacious-plugins-3.3.3.tar.bz2 doesn't seem to exist in  
/usr/ports/distfiles/.
= Attempting to fetch  
http://distfiles.audacious-media-player.org/audacious-plugins-3.3.3.tar.bz2

audacious-plugins-3.3.3.tar.bz2   100% of 1699 kB  571 kBps
===  Extracting for audacious-plugins-3.3.3
= SHA256 Checksum OK for audacious-plugins-3.3.3.tar.bz2.
===  Patching for audacious-plugins-3.3.3
===   audacious-plugins-3.3.3 depends on executable: audacious - found
===   audacious-plugins-3.3.3 depends on file:  
/usr/local/lib/oss/include/sys/soundcard.h - not found
===Verifying install for /usr/local/lib/oss/include/sys/soundcard.h  
in /usr/ports/audio/oss

===  oss-4.2.b2007 requires kernel source to be installed.
*** [install] Error code 1

Stop in /usr/ports/audio/oss.
*** [build-depends] Error code 1

Stop in /usr/ports/multimedia/audacious-plugins.
*** [install] Error code 1

Stop in /usr/ports/multimedia/audacious-plugins.

Ok, I need the kernel source, I bet I'll find what to do using Google, but  
I wonder why OSS already is working, when it's not installed. I suspect  
this will replace something that already is part of the kernel? If so,  
could it break other ports?


I also wonder why ALSA doesn't work, when it's installed and the sound  
card's driver is installed.


FWIW, after an ports update there already was the application finder icon
missing and now there's no icon for audacious for the menu. I know how to
give them icons, I just want to inform, that there are icons missing.

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

Kernel headers

2013-01-21 Thread Ralf Mardorf
I'm a FreeBSD novice, experienced with Linux audio. If on Linux the  
network does work, than it works.

What is needed to have a working network on FreeBSD for all situations?

http://www.cyberciti.biz/faq/freebsd-install-kernel-source-code/

German FTP:
Unable to transfer the sbase distribution from ftp://ftp.de.freebsd.org.
Some primary by HTTP:
Value Required lease enter the address of the HTTP proxy in this format:  
hostname:port (the ':port' is optional, default is 3128)


*?*

Very often Google finds similar incomplete howtos :(.

What hostname is required?

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: Kernel headers

2013-01-21 Thread Ralf Mardorf
On Mon, 21 Jan 2013 12:09:36 +0100, Ralf Mardorf  
ralf.mard...@rocketmail.com wrote:

http://www.cyberciti.biz/faq/freebsd-install-kernel-source-code/


I'm sorry, I missed the link from the last comment.

http://forums.freebsd.org/showthread.php?t=29172

A long thread :S.
___
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: Kernel headers

2013-01-21 Thread Emre Çamalan
What is your distribution for installing FreeBSD, CD , DVD ?

You can also use DVD for installing kernel.

First , download FreeBSD 8.x or 9.x DVD distribution then try to install kernel 
with same way which is showing on cyberciti.biz.
or reinstall your freebsd with FreeBSD 9.1 which ask to you for installing 
kernel.




21.01.2013, 13:12, Ralf Mardorf ralf.mard...@rocketmail.com:
 I'm a FreeBSD novice, experienced with Linux audio. If on Linux the
 network does work, than it works.
 What is needed to have a working network on FreeBSD for all situations?

 http://www.cyberciti.biz/faq/freebsd-install-kernel-source-code/

 German FTP:
 Unable to transfer the sbase distribution from ftp://ftp.de.freebsd.org.
 Some primary by HTTP:
 Value Required lease enter the address of the HTTP proxy in this format:
 hostname:port (the ':port' is optional, default is 3128)

 *?*

 Very often Google finds similar incomplete howtos :(.

 What hostname is required?

 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-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: Kernel headers

2013-01-21 Thread Ralf Mardorf
On Mon, 21 Jan 2013 12:25:57 +0100, Emre Çamalan mail...@yandex.com  
wrote:

What is your distribution for installing FreeBSD, CD , DVD ?

You can also use DVD for installing kernel.

First , download FreeBSD 8.x or 9.x DVD distribution then try to install  
kernel with same way which is showing on cyberciti.biz.
or reinstall your freebsd with FreeBSD 9.1 which ask to you for  
installing kernel.


I had to installed FreeBSD from the 8.3 DVD, because partitioning doesn't  
work on my machine, when I used 9.0. I updated the Kernel to 9.1, world  
and the ports tree.


I now use svn, but there's another issue now.

root@freebsd:/usr/src # svn checkout  
svn://svn.freebsd.org/base/releng/9.1/ /usr/src

[snip]
^CAlib/libc/quad/fixdfdi.c

svn: E200015: Caught signal
root@freebsd:/usr/src #
root@freebsd:/usr/src # uname -a
FreeBSD freebsd 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4  
09:23:10 UTC 2012  
r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64


I don't know what /releng is for. Does this fit to my kernel?
I suspect I need to checkout r243825. How can I do this or what ever else  
I have to do?


Thank you.

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: Change branch with svn

2013-01-21 Thread David Demelier
Thank you !


2013/1/17 Volodymyr Kostyrko c.kw...@gmail.com

 17.01.2013 10:47, David Demelier:

  Hello folks,

 Just wanted to switch from RELEASE-9.1 to 9-STABLE my /usr/src, I was
 used to csup, this tool was updating the src tree without removing it.

 How can I switch my /usr/src tree to stable/9 branch without removing
 old files?


 # svn switch ^/stable/9


 --
 Sphinx of black quartz, judge my vow.




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


Re: OSS and ALSA

2013-01-21 Thread David Demelier
Don't enable OSS4 nor ALSA, VLC can run fine with FreeBSD kernel mixer
support (that has a OSS compatibility support).

Just use defaults, it will always work more when you use default options.


2013/1/21 Ralf Mardorf ralf.mard...@rocketmail.com

 Hi :)

 I know it's a topic for the multimedia list, but there's less traffic on
 that list, so I hope it's okay to post it to both lists :S.

 I'll test the snd_hdspe driver. It's working for the 2 analog IOs of a
 HDSPe AIO, but other ports are missing by jackd.

 I was asked to use mpd, but I never used this kind of media player before.
 Usually I'm using pro-audio apps on Linux and seldom I use averaged
 media players and as mentioned before, I never used this kind of player.

 I don't know how to use mpd or the Gnome GUI for it and sonata failed to
 build.

 Perhaps I could use an averaged media player to get access to all ports?

 Is there a way to automatically get all dependencies when building
 applications?

 To me it's already strange that audacious is build without the output
 plugins, however, I'll build them now and I get

 root@freebsd:/usr/home/**rocketmouse # cd 
 /usr/ports/multimedia/**audacious-plugins
 ; make install clean










 ┌─**
 ──**─┐
 │ Options for audacious-plugins 3.3.3
│
 │ ┌─**
 ──**─┐ │
 │ │ [*] AAC AAC/MP4 format
 │ │
 │ │ [*] ADPLUG  ADPLUG decoder
 │ │
 │ │ [*] ALSAALSA audio architecture
  │ │
 │ │ [*] AMIDI   Amidi decoder
  │ │
 │ │ [*] AOSDAudacious OSD
  │ │
 │ │ [*] AOSDXCOMP   Audacious OSD X Composite
  │ │
 │ │ [*] BS2BBS2B effect
  │ │
 │ │ [*] CDAUDIO CD audio input
 │ │
 │ │ [*] CUE Embedded CUE sheets
  │ │
 │ │ [*] DBUSD-Bus IPC system
 │ │
 │ │ [*] FFAUDIO FFAudio decoder
  │ │
 │ │ [*] FLACFLAC lossless audio codec
  │ │
 │ │ [*] GIO GIO support
  │ │
 │ │ [*] JACKJACK audio server
  │ │
 │ └─v(+)**
 ───45%**─┘ │
 ├─**
 ──**─┤
 │ OKCancel
   │
 └─**
 ──**─┘










 ===  Found saved configuration for audacious-plugins-3.3.3
 = audacious-plugins-3.3.3.tar.**bz2 doesn't seem to exist in
 /usr/ports/distfiles/.
 = Attempting to fetch http://distfiles.audacious-**
 media-player.org/audacious-**plugins-3.3.3.tar.bz2http://distfiles.audacious-media-player.org/audacious-plugins-3.3.3.tar.bz2
 audacious-plugins-3.3.3.tar.**bz2   100% of 1699 kB  571 kBps
 ===  Extracting for audacious-plugins-3.3.3
 = SHA256 Checksum OK for audacious-plugins-3.3.3.tar.**bz2.
 ===  Patching for audacious-plugins-3.3.3
 ===   audacious-plugins-3.3.3 depends on executable: audacious - found
 ===   audacious-plugins-3.3.3 depends on file: /usr/local/lib/oss/include/
 **sys/soundcard.h - not found
 ===Verifying install for /usr/local/lib/oss/include/**sys/soundcard.h
 in /usr/ports/audio/oss
 ===  oss-4.2.b2007 requires kernel source to be installed.
 *** [install] Error code 1

 Stop in /usr/ports/audio/oss.
 *** [build-depends] Error code 1

 Stop in /usr/ports/multimedia/**audacious-plugins.
 *** [install] Error code 1

 Stop in /usr/ports/multimedia/**audacious-plugins.

 Ok, I need the kernel source, I bet I'll find what to do using Google, but
 I wonder why OSS already is working, when it's not installed. I suspect
 this will replace something that already is part of the kernel? If so,
 could it break other ports?

 I also wonder why ALSA doesn't work, when it's installed and the sound
 card's driver is installed.

 FWIW, after an ports update there already was the application finder icon
 missing and now there's no icon for audacious for the menu. I know how to
 give them icons, I just want to inform, that there are icons missing.

 Regards,
 Ralf
 __**_
 freebsd-multime...@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**multimediahttp://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
 To 

Re: OSS and ALSA

2013-01-21 Thread Ralf Mardorf

Thank you David,

On Mon, 21 Jan 2013 13:21:53 +0100, David Demelier  
demelier.da...@gmail.com wrote:

Don't enable OSS4 nor ALSA, VLC can run fine with FreeBSD kernel mixer
support (that has a OSS compatibility support).
Just use defaults, it will always work more when you use default options.


I'll use audio software such as Ardour with jackd, if I launch jackd with  
oss, there are only the two analog IOs of my HDSPe AIO available, ALSA  
doesn't work.

I'll get the 8 ADAT ports, since I connect my sound card to an ADAT device.

This is the sound card:
http://www.rme-audio.de/en_products_hdspe_aio.php
This is the connected ADAT device:
http://www.behringer.com/EN/Products/ADA8000.aspx

Just for a test VLC would be ok.

Ok, so I compile VLC and dependencies, that were not already compiled,  
with their default configuration. Some dependencies perhaps are already  
compiled.


On Mon, 21 Jan 2013 13:22:07 +0100, David Demelier  
demelier.da...@gmail.com wrote:

I mean audacious, not VLC


Audacious with jack and other non-defaults enabled will compile OSS. When  
VLC is compiled, I'll read how to reset the config and compile it with  
it's defaults.


For test purposes this is ok, but for audio production it's a no-go. FWIW  
I generally don't add pulseaudio support since environments with  
pulseaudio don't work with professional gear on Linux. Even if it should  
work on FreeBSD, the code is odd, since it will adjust 2 volumes in the  
same signal chain at the same time. An audio engineer doing this, never  
ever would get a job. This is not how audio signals are handled in the  
professional world, doing it that way is idiotic.


To be continued.

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: OSS and ALSA

2013-01-21 Thread Ralf Mardorf
On Mon, 21 Jan 2013 13:22:07 +0100, David Demelier  
demelier.da...@gmail.com wrote:



I mean audacious, not VLC


2013/1/21 David Demelier demelier.da...@gmail.com


Don't enable OSS4 nor ALSA, VLC can run fine with FreeBSD kernel mixer
support (that has a OSS compatibility support).

Just use defaults, it will always work more when you use default  
options.



2013/1/21 Ralf Mardorf ralf.mard...@rocketmail.com


Hi :)

I know it's a topic for the multimedia list, but there's less traffic  
on

that list, so I hope it's okay to post it to both lists :S.

I'll test the snd_hdspe driver. It's working for the 2 analog IOs of a
HDSPe AIO, but other ports are missing by jackd.

I was asked to use mpd, but I never used this kind of media player  
before.

Usually I'm using pro-audio apps on Linux and seldom I use averaged
media players and as mentioned before, I never used this kind of  
player.


I don't know how to use mpd or the Gnome GUI for it and sonata failed  
to

build.

Perhaps I could use an averaged media player to get access to all  
ports?


Is there a way to automatically get all dependencies when building
applications?

To me it's already strange that audacious is build without the output
plugins, however, I'll build them now and I get

root@freebsd:/usr/home/**rocketmouse # cd  
/usr/ports/multimedia/**audacious-plugins

; make install clean










┌─**
──**─┐
│ Options for audacious-plugins 3.3.3
   │
│ ┌─**
──**─┐ │
│ │ [*] AAC AAC/MP4 format
  │ │
│ │ [*] ADPLUG  ADPLUG decoder
  │ │
│ │ [*] ALSAALSA audio architecture
 │ │
│ │ [*] AMIDI   Amidi decoder
 │ │
│ │ [*] AOSDAudacious OSD
 │ │
│ │ [*] AOSDXCOMP   Audacious OSD X  
Composite

 │ │
│ │ [*] BS2BBS2B effect
 │ │
│ │ [*] CDAUDIO CD audio input
  │ │
│ │ [*] CUE Embedded CUE sheets
 │ │
│ │ [*] DBUSD-Bus IPC system
  │ │
│ │ [*] FFAUDIO FFAudio decoder
 │ │
│ │ [*] FLACFLAC lossless audio  
codec

 │ │
│ │ [*] GIO GIO support
 │ │
│ │ [*] JACKJACK audio server
 │ │
│ └─v(+)**
───45%**─┘ │
├─**
──**─┤
│ OKCancel
│
└─**
──**─┘










===  Found saved configuration for audacious-plugins-3.3.3
= audacious-plugins-3.3.3.tar.**bz2 doesn't seem to exist in
/usr/ports/distfiles/.
= Attempting to fetch http://distfiles.audacious-**
media-player.org/audacious-**plugins-3.3.3.tar.bz2http://distfiles.audacious-media-player.org/audacious-plugins-3.3.3.tar.bz2
audacious-plugins-3.3.3.tar.**bz2   100% of 1699 kB  571  
kBps

===  Extracting for audacious-plugins-3.3.3
= SHA256 Checksum OK for audacious-plugins-3.3.3.tar.**bz2.
===  Patching for audacious-plugins-3.3.3
===   audacious-plugins-3.3.3 depends on executable: audacious - found
===   audacious-plugins-3.3.3 depends on file:
/usr/local/lib/oss/include/**sys/soundcard.h - not found
===Verifying install for  
/usr/local/lib/oss/include/**sys/soundcard.h

in /usr/ports/audio/oss
===  oss-4.2.b2007 requires kernel source to be installed.
*** [install] Error code 1

Stop in /usr/ports/audio/oss.
*** [build-depends] Error code 1

Stop in /usr/ports/multimedia/**audacious-plugins.
*** [install] Error code 1

Stop in /usr/ports/multimedia/**audacious-plugins.

Ok, I need the kernel source, I bet I'll find what to do using Google,
but I wonder why OSS already is working, when it's not installed. I  
suspect

this will replace something that already is part of the kernel? If so,
could it break other ports?

I also wonder why ALSA doesn't work, when it's installed and the sound
card's driver is installed.

FWIW, after an ports update there already was the application finder  
icon
missing and now there's no icon for audacious for the menu. I know how  
to

give them icons, I just want to inform, that there are icons missing.

Regards,
Ralf
__**_
freebsd-multime...@freebsd.org mailing list

Re: OSS and ALSA

2013-01-21 Thread Andriy Gapon
on 21/01/2013 14:22 David Demelier said the following:
 I mean audacious, not VLC
 
 
 2013/1/21 David Demelier demelier.da...@gmail.com
 
 Don't enable OSS4 nor ALSA, VLC can run fine with FreeBSD kernel mixer
 support (that has a OSS compatibility support).

 Just use defaults, it will always work more when you use default options.

Are you sure?  And are you speaking about the latest version - 3.3.3 ?

In that version, if neither ALSA nor OSS4 is selected then the only output
possible is FileWriter.  BTW, OSS4 is On by default, which is annoying - why 
do
I have install some external kernel code if we already have quite good audio 
code.

It seems that audacious has lost support for normal OSS and became useless to
me.  Maybe SDL Output plugin/option could help, I need to try that.

-- 
Andriy Gapon
___
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: OSS and ALSA

2013-01-21 Thread Ralf Mardorf

On Mon, 21 Jan 2013 15:18:32 +0100, Andriy Gapon a...@freebsd.org wrote:


on 21/01/2013 14:22 David Demelier said the following:

I mean audacious, not VLC


2013/1/21 David Demelier demelier.da...@gmail.com


Don't enable OSS4 nor ALSA, VLC can run fine with FreeBSD kernel mixer
support (that has a OSS compatibility support).

Just use defaults, it will always work more when you use default  
options.


Are you sure?  And are you speaking about the latest version - 3.3.3 ?

In that version, if neither ALSA nor OSS4 is selected then the only  
output
possible is FileWriter.  BTW, OSS4 is On by default, which is annoying  
- why do
I have install some external kernel code if we already have quite good  
audio code.


It seems that audacious has lost support for normal OSS and became  
useless to

me.  Maybe SDL Output plugin/option could help, I need to try that.


I'm a FreeBSD beginner and I noticed that I can forget my Linux knowledge  
for FreeBSD audio. It would be nice to get some valid information for  
FreeBSD 9.1 amd64. Google isn't very helpful.

___
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


zfs configuration

2013-01-21 Thread Don Dugger
Hi All,

So I use zfs for the root file system. Works well. However now I want to
move /tmp to ram-disk (memory disk or what ever). When I try to unmount
/tmp with the zfs command of course it won't because its busy. With ufs I
would just edit fstab and reboot what do I don with zfs??

Thx in advance...

Don 8(
___
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: OSS and ALSA

2013-01-21 Thread Andriy Gapon
on 21/01/2013 16:18 Andriy Gapon said the following:
 Are you sure?  And are you speaking about the latest version - 3.3.3 ?
 
 In that version, if neither ALSA nor OSS4 is selected then the only output
 possible is FileWriter.  BTW, OSS4 is On by default, which is annoying - 
 why do
 I have install some external kernel code if we already have quite good audio 
 code.
 
 It seems that audacious has lost support for normal OSS and became useless 
 to
 me.  Maybe SDL Output plugin/option could help, I need to try that.

Yes, SDL Output works fine.  I think that this should be the default for the
following reasons:
- unlike OSS4 it doesn't require an additional external kernel driver
- unlike PulseAudio it doesn't require any daemon (and possibly extra 
configuration)
- unlike ALSA OSS plugin, SDL code is sane in its usage of OSS API

-- 
Andriy Gapon
___
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: Error upgrading Chromium

2013-01-21 Thread Kurt Buff
I worked around this by reconfiguring the port so that it doesn't use
pulseadio, recompiled, and it finished OK.

Kurt

On Thu, Jan 17, 2013 at 7:25 PM, Kurt Buff kurt.b...@gmail.com wrote:
 Just updated from 8.3 to FreeBSD 9.0-RELEASE-p3, and am reinstalling ports.
 Chromium is giving me two errors and bombing out.

 The errors are:

 media/audio/pulst/pulse_output.cc:89L28: error: use of undeclared identifier
 'kChannelOrderings'; did you mean 'ChannelOrder'?
  int channel_position = kChannelOrderings[channel_layout][channel];
 ^
 ChannelOrder

 ./media/base/channel/_layout.h:121:18: note: 'ChannelOrder' declared here
 MEDIA_EXPORT int ChannelOrder(ChannelLayout layout, Channels, channel);
  ^

 media/audio/pulse_output.cc:89:45: error: type 'int (media::ChannelLayout,
   media::Channels)' does not provide a subscript operator
 int channel_position = kChannelOrderings[channel_layout][channel];

 2 errors generated.
 gmake: *** [out/Release/obj.target/media/media/audio/pulse/pulse_output.0]
 Error 1

 I've googled trying to see what if anyting this might be, and see nothing...

 Anyone have thoughts on this?

 Thanks,

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


Re: zfs configuration

2013-01-21 Thread dweimer

On 2013-01-21 09:50, Don Dugger wrote:

Hi All,

So I use zfs for the root file system. Works well. However now I want 
to
move /tmp to ram-disk (memory disk or what ever). When I try to 
unmount
/tmp with the zfs command of course it won't because its busy. With 
ufs I

would just edit fstab and reboot what do I don with zfs??



Your best option is to reboot into single user mode, however if that's 
not possible, zfs umount -f will force it to unmount.


--
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: Error upgrading Chromium

2013-01-21 Thread Ralf Mardorf
On Mon, 2013-01-21 at 08:30 -0800, Kurt Buff wrote:
 I worked around this by reconfiguring the port so that it doesn't use
 pulseadio, recompiled, and it finished OK.

IIUC Google doesn't like to add pulseaudio and/or jackd support to their
software. Because you need to be subscribed to Jack devel mailing list
to read the archive, I copied an Email from another person who also is
subscribed to this list.

As a follow up on the original topic the Chromium developers have already
implemented CRAS.

Their main reason is that they are seeking to minimise energy usage in the
OS and not latency or audio routing issues as described in the webpage.

Apparently even though Pulseaudio is fine for Palm's/HP's webOS it is not
good enough for ChromeOS.

I have yet to get to the bottom of how badly they have screwed up JACK
integration but it is highly likely that ChromeBooks will not be able to
integrate into a netjack system.

So, I guess we can expect a new round of pissed off audio users
complaining about the lack of JACK integration with ChromeOS in the coming
years.

Probably the easiest answer will be for them to stick within their Chrome
eco system in much the same way that Android users have to now.
- 
http://lists.jackaudio.org/private.cgi/jack-devel-jackaudio.org/2013-January/010592.html

___
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: Kernel headers

2013-01-21 Thread Warren Block

On Mon, 21 Jan 2013, Ralf Mardorf wrote:

I'm a FreeBSD novice, experienced with Linux audio. If on Linux the network 
does work, than it works.

What is needed to have a working network on FreeBSD for all situations?

http://www.cyberciti.biz/faq/freebsd-install-kernel-source-code/


Those instructions only work on 8.X and earlier.  For 9.X,

http://forums.freebsd.org/showthread.php?p=162949
___
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: Kernel headers

2013-01-21 Thread Warren Block

On Mon, 21 Jan 2013, Ralf Mardorf wrote:

I had to installed FreeBSD from the 8.3 DVD, because partitioning doesn't 
work on my machine, when I used 9.0. I updated the Kernel to 9.1, world and 
the ports tree.


The ports tree is not branched (ports are identical for all versions of 
FreeBSD), so that's not a problem.



I now use svn, but there's another issue now.

root@freebsd:/usr/src # svn checkout svn://svn.freebsd.org/base/releng/9.1/ 
/usr/src

[snip]
^CAlib/libc/quad/fixdfdi.c

svn: E200015: Caught signal
root@freebsd:/usr/src #
root@freebsd:/usr/src # uname -a
FreeBSD freebsd 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 
09:23:10 UTC 2012 
r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64


I don't know what /releng is for. Does this fit to my kernel?


Yes.

I suspect I need to checkout r243825. How can I do this or what ever else I 
have to do?


No, that's a specific revision number, like a bookmark.  If you update 
only to that revision, nothing will change.  See 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/svn.html

___
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


[solved] Kernel headers

2013-01-21 Thread Ralf Mardorf
Thank you Warren.

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: zfs configuration

2013-01-21 Thread Volodymyr Kostyrko

21.01.2013 17:50, Don Dugger:

Hi All,

So I use zfs for the root file system. Works well. However now I want to
move /tmp to ram-disk (memory disk or what ever). When I try to unmount
/tmp with the zfs command of course it won't because its busy. With ufs I
would just edit fstab and reboot what do I don with zfs??


I've been moving a lot of machines from 9.0 to 9.1 with some patches 
this days (like tmpfs-nrbtree). I inject some code inde /etc/rc.d/zfs to 
update this. I'm adding this to /etc/fstab:


tmpfs /tmp tmpfs rw,nosuid 0 0

After this I'm changing /etc/rc.d/zfs:

@@ -23,6 +23,12 @@

 zfs_start_main()
 {
+   umount /tmp
+   zfs destroy mypool/tmp
+   rm -rf /tmp
+   mkdir -p /tmp
+   chmod ugo+rwxt /tmp
+   mount /tmp
zfs mount -a
zfs share -a
if [ ! -r /etc/zfs/exports ]; then

After reboot zfs filesystem for tmp is gone and tmpfs is in charge.

The code is harmless upon reexecution and just does the job. I haven't 
found easier way of doing this.


--
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: OSS and ALSA

2013-01-21 Thread David Demelier
On 21/01/2013 17:23, Oliver Lehmann wrote:
 
 Andriy Gapon a...@freebsd.org wrote:
 
 Yes, SDL Output works fine.  I think that this should be the default
 for the
 following reasons:
 - unlike OSS4 it doesn't require an additional external kernel driver
 - unlike PulseAudio it doesn't require any daemon (and possibly extra
 configuration)
 - unlike ALSA OSS plugin, SDL code is sane in its usage of OSS API
 
 The real OSS support was dropped by audacious somewhere in the past
 and is
 unfortunally no longer available.
 I can switch the default from OSS4 to SDL if this is what the community
 wants - I have no hard feeling here.

Yes I think this is a better solution, OSSv4 is an huge port that must
*replace* the in-kernel mixer/soundcard support.

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


Re: Error upgrading Chromium

2013-01-21 Thread Kurt Buff
On Mon, Jan 21, 2013 at 8:51 AM, Ralf Mardorf
ralf.mard...@rocketmail.com wrote:
 On Mon, 2013-01-21 at 08:30 -0800, Kurt Buff wrote:
 I worked around this by reconfiguring the port so that it doesn't use
 pulseadio, recompiled, and it finished OK.

 IIUC Google doesn't like to add pulseaudio and/or jackd support to their
 software. Because you need to be subscribed to Jack devel mailing list
 to read the archive, I copied an Email from another person who also is
 subscribed to this list.

 As a follow up on the original topic the Chromium developers have already
 implemented CRAS.

 Their main reason is that they are seeking to minimise energy usage in the
 OS and not latency or audio routing issues as described in the webpage.

 Apparently even though Pulseaudio is fine for Palm's/HP's webOS it is not
 good enough for ChromeOS.

 I have yet to get to the bottom of how badly they have screwed up JACK
 integration but it is highly likely that ChromeBooks will not be able to
 integrate into a netjack system.

 So, I guess we can expect a new round of pissed off audio users
 complaining about the lack of JACK integration with ChromeOS in the coming
 years.

 Probably the easiest answer will be for them to stick within their Chrome
 eco system in much the same way that Android users have to now.
 - 
 http://lists.jackaudio.org/private.cgi/jack-devel-jackaudio.org/2013-January/010592.html

Good to know!

Since ATM I'm only using Chromium on a netbook (Asus Aspire One -
about 3 years old), and it doesn't have much of an audio system, I'm
not too worked up about it, but I've got a new Dell laptop coming, and
I suppose I'll just have to use one of the other web browsers for
that.

Thanks,

Kurt
___
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


Re: OSS and ALSA

2013-01-21 Thread Mario Lobo
On Mon, 21 Jan 2013 19:12:34 +0100
David Demelier demelier.da...@gmail.com wrote:

 On 21/01/2013 17:23, Oliver Lehmann wrote:
  
  Andriy Gapon a...@freebsd.org wrote:
  
  Yes, SDL Output works fine.  I think that this should be the
  default for the
  following reasons:
  - unlike OSS4 it doesn't require an additional external kernel
  driver
  - unlike PulseAudio it doesn't require any daemon (and possibly
  extra configuration)
  - unlike ALSA OSS plugin, SDL code is sane in its usage of OSS API
  
  The real OSS support was dropped by audacious somewhere in the
  past and is
  unfortunally no longer available.
  I can switch the default from OSS4 to SDL if this is what the
  community wants - I have no hard feeling here.
 
 Yes I think this is a better solution, OSSv4 is an huge port that must
 *replace* the in-kernel mixer/soundcard support.
 
 Cheers,
 David
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

Could one of you show the steps to set SDL as the default sound system
on FBSD instead of OSS?

Thanks,

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winblows FREE)
 
___
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.comwrote:

 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


Re: Error upgrading Chromium

2013-01-21 Thread Ralf Mardorf
On Mon, 2013-01-21 at 10:43 -0800, Kurt Buff wrote:
 On Mon, Jan 21, 2013 at 8:51 AM, Ralf Mardorf
 ralf.mard...@rocketmail.com wrote:
  On Mon, 2013-01-21 at 08:30 -0800, Kurt Buff wrote:
  I worked around this by reconfiguring the port so that it doesn't use
  pulseadio, recompiled, and it finished OK.
 
  IIUC Google doesn't like to add pulseaudio and/or jackd support to their
  software. Because you need to be subscribed to Jack devel mailing list
  to read the archive, I copied an Email from another person who also is
  subscribed to this list.
 
  As a follow up on the original topic the Chromium developers have already
  implemented CRAS.
 
  Their main reason is that they are seeking to minimise energy usage in the
  OS and not latency or audio routing issues as described in the webpage.
 
  Apparently even though Pulseaudio is fine for Palm's/HP's webOS it is not
  good enough for ChromeOS.
 
  I have yet to get to the bottom of how badly they have screwed up JACK
  integration but it is highly likely that ChromeBooks will not be able to
  integrate into a netjack system.
 
  So, I guess we can expect a new round of pissed off audio users
  complaining about the lack of JACK integration with ChromeOS in the coming
  years.
 
  Probably the easiest answer will be for them to stick within their Chrome
  eco system in much the same way that Android users have to now.
  - 
  http://lists.jackaudio.org/private.cgi/jack-devel-jackaudio.org/2013-January/010592.html
 
 Good to know!
 
 Since ATM I'm only using Chromium on a netbook (Asus Aspire One -
 about 3 years old), and it doesn't have much of an audio system, I'm
 not too worked up about it, but I've got a new Dell laptop coming, and
 I suppose I'll just have to use one of the other web browsers for
 that.

I'm not sure if it's an issue for the *NIX browser, or just for a
GoogleOS. As far as I know, there's a browser called Chrom and Chromium,
but there are also operating systems with this name. So some research
still is needed.

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: help with SVN needed {slightly off-topic}

2013-01-21 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/20/13 6:55 PM, Gary Kline wrote:
 
 
[...]
 the part I need help with is Subversion.  I used CVS about 15 years
  ago, and svn looks slightly familiar.  the project on google.code 
 are looking for me to use svn to install my base files.  I think; 
 not sure.  on my desktop here I have one development directory for 
 all my source files.  I have subversion installed here.  briefly: 
 what now?
 
 do I create a svn directory here? or do I ftp/scp/?? things to
 the voice-by-computer account to the google.code project? thanks
 for any help.
 
 gary
[...]

Hi Gary,

This will help you get started importing your code into the Google
repository: http://svnbook.red-bean.com/en/1.7/svn.tour.importing.html

After that, you'll find answers to most other questions here:
http://svnbook.red-bean.com/en/1.7/index.html

Best regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlD9qTQACgkQ0sRouByUApAMcwCfU3foxCGbu9bxwynYcWD/Kh3M
Uo4An2L+nWg0FuamEMayMhp/JTfMJR3f
=tYmv
-END PGP SIGNATURE-
___
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: Upgrading 8.2 to 9.1, Gnome issue

2013-01-21 Thread Joe Altman
On Mon, Jan 21, 2013 at 01:02:17PM +0530, Hrisikesh sahu wrote:
 
 # portupgrade -fr gnome-session
 
 But I am facing a problem shared object libz.so.5 not found freebsd

I see libz.so.6 in my /usr/lib on:

9.1-RELEASE FreeBSD 9.1-RELEASE #0 r245243: Wed Jan  9 18:25:14 EST 2013
r...@whisperer.chthonixia.net:/usr/obj/usr/src/sys/WHISPERER  amd64

Remind me: did you buildworld and installworld prior to upgrading ports?

 I did all these steps to upgrade the ports
  Code:
 
 #pkgdb -fF
 # rm /var/db/pkg/pkgdb.db
 # portupgrade -arRn

While I wonder why you deleted your pkgdb.db, more to the point: did you
rebuild it?

 but i am facing a issue with -
  Code:
 
 /usr/local/sbin/portupgrade:1473:in `get_pkgname': Makefile broken
 (MakefileBrokenError)

My guess is that you did not rebuild the pkgdb.db...
 
 Please help me how to come out from this Makefile broken and shared object
 libz.so.5 not found freebsd.

and I'd do that before trying to solve fixing the libz.so.5 issue. 

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


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: 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 ralf.mard...@rocketmail.com 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


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 ralf.mard...@rocketmail.com 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
Hallo Ralf,

On Tue, 22 Jan 2013 01:53:52 +0100
Ralf Mardorf ralf.mard...@rocketmail.com wrote:

 On Tue, 2013-01-22 at 07:31 +0700, Erich Dollansky wrote:
  On Tue, 22 Jan 2013 00:33:49 +0100
  Ralf Mardorf ralf.mard...@rocketmail.com 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 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: zfs configuration

2013-01-21 Thread Shane Ambler

On 22/01/2013 02:51, dweimer wrote:

On 2013-01-21 09:50, Don Dugger wrote:

Hi All,

So I use zfs for the root file system. Works well. However now I want to
move /tmp to ram-disk (memory disk or what ever). When I try to unmount
/tmp with the zfs command of course it won't because its busy. With ufs I
would just edit fstab and reboot what do I don with zfs??



Your best option is to reboot into single user mode, however if that's
not possible, zfs umount -f will force it to unmount.



haven't tried it but
zfs set canmount=off zroot/tmp
should match editing the fstab

___
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 ralf.mard...@rocketmail.com 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: zfs configuration

2013-01-21 Thread Adam Vande More
On Mon, Jan 21, 2013 at 10:33 PM, kpn...@pobox.com wrote:

 On Mon, Jan 21, 2013 at 07:50:58AM -0800, Don Dugger wrote:
  Hi All,
 
  So I use zfs for the root file system. Works well. However now I want to
  move /tmp to ram-disk (memory disk or what ever). When I try to unmount
  /tmp with the zfs command of course it won't because its busy. With ufs I
  would just edit fstab and reboot what do I don with zfs??

 You can install and run 'lsof' to see which running programs are currently
 using anything in /tmp. Stop them, mount a new /tmp, and then restart
 them.


Or use fstat and avoid the lsof overhead

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


Re: 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


TRIM support on SSD via ata(4)

2013-01-21 Thread Alexey Dokuchaev
Hi there,

I've just bought this Crucial M4 SSD few days ago as a (hopefully) nice
upgrade option for my old laptop (I'm currently using it via SATA-IDE
cdrom bay).  Not the best setup, but alas I see no other options for me
due to lack of any real SATA ports and an old controller (my system is
recent 8.3-STABLE):

$ pciconf -lv | grep -i ata
atapci0@pci0:0:31:1:class=0x01018a card=0x83191033 chip=0x266f8086
rev=0x04 hdr=0x00
device = 'PATA100 Controller - 266F (82801FB/FBM/FW/FR/FRW)'
subclass   = ATA

Anyway, drive is recognized and seems to work quite fine, but one thing
in dmesg puzzles me when I mount filesystem from SSD:

TRIM flag on fs but disk does not support TRIM

Under Linux, hdparm(8) reports that TRIM is supported, so I'm wondering
why FreeBSD does not see it.  My ata(4) support in /boot/loader.conf looks
like this (little to none hardware support is compiled into the kernel):

ataintel_load=YES
atadisk_load=YES
atapci_load=YES

$ kldstat | grep ata
201 0xc0a65000 4734 atadisk.ko
215 0xc0a6a000 e398 ata.ko
223 0xc0a79000 80d4 atapci.ko
381 0xc0afc000 76ec ataintel.ko
392 0xc0b04000 6f50 ataahci.ko

Unfortunately, I cannot use ahci(4) and limited to atacontrol(8), which
does not have identify command like camcontrol(8).  Shall I recompile the
kernel with ATA_CAM option?  Is there way to force TRIM support, perhaps by
sending ATA commands directly to the drive?  Thanks,

./danfe

P.S.  Buying a new laptop is the easiest solution, but I do not want to do
that for various reasons, mostly because it's quite hard to find one that
would be nicely supported by FreeBSD these days.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: zfs configuration

2013-01-21 Thread Ivailo Tanusheff
Hi,

If you are using different filesystem for /tmp, which I guess you do, I 
would recommend trying: 
zfs set mountpoint=/something zfsroot/tmp
This way you will change the mountpoint to some other location. Also if 
you have trouble dismounting the system you can do:
1. fstat to find out which process is using the system;
2. use -f option to force the dismount process.

Hope this helps.

Regards,

Ivailo Tanusheff



Don Dugger dondugge...@gmail.com 
Sent by: owner-freebsd-questi...@freebsd.org
21.01.2013 17:51

To
freebsd-questions@freebsd.org
cc

Subject
zfs configuration






Hi All,

So I use zfs for the root file system. Works well. However now I want to
move /tmp to ram-disk (memory disk or what ever). When I try to unmount
/tmp with the zfs command of course it won't because its busy. With ufs I
would just edit fstab and reboot what do I don with zfs??

Thx in advance...

Don 8(
___
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


 


Disclaimer: The information contained in this message is intended solely 
for the use of the individual or entity to whom it is addressed and to 
others authorised to receive it. It may contain confidential or legally 
privileged information. It you are not the intended recipient you are 
hereby notified that any disclosure, copying, distribution, or taking any 
action based on the contents of this message is strictly prohibited and 
may be unlawful. If you have received this communication in error, please 
notify us immediately by responding to this e-mail and then delete it from 
your system. ProCredit Bank is neither liable for the proper and complete 
transmission for the information contained in this message nor for any 
delay in its receipt.

___
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