Re: NFS/VM deadlock report and help request

2000-10-24 Thread Vadim Belman
On Fri, Oct 20, 2000 at 09:24:03AM -0700, Matt Dillon wrote: :The kernel config I supply as an attachment. Kernel-mode stack : trace for the thttpd process looks like this: : :I think we've seen a similar problem and have a work around for it. :You could try the following patch, though

Re: How to install BootEasy?

2000-10-24 Thread Robert Nordier
Bob Bishop wrote: Apologies for this, I'm sure I've seen the answer recently but I'm *^%ed if I can find it in the archives[1]. I have an installed FreeBSD hard disk that I want to use as the second drive on a machine with other stuff on the first drive. How do I install BootEasy on the

Re: FreeBSD vs. Linux

2000-10-24 Thread Terry Lambert
On Sat, 21 Oct 2000, Frederik Meerwaldt wrote: -Differences... FreeBSD is a real Unix, while Linux is a ..how should I Hmmm. FreeBSD is not a UNIX, rather it's a UNIX alike OS. (Which really doesn't matter IMHO) Don't forget UNIX is a trademark of Open Group. Actually, it's a

Re: Cache Questions

2000-10-24 Thread Terry Lambert
We're working on a driver for a PCI card, we're currently running into a problem that's symptomatic of a cache coherency problem. We have a area of memory that we manipulate and pass a physical address to our card. In other OS's (Linux, NT), before we manipulate this memory area, we mark

Re: Cache Questions

2000-10-24 Thread Terry Lambert
We're working on a driver for a PCI card, we're currently running into a problem that's symptomatic of a cache coherency problem. We have a area of memory that we manipulate and pass a physical address to our card. In other OS's (Linux, NT), before we manipulate this memory area, we

RE: Cache Questions

2000-10-24 Thread Christopher Harrer
Terry, Thanks for the information, you're right in that we are not experiencing cache problems. It's a timing issue we haven't tracked down yet, but I'm sure we will. Thanks for the DMA pointers. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of

Re: NFS/VM deadlock report and help request

2000-10-24 Thread David Malone
On Tue, Oct 24, 2000 at 09:21:01AM +0200, Vadim Belman wrote: After a day of testing I confirm that the patch does work. I've just committed the patch to -current, I'll MFC it in a few days. David. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe

Re: Conflicting C/H/S values

2000-10-24 Thread Robert Nordier
Trent Nelson wrote: Could someone explain to me why the following HDD BIOS Geometries don't represent the values proposed by the drives. What am I missing? (snippets from boot -v) BIOS Geometries: 0:030c7f3f 0..780=781 cylinders, 0..127=128 heads, 1..63=63 sectors

Determining CPU on SMP box

2000-10-24 Thread Christopher Harrer
Hello All, Is there a way to determine which CPU I'm currently executing on in a SMP box? I've found references to proc-p_oncpu, but I'm not sure if this is the best way to determine where I'm executing. I'd like to be able to "trace" various actions within my driver and one of the fields I

Re: cvs commit: src/sys/nfs nfs.h nfs_subs.c nfsm_subs.h

2000-10-24 Thread Jeroen Ruigrok van der Werven
[Redirecting to -hackers after this one] -On [20001024 13:55], David Malone ([EMAIL PROTECTED]) wrote: On Tue, Oct 24, 2000 at 01:03:16PM +0200, Jeroen Ruigrok van der Werven wrote: Does this solve the problem reported by me in MSG-ID: [EMAIL PROTECTED] on -stable back in June/July

Re: Who broke ls in FreeBSD? and why?

2000-10-24 Thread Will Andrews
[ redirected to -hackers ] On Tue, Oct 24, 2000 at 12:23:57AM -0700, Jordan Hubbard wrote: What's wrong with -a? And what the heck does this have to do with mobile computing? -a doesn't disable -A, it adds to it (also shows . and ..). I think this guy's looking for an option to disable this

Re: Who broke ls in FreeBSD? and why?

2000-10-24 Thread Warner Losh
In message [EMAIL PROTECTED] Will Andrews writes: : [ redirected to -hackers ] : : On Tue, Oct 24, 2000 at 12:23:57AM -0700, Jordan Hubbard wrote: : What's wrong with -a? And what the heck does this have to do with : mobile computing? : : -a doesn't disable -A, it adds to it (also shows .

Re: gateway on different subnet

2000-10-24 Thread Marko Ruban
IT WORKED ! the arp way is the true way hehehe I edited /sbin/dhclient-script to automate the process: - removed the code that was supposed to add the default gateway - added following lines in its place: arp -s 208.59.162.1 00:20:cd:02:f1:59# MAC address of cable modem gateway route

Re: gateway on different subnet

2000-10-24 Thread Nick Rogness
On Tue, 24 Oct 2000, Marko Ruban wrote: IT WORKED ! the arp way is the true way hehehe Thanks to everyone who has replied with suggestions, especially to Nick whose suggestion was the answer I needed :) Actually it was Mr. Biffle (Les Biffle [EMAIL PROTECTED]). I will

vm_pageout_scan badness

2000-10-24 Thread Alfred Perlstein
Matt, I'm not sure if Paul mailed you yet so I thought I'd take the initiative of bugging you about some reported problems (lockups) when dealing with machines that have substantial MAP_NOSYNC'd data along with a page shortage. What seems to happen is that vm_pageout_scan

Solaris 8's split cache

2000-10-24 Thread void
http://sunsolve.Sun.COM/pub-cgi/show.pl?target=content/content8#cyclical BSD doesn't do anything like this (distinguishing between instructions and data in the VM cache), does it? Should it? -- Ben 220 go.ahead.make.my.day ESMTP Postfix To Unsubscribe: send mail to [EMAIL PROTECTED] with

Re: Solaris 8's split cache

2000-10-24 Thread Alfred Perlstein
* void [EMAIL PROTECTED] [001024 11:37] wrote: http://sunsolve.Sun.COM/pub-cgi/show.pl?target=content/content8#cyclical BSD doesn't do anything like this (distinguishing between instructions and data in the VM cache), does it? Should it? It's an interesting idea, the only weirdness is that

Re: vm_pageout_scan badness

2000-10-24 Thread Matt Dillon
Ouch. The original VM code assumed that pages would not often be ripped out from under the pageadaemon, so it felt free to restart whenever. I think you are absolutely correct in regards to the clustering code causing nearby-page ripouts. I don't have much time available,

PCI Device Remapping

2000-10-24 Thread David D Golombek
I've written a device driver for a proprietary PCI card, and have run into what seems to be a show-stopping bug. The device I'm writing the driver for is responsible for running DMA transfers to other PCI devices, and all of our initial work was going well. I locked down a contiguous range of

Re: Determining CPU on SMP box

2000-10-24 Thread Mike Smith
Is there a way to determine which CPU I'm currently executing on in a SMP box? I've found references to proc-p_oncpu, but I'm not sure if this is the best way to determine where I'm executing. I'd like to be able to "trace" various actions within my driver and one of the fields I want to

Re: FreeBSD vs. Linux

2000-10-24 Thread Julian Stacey
Hi, Terry Lambert wrote: On Sat, 21 Oct 2000, Frederik Meerwaldt wrote: -Differences... FreeBSD is a real Unix, while Linux is a ..how should I Hmmm. FreeBSD is not a UNIX, rather it's a UNIX alike OS. (Which really doesn't matter IMHO) Don't forget UNIX is a trademark of Open Group.

Re: Anybody want to review vi patch?

2000-10-24 Thread Julian Stacey
I did some additions to vi long ago: http://bim.bsn.com/~jhs/src/bsd/fixes/FreeBSD/src/gen/contrib/nvi/ I seem to recall sending them to Keith Bostik maybe (the/an author I recall), my patches ars still outstanding AFAIK. (my patches signal link vi to chimera ghostscript xfig to do a WYSIWYG

pci maps

2000-10-24 Thread Ronald G Minnich
if your cards are on pci bus 0, not behind a bridge, you can set the base addresses to pretty much any value you want even after the OS is up -- you just have to make sure the drivers are all informed. But it's no big deal, you can do it from user mode if you have access to ports cf8/cfc. ron

Re: PCI Device Remapping

2000-10-24 Thread Mike Smith
I've written a device driver for a proprietary PCI card, and have run into what seems to be a show-stopping bug. The device I'm writing the driver for is responsible for running DMA transfers to other PCI devices, and all of our initial work was going well. I locked down a contiguous range

Re: PCI Device Remapping

2000-10-24 Thread David D Golombek
Mike Smith [EMAIL PROTECTED] writes: If you're working on a single, fixed platform, this should be pretty simple; they just lop the top bit off the base address they use for PCI address allocation. Here's an evil trick you can pull though, if you're *really* desperate and if you're

Re: vm_pageout_scan badness

2000-10-24 Thread Alfred Perlstein
* Matt Dillon [EMAIL PROTECTED] [001024 13:11] wrote: Ouch. The original VM code assumed that pages would not often be ripped out from under the pageadaemon, so it felt free to restart whenever. I think you are absolutely correct in regards to the clustering code causing

Re: vm_pageout_scan badness

2000-10-24 Thread Matt Dillon
:The people getting hit by this are Yahoo! boxes, they have giant areas :of NOSYNC mmap'd data, the issue is that for them the first scan through :the loop always sees dirty data that needs to be written out. I think :they also need a _lot_ more than 32 pages cleaned per pass because all :of

Anyone have uhid working and stable?

2000-10-24 Thread Brian F. Feldman
After just buying a device and attempting to use uhid for a while, I got a nice little crash. I can't figure out what's going on, because the clist queue seems to be corrupted. Is it valid for a clist to have a non-zero c_cc and NULL c_cf? I wonder if this is just me, because it seems to

