NetBSD-Bugs archive

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

Re: bin/51331: cdrom will not mount after first time



The following reply was made to PR bin/51331; it has been noted by GNATS.

From: scole_mail%gmx.com@localhost
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/51331: cdrom will not mount after first time
Date: Tue, 12 Jul 2016 10:14:07 -0400

 Robert Elz <kre%munnari.OZ.AU@localhost> writes:
 
 >  
 >  You could test this hypothesis by getting to the point where /dev/cd0a mounts
 >  are failing, and then try
 >  
 >  	mount -t cd9660 -r /dev/cd0d /cdrom
 >  
 >  and see if that works.
 >  
 
 >  
 >  You could also test this more by ejecting using the button on the drive,
 >  rather than the command - if you can still mount the cd after ejecting
 >  and reloading that way, I suspect we will have understood the problem,
 >  and only need a suitable patch to clear PERIPH_MEDIA_LOADED at appropriate
 >  places.
 >  
 
 So I went through a typical sequence below (as well as others), most
 of the time mounting the cd0d would work, either with the button or
 eject command, but I did eventually get the error below, and then
 couldn't mount anymore with either cd0a or cd0d.
 
 The error seemed to happen (most of the time?) when the cd motor sounded
 like it was still spinning and trying to do the mount command, but it
 didn't happen every time, i.e., the mount command would succeed.
 
 dstar# mount /cdrom	(cd0a, works)
 dstar# umount /cdrom	(works fine)
 			(try to eject cdrom with button, fails)
 dstar# eject cdrom	(works)
 			(close cdrom door with button)
 dstar# mount /cdrom
 mount_cd9660: /dev/cd0a on /cdrom: Device not configured
 dstar# mount -t cd9660 -r /dev/cd0d /cdrom  (works)
 dstar# umount /cdrom	(command works)
 			(eject with button, works)
 			(close cdrom with button)
 dstar# mount -t cd9660 -r /dev/cd0d /cdrom	(works)
 dstar# umount /cdrom				(works)
 dstar# mount -t cd9660 -r /dev/cd0d /cdrom	(works)
 dstar# umount /cdrom				(works)
 dstar# eject cdrom				(works)
 				(close cdrom with button)
 dstar# mount -t cd9660 -r /dev/cd0d /cdrom	(works)
 dstar# umount /cdrom				(works)
 						(eject with button)
 dstar# mount -t cd9660 -r /dev/cd0d /cdrom
 mount_cd9660: /dev/cd0d on /cdrom: Input/output error (kernel logged error below)
 
 Jul 12 09:45:28 dstar /netbsd: cd0(ahcisata0:2:0):  Check Condition on CDB: 0x28 00 00 00 00 10 00 00 01 00
 Jul 12 09:45:28 dstar /netbsd:    SENSE KEY:  Unit Attention
 Jul 12 09:45:28 dstar /netbsd:     ASC/ASCQ:  Not Ready To Ready Transition (Medium May Have Changed)
 Jul 12 09:45:28 dstar /netbsd: 
 
 (Yes the last line from kernel error messages was blank)
 
 Thanks
 


Home | Main Index | Thread Index | Old Index