Re: One Laptop Per Child

2007-11-19 Thread Jonathan McKeown
[Ted Mittelstaedt's words, heavily edited for brevity. Ted, please shout if I 
haven't caught the sense of what you're saying]

> Well, I know it's been a week since this came up but I'll toss in my
> $0.02 here.  I've been against this project since I heard about it.
> Fortunately, it appears to be failing.

> IMHO what these kids need are connections to the Internet and the
> knowledge store on the Internet, not a laptop. What a laptop that
> isn't networked to the Internet is going to do to help them I cannot
> guess.

> The idea of this project seems to have been to just dump a lot of
> laptops into these kids hands and trust that the network fairies
> will magically fly out and connect all of them to something they can
> use.

> The other problem of course is that laptops are more fragile than a
> desktop that is fixed, and very subject to theft, much more than a
> desktop.

> I suppose they figure ... the kid will be able to come up with the
> $10-$20 monthly equivalent to keep the internet connection to the
> thing going?  Assuming they even have a phone at all?

As I understand it, the OLPC project has produced an extremely robust laptop 
which can be human-powered. A group of these laptops will automatically form 
a wireless mesh network and make use, collectively, of any Internet 
connectivity that's available to any one of them. In sub-Saharan Africa, that 
may well be through cellular data. (Satellite is available too, but a lot 
more expensive).

Look at  to see a social 
project by a cellular provider in South Africa which is putting telephone 
access within reach (both geographically and financially) of traditional 
rural communities. Note the statistic that Vodacom's cellular network covers 
93% of South Africa's population. Note also that this is being done, not as a 
free handout, but by creating a (slightly subsidised) business opportunity 
for local people, which is being seized with both hands. People don't need to 
be handed everything on a plate.

Now consider what a community can do when it can pool the cost of Internet 
connectivity - or what a force multiplier this is for government, 
non-governmental or even business intervention: this potentially reduces the 
problem of providing decent bandwidth to every farm and hut in rural Africa 
(or any other developing area) to a much simpler matter of wiring a few 
central points and letting the mesh networks take over the distribution.

> It would have been better to try creating a project that would
> produce a turnkey Internet network deployment that would be able to
> be dropped into any school anywhere, even if such a school consisted
> of a hut in the middle of a desert with a hole out back as the
> bathroom, no electricity, no running water, no telephone lines
> within 100 miles.

As far as I can see, the only bit of this equation OLPC isn't achieving is 
providing the Internet connectivity - and to be honest, I think that bit has 
to depend on local circumstances anyway. I think it deserves to succeed.

Jonathan (a sysadmin in urban South Africa)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: firefox+flash = i'cant got to my shell

2007-11-19 Thread Frank Shute
On Sun, Nov 18, 2007 at 10:12:04PM -0800, Viktor Penkov wrote:
>
> Hello.I want to install flash and using it with firefox.I used this
> guide ->
> http://freebsdgirl.com/2005/06/freebsd_firefox_flash.html

That guide is almost 3 yrs old. Totally useless.

> When i rebooted my system i got this message " /libexec/ld-elf.so.1:
> shared object "pluginwrapper/flash6.so" not found,  required by
> "-sh" /libexec/ld-elf.so.1: shared object "pluginwrapper/flash6.so"
> not found, required by "sh" Enter full pathname of shell or RETURN
> for /bin/sh: I can't get into my shell.  I tryed to use /rescue.
> When it asked me again for the pathname i typed this "/rescue/sh".I
> wanted to edit the libmap.conf with vi but when i typed vi i got
> this "vi: no terminal database found"  
>
> How to fix this? Thnx

When you get the prompt to hit return for /bin/sh, do so. You will be
given a prompt, then you can mount your partitions, fire up vi & undo
everything you did to "install" flash. After that reboot into the
normal, multi-user mode.

To install flash, search the archive of this list. In the last few
months the installation of flash has come up more than once. It's
fairly straightforward: install linux-flashplugin & then
nspluginwrapper & run it. It works with native firefox.

-- 

 Frank 


 Contact info: http://www.esperance-linux.co.uk/misc/contact.html 

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


Re: firefox+flash = i'cant got to my shell

2007-11-19 Thread Frank Shute
Hi Viktor,

Looking at that page, you don't need to mount your partitions. You
should be able to edit /etc/libmap.conf directly.

Apologies for the error.

-- 

 Frank 


 Contact info: http://www.esperance-linux.co.uk/misc/contact.html 

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


FreeBSD, 160GB HD, and a Bios limitation

2007-11-19 Thread Christoper Tucker
Hi there

I have a 600mhz PIII computer with an older BIOS that will not recognize
my 160GB new HD that I installed for use with FreeBSD.

I can install FBSD if I limit the drive to 32GB, but before I settle with
that, is there a way I can access the entire drive ... perhabs by using a
smaller drive to install on, then by mounting the larger drive? Or is
there a way I can do this by booting off a floppy/CD/compactflash media?

Thanks for any response!

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


Changing the boot device from PXE to hard disk

2007-11-19 Thread Javier Martín Rueda
I have set up a simple unattended installation system for FreeBSD, so 
that I can manually configure a group of computers to boot with PXE, and 
when they boot they will automatically install FreeBSD.


The final step would be to configure the BIOS to boot from the first 
hard drive. So far I can do that manually by pressing "Del" when the 
computer boots and entering the ROM BIOS setup program, but I would like 
to know if it is possible somehow to change the boot device priority in 
the BIOS from FreeBSD?


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


RE: What server for a mail server

2007-11-19 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Olivier Nicole
> Sent: Tuesday, November 13, 2007 6:05 PM
> To: freebsd-questions@freebsd.org
> Subject: What server for a mail server
> 
> 
> Hi,
> 
> I have a project where I should set-up a mail server for approximately
> 12000 users, 4000 virtual domains, 15000 messages per day, 700 MB
> traffic per day.
> 

15000 messages is completely unrealistic for 12000 users unless this
mailserver has no way to receive Internet mail.  Try a number more
along the lines of 1.2 million messages a day, most of which are
spam that you will delete before they get to the users mailbox.

> The machine should run Postfix, courrier-imap and a web mail (probably
> squirel), Apache 2, spamassassin, clamav, greylist

Totally inappropriate and will not work.  Your going to be lucky to
get it to run with just the stuff that HAS to be on it.  That is,
the MTA itself and the anti-spam scanning and the POP/IMAP server.
Putting webmail on it will drown it.  You will need a second box
for that.  Most likely you really need a cluster of at least 4 servers
here.  2 input filters that spam scan and virus scan and just send
the filtered mail to the 3rd server which does pop/imap and outbound
mail, and a 4th that just does webmail.

If your looking at squirrel it's pretty clear to me that you do not
have experience with large busy mailservers.  Not that squirrel and
postfix and courier couldn't do it - rather that they are chosen by
inexperienced people because they are perceived to be easy to use.
If that is the case your in over your head.  Get some help before
you botch it.

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


fromharikrishna

2007-11-19 Thread hari krishna
i want a link to download the free BSD 6.1 os through http

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


Re: What server for a mail server

2007-11-19 Thread Graham Bentley

Get some help before you botch it.


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


Fluxbox Themes on FreeBSD Question

2007-11-19 Thread Graham Bentley

Hi All,

Does anyone remmeber from ages ago there was a theme
pack tarball knocking about for Fluxbox - must have had 
about 20 themes in it, some with backgrounds. 

I have Googled about and looked at the ones in ports 
but thats not them.


Anyone know where I might find this now such along time
has passed (probably 3-4 years ago!) Maybe it was on a
Mandrake repo 

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


RE: fromharikrishna

2007-11-19 Thread Barry Byrne
 > -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of hari krishna
> Sent: 19 November 2007 12:01
> To: freebsd-questions@FreeBSD.org
> Subject: fromharikrishna
> 
> i want a link to download the free BSD 6.1 os through http
> 
> can u help me in this

The handbook list mirror sites. Some are http some are ftp.

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

 - barry

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


Re: FreeBSD, 160GB HD, and a Bios limitation

2007-11-19 Thread RW
On Mon, 19 Nov 2007 02:27:58 -0700 (MST)
Christoper Tucker <[EMAIL PROTECTED]> wrote:

> Hi there
> 
> I have a 600mhz PIII computer with an older BIOS that will not
> recognize my 160GB new HD that I installed for use with FreeBSD.
> 
> I can install FBSD if I limit the drive to 32GB, but before I settle
> with that, is there a way I can access the entire drive 

Have you tried and failed to install FreeBSD?  

Normally the limititation is just that the root partition must be within
the area that the bios can see. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ACLs and tar(1) (bsdtar)

2007-11-19 Thread Andrew Pantyukhin
Is there a reliable way to store ACLs in tar archives? I've tried
to create with "tar cpf" and extract with "tar xpf" with no luck.
Only flags are extracted correctly. Should I use another format
(I've tried pax as per default and ustar)? Is it possible at all?

I'll be glad to hear about any solution which allows for
selective archival of a file system. I.e. anything except for
dump/restore. So far I haven't had any luck with pax and cpio.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: hyperthreading CPU and broken scheduling?

2007-11-19 Thread Bill Moran
In response to Dinesh Nair <[EMAIL PROTECTED]>:

> On Sun, 18 Nov 2007 12:29:32 +0200, Manolis Kiagias wrote:
> 
> > Wojciech Puchar wrote:
> > > i have machune with intel's CPU with hyperthreading.
> > >
> > > it is detected right, but only first thread is ever used.
> > >
> > > top shows at least 50% idle no matter what i run!
> > >
> > > what's wrong?
> > To enable hyperthreading, try setting the following in /etc/sysctl.conf:
> > 
> > machdep.hyperthreading_allowed=1
> > 
> > and reboot (or execute sysctl machdep.hyperthreading_allowed=1 by hand).
> 
> would an SMP kernel be required to properly use hyperthreading, or would
> just the above sysctl setting be enough ?

The SMP kernel is required as well.

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


Dual boot from ntloader on Dell

2007-11-19 Thread Victor M. Blood
Hi, All.

Dell Inspiron 1300, BIOS revision A10

Then I try to boot from ntloader, I got this messages:
Invalid slice
Invalid slice
No /boot/loader

FreeBSD/i386 boot
Default: 0:ad(0,a)/boot/kernel/kernel
boot:
Invalid slice
No /boot/kernel/kernel

FreeBSD/i386 boot
Default: 0:ad(0,a)/boot/kernel/kernel
boot:

try to manual change slice
0:ad(0,1,a) ... etc

on my HDD 3 primary partition, and if I try 0:ad(0,4,a) system say
BEEP :)

0:ad(0,1-3,a)result: Invalid slice
0:ad(0,4,a) BEEP
0:ad(1,1-3,a)result: Invalid slice
0:ad(1,4,a) BEEP

1:ad(0-1,a) error 7, lba 0

in boot.ini
C:\boot1="FreeBSD CURRENT"

boot1 copyed by ffs.sys after FreeBSD install and work
in MBR installed boot0 file, whic change of active partition to boot
system.
= boot0 prompt
F1. DOS
F2. FreeBSD
(F1)
Chose FreeBSD CURRENT
got errors from boot2
stop

please help with dual boot by the ntldr

-- 
With all regards, Victor M. Blood. mailto: [EMAIL PROTECTED]
FTN: 2:5024/[EMAIL PROTECTED], ICQ#3567656




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


Re: FreeBSD router and WCCP

2007-11-19 Thread Steve Bertrand
Andrew Pantyukhin wrote:
> On Fri, Nov 16, 2007 at 12:48:52PM -0500, Steve Bertrand wrote:
>> Does anyone know of a way to configure WCCP redirect support into a
>> FreeBSD based router without having to install squid?
> 
> I've only used FreeBSD as a WCCPv1/v2 sink (receiver), but you
> can try sending out packets out of gre(4). That should probably
> work.
> 
> If you're trying to redirect traffic to another machine running
> squid, consider avoiding WCCP, it's not a very bright protocol.j

Thanks for the response.

We are deploying a commercial appliance as a content filter, so I can
only assume that it is running a customized version of Squid but I don't
know.

Do you have any recommendation on what I should use if WCCP is not
recommended?

The filter will not be inline, and it will be an opt-in type service, so
only certain traffic will need to be redirected.

Tks,

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


Re: FreeBSD router and WCCP

2007-11-19 Thread Andrew Pantyukhin
On Mon, Nov 19, 2007 at 08:58:34AM -0500, Steve Bertrand wrote:
> Andrew Pantyukhin wrote:
> > On Fri, Nov 16, 2007 at 12:48:52PM -0500, Steve Bertrand wrote:
> >> Does anyone know of a way to configure WCCP redirect support into a
> >> FreeBSD based router without having to install squid?
> > 
> > I've only used FreeBSD as a WCCPv1/v2 sink (receiver), but you
> > can try sending out packets out of gre(4). That should probably
> > work.
> > 
> > If you're trying to redirect traffic to another machine running
> > squid, consider avoiding WCCP, it's not a very bright protocol.j
> 
> Thanks for the response.
> 
> We are deploying a commercial appliance as a content filter, so I can
> only assume that it is running a customized version of Squid but I don't
> know.
> 
> Do you have any recommendation on what I should use if WCCP is not
> recommended?

ipfw forwarding is a very easy way to redirect traffic without
changing it. PF has similar functionality. It all depends on what
the appliance supports. If wccp is the only way it can eat
packets, try playing with gre(4). But maybe it'll consume just
plain packets with "wrong" IP destinations arriving on its MAC
address, just the way squid on FreeBSD does.

BTW, if the appliance supports ICAP, you'll be much better off
running squid on a FreeBSD box and filtering content through
ICAP.

> The filter will not be inline, and it will be an opt-in type service, so
> only certain traffic will need to be redirected.

You'll be able to use ipfw or pf to tune the policies to a very
fine degree.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


how to delete a file?

2007-11-19 Thread Jack Raats
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Due to an error I made the following file

- -rw-r--r--  1 jos  jos0 Nov 19 15:34 -
- -rw-r--r--  1 jos  jos  767 Nov 19 15:39 .cshrc
drwx--  3 jos  jos  512 Nov 19 15:40 .imap

How to delete the - file
rm "-" doesnot work (even with root access)

Jack
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32) - GPGrelay v0.959

iD8DBQFHQaF6Ph5RwW/NzC4RAn22AJ9eTlNKa1oC2b4EUsvp+kxIuetcMwCdGBDa
5UWXoLWBPaqBkaky+K1JQ6c=
=Lx8W
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


how to delete a file?

2007-11-19 Thread Robert Huff
Jack Raats writes:

>  - -rw-r--r--  1 jos  jos0 Nov 19 15:34 -
>  - -rw-r--r--  1 jos  jos  767 Nov 19 15:39 .cshrc
>  drwx--  3 jos  jos  512 Nov 19 15:40 .imap
>  
>  How to delete the - file
>  rm "-" doesnot work (even with root access)

man rm, section NOTES


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


RE: how to delete a file?

2007-11-19 Thread Barry Byrne
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Jack Raats

> Due to an error I made the following file
> 
> - -rw-r--r--  1 jos  jos0 Nov 19 15:34 -
> - -rw-r--r--  1 jos  jos  767 Nov 19 15:39 .cshrc
> drwx--  3 jos  jos  512 Nov 19 15:40 .imap
> 
> How to delete the - file
> rm "-" doesnot work (even with root access)

Jack:

rm -- "-"

should do the trick.

 - barry

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


Re: FreeBSD router and WCCP

2007-11-19 Thread Steve Bertrand

> ipfw forwarding is a very easy way to redirect traffic without
> changing it. PF has similar functionality. It all depends on what
> the appliance supports. If wccp is the only way it can eat
> packets, try playing with gre(4). But maybe it'll consume just
> plain packets with "wrong" IP destinations arriving on its MAC
> address, just the way squid on FreeBSD does.
> 
> BTW, if the appliance supports ICAP, you'll be much better off
> running squid on a FreeBSD box and filtering content through
> ICAP.

The appliance does indeed have ICAP capabilities, but I have never
dabbled with it before.

I am familiar with IPFW, but I'd like to know all options in order to
choose the best one.

I would very much prefer to do this in a way without having to have
Squid running on the box, but will if I have to.

>> The filter will not be inline, and it will be an opt-in type service, so
>> only certain traffic will need to be redirected.
> 
> You'll be able to use ipfw or pf to tune the policies to a very
> fine degree.

Thanks for your help!

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


Re: Download FreeBSD 6.1 through HTTP [Was: fromharikrishna]

2007-11-19 Thread Bahman Movaqar
On Mon, 19 Nov 2007 17:30:58 +0530, "hari krishna"
<[EMAIL PROTECTED]> wrote:

> i want a link to download the free BSD 6.1 os through http
> 
> can u help me in this

Check the handbook for a list of mirrors
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/).

Also, I'd suggest you always try to use some meaningful subject to your
email as it increases the chance of getting an answer.

HTH,

-- 
Bahman Movaqar

Do not fear death so much but rather the inadequate life.
-Bertolt Brecht
___
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 delete a file?

2007-11-19 Thread Wojciech Puchar

- -rw-r--r--  1 jos  jos0 Nov 19 15:34 -
- -rw-r--r--  1 jos  jos  767 Nov 19 15:39 .cshrc
drwx--  3 jos  jos  512 Nov 19 15:40 .imap

How to delete the - file
rm "-" doesnot work (even with root access)



rm -- -

will work. everything after -- is forced to be used as filenames not 
options

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


Re: FreeBSD router and WCCP

2007-11-19 Thread Andrew Pantyukhin
On Mon, Nov 19, 2007 at 10:10:43AM -0500, Steve Bertrand wrote:
> 
> > ipfw forwarding is a very easy way to redirect traffic without
> > changing it. PF has similar functionality. It all depends on what
> > the appliance supports. If wccp is the only way it can eat
> > packets, try playing with gre(4). But maybe it'll consume just
> > plain packets with "wrong" IP destinations arriving on its MAC
> > address, just the way squid on FreeBSD does.
> > 
> > BTW, if the appliance supports ICAP, you'll be much better off
> > running squid on a FreeBSD box and filtering content through
> > ICAP.
> 
> The appliance does indeed have ICAP capabilities, but I have never
> dabbled with it before.
> 
> I am familiar with IPFW, but I'd like to know all options in order to
> choose the best one.
> 
> I would very much prefer to do this in a way without having to have
> Squid running on the box, but will if I have to.

If filtering is all you want, you don't have to set up squid as a
caching proxy. I.e. it won't need much RAM and disk space. I have
yet to set up ICAP (with c-icap) in our workshop, but from
discussions on squid mailing lists it seems ICAP is in a pretty
usable state, both in squid 2.x and 3.x.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: What server for a mail server

2007-11-19 Thread Wojciech Puchar


I have a project where I should set-up a mail server for approximately
12000 users, 4000 virtual domains, 15000 messages per day, 700 MB
traffic per day.


200 mails*users/day is safe assumption. maybe 1-2 of them won't be spams
means about 2.5 million mails a day, assume 5 millions because there are 
hours of low and high load.


i would use jail for a virtual domain and users on those - in this jail, 
use nullfs to share /usr (and save memory), sendmail+procmail+spamassassin 
works fine.


it WILL survive this on average modern machine (but with 4 or more disks) 
without problems, unless spamassassin turned off.


if not - it will need possible a few machines. POSSIBLY on one, with 2-4 
cores and lots of RAM, and properly configured spamassassin.


having every domain as jail makes it easy.

it server can't cope with this, add second and move some of it's jail to 
other. moving jails between servers is very easy.


for mail reception i would recommend dovecot. it just works (TM), supports 
imap, pop3, imap/ssl, pop3/ssl.


for webmail (if needed) - sqwebmail. it it's based on php or other crap, 
just normal C program that runs quick. webpage look can be customized by 
editing HTMLs.



BTW - anyone knows faster antispam software than spamassassin, but still 
very good.


spamassassin is mostly perl so it's bulky and slow, but it's excellent in 
not removing true mails, while removing spam very well. of course 
sa-update&sa-compile is a must.


hope it helps. i don't have such a load but about 1500 users total, 
running on single CPU (P4) machine with 1GB RAM and 3 disks,doing other 
things in the same time, and it doesn't have a problems doing this.

with spamassassin and arcavir (polish anti-virus program)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD router and WCCP

2007-11-19 Thread Steve Bertrand
>> I am familiar with IPFW, but I'd like to know all options in order to
>> choose the best one.
>>
>> I would very much prefer to do this in a way without having to have
>> Squid running on the box, but will if I have to.
> 
> If filtering is all you want, you don't have to set up squid as a
> caching proxy. I.e. it won't need much RAM and disk space. I have
> yet to set up ICAP (with c-icap) in our workshop, but from
> discussions on squid mailing lists it seems ICAP is in a pretty
> usable state, both in squid 2.x and 3.x.

Essentially, I simply need a method to redirect layer 3/4 traffic
destined for anything:80 from the router to the appliance.

I've got a few options now, so I'll be testing all of them in the coming
days.

Thanks for your suggestions.

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


Networker

2007-11-19 Thread Paul Urdanivia
Hi:

The EMC Networker is supported in freebsd  ?

 

___
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 delete a file?

2007-11-19 Thread Jean-Pierre Trophardy
On Mon, Nov 19, 2007 at 03:45:14PM +0100, Jack Raats wrote:
> Due to an error I made the following file
> 
> - -rw-r--r--  1 jos  jos0 Nov 19 15:34 -
> - -rw-r--r--  1 jos  jos  767 Nov 19 15:39 .cshrc
> drwx--  3 jos  jos  512 Nov 19 15:40 .imap
> 
> How to delete the - file
> rm "-" doesnot work (even with root access)
> 
> Jack

Hello Jack,

rm -- ""
   ^^ (dont forget to add two of them)

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


Re: Website

2007-11-19 Thread Jerry McAllister
On Sun, Nov 18, 2007 at 10:40:27AM -0600, Chris wrote:

> On Sun, 18 Nov 2007 16:34:56 +
> "Frank Shute" <[EMAIL PROTECTED]> wrote:
> 
> > On Sun, Nov 18, 2007 at 09:41:51AM -0600, Chris wrote:
> > >
> > > ... seems to be going bonkers?!
> > > 
> > > -- 
> > > Best regards,
> > > Chris
> > 
> > 
> > Your post is a little short of information.
> > 
> > http://www.catb.org/~esr/faqs/smart-questions.html
> > 
> > HTH
> > 
> 
> Not at all. I assume most on this list are intelligent enough to click
> on a browser and head to the FBSD site to see it's not functioning.


Oh, you mean the FreeBSD website, not yours.

jerry


> 
> Now as to the cause - who knows.
> 
> -- 
> Best regards,
> Chris
> 
> I swear on tomorrow, if you take this chance, 
> Our lives are this moment, the music - the dance.
> And here in this labyrinth of lost mysteries, 
> I close my eyes on this night and you're all that I see.
> 
> ___
> 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: dealing with a failing drive

2007-11-19 Thread David Newman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/18/07 11:30 PM, Ted Mittelstaedt wrote:
> Hi David,  apologies to Jerry for jumping in.
> 
> Compaq uses several RAID cards most are under the so-called
> "SmartArray" using the ida driver.  If this is yours, you can
> use a utility called "idacontrol" that can monitor the array,

Hi Ted,

Thanks much for this info. I'm pleased to report that idacontrol thinks
the logical array is in good shape. (This is on an identical server; I
moved both disks from a RAID1 array there after the first server started
reporting write and read errors.)


> NOTE:
> 
> The smart utility only works on SATA or ATA/IDE drives, not SCSI.

Yes. I've heard it said that "SMART isn't."

This Proliant DL320 server uses a SmartArray controller and SCSI disks.
SMART or not, is there a way of monitoring the health of the physical
disks from within FreeBSD?

thanks again!

dn



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFHQb1WyPxGVjntI4IRAhZwAKCzS4yKRyeJZDXm2pq+aIL8VMBKQQCfUpq3
+eThP189Kav2DSRVAgDdbDI=
=coqi
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


evolution problems.

2007-11-19 Thread Gary Kline
Has anybody had any recent problems exec'ing evo?  Say, in
just the past several days?  Here is output to the screen when I
involve it from the cmd line:



p0 9:17  [164] evolution
CalDAV Eplugin starting up ...
Loading Spamassasin as the default junk plugin
** (evolution:44175): DEBUG: mailto URL command: evolution %s
** (evolution:44175): DEBUG: mailto URL program: evolution

warning: Unable to get location for thread creation breakpoint: generic
error
Backtrace limit of 200 exceeded
/usr/local/share/bug-buddy/gdb-cmd:3: Error in sourced command file:
Backtrace limit of 200 exceeded
Backtrace limit of 200 exceeded
zsh: killed evolution
p0 9:18  [165] LibGTop-Server: pid 44178 received eof.


As a FWIW, I should add that when I click on System -> Preferences
-> Preferred Application   I have chosen my Web Broswer and my
Mail Reader which are dark, but the "Command [evolution %s]"
is greyed-out.   Dunno if this means annything, but maybe.

Anybody see what's wrong here?

gary





-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


mount -u -o rw / not working on NFS?

2007-11-19 Thread Laszlo Nagy


 Hi All,

I have a system where a diskless FreeBSD 6.3 i386 machine boots with pxeboot 
from a FreeBSD 6.3 amd64 machine. I have lines in /etc/fstab for the diskless 
machine like:

# DeviceMountPoint  FsType  Options DumpPass
172.16.0.1:/usr /usrnfs rw  0   0
172.16.0.1:/mnt/d2/rootfs/root  /root   nfs rw  0   0

The machine boots from network nicely, then I can login as root and invoke 
these commands:

mount -u -o rw /
mount -u -o rw /usr
mount -u -o rw /root

There is no error message on the console, nor in the system log. However, this 
happens afterwards:

diskless101#mkdir /aaa
mkdir aaa: Read-only file system

Question: if the remount did not succeed, why didn't it throw an error? If 
succeeded, why can't I write on the filesystem?

Thanks,

  Laszlo


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


NVIDIA glitch? w. AMD64

2007-11-19 Thread Wayne M Barnes
Dear FreeBSD,

I have tried to install 6.2 and 7.1beta onto a new computer.  The 
installs seem to start up fine, whether via FTP or from an install disc1
CD, but during the loading of the binaries, the installs reliably
encounter a "Signal 10 caught! That's bad!" or the Checksum fails on
the chunks being copied from the CD.

Is there a known incompatibility with these motherboard components,
which include 
CHIPSET 
NVIDIA GeForce 6100 & nForce 410
North Bridge: NVIDIA GeForce 6100
South Bridge: NVIDIA nForce 410   ?

http://www.ecs.com.tw/ECSWebSite/Products/ProductsDetail.aspx?detailid=653&DetailName=Specification&MenuID=46&LanID=0

UPDATING seemed to be discussing issues of NVIDIA in 2004,
but that should be over now, right?

I tried it with and without ACPI.

-- 

Wayne M. Barnes, Ph.D.[EMAIL PROTECTED]
Biochemistry Dept. 8231 fax:  314.754.9556
Washington Univ. Medical School ph:   314.362.3351  
660 South Euclid Ave., St. Louis, MO 63110
   http://barnes1.wustl.edu   Just plain Taq is old tech anymore.

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


permissions for www acting strangely

2007-11-19 Thread Steve Franks
Few weeks ago, I installed apache22.  Just wanted to put up some
family photos.  Whenever I tried to connect, got a "apache doesn't
have permisson to acess ~/. on this system or somesuch".  The only way
to get around it appeared to be a chmod 777 on my pic folder (no luck
with 775!).  Now I restored some stuff from a backup over my photos,
and now 777 won't work either.  Is there something fundamental about
permissions I am totally missing?

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


Re: evolution problems.

2007-11-19 Thread OutbackDingo
Yupp as soon as Beta3 arrived i see problems even getting it to load,
takes 5 minutes to just start it, though i dont know if i can say its
the OS


On Mon, 2007-11-19 at 09:30 -0800, Gary Kline wrote:
>   Has anybody had any recent problems exec'ing evo?  Say, in
>   just the past several days?  Here is output to the screen when I
>   involve it from the cmd line:
> 
> 
> 
> p0 9:17  [164] evolution
> CalDAV Eplugin starting up ...
> Loading Spamassasin as the default junk plugin
> ** (evolution:44175): DEBUG: mailto URL command: evolution %s
> ** (evolution:44175): DEBUG: mailto URL program: evolution
> 
> warning: Unable to get location for thread creation breakpoint: generic
> error
> Backtrace limit of 200 exceeded
> /usr/local/share/bug-buddy/gdb-cmd:3: Error in sourced command file:
> Backtrace limit of 200 exceeded
> Backtrace limit of 200 exceeded
> zsh: killed evolution
> p0 9:18  [165] LibGTop-Server: pid 44178 received eof.
> 
> 
>   As a FWIW, I should add that when I click on System -> Preferences
>   -> Preferred Application   I have chosen my Web Broswer and my
>   Mail Reader which are dark, but the "Command [evolution %s]"
>   is greyed-out.   Dunno if this means annything, but maybe.
> 
>   Anybody see what's wrong here?
> 
>   gary
> 
> 
> 
> 
> 

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


freebsd-update

2007-11-19 Thread Wojciech Puchar

---
The following files are affected by updates, but no changes have
been downloaded because the files have been modified locally:
/etc/rc.d/jail
---

how could i look at this update manually?


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


Re: permissions for www acting strangely

2007-11-19 Thread Peter Boosten
On Mon, November 19, 2007 18:35, Steve Franks wrote:
> Few weeks ago, I installed apache22.  Just wanted to put up some
> family photos.  Whenever I tried to connect, got a "apache doesn't have
> permisson to acess ~/. on this system or somesuch".  The only way to get
> around it appeared to be a chmod 777 on my pic folder (no luck with 775!).
> Now I restored some stuff from a backup over my photos,
> and now 777 won't work either.  Is there something fundamental about
> permissions I am totally missing?
>

Steve,

I suppose ~/ is your html_public in your homedir, right?
Apache runs as user www (and group www). So this user needs one way or the
other access to the mentioned directory (read and execute = 5).

Could it be that access is blocked on a higher level, say your homedir?

Peter


-- 
http://www.boosten.org

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


Re: permissions for www acting strangely

2007-11-19 Thread Laszlo Nagy

Steve Franks wrote:

Few weeks ago, I installed apache22.  Just wanted to put up some
family photos.  Whenever I tried to connect, got a "apache doesn't
have permisson to acess ~/. on this system or somesuch".  The only way
to get around it appeared to be a chmod 777 on my pic folder (no luck
with 775!).  Now I restored some stuff from a backup over my photos,
and now 777 won't work either.  Is there something fundamental about
permissions I am totally missing?
  
Look at your apache config file. Most probably, 
/usr/local/etc/apache22/httpd.conf.


Look for "User" and "Group" options - it tells you the user and group 
apache is running under.


Now look at the ownership of your files and directories. Apache needs to 
have rx on directories and r on file to read them.


One common approach for this problem is to set the "set group id" bit on 
your folder containing your photos, and do


chown user1:group1 -R yourfolder


Where:

   user1- can be you (?)
   group1 - should be the group apache is running under


Well, it is just a bad example. You need to develop your own strategy 
for security. They key is that you also need to check ownership. It is 
not enough to chmod, sometimes you need to chown.


Best,

  Laszlo


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


6.2->8.0 current w/ custom /etc/make.conf

2007-11-19 Thread Philip M. Gollucci
Hi All,

I've many times successfully gone to 7.0 or 8.0 current.

cat << EOF > /etc/make.conf
NO_ATM=true  # do not build ATM related programs and libraries
NO_AUTHPF=true   # do not build and install authpf (setuid/gid)
NO_FORTRAN=true  # do not build g77 and related libraries
NO_GAMES=true# do not build games (games/ subdir)
NO_GPIB=true # do not build GPIB support
NO_I4B=true  # do not build isdn4bsd package
NO_INET6=true# do not build IPv6 related programs and libraries
NO_OBJC=true # do not build Objective C support
NO_PF=true   # do not build PF firewall package
NO_PROFILE=true  # do not build Profiling libs
EOF

I have some other things, but they are irrelevant.
Next, I follow the standard steps in /usr/src/Makefile to upgrade.
including
make delete-old delete-old-libs

Next, After the final reboot, I did
# pkg_add -r bash sudo vim-lite
$ sysutils/libchk ; sudo make install clean
$ sudo libchk

Unresolvable link(s) found in: /sbin/pflogd
libc.so.6
libpcap.so.4
libutil.so.5
Unresolvable link(s) found in: /sbin/pfctl
libmd.so.3
libm.so.4
libc.so.6
Unresolvable link(s) found in: /sbin/atmconfig
libc.so.6
libbsnmp.so.3
/usr/bin/sscop
libngatm.so.2
libc.so.6
libnetgraph.so.2
libbegemot.so.2



Obviously, this is because of my /etc/make.conf.  I wonder if
make delete-old-* should account for and delete related files based on
NO_* Knobs ?

This was direct installed from 6.2-release CD and _immediately_ upgraded.

-- 

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: permissions for www acting strangely

2007-11-19 Thread Peter Boosten
On Mon, November 19, 2007 18:42, Peter Boosten wrote:

> I suppose ~/ is your html_public in your homedir, right?

Make that public_html (it has been a long time since I did something with
userdirs).

Peter


-- 
http://www.boosten.org

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


Re: evolution problems.

2007-11-19 Thread James Harrison
On Tue, 2007-11-20 at 01:34 +0800, OutbackDingo wrote:
> Yupp as soon as Beta3 arrived i see problems even getting it to load,
> takes 5 minutes to just start it, though i dont know if i can say its
> the OS
> 
That is *exactly* the same problem I started reporting with Beta 1.5.
I'm thinking I need to get in touch with [EMAIL PROTECTED]

James


> 
> On Mon, 2007-11-19 at 09:30 -0800, Gary Kline wrote:
> > Has anybody had any recent problems exec'ing evo?  Say, in
> > just the past several days?  Here is output to the screen when I
> > involve it from the cmd line:
> > 
> > 
> > 
> > p0 9:17  [164] evolution
> > CalDAV Eplugin starting up ...
> > Loading Spamassasin as the default junk plugin
> > ** (evolution:44175): DEBUG: mailto URL command: evolution %s
> > ** (evolution:44175): DEBUG: mailto URL program: evolution
> > 
> > warning: Unable to get location for thread creation breakpoint: generic
> > error
> > Backtrace limit of 200 exceeded
> > /usr/local/share/bug-buddy/gdb-cmd:3: Error in sourced command file:
> > Backtrace limit of 200 exceeded
> > Backtrace limit of 200 exceeded
> > zsh: killed evolution
> > p0 9:18  [165] LibGTop-Server: pid 44178 received eof.
> > 
> > 
> > As a FWIW, I should add that when I click on System -> Preferences
> > -> Preferred Application   I have chosen my Web Broswer and my
> > Mail Reader which are dark, but the "Command [evolution %s]"
> > is greyed-out.   Dunno if this means annything, but maybe.
> > 
> > Anybody see what's wrong here?
> > 
> > gary
> > 
> > 
> > 
> > 
> > 
> 
> ___
> 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: mount -u -o rw / not working on NFS?

2007-11-19 Thread James Harrison
On Mon, 2007-11-19 at 18:33 +0100, Laszlo Nagy wrote:
>   Hi All,
> 
> I have a system where a diskless FreeBSD 6.3 i386 machine boots with pxeboot 
> from a FreeBSD 6.3 amd64 machine. I have lines in /etc/fstab for the diskless 
> machine like:
> 
> # DeviceMountPoint  FsType  Options DumpPass
> 172.16.0.1:/usr /usrnfs rw  0   0
> 172.16.0.1:/mnt/d2/rootfs/root  /root   nfs rw  0   0
> 
> The machine boots from network nicely, then I can login as root and invoke 
> these commands:
> 
> mount -u -o rw /
> mount -u -o rw /usr
> mount -u -o rw /root
> 
> There is no error message on the console, nor in the system log. However, 
> this happens afterwards:
> 
> diskless101#mkdir /aaa
> mkdir aaa: Read-only file system
> 
> Question: if the remount did not succeed, why didn't it throw an error? If 
> succeeded, why can't I write on the filesystem?
> 
> Thanks,
> 
>Laszlo
> 

The answer to the second portion is that you're mounted as a read only
file system, so there's no write access.

There's an nfs permissions file you may need to edit, /etc/exports/,
which controls whether NFS shares the file system as read only, read
write, whether root can have root on the file system etc.

James

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


launch x app from non-x tty?

2007-11-19 Thread Steve Franks
Is there a way to log in from ssh and pop up a program on the local
xterminal?  I tried, and got complaints that there was no x, so I
presume they are locked in tty0, which is a good thing, usually...

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


Re: launch x app from non-x tty?

2007-11-19 Thread Alexandre Biancalana
On Nov 19, 2007 3:11 PM, Steve Franks <[EMAIL PROTECTED]> wrote:
> Is there a way to log in from ssh and pop up a program on the local
> xterminal?  I tried, and got complaints that there was no x, so I
> presume they are locked in tty0, which is a good thing, usually...

Give a look at -X option of ssh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freebsd-update

2007-11-19 Thread Chad Gross
On Nov 19, 2007 12:39 PM, Wojciech Puchar
<[EMAIL PROTECTED]> wrote:
> ---
> The following files are affected by updates, but no changes have
> been downloaded because the files have been modified locally:
> /etc/rc.d/jail
> ---
>
> how could i look at this update manually?

I believe the security patch information below is what is being
referenced on your freebsd-update attempt. (Hint: Look at the Solution
section on how to fix). I am not that familiar with the freebsd-update
utility as I (and I suspect most FBSD users) use the CVS, patch,
recompile method of keeping the systems up-to-date.


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

=
FreeBSD-SA-07:01.jail   Security Advisory
 The FreeBSD Project

Topic:  Jail rc.d script privilege escalation

Category:   core
Module: etc_rc.d
Announced:  2007-01-11
Credits:Dirk Engling
Affects:All FreeBSD releases since 5.3
Corrected:  2007-01-11 18:16:58 UTC (RELENG_6, 6.2-STABLE)
   2007-01-11 18:17:24 UTC (RELENG_6_2, 6.2-RELEASE)
   2007-01-11 18:18:08 UTC (RELENG_6_1, 6.1-RELEASE-p12)
   2007-01-11 18:18:35 UTC (RELENG_6_0, 6.0-RELEASE-p17)
   2007-08-01 20:47:13 UTC (RELENG_5, 5.5-STABLE)
   2007-08-01 20:48:19 UTC (RELENG_5_5, 5.5-RELEASE-p15)
CVE Name:   CVE-2007-0166

For general information regarding FreeBSD Security Advisories,
including descriptions of the fields above, security branches, and the
following sections, please visit http://security.FreeBSD.org/>.

0.   Revision History

v1.0 2007-01-11  Initial release.
v1.1 2007-08-01  Corrected patch for FreeBSD 5.5.

I.   Background

The jail(2) system call allows a system administrator to lock a process
and all of its descendants inside an environment with a very limited
ability to affect the system outside that environment, even for
processes with superuser privileges.  It is an extension of, but
far more powerful than, the traditional UNIX chroot(2) system call.

The host's jail rc.d(8) script can be used to start and stop jails
automatically on system boot/shutdown.

II.  Problem Description

In multiple situations the host's jail rc.d(8) script does not check if
a path inside the jail file system structure is a symbolic link before
using the path.  In particular this is the case when writing the
output from the jail start-up to /var/log/console.log and when
mounting and unmounting file systems inside the jail directory
structure.

III. Impact

Due to the lack of handling of potential symbolic links the host's jail
rc.d(8) script is vulnerable to "symlink attacks".  By replacing
/var/log/console.log inside the jail with a symbolic link it is
possible for the superuser (root) inside the jail to overwrite files
on the host system outside the jail with arbitrary content.  This in
turn can be used to execute arbitrary commands with non-jailed
superuser privileges.

Similarly, by changing directory mount points inside the jail file
system structure into symbolic links, it may be possible for a jailed
attacker to mount file systems which were meant to be mounted inside
the jail at arbitrary points in the host file system structure, or to
unmount arbitrary file systems on the host system.

NOTE WELL: The above vulnerabilities occur only when a jail is being
started or stopped using the host's jail rc.d(8) script; once started
(and until stopped), running jails cannot exploit this.

IV.  Workaround

If the sysctl(8) variable security.jail.chflags_allowed is set to 0
(the default), setting the "sunlnk" system flag on /var, /var/log,
/var/log/console.log, and all file system mount points and their
parent directories inside the jail(s) will ensure that the console
log file and mount points are not replaced by symbolic links.  If
this is done while jails are running, the administrator must check
that an attacker has not replaced any directories with symlinks
after setting the "sunlnk" flag.

V.   Solution

NOTE WELL: The solution described changes the default location of the
"console.log" for jails from /var/log/console.log inside each jail to
/var/log/jail_${jail_name}_console.log on host system.  If this is a
problem, it may be possible to create a hard link from the new position
of the console log file to a location inside the jail.  A new rc.conf(5)
variable, jail_${jail_name}_consolelog, can be used to change the
location of console.log files on a per-jail basis.

