Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 08-07-2005, 01:43 PM   #1
LQ Newbie
Registered: Jul 2004
Location: Lombard, IL
Distribution: SuSE 9.3
Posts: 8

Rep: Reputation: 0
LILO and PCI Raid Troubles

I recently purchased and installed an PCI ATA RAID card. For whatever reason, Linux uses the RAID card's IDE channels as /dev/ide0 and /dev/ide1 and has bumped the motherboard's IDE channels down to /dev/ide2 and /dev/ide3. Along with this change, the hard drives were renumbered, with my old hda and hdb being moved to hde and hdf. The RAID disks are hda and hdc.

Now this is all fine, all I had to do was edit my /etc/fstab and /etc/lilo.conf accordingly and everything ran smoothly again. The problem came a month later when I added a hard drive. I rearranged the drives connected to the motherboard so that my DVD burner was the primary slave (no primary master) and my two large hard drives were the secondary master and slave (so the burner is hde and the disks are hdg and hdh now). When I edited my /etc/lilo.conf and reran lilo, upon rebooting, the LILO menu wouldn't come up and instead printed L 99 99 ... over and over again. Consulting the man page did little good - it basically says that the system's config differs from what the /boot/map file says it should be.

After several hours of tinkering and dozens of reboots, I figured out that it was the RAID card that was the cause of my troubles. If I removed the RAID card and ran LILO (via a rescue disk), and then reinserted the RAID card and rebooted, everything works fine. What I'd like to know is how I can run LILO normally, without having to pull all these shenanigans.

I tried adding a section like this to lilo.conf (and several variations thereof), but it did no good and instead caused lilo to display L 01 01 ... which means "invalid disk command" was reported by the BIOS.
disk = /dev/hdf
bios = 0x80
disk = /dev/hdg
bios = 0x81
disk = /dev/hdh
bios = 0x82

As an aside, the RAID card doesn't actually work as a RAID card under Linux due (presumably) to driver issues; it just appears as two more IDE controllers, and then I use software RAID to access the data on the drives. The reason I have the RAID card is so Windows can use it and put its pagefile on it, and it does work fine as a RAID card under Windows. *shrug*

Also, I have LILO installed to a floppy, simply because LILO and the Windows 2003 bootloader don't play nicely with each other and this setup allows me to easily boot both.

Thank you very much for any help you can provide.

Here's the info on my system:

message = /boot/message
timeout = 80
default = SuSE-93
boot = /dev/fd0

image = /boot/vmlinuz
label = SuSE-93
initrd = /boot/initrd
root = /dev/hdh5
append = "resume=/dev/hdh11 selinux=0 splash=verbose console=tty0"
vga = 0x346

image = /boot/vmlinuz
label = 93-Single
initrd = /boot/initrd
root = /dev/hdh5
vga = 0x346
append = "-s selinux=0 splash=verbose console=tty0"

image = /boot/vmlinuz
label = 93-Failsafe
initrd = /boot/initrd
root = /dev/hdh5
vga = normal
append = "showopts ide=nodma apm=off acpi=off noresume selinux=0 barrier=off iommu=noforce maxcpus=0 3"

#other = /dev/hdg
# label = Windows

image = /boot/memtest.bin
label = Memory_Test

hard drives:
-- RAID card:
/dev/hda - old 8.4GB Quantum Fireball
/dev/hdb - none
/dev/hdc - old 8.4GB Quantum Fireball
/dev/hdd - none

-- Motherboard:
/dev/hde - none
/dev/hdf - NEC DVD burner
/dev/hdg - 120GB Hitachi DeskStar (used for Windows partitions)
/dev/hdh - 250GB Seagate Barracuda (used for Linux partitions)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
WinTV PCI troubles dangerousdave Linux - Hardware 2 11-21-2005 08:04 AM
Lilo or Grub, RAID or not RAID? raxxal Linux - Software 1 09-24-2004 06:15 AM
RAID 0 troubles froZenX Linux - Newbie 4 11-14-2003 07:51 PM
pci - usb card troubles brotherlordacid Linux - Hardware 0 10-19-2003 09:57 AM
Serial PCI troubles. No working modem.. Pcghost Linux - Hardware 8 07-24-2003 06:07 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration