Skip to contentSkip to conversation

ioremap returns NULL

DISCUSSION Bernd Harries 1 participant 2 messages Nov 29, 2002 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi all,

my normally (on 256 MB, dual Xeon, ASUS board, .....) working driver module fails on a new box with 1 MB RAM, 2 PIII, ASUS board

For each card I ioremap() 2 * 16 MB of PCI memory space. It succeeds for the 1st card but for the 2nd card I get NULL as result. This means I cannot use the 2nd card...

Is the reason for this that the RAM is bigger?
What could I do about it?
- Build a 64 GB kernel?
- Use an other function?
- pull out sone DIMM?
- nothing?

Thanks, Bernd

Signature · 6 lines
Bernd Harries

[email protected]
[email protected]       Tel. +49 421 809 7343 priv.  | MSB First!
[email protected]       +49 421 457 3966 offi.  | Linux-m68k
[email protected]       +49 172 139 6054 handy  | Medusa T40
#2 lore raw
In reply to a message not in the archive
Quoted 4 lines

What could I do about it?
- Build a 64 GB kernel?

build kernel with Himem (4Gb)

Oh, I forgot to write that the Kernel (Red Hat 7.3 with 2.14.18-3smp_custom has the 4G flag enabled..

What seems to happen is that the vitual kernel address space gets too small.(?)

Thanks, Bernd

Signature · 6 lines
Bernd Harries

[email protected]
[email protected]       Tel. +49 421 809 7343 priv.  | MSB First!
[email protected]       +49 421 457 3966 offi.  | Linux-m68k
[email protected]       +49 172 139 6054 handy  | Medusa T40