Re: Freebsd support in Adelaide wanted

2013-09-21 Thread Greg 'groggy' Lehey
I considered dropping FreeBSD-questions from this reply, but since it
contains out-of-date contact details, I'm leaving them in.

On Saturday, 21 September 2013 at 17:17:07 +0200, Julian H. Stacey wrote:
 Hi, Reference:
 From:Danny Beger da...@beger.com.au
 Date:Sat, 21 Sep 2013 16:30:57 +0930

 Danny Beger wrote:

 I have a small law firm in Adelaide and I am looking to engage
 someone to build / purchase a new server to replace my current
 server which runs v6 freebsd.

 Can you recommend anyone?

 Happily,
 http://www.berklix.com/consultants/table.html
 shows
 Mike Smith in Adelaide +61 8 8267 3493

That's massively out of date.  Mike left Adelaide in 1998, and has
been working for Apple in Cupertino for about 10 years.

 Greg Lehey in Echunga +61 8 83888286

That's out of date too.  I left Adelaide over 6 years ago.  Up-to-date
information at http://www.lemis.com/grog/ .

 Both are well know in FreeBSD community :-)
 I've cc'd them both

Thanks.  Danny did in fact contact me directly, and I think we've
found somebody for him.

 PS for other consultants:
 If you want to be added to geographic indexed table
 just email me a pre-prepared HTML table enty
 See: http://www.berklix.com/consultants/

It would certainly be a good idea for more eyes to go through this
list and help you get it up to date.

Greg
--
Sent from my desktop computer.
Finger g...@freebsd.org for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft MUA reports
problems, please read http://tinyurl.com/broken-mua


pgpq8FhBNt4Hc.pgp
Description: PGP signature


Re: why I am upset

2012-05-28 Thread Greg 'groggy' Lehey
On Saturday, 22 January 2005 at  9:53:53 +, d...@safeport.com wrote:
 On Sun, 27 May 2012, Warren Block wrote:

 There can be a tremendous investment of time in using software, whether
 free or not.  Money too, often.

 Those who work to write, port, and support free software also spend a
 tremendous amount of time in doing that.  Money too, often.

 So both parties have a large investment, and it's easy but counterproductive
 to get emotional about it.  Take a deep breath, be polite, and try to
 appreciate the other guy's problems.  Otherwise it just ends up creating more
 problems, and there are already enough.

 Warren makes a great point. In years past Greg Lehey used to post,
 How to ask a question, or something similar.

How to get best results from FreeBSD questions.

 Its worth resurrecting that.

It's still there in the FreeBSD web site:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/
If people are getting upset, maybe it's worth reading it again.

 As I recall, the major points were: Nobody here is getting paid to
 do this; there are a great number of people with a wealth of
 information willing to help; and, its up to the one asking the
 question to do it in such a way as to peak someones interest.

Yes, that's a good paraphrase.

FWIW I think that Mitja has a point, even if in his frustration he put
it badly.  It's a pity that nobody here tried to get him to calm down
and say what went wrong or enter a PR.  While it's true that we're all
volunteers, that doesn't mean we shouldn't be proud of our product and
want to fix it if things go wrong.

Greg
-- 
Sent from my desktop computer
Finger g...@freebsd.org for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft MUA reports
problems, please read http://tinyurl.com/broken-mua


pgpDR3Bd6XYke.pgp
Description: PGP signature


Re: Can't open serial line /dev/cuaa0: no such file or direcotry (2)

2011-01-23 Thread Greg 'groggy' Lehey
[format recovered]

On Friday, 21 January 2011 at  0:04:12 +, Mike Adams wrote:
 To whom it may concern: I'm using a programme called tempcontrol
 from Greg Lehey on a Dell pentium running BSD 6.

Do you mean FreeBSD 6.x?  I'm assuming so in the following.

 When I run the programme, I get the above error.  ls /dev shows that
 there is no cuaa0, only cuad0.  I see that this was changed to
 standardize naming conventions.  I've tried sh makedev cuaa0, but
 get the errorCan't open makedev: no such file or directory.

makedev is obsolete.

 I should be most grateful if someone can get me over this problem

The device you're looking for is either /dev/ttyd0 or (probably)
/dev/cuad0.  Quite possibly either would work.  Set it in your
temperaturecontrolrc file.  Let me know if it works, and I'll update
the sources.

On Friday, 21 January 2011 at 12:51:25 +0100, Polytropon wrote:
 On Fri, 21 Jan 2011 00:04:12 +, Mike Adams mike.adams2...@gmail.com 
 wrote:

 I've tried sh makedev cuaa0, but get the errorCan't open
 makedev: no such file or directory.

 I think sh MAKEDEV would be the correct call.

From MAKEDEV(8):

DESCRIPTION
 The MAKEDEV script was deprecated by devfs(5) and removed from FreeBSD
 after devfs(5) became mandatory.

Basically, it can't work because the meaning of major and minor
numbers has changed.

 You could try to add a line like

   linkcuad0   cuaa0

 to /etc/devfs.conf and then

   # /etc/rc.d/devfs restart

That would be the wrong solution.  Programs that come in source can be
modified, and in this case the program provides for alternative device
names.

 but I may be possible that the program you're intending to use does
 require the conventional serial driver ...

I'm not aware of any such program.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.
This message is digitally signed.  See
http://www.lemis.com/grog/email/signed-mail.php for more details.
If your Microsoft MUA reports problems, please read
http://tinyurl.com/broken-mua


pgpjN45nj0Hgs.pgp
Description: PGP signature


FreeBSD based web hosting?

2008-06-18 Thread Greg 'groggy' Lehey
I'm looking for somebody to host some web sites for me.  Ideally I'd
like a complete machine, but a jail would do too.  I can find plenty
of Linux-based offerings, but the only one I can find with FreeBSD is
in Germany and requires me to be resident in Germany.  Can anybody
point me to one that I, as an Australian resident, can use?

Feel free to reply to me personally and blow your own trumpet if you
want.  Please also note that I'm not subscribed to these lists, so
please don't reply only to the list.

Greg
--
See complete headers for address and phone numbers.


pgp5Hy34DN4Wp.pgp
Description: PGP signature


Re: 2TB (and above) Disk

2007-07-03 Thread Greg 'groggy' Lehey
On Tuesday,  3 July 2007 at 17:09:33 +0200, Dave Raven wrote:
 Hi all,
   Firstly I am using FreeBSD 4, I know it's not supported but
 hopefully someone has some experience with large disks on 4.

Yes.  Various geometry issues limit them to 1 TB in size.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpQMM0hIyqId.pgp
Description: PGP signature


Keyboard problems with xorg 7.2 and Dell Inspiron 5100?

2007-05-28 Thread Greg 'groggy' Lehey
I've just upgraded my Inspiron 5100 to the latest and greatest X.org
release, 7.2.  Using the standard configuration options (either no
config file, or the one generated by X -configure), most keys on the
keyboard don't react.  I've ran xev against the server and find that
the only keys that react are the modifier keys.

The same machine runs fine with Knoppix 5.2, which has X.org 7.1.1,
and it ran fine under FreeBSD with a previous version of X.org
6.9.mumble.

Looking at the log file, nothing obvious reaches out and grabs me.  In
particular, the keyboard-related information corresponds exactly with
the Knoppix log file (modulo keyboard layout).

Has anybody else seen this?  Any ideas?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpglC745KBJM.pgp
Description: PGP signature


Re: dual monitors?

2007-05-08 Thread Greg 'groggy' Lehey
On Tuesday,  8 May 2007 at 18:15:52 -0500, Jonathan Horne wrote:
 anyone out there running dual monitors in FreeBSD?

Yes.

 if so, what is your setup?  single display adapter/2 heads, or 2
 seperate adapters?

I'm using separate adaptors.  Take a look at
http://www.lemis.com/grog/hardware.html for more details.

 i have a nvidia 7300 GS with 2 heads, and im thinking about picking
 up another monitor like im currently runing, before the *blip* off
 the market, but im hoping that it wont be a problem to set up xorg
 for 2 monitors, with just a single adapter.

X.org is getting better at this all the time.  You have a good chance
that it will run first time, even without a config file.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpQUyjZF5PTt.pgp
Description: PGP signature


Re: dual monitors?

2007-05-08 Thread Greg 'groggy' Lehey
On Tuesday,  8 May 2007 at 17:22:15 -0700, [EMAIL PROTECTED] wrote:
 On Wed, 9 May 2007, Greg 'groggy' Lehey wrote:

If you follow up on something I wrote, please copy me.  See
http://www.lemis.com/questions.html for more details.

 On Tuesday,  8 May 2007 at 18:15:52 -0500, Jonathan Horne wrote:
 i have a nvidia 7300 GS with 2 heads, and im thinking about picking
 up another monitor like im currently runing, before the *blip* off
 the market, but im hoping that it wont be a problem to set up xorg
 for 2 monitors, with just a single adapter.

 X.org is getting better at this all the time.  You have a good chance
 that it will run first time, even without a config file.

 You will have to specify the screen layout properly though in your
 xorg.conf.

My understanding is that if you don't specify a layout, X.org will
choose one for you.  If you're happy, that's fine.  This is the same
proviso as for many other configuration parameters, notably screen
resolution.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgptyZDeZ0PeO.pgp
Description: PGP signature


Re: How to find HorizSync / VertRefresh rates?

2007-05-03 Thread Greg 'groggy' Lehey
On Thursday,  3 May 2007 at  9:25:54 +0200, Victor Engmark wrote:
 On 5/3/07, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:

 On Tuesday,  1 May 2007 at  9:01:26 +0200, Victor Engmark wrote:
 On 4/30/07, Erik Osterholm [EMAIL PROTECTED] wrote:

 Could you post your Xorg.0.log and xorg.conf?  When Theory !=
 Practice, it's often helpful to have information like this to help
 determine what went wrong, so that in the future, Theory can ==
 Practice.

 Here you go: /etc/X11/xorg.conf and /var/log/Xorg.0.log from this
 morning.

 I don't see the Xorg.0.log.  Also, it would be interesting to see how
 the xorg.conf differs from the one you got from X -configure.

 The xorg.conf differs quite a lot.

And how?  Does it work?

 I used xorgconfig instead of
 X -configure
 , but xorgconfig doesn't autodetect any of the ranges, so there were
 none in the original file.

 Here's a cut'n'paste of the Xorg.0.log sent earlier:

You didn't send it.

 This is a pre-release version of the X server from The X.Org Foundation.
 It is not supported in any way.
 Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
 Select the xorg product for bugs you find in this release.
 Before reporting bugs in pre-release versions please check the
 latest version in the X.Org Foundation CVS repository.
 See http://wiki.x.org/wiki/CvsPage for CVS access instructions.

 X Window System Version 6.8.99.903 (6.9.0 RC 3)
 Release Date: 03 December 2005 + cvs

Where did you get this from?  6.2-RELEASE used 6.9.0 release.  Try
rebuilding from the Ports Collection.

Greg
--
See complete headers for address and phone numbers.


pgprKXEk3llAW.pgp
Description: PGP signature


Re: How to find HorizSync / VertRefresh rates?

2007-05-03 Thread Greg 'groggy' Lehey
On Thursday,  3 May 2007 at 11:16:04 +0200, Victor Engmark wrote:
 On 5/3/07, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:

 On Thursday,  3 May 2007 at  9:25:54 +0200, Victor Engmark wrote:
 On 5/3/07, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:
 On Tuesday,  1 May 2007 at  9:01:26 +0200, Victor Engmark wrote:
 On 4/30/07, Erik Osterholm [EMAIL PROTECTED] wrote:
 Could you post your Xorg.0.log and xorg.conf?  When Theory !=
 Practice, it's often helpful to have information like this to help
 determine what went wrong, so that in the future, Theory can ==
 Practice.

 Here you go: /etc/X11/xorg.conf and /var/log/Xorg.0.log from this
 morning.

 I don't see the Xorg.0.log.  Also, it would be interesting to see how
 the xorg.conf differs from the one you got from X -configure.

 The xorg.conf differs quite a lot.

 And how?  Does it work?

 For the currently applicable definition of work, no. I get a
 warning message from X.org every time I boot.

OK.  Either you give me information on what happens, or I'll drop the
case.  What warning message?  Why when you boot?  What does the screen
look like?  What does the Xorg.0.log look like?

 I used xorgconfig instead of
 X -configure
 , but xorgconfig doesn't autodetect any of the ranges, so there were
 none in the original file.

 Here's a cut'n'paste of the Xorg.0.log sent earlier:

 You didn't send it.

 According to Gmail, I did.

Here's what arrived here:

 Here you go: /etc/X11/xorg.conf and /var/log/Xorg.0.log from this morning.

 ...

 [-- Attachment #2: xorg.conf --]
 [-- Type: application/octet-stream, Encoding: base64, Size: 6.0K --]

 [-- application/octet-stream is unsupported (use 'v' to view this part) --]

 [-- Attachment #3 --]
 [-- Type: text/plain, Encoding: 7bit, Size: 0.2K --]

 I copied the file from the email I sent :)

Is it also in the mail you received?  It's definitely not here.

 This is a pre-release version of the X server from The X.Org Foundation.
 It is not supported in any way.

 Where did you get this from?  6.2-RELEASE used 6.9.0 release.  Try
 rebuilding from the Ports Collection.

 I burned the 6.2-RELEASE CD from freebsd.org. After installing a lot
 of software,

From where?

 I ran portupgrade -a . Surely, I should have the same or newer than
 the release by then?

Based on your statements, it's hard to say.

 Also, pkg_version -vIL= right now doesn't list X.org.

This suggests that you installed it from elsewhere.  As I said,

 Try rebuilding from the Ports Collection.

I've given you a whole lot of suggestions.  If you feel like trying
some of them, please report with useful feedback.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp4G0aObtIPC.pgp
Description: PGP signature


Re: How to find HorizSync / VertRefresh rates?

2007-05-03 Thread Greg 'groggy' Lehey
On Thursday,  3 May 2007 at 13:13:07 +0200, Victor Engmark wrote:
 On 5/3/07, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:
 OK.  Either you give me information on what happens, or I'll drop the
 case.  What warning message?

 Please read the rest of the thread.

Find somebody else to solve your problem.  Or better still, do it
yourself.  You're wasting many people's time.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpmtpIDNRuMh.pgp
Description: PGP signature


Re: How to find HorizSync / VertRefresh rates?

2007-05-02 Thread Greg 'groggy' Lehey
On Tuesday,  1 May 2007 at  9:28:27 +0200, Victor Engmark wrote:
 On 5/1/07, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:

 On Monday, 30 April 2007 at 11:02:54 +0200, Victor Engmark wrote:
 I'm trying to create a pristine xorg.conf, but I've been unable to
 find proper values for HorizSync and VertRefresh for my Dell Latitude
 D610.

 I've tried the values presented in MonitorsDB

 http://sources.gentoo.org/viewcvs.py/gentoo/src/hwdata/MonitorsDB?view=markup

 for Dell 1400x1050 Laptop Display Panel, which are HorizSync
 31.5-90.0 and VertRefresh 59.0-75.0, but I get a warning in
 /var/log/Xorg.0.log for both of them saying they are not within DDC
 ranges.

 I've tried looking around the Dell web pages, but I haven't found any
 pages mentioning these parameters (not too surprising, really).

 I've tried to leave these settings out, but even then I get a warning:
 (WW) I810(0): config file hsync range 60-66.3158kHz not within DDC hsync
 ranges.

 I'm wondering if this has anything to do with the other warnings I get
 during startup:
 (WW) I810(0): Bad V_BIOS checksum
 and
 (WW) I810(0): Extended BIOS function 0x5f05 failed.

 This, along with the follow-ups, reminds me of a problem I had with a
 Dell Inspiron 5100 some years ago.  In that case, X didn't map the
 video BIOS correctly, and so it wasn't able to read the information
 from the BIOS.  The information includes things like the panel
 geometry, which in my case was being reported as 65535x65535 pixels.
 In your case we have:

  # From Xorg.0.log
  DisplaySize  286 214

 That's clearly wrong too.


 It's equal to the values in the
 documentationhttp://support.euro.dell.com/support/edocs/systems/latd610/en/ug_en/specs.htm,
 rounded off to integers.

Yes, my bad.  I was confusing it with the number of pixels.

 See http://www.lemis.com/grog/diary-jul2003.html#25 for more
 details.  It's worth mentioning that the problem was fixed in a
 later version of the system, and I can now install X on it with no
 problems.

 If this looks familiar, a couple  of suggestions:

 1: Try XFree86.  Maybe that will work better.

 I'm a bit reluctant to straying away from the recommended setup on my work
 machine.

Even if the recommended setup doesn't work?  Note that we have both in
the ports collection, so the definition of recommended sounds more
like default to me.

 Besides, isn't the code base for this and X.org still very similar?

Yes, but there have been many edge cases where one works and the other
doesn't.  In general, X.org brings better results, but it's worth a
try.

 2: Get hold of the latest Knoppix CD and see if that works.  If it
   does, it might help fix the problem under FreeBSD.

 Do you mean running
 Xorg -configure
 and see if it gives the right information?

No.

 If not, could you elaborate a bit? Thanks!

Get hold of the latest Knoppix CD from http://www.knoppix.org/, burn
it to CD, boot from it and see if that works.  Knoppix is a Linux
distribution that runs from CD, so it's good for this kind of test.

I note that none of the other messages that have gone by in this
thread have addressed what I consider to be the crucial point: you
have a BIOS mapping issue.  It would be interesting to know what
version of FreeBSD you're running.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpn5aLc4Uhzx.pgp
Description: PGP signature


Re: How to find HorizSync / VertRefresh rates?

2007-05-02 Thread Greg 'groggy' Lehey
On Tuesday,  1 May 2007 at  9:01:26 +0200, Victor Engmark wrote:
 On 4/30/07, Erik Osterholm [EMAIL PROTECTED] wrote:

 Could you post your Xorg.0.log and xorg.conf?  When Theory !=
 Practice, it's often helpful to have information like this to help
 determine what went wrong, so that in the future, Theory can ==
 Practice.

 Here you go: /etc/X11/xorg.conf and /var/log/Xorg.0.log from this
 morning.

I don't see the Xorg.0.log.  Also, it would be interesting to see how
the xorg.conf differs from the one you got from X -configure.

Greg
-- 
See complete headers for address and phone numbers.


pgpo9gxF4vDnB.pgp
Description: PGP signature


Re: How to find HorizSync / VertRefresh rates?

2007-04-30 Thread Greg 'groggy' Lehey
On Monday, 30 April 2007 at 11:02:54 +0200, Victor Engmark wrote:
 Hi all,

 I'm trying to create a pristine xorg.conf, but I've been unable to
 find proper values for HorizSync and VertRefresh for my Dell Latitude
 D610.

 I've tried the values presented in MonitorsDB
 http://sources.gentoo.org/viewcvs.py/gentoo/src/hwdata/MonitorsDB?view=markup
 for Dell 1400x1050 Laptop Display Panel, which are HorizSync
 31.5-90.0 and VertRefresh 59.0-75.0, but I get a warning in
 /var/log/Xorg.0.log for both of them saying they are not within DDC
 ranges.

 I've tried looking around the Dell web pages, but I haven't found any
 pages mentioning these parameters (not too surprising, really).

 I've tried to leave these settings out, but even then I get a warning:
 (WW) I810(0): config file hsync range 60-66.3158kHz not within DDC hsync
 ranges.

 I'm wondering if this has anything to do with the other warnings I get
 during startup:
 (WW) I810(0): Bad V_BIOS checksum
 and
 (WW) I810(0): Extended BIOS function 0x5f05 failed.

This, along with the follow-ups, reminds me of a problem I had with a
Dell Inspiron 5100 some years ago.  In that case, X didn't map the
video BIOS correctly, and so it wasn't able to read the information
from the BIOS.  The information includes things like the panel
geometry, which in my case was being reported as 65535x65535 pixels.
In your case we have:

  # From Xorg.0.log
  DisplaySize  286 214

That's clearly wrong too.  See
http://www.lemis.com/grog/diary-jul2003.html#25 for more details.
It's worth mentioning that the problem was fixed in a later version of
the system, and I can now install X on it with no problems.

If this looks familiar, a couple  of suggestions:

1: Try XFree86.  Maybe that will work better.
2: Get hold of the latest Knoppix CD and see if that works.  If it
   does, it might help fix the problem under FreeBSD.
3: Use the method I described in my diary to build a server with a
   static version of the video BIOS.

The real answer, of course, is to understand why the mapping doesn't
work (if, indeed, that's the problem).  But this could be a start.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp1yqPd2eb2r.pgp
Description: PGP signature


Re: 5.5 hardware support

2007-04-29 Thread Greg 'groggy' Lehey
On Sunday, 29 April 2007 at 17:56:23 -0800, Harry Veltman wrote:
 Does 5.5 support my ELSA GLoria Synergy 8 MByte, Driver version 5.36.00.382,
 OpenGL version 1.1 2.01.14.128 video card?  I purchased and installed
 version 4.8 several years ago, but it didn't seem to like the video card.

This is more likely to be a question of X support, right?

In any case, FreeBSD 5.5 is no longer supported.  You should upgrade
to 6.2 for that reason alone.  Check the X.org web site to find out
whether the card is supported or not.  The driver version is
completely irrelevant, since you won't be using it.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgphVNwTfBOFe.pgp
Description: PGP signature


Re: change xorg video resolution

2007-03-29 Thread Greg 'groggy' Lehey
On Thursday, 29 March 2007 at 21:55:58 -0300, freenity wrote:
 Hello. I have a strange problem with my xorg configuration. It only runs at
 1024x768, but I want to change it to 1280x1024. This is the screen section
 from my /etc/X11/xorg.conf

 Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
SubSection Display
Viewport   0 0
Depth 16
Modes1280x1024
EndSubSection
SubSection Display
Viewport   0 0
Depth 16
Modes   1280x1024
EndSubSection

This is a duplicate of the previous subsection (same bit depth).

 But it steal running at 1024x768.

What does xdpyinfo say?  You should see something like

  depth of root window:24 planes

You will need a subsection entry for this depth.

Greg
-- 
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp8TY1CywPw4.pgp
Description: PGP signature


Re: SOLVED: Re: Problems with burncd - cannot mount result on unix or windows

2007-03-22 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Line length unified.

On Thursday, 22 March 2007 at 16:16:58 -0700, UCTC Sysadmin wrote:
 In looking at the documentation for cdrecord, the examples showed
 a two-step process of making an ISO image then burning it.

 Here's my deal:

 NEVER HAVING BURNED a CD or DVD on FreeBSD before - I go to the
 documentation to FIND OUT HOW and there really is no HOW

You mention documentation above, but you don't say what you're
referring to.

 So I look in vain for

 What you need to do in the kernel if anything to support burning CDs/DVDs
 What additional support libraries or software would be needed
 The stepwise process for burning CDs or DVDs

What's wrong with the information in the handbook?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html

 So THE FAQ and/or HOWTO SUCKS, is the problem.

I see two problems, both of them different:

- You don't say what you read, and what you didn't understand about
  it.
- You didn't submit an update.

 If that offends purists,

I think what's more likely to offend is a complaint without
substantiation.  I'm not saying that there are no errors in the
documentation--of course there are--but how can we fix them (if they
exist) based on your rant?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpyICFizbfKZ.pgp
Description: PGP signature


Experience with nVidia Quadro NVS210S and nForce 430 Chipset?

2007-03-18 Thread Greg 'groggy' Lehey
I'm looking at purchasing a motherboard with the Quadro NVS210S and
nForce 430 Chipset (see
http://www.msi.com.tw/program/products/mainboard/mbd/pro_mbd_detail.php?UID=764),
and I'm wondering if anybody has experience with it.  In particular:

- does the nVidia binary graphics driver support this chip?  I can't
  see it mentioned on the nVidia site.

- how well does the Ethernet NIC work?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp4N45K1C6Wd.pgp
Description: PGP signature


Re: MySQL Startup Script

2007-03-05 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Single line message.

[Moving to -questions; this isn't really a ports issue]

On Monday,  5 March 2007 at 23:28:53 -0800, Drew Jenkins wrote:
 I built MySQL 5.1 from port on FBSD 6.2. But it doesn't start up on
 boot. There's a mysql-server script in /usr/local/etc/rc.d/ but if I
 try and fire that up from the command line it doesn't start. What do
 I need to do?

You could start by saying how you invoked the script and what happened
when you tried.  You should see:

  # /usr/local/etc/rc.d/mysql-server start
  Starting mysql.

Greg
--
When replying to this message, please take care not to mutilate the
original text.
For more information, see http://www.lemis.com/email.html
See complete headers for address and phone numbers.


pgptFdeyURLTs.pgp
Description: PGP signature


Re: test

2007-02-26 Thread Greg 'groggy' Lehey
On Friday, 23 February 2007 at 22:46:40 -, Justin Schlingmann wrote:
 Lets see if the mailserver can find my hostname from 80.126.252.242

I think we're going to have to put this in the charter: please do
*not* send test messages to tens of thousands of people when you
just want to test your own configuration.  We have a mailing list
[EMAIL PROTECTED] exactly for that purpose.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp5fV7xw5jMa.pgp
Description: PGP signature


Please do not duplicate messages (was: When will X11R7.2 hit the ports tree ?)

2007-02-18 Thread Greg 'groggy' Lehey
On Sunday, 18 February 2007 at 14:04:44 +0200, Ivan Georgiev wrote:
On Sunday, 18 February 2007 at 14:20:51 +0200, Ivan Georgiev wrote:
 X11R7.2 was released three days ago. Any ideas when
 will we see it in ports ?

It's been less than a week since I wrote:

On Tuesday, 13 February 2007 at  9:46:34 +1030, Greg 'groggy' Lehey wrote:
 On Monday, 12 February 2007 at 13:29:22 +0100, Olaf Greve wrote:
 On Monday, 12 February 2007 at 14:54:26 +0100, Olaf Greve wrote:
 On Monday, 12 February 2007 at 15:44:42 +0100, Olaf Greve wrote:
 Hi guys,

 (Firstly: I posted this message well over an hour ago, and it does not
 seem to have come through, in case you recieve this twice, then I'm
 sorry for that :P )

 Three times.

 Once a week there's a regular posting on this list How to ask
 questions.  To quote:

   8.  If you don't get an answer immediately, or if you don't even see
   your own message appear on the list immediately, don't resend
   the message.  Wait at least 24 hours.  The FreeBSD mailer
   offloads messages to a number of subordinate mailers around the
   world, and sometimes it can take several hours for the mail to
   get through.  And once it gets through, the one person who might
   know the answer will probably just have gone to bed in his part
   of the world.

 I know this message has been unchanged for years, and that most people
 (myself included) normally delete it unread.  But from time to time
 it's worth reminding yourself.

People, this is annoying.  We get enough mail already without
duplicates.  Please follow the recommendations.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgphR1Zdk40L2.pgp
Description: PGP signature


Re: Can I Mount A Windoze Drive?

2007-02-16 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Single line message.

On Saturday, 17 February 2007 at 13:46:28 +0700, Drew Jenkins wrote:

 Newbie question here. I just want to make sure I don't screw
 anything up. I have two hard drives in my box...one for Windoze, one
 for FBSD. Can I mount the former from FBSD and copy over files?

Well, you mount file systems, not disks.  But yes, using mount_ntfs
(or, if your Microsoft box is very old, mount_msdos).  In your fstab
you might have:

  /dev/ad2s2  /C: ntfs   rw  0   0

If you now create a directory /C:, and assuming that the drive
partition is correct, this file system will be mounted automatically
when you start the system.  You can mount or unmount it manually with
'mount /C;' and 'umount /C:'.

Which disk?  Look at the device nodes in /dev:

  $ ls -l /dev/ad*
  crw-r-  1 root  operator4,  11 Feb  3 08:41 /dev/ad2
  crw-r-  1 root  operator4,  12 Feb  3 08:41 /dev/ad2s1
  crw-r-  1 root  operator4,  13 Feb  3 08:41 /dev/ad2s2
  crw-r-  1 root  operator4,  14 Feb  3 08:41 /dev/ad2s3
  crw-r-  1 root  operator4,  15 Feb  3 08:41 /dev/ad2s4
  crw-r-  1 root  operator4,  16 Feb  3 08:44 /dev/ad2s4a
  crw-r-  1 root  operator4,  17 Feb  3 08:42 /dev/ad2s4b
  crw-r-  1 root  operator4,  18 Feb  3 08:41 /dev/ad2s4c
  crw-r-  1 root  operator4,  19 Feb  3 08:42 /dev/ad2s4d

The node names ending in letters are BSD partitions; ad2 is the whole
drive one of the others is the Microsoft partition.  fdisk will tell
you which one:

  $ fdisk ad2
  Information from DOS bootblock is:
  The data for partition 1 is:
  sysid 6 (0x06),(Primary 'big' DOS (= 32MB))
  The data for partition 2 is:
  sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
  The data for partition 3 is:
  sysid 219 (0xdb),(CP/M, Concurrent CP/M, Concurrent DOS or CTOS)
  The data for partition 4 is:
  sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)

I've removed unnecessary output from this example.

 Do I navigate it just like a FBSD disk...cd, cp, etc?

In principle, yes.  Microsoft has this stupid idea of embedding spaces
in file names.  You'll see how stupid this is when you have to
navigate them using UNIX commands:

  $ ls -l /C:/WINDOWS
  ...
  drwxr-xr-x  0 yana  home0 Dec  9  2004 Connection Wizard
  ...
  drwxr-xr-x  0 yana  home0 Dec  9  2004 Driver Cache
  $ cd /C:/WINDOWS/Connection Wizard
  bash: cd: /C:/WINDOWS/Connection: No such file or directory
  $ cd '/C:/WINDOWS/Connection Wizard'
  $

This will work if you haven't redefined cd as a macro, like I have
done.  When I try this, I still get the error message.  This problem
will bite you everywhere you go.  You can minimize it by not using
spaces in file names yourself, but you'll constantly have problems
with it otherwise.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpI8LVEwMw4K.pgp
Description: PGP signature


Re: Help please: how to enable SSH password authentication under FreeBSD 6.2?

2007-02-12 Thread Greg 'groggy' Lehey
On Monday, 12 February 2007 at 13:29:22 +0100, Olaf Greve wrote:
On Monday, 12 February 2007 at 14:54:26 +0100, Olaf Greve wrote:
On Monday, 12 February 2007 at 15:44:42 +0100, Olaf Greve wrote:
 Hi guys,

 (Firstly: I posted this message well over an hour ago, and it does not
 seem to have come through, in case you recieve this twice, then I'm
 sorry for that :P )

Three times.

Once a week there's a regular posting on this list How to ask
questions.  To quote:

  8.  If you don't get an answer immediately, or if you don't even see
  your own message appear on the list immediately, don't resend
  the message.  Wait at least 24 hours.  The FreeBSD mailer
  offloads messages to a number of subordinate mailers around the
  world, and sometimes it can take several hours for the mail to
  get through.  And once it gets through, the one person who might
  know the answer will probably just have gone to bed in his part
  of the world.

I know this message has been unchanged for years, and that most people
(myself included) normally delete it unread.  But from time to time
it's worth reminding yourself.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp6oASZOURxk.pgp
Description: PGP signature


Re: php5-mysql?

2007-02-12 Thread Greg 'groggy' Lehey
On Monday, 12 February 2007 at 20:45:16 +0100, Roger Olofsson wrote:
 Alain Wolf skrev:
 On 12.02.2007 11:52, * Roger Olofsson wrote:

 After a recent buildworld/portupgrade everything seems to be up to date
 except a few and among those are php5-extensions and to be more precise
 php5-mysql.

 I am not really sure if its the same issue, but I had the same problems
 on two of my systems.
 After I deinstalled and reinstalled mysql-client-5.0.33 it went fine again.
 # cd /usr/ports/databases/mysql50-client/  make deinstall  make
 reinstall


 I am sorry but this has been tried to no avail. I also (off the list)
 was encouraged to try portmanager but that also failed.

 As I stated in my original mail, buildworld, portsnap fetch all are
 recent and php and mysql (both server and client) have been deinstalled
 and reinstalled but php5-mysql won't budgestill gives me this:

 checking for mysql_close in -lmysqlclient... no
 checking for mysql_error in -lmysqlclient... no
 configure: error: mysql configure failed. Please check config.log for
 more information.

And what does config.log say?

You might also check what files you have in /var/db/ports; there are
several option files there in subdirectories named after their port.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp7fS7xcycA6.pgp
Description: PGP signature


Re: Guidance requested for multimedia conversion

2007-02-08 Thread Greg 'groggy' Lehey
On Friday,  9 February 2007 at 11:04:58 +1100, Murray Taylor wrote:
 Hi all,

 Being much more a system programmer / database person
 than a multi media type I am requesting a 'recipe' from
 a video media expert.

 I need to convert an 8 minute .avi file into a basic dvd.  No menus
 or anything, just a dumb as possible 'load it, press play' disk. As
 long as I can do that, and also get the dvd player to do loop play,
 its fine.

I'm working on just such a HOWTO, but I'm currently missing the first
step: convert the AVI to MPEG-2.  Maybe mencoder (part of mplayer) can
help you there.  I'm planning to do this step some time soon as well,
so I'd be interested in hearing what you use.

The rest is described at http://www.lemis.com/grog/HOWTO/dvdburn.html.
Sorry about the format, which describes more the problems you'll find
than how to do it; I'm working on a new description, but it's not
finished yet.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpYOQhhkfnoH.pgp
Description: PGP signature


Re: Which version of Opera to use?

2007-01-28 Thread Greg 'groggy' Lehey
On Saturday, 27 January 2007 at  9:13:19 -0500, Gerard Seibert wrote:
 I have been thinking of trying Opera in KDE to see if it works better
 than Firefox. I have been having nothing but problems with Firefox and
 Flash.

 Would I be better off trying Opera or Linux-Opera? Both are offered in
 the ports.

I'd recommend native Opera.  I've heard recently from people at Opera
who are very keen to ensure that it works well on FreeBSD, so it makes
sense to help them.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpzEadxdDMee.pgp
Description: PGP signature


Re: Mail etiquette

2007-01-20 Thread Greg 'groggy' Lehey
On Saturday, 20 January 2007 at 20:55:54 -0800, Michael wrote:
 Greg Albrecht wrote:

 ps: there's no need to reiterate how 'hard' it is for you to have to
 'scroll down' to read the original message in a reply, how is that any
 different than me having to scroll down to read your reply?

I hadn't intended to respond to this, but since I'm replying anyway,
the answer is none, of course.  If you put all your reply at the
bottom, you miss important things, like the text you both quoted:

 On 18/01/07, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:
 Top posting is only one issue.  Others of great importance are
 trimming your posts, not breaking the lines into tiny fragments, and
 not writing one-line paragraphs.

(end of quotation).

In summary: if you don't trim your messages, you'll have more
difficulty getting your point across, and also more difficulty
understanding what you're replying to.  If you trim your messages to
what's necessary, people will need to read the entire message anyway.

 I couldn't agree more Greg A.

 I think it is time for most mta's step up and standardize a bit, but I
 also think people complain a little to much about top/bottom posting
 issue.

In general, I don't complain.  I just delete messages unseen if they
annoy me.  The annoyance depends on whether the message is even
marginally intelligible; frequently it's not.

 Personally if the email app I'm using decides to place my cursor at
 the bottom/top, then that's where I start typing.

The computer made me do it!.

Surely *you* should want to be in charge.

 The order in which a conversation takes place, rarely has little to
 do with the content of the thread.

Agreed.  It is closely related.  But I think you tripped over your own
keyboard on that statement.

Remember the text at http://www.lemis.com/email.html , which I think
was quoted here:

  Your mail message is all that many people see of you, and if it's
  poorly formatted, one line per paragraph, badly spelt, or full of
  errors, it will give people a poor impression of you.

  In the impersonal world of the Internet, your mail messages are the
  most tangible thing about you. Send out a well thought out, clear
  and legible message, and you will leave a good impression. Send out
  a badly formulated, badly formatted and badly spelt message, and you
  will leave a bad impression.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpq7fX5q3hva.pgp
Description: PGP signature


Mail etiquette (was: What is this mean by this term)

2007-01-18 Thread Greg 'groggy' Lehey
[heavily trimmed, subject line clarified, format breakage recovered]

On Thursday, 18 January 2007 at 16:31:41 +1100, Murray Taylor wrote:
 On  Thursday, 18 January 2007 11:48 AM, Dak Ghatikachalam wrote:
 What if someone is emailing from a thread while I am replying at
 the same time, would that not happen ? Would I be getting complains
 again that I am top-posting

 Top-posting defined simply ...

 A: Because it fouls the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing on usenet and in e-mail?

Yes, that's a nice one.

 Unfortunately all Micro$lop 'standard' email clients and a few
 others put the cursor at the top of the email, so the bad habit has
 developed across the world both domestically and in businesses, to
 write there, rather than continuing the email thread at the bottom.

I think the biggest problem with Microsoft MUAs is not where they
position the cursor, but the difficulty they cause in editing the
text.  My editor also positions the cursor at the very top when I
reply to a message.  But it also makes it possible to tidy things up.

Top posting is only one issue.  Others of great importance are
trimming your posts, not breaking the lines into tiny fragments, and
not writing one-line paragraphs.  Your .sig is a good example of
things that people should remove from replies.

Greg
--
See complete headers for address and phone numbers.


pgpw5QifRmGZU.pgp
Description: PGP signature


Re: Origin of LINT?

2007-01-16 Thread Greg 'groggy' Lehey
On Tuesday, 16 January 2007 at 23:28:51 -0500, Dan Mahoney, System Admin wrote:
 I know it's probably off-topic, but I've searched google for a bit with no
 results, and because I'm curious:

 Does anyone (maybe one of the old guard) know the origin of the term
 lint for the all-inclusive feature set.  I know SpamAssassin uses it as
 well (it's the command line argument to just regression-test everything).

From KR 1st edition (1978), page 3:

  This program is called lint, apparently because it picks bits of
  fluff from one's programs.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp0beDAQKZck.pgp
Description: PGP signature


Re: is THIS why the 6.2 release seems stalled ?

2007-01-10 Thread Greg 'groggy' Lehey
[irrelevant cruft removed]

On Tuesday,  9 January 2007 at 23:54:02 -0600, Nikolas Britton wrote:
 On 1/9/07, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:
 On Tuesday,  9 January 2007 at 17:08:45 -0600, Nikolas Britton wrote:
 Why should I continue using FreeBSD when the project never delivers
 on it promises?

 You shouldn't.  You obviously don't understand the issues.  We don't
 owe you anything.  Play an active part or go away.

 Fuck off Greg,

You've proved my assumptions.  Clearly you don't want to play an
active part.  Go away.  You may learn to grow up elsewhere, though I
wouldn't bet on it.

 Sincerely.

You've got to be joking.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpaJz2n8YMxv.pgp
Description: PGP signature


Re: is THIS why the 6.2 release seems stalled ?

2007-01-09 Thread Greg 'groggy' Lehey
On Tuesday,  9 January 2007 at 17:08:45 -0600, Nikolas Britton wrote:
 On 1/9/07, Kris Kennaway [EMAIL PROTECTED] wrote:
 On Mon, Jan 08, 2007 at 09:33:18AM -0800, Jim Pazarena wrote:

 http://farragut.flameeyes.is-a-geek.org/articles/2007/01/08/a-shadow-lies-upon-all-bsd-distributions
 -
 Gentoo/FreeBSD: license problems require a development pause

 http://farragut.flameeyes.is-a-geek.org/articles/2007/01/07/gentoo-freebsd-license-problems-requires-a-development-pause
 
 The big license mess, part 2

 http://farragut.flameeyes.is-a-geek.org/articles/2007/01/07/the-big-license-mess-part-2
 --
 Gentoo/FreeBSD On Hold Due To Licensing Issues

 No.

 Why then?
 [bitch and moan session removed]

 Why should I continue using FreeBSD when the project never delivers
 on it promises?

You shouldn't.  You obviously don't understand the issues.  We don't
owe you anything.  Play an active part or go away.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpBHdulEGGwN.pgp
Description: PGP signature


Re: Emacs vs XEmacs: which to choose for plain console using?

2007-01-03 Thread Greg 'groggy' Lehey
On Wednesday,  3 January 2007 at 22:50:55 +0200, Andrey Slusar wrote:
 Wed, 3 Jan 2007 21:41:57 +0200, [EMAIL PROTECTED] wrote:

 What are advantages and disadvantages of xemacs over emacs?
 Which to choose for plain console using?

 Emacs by default is very usable in plain FreeBSD ?onsole, also
 XEmacs is not.

I haven't seen this.  I use Emacs, and I'd prefer to continue to do
so, but some systems I work on only provide Xemacs.  I haven't really
seen any difference in non-windowed mode.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpIi7grrRMaQ.pgp
Description: PGP signature


Re: Process States Explanation

2006-12-18 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Single line paragraph

On Monday, 18 December 2006 at  1:06:13 -0600, Fr0zen wrote:

 Where can I get a good list of what each process state means?

That depends on what you mean by process state.  The real definition
is in /usr/include/sys/proc.h, but there are now only three states:

enum {
PRS_NEW = 0,/* In creation */
PRS_NORMAL, /* threads can be run. */
PRS_ZOMBIE
} p_state;  /* (j/c) S* process status. */

Maybe you mean the thread state, also described in the same file, but
I doubt it.

There are two other possibilities:

- The information reported by ps(1) in the STAT column.  This is
  described, not surprisingly, in the man page ps(1).

- The information reported by ps(1) in the MWCHAN column.  This is a
  name passed by a part of the kernel when it sleeps, so any process
  with a value in MWCHAN is sleeping.  The names are frequently
  associated with the name of the function doing the sleeping.  In
  general, you need to understand the kernel code to make a lot of
  sense of them.  Still, if you do a 'ps al' you'll see a number of
  names again and again:

  ttyin   Waiting for character input
  select  Waiting for a select() to complete
  waitWaiting for something to happen, possibly time
  limited (= 1 second)
  nanslp  Waiting for  1 second.

Maybe we should write up some of these.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp7RI8dVjj20.pgp
Description: PGP signature


Re: Black Lines on my monitor

2006-12-14 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Sequence recovered, long/short syndrome.

On Thursday, 14 December 2006 at  5:42:11 -0800, Renegade Penguin wrote:
 P Tyrrell wrote:
 Hello - Help

 About two weeks ago I noticed that there was a shadow appearing on
 the monitor alond any black type or dark picture - thinking it
 wasthe monitor I swaped it with another and there are still black
 lines appearing along the lines of text.

 What can I do to get rid of this?
 Please bear in mind youre talking to a layman not a professional techie.
 thankyou.

 If it's the video card, it very likely could be a speck of dust across
 some of the traces on any number of chips on the card.  Taking out the
 video card, blowing it off, and re-seating it may help.  A thorough
 cleaning out of the case could help as well.

And if that doesn't work, then put it in the dishwasher on the hottest
cycle.  If the card doesn't work after that, replace it.

Seriously, I can only assume that your statement was meant as a joke.
Getting back to the original question, the description could be
clearer.  Are these horizontal or vertical?  How wide?  For what I
know, there are several possibilities.  It could really be the card no
longer being able to drive the display adequately, or it could be the
connection between the card and the monitor.  This kind of problem
often occurs when monitors are connected via KVAs.  But to really
understand the situation, you (P) need to describe the appearance of
the shadows more clearly.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpw9F5s4wpKE.pgp
Description: PGP signature


Re: List Protocol (was: Major Version Upgrade 4.11 to 5.x)

2006-12-12 Thread Greg 'groggy' Lehey
On Tuesday, 12 December 2006 at 16:49:39 -0800, Ted Mittelstaedt wrote:

 Until then STFU you ungrateful bastards.  All you once were dumb
 newbies who didn't know FreeBSD from free beer, and I'll bet more
 than a few of you sent e-mail to questions, thinking it was an
 actual person who gave a damn.  Boy were you surprised!

Ted, there are other aspects of the list protocol.  One has to do with
message format.  You seem to have great difficulty with this one,
requiring other people to manually reformat, and often to guess what
you're talking about.

Another has to do with politeness.  You seem to abuse this one again
and again; it's one of the reasons why I seldom read this mailing list
any more.  You've probably driven off a number of people who would be
able to give *helpful* answers.  Please stop.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp6idP3CZE8E.pgp
Description: PGP signature


Re: What is microsoft-ds port 445?

2006-12-11 Thread Greg 'groggy' Lehey
On Monday, 11 December 2006 at 11:06:12 -0800, Chuck Swiger wrote:
 On Dec 11, 2006, at 10:43 AM, [EMAIL PROTECTED] wrote:
 What is microsoft-ds port #445?

 Mildly off-topic for this list, but it's used by directory-services,
 aka Active Directory

I don't know that it's that off-topic.  I don't use Microsoft, but
people bombard me with packets on port 445.

Of course, the way to find this out is:

  $ grep 445 /etc/services
  microsoft-ds445/tcp
  microsoft-ds445/udp
  $

On Monday, 11 December 2006 at 12:13:50 -0800, Garrett Cooper wrote:

 Next time, please google. There are a plethora of documents on this topic.
 See http://www.petri.co.il/what's_port_445_in_w2k_xp_2003.htm for
 starters.

You can find lots of things on Google, including false leads and
(especially) other people asking the same question.  Many of them
(hopefully not the false leads) refer to messages that have gone by on
this list.  Come back tomorrow and you'll probably find this exchange
there.

In summary: I think this message was on-topic.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpLGfmzIhr8O.pgp
Description: PGP signature


Re: multiple ports trees

2006-11-14 Thread Greg 'groggy' Lehey
On Thursday,  9 November 2006 at  8:46:00 -0600, Christopher M. Hobbs wrote:
 Hello, list!

 I've got about six production servers and a couple of workstations
 running FreeBSD 6.1-STABLE and 6.2-PRERELEASE.  Some of these machines
 are sitting in DMZ, the others are internal.  Currently, each of them
 has their own ports tree.

 How terrible of an idea would it be to take one of the production
 servers that isn't really doing a whole lot of work, and make it's
 /usr/ports available over NFS to the other machines?  Am I headed in a
 bad direction here?

This is what I do.  It's not completely without its problems, though:

- Some programs, notably GNU autotools, get upset if you run across
  NFS.  I've worked around this problem by copying the tree where
  necessary; it's not as bad as it seems.
- The ports collection stores build information in the work
  directory.  For example:

$ ls -lart work3
-rw-r--r--   1 root  wheel 0 Nov 14 13:29 .patch_done.mythtv._usr_local
-rw-r--r--   1 root  wheel 0 Nov 14 13:29 
.extract_done.mythtv._usr_local
-rw-r--r--   1 root  wheel 0 Nov 14 13:44 
.configure_done.mythtv._usr_local
-rw-r--r--   1 root  wheel 0 Nov 14 15:56 .build_done.mythtv._usr_local
drwxr-xr-x   3 root  wheel   512 Nov 14 15:56 .
drwxr-xr-x   7 grog  lemis   512 Nov 14 17:14 ..
drwxr-xr-x  13 root  wheel  1024 Nov 14 21:56 mythtv-0.20

  If you build a package on one system, and then try on another, the
  Ports Collection will find these files and assume that there is
  nothing to do.  You need to do a 'make clean' first to get it to do
  the process again, including dependency checks, on the new machine.

 Also, what about user accounts between machines?

With NFS you typically have the same user ID on all related machines.

 I got to thinking that because some of the servers have the same
 user accounts, would it be possible to share a password file or home
 directories?

Yes, again with some caveats.  The biggest ones are configuration
files in the home directory that contain references to the system
you're working on.  My biggest problem is the .emacs file: it refers
to packages that I have installed on some systems only.

 Should I build another box strictly for this purpose?

I get by quite happily with a separate tree on one of my existing
systems.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpjznRodtVeC.pgp
Description: PGP signature


Re: mysql in production on freebsd 6.1 ???

2006-11-05 Thread Greg 'groggy' Lehey
On Friday,  3 November 2006 at 19:56:00 +0800, ke han wrote:
 I need feedback from users with mysql 5.0.x (or even 4.1.x) in
 production on SMP systems. X86_64 Opteron is my platform.
 I have heard rumors of it not scaling and it crashes and odd errors
 Have these been worked out in the latest releases of freebsd and mysql?
 Any thoughts on this topic may help me substantially.
 If you cannot provide info publicly, private replies are fine...I
 just need some production level feedback.

I was involved in the investigation of these claims a while back.  We
were never able to establish any connection between the elements
FreeBSD and Opteron.  Some people with these combinations had
problems, but a very large majority reported that everything was OK.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp1gIpWpnUjv.pgp
Description: PGP signature


Re: DVB card suggestion

2006-11-05 Thread Greg 'groggy' Lehey
On Sunday,  5 November 2006 at 22:20:36 +0200, Alin-Adrian Anton wrote:
 Hi List,

   I'd like to get rid of my SkyStar2 DVB card (zero support on FBSD)
   and buy something which is well supported by FreeBSD 6.x.

To the best of my knowledge no DVB cards are supported under FreeBSD.
I'm toying with the idea of porting the driver for the DVICO DVB-T
card, but don't hold your breath.

   Please let me know if you have knowledge of testedworking DVB cards
   on FreeBSD, the only important thing is audio/video; IP over MPEG is not
   needed.

Can I guess you're talking about DVB-S?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp5PqBikywNL.pgp
Description: PGP signature


Re: mountroot

2006-11-05 Thread Greg 'groggy' Lehey
On Sunday,  5 November 2006 at 21:10:25 -, justin wrote:
 Hello,

 I`m trying to boot my freebsd 5.5 system and i`m having some trouble.
 Every time the machine boots it runs into the mountroot prompt.
 It cannot find the rootvp file on the /dev/ad0s1a.
 Everytime i try to mount the /dev/ad0s1a it gives me the mountroot prompt
 again.
 also i tryed to type ufs:/dev/ad0s1a but nothing happens.
 i presume the ad0s1a is my harddisk, i find it strange it will not mount.
 The computer finds the hard drive at boot time so what`s the problem.

The first problem is that you haven't given any details.  What
partition layout do you have?  Have you ever been able to boot from
this machine?  What's in /etc/fstab?

If this is a fresh install, I'd suggest moving to 6.1, or waiting a
couple of days for 6.2.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpeeq0w61sz9.pgp
Description: PGP signature


Re: How many Labels/partitions are permitted?

2006-10-19 Thread Greg 'groggy' Lehey
On Thursday, 19 October 2006 at 20:29:07 -0300, Agus wrote:
 Hi all. I was reading the installation of freebsd and get that only
 partitions, sorry, labels a to h are allowed. is this so?

Yes.  Also, you can't use 'c' for a partition, since it represents the
whole disk, and on one disk at least you'll need a swap partition, so
6 is the maximum number of file systems you could create.  That's not
just adequate, it's far too many.

 So if i want to have the following scheme:
 /
 /home
 /usr
 /usr/local
 /tmp
 /var
 /var/log
 /homeb

 Can i make this? cause i tried, but i get an X in the label...

You can't make partitions like this.  But why do you want to?  There's
nothing to stop you making a single root file system and directories
of these names.  My recommendation in The Complete FreeBSD
(http://www.lemis.com/grog/Documentation/CFBSD/) is to create a root
file system of 8 to 10 GB and a /home file system for the rest of the
disk.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpreT2QNNwL8.pgp
Description: PGP signature


Re: How many Labels/partitions are permitted?

2006-10-19 Thread Greg 'groggy' Lehey
On Friday, 20 October 2006 at  1:48:35 +0200, Joerg Pernfuss wrote:
 On Thu, 19 Oct 2006 20:29:07 -0300, Agus [EMAIL PROTECTED] wrote:

 Hi all. I was reading the installation of freebsd and get that only
 partitions, sorry, labels a to h are allowed. is this so?

 a-h are possible, yes, but b is usually used for swap and c is
 reserved for internal use.

Specifically, it represents the entire partition.

 Basically, now you have 4 options:
 - rework your partiotion sheme to work with these limits
 - create two slices on the disk, giving you *s1[adefgh] and
   *s2[adefgh] to work with

This is the cleanest method, if you really have to create that many
partitions.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpMQaecphb2X.pgp
Description: PGP signature


Re: User vs Kernel mode

2006-10-16 Thread Greg 'groggy' Lehey
On Tuesday, 17 October 2006 at  9:35:14 +0700, Olivier Nicole wrote:
 Hi,

 I have an application that is running on virtual tty 0, i start it the
 following way:

 /etc/ttys
 ttyv0   /usr/libexec/getty Door   cons25  on  secure

 /etc/gettytab
 Door:   :ht:np:sp#115200:al=door:

 /etc/passwd
 door:*:0:0:Run the door program:/usr/local/door:/usr/local/door/door

 While the application is launched by getty, I would like to know if it
 is running in user mode or in kernel mode.

Processes always start in kernel mode, because they're started by the
kernel.  They typically spend most of their time in kernel mode (for
example, whenever they're idle or waiting for I/O).  An active process
may switch back and forward between kernel mode and user mode
thousands of times a second.

 I think in user mode, and so there is no reason why it should affect
 other processes, even if my application had some memory management
 problems.

A process which spends all its time in user mode is looping :-) 

Maybe you should describe your problem.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpYeTlSIWZ4g.pgp
Description: PGP signature


Re: User vs Kernel mode

2006-10-16 Thread Greg 'groggy' Lehey
On Tuesday, 17 October 2006 at  9:52:17 +0700, Olivier Nicole wrote:
 Processes always start in kernel mode, because they're started by the
 kernel.  They typically spend most of their time in kernel mode (for
 example, whenever they're idle or waiting for I/O).  An active process
 may switch back and forward between kernel mode and user mode
 thousands of times a second.

 Thanks for the clarification.

 Maybe you should describe your problem.

 The application has been working fine for almost 3 years, along with
 Apache, going through RELENG upgrade without problem.

 Now I start noticing that Apache hangs (sig 11),

A hang is when the system stops reacting.  Signal 11 is not a hang:
it's a segmentation violation, which means that the program has
performed a specific kind of illegal operation.

In the case of a program that used to work well, this almost
invariably means that you have hardware problems.

 2 options:

 - I added memory in the machine and the meory is causing problems.

Yes, this is possible

 - I changed my application a little bit and it started eating
   other processes.

This is less likely.

 So I'd like to be sure that my application cannot eat other
 processes, so i could eliminate one cause.

Don't even think about this at the moment.  If you have just installed
new memory and these problems occur, try taking it out again and
seeing if the problem goes away.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpYVlYueUSX5.pgp
Description: PGP signature


Re: FreeBSD 6.1 hangs at mountroot during bootup

2006-09-21 Thread Greg 'groggy' Lehey
[rearranged, trimmed]

On Thursday, 21 September 2006 at  2:32:59 -0500, Derek Ragona wrote:
 At 06:47 PM 9/20/2006, Mike Peirson wrote:
 Hi all,
 First off, I'm new to FreeBSD and this mailinglist so I hope I am in the
 right place. Anyways, right now I am having some problems with FreeBSD
 booting up. I have tried to install 3 times now and keep getting the same
 error. When I try to boot into FreeBSD, this eventually comes up:

Manual root filesystem specification:
  fstype:device Mount device using filesystem
  fstype
   eg. ufs:da0s1a
  ? List valid disk boot devices
  empty line  abort manual input
Mountroot

 This seems to be a prompt where I need to specify the location of
 the root partition, but the problem here is that it hangs or
 freezes and I cannot input any text.

 I have seen this in a few situations:
 1.) the BIOS is set to not allow boot area writes
 2.) The root partition is outside the first 1024 cylinders.  This was on
 older hardware that didn't do good geometry translation on big drives.
 3.) moved the root partition to another slice

I don't think any of these can cause the keyboard to freeze.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpKzd82HJaBQ.pgp
Description: PGP signature


Re: Tip Top Equity Spam

2006-09-20 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Single line message

On Wednesday, 20 September 2006 at  9:37:15 +0100, jackie Predeth wrote:

 I have been recieving over the past month this crap e-mail with a
 story attatched.Am a bit concerned how i am getting it and could you
 tell me how to stop it.

Yes.  Disable your mail system.

Serious, how do you expect any useful reply based on what you sent?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpvj2dnjZ6IR.pgp
Description: PGP signature


Re: FreeBSD 6.1 hangs at mountroot during bootup

2006-09-20 Thread Greg 'groggy' Lehey
On Thursday, 21 September 2006 at  7:43:44 +0300, Odhiambo Washington wrote:
 * On 20/09/06 16:47 -0700, Mike Peirson wrote:
 Hi all,
 First off, I'm new to FreeBSD and this mailinglist so I hope I am in the
 right place. Anyways, right now I am having some problems with FreeBSD
 booting up. I have tried to install 3 times now and keep getting the
 same error. When I try to boot into FreeBSD, this eventually comes up:

 Manual root filesystem specification:
   fstype:device Mount device using filesystem
 fstype
eg. ufs:da0s1a
   ? List valid disk boot devices
   empty line  abort manual input
 Mountroot

 This seems to be a prompt where I need to specify the location of the
 root partition, but the problem here is that it hangs or freezes and I
 cannot input any text.

 Any further details about your hardware specs in general?

This is a keyboard problem.  The background is that the boot process
uses a different keyboard driver from the final kernel, and that it's
much more finicky than the kernel version.  It seems to have got worse
in the last few years.  I've found that a USB keyboard will do better,
but YMMV.

 At first I thought it may be a result of FreeBSD not properly
 recognizing my HDD's geometry but I manually fixed that and it
 still is giving me this same issue. If anyone has had a similar
 problem or knows how to fix this I would greatly appreciate any
 help. I looked through the Handbook and googled this but I haven't
 found a solution yet.

The background for the *message* (not the apparent freeze) is that
your root file system can't be found.  This happens typically when you
change the device name.  For example, my situation is that I'm doing
development with a SATA disk drive and moving it from system to
system.  On my machine the root file system shows up as /dev/ad4s1a;
on the other machine it's /dev/ad0s1a.

It's probably worth putting in a PR about this problem.

Greg
--
See complete headers for address and phone numbers.


pgpT7FSM4RDug.pgp
Description: PGP signature


Re: Freebsd, Suse Linux dual booting

2006-09-16 Thread Greg 'groggy' Lehey
On Saturday, 16 September 2006 at 16:49:17 -0700, Dan Bikle wrote:
 FreeBSD and Linux people,

 I have a PC which I want to boot as windows, FreeBSD, and Suse 10.1 Linux.

 Currently, FreeBSD boot0 menu shows both Windows and FreeBSD as boot-able.

 The FreeBSD boot0 menu does not show the Linux OS (which I just installed).

 So, I did some reading of the FreeBSD handbook:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html

 It suggests that I have 2 ways to solve this problem:

 1. Configure the FreeBSD boot0 menu so that it can boot
 Windows, FreeBSD, and Linux

 Or,

 2. Replace The FreeBSD boot0 menu with  LILO Boot Manager

 I like option 1.

 Q1: How do I add Suse 10.1 Linux to the FreeBSD boot0 menu?

That depends on how you have laid out your Linux partition.  Given
that you have three systems on the disk, you have almost certainly put
Linux in a BIOS extended partition.  If that's the case, you can't use
the FreeBSD boot manager, because it doesn't handle extended
partitions.

 As for option 2,
 if I want to try LILO, I'll need to toss my FreeBSD boot0 menu in the trash.

You also have the option of GRUB, which is what I used in this
situation.  See http://www.lemis.com/grog/diary-apr2006.html#21 for
further details.

 Q2: If I cannot get LILO to boot FreeBSD, how do I boot get
 FreeBSD to boot and then how do I restore my old FreeBSD boot0 menu?

Save the very first sector of the disk somewhere:

  # dd if=/dev/ad0 of=bootsector count=1

To restore it, you'll need to somehow boot, of course (I'd recommend
FreesBIE (http://www.freesbie.org/), and copy it back:

  # dd if=bootsector of=/dev/ad0 count=1

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpz34x19QJOY.pgp
Description: PGP signature


System down, won't come up (was: Oh, no....)

2006-09-01 Thread Greg 'groggy' Lehey
On Friday,  1 September 2006 at 20:30:24 -0700, Gary Kline wrote:

   Well, gang, for about the only time in ten or eleven years, my
   FreeBSD has kernel crashed.   The kernel err is 18 I believe a
   int divide by zero.  I backup most stuff regularly but still have
   several megs of data files.   Can I fix this with a fixit disk?
   Or is all hope lost?

   gary

   Fatal trap 18: blah, blah

   Uptime 1sec

It sounds like you forgot to say it crashed and won't come up again.

There are dozens of reasons why this could happen.  What about booting
the backup kernel?  If that doesn't work either, you could have
hardware problems, or you could have corrupted system binaries.  In
the latter case, the fixit disk might help, but I'd certainly try the
backup kernel before the fixit disk: it's much easier.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp1xXzlaoTN2.pgp
Description: PGP signature


Re: Time zone isn't displaying right one with 'tzsetup'

2006-08-22 Thread Greg 'groggy' Lehey
On Tuesday, 22 August 2006 at 23:45:19 -0400, Robert Gabaree wrote:
 Hi,

 I tried to update my new server to the new time zone by running
 'tzsetup' and selecting Eastern.  However, instead of showing 11:45,
 it shows 6:45 - 5 hours later.  I even tried to do a 'cp /usr/share/
 zoneinfo/EST5EDT /etc/localtime but it didn't help.  What can I do
 to fix it?

That depends on whether you're running ntpd or not.  If you are, your
best bet is to stop ntpd and run ntpdate, specifying the same server,
then restart ntpd.

If you're not running ntpd, just set the date:

  date 08232355

See the man page for the format.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpe5PUzHQALB.pgp
Description: PGP signature


Re: nforce audio problem

2006-08-20 Thread Greg 'groggy' Lehey
On Sunday, 20 August 2006 at 10:47:17 +, Brad Kowalczyk wrote:
 Greg 'groggy' Lehey wrote:
 On Sunday, 20 August 2006 at  4:44:06 +, Brad Kowalczyk wrote:
 Seems I have the correct driver loaded and the device exists but no
 sound...

 It would be good to say which one (kldstat output), but from below I
 expect you'll have:

 ...

 Here's my kldstat output:

 (all drivers loaded)

 I reallise I don't need all those other sound drivers, but can't
 seem tp find where to disable them...

That depends on how you enabled them :-) You should have something
like this in /var/run/dmesg.boot:

  pcm0: nVidia nForce2 port 0xe400-0xe4ff,0xe800-0xe87f mem 
0xeb00-0xeb000fff irq 21 at device 6.0 on pci0
  pcm0: Avance Logic ALC655 AC97 Codec

In this case, you should add to your /boot/loader.conf (creating the
file if it doesn't exist):

  snd_ich_load=YES

 It might also help if you can connect the pcm device to a different
 IRQ from the nv device; but that depends on your motherboard BIOS.

 I'm running 5.4 STABLE. I don't have much experience on FreeBSD, how do
 I change the IRQ for a device?

As I say,

 that depends on your motherboard BIOS.

I'd look in the PCI device configuration first.

It might also help to move to 6.1.  I had problems with sound on this
board until I did.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpMUFsB5IO9w.pgp
Description: PGP signature


Re: Ouch! write failed, file system is full

2006-08-19 Thread Greg 'groggy' Lehey
On Saturday, 19 August 2006 at 18:55:02 -0500, W. D. wrote:
 How do I get out of this mess?

 gzip: stdout: No space left on device
 Broken pipe

 df
 Filesystem  1K-blocks UsedAvail Capacity  Mounted on
 /dev/da0s1a 9918398644-7395   108%/

 I tried to do a backup:

 cd /
 mkdir archive
 tar -zcvpf /archive/full-backup-`date '+%Y-%B-%d'`.tar.gz  --directory / 
 --exclude=mnt --exclude=proc --exclude=archive --exclude=cache .

 What did I do wrong, and how to fix it and do it right?

Without knowing what your file system hierarchy is, it's a very good
bet that you've written your backup archive to the root file system.
This could happen even if you have a file system /archive and you
haven't mounted it, and it won't go away if you do mount it; you'll
have to remove the partial archive first.

That's a *very* small root file system, BTW.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpoSj3IoBaPy.pgp
Description: PGP signature


Re: nforce audio problem

2006-08-19 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Computer output wrapped.

On Sunday, 20 August 2006 at  4:44:06 +, Brad Kowalczyk wrote:
 Hi,

 Just wondering if anyone has any experience getting sound working for an
 nforce1 motherboard?

Heh.  Just what I've been playing with right now.

 Seems I have the correct driver loaded and the device exists but no
 sound...

It would be good to say which one (kldstat output), but from below I
expect you'll have:

Id Refs AddressSize Name
 61 0xc5577000 5000 snd_ich.ko
 71 0xc557c000 1d000sound.ko

 Some info:

 # pciconf -vl

 snip

 [EMAIL PROTECTED]:5:0: class=0x040100 card=0x37301462 chip=0x01b010de rev=0xc2
 hdr=0x00
vendor   = 'NVIDIA Corporation'
device   = 'nForce MCP Audio Processing Unit (Dolby Digital)'
class= multimedia
subclass = audio
 [EMAIL PROTECTED]:6:0:  class=0x040100 card=0x37301462 chip=0x01b110de 
 rev=0xc2
 hdr=0x00
vendor   = 'NVIDIA Corporation'
device   = 'nForce MCP Audio Codec Interface'
class= multimedia
subclass = audio

I have:

[EMAIL PROTECTED]:6:0:  class=0x040100 card=0x57001462 chip=0x006a10de rev=0xa1 
hdr=0x00
vendor   = 'NVIDIA Corporation'
device   = 'nForce MCP-T Audio Codec Interface'
class= multimedia
subclass = audio

I don't have the APU.

 # dmesg | grep pcm
 pcm0: nVidia nForce port 0xe400-0xe47f,0xe000-0xe0ff mem 
 0xdc18-0xdc180fff irq 16 at device 6.0 on pci0
 pcm0: Analog Devices AD1885 AC97 Codec
 Interrupt storm detected on irq16: pcm0 nv0++; throttling interrupt source

pcm0: nVidia nForce2 port 0xe400-0xe4ff,0xe800-0xe87f mem 
0xe400-0xe4000fff irq 21 at device 6.0 on pci0
pcm0: Avance Logic ALC655 AC97 Codec

Looks pretty much the same, except that the chipset is slightly
different.  The important message is the last one: Interrupt storm.
That's the problem; I don't have a real answer, but what version of
FreeBSD are you running?  It might also help if you can connect the
pcm device to a different IRQ from the nv device; but that depends on
your motherboard BIOS.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpmnI9AZR0Tz.pgp
Description: PGP signature


Re: Source Code Navigation

2006-08-13 Thread Greg 'groggy' Lehey
On Sunday, 13 August 2006 at  7:38:58 +, S.Mohideen wrote:
 All,
What tools your people use apart from CTAGS/cscope to navigate vast
 source code base. Im using ctags in gvim. Want to know any better tool
 which you may be using.

There's not really much choice.  I'm currently playing with GNU global
(http://www.gnu.org/software/global/, available in
/usr/ports/devel/global), which so far seems to be a little better
than etags; I don't use ctags.

http://www.lemis.com/grog/software/source-code-navigation.html has
some somewhat out-of-date info on the subject.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpsU1YWmU83d.pgp
Description: PGP signature


Re: Source Code Navigation

2006-08-13 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Upside-down reply, gratuitous empty lines removed.

On Sunday, 13 August 2006 at 15:42:13 +, S.Mohideen wrote:
 Greg 'groggy' Lehey wrote:
 On Sunday, 13 August 2006 at  7:38:58 +, S.Mohideen wrote:
 What tools your people use apart from CTAGS/cscope to navigate
 vast source code base. Im using ctags in gvim. Want to know any
 better tool which you may be using.

 There's not really much choice.  I'm currently playing with GNU global
 (http://www.gnu.org/software/global/, available in
 /usr/ports/devel/global), which so far seems to be a little better
 than etags; I don't use ctags.

 http://www.lemis.com/grog/software/source-code-navigation.html has
 some somewhat out-of-date info on the subject.

 May be a foolish question to ask. What editor gvim/emacs plays
 well with global based upon your experience.

Emacs.

But that's my experience.  global is supposed to be independent of
editors, and it also has a command-line interface.  You would have
seen this if you had followed the links I gave.

Greg
--
When replying to this message, please take care not to mutilate the
original text.
For more information, see http://www.lemis.com/email.html
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgpjBwRQVaU2u.pgp
Description: PGP signature


Re: freebsd-questions Digest, Vol 146, Issue 21

2006-08-13 Thread Greg 'groggy' Lehey
On Monday, 14 August 2006 at 10:13:50 +0700, rithy4u- CEO wrote:
 I have one DNS Server running Bind. I always got permission denied on my
 server screen why?

Because something's not the way you want it.

Seriously, how do you expect anybody to give you an answer based on
that description?  I don't even know what you mean by server screen,
or whether the permission denied has anything to do with DNS.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp3jWCvgwTKg.pgp
Description: PGP signature


Re: 17 or 19

2006-08-03 Thread Greg 'groggy' Lehey
On Wednesday,  2 August 2006 at 21:00:43 -0500, David Kelly wrote:

 On Aug 2, 2006, at 6:55 PM, Nikolas Britton wrote:

 Me? I'd go for two monster 22 inch CRTs, or three 19 inch CRTs.

 So lacking in imagination we are. Don't settle for anything less than
 30
 http://www.apple.com/displays/

The real question is resolution, not size.  Even the 30 display has a
resolution of only 2560x1600.  A reasonable 19 CRT will do 1600x1200,
or nearly 50% of that resolution.  If you compare the prices ($2499
for the Apple display, about $130 for the 19 monitor), and recall
that the original poster didn't want to spend much money, this really
isn't an option.

More to the point, though, it's not until you get to the 23 screen
that you get the same resolution as my Dell Inspiron 6000 laptop has
(1920x1200).  At $1299, it costs nearly as much as the laptop.

Last month I was in this situation myself.  I bought 2 new 19
monitors (BenQ P992), for about USD 130 a piece.  I'm running them at
1600x1200, and they're surprisingly good.  It could be a long time
before I find an LCD with that resolution at even close to a
comparable price.  On the other hand, if HDTV ever comes off, we can
expect to see a lot of 1920x1080 or 1920x1200 displays at reasonable
prices.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpwszJQbX4NJ.pgp
Description: PGP signature


Re: Mysql from ports

2006-08-03 Thread Greg 'groggy' Lehey
On Thursday,  3 August 2006 at 12:39:00 -0400, Ron Clark wrote:

OK, I rebuilt the box again and cvsuped my ports and got the machi= ne
back to 5.5 STABLE. When I tried to install mysql server 5.1, I get
the = following:

===   Running ldconfig
/sbin/ldconfig -m /usr/local/lib/mysql
===   Ins= talling ldconfig configuration file
cannot create /usr/local/libdata/l= dconfig/mysql: No such file or
directory
*** Error code 2
S= top in /usr/ports/databases/mysql51-client.
*** Error code 1
Stop in /usr/ports/databases/mysql51-server.

Is there any reason wh= y the install cannot create this directory? I
am installing this as root. = /p
...

 ___

 [EMAIL PROTECTED] mailing list

 [2]Ma= ilScanner has detected a possible fraud attempt from ..
claiming to be
http://lists.freebsd.org/mailman/listinfo/freebsd-questions

 To unsubscribe, send any mail to [3]freebsd-questions-   [EMAIL PROTECTED]

 

 References

1. 3Djavascript:top.opencompose('freebsd-questions@freebsd.org','',''   
 2. file://localhost/tmp/3D../parse.pl?redirect=http%3A%2F%2Flists.free   3. 
 3Djavascript:top.opencompos___

This message is so messed up that I can't tell what problems come from
your MUA and what is part of your original problem with MySQL.  Can
you try resending cleanly?

Thaks
Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpQlI1H8zW71.pgp
Description: PGP signature


Re: Changing user password from command line

2006-08-02 Thread Greg 'groggy' Lehey
On Wednesday,  2 August 2006 at 16:48:48 +0700, Mike Fern wrote:
 Dear all,
 Does anybody know a program which is able to change user password from
 command line?

Of course.  I thought it was the only way.

   $ man -k password
   passwd(1), yppasswd(1)   - modify a user's password

From that man page:

   HISTORY
A passwd command appeared in Version 6 ATT UNIX.

By comparison, pw(8) is a newcomer.  In fact, the passwd command was
in the Third Edition of Research UNIX, back in 1973.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp5G59PoWghy.pgp
Description: PGP signature


Re: Changing user password from command line

2006-08-02 Thread Greg 'groggy' Lehey
On Wednesday,  2 August 2006 at 15:53:07 +0300, Simon Phoenix wrote:
 On Wednesday 02 August 2006 12:48, Mike Fern wrote:
 Dear all,
 Does anybody know a program which is able to change user password from
 command line?
 We can add a user using single line pw (pw useradd), but i need
 ability to set the password also, instead of old command passwd user
 and then writing to stdin.

 man pw

 Look for -h option description.

The advantage of using passwd(1) is that it is available on all
UNIX-like systems (pw(8) isn't), and that it's easier to use.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpnS57kbPgut.pgp
Description: PGP signature


Re: Implementing NTFS-3g into FreeBSD

2006-08-01 Thread Greg 'groggy' Lehey
On Wednesday,  2 August 2006 at 11:43:53 +1000, Dan Warne wrote:
 On  Wednesday, August 02, 2006 11:40 AM, Juha Saarinen wrote:
 On 8/2/06, Warne, Dan wrote:

 One of my journalists recently wrote an interesting story on the
 NTFS-3g project that is promising a fully OSS solution for reading
 -and writing- to NTFS partitions.

 I am personally a Mac OS X user and I don't have a Linux/Unix
 background so I wonder if you can advise: how viable would it be to
 implement NTFS-3g into FreeBSD?

 More specifically I'm wondering whether Apple could easily implement
 it into Darwin, therefore providing NTFS write support for OS X.

This is an issue that has fallen under the table here, rightly so.
Since we're primarily FreeBSD users, it's difficult for us to express
a useful opinion on the viability under MacOS X.  My guess, though,
for many of the reasons I mention below, is that the answer is yes.

 You're probably aware of the desirability to have non GPL virus
 code in FreeBSD, which makes the whole thing a lot harder to do.

It's true that the FreeBSD project likes to keep GPL software
separate, at least partially out of respect for the license
conditions.  There is also a small proportion of the project (myself
definitely excluded) that think that GNU is Bad.

But there's plenty of GPL software in the FreeBSD system (look at the
toolchain for the probably most obvious example).  Being GPL does not
automatically exclude software from FreeBSD, though it's more likely
to relegate it to the Ports Collection.  But maybe it's there already?
A brief 'locate ntfs' shows that it is, in the sysutils/ntfsprogs
port.  From the package description:

  The goals of this project are: create a new Linux kernel driver for the NTFS
  file system (v1.2 and later 3.0), user space utilities (e.g. format, ntfs
  check, etc.) and a library to avoid code duplication and provide access to
  NTFS to other GPLed programs.

  WWW: http://www.linux-ntfs.org/

  - Florent Thoumie
  [EMAIL PROTECTED]

This port isn't new; I've used one of its utilities at the beginning
of last year (see http://www.lemis.com/grog/diary-jan2005.html#19) to
resize an NTFS file system.  I don't know how well the NTFS access
works, but one of the build options is to use FUSE, so it must be
present.  The port is at version 1.13.0, while the web site states
that version 1.13.1 was released on 21 June.  I'd expect to see an
update Real Soon Now.

 However, there's this project:

 http://fuse4bsd.creo.hu/

Yes, this is the one that NTFS-3g is built upon.

 Currently, if you want to use a high capacity external drive for
 read/write across Windows and OS X machines, your only option is
 FAT32, and neither OS X nor Windows can format drives with FAT32
 above a certain partition size. (Apparently FAT32 on Linux can get
 around the Microsoft size limitation, but that's not a very
 practical option for an OS X user).

Things are a little different for FreeBSD (and better, it seems from
your article
(http://www.apcstart.com/site/amills/2006/08/870/linux-to-get-reliable-ntfs-write-support).
There is already read/write support for NTFS, and I can confirm that
it works for me.  Still, it's clear that improvements are possible.
From the man page:

  WRITING
 There is limited writing ability.  Limitations: file must be nonresident
 and must not contain any sparces (uninitialized areas); compressed files
 are also not supported.  The file name must not contain multibyte charac-
 ters.

I don't understand the term nonresident here; but I can write NTFS
from my FreeBSD system.  The other restrictions sound like they could
be fixed if anybody cared.

So: will the FreeBSD project move completely to NTFS-3g?  I'm pretty
sure the answer is no.  We already have something that works well
enough.  There's also a feeling in the project, which I share, that
userland file systems like FUSE are great for prototyping, but second
rate for production systems.  Your test results tend to confirm that.
And finally, we have those anti-GNU bigots to contend with.

Greg
--
See complete headers for address and phone numbers.


pgptVk87mpZqQ.pgp
Description: PGP signature


Re: MySQL Signal 10 on FreeBSD 6.0-RELEASE-P6

2006-07-31 Thread Greg 'groggy' Lehey
On Monday, 31 July 2006 at 11:35:04 -0400, Erik Kristensen wrote:

 I have an interesting issue with FreeBSD 6.0 and MySQL 5.0. Part of
 my problem has been discussed serveral times in the past on other
 mailing lists and it seems there has been fixes for older versions of
 MySQL.

From what you say here, there's no reason to believe that your problem
has been mentioned at all.

 The MySQL server is currently receiving a SIGNAL 10 about once an
 hour, which is causing many problems with the innodb databases that
 we have running on this server.

Signal 10 is SIGBUS (bus error), an error detected by the hardware.
The most frequent causes are bugs in the hardware and bugs in the
software.  The only way to find out what causes the problem is to
investigate further.  Never make the assumption that any two SIGBUS
problems are related.  Still, SIGBUS is interesting, because just
about every such error in FreeBSD is reported as a SIGSEGV (signal
11).

 I am running FreeBSD 6.0-RELEASE-p6 and MySQL 5.0.22.

 In all the lists I have read regarding FreeBSD, MySQL and signal 10,
 it all seems to happen with version 6.0 and the 4.1.x series of
 MySQL.

I can't confirm that at all.  I've been chasing a number of very
specific problems for some time, and as far as I can tell, there are
very few cases where the server crashes.  One case that I'm
investigating is BUG#12251 (http://bugs.mysql.com/bug.php?id=12251).
If any of this looks familiar to you, please let me know.

 Any help in this area would be greatly appreciate as this is our
 production server having issues. We are a small company with limited
 resources.

A start would be the documented method to track down crashes:
http://dev.mysql.com/doc/refman/5.0/en/debugging-server.html gives
details.  In particular, the contents of the error log will give you
some idea, though probably you'll need a debugger to get a usable
backtrace.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpBIVISfytCP.pgp
Description: PGP signature


Linux/FreeBSD NFS incompatibilities (was: Connection refusal for an NFS mount)

2006-07-20 Thread Greg 'groggy' Lehey
On Thursday, 20 July 2006 at 17:16:16 +0200, David Landgren wrote:
 List,

 On an old Redhat box (address 172.17.0.18), I'm trying to mount an NFS
 export from a FreeBSD (5.2.1-RELEASE) box. Both machines are on the same
 network segment, and neither have any onboard firewalling rules.

FWIW, there seems to be some compatibility issue here that I've looked
at from time to time, but which I haven't been able to resolve.  In a
similar network, FreeBSD machines can cross-mount file systems without
problems, but on occasion *some* file systems either can't be mounted
from Linux, require a retry to mount, or freeze once mounted.  I've
done some network tracing that suggests that the FreeBSD NFS server is
not responding to the Linux box, though it's not clear yet what.  Any
insight is welcome.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpo4szDmK4Ve.pgp
Description: PGP signature


Re: Creating vinum RAID 1 on place

2006-07-09 Thread Greg 'groggy' Lehey
On Friday,  7 July 2006 at 11:29:46 +0700, Olivier Nicole wrote:
 Hi,

 Is there a trick on the way to build a vinum RAID 1 without backup-in
 the data first?

Sometimes.  It's described in The Complete FreeBSD, page 236 or so.
See http://www.lemis.com/grog/Documentation/CFBSD/ for how to get the
book.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp9bRktZRlpn.pgp
Description: PGP signature


Re: Root crontab for backup

2006-07-03 Thread Greg 'groggy' Lehey
On Monday,  3 July 2006 at  6:57:27 +0100, Xian wrote:
 On Monday 03 July 2006 00:29, Greg 'groggy' Lehey wrote:
 It's a good idea to leave /etc/periodic as it is; it makes updating
 easier.  I personally put this sort of thing in /etc/crontab, though
 arguably (also because of upgrades) root's crontab is a better place.

 You can use /usr/ocal/etc/periodic ok

It's a good idea to leave /etc/periodic as it is; it makes updating
easier.

But I think I said that.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpHJIiNb09Eb.pgp
Description: PGP signature


Re: Root crontab for backup

2006-07-02 Thread Greg 'groggy' Lehey
On Saturday,  1 July 2006 at 15:55:32 +0300, Kostas Blekos wrote:

  Is it a bad idea to use root's crontab for backup scripts?

I can't see why.

 Is it better to put those scripts in periodic/... ?

It's a good idea to leave /etc/periodic as it is; it makes updating
easier.  I personally put this sort of thing in /etc/crontab, though
arguably (also because of upgrades) root's crontab is a better place.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpG5uk9O23TU.pgp
Description: PGP signature


Re: speed of PPPoE

2006-07-02 Thread Greg 'groggy' Lehey
On Monday,  3 July 2006 at 11:11:58 +0800, Benny Au wrote:
 Hello,

 The speed of PPPoE in FreeBSD is slower than in Windows XP. and
 sometimes I have to wait for a moment to visit the same web site
 again. It won't disconnect but it works not stably. Could you tell me
 how to configure the ppp and let it run fast?
 Thanks!

I'd be very surprised if this were a FreeBSD issue.  You might like to
trace the conenction and see if there are any link-level retries;
anything beyond that has nothing to do with the driver.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp0eRfyVhLOv.pgp
Description: PGP signature


Re: Frustration

2006-06-29 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Single line paragraphs.

On Thursday, 29 June 2006 at 22:51:00 -0400, Fernando Pinguelo wrote:
 I am writing to you because I need to vent. I have tried installing
 version 5.3 of FreeBSD on a Pentium III machine. I thought I
 succeeded in doing it so, but when I tried to build xOrg I realized
 that I did not have all the ports installed and that some other
 dependencies were also missing. I realized then that the
 installation had not been as successful as I first thought.

 So, I tried to re-install the ports from the CD, since I didn't have
 an Internet connection to that machine. Well, I kept getting more and
 more hardware/software errors. I then tried to upgrade FreeBSD to
 version 6.1. And that was what I did; I tried.

If you have hardware problems, you'll run into trouble installing
anything.

 Well, I kept getting more errors, as usual. The more I tried to
 install/reinstall/upgrade/fix FreeBSD, the more I was realizing that
 anything that had to do with FreeBSD that could go wrond would go
 wrong, be it the software installation or hardware behavior. The
 amount of work and headache that I have been experiencing to move a
 single 'inch' towards a working Unix environment has been enourmously
 frustating. The worst part of it all is that I have not accomplished
 anything tangible at all.

 I think now it is time for this boy to abandon the 'Unix' bandwagon
 for good and move back to MS Windows. At least I will be able to
 concentrate on doing real productive work, instead of dealing with
 temperamental hardware and software every time I touch the PC.

You really can't blame FreeBSD for temperamental hardware.  And if
you're used to Microosft, of course it will seem a little strange at
first.  But this mailing list isn't for venting your spleen, it's for
getting help.  Go and read The Complete FreeBSD
(http://grog.evilcode.net/book.pdf.gz), then if you still have
problems, report them here with details of what went wrong.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpm9HFluPp4C.pgp
Description: PGP signature


Re: is vinum in FBSD 6.0?

2006-06-04 Thread Greg 'groggy' Lehey
On Friday,  2 June 2006 at  5:04:15 -0500, Kevin Kinsey wrote:
 Travis H. wrote:

 Is there some kind of IP lawsuit over vinum or something?

 If so, it's never been mentioned ;-)

It has now, but it's the first time I've heard of it.

 It's a valid question, but I don't think Greg's that kind of guy.
 As for Veritas, I *think* they had some sort of agreement (re: the
 name), (but I could be blowing smoke there); IIRC, vinum(8) was
 patterned after the idea of the Veritas software, and not in any
 way a copy or clone of it

In fact, I never asked VERITAS.  I only modelled Vinum on VxVM,
anyway; there are big differences.

In any case, there was one IP issue at the very beginning: I developed
the RAID-5 functionality under contract with Cybernet Inc., and part
of that agreement was that I would not release it until 18 months
after it became functional.  That time has long passed, and RAID-5 has
of course been released.  There have never been any conflicts arising
from IP issues, neither with Cybernet, VERITAS, myself or anybody
else.

 As others have stated, vinum has been replaced by gvinum.  Greg
 had stated in the past that the GEOM layer's introduction had badly
 broken vinum, so I'm guessing that vinum was removed so that no one
 would attempt to use it on a newer system and get unexpected
 results.

The original intention was to modify Vinum to work with GEOM.  Lukas
did the work, and he chose to rewrite significant parts of it, and
also to rename it.  I disagreed with both of these decisions (see the
problems they've caused, like what's being discussed here), but he's
the man, and he gets to call the shots.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpjzW7IHXfWa.pgp
Description: PGP signature


Re: MySQL port won't understand SSL configuration directives

2006-06-04 Thread Greg 'groggy' Lehey
On Sunday,  4 June 2006 at 15:07:39 +, Matt Bostock wrote:
 Hello,

 I compiled the MySQL port with WITH_OPENSSL=yes, but it won't start as it
 complains about the SSL directives in /etc/my.cnf;

 [ERROR] /usr/local/libexec/mysqld: unknown variable 'ssl-ca=/x'

 Any help is much appreciated,

The FreeBSD ports of MySQL don't install a my.cnf file; if they did,
it would be in /usr/local/etc/, not /etc.  So it looks as if this is
something you've done.  The /x refers to a file name, of
course.  It's barely possible that the error message is wrong and that
it's really saying can't find file /x.  Does the file exist?

Which version of MySQL?  This facility was introduced with release 4.0
of MySQL.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpexbhBAxpgr.pgp
Description: PGP signature


Re: Install FreeBSD on Dell Inspiraon E1505/ 6400 laptop

2006-05-21 Thread Greg 'groggy' Lehey
On Sunday, 21 May 2006 at 17:25:38 -0700, Sadashiv Kulthe wrote:
 Helllo,

 I want to Install Linux on Dell Inspiraon E1505/ 6400 laptop can
 anyone tell me is it compatitable?

As others have observed, Linux and FreeBSD are two different operating
systems.  You certainly need to decide which (and if it's Linux, which
version of Linux).

 It has following configuration

 1) Inspiron E1505, Intel Core Duoprocessor T2300 (2MB/1.66GHz/667MHz)

I've never heard a model number like E1505 before.  Is this different
from the standard Inspiron 6400?

 2) 15.4 Inch Wide-screen WXGA Display for Inspiron 6400/E150

I don't know what WXGA means; my Inspiron 6100 has a 1920x1200
display.

 3) 1GB, DDR2, 533MHz 2 Dimm for Inspiron 6400/E1505
 4) Intel Integrated Graphics Media Accelerator 950 GM

My machine has an ATI Radeon chipset, and I can install X on it,
though I still have trouble with external projectors.  I don't expect
any particular problems with the Intel chip set.

 5) 80GB 5400RPM SATA Hard Drive for Inspiron 6400/E1505
 6) Integrated 10/100 Network Cardand Modem, for Inspiron

Probably Broadcom, like the other Inspirons.

 7) Intel PRO/Wireless 3945 802.11a/g Mini Card (54Mbps), for for Inspiron
 6400/E1505

Probably the same as on my machine.  You'll need to install the
iwicontrol port and download the card firmware from the net.  I didn't
get mine to work properly with older releases than 6.1.

 8) Dell Wireless 350 Bluetooth Module (2.0+EDR) for Inspiron
 6400/E1505

I have no experience with this.

 9) 8X DVD+/-RW Drive for Inspiron 6400/E1505

 10) Microsoft Windows XP Media Center Edition 2005, English without Media,
 for Inspiron

That won't work with FreeBSD or Linux.

Basically, you should have no difficulty installing both FreeBSD and
Linux on the machine; that's what I've done.  Older versions of X,
including those delivered with some current Linux distributions, have
difficulty recognizing the screen format, though they can be
configured to handle it.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpZkTnuc6NDu.pgp
Description: PGP signature


The logo discussion

2006-05-17 Thread Greg 'groggy' Lehey
I've just fought my way through the logo discussion of the past few
days.  Here's my impression in a nutshell:

- I don't like the logo either.
- I don't spend all my time bitching about it.
- I don't discuss it in violation of list charter on a mailing list
  intended for technical questions.
- I don't understand why people who don't contribute to the project
  think they have a right to choose a project logo.
- I used to answer many questions on this mailing list.  Recently
  people have been hijacking it for purposes of penis size
  comparison.  This doesn't make me feel very inclined to answer
  messages on the list, and it shows.

So, people, how about sticking to the charter and discussing technical
things on this list?  If you want to discuss the logo, join the
advocacy@ mailing list and discuss things there, where you're not
annoying the majority of the subscribers.  Then I and others like me
might find more time to answer questions.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp3n79uPFxxe.pgp
Description: PGP signature


Re: Find the Date a Port Was Installed

2006-05-17 Thread Greg 'groggy' Lehey
On Wednesday, 17 May 2006 at 17:40:24 -0500, Dan Nelson wrote:
 In the last episode (May 17), Jeff Cross said:
 I have recently upgraded to RELENG_6_1 and have attempted a portupgrade
 on all ports since the upgrade so that new libs, etc. are being used
 with the installed ports.  When it *finally* finished I saw that 9 ports
 were not upgraded due to various reasons but because I did this from the
 command line I couldn't scroll up to see what 9 ports failed.

 Is it possible to determine which ports weren't upgraded so I can deal
 with them manually or is it possible to show the install date for all
 ports?  If I can pull the install date for all of them I can see which
 ones are older than today and deal with them individually. I looked at
 the man page for pkg_info to see if there was anything I could do there
 to list the installed ports along with an installation date but I didn't
 see anything.

 I use cd /var/db/pkg ; ls -l */+COMMENT.  Add a -t to sort by date.

I find that ls -lrt /var/db/pkg is even more useful: it shows the
packages in order of installation, so you can see which dependencies
were installed as well.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpLGpqEVI6sF.pgp
Description: PGP signature


Re: Multiple monitors with Dell Latitude D810

2006-05-16 Thread Greg 'groggy' Lehey
On Tuesday, 16 May 2006 at 10:02:07 -0400, Matt Juszczak wrote:
 Hi all,

 I'm trying to use a Dell D810 with xorg and multiple monitors.  The two
 monitors I have are the internal laptop screen, and an external Dell
 monitor hooked up through the docking station.

 Windows was able to display content on both monitors, so I'm sure there's
 a way to do it with xorg and freebsd.  However, I am not sure where to
 start because of the fact that I'm using a docking station

I'm having similar problems with an Inspiron 6000.  It can provide
output to the monitor, but I haven't found any way to persuade X.org
to use the scan rates I specify.  This is a Radeon card.  pciconf -vl
says:

[EMAIL PROTECTED]:0:0: class=0x03 card=0x20031028 chip=0x54601002 rev=0x00 
hdr=0x00
vendor   = 'ATI Technologies Inc'
device   = 'Mobility Radeon X300'
class= display
subclass = VGA

Is this anything like what you have?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpzw4PqvsL9Y.pgp
Description: PGP signature


Re: The Complete FreeBSD: errata and addenda

2006-05-15 Thread Greg 'groggy' Lehey
On Sunday,  7 May 2006 at 23:39:10 -0700, Eric Dan wrote:
 * Greg 'groggy' Lehey ([EMAIL PROTECTED]) wrote:
 On Saturday,  6 May 2006 at 10:22:11 +0200, Kyrre Nygard wrote:

 I have found a problem.

 I find the design / typesetting to be very unprofessional.
 It looks like a teenager wrote it, in Microsoft Word, but no offense.

 ...

 Let us know what you think!

 I think you're a troll.

 i think the book is great, easy to read, helped me a lot and also
 saved me a lot of time.  I hope you're gonna eventually write a new
 edition that covers 6.* releases.  I really liked the network
 section in your book. Compare that to the one in Running Linux
 Edition 5!

Thanks for your support, but please don't feed the troll.  I hadn't
noticed before that he's from Norway, the home of the trolls :-)

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers


pgpJh2IH3fkN2.pgp
Description: PGP signature


In search of volunteers (was: The Complete FreeBSD: errata and addenda)

2006-05-15 Thread Greg 'groggy' Lehey
On Monday,  8 May 2006 at  9:33:46 -0400, Jerry McAllister wrote:

 i think the book is great, easy to read, helped me a lot and also
 saved me a lot of time.  I hope you're gonna eventually write a new
 edition that covers 6.* releases.

 Actually, by this time, I am hoping for a jump ahead that covers
 7.xx as well as changes in 6.xx.  I was actually looking for the
 next edition to buy another when the announcement of putting it out
 free for download came out.

One of my hopes in releasing the sources was that some people would
volunteer to update the book.  I'm no longer able to do it by myself.
If you're interested, please contact me privately.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers


pgpZ5ImefcKqg.pgp
Description: PGP signature


Re: 1 cpu + 2 monitors + 2 keybord/mouse is it possible

2006-05-12 Thread Greg 'groggy' Lehey
On Friday, 12 May 2006 at 18:44:01 +0400, Igor Robul wrote:
 On Fri, May 12, 2006 at 10:35:43AM -0400, Bakki Kudva wrote:
 How about using x-terminals on a network? I remember seeing them in
 the surplus market for $15 recently. After all X is designed to be a
 network gui.
 X-Terminals may
  1) Not work good with non-English languages
  2) Have bad (80 Hz) refresh rate

 Also, for example, I'm not sure I could find any X-Terminal for $15 or
 even $50 on any market in any country.

I'm sure you'll find X terminals cheaply from time to time.  But
in addition to the problems you mention, they're frequently slow,
especially by today's standards.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers


pgp9FJ917SyN6.pgp
Description: PGP signature


Re: The Complete FreeBSD: errata and addenda

2006-05-06 Thread Greg 'groggy' Lehey
On Saturday,  6 May 2006 at 10:22:11 +0200, Kyrre Nygard wrote:

 I have found a problem.

 I find the design / typesetting to be very unprofessional.
 It looks like a teenager wrote it, in Microsoft Word, but no offense.

 You just used the wrong typesetting system.

 Please check out the LaTeX Project as well as the Memoir class.

 It will do the typesetting for you, and your book will become a lot
 more comfortable for all of us to read.

 Let us know what you think!

I think you're a troll.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers


pgpCPQnhA4tVW.pgp
Description: PGP signature


Re: dd issues

2006-05-01 Thread Greg 'groggy' Lehey
On Monday,  1 May 2006 at 19:44:00 -0400, Jim Stapleton wrote:
 I'm trying to back up some of my software, and I'm having some
 problems, I found something in the archives specifying the need to set
 a block size of 2k or greater. This makes a backup (I've not tested it
 yet).

 My questions are:
 (1) Why does this work?

Why shouldn't it?

 (2) Is it possible that not using the default/found block size will
 cause issues?

Yes.

Without more background in what you're trying to do (you don't even
say what backup program or what medium you're trying to back up to),
or what your concerns are, it's difficult to answer this question.
There are no specific issues with block size on most archivers, but in
general large block sizes (64 kB or larger) will give better
performance.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgptR7e7CVpJY.pgp
Description: PGP signature


Re: Installing Services at University of South Australia

2006-05-01 Thread Greg 'groggy' Lehey
On Monday,  1 May 2006 at 17:27:03 +0930, Harish Sukumar wrote:

 I have recently deployed FreeBSD on couple of machines at the University
 and I am not quite familiar with *nix

You should talk to Ben Close (copied).

 So can you please provide me with some documents that I can use to
 configure services like samba (As PDC), DNS,DHCP, LDAP and So
 on.

Start with the handbook
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html)
or The Complete FreeBSD
(http://.lemis.com/grog/Documentation/CFBSD/).  If you have
specific questions, look for them on the web.  If you don't find
anything, ask here again.

Greg
--
See complete headers for address and phone numbers.


pgpOaekBf9Dxv.pgp
Description: PGP signature


Re: dd issues

2006-05-01 Thread Greg 'groggy' Lehey
On Monday,  1 May 2006 at 21:21:26 -0400, Jim Stapleton wrote:
 On 5/1/06, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:
 Without more background in what you're trying to do (you don't even
 say what backup program or what medium you're trying to back up to),
 or what your concerns are, it's difficult to answer this question.
 There are no specific issues with block size on most archivers, but in
 general large block sizes (64 kB or larger) will give better
 performance.

 program is dd, source medium is CD, destination medium is hard
 drive.

That doesn't sound like a backup to me.  dd isn't a backup program,
and CDs are not normally things you back up.  But they have a sector
size of 2 kB, so you will need to transfer in multiples of 2 kB.  As I
said above, 64 kB or larger is a good idea.  Use the conv=sync
operation to transfer the last incomplete block correctly.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgprpbqJGg5wH.pgp
Description: PGP signature


Re: Determining whether or not a SCSI disk is in use

2006-04-14 Thread Greg 'groggy' Lehey
On Friday, 14 April 2006 at  1:27:18 -0700, Garrett Cooper wrote:
 Hello again list,
Just wondering if there was any way where I could possibly tie into
 the kernel or do something where I could determine whether or not a disk
 is currently 'in use'.
Problem: I'm trying to spin down my disks periodically via a cronjob
 to save energy, reduce noise, and heat, and I don't want my disk to be
 spun down if it is currently in use. I do listen to music and watch
 videos for extended periods of time, so I'd rather not cause undue
 stress to the hard disks and cause the program I'm using on another
 machine to choke and die.

This all depends on what you mean by in use.  Do you mean recently
accessed?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpYmfxOtkhOZ.pgp
Description: PGP signature


Re: BST instead of GMT

2006-04-09 Thread Greg 'groggy' Lehey
On Friday,  7 April 2006 at 11:34:29 +0100, Philip Radford wrote:
 On  Friday, April 07, 2006 12:52 AM, Greg 'groggy' Lehey wrote:
 [text omitted]

 Thanks for your comments. Both /etc/localtime and
 /usr/share/zoneinfo/Europe/London are the same.

 I have since created /etc/localtime as a symbolic link to
 /usr/share/zoneinfo/Europe/London but still only shows GMT when I enter
 date.

Yes, that won't make any difference.

 The only thing I haven't mentioned to date is that I use bash as my
 shell if that is an issue.

No, I use bash too.

 Also there was a lot of talk while researching on google about a TZ
 environment variable. Should I have this set as I do not have one at
 the moment.

You shouldn't set one.  But what happens with these commands?

  $ date
  $ TZ=Europe/London date

It could be that your clock is just set incorrectly.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0RamVuOi2z.pgp
Description: PGP signature


Re: BST instead of GMT

2006-04-06 Thread Greg 'groggy' Lehey
On Thursday,  6 April 2006 at 10:58:10 +0100, Philip Radford wrote:
 Hi all,

 I am looking for a way to get my FreeBSD 5.3 box to show my local
 time as BST (British Summer Time) as apposed to GMT.

 I have checked and double-checked the timezone and have set this to
 Europe/London.

How?

 However I think I need to do something with the locale. Hunting
 around led me to the /etc/login.conf and the concept of classes but
 can't understand or follow the documentation to get it set up
 correctly.

 Any help or guidance would be appreciated.

Well, the obvious question: where's the problem?  How do you determine
that there's something wrong?  Your mail system is reporting UTC+0100.
If you have the right date and the right contents of /etc/localtime,
it should be impossible for it to show GMT.  What happens when you
enter the following?

 $ date
 $ cmp /usr/share/zoneinfo/Europe/London /etc/localtime

If the cmp says they're different, change to cp and try again.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpkWfiFU96jH.pgp
Description: PGP signature


Re: Not an easy install

2006-03-25 Thread Greg 'groggy' Lehey
On Saturday, 25 March 2006 at  9:36:04 -0500, Tim wrote:
 Why couldn't you guys make a install easy instead of this and that, ok I
 am a newbie and it should be easy, I have installed Ubuntu, it was like
 a dream, smooth as silk, Fedora pretty much the same FreeBSD, its a
 nitemare if you have never done it, I am now reloading windows and then
 putting back Ubuntu, unless someone over there can make it simple even
 for me.

Heh.  As I read this, I'm trying to install Ubuntu.  It's like pulling
teeth.  By the contrary, installing FreeBSD is *so* simple, I could do
it in my sleep.

OK, so when it comes to installing FreeBSD, I wrote the book
(http://www.lemis.com/grog/Documentation/).  But maybe you should
think that things are just different.  FWIW, some very clever Linux
friends of mine are also baffled by the problems I'm having.

So, what's *your* problem?  You haven't mentioned any details.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpDrvN6xd2Y8.pgp
Description: PGP signature


Re: mysql for freebsd 6.0

2006-03-23 Thread Greg 'groggy' Lehey
On Thursday, 23 March 2006 at  0:52:18 -0500, kalin mintchev wrote:

   hi all...

   i can't see the mysql 5 version for freebsd 6.0 on the mysql developer
 site?
   am i blind or it's on purpose?!?!

No, it's on its way.  We should have a version up within a week or so.
But you're the first person I've seen who wants to install from the
MySQL site.  Why do you prefer this approach over the Ports
Collection?

FWIW, there are differences between the version that we (MySQL) supply
and the version that we (FreeBSD) supply, notably in the compiler
options and installation paths.  We're actively trying to ensure that
both versions will be the same.  If anybody on this list has
suggestions which version is better, I'd be interested in hearing
them.

Greg
--
Greg Lehey, Senior Software Engineer
MySQL AB, http://www.mysql.com/
Echunga, South Australia
Phone: +61-8-8388-8286   Mobile: +61-418-838-708
VoIP:  sip:[EMAIL PROTECTED], sip:[EMAIL PROTECTED]

Are you MySQL certified?  http://www.mysql.com/certification/


pgp9elj5bqN6k.pgp
Description: PGP signature


Do you use MySQL?

2006-03-16 Thread Greg 'groggy' Lehey
If you use MySQL on FreeBSD, you have many choices, probably too many:
which version of FreeBSD?  Which version of MySQL?  Which threading
libraries?  Where do you get the MySQL software from?  How do you
install it?  In all likelihood you'd be happier with less choice: just
the right one.

At MySQL, we're talking about how to simplify this mess^Wsituation.
Obviously with my MySQL hat on, I'd recommend release 5.0; with my
FreeBSD hat on, I'd recommend 6.1-RELEASE when it comes out next week.
But that doesn't mean that you have to agree with me, and there are a
number of other questions anyway.  I'd like some feedback from users
on the following questions:

- Which version of FreeBSD are you running?

- Which version of MySQL are you running?

- If you're not running MySQL 5.0, why not?

- Where do you get your MySQL software from?

  * From the MySQL web site?
  * From a FreeBSD CD/DVD distribution?
  * Package (precompiled) from the FreeBSD web site (either directly
or via a mirror)?
  * From the ports collection?

- Which threading library are you using?  Why?

- Have you had to change the default installation (different compile
  flags, different installation directories, etc.)?

- Do you have any problems that you think are related to the choice of
  the version you're using?

Normally I send messages to this forum with the following request:

  When replying to this message, please copy the original recipients.
  If you don't, I may ignore the reply or reply to the original
  recipients.

In this case, I'm expecting many answers.  Clearly, individual answers
are not as interesting as the statistics.  Feel free to answer
directly to me, or to copy the list, as you prefer.  I'll summarize
after a while.

This message is *not* soliciting information about general problems
you might have with MySQL.  I'll certainly listen if you have this
kind of problem, but please make it a separate message to this list.

Greg
--
For more information, see http://www.lemis.com/questions.html
Greg Lehey, Senior Software Engineer
MySQL AB, http://www.mysql.com/
Echunga, South Australia
Phone: +61-8-8388-8286   Mobile: +61-418-838-708

Are you MySQL certified?  http://www.mysql.com/certification/


pgpgz07ixQrw8.pgp
Description: PGP signature


Re: Kernel dump then what

2006-03-07 Thread Greg 'groggy' Lehey
On Tuesday,  7 March 2006 at 10:01:48 +0700, Olivier Nicole wrote:
 Hi,

 Now I managed to get a kernel dump.

 I even got two of them, with different panic, both page fault, one on
 read, one on write.

 The machine had been runing fine for a year when it started to panic
 on heavly load. I updated the kernel but not to avail.

 I tried all the hardware monitoring in usr/ports/sysutil but none
 could report CPU temperature for that Asus CUR-DLS motherboard. I do
 suspect a temperature problem because when I kept the rack drawer open
 it it not panic.

 What should I do next?

There's a somewhat out-of-date document in the handbook, also my
tutorial notes at
http://.lemis.com/grog/Papers/Debug-tutorial/tutorial.pdf.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpd8BqEI5SpT.pgp
Description: PGP signature


Re: AND COBOL

2006-03-07 Thread Greg 'groggy' Lehey
On Tuesday,  7 March 2006 at 18:47:25 -0500, Chris Hill wrote:
 On Tue, 7 Mar 2006, Gabriel wrote:

 HI, I WOULD LIKE TO KNOW IF RMCOBOL RUNS IN FREEBSD, THANKS.

GABRIEL

 DON'T KNOW ABOUT ANY RMCOBOL, BUT THERE EXISTS open-cobol AND tinycobol
 UNDER /usr/ports/lang.

 PS - NO NEED TO SHOUT, BUT I TRY TO ANSWER IN THE LANGUAGE IN WHICH I
 WAS ADDRESSED, WHERE POSSIBLE.

Modern COBOL dialects understand lower case.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpqi8ZlMv8bs.pgp
Description: PGP signature


Re: French accents test

2006-02-28 Thread Greg 'groggy' Lehey
On Monday, 27 February 2006 at  0:05:31 -0500, Peter wrote:
 --- clue less [EMAIL PROTECTED] wrote:

 Does the mailing list improperly strip iso-8859-1 encoding and render it
 as unescaped UTF-8?
   This is a test to see:  �����.

 I see the proper characters but when I reply in my yahoo account I get a
 question mark in a black circle for each character.  This is a problem on
 my end no doubt.

 Here is a test of my own: éàïÉ

People, please use the FreeBSD-test mailing list for this sort of
thing.

In this case, though, Peter, you're using the wrong encoding.
According to your message, it was ISO 8859-1.  What you sent looks
more like UTF-8 (and is thus mangled).

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp5rdJOCO29N.pgp
Description: PGP signature


Re: 10 years of The Complete FreeBSD

2006-02-24 Thread Greg 'groggy' Lehey
On Friday, 24 February 2006 at 14:10:59 +0200, Giorgos Keramidas wrote:
 On 2006-02-24 16:50, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:
 On Thursday, 23 February 2006 at 23:44:30 -0500, David Stanford wrote:
 I purchased this book nearly a year ago shortly after I began using
 FreeBSD and it has been an invaluable resource ever since. Now that
 you have made it publicly available, maybe the FreeBSD project could
 find a way to merge some of your book in with their own handbook
 or at least link it on FreeBSD.org for newbies like myself to easily
 find :).

 That's probably a good idea.  Can somebody from the doc project
 comment?

 Yes.  I would very much like to see this published online at least as
 part of our publish.html page.

 Greg,

 if I have your approval, the following patch is the least I can to thank
 you for all the work you've put into the book all these years, and for
 releasing it now:

You, too, are welcome :-)

 --- publish.sgml  4 Oct 2005 21:58:59 -   1.66
 +++ publish.sgml  24 Feb 2006 12:07:48 -
 @@ -188,13 +188,21 @@
tr
   tda href=http://www.freebsdmall.com/cgi-bin/fm/bsdcomp;IMG 
 SRC=gifs/bsdcomp-4.2.gif WIDTH=200 HEIGHT=220 alt=book cover/a/td
   td
 - The Complete FreeBSD with CDs, 3rd Ed, FreeBSD 4.2.
 + pThe Complete FreeBSD with CDs, 3rd Ed, FreeBSD 4.2.

Well, the current version is the 4th edition, and it covers FreeBSD
5.0.  It also doesn't have CDs.

   Everything you ever wanted to know about how to get
   your computer up and running FreeBSD. Includes 4 CDs
 - containing the FreeBSD operating system!
 + containing the FreeBSD operating system!/p

Again, no CDs.

 - Released: November 2000 ISBN: 1-57176-246-9
 -  /td
 + pReleased: November 2000 ISBN: 1-57176-246-9/p

Released May 2003, ISBN 0-596-00516-4.  You should probably mention
that the publisher is now O'Reilly, and maybe link to
http://www.oreilly.com/catalog/cfreebsd/desc.html.

 + pOn 24 February 2006, at the 10th anniversary of the
 +   publication of the first ever book on FreeBSD, Installing and
 +   Using FreeBSD, Greg Lehey has released the full text and
 +   sources of The Complete FreeBSD under the Creative Commons
 +   license.  The book text amp; sources are available at:/p
 +
 + pa 
 href=http://www.lemis.com/grog/Documentation/CFBSD/;http://www.lemis.com/grog/Documentation/CFBSD//a/p
 + /td

Yup, that's fine.  Since there are different versions, maybe you can
also point out that this is the Attribution-NonCommercial-ShareAlike
2.5 license (yes, they ask for all that verbiage :-)

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpQBN4GAZOPj.pgp
Description: PGP signature


10 years of The Complete FreeBSD

2006-02-23 Thread Greg 'groggy' Lehey
Ten years ago today, on 24 February 1996, I submitted for publication
the final version of the first ever book on FreeBSD, Installing and
Using FreeBSD.  It was later renamed to The Complete FreeBSD.

I have always retained full rights to the book, and for today I've
decided to release it for download under the Creative Commons
license.  See more at http://www.lemis.com/grog/Documentation/CFBSD/.

Greg
--
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgpJLCDT9YZrc.pgp
Description: PGP signature


Re: 10 years of The Complete FreeBSD

2006-02-23 Thread Greg 'groggy' Lehey
On Thursday, 23 February 2006 at 23:44:30 -0500, David Stanford wrote:
 On 2/23/06, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:

 Ten years ago today, on 24 February 1996, I submitted for publication
 the final version of the first ever book on FreeBSD, Installing and
 Using FreeBSD.  It was later renamed to The Complete FreeBSD.

 I have always retained full rights to the book, and for today I've
 decided to release it for download under the Creative Commons
 license.  See more at http://www.lemis.com/grog/Documentation/CFBSD/.

 Greg,

 All I can think to say is thanks!

You (and everybody else) are welcome.

 I purchased this book nearly a year ago shortly after I began using
 FreeBSD and it has been an invaluable resource ever since. Now that
 you have made it publicly available, maybe the FreeBSD project could
 find a way to merge some of your book in with their own handbook

That's happened already, as you can easily see by comparing
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum-vinum.html
with chapter 12 of the book.  The FreeBSD documentation project know
they can rely on me to contribute documentation where it makes sense.

 or at least link it on FreeBSD.org for newbies like myself to easily
 find :).

That's probably a good idea.  Can somebody from the doc project
comment?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpGyHwipm19M.pgp
Description: PGP signature


Re: anyone using voip?

2006-02-22 Thread Greg 'groggy' Lehey
On Tuesday, 21 February 2006 at 22:07:11 -0500, Peter wrote:
 Hi, I'm looking for comments from people who are using a voip solution
 with FreeBSD.  The archives of this group show mixed results.  I see there
 is a skype port available.  To me that implies that this is possible.
 What of hardware?  USB phones?

I've done a lot of investigation.  Summary: (not only under FreeBSD):
VoIP software is *really* bad.  Asterisk may work if you can
understand the arcane documentation, but it's overkill for a simple
VoIP phone solution.  The others are almost completely undocumented
and difficult to use.  This applies to commercial offerings too, some
of which are free to use.

I'm currently using linphone, mainly because it has a command-line
client, and I don't see why I should have to use a mouse to make a
phone call.  The client is buggy, though, and very non-intuitive.  For
example:  to call me, you might enter

  $ linphonec sip:[EMAIL PROTECTED]

This will work.  But I'd then expect the program to wait until
termination or until I hit ^C; instead, it returns with a prompt.
Hitting ^C stops the program without terminating the call.  To
terminate the call, you need to enter the entire text terminate.
Enter ^D to exit the program and it loops.  That's when you need the
^C.

From a hardware point of view, I'm using a standard analogue headset
with microphone.  You'll need to set the recording source to
microphone:

  $ mixer =rec mic

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.
VoIP:  sip:[EMAIL PROTECTED], sip:[EMAIL PROTECTED]


pgprKj41fYAhT.pgp
Description: PGP signature


Re: anyone using voip?

2006-02-22 Thread Greg 'groggy' Lehey
On Thursday, 23 February 2006 at  0:43:22 +, Alec Berryman wrote:
 Peter on 2006-02-22 18:55:34 -0500:


 --- Alec Berryman [EMAIL PROTECTED] wrote:

 I'm using Skype from ports with an analog headset and it works
 fantastically well.

 I installed skype from ports.  Without a man page it was difficult to
 begin.  I decided to execute the binary and it just sat there without any
 output whatsover.  Do you have any notes?

 It just started up for me.  It's a Linux binary; have you properly
 enabled Linux compatibility as described in the handbook?  You might
 refer to the documentation on www.skype.com, but it was very much
 plug-and-play.

I'd guess that Peter is asking: OK, it works.  Now how do I use
it?.  That's where I was left with Skype.  I suppose that would
change if I had anybody to talk to over it.  But it's a proprietary
solution where there are open solutions; why choose it?

Before somebody answers, I know the answer: it gives you ($) access to
POTS, and it works (apparently) better than some open VoIP solutions.
But I'd rather fix the open solution.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpsxrd2bSwxj.pgp
Description: PGP signature


Re: MySQL version for 6.0

2006-02-06 Thread Greg 'groggy' Lehey
On Monday,  6 February 2006 at 11:14:39 +0100, Bjrn Knig wrote:
 Greg 'groggy' Lehey schrieb:

 I'd be interested to know why you recommend version 4.1 over 5.0.

 I still had not enough time to investigate 5.0. I just ran sql-bench a
 few times on a dual Pentium III 733 machine and noticed that 5.0 was up
 to 10% slower than 4.1 with the default configuration. So my
 recommendation is neither binding nor reasonable; it's just a random
 proposal according to my feeling. :-)

If people do have issues with MySQL performance, let me remind you of
the mailing lists at http://forums.mysql.com/.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpzRRBi7USNJ.pgp
Description: PGP signature


Re: MySQL install fails - can't find mysqlclient.14

2006-02-06 Thread Greg 'groggy' Lehey
On Monday,  6 February 2006 at 14:28:31 -0800, Kent Stewart wrote:
 On Monday 06 February 2006 14:18, Seth Burgess wrote:
 I am working on installing MySQL 4.1 - Server on Freebsd 4.8.  I have
 gone through several tries and am now stuck with the following error
 which comes up very quickly when I run make.

 
 seth# make
 /usr/ports/misc/ldconfig_compat/bsd.ldconfig.mk, line 7: Missing 
 dependency operator
 /usr/ports/databases/mysql41-client/../mysql41-server/Makefile, line 224: 
 if-less endif
 /usr/ports/databases/mysql41-client/../mysql41-server/Makefile, line 224: 
 Need an operator
 make: fatal errors encountered -- cannot continue
 *** Error code 1

 The make in 4.8 doesn't support the ($ combination. This will be a
 constantly recurring problem that you can avoid by updating to a
 current version of the OS.

This is doubtless the best advice.  If for some reason you can't
upgrade, however, note that there are binaries for 4.8 on the MySQL
downloads site.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgprF1u75raVV.pgp
Description: PGP signature


Re: MySQL version for 6.0

2006-02-05 Thread Greg 'groggy' Lehey
On Sunday,  5 February 2006 at 22:00:13 +0100, Bjrn Knig wrote:
 je killen schrieb:
 Greetings:
 I'm looking to find out if there is a current version of MySQL specific
 for v6 FreeBSD on AMD64. I don't see one
 on the MySQL site and I don't know if I can successfully build it from
 source on this machine.
 thanks;
 Jeff K

 You can use FreeBSD's software management to install mysql. After you
 have installed FreeBSD you can install MySQL easily:

   pkg_add -r mysql41-server

 Alternativeyl you can choose mysql323-server, mysql40-server or
 mysql50-server.

The current version is, of course, mysql50-server.  Version 3.23 is
obsolete and is no longer being maintained.

I'd be interested to know why you recommend version 4.1 over 5.0.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpzOGc8ZppvF.pgp
Description: PGP signature


Re: remote x-window

2006-02-05 Thread Greg 'groggy' Lehey
On Friday,  3 February 2006 at  8:58:08 +, Michael Fleming wrote:
 On Thu, Feb 02, 2006 at 09:48:56PM -0900, Beech Rintoul wrote:
 I have sort of a newbie question. How do I connect to a remote
 machine with x-windows and get a desktop? Could someone point me in
 the right direction as I've never had a need to to do it before. I
 do have ssh to the machine.

 You'll have to export $DISPLAY=x.x.x.x:0.0 so that the display on the
 remote machine is displayed on the local.

Specifically, the DISPLAY environment variable states the name of the
remote host, the server number and the screen number.  Normally you
only have one server, which is then 0.  It's quite common to have more
than one screen: I'm writing this on echunga.lemis.com:0.0, but there
are two further screens called echunga.lemis.com:0.1 and
echunga.lemis.com:0.2.  See http://www.lemis.com/grog/hardware.html
for an example.

 You'll also have to forward X11 packets, check your ssh_conf so that
 forward X11 yes.

This is for tunnelling over ssh.  I wouldn't recommend that in a local
context.

 I use cygwin on my work laptop ( XP ) and a openvpn connection to my
 BSD machine then fire up the display on the XP machine.

It's possible that you'd need it here, but between BSD machines it's
just overhead.

One thing that you don't mention is whether the server will listen on
TCP.  This used to be the default, but it isn't any more.  If you're
using startx, you'll have to remove the 'nolisten-tcp' option.  See
http://www.lemis.com/grog/desktop.html.

If you're using KDE or GNOME, you'll probably have to do something
similar.  I don't know the details, though.

Greg
--
See complete headers for address and phone numbers.


pgpYKbWB8fWbS.pgp
Description: PGP signature


Re: Unable to compile mysql50-server

2006-02-02 Thread Greg 'groggy' Lehey
On Thursday,  2 February 2006 at  6:49:58 +0700, Roger Merritt wrote:
 Yesterday I ran portinstall to install the mysql-server, left the job going
 overnight, and as expected had to reboot this morning. I noticed that
 portinstall did some configuring (which I had forgotten to do when I ran
 make the previous times), and I didn't want to waste anything that had
 gotten compiled, so rather than run portinstall again I went back to the
 mysql50-server directory and ran make, since the configuration files were
 already there. This time I got:
 [EMAIL PROTECTED]:/usr/ports/databases/mysql50-server# make
 ...


 After a couple of minutes my console started filling up with
 messages: swap-pager: indefinite wait buffer: bufobj: 0, blkno:
 xx, size: 4096, or sometimes 8192. The blkno varies from 27852
 to38249.

You don't say which version of FreeBSD (indeed, not even if you're
using FreeBSD).  Normally this is a hardware error.  The disk with the
swap partition may be dying.  It definitely doesn't have anything
directly to do with MySQL.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpgl4FpkJNSw.pgp
Description: PGP signature


  1   2   3   4   5   6   7   8   >