PTE modified bit emulation trap
Coverity complains about the lack of error checking in the following code in sys/kern/kern_sysctl.c, around line 1390: /* * Touch all the wired pages to avoid PTE modified * bit emulation traps on Alpha while holding locks * in the sysctl handler. */ for (i = (wiredlen + PAGE_SIZE - 1) / PAGE_SIZE, cp = req->oldptr; i > 0; i--, cp += PAGE_SIZE) { copyin(cp, &dummy, 1); copyout(&dummy, cp, 1); } Since Alpha is dead, can we remove this, or is it still needed for other platforms? DES -- Dag-Erling Smørgrav - d...@des.no ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
In search of a video card
I'm in search for a decent video card. I currently have an Nvidia GeForce 8400 GS. It worked pretty well i386 FreeBSD 6.2. I have upgraded my home machine and I am running amd64 FreeBSD 7.2 and it just refuses to go into X. It just hangs. I've been poking around and, based on what I read, some FreeBSD developers and Nvidia have gotten into a finger pointing contest as to what is the problem. Its all very nice but doesn't help me much. So, can any one recommend a good video card? What I'm looking for is * Works with amd64 FreeBSD 7.2 * DVI * PCI-E x16 * 512 MB or more * Not going to cost an arm and a leg Thanks Josef -- Josef Grosch | Another day closer to a | FreeBSD 7.2 jgro...@mooseriver.com | Micro$oft free world | Berkeley, Ca. pgp2Kani25kzS.pgp Description: PGP signature
Re: In search of a video card
On Wed, May 13, 2009 at 10:45:17PM -0500, Sam Fourman Jr. wrote: > On Wed, May 13, 2009 at 10:06 PM, Josef Grosch wrote: > > > > I'm in search for a decent video card. I currently have an Nvidia GeForce > > 8400 GS. It worked pretty well i386 FreeBSD 6.2. I have upgraded my home > > machine and I am running amd64 FreeBSD 7.2 and it just refuses to go into > > X. It just hangs. I've been poking around and, based on what I read, some > > FreeBSD developers and Nvidia have gotten into a finger pointing contest as > > to what is the problem. Its all very nice but doesn't help me much. > > I can shed some light on the amd64 binary nvidia driver issue > John Baldwin has implimented the features the Nvidia people need. > > http://www.freebsd.org/news/status/report-2009-01-2009-03.html#Device-mmap()-Extensions > > if you read the nvnews fourms Zander made refrence to working on a 64bit > driver. > > > Sam Fourman Jr. Great! So there is hope for my Nvidia card. Josef -- Josef Grosch | Another day closer to a | FreeBSD 7.2 jgro...@mooseriver.com | Micro$oft free world | Berkeley, Ca. pgpFBLzVcn0C2.pgp Description: PGP signature
Re: In search of a video card
On Wed, May 13, 2009 at 10:06 PM, Josef Grosch wrote: > > I'm in search for a decent video card. I currently have an Nvidia GeForce > 8400 GS. It worked pretty well i386 FreeBSD 6.2. I have upgraded my home > machine and I am running amd64 FreeBSD 7.2 and it just refuses to go into > X. It just hangs. I've been poking around and, based on what I read, some > FreeBSD developers and Nvidia have gotten into a finger pointing contest as > to what is the problem. Its all very nice but doesn't help me much. I can shed some light on the amd64 binary nvidia driver issue John Baldwin has implimented the features the Nvidia people need. http://www.freebsd.org/news/status/report-2009-01-2009-03.html#Device-mmap()-Extensions if you read the nvnews fourms Zander made refrence to working on a 64bit driver. Sam Fourman Jr. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
Re: In search of a video card
On Thu, May 14, 2009 at 12:02:03AM -0400, Mike Meyer wrote: > On Wed, 13 May 2009 20:06:34 -0700 > Josef Grosch wrote: > > > > > I'm in search for a decent video card. I currently have an Nvidia GeForce > > 8400 GS. It worked pretty well i386 FreeBSD 6.2. I have upgraded my home > > machine and I am running amd64 FreeBSD 7.2 and it just refuses to go into > > X. It just hangs. I've been poking around and, based on what I read, some > > FreeBSD developers and Nvidia have gotten into a finger pointing contest as > > to what is the problem. Its all very nice but doesn't help me much. > > > > So, can any one recommend a good video card? What I'm looking for is > > > > * Works with amd64 FreeBSD 7.2 > > * DVI > > * PCI-E x16 > > * 512 MB or more > > * Not going to cost an arm and a leg > > You forgot the critical information: you didn't define what works for > you. In particular, does a card that doesn't do 3d acceleration > "work"? How about 2d? > > The open source Nvidia driver pretty much sucks. Probably because the > proprietary Nvidia blob (which you were presumably using on i386) is > one of the most functional X video drivers around, so there's not a > lot of incentive to work on the open source version. But you can't use > the proprietary blob on amd64, so you get the open source driver, and > - well you've experienced it. > > The ATI radeon driver - it's open source, there's no proprietary blob > - is actually pretty good. Except that 2d & 3d acceleration support > is, um, variable. > > If you have to have 2d & 3d acceleration, I don't believe you have a > good option for FreeBSD on amd64, at least not until the kernel tweaks > Nvidia needs are done (there has been some motion on that front > recently). But I don't really need it, so I haven't spent any time > looking for such a card. > > If you're ok with solid - if basic - video performance, I'll recommend > pretty much any radeon card. I've used a number of them to drive dual > 1920x1200 displays on a variety of systems for a couple of years now. > Amazon has cards that meet your listed requirements for under US$40. > > pgpkSGLGLrs5W.pgp Description: PGP signature
Re: In search of a video card
On Wed, 13 May 2009 20:06:34 -0700 Josef Grosch wrote: > > I'm in search for a decent video card. I currently have an Nvidia GeForce > 8400 GS. It worked pretty well i386 FreeBSD 6.2. I have upgraded my home > machine and I am running amd64 FreeBSD 7.2 and it just refuses to go into > X. It just hangs. I've been poking around and, based on what I read, some > FreeBSD developers and Nvidia have gotten into a finger pointing contest as > to what is the problem. Its all very nice but doesn't help me much. > > So, can any one recommend a good video card? What I'm looking for is > > * Works with amd64 FreeBSD 7.2 > * DVI > * PCI-E x16 > * 512 MB or more > * Not going to cost an arm and a leg You forgot the critical information: you didn't define what works for you. In particular, does a card that doesn't do 3d acceleration "work"? How about 2d? The open source Nvidia driver pretty much sucks. Probably because the proprietary Nvidia blob (which you were presumably using on i386) is one of the most functional X video drivers around, so there's not a lot of incentive to work on the open source version. But you can't use the proprietary blob on amd64, so you get the open source driver, and - well you've experienced it. The ATI radeon driver - it's open source, there's no proprietary blob - is actually pretty good. Except that 2d & 3d acceleration support is, um, variable. If you have to have 2d & 3d acceleration, I don't believe you have a good option for FreeBSD on amd64, at least not until the kernel tweaks Nvidia needs are done (there has been some motion on that front recently). But I don't really need it, so I haven't spent any time looking for such a card. If you're ok with solid - if basic - video performance, I'll recommend pretty much any radeon card. I've used a number of them to drive dual 1920x1200 displays on a variety of systems for a couple of years now. Amazon has cards that meet your listed requirements for under US$40. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O< ascii ribbon campaign - stop html mail - www.asciiribbon.org ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
Re: In search of a video card
2009/5/14 Josef Grosch : > I don't need 2d & 3d acceleration. I just need a card that will handle > WindowMaker on a 24 inch Dell monitor at 1920x1200 and as long as the flesh > tones on my JPGs don't suck I'm happy. > > Thanks for the advice. I guess I'm going to make a trip to Fry's Friday. I've experienced no-acceleration radeon driver "desktop" under Ubuntu and FreeBSD; let me please point out how sluggish and horribly slow it is. I gave up trying to get accelerated 3d + dualhead support on the card(s) I was using - apparently the hardware just didn't do a single viewport span across 2 1280x1024 screens :( (The max viewport width was 2048 pixels..) 2d acceleration may be a must for that kind of resolution.. YMMV (and obviously, please report back your findings!) adrian ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"