Re: [gentoo-user] Round 2: modules/kernel problem & No modules work -- i8k
I don't really know how the whole module thing works, but I've encountered similar situations where modules can't be found because things are not looking where I thought they should, and basically because I don't understand much of it. As a result of some chats on #gentoo, I've come up with this approach: do a 'modprobe -l > my-modules.txt' which seems to result in a list of modules, each with a fully absolute path, and each with a '.o' or whatever ending. By hand, I've gone through each line and deleted the stuff that isn't the module name, and the bits after the dot. I'm sure there's a programming way of doing it, but frankly this was quicker than spending another twenty years trying to learn programming, which hasn't worked out so far. Then I change the result into /etc/modules.autoload and all is happy. It'd be nice if there were an automated way of arriving at modules.autoload from the output of modprobe -l and simply allowing the user to comment out the bits not needed (or in my case, it's all needed or I wouldn't have made the kernel that way in the first place). -- Ian Tindale -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Round 2: modules/kernel problem & No modules work -- i8k
On Wednesday 30 July 2003 05:16, Bud Roth wrote: > On Tue, 2003-07-29 at 08:13, Jason Stubbs wrote: > > Try depmod -a -F /usr/src/linux-2.4.20-gentoo-r5/System.map > > Don't know if it'll work, but could be the problem. > > I did that, but to no avail. There is no System.map. See: > > # ls > COPYING MAINTAINERS README config.old dell_config > include kernel-config patches.txt > CREDITS MAINTAINERS~ REPORTING-BUGS config_bkup > drivers initlib scripts > Changelog.rmap Makefile Rules.make config_dell_alt > fsipc mm te > Documentation Makefile~ archcrypto > grsecuritykernel net > # pwd > /usr/src/linux-2.4.20-gentoo-r5 > > The fact that it is missing is suspicious. What makes System.map? I > don't know why it is not there. I did > > make clean > make dep > make bzImage modules modules_install > > Any ideas? Is "Set version information on all module symbols" enabled? I don't think it should need to be, but it can't hurt. Actually, I remember having this problem myself a long time ago. I think I did a make distclean and doing everything from scratch fixed it. Or you could unmerge, delete the src tree and remerge. > > > > > without this module support (iptables needs the ip_table kernel > > > > > support as a module not built-in), even thou i love gentoo.. i'll > > > > > prolly have to siwtch back to redhat **shudder**.. > > > > What is this? A threat? Please don't assume that a lack of help is > > because we don't want you with us. It is almost exclusively a lack of > > knowledge (or understanding) of a problem in situations that there are no > > valuable replies. > > Actually, I hijacked another person's message, someone who was having > the same problem as myself, so I didn't actually write that. I suspect > it was exasperation, not a threat. I myself, if all else fails, would > go back to SuSE, not RedHat, but that is _not_ a threat and I am not > about to give up. ;-) I appreciate the help. Please don't think > otherwise. No sweat! Jason -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Round 2: modules/kernel problem & No modules work -- i8k
On Tuesday 29 July 2003 10:16, Bud Roth wrote: > I posted earlier about the same problem. I tried both depmod -a and > update-modules. Also, my sound device "/dev/dsp" is missing. I'm > confused. Any ideas? > > moosilauk linux # depmod -a > depmod: *** Unresolved symbols in > /lib/modules/2.4.20-gentoo-r5/kernel/drivers/block/loop.o Try depmod -a -F /usr/src/linux-2.4.20-gentoo-r5/System.map Don't know if it'll work, but could be the problem. > > > without this module support (iptables needs the ip_table kernel > > > support as a module not built-in), even thou i love gentoo.. i'll > > > prolly have to siwtch back to redhat **shudder**.. What is this? A threat? Please don't assume that a lack of help is because we don't want you with us. It is almost exclusively a lack of knowledge (or understanding) of a problem in situations that there are no valuable replies. Jason -- [EMAIL PROTECTED] mailing list
[gentoo-user] Round 2: modules/kernel problem & No modules work -- i8k
I posted earlier about the same problem. I tried both depmod -a and update-modules. Also, my sound device "/dev/dsp" is missing. I'm confused. Any ideas? moosilauk linux # depmod -a depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/block/loop.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/block/rd.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/cdrom/cdrom.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/char/agp/agpgart.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/ieee1394/ieee1394.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/ieee1394/sbp2.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/input/evdev.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/input/input.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/input/joydev.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/input/mousedev.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/cpia.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/cpia_usb.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/videodev.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/net/dummy.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/parport/parport.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/pnp/isa-pnp.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/scsi/ide-scsi.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/scsi/scsi_mod.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/scsi/sg.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/scsi/sr_mod.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/sound/maestro3.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/sound/sound.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/usb/dc2xx.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/usb/hid.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/usb/hpusbscsi.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/usb/ibmcam.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/usb/mdc800.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/usb/microtek.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/usb/ov511.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/usb/printer.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/usb/pwc.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/usb/scanner.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/usb/se401.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/usb/stv680.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/usb/ultracam.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/usb/usb-uhci.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/usb/usbvideo.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/usb/vicam.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/fs/fat/fat.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/fs/hfs/hfs.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/fs/msdos/msdos.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/fs/ntfs/ntfs.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/fs/smbfs/smbfs.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/fs/vfat/vfat.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/net/ipsec/ipsec.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/misc/svgalib_helper.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/net/8390.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/pcmcia/3c574_cs.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/pcmcia/3c575_cb.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/pcmcia/3c589_cs.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/pcmcia/airo.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/pcmcia/airo_cs.o depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/pcmcia/axnet_cs