List Info

Thread: difficulties mounting DVDs I burn with growisofs




difficulties mounting DVDs I burn with growisofs
country flaguser name
United States
2007-06-25 11:48:14
I recently burned two DVDs with my new DVD burner and I am
unable to
mount them on my OpenBSD box using the same burner, tho my
Linux
laptop mounts them.  I am running OpenBSD 4.1 amd64.  Pleae
let me
know if there is any other information that would help, or
things I
could try to get more debugging info to developers.

Here is the drive id:

  craigpiracy:~$ sudo atactl cd0 identify
  Model: TSSTcorpCD/DVDW SH-S182D, Rev: SB01, Serial #: 
  Device type: ATAPI, fixed
  Cylinders: 0, heads: 0, sec/track: 0, total sectors: 0
  Device capabilities:
          IORDY operation
          IORDY disabling
  Device has enabled the following command sets/features:


I burned them with growisofs.  One had -dvd-compat turned
on, and the
other did not.

  craigpiracy:~$ sudo mount -t udf /dev/cd0c /mnt/cdrom 
  mount_udf: mount: Invalid argument
  craigpiracy:~$ sudo mount -t cd9660 /dev/cd0c /mnt/cdrom 
  mount_cd9660: /dev/cd0c on /mnt/cdrom: Invalid argument

Here is what shows up in dmesg:

  Jun 25 01:21:07 piracy /bsd: cd0(atapiscsi0:0:0): Check
  Condition (error 0x70) on opcode 0x28
  Jun 25 01:21:07 piracy /bsd:     SENSE KEY: Illegal
Request
  Jun 25 01:21:07 piracy /bsd:      ASC/ASCQ: Logical Block
Address
  Out of Range


Here is my dmesg output from the last boot:

