Re: [gentoo-user] Re: qemu not working on a P3M
if I try and use qemu-386 it has limited cmd line options according to -h, and barfs on any of the normal options such as -cdrom - hence my feeling its missing a wrapper. thanks, might have to do git to see if its different. BillK On 07/07/2012, at 22:32, walt w41...@gmail.com wrote: On 07/07/2012 07:14 AM, walt wrote: Qemu supplies two different binaries: one you can run as an unprivileged user (usually named qemu-i386 or whatever) and another that needs special privileges (usually named gemu-system-i386 or whatever). I just remembered that installing the git version actually does give you a binary named 'qemu' but I never understood how that relates to the other two binaries, so I've never used that one either :)
[gentoo-user] multiple bluetooth devices
I am using a single BT usb dongle to communicate over rfcomm with two BT Arduino based devices. Individually they work fine but if one is connected (to rfcomm1), but any attempt to use the other (rfcomm0) fails and knocks the first into limbo requiring recovery. The BT spec implies up to 8 clients can communicate over a single BT device. Ive also tried using different channels for each but the clients look like they are channel 1 only. Can anyone see a way around this or will I need to do some kind of polling to make sure the other device isn't using it before attempting comms? The server is using bluez 4 with the standard gentoo files with the two devices parameters set in /etc/bluetooth/rfcomm.conf. BillK
Re: [gentoo-user] chicken/eff issue with suspend-to-disk/hibernate problem [Was: The End Is Near ... or, get the vaseline, they're on the way!]
On 29/03/2012, at 17:35, J. Roeleveld jo...@antarean.org wrote: On Mon, March 19, 2012 3:56 pm, Alex Schuster wrote: William Kenworthy writes: On Sun, 2012-03-18 at 18:30 -0600, Canek Peláez Valdés wrote: My laptop has used dracut since months ago, and suspends/resumes just fine, as it does my media center. Genkernel doesnt, bugs and work arounds on gentoo bugzilla, with angry comments from a dev that it wont be supported and to not file bugs for it - now that dev has moved on I dont know if enough has changed to test the waters and file a bug again. Its missing a hook in the initrd to call the binary that starts the resume process. Huh? I don't use this at the moment, because suspend-to-ram is enough for me, but it (that is, the initramfs part) used to work just fine out of the box for me, also opening my LUKS-encrypted root volume being on LVM. It also seemed to work on another Gentoo PC I installed recently, although TuxOnIce itself does not work so the resume fails. Argh, this suspend to disk stuff NEVER really worked for me, and I tried for years on different systems. I had it working a long time ago, but the last time I tried it I ended up with a bit of a problem: I don't want a swap-partition on the SSD in my netbook. So I want it to use the SD-card that's permanently plugged in. Problem is, it's connected via an internal USB-port and USB is killed before the writing-proces for the suspend-to-disk starts. Anyone know a solution short of rewriting the kernel? ;) -- Joost try tuxonice - allows you to suspend to a file on disk as well as ram or swap. Added bonus is its much more robust than in-kernel, and the dev (Nigel) is very responsive if help or bugfixes (usually for new kernel versions) are needed. BillK
Re: [gentoo-user] chicken/eff issue with suspend-to-disk/hibernate problem [Was: The End Is Near ... or, get the vaseline, they're on the way!]
On 29/03/2012, at 22:04, Neil Bothwick n...@digimed.co.uk wrote: On Thu, 29 Mar 2012 15:51:44 +0200, J. Roeleveld wrote: try tuxonice - allows you to suspend to a file on disk as well as ram or swap. Added bonus is its much more robust than in-kernel, and the dev (Nigel) is very responsive if help or bugfixes (usually for new kernel versions) are needed. I'd question this seeing as it hasn't been released for kernel 3.1 or later. Not that it is a bad choice, it is not, but it is certainly not keeping up. True, but I don't want to have too many write-actions to the internal SSD, which means that I'd want the file on the SD as well... TuxOnIce lets you specify where you want the hibernate file. -- Neil Bothwick X-Modem- A device on the losing end of an encounter with lightning. and dont forget, its not a swapfile so you only write once on hibernate, and read once on restart. and you can delete/recreate the file in between if you wish - its only used for hibernate. billK
Re: [gentoo-user] InitRAMFS - boot expert sought
On 29/03/2012, at 20:01, David W Noon dwn...@ntlworld.com wrote: On Thu, 29 Mar 2012 10:28:36 +0200, Alan McKinnon wrote about Re: [gentoo-user] InitRAMFS - boot expert sought: On Thu, 29 Mar 2012 00:20:04 +0100 David W Noon dwn...@ntlworld.com wrote: [snip] The Gentoo developers have been discussing just that. The reason is that many of the daemons that can be started by udev scripts require work files on /var, so we could well need /var mounted too. Which begs the obvious question, Why on earth is udev launching daemons in EARLY BOOT? Your guess is as good as mine! At present, the first thing I see when udev starts is a failed attempt to run /usr/sbin/alsactl to restore the audio levels on my sound card. This occurs before localmount or any other services in the sysinit run-level have been started. Just why anybody wants sound before the disk volumes have been mounted baffles me; I guess people are just desperate for the comforts of stereo. Perhaps my mind simply lacks the sophistication to understand the design of udev. I guess I'll just stick to my 80-column Hollerith cards. ... :-) -- Regards, Dave [RLU #314465] == dwn...@ntlworld.com (David W Noon) == that error was what clued me up to genkernels initramfs failing to mount /usr - the mount failure wasnt on screen long enough to see ... error reporting for the initramfs method needs fixing so users can faultfind problems more easily. flashing something on screen for a second and immediately pushing it offscreen doesnt count when there is lo logging to dmesg etc. par for the course - run an initramfs (complexity) means more WILL go wrong so ways to fix it for normal users need to be in place.. BillK
Re: [gentoo-user] ppp-gentoo woes cont'd
Have you checked it's not DNA related? - used IP numbers rather than urls in pings etc? Try panga/trace route to upstream IPs. BillK On 20/03/2012, at 0:33, Maxim Wexler maxim.wex...@gmail.com wrote: Just got back from gentoo land. Arrrgh, gmail won't let me attach files, just sits there spinning. So I'll have to make do with pastebin. http://paste.ubuntu.com/890854/ Is a chronicle of the commands entered. First having booted and not changing anything, I do #ifconifg, then I do #route -n, then #pon isp to connect. Then there is the running tail of the messages log, ifconfig, route -n Next, rmmod the drivers. I do #poff isp to bring down ppp0, tail the messages, And so on... NB: the crash of the time daemon doesn't matter. Like everything else I need to work around the problem; in this case via a script in /etc/ppp/ip-up.d and /ip-down.d. The problem persists if I don't start the daemon at all. At the bottom of the file I've included the /etc/ppp/ip-up script. The scripts it refers to are here: 30-wins.sh http://paste.ubuntu.com/890854/ 40-dns.sh http://paste.ubuntu.com/890857/ 50-initd.sh http://paste.ubuntu.com/890857/ 90-ntpd.sh http://paste.ubuntu.com/890857/ The first two don't apply. 50-initd.sh, I don't quite grok. Hope somebody has the patience to go through this ;) MW
Re: [gentoo-user] The End Is Near ... or, get the vaseline, they're on the way!
Have two here - disk less atoms as mythtv front ends - seems a common use case in the mythtv world. And another advantage is they sidestep the whole /user mess :) BillK On 20/03/2012, at 7:49, Alan McKinnon alan.mckin...@gmail.com wrote: On Mon, 19 Mar 2012 23:33:39 + Neil Bothwick n...@digimed.co.uk wrote: As for making /usr read-only; it is generally only writeable by root and anyone with the root password could remount rw anyway, so there's not much point there. I was thinking here more of /usr mounted -t nfs root on nfs client != root on nfs server hence the need for rootsquash. But these days that setup is becoming a niche thing, the last one I saw was in a university lab and I've never actually admined one myself. -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] suspend/hibernate and genkernel.
On 15/03/2012, at 0:54, Canek Peláez Valdés can...@gmail.com wrote: On Wed, Mar 14, 2012 at 8:28 AM, William Kenworthy bi...@iinet.net.au wrote: On Wed, 2012-03-14 at 14:27 +0100, Sebastian Pipping wrote: On 03/14/2012 04:49 AM, William Kenworthy wrote: According to the docs I have found you need to patch genkernel to run /sbin/resume - it was a longstanding argument between two now retired devs with the result that genkernel wont (ever) support hibernation. I dont know from reading the bugs if it was ever fixed now the dev who wouldnt has retired, or is genkernel is still broken. I'd be interested to hear more details. Can you share links to your sources with me? Thanks, Sebastian https://bugs.gentoo.org/show_bug.cgi?id=156445 - particularly the comment dated 2007-09-14 20:58:00 UTC. and google gets others as well. There are a number of guides describing the patching and related problems ... note that the above is 2007 ... and it still doesnt work. Basicly the question is does genkernel support some of the more complex setups, but as having suspend/resume on a laptop is almost mandatory its something genkernel should support out of the box. For my uses, if it has to be patched to add such basic support ... its broke. Mmmmh. Again, as I said before, suspend/resume should have nothing to do with an initramfs. Hibernate it's the one that may need special support from the initramfs to work. Just to clarify, neither of them works for you without patching genkernel? Or are you talking only about hibernate? Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México I have only tested hibernate - some major problems when starting this morning, buts that's probably tuning for in-kernel as against a system setup for ToI. I also am getting /usr errors again (both on boot and resume from hibernate, can't find some binaries on /usr, but mounts ok later in the sequence -maybe timing) - lack of detailed debug when in the initramfs is a problem - will have to start scattering print statements through it ... This is on a home gateway/server that's shutdown/powered off overnight. Startup has to be fast as when power comes on (via remote controlled relays) there are PXE diskless NFS systems (mythtv front ends) that time out if it goes through a full boot sequence. BillK
Re: [gentoo-user] Re: Somewhat OT: Any truth to this mess?
On 20/02/2012, at 5:14, walt w41...@gmail.com wrote: On 02/18/2012 08:35 AM, Mike Edenfield wrote: * On March 8 the FBI will turn off their stand-in DNS servers. The FBI has people that know how to run a DNS server? I feel better about my tax dollars now ;) Oh, wait, I'll bet they outsource it to Google. Not unless google can supply them with detailed logs for tracking/analysis ... BillK
Re: [gentoo-user] Re: Recommended VPN Tunnel client?
Congestion isn't the only reason to use TCP and a VPN. 3G smartphone network (Optus in Oz) has a large number of duplicate and dropped packets - openvpn performance over TCP is much better. Similar case with a cheap French network while on holiday there. This was an extreme case though with non VPN traffic very poor as well. Otherwise use openvpn with fqdn's and not IP numbers then use ospf across them with suitable route metrics to either share or prefer a route. Works well with dynamic IP's from my ISP so should be ok in your scenario. You could also use openvpns route push if you dont need complex dynamic routing - this works better than ospf on bad links anyway. BillK On 11/02/2012, at 2:36, Michael Orlitzky mich...@orlitzky.com wrote: On 02/10/12 13:05, Pandu Poluan wrote: No, no, no. What I meant was running TCP and UDP *on top of* OpenVPN (which uses UDP). HAproxy seems to be able to perform its magic with TCP connections. I was about to say that we use it over UDP, but... we don't. We have a small number of clients, maybe ten(?) that use the VPN for remote administration. UDP is recommended, references[1] are easy to google. Why we're running it over TCP I don't know. I must have had a good reason =) It performs fine anyway, but now I'm considering flipping it to UDP to see what happens. At least I'll be in the office when it breaks. [1] http://sites.inka.de/sites/bigred/devel/tcp-tcp.html
Re: [gentoo-user] recommendation for a router/WAP
On 03/02/2012, at 5:49, Neil Bothwick n...@digimed.co.uk wrote: On Thu, 2 Feb 2012 14:34:01 -0600, Paul Hartman wrote: I also have WZR-HP-G300NH and wifi suffered constant disconnects and poor performance. I have a WZR-HP-G300NH with firmware DD-WRT v24SP2-EU-US (08/19/10) std - build 14998 and can't recall the last time I lost a wireless connection. -- Neil Bothwick Suicide is the most sincere form of self-criticism. Same here with one exception, tho 1 version before. The microwave when physically between the two devices will drop streamed videos etc - web browsers don't notice it. Otherwise it just works. I am using 15dbm power but the location is not the best - multiple metal door frames/walls LOS between the couch (iPad users) and AP. I am also using G-only mode as some of my G-only devices don't like N/G mixed mode (happened with other routers so not a fault with the buffalo). This thread caused me to think again as the main device with this problem has moved on (broke, binned) so Ive re-enabled mixed G/N mode and will see how it goes. I did see the disconnect problem discussed on forums (after I bought it!) but never suffered from it - maybe it was early hardware? BillK
Re: [gentoo-user] recommendation for a router/WAP
You can expect best case of 50% thru put for wifi (I.e., 50Mbs), and usually much less. Think overhead for encryption, error recovery, and speed reduction for distance. Add to that most wifi speeds on the box come from the marketing department ... Then, if you are in a crowded (rf wise) environment, have an old 802.11b (10Mb) device in range and the antennas are more than few meters apart, someone is cooking dinner in the microwave, ... Wired or wireless ... No contest! W.Kenworthy On 02/02/2012, at 9:08, Allan Gottlieb gottl...@nyu.edu wrote: I have a linksys wrt54G that is acting a little funny. Since my new laptop supports 1Gig wired ethernet and the wrt is 100Meg, I should upgrade even if the funny turns out to be just a config error on my laptop. This is a home system. My requirements are modest. 1. = 4 wired ethernet ports for systems/devices (at least 1 port 1Gig) 2. Wireless access point 802.11 b/g (n would be nice; a ok) 3. dhcp (with settable addresses see below*) 4. Availability in U.S. * I am actually running the so-called tomato firmware. The std firmware did not let me set specific dhcp addresses for specific sources. This is important to me. My laptop is 192.168.1.70, one printer is .50, the other .55, two other laptops are .72, and .75., Hence an /etc/hosts file lets each machine access the others by name My isp cablevision/optonline provides a modem with a wired ethernet port. The router/wap should have an ethernet port (beyond the 4 above) to accept the modem output (I realize it is all bidirectional). Suggestions? thanks, allan gottlieb
Re: [gentoo-user] recommendation for a router/WAP
On 02/02/2012, at 11:02, Allan Gottlieb gottl...@nyu.edu wrote: On Wed, Feb 01 2012, bi...@iinet.net.au wrote: On 02/02/2012, at 9:08, Allan Gottlieb gottl...@nyu.edu wrote: I have a linksys wrt54G that is acting a little funny. Since my new laptop supports 1Gig wired ethernet and the wrt is 100Meg, I should upgrade even if the funny turns out to be just a config error on my laptop. This is a home system. My requirements are modest. 1. = 4 wired ethernet ports for systems/devices (at least 1 port 1Gig) 2. Wireless access point 802.11 b/g (n would be nice; a ok) 3. dhcp (with settable addresses see below*) 4. Availability in U.S. * I am actually running the so-called tomato firmware. The std firmware did not let me set specific dhcp addresses for specific sources. This is important to me. My laptop is 192.168.1.70, one printer is .50, the other .55, two other laptops are .72, and .75., Hence an /etc/hosts file lets each machine access the others by name My isp cablevision/optonline provides a modem with a wired ethernet port. The router/wap should have an ethernet port (beyond the 4 above) to accept the modem output (I realize it is all bidirectional). Suggestions? thanks, allan gottlieb You can expect best case of 50% thru put for wifi (I.e., 50Mbs), and usually much less. Think overhead for encryption, error recovery, and speed reduction for distance. Add to that most wifi speeds on the box come from the marketing department ... Then, if you are in a crowded (rf wise) environment, have an old 802.11b (10Mb) device in range and the antennas are more than few meters apart, someone is cooking dinner in the microwave, ... Wired or wireless ... No contest! W.Kenworthy I am asking for a recommendation of a router/wap. I know the wired/wireless tradeoffs. thanks, allan Sorry, read it as wired or wireless. Check out the buffalo routers -I have a G300NH which while it has a few early reports of bad wifi, it's been faultless for me. After a couple of months I changed the custom ddwrt firmware for real ddwrt (basically because I could!) and it's always been problem free. My limited experience with 1G has been mixed - usually don't notice much of a difference though its occasionally wow! - mostly cisco devices though. Billk
Re: [gentoo-user] Floppy support question for old farts. lol
Hey, WinME was a killer app! MS were really smart with it and if they used the same philosophy with vista, how different things could have been! WinME killed so many systems, user experiences and expectations that when 2k came along every one was so pleased to upgrade (nt4 was never really pushed to users) :) W.Kenworthy On 01/02/2012, at 1:30, Walter Dnes waltd...@waltdnes.org wrote: On Tue, Jan 31, 2012 at 06:05:12PM +0100, Michael Hampicke wrote Sweet. I had 15 minutes in the office how long before someone makes a pointless, unrelated Windows insult out of my post pool; I just won $5. I was using Win3.1 - and was happy with it I was using Win95 - and was happy with it I was using WinNT4 - and was happy with it I was using Win2000 - and was happy with it I was using Win Server 2003 - and was happy with it I was using Win7 - and was happy with it And I am also a Linux SuSe user since 6.0 and Gentoo user since 1.something (but up until now just on the servers). I made the final switch from Windows to Linux on my Workstation (Gentoo) and Notebook (Lubuntu) only a few month ago. So please, don't accuse me of making Windows insults. I feel that Win98SE was the best Windows ever, and could've been even more of a killer if Microsoft hadn't so stupidly tried to ram ActiveX down people's throats. Remove ActiveX, and 99% of drive-by-downloads would've disappeared. WinME was a sad joke, however. -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] Re: gcc-4.5.3-r1 fails to compile with internal compiler error
Check USE/C flags, there may have been changes between versions (I think this happened to me) Try compiling without any of them and if it works start looking for the bad one. W.Kenworthy On 01/02/2012, at 5:37, walt w41...@gmail.com wrote: On 01/31/2012 11:57 AM, Grant wrote: I can't seem to get gcc-4.5.3-r1 to compile. I tried twice and it failed at the exact same point both times. The build log doesn't mention a segfault. Does anyone know how to fix this? I was able to compile gcc-4.3.3 a short while ago. Are you using the new 4.3.3 to build 4.5.3? The gcc package actually compiles gcc twice, once with your existing compiler and again with the new compiler itself (at least it worked that way in the old days). I'm wondering if the internal compiler error occurs during the first build (using 4.3.3) or the second (using 4.5.3). Not that I'd know what to do with that info except to answer my own question :)