Skip to contentSkip to conversation

PPC kernel ide modules failing [PATCH?]

DISCUSSION Ethan 2 participants 2 messages Nov 2, 2001

lore
Share & tools
lore

Ethan

author
#0 lore raw

..answering myself here.. as I found that this problem occurs using a bunch of different trees (bk, ben, stock, etc..) I have fixed this issue (albeit in possibly a completely incorrect and bad way)I'm certainly no programmer, and definately not a kernel hacker. I was wondering if this is the correct way to handle this:

arch/ppc/kernel/Makefile Fri Nov 2 15:00:46 2001 renamed from arch/ppc/kernel/Makefile Tue Aug 28 09:58:33 2001 +0 -0
diff -u -r linux.orig/arch/ppc/kernel/Makefile linux/arch/ppc/kernel/Makefile
@@ -29,7 +29,7 @@
 

O_TARGET := kernel.o

-export-objs := ppc_ksyms.o prep_setup.o time.o
+export-objs := ppc_ksyms.o prep_setup.o time.o setup.o

obj-y                          := entry.o traps.o irq.o idle.o time.o misc.o \
                                       process.o signal.o ptrace.o \
arch/ppc/kernel/setup.c Fri Nov 2 15:42:56 2001 renamed from arch/ppc/kernel/setup.c Sat Sep 8 15:38:42 2001 +0 -0
diff -u -r linux.orig/arch/ppc/kernel/setup.c linux/arch/ppc/kernel/setup.c
@@ -726,3 +726,4 @@
       for (i = 0; i < 96; i++)
               id->words160_255[i] = __le16_to_cpu(id->words160_255[i]);

}
+EXPORT_SYMBOL(ppc_generic_ide_fix_driveid);

Quoted 4 lines · Today, [email protected] wrote:

I thought that I'd mention that on recent PPC kernels the ide modules won't load:
/lib/modules/2.4.14-pre3/kernel/drivers/ide/ide-mod.o: unresolved symbol ppc_generic_ide_fix_driveid

use Alan's tree, or the bk tree.

Signature · 8 lines
now the forces of openness have a powerful and
 unexpected new ally - http://ibm.com/linux

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
#1 lore raw
Quoted 5 lines · Ethan

..answering myself here.. as I found that this problem occurs using a bunch of different trees (bk, ben, stock, etc..)
I have fixed this issue (albeit in possibly a completely incorrect and bad way)I'm certainly no programmer, and definately not a kernel hacker. I was wondering if this is the correct way to handle this:

For now it's actually preferable to throw it in ppc_ksyms.c. I'll do so shortly. Thanks for looking into this.

Signature · 2 lines
Tom Rini (TR1265)
http://gate.crashing.org/~trini/