1 |
Sergey Ovcharenko wrote: |
2 |
> Chris Lieb пишет: |
3 |
>> I am attempting to switch a VM over to the hardened profile and the |
4 |
>> hardened kernel. I have rebuilt almost all of the packages on my |
5 |
>> computer after switching to th hardened profile, save for a few kernel |
6 |
>> modules. I have emerged hardened-sources-2.6.25-r9 and am trying to |
7 |
>> build it. I tried copying the .config that I had used with |
8 |
>> gentoo-sources-2.6.25-r9 to /usr/src/linux (symlinked to |
9 |
>> /usr/src/linux-2.6.25-hardened-r9) and doing a `make menuconfig` |
10 |
>> followed by a `make && make modules_install`, but received an error |
11 |
>> almost right out of the gate. The error concerns some part of the frame |
12 |
>> buffer driver. Here is the output I get from make: |
13 |
>> |
14 |
>> CHK include/linux/version.h |
15 |
>> CHK include/linux/utsrelease.h |
16 |
>> CALL scripts/checksyscalls.sh |
17 |
>> CHK include/linux/compile.h |
18 |
>> dnsdomainname: Host name lookup failure |
19 |
>> CC drivers/video/uvesafb.o |
20 |
>> drivers/video/uvesafb.c: In function `uvesafb_vbe_getpmi': |
21 |
>> drivers/video/uvesafb.c:593: error: `pmi_code' undeclared (first use in |
22 |
>> this function) |
23 |
>> drivers/video/uvesafb.c:593: error: (Each undeclared identifier is |
24 |
>> reported only once |
25 |
>> drivers/video/uvesafb.c:593: error: for each function it appears in.) |
26 |
>> make[2]: *** [drivers/video/uvesafb.o] Error 1 |
27 |
>> make[1]: *** [drivers/video] Error 2 |
28 |
>> make: *** [drivers] Error 2 |
29 |
>> INSTALL drivers/crypto/geode-aes.ko |
30 |
>> INSTALL drivers/scsi/scsi_wait_scan.ko |
31 |
>> INSTALL drivers/usb/core/usbcore.ko |
32 |
>> INSTALL drivers/usb/host/ehci-hcd.ko |
33 |
>> INSTALL drivers/usb/host/uhci-hcd.ko |
34 |
>> INSTALL drivers/usb/storage/usb-storage.ko |
35 |
>> DEPMOD 2.6.25-hardened-r9 |
36 |
>> |
37 |
>> The only way I can get rid of the error is to disable frame buffer |
38 |
>> entirely (Device drivers -> Graphics support -> Support for frame buffer |
39 |
>> devices), which is not optimal. |
40 |
>> |
41 |
>> Does anyone know what is causing this? |
42 |
>> |
43 |
>> Thanks, |
44 |
>> Chris |
45 |
>> |
46 |
>> Attached: `emerge --info` and .config being used |
47 |
>> |
48 |
> Did you emerge sys-apps/v86d before compiling your kernel? |
49 |
> I'm not sure if this is the case but when i build a tuxonice-2.6.26 |
50 |
> kernel the uvesafb driver won't compile without it. |
51 |
> |
52 |
The problem seems to have been fixed by a patch in |
53 |
sys-kernel/hardened-sources-2.6.25-r10 |
54 |
|
55 |
Chris |