What is this page_to_pfn symbol

Markus Lindholm markus.lindholm at gmail.com
Fri Dec 29 20:23:22 UTC 2006


Hi

I have a x86_64 box that I've updated from fc4 to fc6 and I'm having
serious problems to compile the kernel module for a HighPoint
RocketRaid 2320 card that I have.

I can't remember that I had any problems when I compiled the driver
sources I got from HighPoint for fc4, but when I'm now doing it for
fc6 I've run in to all kinds of problems.

First I had to append version.h with the line
#define UTS_RELEASE '2.6.18-1.2868.fc6-x86_64'

Second I had to create an empty config.h file

That much I gathered when I googled the net.

Now I have a problem with page_to_pfn symbol, the build runs as follows
[mli at zeus linux]$ make
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2868.fc6-x86_64'
  CC [M]  /home/mli/Desktop/rr232x-linux-src-1.03/osm/linux/os_linux.o
  CC [M]  /home/mli/Desktop/rr232x-linux-src-1.03/osm/linux/osm_linux.o
  CC [M]  /home/mli/Desktop/rr232x-linux-src-1.03/osm/linux/div64.o
  CC [M]  /home/mli/Desktop/rr232x-linux-src-1.03/osm/linux/hptinfo.o
  CC [M]  /home/mli/Desktop/rr232x-linux-src-1.03/product/rr232x/linux/config.o
  LD [M]  /home/mli/Desktop/rr232x-linux-src-1.03/product/rr232x/linux/.build/rr232x.o
  Building modules, stage 2.
  MODPOST
WARNING: could not find
/home/mli/Desktop/rr232x-linux-src-1.03/product/rr232x/linux/.build/.os_linux.o.cmd
for /home/mli/Desktop/rr232x-linux-src-1.03/product/rr232x/linux/.build/os_linux.o
WARNING: "page_to_pfn"
[/home/mli/Desktop/rr232x-linux-src-1.03/product/rr232x/linux/.build/rr232x.ko]
undefined!
  LD [M]  /home/mli/Desktop/rr232x-linux-src-1.03/product/rr232x/linux/.build/rr232x.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2868.fc6-x86_64'
[mli at zeus linux]$

When I try to insert the resulting rr232x.ko module following line
appears in /var/log/messages Dec 29 20:46:41 zeus kernel: rr232x:
Unknown symbol page_to_pfn

I tried to e-mail HighPoint about this, but without an answer, I guess
it is the wrong season to expect a speedy response.

Any one on the list who knows what goes wrong here? And if there's a way fix it?

Thanks
Markus




More information about the fedora-list mailing list