Re: [gentoo-user] xorg.conf tweaks for HTPC machine?
On Mon, Dec 17, 2012 at 07:34:22PM +0100, pk wrote On 2012-12-17 17:23, Walter Dnes wrote: snipped a whole lot... 1) Despite the TV being native 1366x768, it defaults to 1280x720, which is the first mode listed in the EDID. Fixed-pixel displays show best at their native resolution So I ran Xorg -configure and created an xorg.conf file, and forced 1366x768 resolution. And got no picture. I tried X again at 128x720. Then I used xrandr to change to 1920x1080, and it worked. Used xrandr to change to 1366x768, and it hung. From Xorg.0.log ... Any ideas? You can perhaps try to find out what the tv is telling X: x11-misc/read-edid ... if you haven't already tried it (you can also use startx -- -logverbose 6). The parsing of the EDID is already logged in gory detail in the logfile. You can also set your preferred resolution in xorg.conf as such: In Section Screen: Subsection Display ... Modes 1366x768 1280x720 ... EndSubSection After some spelunking in the X log file, I noticed the following [ 1789.561] (II) intel(0): [DRI2] Setup complete [ 1789.561] (II) intel(0): [DRI2] DRI driver: i965 [ 1789.561] (II) intel(0): direct rendering: DRI2 Enabled [ 1789.561] (--) RandR disabled [ 1789.566] (EE) AIGLX error: dlopen of /usr/lib64/dri/i965_dri.so failed (/usr /lib64/dri/i965_dri.so: cannot open shared object file: No such file or director y) [ 1789.566] (EE) AIGLX: reverting to software rendering [ 1789.566] (II) AIGLX: Screen 0 is not DRI capable [ 1789.671] (II) AIGLX: Loaded and initialized swrast [ 1789.671] (II) GLX: Initialized DRISWRAST GL provider for screen 0 lspci -v shows Kernel driver in use: i915 h. It wants i965, but it's getting i915. I took a look in /usr/lib64/dri/ to see what was and was not in there... [i3][root][~] ll -og /usr/lib64/dri/ total 30 drwxr-xr-x 2 216 Dec 18 01:57 . drwxr-xr-x 58 31024 Dec 18 01:34 .. -rw-r--r-- 1 0 Dec 14 17:57 .keep_media-libs_mesa-0 lrwxrwxrwx 120 Jan 8 2011 i915_dri.so - ../mesa/i915g_dri.so lrwxrwxrwx 120 Dec 14 17:57 i915g_dri.so - ../mesa/i915g_dri.so lrwxrwxrwx 122 Jan 8 2011 swrast_dri.so - ../mesa/swrastg_dri.so lrwxrwxrwx 122 Dec 14 17:57 swrastg_dri.so - ../mesa/swrastg_dri.so There's the i915g_dri.so driver; what package provides it? [i3][root][~] equery b i915g_dri.so * Searching for i915g_dri.so ... media-libs/mesa-9.0 (/usr/lib64/mesa/i915g_dri.so) media-libs/mesa-9.0 (/usr/lib64/dri/i915g_dri.so - ../mesa/i915g_dri.so) I ran emerge -pv mesa, and discovered that mesa had been merged with USE=-xorg. This is what I get for starting USE with -*... http://media.comicvine.com/uploads/11/117774/2361934-double_facepalm.jpg I emerged mesa with xorg USE flag, and 1366x768 now works fine. One problem down and one to go. I had merged mesa with the intel USE flag. It also has i915 and i965 USE flags. If I can get the i965 driver built, I'd go from software acceleration to hardware acceleration. That's my next step. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
Re: [gentoo-user] Re: OpenRC error message at boot
On Mon, Dec 17, 2012, at 17:59, walt wrote: I'm drawing on ancient memories here, but I'd try setting RC_DEBUG=yes in /etc/rc.conf Unfortunately there is no RC_DEBUG variable in my /etc/rc.conf file. The following command returns nothing: grep -i debug /etc/rc.conf. Anyway I tried downgrading openrc from 0.11.8 to 0.11.6, and with the older version there is no error message at boot. So perhaps it's a bug that has been introduced with 0.11.8. --- Ok. I finally decided to report it: https://bugs.gentoo.org/show_bug.cgi?id=447678
Re: [gentoo-user] Re: OpenRC error message at boot
Francesco Turco wrote: On Mon, Dec 17, 2012, at 17:59, walt wrote: I'm drawing on ancient memories here, but I'd try setting RC_DEBUG=yes in /etc/rc.conf Unfortunately there is no RC_DEBUG variable in my /etc/rc.conf file. The following command returns nothing: grep -i debug /etc/rc.conf. Anyway I tried downgrading openrc from 0.11.8 to 0.11.6, and with the older version there is no error message at boot. So perhaps it's a bug that has been introduced with 0.11.8. --- Ok. I finally decided to report it: https://bugs.gentoo.org/show_bug.cgi?id=447678 If the RC_DEBUG setting is not there, add it. There are lots of settings that are not in there by default but you can add them if you need to. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Re: OpenRC error message at boot
On Dec 18, 2012 9:53 AM, Dale rdalek1...@gmail.com wrote: Francesco Turco wrote: On Mon, Dec 17, 2012, at 17:59, walt wrote: I'm drawing on ancient memories here, but I'd try setting RC_DEBUG=yes in /etc/rc.conf Unfortunately there is no RC_DEBUG variable in my /etc/rc.conf file. The following command returns nothing: grep -i debug /etc/rc.conf. Anyway I tried downgrading openrc from 0.11.8 to 0.11.6, and with the older version there is no error message at boot. So perhaps it's a bug that has been introduced with 0.11.8. --- Ok. I finally decided to report it: https://bugs.gentoo.org/show_bug.cgi?id=447678 If the RC_DEBUG setting is not there, add it. There are lots of settings that are not in there by default but you can add them if you need to. IIRC all possible settings should be documented in man filename.conf Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Re: OpenRC error message at boot
On Tue, Dec 18, 2012, at 9:49, Dale wrote: If the RC_DEBUG setting is not there, add it. There are lots of settings that are not in there by default but you can add them if you need to. It's strange because all variables in my /etc/rc.conf file are lowercase (for example rc_interactive, rc_parallel, ...). Perhaps we are not discussing the same openrc version. Also, with equery files --filter=man/doc openrc, I couldn't find a documentation file where there is a list of all possible variables for rc.conf. It seems rc.conf itself is such a file, and I already check it for a debug variable, without success.
Re: [gentoo-user] Re: OpenRC error message at boot
On Tue, Dec 18, 2012, at 9:58, Randolph Maaßen wrote: IIRC all possible settings should be documented in man filename.conf On my system: $ man rc.conf No manual entry for rc.conf
Re: [gentoo-user] {OT} A simple routing problem
On Dec 18, 2012 11:59 AM, Nilesh Govindrajan m...@nileshgr.com wrote: On Tuesday 18 December 2012 09:52:43 AM IST, Nilesh Govindrajan wrote: On Tuesday 18 December 2012 09:40:44 AM IST, Kevin Brandstatter wrote: On 12/17/2012 08:00 PM, Nilesh Govindrajan wrote: On Tuesday 18 December 2012 09:24:41 AM IST, Kevin Brandstatter wrote: On 12/17/2012 07:44 PM, Nilesh Govindrajan wrote: On Tuesday 18 December 2012 09:09:16 AM IST, Kevin Brandstatter wrote: On 12/17/2012 07:26 PM, Nilesh Govindrajan wrote: Hi, I'm stuck with a routing issue: I have a DD-WRT router, which has one WAN port and four LAN ports with WiFi. I have a fiber connection which is connected by dialing PPPoE using pppd on the router, so I have no choice but to connect the fiber connection on WAN port. I have yet another (much slower) ADSL link, with it's own router (LAN-only). I'm trying to connect the router to the DD-WRT router's LAN port. I'm able to access the router, but routing through the gateway (the ADSL router) fails. Here's a simple diagram: The LAN network I'm using on DDWRT is 192.168.0.0, which is the LAN network for the internal side and WiFi. The fiber connection is obviously public network. The other ADSL connection can be configured to change subnet, it has a LAN side and WAN side. How I can I route through the ADSL router without requiring a separate NIC/network for it? what exactly are you trying to route? traffic out to the internet over the ADSL? or just trying to connect the machines on that router to the fiber line and route all traffic from both out on the fiber? -Kevin Actually my fiber connection has a smaller limit than the ADSL connection. I am trying to use the fiber connection for all activities except some torrent downloading for which I want to use my ADSL connection. Once I'm able to route through the ADSL gateway, it would be easy for me to setup another ip on eth0 on my machine on which transmission could listen. All traffic on that ip would be routed through ADSL and otherwise the fiber. -- Nilesh Govindarajan http://nileshgr.com well in that case if you know how to set it up so that the dd-wrt router can see the ADSL gateway you can set a route on your box to route traffic on a specific device to that gateway. In fact, you might even be able to static route the torrent ports to that gateway from dd-wrt -Kevin I tried that. As the simplest test, I added this on ddwrt: route add -host 8.8.8.8 gw 192.168.0.32 Where 192.168.0.32 is the private IP of my ADSL router. But when I say ping 8.8.8.8 from ddwrt, I don't get any response. Any idea why this happens? -- Nilesh Govindarajan http://nileshgr.com is the ADSL configured to forward to the internet? how is the gateway set up? it needs to be configured to route the outbound traffic to the internet -Kevin Yes, I have a static IP on the ADSL connection and it is setup for the same. Connects using MER and NAT is enabled. If I connect the router to DD-WRT's WAN port and change subnet of the ADSL private network (matching the same on WAN interface), then it works properly. -- Nilesh Govindarajan http://nileshgr.com Wait, it just worked. Looks like I missed out something yesterday. Thanks for your help. Most likely, it's just route caching. I forgot the exact command, but it goes like 'ip route cache flush'. Rgds, --
Re: [gentoo-user] Re: OpenRC error message at boot
2012/12/18 Francesco Turco ftu...@fastmail.fm On Tue, Dec 18, 2012, at 9:58, Randolph Maaßen wrote: IIRC all possible settings should be documented in man filename.conf On my system: $ man rc.conf No manual entry for rc.conf I'm not on my system at the moment, so I can't check it, sorry for that. Maybe it was $man /etc/rc.conf or it even doesn't exist. I found a man page for some config files. -- Mit freundlichen Grüßen / Best regards Randolph Maaßen
Re: [gentoo-user] xorg.conf tweaks for HTPC machine?
Walter's Excellent Adventure Chapter 2 On Tue, Dec 18, 2012 at 03:17:59AM -0500, Walter Dnes wrote I ran emerge -pv mesa, and discovered that mesa had been merged with USE=-xorg. This is what I get for starting USE with -*... http://media.comicvine.com/uploads/11/117774/2361934-double_facepalm.jpg I emerged mesa with xorg USE flag, and 1366x768 now works fine. One problem down and one to go. I had merged mesa with the intel USE flag. It also has i915 and i965 USE flags. If I can get the i965 driver built, I'd go from software acceleration to hardware acceleration. That's my next step. Now things start to get *REALLY* weird. * Using VIDEO_CARDS=i965 in make.conf enables DRI2 hardware acceleration * But it requires the classic USE flag for mesa * The xorg USE flag also makes mesa require the gallium USE flag * Building mesa with *BOTH* classic and gallium works * And it runs in 1366x768 mode * And it runs *ONLY* in 1366x768 mode. xrandr does not change the resolution, notwithstanding the gazillion modes it lists * I went back to mesa without the xorg and gallium flags to simplify my setup * Again, it runs 1366x768, and *ONLY* 1366x768. But it does have hardware acceleration * And yes, I did try replacing the xf86-video-intel driver with xf86-video-modesetting. No X. * So the one change I've made after all this fooling around is to change the VIDEO_CARDS setting in make.conf from intel to i965. The net change is that... * the TV displays in native 1366x768 mode, and *ONLY* 1366x768 mode * X now has hardware acceleration -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
[gentoo-user] Gnome-Keyring not unlocking with Slim Autologin
Hi all, I'm having an issue with the Slim Login Manager and it's AutoLogin feature. With the AutoLogin flag set to no, when I login, gnome-keyring unlocks itself fine, with Evolution being able to utilise it. However, when the AutoLogin flag is set to yes, Evolution invokes gnome-keyring to ask for the Password. Is there some kind of rule where if you AutoLogin, you require some kind of authentication when it comes to unlocking the keyring? -- Kind Regards, Stephen Griffiths
Re: [gentoo-user] {OT} A simple routing problem
On Tue, December 18, 2012 04:44, Nilesh Govindrajan wrote: SNIP Actually my fiber connection has a smaller limit than the ADSL connection. I am trying to use the fiber connection for all activities except some torrent downloading for which I want to use my ADSL connection. Once I'm able to route through the ADSL gateway, it would be easy for me to setup another ip on eth0 on my machine on which transmission could listen. All traffic on that ip would be routed through ADSL and otherwise the fiber. Nilesh, I read that you managed to fix it, but for completenes and, if applicable, a different solution would be a router with 2 or more WAN-ports that can do the routing for you. Added benefit there would be that if the fiber connection dies, it would be able to automatically route everything through the ADSL. -- Joost
Re: [gentoo-user] Gnome-Keyring not unlocking with Slim Autologin
On Tue, Dec 18, 2012 at 6:08 PM, Stephen Griffiths st...@stevegriff.com wrote: Is there some kind of rule where if you AutoLogin, you require some kind of authentication when it comes to unlocking the keyring? That's how the keyring works, in principle. The keyring is a password-protected secret, and a typical desktop system would be setup so that the login password you used was also used to unlock the keyring. With autologin, no password is typed in, so gnome-keyring has no way of being unlocked without asking you for a password. -- This email is:[ ] actionable [x] fyi[ ] social Response needed: [ ] yes [x] up to you [ ] no Time-sensitive: [ ] immediate[ ] soon [x] none
Re: [gentoo-user] Gnome-Keyring not unlocking with Slim Autologin
Thanks for you reply Mark. The way you put it makes sense. I guess the option is whether I would like to have the security risk of having my passwords open without needing any kind of authentication. But that depends on whether I can bypass needing to enter a password on autologin in the first please, or if it's not possible. On 18 December 2012 10:17, Mark David Dumlao madum...@gmail.com wrote: On Tue, Dec 18, 2012 at 6:08 PM, Stephen Griffiths st...@stevegriff.com wrote: Is there some kind of rule where if you AutoLogin, you require some kind of authentication when it comes to unlocking the keyring? That's how the keyring works, in principle. The keyring is a password-protected secret, and a typical desktop system would be setup so that the login password you used was also used to unlock the keyring. With autologin, no password is typed in, so gnome-keyring has no way of being unlocked without asking you for a password. -- This email is:[ ] actionable [x] fyi[ ] social Response needed: [ ] yes [x] up to you [ ] no Time-sensitive: [ ] immediate[ ] soon [x] none -- Kind Regards, Stephen Griffiths http://www.stevegriff.com/[image: Email st...@stevegriff.com]st...@stevegriff.com[image: Twitter] http://www.twitter.com/#!/stevegriffdtcom[image: Facebook]http://www.facebook.com/SteveGriffDotCom[image: Google+] https://plus.google.com/108932032303032698029/posts[image: LinkedIn] http://uk.linkedin.com/in/stevegriffdotcom
[gentoo-user] Re: eudev
Bryan Gardiner bog at khumba.net writes: I did recently put these into my package.keywords. =sys-fs/udev-196-r1 ~amd64 =virtual/udev-196 ~amd64 =sys-fs/udev-init-scripts-17-r1 ~amd64 My guess is that you've unmasked sys-fs/udev-196 only partially. Portage tries to calculate the dependencies for it and finds that something is still missing (e.g. you need to ~amd64 more packages) so Portage stops with sys-fs/udev and tries to satisfy virtual/udev with eudev instead. I was cleaning up a python 3.1 mess on the system. Days of rebuilding stuff for python 3.2 after removal of python 3.1. and building kde-4.9.3 Try an emerge -pv =sys-fs/udev-196-r1 and see if that gives any reason why Portage isn't happy with it. ebuild R ~] sys-fs/udev-196-r1 USE=acl gudev hwdb introspection keymap kmod openrc -doc (-selinux) -static-libs 0 kB Since I've been following the threads on eudev, I do not want to be out front on this issue. I put /var/ and /usr on the same partition as / I do have other partitions, such as /usr/local/video1 (etc) But I just put /boot / and swamp for the OS on all the gentoo system I need. So I think I should go back to udev 181 ? I only went to udev 196-r1 to clean up the system (late at night just rebuilding and doing what portage wanted to keep rebuilding everything In summary, since I put /var and /usr on the / partition what my best (mainstream) path for udev and all the issues (flags and other packages) to stay mainstream-stable? I'm not sure I fully understand what my best path forward is... advice? James
Re: [gentoo-user] {OT} open-source: chat, tasks, resources, code
On Mon, Dec 17, 2012 at 9:26 AM, Grant emailgr...@gmail.com wrote: When I need a new web-based software tool, I consider writing it myself and if that isn't feasible I try to use something open-source and self-hosted. I need something for chat, task management, resource management, and code management, all for groups. I'm considering Campfire, Trello, Float, and GitHub respectively, but I thought I'd check with you guys to see if any of this is available in an open-source and self-hosted form, especially in portage. - Grant You should take a look at Fosil: http://www.fossil-scm.org/index.html/doc/trunk/www/index.wiki I haven't used it myself, but if you don't have strict preferences for the versioning system you could use that, as it's very self contained and easy to use. Ciprian.
Re: [gentoo-user] {OT} open-source: chat, tasks, resources, code
Am Mon, 17 Dec 2012 18:04:46 -0800 schrieb Grant emailgr...@gmail.com: [...] XMPP clients are a dime a dozen, take you pick: pidgin, kopete, telepathy and a hots of others. Servers are another story. All of them that you can lay your hands on seem to suck big eggs big time. ejabberd is the only one I found stable enough to actually stay up for sane amounts of time, and not DEPEND on java. But that info might be well out of date, I haven't looked at our jabber server for ages. There's no need to - the techies all gravitated by themselves over to GTalk and Skype, claiming that the cloud services did everything they needed and more, and it was there, and it worked. Our in-house jabber server - not so much. Can't say I blame them. It's true. Thanks Alan, this is just the kind of info I need. It sounds like I would be better off with a cloud solution for collaborative chat. Just out of curiosity: why couldn't you use a Jabber client with Bonjour/Zeroconf support (all or most of them?) within the company (which is what this is for IIUC)? With Zeroconf, the Jabber clients find each other, then you wouldn't need to bother with setting up a server. Or is Zeroconf problematic? I know Pidgin can do Zeroconf on Windows, even if you need to manually install a separate package for it to work. -- Marc Joliet -- People who think they know everything really annoy those of us who know we don't - Bjarne Stroustrup signature.asc Description: PGP signature
Re: [gentoo-user] Re: Anyone switched to eudev yet?
On Mon, Dec 17, 2012 at 4:46 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Mon, 17 Dec 2012 16:02:54 +0800 Mark David Dumlao madum...@gmail.com wrote: That was the original reason for having / and /usr separate, and it dates back to the early 70s. The other reason that stems from that time period is the size of disks we had back then - they were tiny and often a minimal / was all that could really fit on the primary system drive. I'm sorry, but I just can't let this one go. The reasons are backwards. The limitation in free space was the original reason [1] why / and /usr were separated. In fact, /usr was supposed to serve the same purpose as /home - it was originally a directory for users. It's only a quirk of history that served to keep most of the binaries in /usr when the home directories were moved elsewhere to /home. Long story short, Unix, too, has its share of old farts that are unwilling to embrace change at anything faster than a glacier's pace. Just ask the Plan 9 folks. [1] http://lists.busybox.net/pipermail/busybox/2010-December/074114.html Well fair enough. This stuff is becoming more myth than fact as less and less people are around to remember how it really went. There may even have been to-ing and fro-ing moving bits around till Ken and Dennis settled on the eventual outcome in that post. Either way, we still agree. A separate /usr is, *for the most part*, a tradition applied without much understanding of the reason (most traditions are exactly like this). Most people do not actually need it. The sweet irony here is that Poettering - the cause for all this mess - likely understood the logistics and rationale of the / and /usr split better than most of his detractors - I'm pretty sure I landed on that link by starting from one of his systemd tutorial pages, though I can't exactly remember which one. Thankfully, I've never had to maintain systems whose disks were small and low performing enough that it actually mattered to separate / from /usr. -- This email is:[ ] actionable [ ] fyi[x] social Response needed: [ ] yes [x] up to you [ ] no Time-sensitive: [ ] immediate[ ] soon [x] none
Re: [gentoo-user] {OT} open-source: chat, tasks, resources, code
On Dec 18, 2012 6:33 AM, Marc Joliet mar...@gmx.de wrote: Am Mon, 17 Dec 2012 18:04:46 -0800 schrieb Grant emailgr...@gmail.com: [...] XMPP clients are a dime a dozen, take you pick: pidgin, kopete, telepathy and a hots of others. Servers are another story. All of them that you can lay your hands on seem to suck big eggs big time. ejabberd is the only one I found stable enough to actually stay up for sane amounts of time, and not DEPEND on java. But that info might be well out of date, I haven't looked at our jabber server for ages. There's no need to - the techies all gravitated by themselves over to GTalk and Skype, claiming that the cloud services did everything they needed and more, and it was there, and it worked. Our in-house jabber server - not so much. Can't say I blame them. It's true. Thanks Alan, this is just the kind of info I need. It sounds like I would be better off with a cloud solution for collaborative chat. Just out of curiosity: why couldn't you use a Jabber client with Bonjour/Zeroconf support (all or most of them?) within the company (which is what this is for IIUC)? With Zeroconf, the Jabber clients find each other, then you wouldn't need to bother with setting up a server. Or is Zeroconf problematic? I know Pidgin can do Zeroconf on Windows, even if you need to manually install a separate package for it to work. That only works within the same mdns domain, which usually means being on the same Ethernet segment. -- Marc Joliet -- People who think they know everything really annoy those of us who know we don't - Bjarne Stroustrup
Re: [gentoo-user] {OT} open-source: chat, tasks, resources, code
On Tue, 18 Dec 2012 12:30:16 +0100 Marc Joliet mar...@gmx.de wrote: Am Mon, 17 Dec 2012 18:04:46 -0800 schrieb Grant emailgr...@gmail.com: [...] XMPP clients are a dime a dozen, take you pick: pidgin, kopete, telepathy and a hots of others. Servers are another story. All of them that you can lay your hands on seem to suck big eggs big time. ejabberd is the only one I found stable enough to actually stay up for sane amounts of time, and not DEPEND on java. But that info might be well out of date, I haven't looked at our jabber server for ages. There's no need to - the techies all gravitated by themselves over to GTalk and Skype, claiming that the cloud services did everything they needed and more, and it was there, and it worked. Our in-house jabber server - not so much. Can't say I blame them. It's true. Thanks Alan, this is just the kind of info I need. It sounds like I would be better off with a cloud solution for collaborative chat. Just out of curiosity: why couldn't you use a Jabber client with Bonjour/Zeroconf support (all or most of them?) within the company (which is what this is for IIUC)? With Zeroconf, the Jabber clients find each other, then you wouldn't need to bother with setting up a server. Or is Zeroconf problematic? I know Pidgin can do Zeroconf on Windows, even if you need to manually install a separate package for it to work. That doesn't really work when one fellow is at his desk in the office, another at home on an ADSL connection and the third is a 3rd party dev based in Los Angeles. That's quite common for me. Zeroconf has it's uses, but it does have a rather narrow scope as to where it can work. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Re: Anyone switched to eudev yet?
On Tue, 18 Dec 2012 19:44:13 +0800 Mark David Dumlao madum...@gmail.com wrote: http://lists.busybox.net/pipermail/busybox/2010-December/074114.html Well fair enough. This stuff is becoming more myth than fact as less and less people are around to remember how it really went. There may even have been to-ing and fro-ing moving bits around till Ken and Dennis settled on the eventual outcome in that post. Either way, we still agree. A separate /usr is, *for the most part*, a tradition applied without much understanding of the reason (most traditions are exactly like this). Most people do not actually need it. The sweet irony here is that Poettering - the cause for all this mess - likely understood the logistics and rationale of the / and /usr split better than most of his detractors - I'm pretty sure I landed on that link by starting from one of his systemd tutorial pages, though I can't exactly remember which one. Thankfully, I've never had to maintain systems whose disks were small and low performing enough that it actually mattered to separate / from /usr. Yes indeed :-) The other sweet irony is that Lennart is quite often correct in what he sets out to solve. He is the human equivalent of disruptive technology, but also has this knack of rubbing people up the wrong way (or at least creating a circumstance where people believe he has rubbed them up the wrong way). I have some measure of empathy for the man as I tend to do similar things in my own sphere -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Re: eudev
On Tue, 18 Dec 2012 11:07:02 + (UTC) James wirel...@tampabay.rr.com wrote: Bryan Gardiner bog at khumba.net writes: I did recently put these into my package.keywords. =sys-fs/udev-196-r1 ~amd64 =virtual/udev-196 ~amd64 =sys-fs/udev-init-scripts-17-r1 ~amd64 My guess is that you've unmasked sys-fs/udev-196 only partially. Portage tries to calculate the dependencies for it and finds that something is still missing (e.g. you need to ~amd64 more packages) so Portage stops with sys-fs/udev and tries to satisfy virtual/udev with eudev instead. I was cleaning up a python 3.1 mess on the system. Days of rebuilding stuff for python 3.2 after removal of python 3.1. and building kde-4.9.3 Try an emerge -pv =sys-fs/udev-196-r1 and see if that gives any reason why Portage isn't happy with it. ebuild R ~] sys-fs/udev-196-r1 USE=acl gudev hwdb introspection keymap kmod openrc -doc (-selinux) -static-libs 0 kB Since I've been following the threads on eudev, I do not want to be out front on this issue. I put /var/ and /usr on the same partition as / I do have other partitions, such as /usr/local/video1 (etc) But I just put /boot / and swamp for the OS on all the gentoo system I need. So I think I should go back to udev 181 ? I only went to udev 196-r1 to clean up the system (late at night just rebuilding and doing what portage wanted to keep rebuilding everything In summary, since I put /var and /usr on the / partition what my best (mainstream) path for udev and all the issues (flags and other packages) to stay mainstream-stable? I'm not sure I fully understand what my best path forward is... /var is more often than not best kept separate from /, as the filesystem needs for those two are usually quite different. Especially with embedded devices - they can be resource constrained and don't have spare resources to waste on inefficient configs. As long as /usr is on the same partition as / you are safe for the foreseeable future. The reason for this whole / and /usr mess can be summed up in a few words: It's a bootstrap problem. Stuff could be needed at some point in the startup process before the system is in a state to present that very stuff, so one uses bootstrap techniques to make the stuff become available somehow when needed. At this point in time, all this stuff reduces to one simple question: is it located on / or is it somewhere under the /usr hierarchy? There does not seem to be any other factor involved. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] {OT} A simple routing problem
On Tuesday 18 December 2012 03:41:44 PM IST, J. Roeleveld wrote: On Tue, December 18, 2012 04:44, Nilesh Govindrajan wrote: SNIP Actually my fiber connection has a smaller limit than the ADSL connection. I am trying to use the fiber connection for all activities except some torrent downloading for which I want to use my ADSL connection. Once I'm able to route through the ADSL gateway, it would be easy for me to setup another ip on eth0 on my machine on which transmission could listen. All traffic on that ip would be routed through ADSL and otherwise the fiber. Nilesh, I read that you managed to fix it, but for completenes and, if applicable, a different solution would be a router with 2 or more WAN-ports that can do the routing for you. Added benefit there would be that if the fiber connection dies, it would be able to automatically route everything through the ADSL. -- Joost Yeah that solution is always there, but I'm not going for that since I'm evaluating the fiber connection (a new ISP in my locality). Won't need the ADSL may be after a month or so when I'll have unlimited plan on fiber. @Pandu, or may be the DSL ISP was down yesterday when I was trying. The problem is not exactly fixed yet, although I'm able to add static routes on the DDWRT router using route command (and it is working), there's no way to route all traffic from a source via the other router. It doesn't have iptables ROUTE target neither iproute2 support.. is there some other method do to this using iptables? The whole problem would be solved if I could add routes on my local machine, but that doesn't seem to work. It always goes via fiber which is the default route. The final solution to this problem would be putting in a Linux machine there. I'm trying to build Gentoo for the Raspberry Pi which can be used for this task, but stuck at Python since it won't cross compile. Anyway that's another topic. -- Nilesh Govindarajan http://nileshgr.com
Re: [Bulk] Re: [gentoo-user] Re: Anyone switched to eudev yet?
Thankfully, I've never had to maintain systems whose disks were small and low performing enough that it actually mattered to separate / from /usr. So you don't understand it much at all. Actually many of lennarts pages such as his security.html are full of wildly incorrect claims and innaccurate assumptions and feature plagiarism leading me to believe he doesn't have much experience outside of coding. Going back in time his claim of pulse audio being good for professional audio was also completely off the mark. Seperating Gnome and pulse can now cause pro audio users on binary distro's major headaches too. I pointed one fellow in the direction of a pro audio on gentoo tutorial rather than deal with some new problems a little after systemd hit Arch. -- ___ 'Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface' (Doug McIlroy) ___
Re: [gentoo-user] Re: Anyone switched to eudev yet?
On Mon, Dec 17, 2012 at 3:46 AM, Alan McKinnon alan.mckin...@gmail.com wrote: On Mon, 17 Dec 2012 16:02:54 +0800 Mark David Dumlao madum...@gmail.com wrote: That was the original reason for having / and /usr separate, and it dates back to the early 70s. The other reason that stems from that time period is the size of disks we had back then - they were tiny and often a minimal / was all that could really fit on the primary system drive. I'm sorry, but I just can't let this one go. The reasons are backwards. The limitation in free space was the original reason [1] why / and /usr were separated. In fact, /usr was supposed to serve the same purpose as /home - it was originally a directory for users. It's only a quirk of history that served to keep most of the binaries in /usr when the home directories were moved elsewhere to /home. Long story short, Unix, too, has its share of old farts that are unwilling to embrace change at anything faster than a glacier's pace. Just ask the Plan 9 folks. [1] http://lists.busybox.net/pipermail/busybox/2010-December/074114.html Well fair enough. This stuff is becoming more myth than fact as less and less people are around to remember how it really went. There may even have been to-ing and fro-ing moving bits around till Ken and Dennis settled on the eventual outcome in that post. Either way, we still agree. A separate /usr is, *for the most part*, a tradition applied without much understanding of the reason (most traditions are exactly like this). Most people do not actually need it. Some people do need it and can clearly state why; I am not in that group. Personally, that post on the busybox thread tends to infuriate me every time I see someone reference it. So, sure. The reason / and /usr were originally split is because their disks on the machine they were evolving this on were insufficient for the original layout. Let's look at that again, reduced: They split / and /usr because unforeseen operational requirements for a given system demanded it. And again, reduced: They did something because unforeseen operational requirements demanded it. This, right there, is the reason for separate / and /usr; operational requirements can place constraints on a system such that the initial configuration is no longer sufficient. It's the same reason you might have a separate /home. Or a separate /home/dad. Or a separate /var/cache. Every now and again, taking a folder and putting it on its own disk is the simplest, quickest and most straightforward way to solve a problem with the resources available. Now, why is /usr special? It's because it contains executable code the system might require while launching. But this is _only_ a problem if the code on /usr is required in order to mount /usr. What if /usr is on a raw disk? No special code needed there. What if /usr is on its own partition? No special code needed there. What if /usr is on hardware raid? No special code needed there. What if /usr is on RAID5 with version 0.9 metadata? No special code needed there. There are numerous circumstances where code on /usr should not be required to mount /usr. And circumstances can and have led to a separate /usr on numerous systems. Some people have set it up as read-only for security purposes. Some people have mounted it over NFS. Some people simply ran out of disk space and put it on a new disk. And, yeah, that can still happen; I've had to pull similar stunts on Windows in VMs (yay, junctions!) which grew larger than anticipated due to software updates. -- :wq
Re: [gentoo-user] Re: Anyone switched to eudev yet?
On Tue, 18 Dec 2012 09:08:53 -0500 Michael Mol mike...@gmail.com wrote: This sentence summarizes my understanding of your post nicely: Now, why is /usr special? It's because it contains executable code the system might require while launching. Now there are only two approaches that could solve that problem: 1. Avoid it entirely 2. Deal with it using any of a variety of bootstrap techniques #1 is handled by policy, whereby any code the system might require while launching is not in /usr. #2 already has a solution, it's called an init*. Other solutions exist but none are as elegant as a throwaway temporary filesystem in RAM. I should be clear that I do not necessarily support Lennart's solutions, but I do support his perception of the problem (at least partially). We cannot support situations where *launch* code is haphazardly scattered in location X and this must always work for all values of X. We already have a remarkably parallel situation in /boot - in order to boot at all, the code running at that point in time needs to be able to find stuff, and it finds it (by policy) in what we will later call /boot. I see this /usr debate as the same thing on a larger scale. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] {OT} open-source: chat, tasks, resources, code
Am Tue, 18 Dec 2012 14:50:51 +0200 schrieb Alan McKinnon alan.mckin...@gmail.com: On Tue, 18 Dec 2012 12:30:16 +0100 Marc Joliet mar...@gmx.de wrote: Am Mon, 17 Dec 2012 18:04:46 -0800 schrieb Grant emailgr...@gmail.com: [...] XMPP clients are a dime a dozen, take you pick: pidgin, kopete, telepathy and a hots of others. Servers are another story. All of them that you can lay your hands on seem to suck big eggs big time. ejabberd is the only one I found stable enough to actually stay up for sane amounts of time, and not DEPEND on java. But that info might be well out of date, I haven't looked at our jabber server for ages. There's no need to - the techies all gravitated by themselves over to GTalk and Skype, claiming that the cloud services did everything they needed and more, and it was there, and it worked. Our in-house jabber server - not so much. Can't say I blame them. It's true. Thanks Alan, this is just the kind of info I need. It sounds like I would be better off with a cloud solution for collaborative chat. Just out of curiosity: why couldn't you use a Jabber client with Bonjour/Zeroconf support (all or most of them?) within the company (which is what this is for IIUC)? With Zeroconf, the Jabber clients find each other, then you wouldn't need to bother with setting up a server. Or is Zeroconf problematic? I know Pidgin can do Zeroconf on Windows, even if you need to manually install a separate package for it to work. That doesn't really work when one fellow is at his desk in the office, another at home on an ADSL connection and the third is a 3rd party dev based in Los Angeles. That's quite common for me. Zeroconf has it's uses, but it does have a rather narrow scope as to where it can work. I understand that, I just thought that Grant was talking about a purely internal chat solution (like my workplace has) - he did say within a company (though admittedly in retrospect I realize that that doesn't necessarily mean *physically* within the company). Regardless, it isn't clear to me that Grant is talking about something that has to be available from anywhere. While he is apparently gravitating towards a cloud solution for chat, my understanding is that that is because then he doesn't have to manage his own server. All of the other solutions mentioned could be for internal *and* external use. Anyway, I was just curious and thought that if this is purely for internal use than Zeroconf might be a good server-less option for chat. -- Marc Joliet -- People who think they know everything really annoy those of us who know we don't - Bjarne Stroustrup signature.asc Description: PGP signature
Re: [gentoo-user] {OT} A simple routing problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/18/2012 05:27 AM, Nilesh Govindrajan wrote: On Tuesday 18 December 2012 03:41:44 PM IST, J. Roeleveld wrote: On Tue, December 18, 2012 04:44, Nilesh Govindrajan wrote: SNIP Actually my fiber connection has a smaller limit than the ADSL connection. I am trying to use the fiber connection for all activities except some torrent downloading for which I want to use my ADSL connection. Once I'm able to route through the ADSL gateway, it would be easy for me to setup another ip on eth0 on my machine on which transmission could listen. All traffic on that ip would be routed through ADSL and otherwise the fiber. Nilesh, I read that you managed to fix it, but for completenes and, if applicable, a different solution would be a router with 2 or more WAN-ports that can do the routing for you. Added benefit there would be that if the fiber connection dies, it would be able to automatically route everything through the ADSL. -- Joost Yeah that solution is always there, but I'm not going for that since I'm evaluating the fiber connection (a new ISP in my locality). Won't need the ADSL may be after a month or so when I'll have unlimited plan on fiber. @Pandu, or may be the DSL ISP was down yesterday when I was trying. The problem is not exactly fixed yet, although I'm able to add static routes on the DDWRT router using route command (and it is working), there's no way to route all traffic from a source via the other router. It doesn't have iptables ROUTE target neither iproute2 support.. is there some other method do to this using iptables? The whole problem would be solved if I could add routes on my local machine, but that doesn't seem to work. It always goes via fiber which is the default route. The final solution to this problem would be putting in a Linux machine there. I'm trying to build Gentoo for the Raspberry Pi which can be used for this task, but stuck at Python since it won't cross compile. Anyway that's another topic. -- Nilesh Govindarajan http://nileshgr.com you actually can add routes on a local machine. the real trick would be to have them pushed from the dd-wrt box so that they dont have to be manually set each time - -Kevin -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBAgAGBQJQ0KNXAAoJEAwpfz/ORQZCg4YH/3onXndm8ZrmMd/DhtSYYvMc hZWRBu4qwIbTapqpWPDZ7nniIfrhfCOfc6bD4MNPO0a20RmC35zAZlLkmFEUMgVf iJ/25AjLPhI2I8bnLVHkI6Cq5mcvxugK5FMirdD4B4qG9Vd+oUZEo5R/BEZll7rL 9+RuKozq8c/Zdr+MNu/jEQhPtBjHKH6/vWnznK2U7WraRv9jw6vQIoHaMNi2cxG7 vRaD03sPTy58bgHtn26l9bodITTtXYmCCwQYnKfltIraYkTtZOoOUW81NICdv66l 6Ckow8FrXTLr8zDU9LfAWLTb316cyzTRHU3uX1KXqe0RAv6r1QTZPnRYeR2ix9I= =5g1g -END PGP SIGNATURE-
Re: [gentoo-user] {OT} A simple routing problem
On Tuesday 18 December 2012 10:39:43 PM IST, Kevin Brandstatter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/18/2012 05:27 AM, Nilesh Govindrajan wrote: On Tuesday 18 December 2012 03:41:44 PM IST, J. Roeleveld wrote: On Tue, December 18, 2012 04:44, Nilesh Govindrajan wrote: SNIP Actually my fiber connection has a smaller limit than the ADSL connection. I am trying to use the fiber connection for all activities except some torrent downloading for which I want to use my ADSL connection. Once I'm able to route through the ADSL gateway, it would be easy for me to setup another ip on eth0 on my machine on which transmission could listen. All traffic on that ip would be routed through ADSL and otherwise the fiber. Nilesh, I read that you managed to fix it, but for completenes and, if applicable, a different solution would be a router with 2 or more WAN-ports that can do the routing for you. Added benefit there would be that if the fiber connection dies, it would be able to automatically route everything through the ADSL. -- Joost Yeah that solution is always there, but I'm not going for that since I'm evaluating the fiber connection (a new ISP in my locality). Won't need the ADSL may be after a month or so when I'll have unlimited plan on fiber. @Pandu, or may be the DSL ISP was down yesterday when I was trying. The problem is not exactly fixed yet, although I'm able to add static routes on the DDWRT router using route command (and it is working), there's no way to route all traffic from a source via the other router. It doesn't have iptables ROUTE target neither iproute2 support.. is there some other method do to this using iptables? The whole problem would be solved if I could add routes on my local machine, but that doesn't seem to work. It always goes via fiber which is the default route. The final solution to this problem would be putting in a Linux machine there. I'm trying to build Gentoo for the Raspberry Pi which can be used for this task, but stuck at Python since it won't cross compile. Anyway that's another topic. -- Nilesh Govindarajan http://nileshgr.com you actually can add routes on a local machine. the real trick would be to have them pushed from the dd-wrt box so that they dont have to be manually set each time - -Kevin -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBAgAGBQJQ0KNXAAoJEAwpfz/ORQZCg4YH/3onXndm8ZrmMd/DhtSYYvMc hZWRBu4qwIbTapqpWPDZ7nniIfrhfCOfc6bD4MNPO0a20RmC35zAZlLkmFEUMgVf iJ/25AjLPhI2I8bnLVHkI6Cq5mcvxugK5FMirdD4B4qG9Vd+oUZEo5R/BEZll7rL 9+RuKozq8c/Zdr+MNu/jEQhPtBjHKH6/vWnznK2U7WraRv9jw6vQIoHaMNi2cxG7 vRaD03sPTy58bgHtn26l9bodITTtXYmCCwQYnKfltIraYkTtZOoOUW81NICdv66l 6Ckow8FrXTLr8zDU9LfAWLTb316cyzTRHU3uX1KXqe0RAv6r1QTZPnRYeR2ix9I= =5g1g -END PGP SIGNATURE- How?? -- Nilesh Govindarajan http://nileshgr.com
Re: [gentoo-user] {OT} A simple routing problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/18/2012 09:14 AM, Nilesh Govindrajan wrote: On Tuesday 18 December 2012 10:39:43 PM IST, Kevin Brandstatter wrote: On 12/18/2012 05:27 AM, Nilesh Govindrajan wrote: On Tuesday 18 December 2012 03:41:44 PM IST, J. Roeleveld wrote: On Tue, December 18, 2012 04:44, Nilesh Govindrajan wrote: SNIP Actually my fiber connection has a smaller limit than the ADSL connection. I am trying to use the fiber connection for all activities except some torrent downloading for which I want to use my ADSL connection. Once I'm able to route through the ADSL gateway, it would be easy for me to setup another ip on eth0 on my machine on which transmission could listen. All traffic on that ip would be routed through ADSL and otherwise the fiber. Nilesh, I read that you managed to fix it, but for completenes and, if applicable, a different solution would be a router with 2 or more WAN-ports that can do the routing for you. Added benefit there would be that if the fiber connection dies, it would be able to automatically route everything through the ADSL. -- Joost Yeah that solution is always there, but I'm not going for that since I'm evaluating the fiber connection (a new ISP in my locality). Won't need the ADSL may be after a month or so when I'll have unlimited plan on fiber. @Pandu, or may be the DSL ISP was down yesterday when I was trying. The problem is not exactly fixed yet, although I'm able to add static routes on the DDWRT router using route command (and it is working), there's no way to route all traffic from a source via the other router. It doesn't have iptables ROUTE target neither iproute2 support.. is there some other method do to this using iptables? The whole problem would be solved if I could add routes on my local machine, but that doesn't seem to work. It always goes via fiber which is the default route. The final solution to this problem would be putting in a Linux machine there. I'm trying to build Gentoo for the Raspberry Pi which can be used for this task, but stuck at Python since it won't cross compile. Anyway that's another topic. -- Nilesh Govindarajan http://nileshgr.com you actually can add routes on a local machine. the real trick would be to have them pushed from the dd-wrt box so that they dont have to be manually set each time -Kevin How?? -- Nilesh Govindarajan http://nileshgr.com with the route add command. obviously not as clean as an iptables forward rule which is also an option -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBAgAGBQJQ0KgFAAoJEAwpfz/ORQZCYDwH/0lZMsp+Ncr2kO5iVbuX5Oje 3PUuelWA3IxhF7xmRkNoyMZr+A5QGGWajp7JHPHSSJ/k+Iv7h3xYDABgRwm3tSaP S0tM0VwFVLXHukhUo8vWFOqU6vmCrTuhNtiTYehFYXXS2pzc07kG+b27aH1RSKsD 6zrha22EbaNe7c4dtdVY4rQ/GtPbpiDjAjvQev0nEreP4uLtwWJmx6V6onlGObGi 0v6TVs9dB7fXQh2z5XaYt4BQ1ORqzi0o2ocKTOURJd23kQAXRDfI96+xjG8Bro77 AcaxjXq8bP/W8mdDqFL3w44CF7QDca3uXKAOlGC1Qbm9XVmkETpCQrlzL8aKM0k= =oIGG -END PGP SIGNATURE-
Re: [gentoo-user] {OT} A simple routing problem
On Tuesday 18 December 2012 10:59:41 PM IST, Kevin Brandstatter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/18/2012 09:14 AM, Nilesh Govindrajan wrote: On Tuesday 18 December 2012 10:39:43 PM IST, Kevin Brandstatter wrote: On 12/18/2012 05:27 AM, Nilesh Govindrajan wrote: On Tuesday 18 December 2012 03:41:44 PM IST, J. Roeleveld wrote: On Tue, December 18, 2012 04:44, Nilesh Govindrajan wrote: SNIP Actually my fiber connection has a smaller limit than the ADSL connection. I am trying to use the fiber connection for all activities except some torrent downloading for which I want to use my ADSL connection. Once I'm able to route through the ADSL gateway, it would be easy for me to setup another ip on eth0 on my machine on which transmission could listen. All traffic on that ip would be routed through ADSL and otherwise the fiber. Nilesh, I read that you managed to fix it, but for completenes and, if applicable, a different solution would be a router with 2 or more WAN-ports that can do the routing for you. Added benefit there would be that if the fiber connection dies, it would be able to automatically route everything through the ADSL. -- Joost Yeah that solution is always there, but I'm not going for that since I'm evaluating the fiber connection (a new ISP in my locality). Won't need the ADSL may be after a month or so when I'll have unlimited plan on fiber. @Pandu, or may be the DSL ISP was down yesterday when I was trying. The problem is not exactly fixed yet, although I'm able to add static routes on the DDWRT router using route command (and it is working), there's no way to route all traffic from a source via the other router. It doesn't have iptables ROUTE target neither iproute2 support.. is there some other method do to this using iptables? The whole problem would be solved if I could add routes on my local machine, but that doesn't seem to work. It always goes via fiber which is the default route. The final solution to this problem would be putting in a Linux machine there. I'm trying to build Gentoo for the Raspberry Pi which can be used for this task, but stuck at Python since it won't cross compile. Anyway that's another topic. -- Nilesh Govindarajan http://nileshgr.com you actually can add routes on a local machine. the real trick would be to have them pushed from the dd-wrt box so that they dont have to be manually set each time -Kevin How?? -- Nilesh Govindarajan http://nileshgr.com with the route add command. obviously not as clean as an iptables forward rule which is also an option -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBAgAGBQJQ0KgFAAoJEAwpfz/ORQZCYDwH/0lZMsp+Ncr2kO5iVbuX5Oje 3PUuelWA3IxhF7xmRkNoyMZr+A5QGGWajp7JHPHSSJ/k+Iv7h3xYDABgRwm3tSaP S0tM0VwFVLXHukhUo8vWFOqU6vmCrTuhNtiTYehFYXXS2pzc07kG+b27aH1RSKsD 6zrha22EbaNe7c4dtdVY4rQ/GtPbpiDjAjvQev0nEreP4uLtwWJmx6V6onlGObGi 0v6TVs9dB7fXQh2z5XaYt4BQ1ORqzi0o2ocKTOURJd23kQAXRDfI96+xjG8Bro77 AcaxjXq8bP/W8mdDqFL3w44CF7QDca3uXKAOlGC1Qbm9XVmkETpCQrlzL8aKM0k= =oIGG -END PGP SIGNATURE- I'm presently ssh'ing into the DDWRT router and doing this: route add -host hostname gw 192.168.0.32 and it's pretty much working, except that I've to add a route to every host for which I want to use the ADSL connection. If I do the same on my local machine, it doesn't work and packets still end up going through my fiber connection. Would iptables ROUTE target help if I use that on my local machine? -- Nilesh Govindarajan http://nileshgr.com
Re: [gentoo-user] {OT} A simple routing problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/18/2012 09:38 AM, Nilesh Govindrajan wrote: On Tuesday 18 December 2012 10:59:41 PM IST, Kevin Brandstatter wrote: On 12/18/2012 09:14 AM, Nilesh Govindrajan wrote: On Tuesday 18 December 2012 10:39:43 PM IST, Kevin Brandstatter wrote: On 12/18/2012 05:27 AM, Nilesh Govindrajan wrote: On Tuesday 18 December 2012 03:41:44 PM IST, J. Roeleveld wrote: On Tue, December 18, 2012 04:44, Nilesh Govindrajan wrote: SNIP Actually my fiber connection has a smaller limit than the ADSL connection. I am trying to use the fiber connection for all activities except some torrent downloading for which I want to use my ADSL connection. Once I'm able to route through the ADSL gateway, it would be easy for me to setup another ip on eth0 on my machine on which transmission could listen. All traffic on that ip would be routed through ADSL and otherwise the fiber. Nilesh, I read that you managed to fix it, but for completenes and, if applicable, a different solution would be a router with 2 or more WAN-ports that can do the routing for you. Added benefit there would be that if the fiber connection dies, it would be able to automatically route everything through the ADSL. -- Joost Yeah that solution is always there, but I'm not going for that since I'm evaluating the fiber connection (a new ISP in my locality). Won't need the ADSL may be after a month or so when I'll have unlimited plan on fiber. @Pandu, or may be the DSL ISP was down yesterday when I was trying. The problem is not exactly fixed yet, although I'm able to add static routes on the DDWRT router using route command (and it is working), there's no way to route all traffic from a source via the other router. It doesn't have iptables ROUTE target neither iproute2 support.. is there some other method do to this using iptables? The whole problem would be solved if I could add routes on my local machine, but that doesn't seem to work. It always goes via fiber which is the default route. The final solution to this problem would be putting in a Linux machine there. I'm trying to build Gentoo for the Raspberry Pi which can be used for this task, but stuck at Python since it won't cross compile. Anyway that's another topic. -- Nilesh Govindarajan http://nileshgr.com you actually can add routes on a local machine. the real trick would be to have them pushed from the dd-wrt box so that they dont have to be manually set each time -Kevin How?? -- Nilesh Govindarajan http://nileshgr.com with the route add command. obviously not as clean as an iptables forward rule which is also an option I'm presently ssh'ing into the DDWRT router and doing this: route add -host hostname gw 192.168.0.32 and it's pretty much working, except that I've to add a route to every host for which I want to use the ADSL connection. If I do the same on my local machine, it doesn't work and packets still end up going through my fiber connection. Would iptables ROUTE target help if I use that on my local machine? -- Nilesh Govindarajan http://nileshgr.com I think you want the forward chain, im not sure what tools dd-wrt and iptables has for it as more of my experience is pf and pfsense, but their should be a way to forward packets headed for certain ports or networks to the ADSL gateway. just have the rule listen on the internal interface and redirect certain traffic to the other gateway - -Kevin -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBAgAGBQJQ0LFzAAoJEAwpfz/ORQZC5CcIALTqfU43j54PADVeQnjH2O+W T8hzYT7jpD6llBhm2ApTHiROlWJmTnKo2VksDDyRE7GMDmocqvU9CWR9XvrOD8lF RMi+G2A6aTGqWPFNzmhrcbxxYEijsVtUehmkPTGqWqIdkFFy7qK0Mv/gU+nUjqzR bKxozG9MqByowHBmbFYbXf+fBoWDDlkrm7j0HgOe808mBGRMuiCBaKSB5SDyBGze lCVMsQ7GsZasys4cqhPqUbS/jmGxUvpIK4SBzcVGM3HpT3SowuRZhyeP3qbeFg/4 u6Mq9WwpLi1d89zKM65BSEsZJFwLWmoml112Wt+zLoOJidsXp7XovUDUYSLiu8A= =oL1a -END PGP SIGNATURE-
Re: [gentoo-user] xorg.conf tweaks for HTPC machine?
Walter's Excellent Adventure Chapter 3 On Tue, Dec 18, 2012 at 05:02:32AM -0500, Walter Dnes wrote The net change is that... * the TV displays in native 1366x768 mode, and *ONLY* 1366x768 mode * X now has hardware acceleration I ran emerge -pv --deep --newuse world to make sure everything was OK. It wanted to rebuild xorg-server and one other lib after the changes in VIDEO_CARDS in make.conf. While I was at, I decided to throw in xvmc into my USE flags. After the rebuilding was over, I have video acceleration, but no 1366x768. According to the Xorg.0.log file the available video modes are... 1280x720 1920x1080i 720x480 1440x480i 1920x1080 1440x240 720x576 I've improved the speed of the video, with hardware acceleration, so I'll let things be for now. That's my HTPC machine. I'm now switching over my regular desktop (Dell Dimension 530 from the summer of 2007) to hardware accelerated mode. This one wants i915 drivers. I had stuck in an old Nvidia card, which was a bit of a pain... * I have to rebuild the binary drivers every time I upgrade my kernel * Flash bleeds through windows on top of a window with Flash * Flash colour tables are screwed up. People have blue faces. * The fix for the colour problem involved tweaking /etc/adobe/mms.cfg which fixed the colours, but caused Flash to crash a lot. With hardware acceleration enable for the onboard Intel GPU, I can now dump the Nvidia card. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
Re: [Bulk] Re: [gentoo-user] Re: Anyone switched to eudev yet?
Am Tue, 18 Dec 2012 13:34:07 + schrieb Kevin Chadwick ma1l1i...@yahoo.co.uk: [...] Going back in time his claim of pulse audio being good for professional audio was also completely off the mark. Seperating Gnome and pulse can now cause pro audio users on binary distro's major headaches too. I pointed one fellow in the direction of a pro audio on gentoo tutorial rather than deal with some new problems a little after systemd hit Arch. Holy cow, did he really? Link, please! I thought pulseaudio was only ever advertised for desktop and some embedded use cases, and that Lennart is perfectly aware of the fundamental differences between JACK and PA and that they target a completely different range of applications [0]. I wouldn't *dream* of using anything other than JACK (with LADISH) for pro-audio work (well, more like home recording in my case, but close enough). I actually like pulseaudio for desktop use, though. When you start JACK it will kindly get out of the way, so the two aren't necessarily mutually exclusive (actually, you can set it up to automatically set up ports in JACK2 with the jackdbus-detect module, if you want that). After a few years of use I finally ended up requiring one of its more advanced features: moving streams between sound cards at runtime. [0] http://0pointer.de/blog/projects/when-pa-and-when-not.html -- Marc Joliet -- People who think they know everything really annoy those of us who know we don't - Bjarne Stroustrup signature.asc Description: PGP signature
Re: [gentoo-user] Re: Anyone switched to eudev yet?
On Tue, Dec 18, 2012 at 9:33 AM, Alan McKinnon alan.mckin...@gmail.com wrote: On Tue, 18 Dec 2012 09:08:53 -0500 Michael Mol mike...@gmail.com wrote: This sentence summarizes my understanding of your post nicely: Now, why is /usr special? It's because it contains executable code the system might require while launching. Now there are only two approaches that could solve that problem: 1. Avoid it entirely 2. Deal with it using any of a variety of bootstrap techniques #1 is handled by policy, whereby any code the system might require while launching is not in /usr. This is the solution I favor. Systemic structure which allows dependency leakage is indicative (to me) of lack of foresight and proper component role limitation, and ought to be fought. #2 already has a solution, it's called an init*. Other solutions exist but none are as elegant as a throwaway temporary filesystem in RAM. I find virtually nothing elegant about a temporary filesystem in RAM. It duplicates code that already exists on the system, and it represents and additional maintenance step in system upgrades. It seems almost a given that if someone is keeping multiple kernel images on a system, they're not updating the initr* for each when binaries that would be found in each are upgraded or rebuilt. In Debian, Ubuntu and others, this is handled by a post-install hook where the initr* image is rebuilt. To me, this honestly feels like a hack. In something like Gentoo, I'd rather see package placement driven by whether or not it will be needed to get all mount points mounted. If that means i18n databases under something like /boot/data, that seems reasonable. To me, the only cases where initr* feels like the right solution are things like netboot or booting from read-only media. I should be clear that I do not necessarily support Lennart's solutions, but I do support his perception of the problem (at least partially). We cannot support situations where *launch* code is haphazardly scattered in location X and this must always work for all values of X. We already have a remarkably parallel situation in /boot - in order to boot at all, the code running at that point in time needs to be able to find stuff, and it finds it (by policy) in what we will later call /boot. I see this /usr debate as the same thing on a larger scale. -- :wq
Re: [gentoo-user] xorg.conf tweaks for HTPC machine?
On Tue, Dec 18, 2012 at 05:01:59PM -0500, Walter Dnes wrote: * X now has hardware acceleration I ran emerge -pv --deep --newuse world to make sure everything was OK. It wanted to rebuild xorg-server and one other lib after the changes in VIDEO_CARDS in make.conf. While I was at, I decided to throw in xvmc into my USE flags. After the rebuilding was over, I have video acceleration, but no 1366x768. According to the Xorg.0.log I've improved the speed of the video, with hardware acceleration, so I'll let things be for now. That's my HTPC machine. Still pretty ignorant of all these graphic settings. After using Linux for 9 years, now I have ATi, nVidia, and Intel graphic chipsets and don't know what to do with them. Prior to migrating to Gentoo last year I just installed the nVidia binary blob from their website. Now I've got radeon, nouveau, Intel on most comps -- nvidia-drivers on HTPC. I'm now switching over my regular desktop (Dell Dimension 530 from the summer of 2007) to hardware accelerated mode. This one wants i915 drivers. I had stuck in an old Nvidia card, which was a bit of a pain... * I have to rebuild the binary drivers every time I upgrade my kernel * Flash bleeds through windows on top of a window with Flash * Flash colour tables are screwed up. People have blue faces. * The fix for the colour problem involved tweaking /etc/adobe/mms.cfg which fixed the colours, but caused Flash to crash a lot. All that mess got fixed by switching from nVidia's binary blob to nouveau. With hardware acceleration enable for the onboard Intel GPU, I can now dump the Nvidia card. Can you give me some guide, or advice for this ... other than the standard http://www.gentoo.org/doc/en/xorg-config.xml ? Any push in the right direction would be appreciated. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications Me, neither. I run Fluxbox and save my memory and CPU cycles for real work. ;) -- Happy Penguin Computers ') 126 Fenco Drive ( \ Tupelo, MS 38801 ^^ supp...@happypenguincomputers.com 662-269-2706 662-205-6424 http://happypenguincomputers.com/ Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting
Re: [gentoo-user] Re: Anyone switched to eudev yet?
On Tue, 18 Dec 2012 17:55:16 -0500, Michael Mol wrote: #2 already has a solution, it's called an init*. Other solutions exist but none are as elegant as a throwaway temporary filesystem in RAM. I find virtually nothing elegant about a temporary filesystem in RAM. It duplicates code that already exists on the system, and it represents and additional maintenance step in system upgrades. It seems almost a given that if someone is keeping multiple kernel images on a system, they're not updating the initr* for each when binaries that would be found in each are upgraded or rebuilt. I don't use separate initr* files, the initramfs is built into the kernel, using the latest versions of the tools installed at the time the kernel was compiled. That gives a single bootable file that, if it works now, should always work. Most changes to the component packages do not affect the simple job they have to do to get a system ready to run init. In Debian, Ubuntu and others, this is handled by a post-install hook where the initr* image is rebuilt. To me, this honestly feels like a hack. In something like Gentoo, I'd rather see package placement driven by whether or not it will be needed to get all mount points mounted. If that means i18n databases under something like /boot/data, that seems reasonable. To me, the only cases where initr* feels like the right solution are things like netboot or booting from read-only Or / on LVM, or / on an encrypted filesystem. or any other requirement for a filesystem that cannot be used without adding code to the kernel. -- Neil Bothwick WinErr 002: No Error - Yet signature.asc Description: PGP signature
[gentoo-user] Questions about optimal mplayer settings
1) In the past couple of days I finally figured out what I was doing wrong with hardware acceleration (causing lack thereof) with an onboard Intel GPU in my HTPC machine. I've applied the same fix to my desktop. mplayer now has 5 video output modes that actually show a picture... xv X11/Xv gl_nosw OpenGL no software rendering x11 X11 ( XImage/Shm ) gl OpenGL gl2 X11 (OpenGL) - multiple textures version Which one has the best playback ability? Is there a test program or a torture test video file I can use for testing? 2) When I start up mplayer, the diagnostics include... MMX2 supported but disabled There is no mmx2 in the USE flags or in /proc/cpuinfo vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E4600 @ 2.40GHz stepping: 13 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm ...and I have -march=native in my CFLAGS. Any explanations? -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
Re: [gentoo-user] Questions about optimal mplayer settings
Walter Dnes wrote: 1) In the past couple of days I finally figured out what I was doing wrong with hardware acceleration (causing lack thereof) with an onboard Intel GPU in my HTPC machine. I've applied the same fix to my desktop. mplayer now has 5 video output modes that actually show a picture... xv X11/Xv gl_nosw OpenGL no software rendering x11 X11 ( XImage/Shm ) gl OpenGL gl2 X11 (OpenGL) - multiple textures version Which one has the best playback ability? Is there a test program or a torture test video file I can use for testing? 2) When I start up mplayer, the diagnostics include... MMX2 supported but disabled There is no mmx2 in the USE flags or in /proc/cpuinfo vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E4600 @ 2.40GHz stepping: 13 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm ...and I have -march=native in my CFLAGS. Any explanations? This may help, may not. When I was playing with this a year or so ago, I found a HD test video on the internet somewhere. I'm pretty sure it was 1080p. I set smplayer to play and repeat the video and then I watched the CPU and temps on the video card. I would try each setting and see how much CPU load there was and watched the temps on the video card. I figure if the card temps are warmer, it is giving the card a work out instead of my CPU. I ended up using gl (fast) for mine but this may not work at all for your system. This may give you a way to test the settings and sort of know if the right hardware is doing its job or not. Here is two links if you want to try my weird way of doing this: http://www.youtube.com/watch?v=XITHbsUUlYI http://www.youtube.com/watch?v=e2Innx3puNI I use downloadhelper to grab those then play them locally. Both of those are available in 1080p tho. Should warm up something. ;-) Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Questions about optimal mplayer settings
On Tue, Dec 18, 2012 at 07:05:14PM -0600, Dale wrote: Walter Dnes wrote: 1) In the past couple of days I finally figured out what I was doing wrong with hardware acceleration (causing lack thereof) with an onboard Intel GPU in my HTPC machine. I've applied the same fix to my desktop. mplayer now has 5 video output modes that actually show a picture... xv X11/Xv gl_nosw OpenGL no software rendering x11 X11 ( XImage/Shm ) gl OpenGL gl2 X11 (OpenGL) - multiple textures version Which one has the best playback ability? Is there a test program or a torture test video file I can use for testing? 2) When I start up mplayer, the diagnostics include... MMX2 supported but disabled There is no mmx2 in the USE flags or in /proc/cpuinfo vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E4600 @ 2.40GHz stepping: 13 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm ...and I have -march=native in my CFLAGS. Any explanations? This may help, may not. When I was playing with this a year or so ago, I found a HD test video on the internet somewhere. I'm pretty sure it was 1080p. I set smplayer to play and repeat the video and then I watched the CPU and temps on the video card. I would try each setting and see how much CPU load there was and watched the temps on the video card. I figure if the card temps are warmer, it is giving the card a work out instead of my CPU. I ended up using gl (fast) for mine but this may not work at all for your system. This may give you a way to test the settings and sort of know if the right hardware is doing its job or not. Here is two links if you want to try my weird way of doing this: http://www.youtube.com/watch?v=XITHbsUUlYI http://www.youtube.com/watch?v=e2Innx3puNI I use downloadhelper to grab those then play them locally. Both of those are available in 1080p tho. Should warm up something. ;-) Dale Rather than downloadhelper and a web browser, try: mingdao@workstation ~/test $ youtube-dl http://www.youtube.com/watch?v=XITHbsUUlYI [youtube] Setting language [youtube] XITHbsUUlYI: Downloading video webpage [youtube] XITHbsUUlYI: Downloading video info webpage [youtube] XITHbsUUlYI: Extracting video information [download] Destination: XITHbsUUlYI.mp4 [download] 30.5% of 107.04M at1.43M/s ETA 00:52 -- Happy Penguin Computers ') 126 Fenco Drive ( \ Tupelo, MS 38801 ^^ supp...@happypenguincomputers.com 662-269-2706 662-205-6424 http://happypenguincomputers.com/ Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting
Re: [gentoo-user] Questions about optimal mplayer settings
Bruce Hill wrote: On Tue, Dec 18, 2012 at 07:05:14PM -0600, Dale wrote: Walter Dnes wrote: 1) In the past couple of days I finally figured out what I was doing wrong with hardware acceleration (causing lack thereof) with an onboard Intel GPU in my HTPC machine. I've applied the same fix to my desktop. mplayer now has 5 video output modes that actually show a picture... xv X11/Xv gl_nosw OpenGL no software rendering x11 X11 ( XImage/Shm ) gl OpenGL gl2 X11 (OpenGL) - multiple textures version Which one has the best playback ability? Is there a test program or a torture test video file I can use for testing? 2) When I start up mplayer, the diagnostics include... MMX2 supported but disabled There is no mmx2 in the USE flags or in /proc/cpuinfo vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E4600 @ 2.40GHz stepping: 13 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm ...and I have -march=native in my CFLAGS. Any explanations? This may help, may not. When I was playing with this a year or so ago, I found a HD test video on the internet somewhere. I'm pretty sure it was 1080p. I set smplayer to play and repeat the video and then I watched the CPU and temps on the video card. I would try each setting and see how much CPU load there was and watched the temps on the video card. I figure if the card temps are warmer, it is giving the card a work out instead of my CPU. I ended up using gl (fast) for mine but this may not work at all for your system. This may give you a way to test the settings and sort of know if the right hardware is doing its job or not. Here is two links if you want to try my weird way of doing this: http://www.youtube.com/watch?v=XITHbsUUlYI http://www.youtube.com/watch?v=e2Innx3puNI I use downloadhelper to grab those then play them locally. Both of those are available in 1080p tho. Should warm up something. ;-) Dale Rather than downloadhelper and a web browser, try: mingdao@workstation ~/test $ youtube-dl http://www.youtube.com/watch?v=XITHbsUUlYI [youtube] Setting language [youtube] XITHbsUUlYI: Downloading video webpage [youtube] XITHbsUUlYI: Downloading video info webpage [youtube] XITHbsUUlYI: Extracting video information [download] Destination: XITHbsUUlYI.mp4 [download] 30.5% of 107.04M at1.43M/s ETA 00:52 Some videos are available in different resolutions. Some have as many as 6 or 8 different ones. With downloadhelper, you can pick which one you want. I'm not sure if youtube-dl does or not. Also, I download videos from lots of sites. I don't actually use youtube a lot. Good idea for folks that use youtube a lot tho. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
[gentoo-user] Re: {OT} A simple routing problem
Kevin Brandstatter kjbrandstatter at gmail.com writes: route add -host hostname gw 192.168.0.32 and it's pretty much working, except that I've to add a route to every host for which I want to use the ADSL connection. If I do the same on my local machine, it doesn't work and packets still end up going through my fiber connection. Would iptables ROUTE target help if I use that on my local machine? I think you want the forward chain, im not sure what tools dd-wrt and You might want to research about the capabilities of OSPF. net-misc/quagga is in portage. hth, James
Re: [gentoo-user] xorg.conf tweaks for HTPC machine?
On Tue, Dec 18, 2012 at 04:59:47PM -0600, Bruce Hill wrote On Tue, Dec 18, 2012 at 05:01:59PM -0500, Walter Dnes wrote: With hardware acceleration enable for the onboard Intel GPU, I can now dump the Nvidia card. Can you give me some guide, or advice for this ... other than the standard http://www.gentoo.org/doc/en/xorg-config.xml ? Any push in the right direction would be appreciated. The reason I discovered the solution was that I looked through the /var/log/Xorg.0.log file. This file is usually 95+% boring technical detail. Near the top of the log file is a section that says... [??.???] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. I suggest viewing the log file with your favourite editor, and doing a case-sensitive search on the 2 strings (EE) and DRI (without the quotes). That was what tipped me off to the fact that... a) there was a problem with DRI b) what file Xorg was looking for that it couldn't find Knowing that info, you can put the appropriate entries into the VIDEO_CARDS variable in make.conf. Intel is a bit weird; it wants both intel and the major driver version. E.g. for my older desktop... VIDEO_CARDS=i915 intel ...and for my newer HTPC machine... VIDEO_CARDS=i965 intel Then re-emerge mesa. If Portage asks you to change some USE flags as part of the process, do so unless it causes problems. Once mesa is rebuilt, run... emerge -pv --newuse --deep world This will give a pretend run. If it looks OK, run it for real... emerge --newuse --deep world Again, portage may suggest changing some flags. I ended up having to rebuild xorg-server and one lib. After that, run revdep-rebuild. And if you're changing the card type, you'll have to make the corresponding changes in the kernel via make menuconfig, rebuild the kernel, and reboot. If you get lost, ask here. Copy the relevant error messages from your Xorg.0.log file to help track down the problem. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
[gentoo-user] slideshow on USB stick
Is it possible to create slide show (pictures) on USB stick and play on a TV? In the past I've used dvd-slideshow but that is a bit of work. I had to re-size the pictures add background music etc. DVD only holds 4GB USB sticks have larger capacity. -- Joseph
Re: [gentoo-user] Re: Anyone switched to eudev yet?
On Tue, Dec 18, 2012 at 6:07 PM, Neil Bothwick n...@digimed.co.uk wrote: On Tue, 18 Dec 2012 17:55:16 -0500, Michael Mol wrote: #2 already has a solution, it's called an init*. Other solutions exist but none are as elegant as a throwaway temporary filesystem in RAM. I find virtually nothing elegant about a temporary filesystem in RAM. It duplicates code that already exists on the system, and it represents and additional maintenance step in system upgrades. It seems almost a given that if someone is keeping multiple kernel images on a system, they're not updating the initr* for each when binaries that would be found in each are upgraded or rebuilt. I don't use separate initr* files, the initramfs is built into the kernel, using the latest versions of the tools installed at the time the kernel was compiled. That gives a single bootable file that, if it works now, should always work. Most changes to the component packages do not affect the simple job they have to do to get a system ready to run init. Just because it runs, doesn't mean it works. For example, let's say your network now requires an additional protocol for the host to operate properly. Or let's say there's a security vulnerability in some network-aware component in your initramfs. Or that some piece of automounter code is vulnerable to corrupted filesystems on flash drives. In Debian, Ubuntu and others, this is handled by a post-install hook where the initr* image is rebuilt. To me, this honestly feels like a hack. In something like Gentoo, I'd rather see package placement driven by whether or not it will be needed to get all mount points mounted. If that means i18n databases under something like /boot/data, that seems reasonable. To me, the only cases where initr* feels like the right solution are things like netboot or booting from read-only Or / on LVM, or / on an encrypted filesystem. or any other requirement for a filesystem that cannot be used without adding code to the kernel. / on special filesystems is a good use case, yes. I should have said / from an unusual source. -- :wq
[gentoo-user] Re: Questions about optimal mplayer settings
On Tue, Dec 18, 2012 at 07:38:26PM -0600, Dale wrote: Rather than downloadhelper and a web browser, try: mingdao@workstation ~/test $ youtube-dl http://www.youtube.com/watch?v=XITHbsUUlYI [youtube] Setting language [youtube] XITHbsUUlYI: Downloading video webpage [youtube] XITHbsUUlYI: Downloading video info webpage [youtube] XITHbsUUlYI: Extracting video information [download] Destination: XITHbsUUlYI.mp4 [download] 30.5% of 107.04M at1.43M/s ETA 00:52 Some videos are available in different resolutions. Some have as many as 6 or 8 different ones. With downloadhelper, you can pick which one you want. I'm not sure if youtube-dl does or not. Also, I download videos from lots of sites. I don't actually use youtube a lot. Good idea for folks that use youtube a lot tho. The youtube-dl program works for more sites than just YouTube. And I chose it for the links you provided, specifically because they were YouTube videos. Give /usr/share/doc/youtube-dl-2012.09.27/README.md.bz2 a read. The file fluctuated but the overall speed was 1.77M/s ... don't ever remember getting that type of speed in FF. This shows (via gkrellm) the effects it had playing on this system: http://www.servantsofyeshua.org/XITHbsUUlYI.mp4-screenshot.png Didn't really heat my GPU (temp1) over 38C, and it's normally around 31C. Here's another file check on the MP4: mingdao@workstation ~/test $ md5sum XITHbsUUlYI.mp4 dab460274c1ce3ed8ebaf7caa6c0ad02 XITHbsUUlYI.mp4 Even before Walter's reply to me, I'd rebuilt mesa with new flags: media-libs/mesa-9.0 USE=classic egl g3dvl gallium llvm nptl r600-llvm-compiler shared-glapi xa xvmc -bindist -debug -gbm -gles1 -gles2 -openvg -osmesa -pax_kernel -pic (-selinux) -vdpau (-wayland) -xorg VIDEO_CARDS=r600 -i915 -i965 -intel -nouveau -r100 -r200 -r300 -radeon -radeonsi -vmware Hopefully tomorrow I've have time to check. I'd also saved the old /var/log/Xorg.0.log from before rebuilding mesa. And then there are other comps with other chipsets on this LAN to try. Thanks for the replies. -- Happy Penguin Computers ') 126 Fenco Drive ( \ Tupelo, MS 38801 ^^ supp...@happypenguincomputers.com 662-269-2706 662-205-6424 http://happypenguincomputers.com/ Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting
Re: [gentoo-user] slideshow on USB stick
All dvd-slideshow and co. do is to resize images (that's a one liner with imagemagick's convert tool) and then join them to compose a video file, muxing it with the chosen audio tracks. You can easily do that with ffmpeg, mencoder or some similar tool of your choice if the menu-driven program doesn't let you bypass the dvd size limit. A video file is the most universal format you can get, unless you want to relly on the tv native player capabilities to do a slideshow, which would also be just fine since any tv that has an usb port can for sure do slideshows as well. 2012/12/19 Joseph syscon...@gmail.com Is it possible to create slide show (pictures) on USB stick and play on a TV? In the past I've used dvd-slideshow but that is a bit of work. I had to re-size the pictures add background music etc. DVD only holds 4GB USB sticks have larger capacity. -- Joseph -- Jesús Guerrero Botella