lkml.org 
[lkml]   [2000]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRE: Silent breakage of cdrecord under 2.4? (fwd)
---------- Forwarded message ----------
Date: Wed, 30 Aug 2000 00:26:13 +0100 (GMT)
From: Damon LoCascio <dlocasci@seaforn.dircon.co.uk>
To: Douglas Gilbert <dougg@torque.net>
Subject: Re: Silent breakage of cdrecord under 2.4?

On Tue, 29 Aug 2000, Douglas Gilbert wrote:

> Damon,
> Sounds worrying. I have done a fair amount of testing
> with sg in lk 2.4 and haven't seen a problem like this.
> My adapters are also from advansys (but singles, not
> quads). Could you send me a sample of the corruption
> (100 byte one would be fine). Are you using SMP?
>
> A loop through character device, sitting between cdrecord
> and sg would be useful in such situations.
>
> Doug Gilbert
>

I have just put together a table of what works and what doesn't
under 2.4-test5. All I know for sure is that cdrecord 1.6 compiled against
2.2.16 and running under 2.2.16 works flawlessly. Attached is the results.

As you can see I compiled against both the 2.2.16 trees and
2.4.0-test5 ones. Though I only ran it under 2.4. I suspect it would
prolly work better under 2.2.16 but then again that is what I am noticing
:) cdrecord is doing strange things in the later kernels? I'm not using
SMP though, which in theory might make things easier to track???



How do I go about seting up a loop through device before the sg driver
just out of interest?


Don't know if this is any good. It's never very much corruption just a few
bytes here and there? Or in this case a chunk of them

--
cmp /cdrom/city_of_/goo_goo_.mp3 /mnt/mnt2/city_of_/goo_goo_.mp3
/cdrom/city_of_/goo_goo_.mp3 /mnt/mnt2/city_of_/goo_goo_.mp3 differ: char
3754969, line 13388

--
cmp -l /cdrom/city_of_/goo_goo_.mp3 /mnt/mnt2/city_of_/goo_goo_.mp3

3754969 372 251
3754970 263 23
3754971 16 234
3754972 144 65
3754973 254 203
3754974 301 22
3754975 101 77
3754976 31 2

--

cmp /cdrom/city_of_/sarah_mc.mp3 /mnt/mnt2/city_of_/sarah_mc.mp3
/cdrom/city_of_/sarah_mc.mp3 /mnt/mnt2/city_of_/sarah_mc.mp3 differ: char
746761, line 3054

--

cmp -l /cdrom/city_of_/sarah_mc.mp3 /mnt/mnt2/city_of_/sarah_mc.mp3
746761 375 242
746762 67 70
746763 72 343
746764 1 5
746765 264 60
746766 242 274
746767 50 231
746768 10 150

--

Hmmmm I'm beginnning to see a pattern now..? 8 bytes????


Q. Is though.. why just these 3 files with the latest version of cdrecord?

Arrrrg this is gonna drive me nuts?!

;)


Will this enlighten us all I wonder?

Cheers,


--
===