Jun 17 00:09:14 piracy /bsd: OpenBSD 4.1-stable (GENERIC)
#5: Tue May  8 00:59:32 CDT 2007
Jun 17 00:09:14 piracy /bsd:     rootpiracy.kokonino.net:/usr/src/sys/arch/amd64/compile/G
ENERIC
Jun 17 00:09:14 piracy /bsd: real mem = 1073278976
(1048124K)
Jun 17 00:09:14 piracy /bsd: avail mem = 907526144
(886256K)
Jun 17 00:09:14 piracy /bsd: using 22937 buffers containing
107536384 bytes (105016K) of memory
Jun 17 00:09:14 piracy /bsd: mainbus0 (root)
Jun 17 00:09:14 piracy /bsd: bios0 at mainbus0: SMBIOS rev.
2.3 
0xf0000 (39 entries)
Jun 17 00:09:14 piracy /bsd: bios0: http://www.abit.com.tw/
AV8 (VIA K8T800P-8237)
Jun 17 00:09:14 piracy /bsd: acpi at mainbus0 not
configured
Jun 17 00:09:14 piracy /bsd: cpu0 at mainbus0:
(uniprocessor)
Jun 17 00:09:14 piracy /bsd: cpu0: AMD Athlon(tm) 64
Processor 3500+, 2247.70 MHz
Jun 17 00:09:14 piracy /bsd: cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMO
V,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,LONG,3DNOW2,3D
NOW
Jun 17 00:09:14 piracy /bsd: cpu0: 64KB 64b/line 2-way
I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way
L2 cache
Jun 17 00:09:14 piracy /bsd: cpu0: ITLB 32 4KB entries fully
associative, 8 4MB entries fully associative
Jun 17 00:09:14 piracy /bsd: cpu0: DTLB 32 4KB entries fully
associative, 8 4MB entries fully associative
Jun 17 00:09:14 piracy /bsd: cpu0: AMD errata 86, 89, 97,
104 present, BIOS upgrade may be required
Jun 17 00:09:14 piracy /bsd: pci0 at mainbus0 bus 0:
configuration mode 1
Jun 17 00:09:14 piracy /bsd: pchb0 at pci0 dev 0 function 0
"VIA K8HTB Host" rev 0x00
Jun 17 00:09:14 piracy /bsd: pchb1 at pci0 dev 0 function 1
"VIA K8HTB Host" rev 0x00
Jun 17 00:09:14 piracy /bsd: pchb2 at pci0 dev 0 function 2
"VIA K8HTB Host" rev 0x00
Jun 17 00:09:14 piracy /bsd: pchb3 at pci0 dev 0 function 3
"VIA K8HTB Host" rev 0x00
Jun 17 00:09:14 piracy /bsd: pchb4 at pci0 dev 0 function 4
"VIA K8HTB Host" rev 0x00
Jun 17 00:09:14 piracy /bsd: pchb5 at pci0 dev 0 function 7
"VIA K8HTB Host" rev 0x00
Jun 17 00:09:14 piracy /bsd: ppb0 at pci0 dev 1 function 0
"VIA K8HTB AGP" rev 0x00
Jun 17 00:09:14 piracy /bsd: pci1 at ppb0 bus 1
Jun 17 00:09:15 piracy /bsd: vga1 at pci1 dev 0 function 0
"ATI Radeon 9200 PRO" rev 0x01
Jun 17 00:09:15 piracy /bsd: wsdisplay0 at vga1 mux 1:
console (80x25, vt100 emulation)
Jun 17 00:09:15 piracy /bsd: wsdisplay0: screen 1-5 added
(80x25, vt100 emulation)
Jun 17 00:09:15 piracy /bsd: "ATI Radeon 9200 PRO
Sec" rev 0x01 at pci1 dev 0 function 1 not configured
Jun 17 00:09:15 piracy /bsd: "VIA VT6306 FireWire"
rev 0x46 at pci0 dev 7 function 0 not configured
Jun 17 00:09:15 piracy /bsd: dc0 at pci0 dev 9 function 0
"Lite-On PNIC" rev 0x20: irq 11, address
00:c0:f0:56:30:06
Jun 17 00:09:15 piracy /bsd: mtdphy0 at dc0 phy 1: MTD972
10/100 PHY, rev. 8
Jun 17 00:09:15 piracy /bsd: vge0 at pci0 dev 14 function 0
"VIA VT612x" rev 0x11: irq 10, address
00:50:8d:d3:6b:86
Jun 17 00:09:15 piracy /bsd: ciphy0 at vge0 phy 1: Cicada
CS8201 10/100/1000TX PHY, rev. 2
Jun 17 00:09:15 piracy /bsd: pciide0 at pci0 dev 15 function
0 "VIA VT6420 SATA" rev 0x80: DMA
Jun 17 00:09:15 piracy /bsd: pciide0: using irq 11 for
native-PCI interrupt
Jun 17 00:09:15 piracy /bsd: wd0 at pciide0 channel 0 drive
0: <WDC WD2000JS-60NCB1>
Jun 17 00:09:15 piracy /bsd: wd0: 16-sector PIO, LBA48,
190782MB, 390721968 sectors
Jun 17 00:09:15 piracy /bsd: wd0(pciide0:0:0): using PIO
mode 4, Ultra-DMA mode 5
Jun 17 00:09:15 piracy /bsd: pciide1 at pci0 dev 15 function
1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0
configured to compatibility, channel 1 configured to
compatibility
Jun 17 00:09:15 piracy /bsd: wd1 at pciide1 channel 0 drive
0: <IC35L080AVVA07-0>
Jun 17 00:09:15 piracy /bsd: wd1: 16-sector PIO, LBA,
78533MB, 160836480 sectors
Jun 17 00:09:15 piracy /bsd: wd1(pciide1:0:0): using PIO
mode 4, Ultra-DMA mode 5
Jun 17 00:09:15 piracy /bsd: atapiscsi0 at pciide1 channel 1
drive 0
Jun 17 00:09:15 piracy /bsd: scsibus0 at atapiscsi0: 2
targets
Jun 17 00:09:15 piracy /bsd: cd0 at scsibus0 targ 0 lun 0:
<TSSTcorp, CD/DVDW SH-S182D, SB01> SCSI0 5/cdrom
removable
Jun 17 00:09:15 piracy /bsd: cd0(pciide1:1:0): using PIO
mode 4, Ultra-DMA mode 2
Jun 17 00:09:15 piracy /bsd: uhci0 at pci0 dev 16 function 0
"VIA VT83C572 USB" rev 0x81: irq 5
Jun 17 00:09:15 piracy /bsd: usb0 at uhci0: USB revision
1.0
Jun 17 00:09:15 piracy /bsd: uhub0 at usb0
Jun 17 00:09:15 piracy /bsd: uhub0: VIA UHCI root hub, rev
1.00/1.00, addr 1
Jun 17 00:09:15 piracy /bsd: uhub0: 2 ports with 2
removable, self powered
Jun 17 00:09:15 piracy /bsd: uhci1 at pci0 dev 16 function 1
"VIA VT83C572 USB" rev 0x81: irq 5
Jun 17 00:09:15 piracy /bsd: usb1 at uhci1: USB revision
1.0
Jun 17 00:09:15 piracy /bsd: uhub1 at usb1
Jun 17 00:09:15 piracy /bsd: uhub1: VIA UHCI root hub, rev
1.00/1.00, addr 1
Jun 17 00:09:15 piracy /bsd: uhub1: 2 ports with 2
removable, self powered
Jun 17 00:09:15 piracy /bsd: uhci2 at pci0 dev 16 function 2
"VIA VT83C572 USB" rev 0x81: irq 11
Jun 17 00:09:15 piracy /bsd: usb2 at uhci2: USB revision
1.0
Jun 17 00:09:15 piracy /bsd: uhub2 at usb2
Jun 17 00:09:15 piracy /bsd: uhub2: VIA UHCI root hub, rev
1.00/1.00, addr 1
Jun 17 00:09:15 piracy /bsd: uhub2: 2 ports with 2
removable, self powered
Jun 17 00:09:15 piracy /bsd: uhci3 at pci0 dev 16 function 3
"VIA VT83C572 USB" rev 0x81: irq 11
Jun 17 00:09:15 piracy /bsd: usb3 at uhci3: USB revision
1.0
Jun 17 00:09:15 piracy /bsd: uhub3 at usb3
Jun 17 00:09:15 piracy /bsd: uhub3: VIA UHCI root hub, rev
1.00/1.00, addr 1
Jun 17 00:09:15 piracy /bsd: uhub3: 2 ports with 2
removable, self powered
Jun 17 00:09:15 piracy /bsd: ehci0 at pci0 dev 16 function 4
"VIA VT6202 USB" rev 0x86: irq 11
Jun 17 00:09:15 piracy /bsd: usb4 at ehci0: USB revision
2.0
Jun 17 00:09:15 piracy /bsd: uhub4 at usb4
Jun 17 00:09:15 piracy /bsd: uhub4: VIA EHCI root hub, rev
2.00/1.00, addr 1
Jun 17 00:09:15 piracy /bsd: uhub4: 8 ports with 8
removable, self powered
Jun 17 00:09:15 piracy /bsd: viapm0 at pci0 dev 17 function
0 "VIA VT8237 ISA" rev 0x00
Jun 17 00:09:15 piracy /bsd: iic0 at viapm0
Jun 17 00:09:15 piracy /bsd: auvia0 at pci0 dev 17 function
5 "VIA VT8233 AC97" rev 0x60: irq 11
Jun 17 00:09:15 piracy /bsd: ac97: codec id 0x414c4780
(Avance Logic ALC658 rev 0)
Jun 17 00:09:15 piracy /bsd: ac97: codec features 20 bit
DAC, 18 bit ADC, No 3D Stereo
Jun 17 00:09:15 piracy /bsd: audio0 at auvia0
Jun 17 00:09:15 piracy /bsd: pchb6 at pci0 dev 24 function 0
"AMD AMD64 HyperTransport" rev 0x00
Jun 17 00:09:15 piracy /bsd: pchb7 at pci0 dev 24 function 1
"AMD AMD64 Address Map" rev 0x00
Jun 17 00:09:15 piracy /bsd: pchb8 at pci0 dev 24 function 2
"AMD AMD64 DRAM Cfg" rev 0x00
Jun 17 00:09:15 piracy /bsd: pchb9 at pci0 dev 24 function 3
"AMD AMD64 Misc Cfg" rev 0x00
Jun 17 00:09:15 piracy /bsd: isa0 at mainbus0
Jun 17 00:09:15 piracy /bsd: isadma0 at isa0
Jun 17 00:09:15 piracy /bsd: com0 at isa0 port 0x3f8/8 irq
4: ns16550a, 16 byte fifo
Jun 17 00:09:15 piracy /bsd: pckbc0 at isa0 port 0x60/5
Jun 17 00:09:15 piracy /bsd: pckbd0 at pckbc0 (kbd slot)
Jun 17 00:09:15 piracy /bsd: pckbc0: using irq 1 for kbd
slot
Jun 17 00:09:15 piracy /bsd: wskbd0 at pckbd0: console
keyboard, using wsdisplay0
Jun 17 00:09:15 piracy /bsd: pmsi0 at pckbc0 (aux slot)
Jun 17 00:09:15 piracy /bsd: pckbc0: using irq 12 for aux
slot
Jun 17 00:09:15 piracy /bsd: wsmouse0 at pmsi0 mux 0
Jun 17 00:09:15 piracy /bsd: pcppi0 at isa0 port 0x61
Jun 17 00:09:15 piracy /bsd: midi0 at pcppi0: <PC
speaker>
Jun 17 00:09:15 piracy /bsd: spkr0 at pcppi0
Jun 17 00:09:15 piracy /bsd: lpt0 at isa0 port 0x378/4 irq
7
Jun 17 00:09:15 piracy /bsd: dkcsum: wd0 matches BIOS drive
0x81
Jun 17 00:09:15 piracy /bsd: dkcsum: wd1 matches BIOS drive
0x80
Jun 17 00:09:15 piracy /bsd: root on wd1a
Jun 17 00:09:15 piracy /bsd: rootdev=0x10 rrootdev=0x310
rawdev=0x312


-- 
Sincerely, Craig Brozefsky              <craigred-bean.com>
what a klon  - neko           http://www.red-bean.co
m/~craig
Less matter, more form!                       - Bruno
Schulz
ignazz, I am truly korrupted by yore sinful tzourceware.
-jb


Re: difficulties mounting DVDs I burn with growisofs
country flaguser name
Netherlands
2007-06-25 13:15:15
On Mon, Jun 25, 2007 at 11:48:14AM -0500, Craig Brozefsky
wrote:
> I recently burned two DVDs with my new DVD burner and I
am unable to
> mount them on my OpenBSD box using the same burner, tho
my Linux
> laptop mounts them.  I am running OpenBSD 4.1 amd64. 
Pleae let me
> know if there is any other information that would help,
or things I
> could try to get more debugging info to developers.
> 
> Here is the drive id:
> 
>   craigpiracy:~$ sudo atactl cd0 identify
>   Model: TSSTcorpCD/DVDW SH-S182D, Rev: SB01, Serial #:

>   Device type: ATAPI, fixed
>   Cylinders: 0, heads: 0, sec/track: 0, total sectors:
0
>   Device capabilities:
>           IORDY operation
>           IORDY disabling
>   Device has enabled the following command
sets/features:
> 
> 
> I burned them with growisofs.  One had -dvd-compat
turned on, and the
> other did not.
> 
>   craigpiracy:~$ sudo mount -t udf /dev/cd0c /mnt/cdrom 
>   mount_udf: mount: Invalid argument
>   craigpiracy:~$ sudo mount -t cd9660 /dev/cd0c /mnt/cdrom 
>   mount_cd9660: /dev/cd0c on /mnt/cdrom: Invalid
argument
> 
> Here is what shows up in dmesg:
> 
>   Jun 25 01:21:07 piracy /bsd: cd0(atapiscsi0:0:0):
Check
>   Condition (error 0x70) on opcode 0x28
>   Jun 25 01:21:07 piracy /bsd:     SENSE KEY: Illegal
Request
>   Jun 25 01:21:07 piracy /bsd:      ASC/ASCQ: Logical
Block Address
>   Out of Range

You are mounting the wrong device; try /dev/cd0a.

		Joachim

-- 
TFMotD: atalk (4) - AppleTalk Protocol Family


Re: difficulties mounting DVDs I burn with growisofs
country flaguser name
United States
2007-06-25 14:31:49
Joachim Schipper <j.schippermath.uu.nl> writes:

> You are mounting the wrong device; try /dev/cd0a.

Ah, I tried that earlier, this is what I get.:

  craigpiracy:~/public_html/bbb$ sudo mount -t cd9660
/dev/cd0a /mnt/cdrom
  mount_cd9660: /dev/cd0a on /mnt/cdrom: Device not
configured
  craigpiracy:~/public_html/bbb$ sudo mount -t udf /dev/cd0a
/mnt/cdrom
  mount_udf: open: Device not configured
  craigpiracy:~/public_html/bbb$ 

Disklabel shows only one big partition:

  craigpiracy:~$ 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 


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?

-- 
Sincerely, Craig Brozefsky              <craigred-bean.com>
what a klon  - neko           http://www.red-bean.co
m/~craig
Less matter, more form!                       - Bruno
Schulz
ignazz, I am truly korrupted by yore sinful tzourceware.
-jb


Re: difficulties mounting DVDs I burn with growisofs
country flaguser name
Netherlands
2007-06-25 15:40:56
On Mon, Jun 25, 2007 at 02:31:49PM -0500, Craig Brozefsky
wrote:
> Joachim Schipper <j.schippermath.uu.nl> writes:
> 
> > You are mounting the wrong device; try /dev/cd0a.
> 
> Ah, I tried that earlier, this is what I get.:
> 
>   craigpiracy:~/public_html/bbb$ sudo mount -t cd9660
/dev/cd0a /mnt/cdrom
>   mount_cd9660: /dev/cd0a on /mnt/cdrom: Device not
configured
>   craigpiracy:~/public_html/bbb$ sudo mount -t udf /dev/cd0a
/mnt/cdrom
>   mount_udf: open: Device not configured
>   craigpiracy:~/public_html/bbb$ 
> 
> Disklabel shows only one big partition:
> 
>   craigpiracy:~$ 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


Re: difficulties mounting DVDs I burn with growisofs
country flaguser name
United States
2007-06-25 16:08:35
Joachim Schipper <j.schippermath.uu.nl> writes:

> 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.

Ok, I have read discs with this, tho it took a few tries to
recognize
my 4.1 install discs.  Those were striaght up CDs.  I'll try
a unch of
other DVD data disks I got.

> 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.

Yah, so for the purpose of backing up crap to DVD, I'm set.

> 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.

Linux recognized it as iso9660, and I'm not too clear on
what the
relationship of UDF and cd9660 is.  Anyways, now that I had
a reality
check and I'm not doing something totally luserly, I'll do
some
reading and hopefully coding to fix it.

Thanx for the reality check.

-- 
Sincerely, Craig Brozefsky              <craigred-bean.com>
what a klon  - neko           http://www.red-bean.co
m/~craig
Less matter, more form!                       - Bruno
Schulz
ignazz, I am truly korrupted by yore sinful tzourceware.
-jb


[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )