Re: mplayer/mplayer-plugin question

2005-04-21 Thread Gary Kline
On Wed, Apr 20, 2005 at 10:00:12PM -0400, jason henson wrote:
 Gary Kline wrote:
 
  What post-installation stuff do I have to do to get
  mplayer-plugin to work with mozilla / firefox?
  (Also, is there a way of getting this windows-player-clone
  to work with links?)
 
  Here is what's happening:  I have everything installed;
  checking about plugings: tells me that everything is
  there.  But when I try to listen to anything windows, 
  the stream seems to load, but there is nosound.  There 
  are no controls.  A right-mouse click brings up a small
  window.  play is not checked and clicking on any of the 
  options does no good.  If I click on the full-screen
  option, a small window (entirely black) is displayed.
 
  I am using ctwm, not gnome or anything with gnome hooks.
  Do I have to use gnome or kde to get the mplayer suite to
  work?  I've poked around and don't see anything very 
  helpful on this port.  Any mplayer wizards out there???
 
  gary
 
 
 
  
 
 do you have the win32-codecs port installed?  If not install that then 
 recompile mplayer and the plugin.

It's in my pkg/db; but where is the file/path-to?


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

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


Re: unclean filesystem refusing to salvage

2005-04-21 Thread Kris Kennaway
On Thu, Apr 21, 2005 at 03:28:40PM +1000, Warren wrote:
 im running FreeBSD 5.4 and have /var as well as all the other filesystems not 
 clean and when going to single user mode mounting all and running fsck -y ... 
 it refuses to slvage anything and is causing multiple hassles with my 
 computers stablity and running.
 
 How do i fix this or what  may  be causing this ?

Start by showing us what is happening instead of vaguely describing it.

Kris


pgpkLEY72dOuC.pgp
Description: PGP signature


burncd in FreeBSD 5.4-STABLE

2005-04-21 Thread O. Hartmann
Hello.
Before sending a PR, I would like to ask about the state of burncd. It 
is not working properly for me.
My hardware is a AMD64 based system with A NEC ND 3500AG/2.19 and a DELL 
Optiplex 280/i386
with a HP 1100 (both drives DVD+-RW).

Burning DVD+RW is ok on formated media. Formatting DVD+RW is never 
stopping, seems to get stuck
on both platforms, but when hitting Ctr-C and stopping the wicked up 
process (burncd -v -f /dev/acd0 format dvd+rw),
the media seems to be already formatted and useable.

Burning CD-RW and CD-Rs with burncd does not work, the media get not 
'closed' or 'fixate'd at the end although I explicitely
try to fixate ist. Instead, I use 'cdrecord' to fixate the media and 
after that they work.

In the mentioned DELL system, the DVD+-RW got changed due to a hardware 
failure and is now another model. So I'm really sure this is not a 
hardware problem but a software problem. I know burncd lacks in several 
functions, but I do not know whether it is marked 'broken' or working. I 
wonder if others do not have similar problems. cdrecord is an 
alternative, but burncd is due to its easier 'sudo' handling in 
multiuser environments the more desired utility.

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


Network problems?

2005-04-21 Thread Andrei Iarus
I use FreeBSD 4.11-RELEASE. In my rc.conf I have these
lines: 
firewall_enable=YES
firewall_logging=YES
firewall_script=/root/ipfw.sh. In /root/ipfw.sh I
have added a few more lines for ifconfig(setting
IP,MAC). The problem is that, when I try to use a
different MAC and IP, the apache starting freezes,
and, when trying the startx command, it doesn`t do
anything, it does`nt yield anything. On a 4.8 Release
I tried to change the MAC before the IP, and these
problems seemed to disappear. And, of course, the
network card is working(UP adn RUNNING (from
ifconfig)), no metter of the ip and MAC. Could it be
something because of the name of the computer, is
there any other files but /etc/hosts, /etc/host.conf??
Thank you.

__
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: question about mirroring

2005-04-21 Thread Kris Kennaway
On Wed, Apr 20, 2005 at 04:11:28AM +0200, Eskandar S.Sadek wrote:
 Dear Sir ,
 I would like to ask about what is the requirement to be freebsd mirror
 site FTP mirror 
 I hope you can supply me with detail information about this
 Thank you for your time

I think there's an article that explains this on the website.

Kris


pgp5aObOr4I9Y.pgp
Description: PGP signature


Re: FreeBSD vs Linux

2005-04-21 Thread Peter N. M. Hansteen
koen de wijs [EMAIL PROTECTED] writes:

 I want to try out Linux. I heard it is more user friendly and the basic 
 stuff will be set up during installation.

The definition of user friendly is hardly set in stone.  I for one do
not equate Microsoft style demoability with user frienliness, at least
for this user.  I strongly suspect that in most cases, user friendly
is really just another way of saying just like what I'm used to.
Quite a few, if not all, the major packaged Linuxes out there come with
installers which will in all but a few weird cases figure out what your
graphics hardware and mouse are and give you some sort of workable mode
for both.  That apparently makes the experience a lot less scary for a
large chunk of those-who-install-Linux-for-the-first-time. Some of the
packages even try to grab a network setup for you via DHCP.  FreeBSD
sysinstall on the other hand, will let you configure X if you choose
during the install, and will configure your network the way you choose.

 I really don't like the sysinstall menu. It is really unlogically. Why 
 isn't there a desktop and a server installation?

This reminds me of somebody who turned up quite frustrated on the BLUG
mailing list a while back complaining essentially that choosing the
server option during NamedAfterComicstripMagician install gave him a
Samba and web server, not the firewall with some extras he had in mind.
Essentially there are too many definitions of desktop and server out
there to make any real sense.  The FreeBSD installer and related tools
let you pick exactly the stuff you need, not some stranger's idea of
what would be nice for you to prune back and swear at later.

 Could anyone give me a good site that describes the differences between 
 FreeBSD and Linux?

Google is your friend (or perhaps not in this particular case). I enjoy
reading Daemon News (http://daemonnews.org) for a variety of reasons,
and I vaguely remember some sensible articles on this very topic
there.  That URL also takes you within clicking distance of a good number
of useful BSD sites.

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

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


Can FreeBSD withstand this kind of network load??

2005-04-21 Thread Mark Jayson Alvarez
Hi,
  Someone consulted me about building a pc router for
multiple networks using a single interface card.
Actually there are two, one facing a network going to
the internet, and the other facing those multiple
networks.

The setup looks like this.
There are three /24 networks, A, B, C
All of these networks are private lan. However,
Network A contains their servers, one of which is
their internet proxy server. That proxy server is dual
homed, one private, one public, which is also their
passage way to the Internet.

Now, the IT guy asked me if he can use a pc router so
that network B and C can see network A, and make their
way to the internet through the proxy server sitting
on network A.

I told him yes. I'm thinking of three posibilities,
bridging, ip forwarding, and NAT. In his sketch, PC
router has 3 interfaces, 1 facing network A, and two
each facing network B and C. With this setup, since A
already have a route to the Internet, we don't have to
use NAT, ip forwarding will do the job. We will simply
forward the request coming from each interface
connected to network B and C to the interface
connected to network A and then they can already see
the proxy. However, he told me that network B and C in
his sketch is not really their set up. It could extend
to even few more networks(D, E, F, G, H).

Qestion:

Instead of using 6 to 8 interface cards in his pc
router,(which I don't think is a good idea) can we
just alias that interface, let's say it has an ip for
networks B, C, D, E, F, G, H, I and then all the
traffic from B-I network will pass through this
interface through some sort of cascading switches and
then routed will forward this to the second interface
facing the A network and then every body will be
happy? Or is it not feasible considering that all the
traffic from 6-8 networks will only pass through a
single interface considering that each network will at
least have 30-50 hosts?


What's even funny about this is that he brought that
pc he will turn into a router in our office so that we
can install freebsd-4.11 with this specs:

pentium III - 500 Mhz
memory  64 MB.
HD  4 GB

I just don't know whats wrong with his hard drive,
FreeBSD panics during the installation process. I just
smiled thinking, whoa!, you're building a pc router
that will route hundreds of host with this specs?? 

I haven't really encountered this kind of setup yet,
that's why I told him I will do a research on this
setup. I've heard that freebsd can be configured as a
web server with this specs serving hundreds of clients
with just few tweekings.. 
What do you think with his scenario?


Thanks a lot!!.:) 
You're the best!





























__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


building good custom kernel

2005-04-21 Thread ananth_g


hi ,
i tried building the freebsd 5.3 kernel and it works
fine, but can u people give me some tips regarding 
optimizing kernel during build, even saving a single
cpu cycle would mean a lot. i would like to have a 
kernel that is really optimized. And what do you
people do to fine tune the kernel? 

thanks,
ananth.g

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


PF: Blocks my workstation on boot

2005-04-21 Thread Fafa Diliha Romanova
Hello.

I have to write this command on my server after every reboot to allow
my workstation to access the Internet through it:

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

My pf.conf looks like this:

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 all,
-- Fafa

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


Re: Can FreeBSD withstand this kind of network load??

2005-04-21 Thread Erik Nørgaard
Mark Jayson Alvarez wrote:
The setup looks like this.
There are three /24 networks, A, B, C
All of these networks are private lan. However,
Network A contains their servers, one of which is
their internet proxy server. That proxy server is dual
homed, one private, one public, which is also their
passage way to the Internet.
Now, the IT guy asked me if he can use a pc router so
that network B and C can see network A, and make their
way to the internet through the proxy server sitting
on network A.
I told him yes. I'm thinking of three posibilities,
bridging, ip forwarding, and NAT. In his sketch, PC
router has 3 interfaces, 1 facing network A, and two
each facing network B and C. With this setup, since A
already have a route to the Internet, we don't have to
use NAT, ip forwarding will do the job. We will simply
forward the request coming from each interface
connected to network B and C to the interface
connected to network A and then they can already see
the proxy. However, he told me that network B and C in
his sketch is not really their set up. It could extend
to even few more networks(D, E, F, G, H).
If internet access is proxied you don't need to do NAT either. You just 
need to tell the proxy server about routes for networks B, C, ... ie. 
point it to your FBSD gateway network A interface.

Qestion:
Instead of using 6 to 8 interface cards in his pc
router,(which I don't think is a good idea) can we
just alias that interface, let's say it has an ip for
networks B, C, D, E, F, G, H, I and then all the
traffic from B-I network will pass through this
interface through some sort of cascading switches and
then routed will forward this to the second interface
facing the A network and then every body will be
happy? Or is it not feasible considering that all the
traffic from 6-8 networks will only pass through a
single interface considering that each network will at
least have 30-50 hosts?
There is no problem in having n NIC's. In your suggested setup you have 
two problems:

1) You may want to keep traffic completly separate so that hosts on B 
can't sniff on the rest of the networks. This is a risk if you have them 
all on the same wire, but can be mitigated with switches.

2) You may want B to be able to communicate with the rest of the 
networks, this requires traffic to be reflected on that one network 
card. It is nasty to get working and it may be dificult to filter.

What's even funny about this is that he brought that
pc he will turn into a router in our office so that we
can install freebsd-4.11 with this specs:
You should recommend 5.4, 4.11 is legacy. If a minimal 5.4 is too heavy, 
try OpenBSD.

pentium III - 500 Mhz
memory  64 MB.
HD  4 GB
I haven't really encountered this kind of setup yet,
that's why I told him I will do a research on this
setup. I've heard that freebsd can be configured as a
web server with this specs serving hundreds of clients
with just few tweekings.. 
What do you think with his scenario?
I have setup a OpenBSD based router with similar specs and load: Three 
NIC's, 1 for client network with more than 100 hosts, one for server 
network and one for internet.

What you want to invest in is good NIC's. Also, you get a natural limit 
by how thick your wire is: These specs are fine for up to 10Mbit.

Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD vs Linux

2005-04-21 Thread Bart Silverstrim
On Apr 20, 2005, at 3:55 PM, [EMAIL PROTECTED] wrote:

koen de wijs wrote:
Hello folks,
I'm new to unix. This year I tried FreeBSD. Some friend of
mine adviced
FreeBSD. I think it works great. Only one thing that I
don't like is
that you will need to know a lot to setup a lot of basic stuff.
Yeah, this is unix my friend, that mean you have to get dirty AND 
LEARN  a
lot in the process.

There are a million sites discussing this, it's a flamebait,
and no one
wants to have that start up, so what you are doing is being (possible
innocently, but I wonder) very very impolite.
I totally agree, stop whining and begin to read, read, read a lot,
Do you want the easy way? go with linux,
btw, i think windows xp is the rigth choice to you ;-) , you dont want 
to
read and learn, dont even touch a unix terminal
I'm afraid after playing with both FreeBSD and some different distros 
of Linux, that easy way isn't necessarily Linux either.  If anything 
it can get to be much more complex if used on the desktop when it comes 
to installing and updating software unless you only stick to that 
distro's way of installing new software.  And if you set it up to do 
more complex tasks it still takes every bit as much understanding and 
altering of files as FreeBSD does! :-)

The only easy way to go with installing things on a computer would 
have to be Windows (in the Intel world), since it is most often just a 
matter of clickclickclickclick done.  Windows will usually run for 
several weeks while gathering glut and goo in the registry, in 
temporary directories, screwing up various things in the background.  
It has to be easy to set up because you end up having to reinstall when 
it starts acting weird :-)

Really though; with Windows, it's a matter of I want a web 
server...down load web server...click click license yeah yeah 
click... oooh! Web server! (don't know what it has open in the 
background or what scripts are enabled or disabled or...but who 
cares...web server!)

With a Unix system it's I want a web server...googlehmm...Apache 
looks like it should work...search through portsmake 
installedit config file...what's this 
do?...oh...googlegoogle...neat!...edit config...what's this 
directive?...googleokay...edit...save...apachectl start...web 
server with X, Y, Z enabled, ,listening on port X, logging to Y, with 
virtual host Z.  WEB SERVER!

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


Re: Server-based address book with LDAP

2005-04-21 Thread Michal Mertl
darren david wrote:
 Hi all-
 
 So having sold my Mac (boo!) and being stuck with FreeBSD (yay!), I'm 
 looking for a server-based address book replacement. LDAP seems like the 
 way to go, but i have yet to find a good HOWTO and/or GUI based 
 application for administering said contact repository. I'd ultimately 
 like to be able to wire up a lightweight web-based solution for browsing 
 addresses remotely, but first i need to get LDAP off the ground. If i 
 ever get a Mac again, i'd likely use the new Auto LDAP-sync features in 
 Tiger's Address Book, but for now, can anyone point me in the right 
 direction?

I found the page http://www.feldt.com/work/projects/openLDAP/ very
usefull when setting up shared addressbook with OpenLDAP.

The only mail client which can correctly authenticate against OpenLDAP
and can insert/change records is AFAIK Evolution which works well on
FreeBSD.

 
 thanks in advance,
 darren david
 

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


Re: FreeBSD vs Linux

2005-04-21 Thread Bart Silverstrim
On Apr 21, 2005, at 7:48 AM, Ted Mittelstaedt wrote:

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bart
Silverstrim
Sent: Thursday, April 21, 2005 4:33 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: FreeBSD vs Linux
I'm afraid after playing with both FreeBSD and some different distros
of Linux, that easy way isn't necessarily Linux either.  If anything
it can get to be much more complex if used on the desktop when
it comes
to installing and updating software unless you only stick to that
distro's way of installing new software.  And if you set it up to do
more complex tasks it still takes every bit as much understanding and
altering of files as FreeBSD does! :-)
One of the sloppy kinds of talk that helps these wars rapidly 
degenerate
is the continual mixing up of the operating system, FreeBSD, with the
applications that people want to run on them.
Technically correct.  Practically speaking, most people don't care 
enough anymore.  It's like the continual fight to enlighten users 
about security.  They don't care because it seems to work without all 
that complicated stuff that idiot computer people throw at them to 
*GASP* learn!

If companies want to sell things, they have to dumb them down for the 
market.  Thus the perception to the end user is...application?  
Operating system?  Whazzat?

Every sysadmin has been greeted with Microsoft as an answer to 
questions like, What operating system are you running?,  What word 
processor crashed?, What program was it?.  Today you assume the 
answer since it's the monopoly, but I still remember when once in 
awhile you'd have to pry enough clues from them to find out that it was 
WordPerfect or what exact version of Windows it was...

I just didn't think we'd be getting into a semantics war on this kind 
of topic...I wrongly assumed that it was understood that they wanted to 
use the computer to do something, not just discussing the installation 
process of the OS.  In that case, Linux wins hands down with the most 
LiveCD options out there!  :-)

The only easy way to go with installing things on a computer would
have to be Windows (in the Intel world), since it is most often just a
matter of clickclickclickclick done.
Ah, but you have to know what to click. And it is quite easy to click 
the
wrong thing and get yourself backed into a corner.
Setup.exe, then anything that says Next or Finish, unless it's grayed 
out in which case you mentally stumble, look up for an I agree radio 
button, then keep clickclickclick on next's, until it's grayed out 
again and you look up to see some kind of 30 digit keycode, you have to 
stop for twenty seconds to fumble with that keycode then double check 
it because having to RE ENTER it is such a frustration, then 
clickclickclickclick and it works magically again.  Drol

Really though; with Windows, it's a matter of I want a web
server...down load web server...click click license yeah yeah
click... oooh! Web server! (don't know what it has open in the
background or what scripts are enabled or disabled or...but who
cares...web server!)
With a Unix system it's I want a web
server...googlehmm...Apache
looks like it should work...search through portsmake
installedit config file...what's this
do?...oh...googlegoogle...neat!...edit config...what's this
directive?...googleokay...edit...save...apachectl start...web
server with X, Y, Z enabled, ,listening on port X, logging to Y, with
virtual host Z.  WEB SERVER!
Yeah, this is the procedure if you want a webserver for an internal
network at your house that's behind a firewall.
But if your planning on setting the server up on the Internet, you have
omitted a whole series of steps that you have to follow for both OSs
to lock down the server and keep it from being broken into.
Did you miss the part about (don't know what it has open in the 
background or what scripts are enabled or disabled or...but who
cares...web server!)?

Not always, but having to go through the config files and googling 
often helps in the security part.  If you do it right it will at LEAST 
open your eyes to some of the possibilities.  And you'll have a better 
idea of what's going on than with the point-n-drool approach.

It won't fix it entirely, but you're at least on the right track with 
the UNIX way.

When those
steps are followed, your looking at a good 4-5 hours of labor for 
either
system.  Sure, you can get a Windows box up and running faster, but 
with
a public server, getting it running is only the first step in a long
series
of steps.  You really have to understand both systems throughly if you
put them online.  With FreeBSD, you have to understand it throughly to
get
it to run, so the only real difference between them is that your 
FreeBSD
system will get running near the end of this 4 hour block, your Windows
system will get running at the beginning of this 4 hour block.  But you
still have to spend 4 hours on each of 

Re: PF: Blocks my workstation on boot

2005-04-21 Thread Peter N. M. Hansteen
Fafa Diliha Romanova [EMAIL PROTECTED] writes:

 I have to write this command on my server after every reboot to allow
 my workstation to access the Internet through it:

Ok, so the server here is the gateway. 

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

and you essentially turn off everything except the NAT rules.

I think the problem is that your rule set does not have any rules that
let packets from your local net (I assume $int_if:network) pass IN via 
the firewall's lan-facing network interface. 

I think a rule like

pass in on $int_if from $int_if:network to any port $allowedports keep state

or even 

pass from $int_if:network to any port $allowedports keep state

(if you can do without the extra per interface housekeeping) would make
things a bit easier.
 
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales

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


Re: FreeBSD vs Linux

2005-04-21 Thread cytomatrix
Hi,
I think FreeBSD is the easiest decent operating system that i have ever 
used(i have used windows and linux distros too). To install a webserver 
under freebsd u dont have to run here and there, just go to ports and make 
install clean. You dont need a bunch of buttons for that. And freebsd's 
documentation is the best in the world. But u will only understand that if u 
have spend some time on reading freebsd handbook. I installed my webserver 
just using the handbook. For me freebsd is not hard to use. Good luck with 
freebsd and enjoy. :)

Cheers,
Cyto
- Original Message - 
From: Bart Silverstrim [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, April 21, 2005 12:32 PM
Subject: Re: FreeBSD vs Linux


On Apr 20, 2005, at 3:55 PM, [EMAIL PROTECTED] wrote:

koen de wijs wrote:
Hello folks,
I'm new to unix. This year I tried FreeBSD. Some friend of
mine adviced
FreeBSD. I think it works great. Only one thing that I
don't like is
that you will need to know a lot to setup a lot of basic stuff.
Yeah, this is unix my friend, that mean you have to get dirty AND LEARN 
a
lot in the process.

There are a million sites discussing this, it's a flamebait,
and no one
wants to have that start up, so what you are doing is being (possible
innocently, but I wonder) very very impolite.
I totally agree, stop whining and begin to read, read, read a lot,
Do you want the easy way? go with linux,
btw, i think windows xp is the rigth choice to you ;-) , you dont want to
read and learn, dont even touch a unix terminal
I'm afraid after playing with both FreeBSD and some different distros of 
Linux, that easy way isn't necessarily Linux either.  If anything it can 
get to be much more complex if used on the desktop when it comes to 
installing and updating software unless you only stick to that distro's 
way of installing new software.  And if you set it up to do more complex 
tasks it still takes every bit as much understanding and altering of files 
as FreeBSD does! :-)

The only easy way to go with installing things on a computer would have 
to be Windows (in the Intel world), since it is most often just a matter 
of clickclickclickclick done.  Windows will usually run for several weeks 
while gathering glut and goo in the registry, in temporary directories, 
screwing up various things in the background.  It has to be easy to set up 
because you end up having to reinstall when it starts acting weird :-)

Really though; with Windows, it's a matter of I want a web server...down 
load web server...click click license yeah yeah click... oooh! Web 
server! (don't know what it has open in the background or what scripts are 
enabled or disabled or...but who cares...web server!)

With a Unix system it's I want a web server...googlehmm...Apache 
looks like it should work...search through portsmake installedit 
config file...what's this do?...oh...googlegoogle...neat!...edit 
config...what's this 
directive?...googleokay...edit...save...apachectl start...web server 
with X, Y, Z enabled, ,listening on port X, logging to Y, with virtual 
host Z.  WEB SERVER!



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


hi Guys please look at my dmesg output

2005-04-21 Thread Zhang Chris-czhang01
Here it is, I got them when I buildworld, there must be something wrong, and my 
sound card does not work any more. so please just look at them and give me 
some advise. 
 
 
 
 
 
 
 
 
 
%dmesg | more 
Waiting (max 60 seconds) for system process `vnlru' to stop...done 
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done 
Waiting (max 60 seconds) for system process `syncer' to stop... 
Syncing disks, vnodes remaining...1 1 1 1 0 0 done 
No buffers busy after final sync 
Uptime: 7m16s 
Rebooting... 
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 rights reserved. 
FreeBSD 5.4-STABLE #1: Sat Apr 9 08:05:30 UTC 2005 
 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERN 
Timecounter i8254 frequency 1193182 Hz quality 0 
CPU: Intel Celeron (701.59-MHz 686-class CPU) 
Origin = GenuineIntel Id = 0x686 Stepping = 6 
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA 
T,PSE36,MMX,FXSR,SSE 
real memory = 201244672 (191 MB) 
avail memory = 191463424 (182 MB) 
npx0: math processor on motherboard 
npx0: INT 16 interface 
cpu0 on motherboard 
pcib0: Intel 82443BX (440 BX) host to PCI bridge pcibus 0 on motherboard 
pir0: PCI Interrupt Routing Table: 9 Entries on motherboard 
pci0: PCI bus on pcib0 
agp0: Intel 82443BX (440 BX) host to PCI bridge mem 0xe000-0xe3ff at 
d 
evice 0.0 on pci0 
pcib1: PCIBIOS PCI-PCI bridge at device 1.0 on pci0 
pci1: PCI bus on pcib1 
pci1: display, VGA at device 0.0 (no driver attached) 
cbb0: TI1420 PCI-CardBus Bridge irq 11 at device 3.0 on pci0 
cardbus0: CardBus bus on cbb0 
pccard0: 16-bit PCCard bus on cbb0 
cbb1: TI1420 PCI-CardBus Bridge irq 11 at device 3.1 on pci0 
cardbus1: CardBus bus on cbb1 
pccard1: 16-bit PCCard bus on cbb1 
isab0: PCI-ISA bridge at device 7.0 on pci0 
isa0: ISA bus on isab0 
atapci0: Intel PIIX4 UDMA33 controller port 
0x860-0x86f,0x376,0x170-0x177,0x3f 
6,0x1f0-0x1f7 at device 7.1 on pci0 
ata0: channel #0 on atapci0 
ata1: channel #1 on atapci0 
uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xdce0-0xdcff irq 11 at 
de 
vice 7.2 on pci0 
usb0: Intel 82371AB/EB (PIIX4) USB controller 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 
pci0: bridge at device 7.3 (no driver attached) 
pcm0: ESS Technology Maestro3 port 0xd800-0xd8ff mem 0xfbffe000-0xfbff 
irq 
5 at device 8.0 on pci0 
pcm0: failed: rid 0x10 is ioport, requested 3 
pcm0: SigmaTel STAC9721/23 AC97 Codec 
pci0: simple comms at device 16.0 (no driver attached) 
orm0: ISA Option ROM at iomem 0xc-0xc on isa0 
atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0 
atkbd0: AT Keyboard irq 1 on atkbdc0 
kbd0 at atkbd0 
psm0: PS/2 Mouse irq 12 on atkbdc0 
psm0: model IntelliMouse, device ID 3 
sc0: System console at flags 0x100 on isa0 
sc0: VGA 16 virtual consoles, flags=0x300 
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 
unknown: PNP0c01 can't assign resources (port) 
unknown: PNP0303 can't assign resources (port) 
unknown: PNP0f13 can't assign resources (irq) 
unknown: PNP0e03 can't assign resources (irq)Timecounter TSC frequency 
701592867 Hz quality 800 
Timecounters tick every 10.000 msec 
rl0: RealTek 8139 10/100BaseTX port 0x1000-0x10ff mem 0x8800-0x880001ff 
ir 
q 11 at device 0.0 on cardbus1 
miibus0: MII bus on rl0 
rlphy0: RealTek internal media interface on miibus0 
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto 
rl0: Ethernet address: 00:50:22:00:0f:e2 
ad0: 19077MB ST92011A/3.04 [38760/16/63] at ata0-master UDMA33 
acd0: CDROM TEAC CD-ROM CD-224E/3.7C at ata1-master PIO4 
Mounting root from ufs:/dev/ad0s1a 
Waiting (max 60 seconds) for system process `vnlru' to stop...done 
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done 
Waiting (max 60 seconds) for system process `syncer' to stop... 
Syncing disks, vnodes remaining...1 0 0 0 done 
No buffers busy after final sync 
Uptime: 1m46s 
Rebooting... 
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 rights reserved. 
FreeBSD 5.4-STABLE #1: Sat Apr 9 08:05:30 UTC 2005 
 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERN 
Timecounter i8254 frequency 1193182 Hz quality 0 
CPU: Intel Celeron (701.59-MHz 686-class CPU) 
Origin = GenuineIntel Id = 0x686 Stepping = 6 
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA 
T,PSE36,MMX,FXSR,SSE 
...skipping... 
atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0 
atkbd0: AT Keyboard irq 1 on atkbdc0 
kbd0 at atkbd0 
psm0: PS/2 Mouse irq 12 on atkbdc0 
psm0: model IntelliMouse, device ID 3 
sc0: System console at flags 0x100 on isa0 
sc0: VGA 16 

Re: hi Guys please look at my dmesg output

2005-04-21 Thread Wayne
Zhang Chris-czhang01 wrote:
Here it is, I got them when I buildworld, there must be something wrong, and my sound card does not work any more. so please just look at them and give me some advise. 





%dmesg | more 
Waiting (max 60 seconds) for system process `vnlru' to stop...done 
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done 
Waiting (max 60 seconds) for system process `syncer' to stop... 
Syncing disks, vnodes remaining...1 1 1 1 0 0 done 
No buffers busy after final sync 
Uptime: 7m16s 
Rebooting... 
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 rights reserved. 
FreeBSD 5.4-STABLE #1: Sat Apr 9 08:05:30 UTC 2005 
mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERN 
Timecounter i8254 frequency 1193182 Hz quality 0 
CPU: Intel Celeron (701.59-MHz 686-class CPU) 
Origin = GenuineIntel Id = 0x686 Stepping = 6 
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA 
T,PSE36,MMX,FXSR,SSE 
real memory = 201244672 (191 MB) 
avail memory = 191463424 (182 MB) 
npx0: math processor on motherboard 
npx0: INT 16 interface 
cpu0 on motherboard 
pcib0: Intel 82443BX (440 BX) host to PCI bridge pcibus 0 on motherboard 
pir0: PCI Interrupt Routing Table: 9 Entries on motherboard 
pci0: PCI bus on pcib0 
agp0: Intel 82443BX (440 BX) host to PCI bridge mem 0xe000-0xe3ff at d 
evice 0.0 on pci0 
pcib1: PCIBIOS PCI-PCI bridge at device 1.0 on pci0 
pci1: PCI bus on pcib1 
pci1: display, VGA at device 0.0 (no driver attached) 
cbb0: TI1420 PCI-CardBus Bridge irq 11 at device 3.0 on pci0 
cardbus0: CardBus bus on cbb0 
pccard0: 16-bit PCCard bus on cbb0 
cbb1: TI1420 PCI-CardBus Bridge irq 11 at device 3.1 on pci0 
cardbus1: CardBus bus on cbb1 
pccard1: 16-bit PCCard bus on cbb1 
isab0: PCI-ISA bridge at device 7.0 on pci0 
isa0: ISA bus on isab0 
atapci0: Intel PIIX4 UDMA33 controller port 0x860-0x86f,0x376,0x170-0x177,0x3f 
6,0x1f0-0x1f7 at device 7.1 on pci0 
ata0: channel #0 on atapci0 
ata1: channel #1 on atapci0 
uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xdce0-0xdcff irq 11 at de 
vice 7.2 on pci0 
usb0: Intel 82371AB/EB (PIIX4) USB controller 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 
pci0: bridge at device 7.3 (no driver attached) 
pcm0: ESS Technology Maestro3 port 0xd800-0xd8ff mem 0xfbffe000-0xfbff irq 
5 at device 8.0 on pci0 
pcm0: failed: rid 0x10 is ioport, requested 3 
pcm0: SigmaTel STAC9721/23 AC97 Codec 
pci0: simple comms at device 16.0 (no driver attached) 
orm0: ISA Option ROM at iomem 0xc-0xc on isa0 
atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0 
atkbd0: AT Keyboard irq 1 on atkbdc0 
kbd0 at atkbd0 
psm0: PS/2 Mouse irq 12 on atkbdc0 
psm0: model IntelliMouse, device ID 3 
sc0: System console at flags 0x100 on isa0 
sc0: VGA 16 virtual consoles, flags=0x300 
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 
unknown: PNP0c01 can't assign resources (port) 
unknown: PNP0303 can't assign resources (port) 
unknown: PNP0f13 can't assign resources (irq) 
unknown: PNP0e03 can't assign resources (irq)Timecounter TSC frequency 701592867 Hz quality 800 
Timecounters tick every 10.000 msec 
rl0: RealTek 8139 10/100BaseTX port 0x1000-0x10ff mem 0x8800-0x880001ff ir 
q 11 at device 0.0 on cardbus1 
miibus0: MII bus on rl0 
rlphy0: RealTek internal media interface on miibus0 
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto 
rl0: Ethernet address: 00:50:22:00:0f:e2 
ad0: 19077MB ST92011A/3.04 [38760/16/63] at ata0-master UDMA33 
acd0: CDROM TEAC CD-ROM CD-224E/3.7C at ata1-master PIO4 
Mounting root from ufs:/dev/ad0s1a 
Waiting (max 60 seconds) for system process `vnlru' to stop...done 
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done 
Waiting (max 60 seconds) for system process `syncer' to stop... 
Syncing disks, vnodes remaining...1 0 0 0 done 
No buffers busy after final sync 
Uptime: 1m46s 
Rebooting... 
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 rights reserved. 
FreeBSD 5.4-STABLE #1: Sat Apr 9 08:05:30 UTC 2005 
mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERN 
Timecounter i8254 frequency 1193182 Hz quality 0 
CPU: Intel Celeron (701.59-MHz 686-class CPU) 
Origin = GenuineIntel Id = 0x686 Stepping = 6 
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA 
T,PSE36,MMX,FXSR,SSE 
...skipping... 
atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0 
atkbd0: AT Keyboard irq 1 on atkbdc0 
kbd0 at atkbd0 
psm0: PS/2 Mouse irq 12 on atkbdc0 
psm0: model IntelliMouse, device ID 3 
sc0: System console at flags 0x100 on isa0 
sc0: VGA 16 

some more informations about my dmesg

2005-04-21 Thread Zhang Chris-czhang01
Sorry guys, the thing really confused me is that I always received this:
 
 
stray irq7 
stray irq7 
stray irq7 
stray irq7 
too many stray irq 7's: not logging anymore 

 
 
what the hell is this?
 
 
last time the dmesg out put which I posted does not include this, but If I run 
the server for longer time, e.g 2 days, the massage will be included in the 
dmesg out put.
 
 
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: some more informations about my dmesg

2005-04-21 Thread bob
that is normal for dial up modems.  In the FAQ there is directions
to make source changes to stop these unwanted messages.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Zhang
Chris-czhang01
Sent: Thursday, April 21, 2005 9:10 AM
To: 'freebsd-questions@freebsd.org'
Subject: some more informations about my dmesg


Sorry guys, the thing really confused me is that I always received
this:


stray irq7
stray irq7
stray irq7
stray irq7
too many stray irq 7's: not logging anymore



what the hell is this?


last time the dmesg out put which I posted does not include this,
but If I run the server for longer time, e.g 2 days, the massage
will be included in the dmesg out put.




___
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: Can FreeBSD withstand this kind of network load??

2005-04-21 Thread David Kelly
On Thu, Apr 21, 2005 at 02:17:31AM -0700, Mark Jayson Alvarez wrote:
 
 What's even funny about this is that he brought that
 pc he will turn into a router in our office so that we
 can install freebsd-4.11 with this specs:
 
 pentium III - 500 Mhz
 memory  64 MB.
 HD  4 GB

IIRC when ftp.cdrom.com was setting all time world records for 24 hour
ftp traffic on a single CPU it was FreeBSD on a PII, PIII, or Xeon of
about that clock.  Had more disk and memory but only a couple NICs.
Often 3000 simultaneous ftp sessions.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cluster on freeBSD 5.3

2005-04-21 Thread BSD
Hello,
One of my clients want a high performance computer with a high level of 
redundancy.

I was thinking of two solutions :
###
1. Installing 2 high perf computers :
###
This will involve buying 2 servers with the same level of disks, 
hardware RAID array, and software.
Regarding FreeBSD, I would install the software I need and sync the 
/etc and other vital soft using rsync.

#
2. Installing a high perf cluster :
#
There is a question regarding how to setup this cluster with a 
redundancy on every part of the system (hardware + software).
Has someone already been producing a high level cluster with FreeBSD ?
What hardware have you been using ?
What are the problems you are facing ?
Any pointer ?

---
The second question will be which of the two system will you use ?
Thanks for your answers.
__
«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
¯¯
Grégory Bernard   11, rue de la Tour
Directeur 75116 Paris France
www.ToDoo.biz tel : +(33) 1 40 26 43 14
__
«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
¯¯
PGP ID -- 0x1BA3C2FD
All parts should go together without forcing. You must remember that 
the parts you are reassembling were disassembled by you. Therefore, if 
you can't get them together again, there must be a reason. By all 
means, do not use hammer. -- IBM maintenance manual, 1975

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


Re: resizing partitions

2005-04-21 Thread Jerry McAllister
 
 Hello,
 I've got a 5.3-RELEASE box which has a /usr partition /dev/ad0s1e that
 is to small by approximately 700 mb. I've got the space on /var /dev/ad0s1d
 to do a resize, but i am unsure as to the procedure. I tried this once a
 while back on a test box and lost everything. If anyone has done this or has
 a procedure i'd be interested.

Instead of actually resizing the partition, you can just move some
of the stuff to a partition where you have plenty of room and then
make sym-links to it.   /usr/local  and  /usr/ports are good
candidates.   Tar the whole directory tree up and put it where
you want and untar it.   Then make links and rm the old one.

For example, I often make a partition and mount it as /work that contains
all my spare disk space in a slice.   If I put /usr/ports over there
it would look something like this:

  cd /usr/ports
  tar cvf /work/ports.tar *
  cd /work
  mkdir usr.ports
  cd usr.ports
  tar xvf ../ports.tar
Then look around in /work/usr.ports a bit to make sure it looks ok
  cd /usr
  
  mv ports ports.oldif you are really nervous, else just rm it
  
  ln -s /work/usr.ports ports
Try out the link by doing something like cd /usr/ports and looking around
It should put you in /work/usr.ports/wherever
  cd /usr
  rm -rf ports.old
  cd /work
  rm ports.tar

Works just fine.   I am always nervous about my typing so I normally 
do the extra steps of mv-ing the old one and checking things before
actuall rm-ing the old stuff.   But it can be skipped if you don't
have that problem.

You can call your extra partition mount point whatever you like.
Since /var can fill up with stuff such as mail and logs and spools
and db if you are running a database, you might not want to use
it to house the extra stuff unless you have a really big /var - well
beyond what you think you might ever need.   I reserve /var for those
things that grow unexpectedly so they can sort of be isolated there
and make another space (/work or whatever) for space manipulation
and other work - just a comment.

jerry

 Thanks.
 Dave.
 
 ___
 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 installation problem

2005-04-21 Thread ananth_g
hi,

when i try to install freebsd 5.3 im getting
the following error message in disk label editor

unable to make device node for /dev/ad0s2a in /dev
the creation of filesystems will be aborted.

help me to join you.

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


How to configure snort to use with snortsnarf?

2005-04-21 Thread Per B

Hi all!

I've installed snort and it's up and running. I've also installed
snortsnarf to get HTML output... But I do not know how to get snort to
output in a format that snortsnarf can read. So, anyone that has got this
working? What did you put in snort.conf to create a for snortsnarf
readable output?

I'm running 5.3 p5 and installed both apps from ports, latest versions. I
have no database (not yet at least)...

Thanks!


-- 
Per Berger
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

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


Re: resizing partitions

2005-04-21 Thread Philip Hallstrom

On Thu, 21 Apr 2005, Jerry McAllister wrote:
Hello,
I've got a 5.3-RELEASE box which has a /usr partition /dev/ad0s1e that
is to small by approximately 700 mb. I've got the space on /var /dev/ad0s1d
to do a resize, but i am unsure as to the procedure. I tried this once a
while back on a test box and lost everything. If anyone has done this or has
a procedure i'd be interested.
Instead of actually resizing the partition, you can just move some
of the stuff to a partition where you have plenty of room and then
make sym-links to it.   /usr/local  and  /usr/ports are good
candidates.   Tar the whole directory tree up and put it where
you want and untar it.   Then make links and rm the old one.
Probably worth making sure you add the 'pS' options to tar as well...
-p
--same-permissions
--preserve-permissions  Extract all protection information.
-S
--sparseHandle ``sparse'' files efficiently.
I find whenever I do something like this and forget those -- particularly 
-p -- I end up regretting it when users whine at me because they can't 
write to their files :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: resizing partitions

2005-04-21 Thread Jerry McAllister
 
 
 
 On Thu, 21 Apr 2005, Jerry McAllister wrote:
 
 
  Hello,
  I've got a 5.3-RELEASE box which has a /usr partition /dev/ad0s1e that
  is to small by approximately 700 mb. I've got the space on /var /dev/ad0s1d
  to do a resize, but i am unsure as to the procedure. I tried this once a
  while back on a test box and lost everything. If anyone has done this or 
  has
  a procedure i'd be interested.
 
  Instead of actually resizing the partition, you can just move some
  of the stuff to a partition where you have plenty of room and then
  make sym-links to it.   /usr/local  and  /usr/ports are good
  candidates.   Tar the whole directory tree up and put it where
  you want and untar it.   Then make links and rm the old one.
 
 Probably worth making sure you add the 'pS' options to tar as well...

Good idea.

jerry

 
 -p
 --same-permissions
 --preserve-permissions  Extract all protection information.
 
 -S
 --sparseHandle ``sparse'' files efficiently.
 
 I find whenever I do something like this and forget those -- particularly 
 -p -- I end up regretting it when users whine at me because they can't 
 write to their files :-)
 

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


devfs.conf, permissions and dynamic devices

2005-04-21 Thread Duane Winner
Hello all,
Does anybody know of a solution for this problem:
I have just acquired a new Zire 31 Palm Pilot to replace my old Palm 
VII, which was a serial interface.

I figured out how to sync the Zire to jpilot over USB after compiling 
the kernel (5.3 p9) with 'device ucom' and 'device uvisor'.

The problem is that because /dev/ucom0 is created and only exists when I 
hit the HotSync button on the Palm, putting the following lines into 
/etc/devfs.conf doesn't help at all:

perm ucom0 0666
link ucom0 pilot
link ucom0 jpilot
Before I hit the Sync button in the Jpilot application, I first have to 
type at the console:

# sudo /etc/rc.d/devfs restart
It's not the end of  the world, but it would be nice to simplify things 
a little if possible. Does anybody know of an alternate solution?

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


Re: devfs.conf, permissions and dynamic devices

2005-04-21 Thread Anish Mistry
On Thursday 21 April 2005 11:20 am, Duane Winner wrote:
 Hello all,

 Does anybody know of a solution for this problem:

 I have just acquired a new Zire 31 Palm Pilot to replace my old
 Palm VII, which was a serial interface.

 I figured out how to sync the Zire to jpilot over USB after
 compiling the kernel (5.3 p9) with 'device ucom' and 'device
 uvisor'.

 The problem is that because /dev/ucom0 is created and only exists
 when I hit the HotSync button on the Palm, putting the following
 lines into /etc/devfs.conf doesn't help at all:

 perm ucom0 0666
 link ucom0 pilot
 link ucom0 jpilot

You need to configure devfs.rules check the questions and current 
archives.
-- 
Anish Mistry


pgpixFRy85Keo.pgp
Description: PGP signature


Re: Cluster on freeBSD 5.3

2005-04-21 Thread Andrea Venturoli
BSD wrote:
Hello,
One of my clients want a high performance computer with a high level of 
redundancy.
One big question to start with:
what kind of servers?
Or, what kind of services will they need to provide?
 bye
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


WRITE_DMA problem again

2005-04-21 Thread arax
Hi all,

I was just wondering if there's a solution to fix the WRITE_DMA problem. I've
searched the archives but couldn't find a complete answer to this,
like why it's happening and what to do about it. I'd appreciate any help.

It seems that this doesn't do any harm to my system, but I'm not sure
because at this time the system is under no load at all. These errors just
appear from time to time. I would like to fix this before I move the
server into production.

I use 5.3-RELEASE and here's the output of my dmesg.today

atapci0: Intel ICH UDMA66 controller port 
0xffa0-0xffaf,0x376,0x170-0x177,0x3f
  6,0x1f0-0x1f7 at device 31.1 on pci0
ad0: 8693MB IBM-DJNA-370910/J74OA30K [17662/16/63] at ata0-master UDMA66
ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=1573151
ad0: FAILURE - WRITE_DMA timed out
ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=3750847
ad0: FAILURE - WRITE_DMA timed out

Thank you very much.

Regards,
Cezar



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


Re: Cluster on freeBSD 5.3

2005-04-21 Thread Robert Slade
On Thu, 2005-04-21 at 14:48, BSD wrote:
 Hello,
 
 One of my clients want a high performance computer with a high level of 
 redundancy.
 
 I was thinking of two solutions :
 
 ###
 1. Installing 2 high perf computers :
 ###
 
 This will involve buying 2 servers with the same level of disks, 
 hardware RAID array, and software.
 Regarding FreeBSD, I would install the software I need and sync the 
 /etc and other vital soft using rsync.
 
 
 #
 2. Installing a high perf cluster :
 #
 
 There is a question regarding how to setup this cluster with a 
 redundancy on every part of the system (hardware + software).
 Has someone already been producing a high level cluster with FreeBSD ?
 What hardware have you been using ?
 What are the problems you are facing ?
 Any pointer ?
 
 ---
 
 The second question will be which of the two system will you use ?
 
 
 Thanks for your answers.

Heartbeat run on freebsd (its in the ports) have a look at their site:

http://www.linux-ha.org/

Rob

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


pam_radius and ssh

2005-04-21 Thread Vince Hoffman
Hi all,
	I've been looking into using the pam_radius pam module and have 
been trying out the template_user feature as this would ease the 
administrative burden in our setup, (it allows a user to be specified as 
a template if the radius user does not have a local account.) I can get it 
to work fine for login and telnetd, but sshd seems to have a problem. If 
a local user with the same name as the radius user exists then no problem, 
if not then the  template_user should kick in, however it doesnt, in fact 
if the user does not exist localy then the pam_radius module is never 
even invoked, or at least it never sends any query to the radius server.
I'm guessing that sshd checks for a valid user even when its using PAM 
authentication and halts any further progress. Is there any way to turn 
this off?

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


Rép : Cluster on freeBSD 5.3

2005-04-21 Thread BSD
Le 21 avr. 05, à 19:36, Andrea Venturoli a écrit :
BSD wrote:
Hello,
One of my clients want a high performance computer with a high level 
of redundancy.
One big question to start with:
what kind of servers?
Or, what kind of services will they need to provide?
 bye
av.
- DNS (BIND)
- Mail (Postfix)
- LDAP Client
- Mailing List (Sympa)
- NTPD
- WebMin
- POP3
- POP3s
Thanks
__
«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
¯¯
Grégory Bernard   11, rue de la Tour
Directeur 75116 Paris France
www.ToDoo.biz tel : +(33) 1 40 26 43 14
__
«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
¯¯
PGP ID -- 0x1BA3C2FD
All parts should go together without forcing. You must remember that 
the parts you are reassembling were disassembled by you. Therefore, if 
you can't get them together again, there must be a reason. By all 
means, do not use hammer. -- IBM maintenance manual, 1975

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


Re: Adding my CDRW device to k3b

2005-04-21 Thread Justin R. Pessa
On Apr 20 06:54PM, Michael Collette wrote:
 Before getting into the CDRW stuff, why K3B wouldn't run.  I would bet
 that you're using an X Display Manager, like kdm, gdm, or even xdm. 
 You can't just su into root and run stuff like that.  You need to
 fully log out, then log into whatever wm you use as root.  When you do
 that, k3b should come up just fine.

I log into my system as root then launch kdm then log in as myself. What
do you recommend I do, log into kdm as root? Is there any way to get k3b
running under a normal user account?

 
 But it still probably won't pick up the devices :(  Oh, if life were
 simpler in FreeBSD land.
 
 First off, check that the following lines exist in your kernel config...
 
 device  scbus   # SCSI bus (required for SCSI)
 device  ch  # SCSI media changers
 device  da  # Direct Access (disks)
 device  sa  # Sequential Access (tape etc)
 device  cd  # CD
 device  pass# Passthrough device (direct SCSI access)
 device  ses # SCSI Environmental Services (and SAF-TE)
 device  atapicam
 
 Especially important is that last one, as it ain't in the GENERIC
 kernel last I checked.  That's the magical beast that'll get it all
 playing.  Get that in there and recompile your kernel.  You might get
 away with kldload cam, but I honestly don't know if that's the same
 thing.

I was missing a few of the above items: sa, ses, and ch. My new kernel
is compiling now.

 
 Then you'll want to get permissions and links all setup proper every
 time you boot in.  Here you'll need to get /etc/devfs.conf all tweaked
 up proper for normal users.
 
 # /etc/devfs.conf
 permacd00666
 linkacd0cdrom
 linkacd0dvd
 permpass0   0666
 permcd0 0666
 permxpt00666
 
 You may want to instead link cd0 to cdrom and dvd, but these settings
 seem to work for me here.

Took care of this as well. I don't recall seeing anything about editing
devfs.conf in the handbook. Perhaps I overlooked it.
 
 
 Make sure your /etc/rc.conf has the line...
 
 devd_enable=YES
 
 This is default in newer versions of FreeBSD.  Doesn't hurt to toss it
 in there thought.

All set now with this as well.

 
 The k3b port will have installed cdrdao, but it wouldn't have tweaked
 on it's permissions.  This one you'll most likely want to make it suid
 root.  Definitely not something you'd want to do on a production
 server box just out of paranoia, but reasonably safe on a desktop.
 
 # As root
 cd /usr/local/bin
 chmod u+s cdrdao

I stumbled upon these while researching my problem. Double checked the
above and it looks good.

 
 After jumping through all those fun loving hoops, it should work
 shweet.  In fact, k3b will automatically add your CD into the device
 list.  If k3b didn't put it in there for you, that's a clue that
 something isn't right.

I'm waiting for my new shiny kernel and we will see what happens! Thanks
so much for your help Michael! I look forward to making some illegitimate
music CDs and driving around dodging the law! :D 

 
 Good luck!
 
 On 4/14/05, Justin R. Pessa [EMAIL PROTECTED] wrote:
  Allo!
  
  I'm having problems trying to get k3b to recognize my CDRW drive. I went
  to Settings  COnfigure k3b  Devices. When I add /dev/acd0 it
  says Could not find an additional device at /dev/acd0. Here is the
  output of dmesg. The system sees the device fine, I folloed the handbook
  instructions for CDRW setup.
  
  acd0: CDRW TDK CDRW241040X/6.34 at ata1-master PIO4
  cd0 at ata1 bus 0 target 0 lun 0
  cd0: TDK CDRW241040X 6.34 Removable CD-ROM SCSI-0 device
  cd0: 16.000MB/s transfers
  cd0: cd present [1 x 2048 byte records]
  
  $ ls -al /dev/acd0
  crw-rw-rw-  1 root  jstn4,  13 Apr  7 22:14 /dev/acd0
  
  I realize this is probably more a k3b problem than a FreeBSD problem,
  but I feel as though there is something specific to FreeBSD I have
  either missed or am over looking.
  
  Any ideas?
  
  Thanks!
  
  ._
  | Justin R. Pessa
  | http://jstn.sdf1.org
  
  
  
 
 
 -- 
 When you come to a fork in the roadTake it
 - Yogi Berra

Warm Regards,

- j

.__.
| Justin R. Pessa - BOFH 
| www: http://jstn.sdf1.org 
| pgp: http://jstn.sdf1.org/pgp.html
| irc: asdf @ irc.freenode.net
'


pgpQeP5oC7gks.pgp
Description: PGP signature


LSI 1020 mpt problem

2005-04-21 Thread Jacob Atzen
Hi,

I've just gotten my hands on a server with a LSI 1020 controller.
Unfortunately when I try to boot the server off my 5.3 CD I get an error
message stating that mpt0: bullet missed in timeout.

I'm unable to find the 1020 in the hardware compability list for 5.x but
the 1030 is there. Also 1020 is supported in FreeBSD in the 4.x series.
Can I assume that the 1020 is supported in 5.x or has support been
dropped for some reason? And if it is supported, what may then be the
reason for the error message?

I guess I should note that I'm not very experienced with server
configuration, so if there's something obvious I'm missing please do
tell me.

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


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

2005-04-21 Thread Dana Rawson
G'Day, all.  
Please forgive all the question.  I am new to FreeBSD and for the past
few weeks I have been trying to get my Dell D600 to dual boot XP Pro
and FreeBSD 5.3.  I have almost got it with the exception of a few
remaining items.  I already have a question out there for the
Evolution issues, but the last three are regarding networking:

1. Verizon EVDO - I have the found numerous discussions regarding the
use of this card:

http://lists.freebsd.org/pipermail/freebsd-questions/2005-February/077627.html
http://mail-index.netbsd.org/tech-kern/2005/01/11/0002.html

But wasn't sure of the status.  Has anyone been able to get this working? 
 I am using what I'm guessing most are: AirPrime 5220.  

2. Broadcom wireless a/b/g - With the help of a few searches I was
able to at least get the system to recognize this nic.

http://dannyman.toldme.com/2005/01/05/freebsd-howto-ndisulate-windows-drivers/
http://www.xl0.org/FreeBSD/ndis.txt

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?

Thank you in advance for any directions and/or guidance!

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


Re: Stuck in bootstrapping hell - how do I troubleshoot?

2005-04-21 Thread Chris Zumbrunn
I repeated the setup attempt on another machine with different hardware 
and got stuck with the same problem. Does anybody have a idea regarding 
the obvious that I could be missing in order to get these systems to 
boot?  Otherwise I'll get someone to sit in front of the machine and 
look at the screen during a boot attempt :-)

/czv
On Apr 17, 2005, at 8:31 PM, Chris Zumbrunn wrote:
I'm having a hell of a time trying to get a new development server to 
boot FreeBSD.

The disk contents are an exact mirror from what I have running on a 
production server, except for a different IP number in rc.conf. The 
hardware is identical as far as I can tell.

The server is in a datacenter and I can only access it via ssh and 
boot either from the local disks or via network (freebsd or linux) - 
no serial console, so I can't see where it gets stuck during the 
bootstrap.

Any attempt to boot from the local disks fails. I can't ping the 
server for several minutes, until I give up and reboot again via 
network. Nothing is written to /var/log/messages during the local boot 
attempt.

I've reinstalled the bootstrap code several times both using 
sysinstall to install a standard mbr and using fdisk -B -b /boot/boot0 
ar0 and disklabel -B -b /boot/boot1 -s /boot/boot2 ar0s1

I seem to run into this same kind of problem over and over again. 
Usually I somehow get it to work eventually, without being able to 
tell anymore what fixed it because of the mass of stuff I tried before 
it just suddenly works :-)

How can I verify that I have a valid boot sector and mbr on that disk 
(other than by attempting to boot)?  Any tips on how to troubleshoot 
these kinds of bootstrapping problems without sitting in front of the 
box or having console access?

I'm happy to provide any additional infos regarding the details of the 
setup. I'm mirroring a server that is running FreeBSD 4.11.

[EMAIL PROTECTED]  +41 329 41 41 41
Chris Zumbrunn Ventures - http://www.czv.com/
Internet Application Technology - Reduced to the Maximum

[EMAIL PROTECTED]  +41 329 41 41 41
Chris Zumbrunn Ventures - http://www.czv.com/
Internet Application Technology - Reduced to the Maximum
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Shell script and Mathematica.

2005-04-21 Thread Ednilsom Orestes
Is it possible to built a Shell script that be able to control the
Mathematica, opening, calculating any functions and closing it ? If
yes. How can I do this?

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


Reusing a port after a crash

2005-04-21 Thread LukeD

From time to time, my torrent filesharing application will crash or need 
to be killed.  The application is configured to listen on a specific port. 
If I try to restart the application after improper termination, I receive 
a fatal error message stating that the port is already in use.

Before restarting the application, I verify that the application did 
indeed shut down (via 'ps -aux') and 'sockstat -l' shows that no 
application is using the port in question, so I don't understand how the 
port could still be 'in use'.

The only way I've found to restart the application after improper 
termination is to reboot the whole system.  Is there something else I 
could try?  Does this kind of thing tend to happen to network applications 
when they crash or could this be specific to my application?

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


About LKM and COM's devices from Russia

2005-04-21 Thread Belkin
Hello! I'm a programmer from Russia. Where can I find documentation 
about LKM drivers or about next thing: I need to write driver of special 
device attached to com-port. I don't know how can I work with com-port 
(using termios.h or assembler?), because I don't know what is correct 
for kernel mode. I'm using C language, English and Russian...
I'll be happy if YOU help me.

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


Re: Can't build ports on older FreeBSD machine

2005-04-21 Thread Paul Schmehl
--On Wednesday, April 20, 2005 07:20:24 PM -0600 Brett Glass 
[EMAIL PROTECTED] wrote:
I consult with, and provide service to, quite a few sysadmins
at small companies. Most of them won't bother to fix a FreeBSD
system that's gone awry like that; they'll just reinstall. They
do not have the time to investigate the subtleties of what went
wrong.
Then they're not sysadmins.  Their box maintainers.  If you really want to 
do a good job of consulting, you should recommend, when they format the 
box, that they install an OS they know something about.  Trying to 
sysadmin OSes you are ignorant of is simply asking for trouble.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Reusing a port after a crash

2005-04-21 Thread Philip Hallstrom
From time to time, my torrent filesharing application will crash or need 
to be killed.  The application is configured to listen on a specific port. If 
I try to restart the application after improper termination, I receive a 
fatal error message stating that the port is already in use.

Before restarting the application, I verify that the application did indeed 
shut down (via 'ps -aux') and 'sockstat -l' shows that no application is 
using the port in question, so I don't understand how the port could still be 
'in use'.

The only way I've found to restart the application after improper termination 
is to reboot the whole system.  Is there something else I could try?  Does 
this kind of thing tend to happen to network applications when they crash or 
could this be specific to my application?
What little tinkering I've done in the socket world reminds me of this:
--
% man setsockopt
...
SO_REUSEADDR   enables local address reuse
SO_REUSEPORT   enables duplicate address and port bindings
...
SO_REUSEADDR indicates that the rules used in validating addresses sup-
plied in a bind(2) call should allow reuse of local addresses.
SO_REUSEPORT allows completely duplicate bindings by multiple processes
if they all set SO_REUSEPORT before binding the port.  This option per-
mits multiple instances of a program to each receive UDP/IP multicast or
broadcast datagrams destined for the bound port.
--
Basically, what I remember about this is that if you supply those options 
when creating the socket and your app crashes, you can start it back up 
using the same host:port otherwise you get the message you're getting...

I'm sure a good networking would be able to explain it better...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: WRITE_DMA problem again

2005-04-21 Thread Anthony Atkielski
arax writes:

 I was just wondering if there's a solution to fix the WRITE_DMA problem. I've
 searched the archives but couldn't find a complete answer to this,
 like why it's happening and what to do about it. I'd appreciate any help.

I had the same problem (same logical device, in fact, and also on
FreeBSD 5.3) and it turned out to be a bad drive. I was able to verify
this by downloading the vendor's standalone test software, booting it on
the server, and running exhaustive tests against the drive. On the full
test, the software hung (whereas it worked fine on the other, identical
drive that I had configured on the system). Since this was a bootable
disk and FreeBSD wasn't even in the system, this ruled out FreeBSD. I
reluctantly replaced the drive (which was only 60 days old or so) with
an identical model, and I've had no problems since.

 It seems that this doesn't do any harm to my system, but I'm not sure
 because at this time the system is under no load at all. These errors just
 appear from time to time. I would like to fix this before I move the
 server into production.

The problem eventually corrupted some structure on my drive, but
apparently the system was able to recover most of it.  The drive worked
well enough to allow me to run full backups before replacing it.
Fortunately, there wasn't much on it.

If your disk vendor offers bootable test software, download that and
test the drive exhaustively offline.  If it fails or hangs, you have
your answer: replace the drive.  If it passes with flying colors, then
you'll have to look back to FreeBSD.

-- 
Anthony


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


Re: iPod 40GB support on FreeBSD 5.4-STABLE/amd64

2005-04-21 Thread Alexander Chamandy
On 4/20/05, linuxbaby [EMAIL PROTECTED] wrote:
  
  On Wed, 2005-04-20 at 11:40 -0400, Alexander Chamandy wrote: 
  I was curious if anyone had got their iPod 40GB working on FreeBSD
 5.4-STABLE/amd64? I've tried it under ehci(4) and it isn't properly
 detected. Sometimes it will even lock the system. When booting up it
 actually prevents the system from properly starting after it reaches
 the PATA/SATA drives. After I unplug the iPod from USB the system
 boots normally.
 
 The umass(4) driver shows the iPod when I plug it in, but it does not
 associate a da device with it. If any more information is desired,
 let me know.
 
  hi
  i´m not sure what is with 5.4 but on my system FreeBSD 5.3 the ehci doesn´t
 work 
  see man ehciso the best way is to use the ipod on FreeBSD with firewire
 maybe this 
  link help but it´s in german
  http://wiki.bsd-crew.de/index.php/IPod_Firewire_FreeBSD

Thanks I'll babelfish it and give it a shot.  :-)

  
  olli 
  
  -- 
  linuxbaby [EMAIL PROTECTED] 


-- 
Best wishes,

Alexander G. Chamandy
Webmaster
www.bsdfreak.org
Your Source For BSD News!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Setting console parameters for PXE Booting

2005-04-21 Thread carl forsythe
I am working on setting up what will end up being a fully automated
environment for setting up our FreeBSD systems. As part of the setup
process when they are racked they get plugged into a serial console
(Cyclades) and I have console=comconsole in the loader.conf that I'm
using in the PXE environment. My question is this, is there a way to
specify the console terminal type i.e. VT100 etc. so that it doesn't
ask what type of console you have attached after the kernel loads?
(This is before install begins). There doesn't appear to be a getty of
any form running or available at this point in the process so adding
the below to an etc/ttys file in the mfsroot image probably wouldn't
be of use.

ttyd0 /usr/libexec/getty std.9600 vt100 off secure

I've read through the handbook and the README.serial in
/usr/src/sys/i386/boot/biosboot and haven't really come up an answer
to this.

When it sits there waiting for the input the install hangs waiting,
which throws a small wrench into this process.

Any ideas?

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


Forwarding external-bound packets internally with ipfw

2005-04-21 Thread patrick
I have a few servers, and I'd like to force secondary servers to
deliver mail to the primary via a private network (each server is
dual-homed). Mail would be deemed local (destined for my LAN) by
specifying a bunch of CIDRs. I would like to accomplish this using
ipfw's forwarding support, but I am having a problem getting the rule
right. I first tried using ipfw forward, but after reading the man
page in greater detail, it seems like this likely won't work.

My next thought is to use ipfw's divert functionality in conjunction
with natd, but it is not clear to me how I could tell natd to forward
to the correct internal server using the redirect_port option.
Ideally, I would like to maintain only one list of IP blocks.
Additionally, it seems like natd wants you define a rule per IP, which
will get to be rather annoying when dealing with hundreds of IPs that
could easily be classified using a mask.

An example of what I want to do follows:

Server A: public IPs: 1.2.3.0/24, private IP: 192.168.0.1
Server B: public IPs: 2.3.4.0/24, private IP: 192.168.0.2
Server C: public IPs: 3.4.5.0/24, private IP: 192.168.0.3

When Server B accepts mail destined for Server A, I would like it to
route through 192.168.0.1 rather than the public IP.

The same goes for if Server C accepts mail for Server A or B using the
respective internal IP.

This isn't really relevant, but I'm using Postfix as my mailer. It
does have an option to force a relay_host, but it will not let you
differentiate destinations. This works fine with two hosts on the
network, but not for three or more.

Any ideas of how I could accomplish this?

Thanks very much,

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


Re: Reusing a port after a crash

2005-04-21 Thread Luke Dean
From time to time, my torrent filesharing application will crash or need 
to be killed.  The application is configured to listen on a specific port. 
If I try to restart the application after improper termination, I receive a 
fatal error message stating that the port is already in use.

Before restarting the application, I verify that the application did indeed 
shut down (via 'ps -aux') and 'sockstat -l' shows that no application is 
using the port in question, so I don't understand how the port could still 
be 'in use'.

The only way I've found to restart the application after improper 
termination is to reboot the whole system.  Is there something else I could 
try?  Does this kind of thing tend to happen to network applications when 
they crash or could this be specific to my application?
What little tinkering I've done in the socket world reminds me of this:
--
% man setsockopt
...
SO_REUSEADDR   enables local address reuse
SO_REUSEPORT   enables duplicate address and port bindings
...
SO_REUSEADDR indicates that the rules used in validating addresses sup-
plied in a bind(2) call should allow reuse of local addresses.
SO_REUSEPORT allows completely duplicate bindings by multiple processes
if they all set SO_REUSEPORT before binding the port.  This option per-
mits multiple instances of a program to each receive UDP/IP multicast or
broadcast datagrams destined for the bound port.
--
Basically, what I remember about this is that if you supply those options 
when creating the socket and your app crashes, you can start it back up using 
the same host:port otherwise you get the message you're getting...

I'm sure a good networking would be able to explain it better...
Thanks!  That's what I needed to know.  I didn't know such options 
existed.

I poked around in the code for the app, and even though I know next to 
nothing about python I found that there's a reuse parameter on the call 
that binds the listening port, and it's defaulting to false.  I bet if 
I explicitly set it to true that I'll get the behavior I want (or break 
the whole thing...)
Open Source is fun.  :)

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


Network problems?

2005-04-21 Thread Andrei Iarus
I use 4.11R of FreeBSD. In my rc.conf file I have
these lines: 
firewall_enable=YES
firewall_logging=YES
firewall_script=/root/ipfw.sh
In /root/ipfw.sh there are ipfw commands, and,
commands for configuring the IP and MAC. When changing
an entry (an IP and a MAC) with other one I experience
this problem: on boot time apache freezes, and,
ignoring this, startx freezes too. I have to mention
that I have 2 network cards, but I use only one at a
time, the second not being connected to the switch. Id
doesn`t meeter the Ip or the MAC, the network device
is UP and RUNNING, everytihng is ok. Could it be
because of the hostname??? I can`t figure out
this. Thank you for your help.

__
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: Error: /usr/lib/crt1.o(.text+0x64): In function `_start':

2005-04-21 Thread Alexander Chamandy
On 4/20/05, Andrew Heyn [EMAIL PROTECTED] wrote:
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Alexander
  Chamandy
  Sent: Wednesday, April 20, 2005 10:37 AM
  To: freebsd-stable@freebsd.org; freebsd-questions@freebsd.org
  Subject: Error: /usr/lib/crt1.o(.text+0x64): In function `_start':
 
 
  Has anyone seen these sorts of errors when compiling applications
  (such as PHP or Apache2)?  I can buildworld, kernels and most of the
  ports.. but occasionally I run in to this error:
 
  /usr/lib/crt1.o(.text+0x64): In function `_start':
  : undefined reference to `_init_tls'
 
  Here's the dmesg:
 
  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 rights reserved.
  FreeBSD 5.4-STABLE #5: Wed Apr  6 08:31:13 EDT 2005
 
 I'd say look at the lists pertaining to -STABLE...  because -STABLE isnt
 necessarily

I have, noone seems to be having this problem.  So, I'll cc the list.

 what its name implies, so many you need to cvsup and build world/kernel
 again, and possibly
 all your other applications.  Maybe your /usr/src/UPDATING covers this...
 It's important

I've consistently read it, perhaps I missed something, though.

 to read.  You never said what you're doing when you get that error.

I was compiling PHP4 with GD support from source.  

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


-- 
Best wishes,

Alexander G. Chamandy
Webmaster
www.bsdfreak.org
Your Source For BSD News!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Adding my CDRW device to k3b

2005-04-21 Thread Chuck Swiger
Justin R. Pessa wrote:
On Apr 20 06:54PM, Michael Collette wrote:
Before getting into the CDRW stuff, why K3B wouldn't run.  I would bet
that you're using an X Display Manager, like kdm, gdm, or even xdm. 
You can't just su into root and run stuff like that.  You need to
fully log out, then log into whatever wm you use as root.  When you do
that, k3b should come up just fine.
I log into my system as root then launch kdm then log in as myself. What
do you recommend I do, log into kdm as root? Is there any way to get k3b
running under a normal user account?
Try making the dvd+rw-tools port install setuid-root.  I don't believe that 
K3B needs to be root, just the underlying software it calls to actually burn 
the image

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


Stability problems with 5.3-Release

2005-04-21 Thread Chris McGee
I've got 2 identical boxes (Supermicro sys-6023P-8R) running with ZCR 
adaptec cards with 6 73Gig seagate scsi drives, 4 Gigs of ram, and dual 
2.4 Ghz Xeons.  Both of these machines are running 5.3-Release-p8.  The 
usually run for a day, give or take, and then they crash.  The just 
deadlock, no console response, no nothing.  The get power cycled and 
they are fine for a little while again.  These are configured to be 
mysql database servers.  I can provide any information necessary, but 
i'm stumped and it's causing me a lot of heartache now.

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


Re: Stability problems with 5.3-Release

2005-04-21 Thread Chad Leigh -- Shire . Net LLC
On Apr 21, 2005, at 4:22 PM, Chris McGee wrote:
I've got 2 identical boxes (Supermicro sys-6023P-8R) running with ZCR 
adaptec cards with 6 73Gig seagate scsi drives, 4 Gigs of ram, and 
dual 2.4 Ghz Xeons.  Both of these machines are running 
5.3-Release-p8.  The usually run for a day, give or take, and then 
they crash.  The just deadlock, no console response, no nothing.  The 
get power cycled and they are fine for a little while again.  These 
are configured to be mysql database servers.  I can provide any 
information necessary, but i'm stumped and it's causing me a lot of 
heartache now.

What were they running before -p8 ?  And were you having similar 
problems?

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


Re: Adding my CDRW device to k3b

2005-04-21 Thread Justin R. Pessa
Seems like the suggestions below worked like a charm! I'm burning a CD
as we speak, thanks a lot!
 
On Apr 20 05 06:54PM, Michael Collette wrote:
 Before getting into the CDRW stuff, why K3B wouldn't run.  I would bet
 that you're using an X Display Manager, like kdm, gdm, or even xdm. 
 You can't just su into root and run stuff like that.  You need to
 fully log out, then log into whatever wm you use as root.  When you do
 that, k3b should come up just fine.
 
 But it still probably won't pick up the devices :(  Oh, if life were
 simpler in FreeBSD land.
 
 First off, check that the following lines exist in your kernel config...
 
 device  scbus   # SCSI bus (required for SCSI)
 device  ch  # SCSI media changers
 device  da  # Direct Access (disks)
 device  sa  # Sequential Access (tape etc)
 device  cd  # CD
 device  pass# Passthrough device (direct SCSI access)
 device  ses # SCSI Environmental Services (and SAF-TE)
 device  atapicam
 
 Especially important is that last one, as it ain't in the GENERIC
 kernel last I checked.  That's the magical beast that'll get it all
 playing.  Get that in there and recompile your kernel.  You might get
 away with kldload cam, but I honestly don't know if that's the same
 thing.
 
 Then you'll want to get permissions and links all setup proper every
 time you boot in.  Here you'll need to get /etc/devfs.conf all tweaked
 up proper for normal users.
 
 # /etc/devfs.conf
 permacd00666
 linkacd0cdrom
 linkacd0dvd
 permpass0   0666
 permcd0 0666
 permxpt00666
 
 You may want to instead link cd0 to cdrom and dvd, but these settings
 seem to work for me here.
 
 Make sure your /etc/rc.conf has the line...
 
 devd_enable=YES
 
 This is default in newer versions of FreeBSD.  Doesn't hurt to toss it
 in there thought.
 
 The k3b port will have installed cdrdao, but it wouldn't have tweaked
 on it's permissions.  This one you'll most likely want to make it suid
 root.  Definitely not something you'd want to do on a production
 server box just out of paranoia, but reasonably safe on a desktop.
 
 # As root
 cd /usr/local/bin
 chmod u+s cdrdao
 
 After jumping through all those fun loving hoops, it should work
 shweet.  In fact, k3b will automatically add your CD into the device
 list.  If k3b didn't put it in there for you, that's a clue that
 something isn't right.
 
 Good luck!
 
 On 4/14/05, Justin R. Pessa [EMAIL PROTECTED] wrote:
  Allo!
  
  I'm having problems trying to get k3b to recognize my CDRW drive. I went
  to Settings  COnfigure k3b  Devices. When I add /dev/acd0 it
  says Could not find an additional device at /dev/acd0. Here is the
  output of dmesg. The system sees the device fine, I folloed the handbook
  instructions for CDRW setup.
  
  acd0: CDRW TDK CDRW241040X/6.34 at ata1-master PIO4
  cd0 at ata1 bus 0 target 0 lun 0
  cd0: TDK CDRW241040X 6.34 Removable CD-ROM SCSI-0 device
  cd0: 16.000MB/s transfers
  cd0: cd present [1 x 2048 byte records]
  
  $ ls -al /dev/acd0
  crw-rw-rw-  1 root  jstn4,  13 Apr  7 22:14 /dev/acd0
  
  I realize this is probably more a k3b problem than a FreeBSD problem,
  but I feel as though there is something specific to FreeBSD I have
  either missed or am over looking.
  
  Any ideas?
  
  Thanks!
  
  ._
  | Justin R. Pessa
  | http://jstn.sdf1.org
  
  
  
 
 
 -- 
 When you come to a fork in the roadTake it
 - Yogi Berra


- j

.__.
| Justin R. Pessa - BOFH 
| www: http://jstn.sdf1.org 
| pgp: http://jstn.sdf1.org/pgp.html
| irc: asdf @ irc.freenode.net
'


pgpLiqaWKZqiw.pgp
Description: PGP signature


mplayer plugin:: conf was unconfigured.

2005-04-21 Thread Gary Kline

fOLKS,

Just a suggestion that the mplayer-plugin port be 
a) either configured to work straight away[1] or b) that
the Makefile inform the user that the mplayerplug-in.conf
in not in /usr/local/etc but /usr/X11R6/etc and that it
needs to be tweaked to season.  

After 10 or 12 days of casually poling thither and yon,'
I got serious, found the configuration file, and diddled 
with it.

gary


[1] with appropriate caveats, of course.


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

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


Building OpenOffice

2005-04-21 Thread Trey Sizemore
What build option(s) are required to get the latest openoffice-2.0-
devel to build?  The build fails when doing a portupgrade so I don't
see the actual cause of the failed build.

I know it's marked as broken, but that others have successfully
installed it.  I've read where it says

rtld depends on _end symbol. type make -DBROKEN to see how to upgrade
your rtld

But this only gives me a message that the port is marked as broken.

Thanks.

-- 
Cheers,
Trey

 
If you wish to live wisely, ignore sayings -- including this one.
 
FreeBSD 5.3-STABLE i386 i386 GENERIC
 6:33PM  up 12 days,  6:06, 0 users, load averages: 0.69, 0.55, 0.83
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dan Gillmor could use some help

2005-04-21 Thread Alexander Chamandy
On 4/21/05, paul beard [EMAIL PROTECTED] wrote:
 If anyone has some suggestions (I realize he asked for Linux expertise,
 but perhaps he's open to a different kind of switch), maybe leave him a
 comment on his blog?

You may want to ask the [EMAIL PROTECTED] list for help on this. 
I've cc'd it.

 Your Assistance Requested (Linux Gurus), Please
 
 I have a ThinkPad X40 and am looking for a version of Linux that
 recognizes all the hardware, including the Wi-Fi, and handles
 suspend/resume. I installed Xandros Linux, which handled the hardware
 perfectly but not suspend/resume.
 
 Anyone know of a distribution that does it all?
 
 Dan Gillmor on Grassroots Journalism, Etc. 4/21/05 7:38 AM Dan Gillmor
 --
 Paul Beard
 www.paulbeard.org/
 paulbeard [at] mac.com
 ___
 freebsd-advocacy@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-advocacy
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
Best wishes,

Alexander G. Chamandy
Webmaster
www.bsdfreak.org
Your Source For BSD News!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Linux-opera takes forever to open

2005-04-21 Thread Eric Buchanan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello All,

I updated linux-opera via the port yesterday (from 7.54 to 8.). Now it 
generally takes five minutes to open, but once it does, nothing is out of the 
ordinary. I am running the latest 4.x-Stable. Any ideas on what is causing it 
to not open for so long?

TIA,
Eric Buchanan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCaDF48dQkF1HzQsoRAqKiAJ0UF/o3a2p3rdqCunS5aVzOFHC5HQCgitKi
zu8A3UWga/oG5M0h6jS+LXE=
=1oYf
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


special characters and how they are represented

2005-04-21 Thread Michael W. Oliver
hi folks.  this may seem uber-simple to some of you, but i'm ignorant
regarding this.  your help is appreciated.

so, i have this album from Mötley Crüe (that looks right in vim, my
editor for mutt), and i have ripped it to FLAC and put it on my file
server.  on the server, however, the directory name doesn't look like
that.  well, it does if i pipe ls through more (ls | more).  here are
the scenarios:

1) ls -- this shows M?tley_Cr?e as directory name
2) ls | more -- this looks right, with umlaut over o and u
3) ls MTAB -- this shows M\366tley_Cr\374e (backslash366 
   backslash374, respectively), using csh as my shell w/set complete and
   set autolist

my question is... why the differences?  is there a way to force
consistent behavior across all three scenarios?

thanks in advance.

-- 
Mike Oliver
[see complete headers for contact information]


pgpoiogPJNOqu.pgp
Description: PGP signature


Re: backup FreeBSD system

2005-04-21 Thread Clifton Royston
On Thu, Apr 21, 2005 at 04:03:37PM -0700, Joshua Lewis wrote:
 I have a working FreeBSD system that I love and...(Wow saying out loud I
 think I may need to seek a professional). Any way I would hate to loose it
 and was wondering if there is a way to make a duplicate system without
 weeks of configuration. Kind of like RAID Mirroring for a computer?
...
 I am probably going to load FreeBSD from scratch. Not hard at all. I can
 be done in a matter of 20 mins

  ISTR it takes a bit more time than that to install the base system,
but it's not too bad.

  Here's how I would probably do what you want to do:

 * Buy the second system with exact duplicate hardware.

 * Install FreeBSD on it from sysinstall as you said, partitioning the
drive the same way as your previous system and newfsing all the
partitions.
 
 * Shut down both systems to power off, pull the hard drive out of the
new system, and mount it temporarily into the working system as a
second drive.

 * Boot it up into FreeBSD, in single-user mode, and mount all the file
systems, including mounting all the file systems on the new drive onto
temporary mount points.

 * Use rsync to clone each file system from the working system to the
corresponding partition on the new system.  (This should go fast if
you've already installed the base system, as most files will already be
there and be identical.)

 * Shut it down and remove the new drive.

 * Reboot the working system as normal.

 * Restore the drive to the second system, and it should boot up as an
exact clone of the working system.  Then you'll just need to edit the
hostname and IP address in rc.conf (and any application config files
that reference them) before you put it onto the network.  (Oh, and
clean out the logs in /var, as it will have picked up the logs and
history of the first system.)

 * Done.

  This should get you a system that in every respect but name and IP
functions as a clone of your existing one, and it should be pretty fast
to do.
  
  -- Clifton

-- 
  Clifton Royston  --  [EMAIL PROTECTED] 
 Tiki Technologies Lead Programmer/Software Architect
I'm gonna tell my son to grow up pretty as the grass is green
And whip-smart as the English Channel's wide...
-- 'Whip-Smart', Liz Phair
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Stability problems with 5.3-Release

2005-04-21 Thread Kris Kennaway
On Thu, Apr 21, 2005 at 06:22:12PM -0400, Chris McGee wrote:
 I've got 2 identical boxes (Supermicro sys-6023P-8R) running with ZCR 
 adaptec cards with 6 73Gig seagate scsi drives, 4 Gigs of ram, and dual 
 2.4 Ghz Xeons.  Both of these machines are running 5.3-Release-p8.  The 
 usually run for a day, give or take, and then they crash.  The just 
 deadlock, no console response, no nothing.  The get power cycled and 
 they are fine for a little while again.  These are configured to be 
 mysql database servers.  I can provide any information necessary, but 
 i'm stumped and it's causing me a lot of heartache now.

You should try 5.4-RC3, which contains lots of bug fixes relative to
5.3.

Kris


pgplxuTy6CDVi.pgp
Description: PGP signature


Re: Adding my CDRW device to k3b

2005-04-21 Thread Danny Pansters
OK, let it be clear that the cdrdao thing is a problem of the software itself 
(as in: not needed to be root if done right), but certainly for us with devfs 
and proper permissions and group membership this can be solved without any 
problems or upstream changes. I can burn CDs alright but the GUI throws the 
warning nonetheless (simply because of cdrdao not being suid root? -- suid 
root shouldn't be needed at all).

I recently discovered another problem with k3b: Try to burn a 5.4-RC3 iso with 
it. Booting off it wouldn't work, and after pulling out a modest amount of 
hair I mounted the CD, and yes, there was one single file called blah.iso on 
the CD :)

[CC'd to ports@ as a FYI so that maintainer will see this as will others who 
might be interested. There really are a few problems with this port IMHO]

Dan

On Friday 22 April 2005 00:25, Justin R. Pessa wrote:
 Seems like the suggestions below worked like a charm! I'm burning a CD
 as we speak, thanks a lot!

 On Apr 20 05 06:54PM, Michael Collette wrote:
  Before getting into the CDRW stuff, why K3B wouldn't run.  I would bet
  that you're using an X Display Manager, like kdm, gdm, or even xdm.
  You can't just su into root and run stuff like that.  You need to
  fully log out, then log into whatever wm you use as root.  When you do
  that, k3b should come up just fine.
 
  But it still probably won't pick up the devices :(  Oh, if life were
  simpler in FreeBSD land.
 
  First off, check that the following lines exist in your kernel config...
 
  device  scbus   # SCSI bus (required for SCSI)
  device  ch  # SCSI media changers
  device  da  # Direct Access (disks)
  device  sa  # Sequential Access (tape etc)
  device  cd  # CD
  device  pass# Passthrough device (direct SCSI access)
  device  ses # SCSI Environmental Services (and
  SAF-TE) device  atapicam
 
  Especially important is that last one, as it ain't in the GENERIC
  kernel last I checked.  That's the magical beast that'll get it all
  playing.  Get that in there and recompile your kernel.  You might get
  away with kldload cam, but I honestly don't know if that's the same
  thing.
 
  Then you'll want to get permissions and links all setup proper every
  time you boot in.  Here you'll need to get /etc/devfs.conf all tweaked
  up proper for normal users.
 
  # /etc/devfs.conf
  permacd00666
  linkacd0cdrom
  linkacd0dvd
  permpass0   0666
  permcd0 0666
  permxpt00666
 
  You may want to instead link cd0 to cdrom and dvd, but these settings
  seem to work for me here.
 
  Make sure your /etc/rc.conf has the line...
 
  devd_enable=YES
 
  This is default in newer versions of FreeBSD.  Doesn't hurt to toss it
  in there thought.
 
  The k3b port will have installed cdrdao, but it wouldn't have tweaked
  on it's permissions.  This one you'll most likely want to make it suid
  root.  Definitely not something you'd want to do on a production
  server box just out of paranoia, but reasonably safe on a desktop.
 
  # As root
  cd /usr/local/bin
  chmod u+s cdrdao
 
  After jumping through all those fun loving hoops, it should work
  shweet.  In fact, k3b will automatically add your CD into the device
  list.  If k3b didn't put it in there for you, that's a clue that
  something isn't right.
 
  Good luck!
 
  On 4/14/05, Justin R. Pessa [EMAIL PROTECTED] wrote:
   Allo!
  
   I'm having problems trying to get k3b to recognize my CDRW drive. I
   went to Settings  COnfigure k3b  Devices. When I add /dev/acd0
   it says Could not find an additional device at /dev/acd0. Here is the
   output of dmesg. The system sees the device fine, I folloed the
   handbook instructions for CDRW setup.
  
   acd0: CDRW TDK CDRW241040X/6.34 at ata1-master PIO4
   cd0 at ata1 bus 0 target 0 lun 0
   cd0: TDK CDRW241040X 6.34 Removable CD-ROM SCSI-0 device
   cd0: 16.000MB/s transfers
   cd0: cd present [1 x 2048 byte records]
  
   $ ls -al /dev/acd0
   crw-rw-rw-  1 root  jstn4,  13 Apr  7 22:14 /dev/acd0
  
   I realize this is probably more a k3b problem than a FreeBSD problem,
   but I feel as though there is something specific to FreeBSD I have
   either missed or am over looking.
  
   Any ideas?
  
   Thanks!
  
   ._
  
   | Justin R. Pessa
   | http://jstn.sdf1.org
 
  --
  When you come to a fork in the roadTake it
  - Yogi Berra

 - j

 .__.

 | Justin R. Pessa - BOFH
 | www: http://jstn.sdf1.org
 | pgp: http://jstn.sdf1.org/pgp.html
 | irc: asdf @ irc.freenode.net

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


Re: Stability problems with 5.3-Release

2005-04-21 Thread Christopher McGee
Chad Leigh -- Shire.Net LLC wrote:
On Apr 21, 2005, at 4:22 PM, Chris McGee wrote:
I've got 2 identical boxes (Supermicro sys-6023P-8R) running with ZCR 
adaptec cards with 6 73Gig seagate scsi drives, 4 Gigs of ram, and 
dual 2.4 Ghz Xeons.  Both of these machines are running 
5.3-Release-p8.  The usually run for a day, give or take, and then 
they crash.  The just deadlock, no console response, no nothing.  The 
get power cycled and they are fine for a little while again.  These 
are configured to be mysql database servers.  I can provide any 
information necessary, but i'm stumped and it's causing me a lot of 
heartache now.

What were they running before -p8 ?  And were you having similar 
problems?

Chad
Unfortunately, nothing.  These were brand new boxes, installed 5.3 from 
cd, cvsup'd to latest 5.3-Release, and starting installing the few ports 
we needed.  I can't go to an RC.  The higher powers won't allow running 
anything but a full release.  It was a pretty big hassle even 
implementing 5.3 vs 4.x.

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


Re: Stability problems with 5.3-Release

2005-04-21 Thread Chad Leigh -- Shire . Net LLC
On Apr 21, 2005, at 7:42 PM, Christopher McGee wrote:
Chad Leigh -- Shire.Net LLC wrote:
On Apr 21, 2005, at 4:22 PM, Chris McGee wrote:
I've got 2 identical boxes (Supermicro sys-6023P-8R) running with 
ZCR adaptec cards with 6 73Gig seagate scsi drives, 4 Gigs of ram, 
and dual 2.4 Ghz Xeons.  Both of these machines are running 
5.3-Release-p8.  The usually run for a day, give or take, and then 
they crash.  The just deadlock, no console response, no nothing.  
The get power cycled and they are fine for a little while again.  
These are configured to be mysql database servers.  I can provide 
any information necessary, but i'm stumped and it's causing me a lot 
of heartache now.

What were they running before -p8 ?  And were you having similar 
problems?

Chad
Unfortunately, nothing.  These were brand new boxes, installed 5.3 
from cd, cvsup'd to latest 5.3-Release, and starting installing the 
few ports we needed.  I can't go to an RC.  The higher powers won't 
allow running anything but a full release.  It was a pretty big hassle 
even implementing 5.3 vs 4.x.

ok, just wondering if you had updated from a lower -p level of 5.3 or 
5.3-RELEASE with no patches or 5.2.1 or something, so we could see if 
something happened in a recent patch

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


Re: Adding my CDRW device to k3b

2005-04-21 Thread Michael Nottebrock
On Friday, 22. April 2005 03:35, Danny Pansters wrote:
 OK, let it be clear that the cdrdao thing is a problem of the software
 itself (as in: not needed to be root if done right), but certainly for us
 with devfs and proper permissions and group membership this can be solved
 without any problems or upstream changes. I can burn CDs alright but the
 GUI throws the warning nonetheless (simply because of cdrdao not being suid
 root? -- suid root shouldn't be needed at all).

Only if cdrdao is suid root, it can set itself to realtime priority during 
burning, which is a feature. This used to be more important back when the 
machines were slower and buffer underruns meant burning coasters. You can 
turn off the permissions check (and all other similar checks) with k3b's 
options, Misc tab, Check system configuration checkbox.

 I recently discovered another problem with k3b: Try to burn a 5.4-RC3 iso
 with it. Booting off it wouldn't work, and after pulling out a modest
 amount of hair I mounted the CD, and yes, there was one single file called
 blah.iso on the CD :)

And you're sure you used the Tools/CD/Burn CD Image menu to do that?

-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


pgptAmnDwPWqd.pgp
Description: PGP signature


Re: Stability problems with 5.3-Release

2005-04-21 Thread Justin R. Pessa
On Apr 21 05 06:22PM, Chris McGee wrote:
 I've got 2 identical boxes (Supermicro sys-6023P-8R) running with ZCR 
 adaptec cards with 6 73Gig seagate scsi drives, 4 Gigs of ram, and dual 
 2.4 Ghz Xeons.  Both of these machines are running 5.3-Release-p8.  The 
 usually run for a day, give or take, and then they crash.  The just 
 deadlock, no console response, no nothing.  The get power cycled and 
 they are fine for a little while again.  These are configured to be 
 mysql database servers.  I can provide any information necessary, but 
 i'm stumped and it's causing me a lot of heartache now.

I've had similar problems as well. One thing I noticed is that a process
may get hung in the D state and never returns. From there it seems the
system enters a downward spiral and everything locks up. I've had this
problem with p6 and p7. Attached is my dmesg output. Not sure if it's
helpful... 

I can't offer anything in the form of a solution but figured I'd chime
in so that Chris doesn't think he's the only (crazy) one with this
problem! ;)

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


- j

.__.
| Justin R. Pessa - BOFH 
| www: http://jstn.sdf1.org 
| pgp: http://jstn.sdf1.org/pgp.html
| irc: asdf @ irc.freenode.net
'
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE-p7 #3: Thu Apr 21 13:24:51 EDT 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/TWINTURBO
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 1700MHz (1707.56-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf0a  Stepping = 10
  
Features=0x3febf9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
real memory  = 268349440 (255 MB)
avail memory = 257130496 (245 MB)
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: ASUS P4T on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0xe408-0xe40b on acpi0
cpu0: ACPI CPU (2 Cx states) on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82850 host to AGP bridge mem 0xf800-0xfbff at device 0.0 
on pci0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib2
pcm0: Creative EMU10K1 port 0xd800-0xd81f irq 9 at device 6.0 on pci2
pcm0: SigmaTel STAC9708/11 AC97 Codec
rl0: RealTek 8139 10/100BaseTX port 0xd000-0xd0ff mem 0xf180-0xf18000ff 
irq 9 at device 11.0 on pci2
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:02:2a:b3:24:a0
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH2 UDMA100 controller port 
0xb800-0xb80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: Intel 82801BA/BAM (ICH2) USB controller USB-A port 0xb400-0xb41f irq 9 
at device 31.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82801BA/BAM (ICH2) 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: KYE Genius USB Wheel Mouse, rev 1.00/0.00, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
pci0: serial bus, SMBus at device 31.3 (no driver attached)
uhci1: Intel 82801BA/BAM (ICH2) USB controller USB-B port 0xb000-0xb01f irq 9 
at device 31.4 on pci0
uhci1: [GIANT-LOCKED]
usb1: Intel 82801BA/BAM (ICH2) 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
fdc0: floppy drive controller port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
ppc0: ECP parallel printer port port 0x778-0x77a,0x378-0x37f irq 7 drq 3 on 
acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: Parallel port bus on ppc0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
orm0: ISA Option ROMs at iomem 0xcc000-0xc,0xc-0xcb7ff on isa0
pmtimer0 on isa0
sc0: System 

Re: php5, unable to use pcre module

2005-04-21 Thread Stephen Kelly
Hi.  Thanks for the suggestion:

 It looks like your module versions are out of date.  Try to recompile
 apache and all your php extensions.

I tried to accomplish this by doing:
cd /usr/ports/lang/php5
make deinstall
cd /usr/ports/lang/php5-extensions
make deinstall
cd /usr/ports/www/apache2
make deinstall
make reinstall
cd /usr/ports/lang/php5
make reinstall
cd /usr/ports/lang/php5-extensions
make reinstall

This didn't seem to change anything.  I also tried installing
/usr/ports/www/mod_php5 but that seemed to conflict with the php5 installation.

Am I doing this right?  Any other suggestions?

Thanks

Quoting Anish Mistry [EMAIL PROTECTED]:

 On Wednesday 20 April 2005 11:07 pm, Stephen Kelly wrote:
  Hi All,
 
  I'm using freebsd 5.3, apache2, and php5.  I was getting the
  following error from one of my php scripts:
 
  Fatal error: Call to undefined function preg_match()
 
  So, after looking around on various lists, I determined that I
  needed to install php5-pcre, so I installed the ports
  /usr/port/devel/pcre, and /usr/ports/devel/php5-pcre.
 
  But now I get the following error in my /var/log/httpd-error.log
  file:
 
  PHP Warning:  PHP Startup: pcre: Unable to initialize module
  Module compiled with module API=20040412, debug=1, thread-safety=0
  PHPcompiled with module API=20041030, debug=1, thread-safety=0
  These options need to match in Unknown on line 0
 

 It looks like your module versions are out of date.  Try to recompile
 apache and all your php extensions.

  Can anyone tell me how to solve this problem?
  I also tried installing /usr/ports/lang/php5-extensions but I got
  similar errors for many of the extensions.  I have also recently
  upgraded my ports collection with cvsup.  I've been frigging around
  deinstalling and reinstalling things but I can't find the actual
  problem.
 
  Any help is greatly appreciated.
  Thanks,
  Stephen
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 --
 Anish Mistry




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


Unassociated shell command when building kernel

2005-04-21 Thread madsen
I've been cvsup'ing the kernel regularly (standard-supfile) for
quite a while.  About maybe a month or so ago, when trying to do a
kernel build, I get what appear to be make errors with the error
message Unassociated shell command.

(A copy of the pertinent lines from the build log are below).

The final advice from the script seems to be
Run make -f rescue.mk to build crunched binary., but I 
cannot find rescue.mk anywhere.  Perhaps that's my problem, but
I do not know, and I don't know enough about the kernel build system
to know how to debug this situation.

1)  If the problem is a missing rescue.mk, how/where can I get a 
shiny new one?  And secondly, what happened to the old one?  Could 
an update have munged it? 

2)  If that isn't the problem, how can I find out what is?

3)  Is there an FM that I can RT on how the kernel build system is
put together?  Something that's more detailed than newbie but less
detailed than kernel developer?  Right now, it's a black box and I'd
like to grey it up a little.

4)  In a perhaps associated issue, after cvsup'ing ports, make fetchindex
and portupgrade also get the same error message.  

Dave Madsen ---dcm
adsenmay atay ijitvay otday omcay


Build log excerpt:

