Re: [gentoo-user] ati-drivers:legacy fail to build with kernel 3.12
On 10/01/2013 08:16:23 PM, Volker Armin Hemmann wrote: Am 01.10.2013 10:00, schrieb Helmut Jarausch: Hi, in good tradition the new 3.12 Linux kernel breaks ati-drivers again (as always in the past). Does anybody know about a patch to make x11-drivers/ati-drivers:legacy compile with linux-3.12-rc3 ? Trying to emerge ati-drivers-13.1_pre897 (currently the only legacy driver) with 3.12-rc3 gives MODPOST 1 modules FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'acpi_bus_get_device' Many thanks for a hint, Helmut so you are using a driver meant for stable (old) systems, with a pre release kernel - and you don't even know what do do with that message? I'm quite sure there are a lot of things which you don't known either. Does that do no seem a bit silly? hm? Thanks for this compliment! acpi_bus_get_device is gpl only. You can undo that. If you want. But seriously, what is wrong with using stable releases like 3.10.x? If you use ati-drivers, you don't need the amd driver improvements in 3.11 or 3.12. There are two points here: - first I consider it as my contribution to GenToo to help testing. The problem with the 3.12 prerelease will definitely continue with the main release coming in about 4 weeks. - This 3.12 prerelease has a lot of BTRFS pataches. Since I'm using BTRFS for most of my file systems, I like to have the most recent fixes. Thank you Helmut
Re: [gentoo-user] ati-drivers:legacy fail to build with kernel 3.12
On 02/10/2013 09:02, Helmut Jarausch wrote: On 10/01/2013 08:16:23 PM, Volker Armin Hemmann wrote: Am 01.10.2013 10:00, schrieb Helmut Jarausch: Hi, in good tradition the new 3.12 Linux kernel breaks ati-drivers again (as always in the past). Does anybody know about a patch to make x11-drivers/ati-drivers:legacy compile with linux-3.12-rc3 ? Trying to emerge ati-drivers-13.1_pre897 (currently the only legacy driver) with 3.12-rc3 gives MODPOST 1 modules FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'acpi_bus_get_device' Many thanks for a hint, Helmut so you are using a driver meant for stable (old) systems, with a pre release kernel - and you don't even know what do do with that message? I'm quite sure there are a lot of things which you don't known either. Does that do no seem a bit silly? hm? Thanks for this compliment! acpi_bus_get_device is gpl only. You can undo that. If you want. But seriously, what is wrong with using stable releases like 3.10.x? If you use ati-drivers, you don't need the amd driver improvements in 3.11 or 3.12. There are two points here: - first I consider it as my contribution to GenToo to help testing. The problem with the 3.12 prerelease will definitely continue with the main release coming in about 4 weeks. - This 3.12 prerelease has a lot of BTRFS pataches. Since I'm using BTRFS for most of my file systems, I like to have the most recent fixes. Calm down boys. Helmut, the problem is that you are trying to use ATI's proprietary code with GPL code in the kernel. The kernel devs do not want you to do that and that is their right. What you should have done in your mail is indicate that you read the error message and understand it, and why you want to continue regradless. Then you should have mentioned what Google told you about the problem, or something to show what you already did to help yourself. As it stands you post is really just asking someone else to do your homework for you and that you are too lazy to do it yourself. I'm sure that's not want you are really doing, it just looks that way. -- Alan McKinnon alan.mckin...@gmail.com
[gentoo-user] Re: PORTDIR default - changing PORTDIR variable
Set PORTDIR for backward compatibility with various tools like: euse - bug #474574 euses and ufed - bug #478318 PORTDIR=/usr/portage
Re: [gentoo-user] Continuous beeping with kernel 3.10 and 3.11
On Tue, 01 Oct 2013 21:09:27 -0500, Dale wrote: I hate getting older. lol It's a lot better than the alternative... -- Neil Bothwick A clean desk is a sign of a cluttered desk drawer. signature.asc Description: PGP signature
Re: [gentoo-user] wlan0 failed to start
2013/10/2 Tomáš Hájek tomcat.mas...@gmail.com: Hi guys! For me this is first time installing gentoo on my own and right now I'm really out of ideas. My problem is: tombook tom # /etc/init.d/net.wlan0 start net.wlan0 | * Bringing up interface wlan0 net.wlan0 | * ERROR: interface wlan0 does not exist net.wlan0 | * Ensure that you have loaded the correct kernel module for your hardware net.wlan0 | * ERROR: net.wlan0 failed to start tombook tom # You can see that my wifi interface does not come up and ifconfig don't know about it either. tombook tom # ifconfig -a lo: flags=73AKTIVOVÁNO,SMYČKA,BĚŽÍ mtu 65536 inet 127.0.0.1 síťová_maska 255.0.0.0 inet6 ::1 délka_prefixu 128 scopeid 0x10stroj loop délka_odchozí_fronty 0 (Místní smyčka) RX packetů 0 bajtů 0 (0,0 B) RX chyb 0 zahozeno 0 přetečení 0 rámců 0 TX packetů 0 bajtů 0 (0,0 B) TX chyb 0 zahozeno 0 přetečení 0 přenos 0 kolizí 0 sit0: flags=128NEARP mtu 1480 sit délka_odchozí_fronty 0 (IPv6-in-IPv4) RX packetů 0 bajtů 0 (0,0 B) RX chyb 0 zahozeno 0 přetečení 0 rámců 0 TX packetů 0 bajtů 0 (0,0 B) TX chyb 0 zahozeno 0 přetečení 0 přenos 0 kolizí 0 tombook tom # I've tried probably every solution I could find on forums, but nothing works. I would make me very happy if someone could help me solving this problem :) For further info here is my lspci, and config as attachment of this email. tombook tom # lspci -v 00:00.0 Host bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Complex Subsystem: ASUSTeK Computer Inc. Device 103b Flags: bus master, 66MHz, medium devsel, latency 32 lspci: Unable to load libkmod resources: error -12 00:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6320] (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Device 103b Flags: bus master, fast devsel, latency 0, IRQ 45 Memory at c000 (32-bit, prefetchable) [size=256M] I/O ports at f000 [size=256] Memory at feb0 (32-bit, non-prefetchable) [size=256K] Expansion ROM at unassigned [disabled] Capabilities: [50] Power Management version 3 Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00 Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 ? Kernel driver in use: radeon 00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI Audio [Radeon HD 6250/6310] Subsystem: ASUSTeK Computer Inc. Device 103b Flags: bus master, fast devsel, latency 0, IRQ 43 Memory at feb44000 (32-bit, non-prefetchable) [size=16K] Capabilities: [50] Power Management version 3 Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00 Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 ? Kernel driver in use: snd_hda_intel 00:04.0 PCI bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Port (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 1000-1fff Memory behind bridge: d010-d02f Prefetchable memory behind bridge: d030-d04f Capabilities: [50] Power Management version 3 Capabilities: [58] Express Root Port (Slot+), MSI 00 Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+ Capabilities: [b0] Subsystem: Advanced Micro Devices [AMD] Device 1234 Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+ Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 ? Kernel driver in use: pcieport 00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (rev 40) (prog-if 01 [AHCI 1.0]) Subsystem: ASUSTeK Computer Inc. Device 103b Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 19 I/O ports at f140 [size=8] I/O ports at f130 [size=4] I/O ports at f120 [size=8] I/O ports at f110 [size=4] I/O ports at f100 [size=16] Memory at feb4f000 (32-bit, non-prefetchable) [size=1K] Capabilities: [70] SATA HBA v1.0 Capabilities: [a4] PCI Advanced Features Kernel driver in use: ahci 00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI]) Subsystem: ASUSTeK Computer Inc. Device 103b Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18 Memory at feb4e000 (32-bit, non-prefetchable) [size=4K] Kernel driver in use: ohci_hcd 00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20
Re: [gentoo-user] wlan0 failed to start
On Wed, 2 Oct 2013 12:19:58 +0200, Tomáš Hájek wrote: You can see that my wifi interface does not come up and ifconfig don't know about it either. 04:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01) Subsystem: AzureWave Device 2047 Flags: bus master, fast devsel, latency 0, IRQ 17 Memory at fea0 (64-bit, non-prefetchable) [size=16K] Capabilities: [40] Power Management version 3 Capabilities: [58] Vendor Specific Information: Len=78 ? Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+ Capabilities: [d0] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Capabilities: [13c] Virtual Channel Capabilities: [160] Device Serial Number 00-00-ca-ff-ff-66-00-08 Capabilities: [16c] Power Budgeting ? Kernel driver in use: bcma-pci-bridge It looks like a missing driver issue. I no longer use a BCM4313 but I'm sure that wasn't the driver I used. Which BCM options do you have enabled in the kernel? -- Neil Bothwick If Satan ever loses his hair, there'll be hell toupee. signature.asc Description: PGP signature
Re: [gentoo-user] kerninst (was Optional /usr merge in Gentoo)
Am 01.09.2013 19:30, schrieb Canek Peláez Valdés: I am following vanilla-sources in all my machines, which is what people like Greg Kroah-Hartman actually recommends [1][2]. Since they are now never stabilized [3], this means that I need to update them pretty regularly to keep them safe. This implies that I have to change the /usr/src/linux symbolic link, configure the kernel using make oldconfig, compile it, install it, install its modules, reemerge any package that provides kernel modules (if any), regenerate its initramfs, regenerate the GRUB2 config file OR adding a new entry in GRUB. None of this steps are particularly difficult, but any mistake in one of them can result in an unbootable system. So I wrote a little script that takes care of each of this steps automagically: https://github.com/canek-pelaez/kerninst So now everytime I need to use a new kernel version, I only do: # eselect kernel set new-kernel # kerninst Everything is done by the script. Canek, how to handle changing configs? AFAI understand I do: eselect kernel set x cd /usr/src/linux make menuconfig (SAVE .config) cp .config /etc/kerninst/kernel-config kerninst ... right? I am currently struggling with a kernel not showing /dev/kvm ... and toggling kvm_amd on/module ... etc Thanks, Stefan
Re: [gentoo-user] wlan0 failed to start
2013/10/2 Tomáš Hájek tomcat.mas...@gmail.com: Hi guys! For me this is first time installing gentoo on my own and right now I'm really out of ideas. My problem is: tombook tom # /etc/init.d/net.wlan0 start net.wlan0 | * Bringing up interface wlan0 net.wlan0 | * ERROR: interface wlan0 does not exist net.wlan0 | * Ensure that you have loaded the correct kernel module for your hardware net.wlan0 | * ERROR: net.wlan0 failed to start tombook tom # You can see that my wifi interface does not come up and ifconfig don't know about it either. tombook tom # ifconfig -a lo: flags=73AKTIVOVÁNO,SMYČKA,BĚŽÍ mtu 65536 inet 127.0.0.1 síťová_maska 255.0.0.0 inet6 ::1 délka_prefixu 128 scopeid 0x10stroj loop délka_odchozí_fronty 0 (Místní smyčka) RX packetů 0 bajtů 0 (0,0 B) RX chyb 0 zahozeno 0 přetečení 0 rámců 0 TX packetů 0 bajtů 0 (0,0 B) TX chyb 0 zahozeno 0 přetečení 0 přenos 0 kolizí 0 sit0: flags=128NEARP mtu 1480 sit délka_odchozí_fronty 0 (IPv6-in-IPv4) RX packetů 0 bajtů 0 (0,0 B) RX chyb 0 zahozeno 0 přetečení 0 rámců 0 TX packetů 0 bajtů 0 (0,0 B) TX chyb 0 zahozeno 0 přetečení 0 přenos 0 kolizí 0 tombook tom # I've tried probably every solution I could find on forums, but nothing works. I would make me very happy if someone could help me solving this problem :) For further info here is my lspci, and config as attachment of this email. tombook tom # lspci -v -- snip -- 04:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01) Subsystem: AzureWave Device 2047 Flags: bus master, fast devsel, latency 0, IRQ 17 Memory at fea0 (64-bit, non-prefetchable) [size=16K] Capabilities: [40] Power Management version 3 Capabilities: [58] Vendor Specific Information: Len=78 ? Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+ Capabilities: [d0] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Capabilities: [13c] Virtual Channel Capabilities: [160] Device Serial Number 00-00-ca-ff-ff-66-00-08 Capabilities: [16c] Power Budgeting ? Kernel driver in use: bcma-pci-bridge According to the b43 page on linux wireless [1], the BCM4313 chipset is not yet supported, but someone is working on it. There is, however, another driver [2] which should work if the correct firmware is installed, try emerging linux-firmware and then modprobe brcmsmac As I said, I'm out of ideas and appreciate any help. Thanks --- Tomas Hajek CZE [1]http://wireless.kernel.org/en/users/Drivers/b43#Supported_devices [2]http://wireless.kernel.org/en/users/Drivers/brcm80211#Supported_Chips
Re: PORTDIR default - changing PORTDIR variable - WAS Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01
On 2013-10-01 2:48 PM, Neil Bothwick n...@digimed.co.uk wrote: On Tue, 01 Oct 2013 14:15:49 -0400, Tanstaafl wrote: I'm interested in what the DEFAULTS are, ie, for a new/from scratch installation. Why? While I'm not sure why it matters to you, it is because I have a policy that I never change the defaults for anything without a (good) reason. If ever there was a distro for people that didn't want to use defaults, Gentoo is it. True, but irrelevant to my question... Someone had to decide the defaults - so, what are they? Anyone? I installed a VM a couple of weeks ago and I'm sure portage was still in /usr. It's easy enough to tell, unpack a stage 3 and see where the portage directory lives, but the handbook still refers to /usr/portage. So you're saying Alan was wrong about /var being the new default... Alan?
Re: PORTDIR default - changing PORTDIR variable - WAS Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01
On Wed, 02 Oct 2013 08:04:16 -0400, Tanstaafl wrote: I'm interested in what the DEFAULTS are, ie, for a new/from scratch installation. Why? While I'm not sure why it matters to you, Just curious. it is because I have a policy that I never change the defaults for anything without a (good) reason. That's reasonable, but I feel there's a good reason here - the default location sucks. I installed a VM a couple of weeks ago and I'm sure portage was still in /usr. It's easy enough to tell, unpack a stage 3 and see where the portage directory lives, but the handbook still refers to /usr/portage. So you're saying Alan was wrong about /var being the new default... Let's just say he appeared to misremember :) -- Neil Bothwick Some people are born mediocre, some people achieve mediocrity, and some people have mediocrity thrust upon them. - Joseph Heller, Catch-22 signature.asc Description: PGP signature
Re: [gentoo-user] ati-drivers:legacy fail to build with kernel 3.12
On 10/02/2013 09:06:42 AM, Alan McKinnon wrote: On 02/10/2013 09:02, Helmut Jarausch wrote: On 10/01/2013 08:16:23 PM, Volker Armin Hemmann wrote: Am 01.10.2013 10:00, schrieb Helmut Jarausch: Hi, in good tradition the new 3.12 Linux kernel breaks ati-drivers again (as always in the past). Does anybody know about a patch to make x11-drivers/ati-drivers:legacy compile with linux-3.12-rc3 ? Trying to emerge ati-drivers-13.1_pre897 (currently the only legacy driver) with 3.12-rc3 gives MODPOST 1 modules FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'acpi_bus_get_device' Many thanks for a hint, Helmut so you are using a driver meant for stable (old) systems, with a pre release kernel - and you don't even know what do do with that message? I'm quite sure there are a lot of things which you don't known either. Does that do no seem a bit silly? hm? Thanks for this compliment! acpi_bus_get_device is gpl only. You can undo that. If you want. But seriously, what is wrong with using stable releases like 3.10.x? If you use ati-drivers, you don't need the amd driver improvements in 3.11 or 3.12. There are two points here: - first I consider it as my contribution to GenToo to help testing. The problem with the 3.12 prerelease will definitely continue with the main release coming in about 4 weeks. - This 3.12 prerelease has a lot of BTRFS pataches. Since I'm using BTRFS for most of my file systems, I like to have the most recent fixes. Calm down boys. Helmut, the problem is that you are trying to use ATI's proprietary code with GPL code in the kernel. The kernel devs do not want you to do that and that is their right. What you should have done in your mail is indicate that you read the error message and understand it, and why you want to continue regradless. Then you should have mentioned what Google told you about the problem, or something to show what you already did to help yourself. As it stands you post is really just asking someone else to do your homework for you and that you are too lazy to do it yourself. I'm sure that's not want you are really doing, it just looks that way. Hi Alan, the only fix I have found with Google is a patch to the kernel itself. This works but I don't like it. Up to now, all similar problems in the past have been fixed by patches to the ati-drivers. But I haven't found such a patch, perhaps it's impossible to fix it by only patching the ati-drivers, this time. Linus makes our life a bit harder. Helmut
Re: PORTDIR default - changing PORTDIR variable - WAS Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01
On 2013-10-01 7:41 PM, Neil Bothwick n...@digimed.co.uk wrote: /var makes sense to me, it's where I put the tree (but not packages or distfiles). Why not these?
Re: [gentoo-user] Continuous beeping with kernel 3.10 and 3.11
Neil Bothwick n...@digimed.co.uk wrote: On Tue, 01 Oct 2013 21:09:27 -0500, Dale wrote: I hate getting older. lol It's a lot better than the alternative... -- Neil Bothwick A clean desk is a sign of a cluttered desk drawer. What is wrong with getting younger? -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
[gentoo-user] KVM on AMD ... why doesn't it just work?
I try to set up KVM/QEMU on that new and shiny AMD server 24 cores of Opteron: processor : 23 vendor_id : AuthenticAMD cpu family : 21 model : 2 model name : AMD Opteron(tm) Processor 6344 nice I want gentoo-sources-3.10.7 (stable and long term supported) or 3.10.7-r1 (not yet on the machine). I don't get /dev/kvm :-( Right now I want this as a module kvm_amd or so. # zgrep -i kvm /proc/config.gz CONFIG_HAVE_KVM=y CONFIG_HAVE_KVM_IRQCHIP=y CONFIG_HAVE_KVM_IRQ_ROUTING=y CONFIG_HAVE_KVM_EVENTFD=y CONFIG_KVM_APIC_ARCHITECTURE=y CONFIG_KVM_MMIO=y CONFIG_KVM_ASYNC_PF=y CONFIG_HAVE_KVM_MSI=y CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y CONFIG_KVM=m CONFIG_KVM_INTEL=m CONFIG_KVM_AMD=m I compile the kernel with Canek's kerninst-script (see other thread). kvm_amd does not load and gives me dozens of: # dmesg | grep kvm | head [ 13.460423] kvm_amd: Unknown symbol kvm_rdpmc (err 0) [ 13.460429] kvm_amd: Unknown symbol kvm_read_guest_page (err 0) [ 13.460437] kvm_amd: Unknown symbol kvm_requeue_exception (err 0) [ 13.460439] kvm_amd: Unknown symbol kvm_exit (err 0) [ 13.460441] kvm_amd: Unknown symbol kvm_init (err 0) [ 13.460444] kvm_amd: Unknown symbol kvm_enable_efer_bits (err 0) [ 13.460448] kvm_amd: Unknown symbol kvm_fast_pio_out (err 0) [ 13.460453] kvm_amd: Unknown symbol gfn_to_page (err 0) *sigh* With the kernel booted I now do: cd /usr/src/linux make clean modules modules_install and see if I can load the module(s) then. In general I am rather disappointed by the performance of this server. I expected way more *bang* for the bucks ... still unsure if that clocksource-topic might be relevant or if my kernel config is somehow stupid. Stefan
Re: PORTDIR default - changing PORTDIR variable - WAS Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01
On 02/10/2013 14:04, Tanstaafl wrote: On 2013-10-01 2:48 PM, Neil Bothwick n...@digimed.co.uk wrote: On Tue, 01 Oct 2013 14:15:49 -0400, Tanstaafl wrote: I'm interested in what the DEFAULTS are, ie, for a new/from scratch installation. Why? While I'm not sure why it matters to you, it is because I have a policy that I never change the defaults for anything without a (good) reason. If ever there was a distro for people that didn't want to use defaults, Gentoo is it. True, but irrelevant to my question... Someone had to decide the defaults - so, what are they? Anyone? I installed a VM a couple of weeks ago and I'm sure portage was still in /usr. It's easy enough to tell, unpack a stage 3 and see where the portage directory lives, but the handbook still refers to /usr/portage. So you're saying Alan was wrong about /var being the new default... Alan? Yes, I looks like I was wrong all along. You should still move portage to var though. Consider it a local fix to a long-standing bug. Incidentally, do you know why the tree is in /usr? Because FreeBSD ports puts it there. Why did they do that? Because FreeBSD is not Linux; it is derived from SysV, which puts home directories and all manner of other things in /usr. It's as simple as that. -- Alan McKinnon alan.mckin...@gmail.com
Re: PORTDIR default - changing PORTDIR variable - WAS Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01
On 02/10/2013 14:12, Neil Bothwick wrote: On Wed, 02 Oct 2013 08:04:16 -0400, Tanstaafl wrote: I'm interested in what the DEFAULTS are, ie, for a new/from scratch installation. Why? While I'm not sure why it matters to you, Just curious. it is because I have a policy that I never change the defaults for anything without a (good) reason. That's reasonable, but I feel there's a good reason here - the default location sucks. I installed a VM a couple of weeks ago and I'm sure portage was still in /usr. It's easy enough to tell, unpack a stage 3 and see where the portage directory lives, but the handbook still refers to /usr/portage. So you're saying Alan was wrong about /var being the new default... Let's just say he appeared to misremember :) A spade is a spade, not a hand-powered earth moving implement. He was plain wrong :-) -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] KVM on AMD ... why doesn't it just work?
Am 02.10.2013 14:27, schrieb Stefan G. Weichinger: In general I am rather disappointed by the performance of this server. I expected way more *bang* for the bucks ... still unsure if that clocksource-topic might be relevant or if my kernel config is somehow stupid. Additional (for the performance issues): # emerge --info Portage 2.2.1 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.10.7-gentoo x86_64) = System uname: Linux-3.10.7-gentoo-x86_64-AMD_Opteron-tm-_Processor_6344-with-gentoo-2.2 KiB Mem:65965636 total, 64395888 free KiB Swap:8388604 total, 8388604 free Timestamp of tree: Wed, 02 Oct 2013 00:45:01 + ld GNU ld (GNU Binutils) 2.23.1 app-shells/bash: 4.2_p45 dev-lang/python: 2.7.5-r2, 3.2.5-r2 dev-util/cmake: 2.8.10.2-r2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.69 sys-devel/automake: 1.10.3, 1.11.6, 1.12.6, 1.13.4 sys-devel/binutils: 2.23.1 sys-devel/gcc:4.5.4, 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool:2.4-r1 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.9 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo hiro-oops-intern ACCEPT_KEYWORDS=amd64 ACCEPT_LICENSE=* -@EULA CBUILD=x86_64-pc-linux-gnu CFLAGS=-O2 -march=native -pipe CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT=/etc /usr/share/gnupg/qualified.txt CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo CXXFLAGS=-O2 -march=native -pipe DISTDIR=/usr/portage/distfiles FCFLAGS=-O2 -pipe FEATURES=assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc noinfo noman notitles parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync FFLAGS=-O2 -pipe GENTOO_MIRRORS=http://distfiles.gentoo.org; LDFLAGS=-Wl,-O1 -Wl,--as-needed MAKEOPTS=-j16 PKGDIR=/var/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 PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage PORTDIR_OVERLAY=/usr/local/portage USE=acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl openmp pam pcre readline session sse sse2 ssl systemd tcpd udev unicode zlib ABI_X86=64 ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci APACHE2_MODULES=alias cgi headers filter deflate perl CALLIGRA_FEATURES=kexi words flow plan sheets stage tables krita karbon braindump author CAMERAS=ptp2 COLLECTD_PLUGINS=df interface irq load memory rrdtool swap syslog CURL_SSL=openssl DRACUT_MODULES=biosdevname caps lvm mdraid ELIBC=glibc GPSD_PROTOCOLS=ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx INPUT_DEVICES=keyboard mouse evdev KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text LIBREOFFICE_EXTENSIONS=presenter-console presenter-minimizer OFFICE_IMPLEMENTATION=libreoffice PHP_TARGETS=php5-5 PYTHON_SINGLE_TARGET=python2_7 PYTHON_TARGETS=python2_7 python3_2 RUBY_TARGETS=ruby19 ruby18 USERLAND=GNU VIDEO_CARDS=fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware 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 account Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Re: [gentoo-user] KVM on AMD ... why doesn't it just work?
Am 02.10.2013 14:38, schrieb Stefan G. Weichinger: Am 02.10.2013 14:27, schrieb Stefan G. Weichinger: In general I am rather disappointed by the performance of this server. I expected way more *bang* for the bucks ... And our new and ambitious friend also comes along ;-) systemd-tmpfiles ... hogs CPU ... stopped it now ... and will look for details in the evening. Now the load is lower and compiling the modules is much faster. Maybe this even solves the network-issue!? Still the Unknown symbol for kvm_amd ...
Re: PORTDIR default - changing PORTDIR variable - WAS Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01
On 2013-10-02 8:28 AM, Alan McKinnon alan.mckin...@gmail.com wrote: Yes, I looks like I was wrong all along. I thought I was wrong once, but then discovered that I was mistaken... ;) You should still move portage to var though. Consider it a local fix to a long-standing bug. I'm still waiting to hear why Neil doesn't move packages and distfiles there... sounded like he had a good reason...
Re: [gentoo-user] wlan0 failed to start
dmesg says only: tom@tombook ~ $ dmesg | grep -i firmware [0.099927] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored I already have linux-firmware in my system, just put brcmsmac in my kernel (was set to =n), and still have same result tough. Only difference is that rfkill list all now see wifi card and says that it is not blocked (before it could not see a thing) Any other ideas? Thanks TomH 2013/10/2 Joakim Gebart joa...@gebart.se 2013/10/2 Tomáš Hájek tomcat.mas...@gmail.com: Hi guys! For me this is first time installing gentoo on my own and right now I'm really out of ideas. My problem is: tombook tom # /etc/init.d/net.wlan0 start net.wlan0 | * Bringing up interface wlan0 net.wlan0 | * ERROR: interface wlan0 does not exist net.wlan0 | * Ensure that you have loaded the correct kernel module for your hardware net.wlan0 | * ERROR: net.wlan0 failed to start tombook tom # You can see that my wifi interface does not come up and ifconfig don't know about it either. tombook tom # ifconfig -a lo: flags=73AKTIVOVÁNO,SMYČKA,BĚŽÍ mtu 65536 inet 127.0.0.1 síťová_maska 255.0.0.0 inet6 ::1 délka_prefixu 128 scopeid 0x10stroj loop délka_odchozí_fronty 0 (Místní smyčka) RX packetů 0 bajtů 0 (0,0 B) RX chyb 0 zahozeno 0 přetečení 0 rámců 0 TX packetů 0 bajtů 0 (0,0 B) TX chyb 0 zahozeno 0 přetečení 0 přenos 0 kolizí 0 sit0: flags=128NEARP mtu 1480 sit délka_odchozí_fronty 0 (IPv6-in-IPv4) RX packetů 0 bajtů 0 (0,0 B) RX chyb 0 zahozeno 0 přetečení 0 rámců 0 TX packetů 0 bajtů 0 (0,0 B) TX chyb 0 zahozeno 0 přetečení 0 přenos 0 kolizí 0 tombook tom # I've tried probably every solution I could find on forums, but nothing works. I would make me very happy if someone could help me solving this problem :) For further info here is my lspci, and config as attachment of this email. tombook tom # lspci -v -- snip -- 04:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01) Subsystem: AzureWave Device 2047 Flags: bus master, fast devsel, latency 0, IRQ 17 Memory at fea0 (64-bit, non-prefetchable) [size=16K] Capabilities: [40] Power Management version 3 Capabilities: [58] Vendor Specific Information: Len=78 ? Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+ Capabilities: [d0] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Capabilities: [13c] Virtual Channel Capabilities: [160] Device Serial Number 00-00-ca-ff-ff-66-00-08 Capabilities: [16c] Power Budgeting ? Kernel driver in use: bcma-pci-bridge According to the b43 page on linux wireless [1], the BCM4313 chipset is not yet supported, but someone is working on it. There is, however, another driver [2] which should work if the correct firmware is installed, try emerging linux-firmware and then modprobe brcmsmac As I said, I'm out of ideas and appreciate any help. Thanks --- Tomas Hajek CZE [1]http://wireless.kernel.org/en/users/Drivers/b43#Supported_devices [2]http://wireless.kernel.org/en/users/Drivers/brcm80211#Supported_Chips
Re: [gentoo-user] KVM on AMD ... why doesn't it just work?
On 02/10/2013 13:27, Stefan G. Weichinger wrote: I try to set up KVM/QEMU on that new and shiny AMD server 24 cores of Opteron: processor : 23 vendor_id : AuthenticAMD cpu family : 21 model : 2 model name : AMD Opteron(tm) Processor 6344 nice I want gentoo-sources-3.10.7 (stable and long term supported) or 3.10.7-r1 (not yet on the machine). I don't get /dev/kvm :-( Right now I want this as a module kvm_amd or so. # zgrep -i kvm /proc/config.gz CONFIG_HAVE_KVM=y CONFIG_HAVE_KVM_IRQCHIP=y CONFIG_HAVE_KVM_IRQ_ROUTING=y CONFIG_HAVE_KVM_EVENTFD=y CONFIG_KVM_APIC_ARCHITECTURE=y CONFIG_KVM_MMIO=y CONFIG_KVM_ASYNC_PF=y CONFIG_HAVE_KVM_MSI=y CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y CONFIG_KVM=m CONFIG_KVM_INTEL=m CONFIG_KVM_AMD=m I compile the kernel with Canek's kerninst-script (see other thread). kvm_amd does not load and gives me dozens of: # dmesg | grep kvm | head [ 13.460423] kvm_amd: Unknown symbol kvm_rdpmc (err 0) [ 13.460429] kvm_amd: Unknown symbol kvm_read_guest_page (err 0) [ 13.460437] kvm_amd: Unknown symbol kvm_requeue_exception (err 0) [ 13.460439] kvm_amd: Unknown symbol kvm_exit (err 0) [ 13.460441] kvm_amd: Unknown symbol kvm_init (err 0) [ 13.460444] kvm_amd: Unknown symbol kvm_enable_efer_bits (err 0) [ 13.460448] kvm_amd: Unknown symbol kvm_fast_pio_out (err 0) [ 13.460453] kvm_amd: Unknown symbol gfn_to_page (err 0) Run modinfo kvm kvm-amd and check for discrepancies between the details of the two, especially regarding the vermagic field. *sigh* With the kernel booted I now do: cd /usr/src/linux make clean modules modules_install I would suggest make mrproper to clean the source tree. Ensure that the .config has been backed up because it will be deleted as a result. and see if I can load the module(s) then. In general I am rather disappointed by the performance of this server. I expected way more *bang* for the bucks ... still unsure if that clocksource-topic might be relevant or if my kernel config is somehow stupid. Stefan --Kerin
Re: [gentoo-user] s6 et al
On Wed, Oct 02, 2013 at 12:04:24AM -0500, Bruce Hill wrote: Just stumbled across some very interesting software/ideas: http://skarnet.org/poweredby.html Yes, I have been looking at this for a few days, and some of the other members of the OpenRC team are interested in it as well. I am waiting for a bug to be fixed before I can put execline and s6 in the tree [1]. William [1] https://bugs.gentoo.org/show_bug.cgi?id=486744 signature.asc Description: Digital signature
Re: [gentoo-user] s6 et al
On Wed, Oct 02, 2013 at 09:44:35AM -0500, William Hubbs wrote: On Wed, Oct 02, 2013 at 12:04:24AM -0500, Bruce Hill wrote: Just stumbled across some very interesting software/ideas: http://skarnet.org/poweredby.html Yes, I have been looking at this for a few days, and some of the other members of the OpenRC team are interested in it as well. I am waiting for a bug to be fixed before I can put execline and s6 in the tree [1]. William [1] https://bugs.gentoo.org/show_bug.cgi?id=486744 Found that bug report earlier and CCed myself. Will track the progress, maybe use it on a test box I plan to build soon. -- Happy Penguin Computers ') 126 Fenco Drive ( \ Tupelo, MS 38801 ^^ supp...@happypenguincomputers.com 662-269-2706 662-205-6424 http://happypenguincomputers.com/ A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting
Re: PORTDIR default - changing PORTDIR variable - WAS Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01
On Wed, 02 Oct 2013 08:23:07 -0400, Tanstaafl wrote: /var makes sense to me, it's where I put the tree (but not packages or distfiles). Why not these? Because they have no place in the portage tree. The portage tree contains thousands of small files, but remains largely the same size. On the other hand $DISTDIR and $PKGDIR contain files that are not controlled by portage and grow continually without manual intervention. I keep $DISTDIR on an NFS mount for the reason I gave earlier in this thread, to save downloading the files more than once. I have $PKGDIR on the same mount, which is also used for overlays. I would rather have that directory, which is only used for portage files, hit 100% when I'm not looking that /var or /usr. If I were running a single Gentoo machine, I'd probably put $DISTDIR in the logical place of /var/cache (that's where other package managers keep their downloads) and use eclean-dist to stop it overflowing, or put a quota on the directory. -- Neil Bothwick If Satan ever loses his hair, there'll be hell toupee. signature.asc Description: PGP signature
Re: [gentoo-user] Continuous beeping with kernel 3.10 and 3.11
On Wed, 02 Oct 2013 14:23:22 +0200, J. Roeleveld wrote: I hate getting older. lol It's a lot better than the alternative... What is wrong with getting younger? pedantThat's an opposite, not an alternative/pedant -- Neil Bothwick For security reasons, all text in this mail is double-rot13 encrypted. signature.asc Description: PGP signature
Re: [gentoo-user] wlan0 failed to start
On Wed, 2 Oct 2013 15:31:27 +0200, Tomáš Hájek wrote: I already have linux-firmware in my system, just put brcmsmac in my kernel (was set to =n), and still have same result tough. Only difference is that rfkill list all now see wifi card and says that it is not blocked (before it could not see a thing) What does lspci -k -s 04:00.0 show. Is the brcmsmac module loaded? -- Neil Bothwick Favorite Windoze game: Guess what this icon does? signature.asc Description: PGP signature
Re: PORTDIR default - changing PORTDIR variable - WAS Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01
On 02/10/2013 14:53, Tanstaafl wrote: On 2013-10-02 8:28 AM, Alan McKinnon alan.mckin...@gmail.com wrote: Yes, I looks like I was wrong all along. I thought I was wrong once, but then discovered that I was mistaken... ;) You should still move portage to var though. Consider it a local fix to a long-standing bug. I'm still waiting to hear why Neil doesn't move packages and distfiles there... sounded like he had a good reason... He's English, and old(-ish) My money says he forgot. :-) -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] kerninst (was Optional /usr merge in Gentoo)
On Wed, Oct 2, 2013 at 6:48 AM, Stefan G. Weichinger li...@xunil.at wrote: Am 01.09.2013 19:30, schrieb Canek Peláez Valdés: I am following vanilla-sources in all my machines, which is what people like Greg Kroah-Hartman actually recommends [1][2]. Since they are now never stabilized [3], this means that I need to update them pretty regularly to keep them safe. This implies that I have to change the /usr/src/linux symbolic link, configure the kernel using make oldconfig, compile it, install it, install its modules, reemerge any package that provides kernel modules (if any), regenerate its initramfs, regenerate the GRUB2 config file OR adding a new entry in GRUB. None of this steps are particularly difficult, but any mistake in one of them can result in an unbootable system. So I wrote a little script that takes care of each of this steps automagically: https://github.com/canek-pelaez/kerninst So now everytime I need to use a new kernel version, I only do: # eselect kernel set new-kernel # kerninst Everything is done by the script. Canek, how to handle changing configs? AFAI understand I do: eselect kernel set x cd /usr/src/linux make menuconfig (SAVE .config) cp .config /etc/kerninst/kernel-config kerninst ... right? I am currently struggling with a kernel not showing /dev/kvm ... and toggling kvm_amd on/module ... etc Yeah, that's the way to do it. However, kerninst is not for testing different configurations of kernels. I suppose you could use it that way, but I wrote exactly for the opposite case: when you finally have your configuration nailed down, and just want to automatize the installation of the kernel. 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] KVM on AMD ... why doesn't it just work?
Am 02.10.2013 15:54, schrieb Kerin Millar: Run modinfo kvm kvm-amd and check for discrepancies between the details of the two, especially regarding the vermagic field. [...] I would suggest make mrproper to clean the source tree. Ensure that the .config has been backed up because it will be deleted as a result. I had no module kvm because one was built as module and one into the kernel. I now did mrproper and recompile both kvm and kvm_amd into the kernel. The next reboot will show ... Thanks!
Re: [gentoo-user] wlan0 failed to start
tombook tom # lspci -k -s 04:00.0 04:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01) Subsystem: AzureWave Device 2047 Kernel driver in use: bcma-pci-bridge I use brcmsmac built in, not as module. How do I make it use brcmsmac instead of bcma-pci-bridge driver? TomH 2013/10/2 Neil Bothwick n...@digimed.co.uk On Wed, 2 Oct 2013 15:31:27 +0200, Tomáš Hájek wrote: I already have linux-firmware in my system, just put brcmsmac in my kernel (was set to =n), and still have same result tough. Only difference is that rfkill list all now see wifi card and says that it is not blocked (before it could not see a thing) What does lspci -k -s 04:00.0 show. Is the brcmsmac module loaded? -- Neil Bothwick Favorite Windoze game: Guess what this icon does?
Re: [gentoo-user] Sloppy sterm screen update over ssh
On Mon, Sep 30, 2013 at 7:10 PM, Walter Dnes waltd...@waltdnes.org wrote: I've recently noticed when ssh'ing into another machine that the xterm display doesn't fully update. I.e. there are holes where an app updates over a previous screen. I've tried Google, but any mention of screen is interpreted as the screen utility. Hi, Are you running xterm over ssh (X11 forwarding) or are you running an ssh session inside of an xterm? If the latter I have experienced something similar when my TERM variable was not set correctly and things like Midnight Commander would not fill in the blue background (for example) or fail to blank the screen on updates.
Re: [gentoo-user] wlan0 failed to start
On Wed, 2 Oct 2013 18:31:04 +0200, Tomáš Hájek wrote: tombook tom # lspci -k -s 04:00.0 04:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01) Subsystem: AzureWave Device 2047 Kernel driver in use: bcma-pci-bridge I use brcmsmac built in, not as module. How do I make it use brcmsmac instead of bcma-pci-bridge driver? Build both as modules, at least while you get it working. Then to can rmmod, modprobe and blacklist at will. PS please don't top-post, it is not welcome on this list. -- Neil Bothwick I am in total control, but don't tell my wife. signature.asc Description: PGP signature
Re: PORTDIR default - changing PORTDIR variable - WAS Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01
On Wed, 02 Oct 2013 17:47:14 +0200, Alan McKinnon wrote: I'm still waiting to hear why Neil doesn't move packages and distfiles there... sounded like he had a good reason... He's English, and old(-ish) My money says he forgot. Misremembered actually. In fact, I replied when I saw it, I sometimes go an hour without checking my email (but not often) -- Neil Bothwick How stupid are people? Send me £10 to find out. signature.asc Description: PGP signature
Re: [gentoo-user] KVM on AMD ... why doesn't it just work?
Am 02.10.2013 18:31, schrieb Stefan G. Weichinger: Am 02.10.2013 15:54, schrieb Kerin Millar: Run modinfo kvm kvm-amd and check for discrepancies between the details of the two, especially regarding the vermagic field. [...] I would suggest make mrproper to clean the source tree. Ensure that the .config has been backed up because it will be deleted as a result. I had no module kvm because one was built as module and one into the kernel. I now did mrproper and recompile both kvm and kvm_amd into the kernel. The next reboot will show ... Rather simple issue: I have a kernel in boot with the suffix -safe ... and this one got listed first in grub.conf. kerninst found that one and always set that one as default so my various recompilings never changed the kernel itself but only the modules ... which lead to strange mismatches ... Now I am on a clean and mrproper 3.10.7-r1 ... WITH /dev/kvm ! Thanks! And the performance of the first VM looks good ... even with the vmdk ... conversion will follow. Stefan
Re: [gentoo-user] separate / and /usr to require initramfs 2013-11-01
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/29/13 15:03, Greg Woodbury wrote: On 09/29/2013 06:55 AM, Volker Armin Hemmann wrote: why do you bring up udev and systemd AT ALL? They are not the problem or the reason why seperate /usr is prone to break. Except that systemd *is* why a seperate /usr is broken now. Parts of the libraries that systemd depend on we *deliberately* placed in /usr despite the fact that they are needed to bbring the system to an operational state. For *years* things required to boot the system were defined to be in the root file system, and items not required until after mounting had been accomplished were to be placed in /usr. Why would someone do that? BTW: There is a standard (The File System Hierarch Standard - FSS) that existed and described this behaviour. It was killed off by deliberate vendor refusals to support or adhere to it. In frustration, the folks involved simply gave up. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSTFCYAAoJEK64IL1uI2haTGcH/06AYbco8VDCT19DIuYUyebu TYI+zK7H994uDw9JuIsglYkhtqr0kKCMl2tvEqFbUuLDr7OqKG8fjim7xyRvV472 +kPS2q8Dm3R0gkLV4pf/x+8AasHfg0cHn2jdYMraPR1HzDDN14YQL31DtEaNbVko cDsQKp+FmAruWiJNSBD6b/WXmxmmuUi8EJTGVmEYN5n5ezlbZ+y5xQQR5BUxTK8H k2n5dKqBu33OYwKQnsl21nBa1zeZyupa8me6J+7XycxDGjvkBGhgnerSskyYI0cS rbEV6sBIfX7EEMaNHa7AdaQ5UhSgkA2yuDVrjHNRLRlhpYyy2iRziug7Bx24jcg= =8rAe -END PGP SIGNATURE-
Re: [gentoo-user] KVM on AMD ... why doesn't it just work?
On 02/10/2013 17:47, Stefan G. Weichinger wrote: Am 02.10.2013 18:31, schrieb Stefan G. Weichinger: Am 02.10.2013 15:54, schrieb Kerin Millar: Run modinfo kvm kvm-amd and check for discrepancies between the details of the two, especially regarding the vermagic field. [...] I would suggest make mrproper to clean the source tree. Ensure that the .config has been backed up because it will be deleted as a result. I had no module kvm because one was built as module and one into the kernel. I now did mrproper and recompile both kvm and kvm_amd into the kernel. The next reboot will show ... Rather simple issue: I have a kernel in boot with the suffix -safe ... and this one got listed first in grub.conf. kerninst found that one and always set that one as default so my various recompilings never changed the kernel itself but only the modules ... which lead to strange mismatches ... You could customize EXTRAVERSION for your safe kernel to prevent this from happening. It can be modified in the Makefile or - if I recall correctly - by creating a file named localversion-safe in the root of the source tree and enabling CONFIG_LOCALVERSION. That way, its module directory would be distinct. Now I am on a clean and mrproper 3.10.7-r1 ... WITH /dev/kvm ! Thanks! And the performance of the first VM looks good ... even with the vmdk ... conversion will follow. Stefan
Re: [gentoo-user] KVM on AMD ... why doesn't it just work?
On Wed, Oct 2, 2013 at 11:47 AM, Stefan G. Weichinger li...@xunil.at wrote: Am 02.10.2013 18:31, schrieb Stefan G. Weichinger: Am 02.10.2013 15:54, schrieb Kerin Millar: Run modinfo kvm kvm-amd and check for discrepancies between the details of the two, especially regarding the vermagic field. [...] I would suggest make mrproper to clean the source tree. Ensure that the .config has been backed up because it will be deleted as a result. I had no module kvm because one was built as module and one into the kernel. I now did mrproper and recompile both kvm and kvm_amd into the kernel. The next reboot will show ... Rather simple issue: I have a kernel in boot with the suffix -safe ... and this one got listed first in grub.conf. kerninst is pretty stupid. To create the list of kernels (in GRUB, not GRUB2), it simply lists the kernels in /boot, sorts them inverted by version, and then uses that order for the listing. Therefore, if you have: vmlinuz-3.9 vmlinuz-3.8 vmlinuz-3.10 vmlinuz-blah the inverted sort by version will be: vmlinuz-blah vmlinuz-3.10 vmlinuz-3.9 vmlinuz-3.8 and the kernel with an alphanumeric version will be always be the default. kerninst found that one and always set that one as default so my various recompilings never changed the kernel itself but only the modules ... which lead to strange mismatches ... That should explain everything. As I said before, kerninst was not written to test configurations; is for when you have nailed the configuration and want to automatize the kernel update. 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] KVM on AMD ... why doesn't it just work?
Am 02.10.2013 19:11, schrieb Canek Peláez Valdés: the inverted sort by version will be: vmlinuz-blah vmlinuz-3.10 vmlinuz-3.9 vmlinuz-3.8 and the kernel with an alphanumeric version will be always be the default. Exactly what I saw, yes. No complaints ... ok with me, I should have checked my grub.conf as well (and did in the end). kerninst found that one and always set that one as default so my various recompilings never changed the kernel itself but only the modules ... which lead to strange mismatches ... That should explain everything. As I said before, kerninst was not written to test configurations; is for when you have nailed the configuration and want to automatize the kernel update. Yep. I just want to settle on one method to generate the kernel(s) even on that customer server. Right now I am still tuning and toggling around ;-) S
Re: [gentoo-user] KVM on AMD ... why doesn't it just work?
Am 02.10.2013 14:45, schrieb Stefan G. Weichinger: Am 02.10.2013 14:38, schrieb Stefan G. Weichinger: Am 02.10.2013 14:27, schrieb Stefan G. Weichinger: In general I am rather disappointed by the performance of this server. I expected way more *bang* for the bucks ... And our new and ambitious friend also comes along ;-) systemd-tmpfiles ... hogs CPU ... stopped it now ... and will look for details in the evening. that one is still unsolved ... although since the last booting (now with systemd-204-r1) I don't see that hogging process anymore. Maybe something in the changelog: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/systemd/ChangeLog?view=markup the tmpfiles-related stuff seems for 206 only. Anyway, it seems to work now. great.
Re: [gentoo-user] emerge --sync issue on only one comp on LAN
On Tue, Oct 1, 2013 at 10:45 AM, Alan McKinnon alan.mckin...@gmail.com wrote: On 01/10/2013 17:17, Greg Turner wrote: Rsync mirrors don't grow on trees, man. People pay good money to provide that service to us. You should seriously be embarrassed to have posted this. Really? Then you can all use mine with the greatest of pleasure: SYNC=rsync://ftp.is.co.za/gentoo-portage I have the NetOps team BEGGING me weekly to try and generate more traffic out of our network going international. The in-out ratio on the peering links is seriously screwed and they badly want something to even it out a bit :-) Challenge accepted. :) Here's my sync summary (I'm in the USA): Number of files: 174305 Number of files transferred: 50913 Total file size: 305.99M bytes Total transferred file size: 73.98M bytes Literal data: 73.98M bytes Matched data: 0 bytes File list size: 4.31M File list generation time: 343.526 seconds File list transfer time: 0.000 seconds Total bytes sent: 1.12M Total bytes received: 41.37M sent 1.12M bytes received 41.37M bytes 64.33K bytes/sec total size is 305.99M speedup is 7.20
Re: PORTDIR default - changing PORTDIR variable - WAS Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01
On 2013-10-02 11:31 AM, Neil Bothwick n...@digimed.co.uk wrote: Because they have no place in the portage tree. The portage tree contains thousands of small files, but remains largely the same size. On the other hand $DISTDIR and $PKGDIR contain files that are not controlled by portage and grow continually without manual intervention. Ah... so you did move them from /usr, just not into /var/portage... Ok, thanks much guys... guess I'll go with Alans layout as it makes the most sense to me: /var/portage /var/distfiles /var/packages Thanks again...
Re: [gentoo-user] emerge --sync issue on only one comp on LAN
On Tue, Oct 01, 2013 at 05:45:13PM +0200, Alan McKinnon wrote: Then you can all use mine with the greatest of pleasure: SYNC=rsync://ftp.is.co.za/gentoo-portage I have the NetOps team BEGGING me weekly to try and generate more traffic out of our network going international. The in-out ratio on the peering links is seriously screwed and they badly want something to even it out a bit :-) Just for giggles I tried it too, from the US. Slower than turtles mating. ;) -- Happy Penguin Computers ') 126 Fenco Drive ( \ Tupelo, MS 38801 ^^ supp...@happypenguincomputers.com 662-269-2706 662-205-6424 http://happypenguincomputers.com/ A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting
Re: [gentoo-user] KVM on AMD ... why doesn't it just work?
On Wed, Oct 02, 2013 at 06:47:21PM +0200, Stefan G. Weichinger wrote: Rather simple issue: I have a kernel in boot with the suffix -safe ... and this one got listed first in grub.conf. kerninst found that one and always set that one as default so my various recompilings never changed the kernel itself but only the modules ... which lead to strange mismatches ... Now I am on a clean and mrproper 3.10.7-r1 ... WITH /dev/kvm ! Thanks! And the performance of the first VM looks good ... even with the vmdk ... conversion will follow. Stefan rm kerninst less /usr/src/linux/README (proper instructions) wash, rinse, repeat :-) -- Happy Penguin Computers ') 126 Fenco Drive ( \ Tupelo, MS 38801 ^^ supp...@happypenguincomputers.com 662-269-2706 662-205-6424 http://happypenguincomputers.com/ A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting
Re: [gentoo-user] Managing multiple systems with identical hardware
I see what you desire now - essentially you want to clone your laptop (or big chunks of it) over to your other workstations. I've been working on this and I think I have a good and simple plan. My laptop roams around with me and is the master system. The office router is the submaster system. All of the other office systems are minion systems. All of the systems are 100% hardware-identical laptops. All of the minions are 100% software-identical. I install every package that any system needs on the master and create an SSH keypair. The only config files that change from their state on the master are: /etc/conf.d/hostname, /etc/conf.d/net, /etc/ssh/sshd_config, /etc/shorewall/*. I write comments in those files which serve as flags for scripted changes. I write a script that is run from the master to the submaster, or from the submaster to a minion. If it's the former, rsync / is run with exceptions (/usr/portage, /usr/local/portage, /var/log, /tmp, /home, /root but /root/.ssh/id_rsa_script* is included), my personal user is removed, a series of workstation users are created with useradd -m, services are added or removed from /etc/runlevels/default, and config files are changed according to comment flags. If it's the latter, rsync / is run without exceptions, services are added or removed from /etc/runlevels/default, and config files are changed according to comment flags. All user info on the submaster and minions would be effectively reset whenever the script is run and that's fine. Root logins would have to be allowed on the submaster and minions but only with the SSH key. There are probably more paths to exclude when rsyncing master to submaster. That's it. No matter how numerous the minions become, this should allow me to keep everything running by administrating only my own system, pushing that to the submaster, and having the submaster push to the minions. I've been going over the nitty-gritty and everything looks good. What do you think? Is there anything inherently wrong with rsyncing / onto a running system? If there are little or no changes to make, about how much data would actually be transferred? Is there a better tool for this than rsync? I know Funtoo uses git for syncing with their portage tree. - Grant
Re: [gentoo-user] KVM on AMD ... why doesn't it just work?
Am 02.10.2013 20:51, schrieb Bruce Hill: rm kerninst less /usr/src/linux/README (proper instructions) wash, rinse, repeat :-) ;-) ... I take this as an option ;-)
Re: [gentoo-user] KVM on AMD ... why doesn't it just work?
Am 02.10.2013 14:38, schrieb Stefan G. Weichinger: CFLAGS=-O2 -march=native -pipe Do you agree with me on these CFLAGS ? AMD Opteron 6344 ... And I assume I should rebuild the kernel with CONFIG_MK8 ? Thanks, Stefan
[gentoo-user] Installing (154 of 154) sys-apps/usbutils-006-r1
This emerge just finished on a box that hasn't been booted in 4 months, let alone updated. I moved from profile 10.0 to 13.0. Take a bow, Gentoo devs :-) Rich
Re: [gentoo-user] wlan0 failed to start
Usually this indicates a lack of kernel support. I would check kernel .config or menuconfig to ensure all your Broadcom support has been enabled. if you know which modules are involved you can use modprobe to check them out (see if they're loaded or unavailable or whatever ). Good luck!
Re: PORTDIR default - changing PORTDIR variable - WAS Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01
On 2013-10-02 2:24 PM, Tanstaafl tansta...@libertytrek.org wrote: Ok, thanks much guys... guess I'll go with Alans layout as it makes the most sense to me: /var/portage /var/distfiles /var/packages Actually, I think I like: /var/portage/tree /var/portage/distfiles /var/portage/packages better... :)
Re: [gentoo-user] emerge --sync issue on only one comp on LAN
On 02/10/2013 19:37, Paul Hartman wrote: On Tue, Oct 1, 2013 at 10:45 AM, Alan McKinnon alan.mckin...@gmail.com wrote: On 01/10/2013 17:17, Greg Turner wrote: Rsync mirrors don't grow on trees, man. People pay good money to provide that service to us. You should seriously be embarrassed to have posted this. Really? Then you can all use mine with the greatest of pleasure: SYNC=rsync://ftp.is.co.za/gentoo-portage I have the NetOps team BEGGING me weekly to try and generate more traffic out of our network going international. The in-out ratio on the peering links is seriously screwed and they badly want something to even it out a bit :-) Challenge accepted. :) Here's my sync summary (I'm in the USA): Number of files: 174305 Number of files transferred: 50913 ^ Total file size: 305.99M bytes Total transferred file size: 73.98M bytes Literal data: 73.98M bytes Matched data: 0 bytes File list size: 4.31M File list generation time: 343.526 seconds ^^^ File list transfer time: 0.000 seconds Total bytes sent: 1.12M Total bytes received: 41.37M sent 1.12M bytes received 41.37M bytes 64.33K bytes/sec total size is 305.99M speedup is 7.20 You don't sync very often, right? -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] emerge --sync issue on only one comp on LAN
On 02/10/2013 20:48, Bruce Hill wrote: On Tue, Oct 01, 2013 at 05:45:13PM +0200, Alan McKinnon wrote: Then you can all use mine with the greatest of pleasure: SYNC=rsync://ftp.is.co.za/gentoo-portage I have the NetOps team BEGGING me weekly to try and generate more traffic out of our network going international. The in-out ratio on the peering links is seriously screwed and they badly want something to even it out a bit :-) Just for giggles I tried it too, from the US. Slower than turtles mating. ;) Give the poor thing a break - it's not dedicated to Gentoo :-) There's about 11TB of mirrors on that host = full copies of every major distro, most of the popular middle teir ones and full copies of all 3 BSDs The general public keep it busy - I blame them :-) -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Sloppy sterm screen update over ssh
On Wed, Oct 02, 2013 at 11:33:19AM -0500, Paul Hartman wrote On Mon, Sep 30, 2013 at 7:10 PM, Walter Dnes waltd...@waltdnes.org wrote: I've recently noticed when ssh'ing into another machine that the xterm display doesn't fully update. I.e. there are holes where an app updates over a previous screen. I've tried Google, but any mention of screen is interpreted as the screen utility. Hi, Are you running xterm over ssh (X11 forwarding) or are you running an ssh session inside of an xterm? If the latter I have experienced something similar when my TERM variable was not set correctly and things like Midnight Commander would not fill in the blue background (for example) or fail to blank the screen on updates. Another Midnight Commander user! Yes, I fire up an xterm locally, and then ssh to another machine. I notice this especially with mc and vim. Thanks for the pointer. Now that I know what I should be looking for, a Google search indicates I should have... TERM=xterm Is that correct? It seems to solve my problem. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
[gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 09/30/2013 06:22 AM, Neil Bothwick wrote: On Mon, 30 Sep 2013 12:01:27 +0200, Hinnerk van Bruinehsen wrote: mount /usr -o remount,ro mkdir /newusr rsync -a /usr/ /new/usr/ Comment out /usr line in /etc/fstab mv /usr /oldusr mv /newusr /usr reboot rmdir /oldusr What you do with the old partition is up to you. In this case the discussion was about /usr on LVM, so you just delete it and allocate the space elsewhere when needed. You can even leave out the step of creating a new directory and moving it later if you bind-mount you rootfs somewhere, e.g. /mnt/gentoo. Good point. You may want to add some parameters to the call to rsync, though (e.g. those that preserve permissions, xattrs (especially for SELinux or XT-PaX) and owner/group (should be -pogX), -a covers most if not all of those. possibly -x aswell (if you have other filesystems under /usr (e.g. a discrete FS for the portage tree). Another good point, one of those things you think of immediately after hitting Send :( Specifically, I would use -axAHX (-rlptgoD are implied by -a, but -HAX are not). - From rsync(1): - -aarchive mode; equals -rlptgoD (no -H,-A,-X) - -rrecurse into directories - -lcopy symlinks as symlinks - -ppreserve permissions - -tpreserve modification times - -gpreserve group - -opreserve owner - -Dpreserve device files and special files - -Hpreserve hard links - -Apreserve ACLs (implies -p) - -Xpreserve extended attributes - -xdon't cross filesystem boundaries - -- Jonathan Callen -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.21 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCgAGBQJSTKwvAAoJELHSF2kinlg4w5kP+wXTGhMSgTFReacg44Ryn8bu bSvq3qZURGbGu5s8Q/Ejg42sZ/0fXdfDD57ZhSpVRWMZ/KZIETZAD2oCkktjr6Vj OELOhz5Pm+UswC201nl6K39PYMijdI+4Mho6QQVoMixa1NI5ZBF7pLBRi+RtJzOx ilEBPmMqE9jt1hdiHnvucq6YEOSANsLRz5rhqnae9BJurrgAMCBOtxvATZiP5YwD 6P8OyNy0UeKdYYrvzjmAjY9cmZ78r6rIekF1eDchGklIJfuj/mlwG8r0JlusSc34 q7OK4YHdDeNBbMESpuJjeZAYfUycUk90Ag5g+8vx9UqxxJj6FxeeVt3oaPi7sLgj j4HXS2d5FcH9ItO5SToWIccZHp+C0/3w1S7DOT0pNe1SaOMOwSBDpZTtLhseW1C8 VVr+G4wGrhQmmBXSePa8ICWJ7Xr8NM16km/h8JrHjtvUisV4AtOuQ0mzv0FGmjVG cgcDqtAjBD00YjVQPQ5VSxb8ZGBjFecMBPhZk2Q1Ea2uUTpb8RdeH0ZvVMXg8N0u g+otGVC56PecjLReYCWnHuM18+f5tKdTvUo+u0GG6epoe2icNi5BPjC9oQjLI6nd hdhfrAKzje5T0vAUZNMO6uYcuSL4zmB/T53Dkl1aIem5kV2I9SVt0ku3WsSCywD+ bNu/HzR0SlB4FyFvEEJl =ef8P -END PGP SIGNATURE-
Re: [gentoo-user] SystemD + Gnome 3.8 I can log in as root but not as normal user
This did not worked out: USE=suid emerge -pv --update --changed-use world it did not showed anything to emerge. On 1 October 2013 02:29, Walter Dnes waltd...@waltdnes.org wrote: On Tue, Oct 01, 2013 at 12:30:51AM -0600, Carlos Sura wrote Hello Mates, I finally thought that I got this working, so now I am dealing this issue: I choose the latest kernel with systemd and GDM starts good, but I cannot log in to gnome as a normal user, I can only log in to gnome as root. What I have done before this started: emerge -uDvaN world emerge --depclean --ask emerge @preserved-rebuild Then it just happened. What I've tried so far: - .xinitrc with exec gnome-session for user and root - emerge -1 $( qlist -IC x11-drivers/ ) - emerge @x11-module-rebuild - X -configure Another note: Starting gnome as normal user just hang, apparently it wants to start but it cannot start. Neither doing: startx. Can you temporarily rename your Gnome config file/directory on your system, and see if it'll work with a fresh start? Another option to try, just as a test only, is... USE=suid emerge -pv --update --changed-use world Does that bring up anything related to Gnome? -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications -- Carlos Sura.- www.carlossura.com www.carlossura.com/blog
Re: [gentoo-user] emerge --sync issue on only one comp on LAN
On Wed, Oct 02, 2013 at 11:54:30PM +0200, Alan McKinnon wrote: On 02/10/2013 20:48, Bruce Hill wrote: On Tue, Oct 01, 2013 at 05:45:13PM +0200, Alan McKinnon wrote: Then you can all use mine with the greatest of pleasure: SYNC=rsync://ftp.is.co.za/gentoo-portage I have the NetOps team BEGGING me weekly to try and generate more traffic out of our network going international. The in-out ratio on the peering links is seriously screwed and they badly want something to even it out a bit :-) Just for giggles I tried it too, from the US. Slower than turtles mating. ;) Give the poor thing a break - it's not dedicated to Gentoo :-) There's about 11TB of mirrors on that host = full copies of every major distro, most of the popular middle teir ones and full copies of all 3 BSDs The general public keep it busy - I blame them :-) I didn't mean anything disrespectful (notice my winky), just that from the US it's rather slow. But it's still listed, commented, in make.conf. Thanks, Alan! -- Happy Penguin Computers ') 126 Fenco Drive ( \ Tupelo, MS 38801 ^^ supp...@happypenguincomputers.com 662-269-2706 662-205-6424 http://happypenguincomputers.com/ A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting
Re: PORTDIR default - changing PORTDIR variable - WAS Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01
Alan McKinnon alan.mckin...@gmail.com wrote: On 01/10/2013 20:48, Neil Bothwick wrote: On Tue, 01 Oct 2013 14:15:49 -0400, Tanstaafl wrote: I'm interested in what the DEFAULTS are, ie, for a new/from scratch installation. Why? If ever there was a distro for people that didn't want to use defaults, Gentoo is it. Someone had to decide the defaults - so, what are they? Anyone? I installed a VM a couple of weeks ago and I'm sure portage was still in /usr. It's easy enough to tell, unpack a stage 3 and see where the portage directory lives, but the handbook still refers to /usr/portage. Please say it isn't so, otherwise I'm going to look like a right royal chump. Or maybe I just change it all on automatic these days and forget it do it. But it was definitely discussed on -dev at length. i could be wrong about the end result bashful -- Alan McKinnon alan.mckin...@gmail.com You always grab the latest stage3? I generally make a copy of an exiating up-to-date system and use that. That works best as they all use NFS and set of links for portage. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.