Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43015 - k3b not working with 2.6.3 kernel [timing out on error]
Summary: k3b not working with 2.6.3 kernel [timing out on error]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-26 12:19 UTC by Colin Tinker
Modified: 2004-04-06 04:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Tinker 2004-02-26 12:19:58 UTC
Running k3b or k3bsetup with the above config fills the messages log with the error below:-

Device sr0 not ready.

This is repeated several hundred times a second, running k3b does the same both never time out on the error and you cannot kill the process even with -9 forcing a reboot, cdrecord -scanbus gives:-

Using libscg version 'schily-0.8'.
scsibus0:
        0,0,0     0) *
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) 'HP      ' 'CD-Writer+ 9200 ' '1.0e' Removable CD-ROM
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *

cdrecord will work worth the burner from the command line fine as will any other burner application i.e. Gnome CD Master.
emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-gentoo-r2)
=================================================================
System uname: 2.6.3-gentoo-r2 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache clean cvs distcc fixpackages sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi acpi4linux alsa apm arts avi berkdb bonobo cdr chroot crypt cups curl dga directfb dvd encode esd ethereal faad fam fbcon flac foomaticdb freetype gdbm gif gnome gphoto2 gpm gtk gtk2 imagemagick imlib ipv6 java jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mpeg4 mysql ncurses nls oggvorbis opengl oss pam pcap pdflib perl pic png postgres prelink python qt quicktime readline scanner sdl slang sox speedo spell ssl svga t1lib tcpd tiff transcode truetype usb v4l vanilla vim-with-x x86 xfs xml2 xmms xv xvid zlib zvbi"



Reproducible: Always
Steps to Reproduce:
1. k3bsetup or k3b
2.
3.

Actual Results:  
Device sr0 not ready errors fill messages log 

Expected Results:  
run normally and on error time out telling you about the error in this case unable to 
access cdnirner /dev/sr0 

The SCSI controller is:- SCSI storage controller: Initio Corporation 360P (rev 02)
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2004-02-27 15:53:03 UTC
I am having a very similar (possibly the same) problem. Started since I upgraded to 2.6.3-gentoo, I think. On 2.6.0-test* and 2.6.1 it worked fine.
Kernel: 2.6.3-gentoo
devfs (not udev)
ide-scsi enabled, scsi cdrom support enabled, ide cdrom support disabled.
(I am using an ide cd burner)
/proc/scsi/scsi says

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: LITEON   Model: DVD-ROM LTD163D  Rev: GHR3
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: LITE-ON  Model: DVDRW LDW-400D   Rev: 1.2c
  Type:   CD-ROM                           ANSI SCSI revision: 02

Reproducible: Always
Steps to Reproduce:
1. k3bsetup or k3b
2.
3.

Actual Results:  
Once the splash screen shows "Scanning for CD devices...", k3b
enters uninterruptible kernel sleep and fills the logs with

Feb 27 18:36:34 [kernel] ide-scsi: The scsi wants to send us more data than expected - discarding data
                - Last output repeated 22595 times -

Expected Results:  
run normally (as in previous kernel versions) or at least show some kind of an error message
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2004-02-27 16:31:09 UTC
It seems this is a kernel 2.6.3 issue:

http://lkml.org/lkml/2004/2/10/210
Comment 3 Colin Tinker 2004-02-28 04:05:49 UTC
Yes if you are using ide burners but mine is an SCSI burner so should not suffer this problem?
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2004-02-28 15:37:43 UTC
Woot! Kernel 2.6.4-rc1 includes Jens Axboe's patch that fixes the problem!

> Yes if you are using ide burners but mine is an SCSI burner so should not suffer this problem?

If I understand the discussion on lkml and on k3b.org right, the issue affects all cd burners that go through the scsi interface on 2.6.3 
Comment 5 Colin Tinker 2004-02-28 15:40:16 UTC
Many thanks will try it out tomorrow.
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2004-04-06 04:09:54 UTC
fine, so we can close this one :)