Re: Jails not quite stable..

2004-01-11 Thread Marc G. Fournier
On Sat, 10 Jan 2004 [EMAIL PROTECTED] wrote:

 I am working on a project to move various services running directly under
 FreeBSD 4.8-REL to run under jails on the same servers. Setting up the jails
 is no problem at all (I can follow manpages), and bringing the jails up
 using either '/bin/sh /etc/rc' or '/usr/local/sbin/jailer' works as well.
 Basically, I can get a jail up and running with the desired service.

 However, I've found that jails are producing some problems during my
 testing.

 1. On several occassions I have been unable to kill a process in a jail,
 even with a 'kill -9' from inside or outside the jail as root.

 europa# ps aux|grep J
 root  90423  0.0  0.4  1268  920  p0- DJ   10:44PM   0:00.01 /bin/csh
 europa# kill 90423
 europa# ps aux | grep J
 root  90423  0.0  0.4  1268  920  p0- DJ   10:44PM   0:00.01 /bin/csh
 europa# kill -9 90423
 europa# ps aux | grep J
 root  90423  0.0  0.4  1268  920  p0- DJ   10:44PM   0:00.01 /bin/csh

stupid question, but is there anything in /var/log/messages on the base
machine to indicate any problems?  how many processes are running on that
machine?  are the processes above as indicated?  ie. are they just shells,
or are they actually running something?

 3. If a process is hung, such as /bin/csh, then odd things happen when
 accessing the location of the jail:

 # cd /dsk/jails/
 # ll
 total 51684
 drwxr-xr-x  13 root  wheel   512 Jan 10 22:17 mail1
 -rw---   1 root  wheel  52896075 Jan 10 20:47 skel.tgz
 # cd mail1europa
 # ll
 (ls just hangs at this point)

it sounds like what I used to experience with the 'running out of vnodes'
issue, but that is with using unionfs for a file system, and that is with
60+ jails running ... plus, the vnode problems that I was experiencing
were fixed a while back, such that its been 6months since I've
experienced that problem...

 # uname -v
 FreeBSD 4.9-STABLE #0:

# uname -v
FreeBSD 4.9-STABLE #4: Tue Jan  6 00:59:37 AST 2004 [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/kernel

 I WANT to use jails to host most of our services, if for no other reason
 than the increase manageability, but there just seems to be a stability
 issue here. I realize I will get a lot of It works for me, but again,
 these problems are reproducible, so I'm sure someone else has seen it. :)

I run 60+ jails per server, running just about anything you can think of
in the way of services ... no, I haven't seen this :(



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


Re: tail tip to Fortune?

2004-01-11 Thread Jez Hancock
On Sun, Jan 11, 2004 at 12:01:22AM -0600, Andrew L. Gould wrote:
 On Saturday 10 January 2004 07:39 pm, Andrew L. Gould wrote:
  On Fri, 9 Jan 2004, Dan Nelson wrote:
   In the last episode (Jan 09), Dru said:
I remember coming across a trick (which I can't find now) which
allowed you to page all of a file, except for the first 10 lines. I
think it used a combo of head and tail to achieve this. I can't just
use tail as the length of the file varies whereas the amount I don't
want to see doesn't.
  
   tail +11 myfile
 
  Could we get this one into the Fortune tips that appear at user login?
 
  Andrew Gould
 
 Please disregard -- I figured out how to add my own fortune file.
FWIW you can do something like this:

fortune -m tail freebsd-tips

to display all tips in the freebsd-tips fortune file that contain
'tail'.

As it turns out there is this tip:

To see the last 10 lines of a long file, use tail filename. To see the
first 10 lines, use head filename.
  -- Dru [EMAIL PROTECTED]

which is almost what you're asking about :P

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - personal weblog
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The FreeBSD Diary: 2003-12-21 - 2004-01-10

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


-- 
Dan Langille - DVL Software Limited
The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples
FreshPorts- http://www.FreshPorts.org/   - the place for ports
FreshSource   - http://www.FreshSource.org/  - the place for source

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


Re: (Yet Another) Home Networking Question

2004-01-11 Thread Rishi Chopra
I was able to get my network up and running with the suggestions below.  
To review, my setup is the following:

ISP FreeBSD Gateway Win2k Box

--rl0--rl1---
ALL DHCP  192.168.0.1   192.168.0.2
rl0 is connected to the modem by ethernet and set for DHCP, the ISP's 
method of address asignment. rl1 is the second NIC in the BSD box, and 
is connected by crossover cable to the Win2k box. FreeBSD box and Win2k 
box can successfully ping each other, and both FreeBSD box and Win2k 
have working internet access.  Everything is running A-OK.

If I wish to host WinVNC on the Win2k box, do I need to make any changes 
to the Gateway?  Specifically, WinVNC requires the Win2k box to be 
listening on 5800 and 5900; I have opened these ports (and these ports 
only) on the Win2k box.  Do I need to change rc.conf or any other files 
on the gateway to specify that all incoming connections on 5800 and 5900 
be forwarded from rl0 to rl1?  Am I gonna have to step up to IPFW (yuck!) ??

Thanks,
Rishi
Mike Maltese wrote:

(1) in /etc/rc.conf, I added the following
 natd_enable=YES
 natd_interface=rl0 ### public interface connected to cable modem
 gateway_enable=YES
 defaultrouter=192.168.0.1 ###  LAN machines use this
 ifconfig_rl0=DHCP  ### Astound uses dhcp
 ifconfig_rl1=inet 192.168.0.1 netmask 255.255.255.0 ### use for LAN
 hostname=idfubar.dyndns.org
   

As a first step, try adding these lines to rc.conf:

firewall_enable=YES
firewall_type=open
This will enable diversion of all traffic to natd. Read the man pages for
natd and ipfw and
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html
for more information.
The easiest way to reinitialize the system is to type shutdown now. This
will drop you into single user mode. Press return when prompted for a shell.
Hit Ctrl+D and the rc system will be run through and put you back into
multi-user mode. Check for connectivity from the router and the Windows box.
As a side note, you can delete the defaultrouter entry. That's for your
FreeBSD box, not LAN clients. It's getting reset by dhclient when it gets
lease information from your ISP's DHCP server anyway.
 

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


CVSup checkout mode for FreeBSD doc tree

2004-01-11 Thread Robert Downes
The quick start instructions for the FreeBSD documentation project say

   2. Get a local copy of the FreeBSD doc tree. Either use CVSup in 
checkout mode to do this, or get a full copy of the CVS repository locally.

I have, so far, used CVSup to reconcile sources and ports and docs, but 
I'm confused now. According to the man page for CVSup, checkout mode is 
not the default, and will only be used if a tag or a date are specified. 
If I want to obey the instruction from the documentation project, what 
do I want to do with my /etc/cvsupfile if mine currently looks like this:

*default  host=cvsup.uk.FreeBSD.org
*default  base=/usr
*default  prefix=/usr
*default  release=cvs
*default  tag=RELENG_5_2
*default  delete use-rel-suffix
src-all
*default tag=.
ports-all
doc-all
At the moment, the doc section does not seem to have a tag, so does that 
mean I'm not using checkout mode to update my doc tree?

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


Re: aic7xxx/FreeBSD/Linux can't find disk drives

2004-01-11 Thread Kent Stewart
On Saturday 10 January 2004 09:06 pm, Matt Bjornson wrote:
 I have a Dell PowerEdge 2400 with dual 733 Mhx CPUs.  I have tried
 to install  several distros of Linux (Red Hat 9.0 and Gentoo 1.4)
 and FreeBSD 4.8, 5.0 and while I can get the kernels to recognize
 the Adaptec 7890 and the Adaptec 7880 and use my scsi CDROM, when I
 fdisk to try to create partitions, I receive a unable to find
 /dev/sda Thanks



All of the scsi disks I ever had were refered to as /dev/da...

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: gtk-gnutella-0.93.2 crashing frequently..

2004-01-11 Thread clayton rollins
Quoting Jason [EMAIL PROTECTED]:
anyone else seeing this app dumping core very frequently?
a core file can be seen at
http://monsterjam.org/core/
the previous version I portupgraded from 0.91 I believe was working fine 
and dandy before I portupgraded it.

regards,
Jason
Hi Jason,

I can't access your core file (probably permissions). It
probably wouldn't help much, as I would need to reproduce
the executable it came from, and code. The crash output
would be more useful, for me.
At any rate, the problem you're experiencing is likely due to
a bug reported recently, which causes a segfault when
running the gtk1 version on freebsd. (Without getting too far
into it, a widget with 7 items is hard-coded with 5 items. The
problem wasn't noticed in advance as the dev.s mostly use
linux. I use the gtk2 version, so I was unaware of the bug.)
For fixing, there are three or four options for you.

1. Get and compile the newest cvs. (which is currently in
freeze for a bugfix release.)
This will also fix a minor memory leak that was discovered
recently.
Get a snapshot here:
http://gtk-gnutella.sourceforge.net/index.php?page=devel#devel-snapshots
Run:
./Configure -d -e -Dyacc='bison -y' -Dofficial='true'
  -Dprefix=${PREFIX} -Dbindir=${PREFIX}/bin
  -Dprivlib=${PREFIX}/share/gtk-gnutella
  -Dsysman=${PREFIX}/man/man1
  -Dlocale=${PREFIX}/share/locale
  -Dccflags='${CFLAGS} -I${LOCALBASE}/include/'
(note 1: the above are defaults for the port.)

(note 2: if ICU is installed, you will need to run
interactively (remove -d) and remove the linking
to -licuuc, or edit it out in the Configure script.)
then make  make install, as usual.

2. find a package from the previous release in ports
(0.93).
This was a  very recent update, and it is likely there
are good package builds out there.
3. Wait a few days.

As I mentioned, a serious bug was found in the gtk1
version, and a bugfix release is imminent. The port will
be updated as soon as the source is available.
4. compile a gtk2 version.

Using gtk2 takes quite a bit of cpu (I'd say, don't bother
if you have less than 600 MHz), but should allow you to
run... (Use WITH_GTK2 to do.)
On behalf of the gtk-g project, I would like to formally
apologize. Many new people have joined the dev. team,
and some issues with memory leaks, etc., have been
occuring with some frequency. While work is being
achieved at a much faster rate than ever before, this
also means that undiscovered bugs enter the code
more than ever before.
In response, a new policy of doing a 'code freeze'
before release has been instituted now, and newer
version should, hopefully, show less and less of this.
(Keep in mind the software only purports to be beta
quality)
One criticism for you, though. Your statement that
0.91 I believe was working fine is a *very* bad point
of view. Gnutella is an evolving protocol, and frequent
updates of the client software are a neccesity. In fact,
version 0.91 is considered fully deprecated, and other
gtk-gnutella nodes will not even connect to you. (Their
existence is considered harmful to the network.)
I don't want to scold you or anything, but that is a
common thought that, really, *must* end.
Regards,
Clayton Rollins
PS. sorry for taking some time to respond. I only get
this list in digest form, so didn't see your post
immediately. On the same note, be sure to cc any
replies directly to me.
PPS. If you need personal assistance, help is available
on #gtk-gnutella on freenode.net.
_
Let the new MSN Premium Internet Software make the most of your high-speed 
experience. http://join.msn.com/?pgmarket=en-uspage=byoa/premST=1

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


Re: CVSup checkout mode for FreeBSD doc tree

2004-01-11 Thread Marc Fonvieille
On Sun, Jan 11, 2004 at 08:33:53AM +, Robert Downes wrote:
 The quick start instructions for the FreeBSD documentation project say
 
 2. Get a local copy of the FreeBSD doc tree. Either use CVSup in 
 checkout mode to do this, or get a full copy of the CVS repository locally.
 
 I have, so far, used CVSup to reconcile sources and ports and docs, but 
 I'm confused now. According to the man page for CVSup, checkout mode is 
 not the default, and will only be used if a tag or a date are specified. 
 If I want to obey the instruction from the documentation project, what 
 do I want to do with my /etc/cvsupfile if mine currently looks like this:
 
 *default  host=cvsup.uk.FreeBSD.org
 *default  base=/usr
 *default  prefix=/usr
 *default  release=cvs
 *default  tag=RELENG_5_2
 *default  delete use-rel-suffix
 
 src-all
 *default tag=.
 ports-all
 doc-all
 
 
 At the moment, the doc section does not seem to have a tag, so does that 
 mean I'm not using checkout mode to update my doc tree?


The right tag for docs is . (period), one could say that doc is -CURRENT.

I wrote a quick guide on how to keep your docs up to date, maybe it
could help you:

http://www.bsdnews.org/02/freebsd_doc.php

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


Re: perl script question.

2004-01-11 Thread Bernard El-Hagin
Matthew Seaman wrote:
 On Sat, Jan 10, 2004 at 06:26:30PM -0500, Marty Landman wrote:
  At 06:02 PM 1/10/2004, Matthew Seaman wrote:
  On Sat, Jan 10, 2004 at 11:39:07PM +0100, Bj?rn Andersson wrote:
  
   If this occures more than once on a line we should have the line as this:
 perl -pi.bak -e 's/\s+\w+_\w+\.?//g;' filename
  
  Good point.  Also, if the stuff_separated_by_underscores wraps around
  onto more than one line, then there may not be any leading whitespace:
  
  I don't see why the translate sol'tn that Gary Kline gave first isn't 
  adequate.
 
 Err --- Gary Kline was the OP asking how to do this: I think you mean 
 Bernard El-Hagin's solution?
 
 % perl -i.bak -pe 'tr/_/ /' files
 
 That doesn't do the right thing.  It turns:
 
 This is a sample ordinary sentence.  This_is_joined_up_with_underscores.
 
 into:
 
 This is a sample ordinary sentence.  This is joined up with underscores.
 
 but the requirement is to produce:
 
 This is a sample ordinary sentence.


Yes, I completely misread the question. Sorry.

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


Re: tail tip to Fortune?

2004-01-11 Thread Andrew L. Gould
On Sunday 11 January 2004 01:55 am, Jez Hancock wrote:
 On Sun, Jan 11, 2004 at 12:01:22AM -0600, Andrew L. Gould wrote:
  On Saturday 10 January 2004 07:39 pm, Andrew L. Gould wrote:
   On Fri, 9 Jan 2004, Dan Nelson wrote:
In the last episode (Jan 09), Dru said:
 I remember coming across a trick (which I can't find now) which
 allowed you to page all of a file, except for the first 10 lines. I
 think it used a combo of head and tail to achieve this. I can't
 just use tail as the length of the file varies whereas the amount I
 don't want to see doesn't.
   
tail +11 myfile
  
   Could we get this one into the Fortune tips that appear at user login?
  
   Andrew Gould
 
  Please disregard -- I figured out how to add my own fortune file.

 FWIW you can do something like this:

 fortune -m tail freebsd-tips

 to display all tips in the freebsd-tips fortune file that contain
 'tail'.

 As it turns out there is this tip:

 To see the last 10 lines of a long file, use tail filename. To see the
 first 10 lines, use head filename.
   -- Dru [EMAIL PROTECTED]

 which is almost what you're asking about :P

Thanks.

Andrew Gould

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


automatic dump and restore over

2004-01-11 Thread Rickard Dahlstrand
Hi,

I think I have a plan for upgrading a large number of computers over the network. I 
would really appreciate some help finding flaws in this idea.

All the servers is installed with one partition for /, one for /var/. When I do the 
initial install I move the /etc to /var/etc and synlink /etc to point at /var/etc. 
This should make the / partition exactly the same on all the servers.

On the reference server (where I do all the upgrades)  I then use dump to create a 
file from the / partition. This file is the zipped and moved to my laptop from 
installation on all the other servers.

The laptop is then connected to the same network as the server that needs upgrading. 
The laptop is running DHCP, TFTP and NFS services.

All servers are set to boot using PXE and once I reboot it the server boots an image 
from the laptop containing a picobsd dist with a modified startup script. 

This script automatically mounts the hard drive on the server and a directory on the 
laptop containing the dump-file from the reference server. Then it uses restore to 
write the dump-file over the / partition on the server.

After the upgrade is complete I reboot the server without the DHCP server active and 
the server should boot using the new / partition.

Can this work? I have read that dump/restore is the best solution for backing up 
disks. Could there be any problems using restore on a partition already allocated?

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


Re: perl script question.

2004-01-11 Thread Matthew Seaman
On Sat, Jan 10, 2004 at 05:34:34PM -0800, Gary Kline wrote:
 On Sat, Jan 10, 2004 at 11:02:18PM +, Matthew Seaman wrote:

  perl -pi.bak -e 's/\s*\w+_\w+\.?//g;' filename

   The lines do indeed wrap so this does the job on a test file.
   I do have the re-exp book but this one is far ovr my head.
   What do the \s* mean, and also thr \.?/ ?

OK.  Time to disect a regular expression.  Let's just isolate the RE
bits from the surrounding stuff:

\s*\w+_\w+\.?

There are 5 parts to this:

   1 \s*
   2\w+
   3   _
   4\w+
   5   \.?

1) \s* -- '\s' is a metacharacter for matching whitespace: it's equivalent
   to saying [ \t\n\r\f].  The '*' operator says any number of these,
   including zero.

2) \w+ -- '\w' is a metacharacter for matching 'word' characters.
   What it means is locale dependent, but if you're using the ASCII
   locale it corresponds to [a-zA-Z_0-9].  The '+' operator means one
   or more or these.  Note that while \w+ matches character sequences
   containing _, it will also match words that don't: hence

3) _ -- match a literal '_' character.  ie. this forces the matched
   text to contain at least one underscore.

4) \w+ -- as (2) matches the rest of the stuff_separated_by_underscores
   after the underscore we've forced a match to[1].

5) \.? -- \. matches a literal '.' It has to be escaped (with a \)
   because plain '.' on it's own is the used as the wildcard to match
   any character.  The '?' operator means optional, or more precisely,
   either zero or one of those.

Now, the whole command:

   perl -pi.bak -e 's/${re}//g;' filename

scans through the file line_by_line, matching strings_connected_with
underscores on each line.  Björn Andersson noticed that you would need
the 'g' option to the s/// substitution command which means repeat
this substitution more than once, if necessary.  Like in the first
line_of_this_paragraph.

Then I realised that there were situations, like the last line of the
previous paragraph, where there wouldn't be any leading whitespace to
match.

Of course, this all depends on the sequences of words_connected_with_
underscores not wrapping around onto more than one line, as in this
contrived example, where the word 'underscores' on the second line of
this paragraph wouldn't be deleted.  There are several other edge
cases like that, if word-wrap is permitted. But it was never specified
if that was the case or not and I've assumed not because coping with
that sort of thing is a bit trickier.

Cheers,

Matthew

[1] In fact, due to the way regular expressions work, the literal
underscore (3) will actually match at the last underscore out of all
the stuff we're matching, and the stuff matched by chunk (4) won't
contain any underscores.

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Download contents of http directory?

2004-01-11 Thread Matthew Seaman
On Sun, Jan 11, 2004 at 04:53:52PM +1030, Malcolm Kay wrote:

 This raises a question for which I don't know the answer:
   How does one list an http directory that does allow it?

Basically, you shouldn't.  If the web site administrator has set up
index.html files or otherwise prevented you from generating a
directory listing, it generally means that there's stuff in that
directory which you aren't meant to access.  It's impolite (at best)
to try and get round that, although the wise admin will take stronger
meansures to ensure that even if you can guess filenames, you still
can't download anything you shouldn't.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: automatic dump and restore over

2004-01-11 Thread Matthew Seaman
On Sun, Jan 11, 2004 at 12:00:12PM +0100, Rickard Dahlstrand wrote:

 All the servers is installed with one partition for /, one for /var/. When I do the 
 initial install I move the /etc to /var/etc and synlink /etc to point at /var/etc. 
 This should make the / partition exactly the same on all the servers.

If you move /etc like this, you'll make the machines so treated
unbootable.  There's critical stuff in /etc that has to be in the root
partition for the boot process to be able to find it.

 On the reference server (where I do all the upgrades)  I then use dump to create a 
 file from the / partition. This file is the zipped and moved to my laptop from 
 installation on all the other servers.
 
 The laptop is then connected to the same network as the server that needs upgrading. 
 The laptop is running DHCP, TFTP and NFS services.
 
 All servers are set to boot using PXE and once I reboot it the server boots an image 
 from the laptop containing a picobsd dist with a modified startup script. 
 
 This script automatically mounts the hard drive on the server and a directory on the 
 laptop containing the dump-file from the reference server. Then it uses restore to 
 write the dump-file over the / partition on the server.
 
 After the upgrade is complete I reboot the server without the DHCP server active and 
 the server should boot using the new / partition.
 
 Can this work? I have read that dump/restore is the best solution for backing up 
 disks. Could there be any problems using restore on a partition already allocated?

It strikes me as a lot more complicated than the recommended method,
which is to designate one machine as a 'build box', where you build
all of the OS and kernels you need.  You then NFS export /usr/src and
/usr/obj and mount them on the machine you want to update.  Then you
can use 'make installkernel', 'make installworld' and 'mergemaster' to
do the update.  Possibly with a few other steps here and there -- for
full instructions start with:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/small-lan.html

However, if you decide to stick with your first idea, then I'd make
a few changes:

i) Copy the contents of /etc to your /var as a backup.  Leave the
   original /etc in place on the root partition.  If you're going
   to be doing this sort of thing regularly, then you can set up a
   cron(8) job: the net/rsync port will let you do the copies very
   efficiently.

   ii) Before you rewrite your root partition, you should run newfs(8)
   on it to blank it.  restore(8) can overwrite a populated
   partition, but it works best given an empty filesystem.
 
  iii) After you've restored your example root partition, copy back
   the contents of /etc.  Note that this will wipe out any updates
   to files within /etc which came as part of the upgrade.
   mergemaster(8) will help you fix things up, or you can be
   selective about what contents of /etc you actually keep backed
   up

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: What are _p. files that break installworld?

2004-01-11 Thread Carolyn Longfoot
ARRGGGHH

I knew it was something simple like this. I compiled on one box and 
installed on another, so /etc/make.conf on one was used during compile and 
another make.conf during install.
Big trap.

Thanks a lot!
Caro

From: Chuck Swiger [EMAIL PROTECTED]
The _p.a files are profiled versions of the libraries, although their 
absence normally doesn't cause any problems.  You may have NOPROFILE=true 
set in your /etc/make.conf, or you may have had it set when building world 
but not when you tried the installworld.

--
-Chuck
_
Get a FREE online virus check for your PC here, from McAfee. 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


Re: Download contents of http directory?

2004-01-11 Thread Malcolm Kay
On Sun, 11 Jan 2004 22:35, Matthew Seaman wrote:
 On Sun, Jan 11, 2004 at 04:53:52PM +1030, Malcolm Kay wrote:
  This raises a question for which I don't know the answer:
How does one list an http directory that does allow it?

 Basically, you shouldn't.  If the web site administrator has set up
 index.html files or otherwise prevented you from generating a
 directory listing, it generally means that there's stuff in that
 directory which you aren't meant to access.  It's impolite (at best)
 to try and get round that, although the wise admin will take stronger
 meansures to ensure that even if you can guess filenames, you still
 can't download anything you shouldn't.


Please reread my query -- I'm asking how to read the directory 
when the administrator does allow it.

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


Using a usb compact flash card reader

2004-01-11 Thread Thomas Pasch
Hello,

I'm successfully using a usb compact flash card reader
with FreeBSD-5.2-RC2/amd64. It is a _intern_ reader 
(and because of this constantly attached to the usb bus).

However, I can only use it when I plug the memory card
in BEFORE BOOTING. When I try to attach the memory
card later, it will not be found.

I wonder if a could use the camcontrol command somehow
to simulate the reattachment of the usb device so that my
card gets recognized even if I plug it in AFTER BOOT.

For this to happen, I should somehow query the device size
like it is done in the following snippet of dmesg:

GEOM: create disk da0 dp=0xff001da24c68
GEOM: create disk da1 dp=0xffbb2868
GEOM: create disk da2 dp=0xffc53468
GEOM: create disk da3 dp=0xffc74068
da0 at umass-sim0 bus 0 target 0 lun 0
da0: IC USB Storage-CFC 301b Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 244MB (500736 512 byte sectors: 64H 32S/T 244C)
da1 at umass-sim0 bus 0 target 0 lun 1
da1: IC USB Storage-SMC 301b Removable Direct Access SCSI-0 device
da1: 1.000MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present

Anyone got an idea. 

Cheers,

Thomas

PS:
Yes, I tried camcontrol rescan 0:0:0 and camcontrol start 0:0:0 
but nothing much happend.

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


Sane USB problem with HP ScanJet 5300C on FreeBSD-5.2-RC2/amd64

2004-01-11 Thread Thomas Pasch
Hello,
 
 I'm trying to get my scanner to work on FreeBSD 5.2-RC2/amd64. I can see
 the scanner with sane-find-scanner and usbdevs but scanimage seems to hang.
 
 I'm using the sane-backends-1.0.12_3 and sane-frontends-1.0.11 and
 libusb-0.1.7_1 from the package tree (but also tried ports and a newer
 backends version as well).
 
 See attached the DEBUG output of scanimage -L. For me it looks like
 the scanner is found and a request is written to it, but there is never an
 anwer.
 
 Beside, how do I use libusb on 5.2? The man pages are saying something
 about creating /dev/ugen* but as 5.2 uses devfs, you can't create it and it
 isn't there.
 
 Cheers,
 
 aanno
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Custom kernel config for Dell PowerEdge 1750 w/RAID

2004-01-11 Thread Olaf Hoyer
On Thu, 8 Jan 2004, Eivind Hestnes wrote:

 Hi,

 Anyone out there with a complete custom kernel config for the Dell
 PowerEdge 1750 w/PERC4 RAID-controller (one of those pizzaboxes :-)

Well, the GENERIC will work fine, just strip out the surplus bits of
drivers ;-)

You will need at least 4.9-pre to get the bge's to work properly,
support for those was merged in somewhere between 4.8 and 4.9-pre.
(New Chip revision with different PCI ID)

HTH
Olaf


-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X problems

2004-01-11 Thread Lance Earl
The Monitor section of XF86Config includes
 Identifier   Monitor0
 VendorName   Monitor Vendor
 Model Name   Monitor Model
 HorizSync31.0 -70.0
 VertRefresh  55.0 - 120.0

My Monitor is a NEC FE700+ so these settings seem to be correct. I see
taht the refresh rates are not in quotes like the other items, is this
correct?

I forgot to mention that during install, after running the xconfig setup
and saving the files, it said that the setup appeared to have failed and
gave me a chance to try again. I tried several times but with the same
result.

I am running Version 4.8 but thought that I may try version 5.1 to see if
I get a better result.

Thanks



Eric F Crist said:
 On Saturday 10 January 2004 10:17 pm, Lance Earl wrote:
 Hi Eric,

 We are 1 for 2. I got it so that it will load gnome with startx.

 Glad to hear it!


 The flicker problems on the screen persist and now appear to be the case
 100% of the time. Restarting the machine no longer seems to correct the
 problem. Do you have any additional suggestions?


 Yes.  Check the manual for your monitor's refresh rate and make sure you
 setup
 XFree86 for the correct numbers.  This is usually 60 Hz or 72Hz, depending
 on
 the resolution you set.


 I am considering FreeBSD as the OS for our internet server because
 RedHat
 is no longer a viable solution. I just do not like the direction of the
 company. We run Apache, Sendmail, PHP, MySQL, Squirrel Mail and Image
 Magick. I have also considered Debian as a possible candidate. Do you
 have
 any suggestions regarding these two options?

 Yes.  I use FreeBSD on my servers.  I'm currently in the process of a
 physical
 move/ISP change, so they're hosted on another set of servers (linux, of
 unknow vendor), so they're not under my control ATM.  I've been running
 FreeBSD as a web server since 1998.  It has been 100% secure for me, even
 when I was running a 'questionable' server with a domain name of
 ardent-hacker.net.  Also, the support here for FreeBSD is great!

 HTH
 --
 Eric F Crist
 AdTech Integrated Systems, Inc
 (612) 998-3588


Lance Earl
DallyPost, Inc.
208-548-2721
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sendmail aliases not worked as expected

2004-01-11 Thread mgmcomm @hotmail.com
I am having trouble getting /etc/mail/aliases to properly forward system 
messages such as cron or periodic events.  Actually this problem affects 
even mail input using the mail command or any other method.  Although the 
cron/periodic is what I require the most.

When a cron or periodic task creates an email to say root...it gets mailed 
to [EMAIL PROTECTED] instead of [EMAIL PROTECTED]  Which results in an 
error message

Jan  7 03:03:01 butters sm-mta[1511]: i07331me001498: SYSERR(root): 
butters.kibserv.org. config error: mail loops back to me (MX problem?)

A bounce message is generated and sends cleanly to [EMAIL PROTECTED]  
The original message is removed from the queue...apparently this error is 
fatal to the original message.

my alias file contains the following
root:   [EMAIL PROTECTED]
seti:   [EMAIL PROTECTED]
kib:[EMAIL PROTECTED]
virtualuser:[EMAIL PROTECTED]
and many other entries...most are the defaults in the original file enabled 
and almost all eventually point to root anyhow.  And yes I have run 
newaliases and received successful and positive response.

10:17am butters:/etc/mail # newaliases
/etc/mail/aliases: 38 aliases, longest 22 bytes, 504 bytes total
This problem seemed to start about the time I upgrades from 4.7 to 5.2.  
Presently I am loosely tracking current...usually up to a month behind with 
a 1 week run on a test box.  I plan to track 5-stable as soon as I see it 
since I am too deep into 5.x features to go back to 4.x now.  Current is not 
really all I bargained for  :)

10:25am butters:/etc/mail # uname -a
FreeBSD butters 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue Dec 16 19:32:35 UTC 
2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM  i386

in my rc.conf file I thought maybe my sendmail options were wrong.  
historically I have used:
sendmail_enable=YES
but after reading the defaults and the rc.sendmail file I find that this 
option is exclusive of two other sendmail options
sendmail_submit_enable and sendmail_outbound_enable

So I tried each in turn with no change in result.  But since I can't find 
much documentation on these other than what I can make from the rc.sendmail 
I might still just be using the wrong rc.conf the wrong way.

It seems to me that sendmail is completely ignoring the /etc/mail/aliases 
file
Even when I try to send mail to kib (a real user) or the virtualuser the 
mail always tries to go to [EMAIL PROTECTED] eventually bounces 
and gets attached to a message to the postmaster.  I suppose the aliases are 
not completely ignored because no mail ever gets to the local user mail 
accounts.

Also note that the kibserv.org is an old domain no longer registered...but 
we still use it for testing purposes.  To prove this is not a dns related 
issue here is a few digs.  Our local dns server has all the correct records.

10:29am butters:/etc/mail # dig kibserv.org mx

;  DiG 8.3  kibserv.org mx
;; res options: init recurs defnam dnsrch
;; got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 64231
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;  kibserv.org, type = MX, class = IN
;; ANSWER SECTION:
kibserv.org.1H IN MX10 mail.kibserv.org.
;; AUTHORITY SECTION:
kibserv.org.1H IN NS10.0.0.5.
;; Total query time: 2 msec
;; FROM: butters to SERVER: 10.0.0.5
;; WHEN: Sun Jan 11 10:36:51 2004
;; MSG SIZE  sent: 29  rcvd: 72
10:36am butters:/etc/mail #  dig mail.kibserv.org

;  DiG 8.3  mail.kibserv.org
;; res options: init recurs defnam dnsrch
;; got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 63182
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;  mail.kibserv.org, type = A, class = IN
;; ANSWER SECTION:
mail.kibserv.org.   1H IN CNAME stan.kibserv.org.
stan.kibserv.org.   1H IN A 10.0.0.8
;; AUTHORITY SECTION:
kibserv.org.1H IN NS10.0.0.5.
;; Total query time: 3 msec
;; FROM: butters to SERVER: 10.0.0.5
;; WHEN: Sun Jan 11 10:37:15 2004
;; MSG SIZE  sent: 34  rcvd: 91
10:37am butters:/etc/mail #

Well I can't think of anything else that might apply here.  I hope I didn't 
go into too much detail making this unreadbale.  But I suppose too much is 
better than not enough.

As soon as I can get the mail server to accept these messages I will be 
allowed to roll our domains to this new mail server and I can finally get 
off
hotmail and have a real pop3 account for a change.

And please reply to or cc me as my hotmail account is not on the list 
anymore.  It fills up so fast that the mailing list gets bounded messages 
and drops me every couple days if I don't keep deleting mail.  Its become 
too much of a hassle.

Thanks
Jason Cribbins
_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail


Re: Download contents of http directory?

2004-01-11 Thread Lucas Holt
If the admin does allow downloading, you will simply see the list by 
typing the path to the directory in the url you wish to look at.

For example,  lets say that you have a directory /music/ .  If the 
webserver has directory listings on, you can simply type 
http://www.mydomain.com/music/ and it will automatically generate a 
list of all the files and return it to the viewer as an html page with 
hyperlinks.  This behavior exists in most webservers including apache 
and IIS.  Personally, I always turn it off.  If i want someone to 
access a file, i give them a link to it.  Apache has a directive in the 
config file for this.

For the other question about downloading mp3's:

I'm a bit unclear.  Are the mp3's turned into real audio files or 
streamed by a real audio server?  Is it just that your computer is 
using real player to play the files that are in fact mp3s?

If the files are streamed by a real server, you will need a program to 
get them easily that can talk the protocol and collect the stream.  If 
the files are somewhat hidden on the webserver, you will need the url 
to download them.  If its just real player that is playing them, look 
at the html source for the page list and paste the link into a 
terminal.. fetch or wget should be able to grab them.  If you are 
clicking on a link and then real player is spawning, you might be able 
to right click on the link and hit save target as... to save the 
original file.  That would also work to get a real player playlist to 
get the real url of the files provided the person used an old version 
of real player.  RAM files are usually text files that contain a url to 
a file.  Give real player that file, and it will stream the file.  I 
used to use that trick on one of my sites.



Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
'Re-implementing what I designed in 1979 is not interesting to me 
personally. For kids who are 20 years younger than me, Linux is a great 
way to cut your teeth. It's a cultural phenomenon and a business 
phenomenon. Mac OS X is a rock-solid system that's beautifully 
designed. I much prefer it to Linux.'
-- Bill Joy, Wired Article 2003

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


Installation Process

2004-01-11 Thread Ian Ripley
While trying to boot from the 5.2 miniinst ISO the CD started booting 
but only reached
Verifying DMI Pool Data 
Boot from ATAPI CD-ROM :
 1. FD 2.88MB  System Type-(00)

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


scanning for bad blocks before install

2004-01-11 Thread mgmcomm @hotmail.com
disclaimer-rant
I have read many messages concerning the topic of bad blocks...most of them 
more than 4 years old and quite obsolete now.  And I have read the faq and 
understand about modern ide drives and the automatic block mapping and the 
fact that my drive in question is quite possible past saving. 
/disclaimer-rant

What I need to know is how to detect a drive with bad blocks before I put it 
into service.

Here is what just happened to me...and could possible happen again.
I took an old 10GB drive off the shell that has been unused for some time 
because I needed some quick temp storage while I move files around other 
drives.  I used the sysinstall utility to fdisk in DD mode and create a 
single slice covering the entire drivepretty much standard for any 
freebsd disks I employ now a days.  everything went perfect and no error 
were indicated whatsoever.

I began coping file...about 9.5 gigs to free up some space on another drive 
so I can continue downloads.  My intention is to move all these downloaded 
to cdr eventually.

I began to test these files on the 10gb drive since there are video fansubs 
(usually avi files) and I wanted to ensure there were no errors or bad 
encoding since I was getting these from gnutella.

it was during these tests that I discovered quite a few corrupted 
filesand for one such group of files I had an sfv file to check against. 
 But upon using gsfv the system bogs down to the point where I have to hard 
reset to recover.  Thinking gsfv is doing something bad I try chsfv and then 
I see the hard disk errors.  Aparently quite a few bad blocks on this 10GB 
drive exist and there was no indication of a problem until an actual read 
was attempted.

Now what is wrong with this scenario is this.  Why doesn't fdisk and or 
bsdlabel do some sort of bad black scan before allowing a user to put a 
drive into service.  I cant even find an option to do this manually in 
either fdisk or fsck.

I have read many archived messages were people want a way to mark bad blocks 
as unusable and there is apparently no way to do this other than badsect(8). 
 So far I cant find a successful method of finding the exact block or 
sector number to feed to badsect(8).  I have read that dd if=/dev/ad1s1a 
of=/dev/null will print errors with sector numbers as it finds one it cat 
read.  But all this produced was hard read errors that said nothing about 
the location the failed read.  Understanding this drive is a lost cause I 
would like to see if I can make use of it for at least the next week or so 
until I can get start getting this data to cdr.  Luckily for me nothing put 
on this drive is criticalit all can be refetched if needed.

Anyhow there is my rant for the month.  Anyone shed some light on how I 
might avoid a similar situation in the future?  This isn't the first time I 
was burned this way.  If nothing else I would settle for someone giving me a 
good port program to do surface scans with. To keep me abreast of drives 
beginning to fail I might like to surface scan entire disks every couple 
months...especially since many of my drives are over 3 years old and I am 
typically put them through some brutal workloads occasionally.

Jason Cribbins

oh and sorry about the hotmail.  I hope it formats correctly.  I am 
switching over to a real pop3 mail server soon, which will allow me to use a 
decent email client eventually.

Please reply to or cc me as hotmail fills up way to fast to subscribe this 
email to the list.

_
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

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


Re: 5.2-RELEASE - Show stopper problem

2004-01-11 Thread Ted Wisniewski
Dan,

Thanks for your response...  As you can see in this output from the 
ps command you suggested, the processes are dfinitely waiting on the disk.
BTW..   The syste in question was a fresh install from yesterday with no 
users other than myself (I did the cvsup to get it to 5.2-RELEASE).  It 
did hang when I did that with a similar result.   One of the install -s etc..
processes went into the same state.


Output from PS:

 692 wait??  Is 0:00.00 /bin/sh -c periodic daily
 1694 wait??  I  0:00.00 /bin/sh - /usr/sbin/periodic daily
 1701 wait??  I  0:00.02 /bin/sh - /usr/sbin/periodic daily
 1702 wait??  I  0:00.00 /bin/sh - /usr/sbin/periodic daily
 1703 piperd  ??  I  0:00.00 mail -s testhost.plymouth.edu daily run output
 1779 wait??  I  0:00.00 /bin/sh /etc/periodic/daily/450.status-securit
 1780 wait??  I  0:00.00 /bin/sh - /usr/sbin/periodic security
 1786 wait??  I  0:00.00 /bin/sh - /usr/sbin/periodic security
 1787 wait??  I  0:00.00 /bin/sh - /usr/sbin/periodic security
 1788 piperd  ??  I  0:00.00 mail -s testhost.plymouth.edu security run out
 1789 wait??  I  0:00.00 /bin/sh - /etc/periodic/security/100.chksetuid
 1795 wait??  I  0:00.00 /bin/sh - /etc/periodic/security/100.chksetuid
 1796 piperd  ??  I  0:00.00 xargs -0 -n 20 ls -liTd
 1797 piperd  ??  I  0:00.00 sed s/^ *//
 1798 piperd  ??  I  0:00.00 sort -k 11
 1799 wait??  I  0:00.00 /bin/sh - /etc/periodic/security/100.chksetuid
 1802 piperd  ??  I  0:00.00 cat
 1805 ufs ??  D  0:02.10 find /usr -xdev -type f ( -perm -u+x -or -perm
 2779 sbwait  ??  Is 0:00.02 sshd: sysop [priv] (sshd)
 2782 select  ??  S  0:00.01 sshd: [EMAIL PROTECTED] (sshd)
  737 getblk  p0- D  0:02.14 find /usr -xdev -type f ( -perm -u+x -or -perm
 2783 pause   p0  Ss 0:00.01 -csh (csh)
 2786 -   p0  R+ 0:00.00 ps -axO wchan


These have been running for about 9 hours now, on a base system with nothing
extra installed.   Originally, I thought it had something to do with the
raid controllers on the various machines I tried, however, I was able to 
duplicate the condition on an ATA based system (I had to work a lot harder at 
getting the condition to occur on it).  It is almost like the I/O is too
fast and something happens..  

On my test system the machine will run for days with this happening, however,
I have another system that is actually doing a lot of I/O  eventually
it crashes (well locks up completely)...   If there is any particular info you
might need, I am willing to do what I can.  

Ted

(* In the last episode (Jan 10), Ted Wisniewski said:
(*  In 5.2-RC and 5.2-RELEASE there appears to be some issue with
(*  filesystem or I/O subsystem under 5.2-X.  Now, You can install and do
(*  the normal kind of things, however, when you create a lot of I/O on
(*  the disk there seems to be a problem actually reading/writing it
(*  to/from disk.  For example, If I do a make buildworld...  It
(*  appears to go along ok.  However, I have had a number of (repeatable)
(*  situations where the make installworld will go so far then will not
(*  be able to complete.  In this case, there is an attempt to write data
(*  to disk that cannot complete; the process goes into a disk wait state
(*  (it cannot be killed, and will stay in this state ...  forever).
(*  
(*  For example the standard daily security script:
(*  
(*727  p0  T  0:00.00 sh 100.chksetuid
(*737  p0  T  0:02.14 find /usr -xdev -type f ( -perm -u+x -or -perm -g+x -or 
-perm -o+x ) ( -perm -u+s -or -perm -g+s
(* 
(* The 'T' state usually means that someone sent the process a STOP
(* signal.  Try running kill -CONT 727 737 to start them back up. 
(* 
(* Processes waiting on disk I/O will be in the 'D' state, and you can run
(* ps axO wchan to print the specific part of the kernel it's waiting
(* in.
(* 
(* -- 
(*  Dan Nelson
(*  [EMAIL PROTECTED]
(* 

-- 
|   Ted Wisniewski   E-Mail:  [EMAIL PROTECTED]|
|   Manager, Systems Group   WEB: http://oz.plymouth.edu/~ted/ |
|   Information Technology Services|
|   Plymouth State UniversityPhone:   (603) 535-2661   |
|   Plymouth NH, 03264   Fax: (603) 535-2263   |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


$B7r9/E*$KH~$7$/$7$+$b0BA4$K$d$;$k(B

2004-01-11 Thread pbm
$B"!"!"[EMAIL PROTECTED](%C%H"!"!"!(B
(B[EMAIL PROTECTED](%C%H$O$$$d!*!*(B
$B%j%P%&%s%I$bI]$$!*!*(B
$B$3$s$J?M$KO/Js$G$9!#(B
(B[EMAIL PROTECTED](%C%H$G$NITB-$7$,$A$J1IM\J,$rJd5k$7$J$,$i?)$Y$F$d$;$k!*!*(B
$B"!"!"!"!"!"!"!"!"!"!"!"!"!"!"!"!"!"!"!"!"!(B
$B6=L#$,$"$C$?$i%/%j%C%/!*!*(B
(Bhttp://dbasuta.ath.cx
(B___
(B[EMAIL PROTECTED] mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: aic7xxx/FreeBSD/Linux can't find disk drives

2004-01-11 Thread Matt Bjornson
Kent,

Thanks, still nothing...   you're right I forgot to change my email to 
/dev/da for FreeBSD (/dev/sda is Linux scsi drive)  Any other ideas? I 
thought there might be some IRQ conflicts but there isn't when I look 
in kernel config before install...  These aren't RAID so I thought it'd 
be a no brainer

Thanks,

Matt
On Jan 11, 2004, at 2:45 AM, Kent Stewart wrote:
On Saturday 10 January 2004 09:06 pm, Matt Bjornson wrote:
I have a Dell PowerEdge 2400 with dual 733 Mhx CPUs.  I have tried
to install  several distros of Linux (Red Hat 9.0 and Gentoo 1.4)
and FreeBSD 4.8, 5.0 and while I can get the kernels to recognize
the Adaptec 7890 and the Adaptec 7880 and use my scsi CDROM, when I
fdisk to try to create partitions, I receive a unable to find
/dev/sda Thanks


All of the scsi disks I ever had were refered to as /dev/da...

Kent

--
Kent Stewart
Richland, WA
http://users.owt.com/kstewart/index.html

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


Re: Download contents of http directory?

2004-01-11 Thread Matthew Seaman
On Mon, Jan 12, 2004 at 12:18:52AM +1030, Malcolm Kay wrote:
 On Sun, 11 Jan 2004 22:35, Matthew Seaman wrote:
  On Sun, Jan 11, 2004 at 04:53:52PM +1030, Malcolm Kay wrote:
   This raises a question for which I don't know the answer:
 How does one list an http directory that does allow it?
 
  Basically, you shouldn't.  If the web site administrator has set up
  index.html files or otherwise prevented you from generating a
  directory listing, it generally means that there's stuff in that
  directory which you aren't meant to access.  It's impolite (at best)
  to try and get round that, although the wise admin will take stronger
  meansures to ensure that even if you can guess filenames, you still
  can't download anything you shouldn't.
 
 
 Please reread my query -- I'm asking how to read the directory 
 when the administrator does allow it.

Oops.  Sorry about that.  Note to self: read what is written, not
anything else.

Just do a HTTP GET on the directory name. eg.

% GET http://localhost/~matthew/
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 3.2 Final//EN
html
 head
  titleIndex of /~matthew/title
 /head
 body
h1Index of /~matthew/h1
preimg src=/icons/blank.gif alt=Icon  / a href=?C=N;O=DName/a
a href=?C=M;O=ALast modified/a  a href=?C=S;O=ASize/a  a 
href=?C=D;O=ADescription/ahr /img src=/icons/back.gif alt=[DIR] / a 
href=/Parent Directory/a -   
img src=/icons/folder.gif alt=[DIR] / a href=books/books//a
  07-Aug-2003 20:12-   
img src=/icons/folder.gif alt=[DIR] / a 
href=cryptosphere/cryptosphere//a   02-Jun-2003 16:34-   
img src=/icons/unknown.gif alt=[   ] / a href=foo.phpfoo.php/a 
08-Oct-2003 12:24  1.1K  
img src=/icons/text.gif alt=[TXT] / a href=mrtg-rrd.cgimrtg-rrd.cgi/a  
  23-Jan-2003 13:30   24K  
img src=/icons/text.gif alt=[TXT] / a 
href=mrtg-rrd.cgi-1.20mrtg-rrd.cgi-1.20/a   31-Jan-2003 16:25   24K  
img src=/icons/text.gif alt=[TXT] / a 
href=mrtg-rrd.cgi.000mrtg-rrd.cgi.000/a14-Jan-2003 12:55   24K  
img src=/icons/folder.gif alt=[DIR] / a href=mrtg/mrtg//a  
 18-Apr-2003 15:36-   
img src=/icons/text.gif alt=[TXT] / a href=nwc.cginwc.cgi/a
 17-Nov-2002 08:04   12K  
img src=/icons/text.gif alt=[TXT] / a href=nwc.cssnwc.css/a
 17-Nov-2002 08:04  2.0K  
img src=/icons/unknown.gif alt=[   ] / a href=nwc.phpnwc.php/a 
17-Nov-2002 08:04   12K  
hr //pre
addressApache/2.0.48 (Unix) PHP/4.3.4 Server at localhost Port 80/address
/body/html

If you want that without all of the HTML fluff:

% lynx -dump -nolist http://localhost/~matthew/

  Index of /~matthew

 Icon   NameLast modified  Size  Description
  __
 [DIR]  Parent Directory -
 [DIR]  books/  07-Aug-2003 20:12-
 [DIR]  cryptosphere/   02-Jun-2003 16:34-
 [   ]  foo.php 08-Oct-2003 12:24  1.1K
 [TXT]  mrtg-rrd.cgi23-Jan-2003 13:30   24K
 [TXT]  mrtg-rrd.cgi-1.20   31-Jan-2003 16:25   24K
 [TXT]  mrtg-rrd.cgi.00014-Jan-2003 12:55   24K
 [DIR]  mrtg/   18-Apr-2003 15:36-
 [TXT]  nwc.cgi 17-Nov-2002 08:04   12K
 [TXT]  nwc.css 17-Nov-2002 08:04  2.0K
 [   ]  nwc.php 17-Nov-2002 08:04   12K
  __


Apache/2.0.48 (Unix) PHP/4.3.4 Server at localhost Port 80


Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


where are the jabber man pages?

2004-01-11 Thread David Fleck
4.9-RELEASE-p1.

I've installed jabber (successfully, as far as I can tell) from ports,
cvsup'ed Jan. 10.

But I can't find any documentation for it on my system, either as man
pages, docs in /usr/local/share/doc, info pages...

I know I can wade through information on the jabberstudio.org web site,
but shouldn't something get installed on the machine?

--
David Fleck
[EMAIL PROTECTED]

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


Re: sendmail aliases not worked as expected

2004-01-11 Thread Matthew Seaman
On Sun, Jan 11, 2004 at 03:50:03PM +, mgmcomm @hotmail.com wrote:

 When a cron or periodic task creates an email to say root...it gets mailed 
 to [EMAIL PROTECTED] instead of [EMAIL PROTECTED]  Which results in an 
 error message

That's by design, believe it or not.  'root' is a member of class E --
Exposed Users -- whoese e-mail addresses won't be rewritten by
genericstable processing or the like.
 
 Jan  7 03:03:01 butters sm-mta[1511]: i07331me001498: SYSERR(root): 
 butters.kibserv.org. config error: mail loops back to me (MX problem?)

On your mail host, you need to add the names of all of the hosts you
provide mail service for to the /etc/mail/local-host-names file, one
per line.

 ;; ANSWER SECTION:
 kibserv.org.  1H IN MX10 mail.kibserv.org.

 ;; ANSWER SECTION:
 mail.kibserv.org. 1H IN CNAME stan.kibserv.org.
 stan.kibserv.org. 1H IN A 10.0.0.8

Not relevant to your current problem, but you've got your MX pointed
to a CNAME.  That's bad karma and not permitted by the DNS standards.
You should make mail.kibserv.org into an A record like so:

mail.kibserv.org.   1H IN A 10.0.0.8
stan.kibserv.org.   1H IN A 10.0.0.8

and similarly, provide PTR records for both names:

$ORIGIN 0.0.10.in-addr.arpa.

8   1H  IN  PTR mail.kibserv.org.
PTR stan.kibserv.org.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: where are the jabber man pages?

2004-01-11 Thread Andrew L. Gould
On Sunday 11 January 2004 10:36 am, David Fleck wrote:
 4.9-RELEASE-p1.

 I've installed jabber (successfully, as far as I can tell) from ports,
 cvsup'ed Jan. 10.

 But I can't find any documentation for it on my system, either as man
 pages, docs in /usr/local/share/doc, info pages...

 I know I can wade through information on the jabberstudio.org web site,
 but shouldn't something get installed on the machine?

 --
 David Fleck
 [EMAIL PROTECTED]

A list of files that are installed by a port can be found in the pkg-plist 
file of the ports directory.  In the case of jabber, I don't see much in the 
way of documentation.  You should probably check on jabber's website or do a 
web search.

Best of luck,

Andrew Gould


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


Re: where are the jabber man pages?

2004-01-11 Thread Alexander Leidinger
On Sun, 11 Jan 2004 11:17:56 -0600
Andrew L. Gould [EMAIL PROTECTED] wrote:

 A list of files that are installed by a port can be found in the pkg-plist 
 file of the ports directory.

man-pages aren't listed in the plist in the ports directory (but they
are listed in /var/db/pkg/port/+CONTENTS), they get listed in the
Makefile in a MANx variable.

Bye,
Alexander.

-- 
   I will be available to get hired in April 2004.

http://www.Leidinger.net   Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: where are the jabber man pages?

2004-01-11 Thread Andrew L. Gould
On Sunday 11 January 2004 11:43 am, Alexander Leidinger wrote:
 On Sun, 11 Jan 2004 11:17:56 -0600

 Andrew L. Gould [EMAIL PROTECTED] wrote:
  A list of files that are installed by a port can be found in the
  pkg-plist file of the ports directory.

 man-pages aren't listed in the plist in the ports directory (but they
 are listed in /var/db/pkg/port/+CONTENTS), they get listed in the
 Makefile in a MANx variable.

 Bye,
 Alexander.

I stand corrected.

Thanks,

Andrew Gould

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


Re: sendmail aliases not worked as expected

2004-01-11 Thread Micheal Patterson



- Original Message - 
From: mgmcomm @hotmail.com [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, January 11, 2004 9:50 AM
Subject: sendmail aliases not worked as expected


 I am having trouble getting /etc/mail/aliases to properly forward system
 messages such as cron or periodic events.  Actually this problem affects
 even mail input using the mail command or any other method.  Although the
 cron/periodic is what I require the most.

 When a cron or periodic task creates an email to say root...it gets mailed
 to [EMAIL PROTECTED] instead of [EMAIL PROTECTED]  Which results in an
 error message

 Jan  7 03:03:01 butters sm-mta[1511]: i07331me001498: SYSERR(root):
 butters.kibserv.org. config error: mail loops back to me (MX problem?)

 A bounce message is generated and sends cleanly to [EMAIL PROTECTED]
 The original message is removed from the queue...apparently this error is
 fatal to the original message.

 my alias file contains the following
 root:   [EMAIL PROTECTED]
 seti:   [EMAIL PROTECTED]
 kib:[EMAIL PROTECTED]
 virtualuser:[EMAIL PROTECTED]

 and many other entries...most are the defaults in the original file
enabled
 and almost all eventually point to root anyhow.  And yes I have run
 newaliases and received successful and positive response.

 10:17am butters:/etc/mail # newaliases
 /etc/mail/aliases: 38 aliases, longest 22 bytes, 504 bytes total

 This problem seemed to start about the time I upgrades from 4.7 to 5.2.
 Presently I am loosely tracking current...usually up to a month behind
with
 a 1 week run on a test box.  I plan to track 5-stable as soon as I see it
 since I am too deep into 5.x features to go back to 4.x now.  Current is
not
 really all I bargained for  :)

 10:25am butters:/etc/mail # uname -a
 FreeBSD butters 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue Dec 16 19:32:35
UTC
 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM  i386

 in my rc.conf file I thought maybe my sendmail options were wrong.
 historically I have used:
 sendmail_enable=YES
 but after reading the defaults and the rc.sendmail file I find that this
 option is exclusive of two other sendmail options
 sendmail_submit_enable and sendmail_outbound_enable

 So I tried each in turn with no change in result.  But since I can't find
 much documentation on these other than what I can make from the
rc.sendmail
 I might still just be using the wrong rc.conf the wrong way.

 It seems to me that sendmail is completely ignoring the /etc/mail/aliases
 file
 Even when I try to send mail to kib (a real user) or the virtualuser the
 mail always tries to go to [EMAIL PROTECTED] eventually bounces
 and gets attached to a message to the postmaster.  I suppose the aliases
are
 not completely ignored because no mail ever gets to the local user mail
 accounts.

 Also note that the kibserv.org is an old domain no longer registered...but
 we still use it for testing purposes.  To prove this is not a dns related
 issue here is a few digs.  Our local dns server has all the correct
records.

 10:29am butters:/etc/mail # dig kibserv.org mx



If the system is sending mail to itself for processing, as most mx's do, you
need to have the full host name in the local-host-names file. Otherwise, it
doesn't know it's the controlling mx and will reject the mail.

--

Micheal Patterson
Network Administration
TSG Incorporated
405-917-0600

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


routing to specific network

2004-01-11 Thread Dinesh Nair

hey,

i'm on a multihomed FreeBSD 4.9-RELEASE, cvsupped and built to -STABLE as
of two weeks ago. the two NICs on the box each go to different ADSL
providers. right now, i can switch which provider i use by just manually
changing the default route. however, what i'd like to do is to have the
default route set to one provider, but manually add static routes to
networks closer to the second provider going out that way.

EXAMPLE OUTPUT OF NETSTAT -RN:

default192.168.0.1UGSc   13 2878   fxp0
10.1/16link#9 UC  20   aue0
10.1.105.5 00:e0:7d:03:a2:08  UHLW0  363   aue0815
10.1.105.2600:08:54:d0:5d:2e  UHLW10lo0
60.6/1610.1.1.1   UGSc00   aue0
127.0.0.1  127.0.0.1  UH  012407lo0
192.168.0  link#2 UC  10   fxp0
192.168.0.100:30:ab:10:6c:0d  UHLW   13  215   fxp0913

(192.168.0.1 is ISP1's router and 10.1.1.1 is ISP2's router)

i've successfully managed to add routes for /16 networks, and 'netstat
-rn' as well as 'route -n get' both give the expected results. however,
tracerouting to an ip address in one of these static routes still shows
that it is going out thru the default route instead of the second
provider. running a packet sniffer and attempting a http connection
confirmed this. in this case, any packet going to 60.6.1.1

what exactly should i be doing to get the behaviour i desire ?

a secondary question is, with the /usr/ports/net/zebra package, can i
configure this box to load balance flows over both ADSL connections,
assuming i do not have an AS number (for BGP) handy ? i.e. the question
is, assuming i make a tcp connection out using a browser (for argument's
sake, mozilla), can mozilla send the packet out dynamically on the first
NIC (with its IP address as source) and then round robin the next TCP
connection off the second NIC (with the second IP address as source) ?
would i need the recent multipath patches (though its for 4.8-STABLE) to
do this ?

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: aic7xxx/FreeBSD/Linux can't find disk drives

2004-01-11 Thread Kent Stewart
On Sunday 11 January 2004 08:29 am, Matt Bjornson wrote:
 Kent,

 Thanks, still nothing...   you're right I forgot to change my email
 to /dev/da for FreeBSD (/dev/sda is Linux scsi drive)  Any other
 ideas? I thought there might be some IRQ conflicts but there isn't
 when I look in kernel config before install...  These aren't RAID
 so I thought it'd be a no brainer

When you are running sysinstall, the fdisk option has always presented 
me with the device name of the HDs I had connected to the scsi 
adapter. It would be something like da0, da1, and etc., which you 
would create the slices and partitions. 

I can't help beyond that because I don't have any systems with scsi 
HDs on them. I could build a system with 2 - ata-133 80GB HDs on it 
for what a good uw scsi adapter and HD would cost.

Kent



 Thanks,

 Matt

 On Jan 11, 2004, at 2:45 AM, Kent Stewart wrote:
  On Saturday 10 January 2004 09:06 pm, Matt Bjornson wrote:
  I have a Dell PowerEdge 2400 with dual 733 Mhx CPUs.  I have
  tried to install  several distros of Linux (Red Hat 9.0 and
  Gentoo 1.4) and FreeBSD 4.8, 5.0 and while I can get the kernels
  to recognize the Adaptec 7890 and the Adaptec 7880 and use my
  scsi CDROM, when I fdisk to try to create partitions, I receive
  a unable to find /dev/sda Thanks
 
  All of the scsi disks I ever had were refered to as /dev/da...
 
  Kent
 
  --
  Kent Stewart
  Richland, WA
 
  http://users.owt.com/kstewart/index.html
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

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

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: 5.2-RELEASE - Show stopper problem

2004-01-11 Thread Dan Nelson
In the last episode (Jan 11), Ted Wisniewski said:
 Thanks for your response...  As you can see in this output from the
 ps command you suggested, the processes are dfinitely waiting on the
 disk. BTW..  The syste in question was a fresh install from yesterday
 with no users other than myself (I did the cvsup to get it to
 5.2-RELEASE).  It did hang when I did that with a similar result. 
 One of the install -s etc.. processes went into the same state.
 
 Output from PS:
 
  1805 ufs ??  D  0:02.10 find /usr -xdev -type f ( -perm -u+x -or -perm
   737 getblk  p0- D  0:02.14 find /usr -xdev -type f ( -perm -u+x -or -perm
 
 These have been running for about 9 hours now, on a base system with
 nothing extra installed.  Originally, I thought it had something to
 do with the raid controllers on the various machines I tried,
 however, I was able to duplicate the condition on an ATA based system
 (I had to work a lot harder at getting the condition to occur on it). 
 It is almost like the I/O is too fast and something happens..

Are you seeing any errors in dmesg or /var/log/messages?  I haven't
seen any other reports of I/O hanging, so it might still be something
to do with your hardware or kernel config.

 On my test system the machine will run for days with this happening,
 however, I have another system that is actually doing a lot of
 I/O  eventually it crashes (well locks up completely)...  If
 there is any particular info you might need, I am willing to do what
 I can.

If you can drop into ddb when it's locked up, I think there are some
commands you can run to print the kernel locks held by all the
processes, but I'm not sure what they are or how to interpret the
results.

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


Re: aic7xxx/FreeBSD/Linux can't find disk drives

2004-01-11 Thread Matt Bjornson
Kent,

Thanks again.  I've spent the weekend trying to get this thing going... 
 I know both scsi hosts are supported by FreeBSD and Linux, there 
aren't any IRQ conflicts between the devices

I am perplexed.

thanks again,

Matt
On Jan 11, 2004, at 12:38 PM, Kent Stewart wrote:
On Sunday 11 January 2004 08:29 am, Matt Bjornson wrote:
Kent,

Thanks, still nothing...   you're right I forgot to change my email
to /dev/da for FreeBSD (/dev/sda is Linux scsi drive)  Any other
ideas? I thought there might be some IRQ conflicts but there isn't
when I look in kernel config before install...  These aren't RAID
so I thought it'd be a no brainer
When you are running sysinstall, the fdisk option has always presented
me with the device name of the HDs I had connected to the scsi
adapter. It would be something like da0, da1, and etc., which you
would create the slices and partitions.
I can't help beyond that because I don't have any systems with scsi
HDs on them. I could build a system with 2 - ata-133 80GB HDs on it
for what a good uw scsi adapter and HD would cost.
Kent


Thanks,

Matt

On Jan 11, 2004, at 2:45 AM, Kent Stewart wrote:
On Saturday 10 January 2004 09:06 pm, Matt Bjornson wrote:
I have a Dell PowerEdge 2400 with dual 733 Mhx CPUs.  I have
tried to install  several distros of Linux (Red Hat 9.0 and
Gentoo 1.4) and FreeBSD 4.8, 5.0 and while I can get the kernels
to recognize the Adaptec 7890 and the Adaptec 7880 and use my
scsi CDROM, when I fdisk to try to create partitions, I receive
a unable to find /dev/sda Thanks
All of the scsi disks I ever had were refered to as /dev/da...

Kent

--
Kent Stewart
Richland, WA
http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
--
Kent Stewart
Richland, WA
http://users.owt.com/kstewart/index.html

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


Re: cdbakeoven errors when burning multiple tracks

2004-01-11 Thread Paul Murphy
On Sat, 10 Jan 2004 17:32:39 -0800 (PST)
Alex [EMAIL PROTECTED] wrote:

 I'm setting up cdbakeoven on FreeBSD 4.8 and I'm
 trying to burn a set of MP3 files to an audio CD.
 Everything works fine if I only burn a single track,
 but when I try to do more than one it appears to trip
 over itself when writing to the /tmp directory. Here's
 the results of dump, the error message seems to be
 on the last line with  no such file or directory...
 

[snip]

 Burn failed!
 

 I have been struggling with this same problem.

 The part that puzzles me is No read access for
'/usr/tmp/cdbo_audio_1_10_17_55_31.wav etc..'

 It doesn't seem to be a permissions problem because I too have run as
root plus changed permissions on everything to world readable.

Eric F Crist wrote:
 Do you have cdrecord installed?  It seems as if this program depends
 on it.  If so, make sure it's been installed to the directory that
 cdbakeoven expects it in.  If not, either create a link, or change the
 config for cdbakeoven.io 


[earth] /home/paul: which cdrecord
/usr/local/bin/cdrecord
[earth] /home/paul: which cdbakeoven
/usr/local/bin/cdbakeoven

 From cdrecord(1):
 To record a pure CD-DA (audio) at single speed, with each track
contained in a file named track01.cdaudio, track02.cdaudio, etc: 

 
cdrecord -v speed=1 dev=2,0 -audio track*.cdaudio 

 I wonder if the way cdbakeoven feeds multiple track names to cdrecord
is the problem? (note wild card)

 Anyway, keep me CC'ed if anyone has any solutions.

-- 
Cogeco ergo sum


pgp0.pgp
Description: PGP signature


Re: routing to specific network

2004-01-11 Thread David Miller
On Mon, 12 Jan 2004, Dinesh Nair wrote:

 
 hey,
 
 i'm on a multihomed FreeBSD 4.9-RELEASE, cvsupped and built to -STABLE as
 of two weeks ago. the two NICs on the box each go to different ADSL
 providers. right now, i can switch which provider i use by just manually
 changing the default route. however, what i'd like to do is to have the
 default route set to one provider, but manually add static routes to
 networks closer to the second provider going out that way.
 
 EXAMPLE OUTPUT OF NETSTAT -RN:
 
 default192.168.0.1UGSc   13 2878   fxp0
 10.1/16link#9 UC  20   aue0
 10.1.105.5 00:e0:7d:03:a2:08  UHLW0  363   aue0815
 10.1.105.2600:08:54:d0:5d:2e  UHLW10lo0
 60.6/1610.1.1.1   UGSc00   aue0
 127.0.0.1  127.0.0.1  UH  012407lo0
 192.168.0  link#2 UC  10   fxp0
 192.168.0.100:30:ab:10:6c:0d  UHLW   13  215   fxp0913
 
 (192.168.0.1 is ISP1's router and 10.1.1.1 is ISP2's router)

So you want packets for 60.6.* to go out through ISP2?

 
 i've successfully managed to add routes for /16 networks, and 'netstat
 -rn' as well as 'route -n get' both give the expected results. however,
 tracerouting to an ip address in one of these static routes still shows
 that it is going out thru the default route instead of the second
 provider. running a packet sniffer and attempting a http connection
 confirmed this. in this case, any packet going to 60.6.1.1
 
 what exactly should i be doing to get the behaviour i desire ?

By the sounds of it, exactly what you are doing.  Can you show us a
traceroute that isn't working normally?  Are you running any routing
protocols, like routed?



 a secondary question is, with the /usr/ports/net/zebra package, can i
 configure this box to load balance flows over both ADSL connections,
 assuming i do not have an AS number (for BGP) handy ? i.e. the question
 is, assuming i make a tcp connection out using a browser (for argument's
 sake, mozilla), can mozilla send the packet out dynamically on the first
 NIC (with its IP address as source) and then round robin the next TCP
 connection off the second NIC (with the second IP address as source) ?
 would i need the recent multipath patches (though its for 4.8-STABLE) to
 do this ?

Zebra implemets a number of routing protocols, including bgp.  With BGP
you can pick the best route *out* for your packet, but everyone else's BGP
sessions will decide the best route *in* for you.  In other words, you
can't really shape the incoming traffic very much.  In order to setup BGP
you'll need to get both your upstreams to setup BGP sessions with you,
which is very unlikely to happen.  It's also unlikely to really buy you
any performance advantage after you subtract the bandwidth that the
routing protocol takes.

Lastly, you don't have any routes to advertise that will help.  I assume,
at least, that you just have a /32 for each connection, in which case
you'd be trying to advertise a /32 to the entire Internet.  That's not
going to happen:)

Hope this helps,

--- David

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


Speak Freely

2004-01-11 Thread David Miller
Hi All;

I've spent the last two days trying to get speak freely (Internet voice
program with encryption, see 

I believe I have a full duplex card running properly.  I can play a CD and
mp3's at the same time, and have both come out the speakers at once.  It
shows up as:

pci1: Matrox MGA G200 AGP graphics accelerator at 0.0 irq 11
pcm0: CMedia CMI8738 port 0xd800-0xd8ff irq 10 at device 5.0 on pci0
ohci0: CMD Tech 670 (USB0670) USB controller mem 0xdd00-0xdd000fff
irq 11 at device 13.0 on pci0

Speakfreely was first installed from ports, then compiled in half duplex
mode.  If I launch sfspeaker -d from one window, and sfmike -d some.host
from another, I get the following error from sfspeaker:

new:dmiller$ sfspeaker -d
sfspeaker: 10.0.0.3 packet lost by half-duplex muting.
sfspeaker: 10.0.0.3 packet lost by half-duplex muting.
sfspeaker: 10.0.0.3 packet lost by half-duplex muting.


It happens while using two terminal sessions after a cold boot; it's not a
matter of something else in gnome having a lock on the audio device.

I've tried three different sound cards, all of which came up as /dev/pcm0.

I'm using 4.9RC and speakfreely 7.6a.

One other thing that seems odd is that sound from the mike comes through
the speakers even when sfmike is paused.

Suggestions and/or clues most welcome.

Thanks,

--- David

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


Re: 5.2-RELEASE - Show stopper problem

2004-01-11 Thread Ted Wisniewski
(* In the last episode (Jan 11), Ted Wisniewski said:
(*  Thanks for your response...  As you can see in this output from the
(*  ps command you suggested, the processes are dfinitely waiting on the
(*  disk. BTW..  The syste in question was a fresh install from yesterday
(*  with no users other than myself (I did the cvsup to get it to
(*  5.2-RELEASE).  It did hang when I did that with a similar result. 
(*  One of the install -s etc.. processes went into the same state.
(* 
(* Are you seeing any errors in dmesg or /var/log/messages?  I haven't
(* seen any other reports of I/O hanging, so it might still be something
(* to do with your hardware or kernel config.

No messages at all in /var/log/messages.  I am using the generic 
kernel in one instance and a custom one in another.   For the machine I sent
the ps info it is a Dell power edge 2650 running a generic kernel.  The
disk is configuration is a big raid 5 memory is 2G.  Since I can duplicate
(seemingly at will) on a number of different systems, I doubt it is specific
to one machines hardware (3 dell servers of differeing models, 1 dell PC,
and 3 noname brand PC's).

(*  On my test system the machine will run for days with this happening,
(*  however, I have another system that is actually doing a lot of
(*  I/O  eventually it crashes (well locks up completely)...  If
(*  there is any particular info you might need, I am willing to do what
(*  I can.
(* 
(* If you can drop into ddb when it's locked up, I think there are some
(* commands you can run to print the kernel locks held by all the
(* processes, but I'm not sure what they are or how to interpret the
(* results.

When it locks up...   It is literally frozen...  Only a power off
will cure.   I have occasionally seen a page not present panic..  Most
of the time the processes just start to pile up accessing the same place(s)
on disk.  None being able to be killed, and always when I reboot the system
after this there is a message about not being able to write buffers...  giving up...



Ted

-- 
|   Ted Wisniewski   E-Mail:  [EMAIL PROTECTED]|
|   Manager, Systems Group   WEB: http://oz.plymouth.edu/~ted/ |
|   Information Technology Services|
|   Plymouth State UniversityPhone:   (603) 535-2661   |
|   Plymouth NH, 03264   Fax: (603) 535-2263   |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Other ways than quotas to limit mail files size ??

2004-01-11 Thread Greg Bernard
Is there another way to limit the amount of space occupied by mail files on
a per user basis using another method than quotas ?

I would like to limit the amount of space available for each user's e.mail
so e.mail file size will not go crazy.


Thanks for your advices...


«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

Grégory Bernard   11, rue de la Tour
Directeur 75116 Paris France
www.ToDoo.biz tel : +(33) 1 40 26 43 14

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

PGP ID -- 0x1BA3C2FD

I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my
telephone. - Bjarne Stroustrup



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


Alternatives to zcat ?

2004-01-11 Thread rob.c
Hello All,

I used to peruse my logs (when prompted by events in the periodic script
output emails) using zcat, however i've just tried again for the first time
recently and appears the logfile compression format has changed. This is in
turn means that i can no longer use a command like zcat
yesterdayscompressedlogfile | grep searchstringfromoutputemail as it just
renders a not in gzip format message. So my question really is ... is
there an alternative to zcat that can read .bz2 compression or do i have to
go back to unziping to a directory first and deleting it afterwards ?

regards,
rob
(aka peas)



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


Re: Alternatives to zcat ?

2004-01-11 Thread Gautam Gopalakrishnan
On Sat, Jan 10, 2004 at 08:27:35PM -, rob.c wrote:
 Hello All,
 
 I used to peruse my logs (when prompted by events in the periodic script
 output emails) using zcat, however i've just tried again for the first time
 recently and appears the logfile compression format has changed. This is in
 turn means that i can no longer use a command like zcat
 yesterdayscompressedlogfile | grep searchstringfromoutputemail as it just
 renders a not in gzip format message. So my question really is ... is
 there an alternative to zcat that can read .bz2 compression or do i have to
 go back to unziping to a directory first and deleting it afterwards ?

/usr/bin/bzcat


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


Re: Alternatives to zcat ?

2004-01-11 Thread Scott W
rob.c wrote:

Hello All,

I used to peruse my logs (when prompted by events in the periodic script
output emails) using zcat, however i've just tried again for the first time
recently and appears the logfile compression format has changed. This is in
turn means that i can no longer use a command like zcat
yesterdayscompressedlogfile | grep searchstringfromoutputemail as it just
renders a not in gzip format message. So my question really is ... is
there an alternative to zcat that can read .bz2 compression or do i have to
go back to unziping to a directory first and deleting it afterwards ?
regards,
rob
(aka peas)


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

bzcat would seem to be part of the base system...

Scott

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


Re: where are the jabber man pages?

2004-01-11 Thread Gautam Gopalakrishnan
On Sun, Jan 11, 2004 at 10:36:49AM -0600, David Fleck wrote:
 4.9-RELEASE-p1.
 
 I've installed jabber (successfully, as far as I can tell) from ports,
 cvsup'ed Jan. 10.
 
 But I can't find any documentation for it on my system, either as man
 pages, docs in /usr/local/share/doc, info pages...

pkg_info -L jabber-1.4.2 | grep /man
should work

Gautam

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


Re: cdbakeoven errors when burning multiple tracks

2004-01-11 Thread Alex
Thanks for the response. Yes, I do have cdrecord
installed and everything seems to be in the correct
place:

u ~$ which cdrecord
/usr/local/bin/cdrecord
u ~$ which cdbakeoven
/usr/local/bin/cdbakeoven

If anyone can think of something I can do to correct
this problem I would be forever grateful.

Thanks,
Alex


On Saturday 10 January 2004 07:32 pm, Alex wrote:
 cdrecord: No such file or directory. No read access

Alex, 

Do you have cdrecord installed?  It seems as if this
program depends on it.  
If so, make sure it's been installed to the directory
that cdbakeoven expects 
it in.  If not, either create a link, or change the
config for cdbakeoven.

My .02
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cdbakeoven errors when burning multiple tracks

2004-01-11 Thread Gautam Gopalakrishnan
On Sun, Jan 11, 2004 at 12:54:40PM -0800, Alex wrote:
 Thanks for the response. Yes, I do have cdrecord
 installed and everything seems to be in the correct
 place:
 
 u ~$ which cdrecord
 /usr/local/bin/cdrecord
 u ~$ which cdbakeoven
 /usr/local/bin/cdbakeoven

Hi, Unless you insist on using cdbakeoven, you could just use
cdrecord to burn the audio CD:

# mpg123 -w 1.wav 1.mp3
# mpg123 -w 2.wav 2.mp3
# mpg123 -w 3.wav 3.mp3
# cdrecord -dao dev=... *.wav
# rm *.wav

Gautam

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


cvsup from RC to 5.2-RELEASE

2004-01-11 Thread Chris
What would I use in my cvsup file as a rel-tag to nab 5.2-RELEASE

-- 
Best regards,
Chris

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


Resolved (Re: Alternatives to zcat ?)

2004-01-11 Thread rob.c

- Original Message - 
From: Gautam Gopalakrishnan [EMAIL PROTECTED]
To: rob.c [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, January 11, 2004 8:35 PM
Subject: Re: Alternatives to zcat ?


 On Sat, Jan 10, 2004 at 08:27:35PM -, rob.c wrote:
  Hello All,
 
  I used to peruse my logs (when prompted by events in the periodic script
  output emails) using zcat, however i've just tried again for the first
time
  recently and appears the logfile compression format has changed.
SNIP
 /usr/bin/bzcat

Thanks Gautam and Scott for your suggestion. It worked of course.

rob aka peas


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


Re: cvsup from RC to 5.2-RELEASE

2004-01-11 Thread Matthew Seaman
On Sun, Jan 11, 2004 at 03:34:07PM -0600, Chris wrote:
 What would I use in my cvsup file as a rel-tag to nab 5.2-RELEASE

Once it has been released you will be able to use RELENG_5_2

It possibly works already, but no guarantees until it's announced.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: cvsup from RC to 5.2-RELEASE

2004-01-11 Thread Kent Stewart
On Sunday 11 January 2004 01:34 pm, Chris wrote:
 What would I use in my cvsup file as a rel-tag to nab 5.2-RELEASE

I was going to send you to the handbook section on CVS tags but there isn't 
anything for 5.x. You shouldn't install a 5.x-release anyway but follow the 
security tag, which is RELENG_5_2.

Since 5.2 hasn't been released, there isn't an official 
RELENG_5_2_0_RELEASE.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: cvsup from RC to 5.2-RELEASE

2004-01-11 Thread Chris
On Sunday 11 January 2004 03:51 pm, Kent Stewart wrote:
 On Sunday 11 January 2004 01:34 pm, Chris wrote:
  What would I use in my cvsup file as a rel-tag to nab 5.2-RELEASE

 I was going to send you to the handbook section on CVS tags but there isn't
 anything for 5.x. You shouldn't install a 5.x-release anyway but follow the
 security tag, which is RELENG_5_2.

 Since 5.2 hasn't been released, there isn't an official
 RELENG_5_2_0_RELEASE.

It may not have been announced, but its on the ftp sitre in both iso and 
RELEASE format.


 Kent

-- 
Best regards,
Chris

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


Re: where are the jabber man pages?

2004-01-11 Thread David Fleck
On Mon, 12 Jan 2004, Gautam Gopalakrishnan wrote:
 pkg_info -L jabber-1.4.2 | grep /man
 should work

thanks...

dcf$ pkg_info -L jabber-1.4.2
Information for jabber-1.4.2:

Files:
/usr/local/sbin/jabberd
/usr/local/etc/jabber.xml.sample
/usr/local/etc/rc.d/jabberd.sh
/usr/local/include/jabber/lib/lib.h
/usr/local/include/jabber/lib/xmlparse.h
/usr/local/include/jabber/platform-settings
/usr/local/include/jabber/jabberd.h
/usr/local/include/jabber/pth.h
/usr/local/lib/jabber/dialback/dialback.so
/usr/local/lib/jabber/dnsrv/dnsrv.so
/usr/local/lib/jabber/jsm/jsm.so
/usr/local/lib/jabber/pthsock/pthsock_client.so
/usr/local/lib/jabber/xdb_file/xdb_file.so

...that's it.  No documentation *at all*.  That just doesn't seem right.
Heck, I'd be happy to cough up a minimal man page...


--
David Fleck
[EMAIL PROTECTED]

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


Re: cvsup from RC to 5.2-RELEASE

2004-01-11 Thread Kent Stewart
On Sunday 11 January 2004 01:53 pm, Chris wrote:
 On Sunday 11 January 2004 03:51 pm, Kent Stewart wrote:
  On Sunday 11 January 2004 01:34 pm, Chris wrote:
   What would I use in my cvsup file as a rel-tag to nab 5.2-RELEASE
 
  I was going to send you to the handbook section on CVS tags but there
  isn't anything for 5.x. You shouldn't install a 5.x-release anyway but
  follow the security tag, which is RELENG_5_2.
 
  Since 5.2 hasn't been released, there isn't an official
  RELENG_5_2_0_RELEASE.

 It may not have been announced, but its on the ftp sitre in both iso and
 RELEASE format.

That may be true; however, they aren't official until the release team sends 
out an official notice. That hasn't been done yet.

Kent


  Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: Other ways than quotas to limit mail files size ??

2004-01-11 Thread Mike Maltese
 Is there another way to limit the amount of space occupied by mail files
on
 a per user basis using another method than quotas ?

 I would like to limit the amount of space available for each user's e.mail
 so e.mail file size will not go crazy.

Is there an option to limit message size with the MTA you are using?

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


Re: automatic dump and restore over

2004-01-11 Thread Rickard Dahlstrand
Thanks for all the good answers. Just one final question.

Do you think it is at all possible to do this update without rebooting? It would save 
time but I assume that this is impossible.

The reason I thinking of doing it this way is because I need to distribute the update 
on a bootable cd. I need a method that is as failsafe as it can be without any 
user-interaction (Except for turning the power switch).

Thanks, Rickard.

- Original Message - 
From: Matthew Seaman [EMAIL PROTECTED]
To: Rickard Dahlstrand [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, January 11, 2004 1:51 PM
Subject: Re: automatic dump and restore over

On Sun, Jan 11, 2004 at 12:00:12PM +0100, Rickard Dahlstrand wrote:
 
  All the servers is installed with one partition for /, one for /var/. When I do 
  the initial install I move the /etc to /var/etc and synlink /etc to point at 
  /var/etc. This should make the / partition exactly the same on all the servers.
 
 If you move /etc like this, you'll make the machines so treated
 unbootable.  There's critical stuff in /etc that has to be in the root
 partition for the boot process to be able to find it.
 
  On the reference server (where I do all the upgrades)  I then use dump to create a 
  file from the / partition. This file is the zipped and moved to my laptop from 
  installation on all the other servers.
  
  The laptop is then connected to the same network as the server that needs 
  upgrading. The laptop is running DHCP, TFTP and NFS services.
  
  All servers are set to boot using PXE and once I reboot it the server boots an 
  image from the laptop containing a picobsd dist with a modified startup script. 
  
  This script automatically mounts the hard drive on the server and a directory on 
  the laptop containing the dump-file from the reference server. Then it uses 
  restore to write the dump-file over the / partition on the server.
  
  After the upgrade is complete I reboot the server without the DHCP server active 
  and the server should boot using the new / partition.
  
  Can this work? I have read that dump/restore is the best solution for backing up 
  disks. Could there be any problems using restore on a partition already allocated?
 
 It strikes me as a lot more complicated than the recommended method,
 which is to designate one machine as a 'build box', where you build
 all of the OS and kernels you need.  You then NFS export /usr/src and
 /usr/obj and mount them on the machine you want to update.  Then you
 can use 'make installkernel', 'make installworld' and 'mergemaster' to
 do the update.  Possibly with a few other steps here and there -- for
 full instructions start with:
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/small-lan.html
 
 However, if you decide to stick with your first idea, then I'd make
 a few changes:
 
 i) Copy the contents of /etc to your /var as a backup.  Leave the
original /etc in place on the root partition.  If you're going
to be doing this sort of thing regularly, then you can set up a
cron(8) job: the net/rsync port will let you do the copies very
efficiently.
 
ii) Before you rewrite your root partition, you should run newfs(8)
on it to blank it.  restore(8) can overwrite a populated
partition, but it works best given an empty filesystem.
  
   iii) After you've restored your example root partition, copy back
the contents of /etc.  Note that this will wipe out any updates
to files within /etc which came as part of the upgrade.
mergemaster(8) will help you fix things up, or you can be
selective about what contents of /etc you actually keep backed
up
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
   Savill Way
 PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
 Tel: +44 1628 476614  Bucks., SL7 1TH UK
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


All mbufs exhausted/Random spontaneous reboots started today

2004-01-11 Thread Chris Byrnes
Sorry for the crosspost, not sure where this should go.  Please cc me in
replies because I am not subscribed.

Server was up almost 134 days and spontaneously rebooted this morning saying
All mbufs exhausted, please see tuning(7).  Had never seen it before, read
up on it and figured something just happened causing a lot of memory usage
or something, chalked it up to an abnormality.

Took the opportunity to upgrade to the latest -STABLE and rebooted.

Server was up for 30 minutes and just rebooted AGAIN with the same
message(s)..

Jan 11 16:32:19 /kernel: All mbufs exhausted, please see tuning(7).
Jan 11 16:32:50 last message repeated 33 times
Jan 11 16:34:44 last message repeated 127 times

Do you have any idea what's causing this and how I can monitor/stop it?

Thank you..


Chris

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


Re: All mbufs exhausted/Random spontaneous reboots started today

2004-01-11 Thread Kent Stewart
On Sunday 11 January 2004 02:49 pm, Chris Byrnes wrote:
 Sorry for the crosspost, not sure where this should go.  Please cc me in
 replies because I am not subscribed.

 Server was up almost 134 days and spontaneously rebooted this morning
 saying All mbufs exhausted, please see tuning(7).  Had never seen it
 before, read up on it and figured something just happened causing a lot of
 memory usage or something, chalked it up to an abnormality.

 Took the opportunity to upgrade to the latest -STABLE and rebooted.

 Server was up for 30 minutes and just rebooted AGAIN with the same
 message(s)..

 Jan 11 16:32:19 /kernel: All mbufs exhausted, please see tuning(7).
 Jan 11 16:32:50 last message repeated 33 times
 Jan 11 16:34:44 last message repeated 127 times

 Do you have any idea what's causing this and how I can monitor/stop it?


Could you have missed a security update and some one found your hole?

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: All mbufs exhausted/Random spontaneous reboots started today

2004-01-11 Thread Chris Byrnes
I don't think I did, but if that were the case, wouldn't it have been
patched with the upgrade to -STABLE?


Chris

- Original Message - 
From: Kent Stewart [EMAIL PROTECTED]
To: Chris Byrnes [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Sunday, January 11, 2004 4:57 PM
Subject: Re: All mbufs exhausted/Random spontaneous reboots started today


 On Sunday 11 January 2004 02:49 pm, Chris Byrnes wrote:
  Sorry for the crosspost, not sure where this should go.  Please cc me in
  replies because I am not subscribed.
 
  Server was up almost 134 days and spontaneously rebooted this morning
  saying All mbufs exhausted, please see tuning(7).  Had never seen it
  before, read up on it and figured something just happened causing a lot
of
  memory usage or something, chalked it up to an abnormality.
 
  Took the opportunity to upgrade to the latest -STABLE and rebooted.
 
  Server was up for 30 minutes and just rebooted AGAIN with the same
  message(s)..
 
  Jan 11 16:32:19 /kernel: All mbufs exhausted, please see tuning(7).
  Jan 11 16:32:50 last message repeated 33 times
  Jan 11 16:34:44 last message repeated 127 times
 
  Do you have any idea what's causing this and how I can monitor/stop it?
 

 Could you have missed a security update and some one found your hole?

 Kent

 -- 
 Kent Stewart
 Richland, WA

 http://users.owt.com/kstewart/index.html



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


Trouble getting network card to work

2004-01-11 Thread Jared Cheney
Hello,

I've just installed FreeBSD 4.9 and am having trouble getting my network
card to work.  It is very odd, because it appears as though the kernel
recognizes the card just fine and is using the pcn module to bring it up,
etc.

It is an AMD 79c79x card (according to FreeBSD).  I can view/set properties
via ifconfig - and it properly shows whether or not there is link.  I cannot
obtain a DHCP lease, nor can I ping any other hosts on my network when I
have a static IP configured.

To ensure that the NIC is fine and all cables, etc. - I booted from a
bootable Linux CD (Knoppix), where I was able to use the card fine to ping,
browse the Internet, etc.  Linux showed it as an AMD 79c970 [PCNET32 LANCE]
card.

The card is called pcn0 in FreeBSD, and it says that it is sharing IRQ 10.
Running tcpdump for any length of time also shows that 0 packets were
received by the filter.

Anyone have any ideas as to what could be the problem?

Thanks, in advance,
Jared



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


Re: All mbufs exhausted/Random spontaneous reboots started today

2004-01-11 Thread Kent Stewart
On Sunday 11 January 2004 02:59 pm, Chris Byrnes wrote:
 I don't think I did, but if that were the case, wouldn't it have been
 patched with the upgrade to -STABLE?

Yes, wirh a recent stable. It could be other things such as Apache.

Kent


 Chris

 - Original Message -
 From: Kent Stewart [EMAIL PROTECTED]
 To: Chris Byrnes [EMAIL PROTECTED]; [EMAIL PROTECTED];
 [EMAIL PROTECTED]
 Sent: Sunday, January 11, 2004 4:57 PM
 Subject: Re: All mbufs exhausted/Random spontaneous reboots started today

  On Sunday 11 January 2004 02:49 pm, Chris Byrnes wrote:
   Sorry for the crosspost, not sure where this should go.  Please cc me
   in replies because I am not subscribed.
  
   Server was up almost 134 days and spontaneously rebooted this morning
   saying All mbufs exhausted, please see tuning(7).  Had never seen it
   before, read up on it and figured something just happened causing a lot

 of

   memory usage or something, chalked it up to an abnormality.
  
   Took the opportunity to upgrade to the latest -STABLE and rebooted.
  
   Server was up for 30 minutes and just rebooted AGAIN with the same
   message(s)..
  
   Jan 11 16:32:19 /kernel: All mbufs exhausted, please see tuning(7).
   Jan 11 16:32:50 last message repeated 33 times
   Jan 11 16:34:44 last message repeated 127 times
  
   Do you have any idea what's causing this and how I can monitor/stop it?
 
  Could you have missed a security update and some one found your hole?
 
  Kent
 
  --
  Kent Stewart
  Richland, WA
 
  http://users.owt.com/kstewart/index.html

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: All mbufs exhausted/Random spontaneous reboots started today

2004-01-11 Thread Einstein Oliveira
Chris Byrnes wrote:
Sorry for the crosspost, not sure where this should go.  Please cc me in
replies because I am not subscribed.
Server was up almost 134 days and spontaneously rebooted this morning saying
All mbufs exhausted, please see tuning(7).  Had never seen it before, read
up on it and figured something just happened causing a lot of memory usage
or something, chalked it up to an abnormality.
Took the opportunity to upgrade to the latest -STABLE and rebooted.

Server was up for 30 minutes and just rebooted AGAIN with the same
message(s)..
Jan 11 16:32:19 /kernel: All mbufs exhausted, please see tuning(7).
Jan 11 16:32:50 last message repeated 33 times
Jan 11 16:34:44 last message repeated 127 times
Do you have any idea what's causing this and how I can monitor/stop it?

Use netstat -m to chek the current configuration/load.

It's something like this:


191/8272/65536 mbufs in use (current/peak/max):
186 mbufs allocated to data
5 mbufs allocated to packet headers
170/8128/16384 mbuf clusters in use (current/peak/max)
^^
18324 Kbytes allocated to network (37% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

You can modify the number of mbufs with sysctl variable 
kern.ipc.nmbclusters.

Usually setting this on /boot/loader.conf

ex.:

kern.ipc.nmbclusters=16384

Check also tuning(7) ;)

Thank you..

Chris

--
Einstein Oliveira [EMAIL PROTECTED]
__
Yawl Internet Ltda.http://www.yawl.com.br/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


agp error with Radeon 7500 disables DRI

2004-01-11 Thread David Fleck
4.9-RELEASE-p1.

At boot, the agp module appears to load OK:

# dmesg | grep agp
Preloaded elf module agp.ko at 0xc03d336c.
agp0: VIA Generic host to PCI bridge mem 0xe000-0xe7ff at device
0.0 on pci0
agp0: allocating GATT for aperture of size 256M

However, when starting X, the kernel spits out this message:

/kernel: error: [drm:radeon_unlock] *ERROR* Process 265 using kernel
context 0

There is no such process when I look, of course...  the relevant section
of the XFree86 log is:

(II) RADEON(0): [drm] created radeon driver at busid PCI:1:0:0
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xc22ce000
(II) RADEON(0): [drm] mapped SAREA 0xc22ce000 to 0x28279000
(II) RADEON(0): [drm] framebuffer handle = 0xd800
(II) RADEON(0): [drm] added 1 reserved context for kernel
(WW) RADEON(0): [agp] AGP not available
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xc22ce000 at
0x28279000
(II) RADEON(0): Memory manager initialized to (0,0) (1024,8191)

I'm assuming there's some relationship between (a) the kernel warning
message, (b) the 'AGP not available' message, and (c) the fact that DRI
doesn't work anymore (it did before I upgraded from 4.6.2 to 4.9).  Can
anyone think of where to look to figure this out?

I've put the XFree86.0.log file at
http://www.aracnet.com/~dcf/XFree86.0.log, and the X config file at
http://www.aracnet.com/~dcf/XF86Config in case they prove helpful.

thanks-

--
David Fleck
[EMAIL PROTECTED]

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


Re: where are the jabber man pages?

2004-01-11 Thread Kris Kennaway
On Sun, Jan 11, 2004 at 04:00:12PM -0600, David Fleck wrote:

 ...that's it.  No documentation *at all*.  That just doesn't seem right.
 Heck, I'd be happy to cough up a minimal man page...

Please coordinate your efforts with the jabber developers.

Thanks,
Kris


pgp0.pgp
Description: PGP signature


Best practices - USB 2.0 PCI card and gigabit ethernet PCI card for FreeBSD 4.9

2004-01-11 Thread Joe Schmoe

I am running freebsd 4.9 and want to add:

- a USB 2.0 PCI card

and

- a gigabit ethernet (copper - cat-5 wiring) PCI card

What is the best and best supported choices for each
of these ? I am happy to blindly follow whatever
suggestion for the USB 2.0 card, however for the
gigabit card I have had great luck on the 100meg side
of thigns with the Intel etherexpress pro (fxp) cards,
so if there is a well supported Intel card, that would
be best, I guess.

But then again, if there is a non intel gigabit card
that is the clear leader in freebsd support, I would
like to know it

thanks

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Trouble getting network card to work

2004-01-11 Thread fbsd_user
I just went through that on my pre Y2K PC using 4.9. Different PCI
Nic card, but same symptoms. Had to enable verbose boot messages.
Saw that every time I rebooted system the boot log showed an msg
saying something about unrecognized ID. I know the card was good so
I just kept moving the Nic card to different PCI slot, rebooting,
until it finally worked.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jared
Cheney
Sent: Saturday, January 10, 2004 4:28 PM
To: [EMAIL PROTECTED]
Subject: Trouble getting network card to work

Hello,

I've just installed FreeBSD 4.9 and am having trouble getting my
network
card to work.  It is very odd, because it appears as though the
kernel
recognizes the card just fine and is using the pcn module to bring
it up,
etc.

It is an AMD 79c79x card (according to FreeBSD).  I can view/set
properties
via ifconfig - and it properly shows whether or not there is link.
I cannot
obtain a DHCP lease, nor can I ping any other hosts on my network
when I
have a static IP configured.

To ensure that the NIC is fine and all cables, etc. - I booted from
a
bootable Linux CD (Knoppix), where I was able to use the card fine
to ping,
browse the Internet, etc.  Linux showed it as an AMD 79c970 [PCNET32
LANCE]
card.

The card is called pcn0 in FreeBSD, and it says that it is sharing
IRQ 10.
Running tcpdump for any length of time also shows that 0 packets
were
received by the filter.

Anyone have any ideas as to what could be the problem?

Thanks, in advance,
Jared



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

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


vlan support

2004-01-11 Thread Kurilov D.I.
How do you do!

I've got FreeBSD 5.1-RELEASE from ftp://ftp.FreeBSD.org

I have a small net with switch Cisco Catalyst 2950 and Cisco Router
2650. The purpose is to replace 2650 router.

I've include vlan support in kernel. Correspondingly, my /etc/rc.conf : 
ifconfig_rl0=inet 192.168.10.1 netmask 255.255.255.252
cloned_interfaces=vlan0 vlan1 vlan2
ifconfig_vlan0=inet xxx.xxx.xxx.xxx netmask 255.255.255.240 vlan 2
vlandev rl0
ifconfig_vlan0_alias0=inet yyy.yyy.yyy.yyy netmask 255.255.255.248
ifconfig_vlan0_alias1=inet zzz.zzz.zzz.zzz netmask 255.255.255.192
ifconfig_vlan1=inet 192.168.253.2 netmask 255.255.255.252 vlan 3
vlandev rl0
ifconfig_vlan2=inet 192.168.100.1 netmask 255.255.255.0 vlan 4 vlandev
rl0

Catalyst settings were write because it works with cisco router.

When I'd reboot my FreeBSD machine I saw that my FreeBSD router didn't
forward packets between interfaces.
# tail -f /var/log/messages
Jan 12 06:41:16 router kernel: vlan1: discard oversize frame (ether type
800 flags 3 len 1514  max 1510)

I have change my mty to 1514 but it didn't help.

How can I repair that?

With respect,
Dmitriy Kurilov.

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


FreeBSD 4.4 not available !!

2004-01-11 Thread mohanlal jangir
I want to download FreeBSD version 4.4 but this seems to be not available at
links specified at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html

Could you tell me where can I download it. Is it available in CVS?

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


Re: FreeBSD 4.4 not available !!

2004-01-11 Thread Kent Stewart
On Sunday 11 January 2004 08:30 pm, mohanlal jangir wrote:
 I want to download FreeBSD version 4.4 but this seems to be not available
 at links specified at
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html

 Could you tell me where can I download it. Is it available in CVS?


It is really old but there are a couple of mirrors that still have it on their 
systems. Look at

http://www.freebsdmirrors.org/FBSDsites.php3?showi386ISO=do

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


How do I add a third ATA controller to 4.8?

2004-01-11 Thread Paul Hoffman
Greetings again. I have a Dell 600SC that has three ATA controllers 
on the motherboard, and I'm running 4.8 quite happily on it. The 
GENERIC kernel has the following:

device  ata0at isa? port IO_WD1 irq 14
device  ata1at isa? port IO_WD2 irq 15
Since I didn't know the irq used by the third controller (it's not 
listed in their documentation, of course!), I blithely tried adding:

device  ata2at isa? port IO_WD3

However, when rebuilding this kernel, I get the following error:

cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. 
-I../../../include -I../../contrib/ipfilter  -D_KERNEL -include 
opt_global.h  -mpreferred-stack-boundary=2  ioconf.c
ioconf.c:48: `IO_WD3' undeclared here (not in a function)
ioconf.c:48: initializer element is not constant
ioconf.c:48: (near initialization for `ata2_resources[1].u.longval')
*** Error code 1

So, what am I supposed to add to the kernel to add this third controller?

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


Re: perl script question.

2004-01-11 Thread Gary Kline
On Sun, Jan 11, 2004 at 11:52:37AM +, Matthew Seaman wrote:
 On Sat, Jan 10, 2004 at 05:34:34PM -0800, Gary Kline wrote:
  On Sat, Jan 10, 2004 at 11:02:18PM +, Matthew Seaman wrote:
 
   perl -pi.bak -e 's/\s*\w+_\w+\.?//g;' filename
 
  The lines do indeed wrap so this does the job on a test file.
  I do have the re-exp book but this one is far ovr my head.
  What do the \s* mean, and also thr \.?/ ?
 

Thanks for your tutorial.  Time to re-read Jeff Friedl's
book.  I'd forgotten some of perl's regex rules--specifically,
's' and 'w'; was headsratching what symbolized whitespace.
Also did not realize the \w+_ would match one-or-more
underscores.  To me, this is the genius of the expression.

I have a 994 perl script called reflow that does an 
outstanding job of formatting std ASCII|8859-N text. 
I filter any essay thru a program, joinlines, and reflow
before handing it off to OpenOffice.  What reflow doesn't
do is to put two spaces between sentences.  That's on 
my to-hack list:)

have a good one,

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Speak Freely

2004-01-11 Thread Q
On Mon, 2004-01-12 at 05:52, David Miller wrote: 
 Hi All;
 
 I've spent the last two days trying to get speak freely (Internet voice
 program with encryption, see 

If you are intending to use this out of more than just curiosity you
might want to look at alternatives like some of the OpenH323 clients
(eg. net/gnomemeeting), as this particular program will be officially
'End of Life'ed by its author on the 15th of this month.

 I believe I have a full duplex card running properly.  I can play a CD and
 mp3's at the same time, and have both come out the speakers at once.  It
 shows up as:

Full Duplex doesn't mean that you can play two things at once.. it means
that your sound card (and it's drivers) are able to record and playback
at the same time.

 Speakfreely was first installed from ports, then compiled in half duplex
 mode.  If I launch sfspeaker -d from one window, and sfmike -d some.host
 from another, I get the following error from sfspeaker:
 
 new:dmiller$ sfspeaker -d
 sfspeaker: 10.0.0.3 packet lost by half-duplex muting.
 sfspeaker: 10.0.0.3 packet lost by half-duplex muting.
 sfspeaker: 10.0.0.3 packet lost by half-duplex muting.

This is exactly what's supposed to happen when you compile it with half
duplex mode enabled. You should recompile it without defining
HALF_DUPLEX (which should be the default) if you want this behaviour to
stop.

 One other thing that seems odd is that sound from the mike comes through
 the speakers even when sfmike is paused.

If this is sound from your locally connected mic, then this is probably
a mixer 'input source' issue more than anything else. Try playing with
the 'rec' and 'mic' input level and see if it makes any difference.

Seeya...Q

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


Re: sendmail aliases not worked as expected

2004-01-11 Thread mgmcomm @hotmail.com



From: Micheal Patterson [EMAIL PROTECTED]
To: mgmcomm @hotmail.com [EMAIL PROTECTED],[EMAIL PROTECTED]
Subject: Re: sendmail aliases not worked as expected
Date: Sun, 11 Jan 2004 12:06:48 -0600


- Original Message -
From: mgmcomm @hotmail.com [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, January 11, 2004 9:50 AM
Subject: sendmail aliases not worked as expected
 I am having trouble getting /etc/mail/aliases to properly forward system
 messages such as cron or periodic events.  Actually this problem affects
 even mail input using the mail command or any other method.  Although 
the
 cron/periodic is what I require the most.

 When a cron or periodic task creates an email to say root...it gets 
mailed
 to [EMAIL PROTECTED] instead of [EMAIL PROTECTED]  Which results in an
 error message

 Jan  7 03:03:01 butters sm-mta[1511]: i07331me001498: SYSERR(root):
 butters.kibserv.org. config error: mail loops back to me (MX problem?)

 A bounce message is generated and sends cleanly to 
[EMAIL PROTECTED]
 The original message is removed from the queue...apparently this error 
is
 fatal to the original message.

 my alias file contains the following
 root:   [EMAIL PROTECTED]
 seti:   [EMAIL PROTECTED]
 kib:[EMAIL PROTECTED]
 virtualuser:[EMAIL PROTECTED]

 and many other entries...most are the defaults in the original file
enabled
 and almost all eventually point to root anyhow.  And yes I have run
 newaliases and received successful and positive response.

 10:17am butters:/etc/mail # newaliases
 /etc/mail/aliases: 38 aliases, longest 22 bytes, 504 bytes total

 This problem seemed to start about the time I upgrades from 4.7 to 5.2.
 Presently I am loosely tracking current...usually up to a month behind
with
 a 1 week run on a test box.  I plan to track 5-stable as soon as I see 
it
 since I am too deep into 5.x features to go back to 4.x now.  Current is
not
 really all I bargained for  :)

 10:25am butters:/etc/mail # uname -a
 FreeBSD butters 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue Dec 16 19:32:35
UTC
 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM  i386

 in my rc.conf file I thought maybe my sendmail options were wrong.
 historically I have used:
 sendmail_enable=YES
 but after reading the defaults and the rc.sendmail file I find that this
 option is exclusive of two other sendmail options
 sendmail_submit_enable and sendmail_outbound_enable

 So I tried each in turn with no change in result.  But since I can't 
find
 much documentation on these other than what I can make from the
rc.sendmail
 I might still just be using the wrong rc.conf the wrong way.

 It seems to me that sendmail is completely ignoring the 
/etc/mail/aliases
 file
 Even when I try to send mail to kib (a real user) or the virtualuser the
 mail always tries to go to [EMAIL PROTECTED] eventually 
bounces
 and gets attached to a message to the postmaster.  I suppose the aliases
are
 not completely ignored because no mail ever gets to the local user mail
 accounts.

 Also note that the kibserv.org is an old domain no longer 
registered...but
 we still use it for testing purposes.  To prove this is not a dns 
related
 issue here is a few digs.  Our local dns server has all the correct
records.

 10:29am butters:/etc/mail # dig kibserv.org mx


If the system is sending mail to itself for processing, as most mx's do, 
you
need to have the full host name in the local-host-names file. Otherwise, it
doesn't know it's the controlling mx and will reject the mail.

--

Actually the only one doing the job properly is the mail host itself which 
is using qmail/vpopmail.  All local root messages get translated 
properly...sent to local ip address as per the mx record and then available 
for picking up via pop3/webmail.

I am half tempted to drop sendmail on all hosts and see if qmail will 
forward to the mail host properly.  From what I can tell no mail for root or 
any other local user ever leave that localhostbut the bounce mesages to 
the postmaster seem to work just fine.

Only the mail host shoud accept incoming mail.  mail on each individual host 
is not checked and needs to  all go to one pop3 account on the mail host.

Thanks
Jason Cribbins
_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail

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


Re: sendmail aliases not worked as expected

2004-01-11 Thread mgmcomm @hotmail.com
On Sun, Jan 11, 2004 at 03:50:03PM +, mgmcomm @hotmail.com wrote:

 When a cron or periodic task creates an email to say root...it gets 
mailed
 to [EMAIL PROTECTED] instead of [EMAIL PROTECTED]  Which results in an
 error message

That's by design, believe it or not.  'root' is a member of class E --
Exposed Users -- whose e-mail addresses won't be rewritten by
genericstable processing or the like.
Well I used to be able to do this.  Is this a 5.x design?
How might I be able to get it to work the way it used to?
This behavior doesn't seem limited to root.  but to kib and virtualuser as 
well.  I can only assume hat it applies to any alias or real user.

 Jan  7 03:03:01 butters sm-mta[1511]: i07331me001498: SYSERR(root):
 butters.kibserv.org. config error: mail loops back to me (MX problem?)
On your mail host, you need to add the names of all of the hosts you
provide mail service for to the /etc/mail/local-host-names file, one
per line.
My mail host is qmail/vpopmail.  Actually its Matt Simerson's mail toaster 
at http://matt.simerson.net.  My local-host-names is actually a mysql table 
and considering the number of machines involved this is going to be a 
difficult task to maintain unless I can find a way to use some sort of 
globing (*.domain.com or such).  Although this problem is for the toaster 
mailing list to assist me on if it comes down to that.

This mail host is set to accept all mail for kibserv.org and example.com.  
Both are test domains.  It seems to receive mail just fine when it gets 
[EMAIL PROTECTED] but not say [EMAIL PROTECTED]  Actually I 
don't even think [EMAIL PROTECTED] ever gets to the mail host...if I dig 
for mx records on host.domain.com it comes up with no answer and the default 
for sendmail it to send mail directly (basically to localhost) when no mx is 
found.  So I suppose a work around would be to add an mx record for every 
host but that doesn't seem like a clean solution to the problem.


 ;; ANSWER SECTION:
 kibserv.org.   1H IN MX10 mail.kibserv.org.
 ;; ANSWER SECTION:
 mail.kibserv.org.  1H IN CNAME stan.kibserv.org.
 stan.kibserv.org.  1H IN A 10.0.0.8
Not relevant to your current problem, but you've got your MX pointed
to a CNAME.  That's bad karma and not permitted by the DNS standards.
You should make mail.kibserv.org into an A record like so:
mail.kibserv.org.   1H IN A 10.0.0.8
stan.kibserv.org.   1H IN A 10.0.0.8
and similarly, provide PTR records for both names:

$ORIGIN 0.0.10.in-addr.arpa.

8   1H  IN  PTR mail.kibserv.org.
PTR stan.kibserv.org.
Good point.  I will reconfigure as you suggest.  The cname mail.kibserv.org 
is mainly useful for getting web mail users to the proper place.

Thanks
Jason Cribbins
_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus

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


panic: contigmalloc1 size must be 0 - interim fix

2004-01-11 Thread Andrew Kozak
Hi all

I am a very stubborn user and refuse to return to windows, even in the face
of a kernel panic ;-)~.
I posted last week on this problem I havce of the contigmalloc1 error
associated with the Ali (Alladin) chipset. 
Instead of going forward (newer releases) I have had some limited success so
far by doing just the opposite. I noticed on the FreeBSD website that the
Alladin chipset is supposedly supported till 4.9, however, I have found so
far that 4.7 is the latest release to actually support this chipset. (I
think, I am cvsupping to 4.8 ATM, I will post if I have success there)
The problem seems to lie in the pkg-config file, for an upgraded system
anyway as when I try and install gnome2, this is when my system falls apart
every time. pkg_add has no effect, thinking the problem was a dependency, I
gave this a try and failed in the same fashion. All gnome reliant apps fail
it seems. 
Another major problem I found was that drivers did not work properly, I
experimented with a few and after some trials, I found that the vesa driver
solved my X probs, sound etc was the same, experiment untill you find one
that works (I am certain I have been using the correct dirver as well, it
just did not work, whenever I invoked X, I would geta blank screen and the
whole computer would become disabled - I did make notes of all my hardware
before installing)
If you are interested in adding coments, or telling me that I have explained
this badly, please cc me as I am not on the list. I will post again when I
have FreeBSD up and running relatively bugfree. As I say, this worked for me
 and there seems to be no post regarding this bug. Hoping I can help someone
out here

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


Re: How do I add a third ATA controller to 4.8?

2004-01-11 Thread Kent Stewart
On Sunday 11 January 2004 09:13 pm, Paul Hoffman wrote:
 Greetings again. I have a Dell 600SC that has three ATA controllers
 on the motherboard, and I'm running 4.8 quite happily on it. The
 GENERIC kernel has the following:

 device  ata0at isa? port IO_WD1 irq 14
 device  ata1at isa? port IO_WD2 irq 15

 Since I didn't know the irq used by the third controller (it's not
 listed in their documentation, of course!), I blithely tried adding:

 device  ata2at isa? port IO_WD3

 However, when rebuilding this kernel, I get the following error:

 cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
 -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../..
 -I../../../include -I../../contrib/ipfilter  -D_KERNEL -include
 opt_global.h  -mpreferred-stack-boundary=2  ioconf.c
 ioconf.c:48: `IO_WD3' undeclared here (not in a function)
 ioconf.c:48: initializer element is not constant
 ioconf.c:48: (near initialization for `ata2_resources[1].u.longval')
 *** Error code 1

 So, what am I supposed to add to the kernel to add this third controller?


I have used several mobos that had 4 controllers on them. I did't have to do 
anything but add an HD and turn them on in the bios.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: How do I add a third ATA controller to 4.8?

2004-01-11 Thread Paul Hoffman
At 9:54 PM -0800 1/11/04, Kent Stewart wrote:
I have used several mobos that had 4 controllers on them. I did't have to do
anything but add an HD and turn them on in the bios.
I would have hoped that that was the case here too, but it doesn't 
seem to be. The new drive is definitely listed in the Dell's BIOS (I 
set it to automatic and on reboot the BIOS recognized its size 
correctly).

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


Install bug - 4.9 stable - post install circular reboot

2004-01-11 Thread Kevin Berrien
I can confirm an issue posted Dec 3rd, freebsd-stable maillist, titled
4.9 install buglet.

I experience this bug running the install (various configurations) 100%
of the time.  After install, after system reboot, the boot loader comes
up with F1: FreeBSD, and reboots continually forever.  To test, I made 3
installs without issue using 4.8.  So first, I'd like to confirm the bug
report, and ask the following.

In his buglet post, Ian noted the following work around.

 Work around.  Force write in label screen (or rewrite MBR
 and label post reboot)

Looking at fdisk, and the label utility I see nothing option along these
lines.  Could someone explain to me what/how to do this?

Has anyone else seen this apparently prevalent issue?  Is a fix likely,
or do these kind of things just slip by?  I did not expect this from a
'stable' release.

Unfortunately, I'm making my second attempt at evaluating FreeBSD (last
time I used an active box - and got frustrated with bad ports, MySQL/BSD
issues, and needed to get the box online, so I installed something that
worked).  I'm interested in BSD's lean-ness, and other aspects, as
opposed to other nix'es.  Needless to say, testing again using 4.9
this time hasn't been very impressive.

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


Re: Install bug - 4.9 stable - post install circular reboot

2004-01-11 Thread Stuart Barkley
On Tue, 17 Apr 2018 at 09:10 -0400, Kevin Berrien wrote:

Check your system clock.  Its way off.

 I can confirm an issue posted Dec 3rd, freebsd-stable maillist,
 titled 4.9 install buglet.

 I experience this bug running the install (various configurations)
 100% of the time.  After install, after system reboot, the boot
 loader comes up with F1: FreeBSD, and reboots continually forever.
 To test, I made 3 installs without issue using 4.8.  So first, I'd
 like to confirm the bug report, and ask the following.

I have also seen this problem on two of my systems when installing
4.9-RELEASE.

 In his buglet post, Ian noted the following work around.

  Work around.  Force write in label screen (or rewrite MBR and
  label post reboot)

Yes, I found this workaround also and it works for me.

 Looking at fdisk, and the label utility I see nothing option along
 these lines.  Could someone explain to me what/how to do this?

(From memory, YMMV) Reboot for the installation CD into sysinstall.
Select Configure  then Fdisk.  In fdisk select W this will cause
the MBR to be rewritten correctly (I always select the FreeBSD boot
manager, I don't know if that is necessary).

 Has anyone else seen this apparently prevalent issue?  Is a fix
 likely, or do these kind of things just slip by?  I did not expect
 this from a 'stable' release.

I'm not running stable so don't know if the problem is fixed there, or
even if a fix in known.

I'm using an ASUS P4B533-E motherboard with the original BIOS (Rev
1008 08/06/02).  There is an updated BIOS available and I hope to be
able to give it a try soon (it also fixes another minor problem I've
seen: booting from floppy which doesn't work currently).

Stuart
-- 
I've never been lost; I was once bewildered for three days, but never lost!
--  Daniel Boone
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]