Re: make ".if exists" problem/question

2005-08-25 Thread M. Warner Losh
Yes.  The thing to keep in mind is that much of the .if stuff is done
at parsing or rule construction time.  So if you change something
(creating a file, say), then that condition won't be re-evaluated.

For the specific example given, one could replace much of the goo
with:

target: foobar

foobar:
touch foobar

if you wanted to create foobar.  Otherwise, I'd be tempted not to use
.if exists.  I'd be tempted to do something more like:

target:
@-if [ -f foobar ]; then cat foobar; else touch foobar; fi

where you have the shell check.

The primary use of exists() I've seen is:

.if exists(foo.mk)
.include "foo.mk"
.endif

although I have seen others.

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


Re: cvsup for sourceforge & other similar sites.

2005-08-25 Thread C. Michailidis
> I am wanting to  cvs automatically - but I seem to fail to get into 
> sourceforge (either command line or using cron) -- by using cvsup on the 
> ports tree I have become lazy and confused by the cvs manual!! (I do wish 
> freebsd manuals had more detailed examples!!). I used to do this stuff 
> regularly (longer ago than I care to admit) - but it takes time to get back 
> into it!
> Here are a few of of my tries (as root):
> 
> dns1# cvs -f -d :pserver:[EMAIL PROTECTED]:/cvsroot/eclipsexul login

Ooops, just noticed you said 'automatically' (I guess it will be in a shell 
script somewhere).  Anyway, the command:

cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/eclipsexul co -P 
com.orangevolt.eclipse.xul

worked fine for me.  If you want to checkout the latest sources (assuming you 
are a developer assigned to the project) you better do:

export CVS_RSH=ssh 
cvs -z3 -d:ext:[EMAIL PROTECTED]:/cvsroot/eclipsexul co -P modulename

as sourcefourge indicates. Make sure to replace 'developername' and 
'modulename' with valid info.  Anonymous access lags your production repository 
by 5 hours or so.

Dino

"The only way to deal with an unfree world is to become so absolutely free that 
your very act of existence becomes an act of rebellion." -Albert Camus


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


Re: cannot burn a CD with plextor atapi cdrom drive on 5.4-RELEASE

2005-08-25 Thread jason

user wrote:


I have:

#dmesg|grep acd
acd0: DVDR  at ata0-slave PIO4

which comes up as acd0 in /dev - I can mount cds in this drive just fine
with:

/dev/acd0   /cdrom  cd9660  ro,noauto   0   0

So far so good.

I put in a new blank CDR.

I run:

burncd -f /dev/acd0 data ./test.iso fixate

I get:

burncd: ioctl(CDRIOCNEXTWRITEABLEADDR): Input/output error

and now my dmesg contains:

acd0: FAILURE - READ_TRACK_INFO ILLEGAL REQUEST asc=0x24 ascq=0x00
error=4

Why is this happening, and how do I change my recipe to make burning a cd
(which should be very simple) work ?

Thanks.

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

 

I have the same thing with my plextor.  Try checking out 
http://www.freshports.org/sysutils/dvd+rw-tools/

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


Re: cvsup for sourceforge & other similar sites.

2005-08-25 Thread C. Michailidis
> I am wanting to  cvs automatically - but I seem to fail to get into 
> sourceforge (either command line or using cron) -- by using cvsup on the 
> ports tree I have become lazy and confused by the cvs manual!! (I do wish 
> freebsd manuals had more detailed examples!!). I used to do this stuff 
> regularly (longer ago than I care to admit) - but it takes time to get back 
> into it!
> Here are a few of of my tries (as root):
> 
> dns1# cvs -f -d :pserver:[EMAIL PROTECTED]:/cvsroot/eclipsexul login

Using command-line cvs is so 1990's LOL.  The funny thing is, you're trying 
to checkout/update a project designed for Eclipse, but you haven't considered 
using Eclipse itself?!??!  The cvs integration that the Eclipse IDE provides is 
pretty darn good (IMHO).

I admin a project on sourceforge (shameless plug---> 
http://www.sf.net/projects/plexbench ) and I usually just use the CVS 
repository browsing perpective provided within the Eclipse ide to connect 
directly to sourceforge.  Try it out... http://www.eclipse.org/ or 
/usr/ports/java/eclipse.

BTW, I've been having problems running Eclipse 3.1 from ports so I haven't 
bothered upgrading (still using Eclipse 3.0).  If anyone can shed some light on 
this or is having the same problem I'd love to hear from ya.

Dino

"The only way to deal with an unfree world is to become so absolutely free that 
your very act of existence becomes an act of rebellion." -Albert Camus

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


Re: no aide.conf.sample in 5.4?

2005-08-25 Thread Glenn Dawson

At 07:17 PM 8/25/2005, [EMAIL PROTECTED] wrote:

While installing the 5.4 release, following instructions
from
How to Build a FreeBSD-STABLE Firewall with IPFILTER
 the AIDE package failed and there is no aide.conf.sample


In what way did the aide package fail?  (it just built fine one of my 
-stable systems)


Given that the aide package wasn't installed, why would you expect 
there to be an aide.conf.sample?


-Glenn



How does one fix this? Is there an article that explains the
problem or update to How to Build a FreeBSD-STABLE Firewall
with IPFILTER ?

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


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


cannot burn a CD with plextor atapi cdrom drive on 5.4-RELEASE

2005-08-25 Thread user

I have:

#dmesg|grep acd
acd0: DVDR  at ata0-slave PIO4

which comes up as acd0 in /dev - I can mount cds in this drive just fine
with:

/dev/acd0   /cdrom  cd9660  ro,noauto   0   0

So far so good.

I put in a new blank CDR.

I run:

burncd -f /dev/acd0 data ./test.iso fixate

I get:

burncd: ioctl(CDRIOCNEXTWRITEABLEADDR): Input/output error

and now my dmesg contains:

acd0: FAILURE - READ_TRACK_INFO ILLEGAL REQUEST asc=0x24 ascq=0x00
error=4

Why is this happening, and how do I change my recipe to make burning a cd
(which should be very simple) work ?

Thanks.

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


no aide.conf.sample in 5.4?

2005-08-25 Thread marria
While installing the 5.4 release, following instructions
from
How to Build a FreeBSD-STABLE Firewall with IPFILTER
 the AIDE package failed and there is no aide.conf.sample

How does one fix this? Is there an article that explains the
problem or update to How to Build a FreeBSD-STABLE Firewall
with IPFILTER ?

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


Re: Illegal access attempt - FreeBSD 5.4 Release - please advise

2005-08-25 Thread freebsd-questions
> On Fri, 26 Aug 2005 00:24:48 +0200
> Maarten Sanders <[EMAIL PROTECTED]> wrote:
> 
> > Nice suggestion, but how do I enable tcp_wrappers with sshd?
> 
> from
> http://lists.freebsd.org/pipermail/freebsd-security/2004-September/002351.htm
> l
> 
> in /usr/src/crypto/openssh/config.h
> find the line :
> /* Define if you want TCP Wrappers support */
> enable it, rebuild etc.

This is the default, so no need to rebuild - you just have to tighten up
your /etc/hosts.allow.  Instead of the default:

ALL : ALL : allow

try (eg if you have a host 192.168.1.1):

sshd : 192.168.1.1 : allow
ALL : ALL : deny

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


Re: cvsup for sourceforge & other similar sites.

2005-08-25 Thread Vizion
On Thursday 25 August 2005 16:34,  the author Giorgos Keramidas contributed to 
the dialogue on-
 Re: cvsup for sourceforge & other similar sites.: 

>On 2005-08-25 15:40, Vizion <[EMAIL PROTECTED]> wrote:
>> I am wanting to cvs automatically - but I seem to fail to get into
>> sourceforge (either command line or using cron) -- by using cvsup on
>> the ports tree I have become lazy and confused by the cvs manual!! (I
>> do wish freebsd manuals had more detailed examples!!). I used to do
>> this stuff regularly (longer ago than I care to admit) - but it takes
>> time to get back into it!
>
>I'll try to help, but there are good references at the home page of CVS too
> :)
>
>> Here are a few of of my tries (as root):
>
>Not a good idea.  You don't need superuser rights to check out stuff
>from a remote repository.
>
>> dns1# cvs -f -d :pserver:[EMAIL PROTECTED]:/cvsroot/eclipsexul login
>> Logging in to :pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipsexul
>> CVS password:
>> cvs login: warning: failed to open /root/.cvspass for reading: No such
>> file or directory
>>
>> /* Seemed to call for a .cvspass file..
>>   Cant find a way to give a password  interactively so I had better create
>> a file..*/
>>
>> /* So I create a .cvspass with a blank line
>>  -- (Sourceforge demands a blank) */
>
>Simply running:
>
>   dns1# touch ~/.cvspass
>
>should do it.
>
>> dns1# cp /usr/home/Sysadmin/.cvspass /root/
>> dns1# chown root /root/.cvspass
>>
>> dns1# cvs -f -d :pserver:[EMAIL PROTECTED]:/cvsroot/eclipsexul login
>> Logging in to :pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipsexul
>> CVS password:
>> cvs login: warning: skipping invalid entry in password file at line 1
>>
>> /* Which was treated as invalid! */
>
>It seems the CVSROOT/passwd file of the remote repository is corrupt.
>
>> dns1# pwd
>> /usr/home/Sysadmin/cvs
>>
>> dns1# ls -l
>> total 0
>>
>> /* Try again adding '.' after eclipseexul */
>> dns1# cvs -f -d :pserver:[EMAIL PROTECTED]:/cvsroot/eclipsexul. login
>> Logging in to :pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipsexul.
>> CVS password:
>> cvs [login aborted]: unrecognized auth response from cvs.sf.net: M -!-
>> Client or Server timeout occurred!
>>
>> /*I just seem to get errors from cvs! I guess I need to find out what I am
>> doing wrong*/
>
>Sourceforge problems, as far as I can tell.

Thanks

I have taken it up with sourceforge - hopefullty I will get an answer..

Thanks for your time

David

40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE

2005-08-25 Thread Mark Kane

Roland Smith wrote:

On Thu, Aug 25, 2005 at 04:44:59PM -0500, Mark Kane wrote:
Okay, I may try that later then. STABLE is just about done on that 
Athlon XP 2000+ machine.



Fingers crossed :-)


Well Hmmm I've got -STABLE running on the 5.4-RELEASE i386 AMD 
Athlon XP 2000+ machine with 256MB RAM. I untar Firefox sources, and the 
improvement is noticeable within 3 seconds. When doing the same 
operation before or here on my amd64 (5.4-RELEASE) it starts freezing 
the screen, sound, and other things (Hard to describe the sound noise, 
but it sounds like a "ERRR-R-R-R-R-" stutter).


I increased the XMMS buffer from 3000 to the value on your site (haven't 
done the sysctl one yet) and it made the skips that were happening 
during untarring reduce greatly. There are still a few skips and slight 
stuttering, but before when doing the same operation it was completely 
un-listenable and unresponsive.


I'm even tarring the Firefox source back up with bzip2 now to try. It's 
going quite slowly, but that's probably due to low RAM, as well as an 
older, slower, UDMA66 hard drive. 608K of real mem free and using up 
50MB of swap, it's still sounding pretty good with minimal skips.


I'm listening to a stream from my Athlon XP 2000+ in my left ear (via a 
headphone) and the same stream on the speakers here from my amd64. I 
hear occasional skips in the audio from the amd64 5.4-RELEASE box as I'm 
just typing this email, but while the other -STABLE box is semi-idle (X, 
Xfce, Firefox with 40 tabs open) I don't hear many skips at all. It's 
not perfect, but a huge improvement.


I'm wondering what changed in 5-STABLE to make this so much better. I 
thought the fix was in 6 (Unless it was MFC)?


This much improvement almost makes me want to just upgrade this amd64 
box to -STABLE and start using it now. I just want to be sure it's 
stable enough for my use.


Thanks again for all the input :).

-Mark


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


Re: cvsup for sourceforge & other similar sites.

2005-08-25 Thread Giorgos Keramidas
On 2005-08-25 15:40, Vizion <[EMAIL PROTECTED]> wrote:
> I am wanting to cvs automatically - but I seem to fail to get into
> sourceforge (either command line or using cron) -- by using cvsup on
> the ports tree I have become lazy and confused by the cvs manual!! (I
> do wish freebsd manuals had more detailed examples!!). I used to do
> this stuff regularly (longer ago than I care to admit) - but it takes
> time to get back into it!

I'll try to help, but there are good references at the home page of CVS too :)

> Here are a few of of my tries (as root):

Not a good idea.  You don't need superuser rights to check out stuff
from a remote repository.

> dns1# cvs -f -d :pserver:[EMAIL PROTECTED]:/cvsroot/eclipsexul login
> Logging in to :pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipsexul
> CVS password:
> cvs login: warning: failed to open /root/.cvspass for reading: No such file 
> or directory
>
> /* Seemed to call for a .cvspass file..
>   Cant find a way to give a password  interactively so I had better create a
> file..*/
>
> /* So I create a .cvspass with a blank line
>  -- (Sourceforge demands a blank) */

Simply running:

dns1# touch ~/.cvspass

should do it.

> dns1# cp /usr/home/Sysadmin/.cvspass /root/
> dns1# chown root /root/.cvspass
>
> dns1# cvs -f -d :pserver:[EMAIL PROTECTED]:/cvsroot/eclipsexul login
> Logging in to :pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipsexul
> CVS password:
> cvs login: warning: skipping invalid entry in password file at line 1
>
> /* Which was treated as invalid! */

It seems the CVSROOT/passwd file of the remote repository is corrupt.

> dns1# pwd
> /usr/home/Sysadmin/cvs
>
> dns1# ls -l
> total 0
>
> /* Try again adding '.' after eclipseexul */
> dns1# cvs -f -d :pserver:[EMAIL PROTECTED]:/cvsroot/eclipsexul. login
> Logging in to :pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipsexul.
> CVS password:
> cvs [login aborted]: unrecognized auth response from cvs.sf.net: M -!- Client 
> or Server timeout occurred!
>
> /*I just seem to get errors from cvs! I guess I need to find out what I am
> doing wrong*/

Sourceforge problems, as far as I can tell.

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


Re: Illegal access attempt - FreeBSD 5.4 Release - please advise

2005-08-25 Thread [EMAIL PROTECTED]
On Fri, 26 Aug 2005 00:24:48 +0200
Maarten Sanders <[EMAIL PROTECTED]> wrote:

> Nice suggestion, but how do I enable tcp_wrappers with sshd?

from
http://lists.freebsd.org/pipermail/freebsd-security/2004-September/002351.html

in /usr/src/crypto/openssh/config.h
find the line :
/* Define if you want TCP Wrappers support */
enable it, rebuild etc.

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


Re: cvsup for sourceforge & other similar sites.

2005-08-25 Thread Vizion
On Thursday 25 August 2005 13:06,  the author Giorgos Keramidas contributed to 
the dialogue on-
 Re: cvsup for sourceforge & other similar sites.: 

>On 2005-08-25 12:43, Vizion <[EMAIL PROTECTED]> wrote:
>> I wonder if anyone has a successful working example of a freebsd 5.3
>> cvsup file for a site such as sourceforge? If so could you be kind
>> enuf to email me a copy.
>>
>> I have tried a number of alternatives and failed miserably!
>
>I don't think that's quite possible, unless Sourceforge itself set up a
> CVSup server network.  "CVSup" is a very different beast from the CVS
> "server modes".
>
ooops

I am wanting to  cvs automatically - but I seem to fail to get into 
sourceforge (either command line or using cron) -- by using cvsup on the 
ports tree I have become lazy and confused by the cvs manual!! (I do wish 
freebsd manuals had more detailed examples!!). I used to do this stuff 
regularly (longer ago than I care to admit) - but it takes time to get back 
into it!
Here are a few of of my tries (as root):

dns1# cvs -f -d :pserver:[EMAIL PROTECTED]:/cvsroot/eclipsexul login
Logging in to :pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipsexul
CVS password:
cvs login: warning: failed to open /root/.cvspass for reading: No such file or 
directory

/* Seemed to call for a .cvspass file..
  Cant find a way to give a password  interactively so I had better create a 
file..*/ 

/* So I create a .cvspass with a blank line
 -- (Sourceforge demands a blank) */

dns1# cp /usr/home/Sysadmin/.cvspass /root/
dns1# chown root /root/.cvspass

dns1# cvs -f -d :pserver:[EMAIL PROTECTED]:/cvsroot/eclipsexul login
Logging in to :pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipsexul
CVS password:
cvs login: warning: skipping invalid entry in password file at line 1

/* Which was treated as invalid! */

dns1# pwd
/usr/home/Sysadmin/cvs

dns1# ls -l
total 0

/* Try again adding '.' after eclipseexul */
dns1# cvs -f -d :pserver:[EMAIL PROTECTED]:/cvsroot/eclipsexul. login
Logging in to :pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipsexul.
CVS password:
cvs [login aborted]: unrecognized auth response from cvs.sf.net: M -!- Client 
or Server timeout occurred!


/*I just seem to get errors from cvs! I guess I need to find out what I am 
doing wrong*/

David

-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Illegal access attempt - FreeBSD 5.4 Release - please advise

2005-08-25 Thread Maarten Sanders
On Thu, 2005-08-25 at 07:22 -0400, Lee Capps wrote:
> On 11:18 Wed 24 Aug , Chris St Denis wrote:
> > How can I easily auto deny after x failed attempts? Is this an sshd setting?
> > I could find it.
> > 
> > Is there something in ports that will firewall off somebody who is brute
> > forcing?
> 
> In addition to adding entries to /etc/hosts.allow you could try
> DenyHosts:
> 
> http://denyhosts.sourceforge.net/
> 
> I didn't find a port, but it works with FreeBSD and isn't too onerous to
> install.
> 
> HTH,
> 
> Lee
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
Nice suggestion, but how do I enable tcp_wrappers with sshd?

See : http://denyhosts.sourceforge.net/ssh_config.html 
I tried adding 

sshd: 127.0.0.1 : deny to /etc/hosts.allow but I failed the described
test. 

Maarten


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


Re: limits puzzle - different limits on similar machines

2005-08-25 Thread Charles Swiger

On Aug 25, 2005, at 3:13 PM, Danny Howard wrote:
No, but see /boot/default/loader.conf, you can tune it there  
without having

to rebuild the kernel...


That much I know, but what variables?


kern.dfldsiz is probably the most crucial one, but a more complete  
list would be:


#kern.dfldsiz=""# Set the initial data size limit
#kern.dflssiz=""# Set the initial stack size limit
#kern.hz="100"  # Set the kernel interval timer rate
#kern.maxbcache=""  # Set the max buffer cache KVA storage
#kern.maxdsiz=""# Set the max data size
#kern.maxfiles=""   # Set the sys. wide open files limit
#kern.maxproc=""# Set the maximum # of processes
#kern.maxssiz=""# Set the max stack size
#kern.maxswzone=""  # Set the max swmeta KVA storage
#kern.maxtsiz=""# Set the max text size

It's used like so:

9-pi% cat /boot/loader.conf
kern.dfldsiz="1G"
kern.hz="1000"

--
-Chuck

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


harddisk not found on 5.4 and 6.0

2005-08-25 Thread Roland Smith
Hi all,

I'm trying to put FreeBSD on an older machine, that currently has Linux
installed. It is a 1 GHz Athlon with a Via KT266 chipset. The disk
controller is a VIA 8233.

The problem is that FreeBSD does not find the harddisk when booting from
the install CD. The boot loader does, though. This happens both with
5.4-RELEASE and 6.0-beta1.

Going to a fixit shell and doing a 'atacontrol list' gives no devices on
the channel the harddisk is on. I've tried 'atacontrol reinit 0', but no
luck. I can't get the kernel to recognize the disk.

If I boot from the harddisk, Linux loads just fine.

Any thoughts?

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpL4rV6PS9Y4.pgp
Description: PGP signature


Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE

2005-08-25 Thread Mark Kane

Roland Smith wrote:

Have you checked (with 'atacontrol mode ') that both drives are
indeed using DMA?


amd64# atacontrol mode 0
Master = UDMA133 [200GB w/ FreeBSD]
Slave  = BIOSPIO
amd64# atacontrol mode 1
Master = BIOSPIO
Slave  = PIO4 [Sony DRU500A DVD+RW]
amd64# atacontrol mode 4
Master = UDMA133 [200GB Storage]
Slave  = BIOSPIO
amd64# atacontrol mode 5
Master = UDMA133 [160GB Storage]
Slave  = BIOSPIO
amd64# atacontrol mode 6
Master = UDMA133 [80GB Storage]
Slave  = BIOSPIO
amd64# atacontrol mode 7
Master = UDMA133 [80GB Storage]
Slave  = BIOSPIO

Looks like it is the network card. Would disabling that in the BIOS mess 
anything up in FreeBSD? With it disabled I couldn't test the streaming, 
but could try playing files.



I don't really see how, other than having no network. :-)

If you have a spare machine, you could even try the 6.0 beta release,
and see if that solves the problem.


Okay, I may try that later then. STABLE is just about done on that 
Athlon XP 2000+ machine.


As for 6.0, I did try it on another drive when I was still 
troubleshooting the DMA stuff. It however introduced new problems such 
as panics and my ethernet controller was no longer recognized.


-Mark

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


Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE

2005-08-25 Thread Roland Smith
On Thu, Aug 25, 2005 at 03:25:48PM -0500, Mark Kane wrote:
> >Hmm, if bzip2 can't saturate the CPU, I would say it's probably waiting
> >for disk reads/writes.
> 
> The drives I was trying to compress from/to are both brand new 200GB 
> Maxtor 7200RPM ATA133 drives. Maybe that has something to do with the 
> bad controller on this series of boards.

Have you checked (with 'atacontrol mode ') that both drives are
indeed using DMA?

> Looks like it is the network card. Would disabling that in the BIOS mess 
> anything up in FreeBSD? With it disabled I couldn't test the streaming, 
> but could try playing files.

I don't really see how, other than having no network. :-)

If you have a spare machine, you could even try the 6.0 beta release,
and see if that solves the problem.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpcft3kbNbby.pgp
Description: PGP signature


preexec function in tcsh

2005-08-25 Thread Dan Mahoney, System Admin

Hey all,

I'm reading here that a certain version of tcsh (starting with 6.09) has 
support for a "preexec" function.  I'm not seeing this in the source or 
manpage.  Is there any way to upgrade the tcsh version in FreeBSD?


-Dan

--

"Station!"

-Bill & Ted's Bogus Journey

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


Re: /rescue/vi doesn't work without /usr (no terminal db)

2005-08-25 Thread Lars Kristiansen



--On Thursday, August 25, 2005 02:45:35 PM -0400 "N.J. Thomas" 
<[EMAIL PROTECTED]> wrote:



But when things have gone so wrong that you actually have to use the
tools in /rescue, you are generally not in the mood to deal with
something as archaic as ed. =-)


To keep a copy of the e3 binary somewhere convinient may be helpful.
It kind of simulates vi behaviour if started as e3vi.

/usr/ports/editors/e3
A full featured text editor written in assembler

--
Lars



Thomas





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


dig via socks5 not working on 5.4

2005-08-25 Thread Andrew N. Below
 Hello.

 I have to use socks5 server for outgoing connections
from office LAN. After updating to FreeBSD 5.4-RELEASE-p6
dig stops working via runsocks:

defbsd# runsocks dig
Bus error (core dumped)

in logs:

Aug 26 00:14:51 defbsd libsocks5[7549]: NEC NWSL Socks5 v1.0r11  library
Aug 26 00:14:51 defbsd kernel: pid 7549 (dig), uid 0: exited on signal 10
(core dumped)
Aug 26 00:14:51 defbsd kernel: Aug 26 00:14:51 defbsd kernel: pid 7549
(dig), uid 0: exited on signal 10 (core dumped)

 What should I do to improve this? What information can I get
from corefile?

--
Andrew N. Below, Zenon N.S.P., technical support department
Moscow: +7 095 2323736, SPb: +7 812 3264468, http://www.zenon.net

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


Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE

2005-08-25 Thread Mark Kane

Laurence Sanford wrote:



On Thu, 25 Aug 2005, Mark Kane wrote:


Hmm, if bzip2 can't saturate the CPU, I would say it's probably waiting
for disk reads/writes.



The drives I was trying to compress from/to are both brand new 200GB 
Maxtor 7200RPM ATA133 drives. Maybe that has something to do with the 
bad controller on this series of boards.




Are both of these drives on the same channel? If so, remember that ATA 
cannot read/write to two drives on the same channel at the same time.


Nope, my board does not allow them to be on the same channel or I get 
UDMA ICRC READ and WRITE errors (had a thread going about that here as 
well).


All drives are on their own channel.

-Mark

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


Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE

2005-08-25 Thread Laurence Sanford



On Thu, 25 Aug 2005, Mark Kane wrote:


Hmm, if bzip2 can't saturate the CPU, I would say it's probably waiting
for disk reads/writes.


The drives I was trying to compress from/to are both brand new 200GB Maxtor 
7200RPM ATA133 drives. Maybe that has something to do with the bad controller 
on this series of boards.



Are both of these drives on the same channel? If so, remember that ATA 
cannot read/write to two drives on the same channel at the same time.

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


Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE

2005-08-25 Thread Mark Kane

Roland Smith wrote:

On Thu, Aug 25, 2005 at 01:39:25PM -0500, Mark Kane wrote:


Wow, that would be really nice. I notice whenever I compress something 
like a backup of my Thunderbird Inbox files (several hundred megs) in 
bzip2 format it goes nowhere near 100% or even 90% CPU usage. The 
problems I am talking about occur even when CPU usage is real low as 
well. :-\



Hmm, if bzip2 can't saturate the CPU, I would say it's probably waiting
for disk reads/writes.


The drives I was trying to compress from/to are both brand new 200GB 
Maxtor 7200RPM ATA133 drives. Maybe that has something to do with the 
bad controller on this series of boards.






  29  ??  WL 1:35.00 [irq19: skc0 atapci2]



It looks like one of your disk controllers is sharing an interrupt with
another device (network card? can't find a skc device, only sk). That
might have something to do with your problem. Try disabling that device,
and see if your troubles disappear. If so, you could try to add
a device hint to have the skc device use another free interrupt
line. See device.hints(5).


Looks like it is the network card. Would disabling that in the BIOS mess 
anything up in FreeBSD? With it disabled I couldn't test the streaming, 
but could try playing files.


[EMAIL PROTECTED]:~]% dmesg | grep sk
skc0:  port 0x9c00-0x9cff mem 
0xfb008000-0xfb00bfff irq 19 at device 11.0 on pci2

skc0: Marvell Yukon Lite Gigabit Ethernet rev. A3(0x7)
sk0:  on skc0
sk0: Ethernet address: 00:0f:ea:4f:83:8b

I'm also compiling STABLE on that other 5.4-RELEASE i386 machine that 
had the same problems while I was using it for that month. I'm going to 
see if that helps that machine out any. Here is the IRQ output from that 
machine:


   12  ??  WL 0:00.00 [irq1: atkbd0]
   13  ??  WL 0:00.00 [irq3: sio1]
   14  ??  WL 0:00.00 [irq4: sio0]
   15  ??  WL 0:00.00 [irq5:]
   16  ??  WL 0:00.00 [irq6: fdc0]
   17  ??  WL 0:00.00 [irq7: ppc0]
   18  ??  WL 0:00.00 [irq8: rtc]
   19  ??  WL 0:00.00 [irq9: acpi0]
   20  ??  WL 0:00.00 [irq10:]
   21  ??  WL 0:00.00 [irq11:]
   22  ??  WL 0:00.00 [irq12: psm0]
   23  ??  WL 0:00.00 [irq13:]
   24  ??  WL 0:01.94 [irq14: ata0]
   25  ??  WL 0:00.00 [irq15: ata1]
   26  ??  WL 0:00.00 [irq16:]
   27  ??  WL 0:00.00 [irq17:]
   28  ??  WL 0:19.72 [irq18: rl0]
   29  ??  WL 0:00.00 [irq19:]
   30  ??  WL 0:00.00 [irq20:]
   31  ??  WL 0:00.00 [irq21: uhci0 uhci1+]
   32  ??  WL 0:00.00 [irq22: pcm0]
   33  ??  WL 0:00.00 [irq23:]
   34  ??  WL 0:00.00 [irq0: clk]

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


Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE

2005-08-25 Thread Roland Smith
On Thu, Aug 25, 2005 at 01:39:25PM -0500, Mark Kane wrote:

> Wow, that would be really nice. I notice whenever I compress something 
> like a backup of my Thunderbird Inbox files (several hundred megs) in 
> bzip2 format it goes nowhere near 100% or even 90% CPU usage. The 
> problems I am talking about occur even when CPU usage is real low as 
> well. :-\

Hmm, if bzip2 can't saturate the CPU, I would say it's probably waiting
for disk reads/writes.

> >The file is the most usual way to partition code. How else would you
> >know where to look?
> 
> True. I meant I wouldn't know what files to look at since I don't know 
> really anything about programming or how things are done internally. I'm 
> kind of used to the subversion approach of revisions for everything 
> instead of file by file. Then it would have one log showing all the 
> changes of that revision all in one place. I see how the other way makes 
> sense though.

FreeBSD uses CVS, which can also produce such a logfile. But I think
that you would have to install the complete CVS repository to generate
such a changelog. Besides, if you are not a programmer, would the
checkin comments really mean anything to you?


>29  ??  WL 1:35.00 [irq19: skc0 atapci2]

It looks like one of your disk controllers is sharing an interrupt with
another device (network card? can't find a skc device, only sk). That
might have something to do with your problem. Try disabling that device,
and see if your troubles disappear. If so, you could try to add
a device hint to have the skc device use another free interrupt
line. See device.hints(5).

Roland

-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpJBIlpSvtwe.pgp
Description: PGP signature


Re: cvsup for sourceforge & other similar sites.

2005-08-25 Thread Giorgos Keramidas
On 2005-08-25 12:43, Vizion <[EMAIL PROTECTED]> wrote:
> I wonder if anyone has a successful working example of a freebsd 5.3
> cvsup file for a site such as sourceforge? If so could you be kind
> enuf to email me a copy.
>
> I have tried a number of alternatives and failed miserably!

I don't think that's quite possible, unless Sourceforge itself set up a CVSup
server network.  "CVSup" is a very different beast from the CVS "server modes".

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


Re: very big files on cd9660 file system

2005-08-25 Thread Dag-Erling Smørgrav
Mikhail Teterin <[EMAIL PROTECTED]> writes:
> No single file on a ISO9660 filesystem may exceed 4Gb?

The ISO 9660 file system was designed for a storage medium which had a
fixed capacity of 600 MB.

> Is there some newer, superceeding backwards-compatible standard -- all the new
> DVD devices are now offering the media to store large files? Or is fat32 the
> only cross-platform option today?

You're supposed to use UDF on DVDs.  I don't think it's backward
compatible with ISO 9660.  I suspect that the reason why ISO 9660 is
being used on DVDs is compatibility with BIOSes which support booting
from ISO 9660 but not (yet) UDF.

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]

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


stunnel not stopped by rc.d script

2005-08-25 Thread RW
If I try to stop stunnel  with it's rc.d script I get

# /usr/local/etc/rc.d/stunnel.sh stop
stunnel not running? (check /var/run/stunnel.pid).

but the PID file is actually in /var/tmp. 

I don't have anything in my stunnel.conf or rc.conf  file that's relevant.

This is /usr/local/etc/rc.d/stunnel.sh:

---
# PROVIDE: stunnel
# REQUIRE: NETWORKING SERVERS
# BEFORE: DAEMON
# KEYWORD: shutdown

#
# Add some of the following variables to /etc/rc.conf to configure stunnel:
# stunnel_enable (bool):Set to "NO" by default.
#   Set it to "YES" to enable stunnel.
# stunnel_config (str): Default "/usr/local/etc/stunnel/stunnel.conf"
#   Set it to the full path to the config file
#   that stunnel will use during the automated
#   start-up.
# stunnel_pidfile (str):Default "/usr/local/var/stunnel/stunnel.pid"
#   Set it to the value of 'pidfile' in
#   the stunnel.conf file.
#

. /etc/rc.subr

name="stunnel"
rcvar=`set_rcvar`
stunnel_config="/usr/local/etc/stunnel/${name}.conf"
stunnel_pidfile="/var/run/${name}.pid"
command="/usr/local/sbin/stunnel"

[ -z "$stunnel_enable" ]&& stunnel_enable="NO"

load_rc_config $name

command_args=${stunnel_config}
pidfile=${stunnel_pidfile}

required_files="${stunnel_config}"

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


cvsup for sourceforge & other similar sites.

2005-08-25 Thread Vizion
Hi

 I wonder if anyone has a successful working example of a freebsd 5.3 cvsup 
file for a site such as sourceforge? If so could you be kind enuf to email me 
a copy.

I have tried a number of alternatives and failed miserably!

I do not need to commit but just keep files up to date on a daily basis with a 
few projects.

Help appreciated

Thanks in advance

David

-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pppoed using mpd - dirrect connect between LAN clients

2005-08-25 Thread Ovidiu Ene

Yes, i'll try:

WAN
-
|  ROUTER |   (also pppoe server using mpd)
--
   LAN |
 switch
  |   |  |  |
   user1 user2user n

ROUTER is a FreeBSD Box

user 1 ... user n are windows stations connected to pppoe server (win 
98, windows 2000 or win xp)


On the router is installed a dc++ server.
Users  1... to n are connected to dc++ server, they download files 
from each other.
The problem is that traffic from user 1 to user 2 , or between any user 
is going via  LAN nic.


If i do not use pppoe server and assign user1  user2 fixed ips then 
the traffic in lan is direct from a user to another. The traffic on LAN 
nic is not high.
So, pppoe will help in a easyer configuration of a client but traffic in 
lan is via LAN nic which is bad... if are many computers it slows down alot.


If user 1 download from user 2 a 700 mb iso it will take only 1 minute 
for a 100 mbps lan, but if pppoe is setup and many users download from 
each others the traffic lows down a lot... i had experience with 300 
kbytes/s instead of 8 mbytes/s.




   





Lowell Gilbert wrote:


Ovidiu Ene <[EMAIL PROTECTED]> writes:

 


Hello guys

I've setup a pppoe server using mpd and i've activated proxy arp in pppoed.
The problem is that all traffic between LAN users is going via pppoed NIC.
I do not want that, i want that LAN users to have traffic direct, like
using fixed IPs.

it is possible? how?
   



Can you draw a picture of the configuration?
I don't follow your description, and others may be having the same problem.

 


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


Re: limits puzzle - different limits on similar machines

2005-08-25 Thread Danny Howard
On Wed, Aug 24, 2005 at 09:46:44PM -0400, Chuck Swiger wrote:
> Danny Howard wrote:
> >On Tue, Aug 23, 2005 at 06:52:28PM -0600, Chad Leigh -- Shire.Net LLC 
> >wrote:
> >>On Aug 23, 2005, at 5:56 PM, Danny Howard wrote:
> >>># bump max datasize
> >>>options MAXDSIZ="(1024*1024*1024)"
> >>>options MAXSSIZ="(1024*1024*1024)"
> >>>options DFLDSIZ="(1024*1024*1024)"
> >>
> >>Might this not be it?  unlimited is really limited by the kernel sys  
> >>params
> [ ... ]
> >We can't tune the kernel limits through sysctl, eh? :)
> 
> No, but see /boot/default/loader.conf, you can tune it there without having 
> to rebuild the kernel...

That much I know, but what variables?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: make ".if exists" problem/question

2005-08-25 Thread Giorgos Keramidas
On 2005-08-25 20:36, Emanuel Strobl <[EMAIL PROTECTED]> wrote:
> Am Donnerstag, 25. August 2005 20:10 CEST schrieb David Kirchner:
> > This Makefile shows the problem:
> >
> > all:
> > .if ! exists(./foobar)
> > @echo foobar does not exist
> > .endif
> > touch foobar
> > .if ! exists(./foobar)
> > @echo foobar does not exist
> > .endif
> >
> > If you run make in this directory, and foobar does not already exist
> > beforehand:
> >
> > $ make
> > foobar does not exist
> > touch foobar
> > foobar does not exist
> >
> > Looking at the make source, it appears that it maintains a cache for
> > file lookups, and I don't see a way to have it flush the hash via some
> > makefile command. I dunno if it is a bug but the man page does not
> > mention a cache.
> >
> > I wonder if you'll have to start a separate make process for each
> > stage of that target's handling.
>
> Thanks for your suggestion, you described exactly what I mean. So if
> there's no way to flush the cache, it's IMHO a wrong behaviour and
> should be considered as bug.  I'm not too experienced in make, so I
> don't know if I want to call sub makes...  Do you have an idea whom to
> contact regarding the "bug"?

You can call a sub-make with the help of an ``auxiliary'' target:

%   all: create-file show-file
%
%   create-file:
%   .if ! exists(./foobar)
%   @echo foobar does not exist
%   .endif
%   touch foobar
%
%   show-file:
%   @$(MAKE) show-file-aux
%
%   show-file-aux:
%   .if ! exists(./foobar)
%   @echo foobar does not exist
%   .else
%   @ls -l foobar
%   .endif

This should result in something like this:

%   orion:/tmp/foobar$ make
%   foobar does not exist
%   touch foobar
%   -rw-rw-r--  1 keramida  wheel  0 Aug 25 21:44 foobar
%   orion:/tmp/foobar$

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


Re: /rescue/vi doesn't work without /usr (no terminal db)

2005-08-25 Thread N.J. Thomas
* Alex Zbyslaw <[EMAIL PROTECTED]> [2005-08-25 19:22:48 +0100]:
> >   BUGS
> >
> >   Most of the rescue tools work even in a fairly crippled system.
> >   The most egregious exception is the rescue version of vi(1),
> >   which currently requires that /usr be mounted so that it can
> >   access the termcap(5) files.
>
> Will ex not work?  Since it's just vi without graphics it shouldn't need 
> a termcap (which doesn't mean it won't want one of course).  What was 
> $TERM set to?

/rescue/ex did not work, it gave the same error that /rescue/vi did,
namely that the termcap/terinfo database was not found.

$TERM was set to cons25

> Having said that, I can still remember a time when any sysadmin worth
> tuppence would know how to use ed because that was all that worked on
> a teletype :-)

Yes, /rescue/ed did work, and of course I am glad that something was
working, but ed is infinitely more tedious to work with than vi.

But when things have gone so wrong that you actually have to use the
tools in /rescue, you are generally not in the mood to deal with
something as archaic as ed. =-)

Thomas

-- 
N.J. Thomas
[EMAIL PROTECTED]
Etiamsi occiderit me, in ipso sperabo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE

2005-08-25 Thread Mark Kane

Roland Smith wrote:
So you have no similar problems in -STABLE? How about when untarring a 
bigger file and playing audio? If not, then maybe trying STABLE on that 
other drive might be a good idea.



Yesterday I was making a level 0 dump of my /usr partition (32429 MB) to
another drive, which was being compressed with bzip2. CPU usage was
around 97% [for bzip2], but I didn't notice anything. While the dump was
underway, I was browsing with Firefox, and writing in emacs.


Wow, that would be really nice. I notice whenever I compress something 
like a backup of my Thunderbird Inbox files (several hundred megs) in 
bzip2 format it goes nowhere near 100% or even 90% CPU usage. The 
problems I am talking about occur even when CPU usage is real low as 
well. :-\


The reason I wanted to see any changelog was to see if there is any 
changes to this part of the code at all before trying it, but file by 
file I would probably be lost since I am not a programmer.



The file is the most usual way to partition code. How else would you
know where to look?


True. I meant I wouldn't know what files to look at since I don't know 
really anything about programming or how things are done internally. I'm 
kind of used to the subversion approach of revisions for everything 
instead of file by file. Then it would have one log showing all the 
changes of that revision all in one place. I see how the other way makes 
sense though.



Some other thing you might look at is if too many devices are sharing an
interrupt. Try ps -xa|grep '\[irq.*\]' If so, that might give problems,
I think. Anything in the logfiles?


[EMAIL PROTECTED]:~]% ps -xa|grep '\[irq.*\]'
   12  ??  WL 0:05.59 [irq1: atkbd0]
   13  ??  WL 0:00.00 [irq3: sio1]
   14  ??  WL 0:00.00 [irq4: sio0]
   15  ??  WL 0:00.00 [irq5:]
   16  ??  WL 0:00.00 [irq6: fdc0]
   17  ??  WL 0:00.00 [irq7: ppc0]
   18  ??  WL 0:00.00 [irq8: rtc]
   19  ??  WL 0:00.00 [irq9: acpi0]
   20  ??  WL 0:00.00 [irq10:]
   21  ??  WL 0:00.00 [irq11:]
   22  ??  WL 1:03.19 [irq12: psm0]
   23  ??  WL 0:00.00 [irq13:]
   24  ??  WL 0:01.84 [irq14: ata0]
   25  ??  WL 0:00.00 [irq15: ata1]
   26  ??  WL 0:04.11 [irq16: atapci3]
   27  ??  WL 1:13.49 [irq17: pcm0]
   28  ??  WL 0:00.00 [irq18: fwohci0+]
   29  ??  WL 1:35.00 [irq19: skc0 atapci2]
   30  ??  WL 0:00.00 [irq20:]
   31  ??  WL 0:00.00 [irq21: ohci1]
   32  ??  WL 0:00.00 [irq22: ohci0+]
   33  ??  WL 0:00.00 [irq23:]
   34  ??  WL 0:00.00 [irq0: clk]

I don't see anything in /var/log/messages or any errors in dmesg.

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


Re: make ".if exists" problem/question

2005-08-25 Thread Emanuel Strobl
Am Donnerstag, 25. August 2005 20:10 CEST schrieb David Kirchner:
> On 8/25/05, Emanuel Strobl <[EMAIL PROTECTED]> wrote:
> > Dear make gurus (bsd make, not gmake),
> >
> > it seems that make checks .if directives only at statrup. How can I
> > trigger a "reread"?
> > I have the problem that in one target I create a filetree, another
> > target checks if it exists, if not it creates itself again. Now it
> > works perfectly when I call the two targets both externally
> > (installcfworld installcfconfig) but when the internal higher
> > "install" gets to the installcfconfig target it fails!
> > I'm really desperate, I need to check this. Is this a nasty bug?
>
> This Makefile shows the problem:
>
> all:
> .if ! exists(./foobar)
> @echo foobar does not exist
> .endif
> touch foobar
> .if ! exists(./foobar)
> @echo foobar does not exist
> .endif
>
> If you run make in this directory, and foobar does not already exist
> beforehand:
>
> $ make
> foobar does not exist
> touch foobar
> foobar does not exist
>
> Looking at the make source, it appears that it maintains a cache for
> file lookups, and I don't see a way to have it flush the hash via some
> makefile command. I dunno if it is a bug but the man page does not
> mention a cache.
>
> I wonder if you'll have to start a separate make process for each
> stage of that target's handling.

Thanks for your suggestion, you described exactly what I mean. So if 
there's no way to flush the cache, it's IMHO a wrong behaviour and should 
be considered as bug.
I'm not too experienced in make, so I don't know if I want to call sub 
makes...
Do you have an idea whom to contact regarding the "bug"?

Thanks,

-Harry


pgpLMGpHWk1lW.pgp
Description: PGP signature


Re: /rescue/vi doesn't work without /usr (no terminal db)

2005-08-25 Thread Alex Zbyslaw

N.J. Thomas wrote:


   BUGS

   Most of the rescue tools work even in a fairly crippled system.
   The most egregious exception is the rescue version of vi(1),
   which currently requires that /usr be mounted so that it can
   access the termcap(5) files. Hopefully, a failsafe termcap(3)
   entry will eventually be added into the ncurses(3) library, so
   that /rescue/vi can be used even in a system where /usr cannot
   immediately be mounted.  In the meantime, the rescue version of
   the ed(1) editor can be used from /rescue/ed if you need to edit
   files, but cannot mount /usr.

I don't know how old this note is, but I hope the failsafe termcap will
be added soon.

Thomas

 

Will ex not work?  Since it's just vi without graphics it shouldn't need 
a termcap (which doesn't mean it won't want one of course).  What was 
$TERM set to?


Having said that, I can still remember a time when any sysadmin worth 
tuppence would know how to use ed because that was all that worked on a 
teletype :-)


--Alex

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


Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE

2005-08-25 Thread Roland Smith
On Thu, Aug 25, 2005 at 12:48:17PM -0500, Mark Kane wrote:
> Roland Smith wrote:
> >Another thing to look at might be the scheduler. I'm using SCHED_4BSD.
> 
> Hmm, I'm using just a GENERIC kernel with support added in for my sound 
> driver and atapicam for K3b. SCHED_4BSD looks default in GENERIC:
> 
> options SCHED_4BSD  # 4BSD scheduler

Yes it is.


> So you have no similar problems in -STABLE? How about when untarring a 
> bigger file and playing audio? If not, then maybe trying STABLE on that 
> other drive might be a good idea.

Yesterday I was making a level 0 dump of my /usr partition (32429 MB) to
another drive, which was being compressed with bzip2. CPU usage was
around 97% [for bzip2], but I didn't notice anything. While the dump was
underway, I was browsing with Firefox, and writing in emacs.

> The reason I wanted to see any changelog was to see if there is any 
> changes to this part of the code at all before trying it, but file by 
> file I would probably be lost since I am not a programmer.

The file is the most usual way to partition code. How else would you
know where to look?

Some other thing you might look at is if too many devices are sharing an
interrupt. Try ps -xa|grep '\[irq.*\]' If so, that might give problems,
I think. Anything in the logfiles?

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpgzxp5JfUMo.pgp
Description: PGP signature


Gnome problems

2005-08-25 Thread blOrf

Hi,

I had the same problem while installing amarok music player, and
commented out line 24 of 
/usr/ports/audio/gstreamer-plugins-vorbis/work/gst-plugins-0.8.8/gst-libs/gst/audio/multichannel.h.

After that, the compile completed

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


Seagate STD224000N on Freebsd 5.4?

2005-08-25 Thread perikillo
  Hi people, i want to know if some one from here has the tape drive
Seagate STD224000N running on freebsd 5.4 or wish release, and wich
backup program you have?. Thanks all.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 3ware 8506-4LP not working after os upgrade

2005-08-25 Thread Christiaan von Geldern


-Original Message-
From: Christiaan von Geldern [mailto:[EMAIL PROTECTED] 
Sent: donderdag 25 augustus 2005 19:43
To: 'freebsd-questions@freebsd.org'
Subject: RE: 3ware 8506-4LP not working after os upgrade

It isn't specified, like a lot of common raid controllers. But does it need
to? It was supported correctly in 4.9 so why should that support disappear
in 5.3? What was changed in twe it doesn't work anymore in 5.3. As
mentioned, another model 3ware controller still works properly after the
upgrade with the twe driver. And then there's still the question why it does
work in safe mode...

Christiaan

-Original Message-
From: Gayn Winters [mailto:[EMAIL PROTECTED] 
Sent: donderdag 25 augustus 2005 19:16
To: [EMAIL PROTECTED]
Subject: RE: 3ware 8506-4LP not working after os upgrade

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Christiaan von Geldern
> Sent: Thursday, August 25, 2005 9:38 AM
> To: freebsd-questions@freebsd.org
> Subject: 3ware 8506-4LP not working after os upgrade

> I'm having problems upgrading FreeBSD from 4.9 to 5.3. The 
> raid controller
> did work flawless with the fresh 4.9 install. When booting 
> from the 5.3 mini
> install iso the system hangs when the next step is mounting 
> the UFS root.
> Safe mode boots without a problem. After upgrading to 5.3, 
> the system hangs
> at the same point freezes the system so even a reset doesn't 
> help (need to
> hard power down holding power button). I really need to power 
> down and even
> after that loading the kernel sometimes freezes. Again, 
> booting in safe mode
> is no problem at all. When booting the system loads the twe 
> driver and seems
> to recognize the 4 port raid controller. Loading the old 4.9 
> kernel again
> doesn't have the problem. Nothing is in the logs, probably because the
> driver freezes before it can write anything at all.
> 
>  
> 
> I've seen some little topics about similar problems, but the 
> symptoms and
> hardware aren't totally equal. Besides, I can't find what solved their
> problems (besides downgrading or changing hardware). I even 
> don't have the
> resources to do that. My FreeBSD knowledge is not that really 
> big, but I do
> know the basics.
> 
>  
> 
> The system is a Supermicro case w/ P4SCT motherboard, 3ware 
> 8506-4LP raid
> controller and 4x Maxtor DiamondMax 9 160GB SATA drive (3x 
> raid5, 1x hot
> spare).
> 

It looks like your controller is supported by the twe(4) driver.
http://www.freebsd.org/releases/5.4R/hardware-i386.html#DISK

Use man ata to check if the ata(4) driver supports it.

-gayn


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


Re: Is the Free BSD 47snap licensed under the BSD or the GPL ?

2005-08-25 Thread Roland Smith
On Thu, Aug 25, 2005 at 10:18:53AM -0700, Hartley, Joice wrote:
> Please tell me if Free BSD 47 snap is licensed under the BSD or the GPL.
> Please provide a link.   Thanks

The base system is mostly under the BSD license. See
http://www.freebsd.org/copyright/freebsd-license.html

But some parts like the system compiler are under the GPL. See
/usr/src/gnu/COPYING.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpa3D45Z6chg.pgp
Description: PGP signature


make ".if exists" problem/question

2005-08-25 Thread Emanuel Strobl
Dear make gurus (bsd make, not gmake),

it seems that make checks .if directives only at statrup. How can I trigger 
a "reread"?
I have the problem that in one target I create a filetree, another target 
checks if it exists, if not it creates itself again. Now it works 
perfectly when I call the two targets both externally (installcfworld 
installcfconfig) but when the internal higher "install" gets to the 
installcfconfig target it fails!
I'm really desperate, I need to check this. Is this a nasty bug?

Thanks,

-Harry


pgpI56F8brpXo.pgp
Description: PGP signature


Re: question about Portaudit and code freezes

2005-08-25 Thread Joe Auty
Is Xpdf still listed in the portsaudit database as being vulnerable  
for you?


portaudit -f /usr/ports/INDEX-5

If so, I guess there is nothing I can do except wait... I was just  
wondering if this has not been corrected because of the freeze?



On Aug 25, 2005, at 11:12 AM, Roland Smith wrote:


On Thu, Aug 25, 2005 at 03:23:11AM -0500, Joe Auty wrote:


Hello,

How come xpdf is still showing up as a vulnerability, even though the
latest portrevision was supposed to resolve these problems? Has the
portaudit database not been updated because of the code freeze?



Some other ports (like cups-base) incorporate part of the xpdf
code. so they will still show up as vulnerable. But I think that the
message shouldn't refer to xpdf. It's confusing.

Roland
--
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as  
plain text.

public key: http://www.xs4all.nl/~rsmith/pubkey.txt



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


Re: question about Portaudit and code freezes

2005-08-25 Thread Roland Smith
On Thu, Aug 25, 2005 at 12:29:10PM -0500, Joe Auty wrote:
> On Aug 25, 2005, at 11:12 AM, Roland Smith wrote:
> 
> >On Thu, Aug 25, 2005 at 03:23:11AM -0500, Joe Auty wrote:
> >
> >>Hello,
> >>
> >>How come xpdf is still showing up as a vulnerability, even though the
> >>latest portrevision was supposed to resolve these problems? Has the
> >>portaudit database not been updated because of the code freeze?
> >>
> >
> >Some other ports (like cups-base) incorporate part of the xpdf
> >code. so they will still show up as vulnerable. But I think that the
> >message shouldn't refer to xpdf. It's confusing.
> >
> >Roland

(please, do not top-post) 
> Is Xpdf still listed in the portsaudit database as being vulnerable  
> for you?

No, it isn't. I think you misunderstand. AFAIK, cups includes a copy of
(part of?) xpdf. Even if the original xpdf is fixed, cups-base won't be
until a equivalent fix is applied, or the fixed code is imported into
cups-base. 

> If so, I guess there is nothing I can do except wait... I was just  
> wondering if this has not been corrected because of the freeze?

Could be, but I guess such a safety-related fix would not be held
back. Maybe a fix hasn't been applied to cups yet.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgphxf7B3f5P0.pgp
Description: PGP signature


Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE

2005-08-25 Thread Mark Kane

Roland Smith wrote:

Another thing to look at might be the scheduler. I'm using SCHED_4BSD.


Hmm, I'm using just a GENERIC kernel with support added in for my sound 
driver and atapicam for K3b. SCHED_4BSD looks default in GENERIC:


options SCHED_4BSD  # 4BSD scheduler

I've been trying this morning with no real disk I/O and just XMMS open. 
It's much better than if I did have a download/upload going using disk 
I/O or trying to read from a file on the drive, but still nowhere near 
perfect. Every minute I'll still hear a little skip or stutter in the 
audio, and still notice the mouse locking up a bit at the exact moment 
that happens.


So you have no similar problems in -STABLE? How about when untarring a 
bigger file and playing audio? If not, then maybe trying STABLE on that 
other drive might be a good idea.


The reason I wanted to see any changelog was to see if there is any 
changes to this part of the code at all before trying it, but file by 
file I would probably be lost since I am not a programmer.


Thanks.

-Mark

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


help

2005-08-25 Thread Christiaan von Geldern
 

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


RE: 3ware 8506-4LP not working after os upgrade

2005-08-25 Thread Christiaan von Geldern
It isn't specified, like a lot of common raid controllers. But does it need
to? It was supported correctly in 4.9 so why should that support disappear
in 5.3? What was changed in twe it doesn't work anymore in 5.3. As
mentioned, another model 3ware controller still works properly after the
upgrade with the twe driver. And then there's still the question why it does
work in safe mode...

Christiaan

-Original Message-
From: Gayn Winters [mailto:[EMAIL PROTECTED] 
Sent: donderdag 25 augustus 2005 19:16
To: [EMAIL PROTECTED]
Subject: RE: 3ware 8506-4LP not working after os upgrade

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Christiaan von Geldern
> Sent: Thursday, August 25, 2005 9:38 AM
> To: freebsd-questions@freebsd.org
> Subject: 3ware 8506-4LP not working after os upgrade

> I'm having problems upgrading FreeBSD from 4.9 to 5.3. The 
> raid controller
> did work flawless with the fresh 4.9 install. When booting 
> from the 5.3 mini
> install iso the system hangs when the next step is mounting 
> the UFS root.
> Safe mode boots without a problem. After upgrading to 5.3, 
> the system hangs
> at the same point freezes the system so even a reset doesn't 
> help (need to
> hard power down holding power button). I really need to power 
> down and even
> after that loading the kernel sometimes freezes. Again, 
> booting in safe mode
> is no problem at all. When booting the system loads the twe 
> driver and seems
> to recognize the 4 port raid controller. Loading the old 4.9 
> kernel again
> doesn't have the problem. Nothing is in the logs, probably because the
> driver freezes before it can write anything at all.
> 
>  
> 
> I've seen some little topics about similar problems, but the 
> symptoms and
> hardware aren't totally equal. Besides, I can't find what solved their
> problems (besides downgrading or changing hardware). I even 
> don't have the
> resources to do that. My FreeBSD knowledge is not that really 
> big, but I do
> know the basics.
> 
>  
> 
> The system is a Supermicro case w/ P4SCT motherboard, 3ware 
> 8506-4LP raid
> controller and 4x Maxtor DiamondMax 9 160GB SATA drive (3x 
> raid5, 1x hot
> spare).
> 

It looks like your controller is supported by the twe(4) driver.
http://www.freebsd.org/releases/5.4R/hardware-i386.html#DISK

Use man ata to check if the ata(4) driver supports it.

-gayn


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


Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE

2005-08-25 Thread Roland Smith
On Thu, Aug 25, 2005 at 11:21:41AM -0500, Mark Kane wrote:
> >/boot/device.hints:
> >
> ># Larger DMA buffer for the soundcard, for better sound quality.
> >hint.pcm.0.buffersize="16384"
> 
> Hey Roland. Yeah, back when I was looking into amd64 vs i386 version and 
> had a thread going that you replied to, I checked out your website and 
> saw your FreeBSD settings. :)
> 
> I tried that device.hints setting on my backup Athlon XP 2000+ machine 
> with just onboard sound and that seemed to make it worse. Maybe because 
> it was crummy onboard. This machine runs an Audigy 2 Platinum.
> 
> If it was just the sound doing this and not the mouse and display 
> freezing as well as any video playing then I think it would be much 
> easier to troubleshoot and pinpoint.
> 
> I could try -STABLE on that spare hard drive though.

Another thing to look at might be the scheduler. I'm using SCHED_4BSD.

> P.S. On an unrelated note, is there any "changelog" or anything for 
> -STABLE to see what changes have been made?

Hmm. /usr/src/UPDATING is one source of information. If you want to look
at the change history of individual files, check out the CVS web
interface: http://www.freebsd.org/cgi/cvsweb.cgi/

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpePeGt1MOSb.pgp
Description: PGP signature


Re: Pine alternative?

2005-08-25 Thread Derrick MacPherson
Try using Cone.

On Thu, 2005-08-25 at 12:25 -0500, Joe Auty wrote:
> If you plan to use the Maildir format, while it's possible for Pine  
> to support this, it doesn't natively... Mutt does.
> 
> On Aug 25, 2005, at 10:51 AM, Svein Halvor Halvorsen wrote:
> 
> >
> > * Sean Murphy [2005-08-25 08:47 -0700]
> >
> >>  We have been using pine for years on our Sun Solaris box.  We are  
> >> in the
> >>  process of moving to FreeBSD.  I installed Pine from an updated  
> >> ports
> >>  collection and received a message about pine not being very  
> >> secure.  Is
> >>  anyone using an alternative to pine that can also read pine's  
> >> folders and
> >>  addresses?  I need it to be compatible as we still have many  
> >> users with lots
> >>  of data in pine.
> >>
> >
> >
> > I guess mutt would do. But be aware that the notice is warning you  
> > about
> > Pine's previous security history. All known security holes are  
> > fixed, and
> > if you plan on keeping your system up-to-date (by e.g keeping track of
> > portaudit etc), you should be alright.
> >
> >
> > Svein Halvor
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions- 
> > [EMAIL PROTECTED]"
> >
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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


Re: Pine alternative?

2005-08-25 Thread Joe Auty
If you plan to use the Maildir format, while it's possible for Pine  
to support this, it doesn't natively... Mutt does.


On Aug 25, 2005, at 10:51 AM, Svein Halvor Halvorsen wrote:



* Sean Murphy [2005-08-25 08:47 -0700]

 We have been using pine for years on our Sun Solaris box.  We are  
in the
 process of moving to FreeBSD.  I installed Pine from an updated  
ports
 collection and received a message about pine not being very  
secure.  Is
 anyone using an alternative to pine that can also read pine's  
folders and
 addresses?  I need it to be compatible as we still have many  
users with lots

 of data in pine.




I guess mutt would do. But be aware that the notice is warning you  
about
Pine's previous security history. All known security holes are  
fixed, and

if you plan on keeping your system up-to-date (by e.g keeping track of
portaudit etc), you should be alright.


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




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


Is the Free BSD 47snap licensed under the BSD or the GPL ?

2005-08-25 Thread Hartley, Joice
Please tell me if Free BSD 47 snap is licensed under the BSD or the GPL.
Please provide a link.   Thanks
 

Joice Hartley

Mentor Graphics Corporation

8005 S.W. Boeckman Road

Wilsonville, Oregon 97070 USA 

ph:  503-685-1042

fax: 503-685-1543

[EMAIL PROTECTED]

 

The information in this message is intended for the named recipient(s)
only.  It may contain privileged, confidential or protected information.
If you are not the intended recipient, please contact the sender and
immediately delete all copies.

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


Re: question about Portaudit and code freezes

2005-08-25 Thread Joe Auty
Yes, everything is up-to-date... Still can't portinstall cups-base  
because of the problem with xpdf, and this problem still appears when I


portaudit -f /usr/ports/INDEX-5



On Aug 25, 2005, at 4:40 AM, Herbert J. Skuhra wrote:


On Thu, Aug 25, 2005 at 03:23:11AM -0500, Joe Auty wrote:


 Hello,

 How come xpdf is still showing up as a vulnerability, even though  
the

 latest portrevision was supposed to resolve these problems? Has the
 portaudit database not been updated because of the code freeze?



Is your ports-tree and your portaudit database up-to-date?

% portaudit -d <-- Print the creation date of the database.
Database created: Thu 25 Aug 2005 11:10:20 CEST

% sudo portaudit -F<-- Fetch the current database.

% pkg_version -v |grep xpdf
xpdf-3.00_7 =   up-to-date with port

% portaudit -a
0 problem(s) in your installed packages found.

Mvh
Herbert



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


Re: cannot ssh to machine on lan when it has no internet connection

2005-08-25 Thread Simon Morgan
On 8/25/05, Ben Pratt <[EMAIL PROTECTED]> wrote:
> I'm not sure if this will work or not but try setting up /etc/hosts to
> reflect your LAN. I had a friend who had issues when, even though he was
> connected to the Internet, he had DNS messed up on his FreeBSD system.
> I'm thinking the SSH server is trying to do some DNS lookups and if you
> set your hosts file to have the information about the client machine
> that may be resolved.

Thanks for the reply. That would probably fix it but ideally I'd like to fix the
root of the problem. Not being able to resolve the IP of a client really
shouldn't stop them from connecting using SSH and if there's a bug
in there somewhere I'd like to get it fixed so that it doesn't bite
anybody else.

I'm thinking dnscache would probably have to timeout on all the
root servers before sending a response to SSH saying it couldn't
resolve the hostname which might be the cause of the problem, but
that shouldn't affect SSH which should timeout waiting for a
response from dnscache. The authentication timeout in auth.log
appears to indicate that SSH is counting any delay in name
resolution towards that of authentication which seems to me to
be very broken behaviour considering that SSH isn't accepting
any form of authentication, at least not keyboard-interactive.

Basically I'm waiting for somebody to tell me that I've made some
stupid mistake otherwise I'll file a bug.

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


3ware 8506-4LP not working after os upgrade

2005-08-25 Thread Christiaan von Geldern
Hi, 

 

I'm having problems upgrading FreeBSD from 4.9 to 5.3. The raid controller
did work flawless with the fresh 4.9 install. When booting from the 5.3 mini
install iso the system hangs when the next step is mounting the UFS root.
Safe mode boots without a problem. After upgrading to 5.3, the system hangs
at the same point freezes the system so even a reset doesn't help (need to
hard power down holding power button). I really need to power down and even
after that loading the kernel sometimes freezes. Again, booting in safe mode
is no problem at all. When booting the system loads the twe driver and seems
to recognize the 4 port raid controller. Loading the old 4.9 kernel again
doesn't have the problem. Nothing is in the logs, probably because the
driver freezes before it can write anything at all.

 

I've seen some little topics about similar problems, but the symptoms and
hardware aren't totally equal. Besides, I can't find what solved their
problems (besides downgrading or changing hardware). I even don't have the
resources to do that. My FreeBSD knowledge is not that really big, but I do
know the basics.

 

The system is a Supermicro case w/ P4SCT motherboard, 3ware 8506-4LP raid
controller and 4x Maxtor DiamondMax 9 160GB SATA drive (3x raid5, 1x hot
spare).

 

Thanks in advance!

 

PS: An upgrade with a Supermicro case w/ dual xeon motherboard, 3ware
8006-2LP raid controller and 2x Maxtor DiamondMax 9 120GB SATA drive (raid1)
didn't have the problem.

 

 

 

 

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


Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE

2005-08-25 Thread Mark Kane

Roland Smith wrote:

My amd64 machine does not have this problem. I'm running 5.4-STABLE:

FreeBSD slackbox.xs4all.nl 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Aug 10
20:25:45 CEST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/RFS amd64

One thing I did do was enlarge the soundcard's DMA buffer in
/boot/device.hints:

# Larger DMA buffer for the soundcard, for better sound quality.
hint.pcm.0.buffersize="16384"


Hey Roland. Yeah, back when I was looking into amd64 vs i386 version and 
had a thread going that you replied to, I checked out your website and 
saw your FreeBSD settings. :)


I tried that device.hints setting on my backup Athlon XP 2000+ machine 
with just onboard sound and that seemed to make it worse. Maybe because 
it was crummy onboard. This machine runs an Audigy 2 Platinum.


If it was just the sound doing this and not the mouse and display 
freezing as well as any video playing then I think it would be much 
easier to troubleshoot and pinpoint.


I could try -STABLE on that spare hard drive though.

Thanks.

-Mark

P.S. On an unrelated note, is there any "changelog" or anything for 
-STABLE to see what changes have been made?

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


Re: Pine alternative?

2005-08-25 Thread Philip Hallstrom
We have been using pine for years on our Sun Solaris box.  We are in the 
process of moving to FreeBSD.  I installed Pine from an updated ports 
collection and received a message about pine not being very secure.  Is 
anyone using an alternative to pine that can also read pine's folders and 
addresses?  I need it to be compatible as we still have many users with lots 
of data in pine.


Could be wrong, but my understanding was that any issues with Pine weren't 
an issue if your users had shell access in the first place.  That is, one 
of the problems was if you drop your users right into pine (or via some 
restricted shell) it's possible for them to drop into a sub shell, etc. 
from within pine.


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


RE: Booting FreeBSD over network or serial links?

2005-08-25 Thread Gayn Winters


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of iv gan
> Sent: Thursday, August 25, 2005 2:49 AM
> To: Glenn Dawson
> Cc: Sarath Kamisetty; freebsd-questions@freebsd.org
> Subject: Re: Booting FreeBSD over network or serial links?
> 
> 
> If your don't have pxe on your motherboard try the Etherboot.
> www.etherboot.org
> 
> greets
> 
> On 8/25/05, Glenn Dawson <[EMAIL PROTECTED]> wrote:
> > At 05:54 PM 8/24/2005, Sarath Kamisetty wrote:
> > >Hi,
> > >
> > >I have two PCs, one with linux installed and another one 
> is a old PC.
> > >I would like use my linux pc to make modifications to freebsd code
> > >base and then test it on my old PC. After compiling 
> freebsd image on
> > >my linux pc, how do I boot this image on my old PC ? Is 
> there a cost
> > >effective way of doing this without using floppies or CDs which is
> > >time consuming ? Can I run some special image on my old PC 
> to let it
> > >fetch the newly compiled image everytime ?? Does anyone 
> have this kind
> > >of setup ? Can I setup a console server for cheap and 
> acheive this ?
> > >Please share your thoughts on this.
> > 
> > If you have an intel NIC which supports PXE, you can boot 
> the machine
> > from a kernel that's on another machine and shared by NFS or
> > tftp.  Take a look at the man page for pxeboot(8), as well as the
> > development(7) man page for some good info.
> > 
> > -Glenn

If you want a single ethernet cable between the two PC's you'll need to
make or buy a cross-over cable.
http://www.makeitsimple.com/how-to/dyi_crossover.htm

-gayn


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


Re: question about Portaudit and code freezes

2005-08-25 Thread Roland Smith
On Thu, Aug 25, 2005 at 03:23:11AM -0500, Joe Auty wrote:
> Hello,
> 
> How come xpdf is still showing up as a vulnerability, even though the  
> latest portrevision was supposed to resolve these problems? Has the  
> portaudit database not been updated because of the code freeze?

Some other ports (like cups-base) incorporate part of the xpdf
code. so they will still show up as vulnerable. But I think that the
message shouldn't refer to xpdf. It's confusing.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpC1ST0wMtsc.pgp
Description: PGP signature


Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE

2005-08-25 Thread Roland Smith
On Wed, Aug 24, 2005 at 10:16:51PM -0500, Mark Kane wrote:
> 
> The issue I'm having is that every minute or two, I will hear some 
> stuttering in any audio/video playback (will see the video freeze if 
> video), and my mouse will freeze for a few seconds as well while this 
> happens. It seems to happen more frequently if I have something doing 
> disk I/O, such as downloads running, untarring files, or torrents. Right 
> now, I have the following applications open:

My amd64 machine does not have this problem. I'm running 5.4-STABLE:

FreeBSD slackbox.xs4all.nl 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Aug 10
20:25:45 CEST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/RFS amd64

One thing I did do was enlarge the soundcard's DMA buffer in
/boot/device.hints:

# Larger DMA buffer for the soundcard, for better sound quality.
hint.pcm.0.buffersize="16384"

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpCLIcV3uiQQ.pgp
Description: PGP signature


Re: Illegal access attempt - FreeBSD 5.4 Release - please advise

2005-08-25 Thread Peter N. M. Hansteen
"Chris St Denis" <[EMAIL PROTECTED]> writes:

> How can I easily auto deny after x failed attempts? Is this an sshd setting?
> I could find it.
>
> Is there something in ports that will firewall off somebody who is brute
> forcing?

With PF, it's fairly easy to set up with max-src-conn, max-src-conn-rate
overload  in your pass rule.  See pf.conf(5) for
details.  There's probably some magic around to make this doable with
other firewalls as well.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
"First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales"

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


Re: make own freebsd distro

2005-08-25 Thread Paul T. Root

Way back in the, I'd have to guess, 2.2.8 days. I made
my own distro on CD, for my multiple desktops. It was
a boot floppy (I think I had the CD boot) and a script
to partition, newfs, etc. the disk, and then do a restore
from the dumps I made of the template machine.

Then the script went through setting the hostname, and such,
in the file that was replaced by rc.conf. /etc/sysconfig maybe?
It was a long time ago.

It wasn't particularly fast, but it worked.

iv gan wrote:

Try man sysinstall. You can easily script the sysinstall and create an
install.cfg and personalize the installation including packages,
config files, users to add, etc. It is a bit tricky but it is enough
powerfll for your needs I think so.
So first try a mfsroot file. Then mount it on your machine
mdconfig -a -t vnode -u 0 -f /path/to/mfsroot
mount /dev/md0 /mnt/mfs

In /mnt/mfs then you have to create install.cfg there is an example of
that file somewhere on your disk, don't remember anymore. Then put
back the mfsroot in /your/disk/to/burn/boot/
Then mkisofs it and cdrecord it etc.

And that's all. Another solution is to set up a installation server.
This is also covered by sysinstall. A nice howto is situated at
http://www.tnpi.biz/computing/freebsd/pxe-netboot.shtml.

What else. If you really need to put in on a cd you can probably use
an emulator like qemu to see if things work before burn etc..
good luck 


Ivo


On 8/25/05, Damon Blom <[EMAIL PROTECTED]> wrote:


Hi
  I have a current-freebsd 7.0 amd64 system on my Presario 3000. Is there any
way I can make a freebsd distro cd (disk 1 and disk2 ) of my system so I can
easily put it on other presarios or easily reinstall it back on my notebook
after disk crash?
  Thank's
 Damon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



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


--
   __   Paul T. Root
  /_ \  1977 MGB
 /  /||  \\
||\/ ||  _ |
||   ||   ||
 \   ||__//
  \__/

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


Re: very big files on cd9660 file system

2005-08-25 Thread Mikhail Teterin
> ISO9660 does not use 64-bit values.  Those 8-byte values you see in
> the headers are 32-bit values stored first in little-endian format and
> second in big-endian format.

So, in my original question, the blame lies solely with

3) ISO-9660 standard

? No single file on a ISO9660 filesystem may exceed 4Gb?

Is there some newer, superceeding backwards-compatible standard -- all the new 
DVD devices are now offering the media to store large files? Or is fat32 the 
only cross-platform option today?

-mi

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


Re: Pine alternative?

2005-08-25 Thread Svein Halvor Halvorsen

* Sean Murphy [2005-08-25 08:47 -0700]
>  We have been using pine for years on our Sun Solaris box.  We are in the
>  process of moving to FreeBSD.  I installed Pine from an updated ports
>  collection and received a message about pine not being very secure.  Is
>  anyone using an alternative to pine that can also read pine's folders and
>  addresses?  I need it to be compatible as we still have many users with lots
>  of data in pine.


I guess mutt would do. But be aware that the notice is warning you about 
Pine's previous security history. All known security holes are fixed, and 
if you plan on keeping your system up-to-date (by e.g keeping track of 
portaudit etc), you should be alright.


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


Pine alternative?

2005-08-25 Thread Sean Murphy
We have been using pine for years on our Sun Solaris box.  We are in the 
process of moving to FreeBSD.  I installed Pine from an updated ports 
collection and received a message about pine not being very secure.  Is 
anyone using an alternative to pine that can also read pine's folders 
and addresses?  I need it to be compatible as we still have many users 
with lots of data in pine.


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


Re: make own freebsd distro

2005-08-25 Thread iv gan
Try man sysinstall. You can easily script the sysinstall and create an
install.cfg and personalize the installation including packages,
config files, users to add, etc. It is a bit tricky but it is enough
powerfll for your needs I think so.
So first try a mfsroot file. Then mount it on your machine
mdconfig -a -t vnode -u 0 -f /path/to/mfsroot
mount /dev/md0 /mnt/mfs

In /mnt/mfs then you have to create install.cfg there is an example of
that file somewhere on your disk, don't remember anymore. Then put
back the mfsroot in /your/disk/to/burn/boot/
Then mkisofs it and cdrecord it etc.

And that's all. Another solution is to set up a installation server.
This is also covered by sysinstall. A nice howto is situated at
http://www.tnpi.biz/computing/freebsd/pxe-netboot.shtml.

What else. If you really need to put in on a cd you can probably use
an emulator like qemu to see if things work before burn etc..
good luck 

Ivo


On 8/25/05, Damon Blom <[EMAIL PROTECTED]> wrote:
> Hi
>I have a current-freebsd 7.0 amd64 system on my Presario 3000. Is there any
> way I can make a freebsd distro cd (disk 1 and disk2 ) of my system so I can
> easily put it on other presarios or easily reinstall it back on my notebook
> after disk crash?
>Thank's
>   Damon
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /rescue/vi doesn't work without /usr (no terminal db)

2005-08-25 Thread N.J. Thomas
* Giorgos Keramidas <[EMAIL PROTECTED]> [2005-08-25 17:10:37 +0300]:
> On 2005-08-25 10:04, "N.J. Thomas" <[EMAIL PROTECTED]> wrote:
> > In the meantime, how can I run /rescue/vi without /usr?
> 
> I don't think you can.  It only needs a read-only /usr though, so if
> /usr is a local filesystem you can probably get away with:
> 
>   # mount -o ro /usr

Yeah, I was actually thinking of the (rare) case when /usr was not
accessible. This time it was, so I got away with it.

But I did find this in rescue(8) however:

BUGS

Most of the rescue tools work even in a fairly crippled system.
The most egregious exception is the rescue version of vi(1),
which currently requires that /usr be mounted so that it can
access the termcap(5) files. Hopefully, a failsafe termcap(3)
entry will eventually be added into the ncurses(3) library, so
that /rescue/vi can be used even in a system where /usr cannot
immediately be mounted.  In the meantime, the rescue version of
the ed(1) editor can be used from /rescue/ed if you need to edit
files, but cannot mount /usr.

I don't know how old this note is, but I hope the failsafe termcap will
be added soon.

Thomas

-- 
N.J. Thomas
[EMAIL PROTECTED]
Etiamsi occiderit me, in ipso sperabo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Recommended (dual headed) gfx Card

2005-08-25 Thread martin
Hi,

  Am looking to get a new gfx card for my FreebSD Desktop, and wondering
if anyone has any recommendations of whats good/bad in relation to
working with FreeBSD. Currently I am using the dual head build in gfx
card on my nvidia nforce2 mobo (2 monitors attached), which does the job
fine, but it is a little sluggish at times and when I tried turned on
transparancy in xorg/kde it got really slow.

  Am not looking for anything too extreme, just something that will handle
the eye candy from kde without breaking into a sweat, and dual headed
for the two monitors. I found setting up dual displays with the nvidia
driver pretty easy, so without a good reason to do otherwise, I would
stay with them. Only other critieria is my system is mini case (X
factor/form or whatever you want to call it) so I would be concerned
about heat, although this may just be my parania.

Cheers,
Martin


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


make own freebsd distro

2005-08-25 Thread Damon Blom
Hi
   I have a current-freebsd 7.0 amd64 system on my Presario 3000. Is there any
way I can make a freebsd distro cd (disk 1 and disk2 ) of my system so I can 
easily put it on other presarios or easily reinstall it back on my notebook 
after disk crash?
   Thank's 
  Damon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE

2005-08-25 Thread Mark Kane

Daniel Marsh wrote:
To get the CD device in dma try setting hw.ata.atapi_dma to 1 with 
sysctl  (may need to go into loader)


Only reason I didn't put the DVD burner in DMA is because a K3b howto 
guide recommended PIO mode. I no longer use K3b (but growisofs) so I 
guess I could try it but I'm not sure how that would affect this 
particular problem.


In note of the problem of having multiple drives per channel, have you  
tried running one hard drive and seeing if you have any of the 
discussed  problems? Have you tried disconnecting the raid totally 
(pulling out the  promise raid)


Well I started initially with one hard drive when I was rebuilding the 
system. It didn't seem to have any issues on it's own because it's when 
transferring data to one of the other drives on the same channel that 
the errors occurred. I also started without the Promise totally because 
at that point I didn't know what the problem was. I was downgrading the 
speeds on some of the drives via atacontrol to udma100 and it seemed to 
work then with two drives on the same channel, but after more testing it 
failed as well.


Kris Kennaway wrote:

This is a known bug in FreeBSD.  It is fixed in 6.0, and there is a
patch for 5.4 (search on -current from Jeff Roberson), which will be
committed at some point.


I found the sound skipping thread by Jeff. Looks like a great 
explanation, however my problem even occurs even with light disk I/O 
such as reading an mp3/Ogg/video file off any of the drives. I did some 
more testing with actual files off the drives last night instead of 
streams, and it seems worse with actual files.


I'm not sure if the proposed patch will fix it or not, and trying 
6.0-BETA2 for my other hardware/hard drive problem just introduced new 
problems (panics, network stuff not recognized, etc). I do have a spare 
hard drive where I could put test anything though if you think trying 
-CURRENT or another BETA would be worthwhile.


Thanks.

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


Re: /rescue/vi doesn't work without /usr (no terminal db)

2005-08-25 Thread Giorgos Keramidas
On 2005-08-25 10:04, "N.J. Thomas" <[EMAIL PROTECTED]> wrote:
> I just booted into single user on a 5.4-p6 system. I needed to edit
> something on the root fs, but /rescue/vi wouldn't work, it complained
> about not finding the terminal database.
>
> I saw some mention in the archives from June about fixing this, though I
> don't think anything has been comitted yet.
>
> In the meantime, how can I run /rescue/vi without /usr?

I don't think you can.  It only needs a read-only /usr though, so if
/usr is a local filesystem you can probably get away with:

# mount -o ro /usr

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


/rescue/vi doesn't work without /usr (no terminal db)

2005-08-25 Thread N.J. Thomas
I just booted into single user on a 5.4-p6 system. I needed to edit
something on the root fs, but /rescue/vi wouldn't work, it complained
about not finding the terminal database.

I saw some mention in the archives from June about fixing this, though I
don't think anything has been comitted yet.

In the meantime, how can I run /rescue/vi without /usr?

thanks,
Thomas

-- 
N.J. Thomas
[EMAIL PROTECTED]
Etiamsi occiderit me, in ipso sperabo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD on old laptop, installer panic

2005-08-25 Thread Jason Morgan
On Wed, Aug 24, 2005 at 06:55:57PM -0400, Zac Berkowitz wrote:
> I'm giving FreeBSD a go on my laptop, but I'm running into problems 
> straight off the 5.4-STABLE installer.  At first it would hang without an 
> error.  After I disabled power management in the bios  I got a bit further 
> - now it crashes with a panic:
> -
> pcib0:  pcibus 0 on motherboard
> pir0:  on motherboard
> pci0:  on pcib0
> 
> Fatal trap 12: page fault while in kernel mode
> fault virtual address = 0xeb871
> fault code  = supervisor read, page not present
> instruction pointer   = 0x8 :0xc00eb757
> stack pointer  = 0x10 :0xc1020a0
> frame pointer  = 0x10 :0xc1020a0
> code segment = base 0x0, limit 0xf, type 0x1b
>= DPL 0, pres 1, def32 1, IOPL = 0
> processor eflags  = interrupt enabled, resume, IOPL = 0
> current process   = 0
> trap number=12
> 
> panic: page fault
> 
> 
> Some googling with the fault virtual address turned up a few pages, but 
> none in english and seemingly none coming to a solution.  lspci -v in linux 
> gives me
> 
> -
> :00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge 
> (rev 03) (prog-if 00 [Normal decode])
>Flags: bus master, 66MHz, medium devsel, latency 0
>Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
>I/O behind bridge: 8000-9fff
>Memory behind bridge: d800-dfff
>Prefetchable memory behind bridge: d000-d7ff
> -
> 
> Any ideas?  Usually my *NIX give me panics /after/ I get through installing 
> them : p
> 

I've had the same problem on an old laptop. I was told to try older
releases (tried 4.11 and 5.4). I haven't gotten around to it, but that's
somewhere to start.

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


Doubt when installing bootsector

2005-08-25 Thread Marcello Maggioni
Hi all, I have a doubt.

I've installed FreeBSD 5.4 and now I need to reinstall my bootsector
in the MBR .

I've partitioned the disk initially with sysinstall that on my first
disk complained about wrong geometry settings. From what I understood
by reading the source code ,sysinstall complains about every geometry
setting that gets over 65535 as number of cylinders and FreeBSD
initially at boot time found this geometry for my 60GiB disk :
116336/16/63. Then sysinstall changed it to 7299/255/63.

Now that I have to reinstall the boot sector I'd like to do that with
the FDISK utility , but the FDISK utility sees the first CHS geometry
, the one that FreeBSD sees at boot time (116336/16/63) , from the
moment that I have partitioned all the system with sysinstall is safe
to install the boot sector from fdisk that sees a different BIOS
geometry than sysinstall? (and why sysinstall and FreeBSD see 2
different geometries?)

Thanks for the answer

Bye

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


Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE

2005-08-25 Thread Kris Kennaway
On Wed, Aug 24, 2005 at 10:16:51PM -0500, Mark Kane wrote:
> Hi everyone. Last night I finally worked out some issues with my AMD64 
> machine and got it up and operational. It's an AMD64 3000+ with 1.5GB 
> RAM, and five 7200RPM hard drives (total of 720 gigs) running FreeBSD 
> 5.4-RELEASE (amd64). When doing testing and initial 
> install/configuration of this machine (compiling apps and such) I didn't 
> notice this too much, but now that I'm actually using it this is 
> starting to be noticeable.
> 
> The issue I'm having is that every minute or two, I will hear some 
> stuttering in any audio/video playback (will see the video freeze if 
> video), and my mouse will freeze for a few seconds as well while this 
> happens. It seems to happen more frequently if I have something doing 
> disk I/O, such as downloads running, untarring files, or torrents. Right 
> now, I have the following applications open:

This is a known bug in FreeBSD.  It is fixed in 6.0, and there is a
patch for 5.4 (search on -current from Jeff Roberson), which will be
committed at some point.

Kris

pgpoqytndDLmi.pgp
Description: PGP signature


Re: very big files on cd9660 file system

2005-08-25 Thread Dag-Erling Smørgrav
The attached patch should make the isonum functions in iso.h much
clearer.  It also gets rid of the optimizated versions; I trust the
compiler to take care of that.

The inode number situation can be improved by dividing the byte offset
of the directory entry by a suitable number guaranteed not to be
larger than the size in bytes of any directory entry, e.g. 32 (IIUC, a
directory entry contains at least 33 bytes of metadata and padding in
addition to the file name)

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]

Index: sys/isofs/cd9660/iso.h
===
RCS file: /home/ncvs/src/sys/isofs/cd9660/iso.h,v
retrieving revision 1.30
diff -u -r1.30 iso.h
--- sys/isofs/cd9660/iso.h	14 Mar 2005 13:22:41 -	1.30
+++ sys/isofs/cd9660/iso.h	25 Aug 2005 12:33:44 -
@@ -277,79 +277,65 @@
  * outside the kernel.  Thus we don't hide them here.
  */
 
-static __inline int isonum_711(u_char *);
-static __inline int
-isonum_711(p)
-	u_char *p;
+/*
+ * 7xy
+ *  x -> 1 = 8 bits, 2 = 16 bits, 3 = 32 bits
+ *   y -> 1 = little-endian, 2 = big-endian, 3 = both (le then be)
+ */
+
+static __inline uint8_t
+isonum_711(unsigned char *p)
 {
-	return *p;
+	return p[0];
 }
 
-static __inline int isonum_712(char *);
-static __inline int
-isonum_712(p)
-	char *p;
+static __inline uint8_t
+isonum_712(unsigned char *p)
 {
-	return *p;
+	return p[0];
 }
 
-#ifndef UNALIGNED_ACCESS
-
-static __inline int isonum_723(u_char *);
-static __inline int
-isonum_723(p)
-	u_char *p;
+static __inline uint8_t
+isonum_713(unsigned char *p)
 {
-	return *p|(p[1] << 8);
+	return p[0];
 }
 
-static __inline int isonum_733(u_char *);
-static __inline int
-isonum_733(p)
-	u_char *p;
+static __inline uint16_t
+isonum_721(unsigned char *p)
 {
-	return *p|(p[1] << 8)|(p[2] << 16)|(p[3] << 24);
+	return (p[0] | p[1] << 8);
 }
 
-#else /* UNALIGNED_ACCESS */
-
-#if BYTE_ORDER == LITTLE_ENDIAN
-
-static __inline int
-isonum_723(p)
-	u_char *p
+static __inline uint16_t
+isonum_722(unsigned char *p)
 {
-	return *(u_int16t *)p;
+	return (p[1] | p[0] << 8);
 }
 
-static __inline int
-isonum_733(p)
-	u_char *p;
+static __inline uint16_t
+isonum_723(unsigned char *p)
 {
-	return *(u_int32t *)p;
+	return (p[0] | p[1] << 8);
 }
 
-#endif
-
-#if BYTE_ORDER == BIG_ENDIAN
-
-static __inline int
-isonum_723(p)
-	u_char *p
+static __inline uint32_t
+isonum_731(unsigned char *p)
 {
-	return *(u_int16t *)(p + 2);
+	return (p[0] | p[1] << 8 | p[2] << 16 | p[3] << 24);
 }
 
-static __inline int
-isonum_733(p)
-	u_char *p;
+static __inline uint32_t
+isonum_732(unsigned char *p)
 {
-	return *(u_int32t *)(p + 4);
+	return (p[3] | p[2] << 8 | p[1] << 16 | p[0] << 24);
 }
 
-#endif
-
-#endif /* UNALIGNED_ACCESS */
+static __inline uint32_t
+isonum_733(unsigned char *p)
+{
+	return (p[0] | p[1] << 8 | p[2] << 16 | p[3] << 24);
+}
 
 /*
  * Associated files have a leading '='.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: very big files on cd9660 file system

2005-08-25 Thread Dag-Erling Smørgrav
Bruce Evans <[EMAIL PROTECTED]> writes:
> Mostly (b).  Sizes are 64 bits in the standard, but FreeBSD has always
> silently discarded the highest 32 bits and corrupted the next highest
> bit to a sign bit, so the file size limit is at most 2GB or 4GB
> (depending on whether the sign bit gets corrupted back to a value bit).

ISO9660 does not use 64-bit values.  Those 8-byte values you see in
the headers are 32-bit values stored first in little-endian format and
second in big-endian format.

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]

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


Re: Illegal access attempt - FreeBSD 5.4 Release - please advise

2005-08-25 Thread Lee Capps
On 11:18 Wed 24 Aug , Chris St Denis wrote:
> How can I easily auto deny after x failed attempts? Is this an sshd setting?
> I could find it.
> 
> Is there something in ports that will firewall off somebody who is brute
> forcing?

In addition to adding entries to /etc/hosts.allow you could try
DenyHosts:

http://denyhosts.sourceforge.net/

I didn't find a port, but it works with FreeBSD and isn't too onerous to
install.

HTH,

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


rlimitmem

2005-08-25 Thread Omer Faruk Sen
Hi, 

Is there anyone in this list that used rlimitmem directive in apache1x on 
FreeBSD? 

I have set it to  RLimitMEM  2597152 4194304 but top command shows me that 
httpd uses 20mb of ram maximum. I think it is related with FreeBSD. How can 
I change a processes maximum ram size in RAM or am I totally wrong about 
this issue? 

Best Regards. 


---
Omer Faruk Sen
http://www.EnderUNIX.ORG
Software Development Team @ Turkey
http://www.Faruk.NET
For Public key: http://www.enderunix.org/ofsen/ofsen.asc
 



First Turkish Qmail book is out! Go check it.
Duydunuz mu! Turkiye'nin ilk Qmail kitabi cikti.
http://www.acikakademi.com/catalog/qmail/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sending files to Win/Linux client from FreeBSD server?

2005-08-25 Thread Andreas Rudisch
On Thu, 2005-08-25 at 01:57 -0700, Jamie Ann P. Zamodio wrote:
> Hi everyone :)
> 
> I'd just like to ask if there's a specific command I
> can use to send files from my FreeBSD 4.3 server to my
> Windows XP/ Red Hat Linux clients. I'm totally stuck
> to mounting and unmounting a floppy disk and
> transferring the files by copying and pasting from PC
> to PC. There's got to be an easier way, but I can't
> seem to find anything on Google. Please help me.
> 
> Thanks in advance,
> Jamie

You could set FTP-Server (I prefer vsftpd) or Samba.

Andreas

-- 
GnuPG key  : 0xD25FCC81  |  http://cyb.websimplex.de/pubkey.asc
Fingerprint: D182 6F22 7EEC DD4C 0F6E  564C 691B 0372 D25F CC81





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


cannot ssh to machine on lan when it has no internet connection

2005-08-25 Thread Simon Morgan
When I try to SSH to a machine on my LAN when its Internet connection
is down I get the following:

OpenSSH_3.9p1 Debian-1ubuntu2, OpenSSL 0.9.7e 25 Oct 2004
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *

debug1: Next authentication method: keyboard-interactive

Connection closed by 82.71.120.78

In the remote machines /var/log/auth.log I see:

Aug 25 10:37:10 bollo sshd[465]: fatal: Timeout before authentication
for 82.71.120.74

The resolv.conf on the remote machine has a single entry which points
to the machine itself which is running dnscache.

Any ideas? Could this be construed as being a bug?

Please CC me on any replies.

Thanks.

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


Re: Booting FreeBSD over network or serial links?

2005-08-25 Thread iv gan
If your don't have pxe on your motherboard try the Etherboot.
www.etherboot.org

greets

On 8/25/05, Glenn Dawson <[EMAIL PROTECTED]> wrote:
> At 05:54 PM 8/24/2005, Sarath Kamisetty wrote:
> >Hi,
> >
> >I have two PCs, one with linux installed and another one is a old PC.
> >I would like use my linux pc to make modifications to freebsd code
> >base and then test it on my old PC. After compiling freebsd image on
> >my linux pc, how do I boot this image on my old PC ? Is there a cost
> >effective way of doing this without using floppies or CDs which is
> >time consuming ? Can I run some special image on my old PC to let it
> >fetch the newly compiled image everytime ?? Does anyone have this kind
> >of setup ? Can I setup a console server for cheap and acheive this ?
> >Please share your thoughts on this.
> 
> If you have an intel NIC which supports PXE, you can boot the machine
> from a kernel that's on another machine and shared by NFS or
> tftp.  Take a look at the man page for pxeboot(8), as well as the
> development(7) man page for some good info.
> 
> -Glenn
> 
> 
> >Thanks,
> >Sarath
> >___
> >freebsd-questions@freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sending files to Win/Linux client from FreeBSD server?

2005-08-25 Thread Glenn Dawson

At 01:57 AM 8/25/2005, Jamie Ann P. Zamodio wrote:

Hi everyone :)

I'd just like to ask if there's a specific command I
can use to send files from my FreeBSD 4.3 server to my
Windows XP/ Red Hat Linux clients. I'm totally stuck
to mounting and unmounting a floppy disk and
transferring the files by copying and pasting from PC
to PC. There's got to be an easier way, but I can't
seem to find anything on Google. Please help me.


There are tons of different ways you can do that.  ftp, nfs, scp, 
rsync, samba, just to name a few.


-Glenn



Thanks in advance,
Jamie

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


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


Re: dump(8), incremental backups, Tower of Hanoi sequence, don't get it

2005-08-25 Thread Scott Mitchell
On Wed, Aug 24, 2005 at 02:37:08PM -0700, Danny Howard wrote:
> All this great discussion got me researchinng.  I haven't tried this
> out but it looks like rsnapshot integrates a lot of features like this
> into a single configurable, cronable script.  It is in ports as well.
> 
> A lot of systems make use of cp -al ... well, for us FreeBSD people that
> means gcp from coreutils.
> 
> rsnapshot looks like a lightweight, OS/FS-portable method of building
> rotating filesystem-wide snapshots via hardlinks, but can be made to
> operate on limited sets of directories, etc.  It can create local
> snaphots of remote directories, but not, apparently, remote copies of
> local directories.  One trick I gleaned from
> http://burd.info/gary/2003/03/snapshot-backup-using-rsync-and-ssh.html
> is to invoke rsync with --rsync-path which points to a script which
> performs maintenence functions and then passes off to rsync proper, so
> you could probably set up a client-triggered rsnapshot configuration if
> you were, say, doing backups of a Windows laptop client. :)
> 
> -danny

That sounds pretty cool - probably better than my homebrewed scripts :-)
I will have to check it out.

Cheers,

Scott

-- 
===
Scott Mitchell   | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines"
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sending files to Win/Linux client from FreeBSD server?

2005-08-25 Thread Nicklas B. Westerlund
Jamie Ann P. Zamodio wrote:

>to PC. There's got to be an easier way, 
>
scp is always an easy way... :-) (If you've got it, ofcourse)

Nick.



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


Sending files to Win/Linux client from FreeBSD server?

2005-08-25 Thread Jamie Ann P. Zamodio
Hi everyone :)

I'd just like to ask if there's a specific command I
can use to send files from my FreeBSD 4.3 server to my
Windows XP/ Red Hat Linux clients. I'm totally stuck
to mounting and unmounting a floppy disk and
transferring the files by copying and pasting from PC
to PC. There's got to be an easier way, but I can't
seem to find anything on Google. Please help me.

Thanks in advance,
Jamie

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


question about Portaudit and code freezes

2005-08-25 Thread Joe Auty

Hello,

How come xpdf is still showing up as a vulnerability, even though the  
latest portrevision was supposed to resolve these problems? Has the  
portaudit database not been updated because of the code freeze?







---
Joe Auty
NetMusician: helping musicians exploit new communication mediums
http://www.netmusician.org
[EMAIL PROTECTED]

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


RE: anonymous ssh forwarding

2005-08-25 Thread Chris St Denis
Something like this may be what you want.

http://www.postgresql.org/docs/current/interactive/ssh-tunnels.html

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Toomas Laasik
Sent: Wednesday, August 24, 2005 3:21 PM
To: Jonathan Glaschke; [EMAIL PROTECTED]
Subject: Re: anonymous ssh forwarding

> Hello,
> On Thu, Aug 25, 2005 at 12:35:24AM +0300, Toomas Laasik wrote:
> > Hello,
> > I have the following situation. Our company has a ssh server where users
can connect from only specified static ip addresses. Like I have at home an
ip address 1.2.3.4 and ssh server accepts connections only from it.
> > Now I wan't to get access to that ssh server from places where I don't
have static ip.
> > I already have at home a freebsd server running with simple
configutation. Is it possible to make some kind of tunnel or something so I
could connect to my home freebsd machine that connects to ssh server so that
ssh server 'thinks' that I'm connecting from home?
> >
> > Thank you in advance.
> >
> > Sorry for bad English
> >
> > Toomas
> >
> Why don't you ssh into your home pc with static ip from your pc with
dynamic ip
> and then ssh from your home machine into your "server"?

Using just ssh is no a problem. The machine with dynamic IP has WinXP and
Putty on it. Setting remote command in Putty to "ssh [EMAIL PROTECTED]"
eliminates even the need to type it in in putty ssh console...
Anyway the problem comes when I want to use FileZilla to make SFTP
connection over SSH2 connection through home computer. I've tried Putty's
tunneling, but the other end of that tunnel is still my home computer even
tho my home computer is connected to www server with ssh.
So my approach is to find out how can I set something up on my home freebsd
machine so that connecting to some port on it, it connects to www server ssh
port.

Toomas

> 
> Jonathan
> 
> > -
> > ITV - Sinu lemmiksaated internetis!
> > http://www.itv.ee
> >=20
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
"[EMAIL PROTECTED]
> rg"
> 
> --=20
>  | /"   ASCII Ribbon   | Jonathan Glaschke - Lorenz-G=F6rtz-Stra=DFe 71,
>  |  / Campaign Against | 41238 M=F6nchengladbach, Tel: 02166-265876
>  |  XHTML In Mail   | Mobil: 0162-3390789, ICQ: 231021883
>  | /  And News | http://jonathan-glaschke.de/
> 

-
ITV - Sinu lemmiksaated internetis!
http://www.itv.ee

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

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