Best of Technical Support

Our experts answer your technical questions.
Signal-7

I have tried unsuccessfully to install Linux 6.1. Here's what happens:

I put in the CD and the boot disk. The Linux program decompresses all the “running/sbin/loader”. Then it waits a few minutes and says:

"install exited abnormally -- received signal 7"
sending termination signals.

I have asked everyone I know what “signal 7” means, but to no avail.

—Michael C. Fields, kindra@2fords.net

Signal 7 is “bus error”, as reported by /usr/include/asm/signal.h (included by /usr/include/signal.h, the first place to look). This is most likely a hardware problem on your box, similar to the “signal 11” (segmentation fault) problem. Please refer to the sig11 FAQ at http://www.bitwizard.nl/. —Alessandro Rubini, alessandro.rubini@linux.it

You fail to mention which distribution you are trying to install, but luckily, my crystal ball is telling me that it would be Red Hat, or a derivative thereof. Signal 7 is SIGBUS, which means that there are some hardware/driver issues. I'd try a newer version of Red Hat or a different distribution in case a different kernel helps on your machine. —Marc Merlin, marc_bts@valinux.com

parport (Parallel Port)

I have been asked by my company to write some code to write to and read from a special printer. As an example, if I shove the string “^[I” out the parallel port, I should be able to read back in “TP96”. However, I am as new as they come. I have been looking at all the parport documentation, but I don't understand. Is parport already part of the kernel? Do I #include parport in my own program? How do I put all the pieces together to get this one seemingly simple task accomplished?

—Michael J. Conroy, m_j_conroy@yahoo.com

Two web sites may help you. The first contains general parallel port programming information: www.lvr.com/parport.htm. The second contains information on I/O port programming under Linux: metalab.unc.edu/mdw/HOWTO/mini/IO-Port-Programming.html. —Chad Robinson, Chad.Robinson@brt.com

If you want to know more about parport, take a look at the file Documentation/parport.txt in the kernel sources hierarchy. For your personal use, you should use low-level inb/outb functions (try man outb). There is an excellent (of course :-)) article by Alessandro Rubini in LJ #47 about using parallel port. —Pierre Ficheux, pficheux@wanadoo.fr

Yes, it's a compile time option.

moremagic:~# cat /proc/parport/0/hardware
base:   0x378
irq:    none
dma:    none
modes:  SPP,ECP,ECPEPP,ECPPS2
moremagic:~# cat /proc/parport/0/autoprobe
MODEL:Unknown device;
MANUFACTURER:Unknown vendor;

I've never done parallel port programming, but you can write to /dev/lp0 (or lp1, lp2...) and you may be able to read back from it. One thing you can do for more information is look at the source code from lpd. —Marc Merlin, marc_bts@valinux.com

Athlon

Can Linux be installed on an Athlon platform? —Mark MacWilliam, mMacWilliam@infocell.com

Because the Athlon processor has the same instruction set (with enhancements) as the x86 processor series, Linux should run on it without problems. —Chad Robinson, Chad.Robinson@brt.com

Yes. The 2.2.14 kernel (or better) recognizes the Athlon, and 2.3.x (soon to be 2.4) has optimized support for the Athlon. —Marc Merlin, marc_bts@valinux.com

I am typing this reply using my brand-new 700MHz Athlon system (running Linux, of course!). So not only can Linux be installed on an Athlon, I can add that it runs like a dream. —Scott Maxwell, maxwell@ScottMaxwell.org

Trying to Install OpenLinux

I am having problems installing Caldera OpenLinux 2.3 on a PC Pentium III 450, with a SIS 620 video card and operating under Windows 98. I succeeded in making the partition on the disk for where to install OpenLinux, but when trying to install it, first it appears on the screen where the recognition of the hardware of the machine is made, and then the screen becomes frozen after showing vertical gray lines. I don't know what the problem could be. Would you help me?

—Susana Diaz, subediaz@satlink.com

The SiS 620 chipset is supported by the SVGA server, but for whatever reason, it will not run in 16-color VGA mode (which is what OpenLinux's graphic installer uses). What you'll need to do is use the character-mode installation, then run either lizardx, XF86Setup or xf86config after the installation is done to configure the X Window System. The disk images for the character-mode installation are found in the /col/launch/lisa/floppy directory. Use RAWRITE (in DOS/Windows) or dd (in UNIX/Linux) to transfer the install.144 image to a formatted 1.44MB diskette. Use the new diskette to launch the installation. —Erik Ratcliffe, erik@calderasystems.com

Many on-line help resources are available on the SSC web pages. Sunsite mirror sites, FAQs and HOWTOs can all be found at http://www.linuxjournal.com/.

______________________

Comments

Comment viewing options

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

Re: hangup after running sbin/loader in 6.2 install

Anonymous's picture

I'm trying to get RedHat 6.2 running on an old Pentium 1. The frustrating thing is that I did get it running (with an improperly configured X) and then in my stupidity, I tried to reinstall it to fix X. (I didn't know about XConfig86). Now the install won't work. I think I have some sort of partition/formatting problem with my hard disk. Any suggestions?

tronsgar@cs.ualberta.ca

White Paper
Fabric-Based Computing Enables Optimized Hyperscale Data Centers

Today’s modular x86 servers are compute-centric, designed as a least common denominator to support a wide range of IT workloads. Those generic, virtualized IT workloads have much different resource optimization requirements than hyperscale and cloud applications. They have resulted in a “one size fits all” enterprise IT architecture that is not optimized for a specific set of IT workloads, and especially not emerging hyperscale workloads, such as web applications, big data, and object storage. In this report, you will learn how shifting the focus from traditional compute-centric IT architectures to an innovative disaggregated fabric-based architecture can optimize and scale your data center.

Learn More

Sponsored by AMD

White Paper
Red Hat White Paper: Using an Open Source Framework to Catch the Bad Guy

Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6

Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.

Learn more about catching the bad guy in this free white paper.

Learn More

Sponsored by DLT Solutions