Re: [gentoo-user] [Way OT] Tally ho!
On 30/06/2014 03:16, waben...@gmail.com wrote: This isn't the first time a topic has started or ended up being not related to Gentoo or even computers. You are really tenacious. :-) It seems that I should lower my expectations regarding what's on-topic and what's not. Lets say, every topic is fine as long as the poster asks a question about a technical problem he has and as long as the topic has nothing to do with weapons. Is that definition ok for you? It's a case of regular posters who have been here for 5+ years, and in some cases more than 10 years. These folks have become friends with each other and sometimes what is being discussed derails somewhat. That's what humans do - they chat about whatever they feel like chatting about. It is going to happen and there is nothing you can do about it. Just let it go. It happens once every month or so on average. It's interesting to note that the sub-thread of how off-topic WWII aircraft are is getting larger than the thread it is complaining about. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] [Way OT] Tally ho!
On 30/06/2014 01:40, waben...@gmail.com wrote: ...I decided that I will not receive this mailing list on my smartphone any longer. Reading it on my Desktop-PC is sufficient. This will help me to calm down. ;-) Good idea. This is a high-volume list with an extraordinarily high signal-to-noise ratio. Reading it on a phone will drive you nuts, and you can't easily give answers that do the question justice. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] [Less OT] Tally ho! - RC Flight Sims on Linux
On Monday 30 June 2014 01:26:48 waben...@gmail.com wrote: Am Sonntag, 29.06.2014 um 16:26 schrieb Dale rdalek1...@gmail.com: waben...@gmail.com wrote: Am Sonntag, 29.06.2014 um 20:38 schrieb Neil Bothwick n...@digimed.co.uk: On Sun, 29 Jun 2014 21:29:56 +0200, Alan McKinnon wrote: Please folks, stop that crap. It has nothing to do with gentoo or computers at all. If you wanna discuss the delightfulness of war machines then please to this at another place and not on this list. Allow me to introduce your to my good friend Delete and his lovely wife button Or you could filter anything with OT in the subject to /dev/null. It's not like this thread is masquerading as something relevant. That's not the point. If you wanna talk about stuff that's apparently absolut useless to almost every member of this ML, then you should do this at another place. Especially discussions with politically and or military background are IMHO absolutely inappropriate. But hey, maybe I'm wrong. Why shouldn't we talk here about everything that cross one's mind? We could mark it as OT in the subject line, so it should be no problem for everyone. Maybe we should discuss the local daily weather? I think, that's a pretty good idea as it would increase the noise level of this list even more. What do you think? Just a FYI. I have in the past asked questions about Windoze XP on this very list. Why, I'm not joining a windoze mailing list for just one question and I know a lot of people on this list know about windoze as well. I have seen other topics raised on this list before. It's not often but it does happen. I see Gentoo threads that don't interest me at all and I just mark them as read and move right along but I don't tell folks that I don't want to see them. I could start with systemd. If I see systemd in the subject, I mark it read and move right along usually without reading even the first post. Why, I don't use systemd so I am certainly not interested in it. There are other threads that I do the same thing with. That's right. But all examples you've mentioned are computer related topics and maybe useful for anyone on this list. We can turn this into a computer related thread. Anyone know of a way to get a flight-sim (for model planes) to run on Linux? I have a legit copy of Realflight ( http://www.realflight.com ) and occasionally have to boot into a legit copy (yes, all my software is 100% legit) of MS Windows. Ideas welcome. -- Joost
Re: [gentoo-user] [Way OT] Tally ho!
Alan McKinnon wrote: On 30/06/2014 03:16, waben...@gmail.com wrote: This isn't the first time a topic has started or ended up being not related to Gentoo or even computers. You are really tenacious. :-) It seems that I should lower my expectations regarding what's on-topic and what's not. Lets say, every topic is fine as long as the poster asks a question about a technical problem he has and as long as the topic has nothing to do with weapons. Is that definition ok for you? It's a case of regular posters who have been here for 5+ years, and in some cases more than 10 years. These folks have become friends with each other and sometimes what is being discussed derails somewhat. That's what humans do - they chat about whatever they feel like chatting about. It is going to happen and there is nothing you can do about it. Just let it go. It happens once every month or so on average. It's interesting to note that the sub-thread of how off-topic WWII aircraft are is getting larger than the thread it is complaining about. +1 Dale :-) :-)
Re: [gentoo-user] mount.nfs stale nfs handle
On Sunday 29 June 2014 22:48:32 Alexander Puchmayr wrote: Am Sonntag, 29. Juni 2014, 20:41:55 schrieb Neil Bothwick: On Sun, 29 Jun 2014 21:34:07 +0200, Alexander Puchmayr wrote: After upgrading my server to latest stable release of gentoo, none of my clients is able to mount any nfs share from the server anymore. [snip] Server has kernel version 3.12.21-gentoo-r1and net-fs/nfs-utils-1.2.9 installed. As both clients and server are not accessable from outside, no firewalls are installed. That's not the latest nfs-utils in stable, it is 1.2.9-r3. This morning it was masked; OK, emerge --sync emerge nfs-utils. After restarting all nfs relevant services it is still the same :-( Just to confirm, did you update nfs-utils on both systems? -- Joost
Re: [gentoo-user] mount.nfs stale nfs handle
On Sunday 29 June 2014 21:34:07 Alexander Puchmayr wrote: Hi there, After upgrading my server to latest stable release of gentoo, none of my clients is able to mount any nfs share from the server anymore. Symptoms: $ mount -v -t nfs poseidon:/datadisk/ /mnt/gentoo/ mount.nfs: timeout set for Sun Jun 29 19:33:40 2014 mount.nfs: trying text-based options 'vers=4,addr=192.168.1.6,clientaddr=192.168.1.2' mount.nfs: mount(2): Protocol not supported mount.nfs: trying text-based options 'addr=192.168.1.6' mount.nfs: prog 13, trying vers=3, prot=6 mount.nfs: trying 192.168.1.6 prog 13 vers 3 prot TCP port 2049 mount.nfs: prog 15, trying vers=3, prot=17 mount.nfs: trying 192.168.1.6 prog 15 vers 3 prot UDP port 60058 mount.nfs: mount(2): Stale NFS file handle mount.nfs: trying text-based options 'vers=4,addr=192.168.1.6,clientaddr=192.168.1.2' mount.nfs: mount(2): Protocol not supported mount.nfs: trying text-based options 'addr=192.168.1.6' mount.nfs: prog 13, trying vers=3, prot=6 mount.nfs: trying 192.168.1.6 prog 13 vers 3 prot TCP port 2049 mount.nfs: prog 15, trying vers=3, prot=17 mount.nfs: trying 192.168.1.6 prog 15 vers 3 prot UDP port 60058 mount.nfs: mount(2): Stale NFS file handle [...] mount.nfs: Connection timed out $ [Poseidon is my server at 192.168.1.6, the client is at 192.168.1.2] Server disk to be exported is a ~9TB raid array with XFS. I'm using nfs3 with ACL and no idmapd; nfs4+ is not compiled into kernel (neither on client nor on server); Why it is trying nfs4 first as seen in the log above I don't know. nfs-utils has been compiled with USE=-nfsv4 Server has kernel version 3.12.21-gentoo-r1and net-fs/nfs-utils-1.2.9 installed. As both clients and server are not accessable from outside, no firewalls are installed. What I checked: /etc/exports: /datadisk 192.168.1.0/24(rw,async,subtree_check) portmapper, nfs-services are running normal, as far I can see. Does anyone have any suggestion? I have this occasionally due to the backup system I am using: - stop the nfs export - umount the filesystem - take LVM snapshot - remound filesystem - re-enable the nfs export When that happens, I run the following on the server: # exportfs -au sleep 1 mount -a sleep 1 exportfs -r The sleeps are necessary, without them, it doesn't always work. -- Joost
Re: [gentoo-user] [Less OT] Tally ho! - RC Flight Sims on Linux
在 2014年6月30日 星期一 09:17:02,Joost Roeleveld 写道: On Monday 30 June 2014 01:26:48 waben...@gmail.com wrote: Am Sonntag, 29.06.2014 um 16:26 schrieb Dale rdalek1...@gmail.com: waben...@gmail.com wrote: Am Sonntag, 29.06.2014 um 20:38 schrieb Neil Bothwick n...@digimed.co.uk: On Sun, 29 Jun 2014 21:29:56 +0200, Alan McKinnon wrote: Please folks, stop that crap. It has nothing to do with gentoo or computers at all. If you wanna discuss the delightfulness of war machines then please to this at another place and not on this list. Allow me to introduce your to my good friend Delete and his lovely wife button Or you could filter anything with OT in the subject to /dev/null. It's not like this thread is masquerading as something relevant. That's not the point. If you wanna talk about stuff that's apparently absolut useless to almost every member of this ML, then you should do this at another place. Especially discussions with politically and or military background are IMHO absolutely inappropriate. But hey, maybe I'm wrong. Why shouldn't we talk here about everything that cross one's mind? We could mark it as OT in the subject line, so it should be no problem for everyone. Maybe we should discuss the local daily weather? I think, that's a pretty good idea as it would increase the noise level of this list even more. What do you think? Just a FYI. I have in the past asked questions about Windoze XP on this very list. Why, I'm not joining a windoze mailing list for just one question and I know a lot of people on this list know about windoze as well. I have seen other topics raised on this list before. It's not often but it does happen. I see Gentoo threads that don't interest me at all and I just mark them as read and move right along but I don't tell folks that I don't want to see them. I could start with systemd. If I see systemd in the subject, I mark it read and move right along usually without reading even the first post. Why, I don't use systemd so I am certainly not interested in it. There are other threads that I do the same thing with. That's right. But all examples you've mentioned are computer related topics and maybe useful for anyone on this list. We can turn this into a computer related thread. Anyone know of a way to get a flight-sim (for model planes) to run on Linux? I have a legit copy of Realflight ( http://www.realflight.com ) and occasionally have to boot into a legit copy (yes, all my software is 100% legit) of MS Windows. X-plane ? Ideas welcome. -- Joost
Re: [gentoo-user] [Less OT] Tally ho! - RC Flight Sims on Linux
On Monday 30 June 2014 15:40:02 microcai wrote: 在 2014年6月30日 星期一 09:17:02,Joost Roeleveld 写道: On Monday 30 June 2014 01:26:48 waben...@gmail.com wrote: Am Sonntag, 29.06.2014 um 16:26 schrieb Dale rdalek1...@gmail.com: waben...@gmail.com wrote: Am Sonntag, 29.06.2014 um 20:38 schrieb Neil Bothwick n...@digimed.co.uk: On Sun, 29 Jun 2014 21:29:56 +0200, Alan McKinnon wrote: Please folks, stop that crap. It has nothing to do with gentoo or computers at all. If you wanna discuss the delightfulness of war machines then please to this at another place and not on this list. Allow me to introduce your to my good friend Delete and his lovely wife button Or you could filter anything with OT in the subject to /dev/null. It's not like this thread is masquerading as something relevant. That's not the point. If you wanna talk about stuff that's apparently absolut useless to almost every member of this ML, then you should do this at another place. Especially discussions with politically and or military background are IMHO absolutely inappropriate. But hey, maybe I'm wrong. Why shouldn't we talk here about everything that cross one's mind? We could mark it as OT in the subject line, so it should be no problem for everyone. Maybe we should discuss the local daily weather? I think, that's a pretty good idea as it would increase the noise level of this list even more. What do you think? Just a FYI. I have in the past asked questions about Windoze XP on this very list. Why, I'm not joining a windoze mailing list for just one question and I know a lot of people on this list know about windoze as well. I have seen other topics raised on this list before. It's not often but it does happen. I see Gentoo threads that don't interest me at all and I just mark them as read and move right along but I don't tell folks that I don't want to see them. I could start with systemd. If I see systemd in the subject, I mark it read and move right along usually without reading even the first post. Why, I don't use systemd so I am certainly not interested in it. There are other threads that I do the same thing with. That's right. But all examples you've mentioned are computer related topics and maybe useful for anyone on this list. We can turn this into a computer related thread. Anyone know of a way to get a flight-sim (for model planes) to run on Linux? I have a legit copy of Realflight ( http://www.realflight.com ) and occasionally have to boot into a legit copy (yes, all my software is 100% legit) of MS Windows. X-plane ? Not what I'm looking for. That simulates 1:1 scale planes (full size). I am talking about one I can use to practice flying without risking my real planes on the first attempt. I need one where I can use my own transmitter connected to the computer. There are cables to hook them up to the USB-port. But the problem is finding a decent one that actually runs on Linux. All the commercial ones I can find are MS Windows only. -- Joost
Re: [gentoo-user] [Less OT] Tally ho! - RC Flight Sims on Linux
Joost Roeleveld wrote: On Monday 30 June 2014 15:40:02 microcai wrote: 在 2014年6月30日 星期一 09:17:02,Joost Roeleveld 写道: We can turn this into a computer related thread. Anyone know of a way to get a flight-sim (for model planes) to run on Linux? I have a legit copy of Realflight ( http://www.realflight.com ) and occasionally have to boot into a legit copy (yes, all my software is 100% legit) of MS Windows. X-plane ? Not what I'm looking for. That simulates 1:1 scale planes (full size). I am talking about one I can use to practice flying without risking my real planes on the first attempt. I need one where I can use my own transmitter connected to the computer. There are cables to hook them up to the USB-port. But the problem is finding a decent one that actually runs on Linux. All the commercial ones I can find are MS Windows only. -- Joost Don't forget, there was a guitar that ran Gentoo Linux too. Heck, did plane engines have puters even back then? I know they do now, at least according to all the stuff I see on TV. I don't think puter stuff started until like in the 80's or something tho. M$ Windoze. Yuck! I wouldn't put that stuff on my rig. Dale :-) :-)
Re: [gentoo-user] [Less OT] Tally ho! - RC Flight Sims on Linux
On Monday 30 June 2014 03:56:44 Dale wrote: Joost Roeleveld wrote: On Monday 30 June 2014 15:40:02 microcai wrote: 在 2014年6月30日 星期一 09:17:02,Joost Roeleveld 写道: We can turn this into a computer related thread. Anyone know of a way to get a flight-sim (for model planes) to run on Linux? I have a legit copy of Realflight ( http://www.realflight.com ) and occasionally have to boot into a legit copy (yes, all my software is 100% legit) of MS Windows. X-plane ? Not what I'm looking for. That simulates 1:1 scale planes (full size). I am talking about one I can use to practice flying without risking my real planes on the first attempt. I need one where I can use my own transmitter connected to the computer. There are cables to hook them up to the USB-port. But the problem is finding a decent one that actually runs on Linux. All the commercial ones I can find are MS Windows only. -- Joost Don't forget, there was a guitar that ran Gentoo Linux too. I remember that one, still wondering about the point though, but that's just me :) Heck, did plane engines have puters even back then? I know they do now, at least according to all the stuff I see on TV. I don't think puter stuff started until like in the 80's or something tho. They had computers during WWII, they used them to break the german encryption. They appeared in planes not too long after: See: http://en.wikipedia.org/wiki/Fly-by-wire *** The first non-experimental aircraft that was designed and flown (in 1958) with a fly-by- wire flight control system was the Avro Canada CF-105 Arrow[1],^{[5][2][6][3]} a feat not repeated with a production aircraft until Concorde[4] in 1969. This system also included solid-state components and system redundancy, was designed to be integrated with a computerised navigation and automatic search and track radar, was flyable from ground control with data uplink and downlink, and provided artificial feel (feedback) to the pilot. *** Also: https://airandspace.si.edu/exhibitions/america-by-air/online/jetage/jetage17.cfm *** The first autopilots were used on airliners in the mid-1930s. In the late 1950s, electronic computers became small enough to be used aboard aircraft. Sophisticated digital computers can now fly aircraft in virtually any situation, while ensuring that all systems are functioning properly. *** M$ Windoze. Yuck! I wouldn't put that stuff on my rig. I do, for a few programs that aren't available on Linux (yet). The flightsim for RC model planes is one of them. -- Joost [1] http://en.wikipedia.org/wiki/Avro_Canada_CF-105_Arrow [2] http://en.wikipedia.org/wiki/Fly-by-wire#cite_note-5 [3] http://en.wikipedia.org/wiki/Fly-by-wire#cite_note-Whitcomb-6 [4] http://en.wikipedia.org/wiki/Concorde
Re: [gentoo-user] [Less OT] Tally ho! - RC Flight Sims on Linux
On 30/06/2014 09:40, microcai wrote: 在 2014年6月30日 星期一 09:17:02,Joost Roeleveld 写道: On Monday 30 June 2014 01:26:48 waben...@gmail.com wrote: [snip] That's right. But all examples you've mentioned are computer related topics and maybe useful for anyone on this list. We can turn this into a computer related thread. Anyone know of a way to get a flight-sim (for model planes) to run on Linux? I have a legit copy of Realflight ( http://www.realflight.com ) and occasionally have to boot into a legit copy (yes, all my software is 100% legit) of MS Windows. X-plane ? wine? -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] [Way OT] Tally ho!
On Monday 30 June 2014 10:22:42 Peter Humphrey wrote: On Sunday 29 June 2014 11:38:11 Dale wrote: Peter Humphrey wrote: I don't know when we'll get the Hurricane one - the man with the camera just put a two-word entry on Twitter this morning: Hashtag HEADACHE Oooops. Here's the Hurricane: https://www.facebook.com/photo.php?v=880028802011336 From the unsteadiness of the camera, I think Phil must have started the headache inducement before shooting this :-( The unsteadiness comes from trying to keep up with a fast moving object without stabilizers. Have you seen the type of contraptions used for movies? Taken from the top of the church tower at 2:15 on Saturday. You can hear some of the bells chiming the quarter-hour at the beginning. I'll stop now. Don't stop on my account ;) -- Joost
Re: [gentoo-user] [Less OT] Tally ho! - RC Flight Sims on Linux
On Monday 30 June 2014 11:51:08 Alan McKinnon wrote: On 30/06/2014 09:40, microcai wrote: 在 2014年6月30日 星期一 09:17:02,Joost Roeleveld 写道: On Monday 30 June 2014 01:26:48 waben...@gmail.com wrote: [snip] That's right. But all examples you've mentioned are computer related topics and maybe useful for anyone on this list. We can turn this into a computer related thread. Anyone know of a way to get a flight-sim (for model planes) to run on Linux? I have a legit copy of Realflight ( http://www.realflight.com ) and occasionally have to boot into a legit copy (yes, all my software is 100% legit) of MS Windows. X-plane ? wine? I try that once every few months, not been one that works yet. Problem is the copy-protection with the one I use. The CD needs to be in the drive for it to work. -- Joost
Re: [gentoo-user] [Less OT] Tally ho! - RC Flight Sims on Linux
On 30/06/2014 12:01, Joost Roeleveld wrote: On Monday 30 June 2014 11:51:08 Alan McKinnon wrote: On 30/06/2014 09:40, microcai wrote: 在 2014年6月30日 星期一 09:17:02,Joost Roeleveld 写道: On Monday 30 June 2014 01:26:48 waben...@gmail.com wrote: [snip] That's right. But all examples you've mentioned are computer related topics and maybe useful for anyone on this list. We can turn this into a computer related thread. Anyone know of a way to get a flight-sim (for model planes) to run on Linux? I have a legit copy of Realflight ( http://www.realflight.com ) and occasionally have to boot into a legit copy (yes, all my software is 100% legit) of MS Windows. X-plane ? wine? I try that once every few months, not been one that works yet. Problem is the copy-protection with the one I use. The CD needs to be in the drive for it to work. Can you fudge it using a ripped .iso of the CD and loop mounting it somewhere? -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] [Less OT] Tally ho! - RC Flight Sims on Linux
On Monday 30 June 2014 12:09:16 Alan McKinnon wrote: On 30/06/2014 12:01, Joost Roeleveld wrote: On Monday 30 June 2014 11:51:08 Alan McKinnon wrote: On 30/06/2014 09:40, microcai wrote: 在 2014年6月30日 星期一 09:17:02,Joost Roeleveld 写道: On Monday 30 June 2014 01:26:48 waben...@gmail.com wrote: [snip] That's right. But all examples you've mentioned are computer related topics and maybe useful for anyone on this list. We can turn this into a computer related thread. Anyone know of a way to get a flight-sim (for model planes) to run on Linux? I have a legit copy of Realflight ( http://www.realflight.com ) and occasionally have to boot into a legit copy (yes, all my software is 100% legit) of MS Windows. X-plane ? wine? I try that once every few months, not been one that works yet. Problem is the copy-protection with the one I use. The CD needs to be in the drive for it to work. Can you fudge it using a ripped .iso of the CD and loop mounting it somewhere? Would work in Linux, I guess. But even with the disk in the drive, it didn't work last time I tried it. It is time for a new try though. But my preference would be something native. -- Joost
Re: [gentoo-user] [Way OT] Tally ho!
On Monday 30 Jun 2014 08:17:44 Dale wrote: Alan McKinnon wrote: On 30/06/2014 03:16, waben...@gmail.com wrote: This isn't the first time a topic has started or ended up being not related to Gentoo or even computers. You are really tenacious. :-) It seems that I should lower my expectations regarding what's on-topic and what's not. Lets say, every topic is fine as long as the poster asks a question about a technical problem he has and as long as the topic has nothing to do with weapons. Is that definition ok for you? It's a case of regular posters who have been here for 5+ years, and in some cases more than 10 years. These folks have become friends with each other and sometimes what is being discussed derails somewhat. That's what humans do - they chat about whatever they feel like chatting about. It is going to happen and there is nothing you can do about it. Just let it go. It happens once every month or so on average. It's interesting to note that the sub-thread of how off-topic WWII aircraft are is getting larger than the thread it is complaining about. +1 Dale I recall a thread some years ago now, that offered sound advice on tuning motorcycle carburettors for operating smoothly at altitude ... O_O The funny part was that this was interspersed within an on-topic thread. :-) -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] [Less OT] Tally ho! - RC Flight Sims on Linux
Alan McKinnon wrote: On 30/06/2014 09:40, microcai wrote: X-plane ? wine? Sorry, I don't drink. ROFL Dale :-) :-)
Re: [gentoo-user] [Way OT] Tally ho!
On Sunday 29 June 2014 11:38:11 Dale wrote: Peter Humphrey wrote: I don't know when we'll get the Hurricane one - the man with the camera just put a two-word entry on Twitter this morning: Hashtag HEADACHE Oooops. Here's the Hurricane: https://www.facebook.com/photo.php?v=880028802011336 From the unsteadiness of the camera, I think Phil must have started the headache inducement before shooting this :-( Taken from the top of the church tower at 2:15 on Saturday. You can hear some of the bells chiming the quarter-hour at the beginning. I'll stop now. -- Regards Peter
Re: [gentoo-user] [Less OT] Tally ho! - RC Flight Sims on Linux
On Monday 30 June 2014 05:23:31 Dale wrote: Alan McKinnon wrote: On 30/06/2014 09:40, microcai wrote: X-plane ? wine? Sorry, I don't drink. ROFL What about the alcohol free version? Also known as grape juice...
Re: [gentoo-user] mount.nfs stale nfs handle
Yes. Both client and server have the actual version. Alex Gesendet mit AquaMail für Android http://www.aqua-mail.com Am 30. Juni 2014 09:30:01 schrieb Joost Roeleveld jo...@antarean.org: On Sunday 29 June 2014 22:48:32 Alexander Puchmayr wrote: Am Sonntag, 29. Juni 2014, 20:41:55 schrieb Neil Bothwick: On Sun, 29 Jun 2014 21:34:07 +0200, Alexander Puchmayr wrote: After upgrading my server to latest stable release of gentoo, none of my clients is able to mount any nfs share from the server anymore. [snip] Server has kernel version 3.12.21-gentoo-r1and net-fs/nfs-utils-1.2.9 installed. As both clients and server are not accessable from outside, no firewalls are installed. That's not the latest nfs-utils in stable, it is 1.2.9-r3. This morning it was masked; OK, emerge --sync emerge nfs-utils. After restarting all nfs relevant services it is still the same :-( Just to confirm, did you update nfs-utils on both systems? -- Joost !DSPAM:506,53b10f55576434764113543!
Re: [gentoo-user] [Way OT] Tally ho!
On Monday 30 June 2014 11:37:02 Joost Roeleveld wrote: On Monday 30 June 2014 10:22:42 Peter Humphrey wrote: ---8 I'll stop now. Don't stop on my account ;) OK, so shall we start discussing the difference between a clock and a timepiece? Maybe better not... -- Regards Peter
Re: [gentoo-user] [Less OT] Tally ho! - RC Flight Sims on Linux
Joost Roeleveld wrote: On Monday 30 June 2014 05:23:31 Dale wrote: Alan McKinnon wrote: On 30/06/2014 09:40, microcai wrote: X-plane ? wine? Sorry, I don't drink. ROFL What about the alcohol free version? Also known as grape juice... On occasion. Some times apple juice, tomato juice. lol This thread is sort of funny. We need a good laugh every now and then. ;-) Dale :-) :-)
[gentoo-user] upgrading to systemd 214 a disaster
After upgrading to systemd 214, my system would not shut down using the shutdown command, it complained timeout while opening/writing /dev/initctl . The power button shut it down, but it would not boot, the last line just said switch to clock source tsc and the system hung. Downgrading to 212 restored things. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] systemd warning kernel 3.10 required
On Sun, Jun 29, 2014 at 5:41 PM, Canek Peláez Valdés can...@gmail.com wrote: On Sun, Jun 29, 2014 at 3:43 PM, cov...@ccs.covici.com wrote: What is the significance of the warning when updating to systemd-214 that kernel 3.10 is required? I can't go to that now, what might break? The README from systemd still says that you need 3.8 [1] (3.0 without some features); also, in the mailing list there was some discussions about some stuff being fixed so 3.8 remained the lower bound. sources.g.o seems to be down, so I can't see the ebuild, but I don't know of any strong reason to demand 3.10. I think they were waiting for the kdbus kernel inclusion to depend on it. systemd-214 fails to build with linux-headers-3.10. Upstream claims to support earlier kernels, but has been rather bad about testing them.
Re: [gentoo-user] mount.nfs stale nfs handle [SOLVED]
Am Sonntag, 29. Juni 2014, 21:34:07 schrieb Alexander Puchmayr: Hi there, After upgrading my server to latest stable release of gentoo, none of my clients is able to mount any nfs share from the server anymore. Symptoms: $ mount -v -t nfs poseidon:/datadisk/ /mnt/gentoo/ mount.nfs: timeout set for Sun Jun 29 19:33:40 2014 mount.nfs: trying text-based options 'vers=4,addr=192.168.1.6,clientaddr=192.168.1.2' mount.nfs: mount(2): Protocol not supported mount.nfs: trying text-based options 'addr=192.168.1.6' mount.nfs: prog 13, trying vers=3, prot=6 mount.nfs: trying 192.168.1.6 prog 13 vers 3 prot TCP port 2049 mount.nfs: prog 15, trying vers=3, prot=17 mount.nfs: trying 192.168.1.6 prog 15 vers 3 prot UDP port 60058 mount.nfs: mount(2): Stale NFS file handle mount.nfs: trying text-based options 'vers=4,addr=192.168.1.6,clientaddr=192.168.1.2' mount.nfs: mount(2): Protocol not supported mount.nfs: trying text-based options 'addr=192.168.1.6' mount.nfs: prog 13, trying vers=3, prot=6 mount.nfs: trying 192.168.1.6 prog 13 vers 3 prot TCP port 2049 mount.nfs: prog 15, trying vers=3, prot=17 mount.nfs: trying 192.168.1.6 prog 15 vers 3 prot UDP port 60058 mount.nfs: mount(2): Stale NFS file handle [...] mount.nfs: Connection timed out $ [...] The important hint I finally found after searching for hours: http://www.mmacleod.ca/blog/2014/02/nfs-exports-and-xfss-inode64-mount-option/ Thanks to the guy who wrote it! The key is that * I'm exporting more than one different (sub-)directories on the same filesystem * For some reason it gets confused with the uuid/fsid; Can't find the page where I found that anymore :-( * the actual device the exported filesystem resides on is /dev/md127 and not /dev/md0 as I originally wanted. Since I did not regard the number, I ignored this fact, but I also found hints that this might cause the problem of the previous point. The suggested solution was to add a *unique* fsid=xx entry to the exports file for each directory exported, so that it looks like: /etc/exports: /datadisk/music 192.168.1.0/24(rw,no_subtree_check,fsid=1) /datadisk/video 192.168.1.0/24(rw,no_subtree_check,fsid=2) /datadisk/backup192.168.1.0/24(ro,no_subtree_check,fsid=3) ... If the same fsid is used more than once then the first directory with this fsid will be mounted! So using *different* fsids for each exported directory is essential!!! So, my NFS works now as it should! Thanks to all who spent a thought on it! Alex
Re: [gentoo-user] Re: Re: Re: OT: Mapping random numbers (PRNG)
On Sun, Jun 29, 2014 at 02:38:51PM +0200, Kai Krakow wrote: Matti Nykyri matti.nyk...@iki.fi schrieb: That is why the possibility for 0 and 1 (after modulo 62) is twice as large compared to all other values (2-61). Ah, now I get it. By definition random means that the probability for every value should be the same. So if you have 62 options and even distribution of probability the probability for each of them is 1/62. Still, the increased probability for single elements should hit different elements each time. So for large sets it will distribute - however, I now get why it's not completely random by definition. Usually when you need random data the quality needs to be good! Key, passwords etc. For example if an attacker knows that your random number generator same or the next index with double probability, he will most likely crack each character with half the tries. So for each character in your password the time is split in half. Again 8 character password becomes 2^8 times easier to break compared to truely random data. This is just an example though. Try counting how of often new_index = index and new_index = (index + 1) % 62 and new_index = (index + 2) % 62. With your algorithm the last one should be significantly less then the first two in large sample. I will try that. It looks like a good approach. Ok. I wrote a little library that takes random data and mathematically accurately splits it into wanted data. It is attached to the mail. You only need to specify the random source and the maximum number you wish to see in your set. So with 5 you get everything from 0 to 5 (in total of 6 elements). The library takes care of buffering. And most importantly keeps probabilities equal :) -- -Matti VERSION=v0.1 prefix=/usr/local CC=$(CROSS_COMPILE)g++ LD=$(CROSS_COMPILE)ld SYS=posix DEF=-DRNG_VERSION=\$(VERSION)\ OPT=-O2 XCFLAGS=-fPIC -DPIC -march=nocona #XCFLAGS=-fPIC -DPIC -DDEBUG -march=nocona XLDFLAGS=$(XCFLAGS) -Wl,--as-needed -Wl,-O1 -Wl,-soname=librng.so CPPFLAGS=-Wall -std=gnu++98 $(XCFLAGS) $(INC) $(DEF) $(OPT) LDFLAGS=-Wall -shared $(XLDFLAGS) TESTLDFLAGS=-Wall #TESTLDFLAGS=-Wall -lrng bindir=$(prefix)/bin libdir=$(prefix)/lib BINDIR=$(DESTDIR)$(bindir) LIBDIR=$(DESTDIR)$(libdir) SLIBS=$(LIBS) EXT=$(EXT_$(SYS)) LIBS=librng.so all: $(LIBS) rng install:$(LIBS) -mkdir -p $(BINDIR) $(LIBDIR) cp rng$(EXT) $(BINDIR) clean: rm -f *.o *.so rng$(EXT) rng: rng.o $(CC) $(TESTLDFLAGS) -o $@$(EXT) $@.o librng.o rng.o: rng.cpp librng.so: librng.o $(CC) $(LDFLAGS) -o $@$(EXT) librng.o librng.o: librng.cpp //#define BUFFER_SIZE 4096 //64 bits is 8 bytes: number of uint64_t in buffer //#define NUM_SETS (4096 / 8) //#define NUM_BITS 64 #include inttypes.h struct BinaryData { uint64_t data; int8_t bits; }; class BitContainer { public: BitContainer(); ~BitContainer(); bool has(int8_t bits); uint64_t get(int8_t bits); int8_t set(uint64_t data, int8_t bits); void fill(uint64_t *data); static void cpy(struct BinaryData *dest, struct BinaryData *src, int8_t bits); private: void xfer(); static void added(int8_t stored, int8_t bits); struct BinaryData pri; struct BinaryData sec; }; class Rng { public: Rng(char* device, uint64_t max); ~Rng(); const uint64_t setMax(const uint64_t max); uint64_t getMax(); int setDevice(const char* device); uint64_t getRnd(); static uint64_t getMask(int8_t bits); static int8_t calculateBits(uint64_t level); private: void fillBuffer(); void readBuffer(); void getBits(uint64_t *data, int8_t *avail, uint64_t *out); void saveBits(uint64_t save); void processBits(uint64_t max, uint64_t level, uint64_t data); void error(const char* str); int iRndFD; size_t lCursor; size_t lBuffer; uint64_t* pStart; uint64_t* pNext; uint64_t* pEnd; BitContainer sRnd; uint64_t lMax; uint64_t lOutMask; int8_t cOutBits; };#include fcntl.h #include unistd.h #include sys/mman.h #include librng.h #ifdef DEBUG #include stdio.h #include stdlib.h long* results = 0; long* results2 = 0; unsigned long dMax = 0; int pushed[64]; long readData = 0; long readBuff = 0; long readBits = 0; long validBits = 0; long bitsPushed = 0; long readExtra = 0; int bits = 0; unsigned long totalBits = 0; unsigned long used = 0; unsigned long wasted = 0; unsigned long power(int exp) { unsigned long x = 1; for (int i = 0; i exp; i++) x *= 2; return x; } void dump_results() { fprintf(stderr, Rounds for each number:\n); for (unsigned long i = 0; i dMax; i++) fprintf(stderr, %li = %li\t, i, results[i]); fprintf(stderr, \n); fprintf(stderr, Rounds for each initial number:\n); for (unsigned long i = 0; i power(bits); i++) fprintf(stderr, %li = %li\t, i, results2[i]); fprintf(stderr, \n); fprintf(stderr, Rounds for extra bits: total pushed: \t%li\n,
Re: [gentoo-user] smartctrl drive error @60%
On Sunday 29 Jun 2014 13:05:04 Rich Freeman wrote: On Sun, Jun 29, 2014 at 12:44 AM, Dale rdalek1...@gmail.com wrote: What if I copied data to the drive until it was just about full. I'm thinking like maybe 90 or 95% or so. If I do that and run the test every few days, would it then catch a error after a few weeks or so of testing? I realize no one knows with 100% certainty... As you already said, nobody knows with 100% certainty. In the failures I've experienced I'd expect it to start catching errors within a few days. However, on those drives the relocated sector count never increases, which suggests that the firmware never relocated those sectors when overwritten, which seems brain-dead to me. If the drive relocates the sectors, then conceivably it could go quite a long time until having errors, probably in an entirely different set of sectors. Even if it doesn't relocate, the reliability of the bad sectors could be high or low. Rich What triggers a relocation? I also have a drive which shows a sector relocation pending, but for a few days now and after some tests that showed no errors, it won't relocate it. -- Regards, Mick signature.asc Description: This is a digitally signed message part.