Re: vm_pageout_scan badness

2000-10-24 Thread Alfred Perlstein
* Matt Dillon [EMAIL PROTECTED] [001024 15:32] wrote: :The people getting hit by this are Yahoo! boxes, they have giant areas :of NOSYNC mmap'd data, the issue is that for them the first scan through :the loop always sees dirty data that needs to be written out. I think :they also need a

Re: FreeBSD vs. Linux

2000-10-24 Thread Sergey Babkin
Terry Lambert wrote: On Sat, 21 Oct 2000, Frederik Meerwaldt wrote: -Differences... FreeBSD is a real Unix, while Linux is a ..how should I Hmmm. FreeBSD is not a UNIX, rather it's a UNIX alike OS. (Which really doesn't matter IMHO) Don't forget UNIX is a trademark of Open

Re: vm_pageout_scan badness

2000-10-24 Thread Matt Dillon
:Ok, now I feel pretty lost, how is there a relationship between :max_page_launder and async writes? If increasing max_page_launder :increases the amount of async writes, isn't that a good thing? The async writes are competing against the rest of the system for disk resources. While it

Re: Who broke ls in FreeBSD? and why?

2000-10-24 Thread Jose M. Alcaide
Speaking of ls(1)... $ mkdir Arghh $ touch Arghh/{one,two,three} $ ls Arghh one three two $ chmod a-x Arghh $ ls Arghh echo SUCCESS SUCCESS $ ls -l Arghh echo SUCCESS SUCCESS ARH :-) This is not the expected behavior. If a directory does not have search permission, but it has

AutoFS on FreeBSD

2000-10-24 Thread Jim Pirzyk
I was wondering if there is anyone working on AutoFS for FreeBSD. We currently have 4 studios with around 1000 unix systems of all kinds. Currently there are only 2 OSes that do not have autofs, FreeBSD and one that is known for its number crunching capabilties (and those are being phased out

Re: AutoFS on FreeBSD

2000-10-24 Thread Chris Faulhaber
On Tue, Oct 24, 2000 at 05:24:06PM -0700, Jim Pirzyk wrote: I was wondering if there is anyone working on AutoFS for FreeBSD. We currently have 4 studios with around 1000 unix systems of all kinds. Currently there are only 2 OSes that do not have autofs, FreeBSD and one that is known for

Re: named changes between 4.0 and 4.1 releases

2000-10-24 Thread Chris Faulhaber
On Wed, Oct 25, 2000 at 11:49:15AM +1100, Christopher F. Moran wrote: Hi, How can I find what changes occurred to named as shipped on the 4.1 CDs? on 4.0-RELEASE we could do zone transfers with a Windows 2000 DNS, but putting the same config onto a 4.1-RELEASE machine we can't. I'm

Re: named changes between 4.0 and 4.1 releases

2000-10-24 Thread Mike Silbersack
On Wed, 25 Oct 2000, Christopher F. Moran wrote: Hi, How can I find what changes occurred to named as shipped on the 4.1 CDs? on 4.0-RELEASE we could do zone transfers with a Windows 2000 DNS, but putting the same config onto a 4.1-RELEASE machine we can't. I'm guessing something

Re: AutoFS on FreeBSD

2000-10-24 Thread rbg
No, I think he means the kernel VFS layer based AutoFS... ala SUN which was ported to AIX and I'm sure a bunch more platforms.. On Tue, 24 Oct 2000 20:52:22 -0400 you said: On Tue, Oct 24, 2000 at 05:24:06PM -0700, Jim Pirzyk wrote: I was wondering if there is anyone working on AutoFS for

Re: named changes between 4.0 and 4.1 releases

2000-10-24 Thread Christopher F. Moran
Thanks, And for what it's worth there were notes on ISC about a "problem" with IXFR in T5B. T6B fixed it. - Original Message - From: "Mike Silbersack" [EMAIL PROTECTED] To: "Christopher F. Moran" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, October 25, 2000 11:55 AM Subject:

Re: FreeBSD vs. Linux

2000-10-24 Thread Terry Lambert
Don't forget UNIX is a trademark of Open Group. Actually, it's a trademark of USL, licensed to The Open Group. USL is no more, for quite a few years now. I believe that SCO gave the ownership of UNIX trademark to Open Group. The WIPO database shows a GB registration fro X/Open

Re: Determining CPU on SMP box

2000-10-24 Thread Greg Lehey
On Tuesday, 24 October 2000 at 7:37:12 -0400, Christopher Harrer wrote: Hello All, Is there a way to determine which CPU I'm currently executing on in a SMP box? I've found references to proc-p_oncpu, but I'm not sure if this is the best way to determine where I'm executing. I'd like to

Interval Timer Question

2000-10-24 Thread William Richard
Greetings, Hackers. This is my first post to -hackers, so forgive me if I'm asking in the wrong list. I've been writing a little program to wait for a specified length of time, then beep on the terminal and exit. I originally made the process wait the specified number of seconds with a call to