[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: AWE Kernel Patch Troubles

Sorry, I hit the wrong key and accidently set that last one just a tad
bit early...


The very same thing happened to me last week.  I've attached a diff
which should take care of the problem for you.  Here's what you need to
do (I'm assuming that /usr/local/src/awedrv-0.4.2d is where you unpacked
awedrv into):

     cd /usr/local/src
     patch -p0 <path_to_diff/awedrv-0.4.2d_hamm.diff

Let me know if you have any problems with it...

On Fri, Jul 03, 1998 at 04:46:07PM -0500, Eric wrote:
> I have an AWE64 and I've been using the kernel patch for it ever since
> I've had Linux.  However, with my upgrade to hamm and the 2.0.34
> kernel, I had to repatch and recompile my kernel.  Along with that
> upgrade, I got the newest version of the AWE patch, 0.4.2d.  I
> followed the directions in INSTALL.awe but I just can't get it to
> work.  I tried many variations, and played around, but I'm no kernel
> hacker and I haven't been successful.  Everytime I attempt to patch my
> kernel source tree I get errors like those in the following
> typescript.  I thought that it was probably just a minor malfunction
> and that specifying the files without the .old extension would make it
> work, but to no avail.  I don't get any errors when actually compiling
> the kernel, but everytime I boot my newly compiled kernel (and
> modules) I get these messages:
> sound /lib/modules/2.0.34/misc/sound.o: unresolved symbol unload_awe
> sound /lib/modules/2.0.34/misc/sound.o: unresolved symbol attach_awe
> I really don't know where to go from here.  Hopefully some of you can
> help.
diff -u awedrv-0.4.2d.orig/install.sh awedrv-0.4.2d/install.sh
--- awedrv-0.4.2d.orig/install.sh	Mon Jan 26 11:23:06 1998
+++ awedrv-0.4.2d/install.sh	Mon Jun 15 17:18:12 1998
@@ -158,7 +158,7 @@
 	undef_condition AWE_OSS38
 	if [ ! -f $destdir/awe_wave.c ]; then
 		echo "applying a patch to lowlevel directory"
-		patch -d $linuxroot < usslite-3.54-awe.diff
+		patch -p0 -d $linuxroot < usslite-3.54-awe.diff
 elif [ x$sound_version = xOSS ]; then

Reply to: