Bug 63766

Summary: wrong module path for 2.2 kernels
Product: [Retired] Red Hat Raw Hide Reporter: Noel Koethe <noel>
Component: sndconfigAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: athlon   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-04-18 15:39:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Noel Koethe 2002-04-18 15:39:40 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.0 (X11; Linux i686; U;) Gecko/20020412
Debian/1.2.0-6

Description of problem:
version 0.67:
When I'm using an generic 2.2.20 kernel sndconfig doesn't find the modules
because it looks into the wrong dirs.

/lib/modules/2.2.20/misc is the correct directory for the modules:
Here is a strace output:
 write(1, "\33[33mSound Configuration Utility"..., 2370) = 2370
 select(5, [0 4], [], NULL, NULL)        = 1 (in [0])
 select(4, [3], NULL, NULL, {10, 0})     = 1 (in [3], left {10, 0})
 read(3, "\r", 1)                        = 1
 write(1, "\33[27;22H\33[0;10m\33[30m\33[47m      \33"..., 135) = 135 
 select(0, [], [], [], {0, 150000})      = 0 (Timeout)
 write(1, "\33[27;22H\332\304\304\304\304\277\33[28;22H\263 \33[0"..., 177) =
+177
 select(0, [], [], [], {0, 150000})      = 0 (Timeout)
 close(4)                                = 0
 rt_sigaction(SIGTSTP, {SIG_DFL}, NULL, 8) = 0
 rt_sigaction(SIGWINCH, {0x8064a54, [], SA_INTERRUPT|0x4000000}, NULL, 8) = 0
 write(1, "\33[19;11H\33[44m\33[K\33[20;11H\33[K\33[21;"..., 171) = 171
 uname({sys="Linux", node="armada", ...}) = 0
 access("/lib/modules/2.2.20/kernel", R_OK) = -1 ENOENT (No such file or
+directory)
 stat("/lib/modules/fs/soundcore.o", 0xbffff35c) = -1 ENOENT (No such file or  
+directory)
 stat("/lib/modules/net/soundcore.o", 0xbffff35c) = -1 ENOENT (No such file or
+directory)
 stat("/lib/modules/scsi/soundcore.o", 0xbffff35c) = -1 ENOENT (No such file or
+directory)
 stat("/lib/modules/block/soundcore.o", 0xbffff35c) = -1 ENOENT (No such file
or+directory)
 stat("/lib/modules/cdrom/soundcore.o", 0xbffff35c) = -1 ENOENT (No such file
or+directory)
 stat("/lib/modules/ipv4/soundcore.o", 0xbffff35c) = -1 ENOENT (No such file or
+directory)
 stat("/lib/modules/ipv6/soundcore.o", 0xbffff35c) = -1 ENOENT (No such file or
+directory)
 stat("/lib/modules/sound/soundcore.o", 0xbffff35c) = -1 ENOENT (No such file
or+directory)
 stat("/lib/modules/fc4/soundcore.o", 0xbffff35c) = -1 ENOENT (No such file or 
+directory)
 stat("/lib/modules/video/soundcore.o", 0xbffff35c) = -1 ENOENT (No such file
or+directory)
....

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. kernel 2.2.20
2. run sndconfig
3. sndconfig cannot find the modules

thx

Comment 1 Bill Nottingham 2002-04-18 15:42:47 UTC
[notting ~]$ grep Requires sndconfig.spec
Requires: sox kudzu
Requires: aumix, kernel >= 2.4.0