Re: Replacement for get_user_pages() of Linux

2003-02-24 Thread David Schultz
Thus spake Byunghyun Oh [EMAIL PROTECTED]: I'm porting Plex86 x86 VM, which uses get_user_pages() function at Linux-version kernel module to find and pin physical pages of memory in user space (according to its documentation). I tried many candidates as its replacement (PHYS_TO_VM_PAGE() macro

Re: Replacement for get_user_pages() of Linux

2003-02-24 Thread Terry Lambert
David Schultz wrote: Thus spake Byunghyun Oh [EMAIL PROTECTED]: I'm porting Plex86 x86 VM, which uses get_user_pages() function at Linux-version kernel module to find and pin physical pages of memory in user space (according to its documentation). I tried many candidates as its

bootp_subr.c forget it.

2003-02-24 Thread omestre
Thanks Terry Lambert, for your time. But i will not try help the FreeBSD community anymore... First of all, i have posted the diff file to you look the important parts, that construct my solution. NOt the constants ones... Of course that the FreeBSD code will not have my name, and company!

Re: scan_ffs for UFS2

2003-02-24 Thread Hiten Pandya
Michael Ranner (Sun, Feb 23, 2003 at 03:40:20PM +0100) wrote: Am Freitag, 21. Februar 2003 22:38 schrieben Sie: At 10:20 PM +0100 2/19/03, Michael Ranner wrote: For what it's worth, we (FreeBSD) have a simple SuperBlock recovery program in /usr/src/tools/tools/find-sb. I picked up some

Re: Monitoring changes in extended attributes?

2003-02-24 Thread Robert Watson
On Wed, 12 Feb 2003, Kevin Fogleman wrote: Is there an existing way to monitor the entire filesystem for changes to any file, particularly changes in extended attributes? I'm looking to write a program that builds an index of all user-accessable extended attributes for every file in the

Re: C coding editor

2003-02-24 Thread Stacy Millions
Wes Peters wrote: Terminal? You have heard of this really cool thing called windowing software? ;^) I completely utterly fail to understand why some young developers attach some sort of romance to writing code on an 80x25 screen, when all the haxxors my age or older waited (or slaved away)

Re: Replacement for get_user_pages() of Linux

2003-02-24 Thread Byunghyun Oh
I am so sorry that I couldn't (and maybe can't) explain what I want, because I don't know it exactly due to my poor knowledge of VM system and Plex86 itself (http://plex86.sourceforge.net/). But I'll try to explain here. Plex86 is a kind of VMWare or so, but it limits its focus to userland

mysql endless loops

2003-02-24 Thread Alexander Langer
Hi! A known bug with MySQL 3.x is that it sometimes enters a 100% cpu usage loop if you stress it too much (I can repeat this every 2-3 weeks). I just attached a ktrace, and it shows this: 57486 mysqld CALL poll(0x8382000,0x4,0xb8c) 57486 mysqld RET poll 1 57486 mysqld CALL

Re: C coding editor

2003-02-24 Thread Jason Andresen
Stacy Millions wrote: Wes Peters wrote: Terminal? You have heard of this really cool thing called windowing software? ;^) I completely utterly fail to understand why some young developers attach some sort of romance to writing code on an 80x25 screen, when all the haxxors my age or older

Re: Replacement for get_user_pages() of Linux

2003-02-24 Thread Terry Lambert
Byunghyun Oh wrote: ps. Is DMA means just 'Direct Memory Access', and shall I understand it literally? Yes, DMA stands for Direct Memory Access. The purpose of DMA is to allow devices other than the main CPU to directly access regions of physical memory by using a DMA line (DRQ) to arbitrate

Exclusive Preview for Preferred Customers

2003-02-24 Thread service
Title: Chanintr exclusive Preview 01 WE ARE PLEASED TO ANNOUNCE THAT OUR NEWEST SHIPMENT HAS ARRIVED. PLEASE BE INVITED TO OUR EXCLUSIVE PREVIEW BETWEEN FEBRUARY 24 TILL MARCH 1, 2003. AS BEING OUR PREFERRED CUSTOMERS, YOU WILL

Properly reaping children from a fork()

2003-02-24 Thread G-der
I wasn't sure which group to send this too but -hackers seemed more appropriate than -questions. I've started to play with sockets under FreeBSD and have created a very simple server. All it does is listens (on port 2525 by default) and when it receives a connection fork()s. The only

Re: Monitoring changes in extended attributes?

2003-02-24 Thread Wes Peters
On Monday 24 February 2003 07:25, Robert Watson wrote: On Wed, 12 Feb 2003, Kevin Fogleman wrote: Is there an existing way to monitor the entire filesystem for changes to any file, particularly changes in extended attributes? I'm looking to write a program that builds an index of all

Re: Properly reaping children from a fork()

2003-02-24 Thread Jan Grant
On Mon, 24 Feb 2003, G-der wrote: I've attached the code for your enjoyment...I'm sure someone will be able to point out my mistake pretty quickly. Also I've found a couple of web pages that kind of explain socket handling but am looking for other resources that I can consult. You never

Re: Properly reaping children from a fork()

2003-02-24 Thread G-der
Thank you everyone for your replies. The bug was a pretty silly one and one that I should have caught just stepping through the code. The call to signal() to install the handler was beging made after the fork(). So the children had a handler installed but not the parent. I moved the

Re: bootp_subr.c forget it.

2003-02-24 Thread Wes Peters
On Monday 24 February 2003 08:48 am, Terry Lambert wrote: omestre wrote: Of course that the FreeBSD code will not have my name, and company! That is the code that i did for MY company! What i wanted was share is the solution! If you will supress my name or everything, is not my problem.

Re: Properly reaping children from a fork()

2003-02-24 Thread Terry Lambert
G-der wrote: This is a first attempt for me but I seem to have problems when it comes to ensuring that all the children exit like they should. What happens is that each child process remains in a zombied state (as seen through ps). Also if you check sockstat you can see that each zombied

booting from Promise tx2000: FIXED

2003-02-24 Thread Len Conrad
Since we only had one ATA133 on each TX2000 ATA channel, we skipped the TX2000 setup utility to define an array (we didn't want to run RAID or want any stinking arrays at all). We were able to boot from mobo ATA CDROM and install fbsd through the TX2000. ( btw, we always install fbsd boot mgr,

Re: mysql endless loops

2003-02-24 Thread Martin Blapp
Hi Alex, This is a well known bug. You should consider to use linuxthreads. I hope it will be usable for 4.8R. Else look for patches at http://people.freebsd.org/~mbr/patches I run now all production servers with linuxthreads and hangs have gone. This document here describes the main problems