Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32548 - emu10k1 segmentation faults
Summary: emu10k1 segmentation faults
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Highest normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL: http://matis.wtf.lt/output.txt
Whiteboard:
Keywords:
: 32549 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-02 07:46 UTC by matis
Modified: 2004-04-09 09:49 UTC (History)
1 user (show)

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


Attachments
output (nohup.out,3.59 KB, text/plain)
2003-11-05 11:21 UTC, matis
Details
output (20050419083538.modules,42 bytes, application/octet-stream)
2003-11-23 11:09 UTC, matis
Details
output (20050419083538.modules,42 bytes, application/octet-stream)
2003-11-23 11:09 UTC, matis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matis 2003-11-02 07:46:35 UTC
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.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-11-02 09:45:16 UTC
*** Bug 32549 has been marked as a duplicate of this bug. ***
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2003-11-02 10:28:45 UTC
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.
Comment 3 matis 2003-11-03 08:57:37 UTC
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
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2003-11-03 09:08:00 UTC
Can you confirm whether those two files do actually exist in your kernel
tree as well?
Comment 5 matis 2003-11-03 10:34:08 UTC
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?
Comment 6 Tim Yamin (RETIRED) gentoo-dev 2003-11-03 11:31:31 UTC
Can you please paste in 'emerge info'...
Comment 7 matis 2003-11-03 11:36:16 UTC
# 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"
Comment 8 matis 2003-11-05 06:00:51 UTC
so what I must to do?;/
Comment 9 Tim Yamin (RETIRED) gentoo-dev 2003-11-05 06:38:53 UTC
Can you please attach the Manifest in /usr/portage/.../emu10k1 ?
Comment 10 matis 2003-11-05 06:57:01 UTC
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
Comment 11 Tim Yamin (RETIRED) gentoo-dev 2003-11-05 07:10:25 UTC
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
Comment 12 matis 2003-11-05 07:18:40 UTC
allright, i will change.
Comment 13 matis 2003-11-05 09:22:52 UTC
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?
Comment 14 Tim Yamin (RETIRED) gentoo-dev 2003-11-05 09:35:53 UTC
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
Comment 15 matis 2003-11-05 09:56:00 UTC
(gdb) backtrace No stack. (gdb)
Comment 16 Tim Yamin (RETIRED) gentoo-dev 2003-11-05 10:23:35 UTC
Are you sure you typed "run" into GDB?
Comment 17 matis 2003-11-05 10:32:22 UTC
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.
Comment 18 Tim Yamin (RETIRED) gentoo-dev 2003-11-05 10:45:55 UTC
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.
Comment 19 matis 2003-11-05 11:21:18 UTC
Created attachment 20300 [details]
output
Comment 20 Tim Yamin (RETIRED) gentoo-dev 2003-11-05 11:39:48 UTC
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.
Comment 21 matis 2003-11-06 06:06:23 UTC
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? 
Comment 22 Tim Yamin (RETIRED) gentoo-dev 2003-11-06 09:45:29 UTC
Yes, attach the stuff in /var/log/ksymoops please...
Comment 23 matis 2003-11-23 11:09:18 UTC
Created attachment 21169 [details]
output
Comment 24 matis 2003-11-23 11:09:41 UTC
Created attachment 21170 [details]
output
Comment 25 matis 2003-11-23 11:10:32 UTC
here
Comment 26 Tim Yamin (RETIRED) gentoo-dev 2003-12-28 15:32:45 UTC
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.
Comment 27 Jason Cox (RETIRED) gentoo-dev 2004-04-08 18:38:57 UTC
Is this resolved? Have you upgraded the kernel and headers? If it's fixed by upgrading, I'm closing this.
Comment 28 Jason Cox (RETIRED) gentoo-dev 2004-04-09 09:49:36 UTC
This is a few months old. I'm closing this one up.