Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Mitchell Blank Jr <mitch@sfgoth.com>
To: axp-list@redhat.com
Subject: Problems with SX164 IDE in recent 2.3
Date: Tue, 17 Aug 1999 00:09:25 -0700	[thread overview]
Message-ID: <19990817000925.B46404@sfgoth.com> (raw)

I've been a linux user for a long time, and have sporadically played with
the alpha port from time to time.  However, I'm now trying to make my
newly acquired sx164 box my main development machine and need to run
a recent 2.3 kernel.

I've tried 2.3.14pre1 (with minor tweaking) and now 2.3.13rth2, but neither
seems to work with my onboard IDE.  Under 2.2.7, I get:

  Uniform Multi-Platform E-IDE driver Revision: 6.19
  CY82C693: IDE controller on PCI bus 00 dev 41
  CY82C693: not 100% native mode: will probe irqs later
      ide0: BM-DMA at 0x10180-0x10187, BIOS settings: hda:pio, hdb:pio
  CY82C693U driver v0.33 99-01-23 Andreas S. Krebs (akrebs@altavista.net)
      ide1: BM-DMA at 0x10188-0x1018f, BIOS settings: hdc:pio, hdd:pio
  hda: IBM-DJNA-371800, ATA DISK drive
  hdc: WDC AC36400L, ATA DISK drive
  ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
  ide1 at 0x170-0x177,0x376 on irq 15
  hda: IBM-DJNA-371800, 17206MB w/1966kB Cache, CHS=34960/16/63, (U)DMA
  hdc: WDC AC36400L, 6149MB w/256kB Cache, CHS=13328/15/63, (U)DMA

but under 2.3.{14pre1,13rth2}:

  Uniform Multi-Platform E-IDE driver Revision: 6.20
  CY82C693: IDE controller on PCI bus 00 dev 41
  CY82C693: not 100% native mode: will probe irqs later
      ide0: BM-DMA at 0x8800-0x8807, BIOS settings: hda:pio, hdb:pio
  CY82C693U driver v0.33 99-01-23 Andreas S. Krebs (akrebs@altavista.net)
      ide1: BM-DMA at 0x8808-0x880f, BIOS settings: hdc:pio, hdd:pio

So the cy82c693 gets detected fine (albeit at a different IO range - I
assume that's just a change in the PCI code or something), but no drives
are found by drivers/block/ide-probe.c.   I've tracked this down to the
IDE driver not being able to talk to the interface via the old ISA IO
ports.  Tracing the {IN,OUT}_BYTE calls in include/linux/isa.h, while
drivers/block/ide-probe.c:do_probe is looking for hd[ab]

  jiffies=3346, OUT_BYTE(0xA0, 0x1F6)
  jiffies=3438, IN_BYTE(0x1F6)=0xFF
  jiffies=3475, OUT_BYTE(0xA0, 0x1F6)
  jiffies=3568, IN_BYTE(0x1F6)=0xFF
  jiffies=3605, OUT_BYTE(0xB0, 0x1F6)
  jiffies=3698, IN_BYTE(0x1F6)=0xFF
  jiffies=3736, OUT_BYTE(0xA0, 0x1F6)
  jiffies=3828, OUT_BYTE(0xB0, 0x1F6)
  jiffies=3920, IN_BYTE(0x1F6)=0xFF
  jiffies=3957, OUT_BYTE(0xA0, 0x1F6)

So it seems that the ISA range isn't mapped mapped correctly.  I don't
imagine this has anything to do with the iomap changes (this is "inb space",
not "readb space"; also happens pre-rtr2).  Is support for pyxis just broken
in 2.3 currently?

This is a mostly-stock RH60 system:
  % gcc -v
  Reading specs from /usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.91.66/specs
  gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

And a non-generic build:
  % grep ALPHA /usr/src/linux/.config | grep -v '^#'
  CONFIG_ALPHA_SX164=y
  CONFIG_ALPHA_EV5=y
  CONFIG_ALPHA_PYXIS=y
  CONFIG_ALPHA_SRM=y

-Mitch

ps: Sorry if this is a stupid question.  I joined this list just recently,
    and my current net connectivity is lousy enough to make searching the
    archives next to impossible.


             reply	other threads:[~1999-08-17  7:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-17  7:09 Mitchell Blank Jr [this message]
1999-08-23  5:51 ` Problems with SX164 IDE in recent 2.3 Mitchell Blank Jr
1999-08-24 18:25   ` Ivan Kokshaysky
1999-08-24 18:34     ` bushman
1999-08-24 22:25       ` PCXCV-AC Antonio S. Martins Jr.
1999-08-25  4:33     ` Problems with SX164 IDE in recent 2.3 Mitchell Blank Jr
1999-08-25  6:29     ` Richard Henderson
1999-08-25 11:39       ` Ivan Kokshaysky
1999-08-25 17:59       ` Mitchell Blank Jr
read-only archive

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