Aptiva cdrom configuration

Kenneth Stephen (ksteph1@ibm.net)
Wed, 24 Jun 1998 19:55:12 -0500


Hi all,

I tried this problem in the newbie list, but made very little
progress there. If there is a list that is more suited to this query,
please point me to it.

I own an Aptiva S90. This model comes with what IBM terms a 'split
design'. The cdrom drive and floppy disk drive are packaged together in
a single small unit which is termed the 'media console'. An interface
cable carrying the signals from the floppy and cdrom drives goes to the
main cpu unit. This cable goes to an adapter card from which another
cable drops to the motherboard and connects to what the Aptiva handbook
calls the tertiary ide connection. This, according to the handbook, uses
IRQ 11.

I also have two other ide connectors on the motherboard. The Aptiva
handbook calls these the primary and secondary ide connections and says
that they use IRQs of 14 and 15 respectively.

For the past one year, I have been running linux peacefully on my
machine with the following configuration : (preinstalled) cdrom drive on
tertiary ide, (preinstalled) hard-drive as master on ide0, and
(installed by me) hard-drive as slave on ide0. Here is what the dmesg
output looked like :

hda: IBM-DAQA-33240, 3098MB w/96kB Cache, LBA, CHS=787/128/63
hdb: Maxtor 84320A5, 4119MB w/256kB Cache, LBA, CHS=525/255/63
hdc: MATSHITA CR-583, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
Floppy drive(s): fd0 is 1.44M
Started kswapd v 1.4.2.2
FDC 0 is a post-1991 82077

Partition check:
hda: hda1 hda2 < hda5 hda6 hda7 hda8 >
hdb: hdb1 hdb2
VFS: Mounted root (ext2 filesystem) readonly.

My current set of woes originated because I tried to connect a third
har-drive on ide1. The kernel recognizes the hard-drive, but stopped
recognizing my cdrom drive. This was when the third hard-drive was
connected as master on ide1. Here is what the dmesg output looked like
at this point :

hda: IBM-DAQA-33240, 3098MB w/96kB Cache, LBA, CHS=787/128/63
hdb: Maxtor 84320A5, 4119MB w/256kB Cache, LBA, CHS=525/255/63
hdc: QUANTUM FIREBALL SE8.4A, 8063MB w/80kB Cache, LBA, CHS=16383/16/63
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
Floppy drive(s): fd0 is 1.44M
Started kswapd v 1.4.2.2
FDC 0 is a post-1991 82077

Partition check:
hda: hda1 hda2 < hda5 hda6 hda7 hda8 >
hdb: hdb1 hdb2
hdc:
VFS: Mounted root (ext2 filesystem) readonly

A suggestion from the newbie list was that I connect the third drive
as slave on ide1. I was doubtful, but I tried it anyway. The kernel was
treating the hardware as if the third hard-drive was not installed at
all when I did this.

Another speculation that arose on the newbie list was that the media
console cable was a PCI extension. The suggestion was that 'removing
some PCI card to another slot can help (PCI irq's are often defined by
slot number)'. I am not sure which one I can fool around with as I dont
know anything about PCI.

I did notice that the major and minor device numbers of the hdc
device seemed to indicate that this was not defined for a hard-drive. Do
I need to change this? Here is what it looks like :

brw-rw---- 1 root disk 3, 78 Sep 7 1994 hdb14
brw-rw---- 1 root disk 3, 79 Sep 7 1994 hdb15
brw-rw---- 1 root disk 3, 80 Aug 2 1996 hdb16
brw-rw---- 1 root disk 3, 66 Sep 7 1994 hdb2
brw-rw---- 1 root disk 3, 67 Sep 7 1994 hdb3
brw-rw---- 1 root disk 3, 68 Sep 7 1994 hdb4
brw-rw---- 1 root disk 3, 69 Sep 7 1994 hdb5
brw-rw---- 1 root disk 3, 70 Sep 7 1994 hdb6
brw-rw---- 1 root disk 3, 71 Sep 7 1994 hdb7
brw-rw---- 1 root disk 3, 72 Sep 7 1994 hdb8
brw-rw---- 1 root disk 3, 73 Sep 7 1994 hdb9
brw-rw---- 1 root disk 22, 0 Feb 4 1995 hdc
brw-rw---- 1 root disk 22, 1 Feb 4 1995 hdc1
brw-rw---- 1 root disk 22, 10 Feb 4 1995 hdc10
brw-rw---- 1 root disk 22, 11 Feb 4 1995 hdc11
brw-rw---- 1 root disk 22, 12 Feb 4 1995 hdc12
brw-rw---- 1 root disk 22, 13 Feb 4 1995 hdc13
brw-rw---- 1 root disk 22, 14 Feb 4 1995 hdc14
brw-rw---- 1 root disk 22, 15 Feb 4 1995 hdc15
brw-rw---- 1 root disk 22, 16 Feb 4 1995 hdc16
brw-rw---- 1 root disk 22, 2 Feb 4 1995 hdc2
brw-rw---- 1 root disk 22, 3 Feb 4 1995 hdc3
brw-rw---- 1 root disk 22, 4 Feb 4 1995 hdc4
brw-rw---- 1 root disk 22, 5 Feb 4 1995 hdc5
brw-rw---- 1 root disk 22, 6 Feb 4 1995 hdc6

Another observation that I made was that when I booted into my Win95
partition, my cdrom worked fine. I had created a partition of type '6'
on the third hard-drive. /dev/hda actually had two partitions which were
my original C: and D: drives. Now the D: drive appears as the E: drive,
the D: drive is something that Win95 gives a 'not ready' message for,
the C: drive works perfectly, and so does the cdrom drive.

What gives? Any advice appreciated.

Thanks in advance,
Kenneth Stephen

--
There is no such thing as luck. 'Luck' is nothing but an absence of bad luck.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu