From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 26958 invoked from network); 2 Mar 1998 16:59:59 -0000 Received: from winnie.fit.edu (163.118.5.1) by mail2.redhat.com with SMTP; 2 Mar 1998 16:59:59 -0000 Received: from ee.fit.edu (yacht.ee.fit.edu [163.118.30.1]) by winnie.fit.edu (8.8.7/8.8.7) with SMTP id LAA12688 for ; Mon, 2 Mar 1998 11:56:02 -0500 (EST) Received: from localhost by ee.fit.edu (SMI-8.6/SMI-SVR4) id LAA05336; Mon, 2 Mar 1998 11:58:41 -0500 Date: Mon, 2 Mar 1998 11:58:40 -0500 (EST) From: Christopher Curtis To: axp-list@redhat.com Subject: A bit more on UDB PCMCIA Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII The system: DEC Alpha, UDB/Multia RedHat 4.2 Kernel 2.0.32 + Alpha Patches-2.0.32-1 PCMCIA utilities 3.0.0 from hyper.??.edu Symptoms: depmod -a reports "TYPE /lib/modules/2.0.32/pcmcia" ?? What the h*ll does that mean ?? I've recompiled the utilites and installed them in /lib/modules/2.0.32/pcmcia/lib/modules/2.0.32/pcmcia (whoops. heh-heh.) # cd (that directory) # depmod -a . Segmentation fault (core dumped) Peculiar. # gdb `which depmod` core (gdb) where #0: ... (gdb) info threads * 1 process 1140 0x1555582ccd0 in __curbrk () (gdb) quit Hmm. Okay, no biggie. We don't NEED to depmod stuff... # insmod serial_cs.o Unable to reoslve dependency ... (there were two of them, plus:) Unable to resolve dependency CardServices # for FILE in *.o ; do > echo $FILE: > strings $FILE | grep CardServices > done I see it is in pcmcia_core.o - woohoo! # insmod pcmcia_core.o # Success? # lsmod Module Pages Used by pcmcia_core 6 0 ip_masq_vdolive 1 0 ... # insmod serial_cs.o serial_cs.o: get_kernel_syms: Invalid request code Hmm. Let's unload the core module, then. # rmmod pcmcia_core.o rmmod: module pcmcia_core.o not loaded Really? # lsmod Module Pages Used by pcmcia_core 6 0 ip_masq_vdolive 1 0 ... # rmmod pcmcia_core Segmentation fault Not even a core dump. Okay, let's try individual dependencies: # depmod pcmcia_core.o modprobe: get_kernel_syms: Invalid request code pcmcia_core.o: unresolved symbol(s): pcmcia_core.o: (Same for serial_cs.o) This is about as far as I'm getting. I now have a module stuck in memory that I cannot remove, and that I cannot add to. Worse yet: # cd [ /root] # insmod minix /lib/modules/2.0.32/fs/minix.o: get_kernel_syms: Invalid request code Doh! Advice, pointers, cookbooks? tia, -- Christopher Curtis - http://www.ee.fit.edu/users/ccurtis Florida Institute of Technology - System Administrator, Programmer Melbourne, Florida USA - http://www.lp.org/