Re: scaning the local network with arping/sh script

2005-04-26 Thread Abu Khaled
I want to thank you all for replying to my post. I'm building the
world at the moment and can't wait to start testing what you guys
suggested.

I knew you guys won't let me down.As always I ended up having my
problems solved as well as adding more to my knowledge. It's a
wonderful feeling.

Thanks again.

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


URL on softupdates?

2005-04-26 Thread John Conover
Is there a URL that describes how softupdates work?

   Thanks,

   John

-- 

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


Need help in using NetMos 9835 based card with 2serial 1parallel

2005-04-26 Thread Brian Hobbs
Hi,

I have a NetMos 9835 card and have lost the drivers therefore.

Can you help with the supply of the initial drivers?

Many thanks

Brian Hobbs

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


netcat strange behaviour

2005-04-26 Thread shibbsd
Hi,

I recently came across a very stupid behaviour of netcat - the one in base 
system
(/usr/bin/nc in my FreeBSD 5.4-RC3).

I just wanted to connect to a POP3 server, authenticate and grab the STAT
information, so
I issued the following command:

printf USER XXX\nPASS XXX\nSTAT\nQUIT\n | nc -i 1 mypopserver 110

And what I got on stdout was:

+OK greeting string
+OK
+OK

...and nothing more, the command just exited without any error (FIN_WAIT in
netstat). The
server had interpreted USER and PASS commands, but ignored anything that came
later... The
error is 100% reproductible, has been observed on a few different FreeBSD 5
machines, and
- what is more - does not depend on a POP3 server! I tried a couple of public
ISPs. I have
also used a range of -i delays without success.

I investigated more and ran tcpdump -xx -v dst host mypopserver, and what I 
got
was:

[...omitted...]
08:55:23.196753 IP (tos 0x0, ttl  64, id 145, offset 0, flags [DF], length: 80)
mypc.63175

mypopserver.pop3: P [bad tcp cksum 2f41 (-71d2)!] 0:40(40) ack 36 win 65535
0x:  0050 da74 56b1 0011 11c1 fa55 0800 4500  .P.tV..U..E.
0x0010:  0050 0091 4000 4006 0b19 0a01 0ac7 d94a  [EMAIL 
PROTECTED]@J
0x0020:  40ec f6c7 006e f760 36fd f3cd 8805 5018  @n.`6.P.
0x0030:   2f41  5553 4552 20XX    ../A..USER.X
0x0040:    0a50 4153 5320     .PASS.XX
0x0050:   XX0a 5354 4154 0a51 5549 540a   XXX.STAT.QUIT.
[...omitted...]

And my BIG question is:
should netcat send all these POP3 commands in one packet? I thought that 
separate
lines
ought to be separated in TCP/IP terms too - and what is more, I wanted a 1 
second
delay
between lines! (-i option).

Any suggestions, bug anticipations or maybe networking lectures for me? ;) I 
just
wanted
to check mail :P Thanks

Kuba [EMAIL PROTECTED]

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


illegal user root user failed login attempts

2005-04-26 Thread Peter Kropholler
I run a server at home on port 22.
There are loads of illegal user attempts to login
every few days. As its at home I protect myself
by having only one user on the sshd AllowUsers
list and with a very strong password and no
admin/sysman priveleges.
So essentially every failed login attempt is illegal.
Is there any way to actually record what passwords
the hackers' scripts are trying? I am just really intrigued
to know what they are thinking might work.
I realize that it's not normally appropriate to log people's
passwords but in my case I am literally the only user
who will ever legitimately login to my machine
__
Professor Peter H Kropholler
Department of Mathematics
University of Glasgow
University Gardens
Glasgow G12 8QW
Tel +44 (0)141 330 4124
Fax +44 (0)141 330 4111
email [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: It keeps CRrrASHING!!

2005-04-26 Thread Fafa Diliha Romanova

Hello Tomas!

It must be PF.
Whenever I download, it crashes.

Everytime I reboot after crash, I have to type:

# pfctl -F a ; pfctl -Nf /etc/pf.conf ; pfctl -sr

For my int_if to get Internet access.
Anyway, here is my pf.conf:

int_if=ep0
ext_if=lnc0

# *** Options
#
set block-policy drop

# *** Scrub incoming packets
#
scrub   in all

# *** NAT
#
nat on $ext_if from $int_if:network to any - ($ext_if)
rdr on $int_if proto tcp from any to any \
port 21 - 127.0.0.1 port 8021

# *** Default deny policy
#
block   drop log all

# *** Pass loopback traffic
#
passquick on lo0 all

# *** Outgoing
#
#
passout on $ext_if inet proto tcp \
from any to any flags S/SA keep state
passout on $ext_if inet proto { udp, icmp } \
from ($ext_if) to any keep state

# *** Bootstrap
#
passout on $ext_if inet proto udp \
from any port 68 to any port 67 keep state

# *** DNS and NTP
#
passout on $ext_if inet proto udp \
from ($ext_if) to any port { 53, 123 } keep state

# *** SSH and HTTP
#
passin on $ext_if inet proto tcp \
from any to ($ext_if) port { 22, 80 } flags S/SA keep state

# *** Active FTP
#
passin on $ext_if inet proto tcp \
from port 20 to ($ext_if) user proxy flags S/SA keep state

Thanks,
Fafa

- Original Message -
From: Tomas Quintero [EMAIL PROTECTED]
To: Fafa Diliha Romanova [EMAIL PROTECTED]
Subject: Re: It keeps CRrrASHING!!
Date: Mon, 25 Apr 2005 12:43:35 -0400

 
 On 4/25/05, Fafa Diliha Romanova [EMAIL PROTECTED] wrote:
  Hey!
 
  I am running FreeBSD 5.4-STABLE on a Pentium 120.
 
  Since three days ago, it has been crashing regularly, leaving me with
  no choice but to shut it off and back on. I have absolutely no idea what
  might be wrong. The server has a lot of free HD space. It ain't
  experiencing no overload that I'm aware of. Everything should be smooth.
 
  Maybe it's the network interface. Or the fact that I just replaced
  IPFW with PF. Because this only seems to happen when I surf the net and
  download stuff from the workstation behind it.
 
 It may also be your PF.conf or your NIC. I am running a 5.3-RELEASE
 box w/ PF routing 3 DSL circuits. Upon early installation, it was
 extremely slow on one circuit which was determined to be a NIC. Later
 on, the system would hardlock as soon as a user attempted to access
 the internet. What was occuring to my knowledge is there is a bug
 associated with static-port in the NAT line. You may consider posting
 part if not most of your pf.conf to see if any issues could be
 underlying in it.
 
 
 --
 -Tomas Quintero

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


PPP in kernel mode

2005-04-26 Thread eddy_mut
Why my PoPToP server not running ppp in kernel mode. It ignoring file 
/etc/ppp/options.pptp and take all options only from /etc/ppp/ppp.conf?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where to find good/cheap tech support

2005-04-26 Thread Joel
You seem to be making assumptions and are looking into this to deeply
(Bmy friend. But thanks for the feedback anyway :)
(B-
(BThe $150 was only an arbitrary number thats common in the field. I
(Bcould have chosen another number. It would not have mattered, the
(Bquestion would have been the same.
(B
(BYou know, in the commercial side of free (as in speech) software,
(Bsupport is where companies make their way. Expecting free service is a
(Blittle much, don't you think?
(B
(BTrue, there is a lot of service-type activity that is available without
(Bmoney (as in there ain't no such thing as a free lunch). But where value
(Bis given, value is expected. If you have a bug in a driver, the author
(Bexpects you to work with him about it, not just say, "Hey! somebody fix
(Bmy machine. I'm sure it's the driver." Time is a precious commodity here
(Bjust like anywhere else, but so is help ferreting out bugs.
(B
(BThe SCSI adapter is an Adaptec Ultra320 built into a $3000+ 1U web
(Bserver and not a common inexpensive controller.
(B
(BPutting that into perspective, a $3000 dollar 1U is not really an
(Bexpensive box. In fact, it's only the cost of one entry-level geek/month
(Bin the US, two months for a young entry-level geek in Japan. And you're
(Bgoing to expect at least two years' service out of that box, I assume.
(B
(BBut if you want near turnkey with the ability to install lots of
(Bfree/opensource stuff at that kind of price, Apple does pretty well.
(B
(B Since it works fine
(Bfor both RedHat and Windows we are probably going to go with another
(BOS on this server other than FreeBSD.
(B
(BYour choice. That's part of the free as in speech business.
(B
(B Why arm wrestle the situation
(Bwhen no one seems to know the solution to our issue.
(B
(BBecause if you go with MSWxxx, you get what you pay for -- nice warm
(Bfuzzies and a server you have to make sure has the latest patches every
(Bweek if you want to keep those warm fuzzies very long.
(B
(BIf you go with Red Hat, you'll have something even better than warm
(Bfuzzies. 
(B
(BBut you still should expect to invest time either way. If it were simple,
(Bcheap, and trouble-free, everyone would be doing it, and there would be
(Bno profit margin left.
(B
(BAnd I am in a VERY small company that could barely pay for what we
(Bjust purchased.
(B
(BI can sympathize. I recently made a trade-off decision between a Mac
(BMini for my new weekend-warrior box and a cheap Sempron Pasokon Kobo box.
(BI went with the Sempron mostly for one reason, that I needed more
(Bexperience with the BSDs. I've got four OSses booting on it right now,
(BFedora Core, openbsd, freebsd, and netbsd. Ran out of time to get Debian
(Bloaded that weekend. 
(B
(BWhen I bought it, I got a SCSI controller card and an ATA/IDE controller
(Bcard that I can't use yet. freebsd, netbsd, and openbsd recognize the
(Bscsi card, I need to do some research on the Linux driver for it. I may
(Bneed to compile a custom Linux driver to get it running on Fedora Core.
(B
(Bopenbsd sees the ATA/IDE card and it seems to work, but I'm not sure how
(Bwell. Hanging a drive on it changes the drive numbers (lousy ATA spec!)
(Bso I'm going to have to edit /etc/fstab with the card out before booting
(Bwith the card in, which is going to be tricky with four OSses and
(Bvarying levels of support. As far as netbsd, freebsd, and Fedora Core go,
(BI expect to get the privilege of working with the driver authors if I
(Bwant that card to run. 
(B
(BBoth cards are cheap, less than USD 30 by the current exchange rate. The
(Bvalue I get out of this is learning. When I bought the box, I knew I was
(Bgambling on those two controllers. Neither Fedora Core nor freebsd even
(Bsee those controllers yet. That's more opportunities for me to do what I
(Bbought the box for -- learn.
(B
(BIf I learn quickly enough, I show my employer, and maybe we get to bring
(Bin new business, and maybe the company profits go up a bit, my wages
(Bwith them.
(B
(B We where lucky to get what we did and the idea of
(Bhaving a duplicate is wishful thinking and not realistic, so thats a
(Brisk we will have to take until we can afford better solutions. Its
(Bnot the perfect situation but its the best we can do with what we
(Bhave. I would love a new house but the cold numbers dictate what's
(Breally possible right now.
(B
(BI'm not going to tell you you were wrong (You were, but I won't tell you
(Bthat. ;-/) but now that you have it, you need to recognize two things:
(B
(BOne is that you're going to see downtime on that box, whatever system
(Byou run on it. The other is that the direction you go now determines how
(Bdependent you will be on some other company for keeping the downtime
(Bshort.
(B
(BNow if your interested in the problem, here is the support
(Bissue/question no one seems to have any 

Re: illegal user root user failed login attempts

2005-04-26 Thread Daniel Bye
On Tue, Apr 26, 2005 at 09:22:34AM +0100, Peter Kropholler wrote:
 I run a server at home on port 22.
 There are loads of illegal user attempts to login
 every few days. As its at home I protect myself
 by having only one user on the sshd AllowUsers
 list and with a very strong password and no
 admin/sysman priveleges.

Good strategy.  You could even go so far as to deny logins without a
public key.

 So essentially every failed login attempt is illegal.
 
 Is there any way to actually record what passwords
 the hackers' scripts are trying? I am just really intrigued
 to know what they are thinking might work.

No - ssh transport is encrypted even by the time passwords are involved.

 I realize that it's not normally appropriate to log people's
 passwords but in my case I am literally the only user
 who will ever legitimately login to my machine

It'll just be a script running somewhere that offers common passwords,
random words, etc.  You'd be amazed at how many installations use a
default password (Cliff Stoll's The Cuckoo's Egg is a damn fine read,
and talks about default passwords on admin and field service accounts)

More useful might be to log the IP addresses the connections are coming
from and report the abuse to the authority to whom the addresses are
assigned.  You never know - they might feel compelled to stamp on the
little buggers...

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgptMXPBFrQ2w.pgp
Description: PGP signature


Re: illegal user root user failed login attempts

2005-04-26 Thread J65nko BSD
On 4/26/05, Peter Kropholler [EMAIL PROTECTED] wrote:

 I run a server at home on port 22.
 There are loads of illegal user attempts to login
 every few days. As its at home I protect myself
 by having only one user on the sshd AllowUsers
 list and with a very strong password and no
 admin/sysman priveleges.
 
 So essentially every failed login attempt is illegal.
 
 Is there any way to actually record what passwords
 the hackers' scripts are trying? I am just really intrigued
 to know what they are thinking might work.
 
 I realize that it's not normally appropriate to log people's
 passwords but in my case I am literally the only user
 who will ever legitimately login to my machine
 __

Moving your ssh port away from port 22 seems to stop these attempts.
These logons seem to come from cracked Linux boxes. This issue has
been discussed quite a lot on this list.

For a non-list discussion, see
http://www.freebsdforums.org/forums/showthread.php?s=threadid=27683

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


Re: Questions about processes

2005-04-26 Thread Lord Raiden

Most of those processes are used by the kernel, some of them, if you
aren't using the specific hardware or functionality they provide (such
as USB or ktrace) can be disabled by compiling your own kernel (see
here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/kernelconfig.html).
 While this may not provide a *HUGE* performance increase, it may be a
good idea to try.  I would also recommend, perhaps, adding some more
RAM?  :-)
Hmm, interesting.  I figured they might all be needed, but given 
the raw number that there were I was kind of shocked.  My ps list in 4.x 
was a whole lot shorter so I thought that a lot of these were just a lot of 
unneeded processes that could simply be removed, but apparently 
not.  heh.  Thanks for the info.  I guess I just found it weird to have a 
list like that come up.  Especially with all the irq and other items 
appearing on that list.

Steven Lake
-Owner/Webmaster
Raiden's Realm
www.raiden.net
Come see Monk the comic strip and laugh till you die!  :)
http://www.raiden.net/Monk/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Qpopper SSL TLS problem

2005-04-26 Thread BSD
Hello,
I have a weired problem with Qpopper  FBSD 5.3.
I am using the latest version compiled using the port tree. with one or 
two options :

CONFIGURE_ARGS= --enable-nonauth-file=${POPUSERS_FILE} \
--without-gdbm \
--enable-keep-temp-drop \
--disable-update-abort \
--enable-bulletins=/var/spool/bulls \
--enable-log-login \
--enable-new-bulls=3 \
--enable-shy \
--enable-timing \
--enable-log-facility=LOG_MAIL \
--with-openssl=/usr/bin/openssl \
--with-pam=pop3
I am also using this compile time option :
bsd# make WITHOUT_IPV6=yes WITHOUT_APOP=yes
bsd# make install WITHOUT_APOP=yes
bsd# make clean
I was using this program since couple of months without any problem.
But since couple of weeks, I have weired problems with my maling list 
account.

I have configured four accounts :
- Three are ok (the one on which I receive a small amount of large mail)
- One is causing serious problem (hanging during the transmission of my 
mail). This account is used for my mailing list, so I have a lot of 
small size mail.

Any idea ??
Do you know any other POP server that supports SSL / TLS ?
Thanks for your support.
__
«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
¯¯
Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz
__
«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
¯¯
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: illegal user root user failed login attempts

2005-04-26 Thread Karol Kwiatkowski
Daniel Bye wrote:
 On Tue, Apr 26, 2005 at 09:22:34AM +0100, Peter Kropholler wrote:
Is there any way to actually record what passwords
the hackers' scripts are trying? I am just really intrigued
to know what they are thinking might work.
 
 
 No - ssh transport is encrypted even by the time passwords are involved.

But in this scenario it is me (sshd) who does encryption/decryption :)

As I understand it, there's no way to log password except hacking ssh
daemon source code.

This link might help:
http://seclists.org/lists/incidents/2005/Feb/0004.html

(I haven't tried it and patch is against OpenSSH 3.5p1 - be careful)


Regards,

Karol

-- 
Karol Kwiatkowski  freebsd at orchid dot homeunix dot org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Where to find good/cheap tech support

2005-04-26 Thread ChrisC
I guess we are going with RedHat on this server. I would have preferred 
FreeBSD :(

This was just meant to be a little question on where to get help that fits 
our budget, nothing more.

For those that like to poke and hit I'm just a little employee doing 
what I can with what I'm given.


At 4/26/2005 01:31 AM, Ted Mittelstaedt wrote:
[EMAIL PROTECTED] wrote:
You seem to be making assumptions and are looking into this
 to deeply
my friend. But thanks for the feedback anyway :)-
The $150 was only an arbitrary number thats common in the field. I
could have chosen another number. It would not have mattered, the
question would have been the same.
That is baloney, when you titled the post good/CHEAP, quite obviously the
number matters greatly.
-
The SCSI adapter is an Adaptec Ultra320 built into a $3000+ 1U web
server and not a common inexpensive controller. Since it works fine
for both RedHat and Windows we are probably going to go with
another OS on this server other than FreeBSD.
Um, that would be Windows, right? That is, your going to drop an
additional
$1200 on Windows OS and licensing for it just because you don't want to
drop $150 into an hour of support?
If that isn't true then why are you even listing Windows here?  Windows
isn't
a UNIX OS, and has no relevance to anything.  Is it because your thinking
that if you tell us Windows runs on this server that we are all going to
be
real impressed?  Aren't you forgetting a lot of us already run 1U
webservers
fine with FreeBSD with no problems?
The fact RedHat runs on this is significant since the FreeBSD and RedHat
Adaptec driver have a common ancestor.
Why arm wrestle the
situation when no one seems to know the solution to our issue.-
Simple, because the OS is free.  If you want to save the money on
licensing
fees then you spend your time arm wrestling problems when they come up.
If you own a car and you want to save a lot of money on mechanics fees
then
you learn how to fix it, buy a lot of tools, and do the work yourself.
Why
is this any different with operating systems?
And I am in a VERY small company that could barely pay for what we
just purchased. We where lucky to get what we did and the idea of
having a duplicate is wishful thinking and not realistic, so thats
a risk we will have to take until we can afford better solutions.
In short, you overreached yourself.  So let me ask you, why should
customers
use you when your competition has actually spent the money for backup
servers?
I work for a small company too, lots of people do that is no excuse.  But
when I have a problem, such a fielding a mailserver, that really ought to
have a backup server, if I have $3K to spend on it, I don't run out and
buy a new server.  I instead get creative and perhaps buy 2 used servers
at $1500, or roll my own clones, or get a leasing company involved, etc.
I don't shortchange my customers because I'm not willing to gamble with
their livelihoods.  Sure, I may not be out there saying to them that I
have a brand new P4 3Ghz server for them like you are, but I am telling
them
that for what they need, a P4 3Ghz server won't be any different than a
P3 1.5Ghz system, (which it isn't) and that I have redundancies in that
P3 1.5Ghz network that allow me to guarentee to them that if my server
blows
chunks that I will have them back online within 20 minutes.
Its not the perfect situation but its the best we can do with what
we have.
No, it isn't.
I would love a new house but the cold numbers dictate
what'sreally possible right now. -
No, they don't.  You are simply making up justfications for yourself to
try to sleep better at night.  You don't have the moral leg to stand on
to
sell server services to your customers, because when your customers buy
services from you there is an implied understanding that they are buying
server services that are done in a professional manner, better than they
could do them.
And if you aren't selling server services to customers, but instead using
this server for your own business, the moral issues still remain because
your customers depend on your product, and if you go offline a week
because
your all-the-eggs-in-one-basket solution blew chunks, then your still
affecting your customers.
I'm sure you can probably go on making excuses, but I'm not interested
in them.  You said you couldn't afford to have the server down for
days at a time.  Well, either that was a baldfaced lie and you were
full of crap, or your abrogating your responsibility to provide solid
IT services and infrastructure.  Sites that cannot afford to have
a server down for days at a time MUST have backup servers, it is simple
as that, and no amount of whining and excuses justify anything different.
Now if your interested in the problem, here is the support
issue/question no one seems to have any clue about.-
I am attempting to install FreeBSD 5.3 onto a new 

Re: getting handbooks via cvsup?

2005-04-26 Thread Marc Fonvieille
On Sun, Apr 24, 2005 at 02:32:59PM +0300, Ion-Mihai Tetcu wrote:
 
 cvsup file:
 *default host=cvsup.ro.FreeBSD.org
 *default base=/var/db
 *default prefix=/usr
 *default release=cvs tag=.
 *default delete use-rel-suffix
 doc-all
 
 Run cvsup then:
 cd /usr/doc/
 make FORMATS=html html-split ps pdf install


textproc/docproj must be installed if one wants to build the docs.

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


Re: URL on softupdates?

2005-04-26 Thread Lowell Gilbert
[EMAIL PROTECTED] (John Conover) writes:

 Is there a URL that describes how softupdates work?

From 
/usr/src/sys/ufs/ffs/README.softupdates:

How Soft Updates Work

For more general information on soft updates, please see:
http://www.mckusick.com/softdep/
http://www.ece.cmu.edu/~ganger/papers/CSE-TR-254-95/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[no subject]

2005-04-26 Thread Brandon Osborne
Hello,

I want to dial into a system I set up, with BSD and remove it through Command 
Prompt, and reset the BSD, or remove it completely.  How can I go about doing 
this.  Is it possible?


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


smbfs in fstab

2005-04-26 Thread kevintaber
currently I mount my XP share via: mount_smbfs -N //a7v133/raid /storage1

How can I get put this in my /etc/fstab so that it doesn't prompt me
for a password upon bootup.  This winshare is accessible without a
password and by anyone.  I have read through seveal forums and read
man pages gallore, but I still remain unsuccessful.

5.3-RELEASE-p1 FreeBSD 5.3-RELEASE-p1 #0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


GhostScript port/pkg broken on 5.3R

2005-04-26 Thread Jeff Kreska
I can't seem to get ghostscript port/pkg to work. I can't find anyone else
with this problem so I am not sure if it is onlt my environement.

I tryed pkg ghostscript-gnu-7.07
port ghostscrupt-gnu ( cvsupped tried again )

My uname reports: 5.3-RELEASE FreeBSD 5.3-RELEASE i386

Problem is with ps2ascii, everytime I run ps2ascii file this is the
output I get:
Operand stack:
   --nostringval--
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--  
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--
  --nostringval--   false   1   %stopped_push   2   3   %oparray_pop  
2   3   %oparray_pop   2   3   %oparray_pop   2   3   %oparray_pop  
.runexec2   --nostringval--   --nostringval--   --nostringval--   2  
%stopped_push   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1115/1123(ro)(G)--   --dict:0/20(G)--   --dict:77/200(L)--
Current allocation mode is local
Current file position is 7
GNU Ghostscript 7.07: Unrecoverable error, exit code 1


Any pointers or suggestions would be greatly be appreciated.


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


Qt programming

2005-04-26 Thread Steven Friedrich
I want to learn Qt programming.  Can I do that without buying anything from 
TrollTech (until I'm ready to develop a commercial program) ?  Does FreeBSD 
have the tools, libraries, etc.?




Steven Friedrich
5112 Mount Holyoke Drive
Louisville, KY  40216

[EMAIL PROTECTED]
(502) 447-7730



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


Re: Questions about processes

2005-04-26 Thread cpghost
On Mon, Apr 25, 2005 at 11:18:30PM -0400, Lord Raiden wrote:
 Hi all.  Looking for some info about some processes I've got 
 running on my box.  I'm new to 5.3 having used the 4x line for a long time 
 and I'm curious about my process list.  When I do ps -ax I get the 
 following list as seen below.  Are all of these items really needed and if 
 not, what items can I get rid of and how?

These are kernel threads. 5.x is more modular than 4.x and a lot
of functionality has been moved to internal threads (for the sake
of SMP). There's really nothing wrong with this; esp. since the
number of threads is still pretty small :)

The kernel may create more such threads if it needs them; like e.g.
when using GBDE or so.

 The machine in question is a 
 very simple fetching mail server running on a 500mhz Via Eden Mini-ITX 
 board.

I'm using the same hardware here. It is more than fast enough for this.
Don't worry about those kernel threads, which are idle most of the time.
The CPU time they consume would have been used up in 4.x too (as system
time), you would just not see it with ps there as you can see it here.

 Steven Lake
 -Owner/Webmaster
 Raiden's Realm
 www.raiden.net

Cheers,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Questions about processes

2005-04-26 Thread cpghost
On Tue, Apr 26, 2005 at 12:14:26AM -0400, Alexander Chamandy wrote:
 On 4/25/05, Lord Raiden [EMAIL PROTECTED] wrote:
   Hi all.  Looking for some info about some processes I've got
  running on my box.  I'm new to 5.3 having used the 4x line for a long time
  and I'm curious about my process list.  When I do ps -ax I get the
  following list as seen below.  Are all of these items really needed and if
  not, what items can I get rid of and how?  The machine in question is a
 
 Most of those processes are used by the kernel, some of them, if you
 aren't using the specific hardware or functionality they provide (such
 as USB or ktrace) can be disabled by compiling your own kernel (see
 here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/kernelconfig.html).
  While this may not provide a *HUGE* performance increase, it may be a
 good idea to try.

That would not really make a difference. I've tried it once on my EPIA
boards, and ran some custom benchmarks. I didn't notice any difference
at all. It's really not worth it for most practical uses.

 I would also recommend, perhaps, adding some more RAM?  :-)

Yes, more RAM is always a good idea. But if you're using EPIA 5000 boards,
you should be aware of one catch: use just one of the two slots (you can
use one 512 MB PC-133 RAM module, but not two modules!), because these
boards can't reliably drive both for some strange reasons.

  very simple fetching mail server running on a 500mhz Via Eden Mini-ITX
  board.  Any insight would be welcome.  I'm really only asking this because
  I tend to be a process minimalist.  IE I like to have as few processes
  running as is absolutely necessary.  Well, anyways, enough of my
  babbling.  Here's the list.

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Qt programming

2005-04-26 Thread cpghost
On Tue, Apr 26, 2005 at 09:34:18AM -0400, Steven Friedrich wrote:
 I want to learn Qt programming.  Can I do that without buying anything from 
 TrollTech (until I'm ready to develop a commercial program) ?  Does FreeBSD 
 have the tools, libraries, etc.?

Use the ports, Luke!

Esp.: /usr/ports/x11-toolkits/qt33
if it is not already installed on your system.

qt33 also comes with 'designer', 'moc', 'uic', ... and it installs
'qmake' as a dependency automatically, so you could immediately start
hacking right away :-) 

Just one hint: Add this to your .profile before trying to do anything:

QMAKESPEC=/usr/local/share/qt/mkspecs/freebsd-g++; export QMAKESPEC
QTDIR=/usr/X11R6; export QTDIR

 Steven Friedrich

Happy hacking!

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Computer hanging when trying to load APM, at boot time

2005-04-26 Thread FIlosofem
Hi.

As written in the subject, my computer freezes at the point it should
load APM.  However, it does boot in safe mode, and shutdown -p now
works perfectly.

Moreover, unfortunatly, when I boot in safe mode, only one of my two
processors is being used (it is therefore impossible to always boot in
safe mode).

Thus, my question is: What does booting in safe mode changes, about
APM, so that it works?

Actually, I would like this function to work, since it is pretty
useful with SSH.

Thanks.

Notes: 

1: For sure, the problem is about it since my computer boots perfectly
when disabled in device.hints, but doesn't when enabled.

2: I can't use ACPI since my BIOS is on the black list.  

3: I am using FreeBSD 5.3.

4: My server  is a HP Kayak XU/400, dual Pentium II Xeon 400 Mhz, 640 Megabytes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Qt programming

2005-04-26 Thread Steven Friedrich
Thanks, that helped a lot.

I've downloaded the examples from C++ GUI Programming with Qt 3 at
ftp://ftp.trolltech.com/misc/qtbook-examples.zip

I followed the instructions in the README, but it doesn't build the
Makefiles in the chapters.  I've written Makefiles, so I know the
basics.  I'll try to crack the main Makefile to discover it's dark
secrets.  Anybody else should feel welcome to take a crack at it as
well.  I suspect I could just handwrite a Makefile in each chapter...


On Tue, 26 Apr 2005 15:59:07 +0200, [EMAIL PROTECTED] wrote:

On Tue, Apr 26, 2005 at 09:34:18AM -0400, Steven Friedrich wrote:
 I want to learn Qt programming.  Can I do that without buying anything from 
 TrollTech (until I'm ready to develop a commercial program) ?  Does FreeBSD 
 have the tools, libraries, etc.?

Use the ports, Luke!

Esp.: /usr/ports/x11-toolkits/qt33
if it is not already installed on your system.

qt33 also comes with 'designer', 'moc', 'uic', ... and it installs
'qmake' as a dependency automatically, so you could immediately start
hacking right away :-) 

Just one hint: Add this to your .profile before trying to do anything:

QMAKESPEC=/usr/local/share/qt/mkspecs/freebsd-g++; export QMAKESPEC
QTDIR=/usr/X11R6; export QTDIR

 Steven Friedrich

Happy hacking!

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/


Steven Friedrich
5112 Mount Holyoke Drive
Louisville, KY  40216

[EMAIL PROTECTED]
(502) 447-7730



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


Freebsdi386 4.11 release failed to mountroot after make buildworld make kerne

2005-04-26 Thread john pa
Error after upgrade from fresh install 4.11-release to 4.-stable
It fail to mountroot :  ufs:/dev/ad4s2a
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rightsreserved.
FreeBSD 4.11-STABLE #0: Tue Apr 26 22:14:24 SGT 2005
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL
Timecounter i8254  frequency 1193182 Hz
CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (3198.47-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0xf34  Stepping = 4
 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
 Hyperthreading: 2 logical CPUs
real memory  = 1072889856 (1047744K bytes)
avail memory = 1038413824 (1014076K bytes)
Preloaded elf kernel kernel at 0xc05bb000.
Warning: Pentium 4 CPU: PSE disabled
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 12 entries at 0xc00f4df0
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge on motherboard
pci0: PCI bus on pcib0
agp0: Intel 82875P host to AGP bridge mem 0xf800-0xfbff at device 
0.0 on pci0
pcib1: PCI to PCI bridge (vendor=8086 device=2579) at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: NVidia model 0322 graphics accelerator at 0.0 irq 10
pcib2: PCI to PCI bridge (vendor=8086 device=257b) at device 3.0 on pci0
pci2: PCI bus on pcib2
em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port 
0xcf80-0xcf9f mem 0xfe9e-0xfe9f irq 5 at device 1.0 on pci2
em0:  Speed:N/A  Duplex:N/A
uhci0: Intel 82801EB (ICH5) USB controller USB-A port 0xef00-0xef1f irq 10 
at device 29.0 on pci0
usb0: Intel 82801EB (ICH5) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: vendor 0x1267 PS/2+USB Mouse, rev 1.10/0.01, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
uhci1: Intel 82801EB (ICH5) USB controller USB-B port 0xef20-0xef3f irq 5 
at device 29.1 on pci0
usb1: Intel 82801EB (ICH5) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801EB (ICH5) USB controller USB-C port 0xef40-0xef5f irq 5 
at device 29.2 on pci0
usb2: Intel 82801EB (ICH5) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: Intel 82801EB (ICH5) USB controller USB-D port 0xef80-0xef9f irq 10 
at device 29.3 on pci0
usb3: Intel 82801EB (ICH5) USB controller USB-D on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0: USB controller at 29.7 irq 11
pcib3: Intel 82801BA/BAM (ICH2) Hub to PCI bridge at device 30.0 on pci0
pci3: PCI bus on pcib3
fwohci0: VIA VT6306 port 0xdc00-0xdc7f mem 0xfeaff800-0xfeaf irq 11 at 
device 3.0 on pci3
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channel is 4.
fwohci0: EUI64 00:e0:18:00:00:77:6b:85
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: IEEE1394(FireWire) bus on fwohci0
fwe0: Ethernet over FireWire on firewire0
if_fwe0: Fake Ethernet address: 02:e0:18:77:6b:85
sbp0: SBP-2/SCSI over FireWire on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop = 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
atapci0: Promise SATA150 TX2 controller port 
0xd880-0xd8ff,0xdfa0-0xdfaf,0xdf00-0xdf3f mem 
0xfeac-0xfead,0xfeafe000-0xfeafefff irq 11 at device 4.0 on pci3
atapci0: channels 3
ata2: at 0xfeafe000 on atapci0
ata3: at 0xfeafe000 on atapci0
ata4: at 0xfeafe000 on atapci0
ata4: IDE port
pci3: unknown card (vendor=0x163c, dev=0x3052) at 11.0 irq 11
xl0: 3Com 3c905B-TX Fast Etherlink XL port 0xd800-0xd87f mem 
0xfeaff400-0xfeaff47f irq 11 at device 12.0 on pci3
xl0: Ethernet address: 00:50:04:18:2c:86
miibus0: MII bus on xl0
xlphy0: 3Com internal media interface on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: PCI to ISA bridge (vendor=8086 device=24d0) at device 31.0 on pci0
isa0: ISA bus on isab0
atapci1: Intel ICH5 ATA100 controller port 
0xfc00-0xfc0f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
atapci2: Intel ICH5 SATA150 controller port 
0xef60-0xef6f,0xefa8-0xefab,0xefa0-0xefa7,0xefac-0xefaf,0xefe0-0xefe7 irq 5 
at device 31.2 on pci0
ata5: at 0xefe0 on atapci2
ata6: at 0xefa0 on atapci2
pci0: unknown card (vendor=0x8086, dev=0x24d3) at 31.3 irq 5
pcm0: Intel ICH5 (82801EB) port 0xee80-0xeebf,0xe800-0xe8ff mem 
0xfebff400-0xfebff4ff,0xfebff800-0xfebff9ff irq 5 at device 31.5 on pci0
pcm0: Analog Devices AD1985 AC97 Codec
orm0: Option ROM at 

Re: Qt programming

2005-04-26 Thread Steven Friedrich
Turns out, the only reason it wouldn't work is because the files and 
directories from the zip had write permission turned off.  Works now...

On Tue, 26 Apr 2005 10:36:45 -0400, Steven Friedrich wrote:

Thanks, that helped a lot.

I've downloaded the examples from C++ GUI Programming with Qt 3 at
ftp://ftp.trolltech.com/misc/qtbook-examples.zip

I followed the instructions in the README, but it doesn't build the
Makefiles in the chapters.  I've written Makefiles, so I know the
basics.  I'll try to crack the main Makefile to discover it's dark
secrets.  Anybody else should feel welcome to take a crack at it as
well.  I suspect I could just handwrite a Makefile in each chapter...


On Tue, 26 Apr 2005 15:59:07 +0200, [EMAIL PROTECTED] wrote:

On Tue, Apr 26, 2005 at 09:34:18AM -0400, Steven Friedrich wrote:
 I want to learn Qt programming.  Can I do that without buying anything from 
 TrollTech (until I'm ready to develop a commercial program) ?  Does FreeBSD 
 have the tools, libraries, etc.?

Use the ports, Luke!

Esp.: /usr/ports/x11-toolkits/qt33
if it is not already installed on your system.

qt33 also comes with 'designer', 'moc', 'uic', ... and it installs
'qmake' as a dependency automatically, so you could immediately start
hacking right away :-) 

Just one hint: Add this to your .profile before trying to do anything:

QMAKESPEC=/usr/local/share/qt/mkspecs/freebsd-g++; export QMAKESPEC
QTDIR=/usr/X11R6; export QTDIR

 Steven Friedrich

Happy hacking!

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/


Steven Friedrich
5112 Mount Holyoke Drive
Louisville, KY  40216

[EMAIL PROTECTED]
(502) 447-7730





Steven Friedrich
5112 Mount Holyoke Drive
Louisville, KY  40216

[EMAIL PROTECTED]
(502) 447-7730



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


harddisk problem in the 5.x series

2005-04-26 Thread zoltan sandor
Hi everybody!
I have the following problem. I moved my system from
FreeBSD 4.11 to 5.4-RC3 by reinstalling everything.
The 4.11 system had no problem finding my MAXTOR hard
disk as ad3 as slave on the secondary IDE behind the
CDROM. The new 5.4 system indicates a lot of errors,
but finally accepts it and everything just works
fine. If I remove the hard drive the CDROM is
recognised without problems. My guess is that the
system tries to use higher PIO mode on the disk than
it is good for or something like that. Can anybody
explain how I can tune the kernel to avoid the error
messages? (BTW I have a GENERIC kernel.) dmesg
messages from the 4.11 and the 5.4-RC3 versions are
below.
Thanks in advance

Zoltan


Relevant parts of the dmesg from the 4.11-RELEASE 
version.

FreeBSD 4.11-RELEASE #0: Fri Jan 21 17:27:16 GMT 2005

atapci0: Intel PIIX3 ATA controller port
0xffa0-0xffaf at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0

ad0: 3098MB IBM-DAQA-33240 [6296/16/63] at
ata0-master WDMA2
ad1: 28629MB QUANTUM FIREBALLP AS30.0 [58168/16/63]
at ata0-slave WDMA2
ad3: 6149MB Maxtor 86480D6 [13328/15/63] at
ata1-slave WDMA2
acd0: CD-R CR-2801TE at ata1-master PIO3


Relevant parts of the dmesg from 5.4-RC3

FreeBSD 5.4-RC3 #0: Sun Apr 17 09:23:46 UTC 2005
   
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC

atapci0: Intel PIIX3 WDMA2 controller port
0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at
device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0

ad0: 3098MB IBM-DAQA-33240/R6ORA53A [6296/16/63] at
ata0-master WDMA2
ad1: 28629MB QUANTUM FIREBALLP AS30.0/A1Y.1300
[58168/16/63] at ata0-slave WDMA2
ata1-master: timeout sending command=ef
ata1-master: error issueing SETFEATURES SET TRANSFER
MODE command
ata1-master: timeout sending command=ef
ata1-master: error issueing SETFEATURES SET TRANSFER
MODE command
ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE
timed out
ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE
timed out
ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE
timed out
ata1-master: timeout sending command=ef
ata1-master: error issueing SETFEATURES SET TRANSFER
MODE command
ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE
timed out
ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE
timed out
ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE
timed out
acd0: timeout sending command=a0
acd0: error issuing ATA PACKET command
acd0: timeout sending command=a0
acd0: error issuing ATA PACKET command
acd0: timeout sending command=a0
acd0: error issuing ATA PACKET command
acd0: timeout sending command=a0
acd0: error issuing ATA PACKET command
acd0: timeout sending command=a0
acd0: error issuing ATA PACKET command
acd0: CDROM CR-2801TE/1.07 at ata1-master BIOSPIO
acd0: timeout sending command=ef
acd0: error issueing SETFEATURES SET TRANSFER MODE
command
ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out
ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out
acd0: timeout sending command=a0
acd0: error issuing ATA PACKET command
ad3: FAILURE - SETFEATURES ENABLE RCACHE timed out
acd0: timeout sending command=ef
acd0: error issueing SETFEATURES SET TRANSFER MODE
command
ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out
ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out
acd0: timeout sending command=a0
acd0: error issuing ATA PACKET command
ad3: FAILURE - SETFEATURES ENABLE WCACHE timed out
acd0: timeout sending command=ef
acd0: error issueing SETFEATURES SET TRANSFER MODE
command
ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out
ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out
acd0: timeout sending command=a0
acd0: error issuing ATA PACKET command
ad3: FAILURE - SET_MULTI timed out
ad3: 6149MB Maxtor 86480D6/NAVX171F [13328/15/63] at
ata1-slave BIOSPIO
ad3: TIMEOUT - READ retrying (2 retries left)
LBA=12594897
acd0: timeout sending command=ef
acd0: error issueing SETFEATURES SET TRANSFER MODE
command
ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out
ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out
acd0: timeout sending command=a0
acd0: error issuing ATA PACKET command
ad3: TIMEOUT - READ retrying (1 retry left)
LBA=12594897
acd0: timeout sending command=ef
acd0: error issueing SETFEATURES SET TRANSFER MODE
command
ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out
ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out
acd0: timeout sending command=a0
acd0: error issuing ATA PACKET command
acd0: timeout sending command=ef
acd0: error issueing SETFEATURES SET TRANSFER MODE
command
ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out
ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out
acd0: timeout sending command=a0
acd0: error issuing ATA PACKET command
ad3: FAILURE - READ timed out
acd0: timeout sending command=a0
acd0: error issuing ATA PACKET command
acd0: timeout sending command=a0
acd0: error issuing 

Where does a port store a saved configuration file?

2005-04-26 Thread scott renna
Hello list,

I had a question regarding where in FreeBSD5.3 the
configuration file for a port is stored.  I've been
trying to find the saved configuration file that Snort
created upon me selecting what options to include
during the make install.  I had included support for
Prelude, since I've never used it before, I figured
I'd try it out.  Unfortunately, prelude has not been
updated for Snort 2.0 yet.  

I'm trying to find the saved configuration file so
that I can remove it and reselect what options I want
snort built with, but no luck.  Anyone know where it's
located at?  

thanks

__
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]


Re: smbfs in fstab

2005-04-26 Thread Ash
[EMAIL PROTECTED] wrote:
currently I mount my XP share via: mount_smbfs -N //a7v133/raid /storage1
How can I get put this in my /etc/fstab so that it doesn't prompt me
for a password upon bootup.  This winshare is accessible without a
password and by anyone.  I have read through seveal forums and read
man pages gallore, but I still remain unsuccessful.
5.3-RELEASE-p1 FreeBSD 5.3-RELEASE-p1 #0
From the man page for mount_smbfs(8):
[quote]
~/.nsmbrc  Keeps static parameters for connections and other information.
   See /usr/share/examples/smbfs/dot.nsmbrc for details.
   
...
 It is possible to use fstab(5) for smbfs mounts:
  //[EMAIL PROTECTED]/public/smb/public smbfs  rw,noauto 0   0
[/quote]
From /usr/share/examples/smbfs/dot.nsmbrc:
[quote]
# smbfs lookups configuration files in next order:
#   1. ~/.nsmbrc
#   2. /etc/nsmb.conf - if this file found it will
#  override values with same keys from user files.
[/quote]
You will have to store your password in cleartext, but you seem to 
already be doing this in home directory since you are using the -N flag.

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


Re: Where does a port store a saved configuration file?

2005-04-26 Thread [EMAIL PROTECTED]
scott renna wrote:
 Hello list,
 
 I had a question regarding where in FreeBSD5.3 the
 configuration file for a port is stored.  I've been
 trying to find the saved configuration file that Snort
 created upon me selecting what options to include
 during the make install.  I had included support for
 Prelude, since I've never used it before, I figured
 I'd try it out.  Unfortunately, prelude has not been
 updated for Snort 2.0 yet.  
 
 I'm trying to find the saved configuration file so
 that I can remove it and reselect what options I want
 snort built with, but no luck.  Anyone know where it's
 located at?  
 



/var/db/ports/name_of_port ?

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


Re: Where does a port store a saved configuration file?

2005-04-26 Thread Daniel Bye
On Tue, Apr 26, 2005 at 08:28:36AM -0700, scott renna wrote:
 Hello list,
 
 I had a question regarding where in FreeBSD5.3 the
 configuration file for a port is stored.  I've been
 trying to find the saved configuration file that Snort
 created upon me selecting what options to include
 during the make install.  I had included support for
 Prelude, since I've never used it before, I figured
 I'd try it out.  Unfortunately, prelude has not been
 updated for Snort 2.0 yet.  
 
 I'm trying to find the saved configuration file so
 that I can remove it and reselect what options I want
 snort built with, but no luck.  Anyone know where it's
 located at?  

/usr/ports/Mk/bsd.port.mk says that you can use `make showconfig' to see
the current config, and `make rmconfig' to clear it.

I haven't thus far tracked down where the config is stored...

HTH

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpyJqZF5EVMt.pgp
Description: PGP signature


Re: Where does a port store a saved configuration file?

2005-04-26 Thread RW
On Tuesday 26 April 2005 16:36, [EMAIL PROTECTED] wrote:
 scott renna wrote:
...
 /var/db/ports/name_of_port ?

but you really need to read man ports instead.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where does a port store a saved configuration file?

2005-04-26 Thread Alejandro Pulver
On Tue, 26 Apr 2005 08:28:36 -0700 (PDT)
scott renna [EMAIL PROTECTED] wrote:

 Hello list,
 
 I had a question regarding where in FreeBSD5.3 the
 configuration file for a port is stored.  I've been
 trying to find the saved configuration file that Snort
 created upon me selecting what options to include
 during the make install.  I had included support for
 Prelude, since I've never used it before, I figured
 I'd try it out.  Unfortunately, prelude has not been
 updated for Snort 2.0 yet.  
 
 I'm trying to find the saved configuration file so
 that I can remove it and reselect what options I want
 snort built with, but no luck.  Anyone know where it's
 located at?  
 
 thanks

Hello,

If the port uses the OPTIONS variable (in the Makefile) the
configuration is at /var/db/ports/portname, and you can change it
with make config, show it with make showconfig and remove it with
make rmconfig.

If the port uses a shell script (ports that have a subdirectory called
scripts with a file usually called config), it usually creates a
file called Makefile.inc in the port directory, that is included by
the port Makefile and it is removed when you do a make clean.

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


Re: acpi, wi0 and apm.

2005-04-26 Thread FIlosofem
Hi.

You need to edit /boot/device.hints and, at the line that is about
disabling apm, and for which the actual value is 1, change it for
0.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Verizon EVDO - Broadcom a/b/g - Cisco VPN Client = how to in 5.3

2005-04-26 Thread Dana Rawson
Phil,

Thanks for the response.  I was speaking of the Linux version of the
Cisco vpn client software. I was hoping to be able to use it with the
Linux binary compatibility as you spoke of. But that appears as though
it will not work now as you mentioned.

I configured the .pfc file for my windows clients and thought it would
make it a lot easier if I could use the same for FreeBSD. Looks like I
will have to enter the information manually. I actually have already
downloaded the Cisco password decrypter when working on my other
equipment.

Thanks for the response.  It saved me from pulling more hair out.

Dana.

On 4/22/05, Phil Schulz [EMAIL PROTECTED] wrote:
 Dana Rawson wrote:
 [...]
 
  3. Cisco VPN client software installation - I have downloaded the
  Cisco VPN client from Cisco and also have seen the vpnc port in
  FreeBSD.  Would either one work to connect to a cisco device?  How
  would I incorporate my .pcf file into the installation/configuration?
 
 
   I did not know that there was a FreeBSD version for the Cisco client.
 If you downloaded the Linux version -- it won't work b/c it loads a
 kernel module and thus won't work under the Linux binary compatibility
 environment.
   The vpnc port works fine for me, although I don't know the model no.
 of the device I connect to. If there are any limitations on what models
 work with the port, I'm sure there is some information about it on the
 webpage of the tool.
   The .pcf file is human readable, you can easily extract all
 information you need to set up your tunnel. If you have the GroupPwd
 in encoded form, search the internet for a decoder. I don't have the
 link at hand, but there definitely is a site where you can enter the
 hash and have it spit out the clear phrase.
 
 HTH,
 
 Phil.

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


Re: Qt programming

2005-04-26 Thread Chuck Robey
Steven Friedrich wrote:
I want to learn Qt programming.  Can I do that without buying anything from 
TrollTech (until I'm ready to develop a commercial program) ?  Does FreeBSD 
have the tools, libraries, etc.?
There are several books on teh subject available also.  I would suggest 
you need tow things,
1) a development environment, and
2) documentation

The very best choice you could possibly make for development would be 
one of the BSD's.  This includes OpenBSD, FreeBSD, NetBSD, DragonFlyBSD, 
and there are others.  It's arguable that Linux would be included in 
that grouping ... the coding you will find in the BSD's is far more 
prefessional in style, but the OS and environment is more develoed in Linux.

The worst choice you could make would be, Windows inany form.  You will 
end up having to pay thousands of dollars for a less-rich environment.

The idea of buying one or more books is a very good idea, because there 
are several very good ones out there, and lots of help online.

I don't know your goal well enough to product, but there is another 
graphical option, that of the gimp toolkits, the gtk libraries.  Qt is 
semi-free (free for free projects, paid if you try to make money on it). 
 The Gimp toolkits are ALL totally free.  Beyond that, the qt system is 
based upon a precompiler, I really, really dislike that sort of system, 
and gtk doesn't do that.  That's a very personal prejudice, of course, 
and maybe worth some discussion.  Anyhow, you want to consider gtk.

Another thing you might want to consider is, leaerning python, and then 
using python's incredible facilities to program directly in gtk (see 
pygtk) or qt (see pyqt).  I have myself done a large job in pygtk, it's 
a great environment to work  in, a very rich programming environment for 
gui work.



Steven Friedrich
5112 Mount Holyoke Drive
Louisville, KY  40216
[EMAIL PROTECTED]
(502) 447-7730

___
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]


Which is the best PDF utility ?

2005-04-26 Thread edward
Hi all,
Just wanted to know which is, according to you, the best utility to read 
PDF files. I notice the Acrobat7 port is mentioned as broken in the 
notes. Which program (not necessarily Adobe) would be the best 
alternative for everyday PDF reading ? Oh, almost forgot, I use KDE.
Thanks for your insight on this.
Edward

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


Re: Which is the best PDF utility ?

2005-04-26 Thread Chuck Robey
edward wrote:
Hi all,
Just wanted to know which is, according to you, the best utility to read 
PDF files. I notice the Acrobat7 port is mentioned as broken in the 
notes. Which program (not necessarily Adobe) would be the best 
alternative for everyday PDF reading ? Oh, almost forgot, I use KDE.
Thanks for your insight on this.
(this question better asked on FreeBSD-Ports list) xpdf has been 
steadily improving over the years, and it's really pretty good now.

Edward
___
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: Which is the best PDF utility ?

2005-04-26 Thread Frank Staals
edward wrote:
Hi all,
Just wanted to know which is, according to you, the best utility to 
read PDF files. I notice the Acrobat7 port is mentioned as broken in 
the notes. Which program (not necessarily Adobe) would be the best 
alternative for everyday PDF reading ? Oh, almost forgot, I use KDE.
Thanks for your insight on this.
Edward

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

What the 'best' is I wouldn't know, I ussually use xpfd works simple and 
effective, has no useless functions etc but works fine. So for what I do 
with it I would say xpdf is good, at least good enough for me. If you 
want to see it just use the command 'xpdf' its default supplied with 
Xorg If I'm correct

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


Re: Which is the best PDF utility ?

2005-04-26 Thread Chuck Robey
Frank Staals wrote:
edward wrote:
Hi all,
Just wanted to know which is, according to you, the best utility to 
read PDF files. I notice the Acrobat7 port is mentioned as broken in 
the notes. Which program (not necessarily Adobe) would be the best 
alternative for everyday PDF reading ? Oh, almost forgot, I use KDE.
Thanks for your insight on this.
Edward

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

What the 'best' is I wouldn't know, I ussually use xpfd works simple and 
effective, has no useless functions etc but works fine. So for what I do 
with it I would say xpdf is good, at least good enough for me. If you 
want to see it just use the command 'xpdf' its default supplied with 
Xorg If I'm correct
Xorg is not a package that includes other packages, such as some 
operating systems.  By that I mean, if you get Xorg as such by that 
name, it's not going to include other tools (such as the excellent 
xpdf).  The only way you'g get xpdf with Xorg is if you got Xorg in a 
package of something like KDE, where packaging in other tools IS very 
likely.

Frank Staals
___
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: Which is the best PDF utility ?

2005-04-26 Thread Bill Campbell
On Tue, Apr 26, 2005, Chuck Robey wrote:
edward wrote:
Hi all,
Just wanted to know which is, according to you, the best utility to read 
PDF files. I notice the Acrobat7 port is mentioned as broken in the 
notes. Which program (not necessarily Adobe) would be the best 
alternative for everyday PDF reading ? Oh, almost forgot, I use KDE.
Thanks for your insight on this.

(this question better asked on FreeBSD-Ports list) xpdf has been 
steadily improving over the years, and it's really pretty good now.

I've found cases where acroread wouldn't print properly through
CUPS while xpdf printed fine.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

The cry has been that when war is declared, all opposition should
therefore be hushed.  A sentiment more unworthy of a free country could
hardly be propagated.  If the doctrine be admitted, rulers have only to
declare war and they are screened at once from scrutiny ...  In war,
then, as in peace, assert the freedom of speech and of the press.
Cling to this as the bulwark of all our rights and privileges.
-- William Ellery Channing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where does a port store a saved configuration file?

2005-04-26 Thread Giorgos Keramidas
On 2005-04-26 08:28, scott renna [EMAIL PROTECTED] wrote:
 Hello list,

 I had a question regarding where in FreeBSD5.3 the configuration file
 for a port is stored.  I've been trying to find the saved
 configuration file that Snort created upon me selecting what options
 to include during the make install.  I had included support for
 Prelude, since I've never used it before, I figured I'd try it out.
 Unfortunately, prelude has not been updated for Snort 2.0 yet.

 I'm trying to find the saved configuration file so that I can remove
 it and reselect what options I want snort built with, but no luck.
 Anyone know where it's located at?

Look in /var/db/ports/snort :-)

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


Re: smbfs in fstab

2005-04-26 Thread Micheal Patterson
.


- Original Message - 
From: Ash [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Tuesday, April 26, 2005 10:32 AM
Subject: Re: smbfs in fstab


 [EMAIL PROTECTED] wrote:
  currently I mount my XP share via: mount_smbfs -N //a7v133/raid
/storage1
 
  How can I get put this in my /etc/fstab so that it doesn't prompt me
  for a password upon bootup.  This winshare is accessible without a
  password and by anyone.  I have read through seveal forums and read
  man pages gallore, but I still remain unsuccessful.
 
  5.3-RELEASE-p1 FreeBSD 5.3-RELEASE-p1 #0

  From the man page for mount_smbfs(8):

 [quote]

 ~/.nsmbrc  Keeps static parameters for connections and other information.
 See /usr/share/examples/smbfs/dot.nsmbrc for details.
 
 ...

   It is possible to use fstab(5) for smbfs mounts:

//[EMAIL PROTECTED]/public/smb/public smbfs  rw,noauto 00

 [/quote]


  From /usr/share/examples/smbfs/dot.nsmbrc:

 [quote]

 # smbfs lookups configuration files in next order:
 #   1. ~/.nsmbrc
 #   2. /etc/nsmb.conf - if this file found it will
 #  override values with same keys from user files.

 [/quote]


 You will have to store your password in cleartext, but you seem to
 already be doing this in home directory since you are using the -N flag.

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



If you want this to mount from the fstab at system boot, remove the noauto
flag and place an -N in the string:

#//[EMAIL PROTECTED]/share_name  /mount_pointsmbfs   rw,-N


That will read the password information from the users .nsmbrc file as Ash
stated, or, if you want it system wide, use the /etc/nsmb.conf file instead.

--

Micheal Patterson
Senior Communications Systems Engineer
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message

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


Re: Where does a port store a saved configuration file?

2005-04-26 Thread Matt Emmerton
 Hello list,
 
 I had a question regarding where in FreeBSD5.3 the
 configuration file for a port is stored.  I've been
 trying to find the saved configuration file that Snort
 created upon me selecting what options to include
 during the make install.  I had included support for
 Prelude, since I've never used it before, I figured
 I'd try it out.  Unfortunately, prelude has not been
 updated for Snort 2.0 yet.  
 
 I'm trying to find the saved configuration file so
 that I can remove it and reselect what options I want
 snort built with, but no luck.  Anyone know where it's
 located at?  

For snort, it's in /var/db/ports/snort/options.
Some other ports generate a Makefile.inc file in the port directory.

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


Re: Which is the best PDF utility ?

2005-04-26 Thread Frank Staals
Chuck Robey wrote:
Frank Staals wrote:
edward wrote:
Hi all,
Just wanted to know which is, according to you, the best utility to 
read PDF files. I notice the Acrobat7 port is mentioned as broken 
in the notes. Which program (not necessarily Adobe) would be the 
best alternative for everyday PDF reading ? Oh, almost forgot, I use 
KDE.
Thanks for your insight on this.
Edward

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

What the 'best' is I wouldn't know, I ussually use xpfd works simple 
and effective, has no useless functions etc but works fine. So for 
what I do with it I would say xpdf is good, at least good enough for 
me. If you want to see it just use the command 'xpdf' its default 
supplied with Xorg If I'm correct

Xorg is not a package that includes other packages, such as some 
operating systems.  By that I mean, if you get Xorg as such by that 
name, it's not going to include other tools (such as the excellent 
xpdf).  The only way you'g get xpdf with Xorg is if you got Xorg in a 
package of something like KDE, where packaging in other tools IS very 
likely.
Hmm my mistake, I installed xpdf a long time ago and I didn't recall I 
had to install it manually but indeed it is a seperate package:

[EMAIL PROTECTED] pkg_info | grep xpdf
xpdf-3.00_6 Display PDF files, and convert them to other formats
But in any case xpdf works fine :)
Frank Staals
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Answering my own question Re: Compile of GCC-3.4 port fails on FreeBSD 4.11 --- Help?

2005-04-26 Thread Tom Russo
Answering my own question, just to get the answer into the archives. 

On Mon, Apr 25, 2005 at 10:20:38AM -0600, we recorded a bogon-computron 
collision of the [EMAIL PROTECTED] flavor, containing:
 
 I've been having trouble with ports on FreeBSD 4.11 lately, as more and more
 of them seem to want gcc 3.4 --- but I can't get gcc-3.4 to build.

Turns out that the mingw port (gcc 2.95 cross-compiler for building windows
binaries) is the culprit here.  It installs a /usr/local/include/ansidecl.h
file that is picked up by the configure of gcc-3.4, and that causes the 
problem.  To figure that out I had to look for ATTRIBUTE_NONNULL on my spare
linux box, found it in ansidecl.h, then hunted down why I had an ansidecl.h
without ATTRIBUTE_NONNULL in it with pkg_info -W.

Since I need the mingw port, I just temporarily moved ansidecl.h so gcc3.4
could build.

Never Mind.

 Here's what I get when I attempt to make gcc 3.4:
 
 [...]
 In file included from insn-conditions.c:30:
 ../../gcc-3.4-20050128/gcc/output.h:122: syntax error before 
 `ATTRIBUTE_NONNULL'
 In file included from insn-conditions.c:34:
 ../../gcc-3.4-20050128/gcc/toplev.h:57: syntax error before 
 `ATTRIBUTE_NONNULL'

[...]

 Has anyone else had a problem building gcc-3.4 on FreeBSD 4.11? I see nothing 
 in the -questions or -ports archives about it, and google gave me nothing.  

-- 
Tom RussoKM5VY SAR502  DM64ux http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1 
 The only thing you can do easily is be wrong, and that's hardly
  worth the effort. -- Norton Juster
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GhostScript port/pkg broken on 5.3R

2005-04-26 Thread Lowell Gilbert
Jeff Kreska [EMAIL PROTECTED] writes:

 I can't seem to get ghostscript port/pkg to work. I can't find anyone else
 with this problem so I am not sure if it is onlt my environement.
 
 I tryed pkg ghostscript-gnu-7.07
 port ghostscrupt-gnu ( cvsupped tried again )
 
 My uname reports: 5.3-RELEASE FreeBSD 5.3-RELEASE i386
 
 Problem is with ps2ascii, everytime I run ps2ascii file this is the
 output I get:
 Operand stack:
--nostringval--
 Execution stack:
%interp_exit   .runexec2   --nostringval--   --nostringval--  
 --nostringval--   2   %stopped_push   --nostringval--   --nostringval--
   --nostringval--   false   1   %stopped_push   2   3   %oparray_pop  
 2   3   %oparray_pop   2   3   %oparray_pop   2   3   %oparray_pop  
 .runexec2   --nostringval--   --nostringval--   --nostringval--   2  
 %stopped_push   --nostringval--   --nostringval--   --nostringval--
 Dictionary stack:
--dict:1115/1123(ro)(G)--   --dict:0/20(G)--   --dict:77/200(L)--
 Current allocation mode is local
 Current file position is 7
 GNU Ghostscript 7.07: Unrecoverable error, exit code 1
 
 
 Any pointers or suggestions would be greatly be appreciated.

It looks like the program doesn't think the input is actually a
PostScript file.  Try another file: e.g., 
 
ftp://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO8859-1/articles/5-roadmap/article.ps.bz2
works for me.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


groff alternative?

2005-04-26 Thread Emanuel Strobl
Hello,

I'm using NO_CXX in my make.conf to strip down the base system to ~50MB 
including man pages. The only problem is that groff is missing if I don't 
build c++, and even if I build groff itself and the needed libstdc++ it costs 
me about 10MB. If I just skip NO_CXX it's only 500k more, so I moved my 
patches to /dev/null.

Now I wrote a port for GNU/groff, but this also consumes 9974k by default and 
I don't want to include patches into that port to strip down groff, if that 
was possible at all.

Does anybody know any alternative for the groff part to view man pages simply 
with the man command? It's horrible that the filter needs more space than all 
the manpages itself!

And of course, even if I decide to leave system man pages outside the flash 
card I still may want to read man pages of installed packages (which is 
another mountpoint on my installation, so there may be no space limit, 
depending on the card and additional drives)

Thanks,

-Harry



pgpxc3o4DhpIz.pgp
Description: PGP signature


kern.openfiles

2005-04-26 Thread Lauri Anteploon / ctrl-L
Hi.
I'm running FreeBSD 5.3-Release, with apache2, php5, icecast2 and sc_nsv.
To my understanding some process is eating up the file handles (over couple
of days the kern.openfiles has gone from 170 to 1700). Sooner or later this
will result in kernel: kern.maxfiles limit exceeded errors.
Is there a way to see wich application is holding most of these file handles
and not releasing them?
 
Lauri Anteploon

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 25.04.2005
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: groff alternative?

2005-04-26 Thread Thomas Dickey
On Tue, Apr 26, 2005 at 08:10:41PM +0200, Emanuel Strobl wrote:
 
 Does anybody know any alternative for the groff part to view man pages simply 
 with the man command? It's horrible that the filter needs more space than all 
 the manpages itself!

perhaps cawf

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgpiS458hC1Aj.pgp
Description: PGP signature


Re: Qt programming

2005-04-26 Thread Steven Friedrich
On Tue, 26 Apr 2005 17:08:13 +, Chuck Robey wrote:

Steven Friedrich wrote:
 I want to learn Qt programming.  Can I do that without buying anything from 
 TrollTech (until I'm ready to develop a commercial program) ?  Does FreeBSD 
 have the tools, libraries, etc.?
 

snip very good advice

Thanks for the advice.  I am running FreeBSD.  I love it.  I've been in the 
profession since 1976, and I used UNIX at Gould Computer Systems Division for a 
solid 5 years between 1985-1990.  I've 
been using FreeBSD since 1.1.5 (I think that's what came with a book I bought). 
 I love programming, but I hate the level of detail I need to address in most 
of the latest environments.  Visual C++ 
should be MUCH more functional.

I've been programming in C since '83 and C++ since '94, but I'm always on the 
lookout for higher level languages that will lessen my load.  I want to write 
small apps for personal use on my own 
machines and I never seem to have enough time to learn new languages.  I 
started to pick up Java some time ago, but they keep tripling the language...

I do plan on learning Python and using it to access GTK and QT...

Again, thanks and I hope other people benefit from your response...



Steven Friedrich
5112 Mount Holyoke Drive
Louisville, KY  40216

[EMAIL PROTECTED]
(502) 447-7730



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


Re: Where does a port store a saved configuration file?

2005-04-26 Thread scott renna
I should have specified that the port never properly
built and installed itself.  I got a few responses ran
a make rmconfig.  Then reinstalled and it's all cool
now. 

hey you learn something new everyday


--- Giorgos Keramidas [EMAIL PROTECTED]
wrote:
 On 2005-04-26 08:28, scott renna
 [EMAIL PROTECTED] wrote:
  Hello list,
 
  I had a question regarding where in FreeBSD5.3 the
 configuration file
  for a port is stored.  I've been trying to find
 the saved
  configuration file that Snort created upon me
 selecting what options
  to include during the make install.  I had
 included support for
  Prelude, since I've never used it before, I
 figured I'd try it out.
  Unfortunately, prelude has not been updated for
 Snort 2.0 yet.
 
  I'm trying to find the saved configuration file so
 that I can remove
  it and reselect what options I want snort built
 with, but no luck.
  Anyone know where it's located at?
 
 Look in /var/db/ports/snort :-)
 
 

__
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]


Re: Connecting to the Internet

2005-04-26 Thread Roland Smith
On Mon, Apr 25, 2005 at 07:07:35PM -0400, Broming plutonium wrote:
 Hello everyone...for the first time.
  
 I have two computers. I very recently installed FreeBSD on my first
 computer because the operating system it used to have, Microsoft
 Windows, was infected by so many viruses that my computer took a
 million years to open a program.

:-) 
 
 I've only had 2 days of experience with FreeBSD, so I don't know
 anything about it. How do I connect it to the Internet using Ethernet?
 My computer seemed to be telling me it had three network
 interfaces. I'm guessing that the ones called plip0 and ppp0 are all
 wrong; sl0 is the right one.

FreeBSD comes with a handbook. You can find it on your disk at 

/usr/share/doc/en_US.ISO8859-1/books/handbook/book.html (HTML version)
/usr/share/doc/en_US.ISO8859-1/books/handbook/book.txt (plain text version)

You can view the text version with the command 
'less /usr/share/doc/en_US.ISO8859-1/books/handbook/book.txt'

If you have the X window system running, and have a web browser (mozilla
or firefox) installed, reading the HTML version is probably nicer.

 FreeBSD tries to establish an Internet connection on plip0 every time
 it boots. How do I change that to sl0?  How do I tell it to tell DHCP
 server to assign IP address xxx.xxx.xxx.xxx on subnet mask
 xxx.xxx.xxx.xxx USING the sl0 network interface?

If you run the command 'ifconfig', you'll see which interfaces are
available. On my system it returns this:

re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=18VLAN_MTU,VLAN_HWTAGGING
inet 10.0.0.150 netmask 0xff00 broadcast 10.0.0.255
ether 00:11:09:8b:c2:58
media: Ethernet autoselect (100baseTX full-duplex)
status: active
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet 127.0.0.1 netmask 0xff00 

You can forget about plip0 (it is shown because the system has a
parallel port) and lo0 (that's the loopback interface). In my case re0
is the ethernet card.

To see if you have a active ethernet card, run the following command
(without the quote-marks)

'dmesg|grep Ethernet'

On my system it returns:

re0: RealTek 8169S Single-chip Gigabit Ethernet port 0xd400-0xd4ff mem 
0xcfffbf00-0xcfffbfff irq 16 at device 11.0 on pci0
re0: Ethernet address: 00:11:09:8b:c2:58

This shows that I have a RealTek ethernet chip, that uses the re
driver. It is also listed in the ifconfig output.

 What do I have to do to establish an Internet connection? Any help
 would be appreciated. Thanks!

That depends. We need more information in order to tell you anything
usefull. Do you have a DSL modem that has an ethernet connection? Or do
you dial in via a modem?

Roland
-- 
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpNLW0C2AA6R.pgp
Description: PGP signature


Re: Connecting to the Internet

2005-04-26 Thread Tomas Quintero
On 4/25/05, Broming plutonium [EMAIL PROTECTED] wrote:
  Firstly, by telling the DHCP server to assign a static-IP address to a
  specific system on the network, what sort of DHCP server are you
  speaking of. Are you asking about your ISPs DHCP, a
  Linksys/Dlink/other SOHO DHCP device, or are you attempting to setup
  your own internal DHCP server such as ISC-DHCP for your LAN.
  
 Sorry--my DHCP server is a Linksys router which is supposed to assign an
 internal IP address automatically, whenever a computer asks for it. 
  
  Secondly, the quick and easy way to change around things so that sl0
  pulls an IP is to run /stand/sysinstall and reconfigure your Network
  Interfaces.
  
 Umm...how do I do that again? Do I just go to /stand/sysinstall, click on
 Index, and click on Network Interfaces? What do I put down for the host and
 domain? The host is the computer name, I suppose, but I don't think I
 assigned my LAN a domain. I accidentally put something for the domain, and
 now I can't erase it because whenever I leave a textbox my computer
 automatically refills it with what I wrote earlier. In fact, I can't change
 any settings because it will refill itself whenever I try to.
  
  You could also edit rc.conf manually and set up the sl0
  interface that way, to either pull a static or dynamic IP.
 I tried that a minute ago, but it only got me into even deeper trouble. I'm
 so careless that I forgot to put a quote, and now my computer wouldn't boot
 properly. It only allows me to log on as a single user, and has #  thing
 instead of $ or computername: 
  
 How do I open a text editor to edit the rc.conf file while I'm not logged in
 (I don't think so), and while every command has # in front of it? vi
 wouldn't work, and view and ex don't work either. I also have a copy of the
 original rc.conf file; how do I dump the data into the current rc.conf file
 which is driving me crazy because I made an error in it?
  
  Is sl0 internal or external? Is the FreeBSD box going to NAT for your
  second computer?
 
 I don't know--I think sl0 is the network card, and if I'm right it's
 internal. Also, I'll be 80 when I even dare to think about making FreeBSD
 NAT for my other computer. My Linksys router is the NAT router for all my
 computers.  
  
 
 Tomas Quintero [EMAIL PROTECTED] wrote:
 On 4/25/05, Broming plutonium wrote:
  Hello everyone...for the first time.
  
  I have two computers. I very recently installed FreeBSD on my first
 computer because the operating system it used to have, Microsoft Windows,
 was infected by so many viruses that my computer took a million years to
 open a program.
  
  I've only had 2 days of experience with FreeBSD, so I don't know anything
 about it. How do I connect it to the Internet using Ethernet? My computer
 seemed to be telling me it had three network interfaces. I'm guessing that
 the ones called plip0 and ppp0 are all wrong; sl0 is the right one.
  
  FreeBSD tries to establish an Internet connection on plip0 every time it
 boots. How do I change that to sl0? How do I tell it to tell DHCP server to
 assign IP address xxx.xxx.xxx.xxx on subnet mask xxx.xxx.xxx.xxx USING the
 sl0 network interface?
  
  What do I have to do to establish an Internet connection? Any help would
 be appreciated. Thanks!
 
 Firstly, by telling the DHCP server to assign a static-IP address to a
 specific system on the network, what sort of DHCP server are you
 speaking of. Are you asking about your ISPs DHCP, a
 Linksys/Dlink/other SOHO DHCP device, or are you attempting to setup
 your own internal DHCP server such as ISC-DHCP for your LAN.
 
 Secondly, the quick and easy way to change around things so that sl0
 pulls an IP is to run /stand/sysinstall and reconfigure your Network
 Interfaces. You could also edit rc.conf manually and set up the sl0
 interface that way, to either pull a static or dynamic IP.
 
 Is sl0 internal or external? Is the FreeBSD box going to NAT for your
 second computer?
 
 -- 
 -Tomas Quintero
 
 
 
 
 Post your free ad now! Yahoo! Canada Personals
 
 
 
FreeBSD performing NAT is really really easy. If you do a little
research perhaps into PF which I'm currently trying to learn, it's
pretty simple to do, compared to what I've seen from IPFW.

 How do I open a text editor to edit the rc.conf file while I'm not
logged in (I don't think so), and while every command has # in front
of it? vi wouldn't work, and view and ex don't work either. I also
have a copy of the original rc.conf file; how do I dump the data into
the current rc.conf file which is driving me crazy because I made an
error in it?

You could just do:
cat rc.conf.backup  rc.conf
If I'm not mistaken if you have a backup copy of your rc.conf.

As several people have said in this chain of emails, sl0 is not
actually one of your NICs. I believe it is a serial port or something,
but I don't quite remember.

If you could, please post the results from 'ifconfig' and perhaps your

Re: groff alternative?

2005-04-26 Thread Diomidis Spinellis
Emanuel Strobl wrote:
I'm using NO_CXX in my make.conf to strip down the base system to ~50MB 
including man pages. The only problem is that groff is missing if I don't 
build c++, and even if I build groff itself and the needed libstdc++ it costs 
me about 10MB. If I just skip NO_CXX it's only 500k more, so I moved my 
patches to /dev/null.
Does anybody know any alternative for the groff part to view man pages simply 
with the man command? It's horrible that the filter needs more space than all 
the manpages itself!
Have you considered preformatting the manual pages on the development 
system, and copying over the pages into /usr/share/man/cat* of the 
shrinked-down system?

And of course, even if I decide to leave system man pages outside the flash 
card I still may want to read man pages of installed packages (which is 
another mountpoint on my installation, so there may be no space limit, 
depending on the card and additional drives)
Again, it appears your shrinked-down system has access to a more 
powerful machine.  You could modify man to run groff on the remote machine.

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


Re: groff alternative?

2005-04-26 Thread Emanuel Strobl
Am Dienstag, 26. April 2005 20:26 schrieb Thomas Dickey:
 On Tue, Apr 26, 2005 at 08:10:41PM +0200, Emanuel Strobl wrote:
  Does anybody know any alternative for the groff part to view man pages
  simply with the man command? It's horrible that the filter needs more
  space than all the manpages itself!

 perhaps cawf

This is _very_ interesting. Thanks a lot!
I found sources on http://www.tux.org/pub/sites/vic.cc.purdue.edu/
Is there additional work known? It's 8 years old and I'm not very familar with 
nroff at all, so I don't want to learn about outdated macros.

Thank you,

-Harry


pgpCbhuMu5GfI.pgp
Description: PGP signature


Re: groff alternative?

2005-04-26 Thread Emanuel Strobl
Am Dienstag, 26. April 2005 20:43 schrieb Diomidis Spinellis:
 Emanuel Strobl wrote:
  I'm using NO_CXX in my make.conf to strip down the base system to ~50MB
  including man pages. The only problem is that groff is missing if I don't
  build c++, and even if I build groff itself and the needed libstdc++ it
  costs me about 10MB. If I just skip NO_CXX it's only 500k more, so I
  moved my patches to /dev/null.
  Does anybody know any alternative for the groff part to view man pages
  simply with the man command? It's horrible that the filter needs more
  space than all the manpages itself!

 Have you considered preformatting the manual pages on the development
 system, and copying over the pages into /usr/share/man/cat* of the
 shrinked-down system?

  And of course, even if I decide to leave system man pages outside the
  flash card I still may want to read man pages of installed packages
  (which is another mountpoint on my installation, so there may be no space
  limit, depending on the card and additional drives)

 Again, it appears your shrinked-down system has access to a more
 powerful machine.  You could modify man to run groff on the remote machine.

That's a possible solution, but not the way I like it. If I once installed one 
of these embedded boxes and decide to add a small package it should be 
possible to read the package's man page without any help of other machines. 
Also ordinary package-installation should work, so preformatting system man 
pages is a good idea but not applicable for the ports/packages.

Thanks,

-Harry


pgpyhgaKMdY8N.pgp
Description: PGP signature


compaq ML330 server devices

2005-04-26 Thread oHmEr
hello,
i just changed my hardware and pciconf -lv give me two unknown devices :
[EMAIL PROTECTED]:4:0: class=0x088000 card=0xb0f30e11 chip=0xa0f00e11 rev=0x00 
hdr=0x00
vendor   = 'Compaq Computer Corp (Now owned by Hewlett-Packard)'
device   = 'Advanced System Management Controller'
class= base peripheral
[EMAIL PROTECTED]:6:1: class=0x058000 card=0xce11 chip=0x19608086 rev=0x05 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '80960RP i960RP Microprocessor'
class= memory

what are these ? are they supported ? can i take any advantage of them ?
thank you for answers.
--
Matthieu Michaud - EPITA promo 2007
Tel: 06 13 40 49 29 | [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


fetch hangs for download.kde.org

2005-04-26 Thread cpghost
While running the last phase of gnome_upgrade.sh, fetch always
seems to hang, but (apparently) only for the host download.kde.org.

Forcing passive mode for fetch (FETCH_CMD=/usr/bin/fetch -ARpr)
doesn't help. Repeating the 'make fetch' command manually multiple
times in the ports directory usually solves the problem; but
sometimes only the ftp client would work.

Sometimes, fetch: transfer timed out also appear, but usually,
only the first few KB get transferred.

This is a random error, which doesn't always happen, but for that
ftp server often enough to wedge the Big Update :(

I have an MTU of 1460, as recommended by the ISP, and using another
FreeBSD box, running pf, as a router; also with the correct MTU on
all interfaces, so this can't be the problem.

Why, oh why, is fetch b0rked? ;-)

That's on a 5.4-PRERELEASE system from March 9th.

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


alpha 4.8 iso1 missing

2005-04-26 Thread Martin Krug

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


Re: kern.openfiles

2005-04-26 Thread Lowell Gilbert
Lauri Anteploon / ctrl-L [EMAIL PROTECTED] writes:

 I'm running FreeBSD 5.3-Release, with apache2, php5, icecast2 and sc_nsv.
 To my understanding some process is eating up the file handles (over couple
 of days the kern.openfiles has gone from 170 to 1700). Sooner or later this
 will result in kernel: kern.maxfiles limit exceeded errors.
 Is there a way to see wich application is holding most of these file handles
 and not releasing them?

You are looking for fstat(1).

There are some clever scripts around for making use of the output, but
I find that sort(1) is usually enough to help me quickly find a file hog.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: alpha 4.8 iso1 missing

2005-04-26 Thread Kris Kennaway
On Tue, Apr 26, 2005 at 03:34:29PM -0400, Martin Krug wrote:
 

Did you intend to ask a question?

Kris


pgp8AGUr1a5Fy.pgp
Description: PGP signature


Re: Qt programming

2005-04-26 Thread Mike Jeays
On Tue, 2005-04-26 at 14:27, Steven Friedrich wrote:
 On Tue, 26 Apr 2005 17:08:13 +, Chuck Robey wrote:
 
 Steven Friedrich wrote:
  I want to learn Qt programming.  Can I do that without buying anything 
  from TrollTech (until I'm ready to develop a commercial program) ?  Does 
  FreeBSD have the tools, libraries, etc.?
  
 
 snip very good advice
 
 Thanks for the advice.  I am running FreeBSD.  I love it.  I've been in the 
 profession since 1976, and I used UNIX at Gould Computer Systems Division for 
 a solid 5 years between 1985-1990.  I've 
 been using FreeBSD since 1.1.5 (I think that's what came with a book I 
 bought).  I love programming, but I hate the level of detail I need to 
 address in most of the latest environments.  Visual C++ 
 should be MUCH more functional.
 
 I've been programming in C since '83 and C++ since '94, but I'm always on the 
 lookout for higher level languages that will lessen my load.  I want to write 
 small apps for personal use on my own 
 machines and I never seem to have enough time to learn new languages.  I 
 started to pick up Java some time ago, but they keep tripling the language...
 
 I do plan on learning Python and using it to access GTK and QT...
 
 Again, thanks and I hope other people benefit from your response...
 
 
 
 Steven Friedrich
 5112 Mount Holyoke Drive
 Louisville, KY  40216
 
 [EMAIL PROTECTED]
 (502) 447-7730
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Python and Ruby are great choices for small or medium-size persnal
programs.  Their great advantages are:
1) Associative arrays (hashes or dictionaries)
2) Excellent list/array management
3) Complete memory management
4) Excellent features for using objects properly

The amount of time you save compared to C and C++ is worth a fair bit of
learning curve, IMHO.

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


libgmodule-2 questions (and shared libraries in general)

2005-04-26 Thread Steven Friedrich
On one of my two 4.11 boxes, kdelibs fails to build. Here's the output:
snip
gmake[3]: Entering directory 
`/usr/ports/x11/kdelibs3/work/kdelibs-3.4.0/arts/kde'
/usr/local/bin/mcopidl -I/usr/local/include/arts -t 
-I. ../../arts/kde/artskde.idl
/usr/libexec/ld-elf.so.1: Shared object libgmodule-2.0.so.400 not found, 
required by mcopidl
snip

A find produces:
[EMAIL PROTECTED](p2)/root 102% find / -name libgmodule-2\*
/usr/local/lib/compat/pkg/libgmodule-2.0.so.200
/usr/local/lib/libgmodule-2.0.so.600
/usr/local/lib/libgmodule-2.0.so
/usr/local/lib/libgmodule-2.0.a
/usr/compat/linux/usr/lib/libgmodule-2.0.so.0
/usr/compat/linux/usr/lib/libgmodule-2.0.so.0.200.1

I'm not sure I haven't shot myself in the foot, by using portsclean -L and 
libchk without knowing what I'm doing ... 8o)

What can I do?


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


Re: groff alternative?

2005-04-26 Thread Chuck Swiger
Diomidis Spinellis wrote:
Emanuel Strobl wrote:
[ ...about groff... ]
Have you considered preformatting the manual pages on the development 
system, and copying over the pages into /usr/share/man/cat* of the 
shrinked-down system?
I would second this suggestion.  Run catman on the dev system with groff and 
lots of space, and duplicate the formatted manpages over to the tiny system.

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


Re: Where does a port store a saved configuration file?

2005-04-26 Thread Giorgos Keramidas
On 2005-04-26 11:28, scott renna [EMAIL PROTECTED] wrote:
--- Giorgos Keramidas [EMAIL PROTECTED] wrote:
On 2005-04-26 08:28, scott renna [EMAIL PROTECTED] wrote:
 I'm trying to find the saved configuration file so that I can
 remove it and reselect what options I want snort built with, but
 no luck.  Anyone know where it's located at?

 Look in /var/db/ports/snort :-)

 I should have specified that the port never properly built and
 installed itself.  I got a few responses ran a make rmconfig.
 Then reinstalled and it's all cool now.

Please, note that /var/db/ports/FOO is not the same as /var/db/pkg/FOO.
Thus, the fact that the port never finished a build is ok.

Anyway... I'm glad that all works fine now :-)

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


RE: Where to find good/cheap tech support

2005-04-26 Thread Robert L Sowders
Redhat is not free anymore my friend.  It's close to 800 now.  Fedora is 
free but is unstable.

Try CentOS, the free Redhat clone.

Either way, the support costs are the same. 

There is no free lunch, learn it yourself, or pay someone who has.

rls





ChrisC [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
04/26/2005 01:58 AM

 
To: freebsd-questions@freebsd.org
cc: 
Subject:RE: Where to find good/cheap tech support


I guess we are going with RedHat on this server. I would have preferred 
FreeBSD :(

This was just meant to be a little question on where to get help that fits 

our budget, nothing more.

For those that like to poke and hit I'm just a little employee doing 
what I can with what I'm given.



At 4/26/2005 01:31 AM, Ted Mittelstaedt wrote:
[EMAIL PROTECTED] wrote:
 You seem to be making assumptions and are looking into this
  to deeply
 my friend. But thanks for the feedback anyway :)-
 The $150 was only an arbitrary number thats common in the field. I
 could have chosen another number. It would not have mattered, the
 question would have been the same.

That is baloney, when you titled the post good/CHEAP, quite obviously the
number matters greatly.

 -
 The SCSI adapter is an Adaptec Ultra320 built into a $3000+ 1U web
 server and not a common inexpensive controller. Since it works fine
 for both RedHat and Windows we are probably going to go with
 another OS on this server other than FreeBSD.

Um, that would be Windows, right? That is, your going to drop an
additional
$1200 on Windows OS and licensing for it just because you don't want to
drop $150 into an hour of support?

If that isn't true then why are you even listing Windows here?  Windows
isn't
a UNIX OS, and has no relevance to anything.  Is it because your thinking
that if you tell us Windows runs on this server that we are all going to
be
real impressed?  Aren't you forgetting a lot of us already run 1U
webservers
fine with FreeBSD with no problems?

The fact RedHat runs on this is significant since the FreeBSD and RedHat
Adaptec driver have a common ancestor.

 Why arm wrestle the
 situation when no one seems to know the solution to our issue.-

Simple, because the OS is free.  If you want to save the money on
licensing
fees then you spend your time arm wrestling problems when they come up.

If you own a car and you want to save a lot of money on mechanics fees
then
you learn how to fix it, buy a lot of tools, and do the work yourself.
Why
is this any different with operating systems?

 And I am in a VERY small company that could barely pay for what we
 just purchased. We where lucky to get what we did and the idea of
 having a duplicate is wishful thinking and not realistic, so thats
 a risk we will have to take until we can afford better solutions.

In short, you overreached yourself.  So let me ask you, why should
customers
use you when your competition has actually spent the money for backup
servers?

I work for a small company too, lots of people do that is no excuse.  But
when I have a problem, such a fielding a mailserver, that really ought to
have a backup server, if I have $3K to spend on it, I don't run out and
buy a new server.  I instead get creative and perhaps buy 2 used servers
at $1500, or roll my own clones, or get a leasing company involved, etc.

I don't shortchange my customers because I'm not willing to gamble with
their livelihoods.  Sure, I may not be out there saying to them that I
have a brand new P4 3Ghz server for them like you are, but I am telling
them
that for what they need, a P4 3Ghz server won't be any different than a
P3 1.5Ghz system, (which it isn't) and that I have redundancies in that
P3 1.5Ghz network that allow me to guarentee to them that if my server
blows
chunks that I will have them back online within 20 minutes.

 Its not the perfect situation but its the best we can do with what
 we have.

No, it isn't.

 I would love a new house but the cold numbers dictate
 what'sreally possible right now. -

No, they don't.  You are simply making up justfications for yourself to
try to sleep better at night.  You don't have the moral leg to stand on
to
sell server services to your customers, because when your customers buy
services from you there is an implied understanding that they are buying
server services that are done in a professional manner, better than they
could do them.

And if you aren't selling server services to customers, but instead using
this server for your own business, the moral issues still remain because
your customers depend on your product, and if you go offline a week
because
your all-the-eggs-in-one-basket solution blew chunks, then your still
affecting your customers.

I'm sure you can probably go on making excuses, but I'm not interested
in them.  You said you couldn't afford to have the server down for
days at a time.  Well, either that was 

firefox slow/hang load images and yahoo mail

2005-04-26 Thread benchmark
Basic info:
 System 5.3
 portupdate last night
 build firefox 1.0.3
 build linuxwrapper, flashplugins, etc.

A few problems I noticed:
a) firefox is very slow loading any site with images. For example,
loading www.nyt.com, the text content comes up very quickly, but then
it takes forever to load the images.

My question: is this a problem with my graphics or it's firefox? it
seemed to me to be a problem with firefox.

b) when i try to login in my mail account at yahoo, it just hangs. 
I checked with my windows xp's firefox loading at the sametime, there
were no problems. So it's no the problem with the network connection
or the website itself.

Is there anything (like plugins, or libraries, etc) that I need to tweak?

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


Re: Questions about processes

2005-04-26 Thread Lord Raiden

These are kernel threads. 5.x is more modular than 4.x and a lot
of functionality has been moved to internal threads (for the sake
of SMP). There's really nothing wrong with this; esp. since the
number of threads is still pretty small :)
The kernel may create more such threads if it needs them; like e.g.
when using GBDE or so.
AH!  So that explains those.  Cool.  Good info to know.  ^_^  Is 
there a benefit to these threads being modular if I might ask?  I'm sure 
there is, but I'm just curious what they might be.  And I didn't think they 
took up all that much processor, so I wasn't so worried about that.  It 
just kinda surprised me when I saw that huge list of processes when I 
listed them.  hehe.

I'm using the same hardware here. It is more than fast enough for this.
Don't worry about those kernel threads, which are idle most of the time.
The CPU time they consume would have been used up in 4.x too (as system
time), you would just not see it with ps there as you can see it here.
heh.  Yeah, I'm still breaking this one in, but it's been a 
fabulous trooper so far and I think it's really going to do a lot of honor 
to our old server that's being retired after many, many fine years of 
service.  :D

Thanks again for the info.  Curiousity can lead to learning a lot 
of cool things.  I know I certainly learned a bunch from this!! ^_^

Steven Lake
-Owner/Webmaster
Raiden's Realm
www.raiden.net
Come see Monk the comic strip and laugh till you die!  :)
http://www.raiden.net/Monk/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox slow/hang load images and yahoo mail

2005-04-26 Thread Michael Johnson
benchmark wrote:
Basic info:
 System 5.3
 portupdate last night
 build firefox 1.0.3
 build linuxwrapper, flashplugins, etc.
A few problems I noticed:
a) firefox is very slow loading any site with images. For example,
loading www.nyt.com, the text content comes up very quickly, but then
it takes forever to load the images.
you sure it's not your connection? The page loads fully in about 3sec 
for me.
My question: is this a problem with my graphics or it's firefox? it
seemed to me to be a problem with firefox.
b) when i try to login in my mail account at yahoo, it just hangs. 
I checked with my windows xp's firefox loading at the sametime, there
were no problems. So it's no the problem with the network connection
or the website itself.

Is there anything (like plugins, or libraries, etc) that I need to tweak?
thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



signature.asc
Description: OpenPGP digital signature


Re: firefox slow/hang load images and yahoo mail

2005-04-26 Thread Chuck Swiger
benchmark wrote:
[ ... ]
A few problems I noticed:
a) firefox is very slow loading any site with images. For example,
loading www.nyt.com, the text content comes up very quickly, but then
it takes forever to load the images.
My question: is this a problem with my graphics or it's firefox? it
seemed to me to be a problem with firefox.
Some of the adservers used on websites don't respond correctly to IPv6  
queries, and cause DNS timeouts.  Try running bind with the -4 option to 
disable IPv6, and see whether that helps, and/or try switching to using a 
different nameserver, if you are using someone elses (ie, your ISP's).

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


Re: Questions about processes

2005-04-26 Thread Chuck Swiger
Lord Raiden wrote:
These are kernel threads. 5.x is more modular than 4.x and a lot
of functionality has been moved to internal threads (for the sake
of SMP). There's really nothing wrong with this; esp. since the
number of threads is still pretty small :)
The kernel may create more such threads if it needs them; like e.g.
when using GBDE or so.
AH!  So that explains those.  Cool.  Good info to know.  ^_^  Is 
there a benefit to these threads being modular if I might ask?  I'm sure 
there is, but I'm just curious what they might be.
Sure.  These threads can be scheduled to run on any processor in a SMP system, 
and can run in parallel, whereas the older 4.x architecture had one giant lock 
over almost everything (called Giant :-), meaning only one kernel thread 
could run at a time, using only one CPU.

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


make x LC_ALL=C: command not found.

2005-04-26 Thread Aaron Sloan
Hello,
step 1.   I cvsup, rebuilt and installed world and generic kernel. 
Mergemastered just like I always do.
I followed the handbook to the letter and this certainly isn't my first 
time.
5.4 stable.

I customized my kernel and went to build it.
make buildkernel KERNCONF=XX
I get the following error.
LC_ALL=C: command not found.
Makefile, line 155 warning: LC_ALL=C date returned non-zero status
MAKEFLAGS=: Command not found.
Makefile.inc1 line 116: warning MAKEFLAGS= CPUTYPE=dummy make -f 
/dev/null -m
/usr/src/share/mk -V CPUTPE returned non-zero status
Makefile.inc1, line 118: CPUTYPE globaal should be set with ?=.
  error code 1.

I did monkey with make.conf before step 1.
I added...
CPUTYPE?=i686
CFLAGS= -O -pipe
Make now fails to the above error on every thing.
I'm not certain what I did to break it but I'm sure it has my name all 
over it.

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


Re: Which is the best PDF utility ?

2005-04-26 Thread Gustavo De Nardin
Hi.

2005/4/26, edward [EMAIL PROTECTED]:
 Just wanted to know which is, according to you, the best utility to read
 PDF files. I notice the Acrobat7 port is mentioned as broken in the
 notes. Which program (not necessarily Adobe) would be the best
 alternative for everyday PDF reading ? Oh, almost forgot, I use KDE.

So, haven't you tried Kpdf from KDE 3.4? It's the best X-windows PDF
reader I've used.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Force install vulnerable port

2005-04-26 Thread Ryan Winograd
How can I override portaudit when trying to install a port with 
vulnerabilities like jdk?

My temp. solution is to remove portaudit, but would like a way to be 
able to keep it and still be able to build vulnerable ports. 
Unfortunately, I couldn't find an answer in either the handbook or google.

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


Re: firefox doesn't show up

2005-04-26 Thread Trey Sizemore
On Fri, 01 Apr 2005 00:40:43 -0800
Ben Munat [EMAIL PROTECTED] wrote:

 Did you try running it from the command line? That way you can see if
 it prints errors when it fails.
 
 b

My Firefox will no longer work as a normal user (no page loads and
buttons are unresponsive), although it does as root.  Starting from the
command line produces the following output (both as root and my normal
user account):

[EMAIL PROTECTED] firefox
LoadPlugin: failed to initialize shared library /usr/compat/linux/usr/
local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so [Shared object
libc.so.6 not found, required by nppdf.so] *** Failed to load
overlay chrome://useragentswitcher/content/menu.xul

Any ideas on how to fix this?


-- 
Cheers,
Trey

 
we will invent new lullabies, new songs, new acts of love,
we will cry over things we used to laugh 
our new wisdom will bring tears to eyes of gentile
creatures from other planets who were afraid of us till then 
in the end a summer with wild winds 
new friends will be.
 
FreeBSD 5.3-STABLE i386 i386 GENERIC
 7:08PM  up 22:32, 1 user, load averages: 0.34, 0.26, 0.34
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which is the best PDF utility ?

2005-04-26 Thread edward
Thanks for the suggestion Henry. I'll try it straight away. To all the 
others who kindly answered my question and suggested xpdf, the utility 
works well. No thumbnails, though. And something slightly more KDE-ish 
would be cool. But it definitely showed me which way to go.
Thanks again gang.
Edward

Henry Miller wrote:
On 4/26/2005 at 19:13 edward wrote:

Hi all,
Just wanted to know which is, according to you, the best utility to
read 

PDF files. I notice the Acrobat7 port is mentioned as broken in the 
notes. Which program (not necessarily Adobe) would be the best 
alternative for everyday PDF reading ? Oh, almost forgot, I use KDE.
Thanks for your insight on this.
Edward

kpdf, which is based on xpdf (other recommended xpdf) is a part of KDE,
and thus integrates well with the rest of your KDE environment.  I like
it.   The Adobe reader would be better if it wasn't such a pain to
install and use.   (I have a windows machine with acrobat, but when I
need to view a pdf I move to my FreeBSD machine so I can use kpdf)
kpdf is a part of kdegraphics, which is in ports as:
/usr/ports/graphics/kdegraphics3
I'd call this your best bet because you use KDE already.

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


Re: Force install vulnerable port

2005-04-26 Thread [EMAIL PROTECTED]
On Tue, 26 Apr 2005 18:04:09 -0500
Ryan Winograd [EMAIL PROTECTED] wrote:

 How can I override portaudit when trying to install a port with 
 vulnerabilities like jdk?
 
 My temp. solution is to remove portaudit, but would like a way to be 
 able to keep it and still be able to build vulnerable ports. 

remove the portaudit-database in /var/db/portaudit/

after removing that, and installing your app. you can do portaudit -Fda
again

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


Re: Force install vulnerable port

2005-04-26 Thread exp
On Tue, Apr 26, 2005 at 06:04:09PM -0500, Ryan Winograd wrote:
 How can I override portaudit when trying to install a port with 
 vulnerabilities like jdk?
 
 My temp. solution is to remove portaudit, but would like a way to be 
 able to keep it and still be able to build vulnerable ports. 
 Unfortunately, I couldn't find an answer in either the handbook or google.
 
 Thanks for all help,
 Ryan
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
When you build your port, use make DISABLE_VULNERABILITIES=true
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fwd: firefox slow/hang load images and yahoo mail

2005-04-26 Thread benchmark
-- Forwarded message --
From: benchmark [EMAIL PROTECTED]
Date: Apr 26, 2005 3:13 PM
Subject: Re: firefox slow/hang load images and yahoo mail
To: Chuck Swiger [EMAIL PROTECTED]


That might be a potential problem, my cvsup hangs as well. I have
setup dhcp via wireless (ipw driver) for thinkpad. how do you change
the name server? and is there anything i need to change in my dhcp
setup?

My ping on freebsd responds faster than the ping on windows xp, so i
think the basic network is working. And i was running dhcp on XP via
wireless as well, and it didn't seem to have any problems

On 4/26/05, Chuck Swiger [EMAIL PROTECTED] wrote:
 benchmark wrote:
 [ ... ]
  A few problems I noticed:
  a) firefox is very slow loading any site with images. For example,
  loading www.nyt.com, the text content comes up very quickly, but then
  it takes forever to load the images.
 
  My question: is this a problem with my graphics or it's firefox? it
  seemed to me to be a problem with firefox.

 Some of the adservers used on websites don't respond correctly to IPv6 
 queries, and cause DNS timeouts.  Try running bind with the -4 option to
 disable IPv6, and see whether that helps, and/or try switching to using a
 different nameserver, if you are using someone elses (ie, your ISP's).

 --
 -Chuck


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


Re: Force install vulnerable port

2005-04-26 Thread Kris Kennaway
On Tue, Apr 26, 2005 at 06:04:09PM -0500, Ryan Winograd wrote:
 How can I override portaudit when trying to install a port with 
 vulnerabilities like jdk?
 
 My temp. solution is to remove portaudit, but would like a way to be 
 able to keep it and still be able to build vulnerable ports. 
 Unfortunately, I couldn't find an answer in either the handbook or google.

See the ports(7) manpage.

Kris


pgp7hu5OhdIUU.pgp
Description: PGP signature


DBX file format reading....

2005-04-26 Thread sushil choudhari
Hi Everyone,

Hello
 Would anybody please help me in finding the DBX files
format (Files used in Microsoft Outlook Express ). I want to read the file 
format so that i can read individual mails (with or without attachment) from 
the .dbx file.

Thanks!

Sushil Choudhari

http://geocities.com/sushilchoudhari/index.html



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


Re: Qt programming

2005-04-26 Thread Danny Pansters
On Tuesday 26 April 2005 19:08, Chuck Robey wrote:
 Steven Friedrich wrote:
  I want to learn Qt programming.  Can I do that without buying anything
  from TrollTech (until I'm ready to develop a commercial program) ?  Does
  FreeBSD have the tools, libraries, etc.?

 There are several books on teh subject available also.  I would suggest
 you need tow things,
 1) a development environment, and
 2) documentation

 The very best choice you could possibly make for development would be
 one of the BSD's.  This includes OpenBSD, FreeBSD, NetBSD, DragonFlyBSD,
 and there are others.  It's arguable that Linux would be included in
 that grouping ... the coding you will find in the BSD's is far more
 prefessional in style, but the OS and environment is more develoed in
 Linux.

 The worst choice you could make would be, Windows inany form.  You will
 end up having to pay thousands of dollars for a less-rich environment.

 The idea of buying one or more books is a very good idea, because there
 are several very good ones out there, and lots of help online.

 I don't know your goal well enough to product, but there is another
 graphical option, that of the gimp toolkits, the gtk libraries.  Qt is
 semi-free (free for free projects, paid if you try to make money on it).
   The Gimp toolkits are ALL totally free.  Beyond that, the qt system is
 based upon a precompiler, I really, really dislike that sort of system,
 and gtk doesn't do that.  That's a very personal prejudice, of course,
 and maybe worth some discussion.  Anyhow, you want to consider gtk.

I find this a tad biased. Let me try to counter a bit and provide some more 
info. 

One could also argue that qt has a bootload more high level functionality. And 
based upon a preprocessor? You mean it's C++? Yes. So is wxwidgets (FKA 
wxwindows) which is another fine toolkit. Python bindings to any of them 
might have a bit less functionality than the native C or C++ toolkits but 
generally their amount of functionality reflects that of the underlying 
toolkit. 

 Another thing you might want to consider is, leaerning python, and then
 using python's incredible facilities to program directly in gtk (see
 pygtk) or qt (see pyqt).  I have myself done a large job in pygtk, it's
 a great environment to work  in, a very rich programming environment for
 gui work.

I like using python for both low level stuff (or quick-and-dirty scripts) and 
GUI stuff. It's very versatile with lots of added modules. The base modules 
are pretty much optimized for speed, no need to try and reinvent the wheel. I 
played with py-gtk a bit (with ROX desktop) but found it a little cumbersome.

I also used py-wx for a little accounting app for my own which I wanted to be 
able to run on both *NIX and Windows. On *NIX it renders as gtk widgets, on 
Win32 natively. 

But qt (py-qt) definately has the most functionality to get started with. I 
never really done a project with it and am personally more interested in 
py-kde (which builds upon it), but it surely has a lot of stuff ready to use 
to build a complex app using python.

There's also a py-anygui that abstracts widgets (with some limitations of 
course) and then you can deploy them with py-gtk, py-wx, py-qt, py-kde, 
py-ncurses...).

Also python has lots of very useful modules, lots more unofficial ones which 
at the very least you can use as starting point. So yeah, considering today's 
processors and RAM the average PC has, python is certainly something to 
consider.

HTH,

Dan


  -
 --- Steven Friedrich
  5112 Mount Holyoke Drive
  Louisville, KY  40216
 
  [EMAIL PROTECTED]
  (502) 447-7730
 
 
 
  ___
  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]


DNS config for dhcp

2005-04-26 Thread benchmark
I have a DHCP setup, and as part of the network interface config, i've
got my hostname and domain setup as rainier.sbcglobal.com. Note that I
have my own DHCP sever (my wireless access point, which in turn is
getting a dhcp address from SBC).

#hostname
rainier.sbcglobal.com

but host or bind won't run correctly, as the name of my network/dhcp
setup is really not in the DNS of my ISP. I believe that's cause cvsup
misbehave (as well as browser's behaving very slowly or timedout).
cvsup only worked once, it always came back with a network read error
after connecting to the freebsd host, and wasn't able to get any
files

So how do i go about fixing this problem?
thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which is the best PDF utility ?

2005-04-26 Thread Joshua Tinnin
On Tue 26 Apr 05 15:56, Gustavo De Nardin [EMAIL PROTECTED] wrote:
 Hi.

 2005/4/26, edward [EMAIL PROTECTED]:
  Just wanted to know which is, according to you, the best utility to
  read PDF files. I notice the Acrobat7 port is mentioned as broken
  in the notes. Which program (not necessarily Adobe) would be the
  best alternative for everyday PDF reading ? Oh, almost forgot, I
  use KDE.

 So, haven't you tried Kpdf from KDE 3.4? It's the best X-windows PDF
 reader I've used.

Yeah, I'd second that. xpdf doesn't always get formatting right, and 
Kpdf usually does, at least in my experience. I'd rather use it than a 
working Acrobat, frankly. I use xpdf on machines where KDE is too large 
or cumbersome, such as my old Dell Inspiron 3500 laptop (300MHz).

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


What is ata2 ?

2005-04-26 Thread Rob

Hi,

I'm running FreeBSD on a range of PCs, from Pentium-1
(60 MHz) to Pentium-4 (2.60GHz), though none but one
has a 'ata2' line in the dmesg output:

 ata0: channel #0 on atapci0
 ata1: channel #1 on atapci0
 ...
 ata2: Generic ESDI/IDE/ATA controller at port
   0x36e-0x36f,0x168-0x16f irq 10 on isa0
 ad0: 6149MB QUANTUM FIREBALL EX6.4A/A0A.0D00
  [13328/15/63] at ata0-master UDMA33
 ad1: 4892MB QUANTUM FIREBALL EL5.1A/A08.1100
  [10602/15/63] at ata0-slave UDMA33
 acd0: CDROM GCR-8521B/1.02 at ata1-master PIO4

What is so special about this particular PC, that it
has an ata2, unlike all other PCs I have?

Can I add more than 4 disks (2 masters + 2 slaves)
to this PC? Or is this ata2 for something else?

This particular PC is running 5-Stable.

Thanks,
Rob.


__
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]


Re: Which is the best PDF utility ?

2005-04-26 Thread Parv
in message [EMAIL PROTECTED], wrote edward thusly...

 Just wanted to know which is, according to you, the best utility
 to read PDF files. I notice the Acrobat7 port is mentioned as
 broken in the notes. Which program (not necessarily Adobe) would
 be the best alternative for everyday PDF reading ?

I personally like acroread[0] and gv (not at all ggv BTW), in that
order.  I have not tried xpdf in quite a while (ever since i found
gv and/or acroread to be much better when the last time i tried
xpdf).


[0] Acroread 5.10 currently; am not going to install version 7
anytime soon due to onerous dependencies.


  - Parv

-- 

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


Re: Qt programming

2005-04-26 Thread Chuck Robey
Danny Pansters wrote:
[some eliding]
I find this a tad biased. Let me try to counter a bit and provide some more 
info. 
Oh, I admit I am a bit prejudiced.  I might be a bit more than a little, 
even.  I heartily dislike C++ (I find it FAR too complicated for it's 
feature set).  I Like Python, but I dislike Perl, for very nearly the 
same reasons as C++, except  in the case of perl, it's even worse.

I also admit a prejudice against precompilers, but sir, I ADMITTED 
THAT UP FRONT!	  Read it, I said it out front that it was a very 
personal prejudice.  If I go out of my way to show that it's an opinion 
with more than one side, then I find your complaining about it in very 
poor taste.  I'm not against  your disagreeing, I just don't appreciate 
you calling me biased over it, not when I try so hard to be fair.

Note I am not commenting (yet) on the meat of your opinions.  I like 
your opinions.  I disagree in many cases, but I like the way you 
expressed them.

One could also argue that qt has a bootload more high level functionality. And 
based upon a preprocessor? You mean it's C++?
No, how about I call up an example I think that most of us have hit, the 
sql precompilers, stuff that has you putting stuff like $READ into you C 
code.  stuff that is illgal in C, but precompiled away.  That's what 
moc is, right?  I do not like precompilers.  I am not talking about 
cpp.  Gnome does the job without precompilers, proving at least that it 
CAN be done without it.

 Yes. So is wxwidgets (FKA
wxwindows) which is another fine toolkit. Python bindings to any of them 
might have a bit less functionality than the native C or C++ toolkits but 
generally their amount of functionality reflects that of the underlying 
toolkit. 
True.  I find Python's fantastic ease, in being able to bring in all 
those outside toolkits, one of it's greatest strengths.  I'm absolutely 
in LOVE with pygtk | pyqt | (about 6 others).  All done without 
precomilers.  Of course, that arguments makes little sense here.


Another thing you might want to consider is, leaerning python, and then
using python's incredible facilities to program directly in gtk (see
pygtk) or qt (see pyqt).  I have myself done a large job in pygtk, it's
a great environment to work  in, a very rich programming environment for
gui work.

I like using python for both low level stuff (or quick-and-dirty scripts) and 
GUI stuff. It's very versatile with lots of added modules. The base modules 
are pretty much optimized for speed, no need to try and reinvent the wheel. I 
played with py-gtk a bit (with ROX desktop) but found it a little cumbersome.

I also used py-wx for a little accounting app for my own which I wanted to be 
able to run on both *NIX and Windows. On *NIX it renders as gtk widgets, on 
Win32 natively. 

But qt (py-qt) definately has the most functionality to get started with. I 
never really done a project with it and am personally more interested in 
py-kde (which builds upon it), but it surely has a lot of stuff ready to use 
to build a complex app using python.
So just out of curiosity, because I am more at ease with pygtk than 
pyqt, what is it that you can do in pyqt that I can't in pygtk?

There's also a py-anygui that abstracts widgets (with some limitations of 
course) and then you can deploy them with py-gtk, py-wx, py-qt, py-kde, 
py-ncurses...).
Don't like that, too little features, lost while chasing the god of 
cross-architectures.

Also python has lots of very useful modules, lots more unofficial ones which 
at the very least you can use as starting point. So yeah, considering today's 
processors and RAM the average PC has, python is certainly something to 
consider.

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


Re: What is ata2 ?

2005-04-26 Thread Joel
On Tue, 26 Apr 2005 18:44:18 -0700 (PDT)
(BRob [EMAIL PROTECTED] wrote
(B
(B 
(B Hi,
(B 
(B I'm running FreeBSD on a range of PCs, from Pentium-1
(B (60 MHz) to Pentium-4 (2.60GHz), though none but one
(B has a 'ata2' line in the dmesg output:
(B 
(B  ata0: channel #0 on atapci0
(B  ata1: channel #1 on atapci0
(B  ...
(B  ata2: Generic ESDI/IDE/ATA controller at port
(B0x36e-0x36f,0x168-0x16f irq 10 on isa0
(B  ad0: 6149MB QUANTUM FIREBALL EX6.4A/A0A.0D00
(B   [13328/15/63] at ata0-master UDMA33
(B  ad1: 4892MB QUANTUM FIREBALL EL5.1A/A08.1100
(B   [10602/15/63] at ata0-slave UDMA33
(B  acd0: CDROM GCR-8521B/1.02 at ata1-master PIO4
(B 
(B What is so special about this particular PC, that it
(B has an ata2, unlike all other PCs I have?
(B
(BThink inside the box? (sorry. bad joke, I know.) 
(B
(BIf you look inside the box, do you find, among the controller cards
(Bplugged into the bus, an ATA/IDE controller card?
(B
(BAnother thought that comes to mind is the USB-ATA converters.
(B
(B Can I add more than 4 disks (2 masters + 2 slaves)
(B to this PC? Or is this ata2 for something else?
(B
(BFrom here, with the limited information you've provided, I'm guessing
(Byou can, if you have the cables and the spare power connectors.
(B
(B--
(BJoel Rees   [EMAIL PROTECTED]
(Bdigitcom, inc.   $B3t<02q

Re: What is ata2 ?

2005-04-26 Thread Rob
Joel wrote:
 On Tue, 26 Apr 2005 18:44:18 -0700 (PDT)
 Rob [EMAIL PROTECTED] wrote

I'm running FreeBSD on a range of PCs, from
 Pentium-1 (60 MHz) to Pentium-4 (2.60GHz), though
 none but one has a 'ata2' line in the dmesg output:

 ata0: channel #0 on atapci0
 ata1: channel #1 on atapci0
 ...
 ata2: Generic ESDI/IDE/ATA controller at port
   0x36e-0x36f,0x168-0x16f irq 10 on isa0
 ad0: 6149MB QUANTUM FIREBALL EX6.4A/A0A.0D00
  [13328/15/63] at ata0-master UDMA33
 ad1: 4892MB QUANTUM FIREBALL EL5.1A/A08.1100
  [10602/15/63] at ata0-slave UDMA33
 acd0: CDROM GCR-8521B/1.02 at ata1-master PIO4

What is so special about this particular PC, that
it has an ata2, unlike all other PCs I have?

Can I add more than 4 disks (2 masters + 2 slaves)
to this PC? Or is this ata2 for something else?
 
 From here, with the limited information you've
 provided, I'm guessing you can, if you have the
 cables and the spare power connectors.

I'm quite keen on trying to understand this.
So let me try to provide more information below.

As above lines show, the ata2 controller is on
interrupt 10:

 # vmstat -i
 interrupt  total   rate
 irq0: clk   10392173100
 irq1: atkbd0   1  0
 irq3: sio1   219  0
 irq4: sio0 1  0
 irq8: rtc   13301014128
 irq11: rl0 uhci0  187119  1
 irq13: npx01  0
 irq14: ata0   491426  4
 irq15: ata1   46  0
 Total   24372000234

But interrupt 10 is not there !?!

 # atacontrol list
 ATA channel 0:
Master:  ad0 QUANTUM FIREBALL EX6.4A/A0A.0D00
 ATA/ATAPI revision 4
Slave:   ad1 QUANTUM FIREBALL EL5.1A/A08.1100
 ATA/ATAPI revision 4
 ATA channel 1:
Master: acd0 GCR-8521B/1.02 ATA/ATAPI revision 0
Slave:   no device present
 ATA channel 2:
Master:  no device present
Slave:   no device present

--

You also mentioned USB possibility:
 # grep -i usb /var/run/dmesg.boot
 uhci0: Intel 82371AB/EB (PIIX4) USB controller
 port 0xe000-0xe01f irq 11 at device 7.2 on pci0
 usb0: Intel 82371AB/EB (PIIX4) USB controller
 on uhci0
 usb0: USB revision 1.0


What would you conclude from this?
Is this ata2 another IDE controller, so that I can
add 6 (instead of the normal 4) harddisks/cdroms etc.
to this computer?

Thanks,
Rob.

__
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]


any problems using dummynet as a module?

2005-04-26 Thread Andy Firman

I need to traffic shape a remote box that runs IPF, and I 
have taken the time to learn to use IPFW with dummynet,
and also that I can run IPFW wide open as IPF is the firewall.
The box is 5.4 stable (generic) and I can't get around doing a reboot,
from all the testing I have done.  Must reboot unfortunately.

Loading the ipfw.ko and/or the dummynet.ko with kldload locks
me out of an identical test box which is bad news for me.
This box is in a colo center with just one ethernet interface.

So my procedure works, but I am wondering if I should just 
suck it up and compile all this stuff into the kernel,
or if my procedure below is somewhat safe?
(it works, but I am looking for any hidden issues?)



1. Add this to /boot/loader.conf

dummynet_load=YES

2. Add this to rc.conf:

firewall_enable=YES
firewall_quiet=YES
firewall_logging=YES
firewall_script=/etc/ipfw.rules

3. Edit /etc/ipfw.rules with these entries:

ipfw -q -f flush
ipfw -q add 100 pass all from any to any via lo0
ipfw -q add 200 deny all from any to 127.0.0.0/8
ipfw -q add 300 deny ip from 127.0.0.0/8 to any
ipfw -q add 65000 pass all from any to any
ipfw -q add 1 pipe 1 ip from any to any out xmit ed0
ipfw -q pipe 1 config bw 128kbits/s
-

REBOOT

...and the rate limiting works and I can also change the 
speed on the fly which is a good thing



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


Re: What is ata2 ?

2005-04-26 Thread Rob Bowers
I'm real new to the FreeBSD world so I might be way off on this.
Any chance it's an IDE controller on a soundcard? Probably ISA by what 
i'm reading below.

R. Bowers
Rob wrote:
Joel wrote:
 

On Tue, 26 Apr 2005 18:44:18 -0700 (PDT)
Rob [EMAIL PROTECTED] wrote
   

I'm running FreeBSD on a range of PCs, from
Pentium-1 (60 MHz) to Pentium-4 (2.60GHz), though
none but one has a 'ata2' line in the dmesg output:
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
...
ata2: Generic ESDI/IDE/ATA controller at port
 0x36e-0x36f,0x168-0x16f irq 10 on isa0
ad0: 6149MB QUANTUM FIREBALL EX6.4A/A0A.0D00
[13328/15/63] at ata0-master UDMA33
ad1: 4892MB QUANTUM FIREBALL EL5.1A/A08.1100
[10602/15/63] at ata0-slave UDMA33
acd0: CDROM GCR-8521B/1.02 at ata1-master PIO4
What is so special about this particular PC, that
it has an ata2, unlike all other PCs I have?
Can I add more than 4 disks (2 masters + 2 slaves)
to this PC? Or is this ata2 for something else?
 

From here, with the limited information you've
provided, I'm guessing you can, if you have the
cables and the spare power connectors.
   

I'm quite keen on trying to understand this.
So let me try to provide more information below.
As above lines show, the ata2 controller is on
interrupt 10:
# vmstat -i
interrupt  total   rate
irq0: clk   10392173100
irq1: atkbd0   1  0
irq3: sio1   219  0
irq4: sio0 1  0
irq8: rtc   13301014128
irq11: rl0 uhci0  187119  1
irq13: npx01  0
irq14: ata0   491426  4
irq15: ata1   46  0
Total   24372000234
But interrupt 10 is not there !?!
# atacontrol list
ATA channel 0:
   Master:  ad0 QUANTUM FIREBALL EX6.4A/A0A.0D00
ATA/ATAPI revision 4
   Slave:   ad1 QUANTUM FIREBALL EL5.1A/A08.1100
ATA/ATAPI revision 4
ATA channel 1:
   Master: acd0 GCR-8521B/1.02 ATA/ATAPI revision 0
   Slave:   no device present
ATA channel 2:
   Master:  no device present
   Slave:   no device present
--
You also mentioned USB possibility:
# grep -i usb /var/run/dmesg.boot
uhci0: Intel 82371AB/EB (PIIX4) USB controller
port 0xe000-0xe01f irq 11 at device 7.2 on pci0
usb0: Intel 82371AB/EB (PIIX4) USB controller
on uhci0
usb0: USB revision 1.0
What would you conclude from this?
Is this ata2 another IDE controller, so that I can
add 6 (instead of the normal 4) harddisks/cdroms etc.
to this computer?
Thanks,
Rob.
__
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: What is ata2 ?

2005-04-26 Thread Kent Stewart
On Tuesday 26 April 2005 08:13 pm, Rob Bowers wrote:
 I'm real new to the FreeBSD world so I might be way off on this.

 Any chance it's an IDE controller on a soundcard? Probably ISA by
 what i'm reading below.

Some of the motherboards have 4 IDE controllers. The last 2 are 
frequently RAIDable. Now I see 2 IDE and a SATA. I haven't purchased 
one of the SATA's. 

IIRC, the high rate ATA's want one HD per controller. That is how my 
systems are configured.

Kent


 R. Bowers

 Rob wrote:
 Joel wrote:
 On Tue, 26 Apr 2005 18:44:18 -0700 (PDT)
 Rob [EMAIL PROTECTED] wrote
 
 I'm running FreeBSD on a range of PCs, from
 Pentium-1 (60 MHz) to Pentium-4 (2.60GHz), though
 none but one has a 'ata2' line in the dmesg output:
 
 ata0: channel #0 on atapci0
 ata1: channel #1 on atapci0
 ...
 ata2: Generic ESDI/IDE/ATA controller at port
   0x36e-0x36f,0x168-0x16f irq 10 on isa0
 ad0: 6149MB QUANTUM FIREBALL EX6.4A/A0A.0D00
  [13328/15/63] at ata0-master UDMA33
 ad1: 4892MB QUANTUM FIREBALL EL5.1A/A08.1100
  [10602/15/63] at ata0-slave UDMA33
 acd0: CDROM GCR-8521B/1.02 at ata1-master PIO4
 
 What is so special about this particular PC, that
 it has an ata2, unlike all other PCs I have?
 
 Can I add more than 4 disks (2 masters + 2 slaves)
 to this PC? Or is this ata2 for something else?
 
 From here, with the limited information you've
 provided, I'm guessing you can, if you have the
 cables and the spare power connectors.
 
 I'm quite keen on trying to understand this.
 So let me try to provide more information below.
 
 As above lines show, the ata2 controller is on
 interrupt 10:
 
  # vmstat -i
  interrupt  total   rate
  irq0: clk   10392173100
  irq1: atkbd0   1  0
  irq3: sio1   219  0
  irq4: sio0 1  0
  irq8: rtc   13301014128
  irq11: rl0 uhci0  187119  1
  irq13: npx01  0
  irq14: ata0   491426  4
  irq15: ata1   46  0
  Total   24372000234
 
 But interrupt 10 is not there !?!
 
  # atacontrol list
  ATA channel 0:
 Master:  ad0 QUANTUM FIREBALL EX6.4A/A0A.0D00
  ATA/ATAPI revision 4
 Slave:   ad1 QUANTUM FIREBALL EL5.1A/A08.1100
  ATA/ATAPI revision 4
  ATA channel 1:
 Master: acd0 GCR-8521B/1.02 ATA/ATAPI revision 0
 Slave:   no device present
  ATA channel 2:
 Master:  no device present
 Slave:   no device present
 
 --
 
 You also mentioned USB possibility:
  # grep -i usb /var/run/dmesg.boot
  uhci0: Intel 82371AB/EB (PIIX4) USB controller
  port 0xe000-0xe01f irq 11 at device 7.2 on pci0
  usb0: Intel 82371AB/EB (PIIX4) USB controller
  on uhci0
  usb0: USB revision 1.0
 
 
 What would you conclude from this?
 Is this ata2 another IDE controller, so that I can
 add 6 (instead of the normal 4) harddisks/cdroms etc.
 to this computer?
 
 Thanks,
 Rob.
 
 __
 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]

-- 
Kent Stewart
Richland, WA

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


Re: Vinum (Again)

2005-04-26 Thread Greg 'groggy' Lehey
On Friday, 22 April 2005 at 16:11:55 -0400, Timothy Radigan wrote:
 Hi all,

 Ok, I'm still having trouble with vinum, I got it to load at start, but the
 vinum.autostart=YES in /boot/loader.conf returns a vinum: no drives
 found message.

 I had the mirrored set up and running before the reboot and the file system
 was mounted and everything, I even made sure to issue a saveconfig in
 vinum to make sure the configuration was written to the drives.

 There is no mention of anything else in the Handbook or in the Complete
 FreeBSD chapter on Vinum that describes how to get the configured drives
 loaded at boot up.  Am I missing something?

 Here is my /etc/vinum.conf:

 drive a device /dev/ad1
 drive b device /dev/ad2

These should be partitions, not disks.

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


pgpr4tBYTS3Dy.pgp
Description: PGP signature


Re: What is ata2 ?

2005-04-26 Thread Joel
 I'm running FreeBSD on a range of PCs, from
(B  Pentium-1 (60 MHz) to Pentium-4 (2.60GHz), though
(B  none but one has a 'ata2' line in the dmesg output:
(B 
(B  ata0: channel #0 on atapci0
(B  ata1: channel #1 on atapci0
(B  ...
(B  ata2: Generic ESDI/IDE/ATA controller at port
(B0x36e-0x36f,0x168-0x16f irq 10 on isa0
(B  ad0: 6149MB QUANTUM FIREBALL EX6.4A/A0A.0D00
(B   [13328/15/63] at ata0-master UDMA33
(B  ad1: 4892MB QUANTUM FIREBALL EL5.1A/A08.1100
(B   [10602/15/63] at ata0-slave UDMA33
(B  acd0: CDROM GCR-8521B/1.02 at ata1-master PIO4
(B 
(B What is so special about this particular PC, that
(B it has an ata2, unlike all other PCs I have?
(B 
(B Can I add more than 4 disks (2 masters + 2 slaves)
(B to this PC? Or is this ata2 for something else?
(B  
(B  From here, with the limited information you've
(B  provided, I'm guessing you can, if you have the
(B  cables and the spare power connectors.
(B 
(B I'm quite keen on trying to understand this.
(B
(Byeah, yeah
(B
(B So let me try to provide more information below.
(B 
(B As above lines show, the ata2 controller is on
(B interrupt 10:
(B 
(B  # vmstat -i
(B  interrupt  total   rate
(B  irq0: clk   10392173100
(B  irq1: atkbd0   1  0
(B  irq3: sio1   219  0
(B  irq4: sio0 1  0
(B  irq8: rtc   13301014128
(B  irq11: rl0 uhci0  187119  1
(B  irq13: npx01  0
(B  irq14: ata0   491426  4
(B  irq15: ata1   46  0
(B  Total   24372000234
(B 
(B But interrupt 10 is not there !?!
(B
(BYou were expecting interrupts on irq10? Where would they come from?
(B
(B  # atacontrol list
(B  ATA channel 0:
(B Master:  ad0 QUANTUM FIREBALL EX6.4A/A0A.0D00
(B  ATA/ATAPI revision 4
(B Slave:   ad1 QUANTUM FIREBALL EL5.1A/A08.1100
(B  ATA/ATAPI revision 4
(B
(BI count two hard disks on the primary channel of your first ATA
(Bcontroller, which is probably on the motherboard itself. Not to unusual,
(Balthough very few controllers allow you to access both drives
(Bconcurrently.
(B
(B  ATA channel 1:
(B Master: acd0 GCR-8521B/1.02 ATA/ATAPI revision 0
(B Slave:   no device present
(B
(BI count one CD drive on the secondary channel of your first ATA
(Bcontroller. That's standard, since mixing CD-drives and HD drives on the
(Bsame controller tends to produce less than satisfying results.
(B
(BIf you look at the motherboard, you should see two sockets grouped
(Btogether, with ribbon cables trailing off to the drives. One cable will
(Bhave two hard drives plugged into it, the other should have the end
(Bplug plugged into the CD drive and the middle plug empty.
(B
(B  ATA channel 2:
(B Master:  no device present
(B Slave:   no device present
(B
(BAs has been suggested, this may be on the motherboard, but it might be
(Ban SATA connector instead of an ATA connector. It's also been suggested
(Bthat this may be on a multifunction card, which would typically be a
(Bmultimedia card. The reason that they are suggesting that it is not a
(Bregular ATA controller card would be that there is only one channel
(Bshown. Most regular ATA controller cards would give you two more
(Bchannels, primary and secondary.
(B
(B --
(B 
(B You also mentioned USB possibility:
(B  # grep -i usb /var/run/dmesg.boot
(B  uhci0: Intel 82371AB/EB (PIIX4) USB controller
(B  port 0xe000-0xe01f irq 11 at device 7.2 on pci0
(B  usb0: Intel 82371AB/EB (PIIX4) USB controller
(B  on uhci0
(B  usb0: USB revision 1.0
(B 
(B 
(B What would you conclude from this?
(B
(BNot much. 
(B
(BHowever, I'm trying to remember if ATA over USB generally tends to
(Bpretend to be SCSI, and if that's the case, I'd likely guess that it's
(Bnot USB.
(B
(BAnyway, it's hard to see inside your box from here. 
(B
(B Is this ata2 another IDE controller, so that I can
(B add 6 (instead of the normal 4) harddisks/cdroms etc.
(B to this computer?
(B
(BYou're the closest to the box, I think. What's the box look like inside?
(B
(BIncidentally, and as has been mentioned, there are performance
(Badvantages to not using the slave.
(B
(B--
(BJoel Rees   [EMAIL PROTECTED]
(Bdigitcom, inc.   $B3t<02q

HP Proliant ML110 Adaptec 2610sa Serial Raid Driver Support

2005-04-26 Thread Zarth Man
I am having a problem with a newly aquired server and its Adaptec 2610sa 
Raid Controller Card.

Using to onboard configuration I have made mirrored drives which have been 
verified but when I try installing FreeBSD 5.3 its days I have no drives to 
which it can install the operating system.

I did a little research and it seems that FreeBSD 5.3 does not support the 
Adaptec 2610sa Serial Raid Controller Drivers and cannot see the mirrored 
array.

Now I can accross this post where It looks like you can patch a file which 
enables the Adaptec 2610sa.

Fix:
/sys/dev/aac/aac_pci.c diff
--- aac_pci.c.orig Mon Apr 18 10:27:14 2005
+++ aac_pci.c Mon Apr 18 10:28:41 2005
@@ -134,6 +134,8 @@
Adaptec SCSI RAID 2810SA},
{0x9005, 0x0285, 0x9005, 0x0293, AAC_HWIF_I960RX, AAC_FLAGS_NO4GB,
Adaptec SCSI RAID 21610SA},
+ {0x9005, 0x0285, 0x103c, 0x3227, AAC_HWIF_I960RX, AAC_FLAGS_NO4GB,
+ HP ML110 G2 (Adaptec 2610SA)},
{0x9005, 0x0286, 0x9005, 0x028d, AAC_HWIF_RKT, 0,
Adaptec SCSI RAID 2130S},
{0, 0, 0, 0, 0, 0, 0}
Now I was wondering how I would be able to make a set of boot floppies and 
or cd that can see the array and whether or not this patch actually will 
work.

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


Re: What is ata2 ?

2005-04-26 Thread jason henson
Rob wrote:
Joel wrote:
 

On Tue, 26 Apr 2005 18:44:18 -0700 (PDT)
Rob [EMAIL PROTECTED] wrote
   

I'm running FreeBSD on a range of PCs, from
Pentium-1 (60 MHz) to Pentium-4 (2.60GHz), though
none but one has a 'ata2' line in the dmesg output:
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
...
ata2: Generic ESDI/IDE/ATA controller at port
 0x36e-0x36f,0x168-0x16f irq 10 on isa0
ad0: 6149MB QUANTUM FIREBALL EX6.4A/A0A.0D00
[13328/15/63] at ata0-master UDMA33
ad1: 4892MB QUANTUM FIREBALL EL5.1A/A08.1100
[10602/15/63] at ata0-slave UDMA33
acd0: CDROM GCR-8521B/1.02 at ata1-master PIO4
What is so special about this particular PC, that
it has an ata2, unlike all other PCs I have?
Can I add more than 4 disks (2 masters + 2 slaves)
to this PC? Or is this ata2 for something else?
 

From here, with the limited information you've
provided, I'm guessing you can, if you have the
cables and the spare power connectors.
   

I'm quite keen on trying to understand this.
So let me try to provide more information below.
As above lines show, the ata2 controller is on
interrupt 10:
# vmstat -i
interrupt  total   rate
irq0: clk   10392173100
irq1: atkbd0   1  0
irq3: sio1   219  0
irq4: sio0 1  0
irq8: rtc   13301014128
irq11: rl0 uhci0  187119  1
irq13: npx01  0
irq14: ata0   491426  4
irq15: ata1   46  0
Total   24372000234
But interrupt 10 is not there !?!
# atacontrol list
ATA channel 0:
   Master:  ad0 QUANTUM FIREBALL EX6.4A/A0A.0D00
ATA/ATAPI revision 4
   Slave:   ad1 QUANTUM FIREBALL EL5.1A/A08.1100
ATA/ATAPI revision 4
ATA channel 1:
   Master: acd0 GCR-8521B/1.02 ATA/ATAPI revision 0
   Slave:   no device present
ATA channel 2:
   Master:  no device present
   Slave:   no device present
--
You also mentioned USB possibility:
# grep -i usb /var/run/dmesg.boot
uhci0: Intel 82371AB/EB (PIIX4) USB controller
port 0xe000-0xe01f irq 11 at device 7.2 on pci0
usb0: Intel 82371AB/EB (PIIX4) USB controller
on uhci0
usb0: USB revision 1.0
What would you conclude from this?
Is this ata2 another IDE controller, so that I can
add 6 (instead of the normal 4) harddisks/cdroms etc.
to this computer?
Thanks,
Rob.
__
 

You have more than 2 controllers.  A whole dmesg would help, or just 
tell us your make/model of your motherboard. 

BTW, vmstat -ia might be usefull, most likely not.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


can't build kernel [with CONFIG this time]

2005-04-26 Thread /dev/null
Hello,
 Just got a new CPU today. Running 5.4-RC3 on GENERIC until the new CPU
showed up. Installed the CPU drafted a new config for the kernel cd'd to
/usr/src, typed make buildkernel KERNCONF=DEMON01, build process went as
expected. But before the build process completed the machine froze for no
apparent reason at the sound driver part. Couldn't ssh into it from another
box, so hit the reset button, chose 4 from the menu (single user mode).
Performed a fsck -f. Rebooted and attempted to rebuild. But it barfed.
So I performed an rm -fr /usr/src.
Then /stand/sysinstall  install entire src tree and tried another
make buildkernel KERNCONF=DEMON01 in /usr/src.
It barfed with the following:

rm -f .depend GPATH GRTAGS GSYMS GTAGS
=== rp
rm -f /usr/src/sys/modules/rp/export_syms rp.ko rp.kld rp.o rp_pci.o @
machine s
ymb.tmp tmp.o opt_compat.h pci_if.h bus_if.h device_if.h
rm -f .depend GPATH GRTAGS GSYMS GTAGS
=== rue
.depend, line 1: Need an operator
.depend, line 3: Need an operator
.depend, line 4: Need an operator
.depend, line 5: Need an operator
.depend, line 6: Need an operator
.depend, line 9: Need an operator
.depend, line 18: Need an operator
.depend, line 20: Need an operator
.depend, line 21: Need an operator
.depend, line 25: Need an operator
.depend, line 43: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1

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

Stop in /usr/obj/usr/src/sys/DEMON01.
*** Error code 1

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

Stop in /usr/src.

/usr/src

...


dmesg -a is @: http://www.dnswatch.com/kern/dmesg#1

acpidump -t -d is @: http://www.dnswatch.com/kern/acpidump#1

sysctl -a is @: http://www.dnswatch.com/kern/sysctl#1

DEMON01 is @: http://www.dnswatch.com/kern/DEMON01

=

Please help and thank you.




 If only Western Electric had found a way to offer
binary licenses for the UNIX system back in 1974,
the UNIX system would be running on all PC's today
rather than DOS/Windows.

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
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: firefox doesn't show up

2005-04-26 Thread jason henson
Trey Sizemore wrote:
On Fri, 01 Apr 2005 00:40:43 -0800
Ben Munat [EMAIL PROTECTED] wrote:
 

Did you try running it from the command line? That way you can see if
it prints errors when it fails.
b
   

My Firefox will no longer work as a normal user (no page loads and
buttons are unresponsive), although it does as root.  Starting from the
command line produces the following output (both as root and my normal
user account):
[EMAIL PROTECTED] firefox
LoadPlugin: failed to initialize shared library /usr/compat/linux/usr/
local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so [Shared object
libc.so.6 not found, required by nppdf.so] *** Failed to load
overlay chrome://useragentswitcher/content/menu.xul
Any ideas on how to fix this?
 

Looks like your adobe plugin is a linux port.  You need 
emulators/linux_base-8.  But you shouldn't unless you have a linux 
binary.  I didn't see a adobe plugin in the ports system so I am 
guessing this is where you went wrong.  Did you tell firefox to install 
a linux or unix plugin for pdfs or acrobat reader?  Remove the adobe 
plugin and see if firefox works right.  Also did you install the native 
firefox from ports?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >