All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: PPC kernel ide modules failing [PATCH?]
@ 2001-11-02 21:23 Ethan
  2001-11-02 22:43 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Ethan @ 2001-11-02 21:23 UTC (permalink / raw)
  To: linux-kernel

..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:

diff -u -r linux.orig/arch/ppc/kernel/Makefile linux/arch/ppc/kernel/Makefile
--- linux.orig/arch/ppc/kernel/Makefile Tue Aug 28 09:58:33 2001
+++ linux/arch/ppc/kernel/Makefile      Fri Nov  2 15:00:46 2001
@@ -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 \
diff -u -r linux.orig/arch/ppc/kernel/setup.c linux/arch/ppc/kernel/setup.c
--- linux.orig/arch/ppc/kernel/setup.c  Sat Sep  8 15:38:42 2001
+++ linux/arch/ppc/kernel/setup.c       Fri Nov  2 15:42:56 2001
@@ -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);


Today, Ethan@stinkfoot.org 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.

-- 
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PPC kernel ide modules failing [PATCH?]
  2001-11-02 21:23 PPC kernel ide modules failing [PATCH?] Ethan
@ 2001-11-02 22:43 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2001-11-02 22:43 UTC (permalink / raw)
  To: Ethan; +Cc: linux-kernel

On Fri, Nov 02, 2001 at 04:23:40PM -0500, Ethan wrote:

> ..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.

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-11-02 22:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-02 21:23 PPC kernel ide modules failing [PATCH?] Ethan
2001-11-02 22:43 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.