NetBSD-Bugs archive

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

port-hppa/61030: hppa: ATAPI CD-ROM on nside(4) not detected unless PDC accessed it first



>Number:         61030
>Category:       port-hppa
>Synopsis:       hppa: ATAPI CD-ROM on nside(4) not detected unless PDC accessed it first
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-hppa-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 19 20:00:00 +0000 2026
>Originator:     Brandon Applegate
>Release:        NetBSD 11.99.11 (daily 20261116083232Z)
>Organization:
>Environment:
NetBSD c3700.retronet.burn.net 11.99.11 NetBSD 11.99.11 (GENERIC-AC97_TEST) #1: Thu Nov 19 13:07:56 EST 2026  root%c3700.retronet.burn.net@localhost:/usr/src/sys/arch/hppa/compile/GENERIC-AC97_TEST hppa

HP 9000/785 C3700, PA-8700
Onboard NS PC87415 IDE (nside0), on pci0
Drive: HITACHI DVD-ROM GD-3000, firmware 020S, master on the
first channel
>Description:
The IDE CD-ROM drive only attaches if PDC has accessed it
earlier in the same power-on session:

  - booting from the CD (as during the install): cd0 attaches
  - running "search" at the PDC prompt before booting: cd0
    attaches
  - otherwise, on both cold and warm boots: no cd0, and
    hw.disknames lists only sd0

When it works:

  cd0 at atapibus0 drive 0: <HITACHI DVD-ROM GD-3000, , 020S> cdrom removable
  cd0: drive supports PIO mode 4, DMA mode 2
  cd0(nside0:0:0): using PIO mode 4, DMA mode 2 (using DMA)

When it fails, nside0, atabus0 and atabus1 all attach, but no
device is found on either channel. Running "drvctl -r atabus0"
and "drvctl -r atabus1" after boot does not find the drive
either.

The installer's RAMDISK kernel is GENERIC plus memory-disk
options, so the same drivers are present in both cases. It
looks like the drive does not answer NetBSD's probe or reset
until PDC has initialized it ?
>How-To-Repeat:
Power-cycle a C3700 with an ATAPI CD-ROM on the onboard IDE
and boot NetBSD without stopping at PDC:

  sysctl hw.disknames

Repeat with "search" at the PDC prompt before booting and
compare.
>Fix:
Workaround: run "search" at the PDC prompt before booting.




Home | Main Index | Thread Index | Old Index