In addition, the solution described below does not fully secure jail
configurations where two jails have overlapping directory trees and a
file system is mounted inside the overlap.  Overlapping directory
trees can occur when jails share the same root directory; when a jail
has a root directory which is a subdirectory of another jail's root
directory; or when a part of the fil

Re: mount -u -o rw / not working on NFS?

2007-11-19 Thread Laszlo Nagy



diskless101#mkdir /aaa
mkdir aaa: Read-only file system

Question: if the remount did not succeed, why didn't it throw an error? If 
succeeded, why can't I write on the filesystem?




The answer to the second portion is that you're mounted as a read only
file system, so there's no write access.
  
You were right. Actually I had /etc/exports file setup correctly, but I 
forgot to invoke "killall -HUP mountd" after the last change. My bad. :-(


But... I'm still interested in the first portion. Why didn't I get an 
error message if the nfs share was read-only?

There's an nfs permissions file you may need to edit, /etc/exports/,
which controls whether NFS shares the file system as read only, read
write, whether root can have root on the file system etc.
  


The case is solved, but I still have this question. :-)

Thanks,

  Laszlo

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


Re: freebsd-update

2007-11-19 Thread Chad Gross
On Nov 19, 2007 12:39 PM, Wojciech Puchar
<[EMAIL PROTECTED]> wrote:
> ---
> The following files are affected by updates, but no changes have
> been downloaded because the files have been modified locally:
> /etc/rc.d/jail
> ---
>
> how could i look at this update manually?
>

Also, check out: http://www.daemonology.net/freebsd-update/

It explains how older versions of the freebsd-update utility cannot
update files that have been changed or recompiled locally. Newer
versions can, but require manual intervention. (i.e. configuration
options need to be set.).

Hope that helps.

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


Re: Website

2007-11-19 Thread Fernando Apesteguía
On Nov 19, 2007 5:11 PM, Jerry McAllister <[EMAIL PROTECTED]> wrote:
> On Sun, Nov 18, 2007 at 10:40:27AM -0600, Chris wrote:
>
> > On Sun, 18 Nov 2007 16:34:56 +
> > "Frank Shute" <[EMAIL PROTECTED]> wrote:
> >
> > > On Sun, Nov 18, 2007 at 09:41:51AM -0600, Chris wrote:
> > > >
> > > > ... seems to be going bonkers?!
> > > >
> > > > --
> > > > Best regards,
> > > > Chris
> > >
> > >
> > > Your post is a little short of information.
> > >
> > > http://www.catb.org/~esr/faqs/smart-questions.html
> > >
> > > HTH
> > >
> >
> > Not at all. I assume most on this list are intelligent enough to click
> > on a browser and head to the FBSD site to see it's not functioning.
>
>
> Oh, you mean the FreeBSD website, not yours.

I already reported this in a thread called "Problems with
www.freebsd.com". It is taking too long time to fix this problem IMHO.
In my case I can't access the web at all. What about the people who
want to try FreeBSD? They will end up sick and tired of the
unresponsiveness of the site.

>
> jerry
>
>
>
> >
> > Now as to the cause - who knows.
> >
> > --
> > Best regards,
> > Chris
> >
> > I swear on tomorrow, if you take this chance,
> > Our lives are this moment, the music - the dance.
> > And here in this labyrinth of lost mysteries,
> > I close my eyes on this night and you're all that I see.
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Failing Drive

2007-11-19 Thread Chad Gross
On Nov 16, 2007 5:05 PM, Douglas Rodriguez <[EMAIL PROTECTED]> wrote:
> I've been getting the following message repeating continuously:
>
> ad1:FAILURE - READ_DMA status=51
> error=1 LBA=216026367
> g_vfs_done():ad1s1[READ(offset = 110605467648, length = 16384)]error=5
> ad1:FAILURE - READ_DMA status=51
> error=40 LBA=216026367
> g_vfs_done():ad1s1[READ(offset = 110605467648, length = 16384)]error=5
> ad1:FAILURE - READ_DMA status=51
> error=1 LBA=216026367
> g_vfs_done():ad1s1[READ(offset = 110605467648, length = 16384)]error=5
> 
>
> The same thing repeats every so often.  What does this mean?  I've read
> other threads (Drives Dieing) about possibly shutting down dma or
> reinstalling the system, but is that the best solution to this kind of
> problem?
>
> Thanks.
>
> ~Doug
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

One of the first things you can do is install sysutils/smartmontools.
This package gives you the ability to access the S.M.A.R.T.
functionality of your drives. Of course, your drives need to include
S.M.A.R.T.  capability and be enabled. After installing you can check
to see if your drives support it by using the smartctl command. This
is also the command that will use to run tests and check the results.

Check out their homepage for more info: http://smartmontools.sourceforge.net/

Regards

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


Need help with bootloader

2007-11-19 Thread Victor M. Blood
Hi, All.

I'm add to /sys/boot/i386/boot2/boot2.c
in function dskread(...) some `debug' output
when it search for needle slice in loop if dsk.slice==0
  printf("Found %u\n", dp[i].dp_typ);

then FreeBSD loadsup by pressing key F2 in boot0 menu
F1. dos
F2. FreeBSD

\
boot: 0:ad(0,0,a)Found: 7
Found: 165
/\- normaly boot

else if BSD loadsup from ntldr boot file /boot/boot1, bootstrup
aborted by 'Invalid slice' and command
boot: 0:ad(0,0,a)Found 113
Found 102
Found 102
Found 112

No /boot/loader
... Failed !!!

why? Can any one help me to understand this !?

drvread in both bootstrap processes must read sector 0 on drv 0, or be
failed and report error! But it's seems to be work normaly.

-- 
With all regards, Victor M. Blood. mailto: [EMAIL PROTECTED]
FTN: 2:5024/[EMAIL PROTECTED], ICQ#3567656




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


Re: Unexpected shutdown

2007-11-19 Thread Roland Smith
On Mon, Nov 19, 2007 at 03:55:42AM +0100, n j wrote:
> Hello Randy, Roland, Gary,
> 
> > UPS drivers can shut the system down, but you seemed to have ruled
> > that out?
> 
> The UPS is present, but I never set up and configured anything (no
> snmp or any other agents) that would give the UPS the permission to
> shutdown the machine and besides there are more machines on the same
> UPS that continued to work just fine, so I guess that UPS is ruled
> out, yes.
> 
> > It could be triggered by the acpi_thermal driver. Check system
> > temperatures with sysctl or mbmon.
> 
> This is actually what I was looking for, even if it turns out it is
> not the solution: a pointer to a useful port plus pointer to reading
> the temperatures with sysctl. That kind of things makes the -questions
> an invaluable resource.

:-)

> That remark led me to discover the following:
> 
> - kldstat shows acpi.ko loaded
> - sysctl has no acpi thermal variables whatsoever!

It depends on the mobo and the acpi tables if it works. It works on my
laptop but not on my destop for instance.

> which further led me to check for acpi thermal variables on another
> FreeBSD 6.2 (non-Dell) server and sure they were there. So it seems
> that acpi thermal is not working (is perhaps "blacklisted", a term I
> noticed in the man page) on Dell Poweredge (in this case PE 1750 as
> well as PE 750) servers. Anyone can verify this?

Well, if it's not the ups nor a thermal overload, I guess the obvious
solution is that some joker gave a shutdown command with a 3am time. :-)

According to shutdown(8) there should be a message in the log stating
when the system went down, who did it and why.

Or maybe there is a script that calls shutdown under some circumstances?

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp6k4JhetSVW.pgp
Description: PGP signature


can any sound wzards help me set this right?

2007-11-19 Thread Gary Kline
Saturday,, following the adviice of this group  plus things I
found of the web, I put together this list of mods to make to
/boot/loader.con,  /etc/rc.conf, and /etc/devfs.conf  Still,
after rebooting/doing-hard-resets 5 or 6times, things hung if or
if I did NOT have an audio CD in my top burner.

Anybody see what's wrong with the following 37 lines of
notes?

 ++ boot/loader.conf

 **The following may help some sound applications; there are not
 necessary for any CD/DVD problems:**

 The following strings are necessary for use of some or most Gnome
 and KDE audio applications: 
 atapicam_load="YES" 
 hw.ata.atapi_dma=1
 vfs.usermount=1

 ==

 ++ /etc/rc.conf
 devd_enable=YES

 ==

 ++ /etc/devfs.conf

 # Examples:
 .
 .
 .
 # Commonly used by many ports
 (Simply uncomment the line below [as shown].)

 link acd0 cdrom

 Add this line ver batim; it in effect just chmod'd /etc/cdrom so
 that all users can use it. [[ This implies that the users are at
 your computer!]]

 perm /dev/acd0 0666

 ==


-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: Website

2007-11-19 Thread [LoN]Kamikaze
Fernando Apesteguía wrote:
> On Nov 19, 2007 5:11 PM, Jerry McAllister <[EMAIL PROTECTED]> wrote:
>> On Sun, Nov 18, 2007 at 10:40:27AM -0600, Chris wrote:
>>
>>> On Sun, 18 Nov 2007 16:34:56 +
>>> "Frank Shute" <[EMAIL PROTECTED]> wrote:
>>>
 On Sun, Nov 18, 2007 at 09:41:51AM -0600, Chris wrote:
> ... seems to be going bonkers?!
>
> --
> Best regards,
> Chris

 Your post is a little short of information.

 http://www.catb.org/~esr/faqs/smart-questions.html

 HTH

>>> Not at all. I assume most on this list are intelligent enough to click
>>> on a browser and head to the FBSD site to see it's not functioning.
>>
>> Oh, you mean the FreeBSD website, not yours.
> 
> I already reported this in a thread called "Problems with
> www.freebsd.com". It is taking too long time to fix this problem IMHO.
> In my case I can't access the web at all. What about the people who
> want to try FreeBSD? They will end up sick and tired of the
> unresponsiveness of the site.
> 

I suggest using the FreeBSD Website: http://www.freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can any sound wzards help me set this right?

2007-11-19 Thread Roland Smith
On Mon, Nov 19, 2007 at 11:04:20AM -0800, Gary Kline wrote:
>   Saturday,, following the adviice of this group  plus things I
>   found of the web, I put together this list of mods to make to
>   /boot/loader.con,  /etc/rc.conf, and /etc/devfs.conf  Still,
>   after rebooting/doing-hard-resets 5 or 6times, things hung if or
>   if I did NOT have an audio CD in my top burner.
> 
>   Anybody see what's wrong with the following 37 lines of
>   notes?
> 
>  ++ boot/loader.conf

>  atapicam_load="YES" 

Atapicam is needed if you want to use cdrecord and growisofs
(dvd+rw-tools).


>  hw.ata.atapi_dma=1

Mine says (note the quotes);
hw.ata.atapi_dma="1"

>  vfs.usermount=1

This should be in /etc/sysctl.conf

Don't forget that this is not sufficient you mount stuff as a normal
user;
- you need read/write permissions to the device
- and you need to _own_ the mount point.

>  ==
> 
>  ++ /etc/rc.conf
>  devd_enable=YES

By default, devd doesn't do anything usefull with CD/DVD devices, AFAICT.
I'm not sure what you need this for.

>  ++ /etc/devfs.conf
> 
>  link acd0 cdrom
>  perm /dev/acd0 0666

Looks OK.

I've got the following in devfs.conf, to use the CD/DVD burner as a
pseudo SCSI device (atapicam in kernel, but not atapicd);

# Give members of group cdrom access to the CD/DVD-ROM and DVD+RW via the
# SCSI interface
own xpt0root:cdrom
permxpt00660
own cd0 root:cdrom
permcd0 0660
own cd1 root:cdrom
permcd1 0660
linkcd0 cdrom
linkcd0 dvd

The following is in /etc/devfs.rules;
add path 'pass*' mode 0660 group cdrom

IIRC I did this because pass devices are created as needed.

My kernel config has the following devices (among others);
device  ata
device  atadisk # ATA disk srives
device  ataraid # RAID drives
device  atapicam# Emulate ATAPI devices as SCSI via CAM
options ATA_STATIC_ID   # Static device numbering
# SCSI peripherals
device  scbus   # SCSI bus (required for SCSI)
device  cd  # Compact Disc
device  da  # Direct Access (disks)
device  pass# Passthrough device (direct SCSI access)

HTH,

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgprta5ZnLcDv.pgp
Description: PGP signature


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-19 Thread Garrett Cooper

Gary Kline wrote:

On Sat, Nov 17, 2007 at 02:40:18PM -0800, Garrett Cooper wrote:
  
   Even though audio CDs use the ISO-9660 standard, they aren't really 
mountable (depends on how you look at the problem, i.e. what OS you use, 
and what audio playing app you use).
   Specifying the /dev node or mount point (via the application / 
plugin preferences), without trying to mount the actual disk, will most 
likely yield the results you want.

Cheers,
-Garrett



Well, live 'n' learn. Of course, then mmore you think aboutit,
the CD's and DVD's are read-only.   No need to mount them.
One of these decades, I'll write up a long article on how-to use
	these disks; and how to copy  them as well.  It alll works; 
	it's just more autoomated under the Ubuntu fork of Debian 


gary
  

   Technically that was gnome / hald doing the work for you, not Linux :).
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Changing the boot device from PXE to hard disk

2007-11-19 Thread Erik Cederstrand

Javier Martín Rueda wrote:

I have set up a simple unattended installation system for FreeBSD, so
that I can manually configure a group of computers to boot with PXE,
and when they boot they will automatically install FreeBSD.

The final step would be to configure the BIOS to boot from the first 
hard drive. So far I can do that manually by pressing "Del" when the 
computer boots and entering the ROM BIOS setup program, but I would

like to know if it is possible somehow to change the boot device
priority in the BIOS from FreeBSD?


It's not possible to access the BIOS setting through FreeBSD. What I do
is to set the boot order in BIOS to:

1. hard drive
2. PXE

Before the unattended install, wipe out the MBR. If this is a blank hard
drive, then you're already OK. If the drive contains a previous FreeBSD
install, do:

# sysctl kern.geom.debugflags=16
# dd if=/dev/zero of=/dev/ad0 bs=512 count=1k

as root. This makes the BIOS skip the hard drive on the next boot and
continue to boot via PXE. Make sure your install puts an MBR on the
disk, so the BIOS picks the hard drive after rebooting.

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


System Freeze w/ IPNAT

2007-11-19 Thread Ted Wisniewski
We have a box doing routing and NAT using IPNAT that freezes up after a couple 
days.   We have swapped out the Box with a different model and continue to 
see the same problem.   Symptoms are that the machine no longer passes 
traffic and the console is unresponsive to any keyboard input (not even 
ctrl-alt-del).What we are doing is just Nat'ing a portion of the network 
traffic (we want to pass certain areas of the network address space 
un-modified).We are pretty certain that our problem has something to do 
with ipnat becasue we are using other BSD boxes as routers without issue.

We have seen a couple:

bge1: watchdog timeout -- resetting
bge1: link state changed to DOWN
bge1: link state changed to UP

in the log file that were not present on the first machine because it had a 
different set of network cards...   I mention it only for completeness.

Any help that someone can provide would be appreciated.  Additional pertinent 
info is provided below.

Thanks

Ted

Relevant Kernel Options:

optionsIPFILTER #ipfilter support
optionsIPFILTER_LOG #ipfilter logging
optionsIPFILTER_LOOKUP#ipfilter pools

Relevant rc.conf settings:

#
# ROUTING 
#
router_enable="YES"
router_flags="-s"
gateway_enable="YES"
#
# Network firewall / NAT (IPF)
#
gateway_enable="YES"  
ipfilter_enable="YES"
ipfilter_flags="-T ipf_nattable_max=50 -E"
ipnat_enable="YES"
ipnat_program="/sbin/ipnat"
ipnat_rules="/etc/ipnat.rules"
ipmon_enable="YES"
ipmon_flags="-Ds -N /dev/ipnat -f /dev/ipl -S /dev/ipstate"


Example rule from /etc/ipnat.rules (we have a number of these based on areas 
of our network)...  Each subnet is associated with a different ip on the 
outgoing side of the NAT.

#
map bge0 192.168.100.0/23 -> 192.168.4.64/32 proxy port ftp ftp/tcp
map bge0 192.168.100.0/23 -> 192.168.4.64/32 icmpidmap icmp 6:65535
map bge0 192.168.100.0/23 -> 192.168.4.64/32 portmap tcp/udp 42000:65535 
#



Background info:

FreeBSD 6.2 pl-8
Using Dell Poweredge 860 
1 Gig RAM
Dual - Broadcom BCM5750 B1, ASIC rev. 0x4101
Latest Firmware

First Interface (bge0):
with 11 IP's (1 for host with 10 aliases for NAT) operating at  media: 
Ethernet autoselect (1000baseTX )  

Second interface (bge1):
with one IP operating at  media: Ethernet autoselect (1000baseTX 
)

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


Re: permissions for www acting strangely

2007-11-19 Thread Warren Block

On Mon, 19 Nov 2007, Steve Franks wrote:


Few weeks ago, I installed apache22.  Just wanted to put up some
family photos.  Whenever I tried to connect, got a "apache doesn't
have permisson to acess ~/. on this system or somesuch".  The only way
to get around it appeared to be a chmod 777 on my pic folder (no luck
with 775!).  Now I restored some stuff from a backup over my photos,
and now 777 won't work either.  Is there something fundamental about
permissions I am totally missing?


Assuming you're talking about bare directory access (not HTML), have you 
uncommented this line in httpd.conf:


Include etc/apache22/extra/httpd-userdir.conf

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Networker

2007-11-19 Thread Wojciech Puchar

check freebsd site for this.


On Mon, 19 Nov 2007, Paul Urdanivia wrote:


Hi:

The EMC Networker is supported in freebsd  ?



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


Xephyr on freebsd...

2007-11-19 Thread Eric Schuele
Hello,

I was wondering if there is a port (that I can't seem to find), or one
in the making of Xephyr (Xnest next generation?).

If not... has anyone tried and had any luck with grabbing the sources
from git and building it?  Care to comment on pitfalls?

-- 
Regards,
Eric




signature.asc
Description: OpenPGP digital signature


Re: launch x app from non-x tty?

2007-11-19 Thread Wojciech Puchar



Is there a way to log in from ssh and pop up a program on the local
xterminal?  I tried, and got complaints that there was no x, so I

you mean local local display (local X server).

simply you have to

export DISPLAY=:0

before running.

must be the same user as logged locally.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



Re: One Laptop Per Child

2007-11-19 Thread Chuck Robey
Gee, I thought that this had gone away.  PLEASE send this off to 
FreeBSD-chat, it has no business on FreeBSD-questions whatever.



Jonathan McKeown wrote:
[Ted Mittelstaedt's words, heavily edited for brevity. Ted, please shout if I 
haven't caught the sense of what you're saying]



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


Re: Website

2007-11-19 Thread Fernando Apesteguía
On Nov 19, 2007 8:31 PM, [LoN]Kamikaze <[EMAIL PROTECTED]> wrote:
> Fernando Apesteguía wrote:
> > On Nov 19, 2007 5:11 PM, Jerry McAllister <[EMAIL PROTECTED]> wrote:
> >> On Sun, Nov 18, 2007 at 10:40:27AM -0600, Chris wrote:
> >>
> >>> On Sun, 18 Nov 2007 16:34:56 +
> >>> "Frank Shute" <[EMAIL PROTECTED]> wrote:
> >>>
>  On Sun, Nov 18, 2007 at 09:41:51AM -0600, Chris wrote:
> > ... seems to be going bonkers?!
> >
> > --
> > Best regards,
> > Chris
> 
>  Your post is a little short of information.
> 
>  http://www.catb.org/~esr/faqs/smart-questions.html
> 
>  HTH
> 
> >>> Not at all. I assume most on this list are intelligent enough to click
> >>> on a browser and head to the FBSD site to see it's not functioning.
> >>
> >> Oh, you mean the FreeBSD website, not yours.
> >
> > I already reported this in a thread called "Problems with
> > www.freebsd.com". It is taking too long time to fix this problem IMHO.
> > In my case I can't access the web at all. What about the people who
> > want to try FreeBSD? They will end up sick and tired of the
> > unresponsiveness of the site.
> >
>
> I suggest using the FreeBSD Website: http://www.freebsd.org

Sorry, it was a mistake. I meant www.freebsd.org

Ping doesn't reply.

$>traceroute www.freebsd.org
traceroute to www.freebsd.org (32.1.4.248), 30 hops max, 40 byte packets
 1  mygateway1.ar7 (192.168.1.1)  0.939 ms  1.206 ms  1.764 ms
 2  * * *
 3  * * *
 4  * * *
 5   (217.239.38.161)  293.484 ms  294.592 ms  290.541 ms
 6  ns.de.prserv.net (195.66.224.27)  292.828 ms  291.949 ms  293.421 ms
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *

I think this problem is on the www.freebsd.org side, cause I don't
have any problems with any other sites.

Cheers.

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


3Com 3c515-TX Fast Ethernet ISA Card

2007-11-19 Thread James Shaw
Hello Everyone,

   I'm trying to get an old 3Com 3c515-TX Fast Ethernet ISA Card to
work with FreeBSD 7.0-BETA3. So far, the only operating systems I can
use this card on are OpenBSD, NetBSD, Linux, and (ugh) Windows.
   Is there a way to port the OpenBSD (or NetBSD) driver to FreeBSD so
we can utilize this card instead of switching OS's?

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


Re: 3Com 3c515-TX Fast Ethernet ISA Card

2007-11-19 Thread Warren Block

On Mon, 19 Nov 2007, James Shaw wrote:


  I'm trying to get an old 3Com 3c515-TX Fast Ethernet ISA Card to
work with FreeBSD 7.0-BETA3. So far, the only operating systems I can
use this card on are OpenBSD, NetBSD, Linux, and (ugh) Windows.
  Is there a way to port the OpenBSD (or NetBSD) driver to FreeBSD so
we can utilize this card instead of switching OS's?


If that's the card I'm thinking of, I fought with one several years ago
on a late-model PS/2 (ISA).  Can another ISA card be used instead?

-Warren Block * Rapid City, South Dakota USA
___
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 delete a file?

2007-11-19 Thread Byung-Hee HWANG
On Mon, 2007-11-19 at 15:45 +0100, Jack Raats wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Due to an error I made the following file
> 
> - -rw-r--r--  1 jos  jos0 Nov 19 15:34 -
> - -rw-r--r--  1 jos  jos  767 Nov 19 15:39 .cshrc
> drwx--  3 jos  jos  512 Nov 19 15:40 .imap
> 
> How to delete the - file
> rm "-" doesnot work (even with root access)

% rm ./"-"

it works for me.

respect,
bh

-- 
"I'll see you at my father's house. Be sure you bring Paulie."
-- Santino Corleone, "Chapter 2", page 84

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


Re: can any sound wzards help me set this right?

2007-11-19 Thread Gary Kline
On Mon, Nov 19, 2007 at 08:35:15PM +0100, Roland Smith wrote:
> On Mon, Nov 19, 2007 at 11:04:20AM -0800, Gary Kline wrote:
> > Saturday,, following the adviice of this group  plus things I
> > found of the web, I put together this list of mods to make to
> > /boot/loader.con,  /etc/rc.conf, and /etc/devfs.conf  Still,
> > after rebooting/doing-hard-resets 5 or 6times, things hung if or
> > if I did NOT have an audio CD in my top burner.
> > 
> > Anybody see what's wrong with the following 37 lines of
> > notes?
> > 
> >  ++ boot/loader.conf
> 
> >  atapicam_load="YES" 
> 
> Atapicam is needed if you want to use cdrecord and growisofs
> (dvd+rw-tools).
> 
> 
> >  hw.ata.atapi_dma=1
> 
> Mine says (note the quotes);
> hw.ata.atapi_dma="1"

Done, thans.
> 
> >  vfs.usermount=1
> 
> This should be in /etc/sysctl.conf

Ah, okay. I've moved it.

> 
> Don't forget that this is not sufficient you mount stuff as a normal
> user;
> - you need read/write permissions to the device
> - and you need to _own_ the mount point.

This is what I chmod'd it to.  everything beneath is also 0777.
I'll chown it and see.


drwxrwxrwx   4 root  wheel  512 Apr  8  2007 media


> 
> >  ==
> > 
> >  ++ /etc/rc.conf
> >  devd_enable=YES
> 
> By default, devd doesn't do anything usefull with CD/DVD devices, AFAICT.
> I'm not sure what you need this for.

Don't undeerstand myself, but soomeone suuggested it.

> 
> >  ++ /etc/devfs.conf
> > 
> >  link acd0 cdrom
> >  perm /dev/acd0 0666
> 
> Looks OK.
> 
> I've got the following in devfs.conf, to use the CD/DVD burner as a
> pseudo SCSI device (atapicam in kernel, but not atapicd);
> 
> # Give members of group cdrom access to the CD/DVD-ROM and DVD+RW via the
> # SCSI interface
> own xpt0root:cdrom
> permxpt00660
> own cd0 root:cdrom
> permcd0 0660
> own cd1 root:cdrom
> permcd1 0660
> linkcd0 cdrom
> linkcd0 dvd
> 
> The following is in /etc/devfs.rules;
> add path 'pass*' mode 0660 group cdrom
> 
> IIRC I did this because pass devices are created as needed.
> 
> My kernel config has the following devices (among others);
> device  ata
> device  atadisk # ATA disk srives
> device  ataraid # RAID drives
> device  atapicam# Emulate ATAPI devices as SCSI via CAM
> options ATA_STATIC_ID   # Static device numbering
> # SCSI peripherals
> device  scbus   # SCSI bus (required for SCSI)
> device  cd  # Compact Disc
> device  da  # Direct Access (disks)
> device  pass# Passthrough device (direct SCSI access)
> 
> HTH,

The only thing missing from my GENERIC file is apaticam driver. 
That probably isn't necessary until I use k3b.

I'll try again.. Thanks for your insights!

gary

> 
> Roland
> -- 
> R.F.Smith   http://www.xs4all.nl/~rsmith/
> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
> pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)



-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


OT: VIA-EK disabling shared memory

2007-11-19 Thread Erik Norgaard

Hi:

I got a VIA EPIA-EK board which has some advanced settings for graphics, 
you can toggle how much shared memory to allocate for graphics. Nice, 
but my device won't have a display so I'd like not to allocate any.


There is an option for disabling shared memory, but then the system 
won't boot. It hangs and I can't even enter the bios. So, I guess I have 
to find the magic combination with other options.


The manual only lists the options and recommends not to mess with them 
unless you know what you're doing. There is no mention on how to get the 
disable-shared-memory to work.


Any one got a clue?

Thanks, Erik

--
Erik Nørgaard
Ph: +34.666334818   http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: congrlations to the freebsd developers

2007-11-19 Thread Andrew Reilly
> 3. The issues with nvidia kernel module on amd64 (alternativelly
> does anyone know how hard it would be to get bettern 1024x768 with nv?)

I used to be able to get nv to do 1280x1024, with my 6600LE
graphics card.  I could never convince it to do 1600x1200, the
native resolution of my LCD panel, though.  Claimed to be
limited by BIOS setting, whatever that means.

There was, and is, however, a funky booting issue: sometimes nv
would not get the card set up right, and all I would see was
blocky-wrong-raster-ish screen noise.  That would go away if
I switched to vesa mode (which has always worked reliably for
me) and back again.  Sadly that fix doesn't work since the last
upgrade (from 7.2 to 7.3), seemingly, so I'm stuck with vesa at
1280x1024, which is tollerable for my purposes, given how fast
the processors are.

Actually, I don't have that at the moment, either: something
broke GNOME at the ORB level, seemingly, after I upgraded to
RELENG_7...  I'm fighting with portupgrade at the moment...

Hopefully it'll all come good again once it's been re-built...

Cheers,

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


Build Frustrations

2007-11-19 Thread Dan Mahoney, System Admin

All,

I'm of the realization that FreeBSD is a volunteer project, but there's a 
recent issue I've hit, and I've contacted nearly EVERYONE I can think of 
about it to try and fix, and the response I've gotten has been a deafening 
silence.


I'm having trouble building apache2.2.6, it relates I feel to an 
inconsitent libexpat library under FreeBSD, COMBINED with a badly made and 
inconsistent apr port, and some libiconv incompatibilities.  I've emailed 
ports maintainers, APR developers, the general apache mailing list, and 
gotten nothing.


I'm posting this to the straight-off questions list because I feel my 
other attempts have failed.  Can someone "sanity check" me?  I'm well 
aware of how to "ask intelligent questions", to document what I have and 
have not done, of explaining WHY I have or have not done those things.


I'm going to send it here, in the hopes maybe someone else has encountered 
this or might spot something I'm missing.  If ANYONE can shed some light 
here, I'd appreciate it and am willing to compensate in some small way, if 
I can.


Here's what I sent to the maintainers of the above two ports:

Subject: apr versus apr-db42, as well as some other issues:

Hello,

First and foremost: I assume you're both reasonably busy professionals. 
That said, I believe there's either a bug in the core operating system 
here, or a bug in the way some of the critical ports are built, and I 
cannot figure it out alone.  It is enough of a problem that it has 
confused at least one apache committer.  That said, if you'd like to be 
compensated in some small way for your time, please point me to your 
amazon wishlists, paypal accounts, et cetera, and I'll try to do the 
right thing.


I am mailing you because you are the maintainers of the apache-2.2.6 and 
apr ports.  If there are other people I should be mailing, please let me 
know.


This is a post about building apache2.2 from scratch, not from ports -- 
however it raises several issues with port-installed tools that lead me to 
believe they may still be at fault.  I apologize in advance for the length 
of this post, but having all the data is sometimes important.  I believe 
it's reproducable but I don't have the spare machines to try on.


First, the basics:

1) Is it possible to get some documentation in either the short or long 
description as to what the difference between apr and apr-db42 is?


2) Also, is it at all possible to get some kind of documentation for the 
apr-svn port (if it still exists).


3) My big problem:

(I'm going to post everything from here down to the apache-users mailing 
list, as well).


I just tried to build apache 2.2.6 from scratch.

I, for various reasons of wanting to keep apache separate from other 
things, for example, to virtualize my apache users, prefer everything in a 
single dir -- so the ports route isn't for me.


Because apr-db42 had been installed as part of a subversion requirement 
(not sure why), it caused my apache build to look in nonexistent places 
for libraries.


%apr-1-config --apr-libtool
/usr/local/build-1/libtool

(the above path doesn't even exist)

To fix this (and not break the svn port), I resorted to using 
--with-included-apr.  The build THEN failed, claiming it could not find 
the installed expat libraries, in an error exactly like what this 
gentleman had:


http://www.zulustips.com/2007/10/06/problems-compiling-apache-226-on-freebsd-62.html#more-54

And in fact, this apache developer had the same issue:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg18793.html

(search the page for "wtf")

Like them, I had an installed expat, and had it listed in ldconfig -r (I 
also note there's a libexpat in /usr/src but don't know what it's there 
for).


(I did not copy my errors because I thought I had found a solution, but 
it's the same error, I assure you).


After that,

I tried resorting to building apache with --with-expat=builtin

I then got THIS error:

/home/danm/httpd-2.2.6/srclib/apr/libtool --silent --mode=link gcc -g -O2 
-o htpasswd  htpasswd.lo   -lm 
/home/danm/httpd-2.2.6/srclib/pcre/libpcre.la 
/home/danm/httpd-2.2.6/srclib/apr-util/libaprutil-1.la 
/home/danm/httpd-2.2.6/srclib/apr-util/xml/expat/lib/libexpat.la 
/home/danm/httpd-2.2.6/srclib/apr/libapr-1.la -lcrypt -lpthread
/home/danm/httpd-2.2.6/srclib/apr-util/.libs/libaprutil-1.so: undefined 
reference to `libiconv_open'
/home/danm/httpd-2.2.6/srclib/apr-util/.libs/libaprutil-1.so: undefined 
reference to `libiconv_close'
/home/danm/httpd-2.2.6/srclib/apr-util/.libs/libaprutil-1.so: undefined 
reference to `libiconv'

