Re: Curious problem w/ 5.2-RELEASE su

2004-01-20 Thread Brian Ledbetter
Thank you very much for the advice - it works perfectly after running mergemaster! I will slink away now, and remember to RTFM first next time. Sorry for the noise, all! <:) On Wed, Jan 21, 2004 at 09:03:16AM +0800, Ganbold wrote: > Did you run mergemaster? > > I had this problem recently

Re: Discussion on the future of floppies in 5.x and 6.x

2004-01-20 Thread David Gilbert
> "Daniel" == Daniel O'Connor <[EMAIL PROTECTED]> writes: Daniel> True.. Although I believe the loader could do it just as well Daniel> and it's already imported :) Daniel> (It uses the BIOS to read the kernel, and groks PXE, although Daniel> I am hazy on the specifics) I think the loader u

Re: GEOM + Vinum

2004-01-20 Thread Greg 'groggy' Lehey
On Tuesday, 20 January 2004 at 14:51:08 +0100, Lukas Ertl wrote: > On Tue, 20 Jan 2004, Dag-Erling Smørgrav wrote: > >> Lukas Ertl <[EMAIL PROTECTED]> writes: >>> following the recent discussion about GEOM and Vinum I wrote some >>> proof-of-concept code, or rather, I copy'n'pasted the necessary st

Re: mmap() on pseudo device

2004-01-20 Thread Daniel O'Connor
On Tuesday 20 January 2004 09:08, Anand Subramanian wrote: > 1. I'm creating a pseudo device and having a user space process mmap() the > device memory into its address space. So the mmap for the device has to be > implemented. Are there any useful driver/source files I could look at for > this? >

Using the struct cmsgcred in practice

2004-01-20 Thread Devon H. O'Dell
Hey everyone, I'm working on an application that needs to make use of the cmsgcred structure, but am unable to find decent documenation on it -- the only code I have found using it (via Google) is in PostgreSQL, but it's abstracted through multiple layers (the server code, in any case -- the cl

Re: Curious problem w/ 5.2-RELEASE su

2004-01-20 Thread Ganbold
Did you run mergemaster? I had this problem recently and when I run mergemaster everything worked fine. hth, Ganbold At 12:19 AM 21.01.2004, you wrote: Additionally, I am seeing this message in syslog: Jan 20 10:48:26 tokyo su: in openpam_load_module(): no pam_wheel.so found though /usr/lib/p

Re: Discussion on the future of floppies in 5.x and 6.x

2004-01-20 Thread Daniel O'Connor
On Wednesday 21 January 2004 00:43, David Gilbert wrote: > >> I agree. The boot floppy tries to do w a y too much. I think we > >> should think of the boot floppy as way to implement an old-style > >> console emulator: it "boots" and you tell it where to read the > >> *real* boot image from. It

Re: save-entropy in jail environment

2004-01-20 Thread Brian F. Feldman
Andy Hilker <[EMAIL PROTECTED]> wrote: > Hi, > > do i need save-entropy cronjobs in a jail environment or is it useless? > I experience heavy load when "save-entropy" runs, because there are > many jails on the system. > So i wondered about if i need this only on base system... > > Any ideas or h

Re: GEOM + Vinum

2004-01-20 Thread Lukas Ertl
On Tue, 20 Jan 2004, Kevin Wooten wrote: > >My 2 cents is to start building the house from the ground with the geom > >classes, then add on the algorithms from the existing vinum. > >and end up with the roof as is the the vinum configuration tool. > > > My point is that with the GEOM config...who

Re: GEOM + Vinum

2004-01-20 Thread Dag-Erling Smørgrav
Kevin Wooten <[EMAIL PROTECTED]> writes: > Lukas Ertl wrote: > > I think we should really get together on a separate mailing list - is it > > time for freebsd-geom@ yet? > Definitely! or some gyration thereof... freebsd-fs should be close enough for government work. DES -- Dag-Erling Smørgrav -

Re: Possible sequencing bug in vmspace_exec() and vmspace_unshare().

2004-01-20 Thread John Baldwin
On Tuesday 20 January 2004 04:35 am, Matthew Dillon wrote: > This is the code: > > p->p_vmspace = newvmspace; > pmap_pinit2(vmspace_pmap(newvmspace)); > vmspace_free(oldvmspace); > if (p == curthread->td_proc)/* XXXKSE ? */ > pmap_acti

Re: GEOM + Vinum

2004-01-20 Thread Soeren Straarup
On Tue, 20 Jan 2004, Lukas Ertl wrote: > On Tue, 20 Jan 2004, Kevin Wooten wrote: > > > I am partially done with a replacement (not vinum compatible), that will > > hopefully do the same thing in the end, and more. I am trying to make a > > vinum that is more GEOM-ish. What I am experimenting with

Re: GEOM + Vinum

2004-01-20 Thread Lukas Ertl
On Tue, 20 Jan 2004, Kevin Wooten wrote: > I am partially done with a replacement (not vinum compatible), that will > hopefully do the same thing in the end, and more. I am trying to make a > vinum that is more GEOM-ish. What I am experimenting with is using > mirror, and ccd to handle the mirrori

Re: send(2) does not block, send(2) man page wrong?

2004-01-20 Thread Justin Walker
On Monday, January 19, 2004, at 08:53 AM, Stuart Pook wrote: The documentation for send(2) says If no messages space is available at the socket to hold the message to be transmitted, then send() normally blocks, unless the socket has been placed in non-blocking I/O mode. The select(2) call m

Re: Curious problem w/ 5.2-RELEASE su

2004-01-20 Thread Brian Ledbetter
Additionally, I am seeing this message in syslog: Jan 20 10:48:26 tokyo su: in openpam_load_module(): no pam_wheel.so found though /usr/lib/pam_wheel.so -> /usr/lib/pam_wheel.so.2 exists, and has the same md5 hash as on the working host. What am I missing here? On Tue, Jan 20, 2004 at 11:08

Re: GEOM + Vinum

2004-01-20 Thread Dag-Erling Smørgrav
Lukas Ertl <[EMAIL PROTECTED]> writes: > I was actually hoping to get a little more feedback, since I'm not so sure > if I'm going into the right direction, and I'd like to hear what people > say about it before I dive into hacking it more, and there was virtually > no feedback at all. I've only h

Curious problem w/ 5.2-RELEASE su

2004-01-20 Thread Brian Ledbetter
I have two systems which I recently upgraded from src to 5.2-RELEASE. (Both systems were upgraded from the same /usr/src tree) Everything seemed to be working fine until a little while ago this morning, when I started having this problem with /usr/bin/su: $ su - su in free(): error: chunk is alr

short analysys of qmail integer overflow bug - let there be light

2004-01-20 Thread Anton Alin-Adrian
Hey folks. There are rumors out there that setting /var/qmail/control/databytes to a reasonable value (for example 16384 = 16MB) will prevent the possibility of exploitation regarding the integer overflow in function blast(). That is not true. This is how blast() is called: void smtp_data()

Re: Discussion on the future of floppies in 5.x and 6.x

2004-01-20 Thread David Gilbert
> "Daniel" == Daniel O'Connor <[EMAIL PROTECTED]> writes: Daniel> On Friday 09 January 2004 10:04, Greg Shenaut wrote: >> In nuntio <[EMAIL PROTECTED]>, Michel TALON >> divulgat: >By the way, what's the reason that it is impossible to >> have just one >floppy which boots FreeBSD kernel, allows

Re: GEOM + Vinum

2004-01-20 Thread Jeremy Faulkner
Lukas Ertl wrote: On Tue, 20 Jan 2004, Dag-Erling Smørgrav wrote: Lukas Ertl <[EMAIL PROTECTED]> writes: following the recent discussion about GEOM and Vinum I wrote some proof-of-concept code, or rather, I copy'n'pasted the necessary stuff for a prototype. Of course it's ugly, it's buggy, it's

Re: GEOM + Vinum

2004-01-20 Thread Lukas Ertl
On Tue, 20 Jan 2004, Dag-Erling Smørgrav wrote: > Lukas Ertl <[EMAIL PROTECTED]> writes: > > following the recent discussion about GEOM and Vinum I wrote some > > proof-of-concept code, or rather, I copy'n'pasted the necessary stuff for > > a prototype. Of course it's ugly, it's buggy, it's by fa

save-entropy in jail environment

2004-01-20 Thread Andy Hilker
Hi, do i need save-entropy cronjobs in a jail environment or is it useless? I experience heavy load when "save-entropy" runs, because there are many jails on the system. So i wondered about if i need this only on base system... Any ideas or hints, how to minimize the load? bye, Andy ___

mmap() on pseudo device

2004-01-20 Thread Anand Subramanian
Hi, I am trying to share some memory between a networking daemon and the FreeBSD 5.1 kernel. I am trying to implement the shared memory using a pseudo-device via the make_dev() call. "mknod" at the command line prompt no longer seems to work(no longer supported because of the devfs interface? - it

send(2) does not block, send(2) man page wrong?

2004-01-20 Thread Stuart Pook
The documentation for send(2) says If no messages space is available at the socket to hold the message to be transmitted, then send() normally blocks, unless the socket has been placed in non-blocking I/O mode. The select(2) call may be used to determine when it is

Re: Real Time FreeBSD?!!!

2004-01-20 Thread ogautherot
Hi Anubis and Den! Anubis, I've "translated" the questions into what I understood. Den, do not hesitate to complain if I had it wrong. I would guess the original message was: - what is the roadmap of FreeBSD (new features)? - (I let this one to authorized people :-) ) - How can a real-time sy

Re: GEOM + Vinum

2004-01-20 Thread Dag-Erling Smørgrav
Lukas Ertl <[EMAIL PROTECTED]> writes: > following the recent discussion about GEOM and Vinum I wrote some > proof-of-concept code, or rather, I copy'n'pasted the necessary stuff for > a prototype. Of course it's ugly, it's buggy, it's by far not complete, > but at least it understands the most ba

Possible sequencing bug in vmspace_exec() and vmspace_unshare().

2004-01-20 Thread Matthew Dillon
This is the code: p->p_vmspace = newvmspace; pmap_pinit2(vmspace_pmap(newvmspace)); vmspace_free(oldvmspace); if (p == curthread->td_proc)/* XXXKSE ? */ pmap_activate(curthread); What I don't understand is how the old vmspace can