On Mon, Jun 25, 2007 at 02:31:49PM -0500, Craig Brozefsky wrote:
> Joachim Schipper <[EMAIL PROTECTED]> writes:
> 
> > You are mounting the wrong device; try /dev/cd0a.
> 
> Ah, I tried that earlier, this is what I get.:
> 
>   [EMAIL PROTECTED]:~/public_html/bbb$ sudo mount -t cd9660 /dev/cd0a 
> /mnt/cdrom
>   mount_cd9660: /dev/cd0a on /mnt/cdrom: Device not configured
>   [EMAIL PROTECTED]:~/public_html/bbb$ sudo mount -t udf /dev/cd0a /mnt/cdrom
>   mount_udf: open: Device not configured
>   [EMAIL PROTECTED]:~/public_html/bbb$ 
> 
> Disklabel shows only one big partition:
> 
>   [EMAIL PROTECTED]:~$ sudo disklabel cd0
>   # /dev/rcd0c:
>   type: ATAPI
>   disk: ATAPI CD-ROM
>   label: fictitious
>   flags:
>   bytes/sector: 2048
>   sectors/track: 100
>   tracks/cylinder: 1
>   sectors/cylinder: 100
>   cylinders: 4001
>   total sectors: 400000
>   rpm: 300
>   interleave: 1
>   trackskew: 0
>   cylinderskew: 0
>   headswitch: 0           # microseconds
>   track-to-track seek: 0  # microseconds
>   drivedata: 0 
> 
>   3 partitions:
>   #             size        offset  fstype [fsize bsize  cpg]
>     c:        400000             0  unused      0     0      # Cyl     0
>   -  3999 

It should be like this

# disklabel cd0
# /dev/rcd0c:
type: ATAPI
disk: MY_DISC
label:
flags:
bytes/sector: 2048
sectors/track: 100
tracks/cylinder: 1
sectors/cylinder: 100
cylinders: 2551
total sectors: 255030
rpm: 300
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

3 partitions:
#             size        offset  fstype [fsize bsize  cpg]
  a:        255030             0 ISO9660                   # Cyl     0 -
2550*
  c:        255030             0 ISO9660                   # Cyl     0 -
2550*
# mount /dev/cd0a /mnt/cd/

> On a whim, I put in a totally blank disc, and disklabel gave the same
> output.  So it would appear that the problem is that the hardware
> and/or driver are not able to recognize the disk?
> 
> What can I do to help debug this?

Start by putting in a disk that really should work - any factory-pressed
disk. If OpenBSD understands this, it means that the disk drive is not
completely unsupported or something stupid like that.

I presume you've already tried reading your disks on another machine.
The next step would be to read the disks on this same machine using
another OS.

Or waiting for someone with more cd9660 smarts than me to tell you why
this doesn't work - I seem to recall some recent work on supporting
multisession CDs, so the cd9660 might not be as complete as we'd like.

                Joachim

Reply via email to