Re: Kernel APIs - Solaris

1999-10-15 Thread Matthew Jacob
Well, whaddya know... thanks... On Thu, 14 Oct 1999, Daniel Eischen wrote: Matthew Jacob wrote: Well, the section 9 man pages are pretty complete. The device driver stuff is actually pretty easily available. In fact, this instead of performance was supposed to be one of the main

Re: debugging

1999-10-15 Thread Greg Lehey
On Thursday, 14 October 1999 at 12:05:48 +0530, Srinivasan. R wrote: can you tell me how to debug an application with ptrace systemcall and how can i fetch the processor register values stored at that particular moment and how can i access the u-area structure members along with the address

Re: Bt848 based server

1999-10-15 Thread Roger Hardiman
Richard Puga wrote: Is there any way to use a bt848 as a web cam or streaming video server through any format other than the metor .ppm snapshots. Tom, who did the BSDi port, has written code to do this. We has a web cam up and running on his site. I'll grab the sources and put them on the

SUIDDIR problem

1999-10-15 Thread Jos Backus
[Maybe this is -questions/-stable material, I'm not sure. Please flame appropriately.] On a very recent -stable system: I have a directory, say /ftp/foocust/in. This directory - resides in a filesystem mounted on /ftp with the suiddir option (with SUIDDIR in the kernel). - is owned by uid

Upgrading a different way

1999-10-15 Thread eT
I have an installed FreeBSD-2.2.x Release on a Hard disk. Is it possible to upgrade to FreeBSD 3.2 by just copying the distribution files over the existing 2.2.x filesystem? How would the booting issues be overcome: 1. the booting? there is a new booting sequence and it seems like new boot

VDSL cards for FreeBSD, any interest ?

1999-10-15 Thread Heikki Suonsivu
If any of you are visiting at telecom99 in Geneva, see our booth at hall 8, turn right from the door, it is in the corner. We are presenting VDSL access system and VDSL PCI cards for up to 52 Mbps (13-26Mbps is more realistic in real xDSL environment). All IP, no ATM, so you get good

Re: Determine # of open files via fdesc

1999-10-15 Thread Dag-Erling Smorgrav
Zhihui Zhang [EMAIL PROTECTED] writes: I do not know whether it is a good idea to determine the number of open files of a process by enabling fdesc in the kernel. Anyway, I do the following: # mount_fdesc -o union fdesc /dev # ls -al /dev/fd list cat list total 1 crw--- 1 root

Re: Determine # of open files via fdesc

1999-10-15 Thread Dag-Erling Smorgrav
Dag-Erling Smorgrav [EMAIL PROTECTED] writes: Each process only sees its own file descriptors. The five descriptors you see above belong to ls. 0 (stdin) and 2 (stderr) are whichever tty or pty you typed this into, 1 (stdout) is the file you redirected the output from ls into, 3 is /dev and 4

how mkdir without .. ?

1999-10-15 Thread Aleksandr A.Babaylov
I need in directories without link to parent in it or with link to parent renamed to something exotic name. What is the method to do it without kernel patching in FreeBSD 2.2.X or 3.X ? -- @BABOLO http://links.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe

kmem_suballoc: bad status return of 3 ??

1999-10-15 Thread Johan Kruger
I get this error when booting with a 2.2.8 kernel with maxusers = 2000 which is greater than 512. I compiled a 2.2.6 and 2.2.7 kernel before with 2000 users with no problem. If i decrease the maxusers to say 256 then it works, so i guess something has changed with the calculation of the mbufs and

Handling segV's

1999-10-15 Thread Dodge Ram
Hi, I am looking at ways to handle segV's gracefully without letting a process die. I am aware of the siglongjmp() call and don't know if that is the only way to handle segV's Any pointers on how to gracefully (?) handle segV and not letting the process die will be of great

Re: kmem_suballoc: bad status return of 3 ??

1999-10-15 Thread Mike Smith
I get this error when booting with a 2.2.8 kernel with maxusers = 2000 which is greater than 512. 2000 is a completely insane value for maxusers. 256 is pushing it for a 2.2.x family kernel as well. Stick with 64 or 128 and tune the other items that you actually _need_. -- \\ Give a

Re: Handling segV's

1999-10-15 Thread Graham Wheeler
On Fri, 15 Oct 1999, Dodge Ram wrote: Hi, I am looking at ways to handle segV's gracefully without letting a process die. I am aware of the siglongjmp() call and don't know if that is the only way to handle segV's Any pointers on how to gracefully (?) handle segV and not

ISA Plug 'n Play support / kernel -c bug / IETF

1999-10-15 Thread Graham Wheeler
Hi all While PCI plug 'n play devices seem to work nicely with FreeBSD, we find that ISA ones are not detected and that we have to configure them as though they are not plug 'n play. Is the pnp0 controller in the kernel config for PCI only? Or is there a way to get the ISA ones to be

Re: Handling segV's

1999-10-15 Thread Alec Kloss
Dodge Ram said: Hi, I am looking at ways to handle segV's gracefully without letting a process die. I am aware of the siglongjmp() call and don't know if that is the only way to handle segV's Any pointers on how to gracefully (?) handle segV and not letting the process die

Re: Handling segV's

1999-10-15 Thread Dodge Ram
Theoretically, if I have backup's of all the relevant data structures, and I clear out all the process's memory(the one receiving the segV) and datastrcutures and restore from the backup store, is that a safe approach ? Will that minimize me hitting the segV again. Also, is there a list of

Re: SUIDDIR problem

1999-10-15 Thread Julian Elischer
SUIDDIR will work for any user EXCEPT ROOT I did this because I felt it was a security hole to allow users to create files owned by root. (from memory it will also refuse to do files that have the execute bit set but I can't remember for sure) We use it all the time on our PC fileservers so that

FreeBSD hackers (fwd)

1999-10-15 Thread Chad David
I was asked this question today, and searching the mailing lists doesn't bring up anything current. Has any additional work been done on if_vlan? From the cvs headers in if_vlan.c is appears there has, so would FreeBSD work in this situation? A number of interface man pages (ti(4), sk(4))

Re: SMP + fxp0 wierdness

1999-10-15 Thread Stevan Arychuk
I would be more than willing to do run some hardware tests in our lab enviroment here, but our main problem is that we can't acurately reproduce the problem. The reboots seem to happen maybe 3-4 times a week from a pool of about 7 machines. I'm not sure if someone could write a piece of code

Re: SUIDDIR problem

1999-10-15 Thread Jos Backus
On Fri, Oct 15, 1999 at 10:29:04AM -0700, Julian Elischer wrote: SUIDDIR will work for any user EXCEPT ROOT Ahh I see, a big thanks to you Julian! OK, I'll use a different userid, say, bar (and make the directory sticky so foo cannot remove the file it just created - it will be owned by bar).

Re: ISA Plug 'n Play support / kernel -c bug / IETF

1999-10-15 Thread Daniel C. Sobral
Graham Wheeler wrote: On a different note, we have noticed with 3.2 FreeBSD that changes made to the kernel config upon bootup are not recorded to the disk image (even though the message `saving kernel -c changes' appears during the boot sequence). Is this a 3.2 specific bug that is fiixed

Re: ISA Plug 'n Play support / kernel -c bug / IETF

1999-10-15 Thread Doug Rabson
On Fri, 15 Oct 1999, Graham Wheeler wrote: Hi all While PCI plug 'n play devices seem to work nicely with FreeBSD, we find that ISA ones are not detected and that we have to configure them as though they are not plug 'n play. Is the pnp0 controller in the kernel config for PCI only? Or is

Re: Search a symbol in the source tree

1999-10-15 Thread Shigio Yamaguchi
Darryl Okahata [EMAIL PROTECTED] wrote: Looking for where "utmp.h" is used: global -x -s utmp.h This takes more than 2212 seconds (over 36 minutes!), and outputs It seems that something wrong (bug?) occurred. Would you please tell me the version of FreeBSD and GLOBAL? This

Re: debugging

1999-10-15 Thread Mike Smith
On Thursday, 14 October 1999 at 12:05:48 +0530, Srinivasan. R wrote: can you tell me how to debug an application with ptrace systemcall and how can i fetch the processor register values stored at that particular moment and how can i access the u-area structure members along with the

FreeBSD and HP Jornado

1999-10-15 Thread Edward Elhauge
Hi, I've been thinking about getting an HP Jornado instead of either a Notebook PC or a Palm Pilot. I wonder what people out in FreeBSD land know about interfacing the Jornado with FreeBSD or Linux. The Jornado is a CE machine. Are there Unix utilities to synchronize the file systems? I know

Status of UMAPFS

1999-10-15 Thread Zhihui Zhang
Is the UMAPFS working? I add "options UMAPFS" to the configuration file of FreeBSD 3.3-Release and rebuilt the kernel. I got the following errors: loading kernel umap_vnops.o: In function `umap_lock': umap_vnops.o(.text+0x568): undefined reference to `null_bypass' umap_vnops.o: In function

Re: Mailing list not

1999-10-15 Thread Drew Wiggins
reverse name resolution is not working outside of your own name servers... ex. # % nslookup Default Server: localhost.multinet-media.com Address: 127.0.0.1 server ns2.uncanny.net Default Server: ns2.uncanny.net Address: 140.174.20.7

Re: Handling segV's

1999-10-15 Thread Mark Newton
Dodge Ram wrote: Also, is there a list of reasons for a SIGSEGV ? Only one: "Your program is buggy" :-) - mark Mark Newton Email: [EMAIL PROTECTED] (W) Network Engineer Email: [EMAIL PROTECTED] (H) Internode Systems Pty Ltd

Re: Handling segV's

1999-10-15 Thread Kevin Day
Dodge Ram wrote: Also, is there a list of reasons for a SIGSEGV ? Only one: "Your program is buggy" :-) - mark I've actually got a SIGSEGV/SIGBUS handler in one of my programs that I needed, and couldn't figure a way around... I mmap() files in, then copy them to a device.