1 |
2011/2/14 Vladimir Solomatin <slash@×××××.ru>: |
2 |
> On 02/14/2011 08:40 AM, Кучма Кирилл wrote: |
3 |
> |
4 |
> System uname: |
5 |
> Linux-2.6.32-hardened-r31-x86_64-AMD_Phenom-tm-_II_X4_925_Processor-with-gentoo-2.0.1 |
6 |
> |
7 |
> Portage 2.1.9.25 (hardened/linux/amd64/no-multilib, gcc-4.4.4, |
8 |
> glibc-2.11.2-r3, 2.6.32-hardened-r31 x86_64) |
9 |
> |
10 |
> sys-fs/udev-151-r4 USE="-devfs-compat -extras -old-hd-rules (-selinux) |
11 |
> -test" 0 kB |
12 |
> |
13 |
> |
14 |
> CONFIG_SHMEM=y |
15 |
> CONFIG_MMU=y |
16 |
> # CONFIG_GART_IOMMU is not set |
17 |
> # CONFIG_CALGARY_IOMMU is not set |
18 |
> # CONFIG_AMD_IOMMU is not set |
19 |
> CONFIG_IOMMU_HELPER=y |
20 |
> CONFIG_IOMMU_API=y |
21 |
> |
22 |
> # sysctl -a | grep -E '(shmmax|shmall|shmmni)' |
23 |
> kernel.shmmax = 33554432 |
24 |
> kernel.shmall = 2097152 |
25 |
> kernel.shmmni = 4096 |
26 |
> |
27 |
> у тебя в конфиге: |
28 |
> |
29 |
> CONFIG_GART_IOMMU=y |
30 |
> Support for full DMA access of devices with 32bit memory access only on |
31 |
> systems with more than 3GB. This is usually needed for USB, sound, many |
32 |
> IDE/SATA chipsets and some other devices. Provides a driver for the AMD |
33 |
> Athlon64/Opteron/Turion/Sempron GART based hardware IOMMU and a software |
34 |
> bounce buffer based IOMMU used on Intel systems and as fallback. |
35 |
> The code is only active when needed (enough memory and limited device) |
36 |
> unless CONFIG_IOMMU_DEBUG or iommu=force is specified too. |
37 |
> |
38 |
> CONFIG_CALGARY_IOMMU=y |
39 |
> Support for hardware IOMMUs in IBM's xSeries x366 and x460 systems. Needed |
40 |
> to run systems with more than 3GB of memory properly with 32-bit PCI devices |
41 |
> that do not support DAC (Double Address Cycle). Calgary also supports bus |
42 |
> level isolation, where all DMAs pass through the IOMMU.... |
43 |
> |
44 |
> CONFIG_AMD_IOMMU=y |
45 |
> With this option you can enable support for AMD IOMMU hardware in your |
46 |
> system. An IOMMU is a hardware component which provides remapping of DMA |
47 |
> memory accesses from devices. With an AMD IOMMU you can isolate the the DMA |
48 |
> memory of different devices and protect the system from misbehaving device |
49 |
> drivers or hardware. You can find out if your system has an AMD IOMMU if you |
50 |
> look into your BIOS for an option to enable it or if you have an IVRS ACPI |
51 |
> table. |
52 |
> |
53 |
> По моему, данные опции выглядят довольно так странно на фоне опции |
54 |
> CONFIG_MCORE2=Y (Processor family -> Core 2/newer Xeon) |
55 |
> |
56 |
>> Привет, создавал тред здесь http://www.gentoo.ru/node/21974, но не |
57 |
>> помогло. |
58 |
>> Проблема в следующем - никак не могу собрать ядро (система amd64, |
59 |
>> nomultilib) так чтобы появились параметры shmmax, shmall и т.д., |
60 |
>> необходимые для работы postgresql. Так и не нашел четкого объяснения |
61 |
>> что необходимо для этого сделать, советуют IOMMU и т..д., при |
62 |
>> включении которых не стартует udev. Помогите пожалуйста, может у кого |
63 |
>> есть конфиг ядра с сервера, работающего с postgresql. |
64 |
> |
65 |
> |
66 |
> -- |
67 |
> Vladimir Solomatin (slash@×××××.ru) |
68 |
> Phone: + 7 (4732) 711711 |
69 |
> Relex Inc, Voronezh. |
70 |
> |
71 |
> |
72 |
> |
73 |
|
74 |
С подправленным вашим конфигом появились shm*, спасибо! |
75 |
Может у кого-нибудь есть ебилды на postgresql для 1c, раз уж зашел |
76 |
разговор? Или ручками? |