Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* FW: DAC960 error
@ 1999-05-14 20:09 Jason.Pincin
  1999-05-14 21:22 ` Michal Jaegermann
  0 siblings, 1 reply; 3+ messages in thread
From: Jason.Pincin @ 1999-05-14 20:09 UTC (permalink / raw)
  To: axp-list

So, latest scoop in my adventure to get this Alpha with the DAC960
controller running linux...

I load RH 6.0, and notice the DAC960 is compiled in as a module from the
start.  Thats cool I think... but upon trying to insmod it or modprobe it it
bombs saying there's an error in some internal function...

So, I say, RedHat must not have something right... I go out, find the DAC960
site, pull down the lates .h/.c files and the 2.2.4 patch file.  I pull down
the matching 2.2.4 kernel from kernel.org as well.  I place the .h/,c files
in /usr/src/linux/drivers/block, apply the patch from /usr/src, and begin my
compile with the DAC960 option compiled in, not as a module.

The compile breaks while compiling DAC960 related stuff as you can see from
the error I grabbed posted below.  Has anyone run into this?  Does anyone
have any recomendations on this one?  Much appreciation for any help.

--- Comiple Pukes Here ------

ld -static -T arch/alpha/vmlinux.lds  arch/alpha/kernel/head.o init/main.o
init/version.o \
	--start-group \
	arch/alpha/kernel/kernel.o arch/alpha/mm/mm.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o arch/alpha/math-emu/math-emu.o \
	fs/filesystems.a \
	net/network.a \
	drivers/block/block.a drivers/char/char.a drivers/misc/misc.a
drivers/net/net.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a
drivers/pci/pci.a drivers/pnp/pnp.a drivers/video/video.a \
	/usr/src/linux-2.2.4/arch/alpha/lib/lib.a
/usr/src/linux-2.2.4/lib/lib.a /usr/src/linux-2.2.4/arch/alpha/lib/lib.a \
	--end-group \
	-o vmlinux
drivers/block/block.a(DAC960.o): In function `DAC960_DetectControllers':
DAC960.c(.text+0xf9c): undefined reference to `ioremap_nocache'
DAC960.c(.text+0xfa0): undefined reference to `ioremap_nocache'
make: *** [vmlinux] Error 1
(DAC960.o): In function `DAC960_DetectControllers':
DAC960.c(.text+0xf9c): undefined reference to `ioremap_nocache'
DAC960.c(.text+0xfa0): undefined reference to `ioremap_nocache'
make: *** [vmlinux] Error 1


^ permalink raw reply	[flat|nested] 3+ messages in thread
* RE: FW: DAC960 error
@ 1999-05-17 10:58 Jason.Pincin
  0 siblings, 0 replies; 3+ messages in thread
From: Jason.Pincin @ 1999-05-17 10:58 UTC (permalink / raw)
  To: axp-list

Thank ya much... I'm gonna go take a look at this right now...

-----Original Message-----
From: Michal Jaegermann [mailto:michal@ellpspace.math.ualberta.ca]
Sent: Friday, May 14, 1999 5:23 PM
To: axp-list@redhat.com
Subject: Re: FW: DAC960 error


Jason.Pincin@networks.net wrote:
> 
> drivers/block/block.a(DAC960.o): In function `DAC960_DetectControllers':
> DAC960.c(.text+0xf9c): undefined reference to `ioremap_nocache'
> DAC960.c(.text+0xfa0): undefined reference to `ioremap_nocache'

grep through kernel sources reveals immediately the following line in
include/asm-ppc/io.h:
#define ioremap_nocache(addr, size)      ioremap((addr), (size))

So, I guess, that in your place I would add the same thing to
include/asm-alpha/io.h (or to the offending DAC960.c file).  True
'ioremap_nocache' can be found in include/asm-i386/io.h.

   Michal

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


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

end of thread, other threads:[~1999-05-17 11:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-14 20:09 FW: DAC960 error Jason.Pincin
1999-05-14 21:22 ` Michal Jaegermann
  -- strict thread matches above, loose matches on Subject: below --
1999-05-17 10:58 Jason.Pincin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox