NetBSD Problem Report #57740

From www@netbsd.org  Fri Dec  1 19:14:34 2023
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 160891A9238
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  1 Dec 2023 19:14:34 +0000 (UTC)
Message-Id: <20231201191432.891BF1A9239@mollari.NetBSD.org>
Date: Fri,  1 Dec 2023 19:14:32 +0000 (UTC)
From: scole@sdf.org
Reply-To: scole@sdf.org
To: gnats-bugs@NetBSD.org
Subject: cdroms detected but not working
X-Send-Pr-Version: www-1.0

>Number:         57740
>Category:       kern
>Synopsis:       cdroms detected but not working
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 01 19:15:00 +0000 2023
>Originator:     scole
>Release:        10.0_RC1
>Organization:
>Environment:
NetBSD dstar.dstar.net 10.0_RC1 NetBSD 10.0_RC1 (GENERIC) #0: Sun Nov 12 11:23:07 PST 2023  scole@dstar.dstar.net:/home/scole/nbsd/cvs/10_0/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
- the 2 cdroms I have are not working, a sata and usb drive.
  The sata drive used to work for one mount
  (https://gnats.netbsd.org/51331) in early versions of 9.0 but now it
  won't work at all and cdrecord can no longer detect it.  I used to
  be able to access the raw device with cdrecord and dd.
  I checked there is nothing wrong with these drives by using them
  with another OS.  The usb cdrom I have is new so I'm not sure if it
  worked on NetBSD 9.3 before I upgraded.

SATA CDROM:
[     2.901746] cd0 at atapibus0 drive 0: <HL-DT-STDVD-RAM GH22NS30, , 1.00> cdrom removable
[     2.901746] cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
[     2.901746] cd0(ahcisata1:4:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)

dstar# mount_cd9660 /dev/cd0a /mnt
mount_cd9660: /dev/cd0a on /mnt: Operation not supported by device

USB CDROM:
/netbsd: [ 693538.1201076] umass0 at uhub1 port 8 configuration 1 interface 0
/netbsd: [ 693538.1201076] umass0: IT-CEO (0x1132) IT-CEO USB Device (0x4511), rev 2.00/1.14, addr 54
/netbsd: [ 693538.1201076] umass0: using ATAPI over Bulk-Only
/netbsd: [ 693538.1301071] atapibus1 at umass0: 2 targets
/netbsd: [ 693538.1301071] cd1 at atapibus1 drive 0: <HL-DT-ST, DVD+-RW GT32N, A203> cdrom removable
/netbsd: [ 693543.1401322] cd1(umass0:0:0): generic HBA error
syslogd[759]: last message repeated 3 times
/netbsd: [ 693543.1401322] cd1(umass0:0:0): passthrough: adapter inconsistency
/netbsd: [ 693543.1601323] cd1(umass0:0:0): generic HBA error
/netbsd: [ 693543.1601323] cd1(umass0:0:0): generic HBA error
/netbsd: [ 693543.1601323] cd1: detached
/netbsd: [ 693543.1601323] atapibus1: detached
/netbsd: [ 693543.1601323] umass0: detached
/netbsd: [ 693543.1601323] umass0: at uhub1 port 8 (addr 54) disconnected
/netbsd: [ 693545.2101436] umass0 at uhub1 port 8 configuration 1 interface 0
/netbsd: [ 693545.2101436] umass0: IT-CEO (0x1132) IT-CEO USB Device (0x4511), rev 2.00/1.14, addr 55
/netbsd: [ 693545.2101436] umass0: using ATAPI over Bulk-Only
/netbsd: [ 693545.2201445] atapibus1 at umass0: 2 targets
/netbsd: [ 693545.2201445] cd1 at atapibus1 drive 0: <HL-DT-ST, DVD+-RW GT32N, A203> cdrom removable
/netbsd: [ 693550.2301689] cd1(umass0:0:0): generic HBA error
syslogd[759]: last message repeated 3 times

dstar# cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 3.02 2022/08/18 (amd64-unknown-netbsd9.3.) Copyright (C) 1995-2019 Joerg Schilling
cdrecord: Invalid argument. Cannot open or use SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

>How-To-Repeat:
try to mount cdrom drive or use "cdrecord -scanbus" from pkgsrc/sysutils/cdrtools
>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.