Re: ps does not work after a cvsupdate to 4.0-STABLE
Henk Wevers wrote: Hi *, After a make world and offcourse a rebuild from the kernel, my ps and top command did not work anymore. If i do a ps i get the following message. ps: proc size mismatch (40872 total, 1044 chunks) Somebody has an idea? Is the procfilesystem changed and the ps command not? Did you actually install the kernel you built? This is a classic kernel/userland mismatch symptom. Doug -- "Live free or die" - State motto of my ancestral homeland, New Hampshire Do YOU Yahoo!? To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
RE: ps does not work after a cvsupdate to 4.0-STABLE
Yes i did, i found the solution in the Dutch FreeBSD mailinglist [EMAIL PROTECTED] FAQ IIRC. libkvm is out of sync. cd /usr/src/lib/libkvm make cleandir make cleandir make obj make depend make all install cd /usr/src/bin/ps make cleandir make cleandir make obj make depend make all install This did work fine. Henk Henk Wevers wrote: Hi *, After a make world and offcourse a rebuild from the kernel, my ps and top command did not work anymore. If i do a ps i get the following message. ps: proc size mismatch (40872 total, 1044 chunks) Somebody has an idea? Is the procfilesystem changed and the ps command not? Did you actually install the kernel you built? This is a classic kernel/userland mismatch symptom. Doug -- "Live free or die" - State motto of my ancestral homeland, New Hampshire Do YOU Yahoo!? To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: The Design and Implementation of the 4.4bsd Operating System
On Sun, 7 May 2000, Alkis Evlogimenos wrote: I was wondering if this book is far too off the current state of FreeBSD. Are there fundamental differences between the design of 4.4BSD and FreeBSD? There are some pretty large differences. The VM has changed. Drivers have changed. Can you also recommend any other books describing the internals of the FreeBSD OS which are a closer match than the above? Nope. It's still the best ref. Ask me again in 9 months, maybe there'll be a different answer, because another one is in the works (I think David Greenman is one of the authors of a new one) but reading that book will help a whole lot, it's very definitely not a waste of time. Thanks. Chuck Robey| Interests include C Java programming, FreeBSD, [EMAIL PROTECTED] | electronics, communications, and signal processing. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: The Design and Implementation of the 4.4bsd Operating System
On Sun, 7 May 2000, Chuck Robey wrote: On Sun, 7 May 2000, Alkis Evlogimenos wrote: Can you also recommend any other books describing the internals of the FreeBSD OS which are a closer match than the above? Nope. It's still the best ref. Ask me again in 9 months, maybe there'll be a different answer, because another one is in the works (I think David Greenman is one of the authors of a new one) but reading that book will help a whole lot, it's very definitely not a waste of time. Correct me if I'm wrong, but I recall hearing that Kirk McKusick is working on a new edition called "The Design and Implemntation of the FreeBSD OS". Maybe I heard this at FreeBSDCon. Maybe it was all the beer during Kirk's talk combined with wishful thinking. ;-) Adrian -- [ [EMAIL PROTECTED] -- Ubergeeks Consulting -- http://www.ubergeeks.com/ ] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: The Design and Implementation of the 4.4bsd Operating System
Alkis Evlogimenos wrote: I was wondering if this book is far too off the current state of FreeBSD. Are there fundamental differences between the design of 4.4BSD and FreeBSD? Can you also recommend any other books describing the internals of the FreeBSD OS which are a closer match than the above? Thanks. -- Alkis Evlogimenos To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message Thanks. I just ordered it. I guess I will have something else to do in the summer besides laying on the warm beaches of Cyprus :-) -- Alkis Evlogimenos To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: The Design and Implementation of the 4.4bsd Operating System
On Sun, 7 May 2000, Adrian Filipi-Martin wrote: On Sun, 7 May 2000, Chuck Robey wrote: On Sun, 7 May 2000, Alkis Evlogimenos wrote: Can you also recommend any other books describing the internals of the FreeBSD OS which are a closer match than the above? Nope. It's still the best ref. Ask me again in 9 months, maybe there'll be a different answer, because another one is in the works (I think David Greenman is one of the authors of a new one) but reading that book will help a whole lot, it's very definitely not a waste of time. Correct me if I'm wrong, but I recall hearing that Kirk McKusick is working on a new edition called "The Design and Implemntation of the FreeBSD OS". Maybe I heard this at FreeBSDCon. Maybe it was all the beer during Kirk's talk combined with wishful thinking. ;-) Reread what I said (which talks about the book that's upcoming but NOT available yet). I couldn't remember if it was Kirk or not, but I was sure David was one of the authors, so I named him. Adrian -- [ [EMAIL PROTECTED] -- Ubergeeks Consulting -- http://www.ubergeeks.com/ ] Chuck Robey| Interests include C Java programming, FreeBSD, [EMAIL PROTECTED] | electronics, communications, and signal processing. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: [OT] Finding people with GSM phones (was Re: GPS heads up )
Mike Smith wrote: There were some famous cases where some criminals were located by tracking down their cell phone. The police needed some decision from court to do that, but after that, it was a short way to go. The GSM nets have some of this ability built in, to track phones. The operators only don't want the "normal" citizen or user to know about that. This capability of GSM was well known when it was introduced in .au, but when my phone was stolen, the telco bastards wouldn't admit to being able to tell me anything about where it was (even though I could still call it...). What's being proposed here sounds just slightly scary. No, think very, very scary. What's already possible is frightening enough. Yes, there are some public safety benefits, and if I were really doing anything criminal the last thing I'd want to have with me is a cell phone. But, it's universally true that the only criminals caught are the stupid ones. BTW, you do realize that in many cases "off" for your cell phone doesn't really mean off, right? :) Doug -- "Live free or die" - State motto of my ancestral homeland, New Hampshire Do YOU Yahoo!? To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: The Design and Implementation of the 4.4bsd Operating System
On Sun, 7 May 2000, Adrian Filipi-Martin wrote: On Sun, 7 May 2000, Chuck Robey wrote: On Sun, 7 May 2000, Alkis Evlogimenos wrote: Can you also recommend any other books describing the internals of the FreeBSD OS which are a closer match than the above? Nope. It's still the best ref. Ask me again in 9 months, maybe there'll be a different answer, because another one is in the works (I think David Greenman is one of the authors of a new one) but reading that book will help a whole lot, it's very definitely not a waste of time. Correct me if I'm wrong, but I recall hearing that Kirk McKusick is working on a new edition called "The Design and Implemntation of the FreeBSD OS". Maybe I heard this at FreeBSDCon. Maybe it was all the beer during Kirk's talk combined with wishful thinking. ;-) Reread what I said (which talks about the book that's upcoming but NOT available yet). I couldn't remember if it was Kirk or not, but I was sure David was one of the authors, so I named him. It's basically Kirk, me, and Sam Lefler. It won't be ready until Q1 2001. -DG David Greenman Co-founder, The FreeBSD Project - http://www.freebsd.org Creator of high-performance Internet servers - http://www.terasolutions.com Pave the road of life with opportunities. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
mmap cdev function in device drivers
Hello, I have taken it upon myself to write a device driver to access the 3dfx voodoo cards, just like the 3dfx linux driver that is available. I am using the linux code as a reference and have come to a brick wall while writing the cdev mmap function. What exactly is the return value of the device_mmap(...) function supposed to be? What the linux driver basically does is it maps the device's memory directly into userland memory, that part of the mmap functionality in FreeBSD 4.0 seems to be handled by the vm, all it seem to want is an address returned, type int, from looking at the other drivers. Is this the address of the memory region mapped by the PCI BIOS (in this case the 0x100 region between 0xec00 and 0xecff), or an address of a mapped region within the kernel memory area? I had it return the former and it crashed the machine, and trying to use bus_alloc_resource(...) with the SYS_RES_MEMORY parameter just won't map any memory -- Coleman Kane President, UC Free O.S. Users Group - http://pohl.ececs.uc.edu To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message