Mailinglist Archive: packet-writing (92 mails)
| < Previous | Next > |
Packet Writing And DVD+RW
- From: Roy Bamford <zenadsl6108@xxxxxxxxx>
- Date: Sun, 12 Jan 2003 21:53:46 +0000 (UTC)
- Message-id: <20030112215345.A1052@Neddyseagoon>
Hi all,
I'm running RH8.0 with the 2.4.18-17.8.0 kernel and both the packet writing and DVD+RW patches.
I got a Ricoh MP5125A to add to a SAMSUNG CD-R/RW. That's what started me look for packet writing utilities for Linux.
The packet writing patch (intended for 2.4.19) applied and compiled without errors and seems to work with both drives.
Then I found out that it wouldn't work on DVD+RWs, so I added the DVD+RW patch too. That didn't apply cleanly. I had to add the last few hunks by hand and tidy up the timeout parameter passing code. I was expecting a bit of bother.
It all works well for small amounts of data - UDF for DVD+RW and packet writing on CD-RWs.
With large datsets on DVD+RW it goes so far, then the keyboard stops working. Its still possible to use the mouse.
A few minutes later, the mouse stops working too and the only way out is with the power switch. When the keyboard is dead, remote logins show that the the load average is over 7 but the CPU time is going to a background task (Seti@Home).
sr0 is a pioneer DVD-ROM
sr1 is the DVD+RW
sr2 is the Samsung CD-RW
/var/logs/messages shows:- Jan 12 16:33:33 Neddyseagoon kernel: Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Jan 12 16:33:33 Neddyseagoon kernel: Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
Jan 12 16:33:33 Neddyseagoon kernel: Attached scsi CD-ROM sr2 at scsi0, channel 0, id 2, lun 0
Jan 12 16:33:33 Neddyseagoon kernel: sr0: scsi3-mmc drive: 0x/0x cd/rw xa/form2 cdda tray
Jan 12 16:33:33 Neddyseagoon kernel: sr0: mmc-3 profile capable, current profile: 8h
Jan 12 16:33:33 Neddyseagoon kernel: Uniform CD-ROM driver Revision: 3.12
Jan 12 16:33:33 Neddyseagoon kernel: sr1: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
Jan 12 16:33:33 Neddyseagoon kernel: sr1: mmc-3 profile capable, current profile: 1Ah
Jan 12 16:33:33 Neddyseagoon kernel: sr2: scsi3-mmc drive: 20x/32x writer cd/rw xa/form2 cdda tray
Jan 12 16:38:20 Neddyseagoon su(pam_unix)[1182]: session opened for user root by (uid=500)
Jan 12 16:40:12 Neddyseagoon kernel: sr1: dirty DVD+RW media, "finalizing"
Jan 12 16:40:32 Neddyseagoon su(pam_unix)[1263]: session opened for user root by (uid=500)
Jan 12 16:41:29 Neddyseagoon kernel: udf: registering filesystem
Jan 12 16:41:32 Neddyseagoon kernel: UDF-fs INFO UDF 0.9.6 (2002/03/14) Mounting volume 'LinuxUDF', timestamp 2003/01/12 15:39 (1000)
Jan 12 16:41:32 Neddyseagoon kernel: cdrom: This disc doesn't have any tracks I recognize!
Jan 12 16:41:35 Neddyseagoon kernel: sr1: injecting "SYNCHRONIZE CACHE"
Jan 12 16:50:06 Neddyseagoon kernel: sr1: injecting "SYNCHRONIZE CACHE"
Jan 12 16:51:08 Neddyseagoon last message repeated 24 times
Jan 12 16:52:09 Neddyseagoon last message repeated 49 times
Jan 12 16:53:21 Neddyseagoon last message repeated 30 times
Jan 12 16:56:11 Neddyseagoon last message repeated 16 times
Jan 12 16:57:44 Neddyseagoon last message repeated 2 times
Jan 12 16:59:06 Neddyseagoon last message repeated 42 times
Jan 12 17:00:07 Neddyseagoon last message repeated 46 times
Jan 12 17:01:03 Neddyseagoon last message repeated 53 times
Jan 12 17:01:04 Neddyseagoon timesync: clock sync: offset -0.641107 sec
Jan 12 17:01:04 Neddyseagoon kernel: sr1: injecting "SYNCHRONIZE CACHE"
Jan 12 17:01:35 Neddyseagoon last message repeated 27 times
Jan 12 17:02:37 Neddyseagoon last message repeated 56 times
Jan 12 17:03:38 Neddyseagoon last message repeated 58 times
Jan 12 17:04:39 Neddyseagoon last message repeated 56 times
Jan 12 17:05:40 Neddyseagoon last message repeated 51 times
Jan 12 17:12:37 Neddyseagoon last message repeated 30 times
Jan 12 17:13:59 Neddyseagoon last message repeated 13 times
Jan 12 17:15:22 Neddyseagoon kernel: sr1: injecting "SYNCHRONIZE CACHE"
Jan 12 17:16:23 Neddyseagoon last message repeated 6583 times
Jan 12 17:17:24 Neddyseagoon last message repeated 7764 times
Jan 12 17:18:25 Neddyseagoon last message repeated 7684 times
Jan 12 17:19:26 Neddyseagoon last message repeated 7825 times
Jan 12 17:20:27 Neddyseagoon last message repeated 7722 times
It dies when the 'last message repeated 6583 times' starts.
Left to its own devices to see if it will recover, the light on the drive goes out. So its clearly not doing anything useful.
I have traced the message to the file in /linux/drivers/scsi/sr.c but looking at the code doesn't help me understand how or why its attempting to do 'injecting "SYNCHRONIZE CACHE" ' commands almost 10,000 times a second.
It does explain why the system is unresponsive though.
Does anyone have any pointers as to where it may be useful to add debug code or even a fix?
Now the easy question.
When I delete files from a CD-RW that has been packet written, the file tyoes and permissions are changed to unknown but the file names still appear in the directories. Is there a reason for this?
I read in the archive for this list that the UDF mailing list is inactive, so since packet writing and UDF have some interdependencies I thought I would post here. I hope thats OK with everyone.
Regards,
Roy Bamford
I'm running RH8.0 with the 2.4.18-17.8.0 kernel and both the packet writing and DVD+RW patches.
I got a Ricoh MP5125A to add to a SAMSUNG CD-R/RW. That's what started me look for packet writing utilities for Linux.
The packet writing patch (intended for 2.4.19) applied and compiled without errors and seems to work with both drives.
Then I found out that it wouldn't work on DVD+RWs, so I added the DVD+RW patch too. That didn't apply cleanly. I had to add the last few hunks by hand and tidy up the timeout parameter passing code. I was expecting a bit of bother.
It all works well for small amounts of data - UDF for DVD+RW and packet writing on CD-RWs.
With large datsets on DVD+RW it goes so far, then the keyboard stops working. Its still possible to use the mouse.
A few minutes later, the mouse stops working too and the only way out is with the power switch. When the keyboard is dead, remote logins show that the the load average is over 7 but the CPU time is going to a background task (Seti@Home).
sr0 is a pioneer DVD-ROM
sr1 is the DVD+RW
sr2 is the Samsung CD-RW
/var/logs/messages shows:- Jan 12 16:33:33 Neddyseagoon kernel: Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Jan 12 16:33:33 Neddyseagoon kernel: Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
Jan 12 16:33:33 Neddyseagoon kernel: Attached scsi CD-ROM sr2 at scsi0, channel 0, id 2, lun 0
Jan 12 16:33:33 Neddyseagoon kernel: sr0: scsi3-mmc drive: 0x/0x cd/rw xa/form2 cdda tray
Jan 12 16:33:33 Neddyseagoon kernel: sr0: mmc-3 profile capable, current profile: 8h
Jan 12 16:33:33 Neddyseagoon kernel: Uniform CD-ROM driver Revision: 3.12
Jan 12 16:33:33 Neddyseagoon kernel: sr1: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
Jan 12 16:33:33 Neddyseagoon kernel: sr1: mmc-3 profile capable, current profile: 1Ah
Jan 12 16:33:33 Neddyseagoon kernel: sr2: scsi3-mmc drive: 20x/32x writer cd/rw xa/form2 cdda tray
Jan 12 16:38:20 Neddyseagoon su(pam_unix)[1182]: session opened for user root by (uid=500)
Jan 12 16:40:12 Neddyseagoon kernel: sr1: dirty DVD+RW media, "finalizing"
Jan 12 16:40:32 Neddyseagoon su(pam_unix)[1263]: session opened for user root by (uid=500)
Jan 12 16:41:29 Neddyseagoon kernel: udf: registering filesystem
Jan 12 16:41:32 Neddyseagoon kernel: UDF-fs INFO UDF 0.9.6 (2002/03/14) Mounting volume 'LinuxUDF', timestamp 2003/01/12 15:39 (1000)
Jan 12 16:41:32 Neddyseagoon kernel: cdrom: This disc doesn't have any tracks I recognize!
Jan 12 16:41:35 Neddyseagoon kernel: sr1: injecting "SYNCHRONIZE CACHE"
Jan 12 16:50:06 Neddyseagoon kernel: sr1: injecting "SYNCHRONIZE CACHE"
Jan 12 16:51:08 Neddyseagoon last message repeated 24 times
Jan 12 16:52:09 Neddyseagoon last message repeated 49 times
Jan 12 16:53:21 Neddyseagoon last message repeated 30 times
Jan 12 16:56:11 Neddyseagoon last message repeated 16 times
Jan 12 16:57:44 Neddyseagoon last message repeated 2 times
Jan 12 16:59:06 Neddyseagoon last message repeated 42 times
Jan 12 17:00:07 Neddyseagoon last message repeated 46 times
Jan 12 17:01:03 Neddyseagoon last message repeated 53 times
Jan 12 17:01:04 Neddyseagoon timesync: clock sync: offset -0.641107 sec
Jan 12 17:01:04 Neddyseagoon kernel: sr1: injecting "SYNCHRONIZE CACHE"
Jan 12 17:01:35 Neddyseagoon last message repeated 27 times
Jan 12 17:02:37 Neddyseagoon last message repeated 56 times
Jan 12 17:03:38 Neddyseagoon last message repeated 58 times
Jan 12 17:04:39 Neddyseagoon last message repeated 56 times
Jan 12 17:05:40 Neddyseagoon last message repeated 51 times
Jan 12 17:12:37 Neddyseagoon last message repeated 30 times
Jan 12 17:13:59 Neddyseagoon last message repeated 13 times
Jan 12 17:15:22 Neddyseagoon kernel: sr1: injecting "SYNCHRONIZE CACHE"
Jan 12 17:16:23 Neddyseagoon last message repeated 6583 times
Jan 12 17:17:24 Neddyseagoon last message repeated 7764 times
Jan 12 17:18:25 Neddyseagoon last message repeated 7684 times
Jan 12 17:19:26 Neddyseagoon last message repeated 7825 times
Jan 12 17:20:27 Neddyseagoon last message repeated 7722 times
It dies when the 'last message repeated 6583 times' starts.
Left to its own devices to see if it will recover, the light on the drive goes out. So its clearly not doing anything useful.
I have traced the message to the file in /linux/drivers/scsi/sr.c but looking at the code doesn't help me understand how or why its attempting to do 'injecting "SYNCHRONIZE CACHE" ' commands almost 10,000 times a second.
It does explain why the system is unresponsive though.
Does anyone have any pointers as to where it may be useful to add debug code or even a fix?
Now the easy question.
When I delete files from a CD-RW that has been packet written, the file tyoes and permissions are changed to unknown but the file names still appear in the directories. Is there a reason for this?
I read in the archive for this list that the UDF mailing list is inactive, so since packet writing and UDF have some interdependencies I thought I would post here. I hope thats OK with everyone.
Regards,
Roy Bamford
| < Previous | Next > |