On 6/17/06, Guennadi Liakhovetski <g.liakhovetski@xxxxxx> wrote:
On Fri, 16 Jun 2006, Julian Calaby wrote: > I received the following message in my log: > > drivers/scsi/dc395x.c: Please, contact <linux-scsi@xxxxxxxxxxxxxxx> to > help improve support for your system. > > Umm, so here I am =) Thanks for writing.
Not a problem - I was going to poke around in this driver, but haven't as yet.
> I received this whilst burning a CD, and can attempt to re-produce it if > needed. First I'd like to ask you for some more information about your system: CPU (32/64 bit), amount of RAM
CPU is a P4 class Celeron running at 2.4 GHz I have 256 MB RAM. I'm running kernel version 2.6.16
and if you get any other messages in your log around this one.
That's hard to say - I'm used to random SCSI related messages popping up from time to time - I'll burn a CD before and after applying your patches below and send you the results. As for log messages, I get: dc395x: Target 03: Sync: 100ns Offset 8 (10.0 MB/s) dc395x: eh_abort: (pid#171551) target=<03-0> cmd=cf1d1c80 dc395x: eh_abort: Command in progress<6>dc395x: eh_bus_reset: (pid#171551) target=<03-0> cmd=cf1d1c80 dc395x: doing_srb_done: pids G:171551(03-0) appearing from time to time, before and after receiving the "help us improve support" message. I put these down to a flaky burner.
Was it the first time you burned a CD on this system with this kernel? If not, maybe you could look in your logs if this message has come before, and, possibly, under which circumstances? Do you have other devices on this SCSI bus? Did the operation (CD-burning) succeed and was the CD burned correctly (maybe, read back and compare)?
This was the first time I've burned a CD with this kernel. A bit of history: I have a spindle of CDs which I couldn't burn with my previous drive, and digging through a dumpster I came across my current one, which is the next model up from my previous one. This was my first attempt to see if it would burn a CD. As such, I have no other logs for when I've burnt CDs. However, I used to get my logs spammed with: dc395x: sg_update_list: sg_to_virt failed lines, however this has stopped with kernel 2.6.16 (it started back before 2.6.12) This is also, the first time I've really played with the CD writer under this kernel. If there are other messages, then they're lost in the spam mentioned above. As for the SCSI bus configuration, the CD drive is ID #3, and it is alone on the bus, (and terminating it) As for the CD burning itself, this did succeed. The CD read back correctly on my IDE DVD drive. After this had happened, I burnt another CD which, whilst appearing to be read on a visual inspection, could not actually be read by another CD drive.
If indeed the message is pretty reproducible (I don't want to ask you to burn 10 CDs to reproduce it once more:-)), maybe you could try to apply the following two patches: http://marc.theaimsgroup.com/?l=linux-scsi&m=114400790021967&w=2 http://marc.theaimsgroup.com/?l=linux-scsi&m=114565338708969&w=2 in this order and re-test?
Ok, I can't do that right now, (exams) however, I will do this either Monday night, or Tuesday. I'll get back to you with full results then.
Thanks Guennadi
Thanks, -- Julian Calaby Email: julian.calaby@xxxxxxxxx - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html