Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 206708 - USB dvdrom problem with =app-cdr/k3b-1.0.4
Summary: USB dvdrom problem with =app-cdr/k3b-1.0.4
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 206715 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-19 21:25 UTC by garfungiloops
Modified: 2009-04-24 00:25 UTC (History)
1 user (show)

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 garfungiloops 2008-01-19 21:25:55 UTC
k3b-1.0.4 produces the error when trying to access dvdrom connected by USB.
dvdrom works perfectly before starting k3b and doesn't work after.
According dmesg k3b just sends some strange commands to it and it shuts down the device (/dev/sr0)

Previous version k3b-0.12.17 has no such problem. Works perfectly.

Before k3b start dmesg reports:
------------------------------------------------------------------------
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 15
usb-storage: waiting for device to settle before scanning
scsi 3:0:0:0: CD-ROM            LITE-ON  DVDRW SOHW-1213S TSD1 PQ: 0 ANSI: 0
sr0: scsi-1 drive
sr 3:0:0:0: Attached scsi CD-ROM sr0
sr 3:0:0:0: Attached scsi generic sg0 type 5
usb-storage: device scan complete
usb 1-5: reset high speed USB device using ehci_hcd and address 15
--------------------------------------------------------------------
After k3b start dmesg reports:
--------------------------------------------------------------------
usb 1-5: device descriptor read/64, error -71
usb 1-5: device descriptor read/64, error -71
usb 1-5: reset high speed USB device using ehci_hcd and address 15
usb 1-5: device descriptor read/64, error -71
usb 1-5: device descriptor read/64, error -71
usb 1-5: reset high speed USB device using ehci_hcd and address 15
usb 1-5: device not accepting address 15, error -71
usb 1-5: reset high speed USB device using ehci_hcd and address 15
usb 1-5: device not accepting address 15, error -71
usb 1-5: USB disconnect, address 15
scsi 3:0:0:0: scsi: Device offlined - not ready after error recovery
scsi 3:0:0:0: rejecting I/O to dead device
scsi 3:0:0:0: rejecting I/O to dead device
scsi 3:0:0:0: rejecting I/O to dead device
scsi 3:0:0:0: rejecting I/O to dead device
scsi 3:0:0:0: rejecting I/O to dead device
scsi 3:0:0:0: rejecting I/O to dead device
usb 1-5: new high speed USB device using ehci_hcd and address 16
usb 1-5: device descriptor read/64, error -71
usb 1-5: device descriptor read/64, error -71
usb 1-5: new high speed USB device using ehci_hcd and address 17
usb 1-5: device descriptor read/64, error -71
usb 1-5: device descriptor read/64, error -71
usb 1-5: new high speed USB device using ehci_hcd and address 18
usb 1-5: device not accepting address 18, error -71
usb 1-5: new high speed USB device using ehci_hcd and address 19
usb 1-5: device not accepting address 19, error -71
-------------------------------------------------------------------
k3b-1.0.4 reports when starting from console:
-------------------------------------------------------------------
kbuildsycoca running...
root:/home/bob# kdecore (KAction): WARNING: KActionCollection::KActionCollection
( QObject *parent, const char *name, KInstance *instance )
(K3bDevice::HalConnection) initializing HAL >= 0.5
Mapping udi /org/freedesktop/Hal/devices/storage_serial_LITE_ON_DVDRW_SOHW_1213S
_222222222222_0_0 to device /dev/sr0
Mapping udi /org/freedesktop/Hal/devices/storage_model_HL_DT_STDVD_ROM_GDR8164B
to device /dev/hdc
/dev/hdc resolved to /dev/hdc
/dev/hdc is block device (0)
/dev/hdc seems to be cdrom
(K3bDevice::Device) /dev/hdc: init()
(K3bDevice::Device) /dev/hdc feature: DVD Read (MMC5)
(K3bDevice::Device) /dev/hdc feature: DVD+R
(K3bDevice::Device) /dev/hdc feature: DVD+RW
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SENSE (5a)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        24
                           ascq:       0
(K3bDevice::Device) /dev/hdc: MODE SENSE length det failed.
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SENSE (5a)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        24
                           ascq:       0
(K3bDevice::Device) /dev/hdc: MODE SENSE with real length 65535 failed.
(K3bDevice::Device) /dev/hdc: modeSense 0x05 failed!
(K3bDevice::Device) /dev/hdc: Cannot check write modes.
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SENSE (5a)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        24
                           ascq:       0
(K3bDevice::Device) /dev/hdc: MODE SENSE length det failed.
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SENSE (5a)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        24
                           ascq:       0
(K3bDevice::Device) /dev/hdc: MODE SENSE with real length 65535 failed.
/dev/sr0 resolved to /dev/sr0
/dev/sr0 is block device (0)
/dev/sr0 seems to be cdrom
bus: 4, id: 0, lun: 0
(K3bDevice::Device) /dev/sr0: init()
(K3bDevice::Device) /dev/sr0 feature: CD Mastering
(K3bDevice::Device) /dev/sr0 feature: CD Track At Once
(K3bDevice::Device) /dev/sr0 feature: DVD+R
(K3bDevice::Device) /dev/sr0 feature: DVD+RW
(K3bDevice::Device) /dev/sr0 feature: DVD+R Double Layer
(K3bDevice::Device) /dev/sr0 feature: DVD-R/-RW Write
(K3bDevice::Device) /dev/sr0 feature: Rigid Restricted Overwrite
(K3bDevice::Device) /dev/sr0: dataLen: 60
(K3bDevice::Device) /dev/sr0: checking for TAO
(K3bDevice::Device) /dev/sr0: checking for SAO
(K3bDevice::Device) /dev/sr0: checking for SAO_R96P
(K3bDevice::Device) /dev/sr0: checking for SAO_R96R
(K3bDevice::Device) /dev/sr0: checking for RAW_R16
(K3bDevice::Device) /dev/sr0: checking for RAW_R96P
(K3bDevice::Device) /dev/sr0: checking for RAW_R96R
(K3bDevice::ScsiCommand) failed:
                           command:    GET PERFORMANCE (ac)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/sr0: GET PERFORMANCE length det failed.
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SENSE (5a)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/sr0: MODE SENSE length det failed.
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SENSE (5a)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/sr0: MODE SENSE with real length 65535 failed.
(K3bDevice::Device) could not open device /dev/sr0 for reading
                    (No such device or address)
Error while retrieving capabilities.
Could not initialize device /dev/sr0
Could not resolve /dev/ide/host0/bus1/target0/lun0/cd
/dev/ide/host0/bus1/target0/lun0/cd resolved to /dev/ide/host0/bus1/target0/lun0
/cd
(K3bDevice::Device) could not open device /dev/ide/host0/bus1/target0/lun0/cd fo
r reading
                    (No such file or directory)
could not open device /dev/ide/host0/bus1/target0/lun0/cd (No such file or direc
tory)
/dev/hdc resolved to /dev/hdc
(K3bDevice::DeviceManager) dev /dev/hdc already found
(K3bDevice::DeviceManager) found config entry for devicetype: HL-DT-ST DVD-ROM G
DR8164B
First sec data area: 43:41:33 (LBA 196608) (402653184
Last sec data area: 545:12:39 (LBA 2453439) (5024643072 Bytes)
Last sec layer 1: 00:00:00 (LBA 0) (0 Bytes)
Layer 1 length: 00:00:01 (LBA 1) (2048 Bytes)
Layer 2 length: 545:12:39 (LBA 2453439) (5024643072 Bytes)
(K3bDevice::Device) READ CAPACITY: 501:31:06 other capacity: 00:00:00
DiskInfo:
Mediatype:       DVD-ROM
Current Profile: DVD-ROM
Disk state:      complete
Empty:           0
Rewritable:      0
Appendable:      0
Sessions:        1
Tracks:          1
Layers:          1
Capacity:        501:31:07 (LBA 2256832) (4621991936 Bytes)
Remaining size:  00:00:00 (LBA 0) (0 Bytes)
Used Size:       501:31:07 (LBA 2256832) (4621991936 Bytes)
Devices:
------------------------------
Blockdevice:    /dev/hdc
Generic device:
Vendor:         HL-DT-ST
Description:    DVD-ROM GDR8164B
Version:        0L06
Write speed:    0
Profiles:       DVD-ROM, CD-ROM
Read Cap:       DVD-ROM, DVD-R Dual Layer, DVD-R Dual Layer Sequential, DVD-R Du                                   al Layer Jump, DVD+RW, DVD+R, DVD+RW Dual Layer, DVD+R Dual Layer, CD-ROM
Write Cap:      Error
Writing modes:  None
Reader aliases: /dev/hdc
------------------------------
removing udi /org/freedesktop/Hal/devices/usb_device_152d_2338_222222222222_if0_                                   scsi_host_scsi_device_lun0_scsi_generic
removing udi /org/freedesktop/Hal/devices/volume_label_NEW
removing udi /org/freedesktop/Hal/devices/storage_serial_LITE_ON_DVDRW_SOHW_1213                                   S_222222222222_0_0
Unmapping udi /org/freedesktop/Hal/devices/storage_serial_LITE_ON_DVDRW_SOHW_121                                   3S_222222222222_0_0 from device /dev/sr0
removing udi /org/freedesktop/Hal/devices/usb_device_152d_2338_222222222222_if0_                                   scsi_host_scsi_device_lun0
removing udi /org/freedesktop/Hal/devices/usb_device_152d_2338_222222222222_if0_                                   scsi_host
removing udi /org/freedesktop/Hal/devices/usb_device_152d_2338_222222222222_if0
removing udi /org/freedesktop/Hal/devices/usb_device_152d_2338_222222222222
kdecore (KAction): WARNING: KActionCollection::operator+=(): function is severel                                   y deprecated.



 

Reproducible: Always

Steps to Reproduce:
1. Connect USB dvdrom 
2. Start k3b (k3b-1.0.4)
3. /dev/sr0 disapearing USB dvdrom doesn't work any more




root:~# emerge --info
Portage 2.1.3.19 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 AMD Athlon(tm) XP 3100+
Timestamp of tree: Sat, 19 Jan 2008 09:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.3.5-r3, 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en ru de"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac alsa berkdb bidi bitmap-fonts cdr cli clucene cracklib crypt cups cvs dbus directfb divx4linux dri dvd dvdr dvdread encode exif faad fbcon ffmpeg fortran gdbm gif gimp gimpprint glitz gpm gtk hal icc iconv imagemagick imlib ipv6 isdnlog jack jpeg kde mad matroska midi mjpeg mmx mmxext mozilla mp3 mpeg mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt qt4 readline real reflection samba session slang spl sql sqlite3 sse ssl tcpd threads threadsafe tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vidix vim-syntax vorbis win32codecs wxwindows x264 x86 xcomposite xine xml xorg xv xvid zlib" ALSA_CARDS="intel8x0 usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-01-19 23:24:22 UTC
*** Bug 206715 has been marked as a duplicate of this bug. ***
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2008-12-21 21:45:54 UTC
Hmm. This bug is quite old.

Current stable is k3b-1.0.5-r3 and kernel you tested with, 2.6.23-gentoo-r3 is also old. Burning backends have also upgraded since, cdrtools, cdrkit, dvd+rw-tools, etc.

Can you give us an update from up to date system? Is this still an problem?
Comment 3 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2009-04-24 00:25:35 UTC
please test with updated k3b and kernel and reopen if you still have the problem.