Re: Backup on DDS-4 tapes

2005-03-14 Thread Greg 'groggy' Lehey
On Monday, 14 March 2005 at 10:38:02 +0100, Ludo Koren wrote:

 Hi,

 I am using 5.2.1-RELEASE-p3 for backup on DDS-4 tapes 40GB in size.

 ...

 Why I cannot dump the filesystem on 2 tapes (it takes 3, it seems it
 works without compression) no matter if I use dump or cpio? What I am
 doing wrong?

You're using dump :-)

Dump is too stupid to understand compression or EOF marks, so it errs
on the side of caution.  It's also IMO not a very good backup medium
unless you really want the incremental dump facility.  Even between
different releases of FreeBSD there are compatibility problems, and
you can assume that there is no compatibility at all between different
operating systems.  You may find tar a better choice.

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.


pgpdih4q62i0S.pgp
Description: PGP signature


Re: How to merge an unused partition.

2005-03-12 Thread Greg 'groggy' Lehey
On Saturday, 12 March 2005 at 21:09:47 -0600, Chris wrote:
 Heya folks - here's my issue; I removed a OS from my drive and that freed
 up 10 gig. I wish to merge the free 10 gig into my FreeBSD file system.

 Here's what she looks like via fdisk:

 Disk name:  ad1FDISK Partition
 Editor
 DISK Geometry:  9729 cyls/255 heads/63 sectors = 156296385 sectors (76316MB)

 Offset   Size(MB)End Name  PType   Desc  Subtype

 0  10236   20964824- 12 unused0
  20964825  66079  156296384ad1s1  8freebsd  165
 156296385  2  156301487- 12 unused0


 So - what do I need to do to take the 1st line and merge it into the
 existing system?

That depends on what you want to do with the space.  It would be
relatively complicated (but not impossible) to merge it into an
existing file system.  If you just want to create a another file
system, just create a new partition in the partition editor, set it to
tye 165, then in the label editor create one (or just possibly more
than one) file system.  Both here and in the label editor, use the W
command to actually write the stuff to disk.

 Sorry for the formatting

Looks fine to me.

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.


pgp2ANFkzdFnZ.pgp
Description: PGP signature


Re: Vinum raid5 problems......

2005-03-03 Thread Greg 'groggy' Lehey
On Thursday,  3 March 2005 at 15:35:31 -0600, matt virus wrote:
 Hi all:

 I have a FBSD 5.2.1 box running vinum.  7 *160gb drives in a raid5 array.

 I can post specific errors and logs and such later, i'm away from the
 box right now --- anybody have any thoughts ?

How about http://www.vinumvm.org/vinum/how-to-debug.html?

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.


pgpFkoYE2PgXm.pgp
Description: PGP signature


Re: Using META and DEL keys in console

2005-03-01 Thread Greg 'groggy' Lehey
On Tuesday,  1 March 2005 at 19:43:38 -0300, Alejandro Pulver wrote:
 Hello,

 I have a PS/2 PC-101 keyboard.

 I would like to use my META (ALT in my keyboard) key instead of ESC in
 console mode. META works fine in an xterm. I also would like to use DEL
 and others.

 [description omitted]

There's a special key map for Emacs.  Try this:

1.  To test it, do:

  kbdcontrol -l /usr/share/syscons/keymaps/us.emacs.kbd

2.  To have it set automatically on boot, put this in your
/etc/rc.conf:

 keymap=us.emacs.kbd

 2) Some strange thing happens with Emacs in console mode: when I press
DEL, it is interpreted (literally) as C-h, and C-h is used as
BACKSPACE.

It's not clear which keys you're talking about here, nor which codes
they're really generating.  If you still have problems, please
clarify.

 And C-d acts as DEL.

That doesn't sound very likely, though I haven't played around with
the termcap entries.

 3) Also DEL does not do anything in xterm.

In X, try running xev to see what it's really generating.

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.


pgpkdiuyz2wdw.pgp
Description: PGP signature


Re: Using META and DEL keys in console

2005-03-01 Thread Greg 'groggy' Lehey
On Tuesday,  1 March 2005 at 19:30:55 -0500, Chuck Swiger wrote:
 Greg 'groggy' Lehey wrote:
 [ ... ]
 And C-d acts as DEL.

 That doesn't sound very likely, though I haven't played around with
 the termcap entries.

 C-d is normally bound to delete-char, which performs forward
 deletion.  Some people expect the DEL key to behave the same way...

I get the impression that the original sender (whose attributions you
have removed) knows Emacs fairly well.  As you know, DEL is bound to
delete-backward-char.  It seemed to me that he was saying something
else.

Interestingly, I've just discovered that the DELETE key on my cursor
keypad is bound to c-d.  So maybe that's what he was expecting.

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


pgpbaEkHwiZXk.pgp
Description: PGP signature


Re: Where are the Xorg config files ?

2005-02-24 Thread Greg 'groggy' Lehey
On Thursday, 24 February 2005 at 22:59:54 +0100, Edward Lichtner wrote:
 Hi all,
 I installed FreeBSD 5.3 along with Xorg 6.7.0-9 and KDE 3.3.0-4. I started
 KDE by creating an .xinitrc file in my home directory containing the line :
 exec startkde
 I then run startx and KDE starts up and works fine.
 However, there is no xorg.conf file in /etc/X11 or in /usr/X11R6/etc/X11,
 and a ³find² search reveals no xorg.conf file anywhere. Since KDE seems to
 work out of the box, I assume there is a config file that has been generated
 for Xorg somewhere.
 Any idea where I can find it ?

Look in your /var/log/Xorg.0.log.  You should see something like:

  Release Date: 18 December 2003
  X Protocol Version 11, Revision 0, Release 6.7
  Build Operating System: FreeBSD 5.2 i386 [ELF] 
  Current Operating System: FreeBSD wantadilla.lemis.com 5.2-CURRENT FreeBSD 
5.2-CURRENT #1: Tue Jul 20 09:24:15 CST 2004 [EMAIL 
PROTECTED]:/usr/obj/src/FreeBSD/WANTADILLA/src/sys/WANTADILLA i386
  Build Date: 20 July 2004
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
  Module Loader present
  Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  (==) Log file: /var/log/Xorg.0.log, Time: Fri Dec 24 18:25:30 2004
  (==) Using config file: /etc/XF86Config

(etc).  You'll note in this case that it fell back to the XF86Config.
This may be what's happening to you.

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.


pgpPOCDCiuOhC.pgp
Description: PGP signature


Re: Where are the Xorg config files ?

2005-02-24 Thread Greg 'groggy' Lehey
On Thursday, 24 February 2005 at 22:26:52 -0800, Gary Kline wrote:
 On Fri, Feb 25, 2005 at 10:01:27AM +1030, Greg 'groggy' Lehey wrote:
 On Thursday, 24 February 2005 at 22:59:54 +0100, Edward Lichtner wrote:
 Hi all,
 I installed FreeBSD 5.3 along with Xorg 6.7.0-9 and KDE 3.3.0-4. I started
 KDE by creating an .xinitrc file in my home directory containing the line :
 exec startkde
 I then run startx and KDE starts up and works fine.
 However, there is no xorg.conf file in /etc/X11 or in /usr/X11R6/etc/X11,
 and a ³find² search reveals no xorg.conf file anywhere. Since KDE seems to
 work out of the box, I assume there is a config file that has been generated
 for Xorg somewhere.
 Any idea where I can find it ?

 Look in your /var/log/Xorg.0.log.  You should see something like:

   ...
   (==) Using config file: /etc/XF86Config

 (etc).  You'll note in this case that it fell back to the XF86Config.
 This may be what's happening to you.

   You gave me a clue, but looking ikn in log at my Xorg.0.log
   file, doesn't help me much.

It helps me a lot:

 (EE) Unable to locate/open config file
 ...
 (==) Using default built-in configuration (53 lines)
 (==) --- Start of built-in configuration ---
   Section Module

You need to look at this config file. 

 xdm only works without any config file.  It works at 1600x1200 but
 everything quivers, so my guess is that I'm driving the tube to its
 max.  Or beyond.

Possibly.

   Any idea how I can get xorg.conf that runs things at
   1280x1024?  I've tried xorgcfg so far without success.

What happened when you tried?

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.


pgpxI7yQn85do.pgp
Description: PGP signature


Multiple X servers on one machine (was: Different OS's? Marketshare)

2005-02-23 Thread Greg 'groggy' Lehey
This is an excellent idea of why the weekly how to ask questions
message suggests changing the Subject: line to match changes in topic.
I have been deleting this thread, and only by chance did I stumble on
this message before deleting it.

On Wednesday, 23 February 2005 at 21:05:30 -0600, Kevin Kinsey wrote:
 markzero wrote:

 Is it possible to install multiple X servers on the same machine so that
 one can fire up whichever one strikes one's fancy at a given time?

 I don't see why not, although it'd probably be more common to
 simply kill one wm session and start another to save resources.
 Maybe it's possible.  I don't know if, since you've just one
 DISPLAY (in theory, anyhow) you would configure it.

 Hmm, just tested.  No can do, because just one DISPLAY.  Maybe some
 X guru has a solution.  GNOME on ttyv1, fluxbox on ttyv2, term on ttyv3
 etc., etc Would be pretty cool.

 This is certainly possible. You need to start X via something other than
 startx as you must manually set DISPLAY vars. I have run two X servers on
 my machine many times - one running a local desktop environment and the
 other running a WM from a remote box over SSH (for no particular reason
 other than that it's fun).

 I figured there was a way.  Most times there is.  I was thinking
 two Xservers, one monitor.  CTL-ALT-F2 is Desktop B, CTL-ALT-F3
 is desktop C, etc.  How 'bout that?

Well, the terminology is server, not desktop.  But yes, that can work.

 Of course, I really have no idea *why*, either; but it does at least
 sound fun.

Been there, done that, wrote a diary entry:
http://www.lemis.com/grog/diary-dec2002.html#7 .

The secret is to specify a different server number for each server.
In the example in the diary entry, I had different window managers
running on each of three servers.  The scripts are in the diary entry.

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.


pgp56PhCwsPMD.pgp
Description: PGP signature


Window managers (was: Different OS's? Marketshare)

2005-02-23 Thread Greg 'groggy' Lehey
On Wednesday, 23 February 2005 at 22:51:26 -0500, Chris Hill wrote:
 On Wed, 23 Feb 2005, Anthony Atkielski wrote:

 [...] I keep wondering if [...] I should just continue with FreeBSD
 and install X on the machine (and KDE, probably, since it seems to be
 popular, although I welcome suggestions).

 Which window manager is the closest to classic UNIX window managers
 (as opposed to wannabe Windows products)?

 It's not clear what you mean by classic UNIX window managers - maybe
 CDE or Motif?

Possibly.  It could also be something primitive like twm, of course.
That's available in the Ports Collection for people who want the bad
old days back.

 In any case I've never used them and can't answer that specific
 question.

I'd suggest fvwm2.

 As for the former... I installed KDE on my 4.10 machine a while ago
 just to have a look-see, and it seemed *very* Windows-y to
 me. Start menu, integrated file/web browser, etc. I don't care for
 it, and didn't bother reinstalling it after going to 5.3. If you
 don't want a wannabe Windows product, I think you might not like
 KDE.

I think I could agree with that.

 Before and after KDE, I've been using fvwm2 - it's a relatively
 plain but very configurable window manager, though I suppose you
 could make it as fancy as you wanted.

Heh.  I moved to fvwm2 from mwm (Motif window manager), and there
wasn't too much difference there.

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.


pgpCMRru4qL5L.pgp
Description: PGP signature


Re: Domain registration

2005-02-21 Thread Greg 'groggy' Lehey
On Monday, 21 February 2005 at 20:53:24 -0500, Sean wrote:
 Can anyone recommend the better companies for domain registration?

gandi

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.


pgp6UuHMEt7so.pgp
Description: PGP signature


Re: vinum vs. DPT smartcacheIV raid

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

 X-Mailer: SquirrelMail/1.4.3a

This seems to have difficulty wrapping quotes.

On Wednesday, 16 February 2005 at 10:52:24 -0500, Ean Kingston wrote:

 On Wed, Feb 16, 2005 at 09:58:17AM -0500, Ean Kingston wrote:

 I have a box with DPT PM2044 SmartCacheIV UW-SCSI PCI cards which
 can do RAID-5 in hardware, but I'd have to use the DOS volume
 manager to set up the array. I have heard reports that vinum
 woudl be faster than using the native card. Is this true?

 Doubtful, though I have heard that there are some rare special
 circumstances where software raid can be faster.

Recall that there are no real hardware RAID controllers on the
market.  The difference is whether you have a special processor on the
controller card or not.  To determine which is faster, you need to
compare the hardware on the card and the hardware in the system.
 The reason I asked is because
 http://www.shub-internet.org/brad/FreeBSD/vinum.html

 I did not know that. Interesting read.

 suggests vinum can be marginally better than the hardware raid on
 the smartraid range of cards (which have an even faster processor
 onboard than the smartcache range). The CPU platform is more or
 less comparable.  Then again it is with old Fbsd, so I don't know
 how accurate that is.

I'd guess that the version of FreeBSD is no particular relevance.

 You may have noticed that there were comments about not trusting
 vinum's RAID5 support in that article.

You'll also note that these claims are in no way substantiated.  It's
word of mouth:

 However, I still don't trust RAID-5 under vinum (it has had a long
 and colorful history of surprisingly negative interactions with
 software that it should not, such as softupdates),

There is in fact no substantiation whatsoever for this claim.
problems have been reported that suspected either Vinum or soft
updates, and which were frequently related to neither.  We have no
reason to believe that there was ever the kind of problem he's talking
about here.

 and I have not yet had a chance to test vinum under failure mode
 conditions (where at least one disk of a RAID set has failed).

I have.  It works.  There appears to be a bug in reintegrating disks
with a live file system, so it should be unmounted first.

(end of quotation).

 If you are using FreeBSD 5.3, the default is now gvinum (sort of
 second generation of vinum). The gvinum tools don't give you the
 ability to create RAID5 virutal disks so if that is what you want,
 you may not want to go with vinum or gvinum.

I'm not sure what you mean here.  I haven't tried RAID-5 on gvinum,
but it's the first time I've heard that it's not supported.

 Another thing to consider is if you use software RAID and your
 application gets CPU bound, you are going to take a double
 performance hit (both disk and cpu).

One or the other.  It's a tradeoff.

[54 lines extraneous text in original removed]

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.


pgpiegA6yPsDd.pgp
Description: PGP signature


Re: emacs on freebsd 5.3

2005-02-16 Thread Greg 'groggy' Lehey
On Wednesday, 16 February 2005 at 17:20:24 -0800, Tony Tung wrote:

 Hi,

 I have an unusual problem I was hoping someone could help me with.  I have
 a FreeBSD 5.3 server that's been up for longer than a month.  In that
 period, everything seemed fine.  However, all of a sudden, I'm no longer
 able to spawn a shell in emacs.  In fact, I cannot start any process
 (shell, gdb, grep, compile) inside emacs.  It is happening to all the
 users, which makes me wonder if there's some OS-related issue in play
 here.

 I've tried restarting emacs, bypassing the emacs startup file,
 reinstalling emacs, and just about everything I could think of short of
 restarting the server (don't want to do that until I'm physically
 present).

It would be worth attaching a ktrace to the Emacs to see what it's
doing.  Something like this:

  $ ps aux | grep emacs
  root12978  0.0  1.3 12880 9832  p5  R 8Oct04 222:09.31 emacs
  $ ktrace -i -p 12978
  (in Emacs, do your thing)
  $ ktrace -C -p 12978
  $ kdump | less

You should then look for a call to fork or execve and see what errors
are returned.

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.


pgppkF260vCAO.pgp
Description: PGP signature


Re: emacs on freebsd 5.3

2005-02-16 Thread Greg 'groggy' Lehey
On Wednesday, 16 February 2005 at 17:32:07 -0800, Tony Tung wrote:
 On Thu, 17 Feb 2005, Greg 'groggy' Lehey wrote:

 On Wednesday, 16 February 2005 at 17:20:24 -0800, Tony Tung wrote:

 Hi,

 I have an unusual problem I was hoping someone could help me with.  I have
 a FreeBSD 5.3 server that's been up for longer than a month.  In that
 period, everything seemed fine.  However, all of a sudden, I'm no longer
 able to spawn a shell in emacs.  In fact, I cannot start any process
 (shell, gdb, grep, compile) inside emacs.  It is happening to all the
 users, which makes me wonder if there's some OS-related issue in play
 here.

 I've tried restarting emacs, bypassing the emacs startup file,
 reinstalling emacs, and just about everything I could think of short of
 restarting the server (don't want to do that until I'm physically
 present).

 It would be worth attaching a ktrace to the Emacs to see what it's
 doing.  Something like this:

 ...

 You should then look for a call to fork or execve and see what errors
 are returned.

 Strangely enough, that seems to have fixed the problem.  Other users are
 seeing a return to normal behavior as well.

That shouldn't have made any difference.  It was just to help you find
the problem.  Looks like it has escaped.

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.


pgpTp1suMJWeN.pgp
Description: PGP signature


Re: Grainy X Windows and KDE.

2005-02-16 Thread Greg 'groggy' Lehey
On Wednesday, 16 February 2005 at 23:25:05 -0600, Dmitri Furman wrote:
 Dear FreeBSD experts.  Your help with this would be greatly appreciated. I
 spent a week now trying to setup FreeBSD on my Dell Dimension 8200 Desktop.
 Most of the time was spent setting up Xorg to work.  I have Nvidia video
 card GeForce MX4400 with 32 MB or RAM.  I had to rebuild kernel to make
 Nvidia driver work.  I am able to run in 1024x768 mode but picture is
 really grainy.  I specified depth at 24 and also tried 32.  I have a 15
 Flat Panel monitor.  If anyone had any luck or has some pointers on what I
 have to do to resolve grainy colors problem please let me know what I need
 to do.  Thank you.

How about posting a screen shot somewhere?  It's not very clear what
you mean here.

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.


pgpgwPaFhpP5g.pgp
Description: PGP signature


Re: vinum in 4.x poor performer?

2005-02-08 Thread Greg 'groggy' Lehey
On Tuesday,  8 February 2005 at 23:21:54 -0400, Marc G. Fournier wrote:

 I have a Dual-Xeon server with 4G of RAM, with its primary file system
 consisting of 4x73G SCSI drives running RAID5 using vinum ... the
 operating system is currently FreeBSD 4.10-STABLE #1: Fri Oct 22 15:06:55
 ADT 2004 ... swap usage is 0% (6149) ... and it performs worse then any of
 my other servers, and I have less running on it then the other servers ...

 I also have HTT disabled on this server ... and softupdates enabled on the
 file system ...

 That said ... am I hitting limits of software raid or is there something I
 should be looking at as far as performance is concerned?  Maybe something
 I have misconfigured?

Based on what you've said, it's impossible to tell.  Details would be
handy.

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.


pgpCHjBCzWxDc.pgp
Description: PGP signature


Re: Leaving a Computer Running ?

2005-02-05 Thread Greg 'groggy' Lehey
On Saturday,  5 February 2005 at 17:45:25 -0500, Peterhin wrote:

 Is it better to leave a computer (a stand alone) running continuously or
 is it OK to shut it down at the end of the day.?
 I remember years ago someone mentioned that it is better for the
 circuitry to leave it running.
 Any thoughts would be greatly appreciated

I won't jump in on the bikeshed about the effects on the electronics.
A thing that nobody has mentioned so far is that by default, the
system performs a number of functions (via cron) in the middle of the
night.  If you turn it off, you should check /etc/crontab and decide
when to perform the nightly maintenance.

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.


pgpYCsDAOjhbA.pgp
Description: PGP signature


Re: FreeBSD 4.x, vinum and vrlock ...

2005-02-01 Thread Greg 'groggy' Lehey
On Monday, 31 January 2005 at 20:02:50 -0400, Marc G. Fournier wrote:

 What exactly does this mean?

 /proc/43414/status:rsync 43414 42774 23799 14838 5,1 ctty 1107214940,71735
 3,779921 33,791868 vrlock 0 0 0,0,0,2,3,4,5,20,31 -
 /proc/43479/status:postgres 43479 144 144 144 -1,-1 noflags
 1107214989,263828 0,0 1,63591 vrlock 70 70 70,70,70 -
 /proc/7/status:bufdaemon 7 0 0 0 -1,-1 noflags 1107140099,155 0,0 61,876619
 vrlock 0 0 0,0 -
 /proc/9/status:syncer 9 0 0 0 -1,-1 noflags 1107140099,192 0,0 259,373334
 vrlock 0 0 0,0 -

It looks like breakage from your MUA.   I've deleted the rest; it's
too painful.

 I seem to get it a fair amount when I'm starting up a jail, where
 the 'umount' in the start scripts just hangs there seemingly
 indefinitely ...

If you're talking about the vrlock state, it's used for locking bands
when updating striped plexes.  If it hangs around for any length of
time, it'll be a deadlock.  Have you been killing processes?  Has
anybody else seen this?

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.


pgpduVSGWsp33.pgp
Description: PGP signature


Re: Docs for Berkeley Make?

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

Broken wrapping.

On Saturday, 29 January 2005 at 17:47:29 -0800, Ted Mittelstaedt wrote:
 On  Saturday, January 29, 2005 12:53 PM, Jonathon McKitrick wrote:
 I just got the O'Reilly book on GNU Make, but I'd really like to
 focus on Berkeley Make when possible.

 Older revisions of the O'Reilly book cover the Berkeley make.

No, unfortunately not.  Firstly this is a completely different book,
and secondly the old (Oram/Talbott) book also didn't cover Berkeley
Make.  There's a little in my book Porting UNIX Software (out of
print but available at http://www.lemis.com/grog/PUS/.  It's not very
much, though.

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.


pgp3nHFYxzXub.pgp
Description: PGP signature


Re: Proliant 5000

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

On Tuesday,  1 February 2005 at 21:54:18 -0800, Ted Mittelstaedt wrote:

 4 X 200MHz processors.
 512Mb RAM
 Scsi hardware raid controller.

 That may be your problem.

 Depends on the RAID controller.  Both my machines have RAID
 controllers (2DH).  See
 http://www.lemis.com/grog/diary-dec2004.html#10: it seems that 5.1
 panicked.  I'm pretty sure I had no trouble with 5.3, though.

 If the system has an EISA raid array card you cannot install
 FreeBSD on it.  There is a bug in the compaq raid driver it won't
 work on eisa.

 I don't think these machines are *that* old.

 Greg, yes they are.  Here's a writeup on the 5000:

 http://www.winnetmag.com/Windows/Article/ArticleID/159/159.html

Yes, this is about the age I was expecting.  The specs are pretty
close to my 6500.  I didn't realize, that the older RAID cards were
EISA, but it's not clear from the article whether they were shipped
with the 5000.

 If he has an EISA raid card in there he can replace it with one of these:

 http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItemcategory=56091item=5747208198rd=1

 which will probably boot FreeBSD just fine.

Definitely.  This is the 2DH I'm referring to above.

 I don't mean to send you away, that auction lists $4 for the raid
 card that should work.  But I do understand that there are folks who
 wouldn't even spend the $4.

Look at the shipping costs.  That's another $13 before you get
started.

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.


pgpYKHMasL7rE.pgp
Description: PGP signature


Re: Proliant 5000

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

I'm really puzzled how the quotation levels got the way they were.

On Wednesday,  2 February 2005 at  1:00:20 -0600, Brad wrote:
 On  February 2, 2005 12:37 AM, Ted Mittelstaedt wrote:
 Greg 'groggy' Lehey wrote:


 http://www.winnetmag.com/Windows/Article/ArticleID/159/159.html

 Yes, this is about the age I was expecting.  The specs are pretty
 close to my 6500.  I didn't realize, that the older RAID cards were
 EISA, but it's not clear from the article whether they were shipped
 with the 5000.


 No it isn't clear - thing is though that most of those servers were sold
 by VARS (the sister company of the ISP I work at used to be a Compaq VAR
 and now is an HP VAR) and there was no default factory configuration
 because the VAR was supposed to analyze the customer's network and quote
 the appropriate parts.

 Unfortunately however as you might have guessed the PCI cards were at
 least a grand more than the EISA cards and so customers being customers,
 far too many of these were quoted and built with the cheaper EISA card.
 Many also were upgrade sales of older Compaq 4500's and they just sold
 the chassis and cpu's and ram, and moved the disks and raid card
 wholesale from one to the other.

 If he has an EISA raid card in there he can replace it with one of
 these:


 http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItemcategory=56091item=5747208198rd=1


 Look at the shipping costs.  That's another $13 before you get
 started.

 Damn, there goes the pizza money...  :-)

 Hi, sorry for being out of touch for the day (or so...)

 The computer has a Smart Array 2DH card.

As I mentioned a couple of times, this is the card I'm using.  It's
also the one in the (repeatedly broken) URL above.

 It is in fact PCI based so now I don't know what to do. First
 however, I think I will try a different slot And see if that does
 something. Then I do have a different array controller And will try
 that one.

Do you have a 4.10 CD available?  That's what I used for installation.

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.


pgpCep9z8JIDA.pgp
Description: PGP signature


Re: Proliant 5000

2005-01-31 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Gratuitous line breaks removed.

On Sunday, 30 January 2005 at 19:36:32 -0600, Brad wrote:
 Hi, I have recently acquired a Proliant 800 and a Proliant 5000
 server.  The 800 installed quite cleanly and is currently running
 FreeBSD 5.3 The 800 is a dual processor machine. When I try to
 install FreeBSD 5.3 on the 5000 (it's a quad processor machine ) it
 panic's saying,

 panic: pmtimer_indentify

 Has anyone seen this before.

No.  I've installed on a ProLiant 850 (dual processor) and 6500 (quad
processor) with spectacular lack of problems.

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.


pgphRqRhZlpQF.pgp
Description: PGP signature


Re: Proliant 5000

2005-01-31 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Quote indentation corrected.

Trimmed.

On Monday, 31 January 2005 at 21:16:03 -0800, Ted Mittelstaedt wrote:
 On  Monday, January 31, 2005 5:30 PM, Brad wrote:
 On  January 31, 2005 8:13 AM, Lowell Gilbert wrote:
 Brad [EMAIL PROTECTED] writes:

 Hi, I have recently acquired a Proliant 800 and a Proliant 5000
 server. The 800 installed quite cleanly and is currently running
 FreeBSD 5.3 The 800 is a dual processor machine. When I try to
 install

 FreeBSD 5.3 on the 5000 (it's a quad processor machine ) it
 panic's saying,

 panic: pmtimer_indentify

 Has anyone seen this before. As near as I can tell it involves the
 power management of the computer. Only there isn't any in the
 bios. Doing a verbose logging on the system I noticed that it has
 just finished scanning the ISA bus and found nothing. Then it
 panic's. I would appreciate any thoughts that the community might
 have.

 Have you tried turning off ACPI in the install?

 Ok, when I boot the menu has default and then the second choice is to
 install with ACPI turned on...

 Tried that one and it progresses just a tad further. It reports:

 Orm0: ISA Option ROMs at iomem
 0xe8000-0xedfff,0xc8000-0xcbfff,0xc-0xc7fff on isa0
 Pmtimer0 on isa0

 Then the computer freezes at that point.

 What else could I tell you about this machine?

 4 X 200MHz processors.
 512Mb RAM
 Scsi hardware raid controller.

 That may be your problem.

Depends on the RAID controller.  Both my machines have RAID
controllers (2DH).  See
http://www.lemis.com/grog/diary-dec2004.html#10: it seems that 5.1
panicked.  I'm pretty sure I had no trouble with 5.3, though.

 If the system has an EISA raid array card you cannot install FreeBSD
 on it.  There is a bug in the compaq raid driver it won't work on
 eisa.

I don't think these machines are *that* old.

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.


pgpfDd6wZSe2S.pgp
Description: PGP signature


Re: DDB? Debugging kernel?

2005-01-28 Thread Greg 'groggy' Lehey
On Thursday, 27 January 2005 at 22:39:05 -0600, John wrote:
 OK, folks - I've looked in the Handbook, and I've looked in
 _The Complete FreeBSD_ and I just get more confused.

 Is the option DDB gone? 

In -CURRENT, yes.

 If so, how do you get ddb functions like db_readline into the
 kernel?  _The Complete FreeBSD_ still describes it, but the handbook
 doesn't mention it, and a grep -i ddb * in the conf directory
 comes up empty.

As Giorgos says, with KDB--*if* you're using -CURRENT..  But first we
need to know what version of FreeBSD you're running.  If it's
-CURRENT, you should be tracking the current@ mailing list and asking
questions (after much research :-) there, not here.

 The handbook still talkes about makeoptions DEBUG=-g, but there's
 no such thing in NOTES or any other file in the conf directory.

From the -CURRENT version of /usr/src/sys/i386/conf/GENERIC:

makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols

 I'm going to try putting in the makeoptions DEBUG=-g, though it
 may do nothing.

I'm a little confused where you got a configuration file that doesn't
already contain it.

 The NOTES file also includes a somewhat cryptic remark about the
 intel acpi code:

 ...  (Note that the Intel code must also have USE_DEBUGGER
 # defined when it is built).

 I tried making that a kernel option, but config says it is not
 defined.

This looks like something to do with building the ACPI code, not the
kernel itself.

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.


pgpU4psFvs6X3.pgp
Description: PGP signature


Re: BSD

2005-01-28 Thread Greg 'groggy' Lehey
On Friday, 28 January 2005 at 23:09:12 +0100, DanGer wrote:
 Hello freebsd,

   does BSD means Barkeley Software Distrubtion, or
   Barkeley Software Design?

No.  It means Berkeley Software Distribution.

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.


pgpaaqsRP7Pd7.pgp
Description: PGP signature


Re: They reply ALL button !!!!!!!!!!!!!

2005-01-27 Thread Greg 'groggy' Lehey
On Thursday, 27 January 2005 at  8:57:18 +0100, Gert Cuykens wrote:
 Can someone please configure the mailing list so that freebsd-question
 is in the TO: field and the sender in the CC: field so i can push
 reply instead of reply all because i really think i am not the only
 one after pushing on send saying DH!

I'm really not sure what you're trying to do here, but it doesn't seem
to be in the interests of the mailing list.  To quote my .sig (below):

 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

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.


pgpz76qDHjUzA.pgp
Description: PGP signature


Re: Which Way to Partition.

2005-01-21 Thread Greg 'groggy' Lehey
On Friday, 21 January 2005 at 22:01:14 -0500, Peterhin wrote:
 I am new to FreeBSD, and have only used Linux for less than a year.

 I have read the Handbook, also FreeBSD An open-source system for your
 personal computer, they both suggest that I do a standard installation,
 whereas in The Complete FreeBSD by Greg Lehey, his suggestion is to do the
 custom installation.
 Any suggestions as to which way to go.?

I recommend the custom installation.  I also say why.

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.


pgp7zJr5MzGHx.pgp
Description: PGP signature


Re: Which Way to Partition.

2005-01-21 Thread Greg 'groggy' Lehey
On Friday, 21 January 2005 at 22:14:13 -0800, Ted Mittelstaedt wrote:
 On  Friday, January 21, 2005 9:28 PM, stheg olloydson wrote:

 This is a bikeshed question, i.e. everyone is expert enough to have an
 opinion. As such this has been discussed numerous times on this list.
 search the archives and pick whatever theory seems reasonable for your
 use.
 BTW, having GNU/Linux - Freedom in your sig file when posting to a
 *BSD list is a bit of a _faux pas_, wouldn't you agree?

 Probably not as much as a faux pas as posting the same message TWICE,
 stheg,

 (note message ID's)

  Message-ID: [EMAIL PROTECTED]
  Message-ID: [EMAIL PROTECTED]

None of the above help improve the standard of the channel.

A few weeks back we discussed closing down the FreeBSD-newbies mailing
list, because just about everything on it is a technical questions.
One of the biggest objections was but the people on -questions are so
unfriendly.

Can we try to change that?

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


pgpaP2Fx2yxjg.pgp
Description: PGP signature


Re: Which Way to Partition.

2005-01-21 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Long/short syndrome.

On Friday, 21 January 2005 at 20:58:35 -0800, Doug Hardie wrote:

 On Jan 21, 2005, at 19:32, Greg 'groggy' Lehey wrote:

 On Friday, 21 January 2005 at 22:01:14 -0500, Peterhin wrote:
 I am new to FreeBSD, and have only used Linux for less than a year.

 I have read the Handbook, also FreeBSD An open-source system
 for your personal computer, they both suggest that I do a
 standard installation, whereas in The Complete FreeBSD by Greg
 Lehey, his suggestion is to do the custom installation.  Any
 suggestions as to which way to go.?

 I recommend the custom installation.  I also say why.

 Well, I am looking at the 3rd Edition page 71 where it appears you
 recommend the custom and the novice installations.  The only real
 comment about the custom installation is that it takes you back to the
 top menu after each step.  I have installed may copies of versions
 2,3,4, and not 5 and don't see what the advantage of that might be.
 The only reason that comes to mind is if you botch something you can go
 back and redo it.  That doesn't seem like much of a big deal to me,
 but...

It's not a big deal, but it helps.  You're less likely to need to go
back when you're proficient, but it doesn't harm to have the facility.
It doesn't cost you anything.

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.


pgpNVHDcLJ1Xz.pgp
Description: PGP signature


Enabling Dell Inspiron 1150 touch pad?

2005-01-19 Thread Greg 'groggy' Lehey
I've just installed 5.3-RELEASE on an Inspiron 1150 (some of you will
have seen my questions about this machine a couple of weeks ago).  I
can't get the touch pad to work.  I've tried installing a -CURRENT (as
of yesterday) kernel, and there's no improvement.  The relevant parts
of the dmesg (from a verbose boot) appear to be:

  psmcpnp0: PS/2 mouse port at irq 12 on isa0
  psm0: current command byte:0065
  psm0: the aux port is not functioning (-1).

The complete dmesg is at http://www.lemis.com/grog/dmesg.

Before I go digging, has anybody else seen something like this?  Any
ideas where to look?

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.


pgpHY38kAHnu2.pgp
Description: PGP signature


Re: Enabling Dell Inspiron 1150 touch pad?

2005-01-19 Thread Greg 'groggy' Lehey
On Wednesday, 19 January 2005 at 17:11:07 -0600, Hauan David A wrote:
 On  Wednesday, January 19, 2005 2:36 PM, Greg 'groggy' Lehey wrote:

 I've just installed 5.3-RELEASE on an Inspiron 1150 (some of
 you will have seen my questions about this machine a couple
 of weeks ago).  I can't get the touch pad to work.  I've
 tried installing a -CURRENT (as of yesterday) kernel, and
 there's no improvement.  The relevant parts of the dmesg
 (from a verbose boot) appear to be:

   psmcpnp0: PS/2 mouse port at irq 12 on isa0
   psm0: current command byte:0065
   psm0: the aux port is not functioning (-1).

 The complete dmesg is at http://www.lemis.com/grog/dmesg.

 Before I go digging, has anybody else seen something like
 this?  Any ideas where to look?

 http://www.rdegraaf.nl/index.asp?sND_ID=487235

Thanks!  That did the trick.  I now have:

  psm0: PS/2 Mouse flags 0x1000 irq 12 on atkbdc0
  psm0: [GIANT-LOCKED]
  psm0: model Generic PS/2 mouse, device ID 0


For the benefit of others: this laptop requires a device flag for the
touch pad.  This change is needed in /boot/device.hints:

   --- /boot/device.hints  2004/11/05 01:27:17 1.1
   +++ /boot/device.hints  2005/01/19 17:36:23
   @@ -27,6 +27,8 @@
hint.atkbd.0.irq=1
hint.psm.0.at=atkbdc
hint.psm.0.irq=12
   +# Needed on Inspiron 1150
   +hint.psm.0.flags=0x1000
hint.vga.0.at=isa
hint.sc.0.at=isa
hint.sc.0.flags=0x100

The web page also talks about putting start parameters for moused into
/etc/rc.conf; I don't think this is necessary.  I suspect that you
just need to remove the line:

   moused_enable=NO

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.


pgpoeRgldrQKG.pgp
Description: PGP signature


Re: Mrs. Butterworth vs Vermont Maid

2005-01-18 Thread Greg 'groggy' Lehey
On Wednesday, 19 January 2005 at  0:39:51 +0100, Colin J. Raven wrote:
 On Jan 18 at 17:42, [EMAIL PROTECTED] ejaculated this:

 In a message dated 1/18/05 4:41:12 PM Eastern Standard Time,
 [EMAIL PROTECTED] writes:
 Gary,
 Maybe if you offered solutions instead of whining and bashing all the
 time people would be interested in what you have to say. All we've ever
 seen you do is throw out insults and complain. If FreeBSD is so bad, use
 another OS.
 I'm sure Microsoft would be more than happy to have you shell out the
 money for their products, and you'd get the sort of support you want
 -er, well, sort of. That's all I'm going to say on the matter.


 Thad
 
 And this coming from a guy who thinks he's so smart that hes spamming
 some poor tax attorney who likely never has heard of FreeBSD? What a
 turd you are Mrs.  Butterworth. But I find your confidence in your
 stupidity quite entertaining!

 Actually, Thad, I've stated my case, and got the president of the FreeBSD
 foundation to publically admit that I'm right about 5.x performance. I've
 only insulted people who insulted me or my claims first.

 QUOTE IT FUCKMUNCH
 QUOTE IT WITH INTACT HEADERS
 QUOTE IT IN IT'S ENTIRETY TO BE SURE THAT YOU 'AINT SUCKIN' OUT THE
 CONTEXT IN FAVOR OF A FREE BRAIN MASSAGE.

We know that we have a problem with Freebsd0101@.  It's not
FreeBSD-like to ban him, though we can make exceptions.  But if
there's one thing that does help, it's ignoring him.  Please do so. 

Also, this kind of language is inappropriate on the list.

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.


pgpGa5uChibvL.pgp
Description: PGP signature


Re: Kris' World

2005-01-14 Thread Greg 'groggy' Lehey
On Friday, 14 January 2005 at 18:36:35 -0500, [EMAIL PROTECTED] wrote:

Do you have a name?

 In a message dated 1/14/05 5:56:01 PM Eastern Standard Time, [EMAIL 
 PROTECTED] writes:
 Why are you abandoning support for new hardware in 4.x when you
 admit that 5.x is not ready? It makes no sense at all.

 Jamie, you have a fundamental lack of understanding about how the
 FreeBSD community works.  Unfortunately, this isn't something that can
 be explained to someone like you, because you have your own fixed
 ideas about how you think the world works and are not willing to
 listen to any explanations of how reality differs.

 I know how linux, windows, openbsd and every other major open
 source project works,

Hmm.  I know the term windows is ambiguous, but in the past I've
always seen it used to refer to Microsoft Windows.  What open source
project is called windows?

 and I know how FreeBSD used to work. I don't know of any other open
 source project that abandons its best version to spend 2 years
 working on a re-write. I dont know of any other project that works
 like that.

Agreed, Neither do I.  Which project are you talking about?

 How about a list of projects with an installed base similar to
 FreeBSD that works like that?

I don't think there are any.  That's too far from where FreeBSD is.

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.


pgpFlhsv71hv3.pgp
Description: PGP signature


Re: Freebsd 5.3 Performance

2005-01-09 Thread Greg 'groggy' Lehey
On Sunday,  9 January 2005 at 20:48:56 -0500, [EMAIL PROTECTED] wrote:
 Your point doesn't address the lack of support for major chipsets,
 so that users can utilitize the latest fast processors
 available. The point is that those using 4.x because of its
 performance advantages, cannot use it with the latest processors
 because the MBs don't work in 4.x. THAT is the problem.

I don't see any point, correct or otherwise.  From the weekly how
to:

Before you answer a question to FreeBSD-questions, consider:

3.  Do you have something to contribute beyond what has already been
said? 

4.  Are you sure you understand the question?

5.  Are you sure your answer is correct?

6.  Unless there's a good reason to do otherwise, reply to the sender
and to FreeBSD-questions.

7.  Include relevant text from the original message.

See http://www.lemis.com/questions.html for the original message,
which is much more detailed.

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.


pgpy8a4yuXxMP.pgp
Description: PGP signature


Re: I can't get anything from mailing list

2005-01-08 Thread Greg 'groggy' Lehey
On Sunday,  9 January 2005 at  1:36:24 +0800, Der wrote:
 I was join this list yestoday, and I can't get anything from mailing
 list.  

Did you get your confirmation that you're signed up?

 Is it due to time zone ??

No.

 Or what??

Difficult to say.  My guess would be that something went wrong with
the registration, or that your ISP is dropping the mail.

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.


pgpXlcVpzNIh9.pgp
Description: PGP signature


Re: Experience with Dell Inspiron 1150 laptop?

2005-01-06 Thread Greg 'groggy' Lehey
On Friday,  7 January 2005 at  9:46:23 +1100, John Birrell wrote:
 On Wed, Jan 05, 2005 at 04:52:43PM +1030, Greg 'groggy' Lehey wrote:
 I'm thinking of buying a Dell Inspiron 1150 laptop.  I have a number
 of Dells, and on the whole I'm happy, but I've had issues before.
 Can anybody who has one of these machines (1150 only, please) tell me
 good or bad things about it?  Have you been able to get the internal
 wireless card to work?

 I have an 1150 and it works great with RELENG_5 for me. I don't have the
 version with the internal wireless though. I use the bfe (Broadcom BCM4401)
 ethernet. No problems with that.

Thanks for the info.

 If you get one, go straight to Dell's support site and get the
 latest bios.  I had to do that before X would work. There have been
 a few bios updates and my 1150 was shipped with an out-dated bios
 which I thought lacked attention to detail by Dell when they build
 the machines to order in Malaysia.

Interesting.  I had a similar problem with my 5150 18 months ago (see
http://www.lemis.com/grog/diary-jul2003.html#25 for details).  Is this
what you saw?

 Once thing I really like about it is being able to set the bios to
 boot via the ethernet port. That makes net-booting FreeBSD for
 driver development a breeze.

That sounds useful, indeed.

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


pgpakaZFNBVBO.pgp
Description: PGP signature


Re: Experience with Dell Inspiron 1150 laptop?

2005-01-05 Thread Greg 'groggy' Lehey
On Wednesday,  5 January 2005 at 11:19:16 +, Sarunas Vancevicius wrote:
 On 16:52, Wed 05 Jan 05, Greg 'groggy' Lehey wrote:
 I'm thinking of buying a Dell Inspiron 1150 laptop.  I have a number
 of Dells, and on the whole I'm happy, but I've had issues before.
 Can anybody who has one of these machines (1150 only, please) tell me
 good or bad things about it?  Have you been able to get the internal
 wireless card to work?

 A college friend has one of these, I don't know much about it,
 except that he is running Fedora Core 3 and had no luck trying to
 get internal wireless card working, so he had to get a PCMCIA
 wireless card.

Thanks.

 If thats any helpful to you.

Well, Fedora Core 3 is Linux.  As it happens, at work I've just
installed it too.  I don't think a failure there has much relevance to
FreeBSD.  But thanks for the feedback.

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


pgppt88KAuHYj.pgp
Description: PGP signature


Re: Experience with Dell Inspiron 1150 laptop?

2005-01-05 Thread Greg 'groggy' Lehey
[Resequenced, time: 40 seconds.  See
http://www.lemis.com/email/email-format.html]

On Wednesday,  5 January 2005 at 19:24:27 +0100, Kiffin Gish wrote:
 On  Wednesday, January 05, 2005 07:23, Greg 'groggy' Lehey wrote:

 I'm thinking of buying a Dell Inspiron 1150 laptop.  I have a number
 of Dells, and on the whole I'm happy, but I've had issues before.
 Can anybody who has one of these machines (1150 only, please) tell me
 good or bad things about it?  Have you been able to get the internal
 wireless card to work?

 I've been the happy owner of a Dell Inspiron 8200 with a TrueMobile
 wireless card.

I suppose it's the out of sequence reply that made you miss:

 Can anybody who has one of these machines (1150 only, please) tell me 

 Dual boot Windows/XP and FreeBSD 5.3, and so far never had any major
  issues.

 Hope this helps...

Not really.  As I said, I have other Dell laptops, and on the whole
I'm happy.  I'm looking for input on the 1150.  Thanks anyway.

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.


pgpIzkAvDNTxh.pgp
Description: PGP signature


Re: Experience with Dell Inspiron 1150 laptop?

2005-01-05 Thread Greg 'groggy' Lehey
On Wednesday,  5 January 2005 at 11:20:31 -0600, Eric Schuele wrote:
 Greg 'groggy' Lehey wrote:
 I'm thinking of buying a Dell Inspiron 1150 laptop.  I have a number
 of Dells, and on the whole I'm happy, but I've had issues before.
 Can anybody who has one of these machines (1150 only, please) tell me
 good or bad things about it?  Have you been able to get the internal
 wireless card to work?

 My point is... you may have to use the windows drivers with a wrapper to
 get it to work. 

Yes, that was my suspicion as well, and one of the reasons for my
question.

 On the other hand... I've switched to an Atheros based miniPCI card
 which works quite well with 'device ath'. I can give you a link if
 your interested.

Thanks, but no.  I have wireless cards here.  I was wondering about
the onboard card.

 So you might dig around and try to find out positively whose card
 those miniPCI devices are.

That's what I'm trying to do, and also (if possible) get more details
about how to get them running.

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


pgpY7KMsonFdJ.pgp
Description: PGP signature


Re: Unsubscribe

2005-01-04 Thread Greg 'groggy' Lehey
On Tuesday,  4 January 2005 at 20:51:26 -0600, Tom Bratland wrote:
 Just got this:

 Mailing list removal confirmation notice for mailing list freebsd-chat

 We have received a request for the removal of your email address,
 [EMAIL PROTECTED] from the [EMAIL PROTECTED] mailing
 list. ...

OK.  Are you saying that you didn't send this request?  Then:

 If you do not wish to be removed from this list, please simply
 disregard this message.  If you think you are being maliciously
 removed from the list, or have any other questions, send them to
 [EMAIL PROTECTED]

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.


pgpXROZXdcpBq.pgp
Description: PGP signature


Experience with Dell Inspiron 1150 laptop?

2005-01-04 Thread Greg 'groggy' Lehey
I'm thinking of buying a Dell Inspiron 1150 laptop.  I have a number
of Dells, and on the whole I'm happy, but I've had issues before.
Can anybody who has one of these machines (1150 only, please) tell me
good or bad things about it?  Have you been able to get the internal
wireless card to work?

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


pgpxzja51vNAe.pgp
Description: PGP signature


Re: Program Backward compatibility for FreeBSD 2.25

2004-12-27 Thread Greg 'groggy' Lehey
On Monday, 27 December 2004 at 14:34:34 +0700, Twatchai Saelao wrote:
 Hi
  I have 1 application develope on FreeBSD 2.2.5 (a long time but still
 in use). I need to upgrade OS from 2.25 to 5.3 but Application can not
 run of this version.
 Message after call application is cannot execute binary file. Please
 help/advise me. Thank you.

Newer versions of FreeBSD no longer support the old a.out binary file
format.  Try this:

  kldload aout

Then try again.  I've never tried this, so please report whether it
works or not.  If it doesn't, you can try building a kernel with the
option

options COMPAT_AOUT

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.


pgp3kfuYkfLMu.pgp
Description: PGP signature


Minimal system installation (was: What version)

2004-12-27 Thread Greg 'groggy' Lehey
On Monday, 27 December 2004 at 13:21:51 -0600, Dan Thomas wrote:
 A friend gave me a laptop with a Pentium 100 and 24 megs of ram.  It
 only has a floppy drive.  What version of FreeBSD do you recommend
 and would you send me the link to download it.

It's possible to run FreeBSD on a machine like that (in fact, I intend
to start doing so on a very similar machine today), but only as a
diskless workstation.  FreeBSD needs a disk *somewhere*.  If this is
all you have, you can't run FreeBSD on 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.


pgpCYPfwHi3HD.pgp
Description: PGP signature


Re: Printer

2004-12-27 Thread Greg 'groggy' Lehey
On Monday, 27 December 2004 at 14:25:39 -0500, Leon wrote:
 Hi,

 I have a BSD5.3
 I'm trying to set-up a printer.(Dell AIO A960)
 I think, that this printer made by Lexmark.
 They have one looks like what I have(Lexmark X6170)

 I do not know if  BSD support this printer.

Neither, in all probability, does anybody else.  I'm pretty sure you
can configure FreeBSD to run it.  But you're going to have to read the
manual.  FreeBSD doesn't have a list of supported printers.

Which features do you want to use?  I'd be surprised if it couldn't
print plain text.

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.


pgpttDIEz5bPP.pgp
Description: PGP signature


Re: Minimal system installation (was: What version)

2004-12-27 Thread Greg 'groggy' Lehey
On Monday, 27 December 2004 at 16:01:57 -0600, Dan Thomas wrote:
 On  Monday, December 27, 2004 3:08 PM, Greg 'groggy' Lehey wrote:
 On Monday, 27 December 2004 at 13:21:51 -0600, Dan Thomas wrote:
 A friend gave me a laptop with a Pentium 100 and 24 megs of ram.  It
 only has a floppy drive.  What version of FreeBSD do you recommend
 and would you send me the link to download it.

 It's possible to run FreeBSD on a machine like that (in fact, I intend
 to start doing so on a very similar machine today), but only as a
 diskless workstation.  FreeBSD needs a disk *somewhere*.  If this is
 all you have, you can't run FreeBSD on it.

 I have a 750 mb hardrive on it.  

Ah.  You said you only had a floppy.

 Is this big enough?

Yes, you can do something useful with that.

 I can put another drive if necessary.  I think I have a 4 gb on the
 shelf.

You can certainly fill that too :-)

So your question is how to install the software?  Your best bet would
be to put the disk in a machine with a CD-ROM and install it there.
You can then move the disk back to the target machine.  Make sure that
the disk is connected the same way in both machines (preferably
primary master).

If you can't do that, and you can't install a CD-ROM drive
temporarily, you'll have to follow the instructions in the handbook
for floppy installations.  It's certainly faster to move disks or
CD-ROM drives.

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


pgpv6UuCMWf25.pgp
Description: PGP signature


Re: triple monitor hardware setup on FBSD - suggestions needed...

2004-12-25 Thread Greg 'groggy' Lehey
On Saturday, 25 December 2004 at 17:45:49 -0800, Joe Schmoe wrote:

 I am currently running a triple-monitor setup under
 winXP, with an extended desktop that stretches across
 all three monitors.  I like it.

 I would, however, like to use FreeBSD.

 So, first off, what hardware (video card) comes to
 mind for doing triple screens with FreeBSD ?  A matrox
 P750 comes to mind, but when you run it with three
 screens, they downgrade to 1280x1024, which is bad.  I
 am happy to consider multiple video cards to
 accomplish this ... at the very least I need 1600x1200
 out of each card, preferably 1920x1200 ...

You're not limited to a single video card under FreeBSD.

 Second, what is the support for something like this in XFree86, or
 x.org ?

Good.

 What I am really looking for is the ability to create virtually
 sized screens - so instead of having three total (physical) screens
 that I can maximize windows inside of, I want to split each physical
 screen in half for a total of 6 virtual screens - so there are six
 total areas within which I can maximize a window in ... this is
 something I am really trying to accomplish.

I don't know how you'd do that (nor why you would want to).  X offers
a feature called Xinerama which does the opposite: it treats all
screens as part of one big screen.  The disadvantage here is that all
the screens should have the same resolution.  From experience, you
can't do everything with 2048x1536 screens: too much software
(especially from the Microsoft space, or free software which tries to
emulate it) can't handle this kind of resolution.  For example, web
browsing on such screens is a pain: either the fonts are miniscule, or
half the (broken) web sites that you browse completely break their
formatting.

I'm currently running a setup with 8 displays spread over 5 machines.
One of them has three displays.  Take a look at
http://www.lemis.com/grog/hardware.html, which is a little out of date
(I'm now running x.org, and I now have more screens), but it gives an
idea of the kind of things you can do.

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.


pgpvJ0z3QA88F.pgp
Description: PGP signature


Re: Desperate for Help

2004-12-21 Thread Greg 'groggy' Lehey
On Tuesday, 21 December 2004 at 17:24:02 -0500, alfredo perez wrote:
 Heloo list

 I have been trying to set up my FreeBSD 5.3 to get my emails with no
 results. I have installed and set up Mutt, Ssmtp and Fetchmail. None of
 them are working properly. I have no idea where to start first. I have
 already read the man pages and followed several how-tos I found on the
 internet but no results. I was wondering if any of you know of a web
 site with steps that I can follow to sep up my Mutt, fetchmail and
 ssmtp. I dont want to give up on this!!!

I'd suggest you read http://www.lemis.com/questions.html.

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.


pgphiS3XuPwPx.pgp
Description: PGP signature


Re: bash - superuser

2004-12-20 Thread Greg 'groggy' Lehey
On Monday, 20 December 2004 at 15:52:27 +0100, Ruben de Groot wrote:
 On Mon, Dec 20, 2004 at 01:32:53PM +, Dick Davies typed:
 * Gerhard Meier [EMAIL PROTECTED] [1207 12:07]:
 On Mon, Dec 20, 2004 at 08:41:57AM -0200, Giuliano Cardozo Medalha wrote:
 I have a machine with FreeBSD 5.3 - release -p2.

 I have installed bash from ports.

 How is possible to use bash in root account ?

 Do not change the shell of the root account. If you have /usr or
 /usr/local on a separate partition, and you cannot mount for some
 reason, you wont be able to fix that, without booting from
 another device.

 No, but you'll still be able to use /bin/sh when going single user, so
 what's the big deal?

 Using a shell not contained in the root filesystem can cause
 problems even when not in single user mode. There are enough
 examples in the archives.

This is a particularly tenacious rumour.  I've been using bash as my
root shell on many different UNIX platforms for nearly 14 years, and
I've never had any problems.  I've also never seen any substantiated
problems reported anywhere.

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


pgpnhLc6Jamfv.pgp
Description: PGP signature


Re: bash - superuser

2004-12-20 Thread Greg 'groggy' Lehey
On Tuesday, 21 December 2004 at  0:45:45 +, Dick Davies wrote:
 * Erik Trulsson [EMAIL PROTECTED] [1224 00:24]:
 On Tue, Dec 21, 2004 at 10:30:20AM +1030, Greg 'groggy' Lehey wrote:
 On Monday, 20 December 2004 at 15:52:27 +0100, Ruben de Groot wrote:
 On Mon, Dec 20, 2004 at 01:32:53PM +, Dick Davies typed:
 * Gerhard Meier [EMAIL PROTECTED] [1207 12:07]:
 On Mon, Dec 20, 2004 at 08:41:57AM -0200, Giuliano Cardozo Medalha wrote:
 I have a machine with FreeBSD 5.3 - release -p2.

 I have installed bash from ports.

 How is possible to use bash in root account ?

 Do not change the shell of the root account. If you have /usr or
 /usr/local on a separate partition, and you cannot mount for some
 reason, you wont be able to fix that, without booting from
 another device.

 No, but you'll still be able to use /bin/sh when going single user, so
 what's the big deal?

 Using a shell not contained in the root filesystem can cause
 problems even when not in single user mode. There are enough
 examples in the archives.

 This is a particularly tenacious rumour.  I've been using bash as my
 root shell on many different UNIX platforms for nearly 14 years, and
 I've never had any problems.  I've also never seen any substantiated
 problems reported anywhere.

 There was actually an actual problem with having bash as root shell
 reported on this very list about a week ago. See
 http://docs.FreeBSD.org/cgi/mid.cgi?41C0CC10.4020109
 and
 http://docs.FreeBSD.org/cgi/mid.cgi?20041216001329.GA37679
 for the conclusion of the thread.

 I can't see the beginning of the thread there, but ISTR that's a
 problem with the pppd script running before the dynamic library path
 is set up (so being unable to see /usr/local/lib).

Yes, that's correct.

 That's hardly a bash issue,

It can't happen if you use a standard shell, so to a certain extent
it's a valid criticism of my statement.  I'm still thinking about the
implications.  There are a couple of reasons why this shouldn't
happen:

1.  You don't normally start networking until you have mounted your
local file systems.
2.  The problem is related to the invocation of su(1).  It's not clear
why that's there.

Still, it shows that there are issues.  It may be sufficient to
document them.  People who follow the advice in The Complete FreeBSD
won't run into this problem, since they won't install a separate /usr
file system.

 and would be a non-issue if you statically linked bash (I can't
 think of any reason to want a dynamically linked one).

One reason is that bash pulls in a lot of libraries.  That's why we
used dynamic libraries in the first place.  In any case, we're not
talking about custom shell builds here.

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.


pgp7fg0yOk2hd.pgp
Description: PGP signature


Re: My server gets kernel panic every 7th day

2004-12-19 Thread Greg 'groggy' Lehey
On Saturday, 18 December 2004 at 11:50:02 -0800, Kris Kennaway wrote:
 On Sat, Dec 18, 2004 at 11:57:35AM +0100, Daniel Johansson wrote:
 Hi, i've had my server up for over a year now and it's been rock solid
 but for the latest weeks the server has rebooted evert Saturday at
 exact 04:19:57 because of a find command. I have no idea why and I've
 checked the cron log and I don't think any crontab is runned at that
 time. Not as far as I can see from the cron log. Anyway find makes the
 server get a kernel panic and it reboots. This is the fourth week in a
 row it happens and I've checked the hardware, no problems at all.

 How did you check the hardware?  Hardware failure is by far the
 most common cause of strange panics under abnormal load [such as
 when the weekly cron job runs].

If this panic occurs repeatedly under certain circumstances, it's
probably not hardware.  Anyway, there's not much point standing
outside and scratching our heads.  We have a facility for analysing
this kind of problem: the processor dump and kernel debugger.

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.


pgpMAVELc83CQ.pgp
Description: PGP signature


Re: My server gets kernel panic every 7th day

2004-12-19 Thread Greg 'groggy' Lehey
On Sunday, 19 December 2004 at 23:35:18 +0100, Daniel Johansson wrote:
 On Mon, 20 Dec 2004 08:59:19 +1030, Greg 'groggy' Lehey
 [EMAIL PROTECTED] wrote:
 On Saturday, 18 December 2004 at 11:50:02 -0800, Kris Kennaway wrote:
 On Sat, Dec 18, 2004 at 11:57:35AM +0100, Daniel Johansson wrote:
 Hi, i've had my server up for over a year now and it's been rock solid
 but for the latest weeks the server has rebooted evert Saturday at
 exact 04:19:57 because of a find command. I have no idea why and I've
 checked the cron log and I don't think any crontab is runned at that
 time. Not as far as I can see from the cron log. Anyway find makes the
 server get a kernel panic and it reboots. This is the fourth week in a
 row it happens and I've checked the hardware, no problems at all.

 How did you check the hardware?  Hardware failure is by far the
 most common cause of strange panics under abnormal load [such as
 when the weekly cron job runs].

 If this panic occurs repeatedly under certain circumstances, it's
 probably not hardware.  Anyway, there's not much point standing
 outside and scratching our heads.  We have a facility for analysing
 this kind of problem: the processor dump and kernel debugger.

 Yeah, I want to say thank you for your help. I think I've been able to
 reproduce the kernel panic now, finalay!

 On my server I run 3 jails and every night at 04:15 when it runs
 periodic weekly it runs it in 3 jails + the host enviroment. This
 seems to cause the kernel panic, I don't really know why yet. I can
 run periodic weekly separatly in every jail + the host without kernel
 panic but when I run it at the same time on all places it kernel
 panics.

What does the dump backtrace show?

 It can still be the PSU, don't have any other atm to try with. I'll
 do some more testing and see if I can get any more info.

There's no point looking at the hardware until you've looked at the
dump.

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


pgp4OwzVB4OQj.pgp
Description: PGP signature


Re: My server gets kernel panic every 7th day

2004-12-19 Thread Greg 'groggy' Lehey
On Sunday, 19 December 2004 at 23:42:20 +0100, Daniel Johansson wrote:
 On Mon, 20 Dec 2004 09:08:01 +1030, Greg 'groggy' Lehey
 [EMAIL PROTECTED] wrote:
 On Sunday, 19 December 2004 at 23:35:18 +0100, Daniel Johansson wrote:
 On Mon, 20 Dec 2004 08:59:19 +1030, Greg 'groggy' Lehey
 [EMAIL PROTECTED] wrote:
 On Saturday, 18 December 2004 at 11:50:02 -0800, Kris Kennaway wrote:
 On Sat, Dec 18, 2004 at 11:57:35AM +0100, Daniel Johansson wrote:
 Hi, i've had my server up for over a year now and it's been rock solid
 but for the latest weeks the server has rebooted evert Saturday at
 exact 04:19:57 because of a find command. I have no idea why and I've
 checked the cron log and I don't think any crontab is runned at that
 time. Not as far as I can see from the cron log. Anyway find makes the
 server get a kernel panic and it reboots. This is the fourth week in a
 row it happens and I've checked the hardware, no problems at all.

 How did you check the hardware?  Hardware failure is by far the
 most common cause of strange panics under abnormal load [such as
 when the weekly cron job runs].

 If this panic occurs repeatedly under certain circumstances, it's
 probably not hardware.  Anyway, there's not much point standing
 outside and scratching our heads.  We have a facility for analysing
 this kind of problem: the processor dump and kernel debugger.

 Yeah, I want to say thank you for your help. I think I've been able to
 reproduce the kernel panic now, finalay!

 On my server I run 3 jails and every night at 04:15 when it runs
 periodic weekly it runs it in 3 jails + the host enviroment. This
 seems to cause the kernel panic, I don't really know why yet. I can
 run periodic weekly separatly in every jail + the host without kernel
 panic but when I run it at the same time on all places it kernel
 panics.

 What does the dump backtrace show?

 It can still be the PSU, don't have any other atm to try with. I'll
 do some more testing and see if I can get any more info.

 There's no point looking at the hardware until you've looked at the
 dump.

I'd appreciate it if you didn't require me to move the text of your
messages to where it fits.

 Okay, is this hard to do? I've no idea how to look at the dump or
 how to understand the dump. You don't have to be kernel hacker to
 understand that?

It's described in the handbook.  Basically:

- Build a kernel with debug symbols (you should be doing this anyway).
  You need the following line in your configuration file:

makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols

- Make sure that dumps are enabled.  You should have something like
  this in your /etc/rc.conf:

dumpdev=/dev/ad0s2b

  The device name should be the name of your swap partition, and it
  must be at least slightly larger than your main memory.

- Ensure you have a directory /var/crash, and that the file system in
  which it resides has enough space for the dump (a little larger than
  main memory).

- When you get a dump, it will be copied to /var/crash automatically
  on reboot.  Go there and get a backtrace.  You don't say which
  version of FreeBSD you're using, but in general this will do it:

  # cd /var/crash
  # gdb -k /usr/obj/src/sys/GENERIC/kernel.debug vmcore.0
  (gdb) bt
  
The name of the kernel (kernel.debug) depends on how you built your
kernel.  If it's not called GENERIC, the name of the directory will
change accordingly.

That's it in a nutshell.  There's much more detail in chapter 6 of my
debug tutorial, which you can find at
http://www.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.


pgpjij8g1W5Zr.pgp
Description: PGP signature


Re: My server gets kernel panic every 7th day

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

Please don't quote out of sequence.

On Sunday, 19 December 2004 at 14:44:22 -0800, Ted Mittelstaedt wrote:
 On  Sunday, December 19, 2004 2:38 PM, Greg 'groggy' Lehey wrote:
 On Sunday, 19 December 2004 at 23:35:18 +0100, Daniel Johansson wrote:
 It can still be the PSU, don't have any other atm to try with. I'll
 do some more testing and see if I can get any more info.

 There's no point looking at the hardware until you've looked at the
 dump.

 If I may interject, why should he bother?

So he can find out what the problem is.

 Seems to me his next step should be setting up a new server with a
 fresh FreeBSD copy on it, duplicating the 3 jails, then firing off
 the 4 periodics and seeing if that blows up.

This would take a lot of time and money.  And if it blows up, it
doesn't buy him anything: he still has to find the cause of the
problem.  If it doesn't blow up, he doesn't know whether it's going to
stay that way or maybe reappear in a while when the constellations are
right.  Why should he want to do that?

 If so that is enough info to file a bug report, and he can then
 simply adjust his script so that the periodics aren't all run at the
 same time.

This is a *VERY* bad idea.  If there's a bug, you should fix it, not
hide it.  Working around it is the Microsoft Way, and hidden bugs
often come back to bite you.

 If someone else wants to spend the time researching this - like YOU
 for example - then great.

Why should I want to do it?

 From the Project's point of view, his problems aren't interesting
 unless they can be reproduced - and from his point of view all he
 wants to do is fix the problem - and he now knows how to do it.
 (run the periodic weekly at different times)

Hiding a problem doesn't fix it.

 Grubbing around in a dump traceback does not prove that a problem is
 reproducible.

He's already proved that the problem is reproducible.

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.


pgpxqNo7mdJt0.pgp
Description: PGP signature


Re: Change Bash-3.00 Prompt

2004-12-19 Thread Greg 'groggy' Lehey
On Sunday, 19 December 2004 at 21:04:35 -0600, Adam wrote:
 I installed bash shell and now my prompt says bash-3.00#

 How do I change the text before the #?  I'd like it to say bash# instead of
 bash-3.00#.

export PS1=bash# 

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.


pgpni0UVyII62.pgp
Description: PGP signature


Re: Older versions of FreeBSD

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

Single line paragraph.

On Sunday, 19 December 2004 at 22:33:48 -0500, Al Bincarousky wrote:

 I am looking for older versions of FreeBSD. Any version 3.5.1 to
 4.4. Is it possible to still download these versions? If not can it
 still be purchased on CD? Thank you for any information that you may
 be able to provide.

A lot depends on why you want them.  If you're collecting CDs, then
only the CD will do.  If you want to run them, you should reconsider.
If you're interested in them for academic reasons, you can check out
any version back to 2.0 from CVS.  For reasons related to the USL
wars, the repository for release 1 of FreeBSD isn't available, though
Caldera (now called SCO) released the license a couple of years ago,
so if you find one, you're now allowed to use it.

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.


pgpYLvHjlj5ZN.pgp
Description: PGP signature


Re: installing bsd on a laptop

2004-12-19 Thread Greg 'groggy' Lehey
On Monday, 20 December 2004 at  1:53:43 -0500, [EMAIL PROTECTED] wrote:
 hello, do you know of any laptop brands that can run freebsd or
 openbsd that is available to purchase???

I've had good results with Dell laptops.

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.


pgpNNpJYVcUDD.pgp
Description: PGP signature


Re: using two keyboards at the same time

2004-12-15 Thread Greg 'groggy' Lehey
On Wednesday, 15 December 2004 at 17:34:01 +0100, Norbert Koch wrote:
 Hello.

 I know, the syscons driver does not allow to have
 two keyboards attached at the same time.

 So my idea was to have a userland application which polls the
 keyboard(s) currently _not_ attached to syscons using select(2) or
 poll(2).  From reading the source code under /sys/dev/kbd I thought
 this should work.

 I made this simple test: I attached syscons to /dev/kbd1 and ran
 cat /dev/kbd0.  As expected I saw characters coming from both
 keyboards.

Interesting.  I can also confirm that it works with x2x
(/usr/ports/x11/x2x) when connected to a remote machine.  That
actually works for me now, though I can't see any good use for it.

 Then I wrote a program to do the selecting and switching.  Well, it
 does not work. Select never returns.  Does anyone have an idea?

Traditionally, select() doesn't work on all kinds of devices.  I'd
guess you've just found one that doesn't support select().

In any case, this is probably a question for
[EMAIL PROTECTED]  You may get more (accurate) results
there.

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.


pgprlkvXMUnC9.pgp
Description: PGP signature


Re: Use /var for storing webpages.. Why???

2004-12-14 Thread Greg 'groggy' Lehey
On Tuesday, 14 December 2004 at 22:05:20 -0600, Adam wrote:
 On Tuesday, 14 December 2004 at 21:50:45 -0600, Adam wrote:
 In Greg Lehey's book The Complete FreeBSD 4th edition, he says,
 Do not have a separate /var file system unless you have a good idea
 how big it should be.  A good example might be a web server, where
 (contrary to FreeBSD's recommendations) it's a good idea to put the
 webpages on the /var file system. p.70

 Why is it a good idea to put webpages in the /var file system and
 not the /usr file system?

 Because they're not part of the system.  Despite the name, /usr is
 mainly for the operating system.  /var is for content that frequently
 varies.

 Okay, I understand not using /usr, but why not use /home? 

/var is for content that frequently varies.  That's its purpose.
/home is for user home directories.

 Does storing webpages in /var give you a performance increase?

No.

 Or is it convention that you would store webpages in /var?

It's certainly a convention.

 I'm setting up a webserver at my house where I'll serve several
 websites for my friends, should I have them store webpages in
 /var/username or keep them in /home/username?

I suppose if you're in a multi-user environment where each user has
his own web pages, it's better to have the users' web pages in his
public_html directory.  You can do this in either direction with
symlinks.

It's easy to read too much into these recommendations.  I personally
don't follow them.  There are hysterical raisins behind that: I set up
my original web server before I thought about the issue, and I've been
too lazy to move.  I *would* follow them with a new installation.  My
personal web pages are in my home directory, and
http://.lemis.com/grog/ (count those s) is a symlink to
~grog/public_html.

My externally visible web server is a colocated system which I share
with a number of friends.  They store the main web files in /var/www,
but individuals have their web pages in a subdirectory of their home
directory that matches the web site name (in my case,
~grog/www.lemis.com/).

 BTW, awesome book.  I love reading about the old RLL and MFM hard
 drives I used to config when I was a kid.  Brings back a lot of
 memories.

Thanks

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.


pgpb6V2daLB6D.pgp
Description: PGP signature


Re: Use /var for storing webpages.. Why???

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

Single line paragraphs.

On Tuesday, 14 December 2004 at 21:50:45 -0600, Adam wrote:
 In Greg Lehey's book The Complete FreeBSD 4th edition, he says,
 Do not have a separate /var file system unless you have a good idea
 how big it should be.  A good example might be a web server, where
 (contrary to FreeBSD's recommendations) it's a good idea to put the
 webpages on the /var file system. p.70

 Why is it a good idea to put webpages in the /var file system and
 not the /usr file system?

Because they're not part of the system.  Despite the name, /usr is
mainly for the operating system.  /var is for content that frequently
varies.

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.


pgpl8j2owUWp1.pgp
Description: PGP signature


Installing FreeBSD 4.5 (was: I'm confused...)

2004-12-11 Thread Greg 'groggy' Lehey
On Saturday, 11 December 2004 at 16:26:07 -0700, Charlie Sorsby wrote:
 Is the installer for freeBSD 4.5 broken?

 I've long procrastinated updating to a more recent version of
 freeBSD, mainly because I hate trying to get things back the way I
 had them afterwards.

 Consequently, I've been running 3.4 for quite a long while.  Today,
 I finally decided to bite the bullet and update to 4.5, the most
 recent CD that I have.

That's ancient, nearly three years old.  I'm almost tempted to say
after two years the installer stops working.  But in any case, you
really shouldn't be installing such old software.  Don't you have the
facility to download a more recent ISO?

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.


pgpqCwU28OBvq.pgp
Description: PGP signature


Re: FreeBSD or OpenBSD

2004-12-11 Thread Greg 'groggy' Lehey
On Saturday, 11 December 2004 at 19:01:43 -0600, Jay Moore wrote:
 On Sunday 05 December 2004 03:47 pm, Damien Hull wrote:
 I've been a FreeBSD user for a while now and I love it. I'm running 4.10
 and plan on upgrading soon. I'm also an OpenBSD user but I tend to use
 it for firewalls and routers. I setup Apache and Subversion on OpenBSD
 3.6 last week. This is the first time I have ever done anything other
 then a firewall on OpenBSD.

 I'm thinking about using OpenBSD on more servers. Before I do that I
 would like to know what people on the list think.

 Asking such a question makes you sound a little limp-wristed, frankly.

 Here's how you should decide: Go to the OpenBSD mailing list
 archives, select 25 or so threads at random, and read them. Do the
 same for the FreeBSD mailling list archives. Then, make your
 decision. And remember, it's not like getting married - you can
 change your mind anytime you like.

To be fair, this isn't a reasonable way of doing things.  What you're
saying, I think, is that the tone on the OpenBSD mailing lists is a
bit rough.  That has very little to do with the relative merits of the
system, however.  The OpenBSD people are proud of being
uncompromising.

What would I recommend?  Any BSD.  DragonFlyBSD, FreeBSD, NetBSD and
OpenBSD (in alphabetical order, in case anybody wants to interpret it)
are all excellent, reliable, secure, high performance systems.  There
are differences, but I'd only change from one to another with a good,
specific reason.

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.


pgp863w9fpKUd.pgp
Description: PGP signature


Re: I lost ten percent of disk place in each partition, why?

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

Output wrapped inappropriately.

On Friday, 10 December 2004 at 18:49:35 -0800, Liu Haixiao wrote:
 Dir sir:
 Please look at this:

 df
 Filesystem  1K-blocksUsedAvail Capacity  Mounted on
 /dev/ad0s1a253678   36588   19679616%/
 devfs   1   10   100%/dev
 /dev/ad0s2e  20154808 5938198 1260422632%/mnt/s2
 /dev/ad0s3e  18803906   2 17299592 0%/mnt/s3
 /dev/ad0s1e253678  12   233372 0%/tmp
 /dev/ad0s1f  18836160 1591380 15737888 9%/usr
 /dev/ad0s1d253678   10452   222932 4%/var

 Used + Avail = 0.92 * 1K-blocks, that means I lost 10% disk space,
 why?

That's the way the file system works.  The last 11% are reserved for
root.  You can change it with tunefs(8) if you want (see the -m flag),
but you shouldn't want.

FWIW, this is fairly typical.  Microsoft does it as well.  Here's what
I get from an empty flash card from my digital camera:

  $ mount -v | grep camera
  /dev/da0s1 on /camera (msdosfs, local, reads: sync 3 async 0, fsid 
1e040400)
  $ df /camera
  Filesystem 1048576-blocks Used Avail Capacity  Mounted on
  /dev/da0s1121   11   10910%/camera
  $ ls -Rl /camera/
  total 1
  drwxr-xr-x  1 root  wheel  16384 Feb 23  2004 dcim

  /camera/dcim:
  total 1
  drwxr-xr-x  1 root  wheel  16384 Feb 23  2004 100ricoh

  /camera/dcim/100ricoh:
  total 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.


pgppl4Vu48eHD.pgp
Description: PGP signature


Re: Please tell me which tool do the same work as wget?

2004-12-10 Thread Greg 'groggy' Lehey
On Friday, 10 December 2004 at 19:59:54 -0800, Liu Haixiao wrote:
 Dear sir:
 In FreeBSD5.2.1 I have installed a wget1.9, but it
 doesn't work, report:
 wget --version
 /usr/libexec/ld-elf.so.1: Shared object libc.so.4
  not found

How did you install it?

 Now I want to know:
 1. Is there another tool do the same work as wget?

There are a number.

 2. Which package should I install?( I had install linux-base-7.1_5 )

It looks to me as if you've installed a Linux binary.  Before trying
to fix that installation, try installing the wget port:

 # cd /usr/ports/net/wget
 # make install

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.


pgpbL9wd6gA1P.pgp
Description: PGP signature


Re: Help if u can pritty please

2004-12-10 Thread Greg 'groggy' Lehey
On Saturday, 11 December 2004 at 10:53:33 +0530, Subhro wrote:
 On  Saturday, December 11, 2004 8:13, [EMAIL PROTECTED] wrote:
 To: [EMAIL PROTECTED]
 Subject: Re: Help if u can pritty please

 Hello hello , I was wondering if you would be able to give me a hand to
 find a few serials, ive searched and searched and searched some more on
 the net but i dont think anyone has done them yet?

 Thanks for that

 do u have msn?

 ROFLMAO

 This is definitely the joke of the year. Any contradictions?

Let me know if you get significantly more spam from now on.

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.


pgpCmvcIvvyy8.pgp
Description: PGP signature


Re: Has anybody EVER successfully recovered VINUM?

2004-12-09 Thread Greg 'groggy' Lehey
On Thursday,  9 December 2004 at  7:06:35 -0800, orville weyrich wrote:
 See below
 --- Toomas Aas [EMAIL PROTECTED] wrote:
 I once had a problem with *invalid* vinum drive which was solved
 following this advice from Greg Lehey:

 http://makeashorterlink.com/?V29425BF9

That's a different issue, of course.

 So the procedure that worked for you was???

 resetconfig

From the man page:

 resetconfig
 The resetconfig command completely obliterates the vinum configu-
 ration on a system.  Use this command only when you want to com-
 pletely delete the configuration. 

This doesn't sound like what you want to do.  Which part of
http://www.vinumvm.org/vinum/replacing-drive.html is a problem for
you?

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.


pgpXDeSkHzqB3.pgp
Description: PGP signature


Re: Has anybody EVER successfully recovered VINUM?

2004-12-09 Thread Greg 'groggy' Lehey
On Thursday,  9 December 2004 at 17:04:38 -0800, orville weyrich wrote:
 see below
 --- Toomas Aas [EMAIL PROTECTED] wrote:

 orville weyrich wrote:

 So the procedure that worked for you was???

 resetconfig

 NO!!! At no point in the procedure did I do
 resetconfig.

 create original.config.file

 Yes, that's basically it.

 I tried that already.  It did not have the desired effect.  It
 created TWO MORE plexes, that did not have disk space to back them
 up (because the drives were fully allocated by the original
 configuration.

Correct.   This isn't the way to do it.  I've just posted the correct
URL: http://www.vinumvm.org/vinum/replacing-drive.html

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.


pgpWWY2YKzkFl.pgp
Description: PGP signature


Re: Has anybody EVER successfully recovered VINUM?

2004-12-08 Thread Greg 'groggy' Lehey
On Wednesday,  8 December 2004 at 11:52:55 +0100, Stijn Hoop wrote:
 Scott, your procedure is what I have used, except for:

 On Wed, Dec 08, 2004 at 10:09:05AM +, Scott Mitchell wrote:
 6. Tell vinum to restart the failed subdisk:

  # vinum start raid.p0.s0

 7. Wait ages while the new disk is 'revived'.

 I was quite impressed that the volume remained available with users
 accessing it throughout this procedure :-)

 Yes I was too -- however I wasn't as impressed with the fact that I had parity
 errors afterwards. Have you run 'vinum checkparity' after these rebuilds?  In
 my case I suffered data corruption...

*sigh*  Yes, there's some problem there.

 AFAIK the only way to guarantee a consistent rebuild is to do it
 offline (at least in 4.x, haven't tested gvinum in 5.x yet).

 To play it safe you might want to unmount the volume before starting.

 I *have* to.

The issue is contention round where stripes are being written.  The
code *should* avoid the contention, but it appears that there's a bug
there somewhere.  I certainly agree with you that you should umount
the file system first.

There's no reason to believe that this problem exists in gvinum: I
believe the code has been completely rewritten.

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


pgpIdH4cerh1f.pgp
Description: PGP signature


Re: Don't send test messages to -questions (was: test don't read)

2004-12-07 Thread Greg 'groggy' Lehey
On Wednesday,  8 December 2004 at  2:11:50 +0100, J65nko BSD wrote:
 On Tue, 7 Dec 2004 10:57:18 +1030, Greg 'groggy' Lehey [EMAIL PROTECTED] 
 wrote:
 On Monday,  6 December 2004 at 23:28:21 +, agostinho wrote:
 test

 Please don't do this.  It gets sent to tens of thousands of people
 round the world.  There's a special list for sending test messages.
 Please use it instead.

 Greg, your response also gets sent to tens of thousands of people.
 Please reply privately next time to this type of posts ;)

Please note the supplement to the .signature:

  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

 Sorry, couldn't resist ;)

There's a very good reason for that.  In the past, we've seen that one
person does something like this, and others copy him.  By sending one
message asking people not to do so, we can potentially nip many more
in the bud.

Sorry for the noise, people.

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.


pgp6FD0hgO83h.pgp
Description: PGP signature


Don't send test messages to -questions (was: test don't read)

2004-12-06 Thread Greg 'groggy' Lehey
On Monday,  6 December 2004 at 23:28:21 +, agostinho wrote:
 test

Please don't do this.  It gets sent to tens of thousands of people
round the world.  There's a special list for sending test messages.
Please use it instead.

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.


pgpVkwhloX7kj.pgp
Description: PGP signature


Re: vinum raid5: newfs throws an error

2004-12-06 Thread Greg 'groggy' Lehey
On Monday,  6 December 2004 at 23:44:59 +0100, Markus Hoenicka wrote:
 Greg 'groggy' Lehey writes:
 There was once an error in the stripe size calculations that meant
 that there were holes in the plexes.  Maybe it's still there (old
 Vinum is not being maintained).  But you should have seen that in the
 console messages at create time.

 Vinum reports the disk sizes as 17500MB (da1) and 17359MB (da2,
 da3). The raid5 volume and plex have a size of 33GB.

 This looks like the kind of scenario where that could happen.  Try
 this:

 1.  First, find a better stripe size.  It shouldn't be a power of 2,
 but it should be a multiple of 16 kB.  I'd recommend 496 kB.  This
 won't fix the problem, but it's something you should do anyway

 2.  Calculate the length of an exact number of stripes, and create the
 subdisks in that length.  Try again and see what happens.

 3.  Use gvinum instead of vinum and try both ways.


 Ok, I decreased the stripe size to 496, regardless of whether it has
 anything to do with my problem. Next I set the subdisk length to
 17359m on all disks, and things started to work ok. No more newfs
 errors here.

OK, looks like this was the hole in the plex issue.  I thought that
was gone.

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.


pgpn7akcOjP72.pgp
Description: PGP signature


Re: vinum limits disk size to 255MB

2004-12-05 Thread Greg 'groggy' Lehey
On Monday,  6 December 2004 at  0:28:01 +0100, Markus Hoenicka wrote:
 Hi all,

 I'm trying to set up vinum on a freshly installed FreeBSD 5.3-BETA7
 box. The system is installed on da0. I want to use three 18G SCSI
 drives to create a vinum volume.

 For some reason vinum believes the disks hold a mere 255MB. This is
 what vinum sets the subdisk length if I specify 0m as the length
 (meaning use all available space according to the manual). If I
 specify any larger size manually, vinum complains that there is No
 space left on device which strikes me odd. I *believe* that the fdisk
 and bsdlabel outputs reprinted below show that the disks are indeed
 18G. According to my math, the appropriate size to specify in the
 vinum configuration would be 35566215s, that is the number of sectors
 of the smaller disks minus 265.

 I see only one minor problem: The disks are not identical, with
 da1 having a slightly larger capacity than da2 and da3.

 Can anyone throw me a ring here?

You don't say whether you're using vinum or gvinum.  I've never seen
this problem before, but if you're getting incorrect subdisk sizes,
try specifying them explicitly:

 sd length 35840952s drive ibma 

I wonder whether the problem is related to specifying the size as 0m
instead of 0.  It shouldn't be.

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.


pgpGC9vNURlE3.pgp
Description: PGP signature


Re: vinum raid5: newfs throws an error

2004-12-05 Thread Greg 'groggy' Lehey
On Monday,  6 December 2004 at  3:05:31 +0100, Markus Hoenicka wrote:
 Hi all,

 now that I can use the full capacity of my disks, I'm stuck again. I'm
 trying to set up a raid5 from three SCSI disks (I know that a serious
 raid5 should use five disks or more, but I have to make do with three at
 the moment). The configuration is as follows:

 drive ibma device /dev/da1s1e
 drive ibmb device /dev/da2s1e
 drive ibmc device /dev/da3s1e
 volume raid5 setupstate
   plex org raid5 512k
 sd length 0m drive ibma
 sd length 0m drive ibmb
 sd length 0m drive ibmc

 This works ok. Then I run vinum init to initialize the drives. Trying
 to create a filesystem on this construct results in the error message:

 newfs: wtfs: 65536 bytes at sector 71130688: Input/output error

 Is that trying to tell me that my calculation of the group size is
 incorrect? Does it have to do anything with the fact that the three
 disks have slightly different capacities?

There was once an error in the stripe size calculations that meant
that there were holes in the plexes.  Maybe it's still there (old
Vinum is not being maintained).  But you should have seen that in the
console messages at create time.

 Vinum reports the disk sizes as 17500MB (da1) and 17359MB (da2,
 da3). The raid5 volume and plex have a size of 33GB.

This looks like the kind of scenario where that could happen.  Try
this:

1.  First, find a better stripe size.  It shouldn't be a power of 2,
but it should be a multiple of 16 kB.  I'd recommend 496 kB.  This
won't fix the problem, but it's something you should do anyway

2.  Calculate the length of an exact number of stripes, and create the
subdisks in that length.  Try again and see what happens.

3.  Use gvinum instead of vinum and try both ways.

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.


pgpRINJrCFKRb.pgp
Description: PGP signature


Re: Key mapping in X.org

2004-11-27 Thread Greg 'groggy' Lehey
On Saturday, 27 November 2004 at 20:08:39 +0100, Kees Plonsz wrote:
 Josh Paetzel wrote:

 I'm trying to set up a keybinding in X.  I would like Right Shift +
 Enter to be treated the same way that Enter is when pressed alone.
 Right now pressing Right Shift + Enter doesn't appear to do anything
 at all.

 I've read through the xset and stty man pages and didn't spot what I
 need.

stty is the wrong program.  It doesn't handle remapping.
kbdcontrol(1) does, but that's for virtual terminals, not X.

 A nudge in the right direction would be most appreciated.

 The program you ar looking for is:

 xkeycaps

 For a snapshot see:

 http://jeremino.homeunix.net/snapshot.jpg

Heh.  Nice program.  But there are a number of reasons why it's not
the one Josh is looking for:

1.  It doesn't seem to understand X.org (at least not the version I
just installed from the ports collection in
/usr/ports/x11/xkeycaps).  I get the message:

  A keyboard type was not specified, and the vendor ID string,
  The X.Org Foundation is not recognized.

2.  The real program is xmodmap(1).  xkeycaps is just a front end to
it, and that's what you need to run when you start X.  For
example, in my .xinitrc I have:

  xmodmap -e 'keysym Alt_L = Meta_L Meta_L'
  xmodmap -e 'keysym Home = Select Select'
  xmodmap -e 'remove mod5 = Scroll_Lock'

You can also put the translations in a file and get xmodmap to
read 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.


pgpIJSd5vFkKO.pgp
Description: PGP signature


Re: Key mapping in X.org

2004-11-27 Thread Greg 'groggy' Lehey
On Saturday, 27 November 2004 at 23:53:06 +0100, Kees Plonsz wrote:
 Greg 'groggy' Lehey wrote:

  A keyboard type was not specified, and the vendor ID string,
   The X.Org Foundation is not recognized.

 You got scared off by that warning message.
 The programs works fine, I just programmed
 control-return into a + sign.

You're quoting me out of context.

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.


pgpyPOvQwN9M7.pgp
Description: PGP signature


Re: GEOM vs. vinum in FreeBSD 5.3

2004-11-24 Thread Greg 'groggy' Lehey
On Wednesday, 24 November 2004 at 15:10:47 +0800, Rene C. Mendoza wrote:
 Hi!

 I'm supposed to mirror 2 similar disk drives using FreeBSD 5.3  The
 thing  is, I am confused which utility to use: vinum, gvinum, or geom.
 As I understand it, geom is still fairly new but very promising.