*** Error code 1

Stop in /home5/danm/httpd-2.2.6/support.
*** Error code 1

Stop in /home5/danm/httpd-2.2.6/support.
*** Error code 1

Stop in /home5/danm/httpd-2.2.6.
prime#

So that's it.  I don't know how to fix this one -- and if it's upgrading 
my libiconv will fix it (but will require me to upgrade every program -- 
both binary and port) that depends on it, I'm willing, but pkg_info -f -g 
li

FreeBSD Production Release ISO images

2007-11-19 Thread patrick
Hi there,

I'm wondering if the FreeBSD 6.2 Production Release ISO images get
updated periodically when there are important patches, or is it better
to download the latest snapshot to save the trouble of updating
everything after installing?

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


RE: Build Frustrations

2007-11-19 Thread Brent Jones
This may help:

http://lists.freebsd.org/pipermail/freebsd-stable/2004-December/010425.h
tml

Cheers,
Brent
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dan Mahoney,
System Admin
Sent: Tuesday, 20 November 2007 1:20 p.m.
To: [EMAIL PROTECTED]
Subject: Build Frustrations

All,

I'm of the realization that FreeBSD is a volunteer project, but there's
a 
recent issue I've hit, and I've contacted nearly EVERYONE I can think of

about it to try and fix, and the response I've gotten has been a
deafening 
silence.

I'm having trouble building apache2.2.6, it relates I feel to an 
inconsitent libexpat library under FreeBSD, COMBINED with a badly made
and 
inconsistent apr port, and some libiconv incompatibilities.  I've
emailed 
ports maintainers, APR developers, the general apache mailing list, and 
gotten nothing.

I'm posting this to the straight-off questions list because I feel my 
other attempts have failed.  Can someone "sanity check" me?  I'm well 
aware of how to "ask intelligent questions", to document what I have and

have not done, of explaining WHY I have or have not done those things.

I'm going to send it here, in the hopes maybe someone else has
encountered 
this or might spot something I'm missing.  If ANYONE can shed some light

here, I'd appreciate it and am willing to compensate in some small way,
if 
I can.

Here's what I sent to the maintainers of the above two ports:

Subject: apr versus apr-db42, as well as some other issues:

Hello,

First and foremost: I assume you're both reasonably busy professionals. 
That said, I believe there's either a bug in the core operating system 
here, or a bug in the way some of the critical ports are built, and I 
cannot figure it out alone.  It is enough of a problem that it has 
confused at least one apache committer.  That said, if you'd like to be 
compensated in some small way for your time, please point me to your 
amazon wishlists, paypal accounts, et cetera, and I'll try to do the 
right thing.

I am mailing you because you are the maintainers of the apache-2.2.6 and

apr ports.  If there are other people I should be mailing, please let me

know.

This is a post about building apache2.2 from scratch, not from ports -- 
however it raises several issues with port-installed tools that lead me
to 
believe they may still be at fault.  I apologize in advance for the
length 
of this post, but having all the data is sometimes important.  I believe

it's reproducable but I don't have the spare machines to try on.

First, the basics:

1) Is it possible to get some documentation in either the short or long 
description as to what the difference between apr and apr-db42 is?

2) Also, is it at all possible to get some kind of documentation for the

apr-svn port (if it still exists).

3) My big problem:

(I'm going to post everything from here down to the apache-users mailing

list, as well).

I just tried to build apache 2.2.6 from scratch.

I, for various reasons of wanting to keep apache separate from other 
things, for example, to virtualize my apache users, prefer everything in
a 
single dir -- so the ports route isn't for me.

Because apr-db42 had been installed as part of a subversion requirement 
(not sure why), it caused my apache build to look in nonexistent places 
for libraries.

%apr-1-config --apr-libtool
/usr/local/build-1/libtool

(the above path doesn't even exist)

To fix this (and not break the svn port), I resorted to using 
--with-included-apr.  The build THEN failed, claiming it could not find 
the installed expat libraries, in an error exactly like what this 
gentleman had:

http://www.zulustips.com/2007/10/06/problems-compiling-apache-226-on-fre
ebsd-62.html#more-54

And in fact, this apache developer had the same issue:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg18793.html

(search the page for "wtf")

Like them, I had an installed expat, and had it listed in ldconfig -r (I

also note there's a libexpat in /usr/src but don't know what it's there 
for).

(I did not copy my errors because I thought I had found a solution, but 
it's the same error, I assure you).

After that,

I tried resorting to building apache with --with-expat=builtin

I then got THIS error:

/home/danm/httpd-2.2.6/srclib/apr/libtool --silent --mode=link gcc -g
-O2 
-o htpasswd  htpasswd.lo   -lm 
/home/danm/httpd-2.2.6/srclib/pcre/libpcre.la 
/home/danm/httpd-2.2.6/srclib/apr-util/libaprutil-1.la 
/home/danm/httpd-2.2.6/srclib/apr-util/xml/expat/lib/libexpat.la 
/home/danm/httpd-2.2.6/srclib/apr/libapr-1.la -lcrypt -lpthread
/home/danm/httpd-2.2.6/srclib/apr-util/.libs/libaprutil-1.so: undefined 
reference to `libiconv_open'
/home/danm/httpd-2.2.6/srclib/apr-util/.libs/libaprutil-1.so: undefined 
reference to `libiconv_close'
/home/danm/httpd-2.2.6/srclib/apr-util/.libs/libaprutil-1.so: undefined 
reference to `libiconv'
*** Error code 1

Stop in /home5/danm/httpd-2.2.6/support.
*** Error code 1

Stop in /home5/danm/h

Re: Build Frustrations

2007-11-19 Thread Jerry McAllister
On Mon, Nov 19, 2007 at 07:19:34PM -0500, Dan Mahoney, System Admin wrote:

> All,
> 
> I'm of the realization that FreeBSD is a volunteer project, but there's a 
> recent issue I've hit, and I've contacted nearly EVERYONE I can think of 
> about it to try and fix, and the response I've gotten has been a deafening 
> silence.
> 
> I'm having trouble building apache2.2.6, it relates I feel to an 
> inconsitent libexpat library under FreeBSD, COMBINED with a badly made and 
> inconsistent apr port, and some libiconv incompatibilities.  I've emailed 
> ports maintainers, APR developers, the general apache mailing list, and 
> gotten nothing.
>
> ...
> 
> This is a post about building apache2.2 from scratch, not from ports -- 
> however it raises several issues with port-installed tools that lead me to 
> believe they may still be at fault.  I apologize in advance for the length 
> of this post, but having all the data is sometimes important.  I believe 
> it's reproducable but I don't have the spare machines to try on.
> 
> ...
> 
> 3) My big problem:
> 
> 
> I just tried to build apache 2.2.6 from scratch.
> 
> I, for various reasons of wanting to keep apache separate from other 
> things, for example, to virtualize my apache users, prefer everything in a 
> single dir -- so the ports route isn't for me.
> 

You can tell ports where to install something.  We used to install
all of Apache in its own directory to make it easy to manipulate
in a system we were installing in a lot of places.   Check the ports
doc and such.   

jerry

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


FreeBSD-7.0 fails to compile after upgrade

2007-11-19 Thread Yuri
I just upgraded my system, with 7.0-BETA2 CD.
After this I updated the sources from CVS and tried to make buildworld.
But I am getting the  following compilation error.

What may be wrong? 
Seems like some incompatibility between asembler and compiler?

Yuri

../../../crypto/openssl/crypto -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL
_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=
gnu89  -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/en
g_padlock.c -o eng_padlock.So
/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock.
c: In function 'padlock_xcrypt_ecb':
/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock.
c:445: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm
'
/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock.
c:445: error: 'asm' operand has impossible constraints
*** Error code 1

Stop in /usr/src/secure/lib/libcrypto.
*** Error code 1

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


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


Re: Build Frustrations

2007-11-19 Thread Dan Mahoney, System Admin

On Mon, 19 Nov 2007, Jerry McAllister wrote:


On Mon, Nov 19, 2007 at 07:19:34PM -0500, Dan Mahoney, System Admin wrote:


All,

I'm of the realization that FreeBSD is a volunteer project, but there's a
recent issue I've hit, and I've contacted nearly EVERYONE I can think of
about it to try and fix, and the response I've gotten has been a deafening
silence.

I'm having trouble building apache2.2.6, it relates I feel to an
inconsitent libexpat library under FreeBSD, COMBINED with a badly made and
inconsistent apr port, and some libiconv incompatibilities.  I've emailed
ports maintainers, APR developers, the general apache mailing list, and
gotten nothing.

...

This is a post about building apache2.2 from scratch, not from ports --
however it raises several issues with port-installed tools that lead me to
believe they may still be at fault.  I apologize in advance for the length
of this post, but having all the data is sometimes important.  I believe
it's reproducable but I don't have the spare machines to try on.

...

3) My big problem:


I just tried to build apache 2.2.6 from scratch.

I, for various reasons of wanting to keep apache separate from other
things, for example, to virtualize my apache users, prefer everything in a
single dir -- so the ports route isn't for me.



You can tell ports where to install something.  We used to install
all of Apache in its own directory to make it easy to manipulate
in a system we were installing in a lot of places.   Check the ports
doc and such.


*headdesk, repeatedly*

Apache2 is a complete piece of crap.  "Portable Runtime" my ass.  Was 
there something so wrong with APACI?  Apache1.3 built out of the box on 
every system in the world.


Using ports is no better.  And again, I'll take anything anyone can offer 
to explain half this behavior:


prime# make PREFIX=/usr/local/apache2-fa WITH_MPM=worker
===>   apache-worker-2.2.6_2 depends on file: /usr/local/bin/perl5.8.8 - 
found
===>   apache-worker-2.2.6_2 depends on file: /usr/local/bin/autoconf-2.61 
- not found
===>Verifying install for /usr/local/bin/autoconf-2.61 in 
/usr/ports/devel/autoconf261

===>   Returning to build of apache-worker-2.2.6_2
===>   apache-worker-2.2.6_2 depends on file: /usr/local/bin/libtool - 
found

===>   apache-worker-2.2.6_2 depends on shared library: expat.6 - found
===>   apache-worker-2.2.6_2 depends on shared library: iconv.3 - found
===>  Configuring for apache-worker-2.2.6_2
found apr source: srclib/apr
found apr-util source: srclib/apr-util
rebuilding srclib/apr/configure
buildconf: checking installation...
buildconf: autoconf not found.
   You need autoconf version 2.50 or newer installed
   to build APR from SVN.
./buildconf failed for apr
*** Error code 1

Stop in /usr/ports/www/apache22.
*** Error code 1

Stop in /usr/ports/www/apache22.
prime#

ls /var/db/pkg | grep auto
autoconf-2.13.000227_5
autoconf-2.59_2
autoconf-2.61
autoconf-2.61_2
autoconf-wrapper-20071109
automake-1.10
automake-1.4.6_2
automake-1.9.6

--

"If you need web space, give him a hard drive.  If you need to do something really 
heavy, build him a computer."

-Ilzarion, late friday night

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

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


Re: FreeBSD-7.0 fails to compile after upgrade

2007-11-19 Thread Yuri Pankov
On Tuesday 20 November 2007 06:24:36 Yuri wrote:
> I just upgraded my system, with 7.0-BETA2 CD.
> After this I updated the sources from CVS and tried to make
> buildworld. But I am getting the  following compilation error.
>
> What may be wrong?
> Seems like some incompatibility between asembler and compiler?

More like incompatibility with your CFLAGS. Are you using CFLAGS with no 
optimizations (can't guess from pasted log)?

>
> Yuri
>
> .../../../crypto/openssl/crypto
> -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL _THREADS
> -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA
> -std= gnu89  -c
> /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e
>n g_padlock.c -o eng_padlock.So
> /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e
>ng_padlock. c: In function 'padlock_xcrypt_ecb':
> /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e
>ng_padlock. c:445: error: can't find a register in class
> 'GENERAL_REGS' while reloading 'asm '
> /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e
>ng_padlock. c:445: error: 'asm' operand has impossible constraints
> *** Error code 1
>
> Stop in /usr/src/secure/lib/libcrypto.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1


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


Re: FreeBSD Production Release ISO images

2007-11-19 Thread Josh Carroll
> I'm wondering if the FreeBSD 6.2 Production Release ISO images get
> updated periodically when there are important patches, or is it better
> to download the latest snapshot to save the trouble of updating
> everything after installing?

No, the ISOs remain the same as when the release happens. You can use
freebsd-update or csup /usr/src after installation to get updated.

The snapshots are of 6-STABLE, so you wouldn't want to use that if you
want -RELEASE.

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


Re: Build Frustrations

2007-11-19 Thread Dan Mahoney, System Admin

On Mon, 19 Nov 2007, Jerry McAllister wrote:


You can tell ports where to install something.  We used to install
all of Apache in its own directory to make it easy to manipulate
in a system we were installing in a lot of places.   Check the ports
doc and such.


Actually, I just tried this.  This is not what I want.  If I go to cd 
/usr/ports/www/apache22, and do a make PREFIX=/some/other/directory, I do 
NOT get the same thing I'd get building apache from source.  I get ALL the 
apache prerequisites installed under /some/other/dir, as opposed to the 
apache standards places (for example config files which would normally be 
in /usr/local/apache/conf now get installed in /some/other/directory/etc 
(the port installs them in /usr/local/etc).  As a bonus, dependent 
packages get added to my package database under the same prefix, which 
shouldn't happen.  (i.e. I want ONLY the apache2.2 stuff in a 
self-contained directory).


And the apache layout is hard coded (the only configure argument to be 
so):


CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} \
--enable-layout=FreeBSD \
--with-perl=${PERL5} \
--with-port=${WITH_HTTP_PORT} \
--with-expat=${LOCALBASE} \
--with-iconv=${LOCALBASE} \
--enable-http

In short, not at all the same.  Plus, doesn't solve the issue.  I have all 
the necessary binaries I need to build apache, it simply outright refuses 
to build (and also, the APR version in ports is badly broken, nearly a 
year old, and the APR maintainer can't even commit changes without making 
a PR).


Also, this may seem silly as heck, but it should definitely be POSSIBLE to 
build apache outside of the port (so, again, I feel "use the port" is not 
the right answer...there's a deeper problem here).


I mean, obviously if they've got a standard layout defined in the apache 
tree, the apache people expect the code to build on this OS (otherwise if 
the ports-patches are so necessary, we would just define the layout there 
too)


-Dan

--

"This Is Not Goodbye!"

-DM, August 11th 2001, 10 PMish Chicago Time

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

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


FreeBSD NFS server responds with wrong address

2007-11-19 Thread Loren M. Lang
I was attempting to do an NFS mount from a FreeBSD server to a FreeBSD
client over IPv6 and received the error "NFSPROC_NULL: RPC: Timed out."
After doing a packet trace, I noticed that the FreeBSD server was
indeed responding to both a Portmap GATADDR call and a NFS NULL call,
but in both cases it was coming from the IPv6 address closest to the
client making the call and not the address the call was issued to.  Why
is this happening and how do I make the server respond with the correct
address?

The server is FreeBSD 6.2-RELEASE-p7.
-- 
Loren M. Lang
[EMAIL PROTECTED]
http://www.north-winds.org/


Public Key: ftp://ftp.north-winds.org/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 


pgpdlEKmaqGLJ.pgp
Description: PGP signature


Re: FreeBSD-7.0 fails to compile after upgrade

2007-11-19 Thread Yuri
> More like incompatibility with your CFLAGS. Are you using CFLAGS with no 
> optimizations (can't guess from pasted log)?

I didn't specify any special CFLAGS. And my /etc/make.conf is empty.

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


Your message to Core awaits moderator approval

2007-11-19 Thread core-bounces
Your mail to 'Core' with the subject



Is being held until the list moderator can review it for approval.

The reason it is being held:

Post by non-member to a members-only list

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.  If you would like to cancel
this posting, please visit the following URL:


http://lists.cortland.com/confirm/core/ce7ddc589545d5ca15932070b6d85a9bff899e69

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


Re: FreeBSD router and WCCP

2007-11-19 Thread Girish Venkatachalam
On 10:47:37 Nov 19, Steve Bertrand wrote:
 
> Essentially, I simply need a method to redirect layer 3/4 traffic
> destined for anything:80 from the router to the appliance.
> 
> I've got a few options now, so I'll be testing all of them in the coming
> days.
> 

Including this one?

rdr all port 80 to ${appliance} 

Since you are leaving out the proto and "tcp/udp" fields this
redirection will work as expected.

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


Re: FreeBSD-7.0 fails to compile after upgrade

2007-11-19 Thread Sébastien LEFEVRE

Hello,

I have the same problem and you need to add this options in your  
kernel options file:


device  crypto
device  cryptodev
device  enc


For me, now everything it's ok.

Sébastien.


Yuri Pankov <[EMAIL PROTECTED]> a écrit :


On Tuesday 20 November 2007 06:24:36 Yuri wrote:

I just upgraded my system, with 7.0-BETA2 CD.
After this I updated the sources from CVS and tried to make
buildworld. But I am getting the  following compilation error.

What may be wrong?
Seems like some incompatibility between asembler and compiler?


More like incompatibility with your CFLAGS. Are you using CFLAGS with no
optimizations (can't guess from pasted log)?



Yuri

.../../../crypto/openssl/crypto
-I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL _THREADS
-DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA
-std= gnu89  -c
/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e
n g_padlock.c -o eng_padlock.So
/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e
ng_padlock. c: In function 'padlock_xcrypt_ecb':
/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e
ng_padlock. c:445: error: can't find a register in class
'GENERAL_REGS' while reloading 'asm '
/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e
ng_padlock. c:445: error: 'asm' operand has impossible constraints
*** Error code 1

Stop in /usr/src/secure/lib/libcrypto.
*** Error code 1

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



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






This message was sent using IMP, the Internet Messaging Program.


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


Re: Help no network with dhcp

2007-11-19 Thread kev c

--- security <[EMAIL PROTECTED]> wrote:

> 
> > Its me, kev. Sorry, I misunderstood the request. I
> > redid the test on a separate computer and it didnt
> > broadcast the dhcprequest.
> >
> > The router's log shows no dhcp activities.
> >
> > I tried by passing the router and using my isp's
> dhcp
> > server but the result was the same.
> >
> > I tried useing sysinstall on a computer with a
> > different network card and it worked.
> >
> > I am useing 6.2 release.
> >   
> If you're not seeing the broadcast, it doesn't
> matter whose dhcp server
> you use.
> 
> When you say you used a different card, is it the
> same mfg/chipset or a
> different one?
> 
It was a different kind of card it had a different
chipset. I was confused because the not working card
doesnt actually have a dm9102a chipset that is just
what freebsd said it has a dm9102af chip I looked
inside the computer and made sure.

Thank you for the help I thought that maybe I was
doing something wrong since I hadnt installed freebsd
before.

> 6.2 should support that card.  on the card that
> doesn't work, do you see
> a link light come up when you boot up to sysinstall?
> 
> Have you switched to the alternate console to check
> for error messages?
> 
> thks
> 



  

Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs 

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


Re: FreeBSD-7.0 fails to compile after upgrade

2007-11-19 Thread Yuri Pankov
On Tuesday 20 November 2007 06:40:53 Yuri wrote:
> > More like incompatibility with your CFLAGS. Are you using CFLAGS
> > with no optimizations (can't guess from pasted log)?
>
> I didn't specify any special CFLAGS. And my /etc/make.conf is empty.
>
> Yuri

What about /etc/src.conf and more complete build log (at least whole 
compiler line)?


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


changing passowrd on LDAP backend?

2007-11-19 Thread O. Hartmann
Running several FreeBSD 7.0-BETA2/3 boxes with OpenLDAP 2.3.39-backend 
drove me into a problem:
No local user is capable of neither changing his password nor shell or 
GECOS although this is allowed by users to do in LDAP ACLs.
Looking for a solution in mailing lists I found only one - patching 
usr.bin/passwd/passwd.c. Doing so, users were capable of changing their 
passwords on LDAP backedn. Without this "patch" (simply commenting out a 
line and inserting a fprintf()-line for convenience) someone will get an 
error message only local users may change their passwords.


So, what is wrong with passwd.c not to be capable of changing passwords 
with an OpenLDAP backend by default?


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


kdevelop install failure

2007-11-19 Thread Alain G. Fabry
Hello,

I'm trying to update my ports and need to still port_upgrade kdevelop but 
during the
upgrade fails with the following error

checking for Berkeley DB >= 4.1... configure: error: no - please install 
Berkeley DB >= 4.1
===>  Script "configure" failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
"/usr/ports/devel/kdevelop/work/kdevelop-3.5.0/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/devel/kdevelop.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.65570.0 
env make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! devel/kdevelop(configure error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
Command failed [exit code 1]: /usr/local/sbin/portinstall devel/kdevelop



I do have the Berkeley DB installed however.

FreeBSD# pkg_info | grep db4
apr-gdbm-db4-1.2.8_2 The Apache Group's Portability Library
db4-4.0.14_1,1  The Berkeley DB package, revision 4
db41-4.1.25_4   The Berkeley DB package, revision 4.1
db42-4.2.52_5   The Berkeley DB package, revision 4.2


What do I need to do to solve this problem? pkgdb is with a stale dependancy...

Looked in UPDATING but can't really find anything on kdevelop

Many thanks,

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


Re: FreeBSD-7.0 fails to compile after upgrade

2007-11-19 Thread Yuri

> What about /etc/src.conf and more complete build log (at least whole 
> compiler line)?

I don't have /etc/src.conf file. Please see last few build commands below.

Versions of relevant commands:
cc (GCC) 4.2.1 20070719  [FreeBSD]
GNU assembler 2.15 [FreeBSD] 2004-05-23

Yuri


cc -fpic -DPIC -I/usr/local/include  -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/l
ib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/libcrypto/../../../cr
ypto/openssl/crypto -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -D
DSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu89  -c /
usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_openssl.c
 -o eng_openssl.So
cc -fpic -DPIC -I/usr/local/include  -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/l
ib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/libcrypto/../../../cr
ypto/openssl/crypto -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -D
DSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu89  -c /
usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock.c
 -o eng_padlock.So
/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock.
c: In function 'padlock_xcrypt_ecb':
/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock.
c:445: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm
'
/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock.
c:445: error: 'asm' operand has impossible constraints
*** Error code 1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Does 7.0-BETA2 still have debug options like 6.0-BETA did?

2007-11-19 Thread Yuri

When 6.0 was in BETA kernel had many options like WITNESS/INVARIANTS. User-land
also has some special options. Those options made FreeBSD-BETA much slower.

Are any similar options "on" now in 7.0-BETA2? What is the complete list?

I can only find an option "makeoptions DEBUG=-g" in sys/i386/conf/GENERIC.

But it feels slower than 6.3.

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


Re: Build Frustrations

2007-11-19 Thread Reko Turja
===>   apache-worker-2.2.6_2 depends on file: 
/usr/local/bin/autoconf-2.61 - not found
===>Verifying install for /usr/local/bin/autoconf-2.61 in 
/usr/ports/devel/autoconf261

===>   Returning to build of apache-worker-2.2.6_2

...

buildconf: checking installation...
buildconf: autoconf not found.
   You need autoconf version 2.50 or newer installed
   to build APR from SVN.
./buildconf failed for apr


These messages looks pretty similar I had after ports autotool cleanup 
(i.e. the new wrapper thingie). Solution for me was removing all the 
auto* ports and reinstalling only the new wrapper.


APR working decent-like:
[www] ~> httpd -V
Server version: Apache/2.2.6 (FreeBSD)
Server built:   Oct  2 2007 00:21:11
Server's Module Magic Number: 20051115:5
Server loaded:  APR 1.2.11, APR-Util 1.2.10
Compiled using: APR 1.2.11, APR-Util 1.2.10
...

-Reko 


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


Re: FreeBSD-7.0 fails to compile after upgrade

2007-11-19 Thread Yuri Pankov
On Tuesday 20 November 2007 09:30:40 Yuri wrote:
> > What about /etc/src.conf and more complete build log (at least
> > whole compiler line)?
>
> I don't have /etc/src.conf file. Please see last few build commands
> below.
>
> Versions of relevant commands:
> cc (GCC) 4.2.1 20070719  [FreeBSD]
> GNU assembler 2.15 [FreeBSD] 2004-05-23
>
> Yuri
>
>
> cc -fpic -DPIC -I/usr/local/include  -DTERMIOS -DANSI_SOURCE
> -I/usr/src/secure/l ib/libcrypto/../../../crypto/openssl
> -I/usr/src/secure/lib/libcrypto/../../../cr ypto/openssl/crypto
> -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -D
> DSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA
> -std=gnu89  -c /
> usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/en
>g_openssl.c -o eng_openssl.So
> cc -fpic -DPIC -I/usr/local/include  -DTERMIOS -DANSI_SOURCE
> -I/usr/src/secure/l ib/libcrypto/../../../crypto/openssl
> -I/usr/src/secure/lib/libcrypto/../../../cr ypto/openssl/crypto
> -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -D
> DSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA
> -std=gnu89  -c /
> usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/en
>g_padlock.c -o eng_padlock.So
> /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e
>ng_padlock. c: In function 'padlock_xcrypt_ecb':
> /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e
>ng_padlock. c:445: error: can't find a register in class
> 'GENERAL_REGS' while reloading 'asm '
> /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e
>ng_padlock. c:445: error: 'asm' operand has impossible constraints
> *** Error code 1

Yes, that's what I'm talking about, you don't have any optimizations 
(-Ox) in flags to cc and that's why it fails. Make sure that you don't 
have CFLAGS set to '' in your environment or elsewhere (cd /usr/src ; 
make -V CFLAGS  will show your current settings).


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


who do I report this to?

2007-11-19 Thread Aryeh M. Friedman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Who do I report the following issue to (it falls into at least 3 camps)?

If I am downloading a torrent in deluge 0.5.6.2_1 *AND* am logged into
gmail (*WITH* a chat open) my network connection looses about 90% of
it's capacity (for all applications), re(4) with the following:

rgephy0:  PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto

After some experimenting this problem *only* occurs under the above
conditions.

Addtional info:

gnome 2.20.1
nv driver (latest)
Xorg 7.3

FreeBSD monster 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Thu Nov 15
19:17:50 EST 2007
[EMAIL PROTECTED]:/usr/obj/FreeBSD/FreeBSD-current/src/sys/MONSTER  amd64

Buildworld done at the same time as buildkernelCopyright (c) 1992-2007
The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.0-CURRENT #1: Thu Nov 15 19:17:50 EST 2007
[EMAIL PROTECTED]:/usr/obj/FreeBSD/FreeBSD-current/src/sys/MONSTER
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU E6850  @ 3.00GHz (3005.68-MHz
K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fb  Stepping = 11
 
Features=0xbfebfbff
 
Features2=0xe3fd
  AMD Features=0x2800
  AMD Features2=0x1
  Cores per package: 2
usable memory = 4281409536 (4083 MB)
avail memory  = 4127895552 (3936 MB)
ACPI APIC Table: <052107 APIC1013>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <052107 RSDT1013> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, dff0 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0:  on acpi0
ACPI Warning (tbutils-0243): Incorrect checksum in table [OEMB] -  86,
should be 79 [20070320]
est0:  on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 92a092a0600092a
device_attach: est0 attach returned 6
p4tcc0:  on cpu0
cpu1:  on acpi0
est1:  on cpu1
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 92a092a0600092a
device_attach: est1 attach returned 6
p4tcc1:  on cpu1
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  irq 16 at device 1.0 on pci0
pci1:  on pcib1
uhci0:  port 0xcc00-0xcc1f irq 16 at
device 26.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0:  on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xc880-0xc89f irq 21 at
device 26.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1:  on usb1
uhub1: 2 ports with 2 removable, self powered
ehci0:  mem 0xfcdffc00-0xfcdf
irq 18 at device 26.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2:  on ehci0
usb2: USB revision 2.0
uhub2:  on usb2
uhub2: 4 ports with 4 removable, self powered
pcm0:  mem
0xfcdf8000-0xfcdfbfff irq 22 at device 27.0 on pci0
pcm0: [ITHREAD]
pcib2:  irq 17 at device 28.0 on pci0
pci2:  on pcib2
pcib3:  irq 17 at device 28.4 on pci0
pci3:  on pcib3
atapci0:  port
0xdc00-0xdc07,0xd880-0xd883,0xd800-0xd807,0xd480-0xd483,0xd400-0xd40f
mem 0xfceffc00-0xfcef irq 16 at device 0.0 on pci3
atapci0: [ITHREAD]
ata2:  on atapci0
ata2: [ITHREAD]
pcib4:  irq 16 at device 28.5 on pci0
pci4:  on pcib4
re0:  port 0xe800-0xe8ff mem
0xfcfff000-0xfcff irq 17 at device 0.0 on pci4
re0: Using 2 MSI messages
miibus0:  on re0
rgephy0:  PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
re0: Ethernet address: 00:19:db:b5:f8:0f
re0: [FILTER]
re0: [FILTER]
uhci2:  port 0xc800-0xc81f irq 23 at
device 29.0 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb3:  on uhci2
usb3: USB revision 1.0
uhub3:  on usb3
uhub3: 2 ports with 2 removable, self powered
uhci3:  port 0xc480-0xc49f irq 19 at
device 29.1 on pci0
uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb4:  on uhci3
usb4: USB revision 1.0
uhub4:  on usb4
uhub4: 2 ports with 2 removable, self powered
uhci4:  port 0xc400-0xc41f irq 18 at
device 29.2 on pci0
uhci4: [GIANT-LOCKED]
uhci4: [ITHREAD]
usb5:  on uhci4
usb5: USB revision 1.0
uhub5:  on usb5
uhub5: 2 ports with 2 removable, self powered
uhci5:  port 0xc080-0xc09f irq 16 at
device 29.3 on pci0
uhci5: [GIANT-LOCKED]
uhci5: [ITHREAD]
usb6:  on uhci5
usb6: USB revision 1.0
uhub6:  on usb6
uhub6: 2 ports with 2 removable, self powered
ehci1:  mem 0xfcdff800-0xfcdffbff
irq 23 at device 29.7 on pci0
ehci1: [GIANT-LOCKED]
ehci1: [ITHREAD]

Re: Build Frustrations

2007-11-19 Thread Paul Schmehl
--On November 19, 2007 11:00:44 PM -0500 "Dan Mahoney, System Admin" 
<[EMAIL PROTECTED]> wrote:



On Mon, 19 Nov 2007, Jerry McAllister wrote:


You can tell ports where to install something.  We used to install
all of Apache in its own directory to make it easy to manipulate
in a system we were installing in a lot of places.   Check the ports
doc and such.


Actually, I just tried this.  This is not what I want.  If I go to cd
/usr/ports/www/apache22, and do a make PREFIX=/some/other/directory, I
do NOT get the same thing I'd get building apache from source.  I get
ALL the apache prerequisites installed under /some/other/dir, as opposed
to the apache standards places (for example config files which would
normally be in /usr/local/apache/conf now get installed in
/some/other/directory/etc (the port installs them in /usr/local/etc).
As a bonus, dependent packages get added to my package database under
the same prefix, which shouldn't happen.  (i.e. I want ONLY the
apache2.2 stuff in a self-contained directory).

Silly me.  I had no idea there was a "standard place" for apache to put 
its stuff.  On *some* linux builds, the conf files are in 
/etc/httpd/conf.d/ and the document root in /var/www.  On FreeBSD they're 
in /usr/local/etc/apache{ver.} and /usr/local/www/apache{ver}, 
respectively.  What's the "standard place" I wonder?  I suspect it has a 
lot more to do with the conventions of the particular OS than it does with 
the application.



And the apache layout is hard coded (the only configure argument to be
so):

CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} \
 --enable-layout=FreeBSD \
 --with-perl=${PERL5} \
 --with-port=${WITH_HTTP_PORT} \
 --with-expat=${LOCALBASE} \
 --with-iconv=${LOCALBASE} \
 --enable-http

In short, not at all the same.  Plus, doesn't solve the issue.  I have
all the necessary binaries I need to build apache, it simply outright
refuses to build (and also, the APR version in ports is badly broken,


Yet, oddly, I have it installed and it works fine.
httpd -V
Server version: Apache/2.2.6 (FreeBSD)
Server built:   Oct 21 2007 00:03:07
Server's Module Magic Number: 20051115:5
Server loaded:  APR 1.2.11, APR-Util 1.2.10
Compiled using: APR 1.2.11, APR-Util 1.2.10
Architecture:   32-bit
Server MPM: Prefork
 threaded: no
   forked: yes (variable process count)
Server compiled with
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FLOCK_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/usr/local"
-D SUEXEC_BIN="/usr/local/bin/suexec"
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="/var/run/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/accept.lock"
-D DEFAULT_ERRORLOG="/var/log/httpd-error.log"
-D AP_TYPES_CONFIG_FILE="etc/apache22/mime.types"
-D SERVER_CONFIG_FILE="etc/apache22/httpd.conf"


nearly a year old, and the APR maintainer can't even commit changes
without making a PR).


And this is a bad thing because?

You *do* know that you can make any changes you want for your system?  You 
can edit the port any way you want or install from source without using 
the port or, oh, whatever you like.  It *is* unix, after all.



Also, this may seem silly as heck, but it should definitely be POSSIBLE
to build apache outside of the port (so, again, I feel "use the port" is
not the right answer...there's a deeper problem here).

Not silly at all.  Some people build all their applications that way. 
*But*, you have to know what you're doing.



I mean, obviously if they've got a standard layout defined in the apache
tree, the apache people expect the code to build on this OS (otherwise
if the ports-patches are so necessary, we would just define the layout
there too)

If I understood what you were saying here, I'd respond.  You display all 
the symptoms of a newbie to FreeBSD.  You're used to seeing things in 
certain places, and they're not there, and you're frustrated.


Try asking for help politely instead of insulting the very people who can 
help you and denigrating the OS you're trying to build on.


You catch more flies with honey than vinegar.

Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

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


Re: Build Frustrations

2007-11-19 Thread Paul Schmehl
--On November 19, 2007 10:17:18 PM -0500 "Dan Mahoney, System Admin" 
<[EMAIL PROTECTED]> wrote:


*headdesk, repeatedly*

Apache2 is a complete piece of crap.  "Portable Runtime" my ass.  Was
there something so wrong with APACI?  Apache1.3 built out of the box on
every system in the world.

I understand you may be frustrated right now, but really, this is a bit 
over the top.  I just upgrade to apache2.2 and it runs just fine.  I doubt 
seriously I'm the only person running it on FreeBSD.



Using ports is no better.  And again, I'll take anything anyone can
offer to explain half this behavior:


Easily explained


prime# make PREFIX=/usr/local/apache2-fa WITH_MPM=worker
===>   apache-worker-2.2.6_2 depends on file: /usr/local/bin/perl5.8.8 -
found
===>   apache-worker-2.2.6_2 depends on file:
/usr/local/bin/autoconf-2.61 - not found
===>Verifying install for /usr/local/bin/autoconf-2.61 in
/usr/ports/devel/autoconf261
===>   Returning to build of apache-worker-2.2.6_2
===>   apache-worker-2.2.6_2 depends on file: /usr/local/bin/libtool -
found
===>   apache-worker-2.2.6_2 depends on shared library: expat.6 - found
===>   apache-worker-2.2.6_2 depends on shared library: iconv.3 - found
===>  Configuring for apache-worker-2.2.6_2
found apr source: srclib/apr
found apr-util source: srclib/apr-util
rebuilding srclib/apr/configure
buildconf: checking installation...
buildconf: autoconf not found.
You need autoconf version 2.50 or newer installed
to build APR from SVN.


See this?  It's telling you what's wrong.  You need autoconf 2.50 or 
better.



./buildconf failed for apr
*** Error code 1

Stop in /usr/ports/www/apache22.
*** Error code 1

Stop in /usr/ports/www/apache22.
prime#

ls /var/db/pkg | grep auto
autoconf-2.13.000227_5
autoconf-2.59_2
autoconf-2.61
autoconf-2.61_2
autoconf-wrapper-20071109
automake-1.10
automake-1.4.6_2
automake-1.9.6


ls /var/db/pkg/ | grep auto
autoconf-2.61_2
autoconf-wrapper-20071109
automake-1.4.6_4
automake-wrapper-20071109

Notice a difference?  Uninstall all the previous versions so your system 
isn't totally confused and fubared.  Or run pkgdb -F and watch what 
happens.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

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