Kernel: 2.4.22-ck, audigy sound card. At first was kernel compiled with my own hands(2.4.22, downloaded from kernel.org), but now i changed it to 2.4.22-ck (one of special gentoo kernel) and compiled it with `genkernel` Reproducible: Always Steps to Reproduce: 1. 2. 3.
*** Bug 32549 has been marked as a duplicate of this bug. ***
main.c:112:26: sound_config.h: No such file or directory main.c:113:24: midi_synth.h: No such file or directory 1: This may either be a corrupted kernel tree. 2: ... or the patches are not getting applied for your GCC version. Make sure you ran 'emerge sync' and remerge emu10k1 again.
damn, i did 'emerge sync' and tried after that, same shit;/ so, maybe I must to upgrade my gcc? now it is 3.2.3(1) version
Can you confirm whether those two files do actually exist in your kernel tree as well?
yeah find / -name sound_config.h : /usr/src/linux-2.4.22-ck2/drivers/sound/sound_config.h find / -name midi_synth.h: /usr/src/linux-2.4.22-ck2/drivers/sound/midi_synth.h all is still here;/ what must I do?
Can you please paste in 'emerge info'...
# emerge info Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.22-ck2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu x/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share /config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss apm avi crypt cups encode foomaticdb gif imlib jpeg libg++ libwww m ad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga java mysql sdl gpm tcpd pam ssl perl pytho n oggvorbis qt motif opengl mozilla -X -gtk -gnome -alsa -kde" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe" CXXFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://ktl.kauko.lt/gentoo-portage" FEATURES="sandbox ccache"
so what I must to do?;/
Can you please attach the Manifest in /usr/portage/.../emu10k1 ?
MD5 b2ba0c4a1f0410e0fdd61f118193da81 ChangeLog 2009 MD5 55ced4fcabc7f9e7b7f647977771b8c2 emu10k1-0.20a-r5.ebuild 3536 MD5 cc1b5b194b1ed9e8f12c0ef441bd4958 files/README.gentoo 3591 MD5 0adf8538874d6081ae1a984f3e4809c6 files/audigy-script 4530 MD5 c4fa14eb5b5e9ec060dc4becba91168d files/digest-emu10k1-0.20a-r5 67 MD5 33e92f14c4ebd59dcb789bd91964df92 files/emu10k1-script 1731 MD5 5098f0c8f428a782347cc8b42ad0b018 files/emu10k1.conf-gentoo-header 465 MD5 5c0aeb3e4b0c3d110aa12e2145663155 files/modules-emu10k1 101
Yeah, different like I thought. Something is strange with your rsync mirror, so can you change your rsync mirror and do a sync? It should be something like... MD5 dd062e13a1ca4dcccff54c72a0f94360 ChangeLog 2120 MD5 dbdcbd05bf63a1866fb48411d6468e9d emu10k1-0.20a-r5.ebuild 3666 MD5 cc1b5b194b1ed9e8f12c0ef441bd4958 files/README.gentoo 3591 MD5 0adf8538874d6081ae1a984f3e4809c6 files/audigy-script 4530 MD5 c4fa14eb5b5e9ec060dc4becba91168d files/digest-emu10k1-0.20a-r5 67 MD5 33e92f14c4ebd59dcb789bd91964df92 files/emu10k1-script 1731 MD5 5098f0c8f428a782347cc8b42ad0b018 files/emu10k1.conf-gentoo-header 465 MD5 5c0aeb3e4b0c3d110aa12e2145663155 files/modules-emu10k1 101 MD5 005d7a52156930b9de0bc03184c76f8f files/emu10k1-0.20a-gcc3.3.patch.gz 1547
allright, i will change.
shit;(( `emu10k1` has been installed to my pc, but but... When I wrote `modprobe emu10k1`, i got this : `Segmentation fault`. Then I tried to stop postfix, but when I wrote `postfix stop`, the terminal, where I did that, I think crashed. The same is with 'startx', 'nmap -O localhost'. 'Links' and 'irssi' work properly.What is going on?
Do this [ you might need to 'emerge gdb' ] $> gdb modprobe $> (gdb) set args emu10k1 $> (gdb) run ... It should segfault ... $> (gdb) backtrace ... and paste in the results of the backtrace to bugzilla
(gdb) backtrace No stack. (gdb)
Are you sure you typed "run" into GDB?
YES. # gdb modprobe (gdb) set args emu10k1 (gdb) run Starting program /sbin/modprobe emu10k1 (no debug symbols found)...(no debug symbols found)... Program exited normaly (gdb) backtrace No stack.
If it says "program exited normally", it exited normally. But you said that modprobe would give you a segfault. Can you 'emerge strace' and run 'strace modprobe emu10k1' and *attach* that to bugzilla? Can you post a followup message as well because of bugzilla problems? Thanks.
Created attachment 20300 [details] output
1) Check 'dmesg' 2) Check lsmod works 3) Check module support is in your kernel 4) 'mkdir /var/log/ksymoops' ... modprobe has problems accessing that so it might dump some output there.
1) 'dmesg' nothing interesting;/ 2) 'lsmod' write, that emu10k1 and sound have been modprobed 3) Sound is how 'builtin', emu10k1 how 'module' 4) i created /var/log/ksymoops, here is some logs, maybe i will attach it here?
Yes, attach the stuff in /var/log/ksymoops please...
Created attachment 21169 [details] output
Created attachment 21170 [details] output
here
Can you upgrade/remerge your linux-headers to the latest 2.4 version and try ``emu10k1'' again - it looks like something might be missing from your headers.
Is this resolved? Have you upgraded the kernel and headers? If it's fixed by upgrading, I'm closing this.
This is a few months old. I'm closing this one up.