Stalled scp transfers due to OpenSSH regression

Recently, I started having troubles with transferring files to my servers via scp. Typically, I would just issue the scp command without any options at all (regarding rate limiting, et cetera). However, I started having a problem where it would only transfer small files–ones that were <50KB. Anything larger than that would start just fine, but the transfer would stop quite abruptly, and scp would report that it had stalled. I also saw this problem when trying to upload via sftp. However, using rsync to transfer the files would work without a problem. After digging around for quite some time, consulting multiple posts regarding the issue, and setting every option imaginable within scp, I had all but given up. I firstly eliminated that there was a problem with my local machine by trying from a couple other machines of mine. I secondly eliminated my home networking equipment by trying from another network, and via my mobile. At that point, I knew that the problem had to be with my server, or with one of the hops along the way (more likely the former than the latter). So, I investigated settings on my server, but there weren't many clues to utilise; nothing in /var/log/messages or /var/log/authlog. I started tcpdumps but couldn’t see any indication of WHY the problem was occurring; just that it WAS occurring.

Eventually I started looking through Gentoo’s bugtracker, and stumbled across bug #414401. Though the original bug wasn’t about an scp problem specifically, the first comment reflected the same issue that I was experiencing. It seems that the problem was related to a buggy HPN patch in the latest version of OpenSSH. I reverted to the previous patch and the problem was gone.

Oh the trials and tribulations of problem-solving in the software world. 😉 Hopefully this post will help someone solve a similar problem.

Cheers,
Zach

Madagascar 3: Europe’s Most Wanted review

This past weekend a friend and I went to see Madagascar 3 in the theatre. We both had had a rough week at work, and thought that a funny, completely fluff film might help take off the edge. Having seen the other two Madagascar flicks, I expected that this one would be filled with humour, edgy jokes that would be above the kids’ heads, and have some wit to boot. My expectations were, indeed, fulfilled throughout the course of the show.

Madagascar 3 circus afro

This latest piece in the Madagascar puzzle follows Alex, Marty, Gloria, and Melman as they try to get back to their home in the New York City zoo. This time, though, they end up in Europe (in search of the infamous penguins). After causing quite a hubbub in a casino in Monte Carlo, Captain Chantel DuBois–the Chief of Animal Control–is out to capture the gang… especially Alex. Whilst trying to outrun the police, the group runs into a travelling circus that could use a little assistance out of their rut. It just so happens that this circus is headed for London, and then New York City!

There were times during the film that I felt like I was trying to play catch-up; it was incredibly fast-paced, and seemed a little bit scattered. However, that type of sitcom-esque scene jumping might have been intentional in order to keep the attention of the intended audience–namely, children. Other than the slightly attention-deficit-inducing scene shifts, my only other qualm with the film was the unnerving sea lion named Stefano. While he had some quality lines that made me chuckle, his accent was obnoxious and continuously made me think about Jar Jar Binks from Star Wars: Episode I – The Phantom Menace. We certainly don’t need any reminders of that awful character.

I don’t want to give away any of the outstanding one-liners or the crux of the storyline, so I’ll leave you to see Madagascar 3: Europe’s Most Wanted for yourself. Coupling some AMAZING computer animation (especially during the circus performance scenes, which reminded me of Rainbow Road from Mario Kart 64), great humour, and even a touch of romance between King Julien and a tutu-clad, mute, giant bear make Madagascar 3 an outstanding addition to the series.

Madagascar 3 - King Julien and the tutu bear

7 / 10 for being just plain fun!

Filled starFilled starFilled starFilled starFilled starFilled starFilled starUnfilled starUnfilled starUnfilled star

Cheers,
Zach

T-Mobile SGS2 ICS update via Kies successful

Yesterday, I ran into a few problems when trying to update my SGS2 (SGH-T989) to Android 4.0.3 ICS. The problems were indeed related to having Window$ installed in a virtual machine. Both Windows 7 and Windows XP exhibited problems, though different ones, respectively. Today at work, I used my laptop (which has Windows 7 as the host OS) to install the updates via Samsung’s Kies application, and it went through without any major issues. The only problem that I had was that my work’s firewall wouldn’t allow for the download of the firmware. Luckily, I just used another phone as a mobile hotspot, and the upgrade was successful!

After I gave the problems of last evening some thought, it occurred to me that they were likely caused by the USB passthrough functionality of the Type II hypervisor. The operation could have required special privileges in terms of direct USB access on the host machine. As such, the sandboxed environment would likely reject such requests. However, it would have been nice for VirtualBox to have logged some type of error. However, I would imagine that the problem I experienced with the firmware upgrade is similar in nature to 1) not being able to directly access a GPU from within a guest OS, and 2) not being able to burn an audio CD from within a guest OS. Maybe one day these two operations will work, but until then, at least my SGS2 is running ICS.

Android Ice Cream Sandwich ICS

As for ICS, I do like it compared to Gingerbread, but I still don’t like the Samsung proprietary skin of TouchWiz (although it is better than HTC’s mess that is Sense UI). I greatly prefer AOSP ROMs, and especially CyanogenMod (although there is likely a personal bias involved). I’m sure that we’ll have CM9 sometime in the future; at least a completely functional “unofficial” port. Until then, I haven’t found an AOSP ROM of which I’m particularly fond, so the Samsung official 4.0.3 shall do. 🙂

Cheers,
Zach