Best of Technical Support

Our experts answer your technical questions.
Building Custom Packets

Can I create my own IP header, with a new static field of 32 bits, and send it to a destination host?

—Muguntha Kumar,

Sure. Look at sendip for a programming example:

—Marc Merlin,

Die, Process, Die, Die!

What does process state D mean in the output of ps? Why doesn't the system allow root to kill processes with state D? What should one do if these processes are consuming a lot of system resources, which need to be released for use by other processes?

—Ankit Doshi,

State D means the process is in uninterruptible sleep—sleeping, waiting for something to happen, but it cannot be interrupted, even by kill -9. Sometimes the D process is trying to access remote filesystems that are unmounted or no longer available. If that is the case, use the soft option to mount.

—Felipe Barousse Boué,

Ignore This Message?

At bootup I get:

Cannot locate memory.

I am not able to see any fault. Is this significant?

—George Robertson,

This is the driver module for Broadcom Cryptonet BCM5820. If you do not have this device, you can ignore this error.

—Usman Ansari,

RPM, Please Format Results My Way

I was trying to query all of the installed RPMs on my computer, so I used rpm -qaR. However, this gave me a lot of information that isn't user-friendly. I read a section in Maximum RPM about the --queryformat option. Now, I'm using this:

rpm -qaR "%{NAME}[%-8{REQUIRENAME}\n]"

The results, though, are exactly the same as those from the previous query. Anybody have any ideas how to make the output readable/usable?


You need to include --qf or --queryformat immediately before your query format string. Use rpm --querytags to list all the possible tags in the version of RPM you have.

—Don Marti,

I Have No Screens and I Must X

I have Red Hat 7.2 on a Gateway PC with an ATI RADEON 8500. I installed XFree86 on a number of systems, but I'm stumped with this one. Initially, I set up /etc/X11/XF86Config-4 to use the RADEON driver and according to the log, it loads that driver as well as the ATI driver and a bunch more. All appears to be fine until the end; then it says:

(II) Primary Device is: PCI 01:00:0
(EE) No devices detected.
Fatal server error: no screens found

Any ideas?

—Chris Carlson,

To rule out configuration errors, try using an /etc/X11/XF86Config-4 generated by Xconfigurator.

—Christopher Wingert,

You may need to upgrade your XFree86 to 4.2 (stock Red Hat 7.2 comes with XFree86 4.1), which includes support for your ATI RADEON. See

—Felipe Barousse Boué,

Bad Luck or Bad Disk?

I encountered a corrupted / filesystem last June. I tried to repair the filesystem (running fsck) but was unable to recover it, so I re-installed Red Hat 7.2. After a month, the same thing happened. Now we are trying to find out if this problem is hardware- or software-related. How can I find out?


If you have a stock Red Hat box (i.e., no custom software), it is unlikely to be the RH distribution. I would suspect your hard drive is about to fail.

—Christopher Wingert,

Are you shutting down correctly? If you hit the power switch while a lot is happening, that could corrupt two installs in two months.

—Don Marti,

Check your logs, especially /var/log/messages, for any indication of disk or disk controller failures or mishaps. If you're re-installing Linux, run the “check for disk bad blocks” option, which makes a more in-depth check of your disk.

—Felipe Barousse Boué,

It's almost certainly the hardware. Other possibilities include an overclocked CPU or motherboard, turning the power off without shutting down, overheating and so on.

—Ben Ford,

1) Next time you install, make two root partitions, one called / and one called /safe. Copy the content of / to /safe every so often, and make sure LILO or GRUB is able to boot from there. That way you won't be dead in the water if this happens again. 2) It's hard to say if it's hardware or software without more information. Consider switching to a journaling filesystem, such as ext3, so your system can recover more easily if you have problems.

—Marc Merlin,


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