Douglas Gilbert wrote:
> Arnd Bergmann wrote:
> > Douglas Gilbert wrote:
> > > Arnd Bergmann wrote:
> > > > ...
> > I found this happening only for mode2 CDs. I also tried to reduce
> > the memory size to 16 Meg to avoid problems with the double
> > buffering, but that did not change anything.
> We have had DMA problems on ISA adapters earlier in the
> week and they usually start with "Warning - running low
> on DMA memory". So it doesn't seem like it is that
> problem. I used cdrecord 1.8 alpha 30 (with 35
> being the latest available I think).
I had something about 1.8a28 and upgraded to a35 when the problem
first showed up.
>
> I'm not sure what a "mode2" CD is but if there is a
> sensitivity there it could be a cdrecord/media issue.
> You could try the [EMAIL PROTECTED] neswgroup.
AFAIK, mode2 is a format where a sector has not 2048 but 2336 bytes
and the error detection is accomplished differently. You need this
to write cd-i and some cd-xa disks. But as my problem did not show
up with earlier kernels, I don't think it is a cdrecord problem.
>
> > > I am using a later scsi patch set than 2.3.33 . Perhaps you
> > > should try Eric's latest and greatest (which I assume is not
> > > yet in 34pre1). Eric provided details of where to find it
> > > yesterday? on this group.
> > That was the one I was using already.
>
> Eric released another patch set (to Linus) about 5 minutes
> after my reply to your post last night. Probably doesn't
> include much that you don't already have.
>
> When you get the freeze does "ps axl" show anything strange?
Well, there are usually no preocesses with STAT 'SL':
F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME
COMMAND
100 0 762 638 0 0 5500 5500 end SL tty1 0:04
cdrecord -V
140 0 763 762 0 0 5412 5388 nanosl SL tty1 0:00
cdrecord -V
> Where does is show cdrecord hanging (WCHAN)? If you want more
> debug then I have attached a version 3 sg driver that is in
> sync with Eric's latest changes (that I can see). If you have
> a compile problem on line 652 of sg.c then remove the 3rd
> argument of that call (and you would not be looking at the
> same patch set as me in that case).
I did not need that. Currently I have 2.3.34pre2 + Eric's patch.
> The new sg driver will
> allow you to do the following during a freeze:
> $ cat /proc/scsi/sg/debug
>
> I would be interested in the output.
This is what is said after crashing:
dev_max=45 max_active_device=2 (origin 1)
scsi_dma_free_sectors=224 sg_pool_secs_aval=320 def_reserved_size=32768
>>> device=0(sga) scsi0 chan=0 id=3 lun=0 em=0 sg_tablesize=16 excl=0
FD(1): timeout=4050 bufflen=32768 (res)sgat=0 low_dma=1
cmd_q=0 f_packid=0 k_orphan=0 closed=0
reserved_buff>> act: id=76 t_o/elap=40500/158390 sgat=0 op=0x2a
>>> device=1(sgb) scsi1 chan=0 id=0 lun=0 em=1 sg_tablesize=256
excl=0
The 'closed' bit changed to 1 when I killed cdrecord. The elap timer is
still running.
Arnd <><
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]