Re: ZFS and DMA read error

2009-09-01 Thread Mark Stapper
snip 9 identical messages, based on the uncorrectable LBA error Since it's all throwing errors at the same LBA, I'd run a SMART diagnostics on the drive (i think it's port sysutils/smartmontools) and see if it's showing errors too. Looks like a failing/failed drive and I would recommend

Re: questions about FreeBSD

2009-09-01 Thread Jonathan McKeown
On Monday 31 August 2009 17:00:07 Jerry McAllister wrote: Same response.   Do your homework. The nature of the OP's questions strongly suggested that we are doing his homework. I'm surprised so many people spoonfed the answers rather than pointing to resources like the handbook, as the first

Re: shell command line argument + parsing function

2009-09-01 Thread Artis Caune
2009/8/31 Stefan Miklosovic miklosovic.free...@gmail.com: hi, assuming I execute shell script like this $ ./script -c hello world I want to save hello world string to variable COMMENT in shell script. code: #!/bin/sh parse_cmdline() {    while [ $# -gt 0 ]; do        case $1 in    

Re: Boot from RAIDZ in 8.0-BETA3?

2009-09-01 Thread Artis Caune
2009/8/30 Doug Poland d...@polands.org: Shutdown, remove ad0 from the virtual machine, Power on and it see... scrolls off screen error 4 lba 4292979877 error 4 lba 4292979883 error 4 lba 4292979883 error 4 lba 4292979882 ZFS: i/o error - all block copies unavailable Invalid format I had

Re: Is ALSA support working in 72?

2009-09-01 Thread Tijl Coosemans
On Monday 31 August 2009 21:56:50 Yuri wrote: I tried new skype-2.1.0.47 on FreBSD-72. (I have linux-alsa-lib-1.0.10.3_2 installed.) Skype starts but gives the errors below when I try to make a voice call. Previous versions of Skype came in OSS flavor but now it seems to be dropped and

itunes on FreeBSD

2009-09-01 Thread Jerry
I use itunes http://www.apple.com/itunes/ extensively on my Windows machines to download music. AFAIK, Apple does not make a version for linux/bsd, although I might be incorrect. I investigated Rhapsody http://www.rhapsody.com/-software; however, there is no generic version of that available for

Re: itunes on FreeBSD

2009-09-01 Thread Neal Hogan
On Tue, Sep 1, 2009 at 7:08 AM, Jerryges...@yahoo.com wrote: I use itunes http://www.apple.com/itunes/ extensively on my Windows machines to download music. AFAIK, Apple does not make a version for linux/bsd, although I might be incorrect. I investigated Rhapsody

Re: itunes on FreeBSD

2009-09-01 Thread Andrew Gould
On Tue, Sep 1, 2009 at 7:08 AM, Jerryges...@yahoo.com wrote: I use itunes http://www.apple.com/itunes/ extensively on my Windows machines to download music. AFAIK, Apple does not make a version for linux/bsd, although I might be incorrect. I investigated Rhapsody

Re: 32 bit ports on an AMD64 system

2009-09-01 Thread Jim
First, I hope that you have a good reason for doing this, because it is going to be a PITA, and prone to all sorts of problems. [...] Unfortunately I do. The 32 bit stuff is *would be really nice, but not necessary*, but the ability to use extra memory *and* dynamically load kernel modules is a

Re: itunes on FreeBSD

2009-09-01 Thread Michael David Crawford
I am working on a GPL audio application called Ogg Frog: http://www.oggfrog.com/free-music-software/ It isn't ready for release yet, but when it is released for sure I will support FreeBSD. I will set up a port for it that hopefully can be included with the official ports. The initial

Re: 32 bit ports on an AMD64 system

2009-09-01 Thread Jim
Also note that it is possible to have an i386 port-building jail on an amd64 system. So, make/build/run a normal jail using the 64 bit os world, add -m32 to the make.conf CFLAGS and CXXFLAGS, build stuff in the jail, and copy it to main (non-jailed) system, and run ldconfig on the library

ifconfig -alias - removed wrong ip ?

2009-09-01 Thread claudiu vasadi
Hello guys, I have a 7.2-stable Freebsd running on a 2.66 Ghz 478 socket mobo with 1 GB DDR1 ram. I added another ip on my rl0 interface, brought it up, everything was fine (until i screwed it up :( ). I wanted then to remove the alias IP but i wrote a wrong command (ifconfig rl0 -alias) and

Re: questions about FreeBSD

2009-09-01 Thread Jerry McAllister
On Tue, Sep 01, 2009 at 08:41:00AM +0200, Jonathan McKeown wrote: On Monday 31 August 2009 17:00:07 Jerry McAllister wrote: Same response.   Do your homework. The nature of the OP's questions strongly suggested that we are doing his homework. I'm surprised so many people spoonfed the

Fwd: 32 bit ports on an AMD64 system

2009-09-01 Thread b. f.
So, make/build/run a normal jail using the 64 bit os world, add -m32 to the make.conf CFLAGS and CXXFLAGS, build stuff in the jail, and copy it to main (non-jailed) system, and run ldconfig on the library directories? I'd probably also change PREFIX/LOCALBASE to prevent the files from the ports

Re: ifconfig -alias - removed wrong ip ?

2009-09-01 Thread Adam Vande More
On Tue, Sep 1, 2009 at 8:20 AM, claudiu vasadi claudiu.vas...@gmail.comwrote: Hello guys, I have a 7.2-stable Freebsd running on a 2.66 Ghz 478 socket mobo with 1 GB DDR1 ram. I added another ip on my rl0 interface, brought it up, everything was fine (until i screwed it up :( ). I wanted

Re: 32 bit ports on an AMD64 system

2009-09-01 Thread Jim
Well, this would certainly help with building the ports safely. But I think we -- at least I was -- were thinking that you would actually leave them in the jail, and run them from the jailed environment, so there would be fewer run-time problems, and no work to transfer them over. Remember

Re: ifconfig -alias - removed wrong ip ?

2009-09-01 Thread Nikos Vassiliadis
Adam Vande More wrote: On Tue, Sep 1, 2009 at 8:20 AM, claudiu vasadi claudiu.vas...@gmail.comwrote: 1.) Is it normal for the ifconfig rl0 -alias to remove the normal IP and not the alias one ? (I think that by this syntax it could be right but the parameter -alias is specified and the OS

Re: 32 bit ports on an AMD64 system

2009-09-01 Thread Roland Smith
On Tue, Sep 01, 2009 at 09:44:10AM -0400, Jim wrote: First, I hope that you have a good reason for doing this, because it is going to be a PITA, and prone to all sorts of problems. [...] Unfortunately I do. The 32 bit stuff is *would be really nice, but not necessary*, but the ability to

Re: questions about FreeBSD

2009-09-01 Thread Jeremy Hooks
2009/8/31 James Phillips anti_spam...@yahoo.ca: ... I have some questions about FreeBSD. The questions I had in mind are: Such general questions imply homework assignment. Indeed, I found General features (at least three)? Firewall, GUI, Networking and so on. quite amusing. I am surprised he

Re: Interrupt storm detected on irq10:; throttling interrupt source

2009-09-01 Thread knunke
I'm having the same issue. It's FreeBSD on a Nokia530 Firewall. The message that keeps repeating over and over is interrupt storm detected on irq12:; throttling interrupt source. Here's the vmstat -i interrupt total rate irq0: clk 31362

Re: 32 bit ports on an AMD64 system

2009-09-01 Thread Jim
[...] but the ability to use extra memory *and* dynamically load kernel modules is a bit more important to me. All FreeBSD supported platforms can dynamically load native kernel modules, so why should that be a factor in choosing between i386 and amd64? Roland I didn't specify just loading

Re: 32 bit ports on an AMD64 system

2009-09-01 Thread Roland Smith
On Tue, Sep 01, 2009 at 09:49:47AM -0400, Jim wrote: Also note that it is possible to have an i386 port-building jail on an amd64 system. So, make/build/run a normal jail using the 64 bit os world, add -m32 to the make.conf CFLAGS and CXXFLAGS, build stuff in the jail, and copy it to

Re: 32 bit ports on an AMD64 system

2009-09-01 Thread b. f.
You've given some of your reasons for using amd64 -- but are your reasons for using 32-bit binaries on amd64 strong enough to make all of this worthwhile? Why not just use 64-bit binaries for all but the 32-bit-only ports? Sure, some 32-bit applications will actually run faster (the opposite is

Re: Boot from RAIDZ in 8.0-BETA3?

2009-09-01 Thread Jason Garrett
IMHO, unless you have a NEED to do this with the 8-BETA's I would not attempt. While I had this working in 8.0-BETA1 upon reboot I would loose data from entire mountpoints on the root pool. First it was /usr/ports, not a big deal. Then it was /var/db/pkg.. the system had no idea what was installed

Re: 32 bit ports on an AMD64 system

2009-09-01 Thread b. f.
On 9/1/09, b. f. bf1...@googlemail.com wrote: . If you don't use a jail ... well, I have not tried to install a large number of 32-bit and 64-bit ports in parallel, so I am not sure if the default setup for our loader will make the appropriate distinctions between 32-bit and 64-bit versions

remove newlines from a file

2009-09-01 Thread Paul Schmehl
I found a sed tutorial once that did this, but I can't seem to find it again. I have a file with multiple lines, each of which contains a single ip followed by a /32 and a comma. I want to combine all those lines into a single line by removing all the newline characters at the end of each

Re: remove newlines from a file

2009-09-01 Thread Mak Kolybabi
On 2009-09-01 18:03, Paul Schmehl wrote: I found a sed tutorial once that did this, but I can't seem to find it again. I have a file with multiple lines, each of which contains a single ip followed by a /32 and a comma. I want to combine all those lines into a single line by removing all the

Re: remove newlines from a file

2009-09-01 Thread b. f.
Paul Schmehl wrote: I found a sed tutorial once that did this, but I can't seem to find it again. I have a file with multiple lines, each of which contains a single ip followed by a /32 and a comma. I want to combine all those lines into a single line by removing all the newline characters at the

Re: remove newlines from a file

2009-09-01 Thread Rodrigo Gonzalez
On 09/01/2009 03:03 PM, Paul Schmehl wrote: I found a sed tutorial once that did this, but I can't seem to find it again. I have a file with multiple lines, each of which contains a single ip followed by a /32 and a comma. I want to combine all those lines into a single line by removing all the

Re: remove newlines from a file

2009-09-01 Thread Bertram Scharpf
Hi, Am Dienstag, 01. Sep 2009, 18:03:19 + schrieb Paul Schmehl: I found a sed tutorial once that did this, but I can't seem to find it again. I have a file with multiple lines, each of which contains a single ip followed by a /32 and a comma. I want to combine all those lines into a

netbooks and sdhci

2009-09-01 Thread David Horwitt
I recently purchased an Asus Aspire One D250-1151, and am,overall, pleased with it (running 7,2-RELEASE). The alc ethernet is not supported in 7.2 (the ath0 wireless is), and I don't care about the video camera. The '5-in-1' media reader is, unfortunately for me, a USB device. (After some

Re: remove newlines from a file

2009-09-01 Thread Paul Schmehl
--On Tuesday, September 01, 2009 13:55:37 -0500 Mak Kolybabi m...@kolybabi.com wrote: On 2009-09-01 18:03, Paul Schmehl wrote: I found a sed tutorial once that did this, but I can't seem to find it again. I have a file with multiple lines, each of which contains a single ip followed by a /32

memory usage displsy

2009-09-01 Thread Per olof Ljungmark
Hello, What is a good way to find out how memory is used? Have a 6.4 box where memory is used by something but I fail to see what is using it - tried different switches to ps(1), tried the stat tools but a big chunk of memory does not show at all. A proper tool for analyzing memory usage

Re: memory usage displsy

2009-09-01 Thread Bill Moran
In response to Per olof Ljungmark p...@intersonic.se: What is a good way to find out how memory is used? Have a 6.4 box where memory is used by something but I fail to see what is using it - tried different switches to ps(1), tried the stat tools but a big chunk of memory does not show at

Re: memory usage displsy

2009-09-01 Thread Dan Nelson
In the last episode (Sep 01), Bill Moran said: In response to Per olof Ljungmark p...@intersonic.se: What is a good way to find out how memory is used? Have a 6.4 box where memory is used by something but I fail to see what is using it - tried different switches to ps(1), tried the stat

Re: remove newlines from a file

2009-09-01 Thread Jerry McAllister
On Tue, Sep 01, 2009 at 06:03:19PM +, Paul Schmehl wrote: I found a sed tutorial once that did this, but I can't seem to find it again. I have a file with multiple lines, each of which contains a single ip followed by a /32 and a comma. I want to combine all those lines into a single

Re: remove newlines from a file

2009-09-01 Thread George Davidovich
On Tue, Sep 01, 2009 at 06:03:19PM +, Paul Schmehl wrote: I found a sed tutorial once that did this, but I can't seem to find it again. You're probably thinking of Useful One-Line Scripts for Sed: http://sed.sourceforge.net/sed1line.txt A good follow-up:

Re: memory usage displsy

2009-09-01 Thread Michael David Crawford
Per olof Ljungmark wrote: Well, my problem is that if I add up all I *can* see in top or ps it never gets near the by now 3G plus memory shown as Active. Maybe one gig is accounted for, I'm not that familiar with FreeBSD yet, but the kernel uses memory which might not be charged against any

Re: memory usage displsy

2009-09-01 Thread Per olof Ljungmark
Bill Moran wrote: In response to Per olof Ljungmark p...@intersonic.se: What is a good way to find out how memory is used? Have a 6.4 box where memory is used by something but I fail to see what is using it - tried different switches to ps(1), tried the stat tools but a big chunk of memory

I want install qutim

2009-09-01 Thread Алексей Михайлович
HI! My name is Alex I want install qutim , but he request: Found qt4-designer-4.4.1, but you need to upgrade to qt4-designer=4.5.2. I tried install Qt 4.5.2 and recive errror installation Qt 4.5.2 on FreeBSD uname -a: 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed Nov 26 11:43:51 UTC 2008

webserver and natd

2009-09-01 Thread Razvan Cristea
Hello,   i have a webserver useing freebsd 7.2 and i user the same server to route internet to a local network. the internet on the local network is working fine but the sites from the webserver are loading verry slow.   i fave this configuration in rc.conf:   firewall_enable=YES

Re: remove newlines from a file

2009-09-01 Thread Steve Bertrand
George Davidovich wrote: On Tue, Sep 01, 2009 at 06:03:19PM +, Paul Schmehl wrote: I found a sed tutorial once that did this, but I can't seem to find it again. You're probably thinking of Useful One-Line Scripts for Sed: http://sed.sourceforge.net/sed1line.txt A good follow-up:

Re: webserver and natd

2009-09-01 Thread Steve Bertrand
Razvan Cristea wrote: Hello, i have a webserver useing freebsd 7.2 and i user the same server to route internet to a local network. the internet on the local network is working fine but the sites from the webserver are loading verry slow. i fave this configuration in rc.conf:

Mounting an NFS volume served by Mac OS X

2009-09-01 Thread patrick
I'm wondering if anyone has had any success in mounting an NFS export from a Mac OS X machine on FreeBSD 7.2? When I try, I get: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak The man page for exports on Mac OS X has: -sec=mechanism1:mechanism2... This option

Daily security report oddity...

2009-09-01 Thread Kurt Buff
I got a daily security run email from one of my machines on Monday morning, with the following entry: zmx1.zetron.com login failures: Aug 30 06:57:17 zmx1 su: BAD SU mlee to root on /dev/ttyp2 Aug 30 09:42:17 zmx1 su: BAD SU mlee to root on /dev/ttyp0 What's puzzling is that this

Re: I want install qutim

2009-09-01 Thread Dima Panov
On Wednesday 02 September 2009 06:57:48 ��� �� wrote: HI! My name is Alex I want install qutim , but he request: Found qt4-designer-4.4.1, but you need to upgrade to qt4-designer=4.5.2. I tried install Qt 4.5.2 and recive errror installation Qt 4.5.2 on FreeBSD uname -a:

Upgrading packages

2009-09-01 Thread Chris
Greetings, Probably a long time discussed question: Updating a system is (or can be) done with freebsd-update. What is the suggested way of upgrading packages (not ports)? -- Best regards, Chris () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary

Re: Mounting an NFS volume served by Mac OS X

2009-09-01 Thread pete wright
On Tue, Sep 1, 2009 at 3:20 PM, patrickgibblert...@gmail.com wrote: I'm wondering if anyone has had any success in mounting an NFS export from a Mac OS X machine on FreeBSD 7.2? When I try, I get: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak The man page for

Re: netbooks and sdhci

2009-09-01 Thread James Phillips
Message: 26 Date: Tue, 01 Sep 2009 12:17:10 -0700 From: David Horwitt dbo...@aogsquid.ucsd.edu Subject: netbooks and sdhci To: freebsd-questions@freebsd.org, freebsd-mob...@freebsd.org Message-ID: 4a9d7336.3050...@aogsquid.ucsd.edu Content-Type: text/plain; charset=ISO-8859-1;

Re: webserver and natd

2009-09-01 Thread Steve Bertrand
Razvan Cristea wrote: Razvan Cristea wrote: Hello, i have a webserver useing freebsd 7.2 and i user the same server to route internet to a local network. the internet on the local network is working fine but the sites from the webserver are loading verry

Re: Upgrading packages

2009-09-01 Thread Polytropon
On Tue, 1 Sep 2009 17:15:53 -0500, Chris rac...@makeworld.com wrote: Greetings, Probably a long time discussed question: Updating a system is (or can be) done with freebsd-update. What is the suggested way of upgrading packages (not ports)? There's at least portupgrade with the -P option

Re: I want install qutim

2009-09-01 Thread Polytropon
On Tue, 01 Sep 2009 23:57:48 +0400, Алексей Михайлович merfi...@bk.ru wrote: I want install qutim As it seems to me, qutIM isn't ported to FreeBSD yet. I tried install Qt 4.5.2 and recive errror installation Qt 4.5.2 on FreeBSD [...] my action : tar -xvf qt-x11-opensource-src-4.5.2

Re: memory usage displsy

2009-09-01 Thread Per olof Ljungmark
Dan Nelson wrote: In the last episode (Sep 01), Bill Moran said: In response to Per olof Ljungmark p...@intersonic.se: What is a good way to find out how memory is used? Have a 6.4 box where memory is used by something but I fail to see what is using it - tried different switches to ps(1),

Re: memory usage displsy

2009-09-01 Thread Per olof Ljungmark
Dan Nelson wrote: In the last episode (Sep 01), Bill Moran said: In response to Per olof Ljungmark p...@intersonic.se: What is a good way to find out how memory is used? Have a 6.4 box where memory is used by something but I fail to see what is using it - tried different switches to ps(1),

Re: remove newlines from a file

2009-09-01 Thread Warren Block
On Tue, 1 Sep 2009, Steve Bertrand wrote: George Davidovich wrote: On Tue, Sep 01, 2009 at 06:03:19PM +, Paul Schmehl wrote: I found a sed tutorial once that did this, but I can't seem to find it again. You're probably thinking of Useful One-Line Scripts for Sed:

devel/pear port build failure

2009-09-01 Thread Terry Sposato
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I am having trouble building the devel/pear port. I have tried the following, rebuild all dependant ports (all of php etc.) - Extracted new ports tree, used portmaster, always returns the same error: [got][/usr/ports/devel/pear]# make install

Re: remove newlines from a file

2009-09-01 Thread Steve Bertrand
Warren Block wrote: On Tue, 1 Sep 2009, Steve Bertrand wrote: George Davidovich wrote: On Tue, Sep 01, 2009 at 06:03:19PM +, Paul Schmehl wrote: I found a sed tutorial once that did this, but I can't seem to find it again. You're probably thinking of Useful One-Line Scripts for Sed:

Re: memory usage displsy

2009-09-01 Thread Dan Nelson
In the last episode (Sep 02), Per olof Ljungmark said: Dan Nelson wrote: In the last episode (Sep 01), Bill Moran said: In response to Per olof Ljungmark p...@intersonic.se: What is a good way to find out how memory is used? Have a 6.4 box where memory is used by something but I fail to

having problems copying a dvd

2009-09-01 Thread af300wsm
Hi, I'm trying to make a copy of a dvd that I have, video, using a technique that I gleaned from this list nearly two years ago that has always worked but now I'm having problems. (When I say always, please bear in mind that I don't do this every day or even frequently). You'll also see

Re: Upgrading packages

2009-09-01 Thread Chris
On Wed, 2 Sep 2009 01:32:47 +0200 Polytropon free...@edvax.de wrote: On Tue, 1 Sep 2009 17:15:53 -0500, Chris rac...@makeworld.com wrote: Greetings, Probably a long time discussed question: Updating a system is (or can be) done with freebsd-update. What is the suggested way of

Re: Upgrading packages

2009-09-01 Thread Boris Samorodov
On Tue, 1 Sep 2009 17:15:53 -0500 Chris wrote: Probably a long time discussed question: Updating a system is (or can be) done with freebsd-update. What is the suggested way of upgrading packages (not ports)? The port sysutils/bsdadminscripts has a script pkg_upgrade to upgrade packages. --

Re: having problems copying a dvd

2009-09-01 Thread Roland Smith
On Wed, Sep 02, 2009 at 04:41:24AM +, af300...@gmail.com wrote: Hi, I'm trying to make a copy of a dvd that I have, video, using a technique that I gleaned from this list nearly two years ago that has always worked but now I'm having problems. (When I say always, please bear in mind

Re: Upgrading packages

2009-09-01 Thread Chris
On Wed, 02 Sep 2009 09:17:12 +0400 Boris Samorodov b...@ipt.ru wrote: On Tue, 1 Sep 2009 17:15:53 -0500 Chris wrote: Probably a long time discussed question: Updating a system is (or can be) done with freebsd-update. What is the suggested way of upgrading packages (not ports)? The

Re: having problems copying a dvd

2009-09-01 Thread Polytropon
On Wed, 02 Sep 2009 04:41:24 +, af300...@gmail.com wrote: If dd will work but I just forgot to get the block size right, what is that supposed to be. If you call dd without bs= parameter, the default of 512 is assumed. This may not be correct for video DVDs. You could try bs=1m, but I'm

Re: Mounting an NFS volume served by Mac OS X

2009-09-01 Thread Sabine Baer
On Tue, Sep 01, 2009 at 03:20:37PM -0700, patrick wrote: I'm wondering if anyone has had any success in mounting an NFS export from a Mac OS X machine on FreeBSD 7.2? amd$ ssh b...@ibook Password: Last login: Tue Sep 1 18:36:19 2009 Welcome to Darwin! ibook:~ book$ uname -a Darwin

Re: Upgrading packages

2009-09-01 Thread Boris Samorodov
On Wed, 2 Sep 2009 00:25:18 -0500 Chris wrote: On Wed, 02 Sep 2009 09:17:12 +0400 Boris Samorodov b...@ipt.ru wrote: On Tue, 1 Sep 2009 17:15:53 -0500 Chris wrote: Probably a long time discussed question: Updating a system is (or can be) done with freebsd-update. What is the