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: Re: Problems with SX164 IDE in recent 2.3
Date: Tue, 24 Aug 1999 21:33:02 -0700	[thread overview]
Message-ID: <19990824213302.A56965@sfgoth.com> (raw)
In-Reply-To: <19990824222539.A767@jurassic.park.msu.ru>; from Ivan Kokshaysky on Tue, Aug 24, 1999 at 10:25:39PM +0400

Ivan Kokshaysky wrote:
> Interesting. Recent 2.3.x kernels somehow break settings of the Cypress chip,
> so IDE addresses are bogus (something like 0xfff0). As a temporary workaround
> try this hack (tested with 2.3.15pre2), it set IDE i/o back to 0x1f0/0x170.

Thanks for the reply!  I've really been beating my head against the wall
on this one... I'm certainly not adverse to hacking on the kernel, but
IDE and PCI are far away from my areas of expertise, so the going is
VERY slow.

Unfortunately the patch didn't QUITE work - it seems that now it's
mapping some of the IDE space correctly, but not enough.... now I get:

  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
  hda: probing with STATUS(0x50) instead of ALTSTATUS(0xff)
  hda: IBM-DJNA-371800, ATA DISK drive
  hdb: probing with STATUS(0x00) instead of ALTSTATUS(0xff)
  hdb: probing with STATUS(0x00) instead of ALTSTATUS(0xff)
  ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
  hda: IBM-DJNA-371800, 17206MB w/1966kB Cache, CHS=34960/16/63, (U)DMA
  [...]
  Partition check:
   hda:Dev 03:00 Sun disklabel: bad magic 1c17
  unknown partition table
  attempt to access beyond end of device
  03:02: rw=0, want=2, limit=0
  EXT2-fs: unable to read superblock
  Kernel panic: VFS: Unable to mount root fs on 03:02

So I could do a STATUS, but not an ALTSTATUS and could get the drive's
identity but not do real I/O.  You're clearly on the right track, though.

Tha above was with .15pre2.  I'll try some other variations and tweaking and
if I get something different I'll let you know (.15pre3 is out of the
question because the PCI merge is going to require some enlightened
tweaking of arch/alpha/kernel/bios32.c to sort out, but I can fall back
to .14rth2 and see how that goes)

-Mitch


  parent reply	other threads:[~1999-08-25  4:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-17  7:09 Problems with SX164 IDE in recent 2.3 Mitchell Blank Jr
1999-08-23  5:51 ` 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     ` Mitchell Blank Jr [this message]
1999-08-25  6:29     ` Problems with SX164 IDE in recent 2.3 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