[gentoo-user] Corrupted font in gtk apps.
Hi, after recent update I encountered a problem with fonts. They looks ugly and somehow corrupted. I see that in gtk apps I use, but maybe it is also in other apps. I encountered it on two computers, both amd64. Before a week it was fine. I use gentoo stable. I have fixed it partly by using Terminus font in all places where I can. But this is only workaround. All other fonts (bitstream 75bpp, dejavu) are corrupted. I also logged a bug https://bugs.gentoo.org/show_bug.cgi?id=400909 I hope I'm not the only one who has this behavior. Regards, Robert
Re: [gentoo-user] Video Out on laptop
Hi, what does xrandr say?? Connect the external monitor and type xrandr on console. Than something like: xrandr --output LVDS1 --off --output VGA1 --auto Robert. V Fri, 27 Jan 2012 13:47:03 + (GMT) dhk...@optonline.net napsáno: I have an HP Pavilion Entertainment Laptop which has a video out port. I want to hook up a projector or monitor to it, but when I do there isn't a signal. There is a function key that is suppose to turn it on and off, but it doesn't seem to work. Is this a kernel setting?It's an AMD Athlon 64 Neo X2 Dual Core Processor L335 running a current updated Gentoo system with kernel 3.1.6.Thanks,dhk
Re: [gentoo-user] Video Out on laptop
So to enable external output you can do this: xrandr --output VGA-0 --auto --output LVDS --off to switch back xrandr --output VGA-0 --off --output LVDS --auto you can assign this to some shortcuts. Or do a acpi script for the hotkey. I have done similar for docking and undocking on my thinkpad. Also you can use the tools for your DE, for example krandrtray for KDE or gnome it has in Settings I think. Robert. V Fri, 27 Jan 2012 14:13:10 + (GMT) dhk...@optonline.net napsáno: - Original Message -From: Robert David Date: Friday, January 27, 2012 9:00 amSubject: Re: [gentoo-user] Video Out on laptopTo: gentoo-user@lists.gentoo.orgCc: dhk...@optonline.net Hi, what does xrandr say?? Connect the external monitor and type xrandr on console. Than something like: xrandr --output LVDS1 --off --output VGA1 --auto Robert. V Fri, 27 Jan 2012 13:47:03 + (GMT) dhk...@optonline.net napsáno: I have an HP Pavilion Entertainment Laptop which has a video out port. I want to hook up a projector or monitor to it, but when I do there isn't a signal. There is a function key that is suppose to turn it on and off, but it doesn't seem to work. Is this a kernel setting?It's an AMD Athlon 64 Neo X2 Dual Core Processor L335 running a current updated Gentoo system with kernel 3.1.6.Thanks,dhk Without the monitor xrandr says:Screen 0: minimum 320 x 200, current 1366 x 768, maximum 1366 x 1366LVDS connected 1366x768+0+0 (normal left inverted right x axis y axis) 293mm x 164mm 1366x768 60.0*+ 1280x720 59.9 1152x768 59.8 1024x768 59.9 800x600 59.9 640x480 59.4VGA-0 disconnected (normal left inverted right x axis y axis)HDMI-0 disconnected (normal left inverted right x axis y axis)With the monitor xrandr says:Screen 0: minimum 320 x 200, current 1366 x 768, maximum 1366 x 1366LVDS connected 1366x768+0+0 (normal left inverted right x axis y axis) 293mm x 164mm 1366x768 60.0*+ 1280x720 59.9 1152x768 59.8 1024x768 59.9 800x600 59.9 640x480 59.4VGA-0 connected (normal left inverted right x axis y axis) 1280x1024 60.0 + 75.0 1152x864 75.0 1024x768 75.0 70.1 60.0 832x624 74.6 800x600 72.2 75.0 60.3 56.2 640x480 75.0 72.8 66.7 59.9 720x400 70.1HDMI-0 disconnected (normal left inverted right x axis y axis)
Re: [gentoo-user] Re: Corrupted font in gtk apps.
It is wired, because I use KDE and qt apps are ok. I can change the font for gtk but some are displayed wrong. I have tried to play with fontconfig but did not help at all. I have also check the xorg.log and fount that there are included only /usr/share/fonts/100dpi 75dpi and misc. Nothing more. But I see the other fonts like DejaVu in gtk-chtheme or the kde gtk settup. So I think it is not a problem of xorg font loading. And is wired that it happen just week ago, and I did not change any config since that, only do a regular merge of stable updates. Regards, Robert. V Sat, 28 Jan 2012 07:36:04 -0800 walt w41...@gmail.com napsáno: On 01/27/2012 04:23 AM, Robert David wrote: Hi, after recent update I encountered a problem with fonts. They looks ugly and somehow corrupted. I see that in gtk apps I use, but maybe it is also in other apps. I don't have that problem now but when I've seen it in the past it was because Xorg wasn't finding all of the installed fonts for some reason. There may be easier ways to diagnose the problem but I always use the very old x11-apps/xfontsel, which at least will let you know for sure which fonts Xorg is actually seeing, if not the reason for the problem.
Re: [gentoo-user] Re: Corrupted font in gtk apps.
Thanks for your help, I have found the problem. After checking my homedir I observed I have accidently uncommented some old xft stuff in .Xdefaults file. That cause the problem. Robert. V Sun, 29 Jan 2012 13:35:42 -0800 walt w41...@gmail.com napsáno: On 01/29/2012 08:54 AM, Robert David wrote: I have also check the xorg.log and fount that there are included only /usr/share/fonts/100dpi 75dpi and misc. Nothing more. That's not normal. What does xset -q say about the Font Path? You may be loading some fonts from ~/.fontconfig, too. If you delete or move that directory you may see different results when you start X again.
Re: [gentoo-user] Can the text based consoles be made scrollable?
V Mon, 30 Jan 2012 18:55:16 +0800 Andrew Lowe a...@wht.com.au napsáno: Hi all, I'm having a bit of trouble with KDE after a emerge world. Now when I log into my box at a text console, no X running at all, and attempt to do stuff to debug the problem the output scrolls off the top of the screen. Is there a way to make a standard bash shell/terminal/thingy scrollable so I can go back up though the output and review the results of my fiddles? Regards, Andrew Shift + PgUP Robert.
Re: [gentoo-user] Out of memory during GCC compile
V Mon, 6 Feb 2012 13:33:21 -0800 Grant emailgr...@gmail.com napsáno: I'm trying to compile GCC on a remote system with 192MB RAM. It's completed successfully before but now it uses up all RAM. The compile doesn't stop but it must be thrashing. I have MAKEOPTS=-j1 in /etc/make.conf. Am I jeopardizing my HD by letting it swap on the compile right now? I've ordered an upgrade to the max of 512MB. I've stopped all processes using up memory that I don't need including X. Is there anything else I can do to get through the compile with 192MB RAM? - Grant If you use -pipe as CFLAG remove it. If not just try lower flags as mentioned (-O0).
Re: [gentoo-user] Re: Safe way to test a new kernel?
V Fri, 24 Feb 2012 18:08:43 -0800 Grant emailgr...@gmail.com napsáno: I need to test a kernel config change on a remote system. Is there a safe way to do this? The fallback thing in grub has never worked for me. When does that ever work? You can press ESC in the Grub screen and it will take you to text-only mode. There, you select an entry, press e and edit it. Press ENTER when you're finished, and then press b to boot your modified entry. That way, you can boot whatever kernel you want if the current one doesn't work. I can't do that remotely though. I'm probably asking for something that doesn't exist. - Grant Don't do that if you don't have some tool like KVM, or other remote management of the server. Or if it is available in the data center, just call them and order this service for the time you need to do updates. This is why I don't use gentoo on servers any more, just because I rather stay safe than sorry. But if you really need to do that (and you don't have any chance to get KVM attached), just create an virtual machine with backup of your server and test that kernel there, and check that you have all the modules you need on the server. But this is the last thing I would do. Good luck, Robert.
Re: [gentoo-user] Re: Safe way to test a new kernel?
V Sat, 25 Feb 2012 10:32:20 -0800 Grant emailgr...@gmail.com napsáno: I need to test a kernel config change on a remote system. Is there a safe way to do this? The fallback thing in grub has never worked for me. When does that ever work? You can press ESC in the Grub screen and it will take you to text-only mode. There, you select an entry, press e and edit it. Press ENTER when you're finished, and then press b to boot your modified entry. That way, you can boot whatever kernel you want if the current one doesn't work. I can't do that remotely though. I'm probably asking for something that doesn't exist. - Grant Don't do that if you don't have some tool like KVM, or other remote management of the server. Or if it is available in the data center, just call them and order this service for the time you need to do updates. This is why I don't use gentoo on servers any more, just because I rather stay safe than sorry. How is another distro different in this situation? - Grant Just because when using distros like Centos/RHEL or Debian stable, you have very little chance that the kernel released will fail. Due to extensive testing, user base and update policy. And major kernel update you done only once in few years and the transition is tested before release done (though you are supposed to test yourself to be safe). This is not saying that gentoo is bad, I'm very big fan of gentoo. But you have to concern where it use and where not. Robert. But if you really need to do that (and you don't have any chance to get KVM attached), just create an virtual machine with backup of your server and test that kernel there, and check that you have all the modules you need on the server. But this is the last thing I would do. Good luck, Robert.
Re: [gentoo-user] Re: Safe way to test a new kernel?
V Sun, 26 Feb 2012 02:50:46 +0700 Pandu Poluan pa...@poluan.info napsáno: On Feb 26, 2012 2:05 AM, Robert David robert.david.pub...@gmail.com wrote: V Sat, 25 Feb 2012 10:32:20 -0800 Grant emailgr...@gmail.com napsáno: I need to test a kernel config change on a remote system. Is there a safe way to do this? The fallback thing in grub has never worked for me. When does that ever work? You can press ESC in the Grub screen and it will take you to text-only mode. There, you select an entry, press e and edit it. Press ENTER when you're finished, and then press b to boot your modified entry. That way, you can boot whatever kernel you want if the current one doesn't work. I can't do that remotely though. I'm probably asking for something that doesn't exist. - Grant Don't do that if you don't have some tool like KVM, or other remote management of the server. Or if it is available in the data center, just call them and order this service for the time you need to do updates. This is why I don't use gentoo on servers any more, just because I rather stay safe than sorry. How is another distro different in this situation? - Grant Just because when using distros like Centos/RHEL or Debian stable, you have very little chance that the kernel released will fail. Due to extensive testing, user base and update policy. And major kernel update you done only once in few years and the transition is tested before release done (though you are supposed to test yourself to be safe). This is not saying that gentoo is bad, I'm very big fan of gentoo. But you have to concern where it use and where not. Robert. Anecdotal, but... I once had an Ubuntu VM that can't shutdown after a kernel update. First boot after update went well, but when I rebooted it again, it pegged its vCPUs at 100% before I ordered the Xen hypervisor to put it out of its misery. I don't want to start flame, but ubuntu was never a system for server for me. It may be good for desktop, but not server. For me ubuntu is too up-to-date to be a good server distro, even the LTS is not something well done, maybe in version x.x.3-4 of LTS it s reasonable to put on server, but it will soon end with support. So nothing for me. The bug was apparently in the portion of the kernel running in the primary CPU that's responsible for shutting down the other CPUs before cutting the power. And IIRC, this bug affects all multi-processor configuration. So, as you can see, binary distros can still fuck up royal time. Not to mention that if you have an exotic configuration, support for your configuration might not be built into the kernel by the distro. This is true, but you cannot compare countless options that gentoo can be configured with few options that binary distro is capable and thus more probably tested before. Somehow I believe people deploying Gentoo servers will be much more careful... Agree. But real word is not so ideal. I got situations where I need upgrade basic gentoo server to more special virtualized environment. Just a customer wanted that. This consist about changing net to bridge, add/update kernel modules, etc. I ended with bricked server after a long checks etc, so I have to check the server physicaly. I did another thing in debian remotely within a half hour. This also implies that I'm not so good admin, but things happen not so good as you expect every time. I still use gentoo on my notebook and work computer, or specialized project where it benefits. But all the servers are migrated to debian or centos. I just don't have so much time to play. Robert. Rgds,
Re: [gentoo-user] Very OT - Displaylink adapter and setting up X
V Mon, 12 Mar 2012 17:24:47 -0500 Michael Sullivan msulli1...@gmail.com napsáno: I feel really stupid asking this, but I want to use an HDMI component to output one of my PCs to the TV set. I've followed all of the wiki entry at http://wiki.gentoo.org/wiki/DisplayLink, but there's something else I need to know. I get the green screen on the TV that it mentions when the kernel module is being loaded correctly. The problem is that I use gdm in /etc/conf.d/xdm DISPLAYMANAGER variable to start X, and I don't know where the actual gdm configuration lives so I can tell it to use ~/.xinitrc2 from the wiki. My google searching hasn't been going well. Can anybody give me any hints as to how to make progress on this problem? Hi Michael, it depends on how you would like to use the external card. Please specify your scenario. Anyway, try to look in /etc/gdm, /etc/init.d/xdm, /etc/X11 (there can be specified which server start in file xdm/Xservers) I have DL adapter connected to my docking station and a simple script to activate the second xserver on docking and deactivate that when undocking. I simply run here second desktop using x2x. I just use that primary for web browser, so I dont need xinerama. You can also use DL with your primary card and xinerama. But it needs specific xorg.conf and needs to be connected when xserver starting. So nothing suitable for notebook and hotplug. Robert.
Re: [gentoo-user] Tips for saving power needed...
Hi, maybe write your hw configuration first. Eg: CPUs, graphic cards, HDDs (size, speed, type) and others. Also provide lspci output and /proc/cpuinfo. Then this is a server, maybe with more than one GB nic. If you dont use spare nics disable them in bios. Do the same with other unneeded stuff. If you can access your server and replace cards, remove everything you dont need. Do not lower fans or dont play with cpu voltage. If you want to run this server 24/7 it can cause serious problems. It will not save you much power. Paradoxly this could lead to higher power usage in some cases, because of hotter devices. Remove spare memory cards, if you dont need much memory, etc. Robert. V Sun, 01 Apr 2012 17:04:58 +0200 Jarry mr.ja...@gmail.com napsáno: Hi, admin of a colo-center keeps complaining my server is going a little over power-limit (which they have set as ~120W per 24h/avg, while my server needs ~130-135W). So I need to find a way to save at least those 15W, or I will be moved to higher tarif (which means higher costs for server-housing). Before going hard(ware) way, I would like to try first all possible software solutions. What I tried up to now is cpufreqd, CONFIG_NO_HZ=y, and spindown. In addition to that I adjusted fan-speeds to a little lower values and turned off some unneeded peripherials (in bios). Is there anything else I could do? Any tips would be greatly welcomed... Jarry
Re: [gentoo-user] Problems with ath9k: can't authenticate
Hi, Check in wicd settings which routing tool you use. Select route when using ip. I got some problems with wicd and ip. I just using similar ath9k card on 3.0.x with no problem. I always use wifi as module. And I don't use genkernel, just my plain config and easy initrd for lvm root support and fbsplash. Robert. V Fri, 13 Apr 2012 09:44:25 -0300 Claudio Roberto França Pereira spide...@gmail.com napsáno: Hi guys. I'm having problems with my wireless nic, on a notebook. The card is an ath9k 802.11n wireless adapter. The driver is loaded, wpa_supplicant and wicd get to recognize them, I can see the association working correctly, but I can't get the card to authenticate, it ALWAYS times out. I tried looking at the kernel documentation for the ath9k driver, but without success. I'll look for it using the work internet. Anyway, does anyone with a similar setup had any problems with atheros nics? And how did you solve it? Thinking further, I had to enable wireless extensions (wext) to make wicd handle ath9k. Should I disable it and stick to wpa_supplicant? Also, I'm using a non-modular kernel, compiling everything in it. Yesterday I left the notebook making a new modular kernel, with sound and wireless drivers modular. I'm almost going all the way to genkernel. Any clues? I'm running ~amd64, kernel 3.3.0. 3.1.X worked somewhat ok, but I can't shake the feeling that under Windows this laptop of mine would work flawlessly. I'm not whining, just wanna find a comparable configuration, and solve my usability issues. Thanks -- Claudio Roberto França Pereira
Re: [gentoo-user] NFS terribly slow on writes
Hi Helmut, this is common problem with nfs. I would suggest investigate more about nfs4 (better caching). And try to play with mount options rsize=1024,wsize=1024. I think default is 8k. Robert. V Fri, 20 Apr 2012 20:29:57 +0200 Helmut Jarausch jarau...@igpm.rwth-aachen.de napsáno: Hi, on one of our students' lab the home directories of the students are mounted via NFS. Our main application (www.codelite.org) seems to write a lot of small chunks to files in the students' home directories. Thus, just finishing Codelite takes 100 seconds while the same version on a pure local machine takes about 2 seconds for that. A simple test dd bs=80 count=1 if=/dev/zero of=$HOME/Test shows only 80 Kb/sec (speed of a floppy drive). The machine was idle and connected to a dedicated, nearly idle server by a network of 1Gb/sec. Does anybody have some hints on how to speed up such an NFS3 setup? Many thanks for some clues. By the way, NFS was set up with the async option. Helmut.
Re: [gentoo-user] I've met strange message when i execute vim
Hi, do you have clean environmet, eg: revdep-rebuild ?? What kind of terminal you using? Because vim does not use glib, as I know. Try to run the same in xterm or other terminal. Robert. V Sun, 22 Apr 2012 02:58:44 +0900 Seong-ho Cho darkcircle.0...@gmail.com napsáno: Yes. I can edit text file after these messages. Your thinking is so exact !! :D 2012/4/22 Stroller strol...@stellar.eclipse.co.uk: On 21 April 2012, at 15:32, Seong-ho Cho wrote: meow@darkcircle ~/xfce-ko $ vi xfdesktop.master.ko.po ** (process:15449): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags' ** (process:15449): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags' ** (process:15449): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags' when I execute vim as above, I've met some messages like that. what does above mean? how can I solve that problem? I did damn googling but I didn't find why that message shown. I find at least 3 bugs when I google that message. They're Ubuntu bugs, they don't refer to vim, but they make some sense to me. Am I right in thinking that vim does work and allow you to edit this file after showing these messages? Stroller.
Re: [gentoo-user] I've met strange message when i execute vim
Hmm, I dont know glib so much, so I cant say. What is the process 635 here? Is it the vim or not? Paste the output ldd vim. Robert. V Sun, 22 Apr 2012 20:38:31 +0900 Seong-ho Cho darkcircle.0...@gmail.com napsáno: ah ... by the way, where are 'GFlags' as a type and gtype 'G*Flags' as an enum from? 2012/4/22 Seong-ho Cho darkcircle.0...@gmail.com: Hi, I've tried revdep-rebuild in many time. I tried to run the same __in the xterm__ and __in the lxterminal__ as you said. but I also saw a similar message as below : ( meow@darkcircle ~/xfce-ko $ vi xfdesktop.master.ko.po ** (process:635): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags' ** (process:635): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags' ** (process:635): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags' meow@darkcircle ~/xfce-ko $ 2012/4/22 Robert David robert.david.pub...@gmail.com: Hi, do you have clean environmet, eg: revdep-rebuild ?? What kind of terminal you using? Because vim does not use glib, as I know. Try to run the same in xterm or other terminal. Robert. V Sun, 22 Apr 2012 02:58:44 +0900 Seong-ho Cho darkcircle.0...@gmail.com napsáno: Yes. I can edit text file after these messages. Your thinking is so exact !! :D 2012/4/22 Stroller strol...@stellar.eclipse.co.uk: On 21 April 2012, at 15:32, Seong-ho Cho wrote: meow@darkcircle ~/xfce-ko $ vi xfdesktop.master.ko.po ** (process:15449): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags' ** (process:15449): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags' ** (process:15449): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags' when I execute vim as above, I've met some messages like that. what does above mean? how can I solve that problem? I did damn googling but I didn't find why that message shown. I find at least 3 bugs when I google that message. They're Ubuntu bugs, they don't refer to vim, but they make some sense to me. Am I right in thinking that vim does work and allow you to edit this file after showing these messages? Stroller.
Re: [gentoo-user] I've met strange message when i execute vim
Try to reemerge vim without python support. Do you use any python scripts in vim? If no just dont use python flag for vim, if it solve the problem. But it is strange, really seems something with pygtk, but dont know. Maybe try to run python-updater. Robert. V Mon, 23 Apr 2012 00:31:27 +0900 Seong-ho Cho darkcircle.0...@gmail.com napsáno: emm this happen also does for normal users. I've tried mv ~/.vimrc ~/.vimrc.bak before run vim for normar user named meow, but similar message is shown. :-$ ... so ... I did try to install and run mc, as you told me. This program doesn't show that similar message. (-0-! Amazing~~) when I execute valgrind /usr/bin/vi I found messages as below ... ==18494==by 0x6D0190F: read_compiled_module (in /usr/lib64/libpython2.7.so.1.0) ==18494==by 0x6D03F46: load_source_module (in /usr/lib64/libpython2.7.so.1.0) ==18494==by 0x6D049DC: load_package (in /usr/lib64/libpython2.7.so.1.0) ==18494== ** (process:18494): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags' ** (process:18494): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags' ** (process:18494): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags' ==18494== Invalid read of size 4 ==18494==at 0x6C97833: PyObject_Free (in /usr/lib64/libpython2.7.so.1.0) ==18494==by 0x6C69C5A: code_dealloc (in /usr/lib64/libpython2.7.so.1.0) ==18494==by 0x6D03D69: load_source_module (in /usr/lib64/libpython2.7.so.1.0) ... --- I exactly don't know where this message comes from. ... by the way ... python? result log named strace-vi.log for strace /usr/bin/vi is attached. I think that this problem caused by pygtk-related component. I did re-emerge pygtk related packages (pywebkitgtk python-gtkmvc pygtksourceview pygtkhelpers pygtkglext gtkspell-python pygtk) but I didn't fix this problem : ( 2012/4/22 Robert David robert.david.pub...@gmail.com: This is strange. Does this happen only for some files? Or globaly. Does this happen also for root? Did you try clean .vimrc? Do you have mc installed? If not, please try to install a and run mc, if it will show similar stuff (maybe some ncurses problem) Best would be run vi in valgrind, strace, etc, to see what is happening. But this is not trivial. Robert. V Sun, 22 Apr 2012 21:50:39 +0900 Seong-ho Cho darkcircle.0...@gmail.com napsáno: OK. I attached screenshot (NOT PHOTOSHOPED) for your question. 2012/4/22 Robert David robert.david.pub...@gmail.com: Hmm, I dont know glib so much, so I cant say. What is the process 635 here? Is it the vim or not? Paste the output ldd vim. Robert. V Sun, 22 Apr 2012 20:38:31 +0900 Seong-ho Cho darkcircle.0...@gmail.com napsáno: ah ... by the way, where are 'GFlags' as a type and gtype 'G*Flags' as an enum from? 2012/4/22 Seong-ho Cho darkcircle.0...@gmail.com: Hi, I've tried revdep-rebuild in many time. I tried to run the same __in the xterm__ and __in the lxterminal__ as you said. but I also saw a similar message as below : ( meow@darkcircle ~/xfce-ko $ vi xfdesktop.master.ko.po ** (process:635): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags' ** (process:635): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags' ** (process:635): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags' meow@darkcircle ~/xfce-ko $ 2012/4/22 Robert David robert.david.pub...@gmail.com: Hi, do you have clean environmet, eg: revdep-rebuild ?? What kind of terminal you using? Because vim does not use glib, as I know. Try to run the same in xterm or other terminal. Robert. V Sun, 22 Apr 2012 02:58:44 +0900 Seong-ho Cho darkcircle.0...@gmail.com napsáno: Yes. I can edit text file after these messages. Your thinking is so exact !! :D 2012/4/22 Stroller strol...@stellar.eclipse.co.uk: On 21 April 2012, at 15:32, Seong-ho Cho wrote: meow@darkcircle ~/xfce-ko $ vi xfdesktop.master.ko.po ** (process:15449): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags' ** (process:15449): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags' ** (process:15449): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags' when I execute vim as above, I've met some messages like that. what does above mean? how can I
Re: [gentoo-user] Anyone setup Gentoo on an Archos 101
Nice project. I dont know this tablet, but I have similar project that want to realize when time will arrive. I have Asus eee note, nice grayscale tablet with wacom digitizer. I want to make some guide and build environment to prepare image for that. If you want to install gentoo there, I suggest you collect as much information about the hardware, how and where kernel can be placed. Create virtual environment to build the image (qemu). Also get as much information how are the possibilities to debug and recover, if something goes wrong. Robert. V Tue, 24 Apr 2012 18:46:51 + (UTC) James wirel...@tampabay.rr.com napsáno: http://www.archos.com/products/ta/archos_101it/tabletpc.html?country=kglang=en I'm just curious if anyone has attempted to put Gentoo on any Archos tablet. James
Re: [gentoo-user] System cold crashing when too much memory is used?
Hi, what rebooted Dom0 or DomU? Have you some special need to run kernel 3.4.9, try 3.0.35, I dont have any issue on server with 3.0.x. Other thing, try to disable swap and run the script. Could be disk problem or bus/controller problem when copying pages from swap. Robert. On Friday 19 of October 2012 18:45:32 Konstantinos Agouros wrote: hi, I am running a Xen host with gentoo sources 3.4.9. I've had issues that the box cold reboots on me and suspected memory use. Today I ran the following little perl script: my $a = a x 1000; $b = $a x 1000; while(1) { $b .= $b; } 2 Minutes about 2G swapped out (Dom0 has about 6GB of ram and lots of swap) and boom cold boot. No panic message on the screen before. Anybody has an idea what might be causing this? During on of these episodes I ran memtest86 on the box without error. CPU is an AMD Phenom 6core. Regards, Konstantin
Re: [gentoo-user] Network perf tool
Hi Patric, what about iperf? Robert. On Wednesday 24 of October 2012 20:36:54 Petric Frank wrote: Hello, this is not exactly an Gentoo question - but i don't now where to ask otherwise. Is there a tool for (Gentoo-)Linux to do network performance tests as defined in RFC 2544 ? This will run on an Gentoo host having at least 2 network interfaces to be connected to the device under test. regards Petric
Re: [gentoo-user] E17 lock screen
Hi Kevin, what exactly you missing on screen lock in E17? I use E17 and screen lock is ok when suspending. It does not need some xscreenlock stuff, it is just part of e. Just check settings-sceen-screen_lock and checkin lock_on_suspend. Thats all:) If you missing something, just make sure you build with all the modules flags. x11-wm/enlightenment-0.17.0 was built with the following: USE=nls pam spell udev ukit -doc -emotion -static-libs ENLIGHTENMENT_MODULES=access backlight battery clock comp conf-applications conf-dialogs conf-display conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers connman cpufreq dropshadow everything fileman fileman-opinfo gadman ibar ibox illume2 mixer msgbus notification pager quickaccess shot start syscon systray tasks temperature tiling winlist wizard xkbswitch Robert. On Thu, 27 Dec 2012 18:51:26 -0600 Kevin Brandstatter kjbrandstat...@gmail.com wrote: On 12/27/2012 05:16 PM, Mick wrote: On Saturday 22 Dec 2012 01:29:57 Kevin Brandstatter wrote: So e17 just came out and ive been using for a bit. The only problem ive had with it is that i cant check the option to lock the screen on suspend. I don't think this is a problem on some of the other distributions so thought it could be a policy problem on gentoo. Curious if anyone else uses e17/has this problem and maybe a fix. or just for suggestions of where to look I can't select it here either, but I suspect that this may be because I do not use xscreenlock or equivalent. Have you tried posting either at the e17 or the enlightenm...@gentoo.org mailing lists? yes I first posted to the e17-users list. It was working for other people so i thought it might be distro specific, I emerged xscreensaver to see if that would fix it at all but no luck. I had this problem a while ago and i think it had something to do with polkit settings -Kevin
Re: [gentoo-user] How broken is my raid device /dev/md6?
Hi, what does say: cat /proc/mdstat This happened on running system? The root is still running fine I suppose. Try run smartctl test on both drives. And do not rebuild or recreate md before you do not know all information, you can terribly broke your root. Robert. On Sun, 23 Dec 2012 12:20:48 + Alan Mackenzie a...@muc.de wrote: On Sat, Dec 22, 2012 at 03:24:53PM +0100, Volker Armin Hemmann wrote: Am Samstag, 22. Dezember 2012, 13:53:42 schrieb Alan Mackenzie: Hi, all. Just built kernel 3.6.11 and when I tried to install it with lilo, I got this difficult error message: Fatal: Trying to map files from unnamed device 0x (NFS/RAID mirror down ?) . So I eventually had a look at dmesg for my raid setup, and found this - note lines 15 - 19: [2.148410] md: Waiting for all devices to be available before autodetect [2.149891] md: If you don't use raid, use raid=noautodetect [2.151546] md: Autodetecting RAID arrays. [2.180356] md: Scanned 4 and added 4 devices. [2.181819] md: autorun ... [2.183244] md: considering sdb6 ... [2.184666] md: adding sdb6 ... [2.186079] md: sdb3 has different UUID to sdb6 [2.187492] md: adding sda6 ... [2.14] md: sda3 has different UUID to sdb6 [2.190484] md: created md6 [2.191883] md: bindsda6 [2.193224] md: bindsdb6 [2.194538] md: running: sdb6sda6 15 [2.195855] md: kicking non-fresh sda6 from array! 16 [2.197154] md: unbindsda6 17 [2.205840] md: export_rdev(sda6) [2.207176] bio: create slab bio-1 at 1 19 [2.208520] md/raid1:md6: active with 1 out of 2 mirrors [2.209835] md6: detected capacity change from 0 to 34359672832 [2.211187] md: considering sdb3 ... [2.212444] md: adding sdb3 ... [2.213691] md: adding sda3 ... [2.215117] md: created md3 [2.216349] md: bindsda3 [2.217569] md: bindsdb3 [2.218765] md: running: sdb3sda3 [2.220025] md/raid1:md3: active with 2 out of 2 mirrors [2.221231] md3: detected capacity change from 0 to 429507543040 [2.222508] md: ... autorun DONE. [2.230821] md6: unknown partition table . Further perusal of a log file showed this error first happened on 2012-11-29. It would appear /dev/md6 has been firing on one cylinder ever since, and I've been unaware of this. :-( What does it mean for sda6 to be non-fresh? /dev/md6 is my root partition (including /usr :-(), so I can't unmount it for investigation. Could somebody please suggest how I might go about repairing this problem. boot from systemrescuecd mdadm -S /dev/md6 mdadm -A /dev/md6 This didn't quite work, since mdadm -A merely restarted the array without the non-fresh partition. Still it got me searching, and what eventually worked was mdadm /dev/md6 -a /dev/sda6. (Where -a stands for add.) The mdadm man page is very vague for this use case. get some coffee. Make some popcorn. The resync will take some while. Indeed it did. The coffee settled me down somewhat. Thanks again!
Re: [gentoo-user] E17 lock screen
Did you try e with new config with e-17 release? Or you had some previous configs and was replaced with release. Because there was some config upgrade and old configs did not work and some was not replaced correctly (mixer gadget). And suspendig with E works ok? You use pm-suspend? Dont you have some dbus problems? As the events are send through dbus I think, for me it works even with running pm-suspend from console (E locks screen). Robert. On Thu, 03 Jan 2013 03:51:34 -0600 Kevin Brandstatter kjbrandstat...@gmail.com wrote: The problem is the option to lock screen on suspend is greyed out and uncheckable. Did try building with all modules -Kevin On 12/28/2012 04:16 AM, Robert David wrote: Hi Kevin, what exactly you missing on screen lock in E17? I use E17 and screen lock is ok when suspending. It does not need some xscreenlock stuff, it is just part of e. Just check settings-sceen-screen_lock and checkin lock_on_suspend. Thats all:) If you missing something, just make sure you build with all the modules flags. x11-wm/enlightenment-0.17.0 was built with the following: USE=nls pam spell udev ukit -doc -emotion -static-libs ENLIGHTENMENT_MODULES=access backlight battery clock comp conf-applications conf-dialogs conf-display conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers connman cpufreq dropshadow everything fileman fileman-opinfo gadman ibar ibox illume2 mixer msgbus notification pager quickaccess shot start syscon systray tasks temperature tiling winlist wizard xkbswitch Robert. On Thu, 27 Dec 2012 18:51:26 -0600 Kevin Brandstatter kjbrandstat...@gmail.com wrote: On 12/27/2012 05:16 PM, Mick wrote: On Saturday 22 Dec 2012 01:29:57 Kevin Brandstatter wrote: So e17 just came out and ive been using for a bit. The only problem ive had with it is that i cant check the option to lock the screen on suspend. I don't think this is a problem on some of the other distributions so thought it could be a policy problem on gentoo. Curious if anyone else uses e17/has this problem and maybe a fix. or just for suggestions of where to look I can't select it here either, but I suspect that this may be because I do not use xscreenlock or equivalent. Have you tried posting either at the e17 or the enlightenm...@gentoo.org mailing lists? yes I first posted to the e17-users list. It was working for other people so i thought it might be distro specific, I emerged xscreensaver to see if that would fix it at all but no luck. I had this problem a while ago and i think it had something to do with polkit settings -Kevin
Re: [gentoo-user] E17 lock screen
This is wired, can you post screenshot? There does not seem to be some condition in code. Robert. On Thu, 03 Jan 2013 12:27:41 -0600 Kevin Brandstatter kjbrandstat...@gmail.com wrote: i cleared out the configs when i installed the release. Suspend works, it even locks now, but i still cant change the settings. no dbus problems that i can see -Kevin On 01/03/2013 04:26 AM, Robert David wrote: Did you try e with new config with e-17 release? Or you had some previous configs and was replaced with release. Because there was some config upgrade and old configs did not work and some was not replaced correctly (mixer gadget). And suspendig with E works ok? You use pm-suspend? Dont you have some dbus problems? As the events are send through dbus I think, for me it works even with running pm-suspend from console (E locks screen). Robert. On Thu, 03 Jan 2013 03:51:34 -0600 Kevin Brandstatter kjbrandstat...@gmail.com wrote: The problem is the option to lock screen on suspend is greyed out and uncheckable. Did try building with all modules -Kevin On 12/28/2012 04:16 AM, Robert David wrote: Hi Kevin, what exactly you missing on screen lock in E17? I use E17 and screen lock is ok when suspending. It does not need some xscreenlock stuff, it is just part of e. Just check settings-sceen-screen_lock and checkin lock_on_suspend. Thats all:) If you missing something, just make sure you build with all the modules flags. x11-wm/enlightenment-0.17.0 was built with the following: USE=nls pam spell udev ukit -doc -emotion -static-libs ENLIGHTENMENT_MODULES=access backlight battery clock comp conf-applications conf-dialogs conf-display conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers connman cpufreq dropshadow everything fileman fileman-opinfo gadman ibar ibox illume2 mixer msgbus notification pager quickaccess shot start syscon systray tasks temperature tiling winlist wizard xkbswitch Robert. On Thu, 27 Dec 2012 18:51:26 -0600 Kevin Brandstatter kjbrandstat...@gmail.com wrote: On 12/27/2012 05:16 PM, Mick wrote: On Saturday 22 Dec 2012 01:29:57 Kevin Brandstatter wrote: So e17 just came out and ive been using for a bit. The only problem ive had with it is that i cant check the option to lock the screen on suspend. I don't think this is a problem on some of the other distributions so thought it could be a policy problem on gentoo. Curious if anyone else uses e17/has this problem and maybe a fix. or just for suggestions of where to look I can't select it here either, but I suspect that this may be because I do not use xscreenlock or equivalent. Have you tried posting either at the e17 or the enlightenm...@gentoo.org mailing lists? yes I first posted to the e17-users list. It was working for other people so i thought it might be distro specific, I emerged xscreensaver to see if that would fix it at all but no luck. I had this problem a while ago and i think it had something to do with polkit settings -Kevin
[gentoo-user] Firefox and ssl
Hi all, anyone have problem with firefox and selfsigned ssl? I tryed firefox and firefox-bin. Firefox: Problem loading page: Secure connection failed. Firefox-bin: No problem loading page. I tryed with/without system-sqlite. Rebuild nss. Nothing helped. Robert David
Re: [gentoo-user] Firefox and ssl
This is not the problem. With firefox-bin I can normaly accept the certificate, compiled firefox does not give me the option. Robert. On Fri, 4 Jan 2013 17:13:20 + Mick michaelkintz...@gmail.com wrote: On Friday 04 Jan 2013 12:45:01 Robert David wrote: Hi all, anyone have problem with firefox and selfsigned ssl? I tryed firefox and firefox-bin. Firefox: Problem loading page: Secure connection failed. Firefox-bin: No problem loading page. I tryed with/without system-sqlite. Rebuild nss. Nothing helped. Robert David Hmm it should flag up a warning and once you accept it there shouldn't be a problem connecting.
Re: [gentoo-user] E17 lock screen
This is relay wired. You also cannot lock on startup. Maybe something with your config. Did you try backup all E17 configuration and run with clean? (eg: mv .e .e.old with E17 not running) Than try if lock on startup can be configured. Please post your emerge -pv enlightenment:0.17. Robert. On Fri, 04 Jan 2013 23:20:24 -0600 Kevin Brandstatter kjbrandstat...@gmail.com wrote: Sure, ive attached one to this email. -Kevin On 01/03/2013 03:08 PM, Robert David wrote: This is wired, can you post screenshot? There does not seem to be some condition in code. Robert. On Thu, 03 Jan 2013 12:27:41 -0600 Kevin Brandstatter kjbrandstat...@gmail.com wrote: i cleared out the configs when i installed the release. Suspend works, it even locks now, but i still cant change the settings. no dbus problems that i can see -Kevin On 01/03/2013 04:26 AM, Robert David wrote: Did you try e with new config with e-17 release? Or you had some previous configs and was replaced with release. Because there was some config upgrade and old configs did not work and some was not replaced correctly (mixer gadget). And suspendig with E works ok? You use pm-suspend? Dont you have some dbus problems? As the events are send through dbus I think, for me it works even with running pm-suspend from console (E locks screen). Robert. On Thu, 03 Jan 2013 03:51:34 -0600 Kevin Brandstatter kjbrandstat...@gmail.com wrote: The problem is the option to lock screen on suspend is greyed out and uncheckable. Did try building with all modules -Kevin On 12/28/2012 04:16 AM, Robert David wrote: Hi Kevin, what exactly you missing on screen lock in E17? I use E17 and screen lock is ok when suspending. It does not need some xscreenlock stuff, it is just part of e. Just check settings-sceen-screen_lock and checkin lock_on_suspend. Thats all:) If you missing something, just make sure you build with all the modules flags. x11-wm/enlightenment-0.17.0 was built with the following: USE=nls pam spell udev ukit -doc -emotion -static-libs ENLIGHTENMENT_MODULES=access backlight battery clock comp conf-applications conf-dialogs conf-display conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers connman cpufreq dropshadow everything fileman fileman-opinfo gadman ibar ibox illume2 mixer msgbus notification pager quickaccess shot start syscon systray tasks temperature tiling winlist wizard xkbswitch Robert. On Thu, 27 Dec 2012 18:51:26 -0600 Kevin Brandstatter kjbrandstat...@gmail.com wrote: On 12/27/2012 05:16 PM, Mick wrote: On Saturday 22 Dec 2012 01:29:57 Kevin Brandstatter wrote: So e17 just came out and ive been using for a bit. The only problem ive had with it is that i cant check the option to lock the screen on suspend. I don't think this is a problem on some of the other distributions so thought it could be a policy problem on gentoo. Curious if anyone else uses e17/has this problem and maybe a fix. or just for suggestions of where to look I can't select it here either, but I suspect that this may be because I do not use xscreenlock or equivalent. Have you tried posting either at the e17 or the enlightenm...@gentoo.org mailing lists? yes I first posted to the e17-users list. It was working for other people so i thought it might be distro specific, I emerged xscreensaver to see if that would fix it at all but no luck. I had this problem a while ago and i think it had something to do with polkit settings -Kevin
Re: [gentoo-user] howto on setting up rootfs on ZFS?
Hi, I use grml livecd for various recovery/livecd purposes. I just add an script to my boot partition to compile current zfs. Since it is debian based it contains installation through aptitude. Robert. /boot/zfs # ls install_zfs* spl-0.6.1.tar.gz zfs_create zfs-0.6.1.tar.gz /boot/zfs # cat install_zfs #!/bin/sh aptitude update aptitude install build-essential zlib1g-dev uuid-dev aptitude install linux-headers-3.7-1-grml-amd64 tar -xvzpf spl-0.6.1.tar.gz tar -xvzpf zfs-0.6.1.tar.gz cd spl-0.6.1 ./configure --prefix=/ make make install cd .. cd zfs-0.6.1 ./configure --prefix=/ make make install cd .. rm -rf zfs-0.6.1 rm -rf spl-0.6.1 On Mon, 20 May 2013 13:52:33 -0400 Douglas J Hunley doug.hun...@gmail.com wrote: I used the existing wiki to get ZFS up and running on my system a few weeks ago and after getting familiar with it, beating it up a bit, and breaking it in as many different ways as I could envision, I think I'm happy with it. I'd now like to use it as my rootfs. I'm going to leave /boot as a separate extX filesystem for simplicity's sake. I can't find any decent Gentoo-related documentation on setting up rootfs on ZFS. I'm not even sure what boot media supports ZFS (system rescue cd doesn't, and my googling turns up a bunch of *bsd based media). Anyone done this before and care to help a brotha out?
Re: [gentoo-user] [OT] Using an odd number of drives in ZFS RaidZ
Hi Frank, On Tuesday, June 29, 2021 3:56:49 PM CEST Frank Steinmetzger wrote: > Hello fellows > > This is not really a Gentoo question, but at least my NAS (which this mail > is about) is running Gentoo. :) > > There are some people amongst this esteemed group that know their stuff > about storage and servers and things, so I thought I might try my luck here. > I’ve already looked on the Webs, but my question is a wee bit specific and > I wasn’t able to find the exact answer (yet). And I’m a bit hesitant to ask > this newbie-ish question in a ZFS expert forum. ;-) > > Prologue: > Due to how records are distributed across blocks in a parity-based ZFS vdev, > it is recommended to use 2^n data disks. Technically, it is perfectly fine > to deviate from it, but for performance reasons (mostly space efficiency) > it is not the recommended way. That’s because the (default) maximum record > size of 128 k itself is a power of 2 and thus can be distributed evenly on > all drives. At least that’s my understanding. Is that correct? > > So here’s the question: > If I had three data drives, (c|w)ould I get around that problem by setting a > record size that is divisible by 3, like 96 k, or even 3 M? I would not bother with this. 128k is a good default for general usage and even if you got 3 data disks the actual loss is pointless to think about (assuming you got 4k disks). > > > > Here’s the background of my question: > Said NAS is based on a Mini-ITX case which has only four drive slots (which > is the most common configuration for a case of this formfactor). I started > with two 6 TB drives, running in a mirror configuration. One year later > space was running out and I filled the remaining slots. To maximise > reliability, I went with RaidZ2. > > I reached 80 % usage (which is the recommended maximum for ZFS) and am > now evaluating my options for the coming years. > 1) Reduce use of space by re-encoding. My payload is mainly movies, among >which are 3 TB of DVDs which can be shrunk by at least ⅔ by re-encoding. >→ this takes time and computing effort, but is a long-term goal anyway. I always think about in such cases if I really need such data. In many cases with clear consideration I find out I may remove half of the data without any pain. It is like cleaning my home, there are many things extra and there is missing a space for real valuable things, with disk data it is the same. > 2) Replace all drives with bigger ones. There are three counter arguments: >• 1000 € for four 10 TB drives (the biggest size available w/o helium) >• they are only available with 7200 rpm (more power, noise and heat) >• I am left with four perfectly fine 6 TB drives > 3) Go for 4+2 RaidZ2. This requires a bigger case (with new PSU due to >different form factor) and a SATA expansion card b/c the Mobo only has >six connectors (I need at least one more for the system drive), costing >250 € plus drives. > 4) Convert to RaidZ1. Gain space of one drive at the cost of resilience. I >can live with the latter; the server only runs occasionally and not for >very long at a time. *** This option brings me to my question above, >because it is easy to achieve and costs no €€€. In any of my data arrays I have long time migrated off the RAIDZ to the MIRROR or RAID10. You will find finally that the RAIDZ is slow and not very flexible. Only think you gain is the extra space in constrained array spaces. For RAID10 it is much easier to raise the size, just resilvering to new bigger disks, removing old and expanding. The resilvering speed is magnitude faster. And anyway much easier to recover in cases of failure. If you really need the additional space, consider adding second jbod with another disks. Robert.
Re: [gentoo-user] [OT] Using an odd number of drives in ZFS RaidZ
On Thursday, July 1, 2021 5:01:25 PM CEST antlists wrote: > On 01/07/2021 14:47, Robert David wrote: > > Hi Frank, > > > > > > > > In any of my data arrays I have long time migrated off the RAIDZ to the > > MIRROR or RAID10. You will find finally that the RAIDZ is slow and not > > very flexible. Only think you gain is the extra space in constrained > > array spaces. For RAID10 it is much easier to raise the size, just > > resilvering to new bigger disks, removing old and expanding. The > > resilvering speed is magnitude faster. > > > > And anyway much easier to recover > > in cases of failure. > > ARE YOU SURE??? > > The standard mirror does not cope with corruption very well. Lose a disk > and resilvering is fast. Corrupt the data, and you'll be tearing your > hair out why things go wrong randomly, with no automated way, even once > you've realised what's happened, to recover your data other than a > restore from backup. Yes I'm sure. What I meant easier is that the pool is much easier to handle and recover. For RAIDZ1 the thing you mention for MIRROR is the same, only it is multiplied with the amount of disks. So if 1 disk fail and you resilver, then all the remaining disks spinning to populate the spare. If any of them fails, then you are screwed. RAIDZ2 is better in this space and in case of 4 disks it is better when it comes to resiliency (for 10 disks it may not be true), but you lose the flexibility. Also time to resilver under RAIDZ is much slower, which means longer time under unprotected pool. It is always needed to decide what workload you are serving and how precious the data are. For data like movies RAIDZ1 is enough I think. Also it is good to check the SMART data time to time to see the amount of error corrections (some are ok, but highly rising no). Solaris has FMA for this to kick in spare. Under home environment it is fine to check it time to time and consider new disk before the old one completely dies. This reminds me I need to buy new disk to my home NAS :) (because of the rising corrections). And finally, always do backups for the data you are about to save. I got raspberry pi with attached USB JBOD with two disks serving as backup station. It is not fast to be a real NAS, but to do send/receive of incremental snapshots it is enough. I automaticly sync there the datasets that are worth not to lose (photos, documents, etc), many times these datasets are also the ones that are not such big. Ideally put this backup station to some remote location (or at least different room). Robert. > > > If you really need the additional space, consider adding second jbod > > with another disks. > > That'd be my approach - migrate a load of stuff off onto another disk > elsewhere, but that's not what the OP wants to do. > > > Robert. > > Cheers, > Wol
Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts
Hi John, my approach is to have EFI partition with staticly compiled grub, alpine linux rescue system and kernel with tiny initramfs for zfs root. It works really well, only thing you need to consider is when upgrading root pool, you will not be able to boot to previous BE with old zfs. Without upgrading the pool, the transition is just easy as recompiling new kernel and upgrading the zfs userspace tools. For the alpine I use script to put a new version on /boot https://github.com/robertek/root-scripts/blob/master/alpine_recovery_update and having grub entry: menuentry "Alpine linux recovery" { linux /boot/vmlinuz-lts modules=loop,squashfs,sd-mod,nvme quiet nomodeset initrd /boot/initramfs-lts } The alpine extended version contains zfs modules, so you only need to "apk add zfs" and then modprobe zfs. The extended version is little bit bigger, but I'm fine to live with 1G efi partition. Robert. On Monday, August 23, 2021 10:15:10 AM CEST John Covici wrote: > Hi. I have been using 5.4 lts kernels for a while, but it seems I > need to change to 5.10 lts -- even Debian is now using 5.10, so it > seems time to do this. > > Now, the problem is that I am using zfs and will not give it up, and > the version I have been using 0.8.6 is no longer supported in 5.10 > versions of the kernel. So, I need a newer version of zfs and a > rescue cd in case I get into trouble. Sysresc seems to no longer be > compatible withgentoo linux, so what is available? I could use gentoo > catalyst to make something -- I have done that in the past, but its > quite a bit of work and I would prefer if there were something > available I could use out of the box. > > Thanks in advance for any suggestions.
Re: [gentoo-user] How to degrade Gentoo system with webrsync method?
Hi, to the downgrade thing it can be partly done using the squashfs portage snapshots laying on every portage mirror. There is a long history list there. https://gentoo.osuosl.org/snapshots/squashfs/ So you can migrate your portage tree from plain files to the squashfs. But actually the real issue here is that you are modifying your live system with potentially broken things and than stay in a non working state. For stable binary distribution there is a very high probability that upgrade will pass correctly. But on gentoo the probability is much less. So it needs to be counted with. The easiest thing is to let the portage create binary packages from the ones that are unmerged and keep old portage squashfs at hand. This is still live system and I would not do that. Instead just use any filesystem for the root that allows you creating boot environments (zfs, btrfs, lvm). I have only experience with zfs, so creating boot environments is very easy and an atomic operation, where the upgrade only happen in a new BE until it is ready to go. Having BE setup correctly and squashfs images in it, provides you a consistent working environment all the time. And if something does not work as expected, you may return to the previous BE (if you didnt remove it). Robert. On 1/9/22 12:47, gevisz wrote: I constantly have problems with updating/recompiling tensorflow. Sometimes, it compiles ok but most of the time it is not. The last time when it failed to recompile was on 30-12-2021. I reported this in the thread "tensorflow-2.5.0-r1 compilation failed" So, I decided to degrade my Gentoo system to the state in which it was on 12-12-2021, when my tensorflow was still ok, and froze it forever. The problem is that I do not know how to sync my Gentoo repository to the state it was on 12-12-2021. I use webrsync sync method via "maint -A sync" and would prefer to use the same sync method for degrading my Gentoo system. Can anybody, please, tell me how to do it using this sync method?