Re: [2.4.4ac4] Kernel crash while unmounting CD: cause andsolution

2001-05-11 Thread Jonathan Lundell

At 7:24 PM +0200 2001-05-11, Andreas Hartmann wrote:
>  > [1.] One line summary of the problem:
>>
>>  Kernel panic when trying to unmount a ide-scsi cdrom.
>
>The problem was a not properly working cd-rw-device. I cleaned the optical
>lens - and the cd-rw-device is working like at the beginning of its days.
>With the same CD's which it doesn't want to burn and which causes the crash
>before!

Not that a dirty CD lens should be able to cause a panic
-- 
/Jonathan Lundell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [2.4.4ac4] Kernel crash while unmounting CD: cause and solution

2001-05-11 Thread Andreas Hartmann

Hallo all,

> [1.] One line summary of the problem:
>
> Kernel panic when trying to unmount a ide-scsi cdrom.

The problem was a not properly working cd-rw-device. I cleaned the optical 
lens - and the cd-rw-device is working like at the beginning of its days. 
With the same CD's which it doesn't want to burn and which causes the crash 
before!


Regards,
Andreas Hartmann
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



[2.4.4ac4] Kernel crash while unmounting CD

2001-05-10 Thread Andreas Hartmann

[1.] One line summary of the problem:

Kernel panic when trying to unmount a ide-scsi cdrom.

[2.] Full description of the problem/report:

With Kernel 2.4.4 ac4 I got a kernelpanic while trying to unmount an 
ide-scsi-device.

 What I did:
1. Burning the cdrom (647 MB raw data; medium 700 MB) with cdrecord 1.10, 
compiled on this system with this kernel.
2. Burning ended successfully with no errors and no warnings.
3. After burning, the cd was ejected automatically.
4. Closing the tray with the new burned CD and mounting the CD.
5. the mounting takes a lot of time, but finally, the CD has been mounted. A 
ls -l on the root of the CD takes a lot of time again. But finally, the 
output of ls -l appeared.
6. umount of the CD. This took a lot of time until the Kernel crashed:

<0> Kernel panic. Attempt to kill the idle task. In idle task not syncing.
<1> unable to handle NULL pointer dereference at virtual address ... [I 
hoped, the oops had been logged in messages - nope; is there any way to save 
the output of this kernel oops?]


Before the oops, you can read the following in /var/log/messages:
May  9 17:24:47 athlon kernel: SCSI subsystem driver Revision: 1.00
May  9 17:24:47 athlon kernel: scsi0 : SCSI host adapter emulation for IDE 
ATAPI devices
May  9 17:24:47 athlon kernel:   Vendor:   Model: ATAPI CDROM.48X   
Rev: 120Y
May  9 17:24:47 athlon kernel:   Type:   CD-ROM 
ANSI SCSI revision: 02
May  9 17:24:47 athlon kernel:   Vendor: PHILIPS   Model: CDD3610 CD-R/RW   
Rev: 3.01
May  9 17:24:47 athlon kernel:   Type:   CD-ROM 
ANSI SCSI revision: 02
[...]
May  9 18:09:33 athlon kernel: ISO 9660 Extensions: Microsoft Joliet Level 3
May  9 18:09:33 athlon kernel: ISO 9660 Extensions: RRIP_1991A
May  9 18:10:07 athlon kernel: scsi : aborting command due to timeout : pid 
0, scsi0, channel 0, id 1, lun 0 Read (10) 00 00 00 00 26 00 00 01 00
May  9 18:10:07 athlon kernel: hdd: timeout waiting for DMA
May  9 18:10:07 athlon kernel: ide_dmaproc: chipset supported ide_dma_timeout 
func only: 14
May  9 18:10:07 athlon kernel: hdd: irq timeout: status=0xd0 { Busy }
May  9 18:10:07 athlon kernel: hdd: DMA disabled
May  9 18:10:09 athlon kernel: hdd: ATAPI reset complete
May  9 18:10:09 athlon kernel: hdd: irq timeout: status=0xd0 { Busy }
May  9 18:10:12 athlon kernel: hdd: ATAPI reset complete
May  9 18:10:12 athlon kernel: hdd: irq timeout: status=0xd0 { Busy }
May  9 18:10:12 athlon kernel: scsi0 channel 0 : resetting for second half of 
retries.
May  9 18:10:12 athlon kernel: SCSI bus is being reset for host 0 channel 0.
May  9 18:10:12 athlon kernel: hdd: status timeout: status=0xd0 { Busy }
May  9 18:10:12 athlon kernel: hdd: drive not ready for command
May  9 18:10:20 athlon kernel: hdd: ATAPI reset complete
May  9 18:10:20 athlon kernel: SCSI cdrom error : host 0 channel 0 id 1 lun 0 
return code = 2702
May  9 18:10:20 athlon kernel:  I/O error: dev 0b:01, sector 152
May  9 18:10:21 athlon kernel: scsi0 : channel 0 target 1 lun 0 request sense 
failed, performing reset.
May  9 18:10:21 athlon kernel: SCSI bus is being reset for host 0 channel 0.
May  9 18:10:21 athlon kernel: SCSI cdrom error : host 0 channel 0 id 1 lun 0 
return code = 1802
May  9 18:10:21 athlon kernel: sd0b:01: old sense key None
May  9 18:10:21 athlon kernel: Non-extended sense class 0 code 0x0
May  9 18:10:21 athlon kernel:  I/O error: dev 0b:01, sector 152
May  9 18:10:41 athlon kernel: scsi0 : channel 0 target 1 lun 0 request sense 
failed, performing reset.
May  9 18:10:41 athlon kernel: SCSI bus is being reset for host 0 channel 0.
May  9 18:10:41 athlon kernel: SCSI cdrom error : host 0 channel 0 id 1 lun 0 
return code = 1802
May  9 18:10:41 athlon kernel: sd0b:01: old sense key None
May  9 18:10:41 athlon kernel: Non-extended sense class 0 code 0x0
May  9 18:10:41 athlon kernel:  I/O error: dev 0b:01, sector 152
May  9 18:10:41 athlon kernel: scsi0 : channel 0 target 1 lun 0 request sense 
failed, performing reset.
May  9 18:10:41 athlon kernel: SCSI bus is being reset for host 0 channel 0.
May  9 18:10:41 athlon kernel: SCSI cdrom error : host 0 channel 0 id 1 lun 0 
return code = 1802
May  9 18:10:41 athlon kernel: sd0b:01: old sense key None
May  9 18:10:41 athlon kernel: Non-extended sense class 0 code 0x0
May  9 18:10:41 athlon kernel:  I/O error: dev 0b:01, sector 152
May  9 18:10:48 athlon kernel: scsi0 : channel 0 target 1 lun 0 request sense 
failed, performing reset.
May  9 18:10:48 athlon kernel: SCSI bus is being reset for host 0 channel 0.
May  9 18:10:50 athlon kernel: scsi0 : channel 0 target 1 lun 0 request sense 
failed, performing reset.



7. Reboot. I couldn't mount any more this CD with my burning device Philips 
CDD 3610 (ATAPI-burner). The following log appears:

May  9 18:18:02 athlon kernel: SCSI subsystem driver Revision: 1.00
May  9 18:18:02 athlon kernel: scsi0 : SCSI host adapter emulation for IDE 
ATAPI devices
May  9