Bug 4234

Summary: Running cd writing tools (cdrdao, cdrecord) freezes the kernel on detection phase.
Product: IO/Storage Reporter: Marek Wawrzyczny (marekw1977)
Component: IDEAssignee: Bartlomiej Zolnierkiewicz (bzolnier)
Status: CLOSED PATCH_ALREADY_AVAILABLE    
Severity: blocking CC: bunk, nick
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.10-r7 Subsystem:
Regression: --- Bisected commit-id:

Description Marek Wawrzyczny 2005-02-20 22:59:52 UTC
Distribution: Gentoo
Hardware Environment: Toshiba Tecra S1 (CD drive: hdc: UJDA740 DVD/CDRW, ATAPI
CD/DVD-ROM drive), using kernel ide (atapi) support compiled as modules.
Software Environment: Gentoo kernel 2.6.10-r7, KDE 3.3 and 3.4 beta2, cdrecord,
cdrdao, k3b.
Problem Description: Attempting cd writer detection using cdrecord, cdrdao form
shell and running k3b and k3bsetup (in KDE) freezes the kernel. This happens
with/without cd in drive. Hard reboot required. No messages in logs.
The following modules are loaded:
isofs                  31544  0
zlib_inflate           17280  1 isofs
pktcdvd                26428  0
ide_cd                 36868  0

Steps to reproduce: Run the above mentioned programs.
Comment 1 Nick Hill 2005-04-09 03:07:57 UTC
This is a copy of a bug I reported to the Debian BTS. I have pasted the debian
bug further down. I have demonstrated this bug with 2.6.10 and 2.6.11.7, both
debian and official kernel versions. I have tested two CD/DVD writing systems;
growisofs and cdrecord. The problem occurs with both. K3b is a front end for
cdrecord and growisofs. I am using NEC ND3500 DVD/CD writer on a VIA KM400 chipset.


Date: Sun, 27 Mar 2005 21:00:39 +0100
Package: kernel-image-2.6.10-1-k7
Version: 2.6.10-6
Severity: important

Repeatability: always
Problem occurs with 2.6.9?: Never

Action:
Attempt to write CD or DVD using cdrecord or growisofs.

Symptom:
Waits to write media for between 40-80 seconds. System then becomes catatonic/
totally unresponsive. Requires power removal or hit reset button.

No data written to media. Media can then be used after reboot to 2.6.9 kernel.

Typical command invocation leading to problem:
nick@d:/mnt/dynamic/isos$ cdrecord -dev0,0,0 SimplyMEPIS-3.3.iso

Kernel boot parameters:
hdc=ide-scsi

nick@d:~$ cdrecord -version
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J
Comment 2 Adrian Bunk 2005-08-08 18:04:43 UTC
Is this problem still present in a vanilla 2.6.13-rc6 ftp.kernel.org kernel?
Comment 3 Marek Wawrzyczny 2005-08-08 20:00:27 UTC
I've totally forgotten about this one.

Did not use k3b or any cdrw authoring tools from the day this bug was submitted
until a complete and fresh system reinstall 2 months ago (using the old kernel
config though).

Now running Gentoo kernel 2.6.12-r7 (gentoo-sources).

cdrecord/cdrdao/k3b all work correctly - no crashes. I have burnt several CDs
successfully. Not sure where or when the bug was resolved. Sorry.