Re: 32-Bit module in AMD64-kernel ?
On Thu, Oct 27, 2005 at 01:25:49PM +0200, Hans wrote:
> I have a question:
>
> If I have to compile 32-bit module for a 64-bit kernel (like it is in
> debian-amd64), I suppose, this will not work, won´t it ?
No, that doesn't work.
> Background:
>
> I have a wlan-card, type "ipw-2100". It is possible to build a kernel module
> for 64bit-amd64-kernel. The problem is, the firmware is not working, as the
> firmware is 32-bit. A 32-bit-kernel (tested with knoppix, kantix and whax)
> works fine with the same firmware.
The firmware shouldn't care about 32 or 64 bit. The firmware runs on
the wireless card, not on the host CPU.
> So it was my idea, to build this module in 32-bit, as I have read, the kernel
> supports both, 32-bit and 64-bit.
The kernel support 32 and 64 bit *userland*, not 32 and 64 bit
*modules*.
> But I mean to remember, that someone said, all kernel-modules must be build
> just like the kernel itself is build (here it is standard
> debian-kernel-amd64)
Correct.
> Is my information correct ? Is there some other kind of compiling the
> module ?
Sure, see http://lwn.net/Articles/21823/ .
> Is this (maybe) a bug ? (Information: the ipw-2100-module loads fine WITHOUT
> firmware , as soon, I copy the firmware to /usr/lib/hotplug/firmwae and load
> the ipw-2100-module, the whole system hangs up).
That sounds like a bug in the driver to me. Please try with the latest
kernel (2.6.14-rc5-git7), there were some IPW related driver updates
the last couple of days.
> BTW: I tried ndiswrapper, this will not work either.....
For ndiswrapper you need a 64 bit windows driver.
Erik
--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
Reply to: