LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-08-2005, 11:09 PM   #1
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
cdrecord???


hopefully this will be an easy question about cdrecord.

on my laptop i have a matshita UJDA340 CDRW/DVD combo drive. its a real old one that max write speed is only 8x, but when i burn ISOs (bootable like a new distro) i have to burn at 2x or i get a bad burn type old drive.

now for the question.

when i first started getting my feet wet in linux i ran RH9 and had no problem with cdrecord working properly. i just had to tell it to run at speed=2 dev 0,0,0 /path/to/file and away it went. i could even use mkiso(think that was/is the command) and | it with cdrecord to back up directories on to CD. very powerful and nice tool i really like it.

problem and question, i am now running debian-sarge with the 2.4.x-speakup kernel on the laptop. cdrecord was not installed before tonight so it is the most current apt-get can provide but it gave me an error something about not being able to access the SCSI something or an other...

my fast work around was just to install k3b and run that as root. had to install one other thing to get k3b working, but that was simple. i would rather have cdrecord working as that is something i do not need to log out of user, into root, then startx again just to burn a CD.

when i run the cdrecord -scanbus it gives me the same error... guidance and help please.

[edited to fix type of CDRW/DVD]

Last edited by Lleb_KCir; 04-08-2005 at 11:27 PM.
 
Old 04-09-2005, 01:14 AM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
can you use cdrecord as root?

and is SCSI enabled in the kernel config?

btw: what are you doing on such a old kernel, surly a new 2.6 would be faster?
 
Old 04-09-2005, 01:19 AM   #3
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
i have tried many times and i have failed many times to compile a new kernel, maybe someday ill make it to an install fest and get some help upgrading to the 2.6...

IIRC i was root when i tried running cdrecord (currently running k3b to burn a set of CDs for a distro to play with. going to start teaching my daughter some linux) and how would i check if SCSI is enabled in the kernel?
 
Old 04-11-2005, 08:58 PM   #4
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
bump, hoping for some help on this. yes k3b is nice, but i really like the ease of cdrecord and would like access to it again on my laptop.
 
Old 04-11-2005, 09:17 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
dmesg | grep -i scsi

But if you're using a 2.6 kernel ide-scsi is most
likely not working (by default) since 2.6 considers
that module deprecated.


Cheers,
Tink
 
Old 04-12-2005, 01:15 AM   #6
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
Code:
ray@laptop:~$ dmesg | grep -i scsi
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Code:
root@laptop:~# cdrecord -scanbus
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
      and thus may have bugs that are not present in the original version.
      Please send bug reports and support requests to <cdrtools@packages.debian.org>.
      The original author should not be bothered with problems of this version.

cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
cdrecord:
cdrecord: For more information, install the cdrtools-doc
cdrecord: package and read /usr/share/doc/cdrecord/README.ATAPI.setup .
hope that helps you help me Tinkster.

i am using the older 2.4.x-speakup kernel sadly my many attempts to upgrade to the 2.6 kernel have failed. i need to get a free weekend and get to an install fest for my LUG to get it upgraded.
 
Old 04-12-2005, 03:14 AM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Well ... it seems that the capability is built into your
kernel, but that it's not being activated ...

Try to add something like
hdX=ide-scsi
(where hdX is the device that matches your burner)
to your boot-loaders config ...


Cheers,
Tink
 
Old 04-12-2005, 10:27 AM   #8
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
you just went about 5 steps over my head...

A. how do i identify the hdX (look in fstab i am guessing)
B. what boot-loaders config??? i use grub, but i do not think that is what you are talking about.
 
Old 04-12-2005, 01:33 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by Lleb_KCir
you just went about 5 steps over my head...

A. how do i identify the hdX (look in fstab i am guessing)
I'd be looking in the /proc/ide directory ...

Quote:
B. what boot-loaders config??? i use grub, but i do not think that is what you are talking about.
If you use grub as your boot-loader it's grub indeed :)


Cheers,
Tink
 
Old 04-12-2005, 03:06 PM   #10
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
Code:
root@laptop:~# ls -la /proc/ide/
total 2
dr-xr-xr-x   4 root root 0 Apr 12 16:04 .
dr-xr-xr-x  89 root root 0 Apr 11 02:06 ..
-r--r--r--   1 root root 0 Apr 12 16:04 drivers
lrwxrwxrwx   1 root root 8 Apr 12 16:04 hda -> ide0/hda
lrwxrwxrwx   1 root root 8 Apr 12 16:04 hdc -> ide1/hdc
dr-xr-xr-x   3 root root 0 Apr 12 16:04 ide0
dr-xr-xr-x   3 root root 0 Apr 12 16:04 ide1
-r--r--r--   1 root root 0 Apr 12 16:04 piix
so if i read that directory correct, the ide1/hdc is what i should add to grub, but what would it look like in grub?
 
Old 04-12-2005, 03:15 PM   #11
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
No idea - I use lilo :}


Cheers,
Tink
 
Old 04-12-2005, 09:32 PM   #12
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
sad, i got so close...
 
Old 04-12-2005, 09:52 PM   #13
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Re: cdrecord???

Quote:
Originally posted by Lleb_KCir

when i first started getting my feet wet in linux i ran RH9 and had no problem with cdrecord working properly. i just had to tell it to run at speed=2 dev 0,0,0 /path/to/file and away it went. i could even use mkiso(think that was/is the command) and | it with cdrecord to back up directories on to CD. very powerful and nice tool i really like it.
Try using the /dev/hdX point and not the ID# 0,0,0

cat /etc/fstab
sample:
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0

cdrecord -v speed=2 dev=/dev/hdc -data /path/to/file

KC

Last edited by kencaz; 04-12-2005 at 09:54 PM.
 
Old 04-13-2005, 01:26 PM   #14
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
Code:
ray@laptop:~$ su -
Password:
root@laptop:~# cdrecord -v speed=2 dev=/dev/hdc /home/ray/mp3/*.mp3
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
      and thus may have bugs that are not present in the original version.
      Please send bug reports and support requests to <cdrtools@packages.debian.org>.
      The original author should not be bothered with problems of this version.

TOC Type: 1 = CD-ROM
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
cdrecord: Read-only file system. Cannot open '/dev/hdc'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
cdrecord:
cdrecord: For more information, install the cdrtools-doc
cdrecord: package and read /usr/share/doc/cdrecord/README.ATAPI.setup .
well that was a good try. still think i need to figure out how to accomplish what tinkster sujested, any clue how to do that?
 
Old 04-13-2005, 01:32 PM   #15
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
*sigh*
http://www.google.com/linux?hl=en&q=...a=lr%3Dlang_en


Cheers,
Tink
 
  


Reply



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
cdrecord jaakkop Linux - Software 3 11-20-2004 01:17 PM
cdrecord chaitu_iiit Linux - Software 2 11-10-2004 01:20 PM
cdrecord quentusrex Debian 6 08-20-2004 03:01 AM
cdrecord Kent Emia Linux - Newbie 2 03-05-2004 10:01 PM
cdrecord help shanenin Linux - Software 1 11-23-2003 08:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:42 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration