Re: JFS2 on freebsd

2005-09-09 Thread Kamal R. Prasad
would a port of JFS2 be of interest to freebsd core?
 thanks
-kamal


 On 9/9/05, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote: 
 
 On Thursday, 8 September 2005 at 20:41:49 +0530, Kamal R. Prasad wrote:
  Hello,
  Has there been any work on porting JFS2 onto Freebsd?
 
 A little, but it never got finished. Hiten Pandya did the work a
 while back.
 
 Greg
 --
 See complete headers for address and phone numbers.
 
 

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


Re: JFS2 on freebsd

2005-09-09 Thread Mike Silbersack


On Fri, 9 Sep 2005, Kamal R. Prasad wrote:


would a port of JFS2 be of interest to freebsd core?
thanks
-kamal


There are many things that would be of interest to FreeBSD users, but 
that's not a good reason to start a project.  If you're motivated only 
because you think others desire your work, you'll probably give up when 
you have to start dealing with all the realities of the project.  However, 
if you're motivated because *you* want to port JFS2, then you'll probably 
do a good job of it.


So, of course support for new filesystem support is good, but my personal 
opinion is that JFS2 isn't worth your time, for two reasons:


a)  Even if it's BSD licensed, it's unlikely to displace UFS as our 
default filesystem.


b)  It's not a widely used filesystem, so it doesn't really increase our 
interoperability with other OSes.


OTOH, updating our ext2 code, or ntfs code (if that's even possible) would 
be something of use to many people, I suspect.


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


Re: JFS2 on freebsd

2005-09-09 Thread Peter Jeremy
On Fri, Sep 09, 2005 at 12:31:15PM +0530, Kamal R. Prasad wrote:
would a port of JFS2 be of interest to freebsd core?

To add to Mike's comments, if you're really keen on playing with
journalling, adding journalling support to UFS2 is something that
probably would be widely appreciated.  AFAIK, there's work underway
on this and suggest you try freebsd-fs.

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


Re: fok() execve() - No child processes

2005-09-09 Thread Andrey Simonenko
On Thu, Sep 08, 2005 at 12:40:20PM -0700, erkan kolemen wrote:
 Following code fails. I debugged it and saw that: it
 produces No child processes error while wait().
 
 is it possible, parent still is not start to wait but
 child finished. After that CPU schedules parents. It
 try to start wait but child has finished.
 
 is it possible... What can i do for that?

If you want to use vfork(), then you should know that a child
will borrow parent's memory and a parent is suspended while a
child is using its resources (at least in BSD).  A child is
allowed to call only execve() or _exit() and it is not allowed
to return from the function in which vfork() was called.  A child
can modify some data in the parent's memory (really shared memory
by both processes), but this memory should be volatile (try to
modify non-volatile variable in a child and check result in
a parent and compile this test program with optimization).

Read description and application usage of vfork() in SUSv3, it
gives very hard limits on vfork() usage (if you are interesting in
creating portable software).

Also find discussions about vfork() in this mailing list and
read another limitations on its usage in found letters.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 6.0-BETA4 panics when when configuring pfsync0

2005-09-09 Thread Dominic Marks
Hello,

I am setting up a redundant firewall setup for our company, the systems
are identically configured Dell servers running FreeBSD 6.0-BETA4.
Software being used is pf, carp, pfsync and altq.

When I attempt to configure the pfsync0 interface the systems panic. The
systems currently have HTT enabled, I've googled but I didn't find
anything to suggest pfsync was not SMP/HTT friendly. Could this be a
configuration problem?

interface:

# ifconfig em2
em2: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=bRXCSUM,TXCSUM,VLAN_MTU
inet 172.16.254.2 netmask 0xff00 broadcast 172.16.254.255
ether 00:04:23:bd:7a:ef
media: Ethernet autoselect (100baseTX full-duplex)
status: active

command:

# ifconfig pfsync0 syncdev em2 syncpeer 172.16.254.1

panic message:

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x24
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc067bfdc
stack pointer   = 0x28:0xcca18aa0
frame pointer   = 0x28:0xcca18ab4
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= resume, IOPL = 0
current process = 84 (swi4: clock sio)
trap number = 12
panic: page fault
cpuid = 0
Uptime: 17m1s
Dumping 255 MB (2 chunks)

backtrace:

#0  doadump () at pcpu.h:165
165 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:165
#1  0xc065b55d in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:397
#2  0xc065b881 in panic (fmt=0xc0854645 %s)
at /usr/src/sys/kern/kern_shutdown.c:553
#3  0xc080cdfc in trap_fatal (frame=0xcca18a60, eva=36)
at /usr/src/sys/i386/i386/trap.c:841
#4  0xc080c5b6 in trap (frame=
  {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -1043696512, tf_esi =
-106424  5856, tf_ebp = -861828428, tf_isp =
-861828468, tf_ebx = -1051017216, tf_edx = -
 1043696512, tf_ecx = -1051126400, tf_eax = 0, tf_trapno = 12,
tf_err = 0, tf_eip   = -1066942500, tf_cs =
32, tf_eflags = 65670, tf_esp = 52, tf_ss = 0})
at /usr/src/sys/i386/i386/trap.c:272
#5  0xc07fa5ca in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#6  0x0008 in ?? ()
#7  0x0028 in ?? ()
#8  0x0028 in ?? ()
#9  0xc1ca7480 in ?? ()
#10 0xc090e5a0 in pfi_buffer_max ()
#11 0xcca18ab4 in ?? ()
#12 0xcca18a8c in ?? ()
#13 0xc15ac000 in ?? ()
#14 0xc1ca7480 in ?? ()
#15 0xc1591580 in ?? ()
#16 0x in ?? ()
#17 0x000c in ?? ()
#18 0x in ?? ()
#19 0xc067bfdc in propagate_priority (td=0xc1ca7480)
at /usr/src/sys/kern/subr_turnstile.c:234
#20 0xc067c8f1 in turnstile_wait (lock=0xc090e5a0, owner=0xc1ca7480)
at /usr/src/sys/kern/subr_turnstile.c:629
#21 0xc0652cb0 in _mtx_lock_sleep (m=0xc090e5a0, tid=3243950080, opts=0,
file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:549
#22 0xc04768ed in pf_test (dir=2, ifp=0xc16ae000, m0=0xcca18c18, eh=0x0,
inp=0x0) at /usr/src/sys/contrib/pf/net/pf.c:6284
#23 0xc047f74b in pf_check_out (arg=0x0, m=0xcca18c18, ifp=0xc16ae000, dir=2,
inp=0x0) at /usr/src/sys/contrib/pf/net/pf_ioctl.c:3386
#24 0xc06d1837 in pfil_run_hooks (ph=0xc0934740, mp=0xcca18c8c,
ifp=0xc16ae000, dir=2, inp=0x0) at /usr/src/sys/net/pfil.c:139
#25 0xc06f7172 in ip_output (m=0xc177e900, opt=0xc177e988, ro=0xcca18c58,
flags=2, imo=0xc16e3e08, inp=0x0) at /usr/src/sys/netinet/ip_output.c:666
#26 0xc0469dc2 in pfsync_senddef (arg=0xc16e3e00)
at /usr/src/sys/contrib/pf/net/if_pfsync.c:1829
#27 0xc0667bea in softclock (dummy=0x0) at
/usr/src/sys/kern/kern_timeout.c:295
#28 0xc0646d11 in ithread_loop (arg=0xc15bc480)
at /usr/src/sys/kern/kern_intr.c:545
#29 0xc0645dd5 in fork_exit (callout=0xc0646bc4 ithread_loop,
arg=0xc15bc480, frame=0xcca18d38) at /usr/src/sys/kern/kern_fork.c:789
#30 0xc07fa62c in fork_trampoline () at
/usr/src/sys/i386/i386/exception.s:208

dmesg:

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.0-BETA4 #1: Tue Sep  6 15:44:57 BST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FIREWALL
ACPI APIC Table: DELL   PESC1425
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3200.12-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf41  Stepping = 1
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACP
I,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x641dSSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,b14
  AMD Features=0x2010NX,LM
  Hyperthreading: 2 logical CPUs
real memory  = 268173312 (255 MB)
avail memory = 252772352 (241 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1

Re: JFS2 on freebsd

2005-09-09 Thread Daniel O'Connor
On Friday 09 September 2005 16:31, Kamal R. Prasad wrote:
 would a port of JFS2 be of interest to freebsd core?

Core doesn't decide what stuff gets committed into FreeBSD.

Core doesn't control who writes things, or what they write, for FreeBSD.

If you write it, and it works well enough and you are prepared to maintain it, 
it will almost certainly be committed.

FreeBSD works from the ground up, not the other way around. If you want it, 
write it :)

PS I am not a core member :)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpR4z0oIzuUP.pgp
Description: PGP signature


Re: fok() execve() - No child processes

2005-09-09 Thread Peter Pentchev
On Thu, Sep 08, 2005 at 12:40:20PM -0700, erkan kolemen wrote:
 Following code fails. I debugged it and saw that: it
 produces No child processes error while wait().
 
 is it possible, parent still is not start to wait but
 child finished. After that CPU schedules parents. It
 try to start wait but child has finished.
 
 is it possible... What can i do for that?
[snip]
 default:
 if (wait(stat) == -1) {
 slog(1, LOG_ERR);
 return -14;
 }

Just an idea: what happens if you try waitpid(pid, stat, 0) instead
of wait(stat)?

G'luck,
Peter

-- 
Peter Pentchev  [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED]
PGP key:http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
I've heard that this sentence is a rumor.


pgpgY22C3LxXB.pgp
Description: PGP signature


Re: JFS2 on freebsd

2005-09-09 Thread Robert Watson


On Thu, 8 Sep 2005, Kamal R. Prasad wrote:


 Has there been any work on porting JFS2 onto Freebsd?


There has been recent work to port several of the newer Linux file systems 
to FreeBSD, including:


- Pretty old work to get the basic JFS userland tools working (status
  unknown, likely very stale due to the passage of time).

- Pretty recent work to get read-only reiserfs working (committed and in
  the CVS repository).

- Pretty recent work to get read-only XFS working (external repository,
  but publicly available).

Also potentially of interesting:

- Increasingly dated work to port the pre-journalled version of HFS+ to
  FreeBSD, which works well subject to the datedness and
  pre-journalledness of the work.

There's also on-going work on a journalled version of UFS.  I'm sure the 
authors of any of these would be interested in someone lending a hand -- I 
know there have been specific appeals for interest from the XFS crowd in 
the last month, along with test patches, etc, for example.  You might want 
to post to freebsd-fs looking for details on the various projects.


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


Re: NFS hanging

2005-09-09 Thread Sergey Babkin
From: Steve Suhre [EMAIL PROTECTED]

I know I've dealt with this before...but can't remember what the deal 
was... I mount a remote server to /mnt and the mount command seems to 
work, no errors or logged errors on either machine. But when I try to cd 
to the /mnt folder on the client the server hangs. I can't do an ls 
without it hanging either. I can't even kill the ls process, the client 
needs to be rebooted to clear any hung commands. The client is running 
an older version of bsd (BSDI), the nfs server FreeBSD 5.4. Any help 
would be appreciated.

Looks like the mountd daemon on the server is 
working fine but nfsd is not. Check if it's 
running, if the versions are matching, and such.

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


status of ufsj and gjournal

2005-09-09 Thread db
Hi list,
I wonder whats the status of those summer of code projects.
From gjournal we heard that it has been completed but then nothing happens, any
further information about this?
Is somebody working on ufsj? Was the summer of code project successful?

best regards,
-Dennis


This message was sent using IMP, the Internet Messaging Program.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: status of ufsj and gjournal

2005-09-09 Thread Eric Anderson

[EMAIL PROTECTED] wrote:

Hi list,
I wonder whats the status of those summer of code projects.

From gjournal we heard that it has been completed but then nothing happens, any

further information about this?
Is somebody working on ufsj? Was the summer of code project successful?


Scott Long is the core person working on ufsj, and I have seen some 
stuff worked on in his perforce tree, but I think it's a ways away from 
being beta.  I'm sure he would welcome help.


gjournal is 'complete', but still beta, mostly (I think) due to lack of 
bug reports/testing.  I know I have been playing with it, and have had 
no real problems with the current beta.  It's a very cool tool, however 
it won't help with fsck's - it's aimed at solving other problems.


Eric



--

Eric AndersonSr. Systems AdministratorCentaur Technology
Anything that works is better than anything that doesn't.

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


Re: Re: JFS2 on freebsd

2005-09-09 Thread Sergey Babkin
From: Mike Silbersack [EMAIL PROTECTED]

On Fri, 9 Sep 2005, Kamal R. Prasad wrote:

 would a port of JFS2 be of interest to freebsd core?
 thanks
 -kamal

There are many things that would be of interest to FreeBSD users, but 
that's not a good reason to start a project.  If you're motivated only 
because you think others desire your work, you'll probably give up when 
you have to start dealing with all the realities of the project.  However, 
if you're motivated because *you* want to port JFS2, then you'll probably 
do a good job of it.

So, of course support for new filesystem support is good, but my personal 
opinion is that JFS2 isn't worth your time, for two reasons:

a)  Even if it's BSD licensed, it's unlikely to displace UFS as our 
default filesystem.

b)  It's not a widely used filesystem, so it doesn't really increase our 
interoperability with other OSes.

OTOH, updating our ext2 code, or ntfs code (if that's even possible) would 
be something of use to many people, I suspect.

Why not go for ext3 instead of JFS then? It has 
journaling in it.

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


Re: FreeBSD 6.0-BETA4 panics when when configuring pfsync0

2005-09-09 Thread Dominic Marks
Dominic Marks wrote:
 Hello,

 I am setting up a redundant firewall setup for our company, the systems
 are identically configured Dell servers running FreeBSD 6.0-BETA4.
 Software being used is pf, carp, pfsync and altq.

 When I attempt to configure the pfsync0 interface the systems panic. The
 systems currently have HTT enabled, I've googled but I didn't find
 anything to suggest pfsync was not SMP/HTT friendly. Could this be a
 configuration problem?

 interface:

 # ifconfig em2
 em2: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 options=bRXCSUM,TXCSUM,VLAN_MTU
 inet 172.16.254.2 netmask 0xff00 broadcast 172.16.254.255
 ether 00:04:23:bd:7a:ef
 media: Ethernet autoselect (100baseTX full-duplex)
 status: active

 command:

 # ifconfig pfsync0 syncdev em2 syncpeer 172.16.254.1

Following a little more testing:

If I don't specify a syncpeer I don't get the panic.

 panic message:

 Fatal trap 12: page fault while in kernel mode
 cpuid = 0; apic id = 00
 fault virtual address   = 0x24
 fault code  = supervisor read, page not present
 instruction pointer = 0x20:0xc067bfdc
 stack pointer   = 0x28:0xcca18aa0
 frame pointer   = 0x28:0xcca18ab4
 code segment= base 0x0, limit 0xf, type 0x1b
 = DPL 0, pres 1, def32 1, gran 1
 processor eflags= resume, IOPL = 0
 current process = 84 (swi4: clock sio)
 trap number = 12
 panic: page fault
 cpuid = 0
 Uptime: 17m1s
 Dumping 255 MB (2 chunks)

 backtrace:

 #0  doadump () at pcpu.h:165
 165 pcpu.h: No such file or directory.
 in pcpu.h
 (kgdb) bt
 #0  doadump () at pcpu.h:165
 #1  0xc065b55d in boot (howto=260) at
 /usr/src/sys/kern/kern_shutdown.c:397
 #2  0xc065b881 in panic (fmt=0xc0854645 %s)
 at /usr/src/sys/kern/kern_shutdown.c:553
 #3  0xc080cdfc in trap_fatal (frame=0xcca18a60, eva=36)
 at /usr/src/sys/i386/i386/trap.c:841
 #4  0xc080c5b6 in trap (frame=
   {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -1043696512, tf_esi =
 -106424  5856, tf_ebp = -861828428, tf_isp =
 -861828468, tf_ebx = -1051017216, tf_edx = -
  1043696512, tf_ecx = -1051126400, tf_eax = 0, tf_trapno = 12,
 tf_err = 0, tf_eip   = -1066942500, tf_cs =
 32, tf_eflags = 65670, tf_esp = 52, tf_ss = 0})
 at /usr/src/sys/i386/i386/trap.c:272
 #5  0xc07fa5ca in calltrap () at /usr/src/sys/i386/i386/exception.s:139
 #6  0x0008 in ?? ()
 #7  0x0028 in ?? ()
 #8  0x0028 in ?? ()
 #9  0xc1ca7480 in ?? ()
 #10 0xc090e5a0 in pfi_buffer_max ()
 #11 0xcca18ab4 in ?? ()
 #12 0xcca18a8c in ?? ()
 #13 0xc15ac000 in ?? ()
 #14 0xc1ca7480 in ?? ()
 #15 0xc1591580 in ?? ()
 #16 0x in ?? ()
 #17 0x000c in ?? ()
 #18 0x in ?? ()
 #19 0xc067bfdc in propagate_priority (td=0xc1ca7480)
 at /usr/src/sys/kern/subr_turnstile.c:234
 #20 0xc067c8f1 in turnstile_wait (lock=0xc090e5a0, owner=0xc1ca7480)
 at /usr/src/sys/kern/subr_turnstile.c:629
 #21 0xc0652cb0 in _mtx_lock_sleep (m=0xc090e5a0, tid=3243950080, opts=0,
 file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:549
 #22 0xc04768ed in pf_test (dir=2, ifp=0xc16ae000, m0=0xcca18c18, eh=0x0,
 inp=0x0) at /usr/src/sys/contrib/pf/net/pf.c:6284
 #23 0xc047f74b in pf_check_out (arg=0x0, m=0xcca18c18, ifp=0xc16ae000,
 dir=2,
 inp=0x0) at /usr/src/sys/contrib/pf/net/pf_ioctl.c:3386
 #24 0xc06d1837 in pfil_run_hooks (ph=0xc0934740, mp=0xcca18c8c,
 ifp=0xc16ae000, dir=2, inp=0x0) at /usr/src/sys/net/pfil.c:139
 #25 0xc06f7172 in ip_output (m=0xc177e900, opt=0xc177e988, ro=0xcca18c58,
 flags=2, imo=0xc16e3e08, inp=0x0) at
 /usr/src/sys/netinet/ip_output.c:666
 #26 0xc0469dc2 in pfsync_senddef (arg=0xc16e3e00)
 at /usr/src/sys/contrib/pf/net/if_pfsync.c:1829
 #27 0xc0667bea in softclock (dummy=0x0) at
 /usr/src/sys/kern/kern_timeout.c:295
 #28 0xc0646d11 in ithread_loop (arg=0xc15bc480)
 at /usr/src/sys/kern/kern_intr.c:545
 #29 0xc0645dd5 in fork_exit (callout=0xc0646bc4 ithread_loop,
 arg=0xc15bc480, frame=0xcca18d38) at /usr/src/sys/kern/kern_fork.c:789
 #30 0xc07fa62c in fork_trampoline () at
 /usr/src/sys/i386/i386/exception.s:208

 dmesg:

 Copyright (c) 1992-2005 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
 FreeBSD 6.0-BETA4 #1: Tue Sep  6 15:44:57 BST 2005
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FIREWALL
 ACPI APIC Table: DELL   PESC1425
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3200.12-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0xf41  Stepping = 1
   
 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACP
 I,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
   Features2=0x641dSSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,b14
   AMD Features=0x2010NX,LM
   

dtrace

2005-09-09 Thread Andriy Gapon

I came over a discussion on slashdot about an effort to implement
solaris dtrace for FreeBSD (sorry if this is not the news), the article
discussed:

http://www.zdnet.com.au/news/software/soa/Developer_aims_for_Dtrace_on_FreeBSD/0,261733,39210618,00.htm

On a somewhat related note (solaris): I also saw a posting in
threads-related newsgroup about something called cyclic subsystem in
solaris for high-precision timimg:

http://blogs.sun.com/roller/page/eschrock?anchor=inside_the_cyclic_subsystem

Looks quite interesting, although probably not a junior hacker's level.

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


Software suspend on FBSD.

2005-09-09 Thread Pranav Peshwe
Hello,
  Does FreeBSD have 'software suspend' like linux ? or 
maybe something similar...

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


Re: JFS2 on freebsd

2005-09-09 Thread Matthew D. Fuller
On Fri, Sep 09, 2005 at 12:28:39PM +0100 I heard the voice of
Robert Watson, and lo! it spake thus:
 
 - Pretty recent work to get read-only reiserfs working (committed and in
   the CVS repository).

Which, by the way, I just used earlier this week to pull data and
configs and such off an old and unlamentedly dead Mandrake box onto
its (6-BETA) FreeBSD replacement, and which worked well enough to have
me quietly giggling while it copied8-}


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Smart Hubs

2005-09-09 Thread Ryan P. Sommers
I'm attempting to setup a few systems such that I can sniff traffic to and
from one computer. One requirment is this has to be as portable as
possible. I obtained a hub and setup the target and the sniffing system.
However, the sniffing system was not able to see all traffic to/from the
target. The lights on the hub blinked over the uplink (internet) and the
target, but not the sniffer. Next I tried my laptop as the sniffer
(7-CURRENT, had tried both a Windows laptop and a laptop booted off a
Linux live-filesystem). I was able to spoof the MAC address and IP on the
sniffer (freebsd) and set monitor mode for the interface. However, I still
was not able to see traffic to/from the target. The whole time though I
have been able to, of course, see broadcast traffic.

With the spoofed ip/mac though if I unplug the hub and then plug it back
in, or periodically when leaving it plugged in, the sniffer will get a
brief glimpse at a packet or two that was sent to the target system. This
suggests to me the hub is learning, somehow. My question though is how?
I took the sniffer out of monitor mode and generated a few ARP packets by
pinging unused IPs. I also ran ethereal on the target. The target saw the
ARPs generated by the sniffer system and the source address was correct,
it was the mac address both systems were using. How is the hub able to
tell these systems apart?

Hub in question is a linksys NH1005 v2.

All this was done at 100mbit full-duplex. Freebsd laptop nic won't drop to
half and I'm not sure how to force linux (target's os) to use anything
other than it's auto-config.

PS If anyone knows of a hub that's easy to find and still is an actuall
good 'ol hub, let me know.

-- 
Ryan Sommers
ryans  a_t  rpsommers.com
(obsolete: [EMAIL PROTECTED])

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


Re: Software suspend on FBSD.

2005-09-09 Thread Bruno Ducrot
On Fri, Sep 09, 2005 at 07:52:46PM +0530, Pranav Peshwe wrote:
 Hello,
   Does FreeBSD have 'software suspend' like linux ? or 
 maybe something similar...
 

No.

-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Smart Hubs

2005-09-09 Thread Andrea Campi
On Fri, Sep 09, 2005 at 08:39:30AM -0600, Ryan P. Sommers wrote:
 Hub in question is a linksys NH1005 v2.
 
 PS If anyone knows of a hub that's easy to find and still is an actuall
 good 'ol hub, let me know.

Linksys is sort of well known for playing this trick: they call entry
level switches hub and reserve switch for higher-level equipment.
Which is fine for people who just have to check email and play Quake, but
screws you to no end when you actually need a hub :-/

Google will tell you more about this, as well as suggesting real hubs.
I'd recommend to go with Netgear.

Bye,
Andrea

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


6.0-BETA4 package install failures

2005-09-09 Thread Steven Hartland

Quite a few packages fail to install from CD due to the package
split across CD1 and CD2, and example of this is apache 1.3

The way this is dealt with needs some work as even installing
a small package can sometimes require 4 CD switches. Would
be much better if all the dependencies where analised and then
all packages from one CD installed followed by those from the
other.

   Steve



This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 


In the event of misdirection, illegible or incomplete transmission please 
telephone (023) 8024 3137
or return the E.mail to [EMAIL PROTECTED]

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


ftpd in a jail

2005-09-09 Thread ion popescu
I have a ftpd server running in a jail and i want to
redirect the ftp traffic from my real host to jail.
I have already configured my traffic from 22 and 25 to
jail with natd and ipfw, but isn't working for ftp.
And i set all security.jail.* to 1 , (except 
security.jail.jailed)
How can it be done?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.0-BETA4 panics when when configuring pfsync0

2005-09-09 Thread Max Laier
On Friday 09 September 2005 15:05, Dominic Marks wrote:
 Dominic Marks wrote:
  Hello,
 
  I am setting up a redundant firewall setup for our company, the systems
  are identically configured Dell servers running FreeBSD 6.0-BETA4.
  Software being used is pf, carp, pfsync and altq.
 
  When I attempt to configure the pfsync0 interface the systems panic. The
  systems currently have HTT enabled, I've googled but I didn't find
  anything to suggest pfsync was not SMP/HTT friendly. Could this be a
  configuration problem?
 
  interface:
 
  # ifconfig em2
  em2: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  options=bRXCSUM,TXCSUM,VLAN_MTU
  inet 172.16.254.2 netmask 0xff00 broadcast 172.16.254.255
  ether 00:04:23:bd:7a:ef
  media: Ethernet autoselect (100baseTX full-duplex)
  status: active
 
  command:
 
  # ifconfig pfsync0 syncdev em2 syncpeer 172.16.254.1

 Following a little more testing:

 If I don't specify a syncpeer I don't get the panic.

Thanks for the dump.  Seems like we were leaking a lock from pfsyncioctl().  
Can you please try this patch and report back.  Thanks in advance.

-- 
/\  Best regards,  | [EMAIL PROTECTED]
\ /  Max Laier  | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | [EMAIL PROTECTED]
/ \  ASCII Ribbon Campaign  | Against HTML Mail and News


pgpw6OUsYwVGQ.pgp
Description: PGP signature


Re: 6.0-BETA4 package install failures

2005-09-09 Thread Kris Kennaway
On Fri, Sep 09, 2005 at 04:01:03PM +0100, Steven Hartland wrote:
 Quite a few packages fail to install from CD due to the package
 split across CD1 and CD2, and example of this is apache 1.3

You're sure this is the reason and not that amd64 packages were put on
the i386 disc 1 by mistake? ;-)

Kris

pgpiWrOoqgJfx.pgp
Description: PGP signature


Re: Smart Hubs

2005-09-09 Thread Brooks Davis
On Fri, Sep 09, 2005 at 04:48:41PM +0200, Andrea Campi wrote:
 On Fri, Sep 09, 2005 at 08:39:30AM -0600, Ryan P. Sommers wrote:
  Hub in question is a linksys NH1005 v2.
  
  PS If anyone knows of a hub that's easy to find and still is an actuall
  good 'ol hub, let me know.
 
 Linksys is sort of well known for playing this trick: they call entry
 level switches hub and reserve switch for higher-level equipment.
 Which is fine for people who just have to check email and play Quake, but
 screws you to no end when you actually need a hub :-/
 
 Google will tell you more about this, as well as suggesting real hubs.
 I'd recommend to go with Netgear.

Alternativly, if you can get your hands on a second ethernet port for
your sniffer box, make a passive tap:

http://www.snort.org/docs/tap/

-- Brooks

-- 
Any statement of the form X is the one, true Y is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4


pgp6iMw65AWJ3.pgp
Description: PGP signature


Re: Smart Hubs

2005-09-09 Thread Daniel Eischen
On Fri, 9 Sep 2005, Brooks Davis wrote:

 On Fri, Sep 09, 2005 at 04:48:41PM +0200, Andrea Campi wrote:
  On Fri, Sep 09, 2005 at 08:39:30AM -0600, Ryan P. Sommers wrote:
   Hub in question is a linksys NH1005 v2.
  
   PS If anyone knows of a hub that's easy to find and still is an actuall
   good 'ol hub, let me know.
 
  Linksys is sort of well known for playing this trick: they call entry
  level switches hub and reserve switch for higher-level equipment.
  Which is fine for people who just have to check email and play Quake, but
  screws you to no end when you actually need a hub :-/
 
  Google will tell you more about this, as well as suggesting real hubs.
  I'd recommend to go with Netgear.

 Alternativly, if you can get your hands on a second ethernet port for
 your sniffer box, make a passive tap:

I came in kinda late to this thread, but if you're trying to find
a hub/switch in order to sniff network traffic, then you can always
go for a switch that let's you monitor traffic on other ports.
I know the Cisco's will let you do this, but I'd be suprised if
you couldn't find it on some other cheaper switches.

-- 
DE

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


Re: Smart Hubs

2005-09-09 Thread Arne Schwabe



I came in kinda late to this thread, but if you're trying to find
a hub/switch in order to sniff network traffic, then you can always
go for a switch that let's you monitor traffic on other ports.
I know the Cisco's will let you do this, but I'd be suprised if
you couldn't find it on some other cheaper switches.

 



Or if you have 3 nics, use if_bridge. Or buy a really expensive managed 
switch, which allows you to mirror ports, vlans etc.


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


Re: 'Smart' Hubs

2005-09-09 Thread Ryan P. Sommers
 On Fri, 9 Sep 2005, Brooks Davis wrote:
 On Fri, Sep 09, 2005 at 04:48:41PM +0200, Andrea Campi wrote:
  On Fri, Sep 09, 2005 at 08:39:30AM -0600, Ryan P. Sommers wrote:
  Google will tell you more about this, as well as suggesting real hubs.
  I'd recommend to go with Netgear.

Ya, this was something of a last minute job we needed to do. We tried
googling around, this hub was mentioned to work on the Ethereal wiki. Must
have been misreported.


 Alternativly, if you can get your hands on a second ethernet port for
 your sniffer box, make a passive tap:

This looks intrieging. Trouble is the 2nd port; as I mentioned we want
this to be as portable as possible so we could deploy it in the field with
minimal equiptment outside what we normally carry on jobs. I'd like it to
work with a laptop, if possible. A USB 10/100 jobby might do the trick.

 I came in kinda late to this thread, but if you're trying to find
 a hub/switch in order to sniff network traffic, then you can always
 go for a switch that let's you monitor traffic on other ports.
 I know the Cisco's will let you do this, but I'd be suprised if
 you couldn't find it on some other cheaper switches.

This is something I'm going to look into. I just didn't know off-hand what
switches offered a monitor port, or what I'd be needing to spend.

What I'm actually thinking of doing is getting a Soekris net4801 (3
Ethernet ports). I could set it up with FreeBSD or miniBSD and set it to
do a layer-2 bridge between two of the ports. I'm not sure if the bridge
device allows it, but I could set all three up for bridging and then let
one port be the sniffer.

Or, I thought it would be nice to just set it up with 2 ports bridged and
then use the 3rd port as the managment port. I might be able to run a
firewire card off the net4801 provided there is enough power and then
attach an IDE-Firewire for a storage drive. Then just run tcpdump on the
net4801 on the bridge device and store it to the storage drive. Or set it
up with something like SMB, NFS or FTP to pull capture files down over the
management nic port.

Either way, this is a small piece of equiptment that could be portable and
could allow us to use laptops for analyzing the traffic dumps. I've been
looking for an excuse to get a net4801 to play with. :)

Thanks for the replies by the way.

-- 
Ryan Sommers
ryans  a_t  rpsommers.com
(obsolete: [EMAIL PROTECTED])

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


Re: Smart Hubs

2005-09-09 Thread Daniel Eischen
On Fri, 9 Sep 2005, Arne Schwabe wrote:


 I came in kinda late to this thread, but if you're trying to find
 a hub/switch in order to sniff network traffic, then you can always
 go for a switch that let's you monitor traffic on other ports.
 I know the Cisco's will let you do this, but I'd be suprised if
 you couldn't find it on some other cheaper switches.
 
 
 

 Or if you have 3 nics, use if_bridge. Or buy a really expensive managed
 switch, which allows you to mirror ports, vlans etc.

Well, is $175.00 US expensive?  The Netgear FS726T can be had for
about that price, and according to Netgear's web site, will support
port monitoring.  A 24-port switch may not be small enough for you,
but if you look around enough, you might find something that is.

-- 
DE

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


Re: Smart Hubs

2005-09-09 Thread Mike Hunter
On Sep 09, Daniel Eischen wrote:

 On Fri, 9 Sep 2005, Arne Schwabe wrote:
 
  I came in kinda late to this thread, but if you're trying to find
  a hub/switch in order to sniff network traffic, then you can always
  go for a switch that let's you monitor traffic on other ports.
  I know the Cisco's will let you do this, but I'd be suprised if
  you couldn't find it on some other cheaper switches.
  
 
  Or if you have 3 nics, use if_bridge. Or buy a really expensive managed
  switch, which allows you to mirror ports, vlans etc.
 
 Well, is $175.00 US expensive?  The Netgear FS726T can be had for
 about that price, and according to Netgear's web site, will support
 port monitoring.  A 24-port switch may not be small enough for you,
 but if you look around enough, you might find something that is.

I think it violates specifications, but how about a physical copper tap,
like a two-headed cable?  Has anybody ever tried something like this?
Ethernet was designed in the days of shared media

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


Re: Smart Hubs

2005-09-09 Thread Brooks Davis
On Fri, Sep 09, 2005 at 01:28:49PM -0700, Mike Hunter wrote:
 On Sep 09, Daniel Eischen wrote:
 
  On Fri, 9 Sep 2005, Arne Schwabe wrote:
  
   I came in kinda late to this thread, but if you're trying to find
   a hub/switch in order to sniff network traffic, then you can always
   go for a switch that let's you monitor traffic on other ports.
   I know the Cisco's will let you do this, but I'd be suprised if
   you couldn't find it on some other cheaper switches.
   
  
   Or if you have 3 nics, use if_bridge. Or buy a really expensive managed
   switch, which allows you to mirror ports, vlans etc.
  
  Well, is $175.00 US expensive?  The Netgear FS726T can be had for
  about that price, and according to Netgear's web site, will support
  port monitoring.  A 24-port switch may not be small enough for you,
  but if you look around enough, you might find something that is.
 
 I think it violates specifications, but how about a physical copper tap,
 like a two-headed cable?  Has anybody ever tried something like this?
 Ethernet was designed in the days of shared media

That would be what the link I posted earlier does.  With full-duplex
connections, you need two recieve lines to get traffic in both
directions, but it does in fact work.

-- Brooks

-- 
Any statement of the form X is the one, true Y is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4


pgpxTz4CwrYha.pgp
Description: PGP signature


Re: Smart Hubs

2005-09-09 Thread Peter Jeremy
On Fri, Sep 09, 2005 at 02:44:56PM -0400, Daniel Eischen wrote:
On Fri, 9 Sep 2005, Brooks Davis wrote:
  On Fri, Sep 09, 2005 at 08:39:30AM -0600, Ryan P. Sommers wrote:
   Hub in question is a linksys NH1005 v2.
  
   PS If anyone knows of a hub that's easy to find and still is an actuall
   good 'ol hub, let me know.
...
 Alternativly, if you can get your hands on a second ethernet port for
 your sniffer box, make a passive tap:

I came in kinda late to this thread, but if you're trying to find
a hub/switch in order to sniff network traffic, then you can always
go for a switch that let's you monitor traffic on other ports.
I know the Cisco's will let you do this, but I'd be suprised if
you couldn't find it on some other cheaper switches.

I think most managed switches let you do this.  The keyword being
managed and a managed switch is always going to be far more
expensive than a hub.  This is mostly useful if you already have
the infrastructure in place and just want to look at one of the
systems attached to the switch.

Note that both hubs and port cloning imply bandwidth limitations: All
the traffic to and from the target system has to be transmited to your
sniffer on a single link.  This limits you to half-duplex speed.

Depending on your requirements, this may or may not be a problem.  If
it is, you are going to be very careful about specifying and
configuring your sniffer box to make sure it can actually handle the
traffic load.

Overall, I also recommend using dual NICs to create a passive tap.

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


NetBSD irframe and ustir port to FreeBSD

2005-09-09 Thread Viktor Vasilev
Hello fellow hackers,

I'm porting the NetBSD IrDA frame level driver irframe[1] to FreeBSD.
The port also, for now, includes a driver for one of the USB-IrDA
bridges supported by NetBSD - ustir[2] and a modified version of the
comms/birda suite. The initial work is done and both drivers compile
and load without problems under FreeBSD 5.4.

Due to lack of hardware I haven't been able to test it properly. The
ustir driver works for dongles with the Sigmatel 4200 USB-IrDA chip.
I have one with a Sigmatel 4210 chip (which has a GPL linux driver)
and am trying to make it work. Sigmatel haven't been very cooperative
in supplying datasheets, but I guess I'll keep trying/bugging them.

So, if there is anyone interested in testing the driver and has the
time and the hardware (the man page says, that a Mars II 740 USB IrDA
Adapter should do the work), I'll be very pleased to hear from him.

The next step will be to port the uirda[3] driver, which supports more
devices, and also to get a piece of hardware that's supported and make
it actually work :-)

If you're still wondering what's this all about, the irframe and
device drivers will make it, for example, possible to use your mobile
phone and an USB-IrDA dongle for dial-up or synchronisation. At the
moment this is only possible if you have an IrDA transceiver masked as
a serial port in your laptop/desktop. Or if you use bluetooth.

Instructions on patching the source are available here:

  http://0xdeadc0de.net/v/usb-irda/


Hats off to Lennart Augustsson, David Sainty, Tommy Bohlin and the
other NetBSD hackers for writing the code.


Cheers,
Viktor


[1] http://netbsd.gw.com/cgi-bin/man-cgi?irframe++NetBSD-current
[2] http://netbsd.gw.com/cgi-bin/man-cgi?ustir+4+NetBSD-current
[3] http://netbsd.gw.com/cgi-bin/man-cgi?uirda+4+NetBSD-current

-- 
I have great faith in fools; self-confidence, my friends call it.
   -- Edgar Allan Poe
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Smart Hubs

2005-09-09 Thread Daniel Eischen
On Sat, 10 Sep 2005, Peter Jeremy wrote:

 On Fri, Sep 09, 2005 at 02:44:56PM -0400, Daniel Eischen wrote:
 On Fri, 9 Sep 2005, Brooks Davis wrote:
   On Fri, Sep 09, 2005 at 08:39:30AM -0600, Ryan P. Sommers wrote:
Hub in question is a linksys NH1005 v2.
   
PS If anyone knows of a hub that's easy to find and still is an 
actuall
good 'ol hub, let me know.
 ...
  Alternativly, if you can get your hands on a second ethernet port for
  your sniffer box, make a passive tap:
 
 I came in kinda late to this thread, but if you're trying to find
 a hub/switch in order to sniff network traffic, then you can always
 go for a switch that let's you monitor traffic on other ports.
 I know the Cisco's will let you do this, but I'd be suprised if
 you couldn't find it on some other cheaper switches.

 I think most managed switches let you do this.  The keyword being
 managed and a managed switch is always going to be far more
 expensive than a hub.  This is mostly useful if you already have
 the infrastructure in place and just want to look at one of the
 systems attached to the switch.

Like I pointed out, though, it isn't as expensive as you think
($175 US for the Netgear).  That's equivalent to about 2 hours of
labor time at the rate my company charges.

-- 
DE

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


Fwd: php extensions compile error

2005-09-09 Thread Vizion


--  Forwarded Message  --

Subject: php extensions compile error
Date: Friday 09 September 2005 12:21
From: Vizion [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Kevin Kinsey [EMAIL PROTECTED]

Compile error

/usr/ports/lang/php5-extensions
*
dns1# make
===  Vulnerability check disabled, database not found
===  Found saved configuration for php5-extensions-1.0
===  Extracting for php5-extensions-1.0
===  Patching for php5-extensions-1.0
===  Configuring for php5-extensions-1.0
dns1# make
dns1# make install
===  Installing for php5-extensions-1.0
.
/* much cut out */
.
= Checksum OK for PECL/Fileinfo-1.0.tgz.
===  Patching for pecl-fileinfo-1.0
===  Applying FreeBSD patches for pecl-fileinfo-1.0
===   Ignoring
patchfile /usr/ports/sysutils/pecl-fileinfo/files/patch-config.m4,v
===   pecl-fileinfo-1.0 depends on executable: phpize - found
===   pecl-fileinfo-1.0 depends on file: /usr/local/bin/autoconf259 - found
===  PHPizing for pecl-fileinfo-1.0
Configuring for:
PHP Api Version: 20031224
Zend Module Api No:  20041030
Zend Extension Api No:   220040412
===  Configuring for pecl-fileinfo-1.0
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd5.3
checking host system type... i386-portbld-freebsd5.3
checking for i386-portbld-freebsd5.3-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking whether cc understands -c and -o together... yes
checking if compiler supports -R... yes
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM
-I/usr/local/include/php/Zend
checking for PHP extension directory... /usr/local/lib/php/20041030
checking for re2c... exit 0;
checking for gawk... gawk
checking for fileinfo support... yes, shared
checking for magic files in default path... not found
configure: error: Please reinstall the libmagic distribution
===  Script configure failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
/usr/ports/sysutils/pecl-fileinfo/work/Fileinfo-1.0/config.log including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/sysutils/pecl-fileinfo.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.
/*OUTPUT OF
/usr/ports/sysutils/pecl-fileinfo/work/Fileinfo-1.0/config.log */

***
dns1# locate libmagic
/usr/lib/libmagic.a
/usr/lib/libmagic.so
/usr/lib/libmagic.so.1
/usr/lib/libmagic_p.a
/usr/share/man/cat3/libmagic.3.gz
/usr/share/man/man3/libmagic.3.gz
/usr/src/contrib/file/libmagic.man
/usr/src/contrib/file/libmagic.man,v
/usr/src/lib/libmagic
/usr/src/lib/libmagic/Makefile
/usr/src/lib/libmagic/Makefile,v
/usr/src/lib/libmagic/config.h
/usr/src/lib/libmagic/config.h,v
**

dns1# cat /usr/ports/sysutils/pecl-fileinfo/work/Fileinfo-1.0/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --with-fileinfo=/usr --prefix=/usr/local
i386-portbld-freebsd5.3

## - ##
## Platform. ##
## - ##

hostname = dns1.vizion2000.net
uname -m = i386
uname -r = 5.3-RELEASE
uname -s = FreeBSD
uname -v = FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC

/usr/bin/uname -p = i386
/bin/uname -X = unknown

/bin/arch  = unknown
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/local/libexec/autoconf259
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## --- ##
## Core tests. ##
## --- ##

configure:1499: checking build system type
configure:1517: result: i386-portbld-freebsd5.3
configure:1525: checking host system type
configure:1539: result: i386-portbld-freebsd5.3
configure:1601: checking for i386-portbld-freebsd5.3-gcc
configure:1627: result: cc
configure:1909: checking for C compiler version
configure:1912: cc --version /dev/null 5
cc (GCC) 3.4.2 [FreeBSD] 20040728
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is 

Re: FreeBSD 6.0-BETA4 panics when when configuring pfsync0

2005-09-09 Thread Max Laier
On Friday 09 September 2005 19:19, Max Laier wrote:
 On Friday 09 September 2005 15:05, Dominic Marks wrote:
  Dominic Marks wrote:
   Hello,
  
   I am setting up a redundant firewall setup for our company, the systems
   are identically configured Dell servers running FreeBSD 6.0-BETA4.
   Software being used is pf, carp, pfsync and altq.
  
   When I attempt to configure the pfsync0 interface the systems panic.
   The systems currently have HTT enabled, I've googled but I didn't find
   anything to suggest pfsync was not SMP/HTT friendly. Could this be a
   configuration problem?
  
   interface:
  
   # ifconfig em2
   em2: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=bRXCSUM,TXCSUM,VLAN_MTU
   inet 172.16.254.2 netmask 0xff00 broadcast 172.16.254.255
   ether 00:04:23:bd:7a:ef
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
  
   command:
  
   # ifconfig pfsync0 syncdev em2 syncpeer 172.16.254.1
 
  Following a little more testing:
 
  If I don't specify a syncpeer I don't get the panic.

 Thanks for the dump.  Seems like we were leaking a lock from pfsyncioctl().
 Can you please try this patch and report back.  Thanks in advance.

And the patch ... sorry.

-- 
/\  Best regards,  | [EMAIL PROTECTED]
\ /  Max Laier  | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | [EMAIL PROTECTED]
/ \  ASCII Ribbon Campaign  | Against HTML Mail and News
Index: if_pfsync.c
===
RCS file: /usr/store/mlaier/fcvs/src/sys/contrib/pf/net/if_pfsync.c,v
retrieving revision 1.19.2.2
diff -u -p -r1.19.2.2 if_pfsync.c
--- if_pfsync.c	25 Aug 2005 05:01:03 -	1.19.2.2
+++ if_pfsync.c	9 Sep 2005 17:16:39 -
@@ -1128,14 +1128,14 @@ pfsyncioctl(struct ifnet *ifp, u_long cm
 			imo-imo_multicast_ifp = sc-sc_sync_ifp;
 			imo-imo_multicast_ttl = PFSYNC_DFLTTL;
 			imo-imo_multicast_loop = 0;
+#ifdef __FreeBSD__
+			PF_LOCK();
+#endif
 		}
 
 		if (sc-sc_sync_ifp ||
 		sc-sc_sendaddr.s_addr != INADDR_PFSYNC_GROUP) {
 			/* Request a full state table update. */
-#ifdef __FreeBSD__
-			PF_LOCK();
-#endif
 			sc-sc_ureq_sent = time_uptime;
 #if NCARP  0
 			if (pfsync_sync_ok)


pgpPK4JskHogx.pgp
Description: PGP signature


Re: Fwd: php extensions compile error

2005-09-09 Thread Vizion
I also posted the following to freebsd-questions which has some relevance to 
this thread - but I was uncertain about posting my earlier full report t that 
list. 

--  Forwarded Message  --

Subject: libmagic files missing??
Date: Friday 09 September 2005 15:46
From: Vizion [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org

Hi

Here is the listing of:
/usr/src/lib/libmagic
dns1# ls -l
total 1276
-rw-r--r--  1 root  wheel 1619 Dec 16  2004 Makefile
-r--r--r--  1 root  wheel 3859 Apr  2 22:28 Makefile,v
-rw-r--r--  1 root  wheel 5783 Aug  9  2004 config.h
-r--r--r--  1 root  wheel 6277 Apr  2 22:28 config.h,v
-rw-r--r--  1 root  wheel  1236221 Sep  9 15:34 magic
-rwxr-xr-x  1 root  wheel22879 Sep  9 15:34 mkmagic

I am getting compile problems over libmagic and am wondering how I can be
certain that all libmagic files are on the system.

dns1# pwd
/usr/share/misc
dns1# ls -l | grep magic
-r--r--r--  1 root  wheel   360801 Nov  4  2004 magic
-r--r--r--  1 root  wheel   771456 Nov  4  2004 magic.mgc
-r--r--r--  1 root  wheel30231 Nov  4  2004 magic.mime
-r--r--r--  1 root  wheel41728 Nov  4  2004 magic.mime.mgc

/usr/ports/lang/php5-extensions compile reporting it cannot find libmagic

Can anyone please  point a fingure in the right direction

thanks

david

--
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

---

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software suspend on FreeBSD

2005-09-09 Thread Bill Vermillion
Earlier in the linear time track, on approximately Fri, Sep 09,
2005 at 23:01 , [EMAIL PROTECTED] divulged this
public information:


 From: Bruno Ducrot [EMAIL PROTECTED]
 Subject: Re: Software suspend on FBSD.
 To: Pranav Peshwe [EMAIL PROTECTED]
 Cc: freebsd-hackers@freebsd.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii

 On Fri, Sep 09, 2005 at 07:52:46PM +0530, Pranav Peshwe wrote:
  Hello,
Does FreeBSD have 'software suspend' like linux ? or 
  maybe something similar...

 No.

Yes.  It depends upon which shell you are using.  For shells
that support it you just suspend it with control-Z.

A restart is issued with 'fg' - foreground.

Unless of course the OP means something entirely different.


-- 
Bill Vermillion - bv @ wjv . com
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re: JFS2 on freebsd

2005-09-09 Thread Mike Silbersack


On Fri, 9 Sep 2005, Sergey Babkin wrote:


OTOH, updating our ext2 code, or ntfs code (if that's even possible) would
be something of use to many people, I suspect.


Why not go for ext3 instead of JFS then? It has
journaling in it.

-SB


I was thinking that as I wrote it as well, I'm not sure why I didn't state 
it.  But before ext3's journalling extensions could be implemented, ext2 
would have to be brought up to date.  Also, it would be nice if ext2 could 
be reimplemented in BSD licensed code before undergoing that ext3 
conversion. :)


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