[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 關_配置nvidia顯示卡的問題!



 --- Alex Lau <alex@dentonlive.com> 的正文:> Sorry
about that... I should explain a little more.
> When you make your own kernel, there may be some
> modules or update or patch which is not in the
> officeal deb package format. And the standard
> /usr/src/linux directory are usually the location
> for the current kernel source. And most update and
> patches will build by reading info form
> /usr/src/linux
> so it is safter to link kernel-src-xxx to linux.
> ln -s kerenl-src-xxx linux
> should work
> 
> Now after I read your other email. I realized that
> you havn't complie your own kernel yet.
> Kernel module is like linked lib, they need to match
> with all the "symble". e.g. libc6-2.2 may have
> different
> symble then libc6-2.1
> So when you make your own kernel, you need to make
> it
> with the same source you are using.
> 
> When you need a kernel-module in debian there are
> two
> way of doing it
> First one is when you are using the offical kernel:
> 1. find and install the deb kernel-module you are
> looking for
> 2. install the kernel-header (same version of your
> kernel)
> 3. make-kpkg the module and install it.
> 
> Second one is when you build your own kernel:
> 1. find and install the kernel-source you want.
> 2. make menuconfig, your kernel
> 3. make-kpkg the kernel-image and install it
> 4. find and install the extra-module
> 5. make-kpkg the kernel-module
> 
> Good luck :)
> Alex
> P.S. see that will help. if not > the error to file
> and
> send it to me see I can help :)
> 
> wqinian rao wrote:
> 
> > --- Alex Lau <alex@dentonlive.com> 的正文:> make
> >sure you get the kernel-src-xx.x.x link to
> >  
> >
> >>/usr/src/linux
> >>the module de-tar-zip at /usr/src
> >>tar -zxvf nvidia-kernel-src ----> should look like
> >>/usr/src/modules/xxxx
> >>
> >>For Kernel Src related package, usually debian use
> >>make-kpkg
> >>
> >>it should be one of the following :
> >>
> >>make-kpkg --add-modules nvidia-glx-1.0-2880
> >>
> >>and
> >>
> >>make-kpkg modules nvidia-glx-1.0-2880 ( build the
> >>module itself )
> >>
> >>Alex
> >>
> >>wqinian rao :
> >>
> >>    
> >>
> >>>我 用apt-get install nvidia-kernel-src
> >>>      
> >>>
> >>nvidia-glx-src
> >>    
> >>
> >>>兩個文件,但是我進入/usr/src後出現
> >>>nvidia-glx-1.0-2880這個目錄了,我 用tar xzvf
> >>>      
> >>>
>
>nvidia-kernel-src解壓後,出來個modules目錄,裡面又有個debian目錄,請問我該如何做呢,謝謝!
> >  
> >
> >呵呵,不好意思你說link to linux是linux
> >kernel吧,我沒有
> >看清楚以為是nvidia的kernel
> 所以想了半天,沒有想通不好意思........
> >
>

非常感謝您的回復:
    我現在內核已經升級到了2.4.18(686),我先是用apt-get
install kernel-image-2.4.18裝的。我想這樣行的吧。然後
再到/usr/src/linux下去make-kpkg
modules_image這下就沒有
錯誤了,後面編譯nvidia就很順利了。。

_________________________________________________________
Do You Yahoo!? 
體壇明星嘯聚繽紛賽場 精彩時刻盡在雅虎體育
http://cn.sports.yahoo.com/

-- 
To UNSUBSCRIBE, email to debian-chinese-gb-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
| This message was re-posted from debian-chinese-gb@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.


-- 
To UNSUBSCRIBE, email to debian-chinese-big5-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: