Mailinglist Archive: opensuse (3222 mails)

< Previous Next >
RE: [SLE] Help with modules, kernels etc.
  • From: talacko@xxxxxxxxxxxxxxxx (Paul Talacko)
  • Date: Thu, 17 Feb 2000 17:56:04 +0000 (GMT)
  • Message-id: <Pine.LNX.4.10.10002171534540.1121-100000@xxxxxxxxxxxxxxxx>



There is more stuff wrong than just the pcmcia and serial being broken.
At boot time I get a whole series of messages saying 'symbol not found'.

My boot.msg directory has the following entries:
Symbol table has incorrect version number.
Inspecting /System.map
Loaded 6565 symbols from /System.map
Symbols match kernel version 2.2.14
Loaded 2 symbols from 2 modules.

I can't find where all the messages about 'can't locate module', but
basically the new kernel can't see any of the modules that aare in
/lib/modules/2.2.7/ The pcmcia modules are there. Why didn't make compile
ALL the modules and put them in /lib/modules/2.2.14/ rather than only
putting the new stuff in there (specifically the sound and nm256 modules)?

I installed the pcmcia sources from the Suse install disks. make config
runs fine, but after running make all I get:

et -e ; for d in modules clients cardmgr flash debug-tools man etc ; do make -C $d install ; done
make[1]: Entering directory `/usr/src/packages/SOURCES/pcmcia-cs-3.0.9/modules'
gcc -MD -O2 -Wall -Wstrict-prototypes -Winline -pipe -D__KERNEL__ -DMODULE -I../include -I/usr/src/linux/include -I/usr/src/linux -c i82365.c
/usr/src/linux/include/asm/pgtable.h: In function `get_pgd_slow':
In file included from /usr/src/linux/include/linux/vmalloc.h:7,
from /usr/src/linux/include/asm/io.h:101,
from ../include/pcmcia/k_compat.h:193,
from i82365.c:25:
/usr/src/linux/include/asm/pgtable.h:408: `PAGE_OFFSET_RAW' undeclared (first use in this function)
/usr/src/linux/include/asm/pgtable.h:408: (Each undeclared identifier is reported only once
/usr/src/linux/include/asm/pgtable.h:408: for each function it appears in.)
/usr/src/linux/include/asm/string.h:414: warning: inlining failed in call to `__constant_c_and_count_memset'
/usr/src/linux/include/asm/pgtable.h:408: warning: called from here
/usr/src/linux/include/asm/string.h:369: warning: inlining failed in call to `__constant_c_memset'
/usr/src/linux/include/asm/pgtable.h:408: warning: called from here
/usr/src/linux/include/asm/string.h:348: warning: inlining failed in call to `__memset_generic'
/usr/src/linux/include/asm/pgtable.h:408: warning: called from here
/usr/src/linux/include/asm/string.h:230: warning: inlining failed in call to `__constant_memcpy'
/usr/src/linux/include/asm/pgtable.h:410: warning: called from here
/usr/src/linux/include/asm/string.h:207: warning: inlining failed in call to `__memcpy'
/usr/src/linux/include/asm/pgtable.h:410: warning: called from here
/usr/src/linux/include/asm/pgtable.h: In function `pte_alloc_kernel':
/usr/src/linux/include/asm/pgtable.h:497: `PAGE_OFFSET_RAW' undeclared (first use in this function)
/usr/src/linux/include/asm/pgtable.h:505: warning: control reaches end of non-void function
/usr/src/linux/include/asm/pgtable.h: In function `pte_alloc':
/usr/src/linux/include/asm/pgtable.h:515: `PAGE_OFFSET_RAW' undeclared (first use in this function)
/usr/src/linux/include/asm/io.h: In function `virt_to_phys':
In file included from ../include/pcmcia/k_compat.h:193,
from i82365.c:25:
/usr/src/linux/include/asm/io.h:112: `PAGE_OFFSET_RAW' undeclared (first use in this function)
/usr/src/linux/include/asm/io.h:113: warning: control reaches end of non-void function
/usr/src/linux/include/asm/io.h: In function `phys_to_virt':
/usr/src/linux/include/asm/io.h:117: `PAGE_OFFSET_RAW' undeclared (first use in this function)
/usr/src/linux/include/asm/io.h:118: warning: control reaches end of non-void function
/usr/src/linux/include/asm/io.h: In function `check_signature':
/usr/src/linux/include/asm/io.h:175: `PAGE_OFFSET_RAW' undeclared (first use in this function)
i82365.c: In function `i365_get':
i82365.c:480: `PAGE_OFFSET_RAW' undeclared (first use in this function)
i82365.c:490: warning: control reaches end of non-void function
i82365.c: In function `i365_set':
i82365.c:496: `PAGE_OFFSET_RAW' undeclared (first use in this function)
i82365.c: In function `irq_count':
i82365.c:1237: `PAGE_OFFSET_RAW' undeclared (first use in this function)
i82365.c: In function `test_irq':
i82365.c:1265: `PAGE_OFFSET_RAW' undeclared (first use in this function)
i82365.c: In function `isa_scan':
i82365.c:1319: `PAGE_OFFSET_RAW' undeclared (first use in this function)
i82365.c: In function `pci_scan':
i82365.c:1362: `PAGE_OFFSET_RAW' undeclared (first use in this function)
i82365.c: In function `i365_get_status':
i82365.c:2001: `PAGE_OFFSET_RAW' undeclared (first use in this function)
i82365.c: In function `cb_get_power':
i82365.c:2403: `PAGE_OFFSET_RAW' undeclared (first use in this function)
i82365.c: In function `cb_set_power':
i82365.c:2429: `PAGE_OFFSET_RAW' undeclared (first use in this function)
i82365.c: In function `cb_get_status':
i82365.c:2446: `PAGE_OFFSET_RAW' undeclared (first use in this function)
i82365.c:2445: warning: `s' might be used uninitialized in this function
i82365.c: In function `proc_read_cardbus':
i82365.c:2645: `PAGE_OFFSET_RAW' undeclared (first use in this function)
i82365.c: In function `pcic_service':
i82365.c:2736: `PAGE_OFFSET_RAW' undeclared (first use in this function)
make[1]: *** [i82365.o] Error 1
make[1]: Leaving directory `/usr/src/packages/SOURCES/pcmcia-cs-3.0.9/modules'
make: *** [install] Error 2

What does all this mean anyone?

When I boot from my old kernel in /boot/ which has its own System.map in
/boot everything works as it used to, but no sound of course :-) I can't
believe I'm going to so much trouble just to make the computer beep - but
now I can't get it to work, I just can't rest.

------------------

Paul Talacko
http://members.tripod.com/ptalacko/index.html

On Thu, 17 Feb 2000, Richard Booth wrote:

> I think you need to check your kernel configuration and make sure the pcmcia
> and serial are in your config either in the kernel or setup as a module.
> You can ignore the other module directories and even delete them should you
> no longer require them. Also check your /etc/modules.conf file and make
> sure that pcmcia and serial are shown correctly depending on whether these
> are modules or are in the kernel.
>
> ---
> Yes, but I didn't do that, make did. So when I saw what had happened I
> thought there was a reason for it. How do I fix it?
>
> ------------------
>
> Paul Talacko
> http://members.tripod.com/ptalacko/index.html
>
> On Thu, 17 Feb 2000, Richard Booth wrote:
>
> > I think you can only use one module file, i.e. /lib/modules/2.2.14 and
> > therefore all modules you require should be in this file or compiled in to
> > the kernel. I believe you can not use old module files only the module
> file
> > for the same kernel.
> >
> > ---
> > But it's all gone pear-shaped. I now have modules in /lib/modules/2.2.7
> > /lib/modules/2.0.36 and /lib/modules/2.2.14. The new kernel does not seem
> > to recognise anything in the older directories. I have two sound.o and
> > soundcore.o files one each in /lib/modules/2.2.7/misc/ and
> > /lib/modules/2.2.14/misc/, but only one nm256 module in
> > /lib/modules/2.2.14/misc/. PCMCIA support is now broken so is serial
> > support.
> >
> > --
> > To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
> > For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
>
> > Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
> >
>
>
> --
> To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
> For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
>
> Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
>


--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/


< Previous Next >
Follow Ups
References