[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4780DDBB.7090807@m3y3r.de>
Date: Sun, 06 Jan 2008 14:55:07 +0100
From: Thomas Meyer <thomas@...3r.de>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Peter Osterlund <petero2@...ia.com>,
Linus Torvalds <torvalds@...ux-foundation.org>, matthew@....cx,
Ingo Molnar <mingo@...e.hu>,
James.Bottomley@...senPartnership.com
Subject: Re: [patch] scsi: revert "[SCSI] Get rid of scsi_cmnd->done"
Hi,
I confirm Peter's observations:
> To repeat:
>
> 1. Start with an empty drive.
> 2. pktsetup 0 /dev/scd0
> 3. Insert a CD containing an isofs filesystem.
> 4. mount /dev/pktcdvd/0 /mnt/tmp
> 5. umount /mnt/tmp
> 6. Press the eject button.
> 7. Insert a DVD containing a non-writable filesystem.
> 8. mount /dev/scd0 /mnt/tmp
> 9. find /mnt/tmp -type f -print0 | xargs -0 sha1sum >/dev/null
> 10. If the DVD contains data beyond the physical size of a CD, you
> get I/O errors in the terminal, and dmesg reports lots of
> "attempt to access beyond end of device" errors.
This is the correct setup to trigger the bug. And the commit
6f5391c283d7fdcf24bf40786ea79061919d1e1d has nothing to do with this
bug. It was bad luck that i couldn't trigger the bug with said commit
reverted (in my tests, the second boot with the reverted commit missed
the first mount/umount smaller cd step, so...)
So sorry for all the mess and stress.
I'm glad that Peter found the real nature of this bug.
mfg
thomas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists