Re: [gentoo-user] dracut + UUID : a problem solved
Re 4FD4CE41.70503@gmail.com4FD4CE41.70503@gmail.com20120610034758.501a2693@dartworks.biz20120604094008.ga2...@ca.inter.net, Alan McKinnon said: syslinux/extlinux and friends are more suited for embedded devices, liveCDs and that sort of thing. They never found much traction for desktop use which explains why the Handbook makes no real effort to document them. I use syslinux everywhere, and on my desktop. It is already well documented on their website and wiki. It is a family of bootloaders that share similar config syntax for booting with PXE, CDROM, FAT partitions, or EXT2 partitions. It's smaller, simpler, and doesn't require a 32-bit build environment. Therefore making it much cleaner for pure 64-bit systems. It also does not require an already mounted /usr to configure it (as grub2 does). So quick fixes are easier. The handbook doesn't document it simply because the handbook is too old, and hasn't been updated. But it is a very good choice for bootloader even for a desktop system. -- Keith -- -- ~ Keith Dart ke...@dartworks.biz public key: ID: 19017044 http://www.dartworks.biz/ =
Re: [gentoo-user] dracut + UUID : a problem solved
Mick writes: PS. [OT] what key am I supposed to press to be able to see some more verbose output on the console while *ubuntu is booting? Press the shift key during startup, so the Grub menu will appear. Then E to edit, and remove the 'quiet' kernel parameter. The Grub menu still does not appear? Then you may have to comment the GRUB_HIDDEN_TIMEOUT* values in /etc/default/grub, and run update-grub. It's so simple, isn't it! Wonko
Re: [gentoo-user] Adding a use flag: hwdb
On Sun, 10 Jun 2012 19:57:42 -0700 Chris Stankevitz chrisstankev...@gmail.com wrote: Hello, Background: I enable USE flags by adding them to /etc/portage/package.use. This file is filled with all sorts of personal preference customizations of my system. This file does not contain required system USE flags. A month ago emerge insisted that I enable a USE flag ruby_targets_ruby19 to a bunch of packages on my system. Feeling uncomfortable adding a system required USE flag to package.use (vs personal preference customization), I posted to this list and indeed learned that I was going about it all wrong! In that particular case, I should have added 'RUBY_TARGETS=ruby18 ruby19' to /etc/make.conf. Actually, the Gentoo team should add this to the profile... presumably they will eventually do this or have done so already. Question: Today emerge is asking me to add =sys-fs/udev-171-r6 hwdb to package.use to appease udisk. Just as before, this looks fishy to me and I would like to get your opinion about how to properly satisfy this seemingly system-required-use-flag. My gut instinct is that this USE flag requirement should be handled by the Gentoo team in the profile or in some other place that I never look at. It's not a question of system vs personal preference It's a question of treating USE flags as global or local in scope. The USE variable in make.conf applies globally, and the package.use file applies to individual packages. Portage itself couldn't care how you view the use of your flags, so you should organize them how you see fit. See here: $ euses -sf hwdb sys-fs/udev:hwdb - read vendor/device string database and add it to udev database The flag applies to only one package. Some USE flags do not have a sane default so there's no choice the devs can make on your behalf. Especially convenience features like this one - some folk want it, others do not. So the devs delegate the choice to you to apply in any way you see fit. What do you guys think? Should I append udev hwdb to package.use right after my long list of personal preference customizations? Thank you, Chris PS: A snippet from my /etc/portage/package.use: # Give a GUI to cmake dev-util/cmake qt4 # Enable nice mounts in gnome gnome-base/gvfs fuse # Enable plotting in octave sci-mathematics/octave gnuplot # Enable GNOME right-click to create targz app-arch/file-roller nautilus # Satisfy a dependency I do not understand needed by a package I never heard of =sys-fs/udev-171-r6 hwdb -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Adding a use flag: hwdb
Alan McKinnon writes: On Sun, 10 Jun 2012 19:57:42 -0700 Chris Stankevitz chrisstankev...@gmail.com wrote: Today emerge is asking me to add =sys-fs/udev-171-r6 hwdb to package.use to appease udisk. Just as before, this looks fishy to me and I would like to get your opinion about how to properly satisfy this seemingly system-required-use-flag. My gut instinct is that this USE flag requirement should be handled by the Gentoo team in the profile or in some other place that I never look at. It's not a question of system vs personal preference It's a question of treating USE flags as global or local in scope. The USE variable in make.conf applies globally, and the package.use file applies to individual packages. Portage itself couldn't care how you view the use of your flags, so you should organize them how you see fit. See here: $ euses -sf hwdb sys-fs/udev:hwdb - read vendor/device string database and add it to udev database The flag applies to only one package. Some USE flags do not have a sane default so there's no choice the devs can make on your behalf. Especially convenience features like this one - some folk want it, others do not. So the devs delegate the choice to you to apply in any way you see fit. I think Chris' question is more about why he has to manually activate this USE flag, as it seems to be necessary anyway, in his case. Looking at my own setup, I have built udev with hwdb, but I do not know why. There is no hwdb in make.conf or package.use, emerge --info does not show it, but emerge --info sys-fs/udev does. I'm on version 182-r3. What do you guys think? Should I append udev hwdb to package.use right after my long list of personal preference customizations? Yes. Or use the --autounmask-write option for emerge (may need the new portage), this will add it automatically, with a comment. Wonko
Re: [gentoo-user] dracut + UUID : a problem solved
On Sun, 10 Jun 2012 23:43:32 -0700, Keith Dart wrote: I use syslinux everywhere, and on my desktop. It is already well documented on their website and wiki. At the time I really needed to know all about isolinux, on a tight deadline, the wiki was down, and remained down for the next month's deadline too. I wish projects wouldn't rely solely on wikis for documentation, it should be installed with the program. -- Neil Bothwick Q. How many mathematicians does it take to change a light bulb? A. Only one - who gives it to six Californians, thereby reducing the problem to an earlier joke. signature.asc Description: PGP signature
[gentoo-user] FYI - time to mask ati-drivers above 12.4 if you're Radeon 5400
12.4 is the last Catalyst to support Radeon HD 2000/3000/4000 series, so if you're using them you probably want to; # echo x11-drivers/ati-drivers-12.4 /etc/portage/package.mask And if you're not concerned about 3D or power saving, maybe think about using the radeon driver from xf86-video-ati.
[gentoo-user] adobe-flash and constant errors.
Howdy, I been trying to play around with versions of adobe-flash to see which version a) works and b) doesn't crash or cause other problems. Anyway, I was using one version, the 10 version, for a bit but am having issues so I wanted to try a newer version. It seems tho, no matter what version I want to try, I get messages similar to this: 2012-06-11 05:28:53 (292 MB/s) - `/usr/portage/distfiles/adobe-flash-11.2.202.235.i386.tar.gz' saved [6916648/6916648] !!! Fetched file: adobe-flash-11.2.202.235.i386.tar.gz VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 6916648 !!! Expected: 6916435 Refetching... File renamed to '/usr/portage/distfiles/adobe-flash-11.2.202.235.i386.tar.gz._checksum_failure_.8RQBX4' !!! Couldn't download 'adobe-flash-11.2.202.235.i386.tar.gz'. Aborting. * Fetch failed for 'www-plugins/adobe-flash-11.2.202.235', Log file: * '/var/tmp/portage/www-plugins/adobe-flash-11.2.202.235/temp/build.log' * The values change but the error is the same no matter what version I try to use. What I have tried so far: syncing the tree again. deleting the files in /usr/portage/www-plugins/adobe-flash/ deleting anything adobe in distfiles and in http-replicator. syncing the tree again. I still get the same error. Another thing I noticed. When I delete the adobe files in distfiles and try to emerge them, I get this on the tail end: 6750K 100% 189M=0.02s I have DSL here but to put it bluntly, it ain't nowhere near that fast. Heck, my hard drives ain't that fast. I run http-replicator but I also removed those files too so it is not coming from there. If it is not local, it can't download it that fast, where is it coming from? I only have one rig running locally, not that my network is that fast either. lol Is this just me or is anyone else having this issue? If it is just me, what else can I do to fix this? Thanks in advance. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
Re: [gentoo-user] FYI - time to mask ati-drivers above 12.4 if you're Radeon 5400
On 06/11/2012 11:26:56 AM, Adam Carter wrote: 12.4 is the last Catalyst to support Radeon HD 2000/3000/4000 series, so if you're using them you probably want to; # echo x11-drivers/ati-drivers-12.4 /etc/portage/package.mask And if you're not concerned about 3D or power saving, maybe think about using the radeon driver from xf86-video-ati. What about googleearth (which had problems with mesa some time ago) and what about opencl in that case? Is there any chance to get an ati-drivers of HD 3000 which supports xorg-server-1.12.x ? Thanks for some infos, Helmut.
Re: [gentoo-user] adobe-flash and constant errors.
I get this, commonly with adobe-flash and google-earth. I suspect that they change the file content or dynamically regenerate it faster than portage can track them/my local repos update. The only fix I have been able to come up with is check as far as possible where the binary came from and regenerate the manifest before emerging ... hardly secure. BillK On Mon, 2012-06-11 at 05:54 -0500, Dale wrote: Howdy, I been trying to play around with versions of adobe-flash to see which version a) works and b) doesn't crash or cause other problems. Anyway, I was using one version, the 10 version, for a bit but am having issues so I wanted to try a newer version. It seems tho, no matter what version I want to try, I get messages similar to this: 2012-06-11 05:28:53 (292 MB/s) - `/usr/portage/distfiles/adobe-flash-11.2.202.235.i386.tar.gz' saved [6916648/6916648] !!! Fetched file: adobe-flash-11.2.202.235.i386.tar.gz VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 6916648 !!! Expected: 6916435 Refetching... File renamed to '/usr/portage/distfiles/adobe-flash-11.2.202.235.i386.tar.gz._checksum_failure_.8RQBX4' !!! Couldn't download 'adobe-flash-11.2.202.235.i386.tar.gz'. Aborting. * Fetch failed for 'www-plugins/adobe-flash-11.2.202.235', Log file: * '/var/tmp/portage/www-plugins/adobe-flash-11.2.202.235/temp/build.log' * The values change but the error is the same no matter what version I try to use. What I have tried so far: syncing the tree again. deleting the files in /usr/portage/www-plugins/adobe-flash/ deleting anything adobe in distfiles and in http-replicator. syncing the tree again. I still get the same error. Another thing I noticed. When I delete the adobe files in distfiles and try to emerge them, I get this on the tail end: 6750K 100% 189M=0.02s I have DSL here but to put it bluntly, it ain't nowhere near that fast. Heck, my hard drives ain't that fast. I run http-replicator but I also removed those files too so it is not coming from there. If it is not local, it can't download it that fast, where is it coming from? I only have one rig running locally, not that my network is that fast either. lol Is this just me or is anyone else having this issue? If it is just me, what else can I do to fix this? Thanks in advance. Dale :-) :-)
Re: [gentoo-user] Adding a use flag: hwdb
On Sun, 10 Jun 2012 19:57:42 -0700, Chris Stankevitz wrote about [gentoo-user] Adding a use flag: hwdb: [snip] A month ago emerge insisted that I enable a USE flag ruby_targets_ruby19 to a bunch of packages on my system. That is not really coded as a USE flag. You should put that in /etc/make.conf, thus RUBY_TARGETS='ruby19' In fact, on the machine on which I am writing this, this option is coded as: RUBY_TARGETS='ruby18 ruby19' So forget all about /etc/portage/package.use for this. -- Regards, Dave [RLU #314465] == dwn...@ntlworld.com (David W Noon) == signature.asc Description: PGP signature
Re: [gentoo-user] adobe-flash and constant errors.
Top posting for obvious reasons. ;-) I was thinking it could be this but this is the first time I have ever ran into this with adobe-flash. I wanted to sort of check into it before doing anything that may cause issues' such as just redoing the manifest. I did think about it tho. Now to go redo the manifest and try to get it so that sites will work again. In ways flash is good but at times, I want to kick it in the family jewels. O_O Thanks. Dale :-) :-) William Kenworthy wrote: I get this, commonly with adobe-flash and google-earth. I suspect that they change the file content or dynamically regenerate it faster than portage can track them/my local repos update. The only fix I have been able to come up with is check as far as possible where the binary came from and regenerate the manifest before emerging ... hardly secure. BillK On Mon, 2012-06-11 at 05:54 -0500, Dale wrote: Howdy, I been trying to play around with versions of adobe-flash to see which version a) works and b) doesn't crash or cause other problems. Anyway, I was using one version, the 10 version, for a bit but am having issues so I wanted to try a newer version. It seems tho, no matter what version I want to try, I get messages similar to this: 2012-06-11 05:28:53 (292 MB/s) - `/usr/portage/distfiles/adobe-flash-11.2.202.235.i386.tar.gz' saved [6916648/6916648] !!! Fetched file: adobe-flash-11.2.202.235.i386.tar.gz VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 6916648 !!! Expected: 6916435 Refetching... File renamed to '/usr/portage/distfiles/adobe-flash-11.2.202.235.i386.tar.gz._checksum_failure_.8RQBX4' !!! Couldn't download 'adobe-flash-11.2.202.235.i386.tar.gz'. Aborting. * Fetch failed for 'www-plugins/adobe-flash-11.2.202.235', Log file: * '/var/tmp/portage/www-plugins/adobe-flash-11.2.202.235/temp/build.log' * The values change but the error is the same no matter what version I try to use. What I have tried so far: syncing the tree again. deleting the files in /usr/portage/www-plugins/adobe-flash/ deleting anything adobe in distfiles and in http-replicator. syncing the tree again. I still get the same error. Another thing I noticed. When I delete the adobe files in distfiles and try to emerge them, I get this on the tail end: 6750K 100% 189M=0.02s I have DSL here but to put it bluntly, it ain't nowhere near that fast. Heck, my hard drives ain't that fast. I run http-replicator but I also removed those files too so it is not coming from there. If it is not local, it can't download it that fast, where is it coming from? I only have one rig running locally, not that my network is that fast either. lol Is this just me or is anyone else having this issue? If it is just me, what else can I do to fix this? Thanks in advance. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
[gentoo-user] Traffic shaping - downstream data
Hi all I'm looking for some help setting up traffic shaping on my internet connection. I have a bit of an odd setup in that I run a remote VPN server that all of my traffic is pushed through and out on to the internet. As I understand generally it isn't possible to shape incoming traffic but as I have control of the VPN server which pushes the traffic to me I wondered if it was possible to implement something on that side? No traffic other than the VPN tunnel goes out of my home connection. I'm trying to do this because I have a service running on one of my home machines that requires around 5kbps constantly with low latency (200ms), but as my home connection is 750kbps it gets saturated very quickly causing huge spikes in latency. Does anyone have any ideas as to how I could achieve this? Generally any pointers at all would be greatly appreciated. Thanks for your time Oliver
Re: [gentoo-user] FYI - time to mask ati-drivers above 12.4 if you're Radeon 5400
Am Montag, 11. Juni 2012, 13:04:14 schrieb Helmut Jarausch: On 06/11/2012 11:26:56 AM, Adam Carter wrote: 12.4 is the last Catalyst to support Radeon HD 2000/3000/4000 series, so if you're using them you probably want to; # echo x11-drivers/ati-drivers-12.4 /etc/portage/package.mask And if you're not concerned about 3D or power saving, maybe think about using the radeon driver from xf86-video-ati. What about googleearth (which had problems with mesa some time ago) and what about opencl in that case? Is there any chance to get an ati-drivers of HD 3000 which supports xorg-server-1.12.x ? yes Thanks for some infos, Helmut. -- #163933
Re: [gentoo-user] Apache server setup
On Monday 11 June 2012 02:58:08 Michael Orlitzky wrote: If you want to allow [rewrites] in an htaccess, you'll need at least, Directory /var/www/whatever Options +SymLinksIfOwnerMatch AllowOverride FileInfo Options /Directory in the main config or your vhost config. OK, I've added that to 00_default_settings.conf. I'm not sure whether I need rewrites though. The Gentoo config modularizes by default, but you don't have to use it if you don't want to. Almost everything under /etc/apache2/modules.d is disabled by default unless you enable it in /etc/conf.d/apache2. Named virtual hosts are also disabled by default if I remember correctly, so you should be able to just stick stuff in httpd.conf or 00_default_settings.conf and have it take effect if you don't want to do anything fancy. At present I don't need to serve more than one site from this box so I haven't tried virtual hosts, named or otherwise. Almost everything different about the Gentoo config comes from these two lines at the bottom of httpd.conf: Include /etc/apache2/modules.d/*.conf Include /etc/apache2/vhosts.d/*.conf which do exactly what you'd expect. The fog is beginning to clear. Thanks. I still can't get server-side includes to work though. Modules.d/*.conf don't include a suitable module. I've added -D INCLUDE to APACHE2_OPTS in /etc/conf.d/apache2.conf but it seems not to be enough. Also: # emerge -pv apache These are the packages that would be merged, in order: Calculating dependencies .. done! [ebuild R] www-servers/apache-2.2.22-r1 USE=ssl -debug -doc - ldap (-selinux) -static -suexec -threads APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias -asis -auth_digest -authn_dbd - cern_meta -charset_lite -dbd -dumpio -ident -imagemap -log_forensic - proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http - proxy_scgi -reqtimeout -substitute -version APACHE2_MPMS=prefork - event -itk -peruser -worker 5,316 kB ...which includes include. -- Rgds Peter
Re: [gentoo-user] Apache server setup
On 06/11/12 12:54, Peter Humphrey wrote: OK, I've added that to 00_default_settings.conf. I'm not sure whether I need rewrites though. Your htaccess had some rewrite rules, that's why I suggested it. The fog is beginning to clear. Thanks. I still can't get server-side includes to work though. Modules.d/*.conf don't include a suitable module. I've added -D INCLUDE to APACHE2_OPTS in /etc/conf.d/apache2.conf but it seems not to be enough. We have this working here.. let's see. First of all, I see you have the mime module compiled; that's good. Is it enabled? You should have, LoadModule mime_module modules/mod_mime.so in httpd.conf. Once the mime module is enabled, everything in modules.d/00_mod_mime.conf will be processed (it's conditional on the existence of the mime module). Then, you should add or uncomment the following in 00_mod_mime.conf: # Filters allow you to process content before it is sent to the # client # # To parse .shtml files for server-side includes(SSI): # (You will also need to add Includes to the Options # directive.) AddType text/html .shtml AddOutputFilter INCLUDES .shtml That will enable server-side includes in *.shtml files, assuming you also add Includes to the relevant Options directive. If you need server-side includes for other types of files, it isn't recommended[1], but you can add additional AddOutputFilter directives for each type of file you'd like SSI to work with. [1] http://httpd.apache.org/docs/2.2/howto/ssi.html
Re: [gentoo-user] dracut + UUID : a problem solved
On Monday 11 Jun 2012 08:16:49 Alex Schuster wrote: Mick writes: PS. [OT] what key am I supposed to press to be able to see some more verbose output on the console while *ubuntu is booting? Press the shift key during startup, so the Grub menu will appear. Then E to edit, and remove the 'quiet' kernel parameter. The Grub menu still does not appear? Then you may have to comment the GRUB_HIDDEN_TIMEOUT* values in /etc/default/grub, and run update-grub. It's so simple, isn't it! Wonko Ah! F2 is no good then. ;-) Thanks, will try it next time I get to that machine. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Adding a use flag: hwdb
On Mon, Jun 11, 2012 at 1:26 AM, Alex Schuster wo...@wonkology.org wrote: I think Chris' question is more about why he has to manually activate this USE flag, as it seems to be necessary anyway, in his case. Alex, Yes this is correct. I see now I was far too wordy in the OP and thank you for your terse translation! Typically when I solve a gentoo system problem by adding modifying package.use, I am doing something wrong. (e.g. ruby_targets_ruby19). I gather that the udev/hwdb/udisk case is an exception. The correct way to solve this gentoo system problem is to echo sys-fs/udev hwdb /etc/portage/package.use Thank you, Chris
Re: [gentoo-user] Adding a use flag: hwdb
On 06/11/2012 07:30 PM, Chris Stankevitz wrote: On Mon, Jun 11, 2012 at 1:26 AM, Alex Schuster wo...@wonkology.org wrote: I think Chris' question is more about why he has to manually activate this USE flag, as it seems to be necessary anyway, in his case. Alex, Yes this is correct. I see now I was far too wordy in the OP and thank you for your terse translation! Typically when I solve a gentoo system problem by adding modifying package.use, I am doing something wrong. (e.g. ruby_targets_ruby19). I gather that the udev/hwdb/udisk case is an exception. The correct way to solve this gentoo system problem is to echo sys-fs/udev hwdb /etc/portage/package.use Portage doesn't know what you want to do, so it does the safe thing and lets you decide. Either, a) You want USE=-hwdb, in which case emerging udisks is a mistake. b) You want to emerge udisks, in which case USE=-hwdb is a mistake. The autounmask feature allows you to make (b) the default if that's what you want. The ruby_targets_ruby19 thing is a good example of where you may not want that behavior by default. Something was screwed up, people noticed it, and the devs ultimately fixed it. The most-correct thing to do was nothing (i.e. wait).
Re: [gentoo-user] Adding a use flag: hwdb
Michael, On Mon, Jun 11, 2012 at 7:22 PM, Michael Orlitzky mich...@orlitzky.com wrote: Portage doesn't know what you want to do, so it does the safe thing and lets you decide. Either, Somewhat tongue-in-cheek: I don't know either. I don't want udev, udisks, hwdb or even know what they are. Somebody else wants all that stuff on my system (gentoo profile or the gentoo handbook author) and I wish that person would have addressed emerge's concerns WRT use flags. The ruby_targets_ruby19 thing is a good example of where you may not want that behavior by default. Something was screwed up, people noticed it, and the devs ultimately fixed it. The most-correct thing to do was nothing (i.e. wait). I didn't know what RUBY was or why it was on my system or who wanted it or whether that person wanted ruby_targets_ruby19 or RUBY_TARGETS or whatever. Me waiting would require 1) that I knew RUBY was a temporary problem that would be fixed in the future [I assumed it was not... just like hwdb] and 2) that I not perform an emerge sync/world. Thank you! Chris