LinuxQuestions.org
Visit Jeremy's Blog.
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 05-07-2004, 05:58 PM   #16
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/XP/Win7
Posts: 677

Rep: Reputation: 30
cdrecord errors


helo iv used cdrecord command succesfully lots of times now but recently iv not been able to i keep getting this error [root@master wav]# cdrecord -pad dev=0,0,0 -audio *.wav
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'ATAPI '
Identifikation : 'CD-RW 52XMax '
Revision : '150D'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO RAW/R96R
cdrecord: Input/output error. start/stop unit: scsi sendcmd: no error
CDB: 1B 00 00 00 01 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 15.774s timeout 40s
cdrecord: Drive needs to reload the media to return to proper status.
Starting to write CD/DVD at speed 52 in real TAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
cdrecord: Input/output error. read track info: scsi sendcmd: no error
CDB: 52 01 00 00 00 FF 00 00 1C 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 240s


i would appreciate any help on this matter thank you
 
Old 05-08-2004, 07:18 AM   #17
seidren
Member
 
Registered: May 2003
Distribution: Ubuntu, Windows XP
Posts: 90

Rep: Reputation: 15
I think there is something wrong with the tracks you have provided. Probably they are not in the correct format or not in the directory. Check for permissions also.

Also try reducing the speed to something like 16x or 8x (probably because your cd doesnt support high speed writing)
 
Old 05-08-2004, 02:59 PM   #18
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/XP/Win7
Posts: 677

Rep: Reputation: 30
cdrecord

hello its me again master thats a joke aint it ok what i have done now is iv checked the permisions they are fine now i typed "cdrecord -pad speed=24 dev=0,0,0 -audio *.wav
you will notice this time i have told it what speed to use, the error message i get still seems to be the same [root@master wav]# cdrecord -pad speed=24 dev=0,0,0 -audio *.wav
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'ATAPI '
Identifikation : 'CD-RW 52XMax '
Revision : '150D'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO RAW/R96R
cdrecord: Drive needs to reload the media to return to proper status.
Starting to write CD/DVD at speed 52 in real TAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
cdrecord: Input/output error. read track info: scsi sendcmd: no error
CDB: 52 01 00 00 00 FF 00 00 1C 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 240s
[root@master wav]#
now why is it that if you look at the feedback it says Starting to write CD/DVD at speed 52
if iv told it to use 24 im just stabing in the dark any more help appreciated thanks for your help seidren
 
Old 05-08-2004, 03:00 PM   #19
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/XP/Win7
Posts: 677

Rep: Reputation: 30
oops sorry thought i would just say i did check they were all in the wav format
 
Old 05-08-2004, 08:32 PM   #20
seidren
Member
 
Registered: May 2003
Distribution: Ubuntu, Windows XP
Posts: 90

Rep: Reputation: 15
GOD!!! This is really weird. (I wasnt joking )
The only final reason I can come up with for this to happen is that the cd is screwed up. Try a new cd if you can. (Are you using a CD-RW?)

I also noticed this
Quote:
cdrecord: Drive needs to reload the media to return to proper status.
Only put the cd in just before you run cdrecord.

Also check if you are running the program Autorun.
Do a
Code:
ps -A x
then from the output find the pid of Autorun, and kill it.
Code:
kill -9 <pid>
Then run cdrecord.

If you still get the problem. I would gladly suggest you to give a try with K3B.
Its the best cdwriting frontend ever.

Let me know of your progress
 
Old 05-09-2004, 01:29 PM   #21
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/XP/Win7
Posts: 677

