mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: 2.4.10ac10, cdrecord 1.9-6, Mitsumi CR-4804TE: lock up burning too large image
@ 2001-10-22  5:48 Paul Kreiner
  0 siblings, 0 replies; 8+ messages in thread
From: Paul Kreiner @ 2001-10-22  5:48 UTC (permalink / raw)
  To: vherva; +Cc: linux-kernel, cdwrite

> Ok. I updated to 1.10 from redhat rawhide, but as said it didn't work at all
> with 2.2 ("failed to mmap /dev/null" or something) so I went back to 1.9. I
> could retry now that I've updated the machine in question to 2.4. (I can
> also see if the 2.2 /dev/null error reproduces if you are interested.) I'll
> retry too large image with 1.10 and report back to you, but I fear it is a
> kernel bug.
 
I believe I ran into this same cdrecord "fail to mmap /dev/null" issue 
before.  The fix (aside from upgrading your kernel to 2.4.x) is to pass 
"fs=0" to cdrecord.  According to the docs, this disables the in-memory FIFO.

Cheers,
Paul Kreiner

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: 2.4.10ac10, cdrecord 1.9-6, Mitsumi CR-4804TE: lock up burning too large image
@ 2001-10-21 12:10 Joerg Schilling
  2001-10-21 17:25 ` Ville Herva
  0 siblings, 1 reply; 8+ messages in thread
From: Joerg Schilling @ 2001-10-21 12:10 UTC (permalink / raw)
  To: schilling, vherva; +Cc: cdwrite, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1283 bytes --]


>From vherva@niksula.hut.fi Sun Oct 21 14:08:12 2001

>On Sun, Oct 21, 2001 at 01:56:06PM +0200, you [Joerg Schilling] claimed:
>> 
>> >Hmm. It used to work with 2.2-kernel. With too large image, it just gave an
>> >error.
>> 
>> I may only judge from information you provide, not from information you hide.

>I did say that in the original report:

>"It used to give a nice error when disk size was exceeded with 2.2.18pre19
>and a tad older cdrecord..."

Sorry, I seem have to miss this.

>> 1.10 is outdated too, please read
>> 
>> http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/problems.html

>Ok. I'll compile the newest from source.

>But do you think the too-large-image lock up might be cured with a newer
>cdrecord, or should is the kernel the prime suspect?

It least recent libscg versions include a workaround for an incorrect
Linux kernel return for a timed out SCSI command via ATAPI. So if the kernel 
does return at all, cdrecord will know why.

Jörg

 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.gmd.de		(work) chars I am J"org Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: 2.4.10ac10, cdrecord 1.9-6, Mitsumi CR-4804TE: lock up burning too large image
@ 2001-10-21 11:56 Joerg Schilling
  2001-10-21 12:08 ` Ville Herva
  0 siblings, 1 reply; 8+ messages in thread
From: Joerg Schilling @ 2001-10-21 11:56 UTC (permalink / raw)
  To: schilling, vherva; +Cc: cdwrite, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1636 bytes --]


>From vherva@niksula.hut.fi Sun Oct 21 13:46:25 2001

>On Sun, Oct 21, 2001 at 01:37:01PM +0200, you [Joerg Schilling] claimed:
>> 

>Thanks for the timely reply!

>> This must be a broken drive....

>Hmm. It used to work with 2.2-kernel. With too large image, it just gave an
>error.

I may only judge from information you provide, not from information you hide.

>> Don't use outdated cdrecord versions, I cannot support them!

>Ok. I updated to 1.10 from redhat rawhide, but as said it didn't work at all

1.10 is outdated too, please read

http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/problems.html

>with 2.2 ("failed to mmap /dev/null" or something) so I went back to 1.9. I

I cannot prevent you from broken Linux installations!

The linux kernel people still have propblems with interfaces and make thanges that
break binary compatibility when going to more recent Linux versions.
Why do you believe that a cdrecord that has been compiled on 2.4 will run on 2.2?

Linux needed close to 10 years to finally support mmap() (ther OS like SunOS
did this since 1987). Cdrecord's outoconf chooses the best interfaces of the OS.
SVS shared mem is outdated and badly implemented on Linux (too many restrictions).
mmap is the modern method to get shared memory but Linux didn't support is before
November 2000.



Jörg

 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.gmd.de		(work) chars I am J"org Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix

^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <200110211137.f9LBb1w08887@burner.fokus.gmd.de>]
* 2.4.10ac10, cdrecord 1.9-6, Mitsumi CR-4804TE: lock up burning too large image
@ 2001-10-21 10:54 Ville Herva
  2001-10-22 19:03 ` bill davidsen
  0 siblings, 1 reply; 8+ messages in thread
From: Ville Herva @ 2001-10-21 10:54 UTC (permalink / raw)
  To: linux-kernel

When (accidentally) trying to burn ~670MB onto a 74" cdr disk, I experienced
a complete lock up.
                                                                                
It went to 99% (as one would expect), and then drive began giving weird
sounds - as if it was moving the head from start to end over and over. After
a short while, the whole system locked up, no mouse, keyboard, caps lock,
ctrl-alt-del, alt-sysrq-{s,u,b}.
                                                                                
It used to give a nice error when disk size was exceeded with 2.2.18pre19
and a tad older cdrecord (1.9-something (1.10-4 failed on 2.2 BTW, giving
error on mmapping /dev/null)).
                                                                                
I assume this is a kernel thing...
                                                                                
BTW: Also the cd audio ripping speed has dropped from ~8x to ~1x with both
my cdrw and cd drive. The drop took place before upgrading from 2.2 to 2.4. 
I am and was using scsi-emulation for both drives. I tried going back to
older cdparanoia, but it didn't help. Before I try to binary search what has
changed, does anybody have any ideas on what to try?
                                                                                
------------------------------------------------------------------------        
kernel 2.4.10-ac10 SMP                                                          
cdrecord 1.9-6                                                                  
                                                                                
dmesg:                                                                          
scsi : 0 hosts left.                                                            
SCSI subsystem driver Revision: 1.00                                            
scsi0 : SCSI host adapter emulation for IDE ATAPI devices                       
  Vendor: MITSUMI   Model: CR-4804TE         Rev: 2.4C                          
  Type:   CD-ROM                             ANSI SCSI revision: 02             
APIC error on CPU0: 08(02)                                                      
Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0                       
sr0: scsi3-mmc drive: 32x/32x cd/rw xa/form2 cdda tray                          
Uniform CD-ROM driver Revision: 3.12                                            
sr1: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray                   
                                                                                
hdparm /dev/hdd:
                                                                                
/dev/hdd:                                                                       
 HDIO_GET_MULTCOUNT failed: Input/output error                                  
 I/O support  =  0 (default 16-bit)                                             
 unmaskirq    =  0 (off)                                                        
 using_dma    =  1 (on)                                                         
 keepsettings =  0 (off)                                                        
 HDIO_GET_NOWERR failed: Input/output error                                     
 readonly     =  0 (off)                                                        
 BLKRAGET failed: Input/output error                                            
 HDIO_GETGEO failed: Invalid argument                                           
                                                                                
cdrecord -scanbus:                                                              
        0,1,0     1) 'MITSUMI ' 'CR-4804TE       ' '2.4C' Removable CD-ROM      
                                                                                
                                                                                
kernel messages before the lockup:
                                                                                
Oct 20 20:35:53 kernel: scsi : aborting command due to timeout : pid 155966,    
@+scsi0, channel 0, id 1, lun 0 0x2a 00 00 05 48 9e 00 00 1f 00                 
Oct 20 20:35:53 kernel: hdd: timeout waiting for DMA                            
Oct 20 20:35:53 kernel: ide_dmaproc: chipset supported ide_dma_timeout func     
@+only: 14                                                                      
Oct 20 20:35:54 kernel: hdd: status timeout: status=0xd0 { Busy }               
Oct 20 20:35:54 kernel: hdd: drive not ready for command                        
Oct 20 20:36:28 kernel: hdd: ATAPI reset timed-out, status=0xd0                 
<halted at this point>                                                          


-- v --

v@iki.fi

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-10-22 19:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-22  5:48 2.4.10ac10, cdrecord 1.9-6, Mitsumi CR-4804TE: lock up burning too large image Paul Kreiner
  -- strict thread matches above, loose matches on Subject: below --
2001-10-21 12:10 Joerg Schilling
2001-10-21 17:25 ` Ville Herva
2001-10-21 11:56 Joerg Schilling
2001-10-21 12:08 ` Ville Herva
     [not found] <200110211137.f9LBb1w08887@burner.fokus.gmd.de>
2001-10-21 11:46 ` Ville Herva
2001-10-21 10:54 Ville Herva
2001-10-22 19:03 ` bill davidsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®