Re: DEC PWS500au (MiataGL) EIDE Issues

Alexander Jacocks <[email protected]> Tue, 18 May 2021 18:21:43 -0400
Newsgroups gmane.os.netbsd.ports.alpha
Message-ID <CAF-r0Y2NaMrYRPJhvSuDy_4rKWvmTDn31uoxHZJVAB25VBrhfQ@mail.gmail.com>
I also tried plugging in a CF-IDE adapter directly in to the port, but that
didn't help, either. I didn't get the long pauses while the kernel retries,
but while I do get a detection, during boot (with weird geometry), the
installer refuses to see the disk.

I picked up an LSI 53c876 dual-port PCI-X SCSI HBA, from my house, to try
that this evening. I know that the '876 isn't directly supported, but
figured that it was worth a shot. I also grabbed an Adaptec 2940UW.

Thanks!
- Alex

On Mon, May 17, 2021 at 10:49 PM Alexander Jacocks <[email protected]>
wrote:

> And here, for completeness, is the difference when booting with the
> Seagate IDE drive:
>
> [  10.2948997] wd0 at atabus0 drive 0
>
> [  10.3359150] wd0: <?p>
>
> [  10.3659499] wd0: 543 GB, 4096 cyl, 63 head, 21059 sec, 512 bytes/sect x
> 1139s
> [  10.4697056] atapibus0 at atabus1: 2 targets
>
> [  10.5195080] stray isa irq 15
>
> [  10.5702905] sd0 at atapibus0 drive 0: <\007\007x\003xx\000x, 0\000 6I
> HAD 02e
> [  10.6952895] sd0(cypide1:0:0): Sense Error Code 0x64
>
> [  10.7525236] sd0: drive offline
>
> [  12.1025212] stray isa irq 14
>
> [  32.1348001] cypide0:0:0: geometry timed out
>
> [  32.1827912] wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn
> 0), 0
>
> So, as you can see, the geometry is still a mess. I have tried both both
> 40 and 80 conductor IDE cables.
>
> Thanks!
> - Alex
>
> On Mon, May 17, 2021 at 10:39 PM Alexander Jacocks <[email protected]>
> wrote:
>
>> Jason,
>>
>> Here is my boot log:
>>
>> (boot dva0.0.0.0.1 -flags A)
>> block 0 of dva0.0.0.0.1 is a valid boot block
>> reading 87 blocks from dva0.0.0.0.1
>> bootstrap code read in
>> base = 1d8000, image_start = 0, image_bytes = ae00
>> initializing HWRPB at 2000
>> initializing page table at 1ca000
>> initializing machine state
>> setting affinity to the primary CPU
>> jumping to bootstrap code
>>
>> NetBSD/alpha 9.2 ustar Bootstrap, Revision 1.3 (Mon May 17 16:06:32 UTC
>> 2021)
>>
>> VMS PAL rev: 0x1000000010114
>> OSF PAL rev: 0x1000000020116
>> Switch to OSF PAL code succeeded.
>>
>> Boot flags: A
>> 11015216/
>> Please remove disk 1, insert disk 2, and press return...
>> \
>> Please remove disk 2, insert disk 3, and press return...
>> /
>> Please remove disk 3, insert disk 4, and press return...
>> +206128=0xab39a0
>>
>> Entering netbsd at 0xfffffc0000a011a0...
>> [   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002,
>> 2003, 2004, 2005,
>> [   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
>> 2015, 2016, 2017,
>> [   1.0000000]     2018, 2019, 2020 The NetBSD Foundation, Inc.  All
>> rights reserved.
>> [   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
>> [   1.0000000]     The Regents of the University of California.  All
>> rights reserved.
>>
>> [   1.0000000] NetBSD 9.2 (INSTALL) #0: Mon May 17 09:26:17 PDT 2021
>> [   1.0000000] thorpej@stinky
>> :/home/thorpej/netbsd-9-2-RELEASE/objdir/alpha/sys/arch/alpha/compile/INSTALL
>> [   1.0000000] Digital Personal WorkStation 500au, 500MHz, s/n NI93703328
>> [   1.0000000] 8192 byte page size, 1 processor.
>> [   1.0000000] total memory = 640 MB
>> [   1.0000000] (1896 KB reserved for PROM, 638 MB used by NetBSD)
>> [   1.0000000] avail memory = 618 MB
>> [   1.0000000] mainbus0 (root)
>> [   1.0000000] cpu0 at mainbus0: ID 0 (primary), 21164A-0
>> [   1.0000000] cpu0: Architecture extensions: 0x1<BWX>
>> [   1.0000000] cia0 at mainbus0: DECchip 2117x Core Logic Chipset
>> (Pyxis), pass 2
>> [   1.0000000] cia0: extended capabilities: 0x1<BWEN>
>> [   1.0000000] cia0: using BWX for PCI config access
>> [   1.0000000] pci0 at cia0 bus 0
>> [   1.0000000] tlp0 at pci0 dev 3 function 0: DECchip 21143 Ethernet,
>> pass 3.0
>> [   1.0000000] tlp0: interrupting at dec 550 irq 0
>> [   1.0000000] tlp0: DEC, Ethernet address 00:00:f8:75:f0:19
>> [   1.0000000] nsphy0 at tlp0 phy 5: DP83840 10/100 media interface, rev.
>> 1
>> [   1.0000000] nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
>> auto
>> [   1.0000000] tlp0: 10baseT, 10baseT-FDX, 10base2, 10base5
>> [   1.0000000] sio0 at pci0 dev 7 function 0: vendor 1080 product c693
>> (rev. 0x00)
>> [   1.0000000] cypide0 at pci0 dev 7 function 1: Cypress 82C693 IDE
>> Controller (rev. 0x00)
>> [   1.0000000] cypide0: primary channel wired to compatibility mode
>> [   1.0000000] cypide0: primary channel interrupting at isa irq 14
>> [   1.0000000] atabus0 at cypide0 channel 0
>> [   1.0000000] cypide1 at pci0 dev 7 function 2: Cypress 82C693 IDE
>> Controller (rev. 0x00)
>> [   1.0000000] cypide1: hardware does not support DMA
>> [   1.0000000] cypide1: primary channel wired to compatibility mode
>> [   1.0000000] cypide1: secondary channel interrupting at isa irq 15
>> [   1.0000000] atabus1 at cypide1 channel 0
>> [   1.0000000] vendor 1080 product c693 (USB serial bus, OHCI) at pci0
>> dev 7 function 3 not configured
>> [   1.0000000] vga0 at pci0 dev 12 function 0: vendor 5333 product 8811
>> (rev. 0x00)
>> [   1.0000000] wsdisplay0 at vga0 (kbdmux ignored)
>> [   1.0000000] drm at vga0 not configured
>> [   1.0000000] ppb0 at pci0 dev 20 function 0: vendor 1011 product 0024
>> (rev. 0x02)
>> [   1.0000000] pci1 at ppb0 bus 1
>> [   1.0000000] isa0 at sio0
>> [   1.0000000] lpt0 at isa0 port 0x3bc-0x3bf irq 7
>> [   1.0000000] com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
>> [   1.0000000] com0: console
>> [   1.0000000] com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
>> [   1.0000000] pckbc0 at isa0 port 0x60-0x64
>> [   1.0000000] fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
>> [   1.0000000] mcclock0 at isa0 port 0x70-0x71: mc146818 compatible
>> time-of-day clock
>> [   1.0000000] stray isa irq 14
>> [   1.1239962] stray isa irq 15
>> [   4.0957795] fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
>> [   5.0371902] wd0 at atabus0 drive 0
>> [   5.0763950] wd0: <?>
>> [   5.1065497] wd0: 16383 PB, 4151 cyl, 63 head, 12848 sec, 512
>> bytes/sect x 18446744072774503344 sectors
>> [   5.2188295] atapibus0 at atabus1: 2 targets
>> [   5.2696089] stray isa irq 15
>> [   5.3194154] sd0 at atapibus0 drive 0: <\007\007x\003xx\000x, 0\000 6I
>> HAD 02, \002> disk removable
>> [   5.4453904] sd0(cypide1:0:0): Sense Error Code 0x64
>> [   5.5023053] sd0: drive offline
>> [   6.8604337] stray isa irq 14
>> [  26.8917378] cypide0:0:0: geometry timed out
>> [  26.9397306] wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0
>> sn 0), xfer 38, retry 0
>> [  28.0440851] stray isa irq 14
>> [  48.0753888] cypide0:0:0: geometry timed out
>> [  48.1233752] wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0
>> sn 0), xfer 38, retry 1
>> [  68.7238834] cypide0:0:0: geometry timed out
>> [  68.7718769] wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0
>> sn 0), xfer 38, retry 2
>>
>> I currently have a SATA-IDE bridge attached to the primary IDE interface
>> and a standard IDE CD-ROM attached to the secondary IDE interface. I get
>> similar issues with a standard IDE disk, specifically tested with a Seagate
>> ST340016A 40GB drive.
>>
>> Thanks!
>> - Alex
>>
>