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

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



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 所以想了半天,沒有想通不好意思........
>
>_________________________________________________________
>Do You Yahoo!? 
>銀行巨頭聚會中原 大浪淘‘金’誰將笑傲
>http://sweepstakes.yahoo.com/bank_surveywave2/
>
>  
>




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



Reply to: