On Mon, 2008-06-09 at 15:54 +0200, Geert Uytterhoeven wrote:Well, we have the taxonomy. It's something to do with the media change trigger. Could you try getting the output of this patch and correlate the prints with your success and failure cases? Thanks, James --- diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c index 7ee86d4..2b58772 100644 --- a/drivers/scsi/sr.c +++ b/drivers/scsi/sr.c @@ -212,6 +212,8 @@ static int sr_media_change(struct cdrom_device_info *cdi, int slot) if (retval || (scsi_sense_valid(sshdr) && /* 0x3a is medium not present */ sshdr->asc == 0x3a)) { + printk("+10+ the result = 0x%x, skip size update ", retval); + scsi_show_sense_hdr(&sshdr); /* Media not present or unable to test, unit probably not * ready. This usually means there is no disc in the drive. * Mark as changed, and we will figure it out later once @@ -232,7 +234,7 @@ static int sr_media_change(struct cdrom_device_info *cdi, int slot) sr_cd_check(cdi); get_sectorsize(cd); } - + printk("+11+ Return forcing update is %d\n", retval); out: /* Notify userspace, that media has changed. */ if (retval != cd->previous_state) --
| Linus Torvalds | Linux 2.6.27-rc8 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Linus Torvalds | Linux 2.6.20-rc6 |
| Mike Snitzer | Re: Distributed storage. |
git: | |
| Gerrit Renker | [PATCH 03/37] dccp: List management for new feature negotiation |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Herbert Xu | Re: Kernel oops with 2.6.26, padlock and ipsec: probably problem with fpu state ch... |
