Re: diagnosing a reacurring system freeze

2007-02-21 Thread Zbigniew Szalbot
Dear Derek, Kris and others,

Solved - thank you very much for your help! It was the ehthernet adapter.
I got an Intel adapter and haven't had a single problem with freezes.

Thank you very much for pointing me in the right direction.

Warm regards,

Zbigniew Szalbot

Derek Ragona wrote:
> Hard to tell if it is your dc0 ethernet adapter or a swap issue.  I would
>  try a different ethernet controller and see what happens as that is a
> cheap experiment.
>
> -Derek
>
>
>
> At 04:30 PM 2/15/2007, Zbigniew Szalbot wrote:
>
>> Hello,
>>
>>
>> Derek Ragona wrote:
>>
>>> First you should provide more information such as the output from
>>> your dmesg, whether you have the server running X or just text mode.
>>
>> In my case I do not run X, the system mostly operates mysql database
>> and exim MTA (and this causes a bigger load sometimes up to 3.0 or so).
>>
>>>
>>> Describe your lockup, does the system completely freeze, or is it
>>> still ping-able?
>> In my case it is always a complete freeze but only for a relatively
>> short period of time (20-30 seconds, sometimes longer though - up to 2
>> minutes).
>>
>> For example, I noticed on a few occasions that when I used cat |grep on
>> a log file and the output displayed on screen was quite extensive (lots
>> of data), the system would freeze. But not always.
>>
>> Here's the dmesg.today output:
>>
>>
>> Copyright (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 6.2-RELEASE #0: Mon Jan 22 12:52:41 CET 2007
>> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LISTS
>> Timecounter "i8254" frequency 1193182 Hz quality 0
>> CPU: Intel Pentium III (868.20-MHz 686-class CPU)
>> Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
>>
>>
>> Features=0x387f9ff> CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
>> real memory  = 535691264 (510 MB) avail memory = 514801664 (490 MB) kbd1
>> at kbdmux0 acpi0:  on motherboard
>> acpi0: Power Button (fixed)
>> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
>> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
>> cpu0:  on acpi0
>> acpi_button0:  on acpi0
>> pcib0:  port 0xcf8-0xcff on acpi0
>> pci0:  on pcib0
>> agp0:  mem
>> 0xe800-0xebff,0xeff8-0xefff irq 10 at device 1.0 on pci0
>>  pcib1:  at device 30.0 on pci0
>> pci1:  on pcib1
>> dc0:  port 0xbc00-0xbcff mem
>> 0xefdfff00-0xefdf irq 11 at device 0.0 on pci1
>> miibus0:  on dc0
>> ukphy0:  on miibus0
>> ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>> dc0: Ethernet address: 00:80:ad:82:6e:58
>> isab0:  at device 31.0 on pci0
>> isa0:  on isab0
>> atapci0:  port
>> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0
>>  ata0:  on atapci0
>> ata1:  on atapci0
>> pci0:  at device 31.2 (no driver attached)
>> pci0:  at device 31.3 (no driver attached)
>> pci0:  at device 31.5 (no driver attached)
>> atkbdc0:  port 0x60,0x64 irq 1 on acpi0
>> atkbd0:  irq 1 on atkbdc0
>> kbd0 at atkbd0 atkbd0: [GIANT-LOCKED]
>> fdc0:  port 0x3f0-0x3f3,0x3f4-0x3f5,0x3f7 irq 6
>>  drq 2 on acpi0 fdc0: [FAST]
>> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
>> sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
>> acpi0
>> sio0: type 16550A
>> ppc0:  port 0x378-0x37f,0x778-0x77b irq 7 drq
>> 3
>> on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
>> ppc0: FIFO with 16/16/9 bytes threshold
>> ppbus0:  on ppc0
>> plip0:  on ppbus0
>> lpt0:  on ppbus0
>> lpt0: Interrupt-driven port
>> ppi0:  on ppbus0
>> pmtimer0 on isa0 orm0:  at iomem 0xc-0xcbfff on isa0
>> sc0:  at flags 0x100 on isa0
>> sc0: VGA <16 virtual consoles, flags=0x300>
>> sio1: configured irq 3 not in bitmap of probed irqs 0
>> sio1: port may not be enabled
>> vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on
>> isa0 Timecounter "TSC" frequency 868204315 Hz quality 800
>> Timecounters tick every 1.000 msec
>> ad0: 76319MB  at ata0-master UDMA66
>> acd0: CDROM  at ata0-slave PIO4
>> Trying to mount root from ufs:/dev/ad0s1a
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> dc0: watchdog timeout
>> 

Re: 64-bits platform question

2007-02-21 Thread Peter Jeremy
Bill Moran <[EMAIL PROTECTED]> wrote:
>On a side note -- a LOT of people have been making this mistake recently.
>Can anyone think of a way to make it more obvious that people are downloading
>the wrong isos?

The cheapest solution is probably having a pile of symlinks on the FTP
site so that everywhere "amd64" appears under pub/FreeBSD, there is an
equivalent "em64t" name that just points to it (existing symlinks,
directories and ISO images).  Maybe add some bigger notes that the
"amd64" distribution should be used on EM64T CPUs.

Possibly a README file in the most used ia64 directories noting that
if you have an EM64T, you are in the wrong place.

-- 
Peter Jeremy


pgpo3Tp25Hvba.pgp
Description: PGP signature


Re: 64-bits platform question

2007-02-21 Thread Eric Anderson

On 02/21/07 13:35, Aard Nerd wrote:
Hi list, as far as I know Intel 64 architecture (formerly known as Intel 
Extended Memory 64 Technology, or Intel EM64T) enables 64-bit computing on 
desktop when combined with supporting software. If I am right, 64-bit 
computing (on Intel architecture) requires a computer system with a 
processor, chipset, BIOS, operating system, device drivers and applications 
enabled for Intel EM64T architecture. So I bought an ASUS P4P800-VM with a 
3.0GHz processor that supports Intel EM64T and 1Gb of Infineon PC3200 RAM 
memory. The system is ok...so why I can't install BSD 64 bits with my system 
???


Any clues, thanks in advance.



Which CD did you try to install with, and what error/problem did you get?

There's not much info here to help you with..

Eric

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


gnome art exec error

2007-02-21 Thread Sergio Lenzi
hello.. I have a problem with
gnome-art on gnome 2.16.3  in my computers
it does not runs, gives exec error.

FreeBSD 6.1, Ruby-1.8.5, Ruby-gnome2 0.16.0

an installed ruby-libglade, and test programs runs ok...


error message:

/usr/local/lib/ruby/site_ruby/1.8/libglade2.rb:105:in
`guard_source_from_gc': undefined method `signal_connect' for
nil:NilClass (NoMethodError)
from /usr/local/lib/ruby/site_ruby/1.8/libglade2.rb:98:in
`guard_sources_from_gc'
from /usr/local/lib/ruby/site_ruby/1.8/libglade2.rb:97:in `each'
from /usr/local/lib/ruby/site_ruby/1.8/libglade2.rb:97:in
`guard_sources_from_gc'

from /usr/local/lib/ruby/site_ruby/1.8/gnome-art/ui/main_window.rb:602:in 
`initialize'

from /usr/local/lib/ruby/site_ruby/1.8/gnome-art/ui/main_window.rb:602:in `new'

from /usr/local/lib/ruby/site_ruby/1.8/gnome-art/ui/main_window.rb:602:in 
`init_glade'

from /usr/local/lib/ruby/site_ruby/1.8/gnome-art/ui/main_window.rb:767:in 
`initialize'

from /usr/local/lib/ruby/site_ruby/1.8/gnome-art/gnome_art.rb:130:in
`new'

from /usr/local/lib/ruby/site_ruby/1.8/gnome-art/gnome_art.rb:130:in
`main'
from /usr/local/bin/gnome-art:25


Any help???   please
seems that libglade is trying to defide a signal for nil (null).


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


Re: Enet driver for Marvell

2007-02-21 Thread Ted Mittelstaedt
That driver isn't in FreeBSD 6.2 release

you can get it here for 6.2 plus instructions to install it:

http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html

It will be in FBSD 7

Ted
- Original Message - 
From: "jekillen" <[EMAIL PROTECTED]>
To: "FreeBSD Mailing List" 
Sent: Monday, February 19, 2007 8:21 PM
Subject: Enet driver for Marvell


> Hello;
> A while ago, a matter of a few months I inquired of this list regarding
> installation of FreeBSD v6.0 on ASUS M2N32 WS Pro motherboard.
> I was not able to set up dual ethenet inter faces as the only option
> presented by sysinstall when configuring enet interface was
> fw30 as firewire ethernet emulation. I was advise to upgrade to v6.2
> which I have just done. I still do not have more than the fwe interface
> presented.
> The response to the original message, I can not find, but I was told
> that the motherboard was probably one with new Marvell interfaces.
> Now, I have looked at the features listed on the motherboard package
> and there it is;
> 2x Marvell 88E1116 PHY
> Is there a driver that has to be activated by kernel config setting or
> what is the status of support for this hardware in FreeBSD?
> I just looked through the supported hardware/ethernet devices for
> the i386 architecture and did not find any reference to Marvell.
> I purchase a cd set of v6.2 cds from FreeBSD Mall (not inplying
> any criticism, just that it represents a method of contribution to
> this project).
> This is frustrating because this machine is supposed to be a production
> web server. Hardware including dual 15K SCSI drives and adapter  has run
> in the neighborhood of $1000 and it still is not useful for it'
> intended purpose
> Any info or advice appreciated
> Thanks in advance;
> Jeff K
>
> ___
> 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]"


em0 invalid checksum on new T60

2007-02-21 Thread Jesse Sheidlower

I just got my new ThinkPad T60 and have been installing merrily
away. So far most things have worked fine, though I still have 
lots to do and will no doubt have a few more questions.

A big one right off the start, though, is that my Ethernet card
is not working. On boot I get this:

---
em0:  port 0x3000-0x301f 
mem 0xee00-0xee01 irq 16 at device 0.0 on pci2
em0: The EEPROM Checksum Is Not Valid
em0: Unable to initialize the hardware
device_attach: em0 attach returned 5
---

I Googled for this and saw very few reports of this error; a
post from Dan Langille in 2004 suggested adding
hw.pci.allow_unsupported_io_range="1" to /boot/loader.conf,
but this had no effect.

Any other thoughts? The Atheros card was detected and is 
working fine, so I have WiFi, but it'll be tough to
function without an Ethernet connection.

Thanks.

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


Re: vmware Questions

2007-02-21 Thread John Nielsen
On Wednesday 21 February 2007 20:50, Martin McCormick wrote:
>   If one has a FreeBSD system that has 1 gigabyte of RAM
> and a 1-GHZ processor, would it be possible to run a couple of
> vmware instances of FreeBSD?  I want to set up a DHCP server on
> each virtual machine and configure one to be optimized for DHCP
> failover and dynamic leases while the other is dedicated to
> static bootp service.  It would be much easier for the 2
> instances of dhcpd to run in separate machines, so to speak,
> since they normally use the same named files for logging and
> configuration.
>
>   What sort of a performance hit does one usually see on a
> virtual machine?

Depends a lot on the virtual machine. VMware Server runs VM's pretty 
efficiently, but there is a moderate hit. ESX server has almost n 
performance penalty.

>   When we run dhcpd on a normal FreeBSD system of the type
> described above, the system is normally loaded around 0.05 or so
> so it isn't having to work too hard.
>
>   Thanks for any help as to what vmware port is best.  The
> platform is FreeBSD and the 2 virtual machines will also be
> FreeBSD if that makes any difference.

Modern versions of VMware don't run under FreeBSD. If you really want VMware 
then install a supported Linux distro and run VMware server. (Or go out and 
buy ESX or GSX server or one of the Workstation products). FreeBSD 6.2 
works great as a guest under most VMware products.

>   There will be no X windows involved, just hopefully 2
> DHCP servers running as if they were on two separate boxes.
>
>   Any information to point me in the right direction or
> reasons why this is not a good idea are appreciated.

For what you're talking about, jails make a lot more sense than 
virtualization or emulation. If you really want to run virtual machines 
under FreeBSD, take a look at qemu. qemu (even with the kqemu_kmod port 
(highly recommended) definitely has a noticeable performance impact, but 
DHCP is so lightweight that it probably won't matter.

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


[SOLVED] Re: login.conf not honored for rc scripts?

2007-02-21 Thread Josh Carroll

Ok, I should have dug into the rc scripts to begin with. For archive
sake, and so others who may stumble upon this can find a solution, I
found that for mysql, I needed the following in rc.conf:

mysql_limits=YES

And also, since the mysql rc script is hard-coded to use the login
class "mysql", I had to change that name.

For apache, it's more configurable, so I was able to add the following:

apache22limits_enable=YES
apache22limits_args="-e -C www"

And I just renamed the gallery class to www for clarity.

Sorry to bug the list :) I should have read the damn source to begin with.

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


Re: 64-bits platform question

2007-02-21 Thread Coleman Kane

On 2/21/07, Aard Nerd <[EMAIL PROTECTED]> wrote:


Hi list, as far as I know Intel 64 architecture (formerly known as Intel
Extended Memory 64 Technology, or Intel EM64T) enables 64-bit computing on
desktop when combined with supporting software. If I am right, 64-bit
computing (on Intel architecture) requires a computer system with a
processor, chipset, BIOS, operating system, device drivers and
applications
enabled for Intel EM64T architecture. So I bought an ASUS P4P800-VM with a
3.0GHz processor that supports Intel EM64T and 1Gb of Infineon PC3200 RAM
memory. The system is ok...so why I can't install BSD 64 bits with my
system
???

Any clues, thanks in advance.


Cheers / Me.



It would be helpful to know exactly what hurdles you are encountering
attempting to install the OS. Did you download the AMD64 port of FreeBSD
(AMD is the developer of the architecture that Intel calls "EM64T", so the
name "amd64" also refers to "em64t" platforms). If you are attempting to
install the IA64 port of FreeBSD then you are using the wrong architecture.
IA64 is for Itanium only (and is completely different from EM64T and AMD64
and i386).

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


Xen status

2007-02-21 Thread Joe Auty

Hello,

Will Xen run as a guest OS in FreeBSD 5.5?

The information on this page is a little ambiguous:

http://wiki.xensource.com/xenwiki/OSCompatibility







---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


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


Re: Mount order of fstab

2007-02-21 Thread [EMAIL PROTECTED]

On 21/02/07, Troy Schultz <[EMAIL PROTECTED]> wrote:

Hello,

I am trying to mount a smb share into a jail.
The way that I am trying to accomplish this is:

1. mount the smb share onto /mnt read only
2. mount the /mnt share into the /jail/xxx.xxx.xxx.xxx directory nullfs

This all works by hand. However, when set in fstab to mount the smb
share and then the nullfs following it, the nullfs is mounted first
then the smb share and this shows nothing. Is there a way that I can
force the order or am I just plain doing something wrong?


No experience with this, but the "late" option
in mount(8) might be your key.

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


login.conf not honored for rc scripts?

2007-02-21 Thread Josh Carroll

I've been having a problem with mysql and apache starting up properly,
and finally I think I found the issue.

I have a "gallery" class defined in /etc/login.conf with the limits I
want, but the rc scripts are using the default class values instead. I
put:

limits > /tmp/limits

In the /usr/local/etc/rc.d/mysql-server rc script, and I see the following:

Resource limits (current):
 cputime  infinity secs
 filesize infinity kB
 datasize24576 kB
 stacksize   24576 kB
 coredumpsize0 kB
 memoryuse   24576 kB
 memorylocked24576 kB
 maxprocesses   25
 openfiles 200
 sbsize   infinity bytes
 vmemoryuse  24576 kB

Here is the gallery login class definition from login.conf:

gallery:\
   :datasize=400M:\
   :stacksize=400M:\
   :memorylocked=400M:\
   :vmemoryuse=400M:\

And here is the mysql entry in master.passwd:

mysql:*:88:88:gallery:0:0:MySQL Daemon:/nonexistent:/sbin/nologin

I'm hoping someone can point out what I'm missing here. Before anyone
asks, yes I did run pwd_mkdb and cap_mkdb :)

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


Re: NTFS-3G driver problem

2007-02-21 Thread Kevin Kinsey

Jason Gretz wrote:
Hey guys, I got a prob here, I am trying to install the new 
NTFS-3G driver, which just went 1.0, and This is what the 

> output of  "make install && make clean" got me:


===>  Installing for fusefs-ntfs-0.20070207RC1

===>   fusefs-ntfs-0.20070207RC1 depends on file: /usr/local/modules/fuse.ko - not found 


===>Verifying reinstall for /usr/local/modules/fuse.ko in 
/usr/ports/sysutils/fusefs-kmod

===>  fusefs-kmod-0.3.0_4 requires the Kernel source to be installed. Set SRC_BASE if it is not in /usr/src. 



Well, do you have the source distribution installed in the usual place? 
It would appear not


Kevin Kinsey
--
Each of us bears his own Hell.
-- Publius Vergilius Maro (Virgil)

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


Re: Java install problem

2007-02-21 Thread Kevin Kinsey

AN wrote:
I just downloaded and installed the 2 packages from the 
freebsdfoundation.org website, diablo-jre-freebsd6.i386.1.5.0.07.01.tbz 
and diablo-jdk-freebsd6.i386.1.5.0.07.01.tbz.  However, when I restart 
Seamonkey or Firefox Java is not enabled.


There were no messages after the packages installed indicating any more 
steps were necessary for configuration.  Maybe some links need to be 
created that were not done in the install?  I thought these packages 
were just supposed to work.




Disclaimer:  IANAE, but I do have Java running ATM with Seamonkey.

Do you have 
/usr/local/diablo-jdk1.5.0/jre/plugin/i386/ns7/libjavaplugin_oji.so ?

Or something similar?

If so, make a link to it in /usr/local/lib/browser_plugins/ and restart 
the browser.  Worked for me; although, I had done this previously and 
somehow "lost" the installation during a recent portupgrade.  I'm pretty 
sure there's some magic in /etc/libmap.conf, also, but I think the port 
is supposed to do that for you


Kevin Kinsey
--
Whatever became of eternal truth?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


vmware Questions

2007-02-21 Thread Martin McCormick
If one has a FreeBSD system that has 1 gigabyte of RAM
and a 1-GHZ processor, would it be possible to run a couple of
vmware instances of FreeBSD?  I want to set up a DHCP server on
each virtual machine and configure one to be optimized for DHCP
failover and dynamic leases while the other is dedicated to
static bootp service.  It would be much easier for the 2
instances of dhcpd to run in separate machines, so to speak,
since they normally use the same named files for logging and
configuration.

What sort of a performance hit does one usually see on a
virtual machine?

When we run dhcpd on a normal FreeBSD system of the type
described above, the system is normally loaded around 0.05 or so
so it isn't having to work too hard.

Thanks for any help as to what vmware port is best.  The
platform is FreeBSD and the 2 virtual machines will also be
FreeBSD if that makes any difference.

There will be no X windows involved, just hopefully 2
DHCP servers running as if they were on two separate boxes.

Any information to point me in the right direction or
reasons why this is not a good idea are appreciated.

Thank you.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: highpoint hpt372 raid support, or other options?

2007-02-21 Thread Joel D. Parker
- Original Message - 
From: "Alex Zbyslaw" <[EMAIL PROTECTED]>
Subject: Re: highpoint hpt372 raid support, or other options?


> Joel D. Parker wrote:
>
> >following error:
> >/usr/libexec/ld-elf.so.1: /usr/local/lib/libncurses.so.5: Undefined
symbol
> >"__stdoutp"
> >
> >Obviously this is a problem with highpoint's own freebsd support, but is
> >there any way to get around this with FreeBSD 6.x? Has anyone here had
any
> >luck with rebuilding an array using an hpt372 card in freebsd?
> >
> >
>
> I have no Highpoint card but I'll bet that you want
> /usr/ports/misc/compat5x port installed to find the real versions of the
> libraries that you faked up with your links.   libncurses.so.5 is
> clearly listed in the packing list for that port.
>
> And don't forget to read the pkg-message which tells you about the
> kernel option you need to do this.

thanks! I'll look into this before resorting to reinstalling tonight..
--
Joel
[rootrider]


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


NTFS-3G driver problem

2007-02-21 Thread Jason Gretz
Hey guys, I got a prob here, I am trying to install the new NTFS-3G driver, 
which just went 1.0, and This is what the output of  "make install && make 
clean" got me:



===>  Installing for fusefs-ntfs-0.20070207RC1

===>   fusefs-ntfs-0.20070207RC1 depends on file: /usr/local/modules/fuse.ko - 
not found 

===>Verifying reinstall for /usr/local/modules/fuse.ko in 
/usr/ports/sysutils/fusefs-kmod

===>  fusefs-kmod-0.3.0_4 requires the Kernel source to be installed. Set 
SRC_BASE if it is not in /usr/src. 

Thanks!

 

Jason 

 


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.18.3/696 - Release Date: 2/21/2007 3:19 
PM
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Which file to request SIOCGIFMAC on?

2007-02-21 Thread Don Hinton
On Wednesday 21 February 2007 15:03, nocturnal wrote:
> Hi
>
> Well that's weird, is MAC defined by default at all? I tried searching
> for the definition but couldn't find it.
>
> I never thought it would be this hard just to get the ethernet address
> from an ethernet interface in FreeBSD. I think i'll take a look at the
> netlib source next, something tells me it will be easier to just
> plagiarize their method than going through the kernel source any more.

Have you tried google?  This was asked on freebsd-hackers a few months ago:

http://lists.freebsd.org/pipermail/freebsd-hackers/2006-August/017601.html

hth...
don

>
>
>
> Med vänliga hälsningar
>
> Stefan Midjich aka nocturnal
> [Swehack] http://swehack.se
>
> Pietro Cerutti wrote:
> > On 2/20/07, nocturnal <[EMAIL PROTECTED]> wrote:
> >> Hi
> >>
> >> The original plan is to only run it on FreeBSD 5 and higher, actually
> >> only 6 by now. It's a program i'm writing for work and at work the most
> >> active servers run FreeBSD 6 and are updated frequently. The ones with
> >> older versions don't run anything of interest.
> >>
> >> I am buying a MacBook for personal use though so it would be nice to run
> >> it on osx. I wouldn't like to start using another library just to get
> >> the hardware address of an interface though, that seems kinda overkill
> >> for what should be a simple task. The program is already using libpcap
> >> but that is included in FreeBSD by default so you don't have to
> >> install it.
> >>
> >> Do you have any idea of why i'm getting this error from ioctl when i'm
> >> doing what the manual says i should do? I am of course running it as
> >> root to because the libpcap operations require it.
> >>
> >> What might help me is to take a look at the source of that
> >> libnet_get_hwaddr function in libnet. I'll try that, thank you very much
> >> for the tip.
> >>
> >> So far i've been trying to look at the source for ifconfig to figure out
> >> how it gets the hardware address. Of course it uses SIOCGIFMAC but i
> >> can't find the socket it opens because i can't find where it uses the
> >> maclabel_status function.
> >
> > The problem isn't with the socket type or options.
> > If you debug ifconfig, you'll find out that the ioctl call always
> > returns -1, and the program goes on to the "goto mac_free" line.
> >
> > Take a look at /usr/src/sys/net/if.c, line 1258
> >
> > Should we deduce that the particular ioctl isn't supported?
> >
> > P.S. I'm forwarding this to freebsd-hackers@ too, so sorry for cross
> > posting
> >
> >> Med vänliga hälsningar
> >>
> >> Stefan Midjich aka nocturnal
> >> [Swehack] http://swehack.se
> >>
> >> Chuck Swiger wrote:
> >> > On Feb 20, 2007, at 1:10 PM, nocturnal wrote:
> >> >> I'm trying to get the ethernet address and from the manuals i
> >> >> understand that i need the ifreq structure for this. So i'm trying to
> >> >> request SIOCGIFMAC with ioctl on a socket of type SOCK_DGRAM.
> >> >
> >> > If you're just targetting FreeBSD >= 5.x platforms, your current
> >> > approach is reasonable (assuming you can fix whatever the problem is);
> >> > if you're targetting other platforms such FreeBSD 4, Dfly, OS X, or
> >>
> >> SysV
> >>
> >> > things like Solaris, try installing the libnet port and invoke
> >> > libnet_get_hwaddr().
> >> >
> >> > ---Chuck
> >>
> >> ___
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
Don Hinton  or 
Institute for Software Integrated Systems (ISIS), Vanderbilt University
tel: 615.480.5667 or 615.870.9728


pgpybBUkIImti.pgp
Description: PGP signature


Java install problem

2007-02-21 Thread AN
I just downloaded and installed the 2 packages from the 
freebsdfoundation.org website, diablo-jre-freebsd6.i386.1.5.0.07.01.tbz 
and diablo-jdk-freebsd6.i386.1.5.0.07.01.tbz.  However, when I restart 
Seamonkey or Firefox Java is not enabled.


There were no messages after the packages installed indicating any more 
steps were necessary for configuration.  Maybe some links need to be 
created that were not done in the install?  I thought these packages were 
just supposed to work.


Any help is appreciated.

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


Re: Making thin client server

2007-02-21 Thread Klaus Friis Østergaard

Hi Erik,

2007/2/12, Erik Norgaard <[EMAIL PROTECTED]>:


Klaus Friis Østergaard wrote:

> I have a EPATech eTC thin client it is build on a Vortex86 processor. I
> tried with a 6.1 relase in order PXE boot the thin client and it fails.
>
> Is it possible to build an older relase like 5.3 on a 6.1 relase and use
it
> for the thin clients, to boot from?

Yes, it is possible. Check out the desired version with cvs, then build
world and kernel, finally, install with DESTDIR=/dir/of/choice

Details here: http://www.locolomo.org/pub/pxeboot/diskless.html



Tried to follow your  description, but I seem to have lost some thing,
the client now starts the PXEBOOT process and it looks in the
(/var/diskless/FreeBSD/)/boot/defaults/loader.conf that says
(/var/diskless/FreeBSD/)/boot/kernel

But according to your instruction
http://www.locolomo.org/pub/pxeboot/pxeboot.html the kernel was installed in
the /var/tftp/boot/

Should I simply
  make DISTDIR=/var/diskless/FreeBSD installkernel
instead?

Regards,
Klaus

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


Mount order of fstab

2007-02-21 Thread Troy Schultz

Hello,

I am trying to mount a smb share into a jail.
The way that I am trying to accomplish this is:

1. mount the smb share onto /mnt read only
2. mount the /mnt share into the /jail/xxx.xxx.xxx.xxx directory nullfs

This all works by hand. However, when set in fstab to mount the smb  
share and then the nullfs following it, the nullfs is mounted first  
then the smb share and this shows nothing. Is there a way that I can  
force the order or am I just plain doing something wrong?


Thanks,

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


Re: Which file to request SIOCGIFMAC on?

2007-02-21 Thread nocturnal

Hi

Well that's weird, is MAC defined by default at all? I tried searching 
for the definition but couldn't find it.


I never thought it would be this hard just to get the ethernet address 
from an ethernet interface in FreeBSD. I think i'll take a look at the 
netlib source next, something tells me it will be easier to just 
plagiarize their method than going through the kernel source any more.




Med vänliga hälsningar

Stefan Midjich aka nocturnal
[Swehack] http://swehack.se


Pietro Cerutti wrote:

On 2/20/07, nocturnal <[EMAIL PROTECTED]> wrote:

Hi

The original plan is to only run it on FreeBSD 5 and higher, actually
only 6 by now. It's a program i'm writing for work and at work the most
active servers run FreeBSD 6 and are updated frequently. The ones with
older versions don't run anything of interest.

I am buying a MacBook for personal use though so it would be nice to run
it on osx. I wouldn't like to start using another library just to get
the hardware address of an interface though, that seems kinda overkill
for what should be a simple task. The program is already using libpcap
but that is included in FreeBSD by default so you don't have to 
install it.


Do you have any idea of why i'm getting this error from ioctl when i'm
doing what the manual says i should do? I am of course running it as
root to because the libpcap operations require it.

What might help me is to take a look at the source of that
libnet_get_hwaddr function in libnet. I'll try that, thank you very much
for the tip.

So far i've been trying to look at the source for ifconfig to figure out
how it gets the hardware address. Of course it uses SIOCGIFMAC but i
can't find the socket it opens because i can't find where it uses the
maclabel_status function.


The problem isn't with the socket type or options.
If you debug ifconfig, you'll find out that the ioctl call always
returns -1, and the program goes on to the "goto mac_free" line.

Take a look at /usr/src/sys/net/if.c, line 1258

Should we deduce that the particular ioctl isn't supported?

P.S. I'm forwarding this to freebsd-hackers@ too, so sorry for cross 
posting



Med vänliga hälsningar

Stefan Midjich aka nocturnal
[Swehack] http://swehack.se


Chuck Swiger wrote:
> On Feb 20, 2007, at 1:10 PM, nocturnal wrote:
>> I'm trying to get the ethernet address and from the manuals i
>> understand that i need the ifreq structure for this. So i'm trying to
>> request SIOCGIFMAC with ioctl on a socket of type SOCK_DGRAM.
>
> If you're just targetting FreeBSD >= 5.x platforms, your current
> approach is reasonable (assuming you can fix whatever the problem is);
> if you're targetting other platforms such FreeBSD 4, Dfly, OS X, or 
SysV

> things like Solaris, try installing the libnet port and invoke
> libnet_get_hwaddr().
>
> ---Chuck
>
>
>
___




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


Re: SpamAssassin and the nonexistent home directory.

2007-02-21 Thread Derrick
On Wed, 21 Feb 2007, Kevin Kinsey wrote:

> Derrick wrote:
> > I'm confused as to why on box #1 I have in /etc/rc.conf:
> >
> > spamd_enable="YES"
> > spamd_flags="-c -u spamd -H /var/spool/spamd -m 10"
> >
> > And spamd is writing to /var/spool/spamd/.spamassassin
> >
> > on box #2 and #3, I have the exact same settings yet I see:
> >
> > /nonexistent/.spamassassin/auto-whitelist.lock: No such file or directory
> > Feb 21 00:06:44 mail spamd[39002]: auto-whitelist: open of auto-whitelist
> > file failed: locker: safe_lock: cannot create tmp lockfile
> >
> > /nonexistent/.spamassassin/auto-whitelist.lock.xxx.xxx.xxx.39002 for
> > /nonexistent/.spamassassin/auto-whitelist.lock : No such file or directory
> > Feb 21 00:06:44 mail spamd[39002]: bayes: locker: safe_lock: cannot create
> > tmp lockfile /nonexistent/.spamassassin/bayes.lock.xxx.xxx.xxx.39002 for
> > /nonexistent/.spamassassin/bayes.lock: No such file or directory
>
> Well, first I'd check that /var/spool/spamd does exist on both boxes.
> Probably then I would try `id` and `finger` perhaps, on the spamd user,
> and hope that the output might give me a clue.


Ya they are all identical in those regards.

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


Re: 64-bits platform question

2007-02-21 Thread Jeff Palmer




On a side note -- a LOT of people have been making this mistake recently.
Can anyone think of a way to make it more obvious that people are downloading
the wrong isos?

--
Bill Moran
Collaborative Fusion Inc.



Short of renaming the architectures from amd64/ia64,   it's 
doubtful.   a lot of people go directly tot he ftp server or torrent 
sites to get the ISO,   so they would never see the big warning on 
the freebsd.org homepage  (and even fewer would read it in a ftp motd)


Of course,  my two cents.

Jeff

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


Re: help needed setting up NATIVE ipv6 connection

2007-02-21 Thread Arone Silimantia

Bjorn,

Björn König <[EMAIL PROTECTED]> wrote:>> ifconfig_fxp4="inet "
>> ifconfig_fxp4_alias0="inet "
>> ifconfig_fxp4_alias1="inet6 1234:1234:1234::2/64"
>> ifconfig_fxp4_alias2="inet6 1234:1234:1234::3/64"
> 
> 
> Ok, yes, I think I would like to do it manually like
> this.  I notice you do not have a ipv6 default route
> statement there - is it not needed ?

Sorry, I forgot that.

ipv6_defaultrouter="1234:1234:1234::1"


Thank you so much - this all worked perfectly.

So now I have rebooted, I have a ipv6 address and default route in place.  I 
assume I just need to put an ipv6 line into /etc/resolv.conf so that ipv6 name 
lookups will work, and then I am done ?

At this point can people make ssh connections to my server ?  Or is there more 
to it than simply defining an IP and a gateway ?

Thanks.


 
-
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 64-bits platform question

2007-02-21 Thread Erik Trulsson
On Wed, Feb 21, 2007 at 02:35:58PM -0500, Aard Nerd wrote:
> Hi list, as far as I know Intel 64 architecture (formerly known as Intel 
> Extended Memory 64 Technology, or Intel EM64T) enables 64-bit computing on 
> desktop when combined with supporting software. If I am right, 64-bit 
> computing (on Intel architecture) requires a computer system with a 
> processor, chipset, BIOS, operating system, device drivers and applications 
> enabled for Intel EM64T architecture. So I bought an ASUS P4P800-VM with a 
> 3.0GHz processor that supports Intel EM64T and 1Gb of Infineon PC3200 RAM 
> memory. The system is ok...so why I can't install BSD 64 bits with my 
> system ???
> 
> Any clues, thanks in advance.

Intel has two 64-bit architectures - you probably downloaded the disk for
the wrong one.  On one hand they have the IA64 architecture which they
originally intended to be the successor to the IA32 (aka x86 or i386) 
architecture.
IA64 never became very popular however.

AMD created their own 64 bit architecture -  AMD64 (aka x86-64) which had
the big advantage of being backwards compatible with the x86 architecture.

Eventually Intel too started to implement chips around the AMD64
architecture - except they called it EM64T.


FreeBSD supports both the ia64 and amd64 architectures.  Unless you have a
computer with an Itanium or Itanium 2 CPU (which you do not have) you want
to install the amd64 version of FreeBSD and not ia64. (Or the i386 version 
since that
will also work fine, albeit only in 32-bit mode.)



-- 

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


Re: 64-bits platform question

2007-02-21 Thread Patrick Bowen

Aard Nerd wrote:
Hi list, as far as I know Intel 64 architecture (formerly known as 
Intel Extended Memory 64 Technology, or Intel EM64T) enables 64-bit 
computing on desktop when combined with supporting software. If I am 
right, 64-bit computing (on Intel architecture) requires a computer 
system with a processor, chipset, BIOS, operating system, device 
drivers and applications enabled for Intel EM64T architecture. So I 
bought an ASUS P4P800-VM with a 3.0GHz processor that supports Intel 
EM64T and 1Gb of Infineon PC3200 RAM memory. The system is ok...so why 
I can't install BSD 64 bits with my system ???


Any clues, thanks in advance.


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




Did you use the amd64 isos for the installation?

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


Re: 64-bits platform question

2007-02-21 Thread Bill Moran
In response to "Aard Nerd" <[EMAIL PROTECTED]>:

> Hi list, as far as I know Intel 64 architecture (formerly known as Intel 
> Extended Memory 64 Technology, or Intel EM64T) enables 64-bit computing on 
> desktop when combined with supporting software. If I am right, 64-bit 
> computing (on Intel architecture) requires a computer system with a 
> processor, chipset, BIOS, operating system, device drivers and applications 
> enabled for Intel EM64T architecture. So I bought an ASUS P4P800-VM with a 
> 3.0GHz processor that supports Intel EM64T and 1Gb of Infineon PC3200 RAM 
> memory. The system is ok...so why I can't install BSD 64 bits with my system 
> ???

You provided no details, but I'm guessing you're trying to install the ia64
version of FreeBSD on an EM64T system.  They are not compatible.

The EM64T technology is compatible with the amd64 platform.  The amd64
version of FreeBSD will work perfectly with EM64T systems.

On a side note -- a LOT of people have been making this mistake recently.
Can anyone think of a way to make it more obvious that people are downloading
the wrong isos?

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


insufficient resources for HD video

2007-02-21 Thread Erik Norgaard

Hi:

I recently posted asking about mpeg2-ts, I got a reference to a mpeg2-ts 
 that plays fine. It appears that the problem is not playing ts but 
rather resolution, or something: With mplayer I get an error


X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  140 (XVideo)
  Minor opcode of failed request:  19 ()
  Serial number of failed request:  23
  Current serial number in output stream:  24

(Full output below)

How do I process HDV streams? I can't see if the problem is the screen 
is too small or there is not enough memory.


One thing is to play, but I am thinking of buying a HDV cam so I also 
need to process/edit the stream.


Thanks, Erik

Some HDV clips I have tried are here:

  http://dvinfo.net/conf/archive/index.php/t-52060.html

Which should be mpeg2-ts but in 1440x1080 -> 1920x1080. mplayer produces 
the following output:


photon$ mplayer XLH1bikeseq24.m2t
MPlayer 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1.73GHz (Family: 6, Model: 13, 
Stepping: 8)

CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing XLH1bikeseq24.m2t.
TS file format detected.
VIDEO MPEG2(pid=2064) AUDIO MPA(pid=2068) NO SUBS (yet)!  PROGRAM N. 100
VIDEO:  MPEG2  1440x1080  (aspect 3)  29.970 fps  25000.0 kbps (3125.0 
kbyte/s)

[VO_SDL] Using driver: x11.
==
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 1440 x 1080 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==
==
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1440 x 1080 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [sdl] 1440x1080 => 1920x1080 Planar YV12
Selected font is fixed-width. ct: -0.003   2/  2 ??% ??% ??,?% 0 0
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  140 (XVideo)
  Minor opcode of failed request:  19 ()
  Serial number of failed request:  23
  Current serial number in output stream:  24

Thanks, Erik
--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


Re: 64-bits platform question

2007-02-21 Thread Jeff Palmer

At 02:35 PM 2/21/2007, you wrote:
Hi list, as far as I know Intel 64 architecture (formerly known as 
Intel Extended Memory 64 Technology, or Intel EM64T) enables 64-bit 
computing on desktop when combined with supporting software. If I am 
right, 64-bit computing (on Intel architecture) requires a computer 
system with a processor, chipset, BIOS, operating system, device 
drivers and applications enabled for Intel EM64T architecture. So I 
bought an ASUS P4P800-VM with a 3.0GHz processor that supports Intel 
EM64T and 1Gb of Infineon PC3200 RAM memory. The system is ok...so 
why I can't install BSD 64 bits with my system ???


Any clues, thanks in advance.


You've given us no indication as to what errors you are getting.  It 
appears by the motherboard specs (that I looked up) you probably need 
to be trying FreeBSD/amd64.   Feel free to try that (I've noticed a 
lot of people misunderstand the i386/amd64/ia64 names, and try to 
install ia64 on the wrong hardware) If that doesn't resolve the 
issue, please give us something to work with.


P.S.  for the record,  I hate the architecture names amd64/ia64 ;)

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


Re: SpamAssassin and the nonexistent home directory.

2007-02-21 Thread Kevin Kinsey

Derrick wrote:

I'm confused as to why on box #1 I have in /etc/rc.conf:

spamd_enable="YES"
spamd_flags="-c -u spamd -H /var/spool/spamd -m 10"

And spamd is writing to /var/spool/spamd/.spamassassin

on box #2 and #3, I have the exact same settings yet I see:

/nonexistent/.spamassassin/auto-whitelist.lock: No such file or directory
Feb 21 00:06:44 mail spamd[39002]: auto-whitelist: open of auto-whitelist
file failed: locker: safe_lock: cannot create tmp lockfile

/nonexistent/.spamassassin/auto-whitelist.lock.xxx.xxx.xxx.39002 for
/nonexistent/.spamassassin/auto-whitelist.lock : No such file or directory
Feb 21 00:06:44 mail spamd[39002]: bayes: locker: safe_lock: cannot create
tmp lockfile /nonexistent/.spamassassin/bayes.lock.xxx.xxx.xxx.39002 for
/nonexistent/.spamassassin/bayes.lock: No such file or directory


Well, first I'd check that /var/spool/spamd does exist on both boxes. 
Probably then I would try `id` and `finger` perhaps, on the spamd user, 
and hope that the output might give me a clue.


Grasping a straw,

Kevin Kinsey
--
If you can lead it to water and force it to drink, it isn't a horse.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CVSup question

2007-02-21 Thread Lars Eighner

On Wed, 21 Feb 2007, Simon Gao wrote:

What if I just want to update ports for 5 stable tree? If using HEAD, then 
may some ports being updated be current but not stable? Or there is no such 
things as stable or current ports?


You got the right answer the first time.  You will get the appropriate
ports tree (updated) with the . tag.  If you use any other tag, you will
destroy your ports tree.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: 64-bits platform question

2007-02-21 Thread Kris Kennaway
On Wed, Feb 21, 2007 at 02:35:58PM -0500, Aard Nerd wrote:
> Hi list, as far as I know Intel 64 architecture (formerly known as Intel 
> Extended Memory 64 Technology, or Intel EM64T) enables 64-bit computing on 
> desktop when combined with supporting software. If I am right, 64-bit 
> computing (on Intel architecture) requires a computer system with a 
> processor, chipset, BIOS, operating system, device drivers and applications 
> enabled for Intel EM64T architecture. So I bought an ASUS P4P800-VM with a 
> 3.0GHz processor that supports Intel EM64T and 1Gb of Infineon PC3200 RAM 
> memory. The system is ok...so why I can't install BSD 64 bits with my 
> system ???

Because you inserted your windows 95 CD instead??? Seriously, give us
a hint here about what you did and what went wrong :)

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


64-bits platform question

2007-02-21 Thread Aard Nerd
Hi list, as far as I know Intel 64 architecture (formerly known as Intel 
Extended Memory 64 Technology, or Intel EM64T) enables 64-bit computing on 
desktop when combined with supporting software. If I am right, 64-bit 
computing (on Intel architecture) requires a computer system with a 
processor, chipset, BIOS, operating system, device drivers and applications 
enabled for Intel EM64T architecture. So I bought an ASUS P4P800-VM with a 
3.0GHz processor that supports Intel EM64T and 1Gb of Infineon PC3200 RAM 
memory. The system is ok...so why I can't install BSD 64 bits with my system 
???


Any clues, thanks in advance.


Cheers / Me. 


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


SpamAssassin and the nonexistent home directory.

2007-02-21 Thread Derrick
I'm confused as to why on box #1 I have in /etc/rc.conf:

spamd_enable="YES"
spamd_flags="-c -u spamd -H /var/spool/spamd -m 10"

And spamd is writing to /var/spool/spamd/.spamassassin

on box #2 and #3, I have the exact same settings yet I see:

/nonexistent/.spamassassin/auto-whitelist.lock: No such file or directory
Feb 21 00:06:44 mail spamd[39002]: auto-whitelist: open of auto-whitelist
file failed: locker: safe_lock: cannot create tmp lockfile

/nonexistent/.spamassassin/auto-whitelist.lock.xxx.xxx.xxx.39002 for
/nonexistent/.spamassassin/auto-whitelist.lock : No such file or directory
Feb 21 00:06:44 mail spamd[39002]: bayes: locker: safe_lock: cannot create
tmp lockfile /nonexistent/.spamassassin/bayes.lock.xxx.xxx.xxx.39002 for
/nonexistent/.spamassassin/bayes.lock: No such file or directory



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


Re: Day Light Savings time changes on March 11

2007-02-21 Thread Duane Hill

On Wed, 21 Feb 2007, DAve wrote:


Mikel King wrote:
Just curious what is that status of this issue with the current version of 
FreeBSD? I am betting that it has already been taken care of ages ago, in 
which case I am curious how far back that might have been?


Thanks,
Mikel


I believe that was fairly recently decided, last six months sticks in my 
head. I'm probably wrong.


Since we are in Indiana we just had to convert all our servers to DST last 
summer. It was a chore because we have everything from FreeBSD 6.1 to Solaris 
Sparc 10s. I am seriously considering switching all of our NOCs to GMT and 
calling it a done deal. I am not convinced that the DST rules will not change 
again and playing catch up with politicians is not a good use of my techs 
time.


I noticed Yahoo switched to GMT. Is anyone else running all their servers on 
GMT?




We are all GMT here on over 18 servers. Of them, five are FreeBSD. I have 
been running everything I touch in GMT for over eight years now. Once you 
get the hang of the mental conversion for your zone, it becomes second 
nature.




--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
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: Best partitioning scheme for my HDD? Please advise.

2007-02-21 Thread Joe Vender
On Wednesday 21 February 2007 01:01, Roger Olofsson wrote:
> Hello again Joe,
>
> Maybe it depends on what packages you add when running sysinstall? I
> have 6.2 on a 6Gb Fujitsu drive and it fits nicely. I only pick kernel
> sources from the packages though. Only problem I've noticed is /usr/obj
> filling up when making buildworld but a symlink to another drive takes
> care of that.
>

Hi Roger,
When I install, I choose from packages, KDE, which has many dependencies, 
along with various other packages that I use. That puts it over the top for 
the default auto settings which cause /usr to be too small. Since I only have 
a 56k dialup connection, I have no intention of trying to do a buildworld or 
use the ports to install large packages like KDE. It would take too long to 
download. I'll just use what comes on the CD. I'll wait for the next release 
to upgrade the full system from CD, except for security patches.

For now, I guess I'll just go with the scheme that has worked so far, and if I 
run into any problems down the road, I'll try something different. I suppose 
I could just put everything under / but that might introduce other problems 
such as an unusably corrupted filesystem after a hard crash or excessive 
fragmentation. I guess the only thing that I need to do with the scheme that 
I've used before is to increase the /var from 256Mb to 512Mb to be on the 
safe side, and I'll set the system to keep the logs trimmed. Thanks for the 
suggestions to all who've helped. Its appreciated.

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


need help

2007-02-21 Thread DV
Hi,

in the supported device list:
http://www.freebsd.org/releases/6.2R/hardware-i386.html
I did't find Intel Raid controller SRCSAS18E ?
I also can't find srczcrx conntroller support, but i know this
device is supported since FreeBSD 6.0.
So maybe FreeBSD 6.2 release has SRCSAS18E controller support for
SAS disks?



-
Darius Viciulis
email: [EMAIL PROTECTED]
www.meganet.lt


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


Re: Day Light Savings time changes on March 11

2007-02-21 Thread Peter A. Giessel
On 2007/02/21 9:29, Mikel King seems to have typed:
> Just curious what is that status of this issue with the current  
> version of FreeBSD? I am betting that it has already been taken care  
> of ages ago, in which case I am curious how far back that might have  
> been?

If you google search restricting the site to freebsd.org, you'll see
that this has been discussed a lot on this very mailing list recently:
http://www.google.com/search?as_q=daylight+savings&as_sitesearch=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: ipfw limit src-addr woes

2007-02-21 Thread Julian Elischer

Ian Smith wrote:

On Tue, 20 Feb 2007, Julian Elischer wrote:
 > admin wrote:
 > 
 > > Wrong: the implied "check-state" done by the "limit" lets the connection 
 > > through (i.e. performs the action) iff there's state recorded for it 
 > > (src-addr+src-port+dst-addr+dst-port). If however it's a SYN packet 
 > > incoming and the number of current states is trying to cross the limit, 
 > > the SYN packet is implicitly dropped and the search terminates.
 > > 
 > > This is not to say that I completely understand the things going on when 
 > > the connections start building up (different timeouts?) but the above 
 > > conclusion is based on what simulation has shown. The whole ruleset fits 
 > > on one screen, there's an "allow ip from any to any" in the end, so I'm 
 > > pretty sure I'm not crazy :-)
 > 
 > One thing to keep in mind is that a 'check-state' rule works by effectively 
 > jumping to the rule that did the 'keep-state' and re-executing it..

 > (and incrementing its stats).

What if the action of the rule that does the 'keep-state' (here a limit
src-addr) is a skipto, rather than an allow / fwd / divert etc rule that
would terminate the search?  Does 're-executing' here imply anything
about whether the skipto's conditional branch is or is not taken?


if the keep-state rule is a skipto then the check-state will skip to..
I use that in some rules.

here's a snippet that I have when acting as a filtering transparent bridge,
with DNS replies (from the outside) being diverted to a snooper.
The bridge is between em2 (inside) and em3 (outside).

01200  17588453  1257728932 skipto 1210 udp from any to any dst-port 53 recv em2
01201  16192860  2721432229 skipto 1220 udp from any 53 to any recv em3
01202  43658738 21537916245 skipto 1250 ip from any to any
01210  34023270  3994649771 skipto 1240 ip from any to any keep-state
01220 0   0 check-state
01229  2364  441701 deny ip from any to any
01240  16190496  2720990528 divert 5001 udp from any 53 to any recv em3
01242  17832774  1273659243 deny ip from any to any

(note this requires patches  to allow divert from a bridge.)
It's convoluted I know but it only (well, mostly) diverts packets from 
the outside that are part of a conversation that was started already 
(probably by a dns request from inside) DNS packets from the outside 
that are not a response to something we already asked for are discarded 
(a DOS protection)


note that all the packets that went to the check-state, (1220) ended up going 
back to 1210
where they did the skipto 1240 and were filtered again.




I bought into this because admin said that more connections were being
allowed than the limit src-addr clause should allow, and I assumed that
the skipto branch was not being taken on over-limit packets, and that
the following fwd rule (allowing any type of packets including SYN) was
being executed, which would account for what he'd said was happening.

admin above asserts that my assumption was wrong, and that in a match
beyond the limit number of connections for that src/dest address, the
setup packet is 'implicitly dropped and the search terminates', and
while I can't find that stated as such in ipfw(8), he may be right.

Which still doesn't explain why connections from a particular IP beyond
his specified limit are allowed to be established, as originally stated.

[shrug]  Over to the ipfw gurus.

Cheers, Ian


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


Re: CVSup question

2007-02-21 Thread Patrick Bowen

Simon Gao wrote:
What if I just want to update ports for 5 stable tree? If using HEAD, 
then may some ports being updated be current but not stable? Or there 
is no such things as stable or current ports?

Simon


Joe Holden wrote:

Simon Gao wrote:

Hi,

I have some machines running FreeBSD 5.2.1. Is it safe to update 
ports to 5.4_stable via CVSup? Or should I use 5_stable?




Ports are independant of base branch, ports should generally be HEAD 
(tag=.).


HTH,
Joe

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




No such thing as -stable or -current ports.

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


Re: CVSup question

2007-02-21 Thread Joe Holden

Simon Gao wrote:
What if I just want to update ports for 5 stable tree? If using HEAD, 
then may some ports being updated be current but not stable? Or there is 
no such things as stable or current ports?

Simon


Joe Holden wrote:

Simon Gao wrote:

Hi,

I have some machines running FreeBSD 5.2.1. Is it safe to update 
ports to 5.4_stable via CVSup? Or should I use 5_stable?




Ports are independant of base branch, ports should generally be HEAD 
(tag=.).


HTH,
Joe

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



You can update ports to a release date, or infact an actual date.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Day Light Savings time changes on March 11

2007-02-21 Thread Chuck Swiger

On Feb 21, 2007, at 10:55 AM, DAve wrote:
Since we are in Indiana we just had to convert all our servers to  
DST last summer. It was a chore because we have everything from  
FreeBSD 6.1 to Solaris Sparc 10s. I am seriously considering  
switching all of our NOCs to GMT and calling it a done deal. I am  
not convinced that the DST rules will not change again and playing  
catch up with politicians is not a good use of my techs time.


I find myself in strong agreement with this position.

I noticed Yahoo switched to GMT. Is anyone else running all their  
servers on GMT?


Not all of them, no-- but most of them, especially anything which is  
running a database or doing logfile processes, I want to have them  
working in GMT.  Something like a mail server or fileserver, it's  
perhaps better to keep things in the local timezone to avoid  
confusing users with timestamps that are not as expected...


--
-Chuck

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


Re: Ultrium 448 Tape Drive

2007-02-21 Thread Jerry McAllister
On Wed, Feb 21, 2007 at 06:47:23PM -, [EMAIL PROTECTED] wrote:

> >From what I have read, I think the Ultrium tape drive is completely
> compatible with FreeBSD.  If I am understanding the specs correctly, it
> uses hardware compression to compress data.  And, again if I am
> understanding everything correctly, I should be able to use the mt command
> to tell the tape drive to use hardware compression.
> 
> This is the first server I have used FreeBSD on with a tape drive and want
> to make sure everything goes as smooth as possible.

Any tape drive that uses standard SCSI as does the 'Ultrium'  will
work just fine.   I have used DDS, DLT and LTO with no problem.

I am assuming by Ultrium you mean the HP LTO drives.  They read
and wrote very fast and seemed reliable, but didn't seem to have 
the high speed file seek ability of the others.   Seeks (eg mt fsf nn)  
down the tape took almost as long as just reading the tape.
That seemed strange to me.  

I have not tried the hardware compression.   I assume it works on LTO as
well as any of the other format drives.

jerry

> 
> Thanks,
> 
> 
> Jay
> 
> ___
> 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: CVSup question

2007-02-21 Thread Simon Gao
What if I just want to update ports for 5 stable tree? If using HEAD, 
then may some ports being updated be current but not stable? Or there is 
no such things as stable or current ports? 


Simon


Joe Holden wrote:

Simon Gao wrote:

Hi,

I have some machines running FreeBSD 5.2.1. Is it safe to update 
ports to 5.4_stable via CVSup? Or should I use 5_stable?




Ports are independant of base branch, ports should generally be HEAD 
(tag=.).


HTH,
Joe

___
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: Day Light Savings time changes on March 11

2007-02-21 Thread DAve

Mikel King wrote:
Just curious what is that status of this issue with the current version 
of FreeBSD? I am betting that it has already been taken care of ages 
ago, in which case I am curious how far back that might have been?


Thanks,
Mikel


I believe that was fairly recently decided, last six months sticks in my 
head. I'm probably wrong.


Since we are in Indiana we just had to convert all our servers to DST 
last summer. It was a chore because we have everything from FreeBSD 6.1 
to Solaris Sparc 10s. I am seriously considering switching all of our 
NOCs to GMT and calling it a done deal. I am not convinced that the DST 
rules will not change again and playing catch up with politicians is not 
a good use of my techs time.


I noticed Yahoo switched to GMT. Is anyone else running all their 
servers on GMT?


DAve

--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ultrium 448 Tape Drive

2007-02-21 Thread Chuck Swiger

On Feb 21, 2007, at 10:47 AM, [EMAIL PROTECTED] wrote:

From what I have read, I think the Ultrium tape drive is completely
compatible with FreeBSD.  If I am understanding the specs  
correctly, it

uses hardware compression to compress data.  And, again if I am
understanding everything correctly, I should be able to use the mt  
command

to tell the tape drive to use hardware compression.


Pretty much all SCSI-based tape drives work just fine with the normal  
st device; and yes, one can use "mt comp" command to enable or  
disable the built-in hardware compression.  However, most tape drives  
default to enabling their preferred compression algorithm already, so  
you most likely won't need to do anything special except run tar,  
dump, or whatever to actually write data to the tape...


Ultrium/LTO is a pretty good form-factor-- certainly better than the  
helical-scan 4mm DDS systems, but I have a mild preference for (s)DLT.


--
-Chuck



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


Re: PF slowing down file copies

2007-02-21 Thread José Pablo Fernández
On Wednesday 21 February 2007 15:49, José Pablo Fernández wrote:
> > For keeping state on TCP connections you should only create state on
> > the first packet of the 3 way TCP handshake. Using "flags S/SA" will
> > ensure this. This will prevent problems with TCP windows scaling..
>
> Thank you. That solved it.

Unfortunately no, a mistake in the test.
-- 
José Pablo Fernández
[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: Day Light Savings time changes on March 11

2007-02-21 Thread Bill Moran
In response to Mikel King <[EMAIL PROTECTED]>:

> Just curious what is that status of this issue with the current  
> version of FreeBSD? I am betting that it has already been taken care  
> of ages ago, in which case I am curious how far back that might have  
> been?

We just went through an audit here.

All versions prior to 5.5 have a problem.  5.5 has the correct timezone
data.

6.2 is OK, but earlier versions of 6.X also have old data.  We didn't
isolate exactly what versions, though.

In any case, if you've upgraded from a problematic version to a recent
version, you have to run tzsetup again to get the new timezone file
installed.  If you have an old version and can't updated, you can install
a port that brings your tz data up to date.

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


Re: PF slowing down file copies

2007-02-21 Thread José Pablo Fernández
On Wednesday 21 February 2007 15:38, J65nko wrote:
> On 2/21/07, José Pablo Fernández <[EMAIL PROTECTED]> wrote:
> > Hello,
> > I have a FreeBSD 6.2 acting as router between two LANs and the internet.
> > I am using PF on it for filtering and I am allowing all the traffic to
> > pass by between the two LANs:
> >
> > pass from $lan0:network to $lan1:network keep state
> > pass from $lan1:network to $lan0:network keep state
> >
> > My problem is that when I copy a file from one network to the other, the
> > first 128KB seems to be copied instantaneously, the second 128KB take
> > more than two minutes and I've seen the third 128KB being copied very
> > rarely. This is using Secure CoPy.
> > If I copy the file to the router and from the router to the other
> > computer, it just works. And it seems people copying files with SMB
> > (Window's protocol) have found the same problem.
> > Any ideas what might be going on?
> > Thanks.
>
> For keeping state on TCP connections you should only create state on
> the first packet of the 3 way TCP handshake. Using "flags S/SA" will
> ensure this. This will prevent problems with TCP windows scaling..

Thank you. That solved it.

> For a more detailed explanation and  some suggestions see the 3 part
> series about the pf firewall starting at
> http://undeadly.org/cgi?action=article&sid=20060927091645

Thank you!
-- 
José Pablo Fernández
[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: PF slowing down file copies

2007-02-21 Thread Bill Moran
In response to "José Pablo Fernández" <[EMAIL PROTECTED]>:

> On Wednesday 21 February 2007 14:50, Bill Moran wrote:
> > > When I disable PF I can't reach outside because that is what is in charge
> > > of NATing, but I can reach the other network, and the copy just works.
> >
> > Have you tried stripping your pf rules down to JUST nat to see if the
> > problem changes?
> 
> If I put
> 
> pass in quick
> pass out quick
> 
> just below the nat and rdr rules in pf.conf, then the copy happens ok, at 
> normal (fast) speed.

Well, it's definitely pf that's doing it, then.

Some basic diagnostics would be to add parts back into the pf one or two
rules at a time to see exactly what rules are causing the issue.

You could also post your entire ruleset to the list.  It's possible that
some pf guru will see an obvious mistake in the way they're laid out.

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


Ultrium 448 Tape Drive

2007-02-21 Thread jhall
>From what I have read, I think the Ultrium tape drive is completely
compatible with FreeBSD.  If I am understanding the specs correctly, it
uses hardware compression to compress data.  And, again if I am
understanding everything correctly, I should be able to use the mt command
to tell the tape drive to use hardware compression.

This is the first server I have used FreeBSD on with a tape drive and want
to make sure everything goes as smooth as possible.

Thanks,


Jay

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


Re: PF slowing down file copies

2007-02-21 Thread J65nko

On 2/21/07, José Pablo Fernández <[EMAIL PROTECTED]> wrote:

Hello,
I have a FreeBSD 6.2 acting as router between two LANs and the internet. I am
using PF on it for filtering and I am allowing all the traffic to pass by
between the two LANs:

pass from $lan0:network to $lan1:network keep state
pass from $lan1:network to $lan0:network keep state

My problem is that when I copy a file from one network to the other, the first
128KB seems to be copied instantaneously, the second 128KB take more than two
minutes and I've seen the third 128KB being copied very rarely. This is using
Secure CoPy.
If I copy the file to the router and from the router to the other computer, it
just works. And it seems people copying files with SMB (Window's protocol)
have found the same problem.
Any ideas what might be going on?
Thanks.


For keeping state on TCP connections you should only create state on
the first packet of the 3 way TCP handshake. Using "flags S/SA" will
ensure this. This will prevent problems with TCP windows scaling..

For a more detailed explanation and  some suggestions see the 3 part
series about the pf firewall starting at
http://undeadly.org/cgi?action=article&sid=20060927091645

BTW The author of these 3 articles is Daniel Hartmeier, principal
developer of pf. ;)

[big snip]

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


Re: CVSup question

2007-02-21 Thread Joe Holden

Simon Gao wrote:

Hi,

I have some machines running FreeBSD 5.2.1. Is it safe to update ports 
to 5.4_stable via CVSup? Or should I use 5_stable?




Ports are independant of base branch, ports should generally be HEAD 
(tag=.).


HTH,
Joe

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


CVSup question

2007-02-21 Thread Simon Gao

Hi,

I have some machines running FreeBSD 5.2.1. Is it safe to update ports 
to 5.4_stable via CVSup? Or should I use 5_stable?


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


Day Light Savings time changes on March 11

2007-02-21 Thread Mikel King
Just curious what is that status of this issue with the current  
version of FreeBSD? I am betting that it has already been taken care  
of ages ago, in which case I am curious how far back that might have  
been?


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


Re: PF slowing down file copies

2007-02-21 Thread José Pablo Fernández
On Wednesday 21 February 2007 14:50, Bill Moran wrote:
> > When I disable PF I can't reach outside because that is what is in charge
> > of NATing, but I can reach the other network, and the copy just works.
>
> Have you tried stripping your pf rules down to JUST nat to see if the
> problem changes?

If I put

pass in quick
pass out quick

just below the nat and rdr rules in pf.conf, then the copy happens ok, at 
normal (fast) speed.
-- 
José Pablo Fernández
[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: server issues

2007-02-21 Thread Nathan Vidican

drewshen wrote:

I am having a problem with my apache in freebsd.  i set up two virtual hosts,
one is a default, the other goes to another domain.  i set up the
directives:


AllowOverride None   
Order deny,allow
Deny from all 



 
   AllowOverride All 
   Order allow,deny 
   Allow from all 
 
 
 
   AllowOverride All 
   Order allow,deny
   Allow from all 
 


when i try to start apache it says httpd not running, trying to start . . .
and on the broswer i get an internal server error.  does anyone know how i
could fix this? thanks alot!

  


Without seeing the rest of your configuration file, I may suggest you 
make sure your  tags are within their resepective 
 tags ... Also, check the location of your error and access 
log; make sure the user apache is running as can write to them, and see 
what they say - write back to this list with the actual error, and/or 
more of your configuration file.



--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate & Tool Ltd.
http://www.wmptl.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PF slowing down file copies

2007-02-21 Thread Chuck Swiger

On Feb 21, 2007, at 9:41 AM, José Pablo Fernández wrote:

This might be an MTU problem. Is the MTU set to 1500 everywhere?
You can try using a smaller MTU - like 1400 - on two computers,
try a transfer and if that works, you'll have to check the
switches involved.


Where is/should the MTU be set?


You can do "ifconfig re0 mtu 1400" directly from the command line  
(replace "re0" with whatever nic's you have), or configure it in the  
ifconfig line(s) in your /etc/rc.conf.



Also, what's going on when you disable pf?


When I disable PF I can't reach outside because that is what is in  
charge of

NATing, but I can reach the other network, and the copy just works.


Perhaps try commenting out your "scrub in" line, and see whether PF's  
re-writing of the packets is screwing something up


--
-Chuck

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


Re: server issues

2007-02-21 Thread Philippe Laquet
Can you give us the "VirtualHost" directives included in your 
configuration file, listening ports and the tailed couple "access-log" / 
"error-log" ?


;)



drewshen a écrit :

I am having a problem with my apache in freebsd.  i set up two virtual hosts,
one is a default, the other goes to another domain.  i set up the
directives:


AllowOverride None   
Order deny,allow
Deny from all 



 
   AllowOverride All 
   Order allow,deny 
   Allow from all 
 
 
 
   AllowOverride All 
   Order allow,deny
   Allow from all 
 


when i try to start apache it says httpd not running, trying to start . . .
and on the broswer i get an internal server error.  does anyone know how i
could fix this? thanks alot!

  

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


Re: PF slowing down file copies

2007-02-21 Thread Bill Moran
In response to "José Pablo Fernández" <[EMAIL PROTECTED]>:

> On Wednesday 21 February 2007 05:39, Nikos Vassiliadis wrote:
> > On Wednesday 21 February 2007 01:21, José Pablo Fernández wrote:
> > > My problem is that when I copy a file from one network to the other, the
> > > first 128KB seems to be copied instantaneously, the second 128KB take
> > > more than two minutes and I've seen the third 128KB being copied very
> > > rarely.
> >
> > This might be an MTU problem. Is the MTU set to 1500 everywhere?
> > You can try using a smaller MTU - like 1400 - on two computers,
> > try a transfer and if that works, you'll have to check the
> > switches involved.
> 
> Where is/should the MTU be set?

ifconfig  mtu 1400
(for example)

> 
> > > This is using Secure CoPy.
> >
> > Do you mean scp(1)?
> 
> Yes.
> 
> > Also, what's going on when you disable pf?
> 
> When I disable PF I can't reach outside because that is what is in charge of 
> NATing, but I can reach the other network, and the copy just works.

Have you tried stripping your pf rules down to JUST nat to see if the
problem changes?

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


Re: PF slowing down file copies

2007-02-21 Thread José Pablo Fernández
On Wednesday 21 February 2007 05:39, Nikos Vassiliadis wrote:
> On Wednesday 21 February 2007 01:21, José Pablo Fernández wrote:
> > My problem is that when I copy a file from one network to the other, the
> > first 128KB seems to be copied instantaneously, the second 128KB take
> > more than two minutes and I've seen the third 128KB being copied very
> > rarely.
>
> This might be an MTU problem. Is the MTU set to 1500 everywhere?
> You can try using a smaller MTU - like 1400 - on two computers,
> try a transfer and if that works, you'll have to check the
> switches involved.

Where is/should the MTU be set?

> > This is using Secure CoPy.
>
> Do you mean scp(1)?

Yes.

> Also, what's going on when you disable pf?

When I disable PF I can't reach outside because that is what is in charge of 
NATing, but I can reach the other network, and the copy just works.

Thank you.
-- 
José Pablo Fernández
[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: server issues

2007-02-21 Thread Jeff Palmer

At 12:00 PM 2/21/2007, drewshen wrote:


I am having a problem with my apache in freebsd.  i set up two virtual hosts,
<..snip..>
when i try to start apache it says httpd not running, trying to start . . .
and on the broswer i get an internal server error.  does anyone know how i
could fix this? thanks alot!



What do the apache error logs say?


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


Opera + Spelling

2007-02-21 Thread White Hat
FreeBSD-6.2
Opera-9.10.20061214
xfce-4.4.0

I seem to be having a problem using the 'spell checking' feature form within 
Opera. When I click on the 'spell' icon, I am transfered to a page that tells 
me I have to install GNU Aspell . I already have this install I believe. This 
is the output of 'pkg_info aspell*:

Information for aspell-0.60.5:
Comment:
Spelling checker with better suggestion logic than ispell

Required by:
claws-mail-2.7.2
claws-mail-etpan_privacy-0.15.5_2
claws-mail-gtkhtml2_viewer-0.14.1_1
gtkspell-2.0.11_4
opera-9.10.20061214

Therefore, assuming that it is installed, why is Opera not finding it, and what 
can I do to alleviate the problem? I am running 'XFCE4' as an unprivileged user 
if that makes any difference.

Thanks!

-- 

White Hat 
[EMAIL PROTECTED]

How many men does it take to open a beer?
None. It should be opened by the time she brings it to you.


 

Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


server issues

2007-02-21 Thread drewshen

I am having a problem with my apache in freebsd.  i set up two virtual hosts,
one is a default, the other goes to another domain.  i set up the
directives:


AllowOverride None   
Order deny,allow
Deny from all 


 
   AllowOverride All 
   Order allow,deny 
   Allow from all 
 
 
 
   AllowOverride All 
   Order allow,deny
   Allow from all 
 

when i try to start apache it says httpd not running, trying to start . . .
and on the broswer i get an internal server error.  does anyone know how i
could fix this? thanks alot!

-- 
View this message in context: 
http://www.nabble.com/server-issues-tf3267946.html#a9084688
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: How Do I Surf To My Server?

2007-02-21 Thread Drew Jenkins
- Original Message 
From: Jeffrey Goldberg <[EMAIL PROTECTED]>
et al.

I just want to thank everybody for helping me with this issue. By yesterday 
morning, before I left for town and a very busy day, I realized the problem (at 
that juncture) could not possibly have been with the IP configuration nor the 
server, but rather must have been the way I'd configured Zope. Later, when I 
had time, I confirmed that and got everything up and running.
Thanks again,
Drew





 

Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Backup using dump and restore from dvd - restore cd loaded to ram ?drive?

2007-02-21 Thread Lowell Gilbert
Milan Knizek <[EMAIL PROTECTED]> writes:

> On Monday 19 February 2007 16:29, Oliver Fromme wrote:
>> [EMAIL PROTECTED] wrote:
>
>> A simpler solution for your restore problem would be
>> to simply use a standard FreeBSD installation CD,
>> then make a minimal installation on your hard disk
>> so you have all the tools that you need, then restore
>> your actual backups.
>
> How does restore behave when restoring to a live root file system (despite 
> the 
> recommended split of /, swap, /usr, ... I am using a single partition of 
> freebsd slice for the complete system + swap + encrypted partition for some 
> data + different hdd for photos)?
>
> I want to be sure that the restored system is exactly the same as on backup, 
> that is to preferrably use -r option.

For that case, I would follow the same advice from Oliver Fromme,
except that instead of booting to a minimal installation on the hard
disk, booting the fixit disk (to get the tools without having the hard
disk mounted at all).


-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Reg, User rights

2007-02-21 Thread Norberto Meijome
[Format recovered - PLEASE don't top post! ]

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of subbu ramanN
> Sent: Wednesday, February 21, 2007 3:53 PM
> To: [EMAIL PROTECTED]
> Subject: Reg, User rights
> 
> Dear Team,
>   This is subburaman from Bangalore, india.I have
> installed the FreeBSD6.2.Now i want to create a new User with
> Administrator rights.Please give me the guidelines for me.
> 
> Thanks with regards
> 
> Subburaman N

On Wed, 21 Feb 2007 16:30:10 +0530
<[EMAIL PROTECTED]> wrote:

> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> Cc: 
> Subject: RE: Reg, User rights
> Date: Wed, 21 Feb 2007 16:30:10 +0530
> Sender: [EMAIL PROTECTED]
> 
> 
>  
>  
>  Hi,
> 
> While creating user accout using  'adduser' command, give 'Login
> group' as 'wheel' which will give administrator rights for that
> particular username.
> 
> Regards.
> 

Hi Subburaman,
please read 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/users.html

Membership to the wheel group will give you some more access than not belonging
to that group, but probably is not what you have in mind (if you come from a
MS Windows background where belonging to "Administrator" group is all you
really need to wreak hav[del del] err... "manage" a system ;). It will
definitely allow you to su to root...
_
{Beto|Norberto|Numard} Meijome

Anyone who isn?t confused here doesn?t really understand what?s going on.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: highpoint hpt372 raid support, or other options?

2007-02-21 Thread Alex Zbyslaw

Joel D. Parker wrote:


I keep running into roadblocks...

I'm running fbsd 6.1 release, i386
[...]
-highpoint's own management software..
After trying atacontrol I figured I'd give highpoint's driver's a try. They
say they support freebsd 6.1 so this shouldn't be an issue right? Well I
install their driver, which appears to work fine (the first disk is now
da0s1), but then their raid management software won't install. It keeps
looking for old version of libraries (which I was apparently able to get
around by linking to the current libraries) and now it's giving me the
following error:
/usr/libexec/ld-elf.so.1: /usr/local/lib/libncurses.so.5: Undefined symbol
"__stdoutp"

Obviously this is a problem with highpoint's own freebsd support, but is
there any way to get around this with FreeBSD 6.x? Has anyone here had any
luck with rebuilding an array using an hpt372 card in freebsd?
 

I can tell you right off that linking libraries to older versions is 
just a plain bad idea.


I have no Highpoint card but I'll bet that you want 
/usr/ports/misc/compat5x port installed to find the real versions of the 
libraries that you faked up with your links.   libncurses.so.5 is 
clearly listed in the packing list for that port.


And don't forget to read the pkg-message which tells you about the 
kernel option you need to do this.


hth,

--Alex


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


Re: Compiler Flags for SPARC64

2007-02-21 Thread Christian Baer
On Mon, 19 Feb 2007 12:45:51 -0500 Kris Kennaway wrote:

>> Has anyone got any ideas on how to go on with this?
>
> You'll have to look at the compiler spec and how it is bootstrapped.

That could become quite a project.

> FWIW, I don't think there are any secret flags you can set to improve
> the compiler targetting, as the defaults are already appropriate.

These are not 'secret' flags:
http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/SPARC-Options.html#SPARC-Options

Also look a this:
http://www.osnews.com/story.php/6136/SPARC-Optimizations-With-GCC/page1

gcc by default creates v7 code which is a fair bit slower on a v9 CPU
than v9 code. And I can't find anything that suggests that FreeBSD has
any default flags that take this into account.

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


nntpcache ( news/nntpcache ) on AMD 64 (6.2-RELEASE)

2007-02-21 Thread Vikash Badal
Greetings,

Has anyone been able to get nntpcache working on AMD64 (6.2-RELEASE)

The same ports tree compiles on 6.2-RELEASE i386 and work 100%

Compiling on AMD64 results in :

connected to NNTP server vasbyt.local.net as DEFAULT
=> [vasbyt.local.net] list overview.fmt
refused list overview.fmt on vasbyt.local.net: '430 Dont have it'
checking server vasbyt.local.net for 'active'
=> [vasbyt.isdsl.net] list
refused list active on vasbyt.local.net: '500 Syntax error or bad
command'
checking server vasbyt.local.net for 'active.times'
=> [vasbyt.isdsl.net] list active.times
parsing 'active.times' from vasbyt.local.net
page error



please advise
Please note: This email and its content are subject to the disclaimer as 
displayed at the following link 
http://www.is.co.za/legal/E-mail+Confidentiality+Notice+and+Disclaimer.htm. 
Should you not have Web access, send a mail to [EMAIL PROTECTED] and a copy 
will be emailed to you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: help needed setting up NATIVE ipv6 connection

2007-02-21 Thread Björn König

Arone Silimantia schrieb:


--- Björn König <[EMAIL PROTECTED]>
wrote:


Add the following line in /etc/rc.conf

ipv6_enable="YES"

This is enough to let FreeBSD configure the
interface with IPv6 
automatically using router solicitation.



Hmmm...that sounds very nice - just adding that one
line and _nothing else_.  This system is a server
though, so how will that router know to give me the
same IP every time ?


It assigns an IP that corresponds with you hardware MAC address.


ifconfig_fxp4="inet "
ifconfig_fxp4_alias0="inet "
ifconfig_fxp4_alias1="inet6 1234:1234:1234::2/64"
ifconfig_fxp4_alias2="inet6 1234:1234:1234::3/64"



Ok, yes, I think I would like to do it manually like
this.  I notice you do not have a ipv6 default route
statement there - is it not needed ?


Sorry, I forgot that.

ipv6_defaultrouter="1234:1234:1234::1"


Do I need to tell my provider that I am taking the /48
they gave me and using it with a /64 like that, or can
I just stick in the /64 and it will work fine ?



I assume that if I just want to keep things simple I
can just put /48 in place of your /64, right ?


Both will work without problems.


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


RE: Reg, User rights

2007-02-21 Thread tanniru.sankar

 
 
 Hi,

While creating user accout using  'adduser' command, give 'Login
group' as 'wheel' which will give administrator rights for that
particular username.

Regards.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of subbu ramanN
Sent: Wednesday, February 21, 2007 3:53 PM
To: [EMAIL PROTECTED]
Subject: Reg, User rights

Dear Team,
  This is subburaman from Bangalore, india.I have
installed the FreeBSD6.2.Now i want to create a new User with
Administrator rights.Please give me the guidelines for me.

Thanks with regards

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


The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.
 
www.wipro.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Reg, User rights

2007-02-21 Thread subbu ramanN

Dear Team,
 This is subburaman from Bangalore, india.I have installed
the FreeBSD6.2.Now i want to create a new User with Administrator
rights.Please give me the guidelines for me.

Thanks with regards

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


Re: Best partitioning scheme for my HDD? Please advise.

2007-02-21 Thread n j

What would be the best sizes for the
disk partitions so that I don't run out of space on any of them while also
leaving the maximum amount of space possible for the future software to be
installed?


While I'd certainly go with a single partition as a solution for your
setup, if you really insisted on having separate partitions, you could
use a logical volume manager like Vinum which should, if I'm not
mistaken, allow you to resize partitions on the fly, reducing the
unused partitions and increasing the greedy ones.

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


Re: Sun jdk 1.6? Any port?

2007-02-21 Thread n j

Is there any plan to port Sun JDK 1.6 to FreeBSD?


FYI,

I'm running JDK6 in Linux compatibility mode for an application that
uses RMI, JDBC, threads and runs as a daemon (24/7) and I had no
problems so far, the setup looks very stable.

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


Re: PF slowing down file copies

2007-02-21 Thread Nikos Vassiliadis
On Wednesday 21 February 2007 01:21, José Pablo Fernández wrote:
> My problem is that when I copy a file from one network to the other, the 
> first 
> 128KB seems to be copied instantaneously, the second 128KB take more than two 
> minutes and I've seen the third 128KB being copied very rarely.

This might be an MTU problem. Is the MTU set to 1500 everywhere?
You can try using a smaller MTU - like 1400 - on two computers,
try a transfer and if that works, you'll have to check the
switches involved.

> This is using Secure CoPy.

Do you mean scp(1)?

Also, what's going on when you disable pf?

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


Re: ipfw limit src-addr woes

2007-02-21 Thread admin

Ian Smith wrote:

On Tue, 20 Feb 2007, Julian Elischer wrote:
 > admin wrote:
 > 
 > > Wrong: the implied "check-state" done by the "limit" lets the connection 
 > > through (i.e. performs the action) iff there's state recorded for it 
 > > (src-addr+src-port+dst-addr+dst-port). If however it's a SYN packet 
 > > incoming and the number of current states is trying to cross the limit, 
 > > the SYN packet is implicitly dropped and the search terminates.
 > > 
 > > This is not to say that I completely understand the things going on when 
 > > the connections start building up (different timeouts?) but the above 
 > > conclusion is based on what simulation has shown. The whole ruleset fits 
 > > on one screen, there's an "allow ip from any to any" in the end, so I'm 
 > > pretty sure I'm not crazy :-)
 > 
 > One thing to keep in mind is that a 'check-state' rule works by effectively 
 > jumping to the rule that did the 'keep-state' and re-executing it..

 > (and incrementing its stats).

What if the action of the rule that does the 'keep-state' (here a limit
src-addr) is a skipto, rather than an allow / fwd / divert etc rule that
would terminate the search?  Does 're-executing' here imply anything
about whether the skipto's conditional branch is or is not taken?

I bought into this because admin said that more connections were being
allowed than the limit src-addr clause should allow, and I assumed that
the skipto branch was not being taken on over-limit packets, and that
the following fwd rule (allowing any type of packets including SYN) was
being executed, which would account for what he'd said was happening.

admin above asserts that my assumption was wrong, and that in a match
beyond the limit number of connections for that src/dest address, the
setup packet is 'implicitly dropped and the search terminates', and
while I can't find that stated as such in ipfw(8), he may be right.

Which still doesn't explain why connections from a particular IP beyond
his specified limit are allowed to be established, as originally stated.



I've changed "limit src-addr N" to "limit src-addr dst-addr N" - to key 
the limit on client parties trying to pose some single external IP 
address under attack (and, admittedly, the transparent proxy down with 
it :))


Some bit of scripting below allows me to monitor ipfw's dynamic rules 
usage keyed by src-addr+dst-addr, sorted by rule count (top 10 users):


ipfw -d show | sed -n '/^## Dynamic rules /,$p' | tail -n+2 | awk '$5 == 
"LIMIT" { k=sprintf("%s %s", $7, $10); a[k]++ } END { for (i in a) 
{printf "%3d %s\n", a[i], i }}' | sort -nr -k1,1 | head


Typical output:
 32 client1.ip.ad.dr x.x.x.x
 30 client1.ip.ad.dr y.y.y.y
 20 client1.ip.ad.dr z.z.z.z
 14 client2.ip.ad.dr e.f.g.h
...
it shows that client1.ip.ad.dr has 32 connections to x.x.x.x, 30 
connections to y.y.y.y, etc.


And here's the thing: when under "attack", netstat -na | fgrep 
client1.ip.ad.dr shows a huge number of connections to some single 
x.x.x.x, port 80 in the ESTABLISHED state - 2, 3 times the value of 
limit - with full send queue usage (as determined by 
net.inet.tcp.sendspace) - all opening at a very fast pace!! The ipfw -d 
script, though, shows that the limit is not yet even crossed! Only when 
the netstat's connection count gets to 4-5 times the limit does ipfw 
start to realize something's wrong and drop packets - the usage count 
shown by the script above is then strictly that of "limit src-addr N"! 
It _must_ some different timeouts, I don't know _which_ timeouts though.


True, some buggy web-browsers of many "good" clients leave the 
connection in the FIN_WAIT_2 state until timed out - and this still 
counts as open (eats up a socket etc.) - that's why I was forced to 
change "limit src-addr N" to "limit src-addr dst-addr N" to better get 
the idea.



[shrug]  Over to the ipfw gurus.



Ditto.


Cheers, Ian




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