Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cdrecord creates coasters in 2.6.0-test2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jforman
Retired Dev
Retired Dev


Joined: 24 Mar 2003
Posts: 19

PostPosted: Thu Aug 07, 2003 1:42 pm    Post subject: Cdrecord creates coasters in 2.6.0-test2 Reply with quote

All I'm getting is coasters in 2.6.0-test2 when trying to burn cd's. I boot back into 2.4.20 and cds burn fine. has anyone gotten an ide burner, using ide-scsi emulation as usual, to successfully create a cd and use it?
Back to top
View user's profile Send private message
jmcross3
Apprentice
Apprentice


Joined: 19 Jul 2002
Posts: 217

PostPosted: Thu Aug 07, 2003 5:34 pm    Post subject: Reply with quote

I have not had any luck myself with the 2.6 test 2. I went back to 2.4.21 because of it.

I could blank cd's and cdrecord --scanbus worked fine, but the actual burn process would hang about 15 mb into the process.
Back to top
View user's profile Send private message
jforman
Retired Dev
Retired Dev


Joined: 24 Mar 2003
Posts: 19

PostPosted: Thu Aug 07, 2003 5:43 pm    Post subject: Reply with quote

mine seem to go all the way through, but the data is useless. i've never seen that 15mb then bomb incident though.
Back to top
View user's profile Send private message
ultraslacker
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2002
Posts: 124
Location: lazy fairy land

PostPosted: Thu Aug 07, 2003 6:02 pm    Post subject: Reply with quote

I believe ide-scsi is broken with 2.6. Have you tried ide-cd and the development version of cdrecord?
_________________
�The nationalist not only does not disapprove of atrocities committed by his own side, but he has a remarkable capacity for not even hearing about them.� -- George Orwell
Back to top
View user's profile Send private message
jforman
Retired Dev
Retired Dev


Joined: 24 Mar 2003
Posts: 19

PostPosted: Thu Aug 07, 2003 6:04 pm    Post subject: Reply with quote

i shall try ide-cd. do i have to do anything special? should i change my hdc=ide-scsi line in my grub config to something else?

must cdrtools be recompiled at all? explicit instructions would be great!
Back to top
View user's profile Send private message
ultraslacker
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2002
Posts: 124
Location: lazy fairy land

PostPosted: Thu Aug 07, 2003 7:17 pm    Post subject: Reply with quote

google groups topic linky

Not sure about the grub conf - you may just need to add ide-cd as an option. I can be more helpful in a day or so once I have linux running on my laptop with cdrw.
_________________
�The nationalist not only does not disapprove of atrocities committed by his own side, but he has a remarkable capacity for not even hearing about them.� -- George Orwell
Back to top
View user's profile Send private message
dizzogg
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2002
Posts: 131
Location: Virginia, USA

PostPosted: Thu Aug 07, 2003 7:40 pm    Post subject: Reply with quote

i had a problem with cdrecord locking up about a quarter into the burning process with a 2.6 kernel. Then I dropped scsi emulation and emerged the latest cdrecord and k3b, and it works like a charm. It's also faster with IDE burning :D
Back to top
View user's profile Send private message
dizzogg
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2002
Posts: 131
Location: Virginia, USA

PostPosted: Thu Aug 07, 2003 7:41 pm    Post subject: Reply with quote

you don't have to add anything to grub.conf; just take out any scsi emulation. Let the kernel see your burner as an ide drive only and you should be good to go
Back to top
View user's profile Send private message
jforman
Retired Dev
Retired Dev


Joined: 24 Mar 2003
Posts: 19

PostPosted: Thu Aug 07, 2003 9:04 pm    Post subject: Reply with quote

something doesnt seem right:

jforman@tribeca jforman $ cdrecord -scanbus dev=ATAPI
Cdrecord 2.01a14 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'ADAPTEC ' 'ACB-5500 ' 'FAKE' NON CCS Disk
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *


output from lsmod:
jforman@tribeca jforman $ /sbin/lsmod
Module Size Used by
sr_mod 13600 0
sg 29324 0
ide_cd 37376 0
cdrom 32672 2 sr_mod,ide_cd
nvidia 1606248 8
parport_pc 23812 1
lp 8800 0
parport 36032 2 parport_pc,lp
snd_emu10k1 87300 1
snd_rawmidi 20224 2 snd_emu10k1
snd_ac97_codec 48388 1 snd_emu10k1
snd_util_mem 3584 1 snd_emu10k1
snd_hwdep 7168 1 snd_emu10k1
snd_pcm_oss 47620 0
snd_pcm 85376 2 snd_emu10k1,snd_pcm_oss
snd_page_alloc 7940 2 snd_emu10k1,snd_pcm
ipv6 221696 16
visor 15628 0
usbserial 25196 1 visor
tuner 14340 0
tvaudio 20480 0
msp3400 22544 0
bttv 101632 0
video_buf 16896 1 bttv
i2c_algo_bit 9480 1 bttv
i2c_core 20356 5 tuner,tvaudio,msp3400,bttv,i2c_algo_bit
v4l2_common 3968 1 bttv
videodev 8832 1 bttv



fake NON CSS disk? that cant be right. i have an adaptec ide cd burner.
Back to top
View user's profile Send private message
dizzogg
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2002
Posts: 131
Location: Virginia, USA

PostPosted: Thu Aug 07, 2003 10:00 pm    Post subject: Reply with quote

my scanbus output: (and it works for me)

cdrecord -scanbus dev=ATAPI
Cdrecord-Clone 2.01a18 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'ADAPTEC ' 'ACB-5500 ' 'FAKE' NON CCS Disk
0,1,0 1) 'ADAPTEC ' 'ACB-5500 ' 'FAKE' NON CCS Disk
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

it should work. have you tried yet?
Back to top
View user's profile Send private message
jforman
Retired Dev
Retired Dev


Joined: 24 Mar 2003
Posts: 19

PostPosted: Thu Aug 07, 2003 10:29 pm    Post subject: apparently not Reply with quote

jforman@tribeca dump $ cdrecord dev=/dev/hdc driveropts=burnfree -v gentoo-i686-1.4-20030803-cd1.iso
Cdrecord 2.01a14 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
TOC Type: 1 = CD-ROM
cdrecord: Operation not permitted. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.7'
Driveropts: 'burnfree'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'PLEXTOR '
Identifikation : 'CD-R PX-W4824A'
Revision : '1.04'
Device seems to be: Generic mmc CD-RW.
Current: 0x0009
Profile: 0x0008
Profile: 0x0009 (current)
Profile: 0x000A
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE VARIREC FORCESPEED SPEEDREAD SINGLESESSION HIDECDR
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 2394336 = 2338 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 454 MB
Total size: 521 MB (51:42.80) = 232710 sectors
Lout start: 522 MB (51:44/60) = 232710 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 4
Is unrestricted
Is not erasable
Disk sub type: Medium Type B, low Beta category (B-) (4)
ATIP start of lead in: -11753 (97:25/22)
ATIP start of lead out: 359849 (79:59/74)
Disk type: Long strategy type (Cyanine, AZO or similar)
Manuf. index: 8
Manufacturer: Hitachi Maxell, Ltd.
Single session is OFF.
Hide CDR is OFF.
Speed-Read is OFF.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 127139
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
Forcespeed is OFF.
Power-Rec is ON.
Power-Rec write speed: 16x (recommended)
Starting to write CD/DVD at speed 48 in real TAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is ON.
Performing OPC...
Starting new track at sector: -150
Track 01: 0 of 454 MB written.cdrecord: Success. write_g1: scsi sendcmd: no error
CDB: 2A 00 FF FF FF 6A 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 2C 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x2C Qual 0x00 (command sequence error) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 63488
cmd finished after 0.000s timeout 40s

write track data: error after 0 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
Writing time: 16.569s
Average write speed 619.6x.
Fixating...
cdrecord: Success. close track/session: scsi sendcmd: no error
CDB: 5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 2C 04 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x2C Qual 0x04 (current program area is empty) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 480s
cmd finished after 0.000s timeout 480s
cdrecord: Cannot fixate disk.
Fixating time: 0.002s
Last selected write speed: 48x
Max media write speed: 48x
Last actual write speed: 0x
BURN-Free was never needed.
cdrecord: fifo had 64 puts and 1 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.


craps out, doesnt even seem to burn. hope i didnt just waste another cd.
Back to top
View user's profile Send private message
drb
n00b
n00b


Joined: 16 Dec 2002
Posts: 56
Location: Grand Forks, BC, Canada

PostPosted: Fri Aug 08, 2003 1:50 am    Post subject: Reply with quote

Instead of using cdrecord -scanbus try:
cdrecord dev=/dev/hdc --checkdrive

ATAPI CD recording is great with cdrecord from cdrtools-2.01_alpha14! Anyone know of a GUI that will work with it. I could not get X-CD-Roast-0.98_alpha13 or K3b-0.8.1-r1 to even recognize my HP 200i DVD+R(W)/CD-R(W) writer.

Also dvd+rw-tools-5.9.4.4.4 [ Masked ] works well too.
_________________
Darrell Bellerive
VA7TO
Back to top
View user's profile Send private message
jforman
Retired Dev
Retired Dev


Joined: 24 Mar 2003
Posts: 19

PostPosted: Fri Aug 08, 2003 3:06 am    Post subject: still nothing ;( Reply with quote

nope....
Performing OPC...
Starting new track at sector: -150
Track 01: 0 of 454 MB written.cdrecord: Success. write_g1: scsi sendcmd: no error
CDB: 2A 00 FF FF FF 6A 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 2C 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x2C Qual 0x00 (command sequence error) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 63488
cmd finished after 0.000s timeout 40s

write track data: error after 0 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
Writing time: 9.218s
Average write speed 619.9x.
Fixating...
cdrecord: Success. close track/session: scsi sendcmd: no error
CDB: 5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 2C 04 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x2C Qual 0x04 (current program area is empty) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 480s
cmd finished after 0.000s timeout 480s
cdrecord: Cannot fixate disk.
Fixating time: 0.001s
Last selected write speed: 48x
Max media write speed: 48x
Last actual write speed: 0x
cdrecord: fifo had 64 puts and 1 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.


jforman@tribeca dump $ cdrecord dev=/dev/hdc --checkdrive
Cdrecord-Clone 2.01a18 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.7'
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'PLEXTOR '
Identifikation : 'CD-R PX-W4824A'
Revision : '1.04'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE VARIREC FORCESPEED SPEEDREAD SINGLESESSION HIDECDR
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Back to top
View user's profile Send private message
drb
n00b
n00b


Joined: 16 Dec 2002
Posts: 56
Location: Grand Forks, BC, Canada

PostPosted: Fri Aug 08, 2003 3:51 am    Post subject: Reply with quote

I found that I could not burn the disk without doing the check drive command first. Here's the commands that worked for me:

cdrecord dev=/dev/hdc --checkdrive
cdrecord -v dev=/dev/hdc /home/drb/MyFiles/Download/gentoo-basic-1.4-20030803.iso
_________________
Darrell Bellerive
VA7TO
Back to top
View user's profile Send private message
jforman
Retired Dev
Retired Dev


Joined: 24 Mar 2003
Posts: 19

PostPosted: Fri Aug 08, 2003 3:54 am    Post subject: Reply with quote

i honestly must be doing something wrong, or not have something loaded/unloaded in my kernel when i'm trying to burn this cd. i did exactly what you just suggested and it still craps out on me.

Starting new track at sector: -150
Track 01: 0 of 454 MB written.cdrecord: Success. write_g1: scsi sendcmd: no error
CDB: 2A 00 FF FF FF 6A 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 2C 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x2C Qual 0x00 (command sequence error) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 63488
cmd finished after 0.000s timeout 40s

write track data: error after 0 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
Writing time: 16.541s
Average write speed 619.5x.
Fixating...
cdrecord: Success. close track/session: scsi sendcmd: no error
CDB: 5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 2C 04 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x2C Qual 0x04 (current program area is empty) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 480s
cmd finished after 0.000s timeout 480s
cdrecord: Cannot fixate disk.
Fixating time: 0.001s
Last selected write speed: 48x
Max media write speed: 48x
Last actual write speed: 0x
cdrecord: fifo had 64 puts and 1 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum