Re: [gentoo-user] Compilation failed...mcs not found
2016-07-28 14:51 GMT-03:00: > Hi, > > my Gentoo installation is incomplete...sigh ;) > > > Got this one: > > * mono-addins-0.6.2.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... > [ ok ] > >>> cfg-update-1.8.2-r1: Checksum index is up-to-date ... > >>> Unpacking source... > >>> Unpacking mono-addins-0.6.2.tar.bz2 to > /var/tmp/portage/dev-dotnet/mono-addins-0.6.2/work > >>> Source unpacked in /var/tmp/portage/dev-dotnet/mono-addins-0.6.2/work > >>> Preparing source in > /var/tmp/portage/dev-dotnet/mono-addins-0.6.2/work/mono-addins-0.6.2 ... > >>> Source prepared. > >>> Configuring source in > /var/tmp/portage/dev-dotnet/mono-addins-0.6.2/work/mono-addins-0.6.2 ... > ./configure --prefix=/usr --build=x86_64-pc-linux-gnu > --host=x86_64-pc-linux-gnu --mandir=/usr/share/man > --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc > --localstatedir=/var/lib --libdir=/usr/lib64 --enable-gui > configure: loading site script /usr/share/config.site > checking for a BSD-compatible install... > /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking how to create a ustar tar archive... gnutar > checking whether to enable maintainer-specific portions of Makefiles... no > checking for pkg-config... /usr/bin/pkg-config > checking for a BSD-compatible install... > /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c > checking for gmcs... no > configure: error: mcs Not found > > > eix mcs > eix gmcs > found nothing except for libmcs, which I installed ("-1"), but it > does not heal my hurts (GENTOO IS A DJ?). > > What is mcs, who sells it and what do I have to pay for a new one? > > Thanks lot for any hint in advance! > > Best regards > Dances with emerge > > > > > Yo tried this? https://github.com/gentoo/dotnet/issues/29 First search result on google
Re: [gentoo-user] Audio - Module does not loaded
2016-07-17 8:31 GMT-03:00 Mick <michaelkintz...@gmail.com>: > On Sunday 17 Jul 2016 05:58:48 Alex Thorne wrote: > > Is snd_hda_intel built as a module or is it part of the kernel itself? > > Please do not top post on this M/L. > > > > On 17 Jul 2016 3:42 a.m., "Facundo Curti" <facu.cu...@gmail.com> wrote: > > > Hi there. I'm having troubles to get audio on gentoo :/ > > > > > > aplay -l gave me 0 sound cards: > > > List of PLAYBACK Hardware Devices > > As Alex suggested check that you have built your audio drivers as modules. > Then run 'alsactl init' to initialise your card and unmute it. > > > > > lspci -v > [snip ...] > > > > 00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core > > > Processor HD Audio Controller (rev 06) > > > Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th Gen Core > Processor HD > > > Audio Controller > > > Flags: bus master, fast devsel, latency 0, IRQ 32 > > > Memory at f7c14000 (64-bit, non-prefetchable) [size=16K] > > > Capabilities: [50] Power Management version 2 > > > Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit- > > > Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00 > > > Kernel driver in use: snd_hda_intel > [snip ...] > > > > > > 00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset > High > > > Definition Audio Controller (rev 05) > > > Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset High > > > Definition Audio Controller > > > Flags: bus master, fast devsel, latency 0, IRQ 31 > > > Memory at f7c1 (64-bit, non-prefetchable) [size=16K] > > > Capabilities: [50] Power Management version 2 > > > Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+ > > > Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00 > > > Capabilities: [100] Virtual Channel > > > Kernel driver in use: snd_hda_intel > [snip ...] > > > > > As you can see, lspci says: > > > Kernel driver in use: snd_hda_intel > > Run 'lspci -k -nn' and check the vendor and product IDs shown in [square > brackets]. Then Google for the right drivers and make sure they have been > enabled as modules in your current kernel. > > > > > > > > But when I do lsmod: > > > > > > Module Size Used by > > > psmouse64754 0 > > > atkbd 14084 0 > > > aziokbd 5336 0 > > > libps2 3843 2 atkbd,psmouse > > > x86_pkg_temp_thermal 4523 0 > > > kvm_intel 140995 0 > > > kvm 366276 1 kvm_intel > > > irqbypass 2552 1 kvm > > > xts 3079 0 > > > aesni_intel 156770 0 > > > lrw 3591 1 aesni_intel > > > gf128mul5815 2 lrw,xts > > > glue_helper 3907 1 aesni_intel > > > ablk_helper 1820 1 aesni_intel > > > cryptd 7522 2 aesni_intel,ablk_helper > > > sha256_generic 9619 0 > > > xfs 669263 0 > > > libcrc32c 1170 1 xfs > > > nfs 148665 0 > > > lockd 52704 1 nfs > > > grace 1858 1 lockd > > > sunrpc188908 2 nfs,lockd > > > jfs 132808 0 > > > reiserfs 173671 0 > > > btrfs 768586 0 > > > xor10552 1 btrfs > > > zlib_deflate 17993 1 btrfs > > > raid6_pq 93587 1 btrfs > > > > > > There is no snd_hda_intel > > They were probably not compiled as modules? ;-) > > > > > I already tryed doing modprobe snd_hda_intel. It does not gave me any > > > output. > > Try: > > modprobe -r snd_hda_intel > modprobe -v snd_hda_intel > > but if you get no output, then they were not built as modules in your > kernel. > > > > > On alsamixer, I can see 3 cards: > > > - Pulseaudio > > > - HDA Intel HDMI > > > - HDA Intel PCH > > > > > > But the intel cards says: > > > This sound device does not have any controls. > > > > > > Some ideas? > > > I already saw the kernel. It is everything according this: > > > https://wiki.gentoo.org/wiki/ALSA#Kernel > > > > > > Some ideas? > > dmesg | grep 'snd\|audio' > > -- > Regards, > Mick Thank you men! I didn't know it had to be compiled as module. It was built-in
[gentoo-user] Audio - Module does not loaded
Hi there. I'm having troubles to get audio on gentoo :/ aplay -l gave me 0 sound cards: List of PLAYBACK Hardware Devices lspci -v 00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06) Subsystem: ASUSTeK Computer Inc. 4th Gen Core Processor DRAM Controller Flags: bus master, fast devsel, latency 0 Capabilities: [e0] Vendor Specific Information: Len=0c Kernel driver in use: hsw_uncore 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 24 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 Capabilities: [88] Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller Capabilities: [80] Power Management version 3 Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [a0] Express Root Port (Slot+), MSI 00 Capabilities: [100] Virtual Channel Capabilities: [140] Root Complex Link Capabilities: [d94] #19 Kernel driver in use: pcieport 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller Flags: bus master, fast devsel, latency 0, IRQ 27 Memory at f780 (64-bit, non-prefetchable) [size=4M] Memory at e000 (64-bit, prefetchable) [size=256M] I/O ports at f000 [size=64] Expansion ROM at [disabled] Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [d0] Power Management version 2 Capabilities: [a4] PCI Advanced Features Kernel driver in use: i915 00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06) Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller Flags: bus master, fast devsel, latency 0, IRQ 32 Memory at f7c14000 (64-bit, non-prefetchable) [size=16K] Capabilities: [50] Power Management version 2 Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00 Kernel driver in use: snd_hda_intel 00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05) (prog-if 30 [XHCI]) Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family USB xHCI Flags: bus master, medium devsel, latency 0, IRQ 30 Memory at f7c0 (64-bit, non-prefetchable) [size=64K] Capabilities: [70] Power Management version 2 Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+ Kernel driver in use: xhci_hcd 00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04) Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family MEI Controller Flags: bus master, fast devsel, latency 0, IRQ 11 Memory at f7c1f000 (64-bit, non-prefetchable) [size=16] Capabilities: [50] Power Management version 3 Capabilities: [8c] MSI: Enable- Count=1/1 Maskable- 64bit+ 00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05) (prog-if 20 [EHCI]) Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family USB EHCI Flags: bus master, medium devsel, latency 0, IRQ 20 Memory at f7c1c000 (32-bit, non-prefetchable) [size=1K] Capabilities: [50] Power Management version 2 Capabilities: [58] Debug port: BAR=1 offset=00a0 Capabilities: [98] PCI Advanced Features Kernel driver in use: ehci-pci 00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05) Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset High Definition Audio Controller Flags: bus master, fast devsel, latency 0, IRQ 31 Memory at f7c1 (64-bit, non-prefetchable) [size=16K] Capabilities: [50] Power Management version 2 Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00 Capabilities: [100] Virtual Channel Kernel driver in use: snd_hda_intel 00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 25 Bus: primary=00, secondary=02, subordinate=02, sec-latency=0 I/O behind bridge: 2000-2fff Memory behind bridge: de20-de3f Prefetchable memory behind bridge: de40-de5f Capabilities: [40] Express Root Port (Slot+), MSI 00 Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [90] Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family PCI Express Root Port Capabilities: [a0] Power Management version 3 Kernel driver in use: pcieport 00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5) (prog-if 00 [Normal decode]) Flags: bus
Re: [gentoo-user] Install dkms: which package
2016-07-16 16:12 GMT-03:00 Neil Bothwick <n...@digimed.co.uk>: > On Sat, 16 Jul 2016 15:03:27 -0300, Facundo Curti wrote: > > > Thanks for the ebuild! I will try to edit it to use my own sources (my > > aziokdb is a litle edited, I changed some keys) > > There's no need for that as it uses EAPI6. That means that if you put a > patch file in /etc/portage/patches/category/name, it will be > automatically applied after the sources are unpacked. That way, you don't > need to recreate a source tarball each times there's a new release, as > long as the patch still applies. > > > -- > Neil Bothwick > > I'm Pink, Therefore I'm Spam > Greate men! Thx. I will read about. I want to learn how portage and ebuild's works.
Re: [gentoo-user] Install dkms: which package
2016-07-16 7:52 GMT-03:00 Jeremi Piotrowski <jeremi.piotrow...@gmail.com>: > On Sat, Jul 16, 2016 at 06:37:28AM -0300, Facundo Curti wrote: > > > > But how can I install the module without dkms? usually I make this > > automatically with dkms :S > > Come on - the module has an install.sh script that installs it without > dkms. > > $ cd /usr/src > $ hg clone https://bitbucket.org/Swoogan/aziokbd > $ ./install.sh > > or instead of running their script just do: > > $ make install > > DKMS is a means of hooking into the kernel-update process in binary > distros to automatically recompile external modules. As we compile our own > kernels (most of us?), compiling modules manually is not that big of an > issue (we control when the kernel update happens). > > However, as it is more practical to have portage handle the rebuilds, here > is a quickly written ebuild for you. > > > # Copyright 1999-2016 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > # $Id$ > > EAPI=6 > > inherit eutils linux-info linux-mod > > if [ "${PV}" = "" ]; then > inherit mercurial > EHG_REPO_URI="https://bitbucket.org/Swoogan/aziokbd; > KEYWORDS="" > else > SRC_URI="???" > KEYWORDS="~x86 ~amd64" > fi > > DESCRIPTION="Linux kernel driver for Microdia Keyboards" > HOMEPAGE="hg clone https://bitbucket.org/Swoogan/aziokbd; > > LICENSE="GPL-2" > SLOT="0" > IUSE="-backslash-fix" > > MODULE_NAMES="aziokbd(kernel/drivers/input/keyboard:${S})" > BUILD_TARGETS="clean default" > MODULESD_AZIOKBD_ADDITIONS=( > "options usbhid quirk=0x0c45:0x7603:0x0007" > ) > > src_compile() { > if use backslash-fix; then > BKSLFIX=y > else > BKSLFIX=n > fi > BUILD_PARAMS="KSRC=${KERNEL_DIR} BKSLFIX=${BKSLFIX} M=${S}" > linux-mod_src_compile > } > > Wow men. Thank you very much! Now it works. It was a very stupid problem. I didn't know that the module could be installed without dksm :P jaja. I always used to do ./install dkms. Thanks for the ebuild! I will try to edit it to use my own sources (my aziokdb is a litle edited, I changed some keys) Finally I have my gentoo install complete :) Bye! ;)
Re: [gentoo-user] Install dkms: which package
2016-07-16 4:45 GMT-03:00 Neil Bothwick <n...@digimed.co.uk>: > On Fri, 15 Jul 2016 19:59:51 -0300, Facundo Curti wrote: > > > > Why do you want DKMS whereas you already compile your own kernel? > > > Because I have a module that is outside the kernel tree: > > You don't need DKMS for that, either re-emerge the module manually after > compiling a new kernel or run emerge @module-rebuild. If the module is > not in portage, manually reinstall it for each new kernel. > > DKMS is for people that don't get involved in compiling kernels or > modules, it is for users of binary distros. > > > -- > Neil Bothwick > > Walking on water and writing software to specification is easy if they're > frozen. > It is not in portage. It is a unique module. Edited by me in the source code. But how can I install the module without dkms? usually I make this automatically with dkms :S
Re: [gentoo-user] Install dkms: which package
2016-07-15 18:54 GMT-03:00 Alarig Le Lay <ala...@swordarmor.fr>: > On Fri Jul 15 14:20:39 2016, Facundo Curti wrote: > > Hi there. > > > > I need dkms to compile a driver. (aziokdb > > https://bitbucket.org/Swoogan/aziokbd). > > > > Any way, I cant find the package to do that :S > > > > I tryed with sys-kernel/dkms and @module-rebuild, none exsists > > > > Someone can tell me what package I need to install? Thx > > Hi, > > Why do you want DKMS whereas you already compile your own kernel? > > -- > alarig > Because I have a module that is outside the kernel tree: See this http://swoogan.blogspot.com.ar/2014/09/azio-l70-keyboard-linux-driver.html Is the above, but with some modifications.
[gentoo-user] Install dkms: which package
Hi there. I need dkms to compile a driver. (aziokdb https://bitbucket.org/Swoogan/aziokbd). Any way, I cant find the package to do that :S I tryed with sys-kernel/dkms and @module-rebuild, none exsists Someone can tell me what package I need to install? Thx
Re: [gentoo-user] Cant compile Openvz sources
2014-08-01 18:33 GMT-03:00 J. Roeleveld jo...@antarean.org: On 1 August 2014 23:12:23 CEST, Stroller strol...@stellar.eclipse.co.uk wrote: On Thu, 31 July 2014, at 12:49 am, Facundo Curti facu.cu...@gmail.com wrote: include/trace/events/kmem.h:528:1: aviso: se declaró ‘struct address_space’ dentro de la lista de parámetros [activado por defecto] include/trace/events/kmem.h:528:1: aviso: su ámbito es solamente esta definición o declaración, lo cual probablemente no es lo que desea [activado por defecto] More of us may be able to help if you set your language to English and resubmit your error messages. I believe this may be as easy as running `LC_MESSAGES=C make make modules_install` Sorry. You are rigth. My bad. Related: http://permalink.gmane.org/gmane.linux.gentoo.devel/87489 Stroller. Apart from rerunning the compile with a default locale like Stroller suggested. Can you also provide the command you used? I used: make -j12 make modules_install But is the same using make make modules_install Here is the output again. Now in english. Sorry for that :P CHK include/linux/version.h CHK include/linux/utsrelease.h SYMLINK include/asm - include/asm-x86 HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/docproc HOSTCC scripts/basic/hash CC kernel/bounds.s GEN include/linux/bounds.h CC arch/x86/kernel/asm-offsets.s GEN include/asm/asm-offsets.h CALLscripts/checksyscalls.sh HOSTCC scripts/genksyms/genksyms.o HOSTCC scripts/genksyms/lex.o HOSTCC scripts/genksyms/parse.o HOSTLD scripts/genksyms/genksyms CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/file2alias.o scripts/mod/file2alias.c:797:12: warning: ‘do_x86cpu_entry’ defined but not used [-Wunused-function] HOSTCC scripts/mod/modpost.o scripts/mod/modpost.c: In function ‘get_markers’: scripts/mod/modpost.c:1563:12: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] scripts/mod/modpost.c: In function ‘add_marker’: scripts/mod/modpost.c:1993:10: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] HOSTCC scripts/mod/sumversion.o HOSTLD scripts/mod/modpost HOSTCC scripts/mod/mod-extract HOSTCC scripts/kallsyms scripts/kallsyms.c: In function ‘read_symbol’: scripts/kallsyms.c:112:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] HOSTCC scripts/pnmtologo HOSTCC scripts/conmakehash HOSTCC scripts/bin2c CC init/main.o CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o CC init/do_mounts.o LD init/mounts.o CC init/noinitramfs.o CC init/calibrate.o LD init/built-in.o LD usr/built-in.o LD arch/x86/crypto/built-in.o AS arch/x86/ia32/ia32entry.o CC arch/x86/ia32/sys_ia32.o CC arch/x86/ia32/ia32_signal.o CC arch/x86/ia32/ipc32.o LD arch/x86/ia32/built-in.o CC arch/x86/kernel/process_64.o CC arch/x86/kernel/signal.o AS arch/x86/kernel/entry_64.o CC arch/x86/kernel/traps.o CC arch/x86/kernel/irq.o In file included from include/linux/kmemtrace.h:12:0, from include/linux/slub_def.h:13, from include/linux/slab.h:203, from include/linux/percpu.h:5, from include/linux/percpu_counter.h:13, from include/linux/fs.h:452, from include/linux/sysfs.h:77, from include/linux/kobject.h:21, from include/linux/sysdev.h:24, from include/linux/cpu.h:22, from arch/x86/kernel/irq.c:4: include/trace/events/kmem.h:528:1: warning: ‘struct address_space’ declared inside parameter list [enabled by default] include/trace/events/kmem.h:528:1: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] include/trace/events/kmem.h:528:1: warning: ‘struct address_space’ declared inside parameter list [enabled by default] include/trace/events/kmem.h:528:1: warning: ‘struct address_space’ declared inside parameter list [enabled by default] include/trace/events/kmem.h:528:1: warning: ‘struct address_space’ declared inside parameter list [enabled by default] In file included from include/linux/slab.h:203:0, from include/linux/percpu.h:5, from include/linux/percpu_counter.h:13, from include/linux/fs.h:452, from include/linux/sysfs.h:77, from include/linux/kobject.h:21, from include/linux/sysdev.h:24, from include/linux/cpu.h:22, from arch/x86/kernel/irq.c:4: include/linux/slub_def.h:97:17: error: field ‘kobj’ has incomplete type make[2
Re: [gentoo-user] Cant compile Openvz sources
2014-08-01 21:02 GMT-03:00 J. Roeleveld jo...@antarean.org: On 2 August 2014 01:00:34 CEST, Facundo Curti facu.cu...@gmail.com wrote: 2014-08-01 18:33 GMT-03:00 J. Roeleveld jo...@antarean.org: On 1 August 2014 23:12:23 CEST, Stroller strol...@stellar.eclipse.co.uk wrote: On Thu, 31 July 2014, at 12:49 am, Facundo Curti facu.cu...@gmail.com wrote: include/trace/events/kmem.h:528:1: aviso: se declaró ‘struct address_space’ dentro de la lista de parámetros [activado por defecto] include/trace/events/kmem.h:528:1: aviso: su ámbito es solamente esta definición o declaración, lo cual probablemente no es lo que desea [activado por defecto] More of us may be able to help if you set your language to English and resubmit your error messages. I believe this may be as easy as running `LC_MESSAGES=C make make modules_install` Sorry. You are rigth. My bad. Related: http://permalink.gmane.org/gmane.linux.gentoo.devel/87489 Stroller. Apart from rerunning the compile with a default locale like Stroller suggested. Can you also provide the command you used? I used: make -j12 make modules_install But is the same using make make modules_install Here is the output again. Now in english. Sorry for that :P Can you try building with make -j1 ? In other words, do not use parallel building? Nop. I get the same error. :/
Re: [gentoo-user] Cant compile Openvz sources
ok :P Thank you! 2014-08-01 21:30 GMT-03:00 J. Roeleveld jo...@antarean.org: On 2 August 2014 02:17:28 CEST, Facundo Curti facu.cu...@gmail.com wrote: 2014-08-01 21:02 GMT-03:00 J. Roeleveld jo...@antarean.org: On 2 August 2014 01:00:34 CEST, Facundo Curti facu.cu...@gmail.com wrote: 2014-08-01 18:33 GMT-03:00 J. Roeleveld jo...@antarean.org: On 1 August 2014 23:12:23 CEST, Stroller strol...@stellar.eclipse.co.uk wrote: On Thu, 31 July 2014, at 12:49 am, Facundo Curti facu.cu...@gmail.com wrote: include/trace/events/kmem.h:528:1: aviso: se declaró ‘struct address_space’ dentro de la lista de parámetros [activado por defecto] include/trace/events/kmem.h:528:1: aviso: su ámbito es solamente esta definición o declaración, lo cual probablemente no es lo que desea [activado por defecto] More of us may be able to help if you set your language to English and resubmit your error messages. I believe this may be as easy as running `LC_MESSAGES=C make make modules_install` Sorry. You are rigth. My bad. Related: http://permalink.gmane.org/gmane.linux.gentoo.devel/87489 Stroller. Apart from rerunning the compile with a default locale like Stroller suggested. Can you also provide the command you used? I used: make -j12 make modules_install But is the same using make make modules_install Here is the output again. Now in english. Sorry for that :P Can you try building with make -j1 ? In other words, do not use parallel building? Nop. I get the same error. :/ In this case, check bugs.gentoo.org and if nothing there, file a new bug. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
[gentoo-user] Cant compile Openvz sources
Hi all! :D I'm having troubles to compile the openvz kernel :( I tryed making the config by my self, making it with make x86_64_defconfig , and using this: http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab053.5/configs/config-2.6.32-042stab053.5.x86_64 config file. (The official from openvz) None works. I also tryed to downloading the sources again. But is the same :S I asked on gentoo forum, but i dont get answers. I hope someone can help me please :P This is the error: [quote] scripts/kallsyms.c: En la función ‘read_symbol’: scripts/kallsyms.c:112:9: aviso: se descarta el valor de devolución de ‘fgets’, se declaró con el atributo warn_unused_result [-Wunused-result] scripts/mod/file2alias.c:797:12: aviso: se define ‘do_x86cpu_entry’ pero no se usa [-Wunused-function] scripts/mod/modpost.c: En la función ‘get_markers’: scripts/mod/modpost.c:1563:12: aviso: se descarta el valor de devolución de ‘asprintf’, se declaró con el atributo warn_unused_result [-Wunused-result] scripts/mod/modpost.c: En la función ‘add_marker’: scripts/mod/modpost.c:1993:10: aviso: se descarta el valor de devolució HOSTLD scripts/genksyms/genksyms HOSTLD scripts/mod/modpost CC kernel/bouIn file included from kernel/sched.c:2184:0: kernel/sched_fair.c: En la función ‘nr_iowait_dec_fair’: kernel/sched_fair.c:3541:23: aviso: variable ‘se’ sin usar [-Wunused-variable] kernel/sched_fair.c: En la función ‘nr_iowait_inc_fair’: kernel/sched_fair.c:3572:23: aviso: variable ‘se’ sin usar [-Wunused-variable] In file included from kernel/sched.c:2187:0: kernel/sched_autogroup.c: En la función ‘autogroup_move_group’: kernel/sched_autogroup.c:145:4: error: expected ‘while’ before ‘while_each_thread’ make[1]: *** [kernel/sched.o] Error 1 make: *** [kernel] Error 2 make: *** Se espera a que terminen otras tareas In file included from include/linux/kmemtrace.h:12:0, from include/linux/slub_def.h:13, from include/linux/slab.h:203, from include/linux/percpu.h:5, from include/linux/percpu_counter.h:13, from include/linux/fs.h:452, from include/linux/sysfs.h:77, from include/linux/kobject.h:21, from include/ CC arch/x86/mm/pageattr.o CC arch/x86/mm/mmap.o CC arch/x86/mm/pat.o CC arch/x86/mm/pgtable.o AS arch/x86/vdso/vdso-note.o CC arch/x86/vdso/vclock_gettime.o CC arch/x86/mm/physaddr.o CC fs/super.o CC fs/char_dev.o CC fs/stat.o CC fs/exec.o CC fs/pipe.o CC fs/namei.o CC arch/x86/vdso/vgetcpu.o CC arch/x86/vdso/vvar.o LDS arch/x86/vdso/vdso-rhel5.lds LDS arch/x86/vdso/vdso32/vdso32.lds AS arch/x86/vdso/vdso32/note.o CC mm/mempool.o CC mm/oom_kill.o AS arch/x86/vdso/vdso32/int80.o AS arch/x86/vdso/vdso32/syscall.o AS arch/x86/vdso/vdso32/sysenter.o CC arch/x86/vdso/vdso32-setup.o CC mm/fadvise.o CC mm/maccess.o CC mm/page_alloc.o CC mm/page-writeback.o CC mm/readahead.o CC mm/swap.o CC mm/truncate.o CC mm/vmscan.o CC mm/shmem.o VDSOarch/x86/vdso/vdso.so.dbg VDSOarch/x86/vdso/vdso-rhel5.so.dbg VDSOarch/x86/vdso/vdso32-int80.so.dbg VDSOarch/x86/vdso/vdso32-syscall.so.dbg VDSOarch/x86/vdso/vdso32-sysenter.so.dbg VDSOSYM arch/x86/vdso/vdso-syms.lds VDSOSYM arch/x86/vdso/vdso-rhel5-syms.lds VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds VDSOSYM arch/x86/vdso/vdso32-syscall-syms.lds OBJCOPY arch/x86/vdso/vdso.so OBJCOPY arch/x86/vdso/vdso32-int80.so OBJCOPY arch/x86/vdso/vdso32-syscall.so OBJCOPY arch/x86/vdso/vdso-rhel5.so OBJCOPY arch/x86/vdso/vdso32-sysenter.so VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds AS arch/x86/vdso/vdso.o AS arch/x86/vdso/vdso32.o AS arch/x86/vdso/vdso-rhel5.o VDSOSYM arch/x86/vdso/vdso32-syms.lds LD arch/x86/vdso/built-in.o UPD include/linux/compile.h CC init/version.o LD init/built-in.o ude/linux/sysfs.h:158:15: error: el campo ‘ia_iattr’ tiene tipo de dato incompleto In file included from include/linux/kmemtrace.h:12:0, from include/linux/slub_def.h:13, from include/linux/slab.h:203, from include/linux/percpu.h:5, from include/linux/percpu_counter.h:13, from include/linux/fs.h:452, from include/linux/highmem.h:4, from arch/x86/mm/pageattr.c:5: include/trace/events/kmem.h:528:1: aviso: se declaró ‘struct address_space’ dentro de la lista de parámetros [activado por defecto] include/trace/events/kmem.h:528:1: aviso: su ámbito es solamente esta definición o declaración, lo cual probablemente no es lo que desea [activado por defecto] include/trace/events/kmem.h:528:1: aviso: se declaró ‘struct address_space’ dentro de la
Re: [gentoo-user] Re: Change EFI to BIOS Boot
2014-04-19 12:34 GMT-03:00 Tom H tomh0...@gmail.com: On Sun, Apr 13, 2014 at 11:08 AM, Jonathan Callen jcal...@gentoo.org wrote: On 04/12/2014 08:19 AM, Tom H wrote: You can have a gpt partition table with BIOS but if you want to boot from that disk, you need a bios_boot partition (which the OP has) for grub to embed a binary. Technically, I don't think you need a bios_boot partition if you leave enough space between the partition table and the first partition (I don't recall having a problem when my first partition started 2048 sectors (1MiB) into the disk). You're correct if you're talking about an msdos-labelled disk with bios firmware because having the first partition start on 2048 as it does now rather on 63 as it used to because the post-mbr gap will always be big enough for grub to embed core.img. But on a gpt-labelled disk with bios firmware, there's a something mbr into which grub embeds boot.img but there's no post-mbr gap. So a bios_boot partition's needed in order to embed core.img (IIRC parted calls it grub_bios or bios_grub). As I could not fix it, I solved it making backup, formating with ms_dos table, and restoring backup. :P
Re: [gentoo-user] Get bridge working for xen
2014-04-18 9:45 GMT-03:00 Joost Roeleveld jo...@antarean.org: On Wednesday 16 April 2014 23:17:27 Facu Curti wrote: On Thu, Apr 17, 2014 at 09:54:46AM +0800, AR wrote: On Thu, Apr 17, 2014 at 9:31 AM, Facu Curti facu.cu...@gmail.com wrote: Hi all! :) I'm following the gentoo wiki [1]. I can't find any mistake on config files, but network does not work :/. I don't have any xen configuration (or domU) yet. I'm just trying to get a bridge with functional network on my domain0. I attach my /etc/conf.d/net When I try to ping, with any iface, to to outside, or even to the getaway, it says host unreachable. Also, the system delays on load the system. It takes like 30 sec more, and conky get stuck (I use it to take data like IP, getway, dns, etc..). I hope can help me please, I need to get this working :/ Thank you! You all are the best!! Bye! Sorry if my english is not the best :/ [1] https://wiki.gentoo.org/wiki/Xen#Networking_on_Unpriviledged_Domains and what is your current network situation and your config (in /etc/conf.d/net) ? My /etc/conf.d/net is: config_enp3s0=192.168.1.2 netmask 255.255.255.0 brd 192.168.1.255 routes_enp3s0=default via 192.168.1.1 And ifconfig: enp3s0: flags=4163UP,BROADCAST,RUNNING,MULTICAST mtu 1500 inet 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255 ether ac:22:0b:c1:dc:de txqueuelen 1000 (Ethernet) RX packets 4630 bytes 4343241 (4.1 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 4923 bytes 686607 (670.5 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73UP,LOOPBACK,RUNNING mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 loop txqueuelen 0 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 Just for reference, here is my config. the IP on br0 is got from DHCP, everything else should be similar. modules=iproute2 # optional config_eth0=null dns_servers_br0=192.168.1.136 config_br0=dhcp # change this line if your network config is static brctl_br0=setfd 0 sethello 10 stp off bridge_br0=eth0 rc_net_br0_need=net.eth0 rc_net_eth0_provide=!net I will try this config. I need an static ip, but I can do this from router configuring the dhcp server. So, it is not a problem. I bring news in a few minutes Thank you! If you specify an IP for the interface AND the bridge, which one will be used for the communication? I would suggest the following for your net config: --- config_enp3s0=null bridge_xenbr0=enp3s0 config_xenbr0=192.168.1.2 netmask 255.255.255.0 brd 192.168.1.255 routes_xenbr0=default gw 192.168.1.1 rc_net_xenbr0_need=net.enp3s0 --- Also ensure you have a net.xenbr0 file: # cd /etc/init.d # ln -s net.xenbr0 net.lo Then start net.xenbr0: # /etc/init.d/net.xenbr0 start If this doesn't work, please send the results of the following commands: # ifconfig -a # brctl show Kind regards, Joost Roeleveld Thank you all! I fixed it. I attached my net file. The first time I tried, it had a typo. This is why didnt work the first time :P Thank you!! net Description: Binary data
Re: [gentoo-user] Making XEN functional
2014-03-23 9:35 GMT-03:00 J. Roeleveld jo...@antarean.org: On Sunday, March 23, 2014 05:47:53 PM Nilesh Govindrajan wrote: I'm not meaning to hijack this thread, but isn't KVM a better option? The difference between Xen and KVM is tiny I think, no? What I see on web, is that XEN uses paravirtualization. If you have the correct hardware (like i have), XEN have better perfonmance. My intel i7 have virtualization instructions. See [1][2] y [3] I'm new in virtualization, i'm doing this for a desktop machine. Just for learn. Instead of use VirtualBOX or VMware, I'm installing XEN. Best perfonmance, and I can learn in the process. 2014-03-23 9:14 GMT-03:00 J. Roeleveld jo...@antarean.org: I see this in tmp: * checking whether the C compiler works... no configure: error: in `/var/tmp/portage/app-emulation/xen-tools-4.3.1- r5/work/xen-4.3.1/tools': configure: error: C compiler cannot create executables ** Please fix your C-compiler. What does the following command return? # gcc-config -L /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3:/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32 Please use the xl command set. xm is deprecated. :O I didn't know it was deprecated. Please also ensure you start the xen services: # /etc/init.d/xencommons start # /etc/init.d/xenstored start # /etc/init.d/xenconsoled start before trying the xl commands. I'm using systemd, so I tried to start this way: systemctl enable xencommons systemctl enable xenstored systemctl enable xencosnsoled And none exists :P (No such file or directory) Instead, if I make it with /etc/init.d/xenstored start it says: WARNING: xenstored is already starting (the same with xencommons and xenconsoled) So, I try do xl list, and says: libxl: error: libxl.c:87:libxl_ctx_alloc: Is xenstore daemon running? failed to stat /var/run/xenstored.pid: No such file or directory cannot init xl context The correct way is start it from systemd? Or through /etc/init.d ? My .config from kernel is [configKernel] and my [grub.cfg] I will check those if the above didn't solve it. I have the following installed on my server: [I] app-emulation/xen Installed versions: 4.3.1-r5^t{tbz2}(12:09:22 PM 02/21/2014) (efi -custom-cflags -debug -flask -xsm) [I] app-emulation/xen-tools Installed versions: 4.3.1-r5^t{tbz2}(12:14:51 PM 02/21/2014) (api hvm pam qemu screen -custom-cflags -debug -doc -flask -ocaml -pygrub - python -static-libs -xend PYTHON_SINGLE_TARGET=python2_7 -python2_6 PYTHON_TARGETS=python2_7 - python2_6) I have: o.o. I dont have xen installed. ¿Is that possible? ._. [ebuild N ] app-emulation/xen-4.3.1-r5 USE=efi xsm -custom-cflags -debug -flask I'm trying to install it but says: !!! copy /var/tmp/portage/app-emulation/xen-4.3.1-r5/image/boot/efi/gentoo/xen-4.3.1.efi - /boot/efi/gentoo/xen-4.3.1.efi failed. !!! [Errno 28] No space left on device Maybe is because I tried to re-emerge this? o.o -- Joost Thank you for help! [1] http://www.linux.com/news/enterprise/systems-management/327628-kvm-or-xen-choosing-a-virtualization-platform [2] http://iopscience.iop.org/1742-6596/219/4/042005/pdf/1742-6596_219_4_042005.pdf [3] http://ark.intel.com/es/products/75122/intel-core-i7-4770-processor-8m-cache-up-to-3_90-ghz
Re: [gentoo-user] Making XEN functional
2014-03-23 16:03 GMT-03:00 J. Roeleveld jo...@antarean.org: On Sun, March 23, 2014 19:26, Facundo Curti wrote: 2014-03-23 9:35 GMT-03:00 J. Roeleveld jo...@antarean.org: On Sunday, March 23, 2014 05:47:53 PM Nilesh Govindrajan wrote: I'm not meaning to hijack this thread, but isn't KVM a better option? The difference between Xen and KVM is tiny I think, no? What I see on web, is that XEN uses paravirtualization. If you have the correct hardware (like i have), XEN have better perfonmance. My intel i7 have virtualization instructions. See [1][2] y [3] I'm new in virtualization, i'm doing this for a desktop machine. Just for learn. Instead of use VirtualBOX or VMware, I'm installing XEN. Best perfonmance, and I can learn in the process. On desktop, I would recommend something like Virtualbox. Xen works best with a minimal host environment on a dedicated machine. Thank you for advice. I'm reading about so I can take a choice. 2014-03-23 9:14 GMT-03:00 J. Roeleveld jo...@antarean.org: I see this in tmp: * checking whether the C compiler works... no configure: error: in `/var/tmp/portage/app-emulation/xen-tools-4.3.1- r5/work/xen-4.3.1/tools': configure: error: C compiler cannot create executables ** Please fix your C-compiler. What does the following command return? # gcc-config -L /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3:/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32 what about gcc-config -l (sorry, meant lower-case in previous email) [1] x86_64-pc-linux-gnu-4.7.3 * Please use the xl command set. xm is deprecated. :O I didn't know it was deprecated. Please also ensure you start the xen services: # /etc/init.d/xencommons start # /etc/init.d/xenstored start # /etc/init.d/xenconsoled start before trying the xl commands. I'm using systemd, so I tried to start this way: systemctl enable xencommons systemctl enable xenstored systemctl enable xencosnsoled And none exists :P (No such file or directory) I don't use systemd. You will need to find the correct unit-files for Xen. Alternatively, use OpenRC. yep, but I cant find this. Maybe is because XEN is not installed rigth now. Instead, if I make it with /etc/init.d/xenstored start it says: WARNING: xenstored is already starting (the same with xencommons and xenconsoled) So, I try do xl list, and says: libxl: error: libxl.c:87:libxl_ctx_alloc: Is xenstore daemon running? failed to stat /var/run/xenstored.pid: No such file or directory cannot init xl context The correct way is start it from systemd? Or through /etc/init.d ? Correct way depends on the init-system you are using. Systemd does things differently compared to OpenRC. My .config from kernel is [configKernel] and my [grub.cfg] I will check those if the above didn't solve it. I have the following installed on my server: [I] app-emulation/xen Installed versions: 4.3.1-r5^t{tbz2}(12:09:22 PM 02/21/2014) (efi -custom-cflags -debug -flask -xsm) [I] app-emulation/xen-tools Installed versions: 4.3.1-r5^t{tbz2}(12:14:51 PM 02/21/2014) (api hvm pam qemu screen -custom-cflags -debug -doc -flask -ocaml -pygrub - python -static-libs -xend PYTHON_SINGLE_TARGET=python2_7 -python2_6 PYTHON_TARGETS=python2_7 - python2_6) I have: o.o. I dont have xen installed. ¿Is that possible? ._. Yes, xen-tools can be installed seperately. You need xen installed to be able to boot with it. I have xen-tools. But I dont have xen. [ebuild N ] app-emulation/xen-4.3.1-r5 USE=efi xsm -custom-cflags -debug -flask I'm trying to install it but says: !!! copy /var/tmp/portage/app-emulation/xen-4.3.1-r5/image/boot/efi/gentoo/xen-4.3.1.efi - /boot/efi/gentoo/xen-4.3.1.efi failed. !!! [Errno 28] No space left on device Maybe is because I tried to re-emerge this? o.o Actually, you haven't got xen installed yet. And the install fails because your EFI-boot partition is full. Also, you need to ensure you boot correctly using Xen. The Linux kernel should be loaded and started by Xen as the primary domain. Yes. I had xen installed. I booted from grub with it, and XEN loaded my system. But once inside, I tried to re-emerge. So, XEN was unistalled, and right now it can't be emerged any more ._. I didn't shutdown my computer yet, So I still using a kernel XEN, in a domain0. I dont know why i dont have space on EFI anymore ._. If I installed it once, why I cant do this twice? ._. I cleaned, on efi, the files from old install xen. This is all i have: /boot/efi: EFI tmp /boot/efi/EFI: gentoo /boot/efi/EFI/gentoo: grubx64.efi df -h: /dev/sdb12,0M 124K 1,9M 7% /boot/efi It just have 2MB space, because I do it following the gentoo handbook that recommends 4MB of space (less 2 from filesystem). Is that enough space? Any way to fix it Without changing the partitions? I dont use LVM :/ Thank you for help!
Re: [gentoo-user] Making XEN functional
Solved the lack of space. I modified my partitions. and xen is back again :) Now I'm going to reboot with xen, start the services and try with xl. Thank you for help. I will keep in contact
Re: [gentoo-user] Making XEN functional
It works! :) Thank you for you help! Now I just need to install my hosts jeje. I'll try XEN, if I see performance is not good, I will change to VirtualBox as you suggested. Thanks again! :)
Re: [gentoo-user] ethernet dont use kernel module
I have news... I boot from USB, and a lspci -v says: 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 09) Subsystem: ASUSTeK Computer Inc. P8H77-I Motherboard Flags: bus master, fast devsel, latency 0, IRQ 43 I/O ports at e000 [size=256] Memory at f0004000 (64-bit, prefetchable) [size=4K] Memory at f000 (64-bit, prefetchable) [size=16K] Capabilities: [40] Power Management version 3 Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [70] Express Endpoint, MSI 01 Capabilities: [b0] MSI-X: Enable- Count=4 Masked- Capabilities: [d0] Vital Product Data Capabilities: [100] Advanced Error Reporting Capabilities: [140] Virtual Channel Capabilities: [160] Device Serial Number 4d-00-00-00-68-4c-e0-00*Kernel driver in use: r8169 Kernel modules: r8169* But when I boot normally (with my gentoo), lspci -v says: 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09) Subsystem: ASUSTeK Computer Inc. P8H77-I Motherboard Flags: bus master, fast devsel, latency 0, IRQ 14 I/O ports at e000 [size=256] Memory at f0004000 (64-bit, prefetchable) [size=4K] Memory at f000 (64-bit, prefetchable) [size=16K] Capabilities: [40] Power Management version 3 Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+ Capabilities: [70] Express Endpoint, MSI 01 Capabilities: [b0] MSI-X: Enable- Count=4 Masked- Capabilities: [d0] Vital Product Data Capabilities: [100] Advanced Error Reporting Capabilities: [140] Virtual Channel Capabilities: [160] Device Serial Number 4d-00-00-00-68-4c-e0-00 Kernel modules: r8168 Typo maybe? It should be r8169. You are rigth :P So, we are back to beginning ._. I need load a module (r8169), and modprobe does not works :P If I'm reading your kernel config correctly, you cannot modprobe r8168; you have it compiled in the kernel. If you set it up as a module (CONFIG_R8169=m), then I don't understand the Function not implemented message. I already compiled the kernel with r8169 as module as you suggested. But is the same :P # modprobe r8169 modprobe: ERROR: could not insert 'r8169': Function not implemented To install the firmware [1], I need to run a script autorun.sh. When I do that, say me this: http://bpaste.net/show/186711/ [1] http://www.realtek.com.tw/Downloads/downloadsView.aspx?Langid=1PNid=13PFid=5Level=5Conn=4DownTypeID=3GetDown=false#2 I'm going crazzy lol Thank you! Bytes! ;)
Re: [gentoo-user] ethernet dont use kernel module
2014-03-09 5:28 GMT-03:00 Canek Peláez Valdés can...@gmail.com: On Sun, Mar 9, 2014 at 2:18 AM, Facundo Curti facu.cu...@gmail.com wrote: [snip] First of all, you should not need to run any script. udev should handle everything by itself. http://bpaste.net/show/186711/ Second of all: could not open /proc/modules: No such file or directory How is that even possible? In the first .config you posted, you had CONFIG_MODULES unset, but I'm assuming you changed CONFIG_R8169 to 'm' by running make menuconfig and going into the correct option, and that you don't just edited your .config file. Right? Because if you edited your .config by hand, that *CANNOT* result in anything good, unless you know precisely what are you doing, and even then most people would not recommend it. Yes, of course :) I used make menuconfig, and i put modules ON. It looks like you don't have kernel module support. Is that so? I turned this on. Now I made an emerge --sync, and emerge --update --newuse --deep world And this give me an update of gentoo-sources (3.10 I had to 3.12). So I'm going to compile the new kernel to see if it works :P What does the following command prints: find /lib/modules -name *r816* I post it in a few secs :) Please wait I will try first compiling the new kernel.
Re: [gentoo-user] ethernet dont use kernel module
I suggest you to try r8168 module. The realtek RTL8111/8168 chip is buggy. The in-kernel module r8169 failed to work with the chip. When i used r8169 and booted to windows or the other way around the network card was hard locked. It required a complete power out for a minute to reset the card. With r8168 module there is no problems. The code is here: r8168.googlecode.com/files/r8168-8.036.00.tar.gz Broken link :P I've fixed it!! Finally! But i have to say it... I'm stupid!! The problem was that I was booting from the wrong kernel. I was booting from kernel-gentoo, and I was installing the new kernel as kernel-version-gentoo. So, no matter how much changes I made, the kernel was always the same :P Sorry for make lose your time, was a stupid mistake from me :/ Thank you for patience!
Re: [gentoo-user] Cant boot with SSD, GPT, GRUB2 and UEFI
2014-03-08 5:27 GMT-03:00 Neil Bothwick n...@digimed.co.uk: On Sat, 8 Mar 2014 02:31:35 -0300, Facundo Curti wrote: Another - no related - problem I have is that I cant update my system ._. I do a emerge --newuse --deep --update world I dont get errors, but never starts to update. Emerge work as using a --pretend atribute, this say me all the packages to install/rebuild, but dont do anything... o.o The portage: http://bpaste.net/show/186359 Is a output of 16k lines and 1,1 mb. Watch out! :/ It rebuild almost everything because I added doc and X to USE flags, and almost all package uses docs ._. (I think that..) As previously stated, you should NOT enable the doc USE flag globally. User docs are generated by default the flag controls the building of developer docs, which no one needs for everything, and brings in some heavy dependencies for some packages. % euses doc doc - Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally -- Neil Bothwick I typed Format SER: and accidentally killed a telephone operator! :O Thank you. I didn't know that. So i'm going to disable this :) About boot... :/ It still not working. I boot from sysresccd, make a: grub2-install /dev/sdb And give me this output: Path `/boot/grub` is not redeable by GRUB on boot. Installation is impossible. Aborting So, I try to do the same, but in chroot. I mount everything (Including proc and sys), and: chroot /mnt/gentoo /bin/bash grub2-install --target x86_64-efi /dev/sdb //Without target gives another error And grub2-install says: Fatal: Couldn't open either sysfs or procfs directories for accesing EFI variables. Try `modprobe efivars` as root. (Same than before) I was searching on google and I find various similar topics [1]. It recomend to mount proc and sys, but I already do thath... (unless I do that wrong) Somes ideas? :/ [1] https://bbs.archlinux.org/viewtopic.php?id=165516
Re: [gentoo-user] Cant boot with SSD, GPT, GRUB2 and UEFI
Yes. I press F8 (boot menu) and I choice UEFI:Sandisk :/ 2014-03-08 6:37 GMT-03:00 Stefan G. Weichinger li...@xunil.at: Am 08.03.2014 10:25, schrieb Facundo Curti: About boot... :/ It still not working. I boot from sysresccd Did you boot via EFI or via BIOS? You have to choose (U)EFI in your BIOS to enable the whole EFI-environment. If you boot sysresccd via BIOS you don't get the efi variables accessible.
Re: [gentoo-user] Cant boot with SSD, GPT, GRUB2 and UEFI
2014-03-08 6:46 GMT-03:00 Pavel Volkov negai...@gmail.com: On Saturday 08 March 2014 06:25:32 Facundo Curti wrote: So, I try to do the same, but in chroot. I mount everything (Including proc and sys), and: chroot /mnt/gentoo /bin/bash grub2-install --target x86_64-efi /dev/sdb //Without target gives another error And grub2-install says: Fatal: Couldn't open either sysfs or procfs directories for accesing EFI variables. Try `modprobe efivars` as root. (Same than before) I was searching on google and I find various similar topics [1]. It recomend to mount proc and sys, but I already do thath... (unless I do that wrong) Somes ideas? :/ Is there any content in ls /sys/firmware/efi/vars/ directory? If not, are you sure you boot sysrescuecd in EFI mode? It can boot in both EFI and legacy mode. Check your boot menu again. Finally!!! I on gentoo with out usb! jaja I just needed make some changes on BIOS, I was using a dual UEFI and Legacy (UEFI first) (Thank you Pavel): https://www.dropbox.com/s/rj9ul87kptzglrt/20140308_065958.jpg Thank you all for the help!! I spent all the night trying to fix that ._. I fell sleep on 7:40 am lol (I also had problems booting with rescue cd, with systemd, and a missconfig from fstab . lol). Thank you once more! Bytes! ;)
[gentoo-user] ethernet dont use kernel module
Hi all. I'm again :P (I'm becoming an annoying). I have a realtek 8111F ethernet. I boot from a live-usb, make an lspci -v and says ethernet uses r8169 module. I compiled my kernel with this module, and when I start the system eth0 does not exist (Just lo), and a lspci -v says anything about modules. Also I tried doing modprobe r8169 with no errors, but I still with out eth0. So, any ideas why it is happening? :/ As always.. I hope make me understand, my english is no too good Thank you list! Bytes! ;)
Re: [gentoo-user] ethernet dont use kernel module
This dont show anything ._. Here my dmseg complete: bpaste.net/show/186667 And my .config from kernel: http://bpaste.net/show/186668 2014-03-08 21:53 GMT-03:00 Canek Peláez Valdés can...@gmail.com: On Sat, Mar 8, 2014 at 6:12 PM, Facundo Curti facu.cu...@gmail.com wrote: Hi all. I'm again :P (I'm becoming an annoying). I have a realtek 8111F ethernet. I boot from a live-usb, make an lspci -v and says ethernet uses r8169 module. I compiled my kernel with this module, and when I start the system eth0 does not exist (Just lo), and a lspci -v says anything about modules. Also I tried doing modprobe r8169 with no errors, but I still with out eth0. So, any ideas why it is happening? :/ As always.. I hope make me understand, my english is no too good Thank you list! Bytes! ;) In your system (booting directly, not with LiveCD), do: dmesg | grep -i 8169 I'm pretty sure you will need some kind of firmware for your card. The logs in dmesg will tell. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México
Re: [gentoo-user] ethernet dont use kernel module
2014-03-09 1:50 GMT-03:00 Canek Peláez Valdés can...@gmail.com: On Sat, Mar 8, 2014 at 10:28 PM, Facundo Curti facu.cu...@gmail.com wrote: This dont show anything ._. Here my dmseg complete: bpaste.net/show/186667 And my .config from kernel: http://bpaste.net/show/186668 Please don't top-post. You have the module compiled in the kernel. That should not be a problem, but perhaps for debugging having it as a module would help (to see what happens when you rmmod and modprobe it). From the kernel source code, it seems that the module requires some firmware. Do you have linux-firmware installed? If not, install it and see if now gets recognized. From the logs, the only acknowledgement of your network card I see are the following lines: [0.191153] pci :03:00.0: [10ec:8168] type 00 class 0x02 [0.191167] pci :03:00.0: reg 10: [io 0xe000-0xe0ff] [0.191193] pci :03:00.0: reg 18: [mem 0xf0004000-0xf0004fff 64bit pref] [0.191211] pci :03:00.0: reg 20: [mem 0xf000-0xf0003fff 64bit pref] [0.191279] pci :03:00.0: supports D1 D2 [0.191280] pci :03:00.0: PME# supported from D0 D1 D2 D3hot D3cold [0.191305] pci :03:00.0: System wakeup disabled by ACPI That is weird, if it's a firmware problem, it should complain about it in the logs. From your system, what does lspci says? Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México Sorry about top posting, My bad. Gmail jaja. I need to find a email client :P Thank you for help. I'm trying to install firmware as you sugest. But now I have the problem, when I do modprobe r8168 it says: Error: Could not insert 'r8168': Function not implemented
Re: [gentoo-user] ethernet dont use kernel module
2014-03-09 3:25 GMT-03:00 Dale rdalek1...@gmail.com: Facundo Curti wrote: But now I have the problem, when I do modprobe r8168 it says: Error: Could not insert 'r8168': Function not implemented Typo maybe? It should be r8169. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! No, sorry. Was a mistake in the first place. The name of the module is r8168 :P 2014-03-09 3:12 GMT-03:00 Canek Peláez Valdés can...@gmail.com: On Sun, Mar 9, 2014 at 12:08 AM, Facundo Curti facu.cu...@gmail.com wrote: [snip] Sorry about top posting, My bad. Gmail jaja. I need to find a email client :P No prob. Thank you for help. I'm trying to install firmware as you sugest. But now I have the problem, when I do modprobe r8168 it says: Error: Could not insert 'r8168': Function not implemented If I'm reading your kernel config correctly, you cannot modprobe r8168; you have it compiled in the kernel. If you set it up as a module (CONFIG_R8169=m), then I don't understand the Function not implemented message. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México After install firmware, now I can see on my lspci -v http://bpaste.net/show/186693 So, how you can see, now I have a kernel module. But I still cannot see a eth0 device :/ at first I througth it could be a misconfig, but: ifconfig -a: http://bpaste.net/show/186691/ dmesg | grep 8168: [0.190299] pci :03:00.0: [10ec:8168] type 00 class 0x02 Any way modprobe r8168 still not work :/ Thank you! :)
Re: [gentoo-user] ethernet dont use kernel module
2014-03-09 3:59 GMT-03:00 Canek Peláez Valdés can...@gmail.com: On Sun, Mar 9, 2014 at 12:39 AM, Facundo Curti facu.cu...@gmail.com wrote: [snip] After install firmware, now I can see on my lspci -v http://bpaste.net/show/186693 Well, that's progress, I suppose. So, how you can see, now I have a kernel module. But I still cannot see a eth0 device :/ If you are using systemd (and by your logs, I see you do), you will not have an eth0 device. You will have something like enp3s2 or similar, unless you used net.ifnames=0 in your kernel command line, or you followed the steps from [1] to disable the predictable network interface names. Yes, Im using systemd. Also I have a UEFI motherboard and a SDD disk. at first I througth it could be a misconfig, but: ifconfig -a: http://bpaste.net/show/186691/ I don't think that's the output from ifconfig. Could you please post it? lol. Im sorry. Bad paste jaja. http://bpaste.net/show/186692/ I just have loopback interface :P dmesg | grep 8168: [0.190299] pci :03:00.0: [10ec:8168] type 00 class 0x02 Any way modprobe r8168 still not work :/ I still don't recognize the error. What does lsmod | grep 816[89] says? It says: [0.190299] pci :03:00.0: [10ec:8168] type 00 class 0x02 [0.818610] sd 0:0:0:0: [sda] 4096-byte physical blocks Regards. [1] http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México
Re: [gentoo-user] ethernet dont use kernel module
Sorry, bad paste. I still don't recognize the error. What does lsmod | grep 816[89] says? It says: [0.190299] pci :03:00.0: [10ec:8168] type 00 class 0x02 [0.816810] sd 0:0:0:0: [sda] 4096-byte physical blocks ^ I'm writing this by hand because I cant connect to lan. I need to boot from usb each time I want upload to bpaste lol. The first time I discarded the last line because the matching was a time label.
[gentoo-user] Installing gentoo - First emerge
Hi list! It is the second time i'm going to install gentoo, im not an expert but I know basics :P I'm ok until 6.c - (optional) Use systemd Then I follow the wiki [1]. But the real problem is that, when I want to install systemd or vim (any of these), emerge want to install 119 dependencies, and this give me dependencies errors. I can solve the dependencies, but another apareace, I solve that, and another... Until one I cant solve anymore... :/ Any way, I can't understand why portage want to install 119 packets just for vim! Here is the portage installing vim: http://bpaste.net/show/186190/ And here installing systemd: http://bpaste.net/show/186195/ emerge Is trying to install x. ¿why? This package for example, I think is unnecesary for my system... x11-drivers/xf86-video-ati-7.2.0 USE=-glamor -udev 806 kB Here my lspci: http://bpaste.net/show/186196/ And my make.conf: http://bpaste.net/show/186197 [1] https://wiki.gentoo.org/wiki/SystemdHi list! It is the second time i'm going to install gentoo, im not an expert but I know basics :P I'm ok until 6.c - (optional) Use systemd Then I follow the wiki [1]. But the real problem is that, when I want to install systemd or vim (any of these), emerge want to install 119 dependencies, and this give me dependencies errors. I can solve the dependencies, but another apareace, I solve that, and another... Until one I cant solve anymore... :/ Any way, I can't understand why portage want to install 119 packets just for vim! Here is the portage installing vim: http://bpaste.net/show/186190/ And here installing systemd: http://bpaste.net/show/186195/ emerge Is trying to install x. ¿why? This package for example, I think is unnecesary for my system... x11-drivers/xf86-video-ati-7.2.0 USE=-glamor -udev 806 kB Here my lspci: http://bpaste.net/show/186196/ And my make.conf: http://bpaste.net/show/186197 Thank list! I hope would be understanded, I don't speak english [1] https://wiki.gentoo.org/wiki/Systemd
Re: [gentoo-user] Installing gentoo - First emerge
2014-03-07 14:49 GMT-03:00 Canek Peláez Valdés can...@gmail.com: On Fri, Mar 7, 2014 at 11:21 AM, Facundo Curti facu.cu...@gmail.com wrote: Hi list! It is the second time i'm going to install gentoo, im not an expert but I know basics :P Hi Facundo. [snip] But the real problem is that, when I want to install systemd or vim (any of these), emerge want to install 119 dependencies, and this give me dependencies errors. The first time you install Gentoo, it's relatively easy to get cyclic dependencies since you have only the minimal set of packages installed (this set is called @system, BTW). Try this: USE=-doc -X emerge -pv systemd vi I'm sure most of the cyclic dependencies will break, and for the first leg of the installation you don't need X nor documentation. Did you selected a profile different from the default one? First I was using desktop profile, after problems, I returned to default one. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México Thank you sp much!! :) This solves everything!
[gentoo-user] Cant boot with SSD, GPT, GRUB2 and UEFI
Hi all. I'm again with a newbie problem :/ I almost finish to install gentoo but I have a little problem, I can't boot gentoo ._. I already installed the system with GRUB2 and systemd, I made partitions with GPT using parted, but I can't boot. My partitions: http://bpaste.net/show/186352/ This legacy_boot flag is a recent try I made :P. I also tried with boot flag, and with no flags. But any way this does not work My lspci: http://bpaste.net/show/186196/ My make.conf: http://bpaste.net/show/186354/ My /boot/grub/grub.cfg http://bpaste.net/show/186355 GRUB never starts, I just can see the UEFI menu. Another - no related - problem I have is that I cant update my system ._. I do a emerge --newuse --deep --update world I dont get errors, but never starts to update. Emerge work as using a --pretend atribute, this say me all the packages to install/rebuild, but dont do anything... o.o The portage: http://bpaste.net/show/186359 Is a output of 16k lines and 1,1 mb. Watch out! :/ It rebuild almost everything because I added doc and X to USE flags, and almost all package uses docs ._. (I think that..) Any ideas? :P I hope somebody can help me plese! :/ I hope you understend me, me english is not perfect :/ Thank you all! [?] P.D: I was following the gentoo handbook, and google for helps. :) But now I'm atasked D: 330.gif
[gentoo-user] Re: Cant boot with SSD, GPT, GRUB2 and UEFI
Sorry about the double posting. I dont know what I made, but I could update the system. I just tried to install X, I changed some local uses in package.use because because errors. Afterwards tried to update and everything works :O jaja. Any way, I still with problems on booting :/ 2014-03-08 2:31 GMT-03:00 Facundo Curti facu.cu...@gmail.com: Hi all. I'm again with a newbie problem :/ I almost finish to install gentoo but I have a little problem, I can't boot gentoo ._. I already installed the system with GRUB2 and systemd, I made partitions with GPT using parted, but I can't boot. My partitions: http://bpaste.net/show/186352/ This legacy_boot flag is a recent try I made :P. I also tried with boot flag, and with no flags. But any way this does not work My lspci: http://bpaste.net/show/186196/ My make.conf: http://bpaste.net/show/186354/ My /boot/grub/grub.cfg http://bpaste.net/show/186355 GRUB never starts, I just can see the UEFI menu. Another - no related - problem I have is that I cant update my system ._. I do a emerge --newuse --deep --update world I dont get errors, but never starts to update. Emerge work as using a --pretend atribute, this say me all the packages to install/rebuild, but dont do anything... o.o The portage: http://bpaste.net/show/186359 Is a output of 16k lines and 1,1 mb. Watch out! :/ It rebuild almost everything because I added doc and X to USE flags, and almost all package uses docs ._. (I think that..) Any ideas? :P I hope somebody can help me plese! :/ I hope you understend me, me english is not perfect :/ Thank you all! [?] P.D: I was following the gentoo handbook, and google for helps. :) But now I'm atasked D: 330.gif
Re: [gentoo-user] Cant boot with SSD, GPT, GRUB2 and UEFI
2014-03-08 3:20 GMT-03:00 Pavel Volkov negai...@gmail.com: On Saturday 08 March 2014 02:31:35 Facundo Curti wrote: Hi all. I'm again with a newbie problem :/ I almost finish to install gentoo but I have a little problem, I can't boot gentoo ._. I already installed the system with GRUB2 and systemd, I made partitions with GPT using parted, but I can't boot. My partitions: http://bpaste.net/show/186352/ This legacy_boot flag is a recent try I made :P. I also tried with boot flag, and with no flags. But any way this does not work With UEFI you don't need bios_grub partition. You also don't nee the legacy_boot flag. But what you need is a FAT32 partiton where the GRUB's UEFI binary will be installed. You mount that partition at /boot/efi You should also set GRUB_PLATFORMS=efi-64 in make.conf and update world. After that run grub2-install /dev/sda (or whatever block device you use). Then you can verify that GRUB 2 is added into UEFI boot menu: run efibootmgr as root (it's from sys-boot/efibootmgr package). Thank you men! You are awesome. But I have a problem, after I do emerge --update world when I make grub2-install, I get off this error: /usr/lib/grub/i386-pc doesn't exist. Please especify --target or --directory So I choice a target: grub-install --target x86_64-efi/ /dev/sdb And this says me: Fatal: Couldn't open either sysfs or procfs directories for accesing EFI variables Try modprobe efivars as root I try it and nothing happens... I mounted sys and proc following the gentoo handbook: # mount -t proc proc /mnt/gentoo/proc# mount --rbind /sys /mnt/gentoo/sys# mount --rbind /dev /mnt/gentoo/dev This is my df -h: Filesystem Size Used Avail Use% Mounted on rootfs 15G 3.1G 11G 23% /udev 10M 4.0K 10M 1% /devtmpfs15G 3.1G 11G 23% //dev/sdb215G 3.1G 11G 23% / shm 1.8G 0 1.8G 0% /dev/shm/dev/sdb4 92G 60M 87G 1% /home/dev/sdb1 2.0M 124K 1.9M 7% /boot/efiudev 10M 4.0K 10M 1% /devshm 1.8G 0 1.8G 0% /dev/shm No errors mounting :/ Thank you! Bytes! ;)
Re: [gentoo-user] Cant boot with SSD, GPT, GRUB2 and UEFI
2014-03-08 3:37 GMT-03:00 Pavel Volkov negai...@gmail.com: Some more update: 1. You should correctly configure your kernel too boot with UEFI (but GRUB will still boot). Yep, this is done :) 2. I think you should run grub2-install from EFI-booted system. I suggest SystemRescueCD, Gentoo minimal can't do that. aaa, ok. Thanks, So my last question was out of place jaja :) I will try that. Thx!
Re: [gentoo-user] Fwd: How about the gentoo server or cluster in production environment?
Debian, and Ubuntu are desktop platforms. Yes they are widely used in production server environments (the slow ones that is) however, our last experience with Debian squeeze as a whole (ie, source tree, reliability, performance), was inhospitable. Dare I say, it was making as nauseated as we would be behind a Windows machine... Really? Debian is a desktop distro? Gentoo it is also, as ALMOST every distro... Debian uses old software, because all packages are very tested, and have bug fixes, before launch as stable... Debian is a REALLY stable distro, is for that why is very used as server. And ubuntu? Yes, it is shit [?] I think ubuntu is used as server, just because is easy [?] Any way... I think every stable distro, could be used as server. Who is better? Well, this depends on every one. Try to pick the best music group and you will have a same large discusion. Sorry if my english is not perfect. Bye! ;) 361.gif360.gif
Re: [gentoo-user] RAID 1 vs RAID 0 - Read perfonmance
Thank you all! :) I finally have all clear. I'm going to do raid 10. Any way, I'm going to do a benchmark before to install. Thank you!;) 2014-02-24 14:03 GMT-03:00 Jarry mr.ja...@gmail.com: On 24-Feb-14 7:27, Facundo Curti wrote: n= number of disks reads: raid1: n*2 raid0: n*2 writes: raid1: n raid0: n*2 But, in real life, the reads from raid 0 doesn't work at all, because if you use chunk size from 4k, and you need to read just 2kb (most binary files, txt files, etc..). the read speed should be just of n. Definitely not true. Very rarely you need to read just one small file. Mostly you need many small files (i.e. compilation) or a few big files (i.e. database). I do not know what load you expect, but in my case raid0 (with SSD) gave me about twice the r/w speed on heavily-loaded virtualization platform with many virtual machines. And not only speed is higher, but also IOPS are splitted to two disks (nearly doubled). I did some testing with 2xSSD/512GB in raid1, 2xSSD/256GB in raid0 and 3xSSD/256GB in raid5 (I used 840/pro SSD with quite good HW-controller but I think with mdadm it might be similar). Raid0 was way ahead of other two configurations in my case. Finally I went for 4xSSD/256GB in raid10 as I needed both speed and redundancy... Jarry -- ___ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.
[gentoo-user] RAID 1 vs RAID 0 - Read perfonmance
Hi. I am again, with a similar question to previous. I want to install RAID on SSD's. Comparing THEORETICALLY, RAID0 (stripe) vs RAID1 (mirrior). The performance would be something like this: n= number of disks reads: raid1: n*2 raid0: n*2 writes: raid1: n raid0: n*2 But, in real life, the reads from raid 0 doesn't work at all, because if you use chunk size from 4k, and you need to read just 2kb (most binary files, txt files, etc..). the read speed should be just of n. On the other side, I read over the net, that kernel don't support multithread reads on raid1. So, the read speed will be just n. Always. ¿It is true? Anyway, my question is. ¿Who have the best read speed for the day to day? I'm not asking about reads off large files. I'm just asking in the normal use. Opening firefox, X, regular files, etc.. I can't find the guide definitive. It allways are talking about theoretically performance, or about real life but without benchmarks or reliable data. Having a RAID0 with SSD, and following [2] on SSD Stripe Optimization should I have the same speed as an RAID1? My question is because i'm between. 4 disks raid1, or RAID10 (I want redundancy anyway..). And as raid 10 = 1+ 0. I need to know raid0 performance to take a choice... I don't need write speed, just read. ¿Anyone knows the true about this? ¿Somebody tried this? Thanx a lot.!! Bytes! ;) [1]http://www.pcstats.com/articleview.cfm?articleid=890page=5 [2] http://www.overclock.net/t/484367/guide-all-you-ever-wanted-to-know-about-raid
Re: [gentoo-user] RAID 1 on /boot
Thank you so much for the help! :) It was very useful. I just need wait my new PC, and try it *.* jeje. Bytes! ;)
Re: [gentoo-user] RAID 1 on /boot
Please let us know what the performance is like when using the setup you are thinking off. Of course. I will post these here :) 2014-02-22 16:13 GMT-03:00 Facundo Curti facu.cu...@gmail.com: Thank you so much for the help! :) It was very useful. I just need wait my new PC, and try it *.* jeje. Bytes! ;)
Re: [gentoo-user] SSD success - I think
Man fstrim makes no mention of file-system types. Maybe I've not laid out the partitions properly. I used gparted from a recent System Rescue CD (http://sysresccd.org), which said it was leaving 1MB unused before /dev/sda1. While I'm here, would anyone like to suggest suitable parameters to mkfs for any of my file-systems? Here's the fstab: /dev/sda1 /boot ext2noauto,relatime 1 2 /dev/sda2 noneswapsw 0 0 /dev/sda5 / ext4relatime0 1 you might want this to read relatime,discard to handle the trim automagically. if you are concerned about writes i'd suggest noatime for all of these I agree. Also I recommend async, nodiratime and norealtime. All these will make a better performance. See man mount. Bytes! ;) 2014-02-22 14:19 GMT-03:00 Michael Hampicke m...@hadt.biz: Am 22.02.2014 15:47, schrieb Peter Humphrey: I find though that fstrim can't operate on /boot, which is a separate ext2 file system. It reports: fstrim: /boot: FITRIM ioctl failed: Inappropriate ioctl for device Is this because it's an ext2 partition, not ext4 like the rest of them? Man fstrim makes no mention of file-system types. Yes, only ext4 of the extX file systems supports discard/trim Maybe I've not laid out the partitions properly. I used gparted from a recent System Rescue CD (http://sysresccd.org), which said it was leaving 1MB unused before /dev/sda1. While I'm here, would anyone like to suggest suitable parameters to mkfs for any of my file-systems? Here's the fstab: /dev/sda1 /boot ext2noauto,relatime 1 2 /dev/sda2 noneswapsw 0 0 /dev/sda5 / ext4relatime 0 1 /dev/sda6 /varext4relatime 0 2 /dev/sda7 /home ext4relatime 0 2 /dev/sda8 /var/cache/squidext4relatime 0 3 /dev/sda9 /usr/portageext4relatime 0 3 /dev/sda10 /usr/portage/packages ext4relatime 0 4 /dev/sda11 /usr/local ext4relatime 0 2 proc/proc procdefaults 0 0 tmpfs /tmptmpfs nodev,nosuid 0 0 tmpfs /var/tmptmpfs nodev,nosuid 0 0 shm /dev/shmtmpfs nodev,nosuid,noexec 0 0 I created all the ext4 file-systems with -O ^has_journal to avoid concentrated wear. Is this still a good idea nowadays? I'm happy to sacrifice the comfort of journalling since recovering this small box from backup is so quick and easy. Of course I did plenty of googling before doing anything and picked out what still seemed appropriate, but I could easily have missed something important. I used the default options for ext4 on my SSDs. The only thing I do is, I set noatime in fstab. But I do this for all file systems. My oldest SSD is from 2008/2009, I'm not sure. It's a 32GB SuperTalent, and it still runs great today. And I did not care for low writes etc. I just used it like any other disk.
[gentoo-user] RAID 1 on /boot
Hi all. I'm new in the list, this is my third message :) First at all, I need to say sorry if my english is not perfect. I speak spanish. I post here because gentoo-user-es it's middle dead, and it's a great chance to practice my english :) Now, the problem. I'm going to get a new PC with a disc SSD 120GB and another HDD of 1TB. But in a coming future, I want to add 2 or more disks SSD. Mi idea now, is: Disk HHD: /dev/sda /dev/sda1 26GB /dev/sda2 90GB /dev/sda3 904GB Disk SSD: /dev/sdb /dev/sdb1 26GB /dev/sdb2 90GB /dev/sdb3 4GB And use /dev/sdb3 as swap. (I will add more with another SSD in future) /dev/sda3 mounted in /home/user/data (to save data unused) And a RAID 1 with: md0: sda1+sdb1/ md1: sda2+sdb2/home (sda1 and sda2 will be made with the flag: write-mostly. This is useful for disks slower). In a future, I'm going to add more SSD's on this RAID. My idea is the fastest I/O. Now. My problem/question is: Following the gentoo's dochttp://www.gentoo.org/doc/es/gentoo-x86+raid+lvm2-quickinstall.xml, it says I need to put the flag --metadata=0.9 on the RAID. My question is ¿This will make get off the performance?. I only found this documenthttps://raid.wiki.kernel.org/index.php/RAID_superblock_formats#The_version-0.90_Superblock_Format. This says the difference, but nothing about performance and advantages/disadvantages. Another question is, ¿GRUB2 still unsupporting metadata 1.2? In case that metadata get off performance, and GRUB2 doesn't support this. ¿Anyone knows how can I fix this to use metadata 1.2? I don't partitioned more, because I saw this unnecessary. I just need to separate /home in case I need to format the system. But if I need to separate /boot to make it work, I don't have problems doing that. But of course, /boot also as RAID... ¿Somebody have any ideas to make it work? Thank you all. Bytes! ;)
Re: [gentoo-user] Fwd: How about the gentoo server or cluster in production environment?
the advantage of clustering servers though is you can take one out and update it. if you use a distributed compliation [1] and tell portage to keep the binaries [2] you can take a few out and do them together, then the remainder do not require compilation as the compile has been It is True. I didnt throught on thath. :) That is such total FUD I just can't even say anything else about it without using some unsavory words. You no need to be disrespectfull... It just was my opinion, and everybody are here to learn... Everybody say good points. I think it is just a matter of taste. I hope get the chance to try gentoo as server someday. For now, i just stay in debian. (And my lovely gentoo as desktop, of course). Bye! ;)
Re: [gentoo-user] Fwd: How about the gentoo server or cluster in production environment?
I think a more stable distro is better for production. My choice is debian. I think you cant find nothing more stable that debian... Gentoo makes the best server os because it's a custom built os where the admin knows each and every aspect of the os. This is true, but gentoo is a little unstable to use on production. The system must be on 365 days/year. ¿and when you need to update the system? This will use all the processor and the system will be overloaded. This means users can't use the system when this is updating... I think the best for a server is debian. I didn't try red hat but I see this like a commercial distro :/ Any way, red hat is very used as server. And if you choice to pay, you will have official support (Other wise, you are alone :/) P.D: I'm sorry if my english is not perfect, i speak spanish [?] 2014-02-19 21:36 GMT-03:00 Franklin Wang touch2...@gmail.com: Maybe it's intresting, although I prefer to use red hat, suse or ubuntu in datacenter as Google. Slackware servers're not very poppular here On 2014年02月20日 08:14, Nilesh Govindrajan wrote: On 20 Feb 2014 05:12, Franklin Wang touch2...@gmail.com wrote: and what about slackware for server? Original Message Subject: How about the gentoo server or cluster in production environment? Date: Fri, 29 Nov 2013 09:41:28 +0800 From: Franklin Wang touch2...@gmail.com To: gentoo-ser...@lists.gentoo.org, gentoo-clus...@lists.gentoo.org Hi all, I'm not familiar with gentoo server and cluster. So could you tell me the experience about them? Thanks. Franklin Wang Gentoo makes the best server os because it's a custom built os where the admin knows each and every aspect of the os. Security wise, there are no unwanted or unused stuff, so lesser bugs to deal with. Clustering, well, you can do that using glusterfs -- skype:touch21st, Gtalk:touch21st, Yahoo/MSN:franklinwan...@yahoo.com, Xing/Linkedin:Franklin Wang 349.gif