Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Multiple EIDE cards
@ 2000-05-02  7:42 W Bauske
  2000-05-02 13:42 ` Jay Estabrook
  2000-05-02 15:44 ` Michal Jaegermann
  0 siblings, 2 replies; 5+ messages in thread
From: W Bauske @ 2000-05-02  7:42 UTC (permalink / raw)
  To: axp-list@redhat.com


In order to work around the problem of a slave drive on
my Promise UATA66 card causing a hang when probed at boot,
I've added a second card. For the moment, I'm using UATA33
cards instead of UATA66 cards. I found out that Alphas by
default will not configure more than 4 EIDE interfaces. So,
I modified include/asm-alpha/ide.h value MAX_HWIFS from 4
to 8 and also ran the scripts/MAKEDEV.ide script to add the
necessary device names in /dev. That all seems to have worked
and Linux now adds devices ide4/ide5 to the list of devices
but it doesn't seem to see the drives. I have a single drive
attached as master to ide channel one of the last card, which
I believe is ide4. This is all against 2.2.15pre17 code.

Current /proc/pci for the cards:

  Bus  0, device   8, function  0:
    RAID storage controller: Promise Technology IDE UltraDMA/33 (rev 1).
      Medium devsel.  IRQ 27.  Master Capable.  Latency=255.  
      I/O at 0x8800 [0x8801].
      I/O at 0x9000 [0x9001].
      I/O at 0x9800 [0x9801].
      I/O at 0xa000 [0xa001].
      I/O at 0xa800 [0xa801].

  Bus  1, device   7, function  0:
    RAID storage controller: Promise Technology IDE UltraDMA/33 (rev 1).
      Medium devsel.  IRQ 47.  Master Capable.  Latency=255.  
      I/O at 0x10000c000 [0x10000c001].
      I/O at 0x10000c800 [0x10000c801].
      I/O at 0x10000d000 [0x10000d001].
      I/O at 0x10000d800 [0x10000d801].
      I/O at 0x10000e000 [0x10000e001].

dmesg shows:

Uniform Multi-Platform E-IDE driver Revision: 6.30
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
CY82C693: IDE controller on PCI bus 00 dev 29
CY82C693: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1220-0x1227, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1228-0x122f, BIOS settings: hdc:DMA, hdd:pio
PDC20246: IDE controller on PCI bus 00 dev 40
PDC20246: not 100% native mode: will probe irqs later
PDC20246: ROM enabled at 0x020a0000
PDC20246: (U)DMA Burst Bit DISABLED Primary PCI Mode Secondary PCI Mode.
PDC20246: FORCING BURST BIT 0x00 -> 0x01 ACTIVE
    ide2: BM-DMA at 0xa800-0xa807, BIOS settings: hde:DMA, hdf:DMA
    ide3: BM-DMA at 0xa808-0xa80f, BIOS settings: hdg:DMA, hdh:DMA
PDC20246: IDE controller on PCI bus 01 dev 38
PDC20246: not 100% native mode: will probe irqs later
PDC20246: ROM enabled at 0x01000000
PDC20246: (U)DMA Burst Bit DISABLED Primary PCI Mode Secondary PCI Mode.
PDC20246: FORCING BURST BIT 0x00 -> 0x01 ACTIVE
    ide4: BM-DMA at 0x10000e000-0x10000e007, BIOS settings: hdi:pio, hdj:DMA
    ide5: BM-DMA at 0x10000e008-0x10000e00f, BIOS settings: hdk:DMA, hdl:DMA
hda: Maxtor 93073U6, ATA DISK drive
hde: Maxtor 54098U8, ATA DISK drive
hdg: Maxtor 94098U8, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
io_request_lock is fffffc000051ea30
ide2 at 0x8800-0x8807,0x9002 on irq 27
ide3 at 0x9800-0x9807,0xa002 on irq 27
hda: Maxtor 93073U6, 29311MB w/2048kB Cache, CHS=59554/16/63, (U)DMA
hde: Maxtor 54098U8, 39082MB w/2048kB Cache, CHS=79406/16/63, UDMA(33)
hdg: Maxtor 94098U8, 39082MB w/2048kB Cache, CHS=79406/16/63, UDMA(33)
Partition check:
 hda: hda1 hda2 hda3 hda4
 hde: hde1
 hdg: hdg1

So, anyone have an idea on how to get the disks recognized
on the last card or what I need to change/add in the source?
My current thoughts are that somewhere 4 interfaces is hard
coded so the drive can't be found rather than using the
MAX_HWIFS defined value. Or, maybe the card didn't get initialized
right because it's on the second PCI bus.


Wes


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-05-02 16:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-02  7:42 Multiple EIDE cards W Bauske
2000-05-02 13:42 ` Jay Estabrook
2000-05-02 16:57   ` W Bauske
2000-05-02 15:44 ` Michal Jaegermann
2000-05-02 16:24   ` W Bauske

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox