The FreeBSD Diary: 2006-08-20 - 2006-09-09

2006-09-10 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

These are the articles posted during this period:

4-Sep : 
Monitor your 3Ware battery backup unit (BBU)
 Why not monitor your battery? 
 http://freebsddiary.org/3ware-netsaint-plugin-addenda.php?2

28-Aug : 3Ware - Manage your RAID arrays via http
 Nothing like a little graphical interaction to get the bytes flowing 
 http://freebsddiary.org/dual-opteron-3ware-web.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


/usr/bin/ld: cannot find -lstdc++_p

2006-09-10 Thread Viswas Nair

I get the message /usr/bin/ld: cannot find -lstdc++_p while building the
xfe X11 file manager.
A google did not give any ideas.
Need help.

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


Integrating kernel modules into the kernel while building the kernel

2006-09-10 Thread Viswas Nair

I have a bunch of kernel modules I load from loader.conf. Eg: snd_emu10k1,
acpi, ndis and many others.
I am thinking of custom building the kernel. Could anyone guide me into
integrating these kernel modules into the kernel, so that i dont have to
load these options into loader.conf?


Using 6.1 on i386.

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


atapicam trouble

2006-09-10 Thread Johan Johansen

I run 6.1-STABLE-200607 on my brand new box with
Intel Core 2 Duo E6600 2 x 2,40 GHz cpu (beautiful piece of machinery)

I can use my dvd-devices with atapicd, but atapicam do not work.

kldload atapicam causes an interrupt storm, I guess.
I tried to take out atapicd from the kernel after reading 
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/73675
In fact, I removed ataraid atapifd atapist too, without any luck.

Here is output from top -S a few seconds after kldload atapicam

last pid:   600;  load averages:  0.24,  0.24,  0.11up 
0+00:02:36  11:27:53
88 processes:  5 running, 64 sleeping, 19 waiting
CPU states:  0.0% user,  0.0% nice,  0.0% system, 43.8% interrupt, 56.2% idle
Mem: 22M Active, 9604K Inact, 28M Wired, 15M Buf, 1943M Free
Swap: 4070M Total, 4070M Free

  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
   11 root1 171   52 0K 8K RUN1   2:03 99.26% idle: cpu1
   12 root1 171   52 0K 8K RUN0   1:54 62.26% idle: cpu0
   22 root1 -64 -183 0K 8K CPU0   0   0:09 36.41% irq16: uhci0+
   31 root1 -68 -187 0K 8K WAIT   1   0:01  0.00% irq19: re0 
uhci3++

Could anyone point me in a direction too solve this, please?

mvh

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


Question

2006-09-10 Thread mohab
Hello sir
I am new to freeBSD and i am using FreeBSD 5.4-RELEASE for my personal
server.
i am asking specificly about two questions:
What is equal to WGET?
And why GUNZIP isn't working and how do i unzip ZIPs and RARs?

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


Re: Can I Get An Email Account?

2006-09-10 Thread Jonathan Chen
On Sat, Sep 09, 2006 at 02:47:05AM -0500, Irc Maniac . wrote:
 Can you hook me up with me@freebsd.org?

Sure. All you need to do is to contribute to the FreeBSD project with
either heaps of code or documentation.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
If you wish your merit to be known, acknowledge that of other people
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question

2006-09-10 Thread Jonathan Chen
On Sun, Sep 10, 2006 at 06:56:16PM +0930, [EMAIL PROTECTED] wrote:
 Hello sir
 I am new to freeBSD and i am using FreeBSD 5.4-RELEASE for my personal
 server.

You should move to 6.1-RELEASE instead.

 i am asking specificly about two questions:
 What is equal to WGET?

fetch(1)

 And why GUNZIP isn't working and how do i unzip ZIPs and RARs?

gunzip(1) works fine here, what problems are you having?

To unzip ZIPs, you need to install archivers/unzip. To unzip RARs, you
need to install archivers/unrar.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 When you don't know what you are doing, do it neatly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question

2006-09-10 Thread Jona Joachim
[EMAIL PROTECTED] wrote:
 Hello sir
 I am new to freeBSD and i am using FreeBSD 5.4-RELEASE for my personal
 server.
 i am asking specificly about two questions:
 What is equal to WGET?

fetch(1) comes with the base system. You can install wget, curl and
other tools from the ports.

 And why GUNZIP isn't working and how do i unzip ZIPs and RARs?

Using the archivers/unzip and archivers/unrar ports respectively.
If you install archivers/file-roller you have a graphical tool that lets
you handle archives in a very intuitive way.

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


Re: Question

2006-09-10 Thread Norberto Meijome
On Sun, 10 Sep 2006 18:56:16 +0930 (CST)
[EMAIL PROTECTED] wrote:

 What is equal to WGET?

Welcome :)

man fetch 

or simypl install wget from ports , ftp/wget 
... in other words,
cd /usr/ports/ftp/wget
make install

or use portinstall 

portinstall ftp/wget

or pkg_add

pkg_add -r wget

 And why GUNZIP isn't working and how do i unzip ZIPs and RARs?

if you tell us what gunzip is or isn't doing we may be able to help you more.

for zips, use the port archivers/unzip

and for rar well you guessed yet, archivers/rar 

Good luck,
B
_
{Beto|Norberto|Numard} Meijome

A Man that is good at excuses is usually good at nothing else
  Benjamin Franklin

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RSSreader: Recommendations Sought

2006-09-10 Thread Norberto Meijome
On Sat, 9 Sep 2006 18:32:41 -0300 (ADT)
Marc G. Fournier [EMAIL PROTECTED] wrote:

 
 Anyone suggest a good one that runs under FreeBSD?
 

I do my feeds as part of my email. I use Sylpheed-Claws and the
sylpheed-claws-rssyl plugin

B

_
{Beto|Norberto|Numard} Meijome

Never attribute to malice what can adequately be explained by incompetence.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Top behavior differences

2006-09-10 Thread stan
Can someone explain to me why top's handling of multi processor
status display is different on FreeBSD, than it is on Linux?

On Linux you can enter a 1 and the status header provides a display
for each processor. I think this is a lot more informative that the
FreeBSD way of doing this. Or am I missing how to obtain the
same information in FreeBSD? Perhaps some other tool? Or
a different command to top?
-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question

2006-09-10 Thread Lars Eighner

On Sun, 10 Sep 2006, [EMAIL PROTECTED] wrote:


Hello sir
I am new to freeBSD and i am using FreeBSD 5.4-RELEASE for my personal
server.
i am asking specificly about two questions:
What is equal to WGET?


If you must have wget, you can install it from the ftp ports.  Otherwise,
consult man fetch for the native utilities.


And why GUNZIP isn't working and how do i unzip ZIPs and RARs?


gzip/gunzip works fine, but for zip files and rar files you need the
appropriate utilities from ports/archivers.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: RSSreader: Recommendations Sought

2006-09-10 Thread Andrew Pantyukhin

On 9/10/06, Marc G. Fournier [EMAIL PROTECTED] wrote:


Anyone suggest a good one that runs under FreeBSD?


Google Reader is evil, but works.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RSSreader: Recommendations Sought

2006-09-10 Thread Michael P. Soulier
On 10/09/06 Andrew Pantyukhin said:

 Google Reader is evil, but works.

Google Reader blows. Bloglines is much better.

That said, I'd rather use Liferea on *nix.

Mike
-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgp1SDJ1NSHnu.pgp
Description: PGP signature


Re: man page bug in mv(1) ?

2006-09-10 Thread Jan Grant
On Sun, 3 Sep 2006, James Long wrote:

 The man page mv(1) states:
 
 It is an error for either the source operand or the destination path 
 to specify a directory unless both do.
 
 
 However:
 
 mv file /tmp/
 
 works.  Am I reading things wrong, or is the man page incorrect?

The man page is correct, but a little misleading unless you read it 
carefully. The first two paragraphs of the description section define 
the term destination path.


-- 
jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/
Tel +44 (0)117 3317661   http://ioctl.org/jan/
Solution: (n) a watered-down version of something neat.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cdrecord not working the way expected

2006-09-10 Thread Jonathan Horne
anyone here sucessfully using cdrecord in freebsd?  -scanbus option gives me 
this error:

[EMAIL PROTECTED] ~]# cdrecord -scanbus
Cdrecord-Clone 2.01 (i386-unknown-freebsd6.1) Copyright (C) 1995-2004 Jörg 
Schilling
cdrecord: Error 0. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

i have a feeling that the reason my DVD-CDRW isnt working in xine is probably 
rooted in the same cause.  can anyone point me in the right direction here?

[EMAIL PROTECTED] ~]# dmesg |grep acd0
acd0: CDRW LITE-ON COMBO SOHC-4832K/OQKB at ata0-master UDMA40
acd0: CDRW LITE-ON COMBO SOHC-4832K/OQKB at ata0-master UDMA40
[EMAIL PROTECTED] ~]# uname -a
FreeBSD athena.dfwlp.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Aug 30 13:08:08 
CDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ATHENA  i386

anything at all that can get me going on this would be much appricated!

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


Re: cdrecord not working the way expected

2006-09-10 Thread michael johnson

On 9/10/06, Jonathan Horne [EMAIL PROTECTED] wrote:


anyone here sucessfully using cdrecord in freebsd?  -scanbus option gives
me
this error:

[EMAIL PROTECTED] ~]# cdrecord -scanbus
Cdrecord-Clone 2.01 (i386-unknown-freebsd6.1) Copyright (C) 1995-2004 Jörg
Schilling
cdrecord: Error 0. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

i have a feeling that the reason my DVD-CDRW isnt working in xine is
probably
rooted in the same cause.  can anyone point me in the right direction
here?

[EMAIL PROTECTED] ~]# dmesg |grep acd0
acd0: CDRW LITE-ON COMBO SOHC-4832K/OQKB at ata0-master UDMA40
acd0: CDRW LITE-ON COMBO SOHC-4832K/OQKB at ata0-master UDMA40
[EMAIL PROTECTED] ~]# uname -a
FreeBSD athena.dfwlp.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Aug 30
13:08:08
CDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ATHENA  i386

anything at all that can get me going on this would be much appricated!



Even though this isn't a gnome problem... check out
http://www.freebsd.org/gnome/docs/faq2.html#q15


cheers,

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


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


Thinkpad

2006-09-10 Thread gb

Hi all,

Got hold of an old IBM X21 Thinkpad. Anyone out there have any 
recommendations for a good kernel  config  or whatever to squeeze the 
most of  this  little fellow?



Thanks

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


Re: Top behavior differences

2006-09-10 Thread Bob Hall
On Sun, Sep 10, 2006 at 08:56:31AM -0400, stan wrote:
 Can someone explain to me why top's handling of multi processor
 status display is different on FreeBSD, than it is on Linux?

Open source started with the concept of individuals hacking the source
code to get the features they want. The commericial ideal of users paying
for features they want was replaced by the ideal of users doing the work
to create the features they want. Open source has evolved into the
concept of many users getting a free ride as a relatively small number
of open source programmers do the work for them, without pay. 

Possible reasons why open source software X doesn't have feature Y:

1) The people who created X weren't interested in feature Y. Since they
were doing unpaid work, they created the features they were interested
in.

2) The core code of X was written before the technological advance that
made feature Y useful, and no one has needed feature Y badly enough to
add it to X.

3) The creators of X didn't think of feature Y, and no one has gotten in
touch with the maintainers to suggest it.

4) Only one or two people want feature Y, and the amount of work
necessary to add it to X greatly exceeds the benefit of providing a
feature for one or two people. Also, no one has contacted the
maintainers of X to ask how much it would cost to change their minds
about this.

5) No one wants feature Y badly enough to devote the necessary free
time to learn the skills and do the work necessary to create it. Since
it's not high on anyone's list of things to do in their spare time,
everyone has chosen to wait until it moves to the top of someone else's
list of things to do in their spare time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Rails] SaltedHashLoginGenerator no such file to load -- iconv

2006-09-10 Thread Dan Bikle

ok,

I found the magic sauce.

It's actually on my beastie box

It's here:
/usr/ports/converters/ruby-iconv

If you are new to FreeBSD [ like me ],
/usr/ports/
is loaded up with a bunch of software which you can install.

Usually software I find there installs cleanly with a simple
make
make install

So, I installed ruby-iconv and now
require 'iconv'
returns true rather than an exception.

-Dan


On 9/9/06, Dan Bikle [EMAIL PROTECTED] wrote:


Yep,

I too have just bumped into this issue.

I see it on a freebsd box:

bash jake oracle /usr/local 12 $ uname -a
FreeBSD jake.host.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Tue Nov  1
05:56:17 CST 2005 [EMAIL PROTECTED]
:/usr/src/sys/i386/compile/JAKE
i386
bash jake oracle /usr/local 13 $

I compared my bsd box to my Mac:


bash jake oracle ~/o 24 $ find . -print|grep iconv
./lib/ruby/1.8/xsd/iconvcharset.rb
bash jake oracle ~/o 25 $ which ruby
/home/oracle/o/bin/ruby
bash jake oracle ~/o 26 $ ruby -v
ruby 1.8.4 (2005-12-24) [i386-freebsd5.3]
bash jake oracle ~/o 27 $
bash jake oracle ~/o 27 $

bash jake oracle ~/o 27 $ irb
irb(main):001:0 require 'iconv'
LoadError: no such file to load -- iconv
from (irb):1:in `require'
from (irb):1
irb(main):002:0
irb(main):003:0* quit
bash jake oracle ~/o 28 $


bash maco-mois-powerbook-g4-17 maco /r 1 $ find . -print|grep iconv
./lib/ruby/1.8/doc/files/xsd/iconvcharset_rb.html
./lib/ruby/1.8/powerpc-darwin8.7.0/iconv.bundle
./lib/ruby/1.8/xsd/iconvcharset.rb
./share/ri/1.8/system/Iconv/iconv-c.yaml
./share/ri/1.8/system/Iconv/iconv-i.yaml
bash maco-mois-powerbook-g4-17 maco /r 2 $ which ruby
/r/bin/ruby
bash maco-mois-powerbook-g4-17 maco /r 3 $ ruby -v
ruby 1.8.4 (2005-12-24) [powerpc-darwin8.7.0]
bash maco-mois-powerbook-g4-17 maco /r 4 $
bash maco-mois-powerbook-g4-17 maco /r 4 $
bash maco-mois-powerbook-g4-17 maco /r 4 $ irb
irb(main):001:0 require 'iconv'
require 'iconv'
= true
irb(main):002:0 quit
bash maco-mois-powerbook-g4-17 maco /r 5 $

It looks like my Mac has some kind of iconv special sauce on it.
I assume it was put there when I installed ruby.

I'd like to find the said sauce for my freebsd beastie.

-Dan


On 8/16/06, Elliott Blatt [EMAIL PROTECTED] wrote:

 Hi,

 I'm trying to use the SaltedHashLoginGenerator as documented on
 http://wiki.rubyonrails.com/rails/pages/SaltedHashLoginGenerator

 Ruby version: ruby 1.8.4 (2005-12-24) [i386-openbsd3.9]

 I've the following commands:

 gem install salted_login_generator
 gem install localization_generator
 rails myapp
 cd myapp
 ruby script/generate salted_login User Localization

 All ran successfully.
 I then created the databases and schema, without incident.
 In theory, I should be able to hit my server:

 http://my.host.com:3000/user .

 Doing so, throws an error page in my face:
 +---
 + MissingSourceFile
 +
 + no such file to load -- iconv
 +

 There are many posts out there conerning this missing dependency for
 windows, but none for *NIX.

 What is iconv and where is it missing from? ruby? rails?

 In either case, where do I get said file?







 --
 Posted via http://www.ruby-forum.com/.
 ___
 Rails mailing list
 [EMAIL PROTECTED]
 http://lists.rubyonrails.org/mailman/listinfo/rails




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


Re: Integrating kernel modules into the kernel while building the kernel

2006-09-10 Thread Dan Nelson
In the last episode (Sep 10), Viswas Nair said:
 I have a bunch of kernel modules I load from loader.conf. Eg: snd_emu10k1,
 acpi, ndis and many others.
 I am thinking of custom building the kernel. Could anyone guide me into
 integrating these kernel modules into the kernel, so that i dont have to
 load these options into loader.conf?

Just add them as devices to your config file.  Take a look at
/sys/config/NOTES and /sys/i386/config/NOTES for the full list and any
dependencies.

device sound
device snd_emu10k1
device acpi
device ndis

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


Re: atapicam trouble (me too)

2006-09-10 Thread Bill-Schoolcraft
At Sun, 10 Sep 2006 it looks like Johan Johansen composed:

 
 I run 6.1-STABLE-200607 on my brand new box with
 Intel Core 2 Duo E6600 2 x 2,40 GHz cpu (beautiful piece of machinery)
 
 I can use my dvd-devices with atapicd, but atapicam do not work.
 
 kldload atapicam causes an interrupt storm, I guess.
 I tried to take out atapicd from the kernel after reading 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/73675
 In fact, I removed ataraid atapifd atapist too, without any luck.
 
 Here is output from top -S a few seconds after kldload atapicam
 
 last pid:   600;  load averages:  0.24,  0.24,  0.11
 up 
 0+00:02:36  11:27:53
 88 processes:  5 running, 64 sleeping, 19 waiting
 CPU states:  0.0% user,  0.0% nice,  0.0% system, 43.8% interrupt, 56.2% idle
 Mem: 22M Active, 9604K Inact, 28M Wired, 15M Buf, 1943M Free
 Swap: 4070M Total, 4070M Free
 
   PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
11 root1 171   52 0K 8K RUN1   2:03 99.26% idle: cpu1
12 root1 171   52 0K 8K RUN0   1:54 62.26% idle: cpu0
22 root1 -64 -183 0K 8K CPU0   0   0:09 36.41% irq16: 
 uhci0+
31 root1 -68 -187 0K 8K WAIT   1   0:01  0.00% irq19: re0 
 uhci3++
 
 Could anyone point me in a direction too solve this, please?

I was just messing with this with a very good PLEXTOR DVD-RW drive,
tried to rebuild the kernel with only device atapicam and there
was some issues, for some strange reason, the system wedged, then
tried to read the drive's contents at boot time, and then I lost my
X resolution upon booting back into KDE, I was there with only what
amounted to 800x600 (actually something weirder than that) and could
NOT restore my X session, tried to reconfigure X -- nada.

The machine is triple booted with three different drives, X worked
fine on the other variants -- I thought the integrated video_chip
went bad, that was not the case, just 6.1 was bad, that was a
bittersweet relief.

When I did try to start X in the beginning the whole system wedged,
could not understand why just adding the device atapicam line to a
new kernel would do this, something got corrupted.

I was getting perfect config files with Xorg -configure and no
matter what, nothing now.

Isn't 6.2 coming out soon?

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

-- 
Bill Schoolcraft * http://wiliweld.com
*
 If you turn your headlights on while going
 the speed of light, does anything happen? 

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


Re: easy patch management tools

2006-09-10 Thread RJ
Suggestions from another rookie(me):

   I use the ports tree and portsnap,
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/portsnap.html, and
when it's time to update the following one liner works great for me:

  cd /boot/ ; cp -Rp kernel kernel.good ; cd /usr/src ; cvsup -gL2
/usr/share/examples/cvsup/standard-supfile ; make -j4 buildworld ; make
buildkernel ; make installkernel ; make installworld; mergermaster ; reboot

- Original Message - 
From: Aaron Bliss [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Tuesday, September 05, 2006 8:44 PM
Subject: easy patch management tools


 Hi everyone, first let me say that I'm pretty new to bsd, so please
forgive
 the newbie questions; I've been using linux (redhat, suse, centos) for
many
 years, and so learning bsd was a bit of a learning curve, but not bad (I
 almost never use gui's for administration); I was wondering if there are
any
 packagement tools for freebsd/pcbsd that offer simular functionality to
 up2date or yum; I take care of installing and updating complete rpm based
 systems using yum, and have not found a tool simular to yum for freebds
(I'm
 also trying to stay away from pbi's, since they are specific to pcbsd);
I've
 used the pkg_add, pkg_delete, portupgrade tools, but am just looking for
an
 easy way to ensure my entire bsd box is updated; Also, as I understand it,
 bsd makes use of ports, by using tools such as cvsup, however I have never
 had much success compiling my own software, as such much prefer to use
 binary packages, which I understand that the freebsd authors provide; for
 example, if I wanted to install pine, I would much rather install it by
 running pkg_add -r pine ; I'm just looking for a simple way to update
 currently installed binaries, simular to installing new binaries with
 pkg_add ; thanks very much for your help with this.

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

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


Making startup order static

2006-09-10 Thread White Hat
FreeBSD 6.1

I need to keep several programs starting in a
particular order.

clamav-clamd
clamav-freshclam
clamsmtpd
saslauthd
dovecot
postfix
fetchmail

By default, they do not start in that order. I have
modified the rc.d files to force them to start in the
order specified above.

The problem is that every time I update these programs
the rc.d startup file is modified which destroys the
changes I have made. This then requires me to recreate
the modifications to force the start up order I
require.

Is there anyway I can achieve this goal in a
simplified manner? I thought perhaps there might be
something I could add to the /etc/rc.conf file;
however, I have not discovered it.




-- 

White Hat 
[EMAIL PROTECTED]

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SnapShot Magic

2006-09-10 Thread Bob
Hi:

Last week I installed all the bits and pieces to do automatic snapshots, and 
allow regular users to retreive lost/corrupted  data from hours, days, and 
weeks ago. It was all quite simple, and logical.

Now that it has been running for several days I have a few questions.

How can this be?:

$ snapshot list /usr
Filesystem  User   User% Snap   Snap%  Snapshot
/usr 11399MB   37.1%116MB0.4%  daily.0
/usr 11399MB   37.1%136MB0.4%  daily.1
/usr 11399MB   37.1% 25MB0.1%  hourly.0
/usr 11399MB   37.1% 28MB0.1%  hourly.1
/usr 11399MB   37.1%117MB0.4%  hourly.2
/usr 11399MB   37.1%120MB0.4%  hourly.3

How can /usr:hourly.0 be 25MB, and  /usr:hourly.3 be 120MB ???

What's even more mystifying is this:

$ ls -al /usr/.snap
total 558260
drwxrwxr-x   2 root  operator  512 Sep 10 12:00 .
drwxr-xr-x  20 root  wheel 512 Aug 23 13:55 ..
-r   1 root  operator  33282639248 Sep 10 14:15 daily.0
-r   1 root  operator  33282639248 Sep 10 14:03 daily.1
-r   1 root  operator  33282639248 Sep 10 14:15 hourly.0
-r   1 root  operator  33282639248 Sep 10 14:15 hourly.1
-r   1 root  operator  33282639248 Sep 10 14:15 hourly.2
-r   1 root  operator  33282639248 Sep 10 14:03 hourly.3

/usr is a 33GB HW/Raid  partition, how can it possibly hold 6 33GB 
snapshots???

If I mount each one of these, they all report to df that they are indeed 33BB 
file systems!

How is this magic achieved? 

Is there a doc somewhere with an explaination?

TIA
Bob




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


RE: Making startup order static

2006-09-10 Thread White Hat
--- Martin Werner [EMAIL PROTECTED] wrote:

 Hi,
 
 thought about using PROVIDE and REQUIRE keywords
 (see
 /usr/local/etc/rc.d/clamav-clamd.sh resp.
 clamav-freshclam.sh 
 
 Maybe you might want to have a look into man rc or
 man rcorder 
 
 Cheers,
   -Martin-
  
  FreeBSD 6.1
 
  I need to keep several programs starting in a
  particular order.
 
  clamav-clamd
  clamav-freshclam
  clamsmtpd
  saslauthd
  dovecot
  postfix
  fetchmail
 
  By default, they do not start in that order. I
have
  modified the rc.d files to force them to start in
  the
  order specified above.
 
  The problem is that every time I update these
  programs
  the rc.d startup file is modified which destroys
the
  changes I have made. This then requires me to
  recreate
  the modifications to force the start up order I
  require.
 
  Is there anyway I can achieve this goal in a
  simplified manner? I thought perhaps there might
be
  something I could add to the /etc/rc.conf file;
  however, I have not discovered it.

Martin, I don't think that you understood what I
meant. Either that or I described it incorrectly.

I did modify the rc.d files using BEFORE: and
REQUIRE:. That works just fine. The problem is if one
of those files is updated, the rc.d file is
overwritten resulting in the loss of my customization.
I therefore have to manually edit those files again. I
was trying to find someway to circumvent that
procedure.



-- 

White Hat 
[EMAIL PROTECTED]

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Making startup order static

2006-09-10 Thread J.D. Bronson

At 02:02 PM 9/10/2006, White Hat wrote:

--- Martin Werner [EMAIL PROTECTED] wrote:

 Hi,

 thought about using PROVIDE and REQUIRE keywords
 (see
 /usr/local/etc/rc.d/clamav-clamd.sh resp.
 clamav-freshclam.sh

 Maybe you might want to have a look into man rc or
 man rcorder

 Cheers,
   -Martin-

  FreeBSD 6.1
 
  I need to keep several programs starting in a
  particular order.

  clamav-clamd
  clamav-freshclam
  clamsmtpd
  saslauthd
  dovecot
  postfix
  fetchmail

  By default, they do not start in that order. I
have
  modified the rc.d files to force them to start in
  the
  order specified above.
 
  The problem is that every time I update these
  programs
  the rc.d startup file is modified which destroys
the
  changes I have made. This then requires me to
  recreate
  the modifications to force the start up order I
  require.
 
  Is there anyway I can achieve this goal in a
  simplified manner? I thought perhaps there might
be
  something I could add to the /etc/rc.conf file;
  however, I have not discovered it.

Martin, I don't think that you understood what I
meant. Either that or I described it incorrectly.

I did modify the rc.d files using BEFORE: and
REQUIRE:. That works just fine. The problem is if one
of those files is updated, the rc.d file is
overwritten resulting in the loss of my customization.
I therefore have to manually edit those files again. I
was trying to find someway to circumvent that
procedure.



how about putting them in /usr/local/etc/rc.d
and then using a numeric to start them

001file.sh
002file.sh

or create a script with just one file.sh ?

-JD 


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


Sis 190 linux to BSD driver

2006-09-10 Thread Viswas Nair

I have a Asus K8S-MX system with has the SiS190 integrated ethernet driver.
The ethernet does get detected in the OS and I notice that there is no
native BSD driver. I tried project evil and make an ndis wrapper around the
windows driver. However this does not work. I have found the linux source
for this driver.
Could anyone give tips on how to covert this linux driver to work with BSD
or any other alternate suggestion?

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


Re: Making startup order static

2006-09-10 Thread Duane Hill
On Sunday, September 10, 2006 at 7:02:09 PM, White confabulated:

 --- Martin Werner [EMAIL PROTECTED] wrote:

 Hi,
 
 thought about using PROVIDE and REQUIRE keywords
 (see
 /usr/local/etc/rc.d/clamav-clamd.sh resp.
 clamav-freshclam.sh 
 
 Maybe you might want to have a look into man rc or
 man rcorder 
 
 Cheers,
   -Martin-
  
  FreeBSD 6.1
 
  I need to keep several programs starting in a
  particular order.
 
  clamav-clamd
  clamav-freshclam
  clamsmtpd
  saslauthd
  dovecot
  postfix
  fetchmail
 
  By default, they do not start in that order. I
 have
  modified the rc.d files to force them to start in
  the
  order specified above.
 
  The problem is that every time I update these
  programs
  the rc.d startup file is modified which destroys
 the
  changes I have made. This then requires me to
  recreate
  the modifications to force the start up order I
  require.
 
  Is there anyway I can achieve this goal in a
  simplified manner? I thought perhaps there might
 be
  something I could add to the /etc/rc.conf file;
  however, I have not discovered it.

 Martin, I don't think that you understood what I
 meant. Either that or I described it incorrectly.

 I did modify the rc.d files using BEFORE: and
 REQUIRE:. That works just fine. The problem is if one
 of those files is updated, the rc.d file is
 overwritten resulting in the loss of my customization.
 I therefore have to manually edit those files again. I
 was trying to find someway to circumvent that
 procedure.

J.D. Bronson took the words from my fingers.

I  have  a  server application that needs the 5.0 compatibility loaded
running  on  our 6.0 server. Once compat5x was installed via the port,
the  startup  script  that  was  placed within /usr/local/etc/rc.d had
'000.'  prepended to its name to ensure it was loaded before anything.
I.e. 000.compat5x.sh.

I also had the same scenario with order in startup. That was rectified
by setting up one script to start each of the items in order.

-- 
This message was sent using 100% recycled electrons.

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


RE: Recommended remote management card for FreeBSD 6.X?

2006-09-10 Thread Philippe Lang
[EMAIL PROTECTED] wrote:
 Philippe Lang skrev:
 Hi,
 
 What remote management card (like Drac, for example) would
 you recommend for a FreeBSD 6.X Server?
 
 I guess you'll get as many replies as there are vendors here,
 but my 2 cents worth of advice is to go with the HP iLO /
 iLO2  - they work like a charm!

Hi,

I had a look at the iLO2 card, but tell me if I'm wrong: this hardware is 
specific to HP Proliant Servers, right?

---
Philippe Lang
Attik System



smime.p7s
Description: S/MIME cryptographic signature


RE: Making startup order static

2006-09-10 Thread White Hat
--- J.D. Bronson [EMAIL PROTECTED] wrote:

 how about putting them in /usr/local/etc/rc.d
 and then using a numeric to start them
 
 001file.sh
 002file.sh
 
 or create a script with just one file.sh ?

I had considered that approach. The problem is if the
program is updated it will will write a new file to
the rc.d directory. Since I sort of automate the
updating of my system, if I was not vigilante in
inspecting the rc.d directory, I could very well end
up with two scripts starting the same program. I am
not sure how that would work; however, I would assume
it would not be a good thing. Furthermore, I am not
sure if the numeric thing would really work unless I
also modified the REQUIRE: and BEFORE: settings in the
scripts(s).

I was hoping that there would be a master config file
that I could manipulate so that each script is started
in a precise order irregardless of its name.



-- 

White Hat 
[EMAIL PROTECTED]

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SnapShot Magic

2006-09-10 Thread Alex Zbyslaw

Bob wrote:

/usr is a 33GB HW/Raid  partition, how can it possibly hold 6 33GB 
snapshots???


If I mount each one of these, they all report to df that they are indeed 33BB 
file systems!


How is this magic achieved? 


Is there a doc somewhere with an explaination?
 

Snapshots only hold the originals of blocks that have changed, but still 
look like a complete file system when you mount them.


From man mount:


Further details can be found in the file at
 /usr/src/sys/ufs/ffs/README.snapshot.
 


which should have a pointer to the original paper.

--Alex


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


Re: cdrecord not working the way expected

2006-09-10 Thread Shantanoo Mahajan
+++ michael johnson [freebsd] [10-09-06 11:16 -0400]:
| On 9/10/06, Jonathan Horne [EMAIL PROTECTED] wrote:
| 
| anyone here sucessfully using cdrecord in freebsd?  -scanbus option gives
| me
| this error:
| 
| [EMAIL PROTECTED] ~]# cdrecord -scanbus
| Cdrecord-Clone 2.01 (i386-unknown-freebsd6.1) Copyright (C) 1995-2004 J?rg
| Schilling
| cdrecord: Error 0. Cannot open SCSI driver.
| cdrecord: For possible targets try 'cdrecord -scanbus'.
| cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
| 
| i have a feeling that the reason my DVD-CDRW isnt working in xine is
| probably
| rooted in the same cause.  can anyone point me in the right direction
| here?
| 
| [EMAIL PROTECTED] ~]# dmesg |grep acd0
| acd0: CDRW LITE-ON COMBO SOHC-4832K/OQKB at ata0-master UDMA40
| acd0: CDRW LITE-ON COMBO SOHC-4832K/OQKB at ata0-master UDMA40
| [EMAIL PROTECTED] ~]# uname -a
| FreeBSD athena.dfwlp.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Aug 30
| 13:08:08
| CDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ATHENA  i386
| 
| anything at all that can get me going on this would be much appricated!

# kldload atapicam
# chmod 666 /dev/pass0 /dev/xpt0 /dev/cd0
 k3b

Is what I generally use and it works for me. After you run 'kldload..'
check the dmesg output immediatly. You shoud be able to see some 'cd0'
or 'cd*'. 'dmesg | grep ^cd'


Shantanoo
-- 
Ignore everybody.

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


Re: easy patch management tools

2006-09-10 Thread ajm
On Sun, Sep 10, 2006 at 02:06:14PM -0400, RJ wrote:
 Suggestions from another rookie(me):
 
I use the ports tree and portsnap,
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/portsnap.html, and
 when it's time to update the following one liner works great for me:
 
   cd /boot/ ; cp -Rp kernel kernel.good ; cd /usr/src ; cvsup -gL2
 /usr/share/examples/cvsup/standard-supfile ; make -j4 buildworld ; make
 buildkernel ; make installkernel ; make installworld; mergermaster ; reboot
 
 - Original Message - 
 From: Aaron Bliss [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Sent: Tuesday, September 05, 2006 8:44 PM
 Subject: easy patch management tools
 
 
  Hi everyone, first let me say that I'm pretty new to bsd, so please
 forgive
  the newbie questions; I've been using linux (redhat, suse, centos) for
 many
  years, and so learning bsd was a bit of a learning curve, but not bad (I
  almost never use gui's for administration); I was wondering if there are
 any
  packagement tools for freebsd/pcbsd that offer simular functionality to
  up2date or yum; I take care of installing and updating complete rpm based
  systems using yum, and have not found a tool simular to yum for freebds
 (I'm
  also trying to stay away from pbi's, since they are specific to pcbsd);
 I've
  used the pkg_add, pkg_delete, portupgrade tools, but am just looking for
 an
  easy way to ensure my entire bsd box is updated; Also, as I understand it,
  bsd makes use of ports, by using tools such as cvsup, however I have never
  had much success compiling my own software, as such much prefer to use
  binary packages, which I understand that the freebsd authors provide; for
  example, if I wanted to install pine, I would much rather install it by
  running pkg_add -r pine ; I'm just looking for a simple way to update
  currently installed binaries, simular to installing new binaries with
  pkg_add ; thanks very much for your help with this.
 
  Aaron
  ___


I perfer to use portsnap with portupgrade.  Others use portsnap with 
portmanager.  Yet others will suggest portsnap with portmaster.

I am not very familiar with portmaster, but I have used the other two 
to upgrade my system.  Read the man pages for information on installing 
packages.

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


Re: Making startup order static

2006-09-10 Thread ajm
On Sun, Sep 10, 2006 at 11:11:36AM -0700, White Hat wrote:
 FreeBSD 6.1
 
 I need to keep several programs starting in a
 particular order.
 
 clamav-clamd
 clamav-freshclam
 clamsmtpd
 saslauthd
 dovecot
 postfix
 fetchmail
 
 By default, they do not start in that order. I have
 modified the rc.d files to force them to start in the
 order specified above.
 
 The problem is that every time I update these programs
 the rc.d startup file is modified which destroys the
 changes I have made. This then requires me to recreate
 the modifications to force the start up order I
 require.
 
 Is there anyway I can achieve this goal in a
 simplified manner? I thought perhaps there might be
 something I could add to the /etc/rc.conf file;
 however, I have not discovered it.
 
 -- 
 
 White Hat 
 [EMAIL PROTECTED]
 

It is my understanding the files get called in alphabetical order.
Look in your/usr/local/etc/rc.d directory.
I had a small problem with squid and dansguardian not being call in 
order.  Renaming one of them solved my problem.
I hope this help...

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


Newbie Experience

2006-09-10 Thread Bob Walker
Hi,

 

I have always wanted to better understand Unix, and so I finally made the
decision to switch some of my office PCs over to either a Unix or Linux
system. With office suites like OpenOffice, I felt that I would be able to
transition away from Windows with minimal disruption to my business. So, I
downloaded the .iso images from FreeBSD, Suse, and Fedora. I initially
favored FreeBSD, since it seemed to have the closest lineage to pure Unix,
and that was important to me, but after many, many attempts to install both
the OS and Gnome desktop environment, I threw up my hands.

 

In brief, the installation process is just awful. After multiple attempts on
an admittedly older machine (Pentium II 266Mhz, 256KB ram, 30GB hard drive,
S3 Virge graphics card), I was able to get the FreeBSD OS installed, but
could not configure Gnome or KDE properly. The documentation is sketchy at
best. I had to learn about X11, Xorg, XFree86, and all of the gory history
of X before I could even begin to use ee and know to edit the /etc/rc.conf
file. The installation process did not recognize my graphics card or
Ethernet connection, and all I could get was a crude 600x800 display. And
DesktopBSD was even worse.

 

I then repartitioned my drive and sequentially installed Fedora Core 5 amd
then Suse 10.1. Both were EASY to install, Fedora in particular recognized
all of my peripherals, and I was up and running with it in about two hours.
Conversely, FreeBSD took me multiple days and has still left me bewildered.
Needless to say, I was very disappointed. I feel that FreeBSD will never
achieve broader acceptance (even with momentum building for alternative OS)
among people with modest technical proficiency and fairly simple
requirements (i.e., spreadsheets, word processing, presentations, email).
FreeBSD has an awful out of the box experience. It's too bad, because I
think FreeBSD is probably a better OS, but I'll never really know. Regards,

Bob Walker
Surveys  Forecasts, LLC
2323 North Street
Fairfield, CT 06824-1738
T +1.203.255.0505
F +1.203.549.0635
M +1.203.685.8860
www.safllc.com


NOTICE: The information in this message is intended only for the
person or entity to which it  is addressed and contains confidential
and privileged material. Any review, retransmission, dissemination
or other use of this information by persons or entities other than the
intended recipient is prohibited. If you received this email in error,
immediately contact the sender and destroy all copies of this email
and all other documents included with it. Thank you.

 

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


Re: cdrecord not working the way expected

2006-09-10 Thread Jonathan Horne
On Sunday 10 September 2006 14:47, Shantanoo Mahajan wrote:
 +++ michael johnson [freebsd] [10-09-06 11:16 -0400]:
 | On 9/10/06, Jonathan Horne [EMAIL PROTECTED] wrote:
 | anyone here sucessfully using cdrecord in freebsd?  -scanbus option
 |  gives me
 | this error:
 | 
 | [EMAIL PROTECTED] ~]# cdrecord -scanbus
 | Cdrecord-Clone 2.01 (i386-unknown-freebsd6.1) Copyright (C) 1995-2004
 |  J?rg Schilling
 | cdrecord: Error 0. Cannot open SCSI driver.
 | cdrecord: For possible targets try 'cdrecord -scanbus'.
 | cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
 | 
 | i have a feeling that the reason my DVD-CDRW isnt working in xine is
 | probably
 | rooted in the same cause.  can anyone point me in the right direction
 | here?
 | 
 | [EMAIL PROTECTED] ~]# dmesg |grep acd0
 | acd0: CDRW LITE-ON COMBO SOHC-4832K/OQKB at ata0-master UDMA40
 | acd0: CDRW LITE-ON COMBO SOHC-4832K/OQKB at ata0-master UDMA40
 | [EMAIL PROTECTED] ~]# uname -a
 | FreeBSD athena.dfwlp.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Aug 30
 | 13:08:08
 | CDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ATHENA  i386
 | 
 | anything at all that can get me going on this would be much appricated!

 # kldload atapicam
 # chmod 666 /dev/pass0 /dev/xpt0 /dev/cd0

  k3b

 Is what I generally use and it works for me. After you run 'kldload..'
 check the dmesg output immediatly. You shoud be able to see some 'cd0'
 or 'cd*'. 'dmesg | grep ^cd'


 Shantanoo

thank you!  that was it!!
[EMAIL PROTECTED] ~]# kldstat
Id Refs AddressSize Name
 1   15 0xc040 6b5a90   kernel
 22 0xc0ab6000 1adb8linux.ko
 31 0xc0ad1000 5f60 snd_ich.ko
 42 0xc0ad7000 22b88sound.ko
 51 0xc0afa000 59e80acpi.ko
 61 0xc0b54000 4a3710   nvidia.ko
 71 0xc86f5000 4000 atapicam.ko
(dmesg...)
0: LITE-ON COMBO SOHC-4832K OQKB Removable CD-ROM SCSI-0 device
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
[EMAIL PROTECTED] ~]# cdrecord -scanbus
Cdrecord-Clone 2.01 (i386-unknown-freebsd6.1) Copyright (C) 1995-2004 Jörg 
Schilling
Using libscg version 'schily-0.8'.
scsibus1:
1,0,0   100) 'LITE-ON ' 'COMBO SOHC-4832K' 'OQKB' Removable CD-ROM
1,1,0   101) *
1,2,0   102) *
1,3,0   103) *
1,4,0   104) *
1,5,0   105) *
1,6,0   106) *
1,7,0   107) *

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


Re: Making startup order static

2006-09-10 Thread White Hat
--- Duane Hill [EMAIL PROTECTED] wrote:

[...]
 
 I also had the same scenario with order in startup.
 That was rectified
 by setting up one script to start each of the items
 in order.

I am assuming that you removed the scripts that you
called from the rc.d directory. What transpired when
you updated a program? Assuming it created a file in
rc.d, you then had to manually remove it correct?

I am thinking that I could create a script that would
check to see if a file existed in rc.d that I had
chosen to start manually and if so it would then
delete or move the file. However, I would have to
ensure that, that script started prior to any other
script.

It really should not be this difficult. A master file
dictating the start order of every script in rc.d
would be a cool idea. 


-- 

White Hat 
[EMAIL PROTECTED]

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Torrentflux, PHP, and Apache

2006-09-10 Thread Ryan Winograd

Hi all,
   I have a strange problem here. I just installed torrentflux on my 
freebsd6.1 box and it was working great for a few minutes. Then, for 
some reason i can't figure out, i was no longer able to view index.php. 
Other php files were parsed by the server just fine, but for some reason 
when i tried to access index.php I either got actual php code or a blank 
file. Let me reiterate that the other php pages for just fine...so I am 
a little confused. Any advice? Ideas on what could be causing this?


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


Re: Top behavior differences

2006-09-10 Thread stan
On Sun, Sep 10, 2006 at 11:57:05AM -0400, Bob Hall wrote:
 On Sun, Sep 10, 2006 at 08:56:31AM -0400, stan wrote:
  Can someone explain to me why top's handling of multi processor
  status display is different on FreeBSD, than it is on Linux?
 
 Open source started with the concept of individuals hacking the source
 code to get the features they want. The commericial ideal of users paying
 for features they want was replaced by the ideal of users doing the work
 to create the features they want. Open source has evolved into the
 concept of many users getting a free ride as a relatively small number
 of open source programmers do the work for them, without pay. 
 
 Possible reasons why open source software X doesn't have feature Y:
 
 -- Long discussion of open source philosophy dleted ---

Once upon a time, when people posted on lists like this, they got 
well reasoned technical answers.

The question I was really asking, is if there is a technical
reason for this difference (eg difernt sturctures for obatining
the information in the 2 OS's). The reason that i feel this is
an apropriate place to ask such a question, is that top is NOT 
a port, but is provided by the base OS in FreeBSD.

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie Experience

2006-09-10 Thread Derek Ragona

You are correct that FreeBSD is closer with roots to UNIX.

You would have done better to post here first and get some pointers on 
installation.  The basic install is usually easy on supported hardware.  X 
and and GUI like gnome, kde, etc are NOT part of the OS.  Unlike other OS's 
there is no GUI tied to FreeBSD.  So most X window managers will work.  But 
you should have done a little more research on X and whether your hardware 
is supported.


A couple of the best parts of FreeBSD is the rich ports collection, support 
for even running the OS on dated hardware, and the flexibility of the OS.


-Derek


At 04:29 PM 9/10/2006, Bob Walker wrote:

Hi,



I have always wanted to better understand Unix, and so I finally made the
decision to switch some of my office PCs over to either a Unix or Linux
system. With office suites like OpenOffice, I felt that I would be able to
transition away from Windows with minimal disruption to my business. So, I
downloaded the .iso images from FreeBSD, Suse, and Fedora. I initially
favored FreeBSD, since it seemed to have the closest lineage to pure Unix,
and that was important to me, but after many, many attempts to install both
the OS and Gnome desktop environment, I threw up my hands.



In brief, the installation process is just awful. After multiple attempts on
an admittedly older machine (Pentium II 266Mhz, 256KB ram, 30GB hard drive,
S3 Virge graphics card), I was able to get the FreeBSD OS installed, but
could not configure Gnome or KDE properly. The documentation is sketchy at
best. I had to learn about X11, Xorg, XFree86, and all of the gory history
of X before I could even begin to use ee and know to edit the /etc/rc.conf
file. The installation process did not recognize my graphics card or
Ethernet connection, and all I could get was a crude 600x800 display. And
DesktopBSD was even worse.



I then repartitioned my drive and sequentially installed Fedora Core 5 amd
then Suse 10.1. Both were EASY to install, Fedora in particular recognized
all of my peripherals, and I was up and running with it in about two hours.
Conversely, FreeBSD took me multiple days and has still left me bewildered.
Needless to say, I was very disappointed. I feel that FreeBSD will never
achieve broader acceptance (even with momentum building for alternative OS)
among people with modest technical proficiency and fairly simple
requirements (i.e., spreadsheets, word processing, presentations, email).
FreeBSD has an awful out of the box experience. It's too bad, because I
think FreeBSD is probably a better OS, but I'll never really know. Regards,

Bob Walker
Surveys  Forecasts, LLC
2323 North Street
Fairfield, CT 06824-1738
T +1.203.255.0505
F +1.203.549.0635
M +1.203.685.8860
www.safllc.com


NOTICE: The information in this message is intended only for the
person or entity to which it  is addressed and contains confidential
and privileged material. Any review, retransmission, dissemination
or other use of this information by persons or entities other than the
intended recipient is prohibited. If you received this email in error,
immediately contact the sender and destroy all copies of this email
and all other documents included with it. Thank you.



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

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


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

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


Re: Making startup order static

2006-09-10 Thread Duane Hill
On Sunday, September 10, 2006 at 9:46:13 PM, White confabulated:

 --- Duane Hill [EMAIL PROTECTED] wrote:

 [...]
  
 I also had the same scenario with order in startup.
 That was rectified
 by setting up one script to start each of the items
 in order.

 I am assuming that you removed the scripts that you
 called from the rc.d directory. What transpired when
 you updated a program? Assuming it created a file in
 rc.d, you then had to manually remove it correct?

No.  I  believe  I  used the startup script for sa-spamd as a starting
point.  I'm sure others could be used as a starting point as well. I'm
still  in  the learning process. That way I could remove the ones from
the rc.conf that I wanted to start in order and use the 'force' option
when loading them from the custom startup script.

So,  as  an example, if you do not have a 'spamd=YES' in the rc.conf
and  you  attempt  to start spamd from the console, it will not start.
That  is  because  of  the  sa-spamd startup script. If you attempt to
start  spamd from the console and supply 'force start', it will start.
Therefore,  in my startup script I left it out of the rc.conf and used
the 'force start' in my custom startup script.

 I am thinking that I could create a script that would
 check to see if a file existed in rc.d that I had
 chosen to start manually and if so it would then
 delete or move the file. However, I would have to
 ensure that, that script started prior to any other
 script.

 It really should not be this difficult. A master file
 dictating the start order of every script in rc.d
 would be a cool idea. 

--
This message was sent using 100% recycled electrons.

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


Re: Making startup order static

2006-09-10 Thread White Hat
--- Duane Hill [EMAIL PROTECTED] wrote:

[...]
 
 No.  I  believe  I  used the startup script for
 sa-spamd as a starting
 point.  I'm sure others could be used as a starting
 point as well. I'm
 still  in  the learning process. That way I could
 remove the ones from
 the rc.conf that I wanted to start in order and use
 the 'force' option
 when loading them from the custom startup script.
 
 So,  as  an example, if you do not have a
 'spamd=YES' in the rc.conf
 and  you  attempt  to start spamd from the console,
 it will not start.
 That  is  because  of  the  sa-spamd startup script.
 If you attempt to
 start  spamd from the console and supply 'force
 start', it will start.
 Therefore,  in my startup script I left it out of
 the rc.conf and used
 the 'force start' in my custom startup script.

I can see how that could work. It is still a hack, but
better than nothing. If I cannot come up with anything
else, I will give that a try.

[...]



-- 

White Hat 
[EMAIL PROTECTED]

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Windows emulator in amd64

2006-09-10 Thread Andrew Falanga

What package will work to run Windoze programs in FreeBSD/amd64?  I don't
usually worry about, but my
Father switched to FreeBSD/amd64 (which is what I run) and he can't seem to
find one.  I first steered him toward vmware3, which I found in the ports.
But it refused to install because of being the 64-bit OS.  So, I tried to
install wine, also from ports, and was told the same thing.  I went to the
wine web site and thought I remembered seeing something about using wine on
amd64.  So, what windows emulator can be run in amd64?

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


Re: Origin of hard drive parameters

2006-09-10 Thread Ian Graeme Hilt
On Saturday 09 September 2006 10:53 pm, jdow wrote:
 From: stheg olloydson [EMAIL PROTECTED]

  On 9 Sep 2006 14:54:09 - ihilt wrote:
 On Wednesday 06 September 2006 7:54 pm, jdow wrote:
   Ok. Maybe the better question is: in either case, C/H/S or
 
  LBA mode,
 
   where are these parameters stored?
 
  They flat out are not stored anywhere. There is a standard
 
  algorithm
 
  published by the VESA people, I believe, that provides the
 
  data for
 
  all SCSI drives and modern IDE/ATA/SATA drives.
 
 Do you know the name of this standard or where I can get it?
 
 Ian Graeme Hilt
 
  Actually, the stardard is created by the T13 Technical Committee

 And my idle curiosity would like to know why Ian is interested in
 such an antiquated topic? There is a size limit beyond which CHS 
 simply does not work. The setting of CHS is in practice utterly
 arbitrary. For (many/most?) USB ram disk plugins the T13 standard
 does not apply due to internal ram layout. And so forth.

 (Certainly on the Amiga this CHS nonsense made no practical
 difference except on floppy disks or ST-506 based disk drives. And
 in playing with recovering a blown block zero on an Windows machine
 (more than once) I learned that CHS is utterly arbitrary on Windows.
 It is arbitrary with USB ram disk modulo the ram disk's internal
 layout and spares setup. And since large disks for which CHS runs
 out of size abound I imagine there is not a place in the 'n'x world
 where CHS matters. So I am suspecting historical curiosity if
 anything else. 

May I point out that I was not interested in CHS alone. My focus was the 
origin of the hard drives parameters i.e. geometry, which is the subject of 
discussion. From this discussion and other sources I have learned that CHS, 
as you say, is arbitrary when referring to modern drives. To be specific, 
drives adhering to ATA/ATAPI Specification 6 and later. ATA/ATAPI Spec. 5 and 
earlier used CHS mode for representing hard drive capacity. The reason I am 
interested in this topic is partially because of my idle curiosity. I'm the 
type of person interested in the challenge of answering questions. The 
questions, How does the BIOS automatically detect correct values for hard 
disks? and, Where is this information stored? have been stuck in my head 
for at least 6 months. No amount of searching the web provided me with 
satisfactory results. I tried a few tests of my own, all of which failed to 
answer my questions. So, I decided to appeal to the FreeBSD-questions mailing 
list. Mainly because I have found useful answers to other questions here. The 
other part of my reason is that one of my coworkers thought this information 
was stored on the platters of the hard drive. I thought differently but I 
could not _prove_ it. 

 As for storing it - read block zero of the disk. 
 Be DAMN careful not to WRITE to block zero. And if you DO write
 to block zero at about the time I quit doing such low level stuff
 and moved to other things there were several SCSI hard disk
 manufacturers using code that had a defect such that if you wrote
 more than one disk block starting at block 0 the whole disk was
 toast until you did a fresh low level format on it. One sincerely
 hopes THAT defect is gone these days.)

 {O.O}   Joanne

Reading through ATA/ATAPI -7 has helped me rephrase my questions into one: 
When the command READ NATIVE MAX ADDRESS is issued to the device, from where 
is this information returned?

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


Re: Top behavior differences

2006-09-10 Thread Dan Nelson
In the last episode (Sep 10), stan said:
 On Sun, Sep 10, 2006 at 11:57:05AM -0400, Bob Hall wrote:
  On Sun, Sep 10, 2006 at 08:56:31AM -0400, stan wrote:
   Can someone explain to me why top's handling of multi processor
   status display is different on FreeBSD, than it is on Linux?
  
  Possible reasons why open source software X doesn't have feature Y:

  -- Long discussion of open source philosophy dleted ---
 
 Once upon a time, when people posted on lists like this, they got
 well reasoned technical answers.
 
 The question I was really asking, is if there is a technical reason
 for this difference (eg difernt sturctures for obatining the
 information in the 2 OS's). The reason that i feel this is an
 apropriate place to ask such a question, is that top is NOT a port,
 but is provided by the base OS in FreeBSD.

FreeBSD does not currently track per-cpu usage, only a total.

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


Re: Windows emulator in amd64

2006-09-10 Thread Norberto Meijome
On Sun, 10 Sep 2006 17:00:34 -0600
Andrew Falanga [EMAIL PROTECTED] wrote:

 What package will work to run Windoze programs in FreeBSD/amd64?  I don't
 usually worry about, but my
 Father switched to FreeBSD/amd64 (which is what I run) and he can't seem to
 find one.  I first steered him toward vmware3, which I found in the ports.

for vmware3 you'll still need a vmware for linux commercial license to use it.

 But it refused to install because of being the 64-bit OS.  So, I tried to
 install wine, also from ports, and was told the same thing.  I went to the
 wine web site and thought I remembered seeing something about using wine on
 amd64.  So, what windows emulator can be run in amd64?

have you tried qemu ? 

I particularly feel it's not worth the effort installing windows inside a vm
like qemu..it's just feels s slow (because it is :) ... wine seems to me a
better way to go, but i didnt know about the 64-bit issue.

good luck,

_
{Beto|Norberto|Numard} Meijome

Law of Conservation of Perversity: 
  we can't make something simpler without making something else more complex

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Top behavior differences

2006-09-10 Thread stan
On Sun, Sep 10, 2006 at 07:57:52PM -0500, Dan Nelson wrote:
 In the last episode (Sep 10), stan said:
  On Sun, Sep 10, 2006 at 11:57:05AM -0400, Bob Hall wrote:
   On Sun, Sep 10, 2006 at 08:56:31AM -0400, stan wrote:
Can someone explain to me why top's handling of multi processor
status display is different on FreeBSD, than it is on Linux?
   
   Possible reasons why open source software X doesn't have feature Y:
 
   -- Long discussion of open source philosophy dleted ---
  
  Once upon a time, when people posted on lists like this, they got
  well reasoned technical answers.
  
  The question I was really asking, is if there is a technical reason
  for this difference (eg difernt sturctures for obatining the
  information in the 2 OS's). The reason that i feel this is an
  apropriate place to ask such a question, is that top is NOT a port,
  but is provided by the base OS in FreeBSD.
 
 FreeBSD does not currently track per-cpu usage, only a total.
 
Thanks you. That's the answer I was looking for.

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD not popular in Asia?

2006-09-10 Thread Norberto Meijome
On Sat, 9 Sep 2006 05:34:48 -0300 (ADT)
Marc G. Fournier [EMAIL PROTECTED] wrote:

 For those that are accusing bsdstats of being a pissing match ... I'm 
 personally tired of watching Linux get all the support when, IMHO, the 
 *BSDs are the better system ... the point of bsdstats is to show ppl that 
 do not support the *BSDs (native Flash plugin anyone?) that their is a 
 market they are missing out on ...

well, if you put it like that, it makes more.

ATI-X drivers is something that definitely interest me ;)

_
{Beto|Norberto|Numard} Meijome

Ninety percent of the time things turn out worse than you thought they would.
 The other ten percent of the time you had no right to expect that much. 
  Augustine

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Top behavior differences

2006-09-10 Thread Bob Hall
On Sun, Sep 10, 2006 at 06:04:04PM -0400, stan wrote:
 On Sun, Sep 10, 2006 at 11:57:05AM -0400, Bob Hall wrote:
  On Sun, Sep 10, 2006 at 08:56:31AM -0400, stan wrote:
   Can someone explain to me why top's handling of multi processor
   status display is different on FreeBSD, than it is on Linux?
  
  Open source started with the concept of individuals hacking the source
  code to get the features they want. The commericial ideal of users paying
  for features they want was replaced by the ideal of users doing the work
  to create the features they want. Open source has evolved into the
  concept of many users getting a free ride as a relatively small number
  of open source programmers do the work for them, without pay. 
  
  Possible reasons why open source software X doesn't have feature Y:
  
  -- Long discussion of open source philosophy dleted ---
 
 Once upon a time, when people posted on lists like this, they got 
 well reasoned technical answers.

They did if they asked for technical answers. What you actually asked,
if you'll read your own e-mail, is why FBSD doesn't display the
information the way Linux does. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.1 shutting down.

2006-09-10 Thread Lowell Gilbert
Marwan Sultan [EMAIL PROTECTED] writes:

 Hello everyone,

  I'm On FreeBSD 6.1R, the box is intel945 extra Dlink NIC
  P4.3 1G DDR2, 160GB sata.

  running Freeradius, chillispot, MySql 4.1, apache2.
  acting as NAT and hotspot login.

  there is two diffrent servers with the same specifications.

  Its was working fine starting from day 1 to day 5 uptime.
  and the other box from day 1 to 3,
  with almost 30 users as hotspot login.

  On day 5, it had a sudden shutdown, some users called me reported
 there is no internet
  when i checked the server i discovered the box is off power.

  The second box after 3 days had the same problem.

  when i started the power, for both...again it start to work in a goodway.

  I was shocked.. checked messages, dmesg, and almost everything I
 couldnot find any clue
  in logs.. so
  question 1, How would i check what happened for this power shutting down?

Did the filesystems come up clean?  That would be a hint that the
kernel shut down on purpose.  [I wouldn't expect it, since you said
there were no hints in the logs, but it's worth checking.

Next step is probably to set up a serial console and see if anything
useful is showing up there when the shutdown occurs.  Also try to get
and track any information about system temperature, voltage, and so
on; these kinds of phantom powerdowns are usually power trouble in my
experience.  

  2)
  in my dmesg and since i was settingup the box, the following error
 was always coming and on
  single line

  atapci1: failed to enable memory mapping!

I can't find that message in the -STABLE sources.  Admittedly, it was
a very quick search, but are you sure you copied it exactly?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fail update ruby from 1.8.2 to 1.8.5 (libruby18-static.a version issue)

2006-09-10 Thread Gordon Pedersen
Hi,

I need help overcoming an obstacle updating ruby 1.8.2 to 1.8.5.

I run FreeBSD 5.4-STABLE for i386 installed Sep 18 2005.

I just updated the ports tree like this:

# cvsup
# make fetchindex
# portsdb -Uu

pkgdb -F shows only a couple issue, and they are not ruby-applicable:
stale origin for acroread, plus some linux-atk related stale
dependencies.

I fail to build ruby as both static and non-static with same
error message:

# cd /usr/ports/lang/ruby18  or /usr/ports/lang/ruby18_static
# make

The make fails on this line with accompanying error message.  

cc main.o  libruby18-static.a -lcrypt -lm  -pthread  -o miniruby -0 
-pipe -march=pentiumpro  -fPIC  -DRUBY_EXPORT -rdynamic

/usr/local/lib/ruby/1.8/i386-freebsd5/rbconfig.rb:7: ruby lib version 
(1.8.2) doesn't match executable version (1.8.5) (RuntimeError)
snip: ...site_ruby/1.8/rubygems 'require' messages
***Error code 1
Stop in /usr/ports/lang/ruby18/work/ruby-1.8.5.


I notice that libruby18-static.a exists in 2 places:

-rw-r--r--  1 root  wheel 1240338 Sep 30  2005
/usr/local/lib/libruby18-static
-rw-r--r--  1 root  wheel 1265402 Sep 10 21:11
/usr/ports/lang/ruby18/work/ruby-1.8.5/libruby18-static.a

Seems like somehow I could use the latter newer version but I
don't know how to configure for this when using make in the
ports.

Or maybe there is a better way.  Couldn't find applicable
suggestions using google or the search feature for this mailing
list.

Am not sure of good way to update ruby, any help so I understand
how to manage this and potential other critical components like
perl is appreciated.

Thanks for suggestions.


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


Re: SnapShot Magic

2006-09-10 Thread Bob
On Sunday 10 September 2006 16:05, Alex Zbyslaw wrote:

  From man mount:
  Further details can be found in the file at
   /usr/src/sys/ufs/ffs/README.snapshot.

Thanks Alex! 

While we are on the subject, is there an easy way of determining when a 
particular snapshot was created? The rotation of snapshots obscures their 
creation date, and snapshot list doesn't give a clue.
 
TIA
Bob
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: atapicam trouble (me too)

2006-09-10 Thread Josh Carroll

Neither disabling atapicam nor atapicd works on my Core2Duo system. I
don't know whether it's related to the new IDE controllers (JMicron
363 and Intel ICH8) or a similar problem to what you're reporting. The
best I can do is about 3MB/s with atapicd and DMA disabled and also
with atapicam. Both have problems reading files from a DVD, I end up
getting READ_BIG errors from the kernel. Sure would like to be able to
use this DVD drive in FreeBSD! :)

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


Re: Newbie Experience

2006-09-10 Thread Kevin Brunelle
 In brief, the installation process is just awful. After multiple attempts
 on an admittedly older machine (Pentium II 266Mhz, 256KB ram, 30GB hard
 drive, S3 Virge graphics card), I was able to get the FreeBSD OS installed,
 but could not configure Gnome or KDE properly. The documentation is sketchy
 at best. I had to learn about X11, Xorg, XFree86, and all of the gory
 history of X before I could even begin to use ee and know to edit the
 /etc/rc.conf file. The installation process did not recognize my graphics
 card or Ethernet connection, and all I could get was a crude 600x800
 display. And DesktopBSD was even worse.

The Handbook is excellent at walking through much of the setup.  Although, in 
cases similar to yours I always recommend starting with the article designed 
for people new to both FreeBSD and Unix.

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/new-users/index.html

This gets you started on all the basics you'll need to know to get everything 
else under control and is short enough that you don't feel compelled to jump 
around and possibly miss stuff.  It doesn't cover X setup but gets you 
comfortable working in the command line which is what you're going to need to 
be proficient at until you have X configured.  X is usually fairly easy to 
setup but you need to know how to move around.

 Conversely, FreeBSD took me multiple days and has still left me bewildered.
 Needless to say, I was very disappointed. I feel that FreeBSD will never
 achieve broader acceptance (even with momentum building for alternative OS)
 among people with modest technical proficiency and fairly simple
 requirements (i.e., spreadsheets, word processing, presentations, email).
 FreeBSD has an awful out of the box experience. It's too bad, because I
 think FreeBSD is probably a better OS, but I'll never really know. Regards,

FreeBSD has an excellent out of the box experience, for the majority of people 
who use it.  The best out of the box experience (for most BSD users) is a 
base system which is configured to be used well enough to set it up for 
whatever use you intend for it.  Even moving to it completely new, it's not 
bad if you take the time to learn it.  Moving to a different OS isn't 
something you should take lightly.  There's a reason people are encouraged to 
read all the documentation they can before starting.

With that said, the installation does require administrative ability.  But 
since it's your machine, you will eventually need that.  Huge learning curve 
right at the front but it's very gentle after that.  My step-mother (who 
can't manage to understand why programs people send her don't run -- yes 
they're windows viruses -- and only knows her web-browser because it's the 
globe icon) manages to use FreeBSD without issue.  She absolutely loves it 
and does everything you listed as simple requirements and more.  But I set it 
up for her because she wasn't up for the learning curve.  If you're of 
modest-technical ability and have a desire to learn the OS, it's not very 
difficult to overcome that curve.  But the curve does exist.

Anyway, when you're stuck, posting specific questions about your problems here 
(or trying google) is usually a lot more productive than giving up and 
sending an email about how it doesn't work to the help list.

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


bsdnews or daemonnews ... ?

2006-09-10 Thread Marc G. Fournier



does anyone know what's going on with those?  trying to access both all 
night and nadda ...



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bsdnews or daemonnews ... ?

2006-09-10 Thread David Stanford

I've forwarded this to Chris Coleman and Mikel King who run the site...

On 9/11/06, Marc G. Fournier [EMAIL PROTECTED] wrote:




does anyone know what's going on with those?  trying to access both all
night and nadda ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org
)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





--
[EMAIL PROTECTED] ~]# fortune
Happiness is just an illusion, filled with sadness and confusion.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: atapicam trouble ()

2006-09-10 Thread Bill-Schoolcraft
At Sun, 10 Sep 2006 it looks like Josh Carroll composed:

 Neither disabling atapicam nor atapicd works on my Core2Duo system. I
 don't know whether it's related to the new IDE controllers (JMicron
 363 and Intel ICH8) or a similar problem to what you're reporting. The
 best I can do is about 3MB/s with atapicd and DMA disabled and also
 with atapicam. Both have problems reading files from a DVD, I end up
 getting READ_BIG errors from the kernel. Sure would like to be able to
 use this DVD drive in FreeBSD! :)
 
 Josh
 

ahh, took a break and using the drive to test a Solaris-10 install,
been years since I tried this...  had to go find an old Intel nic
just to get networking up...  I'm a glutten for punishment!

Then I forgot to copy /etc/nsswitch.dns on top of
/etc/nsswitch.conf and for the life of me could not get OUT on to
the Internet... (giggle)

If that atapicam attempt on my part did not blow Xorg out of the
water and leave me at 800x600 I'd never be painfully beating myself
with Solaris-10 now!

Downloaded pkg-get so things are bearable! (grin)

-- 
Bill Schoolcraft * http://wiliweld.com
*
 If you turn your headlights on while going
 the speed of light, does anything happen? 

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