Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cdda2wav error: cannot send SCSI command via ioctl [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
frodoontop
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jan 2004
Posts: 86

PostPosted: Sat Apr 22, 2006 2:10 pm    Post subject: Cdda2wav error: cannot send SCSI command via ioctl [SOLVED] Reply with quote

Hi,

Since a while cdda2wav will freeze if I try to use it as a user. The last thing I see is the following:

cdda2wav -D /dev/hdc returns:
Code:

CDINDEX discid: WMNt.gLiP1pJRLNoIxC4lckad2I-
CDDB discid: 0x7c086d0a
CD-Text: not detected
CD-Extra: not detected
samplefile size will be 41905628 bytes.
recording 237.5600 seconds stereo with 16 bits @ 44100.0 Hz ->'audio'...
cdda2wav: Operation not permitted. cannot set posix realtime scheduling policy
percent_done:
  0%cdda2wav: Operation not permitted. Cannot send SCSI cmd via ioctl


The groups command returns:
Code:
disk wheel floppy audio cdrom video games cdrw usb users plugdev scanner


ls -l /dev/hdc returns:
Code:
brw-rw---- 1 root cdrom 22, 0 apr 22 10:01 /dev/hdc


Anyone an idea?
_________________
Rubyripper, a secure audio ripper for linux. Look at the wiki page http://wiki.hydrogenaudio.org/index.php?title=Rubyripper for technical and developer info, screenshots and discussion about it's future.


Last edited by frodoontop on Sun Jul 30, 2006 8:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
rockfly12
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2005
Posts: 97
Location: New Hampshire

PostPosted: Sun Apr 30, 2006 4:14 am    Post subject: Reply with quote

Did you have any luck figuring this out? I have the exact same problem. This works as root but not as user. Cdparanoia works fine but cdda2wav does not.
Back to top
View user's profile Send private message
eealex
n00b
n00b


Joined: 29 Oct 2004
Posts: 65
Location: Japan

PostPosted: Tue May 02, 2006 11:18 am    Post subject: Reply with quote

Same here. I also notice that when burning CD there are some problems.. (very slow...). maybe independent problem.
Kernel is 2.6.16-r3
Back to top
View user's profile Send private message
rockfly12
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2005
Posts: 97
Location: New Hampshire

PostPosted: Tue May 02, 2006 11:52 pm    Post subject: Reply with quote

I am using kernel 2.6.15 as well. The burn process is very slow. Using grip and cdparanoia it takes forever to rip a disc and grip doesnt even report the rip speed correctly (it stays at 0.0x). I see the same problem running grip with cdda2wav as root user. I am using the gentoo-sources with genkernel and the only change I made was added mppe in as a module.
Back to top
View user's profile Send private message
RichyBennett
n00b
n00b


Joined: 04 May 2006
Posts: 1

PostPosted: Thu May 04, 2006 11:35 pm    Post subject: Im crying inside : ( Reply with quote

Will someone else help out on this topic.... its so cold and dark and lonely .... I must burn CD's :"(

All of my CD Burning programs are giving me the same results when not logged in as Root. I have GnomeBaker and it returns the error :

"Cannot send SCSI cmd via ioctl"

Im using kernel 2.6.15 R1

here is my emerge info also ...
Portage 2203-svn (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python: 2.3.5-r2, 2.4.2
dev-util/ccache: 2.3
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -pipe -O3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -pipe -O3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.usu.edu/mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apm asf audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt cups curl dbus dri encode esd exif expat faad fam firefox foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 hal howl imagemagick imlib ipv6 isdnlog java jpeg lcms libg++ libwww mad mikmod mmx mng motif mp3 mpeg ncurses nls nptl nsplugin nvidia ogg oggvorbis ole opengl oss pam pcre pdf pdflib perl pic png pppd python quicktime readline reflection sdl session spell spl sse sse2 ssl symlink tcpd theora tiff truetype truetype-fonts type1-fonts udev usb vorbis win32codecs xine xml2 xmms xorg xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


Ok im doing crying for a bit ... please help :(

-Richy
Back to top
View user's profile Send private message
frodoontop
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jan 2004
Posts: 86

PostPosted: Sat May 06, 2006 12:39 pm    Post subject: Reply with quote

I currently run 2.6.16-gentoo-r4, but I don't think the kernel is to blame. I suspect GCC-4.1 is the culprit. For now I use cdparanoia to rip cd's.
_________________
Rubyripper, a secure audio ripper for linux. Look at the wiki page http://wiki.hydrogenaudio.org/index.php?title=Rubyripper for technical and developer info, screenshots and discussion about it's future.
Back to top
View user's profile Send private message
rockfly12
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2005
Posts: 97
Location: New Hampshire

PostPosted: Mon Jul 24, 2006 2:47 am    Post subject: Reply with quote

I got this working for me. As part of the command line to cdda2wav I added "-I cooked_ioctl" and it seemed to fix the problem.
Back to top
View user's profile Send private message
frodoontop
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jan 2004
Posts: 86

PostPosted: Sun Jul 30, 2006 8:28 pm    Post subject: Reply with quote

This seems to fix it indeed, thanks!
_________________
Rubyripper, a secure audio ripper for linux. Look at the wiki page http://wiki.hydrogenaudio.org/index.php?title=Rubyripper for technical and developer info, screenshots and discussion about it's future.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum