anyone is using ColiNux ? (cooperative linux on Windows) - Page 1
Forum section: electronics / general

author: legacy
author_rank: Super Contributor
timestamp: March 24, 2016, 12:00:12 pm
content: CoLinux, it works great on XP/32bit, but …anyone is using it? if so, which is your feedback?

author: amspire
author_rank: Super Contributor
timestamp: March 24, 2016, 12:15:08 pm
content: I was thinking of using it, but it a very old distro (last stable 2011) and to use it, you would have to recompile things like OpenSSH because any version from 2011 will probably be insecure. The 2.6 kernel is incredibly stable, but you loose out on many of the enhancements since like btrfs filesystem support. Support for containers is becoming huge, and for that, you really need kernel 3.10 or later.It would be OK if you just need to do fairly straight forward stuff, but you can probably do the same with Cygwin running within the Windows OS.Cygwin is great because you can take something like rsync from it, just find its dependant libraries and copy them out to the same folder and you now have a portable full linux compatible version of rsync that runs solidly on Windows. There is a way to quickly find the dependencies - forgot how for now.There is also MSYS which is a fork of Cygwin that is compiled with Microsoft compilers and libraries, and Gow is an interesting very lightweight alternative.Otherwise, I just go straight for a Virtual Machine and install any Linux I want.Richard

author: legacy
author_rank: Super Contributor
timestamp: March 24, 2016, 03:36:17 pm
content: Quote from: amspire on March 24, 2016, 12:15:08 pmthat is pointless, especially if the machine needs to be used locallyQuote from: amspire on March 24, 2016, 12:15:08 pmthat is pointless, since you you only need to access the NTFS or FAT volume for shared project and documents, and keeps linux-specific things under EXT3Quote from: amspire on March 24, 2016, 12:15:08 pmCygwin is slower by 10 orders of magnitude

author: tggzzz
author_rank: Super Contributor
timestamp: March 24, 2016, 03:51:10 pm
content: Quote from: legacy on March 24, 2016, 12:00:12 pmDoesn't that just mean you get all the disadvantages of the Windows "kernel"?What is the keybenefityou expect to get from running this, and isn't there a better or more conventional way of getting that benefit?

author: 3db
author_rank: Frequent Contributor
timestamp: March 24, 2016, 03:52:30 pm
content: Quote from: legacy on March 24, 2016, 12:00:12 pmChanging from Win7/64 bit to Win XP in order to run this, Pointless !!

author: amspire
author_rank: Super Contributor
timestamp: March 24, 2016, 04:00:24 pm
content: Bit of a pointless response. Are you actually going to say what isn't pointless, or are we meant to guess?

author: tszaboo
author_rank: Super Contributor
timestamp: March 24, 2016, 04:10:49 pm
content: Nope. I have a fast enought computer at work, and a bunch of servers at my disposal, and I would not run linux at home. I also dont stick nails into my hand or other self harming btw.

author: legacy
author_rank: Super Contributor
timestamp: March 24, 2016, 05:25:18 pm
content: Quote from: 3db on March 24, 2016, 03:52:30 pmhere I am non Windows/XP/32bitsince I have to support software designed for XP

author: legacy
author_rank: Super Contributor
timestamp: March 24, 2016, 05:31:16 pm
content: Quote from: tggzzz on March 24, 2016, 03:51:10 pmit can help, a lot, when you need to integrate applications that are designed for Windowsin my case I do not like the "ghdl" port, instead I prefer to use the linux native softwarebut I need to integrate ISE v10.1 with ghdl, thus …ISE v10.1 is installed on Windows XP, while ghdl is installed inside Colinuxand they share the whole partition D: over a special module called "cofs"and I can also share the COM1 portI am designing a debug-processor, which needs to talk with a linux machine over the serial linewhile on Windows I need to run a special software that collects informations and shows me reportsI opened this topic with the Hope that people talks about defects/solutionse.g. the TAP has defectse.g. sharing the COM is not documentedtalking about BTRF, or OpenSSH is like talking about bullshit, since in this case you'd better use VirtualBox, or a real machine

author: legacy
author_rank: Super Contributor
timestamp: March 24, 2016, 05:38:17 pm
content: Quote from: legacy on March 24, 2016, 05:31:16 pmI had forgotten to say: I use MobaXterm as Windows X11 terminal, it's a good matchISE v10.1 comes with a linux port, which works great, thus it's not the best examplebut I have a lot to HDL tools that I use on Windows, and they do not have a linux portCoLinux is not a virtual machine, that is the point, it's good if you need to integratesince Virtual Box is … not comfortable for these kind of things

author: amspire
author_rank: Super Contributor
timestamp: March 24, 2016, 11:36:50 pm
content: Quote from: legacy on March 24, 2016, 05:31:16 pmLegacy, here is your original post that I replied to:QuoteYou are furious with me because I didn't guess from these two lines that you are using ghdl on Linux, ISE on Windows XP, that you are sharing the D partition, and that you are sharing COM1. I am sorry if that makes me stupid. You were mad at me for mentioning SSH, but you admit to using a terminal. SSH just means you can get the same terminal windows on your XP machine, or from your mobile phone while you are on a bus. If you are doing slow simulations, it may be handy to be able to check in from anywhere. There is a lot of hidden power built into SSH that basic terminals do not have.I know - you will get mad again because you don't use buses.If you are into VHDL development, then you are an interesting and worthwhile person to talk to, and if you be a bit more helpful, you probably could help others trying to go down the same track.I would guess that you would prefer not to have to use Windows XP and a 32 bit 4G RAM environment. It could be that some of your old software only runs on Windows XP, but it is a pity if that forces you to use XP all the time.Probably the big sticking point is the use of a shared COM1. That is just not a portable way to communicate between applications. Once you get the hang of it, rewriting your code to use the TCP stack is better, faster and totally portable. I really do understand that there may be some whacky issue that has forced you to use COM1 as the only solution.If there is a way around the COM1 port issue, your options open right up. Virtualbox VM's can share folders on the Windows system. Docker containers can share folders too. Someone actually made a ghdl Docker container, and if you install docker for windows, you can get it from Dockerhub with a single simple command line in a few minutes. This ghdl container has little documentation and the readme is in a foreign language. Maybe useable, but if it turns out that docker is a good solution for you, you can always set up your own ghdl container, save it to dockerhub, and then anyone else here can get the benefit of your setup of ghdl on almost any platform with a single command line. Don't want to learn Docker - fine.I have some legacy apps that need XP, so I have XP as virtual machines on Virtualbox and KXM. Virtualbox can run headless, so you can just have a desktop icon that can immediately launch an XP window. It is pretty good. If you really strip XP down, you can get XP by itself using about 250Meg RAM and the VM can boot very fast on a modern fast 64bit PC.Just suggestions.

author: Macbeth
author_rank: Super Contributor
timestamp: March 25, 2016, 12:48:42 am
content: Out of all the Windows X-Server clients, I've found Cygwin/X by far the best. Of course this means you also get the advantage of running linux on Windows too, and can compile stuff with gcc, etc. I also add the path toC:\cygwin64\binto my Windows command shell path, so I don't have to keep changinglstodirall the time! Being able to use stuff likegrepis great as well.There is always Windows PowerShell I guess, but why bother learning something so obscure as that?(and I am a Microsoft Certified Solution Developer)

author: Bruce Abbott
author_rank: Frequent Contributor
timestamp: March 25, 2016, 03:41:01 am
content: Quote from: NANDBlog on March 24, 2016, 04:10:49 pmI installed Linux on a spare PC, for running all those wonderful programs you can't get on Windows. It hasn't been turned on in over year. Running Linux at all - pointless!!

author: Monkeh
author_rank: Super Contributor
timestamp: March 25, 2016, 04:04:10 am
content: Quote from: NANDBlog on March 24, 2016, 04:10:49 pmQuote from: Bruce Abbott on March 25, 2016, 03:41:01 amCrazy concept: Not everyone uses a computer the same way you do.

author: tggzzz
author_rank: Super Contributor
timestamp: March 25, 2016, 08:08:02 am
content: Quote from: Bruce Abbott on March 25, 2016, 03:41:01 amQuite right.Who in their right mind would forego the pleasure of finding out which antivirus package is goodthis year, and of having to rebuild your machine because the manufacturer's update borked it.

author: Armxnian
author_rank: Regular Contributor
timestamp: March 25, 2016, 09:15:17 am
content: Quote from: tggzzz on March 25, 2016, 08:08:02 amAnother advantage of using Windows is that you don't have to backup your data, because it's saved daily on NSA servers.

author: SeanB
author_rank: Super Contributor
timestamp: March 25, 2016, 10:58:59 am
content: Quote from: Armxnian on March 25, 2016, 09:15:17 amGetting it might require a trip not to UTAH, but to a small undisclosed island, where you have to provide the entertainment to the guards, which mostly consists of them doing "enhanced enquiry" on you.

author: Flenser
author_rank: Regular Contributor
timestamp: March 25, 2016, 01:26:05 pm
content: I used colinux a few years ago when it was still actively being updated.- installed the current version of centos at that time. A server install with no GUI.- installed Oracle- did some development work on the support/management scripts we use in our Oracle environment- all at the command line- all on a (relatively) slow laptopI struck no issues while I used it, but then I was doing a simple ssh login using putty and just running Oracle and my scripts using the command line. Not using networking, USB or serial so no comments on how robust these were.I really liked the elegance of colinux. The Linux kernel is a windows exe that runs as a windows process and there is little, or no, overhead as the linux binaries are x86 and are run with no change. I can't comment on what the overhead might be to trap any privileged x86 commands that the Linux binaries are not permitted to run.I stopped using it with my move to 64 bit Win7 on my laptop(s). There was a move to do an 64 bit port of colinux but it never happened.If you are after a low overhead way to run linux on a laptop, you have the right 32-bit Win OS installed and you can live with the older version colinux linux kernel then give it a try. You are stuck with the limitations.- Colinux has no multiprocessor support but this wasn't as issue for me. My laptops only have 2 cores and I'm happy having colinux resticted to just one core because this means that the win host OS can always get at least 50% of the CPU.- On a 32 bit OS your host windows OS and the colinux OS have to share the max ~= 3.75 GB that is available under 32 bit windowsWith more powerful laptops now I use virtualbox to run linux+oracle, when I need to.- My understanding is that the QEMU emulator originally interpreted the client instructions, even when running an x86 client on an x86 host, but that they have changed this to now run x86 clients natively where that is possible.- Runs on 64 bit Win7, which is a bit plus. You can use more than 4GB of memory, if you have it installed.- Multicore support- and I think that there are more options in the networking support, which is useful if you want to run mutiple linux instances and need to virtualize a physical network setup

author: nctnico
author_rank: Super Contributor
timestamp: March 25, 2016, 02:06:00 pm
content: I don't really see the advantage over having a virtual machine (Virtualbox is free). It is easy to share files by mapping a network drive.

author: legacy
author_rank: Super Contributor
timestamp: March 25, 2016, 02:59:09 pm
content: Quote from: nctnico on March 25, 2016, 02:06:00 pmthat is the problem I had here, sharing file by mapping a network drive, in short SAMBAthere are a few software on Windows which do not like to have to deal with a network drivethey want a physical device (NTFS, or FAT32)VirtualBox is better than ColiNux in a few things: e.g. ColiNux uses a UserModeLinux approachwhich is cooperative, which introduces a lot of delays in threads, especially if used for networkingwhile VirtualBox gets scheduled by the Windows-kernel as virtual machine, so the linux kernel runs with its native deadlinewhich makes it more reactive on socket eventsunfortunately VirtualBox has a lot of troubles in mapping USB-Uart and native-Uarthere it makes me to struggle a lot, while ColiNux has no problem with thatin short, I am going to install both of them

author: legacy
author_rank: Super Contributor
timestamp: March 25, 2016, 03:08:39 pm
content: ColiNux box:kernel 2.6.26, with its original support for cofs, and taprootfs, gentoo-x86/i586, recompiled and optimized from stage1 (by catalyst)Windows support:mobaXterm, x11 supportGeany/WinPort, projects IDEGTKwave/WinPort, GHDL visualizerI am using the above WinPorts, because running the same native applications inside ColiNux(ofcourse, exporting the DISPLAY over mabaXterm X11) comes with too annoying delayeverything else (compilers, gcc, gnat, gdhl, etc, including text based application) is working fine.

author: nctnico
author_rank: Super Contributor
timestamp: March 25, 2016, 03:17:20 pm
content: Quote from: legacy on March 25, 2016, 02:59:09 pmIf you map a drive letter those problems are gone.

author: legacy
author_rank: Super Contributor
timestamp: March 25, 2016, 03:32:00 pm
content: Quote from: nctnico on March 25, 2016, 03:17:20 pmalready tried, it didn't help

author: suicidaleggroll
author_rank: Super Contributor
timestamp: March 25, 2016, 04:48:02 pm
content: Quote from: legacy on March 25, 2016, 03:32:00 pmYou can also go the other direction and share one of the host directories with the guest using the virtualization tools. No network overhead involved and it's just a regular path on the local drive on the Windows side.

author: suicidaleggroll
author_rank: Super Contributor
timestamp: March 25, 2016, 04:49:04 pm
content: Quote from: Bruce Abbott on March 25, 2016, 03:41:01 amFunny, I have a Windows system I could say the exact same thing about.

author: Sal Ammoniac
author_rank: Super Contributor
timestamp: March 25, 2016, 04:56:53 pm
content: The Windows app that has no counterpart on Linux: Photoshop. (And, no, the Gimp doesn't count--that's like comparing a broken down Yugo to a Ferrari).

author: legacy
author_rank: Super Contributor
timestamp: March 25, 2016, 05:56:40 pm
content: here it is a snap-shoot

author: legacy
author_rank: Super Contributor
timestamp: March 25, 2016, 06:13:00 pm
content: Quote from: Sal Ammoniac on March 25, 2016, 04:56:53 pmin my caseOrCadProtelAltiumTinaNI designDSP++StudioucVisionCodeWarriorAlso I prefer to useUnderstand(byScitools) onWindows, even if I need to "import" project's files fromCoLinux

author: hendorog
author_rank: Super Contributor
timestamp: March 30, 2016, 08:53:52 pm
content: Suddenly and magically the game changed:http://www.zdnet.com/article/microsoft-and-canonical-partner-to-bring-ubuntu-to-windows-10/This would have been an April 1 story a few years back.