Re: How do I allocate 2 blocks of memory?

2000-01-20 Thread Warner Losh
In message <[EMAIL PROTECTED]> "Matthew N. Dodd" writes: : Well, you can do it the trial and error way like I did or you can ask : questions; I feel I've got a pretty good handle on things or at least : enough to field questions. Also some drivers are better to look at than others. ed, ep, and

No Subject

2000-01-20 Thread New Star Service Co.
unsubscribe freebsd-hackers To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Query??

2000-01-20 Thread Jordan K. Hubbard
> 1)Are BSD drivers not really documented?(I fear that I may not end up > re-inventing the wheel) I assume that by "drivers" you mean "device drivers" in this context, e.g. our code for supporting various network interface cards, SCSI controllers, etc. They are documented in the sense that ther

RE: How do I allocate 2 blocks of memory?

2000-01-20 Thread Matthew N. Dodd
On Fri, 21 Jan 2000, Tony Frank (EPA) wrote: > Since the card supports having the MMIO and the SRAM in seperate areas, > essentially the driver should support this also. > > I'm not sure whether the card will let me arrange the memory locations so > that it's all continuous. Ah, in that case you

Re: Harlan Stenn:

2000-01-20 Thread Sheldon Hearn
On Thu, 20 Jan 2000 00:59:53 +0100, Ollivier Robert wrote: > Harlan is the *maintainer* of the ntp source tree at udel and > generates all releases :-) Okay, people, relax. So far, the only person I haven't been chewed out by for this is Mr. Stenn himself, who seemed to feel that he'd mispo

RE: How do I allocate 2 blocks of memory?

2000-01-20 Thread Tony Frank (EPA)
Hi, >> I think I could configure the card to use the range 0xd - 0xd3fff >> for the SRAM and then 0xd4000 - 0xd5fff for the MMIO, thus having a >> continuous block between 0xd and 0xd5fff that I might be able to >> allocate in one hit. This however seems t

Re: How do I allocate 2 blocks of memory?

2000-01-20 Thread Matthew N. Dodd
On Fri, 21 Jan 2000, Tony Frank (EPA) wrote: > I think I could configure the card to use the range 0xd - 0xd3fff > for the SRAM and then 0xd4000 - 0xd5fff for the MMIO, thus having a > continuous block between 0xd and 0xd5fff that I might be able to > allocate in one hit. This however see

Query??

2000-01-20 Thread Saurabh Bhandari
Dear Sir, I am a M.S. student with major as Computer Science. I am doing an independent study with my professor. I have been told that BSD drivers are not documented at this point of time. So I would like to document the BSD Drivers. It would be a big help for me if you could answer the follo

No Subject

2000-01-20 Thread Tomoya Yoshida
subscribe To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: ioctl(... TUNSLMODE ...)

2000-01-20 Thread Brian Somers
> * Brian Somers <[EMAIL PROTECTED]> [000120 15:30] wrote: > > Hi, > > > > I know this is a while in coming, but now that I'm looking at getting > > ppp(8) to talk IPv6 (with the help of some KAME patches), I've looked > > at how TUNSLMODE is implemented... it doesn't look good to me. > > > >

RLIMIT_NPROC can be exceeded via setuid/exec

2000-01-20 Thread Matthew Reimer
My question is, should setuid() fail if the target user's maximum number of processes (RLIMIT_NPROC) would be exceeded? Background: in an attempt to manage our webserver to keep too many CGIs from taking down the machine, I've been experimenting with RLIMIT_NPROC. This appears to work fine when f

Re: ioctl(... TUNSLMODE ...)

2000-01-20 Thread Alfred Perlstein
* Brian Somers <[EMAIL PROTECTED]> [000120 15:30] wrote: > Hi, > > I know this is a while in coming, but now that I'm looking at getting > ppp(8) to talk IPv6 (with the help of some KAME patches), I've looked > at how TUNSLMODE is implemented... it doesn't look good to me. > > What's the ratio

ioctl(... TUNSLMODE ...)

2000-01-20 Thread Brian Somers
Hi, I know this is a while in coming, but now that I'm looking at getting ppp(8) to talk IPv6 (with the help of some KAME patches), I've looked at how TUNSLMODE is implemented... it doesn't look good to me. What's the rationale behind stuffing the entire sockaddr in front of the packet ? AFA

Re: Why was rsh removed from the fixit floppy?

2000-01-20 Thread Ian Dowse
In message <[EMAIL PROTECTED] de>, Jan Conrad writes: >When I cloned a new machine, I usually booted with the floppies, set up >DOS partitions and disk label and then pulled everyting over by tar and >rsh, thereby overwriting fstab etc. with prepared files. Worked pretty >fast... > >What would yo

How do I allocate 2 blocks of memory?

2000-01-20 Thread Tony Frank (EPA)
Hi, In my spare time I have been working on a driver for IBM Shared RAM style token-ring adapters. So far I am progressing well enough (using Larry Lile's earlier version and also the NetBSD driver for reference) however I am running into one particular problem. The card itself has a block of m

rpc.lockd

2000-01-20 Thread David E. Cross
It is almost done. A working and very lightly tested version of the code will be made available on Monday (Jan 24). It should be considered alpha quality, I would not recommend running important NFS servers with this code. -- David Cross | email: [EMAIL PROTECTED]

Re: Why was rsh removed from the fixit floppy?

2000-01-20 Thread Jan Conrad
Hi again, On Thu, 20 Jan 2000, Jordan K. Hubbard wrote: > > I would *strongly* suggest to put rsh/rlogin + tar onto the root > > filesystem. I allways found these commands to be *extremely* useful in > > single user mode with all other partitions unmounted (e.g. when > > reorganizing the structu

UDF approach comments?

2000-01-20 Thread Brian Beattie
As I mentioned earlier, I'm thinking about trying to implement a UDF filesystem. I've been thinking how to start and have come up with the following, and would appreciate any comments. Waht I was thinking about doing, was first writting, (probably using the nullfs code a a base) a userfs, that w

Re: Why was rsh removed from the fixit floppy?

2000-01-20 Thread Jordan K. Hubbard
> I would *strongly* suggest to put rsh/rlogin + tar onto the root > filesystem. I allways found these commands to be *extremely* useful in > single user mode with all other partitions unmounted (e.g. when > reorganizing the structure of my partitions/disks etc.) > > How about it? I doubt it. :-

NFS/AMD interop failure with Solaris

2000-01-20 Thread Robert Withrow
Trying to use AMD mounted filesystems on FreeBSD 3.2 served on a Solaris 2.6 system fails. Navigating to a directory and doing a "ls" hangs. In my case, other NFS/AMD operations still succeed. This was all working before the server was upgraded from Solaris 2.5 to 2.6. Ideas or assistance glad

Re: Why was rsh removed from the fixit floppy?

2000-01-20 Thread David Scheidt
On Thu, 20 Jan 2000, Jan Conrad wrote: > I now resolved the problem by mounting the root dir of the other machine > by nfs and copying directly from that. Doing this I found - to my great > surprise - that FreeBSD's root filesystem neither contains rsh/rlogin nor > tar!! > dms@rally3 ~ 239$ whi

Re: Why was rsh removed from the fixit floppy?

2000-01-20 Thread Jan Conrad
On Wed, 19 Jan 2000, Jordan K. Hubbard wrote: > > Why was it removed? > > If there are no good reasons, please could somebody put back rsh onto the > > floppy! Currently I don't see how to do cloning easily without rsh? > > The fixit floppy is very full and its days as a truly useful tool are >

Re: Why was rsh removed from the fixit floppy?

2000-01-20 Thread Jan Conrad
Hi, On Wed, 19 Jan 2000, D. Rock wrote: > > If there are no good reasons, please could somebody put back rsh onto the > > floppy! Currently I don't see how to do cloning easily without rsh? > Same here. > > Had some trouble to dump/restore the system from a life 2nd system. > > Finally found a

Re: Accessing user data from kernel

2000-01-20 Thread Arun Sharma
On Thu, Jan 20, 2000 at 10:04:16AM -0500, Zhihui Zhang wrote: > Point 2 seems to be saying that we would rather sacrifice some performance > to gain a cleaner interface (people are talking about eliminating kernel > copying for a long time). Consider the physical I/O on a raw device, where > we ma

Re: Accessing user data from kernel

2000-01-20 Thread Ville-Pertti Keinonen
[EMAIL PROTECTED] (Arun Sharma) writes: > 2. For cases where you've entered the kernel synchronously - through syscalls >for example, you need to check for the validity of data. You could >potentially skip the step and validate the data where it is used, rather >than doing it upfron

Re: Accessing user data from kernel

2000-01-20 Thread Zhihui Zhang
On Wed, 19 Jan 2000, Arun Sharma wrote: > In muc.lists.freebsd.hackers, you wrote: > > > > When the kernel wants to access any user data, it either copies them into > > the kernel or maps them into kernel address space. Can anyone tell me the > > reasons why this is done? When a process enter

Re: -frepo broken

2000-01-20 Thread Max Khon
hi, there! On Thu, 20 Jan 2000, Max Khon wrote: > seems that i tracked down the problem: ld uses cplus-dem.c from > libiberty (contrib/binutils/libiberty/cplus-dem.c) which differs > from that one gcc is compiled with (contrib/gcc/cplus-dem.c). > When I compiled collect2 with libiberty's cplus-d

-frepo broken

2000-01-20 Thread Max Khon
hi, there! seems that i tracked down the problem: ld uses cplus-dem.c from libiberty (contrib/binutils/libiberty/cplus-dem.c) which differs from that one gcc is compiled with (contrib/gcc/cplus-dem.c). When I compiled collect2 with libiberty's cplus-dem.c everything went ok. /fjoe To Unsubscr

RE: Force dynamic linking?

2000-01-20 Thread Daniel J. O'Connor
On 20-Jan-00 Nils M Holm wrote: > Is there any way to force the creation of dynamically linked executables > using the ELF linker (like 'ld -Bforcedynamic' in the a.out version)? > > I have to link against static libs, but I want to use dlopen() etc. I think you have to link against the lib

Re: IEEE-488: looking for junk :-)

2000-01-20 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, "Ray Hyatt Jr." writes: >Are you interested in external floppy drives with that type >of bus? Not really. The intent of the driver is to interface to ascii based test/lab equipment, not to apply for membership in the antique hardware society :-) -- Poul-Henning

does -frepo work in gcc-devel or -current gcc?

2000-01-20 Thread Max Khon
hi, there! This small program does not build with both -current gcc (gcc version 2.95.2 19991024 (release), I built collect2 for it manually) and gcc-devel (gcc version 2.96 2110 (experimental)) --- cut here --- CXX=g++ -frepo LD=g++ foo: foo.o $(LD) -o $* $> clean: rm -f f

Force dynamic linking?

2000-01-20 Thread Nils M Holm
Hello! Is there any way to force the creation of dynamically linked executables using the ELF linker (like 'ld -Bforcedynamic' in the a.out version)? I have to link against static libs, but I want to use dlopen() etc. Thank you for your help! Bye, nmh. -- Nils M Holm <[EMAIL PROTECTE