"If you can keep your head when all about you are losing theirs... you're
missing something IMPORTANT!"
Rob. (prolly teefed tho')
cdrecord-1.6-2.2.16 -v dev=1,1,0 speed=8 blank=all

Result: No errors

==

cdrecord-1.6-2.2.16 -v dev=1,1,0 speed=8 test-isofs.img

Result: Sucessful Burn

Track 01: 64 of 64 MB written (fifo 100%).
Track 01: Total bytes read/written: 67696640/67696640 (33055 sectors).
Writing time: 60.687s
Fixating...
Fixating time: 35.265s
cdrecord-1.6-2.2.16: fifo had 2066 puts and 2066 gets.
cdrecord-1.6-2.2.16: fifo was 0 times empty and 1658 times full, min fill
was 96%.

==

diff -r /cdrom /mnt/mnt2

Result: No Differences, identical copy.

________________________

cdrecord-1.6-2.4-test5 -v dev=1,1,0 speed=8 blank=all

Result: No errors

==

cdrecord-1.6-2.4-test5 -v dev=1,1,0 speed=8 test-isofs.img

Result: Servo tracking errors when fixating:

Track 01: 64 of 64 MB written (fifo 100%).
Track 01: Total bytes read/written: 67696640/67696640 (33055 sectors).
Writing time: 59.607s
Fixating...
cdrecord-1.6-2.4-test5: Success. close track/session: scsi sendcmd:
retryable error
CDB: 5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 00 00 00 00 0A 00 00 00 00 09 00 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x09 Qual 0x00 (track following error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 21.708s timeout 480s
Fixating time: 21.711s
cdrecord-1.6-2.4-test5: fifo had 2066 puts and 2066 gets.
cdrecord-1.6-2.4-test5: fifo was 0 times empty and 1625 times full, min fill
was 96%.

==

diff -r /cdrom /mnt/mnt2

Result: Failure, missing files and bad sectors

I/O error: dev 0b:00, sector 108
Only in /mnt/mnt2/city_of_: goo_goo_.mp3
Only in /mnt/mnt2/city_of_: paula_co.mp3
Only in /mnt/mnt2/city_of_: sarah_mc.mp3

_______________________

cdrecord-1.8.1-2.2.16 -v dev=1,1,0 speed=8 blank=all

Result: No errors

==

cdrecord-1.8.1-2.2.16 -v dev=1,1,0 speed=8 test-isofs.img

Result: Clean burn, no errors

Starting new track at sector: 0
Track 01: 64 of 64 MB written (fifo 100%).
Track 01: Total bytes read/written: 67696640/67696640 (33055 sectors).
Writing time: 74.440s
Fixating...
Fixating time: 34.024s
cdrecord-1.8.1-2.2.16: fifo had 2066 puts and 2066 gets.
cdrecord-1.8.1-2.2.16: fifo was 0 times empty and 1669 times full, min fill
was
96%.

==

diff -r /cdrom /mnt/mnt2

Result: Failure, missing files and bad sectors

I/O error: dev 0b:00, sector 92
Only in /mnt/mnt2: city_of_
Only in /mnt/mnt2: heart000
Only in /mnt/mnt2: heart_fu
Only in /mnt/mnt2: hope_flo

___________________________

cdrecord-1.8.1-2.4-test5 -v dev=1,1,0 speed=8 blank=all

Result: No errors

==

cdrecord-1.8.1-2.4-test5 -v dev=1,1,0 speed=8 test-isofs.img

Result: Clean burn, no errors

Track 01: 64 of 64 MB written (fifo 100%).
Track 01: Total bytes read/written: 67696640/67696640 (33055 sectors).
Writing time: 70.467s
Fixating...
Fixating time: 34.135s
cdrecord-1.8.1-2.4-test5: fifo had 2066 puts and 2066 gets.
cdrecord-1.8.1-2.4-test5: fifo was 0 times empty and 1639 times full, min
fill was 94%.

==

diff -r /cdrom /mnt/mnt2

Result: Failure, Files differ

Binary files /cdrom/city_of_/goo_goo_.mp3 and
/mnt/mnt2/city_of_/goo_goo_.mp3 differ
Binary files /cdrom/city_of_/paula_co.mp3 and
/mnt/mnt2/city_of_/paula_co.mp3 differ
Binary files /cdrom/city_of_/sarah_mc.mp3 and
/mnt/mnt2/city_of_/sarah_mc.mp3 differ
Binary files /cdrom/heart000/i_get_th.mp3 and
/mnt/mnt2/heart000/i_get_th.mp3 differ
Binary files /cdrom/heart_fu/being_wi.mp3 and
/mnt/mnt2/heart_fu/being_wi.mp3 differ
Binary files /cdrom/heart_fu/how__bou.mp3 and
/mnt/mnt2/heart_fu/how__bou.mp3 differ
Binary files /cdrom/heart_fu/i_wanna_.mp3 and
/mnt/mnt2/heart_fu/i_wanna_.mp3 differ
Binary files /cdrom/heart_fu/just_the.mp3 and
/mnt/mnt2/heart_fu/just_the.mp3 differ
Binary files /cdrom/hope_flo/gillian_.mp3 and
/mnt/mnt2/hope_flo/gillian_.mp3 differ
Binary files /cdrom/hope_flo/lila_mcc.mp3 and
/mnt/mnt2/hope_flo/lila_mcc.mp3 differ
Binary files /cdrom/hope_flo/sheryl_c.mp3 and
/mnt/mnt2/hope_flo/sheryl_c.mp3 differ
Binary files /cdrom/hope_flo/trisha_y.mp3 and
/mnt/mnt2/hope_flo/trisha_y.mp3 differ

____________________________

cdrecord-1.9-2.2.16 -v dev=1,1,0 speed=8 blank=all

Result: No errors

==

cdrecord-1.9-2.2.16 -v dev=1,1,0 speed=8 test-isofs.img

Result: Clean burn, no errors

Track 01: 64 of 64 MB written (fifo 100%).
Track 01: Total bytes read/written: 67696640/67696640 (33055 sectors).
Writing time: 69.863s
Fixating...
Fixating time: 34.074s
cdrecord-1.9-2.2.16: fifo had 1067 puts and 1067 gets.
cdrecord-1.9-2.2.16: fifo was 0 times empty and 969 times full, min fill was
93%.

==

diff -r /cdrom /mnt/mnt2

Result: Failure, Files differ

Binary files /cdrom/city_of_/goo_goo_.mp3 and
/mnt/mnt2/city_of_/goo_goo_.mp3 differ
Binary files /cdrom/city_of_/paula_co.mp3 and
/mnt/mnt2/city_of_/paula_co.mp3 differ
Binary files /cdrom/city_of_/sarah_mc.mp3 and
/mnt/mnt2/city_of_/sarah_mc.mp3 differ
Binary files /cdrom/heart000/i_get_th.mp3 and
/mnt/mnt2/heart000/i_get_th.mp3 differ
Binary files /cdrom/heart_fu/baby_com.mp3 and
/mnt/mnt2/heart_fu/baby_com.mp3 differ
Binary files /cdrom/heart_fu/being_wi.mp3 and
/mnt/mnt2/heart_fu/being_wi.mp3 differ
Binary files /cdrom/heart_fu/cherish_.mp3 and
/mnt/mnt2/heart_fu/cherish_.mp3 differ
Binary files /cdrom/heart_fu/how__bou.mp3 and
/mnt/mnt2/heart_fu/how__bou.mp3 differ
Binary files /cdrom/heart_fu/i_wanna_.mp3 and
/mnt/mnt2/heart_fu/i_wanna_.mp3 differ
Binary files /cdrom/heart_fu/just_the.mp3 and
/mnt/mnt2/heart_fu/just_the.mp3 differ
Binary files /cdrom/hope_flo/gillian_.mp3 and
/mnt/mnt2/hope_flo/gillian_.mp3 differ
Binary files /cdrom/hope_flo/lila_mcc.mp3 and
/mnt/mnt2/hope_flo/lila_mcc.mp3 differ
Binary files /cdrom/hope_flo/sheryl_c.mp3 and
/mnt/mnt2/hope_flo/sheryl_c.mp3 differ
Binary files /cdrom/hope_flo/trisha_y.mp3 and
/mnt/mnt2/hope_flo/trisha_y.mp3 differ

___________________

cdrecord-1.9-2.4-test5 -v dev=1,1,0 speed=8 blank=all

Result: Failure. I/O errors produced

Blanking entire disk
cdrecord-1.9-2.4-test5: Input/output error. blank unit: scsi sendcmd:
retryable
error
CDB: A1 00 00 00 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 82 EC 99 ED 0A 00 00 00 00 09 00 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x09 Qual 0x00 (track following error) Fru 0x0
Sense flags: Blk -2098423315 (not valid)
cmd finished after 7.373s timeout 9600s
cdrecord-1.9-2.4-test5: Cannot blank disk, aborting.

Reblank disc using :

cdrecord-1.6-2.2.16 -v dev=1,1,0 speed=4 blank=all

Result: No errors

==


cdrecord-1.9-2.4-test5 -v dev=1,1,0 speed=8 test-isofs.img

Result: Clean burn , no errors

Track 01: 64 of 64 MB written (fifo 100%).
Track 01: Total bytes read/written: 67696640/67696640 (33055 sectors).
Writing time: 70.841s
Fixating...
Fixating time: 34.919s
cdrecord-1.9-2.4-test5: fifo had 1067 puts and 1067 gets.
cdrecord-1.9-2.4-test5: fifo was 0 times empty and 971 times full, min fill
was
95%.

==

diff -r /cdrom /mnt/mnt2

Result: Failure, files differ

Binary files /cdrom/city_of_/paula_co.mp3 and
/mnt/mnt2/city_of_/paula_co.mp3 differ
Binary files /cdrom/city_of_/sarah_mc.mp3 and
/mnt/mnt2/city_of_/sarah_mc.mp3 differ
Binary files /cdrom/hope_flo/gillian_.mp3 and
/mnt/mnt2/hope_flo/gillian_.mp3 differ

____________________

cdrecord-1.10-2.2.16 -v dev=1,1,0 speed=8 blank=all

Result: No errors

==

cdrecord-1.10-2.2.16 -v dev=1,1,0 speed=8 test-isofs.img

Result: Clean burn, no errors

Track 01: 64 of 64 MB written (fifo 100%).
Track 01: Total bytes read/written: 67696640/67696640 (33055 sectors).
Writing time: 73.773s
Fixating...
Fixating time: 35.104s
cdrecord-1.10-2.2.16: fifo had 1067 puts and 1067 gets.
cdrecord-1.10-2.2.16: fifo was 0 times empty and 957 times full, min fill
was 93%.

==

diff -r /cdrom /mnt/mnt2

Result: Failure, files differ

Binary files /cdrom/city_of_/goo_goo_.mp3 and
/mnt/mnt2/city_of_/goo_goo_.mp3 differ
Binary files /cdrom/city_of_/paula_co.mp3 and
/mnt/mnt2/city_of_/paula_co.mp3 differ
Binary files /cdrom/city_of_/sarah_mc.mp3 and
/mnt/mnt2/city_of_/sarah_mc.mp3 differ
Binary files /cdrom/heart000/i_get_th.mp3 and
/mnt/mnt2/heart000/i_get_th.mp3 differ
Binary files /cdrom/heart_fu/baby_com.mp3 and
/mnt/mnt2/heart_fu/baby_com.mp3 differ
Binary files /cdrom/heart_fu/being_wi.mp3 and
/mnt/mnt2/heart_fu/being_wi.mp3 differ
Binary files /cdrom/heart_fu/cherish_.mp3 and
/mnt/mnt2/heart_fu/cherish_.mp3 differ
Binary files /cdrom/heart_fu/how__bou.mp3 and
/mnt/mnt2/heart_fu/how__bou.mp3 differ
Binary files /cdrom/heart_fu/i_wanna_.mp3 and
/mnt/mnt2/heart_fu/i_wanna_.mp3 differ
Binary files /cdrom/heart_fu/just_the.mp3 and
/mnt/mnt2/heart_fu/just_the.mp3 differ
Binary files /cdrom/hope_flo/gillian_.mp3 and
/mnt/mnt2/hope_flo/gillian_.mp3 differ
Binary files /cdrom/hope_flo/lila_mcc.mp3 and
/mnt/mnt2/hope_flo/lila_mcc.mp3 differ
Binary files /cdrom/hope_flo/sheryl_c.mp3 and
/mnt/mnt2/hope_flo/sheryl_c.mp3 differ
Binary files /cdrom/hope_flo/trisha_y.mp3 and
/mnt/mnt2/hope_flo/trisha_y.mp3 differ

____________________

cdrecord-1.10-2.4-test5 -v dev=1,1,0 speed=8 blank=all

Result: No errors

==

cdrecord-1.10-2.4-test5 -v dev=1,1,0 speed=8 test-isofs.img

Result: Clean burn, no errors

Track 01: 64 of 64 MB written (fifo 100%).
Track 01: Total bytes read/written: 67696640/67696640 (33055 sectors).
Writing time: 71.529s
Fixating...
Fixating time: 35.127s
cdrecord-1.10-2.4-test5: fifo had 1067 puts and 1067 gets.
cdrecord-1.10-2.4-test5: fifo was 0 times empty and 974 times full, min fill
was 95%.


==

diff -r /cdrom /mnt/mnt2

Result: Failure, files differ

Binary files /cdrom/city_of_/goo_goo_.mp3 and
/mnt/mnt2/city_of_/goo_goo_.mp3 differ
Binary files /cdrom/city_of_/sarah_mc.mp3 and
/mnt/mnt2/city_of_/sarah_mc.mp3 differ
Binary files /cdrom/hope_flo/lila_mcc.mp3 and
/mnt/mnt2/hope_flo/lila_mcc.mp3 differ

---------------------------------------------------------------------------
\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.038 / U:0.872 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site