From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 21542 invoked from network); 17 Aug 1999 07:09:27 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 17 Aug 1999 07:09:27 -0000 Received: from schmee.sfgoth.com (mitch@schmee.sfgoth.com [204.188.110.18]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id DAA11282 for ; Tue, 17 Aug 1999 03:09:26 -0400 Received: (from mitch@localhost) by schmee.sfgoth.com (8.9.3/8.9.3) id AAA46638 for axp-list@redhat.com; Tue, 17 Aug 1999 00:09:25 -0700 (PDT) Date: Tue, 17 Aug 1999 00:09:25 -0700 From: Mitchell Blank Jr To: axp-list@redhat.com Subject: Problems with SX164 IDE in recent 2.3 Message-ID: <19990817000925.B46404@sfgoth.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i 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.