mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: Joel Soete <soete.joel@scarlet.be>
Cc: Luming Yu <luming.yu@gmail.com>, Alan Cox <alan@redhat.com>,
	Ioan Ionita <opslynx@gmail.com>, Alan <alan@lxorguk.ukuu.org.uk>,
	linux-kernel@vger.kernel.org, jgarzik@pobox.com
Subject: Re: 2.6.20-rc6 libata PATA ATAPI CDROM is not working
Date: Tue, 20 Feb 2007 20:21:32 +0900	[thread overview]
Message-ID: <45DAD9BC.8040008@gmail.com> (raw)
In-Reply-To: <45D6DFC8.4060503@scarlet.be>

Joel Soete wrote:
> Ok comparing the content of the original image:
> # mount -t iso9660 -o ro -o loop /MultiCd/cd060213.iso /mnt/cd
> # find /mnt/cd -type f -exec md5sum {} \;
> 37149d4961c0484f2cceb1a1614b253d  /mnt/cd/boot.cat
> 4ab996554b0e7ade115a3f284b876612  /mnt/cd/boot.msg
> fbdc51c29d54dd227427b2ef90e1961e  /mnt/cd/initrd.cgz
> 92c9a50bed71257c29f069ec5dd819fc  /mnt/cd/isolinux.bin
> 927ce1096693b3a44af0e0d8a2ad720c  /mnt/cd/isolinux.cfg
> 4afcf65ff8259a3bccd0cf9f91675529  /mnt/cd/scsi.cgz
> 4714742585da795c3a69c262ce8c35ef  /mnt/cd/vmlinuz
> 
> and the content of the burned cd:
> # mount /cdrom
> # find /cdrom -type f -exec md5sum {} \;
> 37149d4961c0484f2cceb1a1614b253d  /cdrom/boot.cat
> 4ab996554b0e7ade115a3f284b876612  /cdrom/boot.msg
> fbdc51c29d54dd227427b2ef90e1961e  /cdrom/initrd.cgz
> 92c9a50bed71257c29f069ec5dd819fc  /cdrom/isolinux.bin
> 927ce1096693b3a44af0e0d8a2ad720c  /cdrom/isolinux.cfg
> 4afcf65ff8259a3bccd0cf9f91675529  /cdrom/scsi.cgz
> 4714742585da795c3a69c262ce8c35ef  /cdrom/vmlinuz
> 
> it seems ok?
> 
> What is it lost???

Probably length got screwed somewhere.  Hmm... will do some testing.

>>> 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
> [snip]
>>> /dev/sdc23       881+   1533     653-   5245191   83  Linux
>>> /dev/sdc24      1795    1825      31     249007+  83  Linux
>>
>> Whee, you have 24 partitions?
> yes: it was dated from the early time I was testing various distro to
> choose one ;-)
> 
>>  Due to the way SCSI block device numbers are laid out, SCSI supports
>> only upto 15 partitions per device.
>>
> Ah, I never had chance to use a disk array with fc connection on one of
> my linux boxe, so I don't know how can it works with up to 255 luns?

Each lun is handled as a separate scsi device and as such allocated 16
minor numbers if it is a block device.  Will check if the minor number
limit can be worked around somehow.

-- 
tejun

  reply	other threads:[~2007-02-20 11:21 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-16 23:22 2.6.19-rc5 libata PATA ATAPI CDROM SiS 5513 NOT WORKING Ioan Ionita
2006-11-16 23:50 ` Alan
2006-11-17  1:30   ` Ioan Ionita
2006-11-17  1:34     ` Ioan Ionita
2006-11-17 10:05       ` Alan Cox
2006-11-17 15:44         ` Ioan Ionita
2006-12-27 14:44         ` Joel Soete
2006-12-28 21:50           ` Joel Soete
2007-01-03  4:31             ` Tejun Heo
2007-01-03 17:19               ` Joel Soete
2007-01-27 13:22                 ` 2.6.20-rc6 libata PATA ATAPI CDROM is not working Joel Soete
2007-01-27 14:10                   ` Luming Yu
2007-01-27 14:42                     ` Joel Soete
2007-02-12  0:58                       ` Tejun Heo
2007-02-12 20:42                         ` Joel Soete
2007-02-13 17:35                           ` Joel Soete
2007-02-13 18:15                             ` Bartlomiej Zolnierkiewicz
2007-02-13 18:34                               ` Alan
2007-02-17 12:07                               ` Joel Soete
2007-02-17 12:52                                 ` Bartlomiej Zolnierkiewicz
2007-02-13 18:22                             ` Tejun Heo
2007-02-17 10:58                               ` Joel Soete
2007-02-20 11:21                                 ` Tejun Heo [this message]
2007-02-13 19:57                             ` Lennart Sorensen
2007-02-17 11:33                               ` Joel Soete
2007-02-17 14:59                                 ` Lennart Sorensen
2007-02-17 18:26                                   ` Joel Soete
2007-02-21  2:55                         ` Ioan Ionita
2007-02-20  7:40 Joel Soete

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45DAD9BC.8040008@gmail.com \
    --to=htejun@gmail.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=alan@redhat.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luming.yu@gmail.com \
    --cc=opslynx@gmail.com \
    --cc=soete.joel@scarlet.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome