1 |
great, thanks ! |
2 |
|
3 |
2009/11/15 Alan McKinnon <alan.mckinnon@×××××.com>: |
4 |
> On Sunday 15 November 2009 04:06:27 Zhang Jun wrote: |
5 |
>> Hi list, |
6 |
>> |
7 |
>> I want to keep two kernels in my pc, but have some problems on video |
8 |
>> card driver and vbox: |
9 |
>> |
10 |
>> pc ~ # cd /lib/modules/ |
11 |
>> pc modules # ls |
12 |
>> 2.6.28-tuxonice-r10-tuxonice 2.6.30-tuxonice-r6 |
13 |
>> pc modules # uname -r |
14 |
>> 2.6.28-tuxonice-r10-tuxonice |
15 |
>> pc modules # eix -I nvidia |
16 |
>> [I] x11-drivers/nvidia-drivers |
17 |
>> Available versions: 71.86.09!s ~71.86.11!s 96.43.13!s |
18 |
>> 173.14.20!s ~173.14.20-r1!s 180.60!s ~185.18.36!s ~185.18.36-r1!s |
19 |
>> ~190.29!s ~190.42-r2!s ~190.42-r3!s {acpi custom-cflags gtk |
20 |
>> kernel_FreeBSD kernel_linux multilib userland_BSD} |
21 |
>> Installed versions: 180.60!s(21ʱ18·Ö12Ãë 2009Äê08ÔÂ16ÈÕ)(acpi |
22 |
>> kernel_linux -custom-cflags -gtk -multilib) |
23 |
>> |
24 |
>> ### and I want to install nv driver for another kernel by hand (not emerge) |
25 |
>> |
26 |
>> pc modules # sh |
27 |
>> /usr/portage/distfiles/NVIDIA-Linux-x86-180.60-pkg0.run -a -K -k |
28 |
>> "2.6.30-tuxonice-r6" |
29 |
>> Verifying archive integrity... OK |
30 |
>> Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 |
31 |
>> 180.60..................................................................... |
32 |
>> ........................................................................... |
33 |
>> |
34 |
>> ERROR: No NVIDIA driver is currently installed; the |
35 |
>> '--kernel-module-only' option can only be used to install the NVIDIA |
36 |
>> kernel module on |
37 |
>> top of an existing driver installation. |
38 |
>> |
39 |
>> |
40 |
>> |
41 |
>> |
42 |
>> the same problem will be in virtaulbox-modules, though I have not tested. |
43 |
>> |
44 |
>> |
45 |
>> how can I install nv driver and vbox-modules for two kernels ? |
46 |
>> thanks! |
47 |
>> |
48 |
> |
49 |
> Why are you trying to do it by hand? Just use emerge and let portage take care |
50 |
> of all the housekeeping for you: |
51 |
> |
52 |
> - emerge module-rebuild |
53 |
> - run module-rebuild populate |
54 |
> |
55 |
> - point /usr/src/linux at the source for the kernel you want to build for |
56 |
> - run module-rebuild rebuild |
57 |
> - repeat for each kernel |
58 |
> |
59 |
> The ebuild/driver package is smart enough to install kernel modules in the |
60 |
> correct directory in /lib/modules/ when you do it this way/ |
61 |
> |
62 |
> -- |
63 |
> alan dot mckinnon at gmail dot com |
64 |
> |
65 |
> |