Rep: Reputation: 30
hello me again ok i opend a terminal and typed
ps -A x
the feedback i got was
ps -A x
PID TTY STAT TIME COMMAND
1 ? S 0:04 init
2 ? SW 0:00 [keventd]
3 ? SW 0:00 [kapmd]
4 ? SWN 0:00 [ksoftirqd_CPU0]
9 ? SW 0:00 [bdflush]
5 ? SW 0:00 [kswapd]
6 ? SW 0:00 [kscand/DMA]
7 ? SW 0:02 [kscand/Normal]
8 ? SW 0:00 [kscand/HighMem]
10 ? SW 0:00 [kupdated]
11 ? SW 0:00 [mdrecoveryd]
15 ? SW 0:00 [kjournald]
72 ? SW 0:00 [khubd]
776 ? SW 0:00 [kjournald]
1181 ? S 0:00 /sbin/dhclient -1 -q -lf /var/lib/dhcp/dhclient-eth0.leases -pf /var/run/dh
1259 ? S 0:05 syslogd -m 0
1263 ? S 0:02 klogd -x
1281 ? SW 0:00 [portmap]
1316 ? S 0:00 /usr/sbin/apmd -p 10 -w 5 -W -P /etc/sysconfig/apm-scripts/apmscript
1354 ? S 0:00 /usr/sbin/snmpd -s -l /dev/null -P /var/run/snmpd -a
1363 ? R 0:03 /usr/sbin/snmptrapd -s -u /var/run/snmptrapd.pid
1388 ? S 0:00 [TUX date]
1389 ? SW 0:00 [TUX logger]
1390 ? S 0:00 [TUX manager]
1391 ? S 0:00 [TUX worker 0]
1392 ? S 0:00 [async IO 0/1]
1393 ? S 0:00 [async IO 0/2]
1394 ? S 0:00 [async IO 0/3]
1395 ? S 0:00 [async IO 0/4]
1396 ? S 0:00 [async IO 0/5]
1397 ? S 0:00 [async IO 0/6]
1398 ? S 0:00 [async IO 0/7]
1399 ? S 0:00 [async IO 0/8]
1400 ? S 0:00 [async IO 0/9]
1401 ? S 0:00 [async IO 0/10]
1402 ? S 0:00 [async IO 0/11]
1403 ? S 0:00 [async IO 0/12]
1404 ? S 0:00 [async IO 0/13]
1405 ? S 0:00 [async IO 0/14]
1406 ? S 0:00 [async IO 0/15]
1407 ? S 0:00 [async IO 0/16]
1408 ? S 0:00 [async IO 0/17]
1409 ? S 0:00 [async IO 0/18]
1410 ? S 0:00 [async IO 0/19]
1411 ? S 0:00 [async IO 0/20]
1412 ? S 0:00 [async IO 0/21]
1413 ? S 0:00 [async IO 0/22]
1414 ? S 0:00 [async IO 0/23]
1415 ? S 0:00 [async IO 0/24]
1416 ? S 0:00 [async IO 0/25]
1417 ? S 0:00 [async IO 0/26]
1418 ? S 0:00 [async IO 0/27]
1419 ? S 0:00 [async IO 0/28]
1420 ? S 0:00 [async IO 0/29]
1421 ? S 0:00 [async IO 0/30]
1422 ? S 0:00 [async IO 0/31]
1423 ? S 0:00 [async IO 0/32]
1436 ? S 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
1455 ? S 0:00 [sendmail]
1464 ? S 0:00 [sendmail]
1474 ? S 0:00 /usr/bin/spamd -d -c -a
1483 ? S 0:00 gpm -t ps/2 -m /dev/psaux
1502 ? S 0:00 crond
1513 ? S 0:00 cupsd
1543 ? S 0:00 /usr/bin/perl /usr/lib/cups/filter/cupsomatic 1 master (stdin) 1 cpi=12 lpi
1544 ? R 0:03 parallel:/dev/lp0 1 master (stdin) 1 cpi=12 lpi=7 page-bottom=36 page-left=
1558 ? S 0:00 sh -c gs '-dPARANOIDSAFER' '-dBATCH' '-dNOPAUSE' '-sOutputFile=/dev/fd/3' '
1560 ? S 0:00 gs -dPARANOIDSAFER -dBATCH -dNOPAUSE -sOutputFile=/dev/fd/3 -sDEVICE=omni -
1574 ? S 0:03 [xfs]
1583 ? S 0:00 /usr/bin/lisa --config=/etc/lisarc
1601 ? S 0:00 [atd]
1627 ? S 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd/mux -a shadow
1641 ? S 0:00 rhnsd --interval 240
1656 tty1 S 0:00 /sbin/mingetty tty1
1657 tty2 S 0:00 /sbin/mingetty tty2
1658 tty3 S 0:00 /sbin/mingetty tty3
1659 tty4 S 0:00 /sbin/mingetty tty4
1660 tty5 S 0:00 /sbin/mingetty tty5
1661 tty6 S 0:00 /sbin/mingetty tty6
1662 ? SW 0:00 [gdm-binary]
1705 ? S 0:00 [gdm-binary]
1816 ? S 0:00 oafd --ac-activate --ior-output-fd=10
2173 ? R 2:05 /usr/X11R6/bin/X :0 -auth /var/gdm/:0.Xauth vt7
2182 ? S 0:00 /bin/sh /usr/bin/startkde
2225 ? S 0:00 /usr/bin/ssh-agent /usr/share/apps/switchdesk/Xclients.kde
2267 ? S 0:00 kdeinit: Running...
2270 ? S 0:00 kdeinit: dcopserver --nosid
2273 ? S 0:00 kdeinit: klauncher
2275 ? S 0:01 kdeinit: kded
2289 ? R 0:04 /usr/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -l 3 -f
2291 ? S 0:00 kdeinit: knotify
2292 ? S 0:00 kwrapper ksmserver
2294 ? S 0:00 kdeinit: ksmserver
2295 ? S 0:06 kdeinit: kwin -session 117f000001000107625475400000176840000_1081715985_454
2297 ? R 0:04 kdeinit: kdesktop
2299 ? S 0:10 kdeinit: kicker
2301 ? S 0:03 /usr/bin/autorun -l --interval=1000 --cdplayer=/usr/bin/kscd
2305 ? S 0:00 kdeinit: kwrited
2306 ? S 0:00 /usr/bin/pam-panel-icon --sm-client-id 117f00000100010762547600000017684000
2307 ? S 0:00 [pam_timestamp_c]
2308 ? S 0:00 gnomecc-single-shell --sm-config-prefix /gnomecc-single-shell-VtBuQk/ --sm-
2310 ? S 0:00 gnome-name-service
2313 ? S 0:02 kdeinit: kmix -session 117f000001000107675426400000179440015_1081715984_520
2314 ? S 0:00 nspluginviewer -session 117f000001000107921125700000037710025_1081715984_72
2322 ? S 0:00 kalarmd --login
2548 ? S 0:00 kdeinit: kio_file file /tmp/ksocket-master/klauncherv2nepa.slave-socket /tm
2551 ? S 0:00 kdeinit: kio_uiserver
2961 ? S 0:00 wombat --oaf-activate-iid=OAFIID:Bonobo_Moniker_wombat_Factory --oaf-ior-fd
2970 ? S 0:00 bonobo-moniker-xmldb --oaf-activate-iid=OAFIID:Bonobo_Moniker_xmldb_Factory
3017 ? S 0:00 evolution-alarm-notify --oaf-activate-iid=OAFIID:GNOME_Evolution_Calendar_A
3408 ? S 0:01 kdeinit: konsole
3409 pts/1 S 0:00 /bin/bash
3473 ? S 0:15 /usr/lib/mozilla-1.4.2/mozilla-bin -UILocale en-US
3508 ? S 0:00 esd -terminate -nobeeps -as 2 -spawnfd 30
3539 pts/1 R 0:00 ps -A x
now i can only see the 1 autorun there on line 2301 so i then typed
kill -2301 <pid>
the feed back was
ash: syntax error near unexpected token `newline'
allso im using cdr not w ihave tried using a different cd but i get the same error
 
Old 05-10-2004, 06:13 AM   #22
seidren
Member
 
Registered: May 2003
Distribution: Ubuntu, Windows XP
Posts: 90

Rep: Reputation: 15
no no you are supposed to type...

kill -9 2301

-9 is the signal and 2301 is the process id.
 
  


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
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
/dev/scd0 does not exist mrsolo Linux - Hardware 1 02-09-2004 09:30 PM
cdrecord problem - Cannot open '/dev/pg*' irvken Linux - Hardware 3 12-31-2003 02:59 AM
dev/scd0 error - audio doesnt play adhara Linux - Hardware 1 12-22-2003 05:19 PM


All times are GMT -5. The time now is 05:00 AM.

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