NetBSD-Bugs archive

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

port-mac68k/56973: obio wdc(4) doesn't respond on NetBSD/mac68k 9.3



>Number:         56973
>Category:       port-mac68k
>Synopsis:       obio wdc(4) doesn't respond on NetBSD/mac68k 9.3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-mac68k-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 19 19:25:00 +0000 2022
>Originator:     Izumi Tsutsui
>Release:        NetBSD 9.3
>Organization:
>Environment:
System:  NetBSD 9.3 (WSFB) #0: Thu Aug  4 15:30:37 UTC 2022 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/mac68k/compile/WSFB
Architecture: m68k
Machine: mac68k
>Description:
IDE disks attached on wdc0 at obio0 (at least) my LC630 doesn't
respond (looks no interrupt) on NetBSD/mac68k 9.3 INSTALL, GENERIC,
and WSFB kernels.

Note wd(4) works without problem on NetBSD/mac68k 8.2 INSTALL kernel.

>How-To-Repeat:
Just boot NetBSD/mac68k 9.3 kernels (INSTALL, GENERIC, or WSFB) on LC630.

---
[   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, 2021, 2022
[   1.0000000]     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.3 (WSFB) #0: Thu Aug  4 15:30:37 UTC 2022
[   1.0000000]  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/mac68k/compile/WSFB
[   1.0000000] Apple Macintosh Quadra 630  (68040)
[   1.0000000] cpu: delay factor 1059
[   1.0000000] fpu: emulator
[   1.0000000] total memory = 36864 KB
[   1.0000000] avail memory = 31632 KB
[   1.0000000] mrg: 'Quadra630 ROMs' ROM glue, tracing off, debug off, silent traps
[   1.0000000] mainbus0 (root)
[   1.0000000] obio0 at mainbus0
[   1.0000000] esp0 at obio0 addr 0 (quick): address 0x43a000: NCR53C96, 16MHz, SCSI ID 7
[   1.0000000] scsibus0 at esp0: 8 targets, 8 luns per target
[   1.0000000] wdc0 at obio0 (Quadra/Performa series IDE interface)
[   1.0000000] atabus0 at wdc0 channel 0
[   1.0000000] adb0 at obio0
[   1.0000000] asc0 at obio0: Apple Sound Chip
[   1.0000000] intvid0 at obio0 @ f9001000: Valkyrie video subsystem
[   1.0000000] intvid0: 832 x 624, 256 color
[   1.0000000] genfb0 at intvid0: colormap callback provided
[   1.0000000] wsdisplay0 at genfb0 kbdmux 1
[   1.0000000] sn0 at obio0: integrated SONIC Ethernet adapter
[   1.0000000] sn0: Ethernet address 08:00:07:9f:07:c6
[   1.0000000] iwm0 at obio0: Apple GCR floppy disk controller
[   1.0000000] iwm: Chip revision not supported (-77)
[   1.0000000] zsc0 at obio0 chip type 0
[   1.0000000] zsc0 channel 0: d_speed   9600 DCD clk 0 CTS clk 0
[   1.0000000] zstty0 at zsc0 channel 0 (console i/o)
[   1.0000000] zsc0 channel 1: d_speed   9600 DCD clk 0 CTS clk 0
[   1.0000000] zstty1 at zsc0 channel 1
[   1.0000000] nubus0 at mainbus0
[   1.0166737] scsibus0: waiting 2 seconds for devices to settle...
[   1.1022333] adb0 (direct, Cuda): 2 targets
[   1.1551847] aed0 at adb0 addr 0: ADB Event device
[   1.2136929] akbd0 at adb0 addr 2: keyboard II (Japanese layout)
[   1.2836020] wskbd0 at akbd0 mux 1
[   1.3148750] ams0 at adb0 addr 3: 1-button, 100 dpi mouse
[   1.4147614] wsmouse0 at ams0 mux 0
[   3.1948114] sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST51080N, 0958> disk fixed
[   3.2948459] sd0: 1030 MB, 4826 cyl, 4 head, 109 sec, 512 bytes/sect x 2109840 sectors
[   3.3856866] sd0: sync (248.00ns offset 15), 8-bit (4.032MB/s) transfers, tagged queueing
[   3.8612547] cd0 at scsibus0 target 3 lun 0: <MATSHITA, CD-ROM CR-8008, 8.0e> cdrom removable
[   3.9668154] cd0: sync (248.00ns offset 15), 8-bit (4.032MB/s) transfers
[   7.3451280] wd0 at atabus0 drive 0
[   7.4118151] wd0: <IBM-DALA-3360>
[   7.4498525] wd0: 348 MB, 929 cyl, 16 head, 48 sec, 512 bytes/sect x 713472 sectors
swwdog0: software watchdog initialized
[   7.5268120] boot device: sd0
[   7.5948740] root on sd0a dumps on sd0b
[   7.7282009] root file system type: ffs
[   7.7948855] kern.module.path=/stand/mac68k/9.3/modules
Enter pathname of shell or RETURN for /bin/sh:
We recommend creating a non-root account and using su(1) for root access.
# diskabel wd0

[looks no interrupt though there are keyboard echos]
---

>Fix:
Unknown.

There are major attachment changes for NCQ support between
netbsd-8 and netbsd-9, but changes in mac68k/obio/wdc_obio.c looks okay
for me.



Home | Main Index | Thread Index | Old Index