echo special gzip buildopts DIRPRFX=rescue/rescue/gzip/ rescue.conf
echo ln gzip gunzip rescue.conf
echo ln gzip gzcat rescue.conf
echo ln gzip zcat rescue.conf
echo progs chroot rescue.conf
echo special chroot srcdir /usr/src/rescue/rescue/../../usr.sbin/chroot 
rescue.conf
echo special chroot buildopts DIRPRFX=rescue/rescue/chroot/ rescue.conf
MAKEOBJDIRPREFIX=/usr/obj/usr/src/rescue/rescue crunchgen -fq -m rescue.mk  -c 
rescue.c rescue.conf
/usr/src/rescue/rescue/../../bin/dd/Makefile, line 21: Unassociated shell 
command @${ECHO} testing conv=ebcdic
/usr/src/rescue/rescue/../../bin/dd/Makefile, line 25: Unassociated shell 
command @./gen |  LC_ALL=en_US.US-ASCII ./dd conv=ebcdic 2/dev/null |  
LC_ALL=en_US.US-ASCII hexdump -C |  diff -I FreeBSD - ${.CURDIR}/ref.ebcdic
/usr/src/rescue/rescue/../../bin/dd/Makefile, line 21: Unassociated shell 
command @${ECHO} testing conv=ibm
/usr/src/rescue/rescue/../../bin/dd/Makefile, line 25: Unassociated shell 
command @./gen |  LC_ALL=en_US.US-ASCII ./dd conv=ibm 2/dev/null |  
LC_ALL=en_US.US-ASCII hexdump -C |  diff -I FreeBSD - ${.CURDIR}/ref.ibm
/usr/src/rescue/rescue/../../bin/dd/Makefile, line 21: Unassociated shell 
command @${ECHO} testing conv=oldascii
/usr/src/rescue/rescue/../../bin/dd/Makefile, line 25: Unassociated shell 
command @./gen |  LC_ALL=en_US.US-ASCII ./dd conv=oldascii 2/dev/null |  
LC_ALL=en_US.US-ASCII hexdump -C |  diff -I FreeBSD - ${.CURDIR}/ref.oldascii
/usr/src/rescue/rescue/../../bin/dd/Makefile, line 21: Unassociated shell 
command @${ECHO} testing conv=oldebcdic
/usr/src/rescue/rescue/../../bin/dd/Makefile, line 25: Unassociated shell 
command @./gen |  LC_ALL=en_US.US-ASCII ./dd conv=oldebcdic 2/dev/null |  
LC_ALL=en_US.US-ASCII hexdump -C |  diff -I FreeBSD - ${.CURDIR}/ref.oldebcdic
/usr/src/rescue/rescue/../../bin/dd/Makefile, line 21: Unassociated shell 
command @${ECHO} testing conv=oldibm
/usr/src/rescue/rescue/../../bin/dd/Makefile, line 25: Unassociated shell 
command @./gen |  LC_ALL=en_US.US-ASCII ./dd conv=oldibm 2/dev/null |  
LC_ALL=en_US.US-ASCII hexdump -C |  diff -I FreeBSD - ${.CURDIR}/ref.oldibm
/usr/src/rescue/rescue/../../bin/dd/Makefile, line 21: Unassociated shell 
command @${ECHO} testing conv=pareven
/usr/src/rescue/rescue/../../bin/dd/Makefile, line 25: Unassociated shell 
command @./gen |  LC_ALL=en_US.US-ASCII ./dd conv=pareven 2/dev/null |  
LC_ALL=en_US.US-ASCII hexdump -C |  diff -I FreeBSD - ${.CURDIR}/ref.pareven
/usr/src/rescue/rescue/../../bin/dd/Makefile, line 21: Unassociated shell 
command @${ECHO} testing conv=parnone
/usr/src/rescue/rescue/../../bin/dd/Makefile, line 25: Unassociated shell 
command @./gen |  LC_ALL=en_US.US-ASCII ./dd conv=parnone 2/dev/null |  
LC_ALL=en_US.US-ASCII hexdump -C |  diff -I FreeBSD - ${.CURDIR}/ref.parnone
/usr/src/rescue/rescue/../../bin/dd/Makefile, line 21: Unassociated shell 
command @${ECHO} testing conv=parodd
/usr/src/rescue/rescue/../../bin/dd/Makefile, line 25: Unassociated shell 
command @./gen |  LC_ALL=en_US.US-ASCII ./dd conv=parodd 2/dev/null |  
LC_ALL=en_US.US-ASCII hexdump -C |  diff -I FreeBSD - ${.CURDIR}/ref.parodd
/usr/src/rescue/rescue/../../bin/dd/Makefile, line 21: Unassociated shell 
command @${ECHO} testing conv=parset
/usr/src/rescue/rescue/../../bin/dd/Makefile, line 25: Unassociated shell 
command @./gen |  LC_ALL=en_US.US-ASCII ./dd conv=parset 2/dev/null |  
LC_ALL=en_US.US-ASCII hexdump -C |  diff -I FreeBSD - ${.CURDIR}/ref.parset
/usr/src/rescue/rescue/../../bin/dd/Makefile, line 21: Unassociated shell 
command @${ECHO} testing conv=swab
/usr/src/rescue/rescue/../../bin/dd/Makefile, line 25: Unassociated shell 
command @./gen |  LC_ALL=en_US.US-ASCII ./dd conv=swab 2/dev/null |  
LC_ALL=en_US.US-ASCII hexdump -C |  diff -I 

Re: Unassociated shell command when building kernel

2005-04-21 Thread Kevin Kinsey
[EMAIL PROTECTED] wrote:
I've been cvsup'ing the kernel regularly (standard-supfile) for
quite a while.  About maybe a month or so ago, when trying to do a
kernel build, I get what appear to be make errors with the error
message Unassociated shell command.
(A copy of the pertinent lines from the build log are below).
The final advice from the script seems to be
Run make -f rescue.mk to build crunched binary., but I 
cannot find rescue.mk anywhere.  Perhaps that's my problem, but
I do not know, and I don't know enough about the kernel build system
to know how to debug this situation.

1)  If the problem is a missing rescue.mk, how/where can I get a 
shiny new one?  And secondly, what happened to the old one?  Could 
an update have munged it? 

 

If there is an old one, it's in the object tree.  But maybe there isn't,
keep reading for my guess.
2)  If that isn't the problem, how can I find out what is?
 

I'm thinking a perusal of /usr/src/UPDATING ... but IANAE.
3)  Is there an FM that I can RT on how the kernel build system is
put together?  Something that's more detailed than newbie but less
detailed than kernel developer?  Right now, it's a black box and I'd
like to grey it up a little.
4)  In a perhaps associated issue, after cvsup'ing ports, make fetchindex
and portupgrade also get the same error message.  

Dave Madsen ---dcm
adsenmay atay ijitvay otday omcay
 

My guess: it's likely your make is out of date.  See /usr/ports/UPDATING,
entry 20040728.  If your world is older than that date, it's almost
certainly the issue.  OTOH, if you're building kernels often (say,
monthly?) and your world is last July or earlier, I'd have thought
the problem to be older than one month.
Are you also regularly building world?  They really need to
be kept m/l in sync.
Now, I could be wrong, and often am; but it's worth thinking
about, and seems quite possible.
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Unending compilation of OpenOffice-1.1.2

2005-04-21 Thread Edwin D. Vinas
hi,

Is it normal for OpenOffice-1.1.2 to take a very long compilation
time? I installed using the ports. I actually have consumed almost 24
hours to compile openoffice in FreeBSD-5.3 and until now it is still
compiling. I also tried installing the source but when I execute
seetup, it jst shows the loading programs but doesn't proceed with
the installtion/setup. Is there anyway to quickly install openoffice
in FreeBSD-5.3?

-edwin

-- 
--
Edwin D. Viñas
http://www.geocities.com/edwin_vinas/
IN THE WORLD OF SCIENCE,
NOTHING IS IMPOSSIBLE.
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Unending compilation of OpenOffice-1.1.2

2005-04-21 Thread Robert Huff

Edwin D. Vinas writes:

  Is it normal for OpenOffice-1.1.2 to take a very long compilation
  time? I installed using the ports. I actually have consumed
  almost 24 hours to compile openoffice in FreeBSD-5.3 and until
  now it is still compiling.

Yes.  OpenOffice is possibly the largest single port in the
entire ports system.  Were I to recompile it on my P4/2.25ghz
80mb/sec LVD SCSI system I would allow _at least_ 24 hours.



Robert Huff




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


Re: php5, unable to use pcre module

2005-04-21 Thread Anish Mistry
On Thursday 21 April 2005 10:59 pm, you wrote:
 Hi.  Thanks for the suggestion:
  It looks like your module versions are out of date.  Try to
  recompile apache and all your php extensions.

 I tried to accomplish this by doing:
 cd /usr/ports/lang/php5
 make deinstall
 cd /usr/ports/lang/php5-extensions

extensions is a meta port.  Make sure that all the php5 extensions are 
actually removed and you've done a make clean so they all get rebuilt 
just not reinstalled.  pkg_delete php5\*

 make deinstall
 cd /usr/ports/www/apache2
 make deinstall
 make reinstall
 cd /usr/ports/lang/php5
 make reinstall
 cd /usr/ports/lang/php5-extensions
 make reinstall

 This didn't seem to change anything.  I also tried installing
 /usr/ports/www/mod_php5 but that seemed to conflict with the php5
 installation.

 Am I doing this right?  Any other suggestions?

 Thanks

 Quoting Anish Mistry [EMAIL PROTECTED]:
  On Wednesday 20 April 2005 11:07 pm, Stephen Kelly wrote:
   Hi All,
  
   I'm using freebsd 5.3, apache2, and php5.  I was getting the
   following error from one of my php scripts:
  
   Fatal error: Call to undefined function preg_match()
  
   So, after looking around on various lists, I determined that I
   needed to install php5-pcre, so I installed the ports
   /usr/port/devel/pcre, and /usr/ports/devel/php5-pcre.
  
   But now I get the following error in my
   /var/log/httpd-error.log file:
  
   PHP Warning:  PHP Startup: pcre: Unable to initialize module
   Module compiled with module API=20040412, debug=1,
   thread-safety=0 PHPcompiled with module API=20041030,
   debug=1, thread-safety=0 These options need to match in Unknown
   on line 0
 
  It looks like your module versions are out of date.  Try to
  recompile apache and all your php extensions.
 
   Can anyone tell me how to solve this problem?
   I also tried installing /usr/ports/lang/php5-extensions but I
   got similar errors for many of the extensions.  I have also
   recently upgraded my ports collection with cvsup.  I've been
   frigging around deinstalling and reinstalling things but I
   can't find the actual problem.
  
   Any help is greatly appreciated.
   Thanks,
   Stephen
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   [EMAIL PROTECTED]
 
  --
  Anish Mistry

-- 
Anish Mistry


pgpWJQYluwjOc.pgp
Description: PGP signature


Re: Unending compilation of OpenOffice-1.1.2

2005-04-21 Thread Andreas Rudisch
On Fri, 2005-04-22 at 12:42 +0800, Edwin D. Vinas wrote:
 hi,
 
 Is it normal for OpenOffice-1.1.2 to take a very long compilation
 time? I installed using the ports. I actually have consumed almost 24
 hours to compile openoffice in FreeBSD-5.3 and until now it is still
 compiling. I also tried installing the source but when I execute
 seetup, it jst shows the loading programs but doesn't proceed with
 the installtion/setup. Is there anyway to quickly install openoffice
 in FreeBSD-5.3?
 
 -edwin
 

That depends on the speed of your system. But why don't use the latest
stable version 1.1.4 ?

Andreas

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





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


Re: Unending compilation of OpenOffice-1.1.2

2005-04-21 Thread Kris Kennaway
On Fri, Apr 22, 2005 at 12:42:10PM +0800, Edwin D. Vinas wrote:
 hi,
 
 Is it normal for OpenOffice-1.1.2 to take a very long compilation
 time? I installed using the ports. I actually have consumed almost 24
 hours to compile openoffice in FreeBSD-5.3 and until now it is still
 compiling. I also tried installing the source but when I execute
 seetup, it jst shows the loading programs but doesn't proceed with
 the installtion/setup. Is there anyway to quickly install openoffice
 in FreeBSD-5.3?

Use the precompiled package.

Kris


pgpRvkGWK3hg5.pgp
Description: PGP signature


RE: Can't build ports on older FreeBSD machine

2005-04-21 Thread Ted Mittelstaedt
[EMAIL PROTECTED] wrote:
(B On Wed, 20 Apr 2005 17:10:04 -0600
(B Brett Glass [EMAIL PROTECTED] wrote
(B
(B
(B What you are asking for is something you can (sort of) get most of the
(B time from Apple or RedHat. If it's that important for you to be able
(B to keep your hands out of the code, I recommend either one. Just
(B recognize that the cost of the software is part of what's paying the
(B developers to
(B make it easy for you to keep track of what works and what doesn't.
(B
(B And, until you try to keep track of it yourself, so that you
(B understand it ain't nearly as trivial as you keep saying it is, well,
(B you're going to have a hard time selling your point of view here.
(B
(BYou know,
(B
(B  This discussion is a bit silly.  The entire reason for the ports
(Bdirectories
(Band ports manager is to act as a crutch for people.  But there is no
(Breason
(Bthat with any FreeBSD system that you cannot just download the source for
(Bwhatever package you want and build it from the instructions the
(Bdeveloper
(Bwrote.  Ports are not in any way shape or form, a requirement.
(B
(B  When you are building using the ports directories what you end up with
(Bis software that is configured the way the person who wrote the port in
(Bthe beginning thought would be the best way.  That doesen't necessairly
(Bmean that's the best way for YOU.
(B
(BTed
(B
(B
(B___
(Bfreebsd-questions@freebsd.org mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: mplayer/mplayer-plugin question

2005-04-21 Thread jason henson
Gary Kline wrote:
On Wed, Apr 20, 2005 at 10:00:12PM -0400, jason henson wrote:
 

Gary Kline wrote:
   

What post-installation stuff do I have to do to get
mplayer-plugin to work with mozilla / firefox?
(Also, is there a way of getting this windows-player-clone
to work with links?)
	Here is what's happening:  I have everything installed;
	checking about plugings: tells me that everything is
	there.  But when I try to listen to anything windows, 
	the stream seems to load, but there is nosound.  There 
	are no controls.  A right-mouse click brings up a small
	window.  play is not checked and clicking on any of the 
	options does no good.  If I click on the full-screen
	option, a small window (entirely black) is displayed.

	I am using ctwm, not gnome or anything with gnome hooks.
	Do I have to use gnome or kde to get the mplayer suite to
	work?  I've poked around and don't see anything very 
	helpful on this port.  Any mplayer wizards out there???

gary


 

do you have the win32-codecs port installed?  If not install that then 
recompile mplayer and the plugin.
   

It's in my pkg/db; but where is the file/path-to?
 

Is it up to date?
You mean the port?
/usr/ports/multimedia/win32-codecs
You mean the install location?
/usr/local/lib/win32/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]