rss2
Alessio Ababilov's Blog
aababilov.wordpress.com · English
A blog about IT, clouds, and my favourite Linux
rss2 wordpress content media slash wfw atom dc sy
https://aababilov.wordpress.com/feed/
- Last post
- Sep 8, 2013
- Posts in 24 h · 7 days · 30 days
- 0 · 0 · 0
- Our last check
- Answering
- Served from
- United States
- Text score at discovery
- 3,565
- Format
- rss2
- Features in the feed
- content, media, slash, wfw, atom, dc, sy
- Community
- wordpress
Posts
What our queue read from this feed. Open one to read it here, or go to the site that published it.
- Chromium OS on HP Mini: xf86-video-modesetting
Sep 8, 2013 · original
When I was choosing my netbook, I knew that I will install Linux on it, so, I put attention on its hardware. Having noticed that it has an Intel videocard, I though that it’s perfectly supported by xf86-video-intel driver. Au contraire! The netbook had an Intel Graphics Media Accelerator 3600 without native Linux drivers. So, I used VESA driver on Gentoo (oops!). People, be extremely careful when you choose hardware. Remember that even a good vendor can have badly supported series. Anyway, distros like Ubuntu and Fedora chosen xf86-video-modesetting driver with quite satisfying video quality. My experimental Chromium OS had no xf86-video-modesetting driver, therefore it used VESA with its pale colors. It’s not a big deal to build the driver manually. First, we get Chromium OS source code . Second, we enter chromium chroot environment on the development notebook. alessio@toshiba ~/chromiu - Get Rid of ConsoleKit in Gentoo
Aug 9, 2013 · original
Today, I have updated my Gentoo box. The only problem I faced was broken Network Manager applet (nm-applet): no connections are shown at all; often, nm-applet is not present in the notification area; wired connection is established but WiFi is not even if I remove my patch cord. I saw errors very close to http://forum.fedoraonline.it/viewtopic.php?id=18285 : $ nm-applet ** (nm-applet:4022): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: Method "GetAll" with signature "s" on interface "org.freedesktop.DBus.Properties" doesn't exist ** Message: applet now removed from the notification area ** Message: applet now embedded in the notification area ** (nm-applet:4022): WARNING **: fetch_connections_done: error fetching connections: (19) Method "ListConnections" with signature "" on interface "org.freedesktop.NetworkManager.Settings" doesn't exist ** (nm-applet:4022 - /usr Merge in Gentoo
Jul 17, 2013 · original
The Linux world is changing! Traditional split between /usr and / directories is given up by several distros, including Fedora and Arch. There is a comprehensive article that explains the benefits from this merge. I would like to quote Lennart Poettering here: The separation between minimal boot system in / and full system in /usr is obsoleted by initrd in a way: the new minimal boot system is the initrd. Stacking multiple levels of “minimal boot system”, one after the other is a stupid game. So let’s stick to the one we really need which is initrd, and forget about the one that we don’t need anymore, and is broken since ages. having all static, distro-specific, sharable OS in a single dir makes snapshots of the OS independetly of its state and configuration truly atomic. In a btrfs world doing 5 snapshots of /lib, /lib64, /bin, /sbin and /usr instead of just one is not atomic, and hence - Setup Windows XP virtio
Jul 10, 2013 · original
Get a floppy with drivers: $ wget http://www.linux-kvm.com/sites/default/files/viostor-31-03-2010-floppy.img I will describe two alternative methods for setting virtio in WinXP. Setup during WinXP installation Instruction is based on http://www.linux-kvm.com/content/block-driver-updates-install-drivers-during-windows-installation . Create an image. $ qemu-img create -f qcow2 winxp.qcow2 Run installation (assuming that your Win Install ISO is winxp.iso) $ kvm -boot d -cdrom winxp.iso -drive file=winxp.qcow2,if=virtio -fda viostor-31-03-2010-floppy.img -m 1200 Note. According to the original article, drive should be given with “boot=on” like this: $ kvm -boot d -cdrom winxp.iso -drive file=winxp.qcow2,if=virtio,boot=on -fda viostor-31-03-2010-floppy.img -m 1200 When I used this option, I had an error “Raw or indistinguishable disks” and installation failed. However, without “boot=on” I cou - Prepare Clean GNU/Linux Images
Jul 10, 2013 · original
Retrieve an installation disk, e.g. Centos 6.4: $ wget http://mirror.corbina.net/pub/Linux/centos/6.4/isos/x86_64/CentOS-6.4-x86_64-minimal.iso Create an empty image: $ IMG_NAME=centos-6.4-i386 $ qemu-img create -f qcow2 ${IMG_NAME}.qcow2 12G Boot with kvm. Note that you should mention virtio for best performance. Replace the latter :50 for VNC with any free VNC display number: $ qemu-kvm -drive file=${IMG_NAME}.qcow2,if=virtio -net nic -net user -cdrom CentOS-6.4-x86_64-minimal.iso -m 1G -boot d -vnc 0.0.0.0:50 To see busy VNC display numbers you can run: $ ps aux | grep vnc | sed -r 's/.*vnc [0-9.]+:([0-9]+).*/\1/' | sort -n If you are running the instance on remote computer, use a VNC client such as Vinagre and connect to it. Follow installation instructions. Create single partition and do not pay attention to “no swap partition” complains. That’s better to configure network during in - Chromium OS on HP Mini
Jun 26, 2013 · original
As it was before, the latest weekend was very hard for my netbook. I told in my previous article that I have installed three Linuxes: Fedora, Ubuntu, and Gentoo, while the latter was considered as a bad choice for a netbook. That’s why I was waiting for a new candidate for a netbook OS. I looked over an article about Chrome OS and found out that it uses Portage for package build and management. As a proud Gentooer, I could not pass by As Larry Wall said, The three chief virtues of a programmer are: Laziness, Impatience and Hubris However, impatience was my enemy this time. I started from the famous Hexxeh’s site , downloaded an image for LiveUSB and tried to boot immediately. I saw the first Chromium OS dialog (choose your language and network) and the netbook rebooted. After reboot, I saw a message on black screen: “An unsupported wireless hardware detected”. Well, I tried to boot with - Fedora Says: “no shell: permission denied”
Jun 4, 2013 · original
This weekend was very hard for my netbook. I installed three Linuxes on it: Gentoo because I love it; Ubuntu because it has good support for hardware out of the box and contains recent software; Fedora because I want to investigate how it configures systemd . Well, Gentoo was a bad choice for a netbook. I compile software during two days and still about 100 packages remain. Really, I don’t want something extraordinary: I just install XFCE and teTeX. Firstly, I had three partitions (one home and two root partitions for Linuxes), but when I decided to install three distros, I preferred to archive my Gentoo and Fedora, partition the disk, and unpack two distros while Ubuntu was installed using chroot . As you see, the way how I install Linux is quite unusual That’s nice that GRUB2 generates its config basing on installed distros. There are some problems, however. grub2-mkconfig generates a - How Many C++ Keywords Can Be Used in Succession?
May 16, 2013 · original
Once I was listening to a boring lecture about sorting algorithms. The lecture was boring not only for me but also for all my neighbors. We were pupils who take part in programming contests. We did not need to listen to something we know for years. To stop wasting time, I started writing all C++ keywords on a sheet of paper. Well, that wasn’t far more interesting than the lecture, so, I wondered: how many C++ keywords is succession can be a part of a valid C++ program? I started from a simple unsigned long int and ended with this code. It contains a fragment of 33 different keywords that are separated only with spaces and punctuation. class T /* ignore this line: `class' is followed by `T' which is not a keyword */ { private: protected: public: inline void* operator new(unsigned int) { if (sizeof( unsigned((const wchar_t) (short( (reinterpret_castlong*(static_castsigned char(true) )))))) - Area of a Polygon: the Most Comic Code I’ve Ever Seen
May 14, 2013 · original
When I was a freshman, I took part in a programming contest for students. One task was quite typical: a text file contains vertices of a polygon; the program must print its area. Input format: 0 or 1 (clockwise or counterclockwise) x1 y1 x2 y2 ... xN yN Output format is a big tricky: the result must rounded without round half to even rule and must be like 4E+1 but not 4E+01 , so, one cannot simply do printf("%lf", result); . The solution of task’s author was the most comic code of all codes I’ve ever seen. And it works! I will preserve the original Russian comments and give some my English explanation. //--------------------------------------------------------------------------- #include vcl.h /* Yep! We develop code in C++ Builder, so how could we live without Visial Component Library? */ #pragma hdrstop /* That's great that the C standard says that unknown pragmas must be ignored */ // - Bug#707076: [less] Debian Jessie loss “less”
May 8, 2013 · original
On May 4 2013, Debian Wheezy was released. I run root@alessio-hp:~# aptitude dist-upgrade and saw that less is removed! I tried unsuccessfully: root@alessio-hp:~# aptitude install less The following NEW packages will be installed: less 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/135 kB of archives. After unpacking 293 kB will be used. The following packages have unmet dependencies: man-db : Breaks: less ( 456) but 444-4 is to be installed. The following actions will resolve these dependencies: Keep the following packages at their current version: 1) less [Not Installed] Accept this solution? [Y/n/q/?] n *** No more solutions available *** Ok, man-db needs less = 456. Let’s download it and install manually. Start from http://packages.debian.org/sid/less and choose an appropriate URL: root@alessio-hp:~# wget http://ftp.us.debian.org/debian/pool/m
Discovered by the rss-feed-index crawler, which checks each feed at most once a month.
Same record as JSON: https://api.agentalog.com/api/feeds/fd_aababilov_wordpress_com_34b330d5968e7575. More from this site: aababilov.wordpress.com in the Feeds tab.