Re: In-Kernel HTTP Server (name preference)

2002-02-20 Thread Terry Lambert
Tony Finch wrote: [ ... Terry describes non-blocking I/O on page-not-present on SVR4, and how it behaves better than BSD ... ] > How does it deal with the situation that the machine's > working set has exceeded memory? If the web server is dealing > with lots of concurrent connections it m

Re: Kernel Debugging over the Ethernet?

2002-02-20 Thread Terry Lambert
"George V. Neville-Neil" wrote: > Now that Luigi has put in polling support for some ethernet drivers > I was wondering how much work it would be to make the remote kernel debugging > run over the ethernet. I have worked on systems like this before (it's the > reason > I did polling netwo

Re: Kernel Debugging over the Ethernet?

2002-02-20 Thread Luigi Rizzo
The idea was basically what you sketch at the end: implement a very simple protocol which does the encapsulation (IP+UDP probably) and retransmissions etc by itself. This is meant to be run on a dedicated interface so we can neglect security issues. I think there is a standard API for "console" d

Re: Task activation delays: FreeBSD versus Linux?

2002-02-20 Thread Terry Lambert
Eugene Panchenko wrote: > gretings. > > As seen on kerneltrap.org: > --- > Andrew Morton: Ingo Molnar broke the ground here with his > 2.2.12 patch which demonstrated that Linux could fairly > easily yield task activation delays which are one to two > orders of magnitude better than any competing

Re: Task activation delays: FreeBSD versus Linux?

2002-02-20 Thread Terry Lambert
Julian Elischer wrote: > define a "task activation delay" and maybe we can discuss it.. > > it's a rather broad definition. > and is that RTlinux? (which is a completly differnt kettle of fish..) Or QLinux, or RedHat (with rvm), as opposed to the Linus version of Linux, which has an entirely dif

Re: Task activation delays: FreeBSD versus Linux?

2002-02-20 Thread eberkut
20/02/02 10:57:50, Terry Lambert <[EMAIL PROTECTED]> a écrit: >What is it? > >You left off the URL. Looking on the site, it's not >posted to the front, and the search function does not >locate the article. > >To answer your questions, you'll have to provide more >information. A Linux patch numb

Re: make in freebsd

2002-02-20 Thread Petr M. Swedock
: : > : > No, it is a feature of the makefiles. 'Make' itself doesn't know : > anything about fetching sources and so on. : > Most of the dirty work is done in /usr/ports/Mk/bsd.port.mk which is : > included by the port makefiles. : : which means I can safely use a similar makefile and h

Ethernet bridge filter: feedback wanted

2002-02-20 Thread Joost Bekkers
Hello, I've been working on some code to filter ethernet frames in the bridging code. Because this is my first real attempt in coding for the kernel, I'd appreciate any constructive comments on the code. Code and a few install instructions can be found on http://jodocus.org/ Thanks -- greetz

fork & launch

2002-02-20 Thread Jonathan BENSAMOUN
Hi I coded a syscall which fork inside kernel and launch a new process. The unique problem I got is when the father is waiting the child process and received a sigkill signal. It freezes the system like a while (1) in kernel mode. Note that a sigkill to the child process does not matter at all. It

Serverworks ATA controller & data corruption

2002-02-20 Thread Andrew Gallatin
Hi, I have a few machines with the following ata controller: atapci0@pci0:15:1: class=0x01018a card=0x chip=0x0266 rev=0x00 hdr=0x00 vendor = 'Reliance Computer Corp./ServerWorks' device = 'OSB4 PCI EIDE Controller' class= mass storage subclass = ATA They'

[no subject]

2002-02-20 Thread Dmitry A. Bondareff
Hi hackers!   Help to understand why my rc.conf system do not want to use more ?   Before last reboot I make next:   #cp /usr/src/etc/defaults/rc.conf /etc/defaults/rc.conf # reboot   What's happen ??   I've tried to copy /etc/defaults/rc.conf from another workable computer - no reason!   Reg

Re: Kernel Debugging over the Ethernet?

2002-02-20 Thread Bakul Shah
> On Tue, 19 Feb 2002, Julian Elischer wrote: > > > Hi George. > > > > There was someone recently that posted that they had some sort of > > remote debuging working over an ethernet (or at least that they ALMOST > > had it working.). I remember thinking "Cool". I have however had good > > succe

Re: Kernel Debugging over the Ethernet?

2002-02-20 Thread Julian Elischer
using tcp for this is I think wrong.. Use UDP or maybe even an special protocol on IP. On Wed, 20 Feb 2002, Terry Lambert wrote: > "George V. Neville-Neil" wrote: > > Now that Luigi has put in polling support for some ethernet drivers > > I was wondering how much work it would be to ma

Re: Kernel Debugging over the Ethernet?

2002-02-20 Thread George V. Neville-Neil
Folks, Thanks for all the helpful hints. Depending on what I find when I look at how DDB/GDB work now I will probably do the following: A) Use UDP/IP as the transport. Reasons: 1) Easy to write a very minimal, outside the stack, IP/UDP layer. 2) Allows debugging through routers, a

Re: fork & launch

2002-02-20 Thread Julian Elischer
1/ can you say whay you want to do this? 2/ check the code that creates kernel threads, (kthread_create()) On Wed, 20 Feb 2002, Jonathan BENSAMOUN wrote: > Hi > I coded a syscall which fork inside kernel and launch a new process. > The unique problem I got is when the father is waiting the c

Re: A question and a suggestion about loadable modules

2002-02-20 Thread Cliff Sarginson
On Tue, Feb 19, 2002 at 02:58:09PM -0600, Dan Nelson wrote: > In the last episode (Feb 19), Cliff Sarginson said: > > Hello, > > Someone suggested this may be the right list for this. > > > > - Has consideration in the loadable modules implementation been given > > to a module dependency facili

Re: Task activation delays: FreeBSD versus Linux?

2002-02-20 Thread Terry Lambert
eberkut wrote: > No, the andrew morton's low latency patch (and the robert > love's preempt patch) try to make the kernel himself > preemptible to reduce latency. There is two different > approaches : Uh, neither one of these is Ingo Molnar. 8-). > > "Robert Love: The model we use is to allow

Re: A question and a suggestion about loadable modules

2002-02-20 Thread Dan Nelson
In the last episode (Feb 20), Cliff Sarginson said: > On Tue, Feb 19, 2002 at 02:58:09PM -0600, Dan Nelson wrote: > > In the last episode (Feb 19), Cliff Sarginson said: > > > Hello, > > > Someone suggested this may be the right list for this. > > > > > > - Has consideration in the loadable modul

Re: Serverworks ATA controller & data corruption

2002-02-20 Thread Søren Schmidt
It seems Andrew Gallatin wrote: > I have a few machines with the following ata controller: > > atapci0@pci0:15:1: class=0x01018a card=0x chip=0x0266 rev=0x00 hdr=0x00 > They're dual-boot FreeeBSD/linux boxes. After loosing 2 filesystems in > linux, I did a web search and I found that

Re: A question and a suggestion about loadable modules

2002-02-20 Thread Cliff Sarginson
On Wed, Feb 20, 2002 at 01:42:40PM -0600, Dan Nelson wrote: > In the last episode (Feb 20), Cliff Sarginson said: > > On Tue, Feb 19, 2002 at 02:58:09PM -0600, Dan Nelson wrote: > > > In the last episode (Feb 19), Cliff Sarginson said: > > > > Hello, > > > > Someone suggested this may be the right

Re: Kernel Debugging over the Ethernet?

2002-02-20 Thread Julian Elischer
On Wed, 20 Feb 2002, Bakul Shah wrote: > > I may have forgotten a few things but this is the gist of how > it worked. Credit for all this work goes to someone else. > We had meant to give this back to the FreeBSD community but > didn't get around to it in time and now it is not possible. Wh

Re: Kernel Debugging over the Ethernet?

2002-02-20 Thread Bakul Shah
> > We had meant to give this back to the FreeBSD community but > > didn't get around to it in time and now it is not possible. > > Why not? (curiosity, not disbelief) The company got sold before we could sort all this out and a bunch of the original people no longer work there. Actually anythi

Re: Kernel Debugging over the Ethernet?

2002-02-20 Thread Bakul Shah
Forgot to add: this is a pretty straight forward thing to do and anyone can hack it together in a few days especially when you have a functional spec of a sort! To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Serverworks ATA controller & data corruption

2002-02-20 Thread Andrew Gallatin
Søren Schmidt writes: > > Hmm, the problem is known, but belived to be fixed *IF* your BIOS > setup things the right way. I've newer seen the problem on my > ASUS CUR-DLS, but I have several reports of TYAN's (forgot the model#) > that fails all over. I have not verified if ASUS has done so

Re: Serverworks ATA controller & data corruption

2002-02-20 Thread Terry Lambert
Andrew Gallatin wrote: > Søren Schmidt writes: > > However the Serverworks > > ROSB4 chips is not one I would recommend using, if you need serious > > ATA support on such a board, install a Promise TX2 or later or a > > HPT370 or later ... > > I don't much care about serious ATA support on th

Re: Serverworks ATA controller & data corruption

2002-02-20 Thread Andrew Gallatin
Terry Lambert writes: > > So.. Is PIO safe? Is there any sort of CRC being done on PIO data? > > He just said: if your chipset is programmed correctly > by the BIOS, then there will not be a problem, but > apparently, there is a very narrow band of "correctly" > (perhaps even only a singl

Re: Clearcase and FreeBSD

2002-02-20 Thread Aleksander Rozman - Andy
At 18.2.2002, you wrote: >On Sunday 17 February 2002 11:12, Robert Withrow wrote: > > Hi: > > > > I was wondering if there was anyone working on getting ClearCase working > > on FreeBSD? > > > > It seems that if we can get the Linux version of VmWare to run on FreeBSD > > it should be possible to

Re: Serverworks ATA controller & data corruption

2002-02-20 Thread Terry Lambert
Andrew Gallatin wrote: > Terry Lambert writes: > > > So.. Is PIO safe? Is there any sort of CRC being done on PIO data? > > > > He just said: if your chipset is programmed correctly > > by the BIOS, then there will not be a problem, but > > apparently, there is a very narrow band of "correct

Re: Serverworks ATA controller & data corruption

2002-02-20 Thread Julian Elischer
On Wed, 20 Feb 2002, Terry Lambert wrote: > > FWIW, Julian had to fix a similar problem by programming > the heck out of a Cyrix MediaGX chipset via a custom > BIOS. *snort* (wakes up).. wha? wha? what is the problem? The one I had to program around was bad DMA for transfers not on a 16 by

Re: Serverworks ATA controller & data corruption

2002-02-20 Thread Julian Elischer
basically yes. there is a CRC on the disk block right? On Wed, 20 Feb 2002, Andrew Gallatin wrote: > > Terry Lambert writes: > > > So.. Is PIO safe? Is there any sort of CRC being done on PIO data? > > > > He just said: if your chipset is programmed correctly > > by the BIOS, then there

Re: Serverworks ATA controller & data corruption

2002-02-20 Thread Andrew Gallatin
Terry Lambert writes: > Andrew Gallatin wrote: > > Terry Lambert writes: > > > > So.. Is PIO safe? Is there any sort of CRC being done on PIO data? > > > > > > He just said: if your chipset is programmed correctly > > > by the BIOS, then there will not be a problem, but > > > apparen

Re: Clearcase and FreeBSD

2002-02-20 Thread Julian Elischer
On Wed, 20 Feb 2002, Aleksander Rozman - Andy wrote: > > Note here. As I remember version 4.x works on linux (I am sure for RedHat, > but not others). So if it works for RH it should for other too As for > views, I think that only Snapshot worked. > Why don't you use CVSUp, or are you dep

Re: Serverworks ATA controller & data corruption

2002-02-20 Thread Søren Schmidt
It seems Terry Lambert wrote: > Andrew Gallatin wrote: > > Terry Lambert writes: > > > > So.. Is PIO safe? Is there any sort of CRC being done on PIO data? > > > > > > He just said: if your chipset is programmed correctly > > > by the BIOS, then there will not be a problem, but > > > apparen

Posix question

2002-02-20 Thread Lane, Frank L
Hi List, I'm facing a serial write problem. Posix provides a function tcdrain () that blocks until all serial data has been written from the card. Is there an analogous function in the gnu c compiler for windows platforms? Does the gnu c compiler try to give you posix functionality within the

if_wb driver problem - need help

2002-02-20 Thread Peter J. Blok
Hi, I have a Winbond based card with an Altima AC104 media interface. No matter what I do i am not able to recognize the AC104 through the SIO interface. The BMSR register value stays at zero. I have the datasheets of both the Winbond and the Altima and everything looks ok. So far i see the

ATA Controller choices

2002-02-20 Thread Jan Mikkelsen
Søren Schmidt wrote: > ... However the Serverworks ROSB4 chips is not one I > would recommend using, if you need serious ATA support on > such a board, install a Promise TX2 or later or a HPT370 or later ... I think I've also seen you post that the Highpoint is better than the Promise. What is

Re: Posix question

2002-02-20 Thread Rogier R. Mulhuijzen
At 16:32 20-2-2002 -0600, Lane, Frank L wrote: >Hi List, > >I'm facing a serial write problem. Posix provides a function tcdrain () >that blocks until all serial data has been written from the card. Is there >an analogous function in the gnu c compiler for windows platforms? Does the >gnu c com

Re: Kernel Debugging over the Ethernet?

2002-02-20 Thread Greg Lehey
On Tuesday, 19 February 2002 at 21:36:25 -0800, George V. Neville-Neil wrote: > Hi Folks, > > Now that Luigi has put in polling support for some ethernet drivers > I was wondering how much work it would be to make the remote kernel debugging > run over the ethernet. I have worked on systems

Re: Kernel Debugging over the Ethernet?

2002-02-20 Thread George V. Neville-Neil
> I was talking to Louis Gerbarg about this topic at the BSDCon last > week. Apparently Darwin already has this functionality, so I suppose > you'd like to take a look at it. That depends on where they put it. If it depends on I/OKit then we won't be able to use it easily I figure. Thanks for

Re: Kernel Debugging over the Ethernet?

2002-02-20 Thread Julian Elischer
yes but we might as well be protocol compatible if possible :-) If only to re-use what they did in gdb :-) On Wed, 20 Feb 2002, George V. Neville-Neil wrote: > > I was talking to Louis Gerbarg about this topic at the BSDCon last > > week. Apparently Darwin already has this functionality, so I

Re: Kernel Debugging over the Ethernet?

2002-02-20 Thread Greg Lehey
On Wednesday, 20 February 2002 at 16:52:48 -0800, Julian Elischer wrote: > On Wed, 20 Feb 2002, George V. Neville-Neil wrote: > >>> I was talking to Louis Gerbarg about this topic at the BSDCon last >>> week. Apparently Darwin already has this functionality, so I suppose >>> you'd like to take a

Re: Kernel Debugging over the Ethernet?

2002-02-20 Thread Julian Elischer
you mean they use the same protocol? On Thu, 21 Feb 2002, Greg Lehey wrote: > On Wednesday, 20 February 2002 at 16:52:48 -0800, Julian Elischer wrote: > > On Wed, 20 Feb 2002, George V. Neville-Neil wrote: > > > >>> I was talking to Louis Gerbarg about this topic at the BSDCon last > >>> week.

Re: Kernel Debugging over the Ethernet?

2002-02-20 Thread Greg Lehey
On Wednesday, 20 February 2002 at 17:03:38 -0800, Julian Elischer wrote: > On Thu, 21 Feb 2002, Greg Lehey wrote: > >> On Wednesday, 20 February 2002 at 16:52:48 -0800, Julian Elischer wrote: >>> On Wed, 20 Feb 2002, George V. Neville-Neil wrote: >>> > I was talking to Louis Gerbarg about this

Re: Kernel Debugging over the Ethernet?

2002-02-20 Thread Umesh Vaishampayan
On Wednesday, February 20, 2002, at 04:14 PM, George V. Neville-Neil wrote: >> I was talking to Louis Gerbarg about this topic at the BSDCon last >> week. Apparently Darwin already has this functionality, so I suppose >> you'd like to take a look at it. > > That depends on where they put it.

Re: Kernel Debugging over the Ethernet?

2002-02-20 Thread Justin C . Walker
On Wednesday, February 20, 2002, at 04:52 PM, Julian Elischer wrote: > yes but we might as well be protocol compatible if possible :-) > If only to re-use what they did in gdb :-) The Darwin/Mac OS X scheme only deals with IOKit because that's where the drivers live. The protocol implementati

Re: Kernel Debugging over the Ethernet?

2002-02-20 Thread George V. Neville-Neil
This all look great. I've got a Darwin 1.4 CD at home, I'll check it out tonight or some time this week. Later, George To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Clearcase and FreeBSD

2002-02-20 Thread Danny J. Zerkel
On Wednesday 20 February 2002 15:48, Aleksander Rozman - Andy wrote: > At 18.2.2002, you wrote: > >On Sunday 17 February 2002 11:12, Robert Withrow wrote: > > > Hi: > > > > > > I was wondering if there was anyone working on getting ClearCase > > > working on FreeBSD? > > > > > > It seems that if w

Re: Clearcase and FreeBSD

2002-02-20 Thread Julian Elischer
On Wed, 20 Feb 2002, Danny J. Zerkel wrote: > Maybe cvs is an academic toy. Most real development requires a real > configuration management system. Why do you think there is work being done > on FreeBSD in Perforce? The sooner FreeBSD and Linux can escape the clutches > of cvs, the bette

Re: Posix question

2002-02-20 Thread Terry Lambert
"Lane, Frank L" wrote: > I'm facing a serial write problem. Posix provides a function tcdrain () > that blocks until all serial data has been written from the card. Is there > an analogous function in the gnu c compiler for windows platforms? Does the > gnu c compiler try to give you posix func

Re: Clearcase and FreeBSD

2002-02-20 Thread Terry Lambert
"Danny J. Zerkel" wrote: > Maybe cvs is an academic toy. Most real development requires a real > configuration management system. Why do you think there is work being done > on FreeBSD in Perforce? Frankly, it's because CVS only permits a single line of concurrent developement, and it's a limit

Re: Clearcase and FreeBSD

2002-02-20 Thread Terry Lambert
Julian Elischer wrote: > Having used several professional CM systems including Clearcase, > I've come to the conclusion that CVS is preferable to most of them > It gets out of your way and lets you work. > CLearcase makes you spend too much time wondering about > what machine is where and which ma

Re: Clearcase and FreeBSD

2002-02-20 Thread Mike Meyer
Terry Lambert <[EMAIL PROTECTED]> types: > "Danny J. Zerkel" wrote: > > Maybe cvs is an academic toy. Most real development requires a real > > configuration management system. Why do you think there is work being done > > on FreeBSD in Perforce? > Frankly, it's because CVS only permits a single

/etc/rc.conf not using by system

2002-02-20 Thread Dmitry A. Bondareff
Hi!   I'll try again: who can say me why system not using my /etc/rc.conf ?   Regards, Dmitry.

Re: Clearcase and FreeBSD

2002-02-20 Thread David Xu
> Terry Lambert <[EMAIL PROTECTED]> types: > > "Danny J. Zerkel" wrote: > > > Maybe cvs is an academic toy. Most real development requires a real > > > configuration management system. Why do you think there is work being done > > > on FreeBSD in Perforce? > > Frankly, it's because CVS only perm

Re: Clearcase and FreeBSD

2002-02-20 Thread Mike Meyer
David Xu <[EMAIL PROTECTED]> types: > Does Perforce support replicate like FreeBSD's current CVSUP support? It's certainly possibly in theory, but I don't know that anyone has ever tried it in practice. > if not, how does it support large number of users or connections? In generaly, it works

interrupt priority question

2002-02-20 Thread sridharv
While i understand the mechanism of hardware interrupt priority, I am curious to know how the priority levels are achieved/implemented for software ( in particular the various layers of the TCP/IP stack.. splxxx() ). sridhar To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe free

Re: Clearcase and FreeBSD

2002-02-20 Thread Kip Macy
Bitkeeper is not closed source, and is freely available so long as you use open logging. I haven't used bitkeeper on projects with more than a couple people so I'm not in a position to comment on how well it scales. However, perforce is what is used at NetApp (several hundreds of developers with ~

Sony CD Writer model CRX175M

2002-02-20 Thread Andrew Thompson
Hi, I have recently purchased a Sony cd writer (model CRX175M) that has a memory stick drive built in. The device comes up as afd0 but I am unable to mount it. The snippet of my dmesg is... vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virt