NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-sparc64/55540: aceride Fails To Downgrade Transfer Mode



>Number:         55540
>Category:       port-sparc64
>Synopsis:       aceride Fails To Downgrade Transfer Mode
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 04 14:55:00 +0000 2020
>Originator:     Kyra Sable
>Release:        9.99.69
>Organization:
>Environment:
>Description:
The latest sparc64 CD install image fails to start due to the transfer mode for aceride not downgrading to PIO4. This is a known issue with DMA transfers and ATAPI devices on this particular chip. The NetBSD 9 installer handles this situation and starts as expected.

This issue probably isn't specific to sparc64, but this chip is very common in later non-SCSI Sun machines (like this one).

NetBSD HEAD:

ok boot cdrom
Boot device: /pci@1f,0/ide@d/cdrom@2,0:f  File and args:
NetBSD IEEE 1275 Multi-FS Bootblock
Version $NetBSD: bootblk.fth,v 1.15 2015/08/20 05:40:08 dholland Exp $
>> NetBSD/sparc64 OpenFirmware Boot, Revision 1.20 (Mon Aug  3 21:12:29 UTC 2020)
=0xc052b0
Loading netbsd: 12604016+508720+341880 [775656+514109]=0xf0b190
[   1.0000000] pool redzone disabled for 'kmem-08192'
[   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.99.69 (GENERIC) #0: Mon Aug  3 21:12:29 UTC 2020
[   1.0000000]  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/sparc64/compile/GENERIC
[   1.0000000] total memory = 2048 MB
[   1.0000000] avail memory = 1990 MB
[   1.0000000] pool redzone disabled for 'buf64k'
[   1.0000000] entropy: no seed from bootloader
[   1.0000000] mainbus0 (root): SUNW,UltraAX-i2 (Sun Fire V100): hostid XXXXXXXX
[   1.0000000] cpu0 at mainbus0: SUNW,UltraSPARC-IIe @ 548 MHz, CPU id 0
[   1.0000000] cpu0: manuf 17, impl 13, mask 33
[   1.0000000] cpu0: system tick frequency 5.555 MHz
[   1.0000000] cpu0: 16K instruction (32 b/l), 16K data (32 b/l), 512K external (64 b/l)
[   1.0000000] psycho0 at mainbus0
[   1.0000000] psycho0: SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 0; PCI bus 0
[   1.0000000] pci0 at psycho0
[   1.0000000] ebus0 at pci0 dev 7 function 0: Acer Labs M1533 PCI-ISA Bridge, revision 0x00
[   1.0000000] dma at ebus0 addr 0-ffff ipl 2a not configured
[   1.0000000] rtc0 at ebus0 addr 70-71: mc146818 compatible time-of-day clock: m5819
[   1.0000000] power at ebus0 addr 2000-2007 ipl 23 not configured
[   1.0000000] lom0 at ebus0 addr 8010-8011 ipl 2a: SUNW,lomh: LOMlite2 rev 3.12
[   1.0000000] com0 at ebus0 addr 3f8-3ff ipl 2b: ns16550a, working fifo
[   1.0000000] com0: console
[   1.0000000] com1 at ebus0 addr 2e8-2ef ipl 2b: ns16550a, working fifo
[   1.0000000] flashprom at ebus0 addr 0-7ffff not configured
[   1.0000000] alipm0 at pci0 dev 3 function 0: 74KHz clock
[   1.0000000] iic0 at alipm0: I2C bus
[   1.0000000] admtemp0 at iic0 addr 0x18: MAX1617A temperature sensor: id. 0x41, rev. 0x34
[   1.0000000] spdmem0 at iic0 addr 0x54
[   1.0000000] spdmem0: SDRAM (registered), data ECC, 512MB, 133MHz (PC-133)
[   1.0000000] spdmem1 at iic0 addr 0x55
[   1.0000000] spdmem1: SDRAM (registered), data ECC, 512MB, 133MHz (PC-133)
[   1.0000000] spdmem2 at iic0 addr 0x56
[   1.0000000] spdmem2: SDRAM (registered), data ECC, 512MB, 133MHz (PC-133)
[   1.0000000] spdmem3 at iic0 addr 0x57
[   1.0000000] spdmem3: SDRAM (registered), data ECC, 512MB, 133MHz (PC-133)
[   1.0000000] seeprom0 at iic0 addr 0x50: i2c-nvram: size 8192
[   1.0000000] seeprom1 at iic0 addr 0x51: motherboard-fru: size 8192
[   1.0000000] tlp0 at pci0 dev 12 function 0: Davicom DM9102A Ethernet, pass 3.1
[   1.0000000] tlp0: interrupting at ivec 3006
[   1.0000000] tlp0: Ethernet address 00:03:ba:XX:XX:XX
[   1.0000000] dmphy0 at tlp0 phy 1: DM9102 10/100 media interface, rev. 0
[   1.0000000] dmphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[   1.0000000] tlp1 at pci0 dev 5 function 0: Davicom DM9102A Ethernet, pass 3.1
interrupt_vector: spurious vector 7de at pil 13
[   1.0000000] tlp1: interrupting at ivec 301c
[   1.0000000] tlp1: Ethernet address 00:03:ba:XX:XX:XX
[   1.0000000] dmphy1 at tlp1 phy 1: DM9102 10/100 media interface, rev. 0
[   1.0000000] dmphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[   1.0000000] ohci0 at pci0 dev 10 function 0: Acer Labs M5237 USB 1.1 Host Controller (rev. 0x03)
[   1.0000000] ohci0: interrupting at ivec 24
[   1.0000000] ohci0: OHCI version 1.0, legacy support
[   1.0000000] usb0 at ohci0: USB revision 1.0
[   1.0000000] aceride0 at pci0 dev 13 function 0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc3)
[   1.0000000] aceride0: using ivec 180c for native-PCI interrupt
[   1.0000000] atabus0 at aceride0 channel 0
[   1.0000000] atabus1 at aceride0 channel 1
[   1.0000000] pcons at mainbus0 not configured
[   1.0000000] entropy: WARNING: extracting entropy too early
[   1.0000338] No counter-timer -- using STICK at 5.555MHz as system clock.
[   1.1500157] uhub0 at usb0: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
[   4.2399788] wd0 at atabus0 drive 0
[   4.2839863] wd0: <SAMSUNG SP0802N>
[   4.3266917] wd0: 76351 MB, 155127 cyl, 16 head, 63 sec, 512 bytes/sect x 156368016 sectors
[   4.5138276] atapibus0 at atabus1: 2 targets
[   4.5699770] cd0 at atapibus0 drive 0: <HL-DT-ST GCE-8525B, , 1.05> cdrom removable
aceride0:1:0: lost interrupt
[   5.8492319]  type: atapi tc_bcount: 32 tc_skip: 0
aceride0:1:0: bus-master DMA error: missing interrupt, status=0x21
[   5.9759980] aceride0:1:0: device timeout, c_bcount=32, c_skip=0
[   5.9759980] cd0: excessive DMA errors - 4 in last 1 transfers
[   6.1152334] cd0(aceride0:1:0): generic HBA error
aceride0:1:0: lost interrupt
[   7.1991845]  type: atapi tc_bcount: 32 tc_skip: 0
aceride0:1:0: bus-master DMA error: missing interrupt, status=0x21
[   7.3259510] aceride0:1:0: device timeout, c_bcount=32, c_skip=0
[   7.3966078] cd0(aceride0:1:0): generic HBA error
[   7.4516797] cd0: sector size 0
aceride0:1:0: lost interrupt
[   8.5091339]  type: atapi tc_bcount: 32 tc_skip: 0
aceride0:1:0: bus-master DMA error: missing interrupt, status=0x21
[   8.6359000] aceride0:1:0: device timeout, c_bcount=32, c_skip=0
[   8.7065567] cd0(aceride0:1:0): generic HBA error
aceride0:1:0: lost interrupt
[   9.7891574]  type: atapi tc_bcount: 32 tc_skip: 0
aceride0:1:0: bus-master DMA error: missing interrupt, status=0x21
[   9.9159244] aceride0:1:0: device timeout, c_bcount=32, c_skip=0
[   9.9865811] cd0(aceride0:1:0): generic HBA error
[  10.0416505] root on cd0a dumps on cd0b
aceride0:1:0: lost interrupt
[  11.1091858]  type: atapi tc_bcount: 32 tc_skip: 0
aceride0:1:0: bus-master DMA error: missing interrupt, status=0x21
[  11.2359522] aceride0:1:0: device timeout, c_bcount=32, c_skip=0
[  11.3066087] cd0(aceride0:1:0): generic HBA error
aceride0:1:0: lost interrupt
[  12.3891051]  type: atapi tc_bcount: 32 tc_skip: 0
aceride0:1:0: bus-master DMA error: missing interrupt, status=0x21
[  12.5158717] aceride0:1:0: device timeout, c_bcount=32, c_skip=0
[  12.5865289] cd0(aceride0:1:0): generic HBA error
[  12.6415988] vfs_mountroot: can't open root device
[  12.6977081] cannot mount root, error = 5
[  12.7444661] root device (default cd0a):

NetBSD 9 STABLE:

ok boot cdrom
Boot device: /pci@1f,0/ide@d/cdrom@2,0:f  File and args:
NetBSD IEEE 1275 Multi-FS Bootblock
Version $NetBSD: bootblk.fth,v 1.15 2015/08/20 05:40:08 dholland Exp $
>> NetBSD/sparc64 OpenFirmware Boot, Revision 1.20 (Mon Aug  3 09:20:29 UTC 2020)
=0x9593a8
Loading netbsd: 9802600+480912+338472 [716496+470955]=0xdea8e8
[   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.0_STABLE (GENERIC) #0: Mon Aug  3 09:20:29 UTC 2020
[   1.0000000]  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/sparc64/compile/GENERIC
[   1.0000000] total memory = 2048 MB
[   1.0000000] avail memory = 1992 MB
[   1.0000000] running cgd selftest aes-xts-256 aes-xts-512 done
[   1.0000000] mainbus0 (root): SUNW,UltraAX-i2 (Sun Fire V100): hostid XXXXXXXX
[   1.0000000] cpu0 at mainbus0: SUNW,UltraSPARC-IIe @ 548 MHz, CPU id 0
[   1.0000000] cpu0: manuf 17, impl 13, mask 33
[   1.0000000] cpu0: system tick frequency 5.555 MHz
[   1.0000000] cpu0: 16K instruction (32 b/l), 16K data (32 b/l), 512K external (64 b/l)
[   1.0000000] psycho0 at mainbus0
[   1.0000000] psycho0: SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 0; PCI bus 0
[   1.0000000] pci0 at psycho0
[   1.0000000] ebus0 at pci0 dev 7 function 0: Acer Labs M1533 PCI-ISA Bridge, revision 0x00
[   1.0000000] dma at ebus0 addr 0-ffff ipl 2a not configured
[   1.0000000] rtc0 at ebus0 addr 70-71: mc146818 compatible time-of-day clock: m5819
[   1.0000000] power at ebus0 addr 2000-2007 ipl 23 not configured
[   1.0000000] lom0 at ebus0 addr 8010-8011 ipl 2a: SUNW,lomh: LOMlite2 rev 3.12
[   1.0000000] com0 at ebus0 addr 3f8-3ff ipl 2b: ns16550a, working fifo
[   1.0000000] com0: console
[   1.0000000] com1 at ebus0 addr 2e8-2ef ipl 2b: ns16550a, working fifo
[   1.0000000] flashprom at ebus0 addr 0-7ffff not configured
[   1.0000000] alipm0 at pci0 dev 3 function 0: 74KHz clock
[   1.0000000] iic0 at alipm0: I2C bus
[   1.0000000] admtemp0 at iic0 addr 0x18: MAX1617A temperature sensor: id. 0x41, rev. 0x34
[   1.0000000] spdmem0 at iic0 addr 0x54
[   1.0000000] spdmem0: SDRAM (registered), data ECC, 512MB, 133MHz (PC-133)
[   1.0000000] spdmem1 at iic0 addr 0x55
[   1.0000000] spdmem1: SDRAM (registered), data ECC, 512MB, 133MHz (PC-133)
[   1.0000000] spdmem2 at iic0 addr 0x56
[   1.0000000] spdmem2: SDRAM (registered), data ECC, 512MB, 133MHz (PC-133)
[   1.0000000] spdmem3 at iic0 addr 0x57
[   1.0000000] spdmem3: SDRAM (registered), data ECC, 512MB, 133MHz (PC-133)
[   1.0000000] seeprom0 at iic0 addr 0x50: i2c-nvram: size 8192
[   1.0000000] seeprom1 at iic0 addr 0x51: motherboard-fru: size 8192
[   1.0000000] tlp0 at pci0 dev 12 function 0: Davicom DM9102A Ethernet, pass 3.1
[   1.0000000] tlp0: interrupting at ivec 3006
[   1.0000000] tlp0: Ethernet address 00:03:ba:XX:XX:XX
[   1.0000000] dmphy0 at tlp0 phy 1: DM9102 10/100 media interface, rev. 0
[   1.0000000] dmphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[   1.0000000] tlp1 at pci0 dev 5 function 0: Davicom DM9102A Ethernet, pass 3.1
[   1.0000000] tlp1: interrupting at ivec 301c
[   1.0000000] tlp1: Ethernet address 00:03:ba:XX:XX:XX
[   1.0000000] dmphy1 at tlp1 phy 1: DM9102 10/100 media interface, rev. 0
[   1.0000000] dmphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[   1.0000000] ohci0 at pci0 dev 10 function 0: Acer Labs M5237 USB 1.1 Host Controller (rev. 0x03)
[   1.0000000] ohci0: interrupting at ivec 24
[   1.0000000] ohci0: OHCI version 1.0, legacy support
[   1.0000000] usb0 at ohci0: USB revision 1.0
[   1.0000000] aceride0 at pci0 dev 13 function 0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc3)
[   1.0000000] aceride0: using ivec 180c for native-PCI interrupt
[   1.0000000] atabus0 at aceride0 channel 0
[   1.0000000] atabus1 at aceride0 channel 1
[   1.0000000] pcons at mainbus0 not configured
[   1.0000356] No counter-timer -- using STICK at 5.555MHz as system clock.
[   1.1300089] uhub0 at usb0: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
[   4.2099777] wd0 at atabus0 drive 0
[   4.2538160] wd0: <SAMSUNG SP0802N>
[   4.2965217] wd0: 76351 MB, 155127 cyl, 16 head, 63 sec, 512 bytes/sect x 156368016 sectors
[   4.3999782] atapibus0 at atabus1: 2 targets
[   4.4499773] cd0 at atapibus0 drive 0: <HL-DT-ST GCE-8525B, , 1.05> cdrom removable
aceride0:1:0: lost interrupt
[   5.5991961]  type: atapi tc_bcount: 32 tc_skip: 0
aceride0:1:0: bus-master DMA error: missing interrupt, status=0x21
[   5.7259624] aceride0:1:0: device timeout, c_bcount=32, c_skip=0
[   5.7259624] cd0: transfer error, downgrading to Ultra-DMA mode 1
[   5.8699635] cd0(aceride0:1:0): generic HBA error
aceride0:1:0: lost interrupt
[   7.9291952]  type: atapi tc_bcount: 32 tc_skip: 0
aceride0:1:0: bus-master DMA error: missing interrupt, status=0x21
[   8.0559614] aceride0:1:0: device timeout, c_bcount=32, c_skip=0
[   8.0559614] cd0: transfer error, downgrading to PIO mode 4
[   8.1921088] cd0(aceride0:1:0): generic HBA error
[   9.2199278] root on cd0a dumps on cd0b
[   9.5599258] root file system type: cd9660
[   9.7499225] kern.module.path=/stand/sparc64/9.0/modules

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index