K3b 1.0.4: unable to call k3bsetup2 and IOCTL errors at startup.

wwp <[email protected]> Tue, 6 Nov 2007 11:24:53 +0100
Newsgroups gmane.comp.kde.k3b
Message-ID <[email protected]>
Hi there,


I've just installed k3b 1.0.4 from the sources on my Fedora Core 5
GNU/Linux system (x86). Since then, I get serious (configuration?)
issues and can't use k3b.


First, running k3b as non-root told me that I might want to setup
permissions for non-root usage (cdrecord not properly configured for a
non-root optimal usage, IIRC).

But it seems that running `kcmshell k3bsetup2 --lang en_US` silently
fails. I get the root-password prompt, but won't go further.

BTW, there's k3bsetup binary (not k3bsetup2) in /usr/bin/ (it comes w/
my installation from the soutces), is that a problem? Anyway it refuses
to start, gets back to prompt immediately (as non-root). As root, I get:

_IceTransOpen: Unable to Parse address

and it gets back to prompt.


I closed k3b and restarted it as root, I got:

Could not resolve /dev/sr0
/dev/sr0 resolved to /dev/sr0
(K3bDevice::Device) could not open device /dev/sr0 for reading
                    (No such file or directory)
could not open device /dev/sr0 (No such file or directory)
/dev/scd0 resolved to /dev/scd0


and k3b didn't show up. In /var/log/message, I noticed the most
interesting thing:

kernel: ata2: command 0xa0 timeout, stat 0xd0 host_stat 0x20
kernel: rtc: lost some interrupts at 512Hz.
kernel: ata2: command 0xa0 timeout, stat 0xd0 host_stat 0x20
kernel: rtc: lost some interrupts at 512Hz.
kernel: ata2: command 0xa0 timeout, stat 0xd0 host_stat 0x20
kernel: sr0: CDROM (ioctl) error, command: <6>Read TOC/PMA/ATIP 43 00 00 00 00 00 00 00 0c 00
kernel: sr: Current [descriptor]: sense key: Aborted Command
kernel: 	Additional sense: Scsi parity error
kernel: rtc: lost some interrupts at 512Hz.
kernel: BUG: warning at drivers/scsi/libata-scsi.c:788/ata_scsi_error() (Tainted: P 	)
kernel:  <f886ab08> ata_scsi_error+0x6f/0xd3 [libata]  <f884a205> scsi_error_handler+0xb5/0xa30 [scsi_mod]
kernel:  <f884a150> scsi_error_handler+0x0/0xa30 [scsi_mod]  <c012595a> kthread+0x91/0xbd
kernel:  <c01258c9> kthread+0x0/0xbd  <c0101005> kernel_thread_helper+0x5/0xb
kernel: BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
kernel:  printing eip:
kernel: f8869ea2
kernel: *pde = 1102c067
kernel: *pte = 00000000
kernel: Oops: 0000 [#1]
kernel: last sysfs file: /devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
kernel: Modules linked in: loop pwc(U) videodev fglrx(U) nls_utf8 fuse vfat fat hfsplus i8k autofs4 vmnet(U) vmmon(U) cpufreq_ondemand video button battery ac wacom ipv6 nvram usb_storage snd_intel8x0m snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm ipw2200 ieee80211 snd_timer snd ieee80211_crypt tg3 sr_mod soundcore sg ehci_hcd uhci_hcd snd_page_alloc ahci ata_piix libata sd_mod scsi_mod
kernel: CPU:	0
kernel: EIP:	0060:[<f8869ea2>]	 Tainted: P 	 VLI
kernel: EFLAGS: 00010282   (2.6.17-1.2187_FC5.custom2 #1)
kernel: EIP is at ata_eng_timeout+0x19/0xb4 [libata]
kernel: eax: c19d4294	ebx: c19d4294	ecx: 00000000	edx: c19d438c
kernel: esi: c19d4000	edi: 00000000	ebp: f884a150	esp: c19c1f60
kernel: ds: 007b   es: 007b   ss: 0068
kernel: Process scsi_eh_1 (pid: 350, threadinfo=c19c0000 task=c196f070)
kernel: Stack: c19c1f5c c19d4294 c19d4000 00000286 f884a150 f886ab1c 00000293 c19c0000
kernel: 	   c1983d60 f884a205 c19d4000 c19c1fc8 c19c1fb4 00000009 c196f178 c1977540
kernel: 	   39538a00 003d08bc 00000000 c19c0000 c1983d60 00000000 00000000 c19d4000
kernel: Call Trace:
kernel:  <f884a150> scsi_error_handler+0x0/0xa30 [scsi_mod]  <f886ab1c> ata_scsi_error+0x83/0xd3 [libata]
kernel:  <f884a205> scsi_error_handler+0xb5/0xa30 [scsi_mod]  <f884a150> scsi_error_handler+0x0/0xa30 [scsi_mod]
kernel:  <c012595a> kthread+0x91/0xbd  <c01258c9> kthread+0x0/0xbd
kernel:  <c0101005> kernel_thread_helper+0x5/0xb
kernel: Code: 58 5a eb 0a 89 f0 5b 5e 5f e9 10 e4 ff ff 5b 5e 5f c3 55 57 31 ff 56 53 83 ec 04 83 b8 94 01 00 00 00 8d 90 f8 00 00 00 0f 44 fa <8b> 1f c7 83 dc 01 00 00 01 00 00 00 9c 8f 04 24 fa 8a 47 14 3c
kernel: EIP: [<f8869ea2>] ata_eng_timeout+0x19/0xb4 [libata] SS:ESP 0068:c19c1f60

now, opening k3b hangs on terminal until I press CTRL+C. I guess it's
time to reboot.


FYI, kernel is 2.6.17 from FC5, k3b compiled using gcc 4.1.1. I'm not
running in a KDE desktop, but all the KDE stuff is installed and works
properly. k3b installed from FC5 .rpm do work fine.

Did I miss something or did something wrong? Feel free to request for
any system information. I attached the output of ./configure.


Regards,

-- 
wwp

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
K3b-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/k3b-user
configure.log (text/x-log, 16.8 KB)
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /usr//bin/kde-config
checking where to install... /usr/ (as requested)
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether gcc is blacklisted... no
checking whether g++ supports -Wmissing-format-attribute... yes
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wno-non-virtual-dtor... yes
checking whether g++ supports -fno-reorder-blocks... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fno-common... yes
checking whether g++ supports -fexceptions... yes
checking whether system headers can cope with -O2 -fno-inline... irrelevant
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -O0... yes
checking whether g++ supports -Wl,--no-undefined... yes
checking whether g++ supports -Wl,--allow-shlib-undefined... yes
not using lib directory suffix
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking if C++ programs can be compiled... yes
checking for strlcat... no
checking if strlcat needs custom prototype... yes - in libkdefakes
checking for strlcpy... no
checking if strlcpy needs custom prototype... yes - in libkdefakes
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... yes
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking sys/bitypes.h usability... yes
checking sys/bitypes.h presence... yes
checking for sys/bitypes.h... yes
checking for poll in -lpoll... no
checking Carbon/Carbon.h usability... no
checking Carbon/Carbon.h presence... no
checking for Carbon/Carbon.h... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... yes
checking for res_init... yes
checking if res_init needs custom prototype... no
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for dlopen in -ldl... (cached) yes
checking for shl_unload in -ldld... no
checking for size_t... yes
checking size of size_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking sizeof size_t == sizeof unsigned long... yes
checking for PIE support... yes
checking if enabling -pie/fPIE support... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... libraries /usr/lib, headers .
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for perl... /usr/bin/perl
checking for Qt... libraries /usr/lib/qt-3.3/lib, headers /usr/lib/qt-3.3/include using -mt
checking for moc... /usr/lib/qt-3.3/bin/moc
checking for uic... /usr/lib/qt-3.3/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... libraries /usr/lib, headers /usr/include/kde
checking if UIC has KDE plugins available... yes
checking for KDE paths... defaults
checking for dcopidl... /usr/bin/dcopidl
checking for dcopidl2cpp... /usr/bin/dcopidl2cpp
checking for mcopidl... /usr/bin/mcopidl
checking for artsc-config... /usr/bin/artsc-config
checking for meinproc... /usr/bin/meinproc
checking for kconfig_compiler... /usr/bin/kconfig_compiler
checking for dcopidlng... /usr/bin/dcopidlng
checking for xmllint... /usr/bin/xmllint
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking whether byte ordering is bigendian... no
checking samplerate.h usability... no
checking samplerate.h presence... no
checking for samplerate.h... no
checking artsc/artsc.h usability... yes
checking artsc/artsc.h presence... yes
checking for artsc/artsc.h... yes
checking for taglib-config... /usr/bin/taglib-config
checking musicbrainz/mb_c.h usability... yes
checking musicbrainz/mb_c.h presence... yes
checking for musicbrainz/mb_c.h... yes
checking for mb_New in -lmusicbrainz... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking grepping for visibility push/pop in headers... yes
checking whether g++ supports -fvisibility=hidden... yes
checking if Qt is patched for -fvisibility... no
checking for stat64... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking whether lrint is declared... no
checking whether lrintf is declared... no
checking dvdread/dvd_reader.h usability... yes
checking dvdread/dvd_reader.h presence... yes
checking for dvdread/dvd_reader.h... yes
checking for DVDOpen in -ldvdread... yes
checking for linux scsi headers... yes
checking for cam_close_device... no
checking for cam_close_device in -lcam... no
checking resmgr.h usability... no
checking resmgr.h presence... no
checking for resmgr.h... no
checking for the HAL... headers /usr/include/hal  libraries /usr/lib
checking for DBus... headers /usr/include/dbus-1.0 /usr/lib/dbus-1.0/include  libraries /usr/lib
checking for DBus-Qt bindings... searched but not found
checking for pkg-config... /usr/bin/pkg-config
checking for alsa >= 0.9... yes
checking ALSA_CFLAGS... -I/usr/include/alsa  
checking ALSA_LIBS... -lasound  
checking for ffmpeg >= 0.4.9... yes
checking FLAC++/decoder.h usability... yes
checking FLAC++/decoder.h presence... yes
checking for FLAC++/decoder.h... yes
checking for FLAC__stream_decoder_process_single in -lFLAC... yes
checking for libFLAC newer than 1.1.1... yes
checking mad.h usability... yes
checking mad.h presence... yes
checking for mad.h... yes
checking for mad_synth_frame in -lmad... yes
checking mpcdec/mpcdec.h usability... yes
checking mpcdec/mpcdec.h presence... yes
checking for mpcdec/mpcdec.h... yes
checking for mpc_decoder_setup in -lmpcdec... yes
checking for ogg/vorbis headers... yes
checking for ov_open in -lvorbisfile... yes
checking lame/lame.h usability... yes
checking lame/lame.h presence... yes
checking for lame/lame.h... yes
checking for lame_init in -lmp3lame... yes
checking dependency style of gcc... gcc3
checking for assembler support for IA32 extensions... MMX yes, SSE yes, SSE2 yes, 3DNOW yes
checking if doc should be compiled... yes
checking if k3bsetup should be compiled... yes
checking if kfile-plugins should be compiled... yes
checking if kioslaves should be compiled... yes
checking if libk3b should be compiled... yes
checking if libk3bdevice should be compiled... yes
checking if plugins should be compiled... yes
checking if src should be compiled... yes
configure: creating ./config.status
wrong input (flag != 4) at admin/conf.change.pl line 117, <> line 1399.
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating k3bsetup/Makefile
config.status: creating kfile-plugins/Makefile
config.status: creating kfile-plugins/k3bproject/Makefile
config.status: creating kioslaves/Makefile
config.status: creating kioslaves/videodvd/Makefile
config.status: creating libk3b/Makefile
config.status: creating libk3b/cddb/Makefile
config.status: creating libk3b/core/Makefile
config.status: creating libk3b/jobs/Makefile
config.status: creating libk3b/plugin/Makefile
config.status: creating libk3b/plugin/libsamplerate/Makefile
config.status: creating libk3b/projects/Makefile
config.status: creating libk3b/projects/audiocd/Makefile
config.status: creating libk3b/projects/datacd/Makefile
config.status: creating libk3b/projects/datadvd/Makefile
config.status: creating libk3b/projects/mixedcd/Makefile
config.status: creating libk3b/projects/movixcd/Makefile
config.status: creating libk3b/projects/movixdvd/Makefile
config.status: creating libk3b/projects/videocd/Makefile
config.status: creating libk3b/projects/videocd/cdi/Makefile
config.status: creating libk3b/projects/videocd/extra/Makefile
config.status: creating libk3b/projects/videocd/mpeginfo/Makefile
config.status: creating libk3b/projects/videodvd/Makefile
config.status: creating libk3b/scripts/Makefile
config.status: creating libk3b/tools/Makefile
config.status: creating libk3b/tools/libisofs/Makefile
config.status: creating libk3b/videodvd/Makefile
config.status: creating libk3bdevice/Makefile
config.status: creating plugins/Makefile
config.status: creating plugins/audiooutput/Makefile
config.status: creating plugins/audiooutput/alsa/Makefile
config.status: creating plugins/audiooutput/arts/Makefile
config.status: creating plugins/decoder/Makefile
config.status: creating plugins/decoder/ffmpeg/Makefile
config.status: creating plugins/decoder/flac/Makefile
config.status: creating plugins/decoder/libsndfile/Makefile
config.status: creating plugins/decoder/mp3/Makefile
config.status: creating plugins/decoder/musepack/Makefile
config.status: creating plugins/decoder/ogg/Makefile
config.status: creating plugins/decoder/wave/Makefile
config.status: creating plugins/encoder/Makefile
config.status: creating plugins/encoder/external/Makefile
config.status: creating plugins/encoder/lame/Makefile
config.status: creating plugins/encoder/ogg/Makefile
config.status: creating plugins/encoder/sox/Makefile
config.status: creating plugins/project/Makefile
config.status: creating plugins/project/audiometainforenamer/Makefile
config.status: creating plugins/project/audioprojectcddb/Makefile
config.status: creating src/Makefile
config.status: creating src/fastscale/Makefile
config.status: creating src/icons/Makefile
config.status: creating src/icons/actions/Makefile
config.status: creating src/konqi/Makefile
config.status: creating src/mimetypes/Makefile
config.status: creating src/misc/Makefile
config.status: creating src/option/Makefile
config.status: creating src/pics/Makefile
config.status: creating src/pics/73lab/Makefile
config.status: creating src/pics/RobsTheme/Makefile
config.status: creating src/pics/crystal/Makefile
config.status: creating src/pics/quant/Makefile
config.status: creating src/projects/Makefile
config.status: creating src/projects/kostore/Makefile
config.status: creating src/rip/Makefile
config.status: creating src/rip/videodvd/Makefile
config.status: creating src/sounds/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

K3b - Include libdvdread (Video DVD ripping) support:
K3b -                                        yes

K3b - Resmgr support:                         no

K3b - Compile HAL support                     no
K3b -     You are missing the HAL >= 0.5 headers and libraries
K3b -     or the DBus Qt bindings.

K3b - Audioplayer available (alsa)           yes

K3b - FFMpeg decoder plugin (decodes wma and others):
K3b -                                        yes

K3b - FLAC support:                          yes

K3b - libsndfile audio decoding support:     yes

K3b - Mp3 decoding support (libmad):         yes

K3b - Musepack support:                      yes

K3b - Ogg Vorbis support:                    yes

K3b - Lame Mp3 encoder plugin:               yes

K3b - Audio meta data reading with Taglib:   yes

K3b - Audio resampling:
K3b -             using version bundled with K3b

K3b - Audioplayer available (aRts)           yes

K3b - Compile K3bSetup 2:                    yes

K3b - Tag guessing using MusicBrainz         yes

Good - your configure finished. Start make now
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHMED1adgnuQFKG88RAnJuAKCa944xgAot6UWXADJs+ngKkgIBDgCcCJ6a
eNbnKoy6T7zYkRPEFwZwXVk=
=GOe1
-----END PGP SIGNATURE-----