Home Blog Page 2822

Toshiba debuts Android-powered Folio 100 tablet

The tablet will cost 399 to 499 euros in Europe when it goes on sale later this year. Here’s a hands-on look at it and Toshiba’s AC100 Android Netbook.

Read more at CNET News

GPU vs. CPU is a Win-Win

Peter Varhol has a nice piece on GPU vs. CPU computing in Desktop Engineering this week. Not surprisingly, he concludes that you need both when time is on the line:

An ideal configuration is one with one or more CPUs and a set of GPUs that use CUDA or similar parallel computation architecture. All support applications, such as email, web browsing, and word processing use the CPU. And with tools such as Accelereyes Jacket and NVIDIA Nexus, engineering software will eventually take advantage of both to speed up complex computations.

Varhol surmises that the GPU software gap will make it unlikely that engineering teams work strictly on GPUs any time in the foreseeable future. In the meantime, the promise of GPU speed and power efficiency has a lot of folks rolling up their sleeves to port their code.

Read more at insideHPC

Open health in Guatemala

The FreeMED Software Foundation has been involved with a medical clinic and teaching project in Guatemala for some time. The project, hosted by Pop-Wuj, a non-profit Spanish language school in Xela (Quetzeltenango), Guatemala, hosts a medical clinic for the poor in the city and surrounding pueblos.
Read more at OpenSource.com

HP Emerges Victor in 3PAR Bidding War

Dell drops out after HP offers a whopping $2.4 billion for the enterprise and cloud storage technology player.

Read more at internetnews.com

VMworld: In the Cloud, It’s Storage’s Time to Shine

Your infrastructure might be going into the cloud… but it’ll still need to be stored somewhere. A storage-centric look of VMworld’s happenings.

Read more at internetnews.com

Packages Available for KDE Platform, Plasma and Applications 4.5.1

Packages for the release of the KDE Software Compilation 4.5.1 are available.

Bugs in packaging should be reported to kubuntu-ppa on Launchpad. Bugs in the software to KDE.

Users of 10.04 LTS can install it from the Kubuntu Backports PPA.

To update, use the Software Repository Guide to add the following repository to your software sources list:

Read more at Kubuntu

Strong early sales of $140 Android tablet surprise retailer

Beijing-based international online reseller LightInTheBox.com announced it has had two months of surprisingly strong sales of a seven-inch, $140 Android tablet. The aPad Android Tablet runs Android 1.6 — with Android Market support — on Samsung’s ARM11-based 667MHz S3C6410, and offers 1GB of flash, an SD slot, Wi-Fi, and an 800 x 480-pixel screen, says the company….

Read more at LinuxDevices

Nuxeo present FISE, a RESTful semantic engine

Nuxeo have announced that, as part of the IKS european project, they are working with partners in the project to develop an open source semantic engine with a RESTful interface, dubbed fise

Read more at The H

2 Cent Tip – Extend (resize) a whole device partition.

Occasionally I have to resize partitions on iSCSI or Fiber-Channel attached SAN storage.  Both technologies allow you to easily extend the available storage for a host by extending LUNs, or volumes.  A common problem after extending the size of the LUN, or volume, is resizing partitions to fill out the new size.

 

For the most part, I usually fire up PartedMagic  and its a snap, even with Fiber-Channel attached enterprise storage.  Once the HBA’s have been zoned to Fiber-Channel switches, then the HBAs do all the heavy lifting.  In other words on Fiber-Channel, it doesn’t matter if you’re using PartedMagic, or Knoppix, the server just knows where the storage is, and that its certainly attached.  The only dependency for this working on a Live boot disk are drivers for the HBA cards.

 

iSCSI is a bit different.  Because, iSCSI relies on commodity Network Interface Cards, this technology is largely implemented in software.  One perceived advantage is iSCSI may seem less complicated to use than Fiber-Channel storage.  Unfortunately, in this case, PartedMagic did not have open-iscsi software, and I could install open-iscsi in the Knoppix Live ramdisk. However, because Knoppix came with an outdated iSCSI kernel module, it was not new enough to inter-operate with the open-iscsi software.

 

Furthermore, the version of parted that shipped with RHEL 5 threw an incompatible filesystem error, refusing to modify the filesystem. So, in the end, I twiddled some bits on the partition table with fdisk, and used resize2fs to extend the partition.

 

Assuming you have a backup of the filesystem you are working on, you can proceed with the following steps to extend a single partition to the end of the extended volume.  If you have multiple partitions on a volume, you may want to stick to more reliable methods of resizing and extending.  If you screw up the cylinder boundaries on a device with multiple partitions, you’ll definitely lose data.  A single partition, in this example, is a much simpler scenario.

 

The device name in this example is /dev/mapper/u02, the first partition is /dev/mapper/u02p1:

  • Runfdisk -l /dev/mapper/u02 to get the starting cylinder.
Disk /dev/mapper/u02: 100.9 GB, 108340550042 bytes

255 heads, 63 sectors/track, 13171 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/mapper/u02p1 1 13171 26450329 83 Linux

  • Reboot the server, after extending the volume or LUN on your SAN, and before proceeding to extend the partition in your Operating System.  The Operating System needs to re-read sector 0 on the extended SAN volume, before continuing. Note, that fdisk will report 26109 cylinders instead of 13171, after I rebooted the server.
  • Next, we will run: fdisk /dev/mapper/u02, and then hit the keys: d, n, p, 1, [enter], [enter], w
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').

Command (m for help): d
Selected partition 1

Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-26109, default 1):
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-26109, default 26109):
Using default value 26109

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
  • Finally, run resize2fs on /dev/mapper/u02p1. If you are using ext3, you can do an on-line resize while the volume is mounted.  It is probably safest to umount the partition to be re-sized, however.
resize2fs 1.39 (29-May-2006)
Filesystem at /dev/mapper/u02p1 is mounted on /u02; on-line resizing required
Performing an on-line resize of /dev/mapper/u02p1 to 52430127 (4k) blocks.
The filesystem on /dev/mapper/u02p1 is now 52430127 blocks long.


Refer to the resize2fs for more information on the command, and its proper usage.

Tutorial: Automating your Android Phone with SL4A

Back in Part 1 we learned how flexible and script-able Android is, and installed the SL4A scripting layer. Today Paul Ferrill teaches more about how to write custom Android scripts.

Read more at LinuxPlanet