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@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/ <HR> <UL> <LI>application/ms-tnef attachment: stored </UL> N§²æìržzǧué[h²ë)îÅ맲æìržzˬyÊ&ÚuØÚÊ&©Ý²Ç§ué[h²ë)îÅè^.±ç([(rØ^¶m§ÿðÃ.±ç(ô®Š+·ðèïÅ <!-- body="end" --> <HR> <HR> <SMALL> This archive was generated by hypermail 2a23 : Thu Feb 17 2000 - 07:03:51 PST</EM> </EM> </SMALL> </BODY> </HTML>
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@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Paul Talacko wrote:
----Original Message----
I've got a problem or two with a recompiled kernel, modules and sound.
I recently installed Suse 6.1 (kernel 2.2.7) on a Sony Vaio F-150. Installation went like a breeze, neomagic X servers available from NeoMagic went straight in and everything is working beautifully, except sound, that is.
The laptop uses the NM256 sound chip. This is available as a module in kernel 2.2.13, where it clicks after playing CDs apparently, and 2.2.14 where it works well. Thinking I was being really smart I downloaded the 2.2.14 from www.kernel.org.
make xconfig wasn't working properly. This morning I managed to configure the kernel properly with 'make config'. make dep clean bzImage worked. make modules; make modules_install also seemed to work.
However, the new kernel was installed under root (/) and not /boot/ where SuSe puts its kernel. I thought I could fix this by updating lilo.conf.
Did you move the kernel to /boot or alter lilo.conf to reflect the kernel's location? To get the kernel to install into /boot, you need to uncomment the appropriate line in the kernel Makefile.
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.
If you're running 2.2.14, all other module directories are ignored, so don't expect it to recognise anything in the older kernel directories. PCMCIA support needs to be compiled separately, and the serial appears to be compiled into the kernel, so you can do the following in /etc/conf.modules: alias char-major-4 off
----Later Messages----
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.
You could try copying both vmlinuz and System.map to the /boot directory and altering lilo.conf as appropriate.
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)?
Maybe you didn't compile them as modules? The compile shouldn't touch any directory other than /lib/modules/2.2.14 - all the kernel modules should be there, with the exception of PCMCIA modules, as you appear to have found out.
I installed the pcmcia sources from the Suse install disks. make config runs fine, but after running make all I get:
<bunch of PCMCIA stuff snipped>
What does all this mean anyone?
Nothing to me ;-) However, you do need to compile the PCMCIA modules separately, as you are doing.
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.
I know that feeling - in fact, I'm helping a friend in exactly the same situation at the moment (sound works in 2.2.14, and PCMCIA works in 2.2.13 ;-) ). I don't know whether you've got it solved yet or not. You could try to get the latest PCMCIA stuff from: ftp://sunsite.unc.edu/pub/Linux/kernel/pcmcia/ Hope that helps, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
chris.reeves@iname.com
-
richard@activitysuperstore.com
-
talacko@yarn.demon.co.uk