LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices


Reply
  Search this Thread
Old 07-25-2005, 02:11 PM   #1
farpoint
Member
 
Registered: Sep 2004
Location: France
Distribution: Debian Sarge, Etch. FC1,2,3,4,5. Slackware 10.0. Gentoo. Kubuntu.
Posts: 193

Rep: Reputation: 30
IDE host adaptor PCI card prob with booting


Hi Folks. I've got an old Gateway 500 with a P3 in it. Windows (cough cough) ME is on hda. Mandrake 9.2 was on hdb, but I've just replaced it with FC2. FC1 is on hde, using one of the controllers on the IDE adaptor card, I've got the dvdrom drive on the other controller with no problems. I've always booted FC1 from a floppy as I couldn't get LiLo on Mandrake 9.2 to get any sort of link to GRUB's bootloader on the root partition for FC1 (the one thats on the IDE adaptor card), but had thought that this was due to LiLo not wanting to link to more than 2 harddrives. Now with FC2 on hdb I tried to link to the GRUB bootloader for FC1 on hde1, but no success. It complains that it is an unsuppoted device. By the way I'm using webmin to set up the bootloader on FC2, which I find is quite easy to use. All I'd like to know is if I'm in a no-win situation trying to link a bootloader thats on an IDE controller on the mobo to another bootloader thats on an IDE adaptor card. It seems strange that when I boot up, the POST is done, the IDE apaptor card shows up, and if I've got the floppy for FC1 in the drive, FC1 boots up. If I don't have the floppy in the drive I get GRUB's bootloader, giving me options for FC2 or Win ME. If the IDE adaptor card is recognised at boot up before the GRUB splash screen, why can't I create a link to the GRUB bootloader thats using a harddrive on the IDE adaptor card for booting FC1. Also when FC2 is booted up I can get access to partitions on the drive thats running off the IDE adaptor card.All a bit bizarre. I'd be happy for anything. I repeat, anything that might help with this problem. Nigel. aka farpoint.


Details are a bit sketchy for the IDE adaptor (made in Taiwan) card
SIL 0680 ATA/133 Controller
BIOS Version 3.0.93
Silicon Image Inc
 
Old 07-25-2005, 04:09 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,334

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
"All a bit bizarre."

The only time that Linux uses the BIOS for IDE access is during boot. LILO may be having trouble finding /dev/hde through the BIOS. Once you finish boot the BIOS is irrelevent.

So one possible source of your problem could be an incompatibility between the motherboard BIOS and the secondary BIOS on the IDE controller card. Look through your BIOS and see if the IDE ports are recognized and addressed correctly. The motherboard IDE controller should show up as IDE0 and IDE1. The PCI IDE controller card should show up as IDE2 and IDE3.

Also watch the BIOS boot messages carefully to see what IDE devices the BIOS is detecting and what addresses are assigned to these devices.

-----------------------
Steve Stites

Last edited by jailbait; 07-25-2005 at 04:12 PM.
 
Old 07-25-2005, 06:03 PM   #3
farpoint
Member
 
Registered: Sep 2004
Location: France
Distribution: Debian Sarge, Etch. FC1,2,3,4,5. Slackware 10.0. Gentoo. Kubuntu.
Posts: 193

Original Poster
Rep: Reputation: 30
Hi Jailbait. Thanks for the reply. I've put the relevant bits from the messages log below. This is when booted up to FC1 which is running off the IDE controller card.

ul 25 11:20:23 localhost kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
Jul 25 11:20:23 localhost kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Jul 25 11:20:23 localhost kernel: PIIX4: IDE controller at PCI slot 00:07.1
Jul 25 11:20:23 localhost kernel: PIIX4: chipset revision 1
Jul 25 11:20:23 localhost kernel: PIIX4: not 100%% native mode: will probe irqs later
Jul 25 11:20:23 localhost kernel: ide0: BM-DMA at 0x10e0-0x10e7, BIOS settings: hdaio, hdbMA
Jul 25 11:20:23 localhost kernel: ide1: BM-DMA at 0x10e8-0x10ef, BIOS settings: hdcio, hddMA
Jul 25 11:20:23 localhost kernel: SiI680: IDE controller at PCI slot 00:10.0
Jul 25 11:20:23 localhost kernel: PCI: Found IRQ 9 for device 00:10.0
Jul 25 11:20:23 localhost kernel: PCI: Sharing IRQ 9 with 00:07.2
Jul 25 11:20:23 localhost kernel: SiI680: chipset revision 2
Jul 25 11:20:23 localhost kernel: SiI680: not 100%% native mode: will probe irqs later
Jul 25 11:20:23 localhost kernel: SiI680: BASE CLOCK == 133
Jul 25 11:20:23 localhost kernel: ide2: MMIO-DMA , BIOS settings: hdeio, hdfio
Jul 25 11:20:23 localhost kernel: ide3: MMIO-DMA , BIOS settings: hdgio, hdhio
Jul 25 11:20:23 localhost kernel: hda: WDC WD800JB-00ETA0, ATA DISK drive
Jul 25 11:20:23 localhost kernel: hdb: WDC WD400EB-00CPF0, ATA DISK drive
Jul 25 11:20:23 localhost kernel: blk: queue c0404f40, I/O limit 4095Mb (mask 0xffffffff)
Jul 25 11:20:23 localhost kernel: blk: queue c0405080, I/O limit 4095Mb (mask 0xffffffff)
Jul 25 11:20:23 localhost kernel: hdc: R/RW 4x4x24, ATAPI CD/DVD-ROM drive
Jul 25 11:20:23 localhost kernel: hdd: CDU5211, ATAPI CD/DVD-ROM drive
Jul 25 11:20:23 localhost kernel: hde: WDC WD400BB-00FRA0, ATA DISK drive
Jul 25 11:20:23 localhost kernel: blk: queue c04057f8, I/O limit 4095Mb (mask 0xffffffff)
Jul 25 11:20:23 localhost kernel: hdg: ASUS DVD-ROM DVD-E616P 0104, ATAPI CD/DVD-ROM drive
Jul 25 11:20:23 localhost kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Jul 25 11:20:23 localhost kernel: ide1 at 0x170-0x177,0x376 on irq 15
Jul 25 11:20:23 localhost kernel: ide2 at 0xd080d480-0xd080d487,0xd080d48a on irq 9
Jul 25 11:20:23 localhost kernel: ide3 at 0xd080d4c0-0xd080d4c7,0xd080d4ca on irq 9
Jul 25 11:20:23 localhost kernel: hda: attached ide-disk driver.
Jul 25 11:20:23 localhost kernel: hda: host protected area => 1
Jul 25 11:20:23 localhost kernel: hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=9729/255/63, UDMA(33)
Jul 25 11:20:23 localhost kernel: hdb: attached ide-disk driver.
Jul 25 11:20:23 localhost kernel: hdb: host protected area => 1
Jul 25 11:20:23 localhost kernel: hdb: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63, UDMA(33)
Jul 25 11:20:23 localhost kernel: hde: attached ide-disk driver.
Jul 25 11:20:23 localhost kernel: hde: host protected area => 1
Jul 25 11:20:23 localhost kernel: hde: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63, UDMA(100)
Jul 25 11:20:23 localhost kernel: Partition check:
Jul 25 11:20:23 localhost kernel: hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 >
Jul 25 11:20:23 localhost kernel: hdb: hdb1 hdb3 < hdb5 hdb6 hdb7 hdb8 >
Jul 25 11:20:23 localhost kernel: hde: hde1 hde2 < hde5 hde6 > hde3 hde4
Jul 25 11:20:23 localhost kernel: ide: late registration of driver.
Jul 25 11:20:23 localhost kernel: md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
Jul 25 11:20:23 localhost kernel: md: Autodetecting RAID arrays.
Jul 25 11:20:23 localhost kernel: md: autorun ...
Jul 25 11:20:23 localhost kernel: md: ... autorun DONE.
Jul 25 11:20:23 localhost kernel: Initializing Cryptographic API


Dont know if you can make any sense of this. The IDE controller card seems to be detected ok. What I can't understand is, after the POST I can boot up FC1 with a floppy, and yet I can't create a link from GRUB in the MBR of hda to GRUB in hde1, so as to boot FC1 from GRUB in hde1

cat /proc/interrupts shows that the IDE controller card is shared with the USB as below.

CPU0
0: 959792 XT-PIC timer
1: 1904 XT-PIC keyboard
2: 0 XT-PIC cascade
8: 1 XT-PIC rtc
9: 253096 XT-PIC ide2, ide3, usb-uhci
10: 2630 XT-PIC eth0
11: 12784 XT-PIC es1371
12: 81976 XT-PIC PS/2 Mouse
14: 671 XT-PIC ide0
15: 586214 XT-PIC ide1
NMI: 0
ERR: 0
[djmons@localhost djmons]$

Does this look like it should to you? Nigel. aka farpoint.
 
  


Reply


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
PCI card --> PCMCIA adaptor --> cellular data service johnMG Linux - Wireless Networking 4 08-02-2005 02:15 PM
new 200GB seagate not booting possible ide controller prob |2ainman Linux - Hardware 4 12-31-2004 09:10 AM
Difference between IDE drive and IDE to CF adaptor? 2kman Linux - General 0 12-21-2004 05:45 PM
PCI IDE Card Question geoff-taylor@ho Linux - Hardware 0 10-30-2004 06:22 PM
Ide pci card and linux Dtsaros Linux - Hardware 0 09-26-2003 04:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:18 AM.

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