Re: Portable way to compare struct stat's?

1999-11-15 Thread Wes Peters
Kelly Yancey wrote: > > Is there a portable method for determining if the contents of two struct > stat's are identical? On a single system, if st_dev and st_ino are equal, you must be referring to the same object. If not, I'd like to hear about it. -- "Where am I, and what am

Portable way to compare struct stat's?

1999-11-15 Thread Kelly Yancey
Is there a portable method for determining if the contents of two struct stat's are identical? I believe there is not. The problem is that while Posix defines a base set of fields for the stat structure, it appears that most implementations (including FreeBSD's) extend the structure with additi

vmpfw in pine via NFS

1999-11-15 Thread David E. Cross
I am noticing a large number of pine (and only pine) procs stuck in disk-wait. All of the are in the WCHAN "vmpfw". Any ideas what this may mean? -- David Cross | email: [EMAIL PROTECTED] Acting Lab Director | NYSLP: FREEBSD Systems Administra

Re: Support for USB floppies like Y-E Data FlashBuster-u ?

1999-11-15 Thread Nick Hibma
> Anyone working on such support yet ? This drive came with the Sony > Vaio Z505R. If you ask the 3 IDE disks and ethernet hub that have gone pop this weekend, they would say no, but myself I was pretty firm that I was going to do something about it this weekend. Bastard things, they should be sh

Re: Set the baud rate on remote debugging

1999-11-15 Thread Kenneth D. Merry
Greg Lehey wrote... > On Monday, 15 November 1999 at 15:13:53 -0700, Kenneth D. Merry wrote: > > Zhihui Zhang wrote... > >> > >> I have set up a remote debugging environment. But I think default 9600 > >> bps is slow. I can use "set remotebaud 19200" on the debugging machine > >> side. How can I

Re: Set the baud rate on remote debugging

1999-11-15 Thread Zhihui Zhang
On Mon, 15 Nov 1999, Greg Lehey wrote: > On Monday, 15 November 1999 at 15:13:53 -0700, Kenneth D. Merry wrote: > > Zhihui Zhang wrote... > >> > >> I have set up a remote debugging environment. But I think default 9600 > >> bps is slow. I can use "set remotebaud 19200" on the debugging machine

Re: Set the baud rate on remote debugging

1999-11-15 Thread Greg Lehey
On Monday, 15 November 1999 at 15:13:53 -0700, Kenneth D. Merry wrote: > Zhihui Zhang wrote... >> >> I have set up a remote debugging environment. But I think default 9600 >> bps is slow. I can use "set remotebaud 19200" on the debugging machine >> side. How can I set the baud rate on the target

Re: Kernel debug assistance?

1999-11-15 Thread Greg Lehey
On Monday, 15 November 1999 at 11:03:04 -0500, Thomas David Rivers wrote: > > I'm trying to track down a problem in 3.3-RELEASE > (which I _think_ might be a linux emu bug that's > crashing the kernel.) > > Anyway - I thought I might ask here for some > kernel debugging assistance... > > I've got

Re: Set the baud rate on remote debugging

1999-11-15 Thread Kenneth D. Merry
Zhihui Zhang wrote... > > I have set up a remote debugging environment. But I think default 9600 > bps is slow. I can use "set remotebaud 19200" on the debugging machine > side. How can I set the baud rate on the target machine that is running > the debugged kernel? (I press CTRL+ESC+ALT to dr

Set the baud rate on remote debugging

1999-11-15 Thread Zhihui Zhang
I have set up a remote debugging environment. But I think default 9600 bps is slow. I can use "set remotebaud 19200" on the debugging machine side. How can I set the baud rate on the target machine that is running the debugged kernel? (I press CTRL+ESC+ALT to drop to DDB mode and find no comma

Re: Vnodes and Pathnames

1999-11-15 Thread Dan Seguin
Thanks for your response. Both you and Alfred have answered my questions. All I really needed was VDIR, since I can get to the filename from the process-context call to open. I thought I'd ask about VREG anyway. My search of the archives was fragged and I didn't find anything (I did upon restart

Re: Vnodes and Pathnames

1999-11-15 Thread Julian Elischer
you can for VDIR as the getcwd call does so, but not for VREG becasue you don't know the directory entry that you used to get to it. (You could look in the name cache using a reverse lookup, but I don't know that you are guaranteed of success.) PHK may have more to say on this topic. On Mon, 15

Re: Vnodes and Pathnames

1999-11-15 Thread Alfred Perlstein
On Mon, 15 Nov 1999, Dan Seguin wrote: > > > Hello Gurus, > > > Is there any way of getting filepath information from a vnode? What I'm > looking for is pathname info for VDIR and VREG types, sort of a reverse > namei(). It's really not possible since a file may have mutiple parent director

Vnodes and Pathnames

1999-11-15 Thread Dan Seguin
Hello Gurus, Is there any way of getting filepath information from a vnode? What I'm looking for is pathname info for VDIR and VREG types, sort of a reverse namei(). Thanks! Dan Seguin

3.3-STABLE panic

1999-11-15 Thread David E. Cross
I received the following panic() on our primary user fileserver. Note that this is the first panic we have received in well over 80 days. Below is a backtrace obtained from a kernel with debugging symbols: IdlePTD 2977792 initial pcb at 264d38 panicstr: softdep_lock: locking against myself pani

Re: upcall

1999-11-15 Thread Greg Lehey
On Saturday, 13 November 1999 at 16:14:02 -0500, Clinton Xavier Berni wrote: > > Hello, > > How do I access a user level data structure from the kernel. In general, you don't, unless the user wants you to. > Are there any Upcalls that I could use? No. What are you trying to do? The only way

Kernel debug assistance?

1999-11-15 Thread Thomas David Rivers
I'm trying to track down a problem in 3.3-RELEASE (which I _think_ might be a linux emu bug that's crashing the kernel.) Anyway - I thought I might ask here for some kernel debugging assistance... I've got a debuggable kernel, with DDB. When the panic occurs (which I can readily reproduce) I