* Re: Problem Compiling iph5526 module
2001-12-08 16:44 Problem Compiling iph5526 module David Wambolt
@ 2001-12-07 17:29 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2001-12-07 17:29 UTC (permalink / raw)
To: David Wambolt; +Cc: linux-kernel
> 7.3 for Sparc. Everything runs great, except it does not come with a
> precompiled version of the Interphase 5526 Fibre Channel module. So I
> figured I'd download the 2.4.16 kernel, enable the module and recompile
> the kernel. I've compiled kernels on x86 machines many times typically
> with no problems, or at least problems I could fix.
The 5526 driver doesn't currently support the sparc platform.
> depmod: bus_to_virt_not_defined_use_pci_map
> depmod: virt_to_bus_not_defined_use_pci_map
Its a deliberate error to indicate the driver uses old (and non portable)
interfaces.
Alan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Problem Compiling iph5526 module
@ 2001-12-08 16:44 David Wambolt
2001-12-07 17:29 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: David Wambolt @ 2001-12-08 16:44 UTC (permalink / raw)
To: linux-kernel
** I tried sending this yesterday and I never saw it come through **
Hello,
I'm a bit new to Linux kernel compiling, but I've been doing Sun Solaris
Admin work for many years. I have a Sun Ultra 5 400mhz running SuSe Linux
7.3 for Sparc. Everything runs great, except it does not come with a
precompiled version of the Interphase 5526 Fibre Channel module. So I
figured I'd download the 2.4.16 kernel, enable the module and recompile
the kernel. I've compiled kernels on x86 machines many times typically
with no problems, or at least problems I could fix.
I've:
1. Extracted the new kernel
2. make mrproper
3. make menuconfig
4. enabled the Interphase Module
5. make dep
6. make clean
7. make vmlinux
8. make modules
9. make modules_install
When doing #9, I get this error:
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.16; fi
depmod: *** Unresolved symbols in
/lib/modules/2.4.16/kernel/drivers/net/fc/iph5526.o
depmod: bus_to_virt_not_defined_use_pci_map
depmod: virt_to_bus_not_defined_use_pci_map
Also here are the error's during #8 make modules for the iph5526 module:
iph5526.c: In function `handle_OCI_interrupt':
iph5526.c:923: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
iph5526.c:982: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
iph5526.c: In function `handle_MFS_interrupt':
iph5526.c:1061: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
iph5526.c:1061: warning: assignment makes pointer from integer without a
cast
iph5526.c:1091: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
iph5526.c:1091: warning: assignment makes pointer from integer without a
cast
iph5526.c: In function `handle_Bad_SCSI_Frame_interrupt':
iph5526.c:1159: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
iph5526.c:1159: warning: assignment makes pointer from integer without a
cast
iph5526.c:1194: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
iph5526.c:1194: warning: assignment makes pointer from integer without a
cast
iph5526.c:1201: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
iph5526.c:1201: warning: assignment makes pointer from integer without a
cast
iph5526.c: In function `handle_Inbound_SCSI_Status_interrupt':
iph5526.c:1309: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
iph5526.c:1309: warning: assignment makes pointer from integer without a
cast
iph5526.c:1313: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
iph5526.c:1313: warning: assignment makes pointer from integer without a
cast
iph5526.c: In function `invalidate_SEST_entry':
iph5526.c:1367: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
iph5526.c:1367: warning: assignment makes pointer from integer without a
cast
iph5526.c:1378: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
iph5526.c:1378: warning: assignment makes pointer from integer without a
cast
iph5526.c: In function `handle_SFS_interrupt':
iph5526.c:1467: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
iph5526.c:1467: warning: assignment makes pointer from integer without a
cast
iph5526.c: In function `abort_exchange':
iph5526.c:4136: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
iph5526.c:4136: warning: assignment makes pointer from integer without a
cast
iph5526.c: In function `iph5526_release':
iph5526.c:4509: warning: unused variable `fi'
iph5526.c: In function `clean_up_memory':
iph5526.c:4603: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
Any help would be very much appreciated. I'm pretty sure it's something
related to how the Sparc handles PCI - so I might be SOL.
Thanks
Dave
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-12-07 17:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-08 16:44 Problem Compiling iph5526 module David Wambolt
2001-12-07 17:29 ` Alan Cox
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.