GEOM is completely different from Vinum and gvinum.

 Vinum, on the other hand, seems to be stable but not as extensible
 as geom.

They're not related.

 Gvinum seems to be mixture of the two.

No, gvinum is the GEOM-aware version of Vinum and will replace it when
it is complete.

 Personally, I would like to try out gvinum or geom but I don't know
 if these two would be suitable for production environments.  Now, my
 questions are:

 1. Is gvinum mature enough for production environments?

No, I don't think so.

 2. Is geom mature enough for production environments?

Probably.

 3. Which among the three, vinum, gvinum or geom should you
recommend?

They're not a choice.  5.3 uses GEOM, and you can't get past that.
You have the choice of using Vinum (old, stable, but not updated for
GEOM, so of only limited use) or gvinum (new, incomplete, will
eventually replace Vinum).  I wouldn't want to make the choice.  Read
the release notes.

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.


pgp5DgU9LmZTU.pgp
Description: PGP signature


Re: Question about old FreeBSD versions

2004-11-23 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Single line paragraphs.

On Tuesday, 23 November 2004 at 15:47:23 -0800, Peter Trinh wrote:
 Hi FreeBSD Administrator,

 I am working on some FreeBSD driver code that was written a few
 years back for FreeBSD 4.3. I already downloaded and installed 4.10
 (using FTP ISO image), but there have been so many changes in the
 kernel between the 4.3 and 4.10. As a result, I've had a lot of
 problems compiling the driver.

 I wish that I could be able to download the 4.3 and start from
 there. Is there a way to get 4.3 ?

Check it out from the CVS repository.  See the web site for more
information.

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.


pgpbDkusZ2mUj.pgp
Description: PGP signature


Re: vinum problems

2004-11-17 Thread Greg 'groggy' Lehey
On Tuesday, 16 November 2004 at 23:10:22 -1000, Gary Dunn wrote:
 On Tue, 2004-11-16 at 08:51, Chris Smith wrote:
 [snip]
 ... Can you boot off a striped volume and will it
 benefit me at all making it a striped volume at all rather than a
 concat?

 I don't think you can boot off a vinum partition, because you have to
 load vinum *after* the kernel is running. It usually loads early during
 the run through /etc/rc as the system goes multiuser, before visiting
 /etc/fstab with mount. Perhaps you have your root partition on another
 disk and just didn't mention it? Or is there a tricky way to do this
 that I am ignorant of?

There's a tricky was to do this; apparently you're ignorant of it :-)
It's described in the man page and at
http://www.vinumvm.org/cfbsd/vinum.pdf .

Basically, it involves overlaying the Vinum subdisk with a BSD
partition for booting.  This means that the plex must be concat.
Striped plexes have a layout that is incompatible with BSD partitions.

To answer Chris's other question: no, I can't see any particular
advantage.

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.


pgpw5o5jHFXmh.pgp
Description: PGP signature


Re: vinum problems

2004-11-16 Thread Greg 'groggy' Lehey
On Tuesday, 16 November 2004 at 18:51:38 +, Chris Smith wrote:
 Hi,

 I've just built a machine with a vinum root successfully.  All vinum
 sets show that they are up and working.  There are two ATA disks in a
 RAID1 root formation.

 Some questions?

How about some details first?  There's not much with the information
you supply.  

worn-out-record-mode
Read http://www.vinumvm.org/vinum/how-to-debug.html and send the
information asked for there.
/worn-out-record-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.


pgpfS3pAtBCvQ.pgp
Description: PGP signature


Re: Want to use two PCCards on a laptop

2004-11-15 Thread Greg 'groggy' Lehey
On Monday, 15 November 2004 at 17:02:40 -0800, Paul Hoffman wrote:
 Greetings again. I want to use a laptop as a router under 4.10. I
 have two PCcards that it recognizes, but when starting up, after
 connecting to the first card, I get the message:
pccard0: Can no attach more than one child.
 So, is this a limitation in the kernel that I can fix with a
 re-build? Something in one of the config files that I haven't figured
 out? Something that is fixed in 5.3? Or... ?

This isn't a general problem.  It must be related to your hardware,
but you don't say what it is.

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.


pgpUJy85ehXGd.pgp
Description: PGP signature


Re: Want to use two PCCards on a laptop

2004-11-15 Thread Greg 'groggy' Lehey
On Monday, 15 November 2004 at 17:45:42 -0800, Paul Hoffman wrote:
 At 12:03 PM +1030 11/16/04, Greg 'groggy' Lehey wrote:
 On Monday, 15 November 2004 at 17:02:40 -0800, Paul Hoffman wrote:
 Greetings again. I want to use a laptop as a router under 4.10. I
 have two PCcards that it recognizes, but when starting up, after
 connecting to the first card, I get the message:
pccard0: Can no attach more than one child.
 So, is this a limitation in the kernel that I can fix with a
 re-build? Something in one of the config files that I haven't figured
 out? Something that is fixed in 5.3? Or... ?

 This isn't a general problem.  It must be related to your hardware,
 but you don't say what it is.

 Sorry; didn't realize it might be relevant. Dell Inspiron 3500.
 FreeBSD is definitely seeing both cards; it responds nicely when I
 eject either of the cards. It just won't do anything useful when I
 insert the second card. More clues appreciated!

More information appreciated.  People shouldn't have to ask you twice
to know what cards you're using, or what the messages were.  You might
like to take a look at http://www.lemis.com/questions.html.

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.


pgpAjo6e5Y86p.pgp
Description: PGP signature


Re: Want to use two PCCards on a laptop

2004-11-15 Thread Greg 'groggy' Lehey
On Monday, 15 November 2004 at 18:09:17 -0800, Paul Hoffman wrote:
 At 12:28 PM +1030 11/16/04, Greg 'groggy' Lehey wrote:
 On Monday, 15 November 2004 at 17:45:42 -0800, Paul Hoffman wrote:
 At 12:03 PM +1030 11/16/04, Greg 'groggy' Lehey wrote:
 On Monday, 15 November 2004 at 17:02:40 -0800, Paul Hoffman wrote:
 Greetings again. I want to use a laptop as a router under 4.10. I
 have two PCcards that it recognizes, but when starting up, after
 connecting to the first card, I get the message:
pccard0: Can no attach more than one child.
 So, is this a limitation in the kernel that I can fix with a
 re-build? Something in one of the config files that I haven't figured
 out? Something that is fixed in 5.3? Or... ?

 This isn't a general problem.  It must be related to your hardware,
 but you don't say what it is.

 Sorry; didn't realize it might be relevant. Dell Inspiron 3500.
 FreeBSD is definitely seeing both cards; it responds nicely when I
 eject either of the cards. It just won't do anything useful when I
 insert the second card. More clues appreciated!

 More information appreciated.  People shouldn't have to ask you twice
 to know what cards you're using, or what the messages were.  You might
 like to take a look at http://www.lemis.com/questions.html.

 Doh! I saw hardware and I thought computer. You are right, of course.

 3Com EtherLink III, 3C569D
 3Com Megahertz, 3CCE589ET

Can you borrow a different brand of card and see if that works?

 The actual message seen in dmsg when putting in the second card is as above:
pccard0: Can no attach more than one child.
 I can't get a file off the system yet, unfortunately, so I can't give
 the full dmesg output.

That would be helpful, preferably with a verbose debug.  Can't you
connect at least one of 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.


pgpddImGKe9EW.pgp
Description: PGP signature


Re: Vinum configuration lost at vinum stop / start

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

Text wrapped.

On Thursday, 11 November 2004 at 12:00:52 +0200, Kim Helenius wrote:
 Greetings. I posted earlier about problems with vinum raid5 but it
 appears it's not restricted to that:

 Let's make a fresh start with vinum resetconfig. Then vinum create
 kala.txt which contains:

 ...

 Now I can newfs /dev/vinum/vinum0, mount it, use it, etc. But when I do
 vinum stop, vinum start, vinum stop, and vinum start something amazing
 happens. Vinum l after this is as follows:

 ...
 0 volumes:
 0 plexes:
 0 subdisks:

 Where did my configuration go?! I can of course recreate it, with no
 data lost, but imagine this on a raid5 where the plex goes into init
 mode after creation. Not a pleasant scenario. Also recreating the
 configuration from a config file after every reboot doesn't sound
 interesting.

There have been a lot of replies to this thread, but nobody asked you
the obvious: where is the information requested at
http://www.vinumvm.org/vinum/how-to-debug.html?

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.


pgpKO8NfAJe5K.pgp
Description: PGP signature


Re: Please take this somewhere else (was RE: difference

2004-11-11 Thread Greg 'groggy' Lehey
On Wednesday, 10 November 2004 at 23:31:49 -0800, Ted Mittelstaedt wrote:
 On  Wednesday, November 10, 2004 8:20 AM, Jerry McAllister wrote:
 Also, there is a difference between censorship and taking an action
 against abuse of persons.   The behavior indicated is indeed abusive.

 That is a judgement that needs to be made by the people running the
 list, not by the recipient of 'the abuse'  Anybody that is being
 told to shut up, or is being told they are an idiot, is going to
 claim it abuse.

I think this would be a valid claim.  It's certainly not the image
that the charter tries to foster.

 I would consider something like posting someone's complete name,
 address, phone number along with a statement that you and your Klan
 friends are going to be there Friday with a rope, to be abusive.
 But simple name calling?  pish posh.  I wish I had a nickle for
 every time someone swore on a mailing list!

It's not the words that count, it's the meaning.  You're really saying
this with the Klan example.  And since we're all supposed to be big
boys now, not to mention the occasional girl, I don't think it makes
sense to lay down the law exactly.  But when a number of people
complain about your behaviour, you're probably doing something wrong.

On Thursday, 11 November 2004 at 10:05:50 -0500, Jerry McAllister wrote:
 [missing attribution]
 On  Wednesday, November 10, 2004 8:20 AM, Jerry McAllister wrote:

 Also, there is a difference between censorship and taking an action
 against abuse of persons.   The behavior indicated is indeed abusive.

 That is a judgement that needs to be made by the people running the
 list, not by the recipient of 'the abuse'  Anybody that is being
 told to shut up, or is being told they are an idiot, is going to
 claim it abuse.

 Well, the person did address his complaint to the moderator of the
 list and, tho sent to the wrong place, did not address it to the
 list per se.

There's a good reason for this: this list is (currently) unmoderated.
Some of us pay attention, though.  We have been discussing some recent
abusive mail messages, and though we condemn them, we're discussing
how to deal with it.  By far our favourite choice would be for the
people in question to come into line with existing list policy.

 Finally, it is up to the list manager to choose what to do.  I don't
 think anyone has disagreed with that - at not in a public posting.

Heh.  I might :-)  See my previous paragraph.

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.


pgp7YJpQLrbYJ.pgp
Description: PGP signature


Re: Will a SD card reader solve this problem?

2004-11-10 Thread Greg 'groggy' Lehey
On Wednesday, 10 November 2004 at  8:58:27 -0500, Ada Cheng wrote:
 Good morning,
 I am trying to connect my Minolta Z2 camera with my box, currently
 running 4.10 stable.

 ...

 After rebuilding the kernel and rebooting, I tested the configuration by
 plugging in my camera. The following is the output of dmesg:
 umass0: KONICA_MINOLTA DiMAGE Z2, rev 2.00/1.00, addr 2
 umass0: BBB reset failed, TIMEOUT (this is repeated if I don't unplug the
 camera)

Hmm.  Not good.

 If I do a camcontrol devlist I obtain
 KMCA DiMAGE Z2 1.00  at scbus1 target 0 lun 0 (probe0)

 so I guess the camera is recognized but no device node was probed.

 I am also getting the following error when i do
 $mount -t msdos -r /dev/da0s1c /camera
 msdos: /dev/da0s1c: Device not configured
 which I guess isn't too surprising.

 I have read various threads regarding this TIMEOUT failure error and
 some has suggested doing some quirks with the src/sys/cam/scsi/scsi_da.c
 file which I am not comfortable with doing.

I'm in a similar (but not the same) situation with a Ricoh camera.  I
can understand your position.

 Will a SD card reader solve this problem?

Almost certainly.  That's what I did.

See http://www.lemis.com/grog/diary-nov2004.html#7 for more 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.


pgpsoGnNRo4SX.pgp
Description: PGP signature


Re: Will a SD card reader solve this problem?

2004-11-10 Thread Greg 'groggy' Lehey
On Thursday, 11 November 2004 at 13:40:22 +1100, Murray Taylor wrote:
 On Thu, 2004-11-11 at 10:43, Greg 'groggy' Lehey wrote:
 On Wednesday, 10 November 2004 at  8:58:27 -0500, Ada Cheng wrote:
 Good morning,
 I am trying to connect my Minolta Z2 camera with my box, currently
 running 4.10 stable.

 ...

 After rebuilding the kernel and rebooting, I tested the configuration by
 plugging in my camera. The following is the output of dmesg:
 umass0: KONICA_MINOLTA DiMAGE Z2, rev 2.00/1.00, addr 2
 umass0: BBB reset failed, TIMEOUT (this is repeated if I don't unplug the
 camera)

 I'm in a similar (but not the same) situation with a Ricoh camera.  I
 can understand your position.

 I do have to tell my Olympus to go into disk mode after plugging
 it into the USB hub, and then the USB connect messages appear.

 Does your Minolta have a menu for USB 'activities' ?
 The Olympus has
 - disk   (which starts the disk mode connection)
 - print  (which I havent tried yet)
 - exit   (which exits disk mode and disconnects)

I can't speak for the Minolta, of course, but the Ricoh doesn't.  I
can plug it into a Microsoft box and it Just Connects.

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


pgp1F4YaOGbcE.pgp
Description: PGP signature


Re: Vinum 1TB filesystem limit questions

2004-11-08 Thread Greg 'groggy' Lehey
On Monday,  8 November 2004 at  1:01:04 -0600, matt virus wrote:
 Hi All -

 with some help from people on this list, i managed to get vinum and
 raid5 all figured out!

 I had 4 * 160gb raid5 array running perfectly.  When i ventured home
 this past weekend, i found another ATA controller and figured I'd change
 my raid5 array to have 8 drives.

 I cleaned the drives, reformatted and labeled to have a nice clean
 start, rewrote my config file and I get this:

 --
 2day# newfs -U -O2 /dev/vinum/raid5
 /dev/vinum/raid5: 1094291.2MB (2241108324 sectors) block size 16384,
 fragment size 2048
 using 5955 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
 with soft updates

 newfs: can't read old UFS1 superblock: read error from block device:
 Invalid argument

Hmm.  Interesting.  UFS 1 is limited to 1 TB, so the message is
understandable.  But why is it looking for a UFS 1 superblock?  What
happens if you first create a smaller UFS 2 file system (use the -s
option to set the size explicitly to, say, 500 GB), and then repeat
making it for the full 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.


pgppnoDujV088.pgp
Description: PGP signature


Re: vinum disklabel FBSD 5.2.1....

2004-11-06 Thread Greg 'groggy' Lehey
On Sunday, 31 October 2004 at 14:03:18 +0100, FreeBSD questions mailing list 
wrote:

 On 31 okt 2004, at 07:41, matt virus wrote:

 matt virus wrote:
 Hi all!
 I have (8) maxtor 160gb drives I plan on constructing a vinum raid5
 array with.
 the devices are:
 ad4ad11
 All drives have been fdisk'd and such,
 ad4s1d.ad11s1d
 The first step of setting up vinum is changing the disklabel
 disklabel -e /dev/ad4
 The disk label says it has 8 partitions, but only the A and C
 partitions are shown...
 **MY DISKLABEL
 # /dev/ad4:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
  a: 320173040   16unused0  0
  c: 3201730560unused0  0 # raw part, don't edit
 **


 c: is not a valid disk label. You need to create one first. See the
 example below first: there's an e label.  You can do this in
 sysinstall: Configure / Label / ad4 and then C to create one.  Once
 that's done it'll show up in disklabel as you write below.  Then in
 disklabel you can change the 4.2BSD to vinum.

You should also not use 'c' for Vinum.

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.


pgpP1ctMiCuRw.pgp
Description: PGP signature


Don't feed the (your word here): (was: Compatible NIC)

2004-11-03 Thread Greg 'groggy' Lehey
On Sunday, 31 October 2004 at 11:54:22 -0500, [EMAIL PROTECTED] wrote:
 In a message dated 10/31/04 5:00:35 AM Eastern Standard Time,
 [EMAIL PROTECTED] writes:
 A member of the Gustapo said:

This is offensive.

 Kris was just asking you to respect the charter
 of the mailing list.  I've looked at about 15 messages from you, most
 of them insulting, some voicing opinions that run contrary to fact,
 and suggesting that you have a good overall understanding of the
 project.  Given that you don't know who Kris is, it's difficult to
 believe the last point.

 ---
 So the charter of the mailing list is that only good and positive
 things can be said about FreeBSD, and no one is allowed to make
 distinctions between good and bad code and/or drivers? Is the soviet
 union back or what?

You can read the charter yourself.  If you don't understand it, ask
politely.

  Its easy to dismiss people who ask hard questions as trolls. Its
 a lot more difficult to answer the questions credibly.

I don't think we should dignify your behaviour as a troll.  But
there's one thing you have in common with a troll: if we ignore you,
you will lose interest.  I'd ask all other people on the list to take
any correspondence with our nameless one offline.  Better would be no
correspondence at all.

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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compatible NIC

2004-10-31 Thread Greg 'groggy' Lehey
On Friday, 29 October 2004 at 18:09:25 -0400, [EMAIL PROTECTED] wrote:
 In a message dated 10/29/04 3:27:34 PM Eastern Daylight Time,
 [EMAIL PROTECTED] writes:
 I just voiced my opinion. If you want to use them, feel free. Use 5.2.1.
 with the rl driver. Have the slowest server on the block. What do
 I care?

 A lot, apparently; if you didn't care you wouldn't say anything.  How
 much do you say your time is worth, again?  You must have donated
 hundreds of dollars worth of your caring to the mailing list over
 the past few weeks.  Unfortunately, valuing the time of others in the
 same way, you've also cost the user community many thousands of
 dollars reading your strangely-embittered commentary.

 No one is forcing you to read anything. I never copy you on
 anythere,

I'm not sure what anythere means, but by sending messages to the
mailing list, you're copying Kris and everybody else who is on the
list.

 but here you are again

With good reason.

 Aside from the few weenies like yourself who think you know
 everything and would rather not hear the truth, I'm sure that there
 are many who are a bit more objective and value hearing another
 point of view. People want to know whats good and bad about using
 FreeBSD. Your Klan just paints a rosey picture about everything, so
 nothing you say can have any credibility.

You're welcome to say what you want about FreeBSD.  Just find a more
appropriate channel.  Kris was just asking you to respect the charter
of the mailing list.  I've looked at about 15 messages from you, most
of them insulting, some voicing opinions that run contrary to fact,
and suggesting that you have a good overall understanding of the
project.  Given that you don't know who Kris is, it's difficult to
believe the last point.

In any case: please read the charter.  Please abide by it.  If you
don't, you're in line to become one of the select few who have ever
been banned from this list.

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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Arla

2004-10-24 Thread Greg 'groggy' Lehey
On Thursday, 14 October 2004 at 13:05:57 -0700, Damian Sobieralski wrote:

  I hope this is the correct place to post this.  I'm a recent convert
 to FreeBSD (about 2 years ago). I'll spare the details (potential flame
 bait). I'll just say it is so nice to have ONE distribution of my O/S
 and leave the inferences to what I was using before as an exercise to
 the reader :)  Anyways, using the very well maintained ports I have
 never had any troubles.  However, I am on a fact finding mission.

   I have been digging around the 'Net looking for AFS client
 information for FreeBSD.  It appears OpenAFS does not run on FreeBSD
 and many point to Arla.  I visited the project's homepage and I noticed
 that it stated that FreeBSD 5.2.1 is a specifically supported (my
 version) system.  I tried to make the port and noticed it was listed as
 broken (as well as several errors after I type make in
 /usr/ports/net/arla).  So without wasting any more time on the mailing
 list then need be- what is the status of Arla on FreeBSD?  Is there a
 working port for 5.2.1? Or a more general question- if one has a 5.2.1
 machine (i386) and wants AFS client connectivity- what options are
 available to him (if any)?

First, sorry if this arrives after other more useful messages.  I'm
travelling in Europe, and it could be up to a week before I can send
this message.

I've been looking at ARLA, and it seems that it's broken as a result
of some changes in the bio layer of FreeBSD 5 and 6.  The breakage is
minor, but to fix and test it I need to do a certain amount of work,
and that won't happen until mid-November at the earliest (I won't be
home until 7 November).  You might like to contact me (privately)
round then for an updated status.

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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: topposting (was: colourization in ls command)

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

Irrelevant text trimmed.
Long/short breakage *not* trimmed, but left as an(other) example.

On Friday, 15 October 2004 at 13:33:37 -0600, Tom Connolly wrote:
 Giorgos Keramidas wrote:
 On 2004-10-15 09:35, Tom Connolly [EMAIL PROTECTED] wrote:
 Greg 'groggy' Lehey wrote:
 On Tuesday, 12 October 2004 at 17:09:29 -0600, Tom Connolly wrote:
 There is a nice little tool for Outlook users, [...]

 http://home.in.tum.de/~jain/software/outlook-quotefix/

 Are you aware that your message was formatted with long/short lines?

 Looks ok to me.

This is possible (see below), but you're presumably writing for
others, not for yourself.  To quote
http://www.lemis.com/email/fixing-outlook.html:

 Microsoft Outlook might not be the worst mailer available, but the
 results delivered to non-Microsoft mailers certainly make it look
 that way.  This may not worry Microsoft, but it should worry you:
 your mail is one of the ways people judge you on the net. Send out a
 badly formatted message like the ones in the Email format page or
 like Microsoft's own format breakage, and people will often think
 that you are incompetent or careless.

 Sorry but no; Greg is right.  Your post *did* exhibit the long/short
 line bug of Outlook.

 That's the problem with most of the email that Outlook sends, isn't
 it? It looks ok to the poster but not to the reader.  Long/short
 lines that Greg referred to is a common symptom of Outlook-formatted
 (or, to be more precise, `unformatted', if I am excused for the pun)
 messages.

I've recently had the misfortune to have to use Outlook for real
work.  I won't start on a rant about how difficult it is to use, but
I'd like to point out that it reformats text for display, wrapping
lines that weren't wrapped in the original.  That makes it look OK to
you, but it doesn't solve the problem, and it's a breach of the RFC
standards.

 I can't even begin to describe how many things are stupid about
 this format of replying.

Indeed.  I think I'll keep your text and add it to my own rant, if I
may.

 What is very wrong about the wrapping style of Outlook (or the lack
 of one) is that Outlook users might never become aware of it.  Just
 like you didn't know about it until Greg pointed it out ;-)

 That's all true but at least it solves the topposting problem which is what
 most
 People seemed to be complaining about. :)

A number of things about this comment:

1.  It still shows long/short.
2.  I'm not sure what you're referring to, because you quoted the
*entire* message.  It doesn't seem to refer to the immediately
preceding text.

You'll note that a number of people, myself included, have drawn a
distinction between top posting and bottom posting on the one hand
and an appropriate interaction of original and reply on the other.
It's the latter that we're hoping for.  Leaving irrelevant text is
always wrong.

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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: topposting (was: colourization in ls command)

2004-10-16 Thread Greg 'groggy' Lehey
On Wednesday, 13 October 2004 at  8:20:19 -0400, Bart Silverstrim wrote:

 On Oct 12, 2004, at 6:44 PM, Greg 'groggy' Lehey wrote:

 On Tuesday, 12 October 2004 at  8:42:39 -0400, Bart Silverstrim wrote:
 It gets to a point where I solve it by doing this or just no reply at
 all.

 Problem solved.

 I don't see a problem.  What are you talking about?

 :-)  Exactly!

No, you're missing the point.  IIRC (and I'm not going to check),
you've again removed relevant content.  Please don't bother to reply
if you don't want to tell people what you're talking about.

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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: topposting (was: colourization in ls command)

2004-10-15 Thread Greg 'groggy' Lehey
On Tuesday, 12 October 2004 at 17:09:29 -0600, Tom Connolly wrote:
  Top posting is generally frowned-upon.  People who indulge in it are
  shown to be Microsoft Outlook users, because that is the default of
  Outlook.
 
 There is a nice little tool for Outlook users, created by Dominik Jain, that
 will modify
 An MS Outlook message to allow for correct quoting.  Just hit forward,
 reply or reply all
 And the tool does the rest...
 
 http://home.in.tum.de/~jain/software/outlook-quotefix/

We've seen the results of this tool in the recent past.  They weren't
convincing.

Are you aware that your message was formatted with long/short lines?

Greg
-- 
See complete headers for address and phone numbers
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: topposting (was: colourization in ls command)

2004-10-12 Thread Greg 'groggy' Lehey
On Tuesday, 12 October 2004 at  8:42:39 -0400, Bart Silverstrim wrote:
 It gets to a point where I solve it by doing this or just no reply at
 all.

 Problem solved.

I don't see a problem.  What are you talking about?

From the weekly posting:

 7.  Include relevant text from the original message. Trim it to the
 minimum, but don't overdo it. It should still be possible for
 somebody who didn't read the original message to understand what
 you're talking about.

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.


pgpAWLIS86bpz.pgp
Description: PGP signature


Re: vinum swap no longer working.

2004-10-11 Thread Greg 'groggy' Lehey
On Monday, 11 October 2004 at 11:26:13 +0200, Mark Frasa wrote:
 On 2004.10.11 10:43:02 +0930, Greg 'groggy' Lehey wrote:
 [missing attribution to Greg Lehey]
 On Sunday, 28 December 2003 at 20:00:04 -0800, Micheas Herman wrote:
 This may belong on current, I upgraded to 5.2 from 5.1 and my
 kernel (GENERIC) now refuses to use /dev/vinum/swap as my swap
 device. # swapon /dev/vinum/swap swapon: /dev/vinum/swap:
 Operation not supported by device # Is this a 5.2 bug or do I have
 vinum incorrectly configured?

 This is a 5.2 bug.  It was last mentioned here a day or two ago, and
 I'm currently chasing it.

 Since this is a message from the 28th of December 2003 , can anyone
 tell me when this issue will be solved?  Otherwise i have to
 consider buying PATA disks which allows me to run 4.10 again.

 Vinum is being rewritten; the new one is called gvinum or geom_vinum.
 It handles swap, and it should be in 5.3.

 Does the vinum in FreeBSD 4.10 has the same problem?

No.

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.


pgpQBI7f8A4vi.pgp
Description: PGP signature


Re: RAID 1 in HP NetServer LC 2000

2004-10-11 Thread Greg 'groggy' Lehey
On Monday, 11 October 2004 at  5:55:24 +0700, Muhammad Reza wrote:
 Ok.. vinum then..
 but i have error when applied this vinum.conf

 drive drive1 device /dev/da0s1e
 drive drive2 device /dev/da1s1e
 volume usr setupstate
  plex org concat
sd length 13887091s drive drive1
  plex org concat
sd length 13887091s drive drive2
 volume var setupstate
  plex org concat
sd length 0 drive drive1
  plex org concat
sd length 0 drive drive2

 mail# vinum
 vinum - create -f /etc/vinum.conf
   2: drive drive2 device /dev/da1s1e
 /*** 2 : Invalid argument*/
 1 drives:
 D drive1State: up   Device /dev/da0s1e  Avail:
 0/16488 MB (0%)
 D drive2State: referenced   Device /dev/da1s1e
 Avail: 0/0 MB

 2 volumes:
 V usr   State: up   Plexes:   2 Size:   6780 MB
 V var   State: up   Plexes:   2 Size:   9707 MB

 4 plexes:
 P usr.p0  C State: up   Subdisks: 1 Size:   6780 MB
 P usr.p1  C State: up   Subdisks: 1 Size:   6780 MB
 P var.p0  C State: up   Subdisks: 1 Size:   9707 MB
 P var.p1  C State: up   Subdisks: 1 Size:  0  B

 4 subdisks:
 S usr.p0.s0 State: up   PO:0  B Size:   6780 MB
 S usr.p1.s0 State: up   PO:0  B Size:   6780 MB
 S var.p0.s0 State: up   PO:0  B Size:   9707 MB
 S var.p1.s0 State: up   PO:0  B Size:  0  B

 which argumen is invalid ? i use 4.10 ..
 please help me...

Take a look at the man page or
http://www.vinumvm.org/vinum/how-to-debug.html.

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.


pgptACcaXyNWh.pgp
Description: PGP signature


Re: vinum swap no longer working.

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

Overlong lines.

On Sunday, 10 October 2004 at 19:23:24 +0200, Mark Frasa wrote:
 Hello,

 After installing FreeBSD 5.2.1, because 4.10 and even 5.1 did not
 reconized mij SATA controller, i CVS-upped and upgraded to 5.2.1-p11
 RELEASE

 After that I configured Vinum to mirror (RAID 1) 2 80G Maxtor SATA
 disks.

 The error i am getting is:

 swapon /dev/vinum/swap  swapon: /dev/vinum/swap: Operation not
 supported by device

 I have taken notice of this message:

 -
 [missing attribution to Greg Lehey]
 On Sunday, 28 December 2003 at 20:00:04 -0800, Micheas Herman wrote:
 This may belong on current, I upgraded to 5.2 from 5.1 and my
 kernel (GENERIC) now refuses to use /dev/vinum/swap as my swap
 device. # swapon /dev/vinum/swap swapon: /dev/vinum/swap:
 Operation not supported by device # Is this a 5.2 bug or do I have
 vinum incorrectly configured?

 This is a 5.2 bug.  It was last mentioned here a day or two ago, and
 I'm currently chasing it.

 Since this is a message from the 28th of December 2003 , can anyone
 tell me when this issue will be solved?  Otherwise i have to
 consider buying PATA disks which allows me to run 4.10 again.

Vinum is being rewritten; the new one is called gvinum or geom_vinum.
It handles swap, and it should be in 5.3.

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.


pgpnk3lqXPXTO.pgp
Description: PGP signature


Re: VINUM: Disk crash with striped raid

2004-10-08 Thread Greg 'groggy' Lehey
On Friday,  8 October 2004 at 14:52:48 +0200, Paul Everlund wrote:
 Greg 'groggy' Lehey wrote:
 On Thursday,  7 October 2004 at 18:11:52 +0200, Paul Everlund wrote:
 Can you be more specific?

 My vinum.conf looks like this, if this is to be more specific:

drive ad5 device /dev/ad5s1e
drive ad6 device /dev/ad6s1e
volume raid0
plex org striped 127k
sd length 0 drive ad5
sd length 0 drive ad6

It's a *very* bad idea to name Vinum drives after their current
location.  You can take the (physical) drives out and put them
elsewhere, and Vinum will still find them.  The naming is then very
confusing.

 If it only has a single plex, you're in trouble.

 Well, then I'm in trouble.

 In that case, you need your recovery company to get an image of
 the failed disk. Then you should put it on a similar disk, create
 a configuration entry and perform some other incantations, and you
 should be up and running again.

 Can you please be more specific? Is the configuration entry the one
 above, vinum.conf? Perform other incantations?

The easiest way is to recover the exact Vinum partition (drive) and
copy it as it is onto a new Vinum drive with the same name.  Then just
do a 'setstate up' on the plex and subdisks.

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.


pgpmm9KgDqqZx.pgp
Description: PGP signature


Re: VINUM: Disk crash with striped raid

2004-10-07 Thread Greg 'groggy' Lehey
On Thursday,  7 October 2004 at 18:11:52 +0200, Paul Everlund wrote:
 Hi Greg and list!

 I did have two 120 GB's disk drives in vinum as a striped raid.

Can you be more specific?

 One disk crashed, and is not found during boot. It starts up and
 makes the usual noises, but then it stalls with a katjing, katjing
 and so on. It seems like either the steering electronics, or the
 read/write-heads mechanics, have failed.

 I did contact a data recovery company and they say they need both
 disks to restore the raid, because of that the raid initializing
 might be corrupted.

 My questions is:

 Do they need both disks?

That depends on your configuration.

 Isn't it enough if they make a disk image of the failed drive, and I
 will then be able to restore the raid data initialization in vinum
 by a vinum create, or something similar?

The command will be 'vinum start'.

 Will they be able to recreate the raid data without using vinum
 anyway?

Who knows?

The real issue is the configuration of your volume (not raid).  If
it only has a single plex, you're in trouble.  In that case, you need
your recovery company to get an image of the failed disk.  Then you
should put it on a similar disk, create a configuration entry and
perform some other incantations, and you should be up and running
again.

If you have two or more plexes, you shouldn't need to do any of this.

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.


pgp6exUJmpN6n.pgp
Description: PGP signature


Re: Vinum Help Needed (was: Mail auth and FreeBSD/Sendmail)

2004-10-05 Thread Greg 'groggy' Lehey
On Tuesday,  5 October 2004 at  7:47:24 -0500, John Souvestre wrote:
 In-Reply-To: [EMAIL PROTECTED]

Please don't reply to unrelated threads.  See
http://www.lemis.com/questions.html for more details.

 I'm running Vinum on a 4.9 system with 3 drives.  The first drive is
 a small one and I boot from it.  The second and third drive are
 mirrored, using Vinum, and contain most of the system's data (1
 volume, 1 plex per drive, 1 subdisk per plex).

 The system locked up on me this morning.  When I rebooted there was
 a problem with the Vinum mirrored drives.  When I did a list from
 Vinum both subdisks were stale and both plexes were faulty.

 ...

 I'm guessing that I blew away the first plex.

I can't guess what you did.

 Is there any way to get the second plex up and running, and to
 restore the first plex from it?

Maybe.

Please read http://www.vinumvm.org/vinum/how-to-debug.html, retrace
your steps and see if you can work out what you did wrong.  If not,
please supply the information asked for there, and maybe somebody will
be able to help you.

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.


pgpMoXmdPSfpP.pgp
Description: PGP signature


Re: OLD e-machines box and XF86Config

2004-10-04 Thread Greg 'groggy' Lehey
On Monday,  4 October 2004 at 10:55:41 -0700, Gary Kline wrote:

   Folks,

   Does anybody onlist have a working XF86Config for an
   old year 2000 emachine 500ix? 

I suppose I'm not the only person to have no idea what kind of machine
this is.  What architecture is it?

   I just upgraded it to a full 256M of SDRAM and added a
   huge drive.  Now am getting ready toput 5.3 on there.
   xf86config, the shell version, didn't work, and it looks
   like I messed up on the GUI config.

   Assistance much appreciated.

Well, a good start would be to give some details of the machine (in
particular, the graphics card), what you've done, and what happened.

   PS:  oh  yeah, any opinions on xorg vs xfree86 welcome, too.

The general consensus seems to be to go with X.org, especially with
unusual hardware.  I'm doing so, and it works for me.

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.


pgpcy8woB2vlk.pgp
Description: PGP signature


<    1   2   3   4   5   6   7   8   >