RE: Bge Kernel Compile Issues

2006-04-11 Thread Kris Anderson


--- Wil Hatfield [EMAIL PROTECTED] wrote:

   Check your RAM lately? Kernel and world compiles
 usually make RAM issues
   evident.
 
 RAM checked out fine.
 
  /usr/src/sys/dev/bge/if_bge.c
  /usr/src/sys/dev/bge/if_bge.c: In function
 `bge_newbuf_jumbo':
  /usr/src/sys/sys/mbuf.h:513: warning: 'zone' might
 be used
  uninitialized in
  this function
 
 The problems with GENERIC build, the BGE 'zone'
 issue, and half a dozen
 other similar uninitialized variable errors were all
 caused by this:
 
 options RESTARTABLE_PANICS
 
 Turning it off made it all build just fine on
 multiple machines. Always
 something right in front of your face isn't it?
 
 Now my question is with the RESTARTABLE_PANICS
 turned off are my machines
 going to hang at kernel panics? What is the deal
 with that? Still waiting
 for an answer on that one.
 
 --
 Wil Hatfield
Hey there,
Not sure what Freebsd you're trying to build but
here's a report found two years ago:
http://lists.freebsd.org/pipermail/freebsd-bugs/2004-September/009307.html

Did a google search and that option appears to allow
the kernel to return from a panic.

Looks like a few users over the years have complained
about the RESTARTABLE_PANICS being broken. Might still
be.

Hope that helps.

~Mr. Anderson

__
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: Timescale for 6.1-RELEASE...

2006-04-11 Thread Erik Norgaard
martinko wrote:

 i'm afraid todo page is not updated very often. at least this was the
 case when i was watching it during previous releases. so one was/is left
 to search through mailing lists for occasional background info.. :-(
 
 btw, there used to be a great site publishing summaries of current
 development -- http://www.xl0.org/FreeBSD/ -- it's been dead for more
 than 1 yr though :(

According to the last schedule the tree has been tagged, you can cvsup
RELENG_6_1, changes may still be committed depending on the experiences
of RC1 and RC2.

  http://www.freebsd.org/releases/6.1R/schedule.html

Erik

-- 
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DVD-Slideshow

2006-04-11 Thread usleepless
Chris,

congratulations on you wedding, i hope the best for the two of you.

read back the thread yourself: you will need the dvd-slideshow from ports +
 - patch for the wc --lines ( or wc --chars, i can't remember ). these
are 1 of 2 instances in the script.
 - back in this thread i have given multiple solutions for a
replacement seq. this is the key to proper fading.

maybe it is easier afterall to run the script in linux-compat mode:
you will need no patches at all. i for one do not know how to
accomplish this easy however ( never had the need ). oh (w/h)ell,
you'll just need to start it from a linux-shell i assume.

good luck, and please try to notify the portmaintainer about the
problem and solution. i am off on a mini-break myself, so you are on
your own now.

regards,

usleep


On 4/11/06, Chris Maness [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] wrote:
  Chris,
 
 
  or you could symlink to: ( if you have linux compat enabled )
 
  /usr/compat/linux/usr/bin/seq
 
 
 
  will you let me know if this helped you?
 
  will you relay the seq-patches to the portmaintainer?
 
  regards,
 
  usleep
 
 
 I am back from my honeymoon (lots of pics to try out with the script).

 What version did you want me to try?  Did you have 1.7.5 patched for
 wc?  I could try that.

 Thanks
 Chris Maness

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


Re: [freebsd-questions] ndis setup

2006-04-11 Thread Fabian Keil
hernan [EMAIL PROTECTED] wrote:

[Quoting adjusted, please don't top post.]

 On 4/9/06, Fabian Keil [EMAIL PROTECTED] wrote:
  hernan [EMAIL PROTECTED] wrote:
 
   Hey folks.  I'm setting up FreeBSD 6.0-RELEASE and I'm having a
   little trouble getting my wireless NIC recognized.  The card is a
   Linksys WMP64G and I'm trying to set things up to run with the
   FreeBSD NDISulator as described in the FreeBSD handbook
   (http://www.freebsd.org/doc/handbook/network-wireless.html).
 
  This chapter is outdated.
 
   Here's what I'm doing (as root):
  
   1) Verifying with 'pciconf -lv' that the PCI card is there.
   Also, I know the card works, it was running fine on Windows.
  
   2) Building ndis itself:
 
   3) Building the if_ndis module:
 
   4) Loading the ndis and if_ndis modules:
 kldload ndis
 I verify at this point using kldstat that both ndis and if_ndis
   are in fact loaded.
  
   I see nothing in dmesg or in my console during the kldload.
   Also, it doesn't appear that the driver found the card, there's
   no signs of life.  I've tried using ndisgen, and have had the
   same results (with much less typing).  In either case, I get
   nothing in dmesg and no usable enabled NIC.
 
  After you run ndisgen you should have a third kernel module with
  a name similar to the name of your sys file. If you load
  this module you should at least get an error message.

 Thanks Fabian, that helped me move forward.  My next question is how
 to interpret the segfault I get when loading the new kernel module I
 created with ndisgen.  The error happens when I do the 'kldload' on
 the new module, my machine dies and reboots.
 
 Does this mean I'm out of luck with using NDIsulator?  Let me know if
 you have any hints.

My hint is to post slightly more information.

While I probably won't be able to help any further, there a lot of
knowledgeable people on this list who could help if they had a better
description of your problem. 

You could start with:

- the relevant output of pciconf -lv
- which .inf and .sys file you used
- an exact description what you did to get to the reboot
- why you are sure it was caused by a segfault 

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Toggling port dependencies

2006-04-11 Thread Erik Norgaard
Hi:

Some ports exists in multiple versions such as OpenLDAP, the most recent
and recommended is 2.3, but some other ports depends on another version
for example jabberd that requires 2.2. Some ports will let you choose
which version to compile against but jabberd don't.

How to I make a port compile against the installed version or a version
of my choice?

I know that it may fail, but I'd like to try.

Thanks, Erik

-- 
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SIGCHLD and sockets HELP!

2006-04-11 Thread Alex Zbyslaw

Keith Bottner wrote:


I am having a problem with SIGCHLD signals and their interaction with
sockets.

I have an application that forks modules in separate processes and use UNIX
domain sockets for communication. The main application handles the SIGCHLD
signal so that it can detect when/if a module crashes and if so restart that
specific module. The problem arises when the module crashes and before the
main application is notified with the SIGCHLD signal the socket will
continue to allow writes. I expected that there would be occasions when the
SIGCHLD signal would occur after my attempt to write into the socket, but I
also expected the socket to return an error at which point I could then mark
the module for restart as well.

My question is, has anybody else had this problem? Does anybody know exactly
what is going on an why? And most importantly, does anybody have a solution?

Thanks in advance for your time, it is quite an interesting problem so I am
hoping to get some insightful answers.
 

No-one is chiming in so maybe it would help if you posted a code 
fragment that shows the write to the socket which you expect to fail, 
but which doesn't seem to.


--Alex






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


Re: Timescale for 6.1-RELEASE...

2006-04-11 Thread Nikolas Britton
On 3/30/06, Harrison Peter CSA BIRKENHEAD [EMAIL PROTECTED] wrote:
 I realise the answer to this question is when it's ready, but does anyone 
 have a rough idea how close to being ready 6.1 is?


The 6.1 branch was cut on the 5th, this means you can cvsup to
RELENG_6_1 branch and rebuild world to 6.1-RC. As for the release date
of the official 6.1-RC1 builds... It should have happened yesterday,
so expect it any time this week. 6.1-RELEASE should be released at the
end of this month or the beginning of next month If you look at
the schedule everything has been shifted out 1 month.

If you want my opinion on 6.1, it's ready right now, I've been running
a production server on 6.1 since BETA2, my main workstation at work
since BETA4 and my main workstation at home has been running 6.1 since
before BETA1 (tracking 6-STABLE). I've had no problems and feel that
It's far superior to FreeBSD 5.x, It's also alot faster then 5.x. The
more tester we have for the 6.1 release candidate runs the better
6.1-RELEASE will be!
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/index.html


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


RE: Timescale for 6.1-RELEASE...

2006-04-11 Thread Harrison Peter CSA BIRKENHEAD
Thanks for the reply Nikolas - that's helpful. I ended up upgrading my laptop 
to 6.1-PRERELEASE (from 6.0-RELEASE) anyway, and haven't had any problems 
since. After your feedback I'll probably do the desktop shortly.

The only thing that's holding me back from moving my home server from 
5.3-RELEASE is that I've successfully got ndis working on it using the 'old' 
ndiscvt method and I'm a little reluctant to risk not being able to replicate 
my success with ndisgen under 6.x

Thanks again,


Peter Harrison 




-Original Message-
From: Nikolas Britton [mailto:[EMAIL PROTECTED]
Sent: 11 April 2006 12:06
To: Harrison Peter CSA BIRKENHEAD
Cc: freebsd-questions@freebsd.org
Subject: Re: Timescale for 6.1-RELEASE...


On 3/30/06, Harrison Peter CSA BIRKENHEAD 
[EMAIL PROTECTED] wrote:
 I realise the answer to this question is when it's ready, 
but does anyone have a rough idea how close to being ready 6.1 is?


The 6.1 branch was cut on the 5th, this means you can cvsup to
RELENG_6_1 branch and rebuild world to 6.1-RC. As for the release date
of the official 6.1-RC1 builds... It should have happened yesterday,
so expect it any time this week. 6.1-RELEASE should be released at the
end of this month or the beginning of next month If you look at
the schedule everything has been shifted out 1 month.

If you want my opinion on 6.1, it's ready right now, I've been running
a production server on 6.1 since BETA2, my main workstation at work
since BETA4 and my main workstation at home has been running 6.1 since
before BETA1 (tracking 6-STABLE). I've had no problems and feel that
It's far superior to FreeBSD 5.x, It's also alot faster then 5.x. The
more tester we have for the 6.1 release candidate runs the better
6.1-RELEASE will be!
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributin
g/index.html


--
BSD Podcasts @ http://bsdtalk.blogspot.com/

PLEASE NOTE: THE ABOVE MESSAGE WAS RECEIVED FROM THE INTERNET.
 
On entering the GSi, this email was scanned for viruses by the Government 
Secure Intranet (GSi) virus scanning service supplied exclusively by Cable  
Wireless in partnership with MessageLabs.
 
In case of problems, please call your organisational IT helpdesk.

**
This document is strictly confidential and is intended only for use by the 
addressee. 
If you are not the intended recipient, any disclosure, copying, distribution or 
other 
action taken in reliance of the information contained in this e-mail is 
strictly prohibited.
Any views expressed by the sender of this message are not necessarily those of 
the Department 
for Work and Pensions.
If you have received this transmission in error, please use the reply function 
to tell us 
and then permanently delete what you have received.
Please note: Incoming and outgoing e-mail messages are routinely monitored for 
compliance 
with our policy on the use of electronic communications.
**


The original of this email was scanned for viruses by the Government Secure 
Intranet (GSi) virus scanning service supplied exclusively by Cable  Wireless 
in partnership with MessageLabs.

On leaving the GSi this email was certified virus-free.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Toggling port dependencies

2006-04-11 Thread RW
On Tuesday 11 April 2006 11:39, Erik Norgaard wrote:
 Hi:

 Some ports exists in multiple versions such as OpenLDAP, the most recent
 and recommended is 2.3, but some other ports depends on another version
 for example jabberd that requires 2.2. Some ports will let you choose
 which version to compile against but jabberd don't.

 How to I make a port compile against the installed version or a version
 of my choice?

 I know that it may fail, but I'd like to try.


You could try  setting USE_OPENLDAP_VER=23 for the port.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


upcoming release 6.1: old version of some core components

2006-04-11 Thread [EMAIL PROTECTED]@mgEDV.net

hi together,

during testing the 6.1-BETA4 i found only one major thing
i really like to discuss on the list for my understanding.

why are some major parts of the os are not updated to the
current versions (see examples beyond)? code-improvements
and security-/functionality-fixes come to my mind here.

examples given:
zlib (v1.2.2, 10/2004; current 1.2.3, 07/2005)
openssl (v0.9.7e, 10/2004; current 0.9.7i, 10/2005)
openssh (v4.2p1, 01/2005, current 4.3p2 02/2006)

for openssh, the code-freeze of freebsd was before the
release of 4.3, this makes sense, but what about the rest?

br  cu...

ps: just reply 2 the list please...

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


Re: upcoming release 6.1: old version of some core components

2006-04-11 Thread Bill Moran
On Tue, 11 Apr 2006 14:55:06 +0200
[EMAIL PROTECTED]@mgEDV.net [EMAIL PROTECTED] wrote:
 
 hi together,
 
 during testing the 6.1-BETA4 i found only one major thing
 i really like to discuss on the list for my understanding.
 
 why are some major parts of the os are not updated to the
 current versions (see examples beyond)? code-improvements
 and security-/functionality-fixes come to my mind here.
 
 examples given:
 zlib (v1.2.2, 10/2004; current 1.2.3, 07/2005)
 openssl (v0.9.7e, 10/2004; current 0.9.7i, 10/2005)
 openssh (v4.2p1, 01/2005, current 4.3p2 02/2006)
 
 for openssh, the code-freeze of freebsd was before the
 release of 4.3, this makes sense, but what about the rest?

While you'd have to contact the maintainers of the specific packages,
I assume that you mostly answered your own question.

There are limited resources to develop FreeBSD, and a large number of
contributed packages that have to be maintained.  Each time a contrib
is updated, it must be thoroughly tested before being merged into a
production release.  This takes man hours.

Do you know of any specific security issues that have not been addressed
relating to these packages?  If so, you should contact the security
officer directly to get the issues on the top of the priority list.
If it's just feature improvements, then it will be a matter of who has
enough time and motivation to get the new versions imported.  OpenSSL
is a non-trivial part of FreeBSD, so upgrading is not something to be
taken lightly.

Regardless, it would be worthwhile for you to see if there is an
outstanding PR and file one if there isn't.  Sometimes developers get
so busy that they don't notice that software is getting old.

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


Re: upcoming release 6.1: old version of some core components

2006-04-11 Thread Alex Zbyslaw

[EMAIL PROTECTED]@mgEDV.net wrote:


during testing the 6.1-BETA4 i found only one major thing
i really like to discuss on the list for my understanding.

why are some major parts of the os are not updated to the
current versions (see examples beyond)? code-improvements
and security-/functionality-fixes come to my mind here.

examples given:
zlib (v1.2.2, 10/2004; current 1.2.3, 07/2005)
openssl (v0.9.7e, 10/2004; current 0.9.7i, 10/2005)
openssh (v4.2p1, 01/2005, current 4.3p2 02/2006)

for openssh, the code-freeze of freebsd was before the
release of 4.3, this makes sense, but what about the rest?

 

I can't answer you main question, but I would say that you can bet your 
shirt on the fact that there will be no known security issues in the 
older packages.


At least for openssl and openssh you can get latest versions through the 
ports.  Not an option for everything -- I see no zlib for example and I 
don't believe there's a standard cvs port either.


--Alex


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


ClamAV question

2006-04-11 Thread Darryl Hoar
Greetings,
I am running Freebsd 6-release.  I have been following the
qmailrocks.org document for setting up qmail, squirrel,
spamassasssin  clamav ( misc) on Freebsd.

Everything has gone fine, but I am having a small problem.
When I run the test_installation.sh -doit which sends a regular email, a
spam email  2 virus emails (safe of course) , ClamAV places the
messages in the quarantine directory, but never delevers the warning
message to the intended recepient notifying them of the email being
quarantines.  From my reading, that is what is suppose to happen.

I have googled, I have posted to the forums at qmailrocks.org, I have
IRC'd on the clamav channel with no help.

Any ideas ?

thanks,
Darryl

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


Re: Need /bin/sh script help

2006-04-11 Thread RW
On Tuesday 11 April 2006 06:30, Garrett Cooper wrote:

 cd /usr/src;
 if [ -n `grep -e s/KERNCONF=/ /etc/make.conf` ] # want to look for
 KERNCONF in /etc/make.conf

if [ `make -V KERNCONF`  ]

 read KERNCONF;
 KC=KERNCONF=$KERNCONF;
 fi

You need to check that KC actually exists. IIRC a typo will cause GENERIC to 
build.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Wanted: Flash player for browser_of_choice....

2006-04-11 Thread Eric Schuele

[Hoping this isn't too OT for the list]

So... now that www/linux-flashplugin* are gone,  I was hoping to get 
opinions on which alternative flashplayer(s) are reasonably good.  I use 
firefox and would prefer a plugin for it... but am generally interested 
in the state of any flash player.  I know there are a handful in ports, 
just wanted some opinions.


Could anyone please offer their opinion on
 - which alternative they are using
 - why
 - comment(s) on installation ease (or lack thereof)
 - is it a standalone or plugin

Thanks.

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


Re: Toggling port dependencies

2006-04-11 Thread RW
On Tuesday 11 April 2006 13:25, RW wrote:

 You could try  setting USE_OPENLDAP_VER=23 for the port.

Actually, I see it conflict with 2.2, so it must be set globally.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hosed my MBR?

2006-04-11 Thread Jerry McAllister
 
 Hello,
 
 I'm in a bit of a mess here.  I've got an Asus P4C800-E Deluxe
 motherboard with two on-board SATA RAID controllers, an Intel MatrixRAID
 (ICH5R) and Promise Fasttrak (PDC20378).  My BIOS allows me to boot
 from either the Promise or the Intel controller.
 
 The PDC20378 runs two drives in a RAID0 configuration booting FreeBSD
 6.0-STABLE.  The entire drive (ar0) is dedicated to FreeBSD and I have
 the boot-manager installed.   The ICH5R also runs two drives in a
 RAID0 for Windows XP.  I allocated roughly 25% of the drive (ar1) to
 Windows NTFS (ar1s1) and left the remaining disk open. 
 
 Now that 6.x supports the ICH5R I decided to use the leftover disk (ar1)
 for a FreeBSD slice.  I used sysinstall's fdisk to create the slice in
 the unused portion of the disk.  I successfully committed the changes.  I
 then used # newfs /dev/ar1s2 to create a file-system and it went fine.
 
 The problem is, now, when I attempt to boot off the Intel controller, I
 get a FreeBSD boot load failure:

 ---
 
 Invalid Partition
 Invalid Partition
 
 No /boot/loader
 
 FreeBSD/i386 boot
 Default: 0:ad(0,a)/boot/kernel/kernel
 boot:
 
 Invalid partition
 No /boot/kernel/kernel
 
 FreeBSD/i386 boot
 Default: 0:ad(0,a)/boot/kernel/kernel
 boot:
 
 ---
 
 So it would seem I hosed my MBR.  The question is, how did I do it and
 how do I fix it?  I would think that when I choose to leave the MBR
 untouched in sysinstall, that it would do just that.  
 
 I cannot use the old DOS boot floppy trick of:  fdisk /MBR as DOS will
 not recognize my Intel controller.  Windows installation media is
 equally clueless.  I want to be very careful here so as not to render my
 entire system useless.  A thought occurred to me that I might be able to
 get a MBR from another Windows box 
 
freesbie# dd if=/dev/ad0 of=/mnt/nfs/tmp/XP.mbr bs=512 count=79
hosedbox# dd if=/mnt/nfs/tmp/XP.mbr of=/dev/ar1 bs=512 count=79
 
 and write that over my bad MBR.  Does that make sense?  Is there a
 better way?

Well, the install CD is also the fixit CD.  You can try booting from
it and choosing the shell and then trying to run the fdisk from that
environment to replace the MBR.  

I have done that for people who have hosed their MBR on machines with 
Ghost - even their XP only, no FreeBSD, systems, using the FreeBSD fixit, 
I ran fdisk and replaced the MBR with the FreeBSD MBR and it worked just fine.

Now, if that is not really the problem, of course that won't fix
anything.  But it shouldn't hurt either.   And you could really mess things
up with the dd.

Good luck,

jerry
 
 
 -- 
 Regards,
 Doug
 ___
 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: [freebsd-questions] ndis setup

2006-04-11 Thread hernan
On 4/11/06, Fabian Keil [EMAIL PROTECTED] wrote:
 My hint is to post slightly more information.
snip
 Fabian

Thanks again.  I figured this out, and am posting to help others who
might want to use this card (Linksys WMP54G).  Keep in mind that I'm
new to FreeBSD (using 6 RELEASE):

1) I was initially trying to use NDIsulator the way the manual says,
by manually running cvtndis.  During that trial and error process, I
ended up with a configuration that was missing if_config.ko.  To get
back to a good starting point I did decided to rebuild both ndis and
if_ndis.

cd /sys/modules/ndis; make; make install;
cd /sys/modules/if_ndis; make; make install;

At this point, I was able to simply load the ndis module.  if_ndis was
automatically loaded as I verified using kldload (lots of the examples
I found show separate load commands for each).

2) I ran through the new way of building the module to wrap my
Linksys driver, using ndisgen.  I had only three files on my CD:
Rt61.INF, rt61.sys, rt61.cat.  I ignored the cat file, convinced after
some googling that it was not a binary the driver needed at runtime.

3) During the load of this third kernel module, I kept getting an error:
  failed to load /compat/ndis/rt2561s.bin
I searched my driver cd for this file and it was not there.  Finally,
I Googled it and after a while found myself looking at the ralink
support page:
http://www.ralinktech.com/supp-1.htm

Under firmware, they have a link to a zip file with the magical
rt2561s.bin file.  I burned this onto a cd (the only way I had to get
files onto my new BSD system), and placed it in /compat/ndis.

One more kernel reload... and things now work fine.

Hopefully these instructions will help others who wish to use the very
popular Linksys WMP54G card on BSD 6.

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


Re: newfs fails on 300GB HDD

2006-04-11 Thread Lowell Gilbert
Justin P. Michel [EMAIL PROTECTED] writes:

 I'm having a slight problem with a 300GB IDE (Maxtor) HDD.  Basically, I've
 run the drive on the system through a complete low-level format and test
 with the PowerMAX tools, which passed fine.  The BIOS recognizes and
 auto-detects the drive okay as well.
 
 However, in trying to install FreeBSD 6.0, it goes through the partition
 section okay, and then the slice section okay (trying to use a full slice on
 the drive as /dumpdata), the mount fails, and on the alternate screen it
 shows newfs failing.
 
 Is there a special way to get this drive to work?  Does someone have
 experience with a similar setup that may shed some light my way?  I feel
 like a beginner all over again. : P

It sounds like you're trying to use this disk for backup
space.  Since you're not installing the system to it, I
would suggest not using sysinstall for this; try the
technique in the FAQ instead.  It is not quite as simple,
but will give you more information about what's happening.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IBM xSeries 226 Help needed

2006-04-11 Thread Webster, Andrew
Hi,
 
I'm having problems with an IBM xSeries 226 system.  It has a SATA disk in it, 
and when booting with FreeBSD 6.0-RELEASE, it does not detect any drives.
If I boot in safe mode, however it can see the disk just fine as ad4 and I 
can install the OS on it.
I tried turning on/off ACPI but that didn't help either.
 
Why does it work okay in safe mode but not normal mode?
 
Verbose booting in normal mode says this about the ATA controllers, so I'm 
assuming it is actually seeing the CDROM and the disk:
ata0: reset tp2 stat0=00 stat1=00 devices=0x4ATAPI_MASTER
ata1: reset tp2 stat0=01 stat1=01 devices=0x0
ata2: reset tp2 stat0=50 stat1=00 devices=0x1ATAPI_MASTER
ata3: reset tp2 stat0=ff stat1=00 devices=0x0
ata0 and ata2 are reinitted a couple more times, then it can't find any 
filesystems to mount.
 
---
Andrew
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


lost root password on a raid-1 geom mirror

2006-04-11 Thread Petre Bandac
the classic schema with unload all/load kernel/boot -s and mounting /
read-write doesn't work

any ideas, please ?

thanks,

petre

-- 

Petre Bandac

Network Scientist

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


I can't use any locale except C under c++

2006-04-11 Thread snnn
I think that's because FreeBSD is building gcc with 
--enable-clocale=generic and the generic code for _S_create_c_locale is 
as such:

 void
 locale::facet::_S_create_c_locale(__c_locale __cloc, const char* __s,
   __c_locale)
 {
   // Currently, the generic model only supports the C locale.
   // See http://gcc.gnu.org/ml/libstdc++/2003-02/msg00345.html
   __cloc = NULL;
   if (strcmp(__s, C))
 __throw_runtime_error(__N(locale::facet::_S_create_c_locale 
   name not valid));
 }

So even if the simplest (e.g. the following one) code will always catch 
a failure.

 try{
   std::locale::global(std::locale());
 }
 catch(std::runtime_error ex){
   //fail...
   std::locale::global(std::locale(C));
 }

Indeed,std::locale() will return the default locale setting of native 
environment(similar as setlocale() ),but now it may always throw an 
error of name not valid.It's badly.


what should I do?
install another gcc from ports?






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


Re: newfs fails on 300GB HDD

2006-04-11 Thread Jerry McAllister

Justin P. Michel [EMAIL PROTECTED] writes:

 I'm having a slight problem with a 300GB IDE (Maxtor) HDD.  Basically, I've
 run the drive on the system through a complete low-level format and test
 with the PowerMAX tools, which passed fine.  The BIOS recognizes and
 auto-detects the drive okay as well.
 
 However, in trying to install FreeBSD 6.0, it goes through the partition
 section okay, and then the slice section okay (trying to use a full slice on
 the drive as /dumpdata), the mount fails, and on the alternate screen it
 shows newfs failing.
 
 Is there a special way to get this drive to work?  Does someone have
 experience with a similar setup that may shed some light my way?  I feel
 like a beginner all over again. : P

Presuming it is a brand new disk and is addressed as the second one (eg ad1), 
From root (su-ed to root) try this:

 dd if=/dev/zero of=/dev/ad1 bs=512 count=64

 fdisk -BI ad1

 bsdlabel -w -B ad1s1

 bsdlabel -e ad1s1

If you do not want it bootable, then skip the -B switches.

When you do the  bsdlabel -e it will put you in an editor session
with the base settings in the file.   Modify it slightly as follows.
Make the top line look something like:

  a: * *4.2BSD 2048 1638494   # (Cyl.0 - 32*)

The '94' may be different.  If it suggests something else, then take that.

Then write/quit from the editor and it will write the label.

Then do the newfs:
newfs -U /dev/rad1s1a

If newfs gets an error, write it down specifically.

If no error, try mounting:
mount /dev/ad1s1a /dumpdata

Presumably you have made the directory /dumpdata?That may seem
to simple to mention, but I have made that mistake more than once
and went nuts wondering why things (in a script) didn't work.

Good luck,

jerry

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


Solved (I hope): Toggling port dependencies

2006-04-11 Thread Erik Norgaard
RW wrote:
 On Tuesday 11 April 2006 13:25, RW wrote:
 
 You could try  setting USE_OPENLDAP_VER=23 for the port.
 
 Actually, I see it conflict with 2.2, so it must be set globally.

Yes, OpenLDAP 2.3 conflicts with 2.2, but jabberd by default assumes 2.2
so the build fails. Then rather than downgrading OpenLDAP since 2.3 is
the recommended I'd prefer to force jabberd to build against 2.3.

I've seen many ports doing this, for example squid. Some announces how
to select a particular version. I don't know if your hint work with all
ports.

I tried your advice and things compiled and installed without any
problems - now the question is if it works ...

Thanks, Erik
-- 
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hosed my MBR?

2006-04-11 Thread Doug Poland
On Tue, April 11, 2006 09:08, Jerry McAllister wrote:

 I'm in a bit of a mess here.  I've got an Asus P4C800-E Deluxe
 motherboard with two on-board SATA RAID controllers, an Intel
 MatrixRAID (ICH5R) and Promise Fasttrak (PDC20378).  My BIOS allows
 me to boot from either the Promise or the Intel controller.


 Well, the install CD is also the fixit CD.  You can try booting from
 it and choosing the shell and then trying to run the fdisk from that
 environment to replace the MBR.

 I have done that for people who have hosed their MBR on machines with
 Ghost - even their XP only, no FreeBSD, systems, using the FreeBSD
 fixit, I ran fdisk and replaced the MBR with the FreeBSD MBR and it
 worked just fine.

Hi Jerry,

I think the root of my confusion here is the fact that I have two RAID
controllers and can boot off either controller.

Does that mean I have two MBR's, one for each controller?  If that's
the case and I boot off a CD-ROM, which MBR am I fixing?


-- 
Regards,
Doug

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


RE: IBM xSeries 226 Help needed

2006-04-11 Thread Webster, Andrew

Hey, that worked!
So what gives?  Is this a hardware specific issue with this machine?

--
Andrew 


 -Original Message-
 From: Norberto Meijome [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 11:25
 To: Webster, Andrew
 Cc: freebsd-questions@freebsd.org
 Subject: Re: IBM xSeries 226 Help needed
 
 On Tue, 11 Apr 2006 10:24:26 -0400
 Webster, Andrew [EMAIL PROTECTED] wrote:
 
  If I boot in safe mode, however it can see the disk just fine as
  ad4 and I can install the OS on it.
 
 try disabling apic?

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


RE: upcoming release 6.1: old version of some core components

2006-04-11 Thread [EMAIL PROTECTED]@mgEDV.net
 
 I can't answer you main question, but I would say that you can bet your 
shirt on the fact that there will be no known security issues in the 
 older packages.

 At least for openssl and openssh you can get latest versions through the 
 ports.  Not an option for everything -- I see no zlib for example and I 
 don't believe there's a standard cvs port either.

as for zlib i definitely know, that there are 2 security flaws, which can
lead to problems when invalid compressed data is feeded.

my problem also is not the installation of ports/packages/custom compiles,
it's more that the operating system components itself are linked against
these older libraries an therefore will contain bugs, which may have been
already solved.
i definitely don't want to install openssl twice on the same host, as this
make's no sense for me. if the os operates with the old version, security
is at that level at all, regardless of one or another userland-daemon having
a newer version being linked to.

whatever, i will use freebsd anyways, regardless of my main question getting
answered or not ;-)

br  cu...

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


Re: OT - Scalable email server solution needed

2006-04-11 Thread Duane Whitty

Duane Whitty wrote:

Hi,

My appologies in advance for the OT post.
This probably more appropriately belongs on ISP@ but
there doesn't seem to be much traffic there.

To the point:  I'm about to provide hosting services,
including but not limited to email, to a few local
business.  Right now I have Sendmail configured
and I was about to install Courier-IMAP.  My
concern is future scalability.  I'm not sure sendmail
is the right back-end MTA.  Right now Sendmail
and Procmail will work fine I believe with the addition
of an IMAP server.  But what about later on?

I was looking at DBmail but I'm not sure just how
much activity that project has so I'm a little leary,
but perhaps that's unjustified?  So now
I'm considering Exim or POSFIX.  The Sun Java
Communications Server looks appealing but unless
I misunderstood I don't have anywhere near the
bankroll for that yet and it doesn't look like a good
fit for a start-up operation anyhow.

I like that POPular port and the way it uses proxies etc.,
but it doesn't seem to support IMAP.

Is there anyone on the list who might be serving many
business customers each with many users who would
be willing to share their insights or opinions on this?

From my past experiences, transitioning from a low volume
solution to a high volume solution, regardless of the application
domain, is usually best solved by making the right choice in
the beginning.  It would seem like an important marketing
tool as well.

If I am way of base here or missing something really
important I'd appreciate the heads-up.

Thanks in advance for any help.

Sincerely,

Duane

Hi,

I would like to say thank you to everyone who has replied
to my query, both on and off this list.  Your input is much
appreciated.

I've read everyones answers and I have found them very
educational and helpful.

I have learned two things as a result of the help people have
offered.  First, everyone has their favourite mail solution, and
secondly, I am not in a position to decide which email system
is best for me at this time because I have not yet educated
with regards to the issues.

I believe that before I move away from the base email system
provided with FreeBSD, and the support and maintenance
attention it receives as part of the base system, I should
learn more about it.  I also need to learn more about it before
I agree to support an email solution for other people.  For this
reason I have decided to use an external provider, for the short
term, to meet the needs of those who have approached me for
hosting services.

I am basically taking my own advice.  In an earlier post on a
different thread I advised that people need to learn the tools
they are using before they can make conclusions about those
tools shortcomings.  If I can't make educated conclusions for
myself regarding Sendmail's strengths and shortcomings then
how can I reasonably expect to evaluate its replacement?  I
don't believe I can.  So I must learn the details of SMTP,
IMAP, Sendmail, mailfilters, and any other tools I will need
to use.  Then after using these tools for a while I will be in a
better position to evaluate them.


Right now I have a working installation of Sendmail that seems
reasonably secure.  It uses the DNS and after several tests it
appears to be closed to relaying.  I feel somewhat confident
about my DNS: it uses internal and external views, it doesn't
leak any internal information, it only does recursion for clients
on my private net, it only allows zone transfers to my authorized
secondary, and my secondary is geographically removed (somewhat).

With this foundation behind me I have started to do some more
reading.  I have read, from start to finish, RFCs 4234 (ABNF),
2821 (SMTP), 2822 (Internet Message Format), and 2476
(Message Submission).  I am currently reading the Bat Book
and the Sendmail Cookbook.

From the start I will be heeding the advice of several posters who
recommended using maildir format.  To implement that I will be
using Procmail, at least to start, as soon as I learn a little more
about Sendmail.

I hope no one feels I have wasted their time and I would truly
appreciate further comments that you believe might aid me on
my path.

Sincerely,

Duane Whitty
--
[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: upcoming release 6.1: old version of some core components

2006-04-11 Thread Alex Zbyslaw

[EMAIL PROTECTED]@mgEDV.net wrote:



 

I can't answer you main question, but I would say that you can bet your 
shirt on the fact that there will be no known security issues in the 
older packages.
   



 

At least for openssl and openssh you can get latest versions through the 
ports.  Not an option for everything -- I see no zlib for example and I 
don't believe there's a standard cvs port either.
   



as for zlib i definitely know, that there are 2 security flaws, which can
lead to problems when invalid compressed data is feeded.
 

If you believe that's the case then tell the security officer.  My bet 
is that the version with FreeBSD 6 is patched, but you shouldn't take my 
word for it. http://www.freebsd.org/security/
You'll notice there that there were zlib patches to 5.X series before 
6.0 had even been released.  So those patches would already be in 6.0 
and now 6.1, unless someone goofed badly.



my problem also is not the installation of ports/packages/custom compiles,
it's more that the operating system components itself are linked against
these older libraries an therefore will contain bugs, which may have been
already solved.
i definitely don't want to install openssl twice on the same host, as this
make's no sense for me. if the os operates with the old version, security
is at that level at all, regardless of one or another userland-daemon having
a newer version being linked to.
 

When you install openssh or openssl from the ports you can choose to 
*replace* the current FreeBSD libs etc.  There are many threads that 
have dealt with this in the past.


However, I will say again, FreeBSD has a CVS security branch for a 
reason - because security bugs get fixed on it.  The older versions may 
lack *features* but I myself am confident that they do not have known bugs.


--Alex


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


Re: upcoming release 6.1: old version of some core components

2006-04-11 Thread Dan Nelson
In the last episode (Apr 11), [EMAIL PROTECTED]@mgEDV.net said:
  I can't answer you main question, but I would say that you can bet your 
 shirt on the fact that there will be no known security issues in the 
  older packages.
 
  At least for openssl and openssh you can get latest versions through the 
  ports.  Not an option for everything -- I see no zlib for example and I 
  don't believe there's a standard cvs port either.
 
 as for zlib i definitely know, that there are 2 security flaws, which
 can lead to problems when invalid compressed data is feeded.

You sure about that?  Patches for both FreeBSD-SA-05:16.zlib and
FreeBSD-SA-05:18.zlib were applied to 5.* and 6.* branches as soon as
they were announced.  Just because it says 1.2.2 doesn't mean all
files are unmodified from the released version.  I'd expect the same
goes for openssh and openssl.  Upgrading zlib on a stable branch is
probably fine, but I'd expect that newer openssh/openssl's will have
ABI or config file changes that would make upgrading them a pain.  Much
easier to import new versions to HEAD and back-port only the security
fixes.
 
-- 
Dan Nelson
[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: Faking multiple physical adapters for DHCPDISCOVER

2006-04-11 Thread Chuck Swiger

Terrence Koeman wrote:
[ ... ]

I need to 'clone' the xl1 adapter to appear as three adapters, each with a
distinct MAC address. This because my provider has assigned me three
semi-static addresses of which I want to use 1 for outbound NAT-traffic and
two for static NAT.

These addresses are semi-static because they are basically MAC-based
reservations on the providers DHCP server, and it happens to be that I'm
required to aquire a DHCP lease for all three addresses for routing to work
properly. If I configure the addresses statically the connectivity
'disappears' after a while.


The reason why your ISP has configured their system in such a fashion is to 
prevent people from claiming multiple static IPs from a single machine.


If you're not happy with their AUP, use another provider, or pay for a 
dedicated IP allocation of whatever size you need.


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


Re: newbie question on upgrading GCC

2006-04-11 Thread Chuck Swiger

Jim Stapleton wrote:
[ ... ]

When it comes to changing the default compiler a good rule of thumb is
that if you need to ask how to do it, then you should not do it.


That seems to be a general *nix world rule of thumb for just about everything...


The UNIX world is willing to give you a loaded gun, but we try not to 
instruct people on how to shoot their own feet without at least giving them 
a warning that doing so will hurt.  :-)


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


Re: lost root password on a raid-1 geom mirror

2006-04-11 Thread Petre Bandac
On Wed, 12 Apr 2006 01:08:13 +1000 Anno Domini, the honourable Norberto
Meijome wrote using one of his keyboards:

 On Tue, 11 Apr 2006 17:31:12 +0300
 Petre Bandac [EMAIL PROTECTED] wrote:
 
  the classic schema with unload all/load kernel/boot -s and
  mounting / read-write doesn't work
  
 Hi Petre,
 I assume you say it doesnt work because your kernel doesn't have
 gmirror built into it.
 
 have you tried using the install disk - fixit - load the geom_mirror
 module by hand and then mounting the devices? 
 
 or take the disks to another box which has geom_mirror built into and
 modify that way.
 Beto
it happened as follows - fresh install (following the onlamp.com
howto); kernel recompile with all that needs, reboot, test, put the box
aside for 3 weeks (while forgetting root password - stupid, yes), try
to login (and obviously fail)

thanks,

petre

-- 

Petre Bandac

Network Scientist

-
[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: lost root password on a raid-1 geom mirror

2006-04-11 Thread Chad Leigh -- Shire.Net LLC


On Apr 11, 2006, at 10:52 AM, Petre Bandac wrote:

On Wed, 12 Apr 2006 01:08:13 +1000 Anno Domini, the honourable  
Norberto

Meijome wrote using one of his keyboards:


On Tue, 11 Apr 2006 17:31:12 +0300
Petre Bandac [EMAIL PROTECTED] wrote:


the classic schema with unload all/load kernel/boot -s and
mounting / read-write doesn't work


Hi Petre,
I assume you say it doesnt work because your kernel doesn't have
gmirror built into it.

have you tried using the install disk - fixit - load the  
geom_mirror

module by hand and then mounting the devices?

or take the disks to another box which has geom_mirror built into and
modify that way.
Beto

it happened as follows - fresh install (following the onlamp.com
howto); kernel recompile with all that needs, reboot, test, put the  
box

aside for 3 weeks (while forgetting root password - stupid, yes), try
to login (and obviously fail)


When the boot menu comes up, choose single user mode and then set a  
new root password at the shell prompt.


Chad


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Installing FreeBSD-4.11 on Dell PowerEdge 2800

2006-04-11 Thread Odhiambo Washington
Hi,

I just need some pointers towards installing FreeBSD 4.11 on a Dell 
PowerEdge 2800 with 4GB RAM, Dual CPU, with 1TB disk storage on RAID 5.

I have a production system that I am not willing to upgrade beyond 4.11
at all as it is rock solid as it is.;)
Currently it's running on HP ML 350 but I have acquired this Dell which
I'd like to migrate it to.
I have read some posts about PAE in the kernel so as to recognize my 4GB
RAM.

Basically, I have tested the install using a 4.10 CD, but this was meant
to only do a mininal install before I do a few things here and there 
that would make it run as expected. I am fairly conversant with those
aspects.

The problem right now is that it tells me it did not find my disk ;)

I could be missing a few things that are must-know, so pointers, please.


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

What is worth doing is worth the trouble of asking somebody to do.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


make buildword problem/documentation

2006-04-11 Thread Jim Stapleton
First of all, where do I find make buildworld documentation? It's
mantioned a lot, but I can't find it in the handbook. I'm assuming the
process is just make buildworld, make installworld, and that's it,
which will update all the non-ports core software packages on a
machine, but not the kernel itself.

The second part is, when I have this in my make.conf file,
uncommented, make buildworld fails, when it is commented, make
buildworld works fine (when it fails, it complains about not being
able to find/load various header files):
#CFLAGS=-finline-functions -msse -msse2 -msse3 -m3dnow -mfpmath=sse
#CXXFLAGS=-finline-functions -msse -msse2 -msse3 -m3dnow -mfpmath=sse


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


Re: Hosed my MBR?

2006-04-11 Thread Jerry McAllister
 
 On Tue, April 11, 2006 09:08, Jerry McAllister wrote:
 
  I'm in a bit of a mess here.  I've got an Asus P4C800-E Deluxe
  motherboard with two on-board SATA RAID controllers, an Intel
  MatrixRAID (ICH5R) and Promise Fasttrak (PDC20378).  My BIOS allows
  me to boot from either the Promise or the Intel controller.
 
 
  Well, the install CD is also the fixit CD.  You can try booting from
  it and choosing the shell and then trying to run the fdisk from that
  environment to replace the MBR.
 
  I have done that for people who have hosed their MBR on machines with
  Ghost - even their XP only, no FreeBSD, systems, using the FreeBSD
  fixit, I ran fdisk and replaced the MBR with the FreeBSD MBR and it
  worked just fine.
 
 Hi Jerry,
 
 I think the root of my confusion here is the fact that I have two RAID
 controllers and can boot off either controller.
 
 Does that mean I have two MBR's, one for each controller?  If that's
 the case and I boot off a CD-ROM, which MBR am I fixing?

Are both controllers part of the same raid device?   say you have some
disk on one and others on the other and they are all lumped in to the
same raid device?I don't even know if you can do that as I haven't
tried or looked at it.   But, it goes by the address you use in 
the fdisk command.

I don't know if it being raid messes things up or not.   Any time I have 
done anything with raid, I had a separate boot and system device outside 
of the raid.  The raid was lumping together disks to make a larger 
work data storage.

Anyway, there needs to be an MBR on each bootable device as well as the
boot files.   I think that holds true for raid setups as well.  

In addition, the first bootable device that your BIOS sees must have 
an MBR regardless of whether you have 1 or more bootable devices.

In your case, it sounds like you have two raid devices, one on each
controller.   You would have to have an MBR on each and it sounds like 
you think you wiped the one on the INTEL controller.   Figure out what
device name the raid on the INTEL controller comes up as and then write
the MBR to that.

jerry
 
 
 -- 
 Regards,
 Doug
 
 ___
 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: make buildword problem/documentation

2006-04-11 Thread Emil Thelin

On Tue, 11 Apr 2006, Jim Stapleton wrote:


First of all, where do I find make buildworld documentation? It's
mantioned a lot, but I can't find it in the handbook. I'm assuming the
process is just make buildworld, make installworld, and that's it,
which will update all the non-ports core software packages on a
machine, but not the kernel itself.


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

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


Re: make buildword problem/documentation

2006-04-11 Thread Andy Greenwood
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

On 4/11/06, Jim Stapleton [EMAIL PROTECTED] wrote:

 First of all, where do I find make buildworld documentation? It's
 mantioned a lot, but I can't find it in the handbook. I'm assuming the
 process is just make buildworld, make installworld, and that's it,
 which will update all the non-ports core software packages on a
 machine, but not the kernel itself.

 The second part is, when I have this in my make.conf file,
 uncommented, make buildworld fails, when it is commented, make
 buildworld works fine (when it fails, it complains about not being
 able to find/load various header files):
 #CFLAGS=-finline-functions -msse -msse2 -msse3 -m3dnow -mfpmath=sse
 #CXXFLAGS=-finline-functions -msse -msse2 -msse3 -m3dnow -mfpmath=sse


 thanks,
 -Jim Stapleton
 ___
 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]


Native Opera Spell checker not functioning

2006-04-11 Thread ross
I've been running the native version of Opera (www/opera) for a while now,  
and the spell check function has never actually functioned. Aspell was  
compiled when I installed Opera, so it seems like it should function  
nicely. Anybody have any ideas?


I'm running FreeBSD 6.0 and Opera 5.4
--
What time is it?

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


Re: Need /bin/sh script help

2006-04-11 Thread Parv
in message [EMAIL PROTECTED],
wrote Garrett Cooper thusly...

 I was wondering if anyone could help me out with the following
 script I've developing (the grep if statements are incorrect..):
 
 #!/bin/sh
 #
 
 KC=;
 
 cd /usr/src;
 
 if [ -n `grep -e s/KERNCONF=/ /etc/make.conf` ] # want to look for 

Well, you did not write what exactly is the problem, as executing
the above works as expected.  Why do have 'KERNCONF' surrounded by
's/'  '/'?


In any case, there is not need to see if the returned string length
is nonzero.  Just use the grep return code  send the all the output
to /dev/null ...

  if grep -e '^KERNCONF=' /etc/make.conf /dev/null 21
  then
...
  fi


... or you could also use '-q' and/or '-s' grep options instead of
sending output to /dev/null.  (I personally would do a bit more
strict check to see $KERNCONF is set to value containing characters
meeting some criteria, say '\[-._[:alnum:]]+\'.)


 KERNCONF in /etc/make.conf
 then
echo enter in the kernel conf file full pathname:;

I did not know one can specify the kernel configuration path, not
just the basename.


read KERNCONF;
KC=KERNCONF=$KERNCONF;
 fi
 
 if [ -n `grep -e s/NO_CLEAN=*yes*/ /etc/make.conf` ] // want to look for 
   ^^
   ^^
Wrong kind of comment
character.

See above comments about grep(1) usage.


  - Parv

-- 

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


Re: make buildword problem/documentation

2006-04-11 Thread Jim Stapleton
ahh, thanks everyone, I was looking through the document, and focused
on finding buildworld.


Still, anyone know why those particular cflags would cause problems?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make buildword problem/documentation

2006-04-11 Thread Giorgos Keramidas
On 2006-04-11 17:50, Jim Stapleton [EMAIL PROTECTED] wrote:
 ahh, thanks everyone, I was looking through the document, and focused
 on finding buildworld.

 Still, anyone know why those particular cflags would cause problems?

Don't use arbitrary CFLAGS in `make.conf'.  The build is already
complicated enough and careful steps have to be taken, without the
introduction of random flags.

You'd have to show us the particular errors you are seeing (possibly a
*FULL* transcript of the build) before we can answer why these
particular flags fail and how.

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


Re: make buildword problem/documentation

2006-04-11 Thread Jim Stapleton
ok, thanks, I won't worry about it then.

I just like to have everything as optimised as possible. Guess it'll
have to wait here...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portsnap DOESN'T WORK

2006-04-11 Thread Wojciech Puchar

[EMAIL PROTECTED] portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... using portsnap1.FreeBSD.org.
Fetching snapshot tag... done.
Fetching snapshot metadata... done.
Updating from ndz  9 kwi 02:33:58 2006 CEST to wto 11 kwi 19:04:27 2006 
CEST.

Fetching 4 metadata patches. done.
Applying metadata patches... done.
Fetching 4 metadata files... /usr/sbin/portsnap: cannot open 
4ad98b45a8fb7f262971491949ddd63be3fa066a31d5d09d53a9eddff3276698.gz: No 
such file or directory

metadata is corrupt.



tried cleaning /var/db/portsnap completely too. it fetched all data first 
and then got the same exactly


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


software search - Btrieve converter

2006-04-11 Thread Wojciech Puchar

does anyone know software able to read Btrieve .DAT files and output
text formatted tables?

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


Re: lost root password on a raid-1 geom mirror

2006-04-11 Thread Petre Bandac
On Tue, 11 Apr 2006 10:51:28 -0600 Anno Domini, the honourable Chad
Leigh -- Shire.Net LLC wrote using one of his keyboards:

 
 On Apr 11, 2006, at 10:52 AM, Petre Bandac wrote:
 
  On Wed, 12 Apr 2006 01:08:13 +1000 Anno Domini, the honourable  
  Norberto
  Meijome wrote using one of his keyboards:
 
  On Tue, 11 Apr 2006 17:31:12 +0300
  Petre Bandac [EMAIL PROTECTED] wrote:
 
  the classic schema with unload all/load kernel/boot -s and
  mounting / read-write doesn't work
 
  Hi Petre,
  I assume you say it doesnt work because your kernel doesn't have
  gmirror built into it.
 
  have you tried using the install disk - fixit - load the  
  geom_mirror
  module by hand and then mounting the devices?
 
  or take the disks to another box which has geom_mirror built into
  and modify that way.
  Beto
  it happened as follows - fresh install (following the onlamp.com
  howto); kernel recompile with all that needs, reboot, test, put
  the box
  aside for 3 weeks (while forgetting root password - stupid, yes),
  try to login (and obviously fail)
 
 When the boot menu comes up, choose single user mode and then set
 a new root password at the shell prompt.
 
 Chad

single mode -- mount -a -- passwd -- reboot

_thank_you_

 
 ---
 Chad Leigh -- Shire.Net LLC
 Your Web App and Email hosting provider
 chad at shire.net
 
 
 


-- 

Petre Bandac

Network Scientist

-
[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: lost root password on a raid-1 geom mirror

2006-04-11 Thread Chad Leigh -- Shire.Net LLC


On Apr 11, 2006, at 1:06 PM, Petre Bandac wrote:



When the boot menu comes up, choose single user mode and then set
a new root password at the shell prompt.

Chad


single mode -- mount -a -- passwd -- reboot


I couldn't remember offhand whether you needed to mount an  
appropriate FS :-).


This does outline the need to  make sure you have strict physical  
security over your systems.




_thank_you_


You're welcome.  Best wishes
Chad


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: ClamAV question

2006-04-11 Thread Miguel

Darryl Hoar wrote:


Greetings,
I am running Freebsd 6-release.  I have been following the
qmailrocks.org document for setting up qmail, squirrel,
spamassasssin  clamav ( misc) on Freebsd.

 


which qmail-queue replacement did you use?


Everything has gone fine, but I am having a small problem.
When I run the test_installation.sh -doit which sends a regular email, a
spam email  2 virus emails (safe of course) , ClamAV places the
messages in the quarantine directory, but never delevers the warning
message to the intended recepient notifying them of the email being
quarantines.  From my reading, that is what is suppose to happen.

 



that is not clamav's work,  its qmail-queue's replacement work,  i use 
qmail-scanner without problem for that


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


RE: ClamAV question

2006-04-11 Thread Darryl Hoar
 -Original Message-
 From: Miguel [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 2:17 PM
 To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Subject: Re: ClamAV question
 
 
 Darryl Hoar wrote:
 
 Greetings,
 I am running Freebsd 6-release.  I have been following the
 qmailrocks.org document for setting up qmail, squirrel,
 spamassasssin  clamav ( misc) on Freebsd.
 
   
 
 which qmail-queue replacement did you use?
 
 Everything has gone fine, but I am having a small problem.
 When I run the test_installation.sh -doit which sends a 
 regular email, a
 spam email  2 virus emails (safe of course) , ClamAV places the
 messages in the quarantine directory, but never delevers the warning
 message to the intended recepient notifying them of the email being
 quarantines.  From my reading, that is what is suppose to happen.
 
   
 
 
 that is not clamav's work,  its qmail-queue's replacement 
 work,  i use 
 qmail-scanner without problem for that
 
 ---
 miguel
 

thanks.  I am using qmail-scanner.


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


RE: Timescale for 6.1-RELEASE...

2006-04-11 Thread Ted Mittelstaedt
I beg to differ Nikolas, there is still work that needs to be
done on the disk driver.  See PR 95184.  It was right to shift the
release schedule.

I don't know what you running for hardware but I don't think many
people really appreciate what is going on with SATA these days,
how incredibly damn fast that mirrored SATA arrays of large 500Gb
disks are wiping everything else off the map.

In the servers that I have that ARE working with the new high
speed SATA array chipsets, the disk I/O is an order of magnitude
faster than anything else.  Faster than any UDMA drive, any SCSI
array you want to throw at it.  And larger.  and a LOT cheaper.

And disk space is getting so big so fast that mirroring is going
to be the only option for desktops Real Soon Now, because when you
have a gigabyte of disk space that is shipping standard with
a desktop PC and costs only $200  (which will happen by the middle
of next year) there's no way in hell that you can back that up
to anything, the costs of tape storage for an office full of
desktops like that would be out of the question.

And what is more frustrating is this is the best chance that has
come along for years to kick the crap out of Linux market share.
Linux support of SATA stinks, they are trying to send everyone to
the 3rd parties for drivers rather than incorporating them in
the Linux distros.  Well I can tell you that Ying-Tao cloney baloney
motherboard maker in Asia who is using an off-the-shelf raided SATA
chipset in their $1.99 motherboard-of-the-month, they aren't going
to provide drivers for anything other than Windows.

FreeBSD's support of mirrored sata and udma raid chips is already
better than Linux, but it needs to be absolutely top flight before
6.1 ships.

You can get around a lot of hardware support problems - such as
buggy drivers for the serial ports/network card/usb port/etc. -
but if your disk driver is buggy you cannot even get an OS on
the hardware that you can even patch.  You are dead in the water
and 99% of the people in that situation are going to toss the
FreeBSD 6.1 CD and go to something else.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Nikolas Britton
Sent: Tuesday, April 11, 2006 4:06 AM
To: Harrison Peter CSA BIRKENHEAD
Cc: freebsd-questions@freebsd.org
Subject: Re: Timescale for 6.1-RELEASE...


On 3/30/06, Harrison Peter CSA BIRKENHEAD
[EMAIL PROTECTED] wrote:
 I realise the answer to this question is when it's ready,
but does anyone have a rough idea how close to being ready 6.1 is?


The 6.1 branch was cut on the 5th, this means you can cvsup to
RELENG_6_1 branch and rebuild world to 6.1-RC. As for the release date
of the official 6.1-RC1 builds... It should have happened yesterday,
so expect it any time this week. 6.1-RELEASE should be released at the
end of this month or the beginning of next month If you look at
the schedule everything has been shifted out 1 month.

If you want my opinion on 6.1, it's ready right now, I've been running
a production server on 6.1 since BETA2, my main workstation at work
since BETA4 and my main workstation at home has been running 6.1 since
before BETA1 (tracking 6-STABLE). I've had no problems and feel that
It's far superior to FreeBSD 5.x, It's also alot faster then 5.x. The
more tester we have for the 6.1 release candidate runs the better
6.1-RELEASE will be!
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing
/index.html


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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.1/307 - Release Date: 4/10/2006

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


Reboot hangs on xeon server

2006-04-11 Thread Christopher McGee
The server I have is using an Intel SE7501CW2 server board with 1 Xeon 
2.0Ghz processor.  It's got a Mylex AcceleRAID 170 card with 6 - 36GB 
scsi drives.  When I reboot the machine, via ctrl-alt-del, or typing 
reboot, it syncs disks, then gives the messages:


All buffers synced.
Uptime: ##m##s

At this point, it just hangs forever and has to be powercycled.  I've 
tried installing 4.11, 5.4 and 6.0 on this box.  The only version that 
works properly is 4.11, however, at this point I would prefer to not put 
another 4.x box in production.  I have tried booting in safe mode and 
rebooting and I get the same result.  I've tried disabling usb in the 
bios, in the kernel, and in both, and it still has the same results.


Any ideas what could fix this?

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


Re: Solved (I hope): Toggling port dependencies

2006-04-11 Thread RW
On Tuesday 11 April 2006 16:10, Erik Norgaard wrote:
 RW wrote:
  On Tuesday 11 April 2006 13:25, RW wrote:
  You could try  setting USE_OPENLDAP_VER=23 for the port.
 
  Actually, I see it conflict with 2.2, so it must be set globally.

 Yes, OpenLDAP 2.3 conflicts with 2.2, but jabberd by default assumes 2.2
 so the build fails. Then rather than downgrading OpenLDAP since 2.3 is
 the recommended I'd prefer to force jabberd to build against 2.3.

 I've seen many ports doing this, for example squid. Some announces how
 to select a particular version. I don't know if your hint work with all
 ports.

Actually I think I got this wrong; USE_OPENLDAP_VER will create spurious LDAP 
dependencies if set globally. It should have been 

WANT_OPENLDAP_VER=23 

Dependencies on OpenLDAP are handled by  the common ports makefiles. jabberd 
doesn't specify a version.  I think it simply defaults to 2.2, even if 2.3 is 
installed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need /bin/sh script help

2006-04-11 Thread [EMAIL PROTECTED]
On  Mon, 10 Apr 2006 22:30:32 -0700  Garrett Cooper wrote (my brief response 
follows all of his text):

Just making a series of sh scripts to help automate updating and 
whatnot of my fileserver (since I am trying to avoid having mistakes 
occur with my system, and maybe help the community out a bit by 
providing some decent means of updating their own machines), and I was 
wondering if anyone could help me out with the following script I've 
developing (the grep if statements are incorrect..):

#!/bin/sh
#

KC=;

cd /usr/src;

if [ -n `grep -e s/KERNCONF=/ /etc/make.conf` ] # want to look for 
KERNCONF in /etc/make.conf
then
echo enter in the kernel conf file full pathname:;
read KERNCONF;
KC=KERNCONF=$KERNCONF;
fi

if [ -n `grep -e s/NO_CLEAN=*yes*/ /etc/make.conf` ] // want to look for 
NO_CLEAN in /etc/make.conf -- is this really necessary?
then
cd sys;
echo cleaning sources
make clean;
make cleandir;
cd ..;
fi

echo building kernel;
make buildkernel $KC;

echo installing kernel;
make installkernel $KC;

echo kernel compile complete. reboot to try new kernel;

TIA,
-Garrett

I see a problem in the line
if [ -n `grep -e s/KERNCONF=/ /etc/make.conf` ] # want to look for 
you should have double-quotes around the  `grep  ...  conf`
because it is likely to produce more than one token and so the
 [ -n  ... ]  statement violates the syntax (there should be exactly 1 token 
between the  -n  and the  ] , even no token there is an error, the way that is 
handled is to quote it.
I am writing this quickly without bringing up my  FreeBSD  system to check it.  
Good luck.

Another thing you can do to avoid quoting (and the long strings that may 
result) is use the  -c  option of  grep  and check the number resulting.

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


Re: Timescale for 6.1-RELEASE...

2006-04-11 Thread Nikolas Britton
On 4/11/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote:
 I beg to differ Nikolas, there is still work that needs to be
 done on the disk driver.  See PR 95184.  It was right to shift the
 release schedule.

 I don't know what you running for hardware but I don't think many
 people really appreciate what is going on with SATA these days,
 how incredibly damn fast that mirrored SATA arrays of large 500Gb
 disks are wiping everything else off the map.

 In the servers that I have that ARE working with the new high
 speed SATA array chipsets, the disk I/O is an order of magnitude
 faster than anything else.  Faster than any UDMA drive, any SCSI
 array you want to throw at it.  And larger.  and a LOT cheaper.

 And disk space is getting so big so fast that mirroring is going
 to be the only option for desktops Real Soon Now, because when you
 have a gigabyte of disk space that is shipping standard with
 a desktop PC and costs only $200  (which will happen by the middle
 of next year) there's no way in hell that you can back that up
 to anything, the costs of tape storage for an office full of
 desktops like that would be out of the question.


Yes... tell me about it, I have a 2TB SATA-II array and it's cheaper
to backup that array to another, off-site, array then it is to go with
tape. Tape is way behind the times when compared with SATA/IDE disk
sizes.

 And what is more frustrating is this is the best chance that has
 come along for years to kick the crap out of Linux market share.
 Linux support of SATA stinks, they are trying to send everyone to
 the 3rd parties for drivers rather than incorporating them in
 the Linux distros.  Well I can tell you that Ying-Tao cloney baloney
 motherboard maker in Asia who is using an off-the-shelf raided SATA
 chipset in their $1.99 motherboard-of-the-month, they aren't going
 to provide drivers for anything other than Windows.

 FreeBSD's support of mirrored sata and udma raid chips is already
 better than Linux, but it needs to be absolutely top flight before
 6.1 ships.


The person you should thank is Søren Schmidt, http://www.deepcore.dk/

 You can get around a lot of hardware support problems - such as
 buggy drivers for the serial ports/network card/usb port/etc. -
 but if your disk driver is buggy you cannot even get an OS on
 the hardware that you can even patch.  You are dead in the water
 and 99% of the people in that situation are going to toss the
 FreeBSD 6.1 CD and go to something else.


I think the ICH7 sata problem has already been fixed, check the logs
here: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/ if not
jump onto the stable mailing list and start waving your hands.



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


Re: Timescale for 6.1-RELEASE...

2006-04-11 Thread Bill Moran
On Tue, 11 Apr 2006 12:32:08 -0700
Ted Mittelstaedt [EMAIL PROTECTED] wrote:

 And disk space is getting so big so fast that mirroring is going
 to be the only option for desktops Real Soon Now, because when you
 have a gigabyte of disk space that is shipping standard with
 a desktop PC and costs only $200  (which will happen by the middle
 of next year) there's no way in hell that you can back that up
 to anything, the costs of tape storage for an office full of
 desktops like that would be out of the question.

I assume you meant to say a terabyte of disk space instead of
gigabyte?

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


restarting sendmail after patching - help needed.

2006-04-11 Thread Ensel Sharon

Hello,

I am patching for the recent sendmail advisory:

ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-06:13.sendmail.asc

I have followed the patching instructions:

b) Execute the following commands as root:  





# cd /usr/src   


# patch  /path/to/patch


# cd /usr/src/lib/libsm 


# make obj  make depend  make   


# cd /usr/src/lib/libsmutil 


# make obj  make depend  make   


# cd /usr/src/usr.sbin/sendmail 


# make obj  make depend  make  make install


and now all I need to do is restart sendmail so that the new binaries are
loaded and running.

I _think_ the correct method is:

cd /etc/mail
make restart

but is that ^^^ sufficient ?  Or is there something more to do to make
sure I have no remnants of the old one running ?

Thanks.

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


Re: upcoming release 6.1: old version of some core components

2006-04-11 Thread Kris Kennaway
On Tue, Apr 11, 2006 at 05:46:06PM +0200, [EMAIL PROTECTED]@mgEDV.net wrote:
  
  I can't answer you main question, but I would say that you can bet your 
 shirt on the fact that there will be no known security issues in the 
  older packages.
 
  At least for openssl and openssh you can get latest versions through the 
  ports.  Not an option for everything -- I see no zlib for example and I 
  don't believe there's a standard cvs port either.
 
 as for zlib i definitely know, that there are 2 security flaws, which can
 lead to problems when invalid compressed data is feeded.

Already fixed as soon as they were published.  Are there other reasons
to upgrade?

 my problem also is not the installation of ports/packages/custom compiles,
 it's more that the operating system components itself are linked against
 these older libraries an therefore will contain bugs, which may have been
 already solved.

The other side of this is that newer versions are often incompatible
(OpenSSL, I'm looking at you), which rules out upgrading the version
in a FreeBSD-STABLE branch since it ruins binary compatibility.

Kris

pgpNldjpwq4nZ.pgp
Description: PGP signature


Re: restarting sendmail after patching - help needed.

2006-04-11 Thread John Nielsen
On Tuesday 11 April 2006 16:35, Ensel Sharon wrote:
 Hello,

 I am patching for the recent sendmail advisory:
snip
 and now all I need to do is restart sendmail so that the new binaries are
 loaded and running.

 I _think_ the correct method is:

 cd /etc/mail
 make restart

You are correct.

 but is that ^^^ sufficient ?

Yep, that's all there is to it!

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


Re: freebsd-questions Digest, Vol 131, Issue 6

2006-04-11 Thread Alfred Morgan

Date: Tue, 11 Apr 2006 08:47:07 -0500
From: Eric Schuele [EMAIL PROTECTED]
Subject: Wanted: Flash player for browser_of_choice
To: FreeBSD Questions freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

So... now that www/linux-flashplugin* are gone,  I was hoping to get 
opinions on which alternative flashplayer(s) are reasonably good.


Why can't we do it like we did with java?  Where we had to download the linux 
version manually from a given URL saving it into our distfiles directory.  Then 
we would run the ports install procedure and all would be happy again.

-alfred


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


Re: portsnap DOESN'T WORK

2006-04-11 Thread Colin Percival
Wojciech Puchar wrote:
 [EMAIL PROTECTED] portsnap fetch
 [...]
 Fetching 4 metadata files... /usr/sbin/portsnap: cannot open
 4ad98b45a8fb7f262971491949ddd63be3fa066a31d5d09d53a9eddff3276698.gz: No
 such file or directory
 metadata is corrupt.
 
 tried cleaning /var/db/portsnap completely too. it fetched all data
 first and then got the same exactly
 
 what's wrong?

What does portsnap --debug fetch report?

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


Re: Reboot hangs on xeon server

2006-04-11 Thread Andy Reitz
On Tue, 11 Apr 2006, Christopher McGee wrote:

 The server I have is using an Intel SE7501CW2 server board with 1 Xeon
 2.0Ghz processor.  It's got a Mylex AcceleRAID 170 card with 6 - 36GB
 scsi drives.  When I reboot the machine, via ctrl-alt-del, or typing
 reboot, it syncs disks, then gives the messages:

 All buffers synced.
 Uptime: ##m##s

 At this point, it just hangs forever and has to be powercycled.  I've
 tried installing 4.11, 5.4 and 6.0 on this box.  The only version that
 works properly is 4.11, however, at this point I would prefer to not put
 another 4.x box in production.  I have tried booting in safe mode and
 rebooting and I get the same result.  I've tried disabling usb in the
 bios, in the kernel, and in both, and it still has the same results.

 Any ideas what could fix this?

Hi Chris,

This is not my area of expertise, but this sounds like an ACPI problem to
me. You might try googling that (in conjunction with your motherboard) and
see what comes up.

HTH,
-Andy.

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


Re: freebsd-questions Digest, Vol 131, Issue 6

2006-04-11 Thread Kris Kennaway
On Tue, Apr 11, 2006 at 02:04:55PM -0700, Alfred Morgan wrote:
 Date: Tue, 11 Apr 2006 08:47:07 -0500
 From: Eric Schuele [EMAIL PROTECTED]
 Subject: Wanted: Flash player for browser_of_choice
 To: FreeBSD Questions freebsd-questions@freebsd.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 
 So... now that www/linux-flashplugin* are gone,  I was hoping to get 
 opinions on which alternative flashplayer(s) are reasonably good.
 
 Why can't we do it like we did with java?  Where we had to download the 
 linux version manually from a given URL saving it into our distfiles 
 directory.  Then we would run the ports install procedure and all would be 
 happy again.

Because the software license says you may not use it on FreeBSD, period.

Kris


pgpAlGjMZzwuF.pgp
Description: PGP signature


Re: freebsd-questions Digest, Vol 131, Issue 6

2006-04-11 Thread Eric Schuele

Kris Kennaway wrote:

On Tue, Apr 11, 2006 at 02:04:55PM -0700, Alfred Morgan wrote:

Date: Tue, 11 Apr 2006 08:47:07 -0500
From: Eric Schuele [EMAIL PROTECTED]
Subject: Wanted: Flash player for browser_of_choice
To: FreeBSD Questions freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

So... now that www/linux-flashplugin* are gone,  I was hoping to get 
opinions on which alternative flashplayer(s) are reasonably good.
Why can't we do it like we did with java?  Where we had to download the 
linux version manually from a given URL saving it into our distfiles 
directory.  Then we would run the ports install procedure and all would be 
happy again.


Because the software license says you may not use it on FreeBSD, period.



Any idea if anyone (the FreeBSD Foundation?) is going to attempt to 
change the situation?  Seems like flash support would be a useful 
feature for those using FreeBSD on the desktop.



Kris



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


RE: upcoming release 6.1: old version of some core components

2006-04-11 Thread Ted Mittelstaedt

Alex, you would lose that bet, zlib 1.2.2 has a hole in it, it
should have been replaced with 1.2.3  See the zlib website
for more info.

Nospam, good catch, if none of the hip-shooters here file a PR I'll
get around to it the next time I get a running build off the
cvs.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alex Zbyslaw
Sent: Tuesday, April 11, 2006 6:25 AM
To: freebsd-questions@freebsd.org
Subject: Re: upcoming release 6.1: old version of some core components


[EMAIL PROTECTED]@mgEDV.net wrote:

during testing the 6.1-BETA4 i found only one major thing
i really like to discuss on the list for my understanding.

why are some major parts of the os are not updated to the
current versions (see examples beyond)? code-improvements
and security-/functionality-fixes come to my mind here.

examples given:
zlib (v1.2.2, 10/2004; current 1.2.3, 07/2005)
openssl (v0.9.7e, 10/2004; current 0.9.7i, 10/2005)
openssh (v4.2p1, 01/2005, current 4.3p2 02/2006)

for openssh, the code-freeze of freebsd was before the
release of 4.3, this makes sense, but what about the rest?



I can't answer you main question, but I would say that you can bet your
shirt on the fact that there will be no known security issues in the
older packages.

At least for openssl and openssh you can get latest versions
through the
ports.  Not an option for everything -- I see no zlib for example and I
don't believe there's a standard cvs port either.

--Alex


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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.1/307 - Release Date: 4/10/2006


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


RE: upcoming release 6.1: old version of some core components

2006-04-11 Thread Ted Mittelstaedt

Hi All,

 nospam, I just checked the cvs, and they did catch zlib, 1.2.3 is in
there now.  /usr/src/lib/libz.
BETA4 is older than the current cvs

  Note that some programs (cvs) seem to have copies of zlib.c that are
older, maybe that's
what your seeing?

  as for openssl, it is still at 0.9.7e and yes there was a security fix
released in 0.9.7h,
it should be updated - however the developer in charge of that may have
simply decided
to patch the security fix rather than rev openssl up, since so many
programs depend
on it.

Ted


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]@mgEDV.net
Sent: Tuesday, April 11, 2006 5:55 AM
To: freebsd-questions@freebsd.org
Subject: upcoming release 6.1: old version of some core components



hi together,

during testing the 6.1-BETA4 i found only one major thing
i really like to discuss on the list for my understanding.

why are some major parts of the os are not updated to the
current versions (see examples beyond)? code-improvements
and security-/functionality-fixes come to my mind here.

examples given:
zlib (v1.2.2, 10/2004; current 1.2.3, 07/2005)
openssl (v0.9.7e, 10/2004; current 0.9.7i, 10/2005)
openssh (v4.2p1, 01/2005, current 4.3p2 02/2006)

for openssh, the code-freeze of freebsd was before the
release of 4.3, this makes sense, but what about the rest?

br  cu...

ps: just reply 2 the list please...

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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.1/307 - Release Date: 4/10/2006


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


Re: Need /bin/sh script help

2006-04-11 Thread Jan Grant
On Tue, 11 Apr 2006, [EMAIL PROTECTED] wrote:

 On  Mon, 10 Apr 2006 22:30:32 -0700  Garrett Cooper wrote (my brief response 
 follows all of his text):
 
 Just making a series of sh scripts to help automate updating and 
 whatnot of my fileserver (since I am trying to avoid having mistakes 
 occur with my system, and maybe help the community out a bit by 
 providing some decent means of updating their own machines), and I was 
 wondering if anyone could help me out with the following script I've 
 developing (the grep if statements are incorrect..):

 I see a problem in the line
 if [ -n `grep -e s/KERNCONF=/ /etc/make.conf` ] # want to look for 
 you should have double-quotes around the  `grep  ...  conf`
 because it is likely to produce more than one token and so the
  [ -n ... ] statement violates the syntax (there should be exactly 1 
 token between the -n and the ] , even no token there is an error, the 
 way that is handled is to quote it. I am writing this quickly without 
 bringing up my FreeBSD system to check it.  Good luck.

Or simply use the error status of grep, no [ invocation:

if grep -q ...
then
...
fi

Note that if you're looking at automating the update process you should 
probably pay careful attention to the world/kernel update process 
described in the handbook; there are steps (like an initial mergemaster 
-p) that you will want to include.

-- 
jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/
Tel +44 (0)117 3317661   http://ioctl.org/jan/
If you have received this email in error, do whatever the hell
you want with it. It's not like I can stop you anyway.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


6.1-PRERELEASE CVSUP tag=???

2006-04-11 Thread Bryan Curl
What is the cvsup tag for geting  6.1-PRERELEASE src?

I think it should be tag=RELENG_6_1 .

Can I use src-all for this revision to upgrade from where I am now?

Right now I am:   ...  6.0-RELEASE-p6 #0: Tue Apr  4 09:43:53 MDT 2006
...


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


pow function working unexpectedly

2006-04-11 Thread Jonathan Herriott
I just want to make sure I'm not being stupid before I send in a bug. 
The problem seems to be with gcc when using the pow function in the
math.h library.  Here's code that works:

#include stdio.h
#include math.h

int main()
{
 printf(%f\n, pow(2,3));
 return 0;
}


Now, the following will not compile:

#include stdio.h
#include math.h

int main()
{
 int x = 2; // I tried these as doubles too since the pow function
takes doubles
 int y = 3;

 printf(%f\n, pow(x,y));
 return 0;
}

I compiled both programs using:
gcc test.c

The second example gives the following error:
/var/tmp//ccxtkMwv.o(.text+0x45): In function `main':
: undefined reference to `pow'

If I comile with g++, I have no issues.  Are these results that I
should have?  If so, why?  If not, I'm going to submit the bug on gcc
(or the linker, but I'm guessing it's the same group).

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


Re: pow function working unexpectedly

2006-04-11 Thread Nicolas Blais
On Tuesday 11 April 2006 18:54, Jonathan Herriott wrote:
 I just want to make sure I'm not being stupid before I send in a bug.
 The problem seems to be with gcc when using the pow function in the
 math.h library.  Here's code that works:

 #include stdio.h
 #include math.h

 int main()
 {
  printf(%f\n, pow(2,3));
  return 0;
 }


 Now, the following will not compile:

 #include stdio.h
 #include math.h

 int main()
 {
  int x = 2; // I tried these as doubles too since the pow function
 takes doubles
  int y = 3;

  printf(%f\n, pow(x,y));
  return 0;
 }

 I compiled both programs using:
 gcc test.c

 The second example gives the following error:

 /var/tmp//ccxtkMwv.o(.text+0x45): In function `main':
 : undefined reference to `pow'

 If I comile with g++, I have no issues.  Are these results that I
 should have?  If so, why?  If not, I'm going to submit the bug on gcc
 (or the linker, but I'm guessing it's the same group).

 Thanks,
 Jonathan Herriott

gcc -lm test.c works. You forgot to include the math library.

-- 
FreeBSD 7.0-CURRENT #1: Sat Apr  8 21:33:25 EDT 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://www.clkroot.net/security/nb_root.asc


pgpWBui9wKY00.pgp
Description: PGP signature


Re: pow function working unexpectedly

2006-04-11 Thread Nicolas Blais
On Tuesday 11 April 2006 19:07, Jonathan Herriott wrote:
 Question then.  Why would it work when I don't use variables if I
 don't include the library?  This question is just out of curiosity.

 On 4/11/06, Nicolas Blais [EMAIL PROTECTED] wrote:
  On Tuesday 11 April 2006 18:54, Jonathan Herriott wrote:
   I just want to make sure I'm not being stupid before I send in a bug.
   The problem seems to be with gcc when using the pow function in the
   math.h library.  Here's code that works:
  
   #include stdio.h
   #include math.h
  
   int main()
   {
printf(%f\n, pow(2,3));
return 0;
   }
  
  
   Now, the following will not compile:
  
   #include stdio.h
   #include math.h
  
   int main()
   {
int x = 2; // I tried these as doubles too since the pow function
   takes doubles
int y = 3;
  
printf(%f\n, pow(x,y));
return 0;
   }
  
   I compiled both programs using:
   gcc test.c
  
   The second example gives the following error:
  
   /var/tmp//ccxtkMwv.o(.text+0x45): In function `main':
   : undefined reference to `pow'
  
   If I comile with g++, I have no issues.  Are these results that I
   should have?  If so, why?  If not, I'm going to submit the bug on gcc
   (or the linker, but I'm guessing it's the same group).
  
   Thanks,
   Jonathan Herriott
 
  gcc -lm test.c works. You forgot to include the math library.
 

I'm not sure I get your question, but if your not using the math library (from 
variables or functions), then the compiler could care less if it was linked 
with the math library or not.
If your software DOES use a variable or a call from math.h (pow in this case), 
then linking with the math library is a must.

Hope this answers your question, if it doesn't, post a test2.c with what you 
meant and I'll answer best I can.

Nicolas.



-- 
FreeBSD 7.0-CURRENT #1: Sat Apr  8 21:33:25 EDT 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://www.clkroot.net/security/nb_root.asc


pgpcmezHLPbz5.pgp
Description: PGP signature


Re: pow function working unexpectedly

2006-04-11 Thread Andy Reitz
On Tue, 11 Apr 2006, Jonathan Herriott wrote:

 Question then.  Why would it work when I don't use variables if I
 don't include the library?  This question is just out of curiosity.

That's a pretty good question. In the case where we have pow(x,y), I see
this:

[EMAIL PROTECTED]/src]$ gcc -c pow_test.c
[EMAIL PROTECTED]/src]$ nm pow_test.o
 T main
 U pow
 U printf

In the case where it is pow(2,3), I see this:

[EMAIL PROTECTED]/src]$ gcc -c pow_test.c
[EMAIL PROTECTED]/src]$ nm pow_test.o
 T main
 U printf

So, clearly, something is optimizing the pow() function away when the
arguments are hard-coded lvalues, instead of varibles.

Now, what that thing *is*, I don't know.

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


Re: pow function working unexpectedly

2006-04-11 Thread Erik Trulsson
On Tue, Apr 11, 2006 at 11:07:35PM +, Jonathan Herriott wrote:
 Question then.  Why would it work when I don't use variables if I
 don't include the library?  This question is just out of curiosity.

Because the compiler recognizes that pow() when called with only 
constants as arguments can be calculated at compile-time and does so.

If you look at the generated assembler you will see that there is no 
call to pow() actually being made there -- it has been replaced by
the appropriate constant.


 
 
 On 4/11/06, Nicolas Blais [EMAIL PROTECTED] wrote:
  On Tuesday 11 April 2006 18:54, Jonathan Herriott wrote:
   I just want to make sure I'm not being stupid before I send in a bug.
   The problem seems to be with gcc when using the pow function in the
   math.h library.  Here's code that works:
  
   #include stdio.h
   #include math.h
  
   int main()
   {
printf(%f\n, pow(2,3));
return 0;
   }
  
  
   Now, the following will not compile:
  
   #include stdio.h
   #include math.h
  
   int main()
   {
int x = 2; // I tried these as doubles too since the pow function
   takes doubles
int y = 3;
  
printf(%f\n, pow(x,y));
return 0;
   }
  
   I compiled both programs using:
   gcc test.c
  
   The second example gives the following error:
  
   /var/tmp//ccxtkMwv.o(.text+0x45): In function `main':
   : undefined reference to `pow'
  
   If I comile with g++, I have no issues.  Are these results that I
   should have?  If so, why?  If not, I'm going to submit the bug on gcc
   (or the linker, but I'm guessing it's the same group).
  
   Thanks,
   Jonathan Herriott
 
  gcc -lm test.c works. You forgot to include the math library.
 



-- 
Insert your favourite quote here.
Erik Trulsson
[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: Wanted: Flash player for browser_of_choice....

2006-04-11 Thread Joseph Vella
On Tuesday 11 April 2006 06:47, Eric Schuele wrote:
 [Hoping this isn't too OT for the list]
 
 So... now that www/linux-flashplugin* are gone,  I was hoping to get 
 opinions on which alternative flashplayer(s) are reasonably good.  I use 
 firefox and would prefer a plugin for it... but am generally interested 
 in the state of any flash player.  I know there are a handful in ports, 
 just wanted some opinions.
 
 Could anyone please offer their opinion on
   - which alternative they are using
   - why
   - comment(s) on installation ease (or lack thereof)
   - is it a standalone or plugin
 

I missed it.  Why is www/linux-flashplugin* gone?   

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


Re: pow function working unexpectedly

2006-04-11 Thread Colin Percival
Andy Reitz wrote:
 So, clearly, something is optimizing the pow() function away when the
 arguments are hard-coded lvalues, instead of varibles.
 
 Now, what that thing *is*, I don't know.

The C compiler precomputes constant expressions; your pow(2,3) is
being rewritten to 8 by the compiler.  Similarly, if you write
1 + 2 / 3 + 4 * 5 - 6, the C compiler will turn this into 15
rather than producing a series of instructions which computes the
expression.

When you reference variables, this optimization isn't possible, since
those variables might be modified before you reach the line where
they are used.  (Obviously this doesn't happen in your program, but
the compiler isn't smart enough to figure that out.)

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


Re: pow function working unexpectedly

2006-04-11 Thread Svein Halvor Halvorsen
On 4/12/06, Jonathan Herriott [EMAIL PROTECTED] wrote:
 Question then.  Why would it work when I don't use variables if I
 don't include the library?  This question is just out of curiosity.

Since you use only hard coded operands, the result is given, and gcc
optimizes such arithmetics and function calls away.


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


6.1-PRERELEASE CVSUP tag=???

2006-04-11 Thread Bryan Curl

What is the cvsup tag for getting  6.1-PRERELEASE src?

I think it should be tag=RELENG_6_1 .

Can I use src-all for this revision to upgrade from where I am now?

Right now I am:   ...  6.0-RELEASE-p6 #0: Tue Apr  4 09:43:53 MDT 
2006 ...


--
Bryan
[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: pow function working unexpectedly

2006-04-11 Thread Jonathan Herriott
With reference to my first example given is what I was talking about. 
The first example properly ran with just compiling with:

gcc test.c

Here's the first example again:
#include stdio.h
#include math.h
   
int main()
{
 printf(%f\n, pow(2,3));
 return 0;
}

Thanks,
Jon

On 4/11/06, Nicolas Blais [EMAIL PROTECTED] wrote:
 On Tuesday 11 April 2006 19:07, Jonathan Herriott wrote:
  Question then.  Why would it work when I don't use variables if I
  don't include the library?  This question is just out of curiosity.
 
  On 4/11/06, Nicolas Blais [EMAIL PROTECTED] wrote:
   On Tuesday 11 April 2006 18:54, Jonathan Herriott wrote:
I just want to make sure I'm not being stupid before I send in a bug.
The problem seems to be with gcc when using the pow function in the
math.h library.  Here's code that works:
   
#include stdio.h
#include math.h
   
int main()
{
 printf(%f\n, pow(2,3));
 return 0;
}
   
   
Now, the following will not compile:
   
#include stdio.h
#include math.h
   
int main()
{
 int x = 2; // I tried these as doubles too since the pow function
takes doubles
 int y = 3;
   
 printf(%f\n, pow(x,y));
 return 0;
}
   
I compiled both programs using:
gcc test.c
   
The second example gives the following error:
   
/var/tmp//ccxtkMwv.o(.text+0x45): In function `main':
: undefined reference to `pow'
   
If I comile with g++, I have no issues.  Are these results that I
should have?  If so, why?  If not, I'm going to submit the bug on gcc
(or the linker, but I'm guessing it's the same group).
   
Thanks,
Jonathan Herriott
  
   gcc -lm test.c works. You forgot to include the math library.
  

 I'm not sure I get your question, but if your not using the math library
 (from
 variables or functions), then the compiler could care less if it was linked
 with the math library or not.
 If your software DOES use a variable or a call from math.h (pow in this
 case),
 then linking with the math library is a must.

 Hope this answers your question, if it doesn't, post a test2.c with what you
 meant and I'll answer best I can.

 Nicolas.



 --
 FreeBSD 7.0-CURRENT #1: Sat Apr  8 21:33:25 EDT 2006
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A
 PGP? : http://www.clkroot.net/security/nb_root.asc


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


Re: pow function working unexpectedly

2006-04-11 Thread Nicolas Blais
On Tuesday 11 April 2006 19:24, Colin Percival wrote:
 Andy Reitz wrote:
  So, clearly, something is optimizing the pow() function away when the
  arguments are hard-coded lvalues, instead of varibles.
 
  Now, what that thing *is*, I don't know.

 The C compiler precomputes constant expressions; your pow(2,3) is
 being rewritten to 8 by the compiler.  Similarly, if you write
 1 + 2 / 3 + 4 * 5 - 6, the C compiler will turn this into 15
 rather than producing a series of instructions which computes the
 expression.

 When you reference variables, this optimization isn't possible, since
 those variables might be modified before you reach the line where
 they are used.  (Obviously this doesn't happen in your program, but
 the compiler isn't smart enough to figure that out.)

 Colin Percival

+1. The compiler sees constants differently from variables (which reside in a 
memory space). With the constant, the optimizer can rewrite the equation with 
its answer.

Anyhow, it can't be seen as a bug because you should include the math library 
whenever you're using a function from it (see man pow). Therefore, if you 
would have included the library in the first place, you would have never 
found this 'oddity'.

Nicolas.

-- 
FreeBSD 7.0-CURRENT #1: Sat Apr  8 21:33:25 EDT 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://www.clkroot.net/security/nb_root.asc


pgps4up9lVAOK.pgp
Description: PGP signature


Re: pow function working unexpectedly

2006-04-11 Thread Jonathan Herriott
Yes, thank you.  I wasn't going to report it as a bug after you
pointed out my blatant mistake.  Thanks again for the info.

Jon

On 4/11/06, Nicolas Blais [EMAIL PROTECTED] wrote:
 On Tuesday 11 April 2006 19:24, Colin Percival wrote:
  Andy Reitz wrote:
   So, clearly, something is optimizing the pow() function away when the
   arguments are hard-coded lvalues, instead of varibles.
  
   Now, what that thing *is*, I don't know.
 
  The C compiler precomputes constant expressions; your pow(2,3) is
  being rewritten to 8 by the compiler.  Similarly, if you write
  1 + 2 / 3 + 4 * 5 - 6, the C compiler will turn this into 15
  rather than producing a series of instructions which computes the
  expression.
 
  When you reference variables, this optimization isn't possible, since
  those variables might be modified before you reach the line where
  they are used.  (Obviously this doesn't happen in your program, but
  the compiler isn't smart enough to figure that out.)
 
  Colin Percival

 +1. The compiler sees constants differently from variables (which reside in
 a
 memory space). With the constant, the optimizer can rewrite the equation
 with
 its answer.

 Anyhow, it can't be seen as a bug because you should include the math
 library
 whenever you're using a function from it (see man pow). Therefore, if you
 would have included the library in the first place, you would have never
 found this 'oddity'.

 Nicolas.

 --
 FreeBSD 7.0-CURRENT #1: Sat Apr  8 21:33:25 EDT 2006
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A
 PGP? : http://www.clkroot.net/security/nb_root.asc


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


Re: Wanted: Flash player for browser_of_choice....

2006-04-11 Thread Eric Schuele

Joseph Vella wrote:

On Tuesday 11 April 2006 06:47, Eric Schuele wrote:

[Hoping this isn't too OT for the list]

So... now that www/linux-flashplugin* are gone,  I was hoping to get 
opinions on which alternative flashplayer(s) are reasonably good.  I use 
firefox and would prefer a plugin for it... but am generally interested 
in the state of any flash player.  I know there are a handful in ports, 
just wanted some opinions.


Could anyone please offer their opinion on
  - which alternative they are using
  - why
  - comment(s) on installation ease (or lack thereof)
  - is it a standalone or plugin



I missed it.  Why is www/linux-flashplugin* gone?   


From /usr/ports/UPDATING:

20060408:
  AFFECTS: users of www/linux-flashplugin*
  AUTHOR: [EMAIL PROTECTED]

  These ports have been removed because the End User License Agreement
  explicitly forbids to run the Flash Player on FreeBSD.
  For more details, see
http://www.macromedia.com/shockwave/download/license/desktop/



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




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


RE: DL320 G3 Adaptec or Intel RAID?

2006-04-11 Thread Ted Mittelstaedt

br  cu,

  Please see PR 95184 similar problem, they may be related.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]@mgEDV.net
Sent: Monday, April 10, 2006 5:39 AM
To: freebsd-questions@freebsd.org
Subject: DL320 G3 Adaptec or Intel RAID?



hi,

we've got an hp proliant dl320 g3 with an embedded SATA-150
raid controller. loading 6.1B4 shows ad4 and ad6 as normal
disks but the RAID controller or the configured array is not
shown at all.

during POST the raid bios announces as:
Adaptec Embedded SATA HostRAID BIOS V3.0-1 1255

the embedded controller shows as:
Controller #00: ICH6R HostRAID at PCI Bus: 00, Dev: 1F, Func: 02

the configured array drive is shown something like:
Array 0 - RAID 1: 76GB optimal

can anyone tell if this adaptec/intel combination is supported
by freebsd in any way? the ICH6R is listed in the hw-section,
but the os doesn't find this special one.

br  cu

ps: just reply to the list, please.

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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.1/307 - Release Date: 4/10/2006


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


Re: 6.1-PRERELEASE CVSUP tag=???

2006-04-11 Thread Daniel Bye
On Tue, Apr 11, 2006 at 05:25:25PM -0600, Bryan Curl wrote:
 What is the cvsup tag for getting  6.1-PRERELEASE src?
 
 I think it should be tag=RELENG_6_1 .
 
 Can I use src-all for this revision to upgrade from where I am now?
 
 Right now I am:   ...  6.0-RELEASE-p6 #0: Tue Apr  4 09:43:53 MDT 
 2006 ...

Take a look at the announcement here:

http://lists.freebsd.org/pipermail/freebsd-hackers/2006-March/015730.html

The tag you want is RELENG_6.  It will become RELENG_6_1 when the
official release is made.

The transition from 6.0 to 6.1 went smoothly here, so you should be good
to go with the new src tree.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpWv1pwiP1Jv.pgp
Description: PGP signature


Re: Wanted: Flash player for browser_of_choice....

2006-04-11 Thread Gary Kline
On Tue, Apr 11, 2006 at 06:41:16PM -0500, Eric Schuele wrote:
 Joseph Vella wrote:
 On Tuesday 11 April 2006 06:47, Eric Schuele wrote:
 [Hoping this isn't too OT for the list]
 
 So... now that www/linux-flashplugin* are gone,  I was hoping to get 
 opinions on which alternative flashplayer(s) are reasonably good.  I use 
 firefox and would prefer a plugin for it... but am generally interested 
 in the state of any flash player.  I know there are a handful in ports, 
 just wanted some opinions.
 
 Could anyone please offer their opinion on
   - which alternative they are using
   - why
   - comment(s) on installation ease (or lack thereof)
   - is it a standalone or plugin
 
 
 I missed it.  Why is www/linux-flashplugin* gone?   
 
 From /usr/ports/UPDATING:
 
 20060408:
   AFFECTS: users of www/linux-flashplugin*
   AUTHOR: [EMAIL PROTECTED]
 
   These ports have been removed because the End User License Agreement
   explicitly forbids to run the Flash Player on FreeBSD.
   For more details, see
 http://www.macromedia.com/shockwave/download/license/desktop/
 
 -- 
 Regards,
 Eric

Good grief!  Is this even under linux-emulatio?  Oughtta read
the URL.  WHat a pain!

gary



-- 
   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: Wanted: Flash player for browser_of_choice....

2006-04-11 Thread Chris Hill

On Tue, 11 Apr 2006, Gary Kline wrote:


On Tue, Apr 11, 2006 at 06:41:16PM -0500, Eric Schuele wrote:

Joseph Vella wrote:

On Tuesday 11 April 2006 06:47, Eric Schuele wrote:

[Hoping this isn't too OT for the list]

So... now that www/linux-flashplugin* are gone,  I was hoping to get
opinions on which alternative flashplayer(s) are reasonably good.  I use
firefox and would prefer a plugin for it... but am generally interested
in the state of any flash player.  I know there are a handful in ports,
just wanted some opinions.

Could anyone please offer their opinion on
 - which alternative they are using
 - why
 - comment(s) on installation ease (or lack thereof)
 - is it a standalone or plugin



I missed it.  Why is www/linux-flashplugin* gone?


From /usr/ports/UPDATING:

20060408:
  AFFECTS: users of www/linux-flashplugin*
  AUTHOR: [EMAIL PROTECTED]

  These ports have been removed because the End User License Agreement
  explicitly forbids to run the Flash Player on FreeBSD.
  For more details, see
http://www.macromedia.com/shockwave/download/license/desktop/



Good grief!  Is this even under linux-emulatio?  Oughtta read
the URL.  WHat a pain!


Seriously. But there it is, in section 3.a.(D) of the given URL:
  You may not use the Software on ... any operating system that
   is not an Authorized Operating System.

I wonder why Macromedia felt the need to pay their lawyers to add this 
clause. I will email them and ask, if I can find a way to do so.


Serious question: If one already happened to have this package 
installed, could he hold onto it by editing pkgtools.conf to contain

HOLD_PKGS = [
  'linuxpluginwrapper*',
]

?

Thanks.

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


RE: Timescale for 6.1-RELEASE...

2006-04-11 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Nikolas Britton
Sent: Tuesday, April 11, 2006 1:25 PM
To: Ted Mittelstaedt
Cc: Harrison Peter CSA BIRKENHEAD; freebsd-questions@freebsd.org
Subject: Re: Timescale for 6.1-RELEASE...


On 4/11/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote:
 I beg to differ Nikolas, there is still work that needs to be
 done on the disk driver.  See PR 95184.  It was right to shift the
 release schedule.

 I don't know what you running for hardware but I don't think many
 people really appreciate what is going on with SATA these days,
 how incredibly damn fast that mirrored SATA arrays of large 500Gb
 disks are wiping everything else off the map.

 In the servers that I have that ARE working with the new high
 speed SATA array chipsets, the disk I/O is an order of magnitude
 faster than anything else.  Faster than any UDMA drive, any SCSI
 array you want to throw at it.  And larger.  and a LOT cheaper.

 And disk space is getting so big so fast that mirroring is going
 to be the only option for desktops Real Soon Now, because when you
 have a gigabyte of disk space that is shipping standard with
 a desktop PC and costs only $200  (which will happen by the middle
 of next year) there's no way in hell that you can back that up
 to anything, the costs of tape storage for an office full of
 desktops like that would be out of the question.


Yes... tell me about it, I have a 2TB SATA-II array and it's cheaper
to backup that array to another, off-site, array then it is to go with
tape. Tape is way behind the times when compared with SATA/IDE disk
sizes.

 And what is more frustrating is this is the best chance that has
 come along for years to kick the crap out of Linux market share.
 Linux support of SATA stinks, they are trying to send everyone to
 the 3rd parties for drivers rather than incorporating them in
 the Linux distros.  Well I can tell you that Ying-Tao cloney baloney
 motherboard maker in Asia who is using an off-the-shelf raided SATA
 chipset in their $1.99 motherboard-of-the-month, they aren't going
 to provide drivers for anything other than Windows.

 FreeBSD's support of mirrored sata and udma raid chips is already
 better than Linux, but it needs to be absolutely top flight before
 6.1 ships.


The person you should thank is Søren Schmidt, http://www.deepcore.dk/

 You can get around a lot of hardware support problems - such as
 buggy drivers for the serial ports/network card/usb port/etc. -
 but if your disk driver is buggy you cannot even get an OS on
 the hardware that you can even patch.  You are dead in the water
 and 99% of the people in that situation are going to toss the
 FreeBSD 6.1 CD and go to something else.


I think the ICH7 sata problem has already been fixed, check the logs
here: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/ if not
jump onto the stable mailing list and start waving your hands.


I'm doing a make release on today's cvs as we speak, I'll see tomorrow
if it recognizes the disks.

Ted

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


RE: Timescale for 6.1-RELEASE...

2006-04-11 Thread Ted Mittelstaedt
Yup!

Ted

-Original Message-
From: Bill Moran [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 11, 2006 1:28 PM
To: Ted Mittelstaedt
Cc: freebsd-questions@freebsd.org
Subject: Re: Timescale for 6.1-RELEASE...


On Tue, 11 Apr 2006 12:32:08 -0700
Ted Mittelstaedt [EMAIL PROTECTED] wrote:

 And disk space is getting so big so fast that mirroring is going
 to be the only option for desktops Real Soon Now, because when you
 have a gigabyte of disk space that is shipping standard with
 a desktop PC and costs only $200  (which will happen by the middle
 of next year) there's no way in hell that you can back that up
 to anything, the costs of tape storage for an office full of
 desktops like that would be out of the question.

I assume you meant to say a terabyte of disk space instead of
gigabyte?

--
Bill Moran
Collaborative Fusion Inc.

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.1/307 - Release Date: 4/10/2006


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


mx1.freebsd.org administrator?

2006-04-11 Thread Norberto Meijome
Hi, i need to contact the admin in charge of postfix @ mx1.freebsd.org.
is [EMAIL PROTECTED] the right address?

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


Re: mx1.freebsd.org administrator?

2006-04-11 Thread Norberto Meijome
On Wed, 12 Apr 2006 11:24:23 +1000
Norberto Meijome [EMAIL PROTECTED] wrote:

 Hi, i need to contact the admin in charge of postfix @
 mx1.freebsd.org. is [EMAIL PROTECTED] the right
 address?
 

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributors/staff-who.html
-- [EMAIL PROTECTED] , of course.

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


Re: How to Stop Bruit Force ssh Attempts?

2006-04-11 Thread Jonathan Franks


On Mar 18, 2006, at 12:39 PM, Chris Maness wrote:

In my auth log I see alot of bruit force attempts to login via  
ssh.  Is there a way I can have the box automatically kill any tcp/ 
ip connectivity to hosts that try and fail a given number of  
times?  Is there a port or something that I can install to give  
this kind of protection.  I'm still kind of a FreeBSD newbie.


If you are using PF, you can use source tracking to drop the  
offenders in to a table... perhaps after a certain number of attempts  
in a given time (say, 5 in a minute). Once you have the table you're  
in business... you can block based on it... and then set up a cron  
job to copy the table to disk every so often (perhaps once every two  
minutes). It works very well for me, YMMV.


If you don't want to block permanently, you could use cron to flush  
the table every so often too... I don't bother though.


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


Re: Wanted: Flash player for browser_of_choice....

2006-04-11 Thread Gary Kline
On Tue, Apr 11, 2006 at 08:53:23PM -0400, Chris Hill wrote:
 On Tue, 11 Apr 2006, Gary Kline wrote:
 
 On Tue, Apr 11, 2006 at 06:41:16PM -0500, Eric Schuele wrote:
 Joseph Vella wrote:
 On Tuesday 11 April 2006 06:47, Eric Schuele wrote:
 [Hoping this isn't too OT for the list]
 
 So... now that www/linux-flashplugin* are gone,  I was hoping to get
 opinions on which alternative flashplayer(s) are reasonably good.  I use
 firefox and would prefer a plugin for it... but am generally interested
 in the state of any flash player.  I know there are a handful in ports,
 just wanted some opinions.
 
 Could anyone please offer their opinion on
  - which alternative they are using
  - why
  - comment(s) on installation ease (or lack thereof)
  - is it a standalone or plugin
 
 
 I missed it.  Why is www/linux-flashplugin* gone?
 
 From /usr/ports/UPDATING:
 
 20060408:
   AFFECTS: users of www/linux-flashplugin*
   AUTHOR: [EMAIL PROTECTED]
 
   These ports have been removed because the End User License Agreement
   explicitly forbids to run the Flash Player on FreeBSD.
   For more details, see
 http://www.macromedia.com/shockwave/download/license/desktop/
 
  Good grief!  Is this even under linux-emulatio?  Oughtta read
  the URL.  WHat a pain!
 
 Seriously. But there it is, in section 3.a.(D) of the given URL:
   You may not use the Software on ... any operating system that
is not an Authorized Operating System.
 
 I wonder why Macromedia felt the need to pay their lawyers to add this 
 clause. I will email them and ask, if I can find a way to do so.
 
 Serious question: If one already happened to have this package 
 installed, could he hold onto it by editing pkgtools.conf to contain
 HOLD_PKGS = [
   'linuxpluginwrapper*',
 ]
 
 ?
 

I don't see why the above wouldn't work; there are a few 
ports I have in the HOLD_PKGS list.  They're still working.

I've done some hacking the past few weeks on tools to aide
HTML stuff for books I'll soon put up, so I haven't quit 
programming altgether.  So: what's the consensus on
*us* andor the open-src community getting together and
doing our own free version of this shock/flash stuff?
I'm read to volunteer.

gary



-- 
   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: Wanted: Flash player for browser_of_choice....

2006-04-11 Thread Eric Schuele

Chris Hill wrote:

On Tue, 11 Apr 2006, Gary Kline wrote:


On Tue, Apr 11, 2006 at 06:41:16PM -0500, Eric Schuele wrote:

Joseph Vella wrote:

On Tuesday 11 April 2006 06:47, Eric Schuele wrote:

[Hoping this isn't too OT for the list]

So... now that www/linux-flashplugin* are gone,  I was hoping to get
opinions on which alternative flashplayer(s) are reasonably good.  
I use
firefox and would prefer a plugin for it... but am generally 
interested
in the state of any flash player.  I know there are a handful in 
ports,

just wanted some opinions.

Could anyone please offer their opinion on
 - which alternative they are using
 - why
 - comment(s) on installation ease (or lack thereof)
 - is it a standalone or plugin



I missed it.  Why is www/linux-flashplugin* gone?


From /usr/ports/UPDATING:

20060408:
  AFFECTS: users of www/linux-flashplugin*
  AUTHOR: [EMAIL PROTECTED]

  These ports have been removed because the End User License Agreement
  explicitly forbids to run the Flash Player on FreeBSD.
  For more details, see
http://www.macromedia.com/shockwave/download/license/desktop/



Good grief!  Is this even under linux-emulatio?  Oughtta read
the URL.  WHat a pain!


Seriously. But there it is, in section 3.a.(D) of the given URL:
  You may not use the Software on ... any operating system that
   is not an Authorized Operating System.

I wonder why Macromedia felt the need to pay their lawyers to add this 
clause. I will email them and ask, if I can find a way to do so.


Serious question: If one already happened to have this package 
installed, could he hold onto it by editing pkgtools.conf to contain

HOLD_PKGS = [
  'linuxpluginwrapper*',
]

?


Legally?  I'm no lawyer... but the EULA seems rather explicit.  I'd say no.

Would that hold it?  Well yes, I believe so. (Or at least something very 
similar).  In fact you could go so far (not that I'm condoning it) as to 
tuck the distfiles away.


Either way... I hope somehow they see fit to loosen the language a bit 
in the future.




Thanks.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]




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


Re: Wanted: Flash player for browser_of_choice....

2006-04-11 Thread Paul Schmehl
--On April 11, 2006 6:35:27 PM -0700 Gary Kline [EMAIL PROTECTED] 
wrote:


I've done some hacking the past few weeks on tools to aide
HTML stuff for books I'll soon put up, so I haven't quit
programming altgether.  So: what's the consensus on
*us* andor the open-src community getting together and
doing our own free version of this shock/flash stuff?
I'm read to volunteer.

open_flash?  I'm all for it.  You don't want my programming skills, but 
I'll help in other ways, if I can.  Research?  Docs?


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/

Re: 6.1-PRERELEASE CVSUP tag=???

2006-04-11 Thread Nikolas Britton
On 4/11/06, Daniel Bye [EMAIL PROTECTED] wrote:
 On Tue, Apr 11, 2006 at 05:25:25PM -0600, Bryan Curl wrote:
  What is the cvsup tag for getting  6.1-PRERELEASE src?
 
  I think it should be tag=RELENG_6_1 .
 
  Can I use src-all for this revision to upgrade from where I am now?
 
  Right now I am:   ...  6.0-RELEASE-p6 #0: Tue Apr  4 09:43:53 MDT
  2006 ...

 Take a look at the announcement here:

 http://lists.freebsd.org/pipermail/freebsd-hackers/2006-March/015730.html

 The tag you want is RELENG_6.  It will become RELENG_6_1 when the
 official release is made.


the branch for 6.1 was cut on the 5th, you can cvsup to 6.1 now using
the RELENG_6_1 tag... at this point if you sync up with RELENG_6 you
will drive passed 6.1.


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


Re: Wanted: Flash player for browser_of_choice....

2006-04-11 Thread Gary Kline
On Tue, Apr 11, 2006 at 08:52:05PM -0500, Eric Schuele wrote:
 Gary Kline wrote:
  I've done some hacking the past few weeks on tools to aide
  HTML stuff for books I'll soon put up, so I haven't quit 
  programming altgether.  So: what's the consensus on
  *us* andor the open-src community getting together and
  doing our own free version of this shock/flash stuff?
 
 There are a few in ports.  Though I was hoping (via this thread) to get 
 opinions on which were good.  Presently, I'm experimenting 
 (unsuccessfully) with gnash.
 
  I'm read to volunteer.
 
What is gnash? (Or should I just poke around!)  ...I've 
seen the GNU shock/flash/whatever port and figured it 
was the only thing remotely resembling the flashwave stuff.
--Um, I should say,  straight away, that audio/vidio is 
not among my strengths.  But point me at any ancillary or
miscellaneous code and I either have it or can put it '
together.  --My strenths are porting, testing, general
systems analysis, and (very old) driver hacking.

What are the other ports you know of that we could leverage
off?

thanks,

gary



-- 
   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: Wanted: Flash player for browser_of_choice....

2006-04-11 Thread Eric Schuele

Gary Kline wrote:

On Tue, Apr 11, 2006 at 08:52:05PM -0500, Eric Schuele wrote:

Gary Kline wrote:

I've done some hacking the past few weeks on tools to aide
	HTML stuff for books I'll soon put up, so I haven't quit 
	programming altgether.  So: what's the consensus on

*us* andor the open-src community getting together and
doing our own free version of this shock/flash stuff?
There are a few in ports.  Though I was hoping (via this thread) to get 
opinions on which were good.  Presently, I'm experimenting 
(unsuccessfully) with gnash.



I'm read to volunteer.

	What is gnash? (Or should I just poke around!)  


Actually, after a bit more poking gnash seems to be all there is 
(someone please correct me).  All the other projects appear to have a 
common source and many of those devs are moving to gnash?


gnash can be found at :
  http://www.gnu.org/software/gnash/
and there is a port:
  graphics/gnash

I've installed the port yet got nothing useful out of it yet.  The 
project's goal AFAIK is to produce a firefox flash plugin.  Supposedly 
the port and plugin do work (to some extent) on FreeBSD I'm just 
having no luck yet.


 ...I've 
	seen the GNU shock/flash/whatever port and figured it 
	was the only thing remotely resembling the flashwave stuff.
	--Um, I should say,  straight away, that audio/vidio is 
	not among my strengths.  But point me at any ancillary or

miscellaneous code and I either have it or can put it '
together.  --My strenths are porting, testing, general
systems analysis, and (very old) driver hacking.

What are the other ports you know of that we could leverage
off?

thanks,

gary






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


Re: How to Stop Bruit Force ssh Attempts?

2006-04-11 Thread Adam Stroud
I second that.  I have been doing the same thing (except running an 
OpenBSD firewall that blocks the offenders via pf) and it works like a 
charm.


A

Jonathan Franks wrote:


On Mar 18, 2006, at 12:39 PM, Chris Maness wrote:

In my auth log I see alot of bruit force attempts to login via ssh.  
Is there a way I can have the box automatically kill any tcp/ip 
connectivity to hosts that try and fail a given number of times?  Is 
there a port or something that I can install to give this kind of 
protection.  I'm still kind of a FreeBSD newbie.


If you are using PF, you can use source tracking to drop the offenders 
in to a table... perhaps after a certain number of attempts in a given 
time (say, 5 in a minute). Once you have the table you're in 
business... you can block based on it... and then set up a cron job to 
copy the table to disk every so often (perhaps once every two 
minutes). It works very well for me, YMMV.


If you don't want to block permanently, you could use cron to flush 
the table every so often too... I don't bother though.


-Jonathan
___
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: How to Stop Bruit Force ssh Attempts?

2006-04-11 Thread Chris Maness

Jonathan Franks wrote:



On Mar 18, 2006, at 12:39 PM, Chris Maness wrote:

In my auth log I see alot of bruit force attempts to login via  ssh.  
Is there a way I can have the box automatically kill any tcp/ ip 
connectivity to hosts that try and fail a given number of  times?  Is 
there a port or something that I can install to give  this kind of 
protection.  I'm still kind of a FreeBSD newbie.



If you are using PF, you can use source tracking to drop the  
offenders in to a table... perhaps after a certain number of attempts  
in a given time (say, 5 in a minute). Once you have the table you're  
in business... you can block based on it... and then set up a cron  
job to copy the table to disk every so often (perhaps once every two  
minutes). It works very well for me, YMMV.


If you don't want to block permanently, you could use cron to flush  
the table every so often too... I don't bother though.


-Jonathan


I use a port called DenyHost.  It adds an entry to hosts.allow that 
denies access.

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


Re: How to Stop Bruit Force ssh Attempts?

2006-04-11 Thread John Cruz
I used to have problems with brute force attempts as well. I just 
changed the port that SSH uses (TCP/IP  port, not ports collection 
port) and the problems have stopped. I made it something that means 
something to me and maybe not others, so it's a simple and powerful way 
of getting the job done.


-John

Chris Maness wrote:

Jonathan Franks wrote:



On Mar 18, 2006, at 12:39 PM, Chris Maness wrote:

In my auth log I see alot of bruit force attempts to login via  
ssh.  Is there a way I can have the box automatically kill any tcp/ 
ip connectivity to hosts that try and fail a given number of  
times?  Is there a port or something that I can install to give  
this kind of protection.  I'm still kind of a FreeBSD newbie.



If you are using PF, you can use source tracking to drop the  
offenders in to a table... perhaps after a certain number of 
attempts  in a given time (say, 5 in a minute). Once you have the 
table you're  in business... you can block based on it... and then 
set up a cron  job to copy the table to disk every so often (perhaps 
once every two  minutes). It works very well for me, YMMV.


If you don't want to block permanently, you could use cron to flush  
the table every so often too... I don't bother though.


-Jonathan


I use a port called DenyHost.  It adds an entry to hosts.allow that 
denies access.

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


DumpDev on GELI device...

2006-04-11 Thread Norberto Meijome
Hi guys,
my swap is GELI enabled ( /dev/ad0s1b.eli is my swap, with a one-time
key). 

Would I be able to do something like the following in rc.conf and
still work properly?:

dumpdir=/var/crash
dumpdev=/dev/ad0s1b

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


  1   2   >