LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-30-2003, 01:50 AM   #1
irvken
Member
 
Registered: Dec 2003
Location: uk
Distribution: Ubuntu/Debian/Android
Posts: 217

Rep: Reputation: 30
cdrecord problem - Cannot open '/dev/pg*'


My Ricoh DVD/CDR combo has been happily burning off discs for over 2 years from my box, currently RH8. Last weekend I got to the last of a batch of fedora isos though and got the following -

cdrecord -v speed=4 dev=0,0 yarrow-i386-disc3.iso
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,0'
scsibus: 0 target: 0 lun: 0
cdrecord: No such device. Cannot open '/dev/pg0'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

and cdrecord -scanbus returns the same message.

Seems to read CDs fine, is there any other way of testing whether it is the hardware that has failed or not?

Last edited by irvken; 12-30-2003 at 01:51 AM.
 
Old 12-30-2003, 12:01 PM   #2
[ox]
LQ Newbie
 
Registered: May 2003
Posts: 12

Rep: Reputation: 0
I think i got the same problem last time , and it was the scsi generic ( sg ) being not loaded
try lsmod and see if sg is loaded. if not you can try modprobe sg
 
Old 12-30-2003, 12:15 PM   #3
Thrasher
Member
 
Registered: Oct 2003
Location: Riverside, CA
Distribution: Slackware/RedHat
Posts: 79

Rep: Reputation: 15
Looks like the scsi emulation is not loaded.
you need to add this line to /etc/grub.conf: hdd=ide-scsi

Here is an exaple on a RedHat system:
To add scsi emulation
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro hdd=ide-scsi root=LABEL=/
initrd /initrd-2.4.20-8.img

then try the 'cdrecord -scanbus' command again
 
Old 12-31-2003, 02:59 AM   #4
irvken
Member
 
Registered: Dec 2003
Location: uk
Distribution: Ubuntu/Debian/Android
Posts: 217

Original Poster
Rep: Reputation: 30
Nah, I think it's a hardware problem, it's not working in a windows machine I put it in either
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Xwindows problem. Failed to open /dev/io for extended I/0 dvukmir *BSD 4 02-18-2005 12:58 PM
Xwindows problem. Failed to open /dev/io for extended I/0 dvukmir *BSD 1 02-17-2005 09:33 AM
'Error trying to open /dev/scd0 exclusively' in RH9 cdrecord - help? tmadhavan Linux - Software 21 05-10-2004 06:13 AM
cdrecord - Error trying to open /dev/scd0 exclusively... jeffreybluml Linux - Newbie 10 03-22-2004 06:43 PM
cdrecord not working - "cannot open /dev/pg1" ghambis Slackware 10 02-12-2004 05:11 PM


All times are GMT -5. The time now is 06:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration