Sunday, May 11, 2008
I am having a problem of my tiny Fonera router restart on me endlessly whenever I have two laptops with Azureus running connect to the network, so I started to investigate. I could not get any meaningful error messages from the router before it reboots and the only weird thing I could find in the statistics was the huge number of active connections. When I have one laptop with Skype running, Firefox browsing a few pages and Internet radio playing the number of active connections was around 200. Starting Liferea for RSS bumps that to 300. Nothing serious. However, as soon as I start Azureus (with no active downloads!) the number of active connections jumps by 400-500, starting one download adds another 300 connections. That is despite setting a maximum global limit of active connections to 100 in Azureus preferences. After 5-10 minutes the number of connections goes down to 500 (with one download active), but with two laptops with Azureus in the same wireless network the initial spike is high enough to kill the router in 2-3 minutes, force it to reboot and then do it all over again, and again, and again …
No I am thinking whether to spend around 50€ for another router or try to work with Azureus folks to try to fix this. 
Popularity: 27% [?]
Sunday, February 24, 2008
A few days ago I got myself an Asus EEEPC to experiment with it being in a role of a small server and a tiny internet kiosk. I installed Debian on it, but the process was not for the feint of heart, that’s for sure. First of all the d-i font was messed up and all the menus overflowed the screen making it very hard to select anything. Additionally it seems very strange to me that there was a special d-i image made for EEEPC, but that image did not include built-in support for the computers wired or wireless network interfaces. That made my day highly problematic as I do not have an easy way to get to the Internet via a wired connection and the provided d-i image did not have enough files on it to finish the base install without networking.
This again made me think that the approach Ubuntu took is more favorable in most situations - have the install image boot a mostly functional system (it does not have to be X even) and then install from there. It actually feels more flexible than using the highly restricted d-i environment.
I will be looking to make a Debian rescue image designed for the EEEPC that you could dd onto a USB key, boot from and have a minimal Debian system with working ethernet, wifi and some basic rescue tools and a way to install a basic Debian system as well. That should make it much easier for people to get Debian onto their EEE PCs. I do hope that the Debian EEEPC project will improve as well.
Popularity: 26% [?]
Thursday, February 7, 2008
I’ve been there before, but somehow I hoped that HP has come to its senses, so when my girlfriend got a HP Compaq 6715b laptop with a Broadcom wifi card that does not work with the open source driver and randomly crashes under load with ndiswrapper driver, I said - “well, I’ll just get an Intel mini-PCIe wifi card and plug it in”. I should have know better.
While there is no obvious impenetrable error message like on NX6110, the 6715b simply ignores any non-HP wireless cards. They do not show up in lspci and don’t even appear in Vista. I have all the latest drivers and latest BIOS.
I will look a bit for a workaround, possibly along the same lines as before (make a non-HP wifi card look like a HP wifi card), but I really must say - despite all the support for Debian HP has on the server side, I will have to recommend everyone I know to never, ever buy any HP laptops! By having an easy access latch to the WiFi slot they seem to embrace user choice, but in the confines of their BIOS they just cut through the heart of it by only allowing their own cards to be installed and used.
Note: it is possible that the card itself is non-functional, but given the previous experience and some similar messages on the forums about all kinds of other HP laptops .. I wouldn’t bet on that.
I would love to be proven wrong on this or shown a way to either make the non-HP IPW3945 card work or how to make the original Broadcom wifi card work in a stable manner. Currently it causes 4-8 hard lockups a day if the laptop is left acting as a bittorrent seed for a few thousand clients. Now i am just too tired to deal with this reasonably and should rather head for bed.
Popularity: 30% [?]
Thursday, January 31, 2008
I have this USB hard drive enclosure that can also share the files on the local network (LAN DRIVE HD9-U2LA, vendor id - 05e3:0702). Due to that it has an operating system and some other software inside. Unfortunately this software is rather slow to start and that cause the following kernel error when trying to mount this enclosure:
[90459.236000] usb 5-5: new high speed USB device using ehci_hcd and address 9
[90459.368000] usb 5-5: configuration #1 chosen from 1 choice
[90459.368000] scsi4 : SCSI emulation for USB Mass Storage devices
[90459.368000] usb-storage: device found at 9
[90459.368000] usb-storage: waiting for device to settle before scanning
[90464.368000] usb-storage: device scan complete
[90470.148000] usb 5-5: USB disconnect, address 9
[90470.148000] scsi 4:0:0:0: scsi: Device offlined - not ready after error recovery
The device is fine, it is just slow to start. To work around this bug you can change /sys/module/usb_storage/parameters/delay_use from a default 5 second delay to something larger. 15 seconds worked fine in my case.
echo 15 | sudo tee /sys/module/usb_storage/parameters/delay_use
Update:
To do that permanently, create a file in /etc/modprobe.d (with a name slow_storage for example) that contains such line:
options usb_storage delay_use=15
Popularity: 24% [?]
Wednesday, December 26, 2007

I have now gotten into baking bread at home and I like the result greatly.
The inspiration came from an anime Yakitate!! Japan! - a very funny anime about bread bakers with lots of parody on other anime and lots of over-the-top reactions to bread. It also has a lot of tips on baking your own bread which helps people get started. I have heard that ‘Yakitate!! Japan’ caused a bread baking mania in Japan on par with the Go mania from ‘Hikaru No Go’ (Off-side note: I wonder if making an anime about developing free software would turn people in Japan and all over the world to do it more?) I watched the anime a couple years back and promptly forgot about it, but now when I was thinking about what anime to show to my girlfriend it came back to me. After that we both decided that we need an oven to bake bread in, unfortunately the flat we are in has no oven, so we had to buy a free-standing one. After much research and deliberation and some good advice from my friends, I got us a Samsung CE1071AR microwave oven with grill and a convection oven function. It has been the best decision - cooking with this thing is easy and painless. It is large enough for one large loaf of bread or a bunch of cookies in two levels. It has a steam-based self-clean function and an automatic preheat function. It can do all the things that a microwave oven can do and also combine regular oven with microwaves. And best of all it also has a 40 degree setting in the convectional oven mode - that is perfect for raising bread right in the oven.
I am starting with the simplest bread recipes from The Fresh Loaf site tutorial section and in short order was able to produce some of the best tasting bread I ever had. You can see the result above. Now when my girlfriend and her sister decided to cook all kinds of stuff for Christmas I was not bored, but rather the opposite happened - I participated and had fun. Even more so - we are now watching the ‘Yakitate!! Japan’ anime, together with my girlfriend, looking for new tips for the cooking. I just might try to make a croissant next 
Popularity: 18% [?]
Monday, September 24, 2007
Unfortunately I will have to disconnect my FONera and buy a real WiFi router to replace it because that small box is a glitchy piece of crap compared to every other WiFi router out there.
The killer: if the LaFonera can not connect the FON authentication servers, then it thinks that there is no network available and does not let me use my Internet. There is even no way to force it to pass connections to outside which is required in many cases such as partial network failures (when you can not get to FON servers for some reason, but rest of the Internet works just fine) and for web signup pages that some ISP’s use to login users to their network. And you can not use another PC for that, because it records the MAC address.
The box frequently freezes and the DNS server stops responding. I can continue working by editing my local DNS server settings to the DNS of my ISP, but that is no way to work!
The damn thing has no idea about uPNP which is a must nowadays for peer-to-peer transactions.
And lastly there is absolutely no way for me to fix any of this because the FON keeps a tight lock on the firmware. In the time when all good software and community projects go to the open side, the FON moves further and further to the dark side and that is disturbing.
I consider this a permanent failure on FON’s part that negates my ability to hold my side of the Fonera promise.
It would be so much easier if I could ssh into the thing - ping stuff, traceroute stuff, put some kind of flag file to say that network in fact is there, release or refresh the DHCP lease or even restart the damn thing remotely. Nothing of this is available.
Popularity: 32% [?]
Friday, February 2, 2007
It is really a must have - my blog gets mentioned on the DWN for the first time and at the same time (or even a bit earlier) the electricity cuts to the building where my server is co-located. And it takes a couple of days for the local administrator to get from all that chaos to turning my server back on. Perfect timing :P.
Popularity: 42% [?]
Sunday, September 3, 2006
If you have a hard drive with two or more logical partitions in one extended partition and then proceed to erase the first of those logical partitions (in GParted), then you will soon discover that the number of the second logical partition changed (from sda6 to sda5 in my case). If you then try to create a partition in the free space and launch cfdisk, you will notice that there is no free space where it should have been. If you then manage to get to GParted and create a partition there, then do not relax, as your perils are not yet over. Upon reboot you will find that the logical partition that is in the beginning of the logical partition got a new number (sda7 in my case) and the your valuable second logical partition is still numbered wrongly (it was sda5 instead of expected sda6). Even more so, if you try to fix it with cfdisk, it bails out with a fatal error of overlapping extended partitions.
The fix is to start fdisk, press “x” for advanced operations and press “f” to reorder the partitions according to the order on disk (do not forget to enter “w” to write the changes). That fixed the problem. But I have no idea who to bug for this wonderful Mongolian Clusterf*ck of Partition Numbering.
And that is only a tiny preview of the immense fun I am having right now by trying out installations of Debian etch and Ubuntu edgy on my Dell M1710. If you want a stable desktop on this computer right now - use Ubuntu Dapper (with nvidia binary drivers). You will have much unneeded fun with IPW3945 wifi and the NVidia video card drivers otherwise.
Edit: fixed fstab -> fdisk. How silly of me 
Popularity: 42% [?]
Monday, August 21, 2006
I previously mentioned that my brand new Dell Inspiron XPS m1710 notebook broke down just a few weeks after I got it.
It took from Wednesday to Friday to arrange for pick-up n the notebook.
The DHL guy came to my house on Monday morning and picked my laptop up. He said that the official line on these is that I will get it back in a week, but usually they get them back in a couple of days.
On Tuesday I received an SMS saying that my laptop has arrived to repair centre and then another saying that it has proceeded to repair. Nothing happened on Wednesday but on Thursday I received another SMS, again saying that it proceeded to repair. On Friday I finally called back on the XPS support line and got an answer that my laptop is fixed and currently is being tested and that I will most probably get it back on Monday as Dell does not use the delivery option to deliver on Saturdays.
And finally today at 11.00 in the morning a DHL courier knocked on my door with my notebook in hand. There was a note in the package saying that the CPU has been replaced.
All in all - 10.5 days from first report until the laptop is fixed. I assume that is the worst case scenario. The techs on the phone were competent, but did not have the information about what I went trough in their online diagnostics wizard and did not have the information about emails that I sent them. One tech answered me on the phone, but another answered my email. There could be more integration there. Also I could not find any way to see more details about the progress of the repairs on Dell website - that should be easy to provide.
In an ideal world, in cases when it is clear that the problem is in hardware, but not in the hard drive, it would be great if Dell could provide a temporary replacement laptop for the time of repair and put the hard drive of my existing laptop into the temporary replacement notebook, so that I an contiue working like nothing happened. It might not be the same spec, but it must be easy to swap the hard drive in, so I suppose that means that the same model is required.
Note: just as I was starting to write this post, a Dell Customer Advocate commented on my previous blog post. They sure deserve some plus points for that
Popularity: 31% [?]
Sunday, August 20, 2006
Reasons:
* more testing for the new restore backend and of the purge function are needed to ensure that they work as expected in all expected situations;
* I need more time to review a last minute patch to add autotools support to SBackup and decide if I want that or not;
* My primary notebook is coming back from Dell Service tomorrow and I need it to test the upgrading of the package in Debian (and not just Ubuntu that I have on my old/secondary notebook).
So, translators, you still have time - go here or here to translate. Also beta testers might venture ahead and check out the SVN trunk version. There still might be some bugs lurking there, however, so YMMV.
Popularity: 42% [?]