Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

cdrecord burning to the wrong device ?

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
thecooptoo
Veteran
Veteran
Posts: 1353
Joined: Sun Apr 27, 2003 1:04 pm
Location: UK

cdrecord burning to the wrong device ?

  • Quote

Post by thecooptoo » Mon Jan 26, 2009 9:56 pm

my cd drive seems to be hdd
grenada ~ # dmesg | grep hd
Kernel command line: root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 vga=0x305
ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:pio, hdd:DMA
hda: HDS728080PLAT20, ATA DISK drive
hdd: ATAPI-CD ROM-DRIVE-52MAX, ATAPI CD/DVD-ROM drive
hda: max request size: 512KiB
hda: 160836480 sectors (82348 MB) w/1719KiB Cache, CHS=16383/255/63, UDMA(33)
hda: cache flushes supported
hda: hda1 hda2 hda3
hdd: ATAPI 52X CD-ROM drive, 128kB Cache, UDMA(33)
and cdrecord looks for it

Code: Select all

grenada ~ # cdrecord -scanbus
scsibus1000:
        1000,0,0 100000) *
        1000,1,0 100001) *
        1000,2,0 100002) *
wodim: Warning: controller returns wrong size for CD capabilities page.
        1000,3,0 100003) 'ATAPI-CD' 'ROM-DRIVE-52MAX ' '52CA' Removable CD-ROM
        1000,4,0 100004) *
        1000,5,0 100005) *
        1000,6,0 100006) *
        1000,7,0 100007) *
but when i come to burn an iso it does this
grenada ~ # cdrecord -v -eject speed=8 dev=1000,3,0 /tmp/test.iso
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 1 = CD-ROM
scsidev: '1000,3,0'
scsibus: 1000 target: 3 lun: 0
WARNING: the deprecated pseudo SCSI syntax found as device specification.
Support for that may cease in the future versions of wodim. For now,
the device will be mapped to a block device file where possible.
Run "wodim --devices" for details.
Error trying to open /dev/hda exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hda exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hda exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hda exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hda exclusively (Device or resource busy)... giving up.
WARNING: /dev/hda seems to be mounted!
Linux sg driver version: 3.5.27
Wodim version: 1.1.6
SCSI buffer size: 64512
wodim: Warning: controller returns wrong size for CD capabilities page.
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'ATAPI-CD'
Identification : 'ROM-DRIVE-52MAX '
Revision : '52CA'
Device seems to be: Generic mmc CD-ROM.
wodim: Warning: controller returns wrong size for CD capabilities page.
wodim: Warning: controller returns wrong size for CD capabilities page.
wodim: Warning: controller returns wrong size for CD capabilities page.
wodim: Sorry, no CD/DVD-Recorder or unsupported CD/DVD-Recorder found on this target.
wodim: Warning: controller returns wrong size for CD capabilities page.
grenada ~ # wodim --devices
wodim: Warning: controller returns wrong size for CD capabilities page.
wodim: Overview of accessible drives (1 found) :
-------------------------------------------------------------------------
0 dev='/dev/hdd' rwrw-- : 'ATAPI-CD' 'ROM-DRIVE-52MAX'
-------------------------------------------------------------------------
which looks like its trying to write to hda ( my hard disk )
join the optout - http://nhsconfidentiality.org
Top
suicidal_orange_II
Apprentice
Apprentice
Posts: 299
Joined: Sat Sep 04, 2004 11:39 am

  • Quote

Post by suicidal_orange_II » Mon Jan 26, 2009 10:16 pm

I've always used -dev=/dev/whatever, not a number, and it works fine - you have no "-" before dev and are using a number... one or both of these must be the problem :)
Top
thecooptoo
Veteran
Veteran
Posts: 1353
Joined: Sun Apr 27, 2003 1:04 pm
Location: UK

  • Quote

Post by thecooptoo » Tue Jan 27, 2009 10:10 am

Code: Select all

grenada ~ # cdrecord -v -eject -speed=8 -dev=1000,3,0 /tmp/test.iso
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 1 = CD-ROM
scsidev: '1000,3,0'
scsibus: 1000 target: 3 lun: 0
WARNING: the deprecated pseudo SCSI syntax found as device specification.
Support for that may cease in the future versions of wodim. For now,
the device will be mapped to a block device file where possible.
Run "wodim --devices" for details.
Error trying to open /dev/hda exclusively (Device or resource busy)... retrying in                                      1 second.
Error trying to open /dev/hda exclusively (Device or resource busy)... retrying in                                      1 second.
Error trying to open /dev/hda exclusively (Device or resource busy)... retrying in                                      1 second.
Error trying to open /dev/hda exclusively (Device or resource busy)... retrying in                                      1 second.
Error trying to open /dev/hda exclusively (Device or resource busy)... giving up.
WARNING: /dev/hda seems to be mounted!
Linux sg driver version: 3.5.27
Wodim version: 1.1.6
SCSI buffer size: 64512
wodim: Warning: controller returns wrong size for CD capabilities page.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'ATAPI-CD'
Identification : 'ROM-DRIVE-52MAX '
Revision       : '52CA'
Device seems to be: Generic mmc CD-ROM.
wodim: Warning: controller returns wrong size for CD capabilities page.
wodim: Warning: controller returns wrong size for CD capabilities page.
wodim: Warning: controller returns wrong size for CD capabilities page.
wodim: Sorry, no CD/DVD-Recorder or unsupported CD/DVD-Recorder found on this target.
wodim: Warning: controller returns wrong size for CD capabilities page.
grenada ~ #

Code: Select all

grenada ~ # cdrecord -v -eject -speed=8 -dev=/dev/hdc  /tmp/test.iso
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 1 = CD-ROM
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
wodim: No such file or directory.
Cannot open SCSI driver!
For possible targets try 'wodim --devices' or 'wodim -scanbus'.
For possible transport specifiers try 'wodim dev=help'.
For IDE/ATAPI devices configuration, see the file README.ATAPI.setup from
the wodim documentation.
grenada ~ # wodim -scanbus
scsibus1000:
        1000,0,0 100000) *
        1000,1,0 100001) *
        1000,2,0 100002) *
wodim: Warning: controller returns wrong size for CD capabilities page.
        1000,3,0 100003) 'ATAPI-CD' 'ROM-DRIVE-52MAX ' '52CA' Removable CD-ROM
        1000,4,0 100004) *
        1000,5,0 100005) *
        1000,6,0 100006) *
        1000,7,0 100007) *
grenada ~ #                                             
join the optout - http://nhsconfidentiality.org
Top
suicidal_orange_II
Apprentice
Apprentice
Posts: 299
Joined: Sat Sep 04, 2004 11:39 am

  • Quote

Post by suicidal_orange_II » Wed Jan 28, 2009 9:30 pm

Interesting - what is "wodim" that it mentions using /dev/hdc? I don't have it installed. What arch are you running?

Also your CD drive is hdd, so if that bottom code was a copy/paste it's no surprise it didn't find hdc...
Top
thecooptoo
Veteran
Veteran
Posts: 1353
Joined: Sun Apr 27, 2003 1:04 pm
Location: UK

  • Quote

Post by thecooptoo » Thu Jan 29, 2009 8:25 am

oops hdc is my CDROM on all my other machines. heres it with hdd

Code: Select all

grenada ~ # cdrecord -v -eject -speed=8 -dev=/dev/hdd  /tmp/burn/temp.iso
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 1 = CD-ROM
scsidev: '/dev/hdd'
devname: '/dev/hdd'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.6
SCSI buffer size: 64512
wodim: Warning: controller returns wrong size for CD capabilities page.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'ATAPI-CD'
Identification : 'ROM-DRIVE-52MAX '
Revision       : '52CA'
Device seems to be: Generic mmc CD-ROM.
wodim: Warning: controller returns wrong size for CD capabilities page.
wodim: Warning: controller returns wrong size for CD capabilities page.
wodim: Warning: controller returns wrong size for CD capabilities page.
wodim: Sorry, no CD/DVD-Recorder or unsupported CD/DVD-Recorder found on this target.
wodim: Warning: controller returns wrong size for CD capabilities page.
grenada ~ #

Code: Select all

grenada ~ # dmesg | grep hd
Kernel command line: root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 vga=0x305
    ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:pio, hdd:DMA
hda: HDS728080PLAT20, ATA DISK drive
hdd: ATAPI-CD ROM-DRIVE-52MAX, ATAPI CD/DVD-ROM drive
hda: max request size: 512KiB
hda: 160836480 sectors (82348 MB) w/1719KiB Cache, CHS=16383/255/63, UDMA(33)
hda: cache flushes supported
 hda: hda1 hda2 hda3
hdd: ATAPI 52X CD-ROM drive, 128kB Cache, UDMA(33)
EXT3-fs: hda3: orphan cleanup on readonly fs
EXT3-fs: hda3: 8 orphan inodes deleted
EXT3 FS on hda3, internal journal
Adding 1550264k swap on /dev/hda2.  Priority:-1 extents:1 across:1550264k
grenada ~ #       
join the optout - http://nhsconfidentiality.org
Top
champ
Tux's lil' helper
Tux's lil' helper
Posts: 97
Joined: Wed Oct 25, 2006 6:52 am
Location: Thailand
Contact:
Contact champ
Website

  • Quote

Post by champ » Thu Jan 29, 2009 8:46 am

Is your cd device working? I got a similar message when my cdwriter could no longer write to a CD.
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." - Benjamin Franklin

blog: johnsearth.blogspot.com
Top
suicidal_orange_II
Apprentice
Apprentice
Posts: 299
Joined: Sat Sep 04, 2004 11:39 am

  • Quote

Post by suicidal_orange_II » Thu Jan 29, 2009 8:07 pm

Good spot champ - even in the first post hdd is listed as a CD-ROM drive, not a CDRW which is a very good reason for it not to be able to write anything. So obvious no-one saw it!
Top
Post Reply

7 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic