Subject: kern/11553: cd1(umass0:0:0): readonly device
To: None <gnats-bugs@gnats.netbsd.org>
From: Steinar Hamre <steinarh@pvv.ntnu.no>
List: netbsd-bugs
Date: 11/23/2000 07:54:16
>Number:         11553
>Category:       kern
>Synopsis:       USB ("atapi") CDROM does not work
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 23 07:54:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Steinar Hamre <steinarh@pvv.ntnu.no>
>Release:        netbsd-1-5 cvs from 2000-11-15
>Organization:
Programvareverkstedet
Norwegian University of Science and Technology
	
>Environment:
	
System: NetBSD lizard.pvv.ntnu.no 1.5_BETA2 NetBSD 1.5_BETA2 (LIZARD) #25: Wed Nov 15 19:16:44 CET 2000 root@lizard.pvv.ntnu.no:/usr/src/sys/arch/i386/compile/LIZARD i386

>Description:
	

I'm trying a Sony USB CD-RW. It's dectected as:

umass0 at uhub1 port 3 configuration 1 interface 0
umass0: SONY USB Mass STORAGE, rev 1.00/2.00, addr 4
umass0: using SFF8020i over CBI
atapibus2 at umass0 channel 0
cd1 at atapibus2 drive 0: <SONY, CD-RW  CRX120E, 1.0j> type 5 cdrom removable

# usbdevs
addr 1: UHCI root hub, VIA Technologie
 addr 2: Nokia USB Hub Type P, Nokia Display Products Oy
  addr 3: Nokia USB Monitor Control, Nokia Display Products Oy
  addr 4: USB Mass STORAGE, SONY
 addr 5: USB-PS/2 Mouse, Logitech

But any attempt to read (dd if=/dev/rcd1a) or mount the device is met with:
dd: /dev/rcd1d: Read-only file system
cd1(umass0:0:0): readonly device

>How-To-Repeat:
	

# mount -t cd9660 /dev/cd1a /mnt
mount_cd9660: /dev/cd1a on /mnt: Read-only file system

at the same time this is sysloged:
cd1(umass0:0:0): readonly device

>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: