Re: 2.6.20-rc6 libata PATA ATAPI CDROM is not working

From: Tejun Heo
Date: Tue Feb 13 2007 - 13:22:43 EST


Hello, Joel.

Joel Soete wrote:
A small update:
your patch also works against 2.6.20

Glad to hear that.

but seems that open the door to numerous other pb:
1/ pb to burn cd:
# md5sum cd060213.iso
6a1248783a21722816b972aa9bae9d5e cd060213.iso

# ll cd060213.iso
-rwxr-xr-x 1 root root 3213312 Feb 13 2006 cd060213.iso

# dd if=/dev/sr0 bs=1 count=3213312 | md5sum
dd: reading `/dev/sr0': Input/output error
0337e9846d17779945c5c252d4f897f0 -
3129344+0 records in
3129344+0 records out
3129344 bytes (3.1 MB) copied, 36.6963 seconds, 85.3 kB/s

eventhought cdrecord seems to be successfull???

Hmm... 82K difference. Can you burn an iso and md5sum the files contained in the image and burned cd?

2/ (but that should be much more related to scsi api) sdcXX > sdc15 doesn't works ;-(
# sfdisk -l /dev/sdc

Disk /dev/sdc: 1826 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/sdc1 * 0+ 195 196- 1574338+ b W95 FAT32
/dev/sdc2 196 1825 1630 13092975 5 Extended
/dev/sdc3 0 - 0 0 0 Empty
/dev/sdc4 0 - 0 0 0 Empty
/dev/sdc5 * 196+ 197 2- 16033+ 83 Linux
/dev/sdc6 * 198+ 199 2- 16033+ 83 Linux
/dev/sdc7 200+ 201 2- 16033+ 83 Linux
/dev/sdc8 202+ 217 16- 128488+ 82 Linux swap / Solaris
/dev/sdc9 218+ 478 261- 2096451 83 Linux
/dev/sdc10 479+ 486 8- 64228+ 83 Linux
/dev/sdc11 487+ 488 2- 16033+ 83 Linux
/dev/sdc12 489+ 504 16- 128488+ 83 Linux
/dev/sdc13 505+ 618 114- 915673+ 83 Linux
/dev/sdc14 619+ 620 2- 16033+ 83 Linux
/dev/sdc15 621+ 636 16- 128488+ 83 Linux
/dev/sdc16 637+ 644 8- 64228+ 83 Linux
/dev/sdc17 645+ 646 2- 16033+ 83 Linux
/dev/sdc18 647+ 654 8- 64228+ 83 Linux
/dev/sdc19 655+ 656 2- 16033+ 83 Linux
/dev/sdc20 657+ 773 117- 939771 83 Linux
/dev/sdc21 774+ 789 16- 128488+ 83 Linux
/dev/sdc22 790+ 880 91- 730926 83 Linux
/dev/sdc23 881+ 1533 653- 5245191 83 Linux
/dev/sdc24 1795 1825 31 249007+ 83 Linux

Whee, you have 24 partitions? Due to the way SCSI block device numbers are laid out, SCSI supports only upto 15 partitions per device.

--
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/