Go Back   nV News Forums > Linux Support Forums > NVIDIA FreeBSD

Newegg Daily Deals

View Poll Results: Where do you stand in regards to AMD64 on BSD?
I use it and would like an nVidia driver! 16 88.89%
I'm considering using it. 1 5.56%
It's too new. I'll wait and see what Intel does. 0 0%
I'm waiting for AMD64-STABLE. 1 5.56%
Voters: 18. You may not vote on this poll

Reply
 
Thread Tools
Old 03-01-04, 11:03 PM   #25
shupienis
Registered User
 
Join Date: Mar 2004
Location: Pittsburgh
Posts: 10
Default

Quote:
Originally posted by SnapIT

A PPC native 64 kernel COULD be extremely fast on a G5, in time we will see that happen though, Apple are doing what MS did with win95 16-32...
I get that feeling, too... Deja vu all over again. And again. I'm geezer enough to remember the Radio Shack Model 12, which dis 8 bit or 16 bit. Seems the Model 4 did likewise...

The nurse here at the rest home says I should take my meds and go to sleep, now...

One final note -- since all the current crop of 32/64 bit machines are transitory by design, I really don't care all that much if I have to hang a bag on the side to make my video card work.

Anyone care for a challenge of compiling in a 64-bit nvidia driver into the freebsd AMD64 kernel? No matter how crufty and ugly it may be?

Now, where's my meds???

Goodnight Nurse!
// Joe
shupienis is offline   Reply With Quote
Old 03-02-04, 02:15 AM   #26
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default

@J.F.: thanks, judging from Peter's comments, kld support may be in place in the not-so-distant future.
zander is offline   Reply With Quote
Old 03-02-04, 02:06 PM   #27
J.F.
GeForce FX5600
 
Join Date: Dec 2003
Location: Arizona
Posts: 35
Send a message via AIM to J.F.
Default

Quote:
Originally posted by SnapIT
Actually, no, it does not work like that as the software can only control its own instructions if NX is only in software, malicious code can be run at any overload, your program will crash and the code can run, i can see some heavy problems coming with that...

There is no bit to set NX if it is not implemented so...

Now, for the ia32 implementation this is no biggie as you can easily simulate NX, but that will not work on AM-64, so there IS a very real problem with this...
I think you missed the point. The simulation is in the page fault handler of the kernel. It can be applied to any code anywhere. When any page anywhere faults, the kernel checks if a virtual NX bit is set. If not, it handles the page fault as usual. If the virtual NX bit is set for the page, it loads the data TLB, but not the code TLB. If a buffer overflow occurs and it tries to execute code, a page fault occurs because the code TLB isn't loaded. The page fault handler sees that code was attempted to be executed in a page with the virtual NX bit set and simulates an NX generated fault. Except for needing some extra code in the page fault handler and the ability to access the TLBs, it is EXACTLY the same as a real NX bit in hardware, just not as fast.

This works on any Intel chip from the Pentium on up. It might work with Athlons as they have separate data and code TLBs, but I couldn't find any info on how to access them like Intel does through the test registers.
J.F. is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reasons Why You Should Not Use FreeBSD News Archived News Items 0 06-02-12 09:40 AM
Why Should You Use FreeBSD? Here's Some Reasons News Archived News Items 0 05-31-12 01:10 PM
nvidia-driver-295.49 is highly unstable on FreeBSD 9.0 with 9400GT card yurivict NVIDIA FreeBSD 0 05-28-12 12:14 PM
FreeBSD 9 Release with Nvidia 550 Ti configuration issues goga NVIDIA FreeBSD 0 05-23-12 08:34 AM
NVIDIA drivers 302.11 for Linux, FreeBSD and Solaris News Archived News Items 0 05-19-12 11:20 AM

All times are GMT -5. The time now is 06:41 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.