Re: ZFS on USB / Sound on alienware m11x

2011-04-18 Thread Craig Whipp



On Mon, 18 Apr 2011 16:58:28 +, Gautham Ganapathy wrote:

Hi

I am trying out FreeBSD on ZFS using the PC-BSD 8.2 installer. I have
it installed on a Western Digital USB HDD connected to an Alienware
m11x laptop. It seems to work well except that once in a while, any
application performing a write freezes for a few seconds (around 15 
or

so) and looking at top shows their states to be in zio. Is this
because it was installed on a USB drive?



I've experienced the same behavior on my external USB WD drive.  I
found that many of the Western Digital external drives will spin-down
after some period of time.  The wait you're experiencing is probably
the time it takes to spin-up.  WD has a utility to disable the
spin-down feature.  It's windows only, however.

http://support.wdc.com/product/download.asp?groupid=304&sid=17&lang=en

- Craig


pgpsbr2vloW02.pgp
Description: PGP signature


Re: NTPd GPS with BU-353 USB on FreeBSD 8.x??

2011-01-21 Thread Craig Whipp
On Sat, January 15, 2011 7:51 pm, Howard Leadmon wrote:
>
> I would have sworn I had a doc on configuring the BU-353 GPS receiver on
> FreeBSD, and in fact why I picked one up on the cheap when I had the chance.
>
>
> That said, I have googled and binged and everything else, and I'll be damned
> if I can find any definitive instructions as to how to get this working on my
> FreeBSD server.
>
> If anyone has this working, or knows of how I can get this configured and
> running with ntpd, a little help would be most appreciated...
>
>
>
> ---
> Howard

I've seen reference to this in the man page for astro/gpsd, you might want to 
look
there.

- Craig


___
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: File system

2010-05-12 Thread Craig Whipp
On Mon, May 10, 2010 10:53 am, Nikos Vassiliadis wrote:
> Ansar Mohammed wrote:
>> Hello All,
>> I have a FreeBSD VM running. Whenever I reboot the VM without a clean
>> shutdown it boots into single user mode and I have to run fsck.
>>
>> When I run fsck, the file system clearly has issues.
>>
>> Is there any way to have FreeBSD run on a better file system that wont
>> crap
>> out on me everytime I do and unclean shutdown?
>
> I am really surprised no one proposed geom journaling. With gjournal,
> I never had to do a manual full fsck and have had plenty of unclean
> shutdowns. I also occasionally do fsck the filesystem and there were
> no errors ever found. It definitely adds the ease factor I am looking
> for in a journaling sollution in the case of an unclean shutdown...
>

Correct me if I'm wrong, but since this FreeBSD install is running inside
of a VM, in addition to any of the precautions suggested here to get data
written or journaled to the disk as safely as possible, isn't there still
the issue of whether the VM actuall commits these writes to the physical
disk?


___
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: Driver for Belkin F5D9050 V 4000

2010-04-29 Thread Craig Whipp
On Thu, April 29, 2010 6:53 am, Craig Whipp wrote:
> On Tue, April 27, 2010 3:44 am, Carmel wrote:
>> I am trying to get a Belkin Wireless G Plus MIMI USB Network Adapter,
>> version 4000 to work. I contacted Belkin, and they gave me the
>> following information:
>>
>> The chipset used in a adapter F5D9050 V 4000 is Ralink RT2671F, RT2528L
>> (RT73).
>>
>> I have not been able locate a driver for that chipset. Does anyone else
>> have that particular USB device working or know where I can locate a
>> driver for it?
>>
>> I have FreeBSD-8, amd64 installed.
>>
>
> Try the rum driver, snipped from the man page:
>
> "The rum driver supports USB 2.0 and PCI Express Mini Card wireless
> adapters based on the Ralink RT2501USB and RT2601USB chipsets."
>
> "The RT2601USB chipset consists of two integrated chips, an RT2671 MAC/BBP
> and an RT2527 or RT5225 radio transceiver."
>
>
>
My apologies to the list, in my haste, I pasted the wrong line, I meant to
include this one:

"The RT2501USB chipset is the second generation of 802.11a/b/g adapters
from Ralink.  It consists of two integrated chips, an RT2571W MAC/BBP and
an RT2528 or RT5226 radio transceiver."


___
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: Driver for Belkin F5D9050 V 4000

2010-04-29 Thread Craig Whipp
On Tue, April 27, 2010 3:44 am, Carmel wrote:
> I am trying to get a Belkin Wireless G Plus MIMI USB Network Adapter,
> version 4000 to work. I contacted Belkin, and they gave me the
> following information:
>
> The chipset used in a adapter F5D9050 V 4000 is Ralink RT2671F, RT2528L
> (RT73).
>
> I have not been able locate a driver for that chipset. Does anyone else
> have that particular USB device working or know where I can locate a
> driver for it?
>
> I have FreeBSD-8, amd64 installed.
>

Try the rum driver, snipped from the man page:

"The rum driver supports USB 2.0 and PCI Express Mini Card wireless
adapters based on the Ralink RT2501USB and RT2601USB chipsets."

"The RT2601USB chipset consists of two integrated chips, an RT2671 MAC/BBP
and an RT2527 or RT5225 radio transceiver."



___
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: Finding port dependants

2010-04-06 Thread Craig Whipp
On Mon, April 5, 2010 7:04 pm, Aiza wrote:
> The ports make file tree is so very large now a days (21491 ports).
> Doing portsnap to download the complete ports system just to install 3
> ports is massive over kill. I have been doing package installs because
> the resources consumed in disk space (inodes used) and no compile time
> is such a time saver. But there are times when ports have no package or
> the package is not up to date. What I am looking for is a method to find
> the dependents and their dependents of the selected port. Then search
> the package system to determine which have no packages. Install all the
> packages and cvs only the make files for the ports lacking packages. I
> have script to fetch only the make files for the selected port.
>
> So question is, does the ports index which I can download by it's self
> using portsnap contain the info to find all the dependents of a port?
>
> Is there some software I can use to do this?

The porteasy port (ports-mgmt/porteasy) might do what you're looking for -
it uses cvsup to selectively fetch the parts of the ports tree and
distfiles needed to install and/or update a port of interest.

___
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: A recent update to vlc requires gnme-vfs, which requires kerberos

2010-02-23 Thread Craig Whipp

On 2/23/10 8:23 AM, Steven Friedrich wrote:

Can anyone shed light on this?

I don't want to run kerberos...
   
I think you posted this on the freebsd-ports list, and Gary Jennejohn 
provided the following reply, have you tried?


   On 2/10/10 11:59 AM, Gary Jennejohn wrote:
   Run "make config" and make sure that the box for Gnome VFS does_not_
   have an 'X' in it.

   I'm using vlc without Gnome VFS and it works just fine.

   ---
   Gary Jennejohn

  



___
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: Dislike the way port conflicts are handled now

2010-01-15 Thread Craig Whipp


On Jan 15, 2010, at 9:44 AM, Kirk Strauser wrote:

Until recently, it seems like port dependencies were handled at  
installation time. Lately, they're handled any time I try to do  
anything with a port. I absolutely detest the new behavior. Example  
cases:


OLD WAY:

$ cd /usr/ports/something/foo22
$ make
$ pkg_delete foo21-2.1
$ make install

NEW WAY

$ cd /usr/ports/something/foo22
$ make
===>  foo22 conflicts with installed package(s): foo21-2.1
$ make fetch
===>  foo22 conflicts with installed package(s): foo21-2.1
$ curse --type=copious
$ pkg_delete foo21-2.1
$ make install

This isn't just a hypothetical pain in the butt. An example was  
being unable to build databases/mysql51-client because mysql- 
client-5.0.something was installed. I understand not being able to  
*install* it, but to be prevented from *building* it? In most  
circumstances, I want to be able to delete the old package and  
install the new one with minimal downtime. As another example, can  
you imagine not being able to even run "make fetch" on something  
huge like OpenOffice until you uninstalled the old version?


In the mean time, I've been editing the port's Makefile to remove  
the CONFLICTS line long enough to finish building. That's not very  
helpful for those ports that don't actually build until you run  
"make install", but at least I can get the distfile download out of  
the way.

--

Kirk Strauser



I agree.  I've found that this can interfere with portmaster's "-o"  
option, used to replace an installed port with one of a different  
origin.  In my case, databases/mysql41-server with databases/mysql55- 
server.


- Craig

___
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: Scripting question

2007-09-13 Thread Craig Whipp
> On 9/13/07, Jerry McAllister <[EMAIL PROTECTED]> wrote:
>> > The only space is the one separating the SMTP address from the OK or
>> NO.
>>
>> Then you should be able to tell it to sort on the first token in
>> the string with white space as a separator and to eliminate
>> duplicates.   It has been a long time since I had need of sort. I
>> don't remember the arguments/flags but am sure that type of thing can be
>> done.
>>
>> jerry
>
> Ya know, it's really easy to get wrapped around the axle on this stuff.
>
> I think I may have a better solution. The file I'm trying to massage
> has a predecessor - the non-unique lines are the result of a
> concatenation of two files.
>
> Silly me, it's better to 'grep -v' with the one file vs. the second
> rather than trying to merge, sort and further massage the result. The
> fix will be to use sed against the first file to remove the ' NO',
> thus providing a clean argument for grepping the other file.
>
> Sigh.
>
> Kurt


It sounds like you've found your solution, but how about the below shell
script?  Probably woefully inefficient, but should work.

- Craig

### begin script ##
#!/bin/sh
# Read in an input list of 2 column data pairs and output the pairs where
the first columns are unique.

INPUT_FILE="list.txt"
OUTPUT_FILE="new_list.txt"
NON_UNIQ_LIST=""

for NON_UNIQ in `cat $INPUT_FILE | awk '{print $1}' | sort | uniq -c |
grep -vE '^ *1' | awk '{print $2}'`
do
NON_UNIQ_LIST=$NON_UNIQ_LIST"|"$NON_UNIQ
done

NON_UNIQ_LIST=`echo $NON_UNIQ_LIST | sed 's/^.//'`

cat $INPUT_FILE | grep -vE $NON_UNIQ_LIST > $OUTPUT_FILE
### end script ##

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"