Sie sind nicht angemeldet.

1

25.02.2018, 11:27

Gentoo Einstieg emerge

Hallo Liebe Gentoo°er,

ich habe mich für gentoo entschieden, da ich erstens, alles mögliche über linux lernen möchte,
zweitens habe ich keine lust mehr auf amazonapps, und etc. an trash, bei z.b. ubuntu,
ausserdem möchte ich mich von systemd fern halten, und ich mag diese ganzen oberflächen nicht, ich finde sie unübersichtlich, somit habe ich mich für die hoffentlich individuellste baubare distro entschieden.


zunächst stehe ich aber völlig am anfang!

nachdem ich mir einen livecd stick erstellt hatte, startete ich. den kernel selbst configuriert, alles soweit gemacht, tage gebraucht, hatte zig details zu finden zu lesen, etc. habe mir viel mühe gegeben alles zu verstehen.
Ich baue den kernel ohne initframs.

dann endlich bei grub angekommen, trail, aber es blieb hängen bei grub loading.
ich möchte ohne uefi,efi auskommen.
die analyse erbrachte, das ich wohl aus versehen zu beginn meine biosgrub partition mit set boot flag setzte, die partionon war somit nicht mehr unformariert sondern hatte ein ext2.

also alles nochmal von vorne.

diesmal ging ich beim kernel conf etwas grober an die sache heran, minimalistisch dennoch. jedoch habe ich bei meinem derzeitigen versuch vermehrt schwierigkeiten beim emerge, und stelle fest, ich habe einfach noch viel zu wenig ahnung.
also hallo lieben community!

Erste Frage:

USEflags
ich habe gelesen die USEflags machen alles individueller, man könne sogar eigene erfinden, wow!
ich gehe mit den flags irgendwie noch recht wahllos um. wenn emerge nicht klappt, setze ich meist kurzfristig, was die von mir wollen, bei meinem letzen versuch reichte es oft, lediglich eine gesondert erwähnte zusätzlich zu setzen.
liegt das an dem kernel conf? dass jetzt mit den USEflags alles nicht so einfach klappt, wie bei meinem ersten versuch.
sollte ich lieber alles nochmal neu machen und den kernel mit make.nconf z.b. versuchen neu zu optimieren?
und anschliessend bereits nicht ganz so unsorgsam mit den flags umgehen?

zweite frage:

wie kann ich mein aktuelles problem lösen? ich sollte nun soweit einiges installiert haben,
leider schlägt nun auch viel fehl, von sys-fs/e2fsprogs, wpa_supplicant, und auch bei grub, habe ich nun immer äquivalenten output,
und habe mich natürlich bereits ausprobiert, aber komme nicht weiter.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
* ERROR: sys-boot/grub-2.02::gentoo failed (compile phase): 
*   emake failed 
*  
* If you need support, post the output of `emerge --info '=sys-boot/grub-2.02::gentoo'`
, 
* the complete build log and the output of `emerge -pqv '=sys-boot/grub-2.02::gentoo'`. 
* The complete build log is located at '/var/tmp/portage/sys-boot/grub-2.02/temp/build.
log'. 
* The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-2.02/temp/e
nvironment'. 
* Working directory: '/var/tmp/portage/sys-boot/grub-2.02/work/grub-2.02-efi-64' 
* S: '/var/tmp/portage/sys-boot/grub-2.02/work/grub-2.02' 

>>> Failed to emerge sys-boot/grub-2.02, Log file: 

>>>  '/var/tmp/portage/sys-boot/grub-2.02/temp/build.log' 

* Messages for package sys-boot/grub-2.02: 

* ERROR: sys-boot/grub-2.02::gentoo failed (compile phase): 
*   emake failed 
*  
* If you need support, post the output of `emerge --info '=sys-boot/grub-2.02::gentoo'`
, 
* the complete build log and the output of `emerge -pqv '=sys-boot/grub-2.02::gentoo'`. 
* The complete build log is located at '/var/tmp/portage/sys-boot/grub-2.02/temp/build.
log'. 
* The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-2.02/temp/e
nvironment'. 
* Working directory: '/var/tmp/portage/sys-boot/grub-2.02/work/grub-2.02-efi-64' 
* S: '/var/tmp/portage/sys-boot/grub-2.02/work/grub-2.02'


mit

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
(chroot) livecd /usr/src/linux # emerge --info sys-boot/grub 
Portage 2.3.19 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop, gcc-6.4.0, glibc
-2.25-r9, 4.5.2-aufs-r1 x86_64) 
================================================================= 
                        System Settings 
================================================================= 
System uname: Linux-4.5.2-aufs-r1-x86_64-Intel-R-_Pentium-R-_3558U_@_1.70GHz-with-gentoo
-2.4.1 
KiB Mem:     3955156 total,    100844 free 
KiB Swap:    2929660 total,   2448300 free 
Timestamp of repository gentoo: Sat, 24 Feb 2018 23:30:01 +0000 
Head commit of repository gentoo: a0350c5f4cfe39c213be4e57b576f2ff22671cb8 
sh bash 4.4_p12 
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1 
app-shells/bash:          4.4_p12::gentoo 
dev-lang/perl:            5.24.3::gentoo 
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo 
dev-util/pkgconfig:       0.29.2::gentoo 
sys-apps/baselayout:      2.4.1-r2::gentoo 
sys-apps/openrc:          0.34.11::gentoo 
sys-apps/sandbox:         2.12::gentoo 
sys-devel/autoconf:       2.69-r4::gentoo 
sys-devel/automake:       1.15.1-r1::gentoo 
sys-devel/binutils:       2.29.1-r1::gentoo 
sys-devel/gcc:            6.4.0-r1::gentoo 
sys-devel/gcc-config:     1.8-r1::gentoo 
sys-devel/libtool:        2.4.6-r3::gentoo 
sys-devel/make:           4.2.1::gentoo 
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) 
sys-libs/glibc:           2.25-r9::gentoo 
Repositories: 

gentoo 
   location: /usr/portage 
   sync-type: rsync 
   sync-uri: rsync://rsync.gentoo.org/gentoo-portage 
   priority: -1000 
   sync-rsync-extra-opts:  

ACCEPT_KEYWORDS="amd64" 
ACCEPT_LICENSE="* -@EULA" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-march=haswell -O2 -pipe" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/sha
re/gnupg/qualified.txt" 
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release
/etc/sandbox.d /etc/terminfo" 
CXXFLAGS="-march=haswell -O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FCFLAGS="-O2 -pipe" 
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks f
ixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned san
dbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpri
v usersandbox usersync xattr" 
FFLAGS="-O2 -pipe" 
GENTOO_MIRRORS="http://distfiles.gentoo.org http://ftp.uni-erlangen.de/pub/mirrors/gento
o ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo rsync://rsync.de.gentoo.org/gentoo-port
age/" 
LANG="de_DE.utf8" 
LDFLAGS="-Wl,-O1 -Wl,--as-needed" 
PKGDIR="/usr/portage/packages" 
PORTAGE_CONFIGROOT="/" 
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --
compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=
/distfiles --exclude=/local --exclude=/packages --exclude=/.git" 
PORTAGE_TMPDIR="/var/tmp" 
USE="X a52 aac accessibility acl acpi alsa alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw 
alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshar
e alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugi
ns_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_
plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter al
sa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_
null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins
_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol amd64 berkdb bindist bluetooth bran
ding build bzip2 cairo cdda cdr cli consolekit cracklib crypt cups curl cxx dbus declara
tive dri dts dvd dvdr emboss encode exif fam fbcon fbcondecor firefox flac fortran gdbm 
gif gimp glamor gnutls gpm gstreamer gtk gtk3 iconv ipv6 jpeg kdbus kde kipi lcms ldap l
ibnotify libressl livecd loop-aes mad minimal mmx mmxext mng modules mp3 mp4 mpeg multil
ib ncurses networkmanager nls nouveau nptl nptlonly ogg opengl openmp openssl pam pango 
pax_kernel pcre pdf phonon plasma png policykit portaudio ppds qml qt3support qt4 qt5 re
adline sasl sdl seccomp session socks5 spell sse sse2 ssl startup-notification static-li
bs svg syslog tcpd tiff truetype udev udisks unicode upower usb vdpau vorbis widgets wxw
idgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" AL
SA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens13
71 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx v
ia82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions 
alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm aut
hz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid da
v dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter header
s include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif s
peling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flo
w plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface
irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" 
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync it
rax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytr
aq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse
" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb n
curses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLE
MENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHO
N_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ru
by23" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy 
v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip
fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos accou
nt" 
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, 
MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSY
NC_EXTRA_OPTS

und

Quellcode

1
2
3
4
5
(chroot) livecd /usr/src/linux # emerge -pqv sys-boot/grub 
[ebuild  N    ] sys-boot/grub-2.02  USE="fonts nls sdl themes truetype -debug -device-ma
pper -doc -efiemu (-libzfs) -mount -multislot -static {-test}" GRUB_PLATFORMS="efi-64 pc
-coreboot -efi-32 -emu -ieee1275 -loongson -multiboot -qemu -qemu-mips -uboot -xen -xen
-32"


soweit zu grub, bei sys-fs/e2fsprogs fast das gleiche.


und bei einigem anderen habe ich folgendes problem:


Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
(chroot) livecd /usr/src/linux # emerge -1 --ask net-wireless/wpa_supplicant 

These are the packages that would be merged, in order: 

Calculating dependencies... done! 

!!! Multiple package instances within a single package slot have been pulled 
!!! into the dependency graph, resulting in a slot conflict: 

sys-libs/zlib:0 

 (sys-libs/zlib-1.2.11-r1:0/1::gentoo, installed) pulled in by 
   (no parents that aren't satisfied by other packages in this slot) 

 (sys-libs/zlib-1.2.11-r1:0/1::gentoo, ebuild scheduled for merge) pulled in by 
   >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-
)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_
s390_32(-)?,abi_s390_64(-)?] required by (dev-libs/openssl-1.0.2n:0/0::gentoo, ebuild sc
heduled for merge) 
                                                                                       
                                                                                       
                                                                                       
                                   


!!! Enabling --newuse and --update might solve this conflict. 
!!! If not, it might help emerge to give a more specific suggestion. 


!!! The ebuild selected to satisfy "app-text/mupdf" has unmet requirements. 
- app-text/mupdf-1.11-r1::gentoo USE="X curl libressl opengl openssl static-libs -javasc
ript -static -vanilla" ABI_X86="(64)"                                                    

 The following REQUIRED_USE flag constraints are unsatisfied: 
   opengl? ( !static-libs ) 

 The above constraints are a subset of the following complete expression: 
   opengl? ( X !static !static-libs ) 

(dependency required by "net-print/cups-filters-1.17.9::gentoo[pdf]" [ebuild]) 
(dependency required by "net-print/cups-2.1.4::gentoo" [ebuild]) 
(dependency required by "x11-libs/gtk+-3.22.19::gentoo[cups]" [ebuild]) 
(dependency required by "dev-qt/qtgui-5.7.1-r1::gentoo[gtk]" [ebuild]) 
(dependency required by "dev-util/cmake-3.9.6::gentoo[qt5]" [ebuild]) 
(dependency required by "sys-devel/llvm-5.0.1::gentoo" [ebuild]) 
(dependency required by "media-libs/mesa-17.2.8::gentoo[video_cards_radeon,video_cards_r
adeonsi,-opencl,llvm,-video_cards_r600]" [ebuild])                                       
(dependency required by "media-libs/libepoxy-1.4.2::gentoo" [ebuild])



für eure hilfe bin ich sehr verbunden und dankbar, ich möchte nicht mehr zu einem anderen beriebssytem!


vielen dank und liebe grüsse
algori

2

25.02.2018, 11:42

Nach welcher Anleitung bist du vorgegangen?

Ich gehe bei mir immer nach dieser Anleitung vor:
https://wiki.gentoo.org/wiki/Handbook:AMD64?full=1

Bei mir sind es immer 3 große Schritte.

1. Die Basis-Installation (in chroot-Umgebung)
2. Das erste große Update (chroot)
Dabei muß ich erwähnen, daß ich grundsätzlich nur mit genkernel arbeite,
alle meine Versuche früher mit eigener Konfiguration des Kernels haben keinen Erfolg gehabt.
3. Nach Beendigung der Chroot-Umgebung und reboot
kommen die Programme dran, die zu meiner Auswahl gehören:
a) kde-plasma/plasma-meta (kde-frameworks wird dabei mitinstalliert)
b) kde-apps/kde-apps-meta

Fazit: So bin ich bisher immer ohne jede Fehlermeldung durchgekommen.
Dazu muß ich noch erwähnen, daß ich gentoo selbst nicht mit Bootmanager ausstatte,
da ich einen von einer anderen Distribution nehme.
Es gibt also kein
grub-install,
sondern nur
grub-mkconfig -o /boot/grub/grub.cfg
Den Inhalt dieser grub.cfg übertrage ich dann in den Haupt-Bootloader.

Warum ich das so ausführlich schreibe?

Wenn dir geholfen werden soll, wäre es nicht ganz verkehrt, den genauen Vorgang deiner Installation zu beschreiben.

Gruß
Manfred

3

25.02.2018, 12:33

Zum Thema Use-flags:
Ich verwende ein geeignetes Profil, das zu meinen Bedürfnissen passt:

Quellcode

1
eselect profile list

Je nachdem, welches Profil Du auswählst (ich z.B. Plasma), braucht man kaum noch Use-flags setzen. Ich setze nur noch die, wo ich genau weiss, warum oder wenn emerge die verlangt.

Zum Thema Kernel-Config:
So schwer ich mich am Anfang damit getan habe, klappts jetzt eingentlich recht flott:
1. Genkernel installieren
2. Kernel so modifizieren, dass er ohne initramfs bootet (Wichtigste Hardware fest in den Kernel einbauen wie z.B. ext4, Controller, ...)
3. mit dem Befehl "make localmodconfig" wird dann eine Kernel-Config erstellt, die bei gebooteten Kernel alle nicht verwendeten Module deaktiviert. ==> Neuen schlanken Kernel bauen

hafgan

4

25.02.2018, 12:40

Hallo, danke erstmal für die unterstützung!

ja, ich bin auch nach dem handbuch gegangen.

ich bin mir jetzt nicht ganz sicher, was genau ich beschreiben soll, jeden schritt?

partitioniert hatte ich mit parted, die Schritte und Einstellungen daraufhin stehen eigentlich alle in der beschreibung oben unter systeminformationen,

was genau möchtest, musst du wissen?

Liebe grüsse
algori

5

25.02.2018, 12:46

hallo lieben dank für die rückmeldung!

ich benutze /default/linux/amd65/17.0/desktop

ich möchte kein gnome oder kde
mir reicht ein tilling windowmanager, wie bspwm.
ich möchte möglichst nichts mehr ausserhalb der konsole machen, da ich da die volle kontrolle habe und wie gesagt ich versage in diesen intuitiven oberflächen.

seis drum, localmodconf habe ich noch nicht benutzt.

6

25.02.2018, 12:53

und ist es möglich bei den useflags diese zu splitten?

denn bisher, schreibe ich sie entweder einzeln rein und mache mir ein kommentar welche ich wann wofür geändert habe, oder adde sie als ganzes, als neie useflagzeile,

gibt es eine andere möglichkeit?
das erscheint mir doch recht umständlich.

7

25.02.2018, 12:56

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
(chroot) livecd /usr/src/linux # make localmodconfig
using config: '.config'
zunicode config not found!!
zavl config not found!!
spl config not found!!
zcommon config not found!!
znvpair config not found!!
zfs config not found!!
WARNING: ASYNC_CORE is required, but nothing in the
  current config selects it.
WARNING: DM_BUFIO is required, but nothing in the
  current config selects it.
WARNING: VIDEOBUF2_CORE is required, but nothing in the
  current config selects it.
WARNING: ASYNC_PQ is required, but nothing in the
  current config selects it.
WARNING: DCA is required, but nothing in the
  current config selects it.
WARNING: VIDEOBUF2_MEMOPS is required, but nothing in the
  current config selects it.
WARNING: ZLIB_DEFLATE is required, but nothing in the
  current config selects it.
WARNING: CRYPTO_GLUE_HELPER_X86 is required, but nothing in the
  current config selects it.
WARNING: VIDEOBUF2_VMALLOC is required, but nothing in the
  current config selects it.
WARNING: ASYNC_XOR is required, but nothing in the
  current config selects it.
WARNING: RAID6_PQ is required, but nothing in the
  current config selects it.
WARNING: ASYNC_RAID6_RECOV is required, but nothing in the
  current config selects it.
WARNING: CRYPTO_ABLK_HELPER is required, but nothing in the
  current config selects it.
WARNING: ASYNC_MEMCPY is required, but nothing in the
  current config selects it.
WARNING: XOR_BLOCKS is required, but nothing in the
  current config selects it.
module scsi_transport_fc did not have configs CONFIG_SCSI_FC_ATTRS
module qla2xxx did not have configs CONFIG_SCSI_QLA_FC
module ptp did not have configs CONFIG_PTP_1588_CLOCK
module crct10dif_pclmul did not have configs CONFIG_CRYPTO_CRCT10DIF_PCLMUL
module videobuf2_v4l2 did not have configs CONFIG_VIDEOBUF2_CORE
module vmxnet3 did not have configs CONFIG_VMXNET3
module pata_serverworks did not have configs CONFIG_PATA_SERVERWORKS
module sata_inic162x did not have configs CONFIG_SATA_INIC162X
module dc395x did not have configs CONFIG_SCSI_DC395x
module mptfc did not have configs CONFIG_FUSION_FC
module 3w_xxxx did not have configs CONFIG_BLK_DEV_3W_XXXX_RAID
module pata_it8213 did not have configs CONFIG_PATA_IT8213
module pata_pdc202xx_old did not have configs CONFIG_PATA_PDC_OLD
module sata_nv did not have configs CONFIG_SATA_NV
module pata_pcmcia did not have configs CONFIG_PATA_PCMCIA
module linear did not have configs CONFIG_MD_LINEAR
module libiscsi did not have configs CONFIG_ISCSI_TCP CONFIG_INFINIBAND_ISER CONFIG_SCSI_QLA_ISCSI CONFIG_SCSI_CXGB3_ISCSI CONFIG_SCSI_CXGB4_ISCSI CONFIG_SCSI_BNX2_ISCSI CONFIG_BE2ISCSI
module qla1280 did not have configs CONFIG_SCSI_QLOGIC_1280
module pata_hpt3x3 did not have configs CONFIG_PATA_HPT3X3
module btrfs did not have configs CONFIG_BTRFS_FS
module pata_artop did not have configs CONFIG_PATA_ARTOP
module raid1 did not have configs CONFIG_MD_RAID1
module cryptd did not have configs CONFIG_CRYPTO_CRYPTD
module pcnet32 did not have configs CONFIG_PCNET32
module megaraid_mm did not have configs CONFIG_MEGARAID_MM
module aacraid did not have configs CONFIG_SCSI_AACRAID
module sata_promise did not have configs CONFIG_SATA_PROMISE
module virtio_net did not have configs CONFIG_VIRTIO_NET
module uvcvideo did not have configs CONFIG_USB_VIDEO_CLASS
module sata_sx4 did not have configs CONFIG_SATA_SX4
module pata_amd did not have configs CONFIG_PATA_AMD
module pata_via did not have configs CONFIG_PATA_VIA
module sata_qstor did not have configs CONFIG_SATA_QSTOR
module hid_petalynx did not have configs CONFIG_HID_PETALYNX
module 3w_9xxx did not have configs CONFIG_SCSI_3W_9XXX
module async_xor did not have configs CONFIG_ASYNC_XOR
module fuse did not have configs CONFIG_FUSE_FS
module sata_via did not have configs CONFIG_SATA_VIA
module pata_jmicron did not have configs CONFIG_PATA_JMICRON
module mptspi did not have configs CONFIG_FUSION_SPI
module pata_cmd64x did not have configs CONFIG_PATA_CMD64X
module raid6_pq did not have configs CONFIG_RAID6_PQ
module initio did not have configs CONFIG_SCSI_INITIO
module libsas did not have configs CONFIG_SCSI_SAS_LIBSAS
module dca did not have configs CONFIG_DCA
module tg3 did not have configs CONFIG_TIGON3
module pcspkr did not have configs CONFIG_INPUT_PCSPKR
module pata_hpt37x did not have configs CONFIG_PATA_HPT37X
module sym53c8xx did not have configs CONFIG_SCSI_SYM53C8XX_2
module multipath did not have configs CONFIG_MD_MULTIPATH
module atp870u did not have configs CONFIG_SCSI_ACARD
module cciss did not have configs CONFIG_BLK_CPQ_CISS_DA
module sky2 did not have configs CONFIG_SKY2
module pata_hpt3x2n did not have configs CONFIG_PATA_HPT3X2N
module pdc_adma did not have configs CONFIG_PDC_ADMA
module sl811_hcd did not have configs CONFIG_USB_SL811_HCD
module crc32c_intel did not have configs CONFIG_CRYPTO_CRC32C_INTEL
module videobuf2_vmalloc did not have configs CONFIG_VIDEOBUF2_VMALLOC
module pata_ns87415 did not have configs CONFIG_PATA_NS87415
module glue_helper did not have configs CONFIG_CRYPTO_GLUE_HELPER_X86
module e1000 did not have configs CONFIG_E1000
module megaraid_sas did not have configs CONFIG_MEGARAID_SAS
module crc32_pclmul did not have configs CONFIG_CRYPTO_CRC32_PCLMUL
module BusLogic did not have configs CONFIG_SCSI_BUSLOGIC
module pata_mpiix did not have configs CONFIG_PATA_MPIIX
module mptsas did not have configs CONFIG_FUSION_SAS
module async_raid6_recov did not have configs CONFIG_ASYNC_RAID6_RECOV
module videodev did not have configs CONFIG_VIDEO_V4L2
module serio_raw did not have configs CONFIG_SERIO_RAW
module async_memcpy did not have configs CONFIG_ASYNC_MEMCPY
module async_pq did not have configs CONFIG_ASYNC_PQ
module hid_belkin did not have configs CONFIG_HID_BELKIN
module hid_a4tech did not have configs CONFIG_HID_A4TECH
module pata_marvell did not have configs CONFIG_PATA_MARVELL
module pata_ali did not have configs CONFIG_PATA_ALI
module sata_sil did not have configs CONFIG_SATA_SIL
module xor did not have configs CONFIG_XOR_BLOCKS
module joydev did not have configs CONFIG_INPUT_JOYDEV
module ablk_helper did not have configs CONFIG_CRYPTO_ABLK_HELPER
module hid_chicony did not have configs CONFIG_HID_CHICONY
module pps_core did not have configs CONFIG_PPS
module pata_sl82c105 did not have configs CONFIG_PATA_WINBOND
module coretemp did not have configs CONFIG_SENSORS_CORETEMP
module aic79xx did not have configs CONFIG_SCSI_AIC79XX
module DAC960 did not have configs CONFIG_BLK_DEV_DAC960
module snd_hda_codec_idt did not have configs CONFIG_SND_HDA_CODEC_SIGMATEL
module mptscsih did not have configs CONFIG_FUSION_SPI CONFIG_FUSION_FC CONFIG_FUSION_SAS
module dm_bufio did not have configs CONFIG_DM_BUFIO
module videobuf2_memops did not have configs CONFIG_VIDEOBUF2_MEMOPS
module pata_pdc2027x did not have configs CONFIG_PATA_PDC2027X
module pata_rz1000 did not have configs CONFIG_PATA_RZ1000
module advansys did not have configs CONFIG_SCSI_ADVANSYS
module sata_mv did not have configs CONFIG_SATA_MV
module firewire_core did not have configs CONFIG_FIREWIRE
module bnx2 did not have configs CONFIG_BNX2
module pata_sil680 did not have configs CONFIG_PATA_SIL680
module wmi did not have configs CONFIG_ACPI_WMI
module pata_it821x did not have configs CONFIG_PATA_IT821X
module sata_sil24 did not have configs CONFIG_SATA_SIL24
module dm_raid did not have configs CONFIG_DM_RAID
module aic7xxx did not have configs CONFIG_SCSI_AIC7XXX
module hp_wmi did not have configs CONFIG_HP_WMI
module pata_radisys did not have configs CONFIG_PATA_RADISYS
module hid_ezkey did not have configs CONFIG_HID_EZKEY
module sata_vsc did not have configs CONFIG_SATA_VITESSE
module pata_ns87410 did not have configs CONFIG_PATA_NS87410
module lpfc did not have configs CONFIG_SCSI_LPFC
module dm_crypt did not have configs CONFIG_DM_CRYPT
module raid0 did not have configs CONFIG_MD_RAID0
module zlib_deflate did not have configs CONFIG_ZLIB_DEFLATE
module intel_powerclamp did not have configs CONFIG_INTEL_POWERCLAMP
module hid_cherry did not have configs CONFIG_HID_CHERRY
module hid_gyration did not have configs CONFIG_HID_GYRATION
module videobuf2_core did not have configs CONFIG_VIDEOBUF2_CORE
module hid_cypress did not have configs CONFIG_HID_CYPRESS
module lrw did not have configs CONFIG_CRYPTO_LRW
module libphy did not have configs CONFIG_PHYLIB
module dmx3191d did not have configs CONFIG_SCSI_DMX3191D
module igb did not have configs CONFIG_IGB
module pata_netcell did not have configs CONFIG_PATA_NETCELL
module aes_x86_64 did not have configs CONFIG_CRYPTO_AES_X86_64
module arcmsr did not have configs CONFIG_SCSI_ARCMSR
module raid456 did not have configs CONFIG_MD_RAID456
module 3w_sas did not have configs CONFIG_SCSI_3W_SAS
module atl1c did not have configs CONFIG_ATL1C
module pata_triflex did not have configs CONFIG_PATA_TRIFLEX
module aic94xx did not have configs CONFIG_SCSI_AIC94XX
module sx8 did not have configs CONFIG_BLK_DEV_SX8
module hid_monterey did not have configs CONFIG_HID_MONTEREY
module hid_samsung did not have configs CONFIG_HID_SAMSUNG
module hid_microsoft did not have configs CONFIG_HID_MICROSOFT
module megaraid did not have configs CONFIG_MEGARAID_LEGACY
module raid10 did not have configs CONFIG_MD_RAID10
module ghash_clmulni_intel did not have configs CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL
module hid_pl did not have configs CONFIG_HID_PANTHERLORD
module hid_sony did not have configs CONFIG_HID_SONY
module dm_snapshot did not have configs CONFIG_DM_SNAPSHOT
module sata_svw did not have configs CONFIG_SATA_SVW
module iscsi_tcp did not have configs CONFIG_ISCSI_TCP
module async_tx did not have configs CONFIG_ASYNC_CORE
module pata_hpt366 did not have configs CONFIG_PATA_HPT366
module libiscsi_tcp did not have configs CONFIG_ISCSI_TCP CONFIG_SCSI_CXGB3_ISCSI CONFIG_SCSI_CXGB4_ISCSI
module megaraid_mbox did not have configs CONFIG_MEGARAID_MAILBOX
module pata_atiixp did not have configs CONFIG_PATA_ATIIXP
module sata_uli did not have configs CONFIG_SATA_ULI
module hpsa did not have configs CONFIG_SCSI_HPSA
module hid_sunplus did not have configs CONFIG_HID_SUNPLUS
module pata_efar did not have configs CONFIG_PATA_EFAR
module mptbase did not have configs CONFIG_FUSION_SPI CONFIG_FUSION_FC CONFIG_FUSION_SAS
#
# configuration written to .config

8

25.02.2018, 13:00

und ist es möglich bei den useflags diese zu splitten?

Verstehe ich nicht? Was willst Du splitten?

Du hast globale (make.conf) und lokale Useflags (package.use). Die globalen Usefalgs stehen für alle Versionen in allen Paketen. Bei den lokalen kannst Du Useflags nur für einzelne Pakete erstellen und auch die Version definieren, für die die Useflags gelten sollen.

Kennst Du das Wiki:
https://wiki.gentoo.org/wiki//etc/portage

Speziell für package.use:
https://wiki.gentoo.org/wiki//etc/portage/package.use

9

01.03.2018, 13:14

hallo nochmal,

also ich meine, wenn ich zu beginn erstmal einige programme installiere, grub, sudo, etc. dann befinde ich mich in der make.conf

wenn ich dort dauernd etwas an den useflags aendern muss, damit emerge klappt, dann ist es recht umstaendlich immer die flags einzufügen, denn ich mache dies alphabetisch, zu beginn, damit ich alles wieder finde, und so weiter, splitten meine ich also sowas wie zweimal use="..." in die make.conf zu schreiben, habe das versucht, das nimmt er aber glaube nicht an.

ansonsten, das wiki kenne ich, und ja ich habe noch eine menge zu studieren.

denke jedoch, da beim letzten versuch, alles super geklappt hat, das es an dem kernelconfig liegt.

also mache ich entweder wieder alles nochmal ganz detailiert, oder ich nehme den genkernel all, aber das wäre schon bescheuert irgendwie, oder, da kann ich gleich zurück zu ubuntu und co.

10

08.03.2018, 15:01

Hi,

so wie ich Dich verstanden habe, willst Du die USE-Variable in mehrere Zeilen untergliedern, damit Du einen besseren Überblick hast. Soweit ich weiss, geht das über einen Zeilenumbruch. Das müsste mit einem backslash gehen (\). Musst Du aber mal testen. Sicher bin ich mir nicht. Könnte so aussehen:

USE="\
X cdrom \
pulseaudio bluetooth \
"
Bis Du sicher, dass Du soviele Use-Flag brauchst? Wen portage sich beschwert wegen einem Use-Flag wird das doch meistens in packages.use eingetragen...

Zu der Kernelconfig:
Das make localmodconfig funktioniert erst, wenn Du ohne intitramfs gebootet hast im chroot geht das nicht!
- Fängst also an mit genkernel all, wie Du schon vor hattest.
- Im nächsten schritt nimmst die Kernelkonfiguration von Genkernel (z.B. aus /proc/config.gz oder aus /boot/...) und kopierst sie nach /usr/src/linux/.config. Nun konfigurierst Du den Kernel ganz leicht um indem Du ihm die wichtigsten Features fest (nicht als Modul) einkompilierst. Da wäre z.B. Partition, Filesystem, Controller Deiner HW usw. Ziel ist also, dass der Genkernel ohne initramfs, von ganz alleine booten kann. make menuconfig / make / make modules_install / make install / grub nicht vergessen.
- Diesen leicht modifizierten und ohne initramfs Kernel startest Du nun.
- JETZT erst, kannst Du make localmodconfig verwenden um alle unbenutzten Module zu deaktivieren. Übrig bleibt nur ein schlanker kleiner Kernel, der für Dein System optimiert ist. Er kann aber dann auch nichts anderes mehr. Wenn Du neue HW verwenden willst, musst Du erst mal einen Kernel bauen...

Das dauert schon ein bisschen, bis das alles läuft wie Du Dir das vorstelltst!! Manchmal ist es da bequemer, einfach bei genkernel zu bleiben, zumal das Meiste in der Regel einfach läuft.

hafgan

11

25.09.2018, 22:25

und ist es möglich bei den useflags diese zu splitten?

Ich splitte wie folgt:

Quellcode

1
2
3
4
USE="$USE introspection" # blueman braucht es bei ein Paar Paketen, wird in Zukunft sicherlich öffter benötigt
USE="$USE git lua" # I like it (and nice in geany)
USE="$USE opus" # WhatsApp Audio
USE="$USE -btrfs -jfs -reiserfs" # Werde ich nie begegnen
Auch wenn Open-Source kostenlos ist, ist sie nicht umsonst. Dein Preis ist Dein Engagement und Mitarbeit an OS-Projekten.
Wenn Du keinen Preis bezahlen willst, bist Du die Ware. Und das ist nicht Open Source, geschweigedenn frei.