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
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