Re: [gentoo-user] Re: [SOLVED] What happened to my 2nd eth0?
On Tue, Feb 24, 2015 at 06:43:19AM +, Mick wrote PS. Did you look at setting your desired subnet rather than a local-link auto-configured address at your HDHomerun device? No go. I have an ancient HDHR-US model. The output from get help is... Supported configuration options: /ir/target protocol://ip:port /lineup/location countrycode:postcode /sys/copyright /sys/debug /sys/features /sys/hwmodel /sys/model /sys/restart resource /sys/version /tunern/channel modulation:freq|ch /tunern/channelmap channelmap /tunern/debug /tunern/filter 0x-0x [...] /tunern/lockkey /tunern/program program number /tunern/streaminfo /tunern/status /tunern/target ip:port According to the manufacturer's site, the latest models support a lot more stuff, including... /sys/ipaddr dhcp|ip mask gw dns ... which allows to get/set ipaddress, or work as a dhcp client. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
Re: [gentoo-user] Deleted kdevelop ebuilds
On Feb 27, 2015, at 9:07, Fernando Rodriguez frodriguez.develo...@outlook.com wrote: Why does a good ebuild gets replaced with a broken one? Is there any way to make sure that packages that I'm using don't get removed from the portage tree or at least that the package doesn't get downgraded automatically. Right now if I install an unstable package by keywording a specific version and it gets deleted you get downgraded the next time you run emerge -vauDN so you have no simple way of going back to your working configuration since the ebuild is gone. I would do it like this: Make an overlay of your own and copy the wanted ebuild there. Mask the package and unmask the version you copied to the overlay. Of course there are also other ways You can download an old portage snapshot to get the deleted ebuild back. -- -Matti
Re: [gentoo-user] EFI install ( continum) [ system hangs at boot ]
On Fri, 27 Feb 2015 07:49:20 -0500, German wrote: The kernel cannot find the block device containing your root filesystem. Either you have given the wrong root= option to the kernel Are you talking about this? UEFI does not pass kernel parameters to the kernel during normal boot, so you need to hardcode them via CONFIG_CMDLINE. Example for the root partition on /dev/sda2: KERNEL Enable built-in kernel parameters Processor type and features --- [*] Built-in kernel command line (root=/dev/sda2) Yes, if you are not using a boot manager. -- Neil Bothwick Top Oxymorons Number 24: New classic pgpe6gB504qFd.pgp Description: OpenPGP digital signature
Re: [gentoo-user] EFI install ( continum) [ system hangs at boot ]
On Fri, 27 Feb 2015 07:23:42 -0500, German wrote: Ok gentooers. I did manage to install gentoo on EFI, it boots, however hangs at Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block ( 0,0) Does anyone have an idea what is going on? The kernel cannot find the block device containing your root filesystem. Either you have given the wrong root= option to the kernel Where is this given? Can you elaborate? After the kernel name if you are using GRUB or Gummiboot. If you are directly loading the kerne you probably have to compile it into the kernel with CONFIG_CMDLINE. not compiled in the driver for your hard disk driver. I am using SSD Patriot Blaze. Is it also should be compiled somewhere in the kernel? Why is the system boots at all? It's the controller that needs to be compile in, which is usually AHCI these days. This is covered in the kernel section of the handbook. -- Neil Bothwick We never really grow up; we only learn how to act in public. pgp2m9NxBUOUV.pgp Description: OpenPGP digital signature
Re: [gentoo-user] EFI install ( continum) [ system hangs at boot ]
On Fri, 27 Feb 2015 12:12:24 + Neil Bothwick n...@digimed.co.uk wrote: On Fri, 27 Feb 2015 06:53:32 -0500, German wrote: Ok gentooers. I did manage to install gentoo on EFI, it boots, however hangs at Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block ( 0,0) Does anyone have an idea what is going on? The kernel cannot find the block device containing your root filesystem. Either you have given the wrong root= option to the kernel Are you talking about this? UEFI does not pass kernel parameters to the kernel during normal boot, so you need to hardcode them via CONFIG_CMDLINE. Example for the root partition on /dev/sda2: KERNEL Enable built-in kernel parameters Processor type and features --- [*] Built-in kernel command line (root=/dev/sda2) or you have not compiled in the driver your your hard disk driver. -- Neil Bothwick I'm writing a book. I've got the page numbers done. -- German gentger...@gmail.com
Re: [gentoo-user] EFI install ( continum) [ system hangs at boot ]
On Fri, 27 Feb 2015 12:12:24 + Neil Bothwick n...@digimed.co.uk wrote: On Fri, 27 Feb 2015 06:53:32 -0500, German wrote: Ok gentooers. I did manage to install gentoo on EFI, it boots, however hangs at Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block ( 0,0) Does anyone have an idea what is going on? The kernel cannot find the block device containing your root filesystem. Either you have given the wrong root= option to the kernel Where is this given? Can you elaborate? or you have not compiled in the driver your your hard disk driver. I am using SSD Patriot Blaze. Is it also should be compiled somewhere in the kernel? Why is the system boots at all? -- Neil Bothwick I'm writing a book. I've got the page numbers done. -- German gentger...@gmail.com
Re: [gentoo-user] EFI install ( continum) [ system hangs at boot ]
On Fri, 27 Feb 2015 14:15:04 + Neil Bothwick n...@digimed.co.uk wrote: On Fri, 27 Feb 2015 07:49:20 -0500, German wrote: The kernel cannot find the block device containing your root filesystem. Either you have given the wrong root= option to the kernel Are you talking about this? UEFI does not pass kernel parameters to the kernel during normal boot, so you need to hardcode them via CONFIG_CMDLINE. Example for the root partition on /dev/sda2: KERNEL Enable built-in kernel parameters Processor type and features --- [*] Built-in kernel command line (root=/dev/sda2) Yes, if you are not using a boot manager. Hmm.. I was using some sort of boot manager, efibootmgr, however there was no word in install docs how to configure it to point to root device.. So, are you advising on gummiboot? Are people happy with it? I found gentoo wiki how to configure it, so I must give it a try. Thanks for your input, I guess the problem is solved now. On to the next install with gummi -- Neil Bothwick Top Oxymorons Number 24: New classic -- German gentger...@gmail.com
Re: [gentoo-user] EFI install ( continum) [ system hangs at boot ]
On Fri, Feb 27, 2015 at 2:39 PM, Mick michaelkintz...@gmail.com wrote: You can still use the kernel stub to boot directly your OS, but you may need to specify the root fs, if it is BTRFS (not sure about others): $ grep CONFIG_CMDLINE /usr/src/linux/.config # CONFIG_CMDLINE_PARTITION is not set CONFIG_CMDLINE_BOOL=y CONFIG_CMDLINE=root=/dev/sda2 rootfstype=btrfs # CONFIG_CMDLINE_OVERRIDE is not set Also the fs type should be built directly in the kernel, rather than a module. Presumably you could also build an initramfs into the kernel, not that I've ever tried it. I think most just use gummiboot because it is far more flexible. If you're hard-coding all this stuff into your kernel then if anything changes you're going to be dropping to rescue disks. -- Rich
Re: [gentoo-user] Re: heat codes
Am Freitag, 27.02.2015 um 09:43 schrieb Peter Humphrey pe...@prh.myzen.co.uk: On Friday 27 February 2015 09:02:18 Neil Bothwick wrote: On Fri, 27 Feb 2015 02:27:03 -0600, Dale wrote: Yes, I have two instances of it running permanently too. Though I think James is right too, in that it does still have the odd bug. I haven't had any trouble with mine. It just sits there and runs until I logout. What is this bug it suffers from? Yay! We've finally found some software that works perfectly for Dale yet shows bugs for other people! You're slipping, Dale! :) Just a minor thing, Dale. Each curve plotted - of, say, traffic over eth0 - is supposed to show a numerical value in the upper left corner, but from time to time one of those will stop being shown. It then stays that way until I remove my .gkrellm2 directory and set the program up again. You can switch the numerics on and off by left mouse click into the respective monitor. Regards wabe
Re: [gentoo-user] EFI install ( continum) [ system hangs at boot ]
On Friday 27 Feb 2015 15:14:18 German wrote: On Fri, 27 Feb 2015 14:15:04 + Neil Bothwick n...@digimed.co.uk wrote: On Fri, 27 Feb 2015 07:49:20 -0500, German wrote: The kernel cannot find the block device containing your root filesystem. Either you have given the wrong root= option to the kernel Are you talking about this? UEFI does not pass kernel parameters to the kernel during normal boot, so you need to hardcode them via CONFIG_CMDLINE. Example for the root partition on /dev/sda2: KERNEL Enable built-in kernel parameters Processor type and features --- [*] Built-in kernel command line (root=/dev/sda2) Yes, if you are not using a boot manager. Hmm.. I was using some sort of boot manager, efibootmgr, however there was no word in install docs how to configure it to point to root device.. So, are you advising on gummiboot? Are people happy with it? I found gentoo wiki how to configure it, so I must give it a try. Thanks for your input, I guess the problem is solved now. On to the next install with gummi You can still use the kernel stub to boot directly your OS, but you may need to specify the root fs, if it is BTRFS (not sure about others): $ grep CONFIG_CMDLINE /usr/src/linux/.config # CONFIG_CMDLINE_PARTITION is not set CONFIG_CMDLINE_BOOL=y CONFIG_CMDLINE=root=/dev/sda2 rootfstype=btrfs # CONFIG_CMDLINE_OVERRIDE is not set Also the fs type should be built directly in the kernel, rather than a module. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] About to attempt EFI install, which modules to compile?
On Friday 27 Feb 2015 12:08:33 Neil Bothwick wrote: On Fri, 27 Feb 2015 06:42:45 -0500, German wrote: Install grub: grub2-install --target=x86_64-uefi /to/your/partition Are you sure that grub is needed for EFI system? I doubt it. I used efibootmgr as per gentoo handbook. And it was also said that it is possible to boot EFI system without anything at all ( e.g. grub, efibootmgr) No, GRUB is not needed. However, using some sort of boot manager makes life easier and a number of us here are happy with Gummiboot. Yes, as Neil says, GRUB, Gummiboot, rEFInd and friends offer flexibility in what you boot with and are particularly helpful - if not the only solution - if you want to boot a LiveCD iso image from your hard disk. On the other hand, if you have a DVD drive on the machine and you don't multiboot continuously, then you can use the EFI stub kernel to boot very very fast. :-) http://wiki.gentoo.org/wiki/EFI_stub_kernel -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Deleted kdevelop ebuilds
I've been using kdevelop-4.7.0 (unstable) for a while and it was working just fine. Then about a couple weeks ago it's ebuild got deleted from the portage tree and replaced with kdevelop-4.7.1 which is broken (I have issues with remote debugging). Why does a good ebuild gets replaced with a broken one? Is there any way to make sure that packages that I'm using don't get removed from the portage tree or at least that the package doesn't get downgraded automatically. Right now if I install an unstable package by keywording a specific version and it gets deleted you get downgraded the next time you run emerge -vauDN so you have no simple way of going back to your working configuration since the ebuild is gone. -- Fernando Rodriguez
Re: [gentoo-user] Re: heat codes
Peter Humphrey wrote: On Thursday 26 February 2015 19:48:06 Dale wrote: While it has been a while since I used gkrellm to monitor a remote system, I use it every day to monitor my system I sit at. Keep in mind, not much changes on how gkrellm works. It looks for temp/fan/CPU/memory etc info and displays it. I'm not sure it requires a whole lot of updating to do that especially given it has worked fine here for ages and not much has really changed. Yes, I have two instances of it running permanently too. Though I think James is right too, in that it does still have the odd bug. I haven't had any trouble with mine. It just sits there and runs until I logout. What is this bug it suffers from? Dale :-) :-)
Re: [gentoo-user] Re: heat codes
On Fri, 27 Feb 2015 02:27:03 -0600, Dale wrote: Yes, I have two instances of it running permanently too. Though I think James is right too, in that it does still have the odd bug. I haven't had any trouble with mine. It just sits there and runs until I logout. What is this bug it suffers from? Yay! We've finally found some software that works perfectly for Dale yet shows bugs for other people! You're slipping, Dale! -- Neil Bothwick In the begining, there was nothing. And God said Let there be light and there was light. There was still nothing, but you could see it better. pgpqCKianIEJO.pgp Description: OpenPGP digital signature
Re: [gentoo-user] About to attempt EFI install, which modules to compile?
On Thu, 26 Feb 2015 22:02:36 -0500, German wrote: Hi people. I am about to try today an EFI gentoo install with sysrecuecd. It is all more or less clear to me in the install docs, however I am not sure how to gather info about my hardware, which modules should be compiled when installing kernel manually. Is there a way to gather this info? What command should be issued to accomplish that? Also, I am sort of reluctant to compile kernel manually. Is this possible to use genkernel to install system in EFI mode or I must to use manual compilation? Thank you for your advice and suggestions. There's a page on the Gentoo Wiki that covers EFI, but this is what I have set % zgrep EFI /proc/config.gz CONFIG_EFI_PARTITION=y CONFIG_EFI=y CONFIG_EFI_STUB=y # CONFIG_EFI_MIXED is not set CONFIG_FB_EFI=y CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y # EFI (Extensible Firmware Interface) Support CONFIG_EFI_VARS=y CONFIG_EFI_RUNTIME_WRAPPERS=y CONFIG_EFIVAR_FS=y # CONFIG_EARLY_PRINTK_EFI is not set I don't think genkernel will help with EFI, but manual configuration is no big deal. You could let genekernel generate a configuration to set as a starting point. Really though, manual configuration is just a case of following the handbook, just like any other part of setting up Gentoo. -- Neil Bothwick Facts are stubborn things, but statistics are more pliable. - Mark Twain pgpFuWqKFok33.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Deleted kdevelop ebuilds
On Fri, 27 Feb 2015 03:07:34 -0500 Fernando Rodriguez frodriguez.develo...@outlook.com wrote: I've been using kdevelop-4.7.0 (unstable) for a while and it was working just fine. Then about a couple weeks ago it's ebuild got deleted from the portage tree and replaced with kdevelop-4.7.1 which is broken (I have issues with remote debugging). Why does a good ebuild gets replaced with a broken one? Is there any way to make sure that packages that I'm using don't get removed from the portage tree or at least that the package doesn't get downgraded automatically. Right now if I install an unstable package by keywording a specific version and it gets deleted you get downgraded the next time you run emerge -vauDN so you have no simple way of going back to your working configuration since the ebuild is gone. You can look in the packages Changelog in the portage tree, perhaps there's an entry there explaining why the old version was removed. ebuilds are never truly lost, if you still have it installed the ebuild is stored in /var/db. If not, you can find it in the gentoo attic (google can help), download it and put it in your local overlay. Mask the versions you don't want and portage will ensure your local copy stays installed. Alan
Re: [gentoo-user] Re: heat codes
On Friday 27 February 2015 09:02:18 Neil Bothwick wrote: On Fri, 27 Feb 2015 02:27:03 -0600, Dale wrote: Yes, I have two instances of it running permanently too. Though I think James is right too, in that it does still have the odd bug. I haven't had any trouble with mine. It just sits there and runs until I logout. What is this bug it suffers from? Yay! We've finally found some software that works perfectly for Dale yet shows bugs for other people! You're slipping, Dale! :) Just a minor thing, Dale. Each curve plotted - of, say, traffic over eth0 - is supposed to show a numerical value in the upper left corner, but from time to time one of those will stop being shown. It then stays that way until I remove my .gkrellm2 directory and set the program up again. Oh, and the Invisible theme stopped being invisible when KDE-4.0 was first allowed to escape. I reported it at the time, but nothing's happened as far as I can see. Nothing major, as I said. I can live with it. -- Rgds Peter.
Re: [gentoo-user] Re: heat codes
Neil Bothwick wrote: On Fri, 27 Feb 2015 02:27:03 -0600, Dale wrote: Yes, I have two instances of it running permanently too. Though I think James is right too, in that it does still have the odd bug. I haven't had any trouble with mine. It just sits there and runs until I logout. What is this bug it suffers from? Yay! We've finally found some software that works perfectly for Dale yet shows bugs for other people! You're slipping, Dale! I was wanting to test it to see if it would screw up with me too. ROFL I figure I must have left something out somewhere. ;-) Dale :-) :-)
Re: [gentoo-user] Deleted kdevelop ebuilds
On Friday, February 27, 2015 11:45:52 AM Alan McKinnon wrote: You can look in the packages Changelog in the portage tree, perhaps there's an entry there explaining why the old version was removed. It only says Version bump. Removed old ebuilds are never truly lost, if you still have it installed the ebuild is stored in /var/db. If not, you can find it in the gentoo attic (google can help), download it and put it in your local overlay. Mask the versions you don't want and portage will ensure your local copy stays installed. Thanks, I found it on the attic, I didn't know you could get deleted ebuilds from it. I think it would be best if portage didn't downgrade packages automatically. -- Fernando Rodriguez signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] EFI install ( continum) [ system hangs at boot ]
On Friday, February 27, 2015 10:14:18 AM German wrote: Hmm.. I was using some sort of boot manager, efibootmgr, however there was no word in install docs how to configure it to point to root device.. So, are you advising on gummiboot? Are people happy with it? I found gentoo wiki how to configure it, so I must give it a try. Thanks for your input, I guess the problem is solved now. On to the next install with gummi Efibootmgr is not a boot manager, it's an utility to interface with the EFI firmware on the motherboard and you don't need to hardcode the command line on the kernel, look at the -u option of efibootmgr. You can even load an initrd with it by specifying the efi_memmap boot option. I use something like this (it shoulld work with any firmware because Windows uses it): efibootmgr -p 2 -c -b 0001 -l \EFI\Linux\vmlinuz.efi -L Gentoo Linux -u root=/dev/sda2 resume=/dev/sda3 quiet splash efi_memmap initrd=/EFI/Linux/initramfs.img I normally boot directly with the EFI stub because it's slightly faster and prettier (completely graphical) but I also have GRUB2 installed as a separate EFI entry for flexibility in case I need to boot another kernel or play with the command line at boot time. -- Fernando Rodriguez signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] About to attempt EFI install, which modules to compile?
On 02/27/2015 01:09 AM, Matti Nykyri wrote: On Feb 27, 2015, at 5:57, Matti Nykyri matti.nyk...@iki.fi wrote: Make a partition for gentoo and format it. Untar stage3 and portage snapshot to it (snapshot is faster than rsync). Chroot. Emerge portage and grub. I copied kernel from my old system to /boot. If you don't have this build a new one. Run grub2-mkconfig -o /boot/grub/grub.cfg (mkdir if it doesn't exists. (http://wiki.gentoo.org/wiki/GRUB2) Manually modify grub.cfg so that the root drive will match the setup of the new system. (Something like this /dev/sdb2 - /dev/sda2 and hd1,2 - hd0,2) If you're using grub2, you should not be manually editing grub.cfg, just /etc/default/grub and running grub2-mkconfig. The computer I'm on right now boots with EFI, and I've never had to manually touch grub.cfg. Alec
Re: [gentoo-user] About to attempt EFI install, which modules to compile?
On Fri, 27 Feb 2015 06:57:28 +0200 Matti Nykyri matti.nyk...@iki.fi wrote: On Feb 27, 2015, at 5:02, German gentger...@gmail.com wrote: Hi people. I am about to try today an EFI gentoo install with sysrecuecd. It is all more or less clear to me in the install docs, however I am not sure how to gather info about my hardware, which modules should be compiled when installing kernel manually. Is there a way to gather this info? What command should be issued to accomplish that? Also, I am sort of reluctant to compile kernel manually. Is this possible to use genkernel to install system in EFI mode or I must to use manual compilation? Thank you for your advice and suggestions. Just did my first EFI install this week... So not a virgin anymore ;) I had an old system so I attached the new drive to that for partitioning and install. You use gpt with uefi. You need to reserve one partition for UEFI. Set the type to EF00 and boot flag enabled (parted or gdisk can do this). Format to fat32. Make a partition for gentoo and format it. Untar stage3 and portage snapshot to it (snapshot is faster than rsync). Chroot. Emerge portage and grub. I copied kernel from my old system to /boot. If you don't have this build a new one. Run grub2-mkconfig -o /boot/grub/grub.cfg (mkdir if it doesn't exists. (http://wiki.gentoo.org/wiki/GRUB2) Install grub: grub2-install --target=x86_64-uefi /to/your/partition Are you sure that grub is needed for EFI system? I doubt it. I used efibootmgr as per gentoo handbook. And it was also said that it is possible to boot EFI system without anything at all ( e.g. grub, efibootmgr) Then copy /boot/efi/EFI/gentoo/grubx64.efi to /boot/efi/EFI/BOOT/BOOTX64.EFI Many asus mb's have bug in efi and require BOOTX64.EFI to be lower case = bootx64.efi so rename it as necessary. My mb had that bug and a rename was needed even though fat should be case insensitive. After this you can boot your new system and continue with the install :) Further reading: https://help.ubuntu.com/community/UEFIBooting -- -Matti -- German gentger...@gmail.com
[gentoo-user] EFI install ( continum) [ system hangs at boot ]
Ok gentooers. I did manage to install gentoo on EFI, it boots, however hangs at Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block ( 0,0) Does anyone have an idea what is going on? Is that fstab, something else? I appreciate any advice. I want my laptop runs Gentoo. -- German gentger...@gmail.com
Re: [gentoo-user] About to attempt EFI install, which modules to compile?
On Fri, 27 Feb 2015 06:42:45 -0500, German wrote: Install grub: grub2-install --target=x86_64-uefi /to/your/partition Are you sure that grub is needed for EFI system? I doubt it. I used efibootmgr as per gentoo handbook. And it was also said that it is possible to boot EFI system without anything at all ( e.g. grub, efibootmgr) No, GRUB is not needed. However, using some sort of boot manager makes life easier and a number of us here are happy with Gummiboot. -- Neil Bothwick Why do programmers get Halloween and Christmas confused? Because oct 31 is the same as dec 25. pgpeJtEjsY8ye.pgp Description: OpenPGP digital signature
Re: [gentoo-user] EFI install ( continum) [ system hangs at boot ]
On Fri, 27 Feb 2015 06:53:32 -0500, German wrote: Ok gentooers. I did manage to install gentoo on EFI, it boots, however hangs at Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block ( 0,0) Does anyone have an idea what is going on? The kernel cannot find the block device containing your root filesystem. Either you have given the wrong root= option to the kernel or you have not compiled in the driver your your hard disk driver. -- Neil Bothwick I'm writing a book. I've got the page numbers done. pgpwxG9xwNP0g.pgp Description: OpenPGP digital signature