Best of Technical Support

Questions and Answers
Where's My FireWire CD-ROM?

I recently bought a Sony R505 laptop and when I tried to install SuSE Linux, I discovered that after the boot, Linux could not see the CD-ROM. It turned out that the docking station where the CD-ROM lives is accessed from the computer via FireWire somehow.

—Steven Smith, sjs@chaos-tools.com

Your confusion may be due to differing procedures for the various distributions available. For SuSE, there is a basic HOWTO guide in their knowledge base, which you can access by visiting sdb.suse.de/en/sdb/html/tbraza_dosinst.html. This should get you headed in the right direction.

—Chad Robinson, crobinson@rfgonline.com

I Have No Qt and I Must Run KDE 3.0

Are there RPM packages for the latest versions of Qt and KDE?

—Dan, dhdeang@SoftHome.net

To locate RPMs, I find rpmfind.net to be a helpful portal. In this case, there is a page specifically for Qt and KDE: rpmfind.net/linux/RPM/Development_KDE_and_QT.html. On that page I note that Qt 3.x is still listed as a development package, but it is available.

—Chad Robinson, crobinson@rfgonline.com

Raiders of the Lost DDS-3 Tape

I'm trying to read a DDS-3 tape made on an HP9000 machine running HP-UX 11. I'm trying to read it using my Linux server that runs Red Hat 7.2 (2.4.9.31SMP kernel). The Linux server tape drive is a Sony SCSI device, /dev/st0. The tape contains Oracle export files of a large Oracle database. The HP machine is no longer available, and I'm trying to rebuild the DB on Linux. When I try to read the tape with either tar -tvf /dev/st0 or tar -xvf /dev/st0 I always get:

Input/Output error at the beginning of the tape, error is not
recoverable, exiting now

Why?

—Adrian Manship, adrian.manship@skynet.be

Check two things related to the tape drive. First, DDS drives support the concept of hardware compression, which may have been used by HP-UX and may not be enabled by Linux. If there is a mismatch in this setting, that can cause problems reading the tape.

Second, although tar itself is a relatively standard format, is it possible that the tape was not created using tar? Depending on the version of Oracle used to create the tape, it may have internal support for reading/writing tape devices as backup media. Check a small sample of the file to be sure it is actually in tar format by running dd if=/dev/st0 of=/tmp/tape bs=512 count=16, replacing the bs value with a block size that works well for your drive and the count value with a count that yields a sufficient number of those blocks to take a quick look. This example will read 8K from the tape.

Perhaps the tape itself is bad. If it succeeds, you should be able to use a hex editor or text editor that can handle high-ASCII characters without choking to verify the format of the contents of the tape. In case you aren't familiar with the general format, each file entry should start with its filename, followed by a header that contains miscellaneous file information such as size and permissions, followed by the file itself.

—Chad Robinson, crobinson@rfgonline.com

The easiest thing to do, would be to buy/borrow/steal a similar machine to do the restore.

—Christopher Wingert, cwingert@qualcomm.com

I used to work with HP-UX DDS tapes, and most of the time they were used with the cpio utility. Keep in mind that cpio is a complicated utility with many options, so check the manual pages (man cpio) and play around with some of the options. Be careful not to write your tape accidently; I suggest that you physically enable the write-protect feature on the cartridge. Look at www.lns.cornell.edu/public/COMP/info/cpio/cpio_2.html for a simple cpio tutorial.

—Felipe E. Barousse Boué, fbarousse@piensa.com

No Screensaver for root

When I sign on using root, the screensaver does not work. When I sign on with another ID, it does. How can I make it work when signed on as root?

—James Logan, jlogon@mail.ewu.edu

xscreensaver will not work as root on purpose. It's a security feature; you're not supposed to run X as root (log in as a user and use su - where needed). This is explained in the FAQ, along with a solution to how to run X programs as root if you need to (www.jwz.org/xscreensaver/faq.html#root-lock).

—Marc Merlin, marc@merlins.org

______________________

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Thanks. I found the help I

Anonymous's picture

Thanks. I found the help I needed.

White Paper
Linux Management with Red Hat Satellite: Measuring Business Impact and ROI

Linux has become a key foundation for supporting today's rapidly growing IT environments. Linux is being used to deploy business applications and databases, trading on its reputation as a low-cost operating environment. For many IT organizations, Linux is a mainstay for deploying Web servers and has evolved from handling basic file, print, and utility workloads to running mission-critical applications and databases, physically, virtually, and in the cloud. As Linux grows in importance in terms of value to the business, managing Linux environments to high standards of service quality — availability, security, and performance — becomes an essential requirement for business success.

Learn More

Sponsored by Red Hat

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState