Undelivered mail: Let's be friends

2003-03-05 Thread DrWeb-DAEMON
Dear User,

The message sent to you by [EMAIL PROTECTED] with following attributes 
has not been delivered, because contains an infected object.

--- Dr.Web report ---

html] ÉÎÆÉÃÉÒÏ×ÁÎ Trojan.IframeExec
set ÉÎÆÉÃÉÒÏ×ÁÎ Win32.HLLM.Klez.4
[message body] - Ok
options.html - Ok

known virus is found : 2
evaluation key used : 1

--- Dr.Web report ---

The original message was stored in archive record named: 
drweb.infected_gaxQRZ
In order to receive the original message, please send request to 
<[EMAIL PROTECTED]>, referring to the archive record name 
given above.

---
   Antivirus service provided by Dr.Web(R) Daemon for Unix
   (http://www.drweb.ru, http://www.dials.ru/english)
Уважаемый Получатель,

Сообщение, посланное Вам с адреса [EMAIL PROTECTED] 
инфицировано и не было доставлено.

--- Dr.Web report ---

html] инфицирован Trojan.IframeExec
set инфицирован Win32.HLLM.Klez.4
[message body] - Ok
options.html - Ok

known virus is found : 2
evaluation key used : 1

--- Dr.Web report ---

Сообщение сохранено в карантине под именем:
drweb.infected_gaxQRZ

Что бы получить это сообщение обратитесь к администратору
по адресу <[EMAIL PROTECTED]>, указав имя, под 
которым сохранено сообщение для Вас.

---
   Антивирусная защита почтовых серверов
   Dr.Web(R) Daemon for Unix (разработан в Daniloff's Labs)
   (http://www.drweb.ru, http://www.DialogNauka.ru)
Return-Path: <[EMAIL PROTECTED]>
Received: from Ggg (host-5.mipt.ru [172.16.0.5])
	by mail.telecom.mipt.ru (Postfix) with SMTP id B3746415B
	for <[EMAIL PROTECTED]>; Thu,  6 Mar 2003 09:59:25 +0300 (MSK)
From: noc <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Let's be friends
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary=TB0X16ww24550Uw8T3F6Q01AXL7uAI9o4f9U
Message-Id: <[EMAIL PROTECTED]>
Date: Thu,  6 Mar 2003 09:59:25 +0300 (MSK)


Mirroring/load-balance two servers

2003-03-05 Thread Jonas Fornander

Does anyone know if there is a "simple" way to mirror two servers
without spending $ on hardware? I'm NOT talking about mirroring the
OS and the files, I'm talking about sending http requests to a second
server if the first server is down/un-reachable. This is sometimes
referred to as load-balancing. 

The second server doesn't have to be updated in realtime, it just needs
to have a fairly current version of the data files of the main server.
So, for example if the main server goes off line for any reason, then
web pages would be served up from the second server instead.

Can this be accomplished with DNS?

Jonas Fornander - System Administrator
Netwood Communications, LLC - www.netwood.net
Find out why we're better - 310-442-1530


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


FreeBSD 5.0 with a Japanese keyboard

2003-03-05 Thread Nick
I have a Japanese Keyboard made by Sun and I am trying to use it with a
FreeBSD 5 system. The system works fine with a normal PS/2 keyboard.
The Japanese keyboard, however, is recognized by the BIOS but after
FreeBSD loads I cannot use it. I have ssh access to the system, so I can
try anything.

The Japanese localization section in FreeBSD is in Japanese -- but I'm not
good enough to read it yet! ;P

Thanks in advance,

Nick


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


not woking

2003-03-05 Thread Kenneth Tucker
Thanks Adam and Daxbert for your help

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Promise SX6000

2003-03-05 Thread romero3000


Does Anyone know how to get the Promise sx6000 raid card working with
FreeBSD 4.7???

I have seen it in the Hardware Release Notes but I'm not sure about
installation procedure or driver support.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


bandwidth prioritization

2003-03-05 Thread William Wong
Hi there,

I read this and I was wondering if anyone has done this with ipfw &
dummynet.

http://www.benzedrine.cx/ackpri.html

Thanks,
- Will


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: AbiWord

2003-03-05 Thread Stephen Hilton
On Thu, 6 Mar 2003 01:24:48 GMT
[EMAIL PROTECTED] wrote:

> No question, just help for anyone that needs it.
> After struggling with AbiWord 1.04, available
> at www.abisource.com, this is what you need
> to make it work with FBSD 4.7, the "easy" solution
> to which I did not come across in my searching:
> 
> 1.  Download AbiWord 1.04 (1.03 crashed non-stop for me).
> abisuite-1.0.4-FreeBSD_i386_gtk.tar.gz
> 
> 2.  FTP aspell-0.50.3.tgz *AND* psiconv-0.8.3.tgz
> from the FBSD ftp servers.
> 
> 3.  Grab pspell-.12.2.tar.gz (source is on the internet somewhere)
> and "./configure; gmake; gmake install".

Or you could:

# portupgrade -Nivr editors/AbiWord

I really like AbiWord also. The version in the ports tree 
cvsupd today is 1.0.4 which is what I believe you were 
referring to.

Regards,

Stephen Hilton
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


CVS repository

2003-03-05 Thread Philip M. Gollucci
While I am thinking about it,
Is there any way to make an identical copy of the actual CVS respositories 
themselves.  I'd like to drop them into my CVSROOT so I can browse it with 
cvsweb_graph for kicks. I'd just check it ou and import it, but then I loose 
all the useful revision/branching history from which I hope to learn.

If your wondering what I am talking about see cvs.p6m7g8.net. 
Example module  link
then the Graph link.

I'm sure some of you know this /usr/ports/cvsgraph which is horribly out of 
date.  Is anyone working on an update if not, I'll make one.


-- 
END 
-- 
Philip M. Gollucci [EMAIL PROTECTED] 301.474.9294 301.646.3011 (cell) 

Science, Discovery, & the Universe (UMCP) 
Webmaster & Webship Teacher 
URL: http://www.sdu.umd.edu 

eJournalPress 
Database/PERL Programmer & System Admin 
URL : http://www.ejournalpress.com 

Resume : http://p6m7g8.net/Resume 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


MFC'ing

2003-03-05 Thread Philip M. Gollucci
Thanks in advanced. Sorry for the crosspost, but I know some of you FreeBSD 
developers do this all the time. Note the naming scheme ... wink wink.
Okay fine, so I couldn't resit the developer like apache cvs tags :)

say I have
branches: RELENG_1(stable/prod), RELENG_2(release/qa), HEAD(current/devel)
branch point tags:RELENG_1_BP, RELENG_2_BP
tags: p6_RELENG_1_0_PRE1, p6_RELENG_1_0_PRE2, RELENG_1_0, RELENG_1_1_PRE1 
   p6_RELENG_1_1, RELENG_2_0

eventually equivalents for RELENG_3 will be created from HEAD and support for 
RELENG_1 dropped.

now say my respository has 4 files
file1.pm
file2.pm
dir2/file3.pm
dir1/file4.pm

I change the last 3 on HEAD.  Now a week later I want to MFC these changes and 
only these changes from HEAD to RELENG_2 branch. One of the big problems I 
have here is say that during the previously mentioned week, I change file1.pm 
and dir/file4.pm.  I only want the initial changes MFC'ed as I have not had a 
"burn in" period long enough to move the back from the devel branch (HEAD) to 
our qa branch(RELENG_2). I think I have to add more tags to the tree to do 
this, but I am not sure.

Please don't confuse this with wanting to merge branches into the trunk.  That 
I know how do and it is not what I want.

From FreeBSD, theres how we MCF new files.
How do we change this to MFC multiples that already exist ?

 % cd sys/alpha/include
% cvs update -rRELENG_4
cvs update: Updating .
U clockvar.h
U console.h
...
% cvs update -kk -Ap smp.h > smp.h
===
Checking out smp.h
RCS:  /usr/cvs/src/sys/alpha/include/smp.h,v
VERS: 1.1
***
% cvs add smp.h
cvs add: scheduling file `smp.h' for addition on branch `RELENG_4'
cvs add: use 'cvs commit' to add this file permanently
% cvs commit




-- 
END 
-- 
Philip M. Gollucci [EMAIL PROTECTED] 301.474.9294 301.646.3011 (cell) 

Science, Discovery, & the Universe (UMCP) 
Webmaster & Webship Teacher 
URL: http://www.sdu.umd.edu 

eJournalPress 
Database/PERL Programmer & System Admin 
URL : http://www.ejournalpress.com 

Resume : http://p6m7g8.net/Resume 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: gnome2 & sawfish on Freebsd 5.0

2003-03-05 Thread Radhika Sambamurti
Hi Joe,
No I didnt see it, ie your email asking for more info.
Could you please send it agian. This time i wont be in such
a rush to delete.

thx,
radhika

--- Joe Marcus Clarke <[EMAIL PROTECTED]> wrote:
> On Wed, 2003-03-05 at 22:27, Radhika Sambamurti wrote:
> > Hi,
> > I seem to be having problems with my Xserver on FreeBSD
> > 5.0, running gnome2 and Sawfish.
> > 
> > My Xserver verion is: XFree86-Server-4.2.1_6 XFree86-4
> X
> > server and related programs.
> > 
> > The output for dmesg regarding my video card is: 
> > agp0:  mem
> > 0xf000-0xf007,0xf400-0xf7ff irq 5 at
> device
> > 1.0 on pci0
> > 
> > I am using a ATI rage graphics card, but cannot finf on
> my
> > dmesg outut, unless its there and im missing it.
> > 
> > My XF86config file containd the following entries:
> > 
> > Driver  "r128"
> >Identifier  "Primary Card"
> >VendorName  "Unknown"
> >BoardName   "ATI Rage 128 (generic)"
> > #Option "no_accel"
> > #Option "sw_cursor"
> > #Option "hw_cursor"
> > #Option "dac_8_bit"
> > #Option "dac_6_bit"
> > 
> > My screen display is fine.
> > 
> > Does this info help shed some light on the error I keep
> > getting about not having shape extentions? (error is
> > below).
> 
> I sent another email to you requesting more info.  Did
> you see it?  If
> not, I'll forward it to you again.
> 
> Joe
> 
> > 
> > Thx,
> > radhika
> > 
> > 
> > --- Joe Marcus Clarke <[EMAIL PROTECTED]> wrote:
> > > On Fri, 2003-02-28 at 15:14, Radhika Sambamurti
> wrote:
> > > > I am running freebsd 5.0. Gnome2 installed and
> starts
> > > up
> > > > fine. But everytime i try and start sawfish, i get
> the
> > > > following error:
> > > > 
> > > > sawfish: your X server doesn't suppot the SHAPE
> > > extension;
> > > > aborting
> > > > 
> > > > I am running XFree86-4.2.0_1,1   X11/XFree86 core
> > > > distribution on Gnome2. Any help, ideas on what to
> do
> > > to
> > > > get sawfish2 working would be helpful.
> > > 
> > > What graphics card are you using?  What version of
> > > XFree86-Server do you
> > > have installed?  Did you install GNOME 2 from ports
> or
> > > packages?  What
> > > does xdpyinfo report?
> > > 
> > > Joe
> > > 
> > > > 
> > > > Thx,
> > > > radhika
> > > > 
> > > > =
> > > > It's all a matter of perspective. You can choose
> your
> > > view by choosing where to stand.
> > > > --Larry Wall
> > > > 
> > > > __
> > > > Do you Yahoo!?
> > > > Yahoo! Tax Center - forms, calculators, tips, more
> > > > http://taxes.yahoo.com/
> > > > 
> > > > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > > > with "unsubscribe freebsd-questions" in the body of
> the
> > > message
> > > -- 
> > > PGP Key : http://www.marcuscom.com/pgp.asc
> > > 
> > > 
> > > 
> > 
> > > ATTACHMENT part 2 application/pgp-signature
> > name=signature.asc
> > 
> > 
> > 
> > =
> > It's all a matter of perspective. You can choose your
> view by choosing where to stand.
> > --Larry Wall
> > 
> > __
> > Do you Yahoo!?
> > Yahoo! Tax Center - forms, calculators, tips, more
> > http://taxes.yahoo.com/
> -- 
> PGP Key : http://www.marcuscom.com/pgp.asc
> 

> ATTACHMENT part 2 application/pgp-signature
name=signature.asc



=
It's all a matter of perspective. You can choose your view by choosing where to stand.
--Larry Wall

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


make world fails at sendmail

2003-03-05 Thread John Baker

Greetings.

I'm having problems upgrading to

 *default release=cvs tag=RELENG_4

I tried a 'cd /usr/src && make world' three times tonight
without success.  I get the following error msg:

   ===> etc
   ===> etc/sendmail
   make: don't know how to make freebsd.mc. Stop

After the second failure, i did a

   # chflags -R noschg /usr/obj/usr
   # rm -rf /usr/obj/usr
   # cd /usr/src
   # make cleandir
   # make cleandir

per the makeworld.html reference in the handbook,
did a 'make world' again, and it failed again.

I (attempted) to upgrade to sendmail 8.12.8 a
few days ago by copying the new binary into
/usr/ports/distfiles/ and making from there.

At this point, what do I have to do to either
fix or remove sendmail altogether for
'make world' to work?

My system info:

FreeBSD rapid.jabz.net 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Tue Jun 26
10:55:01 EDT 2001 [EMAIL PROTECTED]:/usr/src/sys/compile/rapid  i386

Thanks in advance.
jab


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


vnconfig (was Re: More... Sorry ;)

2003-03-05 Thread Warren Block
[subject added]

On Wed, 5 Mar 2003, William Flecher wrote:

> Been trying to mount a vmware image with vnconfig...
> It refuses to mount it.
>
> [EMAIL PROTECTED]:~ #] vnconfig /dev/vn0c
> /usr/home/ultraviolet/christianos.image
> [EMAIL PROTECTED]:~ #] mount_msdos /dev/vn0c /mnt/vn/0
> mount_msdos: /dev/vn0c: Invalid argument
>
> What did I miss?

You need -c to configure the device, and -v wouldn't hurt:

# vnconfig -c -v /dev/vn0c /usr/home/ultraviolet/christianos.image

Then it should be possible to mount /dev/vn0c.

-Warren Block * Rapid City, South Dakota USA

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: printing to HP LaserJet 4050 TN

2003-03-05 Thread Warren Block
On Wed, 5 Mar 2003, Darren Spruell wrote:

> I've seen a couple of sample scripts, but if you have one that works
> specifically with Laserjet, that would suit :)

Ah, that's the beauty of it--it works with any PostScript printer.  (Or
non-PostScript... see below.)

First, the /etc/printcap:

# /etc/printcap

lp:\
:lp=/dev/null:\
:sh:\
:mx#0:\
:lf=/var/log/lpd-errs:\
:sd=/var/spool/output/lpd/lp:\
:if=/usr/local/libexec/checkps:

lpraw:\
:lp=:\
:sh:\
:mx#0:\
:rm=laser:\
:rp=raw:\
:sd=/var/spool/output/lpd/lpraw:\
:lf=/var/log/lpd-errs:

# end

You have to create the spool directories: /var/spool/output/lpd/lp and
lpraw.  I chmod them to daemon:wheel and chmod them to 600.  "laser" is
the hostname of the printer in /etc/hosts.

When you print to lp, the input filter (if=) called checkps sees if the
incoming file is PostScript.  It also detects HP PJL PostScript jobs,
which the example given in the Handbook does not.  If the job is
PostScript, it sends it to the lpraw queue, which is the real printer.
If the job is not PostScript, it uses Enscript to format it and then
sends it to lpraw.  If you know your job is PostScript, you can send it
straight to lpraw in the first place.  Here's the
/usr/local/libexec/checkps program (the fourth line should not wrap):

#!/usr/bin/perl
# Warren Block 01-15-2003
$_=;
$outname = /^%!|\e%/ ? '| /usr/bin/lpr -Plpraw' : '| /usr/local/bin/enscript -Plpraw';
open(PRT, $outname) or die "can't open pipe: '$!'\n";
print PRT $_;
while () {
print PRT $_;
}
close(PRT);

chmod +x the Perl program, and install the print/enscript-letter port.

If you want other computers to be able to print to this one, add their
hostnames to /etc/hosts.lpd.

Not the most efficient of filters, but it's simple and hasn't failed. If
the printer is PCL only, Ghostscript can be added to convert the
PostScript output to PCL.

-Warren Block * Rapid City, South Dakota USA

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: gnome2 & sawfish on Freebsd 5.0

2003-03-05 Thread Joe Marcus Clarke
On Wed, 2003-03-05 at 22:27, Radhika Sambamurti wrote:
> Hi,
> I seem to be having problems with my Xserver on FreeBSD
> 5.0, running gnome2 and Sawfish.
> 
> My Xserver verion is: XFree86-Server-4.2.1_6 XFree86-4 X
> server and related programs.
> 
> The output for dmesg regarding my video card is: 
> agp0:  mem
> 0xf000-0xf007,0xf400-0xf7ff irq 5 at device
> 1.0 on pci0
> 
> I am using a ATI rage graphics card, but cannot finf on my
> dmesg outut, unless its there and im missing it.
> 
> My XF86config file containd the following entries:
> 
> Driver  "r128"
>Identifier  "Primary Card"
>VendorName  "Unknown"
>BoardName   "ATI Rage 128 (generic)"
> #Option "no_accel"
> #Option "sw_cursor"
> #Option "hw_cursor"
> #Option "dac_8_bit"
> #Option "dac_6_bit"
> 
> My screen display is fine.
> 
> Does this info help shed some light on the error I keep
> getting about not having shape extentions? (error is
> below).

I sent another email to you requesting more info.  Did you see it?  If
not, I'll forward it to you again.

Joe

> 
> Thx,
> radhika
> 
> 
> --- Joe Marcus Clarke <[EMAIL PROTECTED]> wrote:
> > On Fri, 2003-02-28 at 15:14, Radhika Sambamurti wrote:
> > > I am running freebsd 5.0. Gnome2 installed and starts
> > up
> > > fine. But everytime i try and start sawfish, i get the
> > > following error:
> > > 
> > > sawfish: your X server doesn't suppot the SHAPE
> > extension;
> > > aborting
> > > 
> > > I am running XFree86-4.2.0_1,1   X11/XFree86 core
> > > distribution on Gnome2. Any help, ideas on what to do
> > to
> > > get sawfish2 working would be helpful.
> > 
> > What graphics card are you using?  What version of
> > XFree86-Server do you
> > have installed?  Did you install GNOME 2 from ports or
> > packages?  What
> > does xdpyinfo report?
> > 
> > Joe
> > 
> > > 
> > > Thx,
> > > radhika
> > > 
> > > =
> > > It's all a matter of perspective. You can choose your
> > view by choosing where to stand.
> > > --Larry Wall
> > > 
> > > __
> > > Do you Yahoo!?
> > > Yahoo! Tax Center - forms, calculators, tips, more
> > > http://taxes.yahoo.com/
> > > 
> > > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > > with "unsubscribe freebsd-questions" in the body of the
> > message
> > -- 
> > PGP Key : http://www.marcuscom.com/pgp.asc
> > 
> > 
> > 
> 
> > ATTACHMENT part 2 application/pgp-signature
> name=signature.asc
> 
> 
> 
> =
> It's all a matter of perspective. You can choose your view by choosing where to 
> stand.
> --Larry Wall
> 
> __
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Java and mozilla

2003-03-05 Thread Adam Stroud
Can someone tell me how to get java working with mozilla under Freebsd.  I 
have installed the jre from the ports collection, but I cant get java support 
in any browser working (opera, mozilla or konqueror)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


DUMP errors FreeBSD 4.7-RC

2003-03-05 Thread joe mcguckin

While dumping a 75G partition, I receive the following errors:

 DUMP: 21.52% done, finished in 0:51
  DUMP: read error from /dev/ad2s1: Invalid argument: [block -622926708]:
count=7168
  DUMP: read error from /dev/ad2s1: Invalid argument: [sector -622926708]:
count=512
  DUMP: read error from /dev/ad2s1: Invalid argument: [sector -622926707]:
count=512
  DUMP: read error from /dev/ad2s1: Invalid argument: [sector -622926706]:
count=512
  DUMP: read error from /dev/ad2s1: Invalid argument: [sector -622926705]:
count=512
  DUMP: read error from /dev/ad2s1: Invalid argument: [sector -622926704]:
count=512
  DUMP: read error from /dev/ad2s1: Invalid argument: [sector -622926703]:
count=512
  DUMP: read error from /dev/ad2s1: Invalid argument: [sector -622926702]:
count=512

/var/log/messages:

Mar  5 19:15:20 mail /kernel: dscheck(#ad/0x20012): negative b_blkno
-622926708
Mar  5 19:15:20 mail /kernel: dscheck(#ad/0x20012): negative b_blkno
-622926708
Mar  5 19:15:20 mail /kernel: dscheck(#ad/0x20012): negative b_blkno
-622926707
Mar  5 19:15:20 mail /kernel: dscheck(#ad/0x20012): negative b_blkno
-622926706
Mar  5 19:15:20 mail /kernel: dscheck(#ad/0x20012): negative b_blkno
-622926705
Mar  5 19:15:20 mail /kernel: dscheck(#ad/0x20012): negative b_blkno
-622926704
Mar  5 19:15:20 mail /kernel: dscheck(#ad/0x20012): negative b_blkno
-622926703
Mar  5 19:15:20 mail /kernel: dscheck(#ad/0x20012): negative b_blkno
-622926702
Mar  5 19:15:20 mail /kernel: dscheck(#ad/0x20012): negative b_blkno
-622926701
Mar  5 19:15:20 mail /kernel: dscheck(#ad/0x20012): negative b_blkno
-622926700
Mar  5 19:15:20 mail /kernel: dscheck(#ad/0x20012): negative b_blkno
-622926699


What does this mean? Is there a known problem with dump?

Thanks,

Joe


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Another Sendmail question

2003-03-05 Thread Michael K. Smith
On Wed, 5 Mar 2003, Tommy Forrest - KE4PYM wrote:

> One more sendmail question.  After installing the ports version and
> telnetting to my local host on port 25 I get the following greeting:
>
> 220 myhost.com ESMTP Sendmail 8.12.8/8.11.1; Wed, 5 Mar 2003 21:03:12
> -0500 (EST)
>
> Should 8.11.1 be showing up?
>
Hello There:

After doing the installation, you should have a file in your /etc/mail
folder called freebsd.cf.  Save your old sendmail.cf file (as
sendmail.cf.old or whatever), move the freebsd.cf file to sendmail.cf and
kill -HUP sendmail.  Now your cf file should return 8.12.8 as well.

Mike


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: gnome2 & sawfish on Freebsd 5.0

2003-03-05 Thread Radhika Sambamurti
Hi,
I seem to be having problems with my Xserver on FreeBSD
5.0, running gnome2 and Sawfish.

My Xserver verion is: XFree86-Server-4.2.1_6 XFree86-4 X
server and related programs.

The output for dmesg regarding my video card is: 
agp0:  mem
0xf000-0xf007,0xf400-0xf7ff irq 5 at device
1.0 on pci0

I am using a ATI rage graphics card, but cannot finf on my
dmesg outut, unless its there and im missing it.

My XF86config file containd the following entries:

Driver  "r128"
   Identifier  "Primary Card"
   VendorName  "Unknown"
   BoardName   "ATI Rage 128 (generic)"
#Option "no_accel"
#Option "sw_cursor"
#Option "hw_cursor"
#Option "dac_8_bit"
#Option "dac_6_bit"

My screen display is fine.

Does this info help shed some light on the error I keep
getting about not having shape extentions? (error is
below).

Thx,
radhika


--- Joe Marcus Clarke <[EMAIL PROTECTED]> wrote:
> On Fri, 2003-02-28 at 15:14, Radhika Sambamurti wrote:
> > I am running freebsd 5.0. Gnome2 installed and starts
> up
> > fine. But everytime i try and start sawfish, i get the
> > following error:
> > 
> > sawfish: your X server doesn't suppot the SHAPE
> extension;
> > aborting
> > 
> > I am running XFree86-4.2.0_1,1   X11/XFree86 core
> > distribution on Gnome2. Any help, ideas on what to do
> to
> > get sawfish2 working would be helpful.
> 
> What graphics card are you using?  What version of
> XFree86-Server do you
> have installed?  Did you install GNOME 2 from ports or
> packages?  What
> does xdpyinfo report?
> 
> Joe
> 
> > 
> > Thx,
> > radhika
> > 
> > =
> > It's all a matter of perspective. You can choose your
> view by choosing where to stand.
> > --Larry Wall
> > 
> > __
> > Do you Yahoo!?
> > Yahoo! Tax Center - forms, calculators, tips, more
> > http://taxes.yahoo.com/
> > 
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the
> message
> -- 
> PGP Key : http://www.marcuscom.com/pgp.asc
> 
> 
> 

> ATTACHMENT part 2 application/pgp-signature
name=signature.asc



=
It's all a matter of perspective. You can choose your view by choosing where to stand.
--Larry Wall

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Another Sendmail question

2003-03-05 Thread Giorgos Keramidas
On 2003-03-05 21:06, Tommy Forrest - KE4PYM <[EMAIL PROTECTED]> wrote:
AAA> One more sendmail question.  After installing the ports version and
> telnetting to my local host on port 25 I get the following greeting:
>
> 220 myhost.com ESMTP Sendmail 8.12.8/8.11.1; Wed, 5 Mar 2003 21:03:12
> -0500 (EST)
>
> Should 8.11.1 be showing up?

Yes.  It means you haven't updated your sendmail.cf file since 8.11.1
was out.  The first version number is the version of the Sendmail
executable.  The second version number is the version of the Sendmail
.m4 files that was used to create your current sendmail.cf file.

It's generally a good idea to update your sendmail.cf file too
whenever you change versions.  It's not always mandatory, but just to
be on the safe side, do it now.  First make sure to take a backup copy
of /etc/mail/*.cf, just in case the update doesn't work out quite
right for you.  There's no reason why it should fail but anyway.

# cd /etc/mail
# tar cf - *.cf | gzip -9c - > oldcf.tar.gz

Then regenerate all the *.cf files:

# make cf

Install them as sendmail.cf and submit.cf:

# make install

Restart sendmail:

# make restart

and you should be set to go.

: If anything seems to fail for you after this remake of the *.cf
: files, just enter /etc/mail and restore from the backup copy:
:
:   # cd /etc/mail
:   # zcat oldcf.tar.gz | tar xf -

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: still can't resolve these system reboots... help please

2003-03-05 Thread Kris Kennaway
On Wed, Mar 05, 2003 at 03:52:31PM -0800, Bsd Neophyte wrote:
> 
> --- Bill Moran <[EMAIL PROTECTED]> wrote:
> > >>burnP6 and burnMX have been running all night
> > >>
> > >>342:16 49.17% 49.17% burnBX
> > >>340:52 48.10% 48.10% burnP6
> > >>
> > >>and there are no problems so far.
> > 
> > Have you tried running memtest for equal lengths of time?
> 
> memtest doesn't seem to exist in the ports anymore :/  the file can't be
> fetched from any of the listed sites.

Yes it does.

> ls -l /usr/ports/sysutils/memtest/
total 12
drwxr-xr-x  2 root  wheel  512 Feb 24 15:53 CVS/
-rw-r--r--  1 root  wheel  672 Feb 24 15:53 Makefile
-rw-r--r--  1 root  wheel   66 Jul 19  2000 distinfo
drwxr-xr-x  3 root  wheel  512 Jan 13 19:57 files/
-rw-r--r--  1 root  wheel  502 Jul 19  2000 pkg-descr
-rw-r--r--  1 root  wheel   12 Jul 19  2000 pkg-plist

kris


pgp0.pgp
Description: PGP signature


Re: Suggested Laptop system

2003-03-05 Thread John Bleichert
On Wed, 5 Mar 2003, Tak Pui LOU wrote:
> Subject: Suggested Laptop system
> 
> Hi All,
> 
> Could anyone suggest a laptop model which has all the device support by
> FBSD? I don't want something too old but I want to have sound card,
> network card, etc. working under FreeBSD.
> 
> Thanks,
> ---
> Lou
> 

Pick a few based on price and performace, and use google to see how well 
the individual chipsets are supported. I've installed FBSD on several 
Thinkpads, and they've all behaved well. The only problems with a modern 
laptop and FBSD is winmodem support (if you need it, and it may work) and 
power management. The battery may not last as long as you think.

A good place to see how well a particular model is supported is here:

http://www.linux-on-laptops.com/

There are some similar sites for FBSD too.

HTH - JB

___
John Bleichert   [EMAIL PROTECTED] 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


elektroniczny miesiecznik polskiego eksportera - 1 wydanie

2003-03-05 Thread AMPE

www.Eksportuj.pl  skierowany jest do wszystkich   tych, ktorzy na co dzien zajmuja sie 
problematyka wspolpracy handlowej z zagranica. Ma wskazywac Panstwu potencjalne 
mozliwosci nawiazania korzystnych kontaktow w sferze handlu i inwestycji oraz kierowac 
Panstwa uwage glownie w strone regionow i rynkow mniej popularnych w Polsce, czy na 
temat wspolpracy z ktorymi informacja jest znikoma lub trudno dostepna.  Swoja 
tematyka obejmie zagadnienia pomocne przede wszystkim w eksporcie na rynki Dalekiego i 
Bliskiego Wschodu, Afryki czy Ameryki £acinskiej.

Najnowszy numer jak i kolejne dostepne jedynie w prenumeracie. (format pdf.)

Prenumerata jest bezplatna

Jednak 

.maja do niej dostep jedynie osoby subskrybujace nowosci w 
serwisie internetowym Agencji Marketingu i Promocji Eksportu AMPE.
Jak zamowic prenumerate???...Jest to bardzo proste, wystarczy zamowic subskrypcje 
kliknac na link podany ponizej, a otrzymacie Panstwo e-mailem dostep do pierwszego 
wydania lutowego.

link:
http://www.ampe.pl/mailing_system.php?action=confirm&[EMAIL 
PROTECTED]&r=5ee2596e&c=7d788cc9

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Another Sendmail question

2003-03-05 Thread Tommy Forrest - KE4PYM
One more sendmail question.  After installing the ports version and
telnetting to my local host on port 25 I get the following greeting:

220 myhost.com ESMTP Sendmail 8.12.8/8.11.1; Wed, 5 Mar 2003 21:03:12
-0500 (EST)

Should 8.11.1 be showing up?

Tommy Forrest - KE4PYM -  [EMAIL PROTECTED]
My two cents:
Why is a person that handles your money called a 'Broker'?

PGP Public Key Fingerprint: 0A51 6ED0 4555 5B33  FA68 C75B 865D 83CE



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: How many mbufs do I need?

2003-03-05 Thread taxman
On Wednesday 05 March 2003 04:40 pm, Kirk Strauser wrote:
> I killed my FreeBSD 4.8-PRE (2003-02-18) server today by exhausting the
> available mbufs.  I'd seen warnings like "All mbuf clusters exhausted,
> please see tuning(7)." in /var/log/messages, so I added
> `kern.ipc.nmbclusters="16384"' to /boot/loader.conf.local a while back.
>
> This server has 768MB of memory, and I run at least two copies of
> PostgreSQL (it has multiple jails) at any given time and use it to server
> NFS to a couple of Linux clients.  Today I wanted to test Bochs on one of
> the Linux machines, ran the bochsconf program, watched it run "createdisk"
> to make a 512MB disk image in my home directory, and saw the server panic
> within a few seconds.  When it came back up, I bumped nmbclusters to 32768,
> rebooted, and tried createdisk it.  This time I watched `netstat -m' as the
> dreaded "All mbuf clusters exhausted..." message began to scroll up the
> screen.  This time, the server stayed alive, but it clearly maxed out all
> available buffers.  After createdisk was finished, the mbuf usage went back
> to normal:
>
> $ netstat -m
> 389/36736/131072 mbufs in use (current/peak/max):
> 389 mbufs allocated to data
> 388/32768/32768 mbuf clusters in use (current/peak/max)
> 74720 Kbytes allocated to network (33% of mb_map in use)
> 345 requests for memory denied
> 1 requests for memory delayed
> 0 calls to protocol drain routines
>
> My questions are these:
>
> 1) Is there a guideline for how many nmbclusters to allocate?  Short of
>running out of physical memory, is there such a thing as too many?
>
> 2) I've already allocated 64MB to network buffering.  This seems like a
> huge amount to me.  Is it?
>
> 3) Should running out of mbufs be expected to crash the server, or should I
>try to reproduce it and file a PR?

Reproducible errors are the most helpful thing a developer can have to improve 
FreeBSD's stability.  So try to reproduce it, but make sure you're doing it 
on the most recent -stable code, as your problem may already be fixed.  If 
you can update to -stable and still get that error then file a pr and ask on 
the -stable mailing list as that is the appropriate place.
No idea on the rest, sorry,

Tim

>
> 4) What could createdisk have been doing to spike usage that heavily?
>
> 5) Could Linux's NFS client implementation have aggravated the situation?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: A couple of questions related to the sendmail patch, etc.

2003-03-05 Thread taxman
On Wednesday 05 March 2003 05:27 am, Giorgos Keramidas wrote:
> On 2003-03-04 22:38, taxman <[EMAIL PROTECTED]> wrote:
> > On Tuesday 04 March 2003 01:08 pm, Giorgos Keramidas wrote:
> > > On 2003-03-04 10:02, Phillip Smith <[EMAIL PROTECTED]> wrote:
> > > : A couple of quick questions...
> > > :
> > > : I've downloaded the 8.11.6 patch from sendmail.org, and used the
> > > : instructions they provided
> > > : [patch -p0 < /PATH/TO/sendmail.8.11.6.security.cr.patch], which then
> > > : prompts me for 'which file to patch.' I'm not clear on which file I
> > > : _need_ to patch? Or where it would be.
> > >
> > > You should run the patch command with /usr/src/contrib/sendmail as
> > > your current working directory.
> >
> > I don't run sendmail at all, but I would like to learn how to apply
> > the patch.  doing:
> > patch -p0 < /home/tim/sendmail.8.12.security.cr.patch
> > in the above directory still gives the "File to patch:" prompt
> > What else needs to be done to apply the patch?
>
> Hmmm, sorry for the confusion.  I didn't read the patch carefully.
> The correct way of applying it for 8.11.x is:
>
>   # cd /usr/src/contrib/sendmail/src
>   # patch -p1 < /PATH/TO/sendmail.8.11.6.security.cr.patch

Thanks Giorgos, that worked for the patch for 8.12.6 too.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: 4.3 -> RELENG_4

2003-03-05 Thread Mike Meyer
In <[EMAIL PROTECTED]>, IAccounts <[EMAIL PROTECTED]> typed:
> > > Basically:
> > > Update your source with cvsup
> > > read /usr/src/UPDATING and follow any instructions required (I believe
> > >   you'll need to manually create the relatively new sendmail users)
> > > Reveiw you kernel config file to see if any options have changed since
> > >   4.3
> > > make buildkernel
> > > make installkernel
> > > reboot  >>> if the reboot doesn't go well, boot kernel.old and copy it to
> > >  /kernel to get back to 4.3
> > > make buildworld
> > > make installworld
> 
> Ok, I have cvsup'ped successfully, upon buildkernel I get:
> 
> "Error: version of config does not match kernel!
> config version = 400018, version required = 400019
> 
> I understand that I am doing oposite of what the handbook says by
> installing a new kernel first, but is there a way to get around the out of
> date config problem so I can proceed in this 'backwards' approach?

Not that I know of, and you've just started to uncover problems with
doing things backwards. You really need to do the buildworld
first. You can - in fact, should - leave the installworld until after
the new kernel is booted.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


AbiWord

2003-03-05 Thread ai1
No question, just help for anyone that needs it.
After struggling with AbiWord 1.04, available
at www.abisource.com, this is what you need
to make it work with FBSD 4.7, the "easy" solution
to which I did not come across in my searching:

1.  Download AbiWord 1.04 (1.03 crashed non-stop for me).
abisuite-1.0.4-FreeBSD_i386_gtk.tar.gz

2.  FTP aspell-0.50.3.tgz *AND* psiconv-0.8.3.tgz
from the FBSD ftp servers.

3.  Grab pspell-.12.2.tar.gz (source is on the internet somewhere)
and "./configure; gmake; gmake install".

Then you should have a good and fairly stable version
of GTK AbiWord ...  In days of testing, it is the best
WP for FBSD IMHO.  It's native FBSD, and not a hog
like Office suites, not a half done piece of junk,
easy for anyone to use without training; and has
a good interface with most WP features, without
being overly bloated.  It's really the only
choice if you just want an ordinary average
WP for FBSD (with the added bonus that you don't
need 25 other pieces of software to make it work).
--
If I could only find a non-GNOME/non-KDE/non-Linux
browser(/email) package with the quality rendering
of Netscape-4.8 without the bloat, and get my USB
cameras to work, I'd be pretty happy.  It kinda
sucks to have to install an entire 100MB linux
distribution and 25MB of netscape stuff just to
view the web :)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


ZYNX ZX346 - 4 Port PCI Ethernet card

2003-03-05 Thread Administrator
Greetings,

I'm making a couple small pc routers using ZYNX ZX346 - 4 Port PCI Ethernet
cards in small Compaq deskpro systems (one pci slot).  I'm using 4.8RC1 with
polling enabled at the moment, but it does not matter if it's on or off.  What
the problem is is that everything is fine until the card is initialized by the
kernel and then all 4 activity lights just start to flash.  According to the
driver it is a supported chipset /usr/src/sys/pci/if_de.c supports the 21140,
everything i have read seems to support it, but what happens is that all 4
activity lights just blink and i have tested this on two identical machines
with idential results.  Anyone else have this problem with these cards? 
Getting a little frustrated at this point.  Oh and what also is weird is that
iget a de0-3 autosense failed: cable problem? error and the after a while i
loose the interfaces all together with a broken message that i forgot to write
down.  (BTW i have tested this with 4 idential cards on two completely
different machines with 4.8RC1 polling turned on and off)

--
Chris Demers
[EMAIL PROTECTED]
www.govital.net
www.govitalhosting.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: dvipdfm DVI - PDF converter SOLVED

2003-03-05 Thread Murray Taylor
Answering own question...

Digging further into the build logs found ps2pdf from the Ghostscript build 
which does it perfectly ... YAY.

mjt

On Thu, 6 Mar 2003 11:26, Murray Taylor wrote:
> Hmmm ... where did that pdflatex  come from  ... check latex build script
> capture ...
> hh ..Ahah lookit all those other things that come with LaTeX ...
>
> Seriously though ... didnt work. pdflatex does the same thing as dvipdfm
> ... creates a nice pdf but no pictures 
>
> Thanks Simon.
> Any other ideas ??
>
> On Thu, 6 Mar 2003 11:15, Simon Barner wrote:
> > > I am using this port to make PDFs for the Windoze people from my
> > > LaTeX files... but it is not inserting the epsfig pictures.
> > >
> > > A is there a way to get it to do this -- the man page does not seem to
> > > indicate this ability ...
> > >
> > > B Is there a different tool to do 'production-grade' PDFs from DVI
> > > files with all the images ?
> > >
> > > C Or is there a PS to PDF tool I havent found that can take the output
> > > of dvips and make the PDF ?
> > >
> > > ports tree CVSuped 2 mar 2003
> >
> > Did you have a look at pdflatex (which generates PDFs directly from your
> > LaTeX sources)?
> >
> > Simon
> >
> > 
> > This Email has been scanned for Viruses by MailMarshal.
> > 

-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems & Entertainment
Phone: 61 3 8710 2555
Fax: 61 3 8710 2599
Direct: 61 3 9238 4275
Mobile: 61 0417 319 256
Email: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com


This Email has been scanned for Viruses by MailMarshal.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Major upgrades and vinum (was Re: Make installworld problem (4.7))

2003-03-05 Thread Greg 'groggy' Lehey
On Wednesday,  5 March 2003 at 13:40:50 -0600, Kirk Strauser wrote:
> At 2003-03-05T18:04:14Z, Mike Meyer <[EMAIL PROTECTED]> writes:
>
>> Since kernels have to support old binaries, but not vice versa, you can
>> usually reboot with the new kernel and old world and have it work.
>
> Sometimes, though you can't.  I've found myself in the situation where the
> old version of vinum(8) wouldn't run against the new kernel, further
> complicated by the fact that the new vinum was in /usr/obj, which is on a
> vinum volume.
>
> This hasn't been a problem in well over a year, but it bit me hard once.  Is
> there an officially-supported guaranteed-to-work method for handling this?
> I've been doing:
>
>   make buildworld
>   cp /usr/obj/usr/src/sbin/vinum/vinum /sbin/vinum.new
>   ...
>
> just in case.  Is this still a necessary step?

Interesting question.  I need to think about an elegant way of solving
it.  In the past we always did a make world before building a kernel,
so it wasn't an issue.  Certainly it's a good idea to install the new
vinum(8) before rebooting.

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


pgp0.pgp
Description: PGP signature


Suggested Laptop system

2003-03-05 Thread Tak Pui LOU
Hi All,

Could anyone suggest a laptop model which has all the device support by
FBSD? I don't want something too old but I want to have sound card,
network card, etc. working under FreeBSD.

Thanks,
---
Lou


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: 4.3 -> RELENG_4

2003-03-05 Thread Lowell Gilbert
IAccounts <[EMAIL PROTECTED]> writes:

> > > Basically:
> > > Update your source with cvsup
> > > read /usr/src/UPDATING and follow any instructions required (I believe
> > >   you'll need to manually create the relatively new sendmail users)
> > > Reveiw you kernel config file to see if any options have changed since
> > >   4.3
> > > make buildkernel
> > > make installkernel
> > > reboot  >>> if the reboot doesn't go well, boot kernel.old and copy it to
> > >  /kernel to get back to 4.3
> > > make buildworld
> > > make installworld
> 
> Ok, I have cvsup'ped successfully, upon buildkernel I get:
> 
> "Error: version of config does not match kernel!
> config version = 400018, version required = 400019

Yes, you got bad advice there.  You need to do a buildworld before the
buildkernel.  Please read the handbook section on updating, as well as
everything it refers you to (including UPDATING), before risking your
system with the update.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: vinum: low level access to subdisks / drives

2003-03-05 Thread Greg 'groggy' Lehey
On Wednesday,  5 March 2003 at 19:33:04 +0100, Alexander Haderer wrote:
> Hello,
>
> Here is a vinum question. 

It was sent as a followup of a question about installation problems.
That causes problems with threading.

> Assume this setup: Two partitions ad0s1e and ad2s1e of type vinum
> with the same size. vinum is set up to use this disks as RAID 1
> (mirror):
> ...
>  Everything is working without problem.
>
> Because we do not rely on the harddisks and the files at /mirr are
> accessed seldom and random, we want to check, if all sectors of the
> disks ad0 and ad2 are readable without problem. To do so, we want to
> run a nightly low priority cron job that tries to read all sectors
> of a disk without further analyzing the data read. The "result" of a
> failed read (hard disk failure) will be a kernel message in
> /var/log/messages, which we monitor 24x7 a day.
>
> Lets say we do dd for reading the sectors:
>
> dd if=/dev/ad0s1 of=/dev/zero bs=1024k
>
> Questions:
>
> 1. Will this conflict with vinum or its internal (kernel) data
> structures when vinum is running the same time with all components
> of the RAID 'up'?

No.  Writing would be a very different story, of course.

> 2. Will this conflict with parallel read/write access to /mirr ?

No.

> 3. Should we use "dd if=/dev/vinum/sd/mirr.p0.s0 ..." instead of
> /dev/ad0s1e ?

You could.  That would also find any problems in the subdisk itself,
but not with the rest.  On the whole, I'd say that your solution is as
good as any.

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


pgp0.pgp
Description: PGP signature


Re: dvipdfm DVI - PDF converter

2003-03-05 Thread Murray Taylor
Hmmm ... where did that pdflatex  come from  ... check latex build script 
capture ...
hh ..Ahah lookit all those other things that come with LaTeX ...

Seriously though ... didnt work. pdflatex does the same thing as dvipdfm ...
creates a nice pdf but no pictures 

Thanks Simon.
Any other ideas ??


On Thu, 6 Mar 2003 11:15, Simon Barner wrote:
> > I am using this port to make PDFs for the Windoze people from my
> > LaTeX files... but it is not inserting the epsfig pictures.
> >
> > A is there a way to get it to do this -- the man page does not seem to
> > indicate this ability ...
> >
> > B Is there a different tool to do 'production-grade' PDFs from DVI files
> > with all the images ?
> >
> > C Or is there a PS to PDF tool I havent found that can take the output of
> > dvips and make the PDF ?
> >
> > ports tree CVSuped 2 mar 2003
>
> Did you have a look at pdflatex (which generates PDFs directly from your
> LaTeX sources)?
>
> Simon
>
> 
> This Email has been scanned for Viruses by MailMarshal.
> 

-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems & Entertainment
Phone: 61 3 8710 2555
Fax: 61 3 8710 2599
Direct: 61 3 9238 4275
Mobile: 61 0417 319 256
Email: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com


This Email has been scanned for Viruses by MailMarshal.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: still can't resolve these system reboots... help please

2003-03-05 Thread Bill Moran
Bsd Neophyte wrote:
--- Bill Moran <[EMAIL PROTECTED]> wrote:

burnP6 and burnMX have been running all night

342:16 49.17% 49.17% burnBX
340:52 48.10% 48.10% burnP6
and there are no problems so far.
Have you tried running memtest for equal lengths of time?
reading the man page stated that burnMX -P tested the memory.  so i
figured i could use it instead of memtest.
True ... I don't know if memtest is better/worse/equal to burnMMX or
not.  I've just always used both for testing.  One thing about memory
glitches, they try very hard not to occur when you're looking for
them!
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: dvipdfm DVI - PDF converter

2003-03-05 Thread Simon Barner
> I am using this port to make PDFs for the Windoze people from my
> LaTeX files... but it is not inserting the epsfig pictures.
> 
> A is there a way to get it to do this -- the man page does not seem to 
> indicate this ability ...
> 
> B Is there a different tool to do 'production-grade' PDFs from DVI files with 
> all the images ?
> 
> C Or is there a PS to PDF tool I havent found that can take the output of 
> dvips and make the PDF ?
> 
> ports tree CVSuped 2 mar 2003

Did you have a look at pdflatex (which generates PDFs directly from your LaTeX
sources)?

Simon


signature.asc
Description: Digital signature


Re: still can't resolve these system reboots... help please

2003-03-05 Thread Martin Karlsson

* Bsd Neophyte <[EMAIL PROTECTED]> [2003-03-05 15.52 -0800]:
> 
> --- Bill Moran <[EMAIL PROTECTED]> wrote:
[snip]
> > Have you tried running memtest for equal lengths of time?
> 
> memtest doesn't seem to exist in the ports anymore :/  the file can't be
> fetched from any of the listed sites.

You can fetch it here:
ftp://ftp.sunet.se/pub/os/FreeBSD/ports/distfiles/memtester-2.93.1.tar.bz2>

HTH
-- 
Martin Karlsson

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: still can't resolve these system reboots... help please

2003-03-05 Thread Bsd Neophyte

--- Bill Moran <[EMAIL PROTECTED]> wrote:
> >>burnP6 and burnMX have been running all night
> >>
> >>342:16 49.17% 49.17% burnBX
> >>340:52 48.10% 48.10% burnP6
> >>
> >>and there are no problems so far.
> 
> Have you tried running memtest for equal lengths of time?

memtest doesn't seem to exist in the ports anymore :/  the file can't be
fetched from any of the listed sites.

reading the man page stated that burnMX -P tested the memory.  so i
figured i could use it instead of memtest.

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: A few 5.0-Release questions...

2003-03-05 Thread John Wilson
--- Chris Shenton <[EMAIL PROTECTED]> wrote:
> FWIW, I had absolutely no trouble booting and
> installing 5.0-R on my 600SC, with the DELL-supplied
CERC
> RAID card (amr device recognized it, but it drives
4x
> ATA disks rather than SCSI), and an Intel gigabit
> ether card.  Got X11 working on it rather easily
> too.  I don't have any other drives (than the
supplied IDE
> CD) in the box.

The only trouble that I've experienced was with adding
a new video card, an ATI All-In-Wonder VE (Radeon
7500, PCI version).  When the card is not installed,
and I'm using the integrated RageXL video, all works
just great.  However, once a new PCI video card is
installed, I get NMI errors on boot, with a system
hang.

I've tried a few different things to try and resolve
the issue; removing 'options EISA' from the kernel,
and removing 'device agp' from the kernel.  I've
checked the mainboard for jumpers to fully disable the
integrated video; there are none.

Thus far, the only way I can get FreeBSD-5.0 to boot
without incident was to add,
'hw.pci.enable_io_modes=0' to /boot/device.hints. 
Once I do that, no more NMI errors.

I just hope and pray this option remains with FreeBSD
for a long time to come so I can continue to use this
ATI AIW card.  X with the integrated RageXL sucks. :p

- John Wilson <[EMAIL PROTECTED]>

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


dvipdfm DVI - PDF converter

2003-03-05 Thread Murray Taylor
I am using this port to make PDFs for the Windoze people from my
LaTeX files... but it is not inserting the epsfig pictures.

A is there a way to get it to do this -- the man page does not seem to 
indicate this ability ...

B Is there a different tool to do 'production-grade' PDFs from DVI files with 
all the images ?

C Or is there a PS to PDF tool I havent found that can take the output of 
dvips and make the PDF ?

ports tree CVSuped 2 mar 2003

-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems & Entertainment
Phone: 61 3 8710 2555
Fax: 61 3 8710 2599
Direct: 61 3 9238 4275
Mobile: 61 0417 319 256
Email: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com


This Email has been scanned for Viruses by MailMarshal.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Gnome2-2.2 and Nvidia GeForce MX 440 64 mb (NOT) DDR

2003-03-05 Thread Joe Marcus Clarke
On Wed, 2003-03-05 at 15:47, Stefano Ceci wrote:
> Hello all, I'm going crazy with Gnome2-2.2 on a stable
> (cvsupped)version. It seems to be a conflict with NVIDIA drivers. Gnome
> started only one time and goes very very very slow (30 seconds to open
> each window). However, normally, it doesn't start! I've ramoved the
> NVIDIA driver and and then, with X nv driver, gnome starts very fast and
> works fine. But the video quality is poor and very noisy. Only at
> 640x680 the noise goes away. I've tried all refresh rates without
> success. Any idea? 

I know I hear a lot of complaining about GNOME and nVidia on the
developers list.  However, I have a laptop with a GeForce2 Go card, the
native nVidia drivers, and GNOME 2.2 works fine.  Might just be yet
another bug with the nVidia drivers.

Joe

> Thanks Stefano
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




signature.asc
Description: This is a digitally signed message part


Re: firewall revisited

2003-03-05 Thread Giorgos Keramidas
On 2003-03-05 09:32, Brian Henning <[EMAIL PROTECTED]> wrote:
> Hello-
> currently my rc.conf is set up like this for my gateway router.
> gateway_enable="YES"
> firewall_enable="YES"
> firewall_type="OPEN"
> natd_enable="YES"
> natd_interface="rl1" # natd -interface rl1, public interface
> natd_flags=""# sysctl net.inet.ip.forwarding=1
>
> how can i have the script /etc/ipfw.rules run instead of
> /etc/rc.firewall. can i change
> firewall_type="OPEN" to firewall_type="" and create the entry
> firewall_script="/etc/ipfw.rules"?

Why are you confused?

That depends on what you're trying to do and what the contents of
/etc/ipfw.rules are.  There are currently the following ways to set up
a completely custom set of firewall rules:

1. Rewrite /etc/rc.firewall

   This can easily be done, if you replace /etc/rc.firewall with your
   custom script.  This isn't recommended though since you'd have to
   carefully track all changes to the official version of the
   rc.firewall script and merge any interesting stuff back to your
   version of the script.

2. Add a new firewall "type" to rc.firewall

   Copying one of the existing firewall types you cann easily add a
   new one, and make sure that it loads all (and only) the ipfw(8)
   rules that you want.  This can be difficult to keep up to date
   after changes to the rc.firewall script, but not as difficult to
   keep up to date as option #1.

3. Write your own version of a firewall script

   Copy `rc.firewall' to a new script (i.e., `rc.firewall.local') and
   make your changes to the new script.  Then set firewall_script to
   point to the new script in `/etc/rc.conf'.  For example:

% cat /etc/rc.firewall.local
fwcmd="/sbin/ipfw"
${fwcmd} -q flush
${fwcmd} add 1 pass ip from any to any

% grep firewall_script /etc/rc.conf
firewall_script="/etc/rc.firewall.local"

   This is a fairly nic way of doing things, but it doesn't work
   correctly if you want to tweak the way ipfw(8) is called by
   settings things like firewall_quiet="YES" in your `rc.conf' file.
   Mostly because the logic for all those firewall_xxx options is
   implemented as part of the existing `rc.firewall' script.

4. Create a ruleset file, and point rc.firewall to it

   You can always write your own set of firewall rules, without a
   ${fwcmd} prefix, and save it to a file, i.e. `/etc/ipfw.rules'.
   This is a plain text file that contains *only* firewall rules.
   No shell commands.  You can use `#' for comments (as shown in the
   sample file below):

% cat /etc/ipfw.rules
flush
add allow ip from any to any

   Then you just need to make sure that your `rc.conf' contains the
   following two lines:

firewall_enable="YES"
firewall_type="/etc/ipfw.rules"

   The firewall_type value is the *FULL* path to the ruleset file.  It
   is important to include the leading `/' character.  This way,
   ipfw(8) will know that this is the path of a rule file and not the
   name of a command (like `add' in `ipfw add ...').

   This is the way I usually prefer setting ipfw(8) up.  For various
   reasons.  One of them is that my firewall rules are not lost in
   between the lines of some shell script that I don't remember I have
   edited.  Another reason is that having made no changes to the
   original `rc.firewall' script, there is no need to take care for
   merging changes later with mergemaster(8).

Phew.  This was long.

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


libstdc++-libc6.2-2.so.3 problems

2003-03-05 Thread Mark Pearce
HI all

I have a problem with installing the macromedia flash6 plugin on
netscape7 on my friends computer.  I get the following error when
initalizing the plugin:

LoadPlugin: failed to initialize shared library
/usr/local/lib/linux-netscape7-english/plugins/libflashplayer.so
[libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file
or directory] linux: 'ipc' typ=258 not implemented

On my machine I see I have a
/usr/compat/linux/usr/lib/libstdc++-libc6.2-2.so.3 file that is linked
to libstdc++-3-libc6.2-2-2.10.0.so.  On google I get the impression that
this file is part of the /usr/ports/emulators/linux_base port, the
libstdc++-3-libc6.2-2-2.10.0.so is mentioned in pkg-plist.alpha but not
mentioned in pkg-plist.i386.

I am thinking of taking a chance and just copying my file into the
correct location and linking it, but I am thinking, why does a plugin
for an i386 system look for a file that is part of an "alpha" build
machine and what is the importance of this file not being in the i386.

I am still using "linux_base-7.1_1" and the current package in the ports
is "linux_base-7.1_2" .  Is it possible that this file has been ommited on
purpose?

Any ideas on how to bypass my problem without causing major damage to my
friends computer?

Thanks

Mark



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: firewall revisited

2003-03-05 Thread Jeff Walters
On Wednesday 05 March 2003 02:48 pm, Brian Henning wrote:

> Jeff,
>
> you must have your firewall_type set to the default then in rc.conf or
> /etc/defaults/rc.conf. does you setup not run the standard rc.firewall file
> in /etc?
>
> does this rule allow any access to the outside network?
> ipfw add 00100 allow tcp from any to any via ed0 established
>
> thanks,
>
> brian

I don't set firewall_type in rc.conf (ie. leaving it at the default), because 
it would be ignored.  When you change firewall_script in /etc/rc.conf, 
/etc/rc.firewall will no longer run at boot automatically.

The ipfw rule above allows all packets for established connections to pass the 
firewall.  This is determined only by the flags in each inbound packet, not 
because of any memory of the state of connections.  You would also need rules 
dealing with the setup packets to allow the TCP connections to be created.  
It's in the ipfw man page and probably the FreeBSD Handbook also with better 
examples, but a quick additional rule to allow you to get out on ed0 with any 
possible TCP connection would be:

ipfw add 00200 allow tcp from any to any out xmit ed0 setup

Jeff

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: 4.3 -> RELENG_4

2003-03-05 Thread Bill Moran
IAccounts wrote:
Basically:
Update your source with cvsup
read /usr/src/UPDATING and follow any instructions required (I believe
 you'll need to manually create the relatively new sendmail users)
Reveiw you kernel config file to see if any options have changed since
 4.3
make buildkernel
make installkernel
reboot  >>> if the reboot doesn't go well, boot kernel.old and copy it to
/kernel to get back to 4.3
make buildworld
make installworld


Ok, I have cvsup'ped successfully, upon buildkernel I get:

"Error: version of config does not match kernel!
config version = 400018, version required = 400019
Make sure that /usr/src/usr.sbin/config is in sync with your /usr/src/sys
and install a new config binary before trying this again."
Doing a:

# cd /usr/src/usr.sbin/config
# make
Fails with "make: dont' know hwo to make config.1. Stop" At this point it
looks like everything has compiled, and is in the linking object files
stage.
I understand that I am doing oposite of what the handbook says by
installing a new kernel first, but is there a way to get around the out of
date config problem so I can proceed in this 'backwards' approach?
I may be wrong, but ...
Do this order:
make buildworld
make buildkernel
make installkernel
reboot
make installworld
This should get you an updated config program, while still giving you the
safety of backing out if the new kernel doesn't boot.
If I'm wrong on this point, please correct me.  But I don't see it being
harmful to try. (as nothing actually gets installed until the 'make install*'
stage)
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Mail vs SMTP [newbieish tendencies]

2003-03-05 Thread Bill Moran
Richard Shea wrote:
Hi - I've got a FreeBSD machine from which I can use 'Mail' to send
emails to any internet email address. However when I try to use it as a
SMTP server from within the LAN the connection times out.
I'm sure there are many places I could look for a solution but I just
wanted to check one thing. If I can use 'Mail' to send emails does this
imply that the FreeBSD box is running a SMTP server which could send mail
on behalf of clients (within the LAN)?
No.
Sendmail can be run in different modes.  It's likely that yours is configured
for local mail submission only.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


checkouts.cvs - looking inside it ?

2003-03-05 Thread Richard Shea
Hi - Three months ago I did _something_ with CVS for the first time ever.
I think _something_ involved all the files necessary to take my 4.4
machine to 4.5. However I failed to take any decent notes and my memory
fails me. What I would really like is to find a log file of CVS activity
so that I could be sure of what I've got. I've found a
checkouts.cvs:RELENG_4_5_0_RELEASE but is there some sort of 'higher
level' log which would indicate what was done ?

I realise that in theory I could reverse engineer this from the
checkouts.cvs but it's one big file ...

thanks

richard shea


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Mail vs SMTP [newbieish tendencies]

2003-03-05 Thread Richard Shea
Hi - I've got a FreeBSD machine from which I can use 'Mail' to send
emails to any internet email address. However when I try to use it as a
SMTP server from within the LAN the connection times out.

I'm sure there are many places I could look for a solution but I just
wanted to check one thing. If I can use 'Mail' to send emails does this
imply that the FreeBSD box is running a SMTP server which could send mail
on behalf of clients (within the LAN)?

Thanks

Richard Shea.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: USB Epson perfection 1250, support?

2003-03-05 Thread Peter B
Dirk Meyer wrote:
>Peter B wrote:
>
>> I have a "Epson Perfection 1250" USB scanner. It works fine under "Windows Me"
>> I'm trying to get it to work under FreeBSD-4.7 and have patched usbdevs, 
>> usbdevs.h, usbdevs_data.h, uscanner.c in /usr/src/sys/dev/usb
>
>without patches:
>FreeBSD 4.8-PRERELEASE #22: Thu Feb 27 20:03:38 CET 2003
>
>Mar  5 17:33:28 net3 /kernel: uscanner0: EPSON EPSON Scanner, rev 1.10/1.00, addr 2
>
>but scanimage hangs here.

Any traces what could be the reason?

With 4.7 (i386) and my patches it works now ..kind of..
And modifying /usr/local/etc/sane.d/plustek.conf as follows:
  [usb]   ->  [usb] 0x04B8 0x010F
  device /dev/usbscanner  ->  device /dev/uscanner0

But it should not be neccessary.. USB.. Plug & PRAY! :)

xscanimage  works ok.
scanimage   works (stepper motor goes beyond physical limit in this case).
xsane   crashes after scan, but won't hang anything.

One real nasty thing I discovered is that if one cancels a scan it can happen
that the step motor continues to drive the scanner wagon beyond physical limit
*until* you cancel it by requesting a new scan or disconnect power.
Something that ought to be fixed..

>I tested on:
>FreeBSD 5.0-CURRENT #0: Fri Jan 31 13:42:19 CET 2003
>everything runs there smoothly.
>
>mdodify: /usr/local/etc/sane.d/plustek.conf
>
>$ /usr/local/bin/scanimage --verbose --device plustek:/dev/uscanner0 \
>   --format tiff --mode Color -x 210 -y 297 > test.tif
..

There is also a speed issue:

  Windoze FreeBSD
Preview   26 sec  50 sec
300 dpi, 24 bpp, A4   45 sec  66 sec

Windoze system:
  Toshiba laptop, CPU-Intel Celeron 650, 64 MB Ram, Windoze Me

FreeBSD system:
  Motherboard A7V333, CPU-AMD XP1800, 256 MB Ram, FreeBSD 4.7

One can clearly hear (audiowise) that the freebsd system does the scanning in 
chunks while windoze does most tasks in one "sweep".

/P


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


How many mbufs do I need?

2003-03-05 Thread Kirk Strauser
I killed my FreeBSD 4.8-PRE (2003-02-18) server today by exhausting the
available mbufs.  I'd seen warnings like "All mbuf clusters exhausted,
please see tuning(7)." in /var/log/messages, so I added
`kern.ipc.nmbclusters="16384"' to /boot/loader.conf.local a while back.

This server has 768MB of memory, and I run at least two copies of PostgreSQL
(it has multiple jails) at any given time and use it to server NFS to a
couple of Linux clients.  Today I wanted to test Bochs on one of the Linux
machines, ran the bochsconf program, watched it run "createdisk" to make a
512MB disk image in my home directory, and saw the server panic within a few
seconds.  When it came back up, I bumped nmbclusters to 32768, rebooted, and
tried createdisk it.  This time I watched `netstat -m' as the dreaded "All
mbuf clusters exhausted..." message began to scroll up the screen.  This
time, the server stayed alive, but it clearly maxed out all available
buffers.  After createdisk was finished, the mbuf usage went back to normal:

$ netstat -m
389/36736/131072 mbufs in use (current/peak/max):
389 mbufs allocated to data
388/32768/32768 mbuf clusters in use (current/peak/max)
74720 Kbytes allocated to network (33% of mb_map in use)
345 requests for memory denied
1 requests for memory delayed
0 calls to protocol drain routines

My questions are these:

1) Is there a guideline for how many nmbclusters to allocate?  Short of
   running out of physical memory, is there such a thing as too many?

2) I've already allocated 64MB to network buffering.  This seems like a huge
   amount to me.  Is it?

3) Should running out of mbufs be expected to crash the server, or should I
   try to reproduce it and file a PR?

4) What could createdisk have been doing to spike usage that heavily?

5) Could Linux's NFS client implementation have aggravated the situation?

-- 
Kirk Strauser
In Googlis non est, ergo non est.


pgp0.pgp
Description: PGP signature


HELP: Exim - SMTP AUTH, STARTTLS, and PAM or pwcheck on FreeBSD

2003-03-05 Thread David P. Discher
--- Sorry if this gets posted twice, sigh, email issues  -

I've been playing with exim for a little bit now, my new server I'm going to
roll out I would like to use exim instead of sendmail.  So far, exim is much
nicer to use, however, I am at a loss where to go now.

I figure many would like to have the following ...

SMTP standard receive on port 25

Relaying supported on 25 via STARTTLS + SMTP AUTH
SSL Tunneled on port 485 + SMTP AUTH

I've gotten the tunneled part to work.  I got port 25 going.  I can't get
AUTH to work, and haven't tried STARTTLS yet.

My authenticators section, I have so far:

fixed_login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition="${if pam{$1:$2}{1}{0}}"
#   server_condition = ${if pam{$1:${sg{$2}{:}{::}}}{yes}{no}}
#   server_condition = ${if pwcheck{$1:$2}{1}{0}}
server_set_id = $1

Note, the commented sections I have tired each and still generate the errors
below.


> 2003-03-05 12:28:46 Authentication failed for ([192.168.22.101])
> [192.168.22.101]: 435 Unable to authenticate at present (set_id=dpd): cannot
> connect to pwcheck daemon

> 2003-03-05 12:58:00 Authentication failed for ([192.168.22.101])
> [192.168.22.101]: 535 Incorrect authentication data (set_id=dpd)


I have not modified /etc/pam.conf yet.

Anyone got some tips, help, advice where to go next - it seems like is a
PAM/pwcheck issue, not exim at this point, or a draft at an HOWTO ?
Specifics on exim and freebsd seem to be few right now.

< random rant >

Anyone know how to get your IPS out of SPEWS ?  My ISP had some spammers
they ditched a while back, but SPEWS has the whole dag IP range listed.  The
ISP has tried multiple times, but the WHOIS records still are pointed into
the IP range (which they can't control), even though the co-los have been
kicked out, but SPEWS wouldn't drop the blocks.

< / random rant >


-- *** -
| David P. Discher  *  * (314) 518-3795  |
| <[EMAIL PROTECTED]> * AIM: DavidDPD   * ICQ:4222899 |
-- *** -


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: 4.3 -> RELENG_4

2003-03-05 Thread IAccounts
> > Basically:
> > Update your source with cvsup
> > read /usr/src/UPDATING and follow any instructions required (I believe
> >   you'll need to manually create the relatively new sendmail users)
> > Reveiw you kernel config file to see if any options have changed since
> >   4.3
> > make buildkernel
> > make installkernel
> > reboot  >>> if the reboot doesn't go well, boot kernel.old and copy it to
> >  /kernel to get back to 4.3
> > make buildworld
> > make installworld

Ok, I have cvsup'ped successfully, upon buildkernel I get:

"Error: version of config does not match kernel!
config version = 400018, version required = 400019

Make sure that /usr/src/usr.sbin/config is in sync with your /usr/src/sys
and install a new config binary before trying this again."

Doing a:

# cd /usr/src/usr.sbin/config
# make

Fails with "make: dont' know hwo to make config.1. Stop" At this point it
looks like everything has compiled, and is in the linking object files
stage.

I understand that I am doing oposite of what the handbook says by
installing a new kernel first, but is there a way to get around the out of
date config problem so I can proceed in this 'backwards' approach?

Tks.

Steve Bertrand


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Gnome2-2.2 and Nvidia GeForce MX 440 64 mb (NOT) DDR

2003-03-05 Thread Stefano Ceci
Hello all, I'm going crazy with Gnome2-2.2 on a stable
(cvsupped)version. It seems to be a conflict with NVIDIA drivers. Gnome
started only one time and goes very very very slow (30 seconds to open
each window). However, normally, it doesn't start! I've ramoved the
NVIDIA driver and and then, with X nv driver, gnome starts very fast and
works fine. But the video quality is poor and very noisy. Only at
640x680 the noise goes away. I've tried all refresh rates without
success. Any idea? 
Thanks Stefano



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Make installworld problem (4.7-p2 - > p7) (reply to all)

2003-03-05 Thread dslb
On Wed, 5 Mar 2003, Kris Kennaway wrote:
> Date: Wed, 5 Mar 2003 11:34:26 -0800
> To: [EMAIL PROTECTED]
> From: Kris Kennaway <[EMAIL PROTECTED]>
> Subject: Re: Make installworld problem (4.7-p2 - > p7)

> > But when I cd to /usr/src and type "make installworld" I get:
> > mkdir -p /tmp/install.362
> > for prog in [ awk cat chflags chmod chown date echo egrep find grep
 ln
> > make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true
> uname
> > wc zic; do cp `which $prog` /tmp/install.362; done
> > usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
> > cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN
> directory
> > *** Error code 64
>
> Let me guess, you have /tmp mounted on a MFS?

Nope

> From: Joshua Lokken <[EMAIL PROTECTED]>
> At this point I have to ask, (maybe a dumb question), but did you
> reboot into single-user mode after you tested the new kernel, before
> you did 'make installworld'?

I rebooted normally to check if the kernel worked, it did, so I rebooted
again and used "boot -s" to get single user mode.

> From: Kent Stewart <[EMAIL PROTECTED]>
> Do you have /tmp set so that it is non-exec?

Ah, I just thought that was it, I removed noexec on /tmp and /var/tmp, but
I still get the error. This is how it is mounted now:

/dev/ad0s1a  /  ufs rw  1 1
/dev/ad1s1e  /home  ufs rw,nosuid  2 2
/dev/ad0s1e  /tmp  ufs rw,nosuid  2 2
/dev/ad0s1f  /usr  ufs rw  2 2
/dev/ad0s1g  /var  ufs rw,nosuid  2 2
/dev/ad0s1h  /var/tmp  ufs rw,nosuid  2 2
procfs  /proc  procfs rw  0 0

Btw I am not on the list, so please CC to me.

br
socketd

ps: securelevel = -1 so that is not it either.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


TCP in TIME_WAIT for too long.

2003-03-05 Thread Sten Daniel Sørsdal

  Im using a 4.7-STABLE box with Zebra BGPD for full BGP feed and i have come across 
an unusual problem.
  It works great except when i come up in the situation when the provider reboots 
their router.
  FBSD doesnt seem to detect that the link has been broken and the TCP connection will 
stay in TIME_WAIT
  for a long time (up to 20 minutes?). Is there any way to tweak this to die after 
about 120 seconds?
  Will this break anything?

  Any help is appreciated!

- Sten

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: firewall revisited

2003-03-05 Thread Brian Henning
> > how can i have the script /etc/ipfw.rules run instead of /etc/rc.firewall.
> > can i change
> > firewall_type="OPEN" to firewall_type="" and create the entry
> > firewall_script="/etc/ipfw.rules"?
>
> I have that working right now with:
>
> firewall_enable="YES"
> firewall_script="/etc/rc.firewall.local"
>
> ... where /etc/rc.firewall.local contains the customized ipfw commands.
>
> > what i would like to do is block all access to services on the router like
> > httpd, sshd, etc
> > the other think i would like to do is port forward ssh from another machine
> > and allow access of that from an external network.
> > does something like this make sense?
> > thanks,
>
> If you are using NAT then the -redirect_port option to natd will do that (ie.
> forward incoming port 22 connections to an internal machine), which can be
> set in /etc/rc.conf in the natd_flags="-redirect_port ..." variable.  You
> have to create a corresponding ipfw rule to allow the traffic after natd
> rewrites the destination IP to your internal LAN machine, which it looks like
> you have done below, except the "from" would be "any" not "ROUTER_IP".  It
> will be the IP of the outside machine trying to connect to port 22.
>
> I have a similar port forward set up.  Early in the firewall rules allow all
> established TCP connections, and then later allow the setup for the initial
> SSH connection.  10.0.1.2 would be a machine behind the firewall to receive
> SSH connections, and ed0 would be the external internet interface.
>
> in /etc/rc.conf:
> natd_flags="-redirect_port tcp 10.0.1.2:ssh ssh"
>
> in the firewall script:
> ipfw -q flush
> ipfw add 00050 divert natd ip from any to any via ed0
> ipfw add 00100 allow tcp from any to any via ed0 established
> 
> ipfw add 01000 allow tcp from any to 10.0.1.2 ssh setup
> 
> ipfw add 65530 deny log ip from any to any
>
> I winged this so forgive any errors, but it's based on what I have working,
> including a rule to deny and log everything by default at the bottom.
>
[snip]


Jeff,

you must have your firewall_type set to the default then in rc.conf or
/etc/defaults/rc.conf. does you setup not run the standard rc.firewall file in
/etc?

does this rule allow any access to the outside network?
ipfw add 00100 allow tcp from any to any via ed0 established

thanks,

brian

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: still can't resolve these system reboots... help please

2003-03-05 Thread Bill Moran
Tuc wrote:
It exercises the hardware vigorously (CPU, RAM, disk, I/O controllers,
=2E..).  This is exactly the situation under which failing hardware is
most likely to fail.
So the next question is how do I approach Dell to replace the
motherboard/cpu/memory? If I show them FreeBSD they'll laugh.
Can you find an intensive program to run under Windows that will reproduce
it?
Hell ... just install ActivePerl and write a perl script that does lots
and lots of number crunching (it need not be anything useful) or install
SETI and see if it crashes Windows.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: cd sound on onboard card

2003-03-05 Thread Giuseppe Pagnoni
Dear Justin

thanks for your suggestion.  I checked the mixer settings and they're fine, 
also the CD is connected to the sound card because it does work in windows.  
I suspect it has to do with the fact that the sound module is onboard because 
I never encountered this problem with proper sound cards...

giuseppe

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Major upgrades and vinum (was Re: Make installworld problem (4.7))

2003-03-05 Thread Kirk Strauser
At 2003-03-05T18:04:14Z, Mike Meyer <[EMAIL PROTECTED]> writes:

> Since kernels have to support old binaries, but not vice versa, you can
> usually reboot with the new kernel and old world and have it work.

Sometimes, though you can't.  I've found myself in the situation where the
old version of vinum(8) wouldn't run against the new kernel, further
complicated by the fact that the new vinum was in /usr/obj, which is on a
vinum volume.

This hasn't been a problem in well over a year, but it bit me hard once.  Is
there an officially-supported guaranteed-to-work method for handling this?
I've been doing:

  make buildworld
  cp /usr/obj/usr/src/sbin/vinum/vinum /sbin/vinum.new
  ...

just in case.  Is this still a necessary step?
-- 
Kirk Strauser
In Googlis non est, ergo non est.


pgp0.pgp
Description: PGP signature


Re: still can't resolve these system reboots... help please

2003-03-05 Thread Tuc
> 
> It exercises the hardware vigorously (CPU, RAM, disk, I/O controllers,
> =2E..).  This is exactly the situation under which failing hardware is
> most likely to fail.
> 
So the next question is how do I approach Dell to replace the
motherboard/cpu/memory? If I show them FreeBSD they'll laugh.

Tuc/TTSG Internet Services, Inc.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Make installworld problem (4.7-p2 - > p7)

2003-03-05 Thread Kent Stewart
On Wednesday 05 March 2003 11:26 am, [EMAIL PROTECTED] wrote:
> Hi all
>
> I have a i386 computer with FreeBSD 4.7-p2 installed. I have
> downloaded the source to 4.7-p7 and cd to /usr/src. Here I ran:
> make buildworld
> make buildkernel KERNCONF=SOCKETD
> make installkernel KERNCONF=SOCKETD
> rebooted into single user mode and did a uname -a:
> FreeBSD loadmaster 4.7-RELEASE-p7 FreeBSD 4.7-RELEASE-p7 #0: Tue Mar 
> 4 15:09:32 CET 2003
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SOCKETD  i386
>
> But when I cd to /usr/src and type "make installworld" I get:
> mkdir -p /tmp/install.362
> for prog in [ awk cat chflags chmod chown date echo egrep find grep 
> ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl  test true
> uname wc zic; do  cp `which $prog` /tmp/install.362;  done
> usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
>cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN
> directory *** Error code 64
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
>
> I hope someone can help.

Do you have /tmp set so that it is non-exec?

Kent
>
> br
> socketd
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Kent Stewart
Richland, WA

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


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Make installworld problem (4.7-p2 - > p7)

2003-03-05 Thread Kris Kennaway
On Wed, Mar 05, 2003 at 08:26:00PM +0100, [EMAIL PROTECTED] wrote:
> Hi all
> 
> I have a i386 computer with FreeBSD 4.7-p2 installed. I have downloaded
> the source to 4.7-p7 and cd to /usr/src. Here I ran:
> make buildworld
> make buildkernel KERNCONF=SOCKETD
> make installkernel KERNCONF=SOCKETD
> rebooted into single user mode and did a uname -a:
> FreeBSD loadmaster 4.7-RELEASE-p7 FreeBSD 4.7-RELEASE-p7 #0: Tue Mar  4
> 15:09:32 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SOCKETD  i386
> 
> But when I cd to /usr/src and type "make installworld" I get:
> mkdir -p /tmp/install.362
> for prog in [ awk cat chflags chmod chown date echo egrep find grep  ln
> make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl  test true uname
> wc zic; do  cp `which $prog` /tmp/install.362;  done
> usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
>cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
> *** Error code 64

Let me guess, you have /tmp mounted on a MFS?

Kris


pgp0.pgp
Description: PGP signature


Re: still can't resolve these system reboots... help please

2003-03-05 Thread Kris Kennaway
On Wed, Mar 05, 2003 at 01:59:05PM -0500, Tuc wrote:
> > 
> > It could be incompatible hardware (i.e. mostly compatible hardware) that
> > works most of the time, but occasionally causes a reboot.  Meanwhile, the
> > vender drivers for Windows make it work perfectly there.
> >
>   Its been working reliably since last May in 4.5/4.6/4.7 Then
> the hard drive failed,  put a fresh install, and then it was reliable until
> I was portupgrading X. What could the X system do so horrible that would
> make the screen just go black and then the splash page happen?

It exercises the hardware vigorously (CPU, RAM, disk, I/O controllers,
...).  This is exactly the situation under which failing hardware is
most likely to fail.

Kris


pgp0.pgp
Description: PGP signature


Make installworld problem (4.7-p2 - > p7)

2003-03-05 Thread dslb
Hi all

I have a i386 computer with FreeBSD 4.7-p2 installed. I have downloaded
the source to 4.7-p7 and cd to /usr/src. Here I ran:
make buildworld
make buildkernel KERNCONF=SOCKETD
make installkernel KERNCONF=SOCKETD
rebooted into single user mode and did a uname -a:
FreeBSD loadmaster 4.7-RELEASE-p7 FreeBSD 4.7-RELEASE-p7 #0: Tue Mar  4
15:09:32 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SOCKETD  i386

But when I cd to /usr/src and type "make installworld" I get:
mkdir -p /tmp/install.362
for prog in [ awk cat chflags chmod chown date echo egrep find grep  ln
make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl  test true uname
wc zic; do  cp `which $prog` /tmp/install.362;  done
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
   cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
*** Error code 64

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

I hope someone can help.

br
socketd


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Moved anonymous ftproot, any security concerns?

2003-03-05 Thread Michael

Hello to my favorite list of people. =]

and without any further ado..

I recently reinstalled FreeBSD and i am afraid i didnt think to take the
fact that i wanted to mirror freebsd isos and the ports collection into
consideration. I also forgot that i had a personal library of a few gigs
of ebooks. (i started a bad habit years ago of keeping my www root in
/var. I have yet to kick that habit because all my configs and web scripts
point to /var/www/html. heh. In short, i made var quite tiny and bit
myself in the butt.. =[

[labs] /# df -m /var
Filesystem  1M-blocks Used Avail Capacity  Mounted on
/dev/ad0s1d  3671 2840   53884%/var
[labs] /#

awww sh*t.

I moved the ftp directory previously in /var to /usr/ and i edited
master.passwd to point ftp to the right dir and did a pwd_mkdb -p
/etc/master.passwd.. Ftp seems to be working just fine. My question is, is
there some reprocussions of this that i should be weary of? Security
issues? I have two 120 gig maxtor drives that i can move ftp too, but /usr
isnt all that full cause i made it huge because i mirror the freebsd srces
too. and i will never use all that space so it makes more sense to keep it
in /usr if i can. keep in mind also this is anonymous ftp we are talking
about. thanks.

--
Independent WWW/FreeBSD/Linux/Unix consultant, email me for more info.

Founder/WebMaster/ The unixhideout network
http://www.unixhideout.com
[EMAIL PROTECTED]



-
Free, secure and stable email from UnixHideout
   "The UnixHideout network"
http://www.unixhideout.com/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: cd sound on onboard card

2003-03-05 Thread Justin P. Michel
Giuseppe,

Off hand, I can think of the following that may be affecting CD audio:

a) There is a special cable for audio that connects a CD-ROM to the sound
card internally.  Perhaps that cable is missing, or is malfunctioning.

b) Your mixer settings may be allowing digital sounds through, but the CD
line setting may be set to 0.

Hope this is of some help.

Regards,

Justin P. Michel
|- President & CTO
|- J Continuum
|- 21071 - 640 River Street
|- Thunder Bay, ON, Canada
|- P7A 8A7
|- www.jcontinuum.ca

- Original Message -
From: "Giuseppe Pagnoni" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 2:11 PM
Subject: cd sound on onboard card


>
>
> I have installed freebsd 4.8 prerelease on a Dell Dimension 8250.  This
box
> has onboard sound which I managed to make work adding the lines:
>
> device pcm
> options PNPBIOS
>
> Now general sound works (e.g. playing .wav files) but I can't get the cd
to
> output sound (it reads music cds, plays them, gets the right  CDDB infos
but
> no sound).  Does anybody have any idea on how to fix this?
>
> thanks
>
>
>giuseppe
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>
>



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: still can't resolve these system reboots... help please

2003-03-05 Thread Tuc
> 
> It could be incompatible hardware (i.e. mostly compatible hardware) that
> works most of the time, but occasionally causes a reboot.  Meanwhile, the
> vender drivers for Windows make it work perfectly there.
>
Its been working reliably since last May in 4.5/4.6/4.7 Then
the hard drive failed,  put a fresh install, and then it was reliable until
I was portupgrading X. What could the X system do so horrible that would
make the screen just go black and then the splash page happen?
>
> Also, I've seen flakey hardware that Windows simply didn't exercise enough
> to cause problems.
>
I know, had to throw it in. :) Winderz is here just for when 
STAROFFICE doesn't work right.

Tuc/TTSG Internet Services, Inc.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


cd sound on onboard card

2003-03-05 Thread Giuseppe Pagnoni


I have installed freebsd 4.8 prerelease on a Dell Dimension 8250.  This box 
has onboard sound which I managed to make work adding the lines:

device pcm
options PNPBIOS

Now general sound works (e.g. playing .wav files) but I can't get the cd to 
output sound (it reads music cds, plays them, gets the right  CDDB infos but 
no sound).  Does anybody have any idea on how to fix this?

thanks 


   giuseppe

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: still can't resolve these system reboots... help please

2003-03-05 Thread Bill Moran
Tuc wrote:
Your problems certainly sound like failing hardware.  The archives are
littered with examples of people who swore black and blue that failing
hardware could not possibly be the cause of their mysterious reboots,
until they found the failing hardware and replaced it :-) Check and
swap out/replace RAM, power supply, CPU fan, cabling, CPU etc.
Heres the rub... Mine is a Dell 8200 laptop. Not like I can do
much hardware stuff to it... And the old "It don't happen in Winderz".
It could be incompatible hardware (i.e. mostly compatible hardware) that
works most of the time, but occasionally causes a reboot.  Meanwhile, the
vender drivers for Windows make it work perfectly there.
Also, I've seen flakey hardware that Windows simply didn't exercise enough
to cause problems.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: FreeBSD-SA-03:04 and postfix

2003-03-05 Thread Kris Kennaway
On Wed, Mar 05, 2003 at 10:25:38AM -0500, IAccounts wrote:

> 2. I am doing some testing of postfix/mysql/courier the last week or so
> and somewhere I read that if you update your system, you will need to
> reinstall the postfix binaries. I'm almost certain that this was stated
> in the Postfix INSTALL or README files.

If you have NO_SENDMAIL set in /etc/make.conf then make world will not
overwrite the postfix configuration.

Kris


pgp0.pgp
Description: PGP signature


vinum: low level access to subdisks / drives

2003-03-05 Thread Alexander Haderer
Hello,

Here is a vinum question. Assume this setup: Two partitions ad0s1e and 
ad2s1e of type vinum with the same size. vinum is set up to use this disks 
as RAID 1 (mirror):

drive drive0 device /dev/ad0s1e
drive drive2 device /dev/ad2s1e
volume mirr
  plex org concat
sd len 0s drive disk0
  plex org concat
sd len 0s drive disk2
newfs has been done and the /dev/vinum/mirr is mounted to /mirr with rw 
access. Everything is working without problem.

Because we do not rely on the harddisks and the files at /mirr are accessed 
seldom and random, we want to check, if all sectors of the disks ad0 and 
ad2 are readable without problem. To do so, we want to run a nightly low 
priority cron job that tries to read all sectors of a disk without further 
analyzing the data read. The "result" of a failed read (hard disk failure) 
will be a kernel message in /var/log/messages, which we monitor 24x7 a day.

Lets say we do dd for reading the sectors:

dd if=/dev/ad0s1 of=/dev/zero bs=1024k

Questions:

1. Will this conflict with vinum or its internal (kernel) data structures 
when vinum is running the same time with all components of the RAID 'up'?

2. Will this conflict with parallel read/write access to /mirr ?

3. Should we use "dd if=/dev/vinum/sd/mirr.p0.s0 ..." instead of /dev/ad0s1e ?

with best regards

Alexander
--
Alexander Haderer Charite Berlin - Germany
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


RE: connecting two computer through a hub

2003-03-05 Thread Aaron Burke
> Hi:
> 
> I have a machine set up with freebsd and it was set up to
> connect to the internet.
Cool.
  
> 
> However, now I need to connect that computer to another
> computer through a hub without any interent connection at
> all.  (I just want to have a VNC viewer up in the freebsd
> box so that the freebsd box can control the other computer
> running WinXP)
> 
> Both computer does not have connection to the interent.
Well, we can show you how to put them both on the internet
at the same time using something called network address
translation. This will allow both computers to share one
public internet ip address. Is this what your asking for
help about?

> 
> My question is, do I have to change any settings on the
> freebsd box?
This will depend on exactly what your asking for help on.

> 
> Thanks
Your welcome.

> 
> Herman
> 




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: still can't resolve these system reboots... help please

2003-03-05 Thread Tuc
> My second suggestion is going to sound really weird.
> My FreeBSD system disappears into the boonies when I have a screen saver
> enabled. That is xscreevsaver. Given enough time, and enough core dumps.
> it crashes my system as sure as eggs is eggs. I kind of proved this by
> leaving the systen running for days with and without screen saver.
> It boonied with the screen saver, it did not wihout.
> 
Mine seems to always do it in X, haven't gotten it to do it in
command line yet What did you do to fix it? (I run xlockmore)

Tuc/TTSG Internet Services, Inc.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: still can't resolve these system reboots... help please

2003-03-05 Thread Tuc
> 
> Your problems certainly sound like failing hardware.  The archives are
> littered with examples of people who swore black and blue that failing
> hardware could not possibly be the cause of their mysterious reboots,
> until they found the failing hardware and replaced it :-) Check and
> swap out/replace RAM, power supply, CPU fan, cabling, CPU etc.
> 
Heres the rub... Mine is a Dell 8200 laptop. Not like I can do
much hardware stuff to it... And the old "It don't happen in Winderz".

Tuc/TTSG Internet Services, Inc.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: still can't resolve these system reboots... help please

2003-03-05 Thread Bill Moran
Tuc wrote:
I feel for you. I too am having it. Most of the time it does it
while I'm not around, but once I was in elm writing mail, and the screen
went black, and the DELL splash screen came on. I ran burnP6 for a few
minutes (Boy does it make the system unhappy, but it kept chugging) and
BurnMMX too. I'm cvsup'd to Feb 23, RELENG_4.
		Tuc/TTSG Internet Services, Inc.
can faulty hardware be ruled out then?
	I don't know.

burnP6 and burnMX have been running all night

342:16 49.17% 49.17% burnBX
340:52 48.10% 48.10% burnP6
and there are no problems so far.
Have you tried running memtest for equal lengths of time?

--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: 4.3 -> RELENG_4

2003-03-05 Thread IAccounts
> > Unfortunatly, I have never successfully upgraded a Free box yet, mind you
> > I have only tried it on one.
> >
> > Last year I was dropped into a production environment with all 4.3
> > machines. I have no devel equipment prior to 4.6. The upgrade attempts
> > were all only on one box (4.6) and failed due to suspect hardware.
> >
> > My question is not howto upgrade, but;
> >
> > 1> Since I have only production equipment to 'test' an upgrade on, I am
> > very nervous. At what point of the upgrade procedure is it too late to
> > turn back if something does not go right.
>
> If you install the kernel, then reboot (before installing world) you will
> be ensuring that the new kernel you built will boot reliably.  This is
> the final practical point of return.  If you have problems with the new
> kernel booting, you can copy /kernel.old back to /kernel and be back to
> where you started.  If the new kernel is fine, continue with installworld.
> Once you've installed world, however, it's an ungodly amount of work to
> revert everything.
>
> > 2> I keep amanda tape backups of every file system on all machines. If
> > something goes critically wrong, can the system be rebooted at least to
> > the point where I can pull data back off tapes?
>
> As long as your system is bootable, yes.  Do you have FreeBSD 4.3 CDs?
> If so, you can easily do a base install, and then restore from backup to
> get back up and running as you were.  (should things happen to go
> terribly wrong)
>
> I've very seldom had any problems upgrading using cvsup.  You will hit a
> few (minor) gotchas ... read /usr/src/UPDATING and you won't have any
> problems with them.
>
> Basically:
> Update your source with cvsup
> read /usr/src/UPDATING and follow any instructions required (I believe
>   you'll need to manually create the relatively new sendmail users)
> Reveiw you kernel config file to see if any options have changed since
>   4.3
> make buildkernel
> make installkernel
> reboot  >>> if the reboot doesn't go well, boot kernel.old and copy it to
>  /kernel to get back to 4.3
> make buildworld
> make installworld
>
> Going from 4.3 -> 4.7 may cause some problems with some ports.  The solution
> is generally to uninstall the port and rebuild it.  Update your ports tree
> first.
>
> Schedule yourself a nice chunk of time to do the first machine, then you'll
> be able to better predict the time required for the rest.
>

Thanks for the goldmine of info! Unfortunatly, my boxes are sooo old :o)
that cvsup appears to be out of date, as I get 'Protocol negotiation
failed'.

Catch 22 I guess, so I found on http://people.freebsd.org/~jdp/s1g (I
think this is John Poelstra's site?) That I have to upgrade my cvsup.
I will do this then let you know how the upgrade went.

Thanks again.

> --
> Bill Moran
> Potential Technologies
> http://www.potentialtech.com
>
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: still can't resolve these system reboots... help please

2003-03-05 Thread Tuc
> > I feel for you. I too am having it. Most of the time it does it
> > while I'm not around, but once I was in elm writing mail, and the screen
> > went black, and the DELL splash screen came on. I ran burnP6 for a few
> > minutes (Boy does it make the system unhappy, but it kept chugging) and
> > BurnMMX too. I'm cvsup'd to Feb 23, RELENG_4.
> > 
> > Tuc/TTSG Internet Services, Inc.
> 
> can faulty hardware be ruled out then?
>
I don't know.
> 
> burnP6 and burnMX have been running all night
> 
> 342:16 49.17% 49.17% burnBX
> 340:52 48.10% 48.10% burnP6
> 
> and there are no problems so far.
>
BTW: When I run it, the system actually makes a high pitched squeal.
It seems to do that anytime the system is doing something CPU intensive.
> 
> it's odd though, this thing just started happening on day when i first
> started creating DSA keyparis.  other than that, things were rock solid.
>
Same for me, but mine was upgrading X and it locked up installing.
> 
> this is starting to leave a sour taste in my mouth. :/
> 
Agreed.

Tuc/TTSG Internet Services, Inc.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: How can I completely replace gcc installed by default with newgcc-3.2?

2003-03-05 Thread Mike Meyer
In <[EMAIL PROTECTED]>, sergey dyshel <[EMAIL PROTECTED]> typed:
> Hi
> 
> As I know, FreeBSD 4.7 installed gcc-29.5 on my system
> by default (not as package but as part of base
> system). When I installed gcc-3.2.1 from binary
> package I noticed that it didn't overwrote lib and
> include files
> in /usr but instead put the in
> /usr/local/lib/gcc-lib/i386/3.2.1".
> 
> Why? How can I force it to install gcc in normal way?

You don't want to do that. It'll break building the system. The
commands installed in /usr/local/bin will use the correct libraries
and include files. Just use those. You can just symlink gcc32 to cc in
/usr/local/bin, and make sure that /usr/local/bin is in front of
/usr/bin in your path. Things that use cc will use gcc32, and
everything will work pretty much like you want.

If you're willing to run code on a development branch - which means
it's more likely to fail in strange ways, and there'll be less help
available when it does - you can upgrade to FreeBSD 5.0, which uses
gcc3 in place of 2.95.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Make installworld problem (4.7)

2003-03-05 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Peter Elsner <[EMAIL PROTECTED]> typed:
> The steps I do are as follows:
> 1) cvsup -g -L 2 stable-supfile (from /usr/src/cvsup)
> 2) make buildworld (from /usr/src)
> 3) make installworld (from /usr/src)
> 4) modify my kernel (from /usr/src/sys/i386/conf/KERNEL NAME)
> 5) make buildkerenel (from /usr/src)
> 6) make installkernel (from /usr/src)
> 7) reboot
> 8) run mergemaster
> I've done it this way for the past 3 years and it has never failed me yet.

You've been lucky. Things other than the handbook order can - and
often do - work. But the order in the handbook was carefully worked
out to minimize the risk you are taking in doing the upgrade.

For instance, by doing the installworld before rebooting on the new
kernel, you're committing yourself to running the new kernel before
you know if it'll boot or not. Since kernels have to support old
binaries, but not vice versa, you can usually reboot with the new
kernel and old world and have it work. I do that regularly when
upgrading systems with src/obj mounted via nfs.

Also, you need at least one last reboot. Running mergemaster changes
configuration files that are used at system startup. Unless you reboot
after running mergemaster, you risk those changes not taking effect.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Problems with Mime Defang from ports collection

2003-03-05 Thread LUCAS HOLT
I have been trying to compile Mime Defang from the
ports collection for about a week now.  

I cvsup'd the other day to upgrade sendmail to the
latest (8.12.8?) after that vulnerability.  I have
SASL2 compiled in with it (used ports collection).  

Here is the error message that I keep getting from
make output:

 WARNING:  WE STRONGLY RECOMMEND THAT YOU USE THE
PATCHED
 VERSION OF MIME-TOOLS TO STOP VIRUSES WHICH
PRODUCE
 MALFORMED MIME.  SEE THE README FILE FOR DETAILS.
===>  Building for mimedefang-2.30
cc -O -pipe -march=pentiumpro -pthread
-D_POSIX_PTHREAD_SEMANTICS   
-DPERL_PATH=\"/usr/bin/perl\" 
-DMIMEDEFANG_PL=\"/usr/local/bin/mimedefang.pl\" 
-DRM=\"/bin/rm\"  -DVERSION=\"2.30\" 
-DSPOOLDIR=\"/var/spool/MIMEDefang\" 
-DQDIR=\"/var/spool/MIMEDefang\" 
-DCONFDIR=\"/usr/local/etc/mimedefang\"  -c -o
mimedefang.o mimedefang.c
cc -O -pipe -march=pentiumpro -pthread
-D_POSIX_PTHREAD_SEMANTICS   
-DPERL_PATH=\"/usr/bin/perl\" 
-DMIMEDEFANG_PL=\"/usr/local/bin/mimedefang.pl\" 
-DRM=\"/bin/rm\"  -DVERSION=\"2.30\" 
-DSPOOLDIR=\"/var/spool/MIMEDefang\" 
-DQDIR=\"/var/spool/MIMEDefang\" 
-DCONFDIR=\"/usr/local/etc/mimedefang\"  -c -o
drop_privs_threaded.o drop_privs.c
cc -O -pipe -march=pentiumpro -pthread
-D_POSIX_PTHREAD_SEMANTICS   
-DPERL_PATH=\"/usr/bin/perl\" 
-DMIMEDEFANG_PL=\"/usr/local/bin/mimedefang.pl\" 
-DRM=\"/bin/rm\"  -DVERSION=\"2.30\" 
-DSPOOLDIR=\"/var/spool/MIMEDefang\" 
-DQDIR=\"/var/spool/MIMEDefang\" 
-DCONFDIR=\"/usr/local/etc/mimedefang\"  -c -o utils.o
utils.c
cc -O -pipe -march=pentiumpro -pthread
-D_POSIX_PTHREAD_SEMANTICS   
-DPERL_PATH=\"/usr/bin/perl\" 
-DMIMEDEFANG_PL=\"/usr/local/bin/mimedefang.pl\" 
-DRM=\"/bin/rm\"  -DVERSION=\"2.30\" 
-DSPOOLDIR=\"/var/spool/MIMEDefang\" 
-DQDIR=\"/var/spool/MIMEDefang\" 
-DCONFDIR=\"/usr/local/etc/mimedefang\"  -c -o rm_r.o
rm_r.c
cc -O -pipe -march=pentiumpro -pthread -o mimedefang
mimedefang.o drop_privs_threaded.o utils.o rm_r.o
/usr/local/lib/libmilter.a
/usr/local/lib/libmilter.a(handler.o): In function
`mi_handle_session':
handler.o(.text+0x28): undefined reference to
`__pthread_detach'
*** Error code 1

Stop in
/usr/ports/mail/mimedefang/work/mimedefang-2.30.
*** Error code 1

Stop in /usr/ports/mail/mimedefang.

>From my understanding libmilter.a is the portion of
sendmail that allows extensions like this.. 

ls -al /usr/local/lib | grep libmilt
-r--r--r--   1 root  wheel 48778 Mar  3 14:29
libmilter.a

It appears to have been updated along with sendmail.  

Anyone have ideas why this isn't working?




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Make installworld problem (4.7)

2003-03-05 Thread Peter Elsner
I've upgraded many servers remotely without ever booting into single user 
mode...

The steps I do are as follows:

1) cvsup -g -L 2 stable-supfile (from /usr/src/cvsup)
2) make buildworld (from /usr/src)
3) make installworld (from /usr/src)
4) modify my kernel (from /usr/src/sys/i386/conf/KERNEL NAME)
5) make buildkerenel (from /usr/src)
6) make installkernel (from /usr/src)
7) reboot
8) run mergemaster
I've done it this way for the past 3 years and it has never failed me yet.

Peter

At 12:45 PM 3/5/2003 -0500, you wrote:
On Wednesday 05 March 2003 09:38 am, Peter Elsner wrote:
> The only thing I can see wrong is:
>
> you forgot make installworld after your make buildworld.
Peter, no he didn't.  He did the basic steps in the right order.
read carefully:
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
The only thing I can see he missed is in section 21.4.8 Reboot into Single
User Mode.
Did single user mode help you?
Tim

> At 07:28 PM 3/4/2003 -0500, you wrote:
> >[EMAIL PROTECTED] writes:
> > > I am trying to upgrade from FreeBSD 4.7-p2 to 4.7-p6, but I get an
> > > error. I have run:
> > > cd /usr/src
> > > make buildworld
> > > make buildkernel KERNCONF=SOCKETD
> > > make installkernel KERNCONF=SOCKETD
> > > Bootet with the new kernel so uname says:
> > >
> > > FreeBSD loadmaster 4.7-RELEASE-p6 FreeBSD 4.7-RELEASE-p6 #1: Sun Mar  2
> > > 23:50:15 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SOCKETD
> > > i386
> > >
> > > But then I cd to /usr/src to make installworld his happens:
> > > loadmaster# make installworld
> > >
> > > mkdir -p /tmp/install.715
> > > for prog in [ awk cat chflags chmod chown date echo egrep find grep  ln
> > > make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl  test true
> > > uname wc zic; do  cp `which $prog` /tmp/install.715;  done
> > > usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
> > >cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN
> > > directory *** Error code 64
> > >
> > > Stop in /usr/src.
> > > *** Error code 1
> > >
> > > Stop in /usr/src.
> > >
> > > It seems like a nobrain error, but I can't fix it, maybe someone here
> > > can help me? Btw please cc to me as I am not on the list.
> >
> >Looks like one of those programs isn't there.
> >Can you find them in the obj tree?
> >
> >To Unsubscribe: send mail to [EMAIL PROTECTED]
> >with "unsubscribe freebsd-questions" in the body of the message
>
> ---
>--- Peter Elsner <[EMAIL PROTECTED]>
> Vice President Of Customer Service (And System Administrator)
> 1835 S. Carrier Parkway
> Grand Prairie, Texas 75051
> (972) 263-2080 - Voice
> (972) 263-2082 - Fax
> (972) 489-4838 - Cell Phone
> (425) 988-8061 - eFax
>
> I worry about my child and the Internet all the time, even though she's
> too young to have logged on yet. Here's what I worry about. I worry
> that 10 or 15 years from now, she will come to me and say "Daddy, where
> were you when they took freedom of the press away from the Internet?"
> -- Mike Godwin
>
> Unix IS user friendly... It's just selective about who its friends are.
> System Administration - It's a dirty job, but somebody said I had to do it.
> If you receive something that says 'Send this to everyone you know,
> pretend you don't know me.
>
> Standard $500/message proofreading fee applies for UCE.
>
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
--
Peter Elsner <[EMAIL PROTECTED]>
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax
I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say "Daddy, where
were you when they took freedom of the press away from the Internet?"
-- Mike Godwin
Unix IS user friendly... It's just selective about who its friends are.
System Administration - It's a dirty job, but somebody said I had to do it.
If you receive something that says 'Send this to everyone you know,
pretend you don't know me.
Standard $500/message proofreading fee applies for UCE.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Make installworld problem (4.7)

2003-03-05 Thread taxman
On Wednesday 05 March 2003 09:38 am, Peter Elsner wrote:
> The only thing I can see wrong is:
>
> you forgot make installworld after your make buildworld.

Peter, no he didn't.  He did the basic steps in the right order.  
read carefully:
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

The only thing I can see he missed is in section 21.4.8 Reboot into Single 
User Mode.
Did single user mode help you?

Tim

> At 07:28 PM 3/4/2003 -0500, you wrote:
> >[EMAIL PROTECTED] writes:
> > > I am trying to upgrade from FreeBSD 4.7-p2 to 4.7-p6, but I get an
> > > error. I have run:
> > > cd /usr/src
> > > make buildworld
> > > make buildkernel KERNCONF=SOCKETD
> > > make installkernel KERNCONF=SOCKETD
> > > Bootet with the new kernel so uname says:
> > >
> > > FreeBSD loadmaster 4.7-RELEASE-p6 FreeBSD 4.7-RELEASE-p6 #1: Sun Mar  2
> > > 23:50:15 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SOCKETD 
> > > i386
> > >
> > > But then I cd to /usr/src to make installworld his happens:
> > > loadmaster# make installworld
> > >
> > > mkdir -p /tmp/install.715
> > > for prog in [ awk cat chflags chmod chown date echo egrep find grep  ln
> > > make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl  test true
> > > uname wc zic; do  cp `which $prog` /tmp/install.715;  done
> > > usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
> > >cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN
> > > directory *** Error code 64
> > >
> > > Stop in /usr/src.
> > > *** Error code 1
> > >
> > > Stop in /usr/src.
> > >
> > > It seems like a nobrain error, but I can't fix it, maybe someone here
> > > can help me? Btw please cc to me as I am not on the list.
> >
> >Looks like one of those programs isn't there.
> >Can you find them in the obj tree?
> >
> >To Unsubscribe: send mail to [EMAIL PROTECTED]
> >with "unsubscribe freebsd-questions" in the body of the message
>
> ---
>--- Peter Elsner <[EMAIL PROTECTED]>
> Vice President Of Customer Service (And System Administrator)
> 1835 S. Carrier Parkway
> Grand Prairie, Texas 75051
> (972) 263-2080 - Voice
> (972) 263-2082 - Fax
> (972) 489-4838 - Cell Phone
> (425) 988-8061 - eFax
>
> I worry about my child and the Internet all the time, even though she's
> too young to have logged on yet. Here's what I worry about. I worry
> that 10 or 15 years from now, she will come to me and say "Daddy, where
> were you when they took freedom of the press away from the Internet?"
> -- Mike Godwin
>
> Unix IS user friendly... It's just selective about who its friends are.
> System Administration - It's a dirty job, but somebody said I had to do it.
> If you receive something that says 'Send this to everyone you know,
> pretend you don't know me.
>
> Standard $500/message proofreading fee applies for UCE.
>
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: 4.3 -> RELENG_4

2003-03-05 Thread Bill Moran
IAccounts wrote:
Unfortunatly, I have never successfully upgraded a Free box yet, mind you
I have only tried it on one.
Last year I was dropped into a production environment with all 4.3
machines. I have no devel equipment prior to 4.6. The upgrade attempts
were all only on one box (4.6) and failed due to suspect hardware.
My question is not howto upgrade, but;

1> Since I have only production equipment to 'test' an upgrade on, I am
very nervous. At what point of the upgrade procedure is it too late to
turn back if something does not go right.
If you install the kernel, then reboot (before installing world) you will
be ensuring that the new kernel you built will boot reliably.  This is
the final practical point of return.  If you have problems with the new
kernel booting, you can copy /kernel.old back to /kernel and be back to
where you started.  If the new kernel is fine, continue with installworld.
Once you've installed world, however, it's an ungodly amount of work to
revert everything.
2> I keep amanda tape backups of every file system on all machines. If
something goes critically wrong, can the system be rebooted at least to
the point where I can pull data back off tapes?
As long as your system is bootable, yes.  Do you have FreeBSD 4.3 CDs?
If so, you can easily do a base install, and then restore from backup to
get back up and running as you were.  (should things happen to go
terribly wrong)
I've very seldom had any problems upgrading using cvsup.  You will hit a
few (minor) gotchas ... read /usr/src/UPDATING and you won't have any
problems with them.
Basically:
Update your source with cvsup
read /usr/src/UPDATING and follow any instructions required (I believe
 you'll need to manually create the relatively new sendmail users)
Reveiw you kernel config file to see if any options have changed since
 4.3
make buildkernel
make installkernel
reboot  >>> if the reboot doesn't go well, boot kernel.old and copy it to
/kernel to get back to 4.3
make buildworld
make installworld
Going from 4.3 -> 4.7 may cause some problems with some ports.  The solution
is generally to uninstall the port and rebuild it.  Update your ports tree
first.
Schedule yourself a nice chunk of time to do the first machine, then you'll
be able to better predict the time required for the rest.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: out of curiosity..

2003-03-05 Thread Mike Meyer
In <[EMAIL PROTECTED]>, charles pelletier <[EMAIL PROTECTED]> typed:
> is there an app that would allow me to play CDs on my BSD box and have that
> stream over an intranet? I want to set up a CD tower that allows for that
> sort of thing. Here's what i've got:

I use esd to stream audio over the net. I capture it from my stereo on
one machine, and play it back on a second one, using ssh to stream the
data from standard out of the recorder to standard in of the player.

If you've got atapi CD rom drive you can use the track devices with dd
to read the data instead of esdrec. If you've got a SCSI device, you
can use cdda2wav.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


How to determine if cpu-cache is working?

2003-03-05 Thread Marc Schneiders
I am talking about a PII 300 MHz. The bios settings are OK for
cpu-cache. The machine is slower than a PI 75 MHz. It does not look
like hard disks. There is nothing in dmesg or messages that looks
weird.

So how can I see whether the cpu-cache memory is functioning? Could it
be broken?

Bonus question: How can I see at what 'speed' the RAM runs? Could
there be something wrong with the RAM, not generating any error
messages, no signal 11s?

CPU: Pentium II/Pentium II Xeon/Celeron (300.68-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x634  Stepping = 4
Features=0x80f9ff
real memory  = 671072256 (655344K bytes)
avail memory = 649469952 (634248K bytes)
Preloaded elf kernel "kernel" at 0xc02e.
Pentium Pro MTRR support enabled
Using $PIR table, 8 entries at 0xc00f0e80
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
atapci0:  port 0xd800-0xd80f at device
4.1 on pci0
orm0:  at iomem 0xc-0xc7fff,0xc8000-0xc87ff on isa0
ad0: 29311MB  [59554/16/63] at ata0-master UDMA33
ad1: 38166MB  [77545/16/63] at ata0-slave UDMA33




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Can I run my own Dynamic DNS server for private use ??

2003-03-05 Thread Marc Schneiders
On Wed, 5 Mar 2003, at 07:54 [=GMT-0800], [EMAIL PROTECTED] wrote:

> On Wed, 05 Mar 2003 07:29:29 -0800 (PST), Peter Elsner wrote:
>
> > Sure...   I'm almost positive there are ports available that do that
> > sort
> > of thing,
>
> I see a number of ports that can do the Client side but none to run as a
> server.

The server side you get for free with the registration of your domain,
at least with Enom (and its many resellers, which are much cheaper,
see e.g. www.domainless.com).

On the client side you run from cron (say every 15 minutes) just this
script:

#!/bin/sh
#This sends the dynamic IP number of the Cable Connection
#to Enom to update the IN A of myveryowndomain.com.
fetch -o update.txt http://dynamic.name-services.com/interface.asp
\?Command=SetDNSHost\&Zone=\%myveryowndomain.com\&DomainPa
ssword=\%verysecret





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Machine does not not do a normal "Reboot"

2003-03-05 Thread Joseph Maxwell
Hello,


 FreeBSD 4.2, PC 512MMB RAM, 2- HD 60 & 40 Mb.

 System found in indeterminate state, assumed power failure
 problem. Several reboot and boot attempts failed.
 Re-installed O/S, system came back up, data intact on 2nd HD
 but not seen in fstab file, remount etc. OK smooth running,
 fine

 Doing a tar xf from a CDROM, system went into a "block size"
 error, starting a "disc sync" mode followed by a "reboot"
 condition but never came back up.

 Seems as if Win start up disk required in floppy drive and
 FreeBSD distr. Disk 1 reqd. in cdrom for a "boot"

Any idea of what could be causing this and possible solution(s)

Thanks

--  Joe  --



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


USB Epson perfection 1250, support?

2003-03-05 Thread Peter B

I have a "Epson Perfection 1250" USB scanner. It works fine under "Windows Me".
I'm trying to get it to work under FreeBSD-4.7 and have patched usbdevs, 
usbdevs.h, usbdevs_data.h, uscanner.c in /usr/src/sys/dev/usb
However the only thing I'm getting is:

[EMAIL PROTECTED] /usr/src/sys/dev/usb #usbdevs -dv
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00
  uhub0
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00
  uhub2
 port 1 powered
 port 2 addr 2: self powered, config 1, EPSON Scanner 010F(0x010f), EPSON(0x04b8), rev 
1.00
   uscanner0

[EMAIL PROTECTED] /usr/src/sys/dev/usb #sane-find-scanner
# Note that sane-find-scanner will find any scanner that is connected
# to a SCSI bus and some scanners that are connected to the Universal
# Serial Bus (USB) depending on your OS. It will even find scanners
# that are not supported at all by SANE. It won't find a scanner that
# is connected to a parallel or proprietary port.

sane-find-scanner: found USB scanner (UNKNOWN vendor and product) at device 
/dev/uscanner0

# `UNKNOWN vendor and product' means that there seems to be a scanner
# at this device file but the vendor and product ids couldn't be 
# identified. Currently identification only works with Linux versions
# >= 2.4.8. 

And subsequent failure of xscanimage..
It's listed as "stable" in http://www.mostang.com/sane/sane-mfgs.html

Anyone else had luck with this scanner..?

..PATCHES diff -c
*** usbdevs.org Tue Aug 27 15:46:28 2002
--- usbdevs Tue Mar  4 22:40:53 2003
***
*** 587,592 
--- 587,593 
  product EPSON 16400x010a  Perfection 1640SU scanner
  product EPSON 12400x010b  Perfection 1240U / 1240Photo scanner
  product EPSON 640U0x010c  Perfection 640U scanner
+ product EPSON 12500x010f  Perfection 1250 scanner
  product EPSON 16500x0110  Perfection 1650 scanner
  product EPSON GT9700F 0x0112  GT-9700F scanner
  
*** usbdevs.h.org   Tue Aug 27 15:49:04 2002
--- usbdevs.h   Tue Mar  4 22:57:14 2003
***
*** 594,599 
--- 594,600 
  #define   USB_PRODUCT_EPSON_1640  0x010a  /* Perfection 1640SU scanner */
  #define   USB_PRODUCT_EPSON_1240  0x010b  /* Perfection 1240U / 
1240Photo scanner */
  #define   USB_PRODUCT_EPSON_640U  0x010c  /* Perfection 640U scanner */
+ #define   USB_PRODUCT_EPSON_1250  0x010f  /* Perfection 1250 scanner */
  #define   USB_PRODUCT_EPSON_1650  0x0110  /* Perfection 1650 scanner */
  #define   USB_PRODUCT_EPSON_GT9700F   0x0112  /* GT-9700F scanner */
  
*** usbdevs_data.h.org  Tue Aug 27 15:49:04 2002
--- usbdevs_data.h  Tue Mar  4 17:30:42 2003
***
*** 874,879 
--- 874,885 
"Perfection 640U scanner",
},
{
+   USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1250,
+   0,
+   "Seiko Epson",
+   "Perfection 1250 scanner",
+   },
+   {
USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1650,
0,
"Seiko Epson",
*** uscanner.c.org  Mon Aug 12 16:19:49 2002
--- uscanner.c  Tue Mar  4 17:37:12 2003
***
*** 174,179 
--- 174,180 
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1600 }, 0 },
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1640 }, 0 },
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_640U }, 0 },
+  {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1250 }, 0 },
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1650 }, 0 },
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_GT9700F }, USC_KEEP_OPEN },
  


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


buildworld fails

2003-03-05 Thread Riley
Hi all,

Trying to upgrade from 4.4-20020114-STABLE to 4.7-R-p7.  /usr isn't big
enough but /var is so:

lrwxr-xr-x  1 root  wheel  - 8 Mar  4 12:28 /usr/obj@ -> /var/obj
lrwxr-xr-x  1 root  wheel  - 8 Mar  4 12:28 /usr/src@ -> /var/src

Ran mergemaster.sh -p, but for 2 buildworlds it fails with:

/var/src/lib/libutil/login_times.c: In function `in_lts':
/var/src/lib/libutil/login_times.c:159: warning: passing arg 2 of `in_ltms'
makes pointer from integer without a cast
*** Error code 1
Stop in /var/src/lib/libutil.
*** Error code 1

There's a more complete listing below, with a lot of "warning: implicit
declaration of function"  messages before it fails.

I'm not sure where to go from here.  Are the symlinks a problem?  Google
search comes up with problems with NFS mounts but they don't seem to apply.
I can install from a 4.7-R CD but have to go there, put a cd drive in, etc.
A hassle.

Any ideas?

Thanks,

Riley



mkdep -f
.depend -a-DLIBC_SCCS -I/var/src/lib/libutil -I/var/src/lib/libutil/../.
./sys -DINET6  /var/src/lib/libutil/login.c /var/src/lib/libutil/login_tty.c
/var/src/lib/libutil/logout.c /var/src/lib/libutil/logwtmp.c
/var/src/lib/libutil/pty.c /var/src/lib/libutil/login_cap.c
/var/src/lib/libutil/login_class.c /var/src/lib/libutil/login_auth.c
/var/src/lib/libutil/login_times.c /var/src/lib/libutil/login_ok.c
/var/src/lib/libutil/login_crypt.c /var/src/lib/libutil/_secure_path.c
/var/src/lib/libutil/uucplock.c /var/src/lib/libutil/property.c
/var/src/lib/libutil/auth.c /var/src/lib/libutil/realhostname.c
/var/src/lib/libutil/fparseln.c /var/src/lib/libutil/stub.c
cc -O -pipe  -Wall -DLIBC_SCCS -I/var/src/lib/libutil -I/var/src/lib/libutil
/../../sys -DINET6  -c /var/src/lib/libutil/login.c -o login.o
/var/src/lib/libutil/login.c: In function `login':
/var/src/lib/libutil/login.c:58: warning: implicit declaration of function
`ttyslot'
/var/src/lib/libutil/login.c:61: warning: implicit declaration of function
`write'
/var/src/lib/libutil/login.c:62: warning: implicit declaration of function
`close'
cc -O -pipe  -Wall -DLIBC_SCCS -I/var/src/lib/libutil -I/var/src/lib/libutil
/../../sys -DINET6  -c /var/src/lib/libutil/login_tty.c -o login_tty.o
/var/src/lib/libutil/login_tty.c: In function `login_tty':
/var/src/lib/libutil/login_tty.c:54: warning: implicit declaration of
function `setsid'
/var/src/lib/libutil/login_tty.c:57: warning: implicit declaration of
function `dup2'
/var/src/lib/libutil/login_tty.c:61: warning: implicit declaration of
function `close'
cc -O -pipe  -Wall -DLIBC_SCCS -I/var/src/lib/libutil -I/var/src/lib/libutil
/../../sys -DINET6  -c /var/src/lib/libutil/logout.c -o logout.o
/var/src/lib/libutil/logout.c: In function `logout':
/var/src/lib/libutil/logout.c:66: warning: implicit declaration of function
`read'
/var/src/lib/libutil/logout.c:71: warning: implicit declaration of function
`time'
/var/src/lib/libutil/logout.c:73: warning: implicit declaration of function
`write'
/var/src/lib/libutil/logout.c:76: warning: implicit declaration of function
`close'
cc -O -pipe  -Wall -DLIBC_SCCS -I/var/src/lib/libutil -I/var/src/lib/libutil
/../../sys -DINET6  -c /var/src/lib/libutil/logwtmp.c -o logwtmp.o
/var/src/lib/libutil/logwtmp.c: In function `trimdomain':
/var/src/lib/libutil/logwtmp.c:74: warning: implicit declaration of function
`gethostname'
/var/src/lib/libutil/logwtmp.c: In function `logwtmp':
/var/src/lib/libutil/logwtmp.c:160: warning: implicit declaration of
function `time'
/var/src/lib/libutil/logwtmp.c:161: warning: implicit declaration of
function `write'
/var/src/lib/libutil/logwtmp.c:165: warning: implicit declaration of
function `close'
cc -O -pipe  -Wall -DLIBC_SCCS -I/var/src/lib/libutil -I/var/src/lib/libutil
/../../sys -DINET6  -c /var/src/lib/libutil/pty.c -o pty.o
/var/src/lib/libutil/pty.c: In function `openpty':
/var/src/lib/libutil/pty.c:83: warning: implicit declaration of function
`chown'
/var/src/lib/libutil/pty.c:83: warning: implicit declaration of function
`getuid'
/var/src/lib/libutil/pty.c:85: warning: implicit declaration of function
`revoke'
/var/src/lib/libutil/pty.c:99: warning: implicit declaration of function
`close'
/var/src/lib/libutil/pty.c: In function `forkpty':
/var/src/lib/libutil/pty.c:118: warning: implicit declaration of function
`fork'
cc -O -pipe  -Wall -DLIBC_SCCS -I/var/src/lib/libutil -I/var/src/lib/libutil
/../../sys -DINET6  -c /var/src/lib/libutil/login_cap.c -o login_cap.o
/var/src/lib/libutil/login_cap.c: In function `login_getclassbyname':
/var/src/lib/libutil/login_cap.c:205: warning: implicit declaration of
function `geteuid'
/var/src/lib/libutil/login_cap.c:206: warning: implicit declaration of
function `getegid'
/var/src/lib/libutil/login_cap.c:207: warning: implicit declaration of
function `setegid'
/var/src/lib/libutil/login_cap.c:208: warning: implicit declaration of
function `seteuid'
/var/src/lib/libutil/login_cap.c:234: warning: implicit declaration of
function `close'
cc -O -pipe  -Wall -DLIBC_SCCS -I/

4.3 -> RELENG_4

2003-03-05 Thread IAccounts
Unfortunatly, I have never successfully upgraded a Free box yet, mind you
I have only tried it on one.

Last year I was dropped into a production environment with all 4.3
machines. I have no devel equipment prior to 4.6. The upgrade attempts
were all only on one box (4.6) and failed due to suspect hardware.

My question is not howto upgrade, but;

1> Since I have only production equipment to 'test' an upgrade on, I am
very nervous. At what point of the upgrade procedure is it too late to
turn back if something does not go right.

2> I keep amanda tape backups of every file system on all machines. If
something goes critically wrong, can the system be rebooted at least to
the point where I can pull data back off tapes?

Tks for all help!

Steve Bertrand


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: DVD burner suggestions

2003-03-05 Thread Bill Moran
[EMAIL PROTECTED] wrote:
[Sorry - forgot to CC the list...]
For some backups at work, I'm thinking of getting a DVD burner.  I was
looking at the Sony dru500a, since its compatible with all the various
dvd media out there.  Has anyone had any luck/experience with this drive
(or any dvd burner)?
I have the Sony DRU500a drive (internal IDE version).  It works well:
$ mkisofs -r -o dvd.iso /some/large/tree/no/bigger/than/4.4g
[snip]
## You might not need to do the next command more than once
## per DVD. Substitute dvd-rw for dvd+rw if you're using that.
$ burncd -F -f /dev/acd0 format dvd+rw
$ burncd -f /dev/acd0 dvdrw dvd.iso
You might need to be root for those burncd commands; I'm not sure.
I think there's a cdrecord look-alike called dvdrecord, but I have no
experience with it. I'm not sure what the commands look like if you're
using DVD-R or DVD+R, but I assume something like `burncd -f /dev/acd0
data dvd.iso fixate' would work.
What version of FreeBSD does this work in?  Do I need 5.0 or will the
latest 4.X work?
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Can I run my own Dynamic DNS server for private use ??

2003-03-05 Thread Kirk Strauser
At 2003-03-05T16:03:22Z, Ruben de Groot <[EMAIL PROTECTED]> writes:

> Is it absolutely necessary to use BIND9? After all, nsupdate and dnskeygen
> are allready in the base system. I was planning to start playing with this
> myself soon, but not if it involves upgrading bind.

Actually, probably not, but I've never tried it with BIND8.
-- 
Kirk Strauser
In Googlis non est, ergo non est.


pgp0.pgp
Description: PGP signature


Project Planning Software

2003-03-05 Thread massey
Is there a good project planning software for FreeBSD? Something like

http://www.criticaltools.com/


Thanks



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


panic on server w/ 3GB RAM

2003-03-05 Thread Salmaan Ahmed
We are running a custom webserver application along with squid on a
couple of Dell PowerEdge dual processor boxes.  They ran fine for weeks
with 2GB of RAM but once we increased it to 3GB of RAM we continually
get kernel panics...

Does anyone know if there is a problem with FreeBSD, 3GB of RAM, and the
motherboard on the Dell PowerEdge servers?  Is there a workaround?

TIA,
Salmaan


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: firewall revisited

2003-03-05 Thread Jeff Walters
> how can i have the script /etc/ipfw.rules run instead of /etc/rc.firewall.
> can i change
> firewall_type="OPEN" to firewall_type="" and create the entry
> firewall_script="/etc/ipfw.rules"?

I have that working right now with:

firewall_enable="YES"
firewall_script="/etc/rc.firewall.local"

... where /etc/rc.firewall.local contains the customized ipfw commands.

> what i would like to do is block all access to services on the router like
> httpd, sshd, etc
> the other think i would like to do is port forward ssh from another machine
> and allow access of that from an external network.
> does something like this make sense?
> thanks,

If you are using NAT then the -redirect_port option to natd will do that (ie. 
forward incoming port 22 connections to an internal machine), which can be 
set in /etc/rc.conf in the natd_flags="-redirect_port ..." variable.  You 
have to create a corresponding ipfw rule to allow the traffic after natd 
rewrites the destination IP to your internal LAN machine, which it looks like 
you have done below, except the "from" would be "any" not "ROUTER_IP".  It 
will be the IP of the outside machine trying to connect to port 22.

I have a similar port forward set up.  Early in the firewall rules allow all 
established TCP connections, and then later allow the setup for the initial 
SSH connection.  10.0.1.2 would be a machine behind the firewall to receive 
SSH connections, and ed0 would be the external internet interface.

in /etc/rc.conf:
natd_flags="-redirect_port tcp 10.0.1.2:ssh ssh"

in the firewall script:
ipfw -q flush
ipfw add 00050 divert natd ip from any to any via ed0
ipfw add 00100 allow tcp from any to any via ed0 established

ipfw add 01000 allow tcp from any to 10.0.1.2 ssh setup

ipfw add 65530 deny log ip from any to any

I winged this so forgive any errors, but it's based on what I have working, 
including a rule to deny and log everything by default at the bottom.

> /etc/rc.firewall.rules
> --
> #!/bin/sh
> IPFW=/sbin/ipfw
> ${IPFW} -f flush
> ${IPFW} add 00200 divert natd all from any to any via rl1
> ${IPFW} add 00250 pass tcp from ${ROUTER_IP} to ${MACHINE1_IP} 22
> ${IPFW} add 00260 pass tcp from ${MACHINE1_IP} 22 to ${ROUTER_IP}
> ${IPFW} add 00300 pass all from any to any



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


ldap support for amd?

2003-03-05 Thread Heinrich Rebehn
Hi list,

is there any ldap support for the amd automounter?
The manpage says that i can specify
map_type = ldap

but amd says:

conf: no such map type "ldap"

I read some time ago, that ldap is not available for amd, maybe in 5.0?

Otherwise, the man page would be erroneous

Regards,

Heinrich
--
Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
E-mail: mailto:[EMAIL PROTECTED]
Phone : +49/421/218-4664
Fax   :-3341
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Coexistence Freebsd and win2000

2003-03-05 Thread Lord Sith
From: kxen <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Coexistence Freebsd and win2000
Date: Wed, 5 Mar 2003 15:58:25 +0200 (EET)
On my PC i have only win2000 and the whole disk is devoted to it.
I want to install freeBSD.
How can I create a new partition, taking some space from win2000 and
not loosing my data? Is there a program that can do this?
Thanks a lot.
Partition Magic should be able to shrink the NTFS partition down and give 
you enough space to install FreeBSD.

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

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Can I run my own Dynamic DNS server for private use ??

2003-03-05 Thread Ruben de Groot
On Wed, Mar 05, 2003 at 08:44:47AM -0600, Kirk Strauser typed:
> At 2003-03-05T05:25:50Z, [EMAIL PROTECTED] writes:
> 
> > To make support/access easier can I set up my own Dynamic DNS server on
> > the static address and have those remotes register their IP's with it when
> > they change ?  Thanks in Advance -Jay.
> 
> Sure!  You'll want to install the net/bind9 port (which is an easy upgrade
> From the BIND 8 that ships with FreeBSD).  Google for "nsupdate TSIG";
> `nsupdate' is the program that your clients will run to update their DNS
> entries, and `TSIG' is the authentication system that BIND uses to verify
> that the reguest is from a legitimate party.

Is it absolutely necessary to use BIND9? After all, nsupdate and dnskeygen 
are allready in the base system. I was planning to start playing with this
myself soon, but not if it involves upgrading bind.

Ruben

> -- 
> Kirk Strauser
> In Googlis non est, ergo non est.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Calling a Linux library from FreeBSD

2003-03-05 Thread Dan Nelson
In the last episode (Mar 05), Martin Nilsson said:
> Is it possible to open and call functions in a static Linux library
> (.so) from a native FreeBSD program?

Important things like struct stat and off_t are different sizes, so
even if you can link with them, all except the most basic program will
seg fault.  XFree86 modules are an exception since they went to great
pains to develop their own ABI that was portable across OSes.

That's a shared library, btw.  Static libraries end in ".a" .

> Why am I trying this? I got a couple of cheap Cryptoswift SSL
> accelerators off ebay and they only come with Linux drivers. The
> kernel driver seems simple enough to port but openssl communicates
> with the card thru a precompiled library that that I don't have the
> source for.

You may have to install the linux-devel port, and build anything that
requires that library under Linux emulation.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Can I run my own Dynamic DNS server for private use ??

2003-03-05 Thread jdroflet
On Wed, 05 Mar 2003 07:29:29 -0800 (PST), Peter Elsner wrote:

> Sure...   I'm almost positive there are ports available that do that
> sort 
> of thing,

I see a number of ports that can do the Client side but none to run as a
server.
> I have 2 Perl scripts that do exactly what you want.  (well almost)...
> 
> One sits on the client and runs ifconfig -L  to a text file
> about 
> every 10 to 20 minutes.
> The text file is then parsed and if the IP address is different from
the 
> most recent one, it sends it to the server.
> 
> The server runs another script every 5 minutes and if it finds an IP 
> address, it
> then parses that, and updates a db entry in the namedb database and
sends
> an ndc restart to named.
Thanks, I figured there would be scripts for the BSD side, the PPoE ADSL
FreeBSD box I have out there automatically e-mails me it's address when
it changes or reboots but I'm hoping to make get the other devices
(Netgear, Linksys) addresses too. We map inbound ports for remote
support on these. Dropping FreeBSD boxes out there would be nice but the
Netgears are easier to source and configure for the local user should
one blow up.
 

> 
> At 09:25 PM 3/4/2003 -0800, you wrote:
> >I have a static IP and a number of remotes with Cable or ADSL access.
> >Remotes have FreeBSD, or router firewalls ala Linksys, Netgears.
> >
> >To make support/access easier can I set up my own Dynamic DNS server
on
> >the static address and have those remotes register their IP's with it
> >when they change ?
> >Thanks in Advance -Jay.
> >

__
Get your FREE personalized e-mail at http://www.canada.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


  1   2   >