I don't know why you get "modprobe: Can't locate module ide-disk" for a default RedHat kernel, which I thought was built so that it already has the capability of ide-disk.o without requiring the module. Do you have a reference to ide-disk in /etc/modules.conf? If you do, try removing it. I also don't know how to deal with the error in compiling the kernel. But maybe you don't want a new kernel, and just need ide-disk.o. If so, you ought to be able to get it even if the kernel compilation failed. Do "make modules" and copy it from /usr/src/linux-2.4.20-30.9/drivers/ide to /lib/modules/2.4.20-30.9<smp?>/kernel/drivers/ide On Fri, 26 Mar 2004, raman singh wrote: > Well, I am running default redhat 9. (2.4.20-30.9) and it seems it > *doesnot* have ide-disk module (at least loaded) > when I do a lsmods I don't see ide-disk. I tried rebuilding the kernel > with CONFIG_BLK_DEV_IDEDISK=m and it faild to build the kernel. I get > the following message, > > > ld -m elf_i386 -T /usr/src/linux-2.4.25/arch/i386/vmlinux.lds -e stext > arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o > init/version.o init/do_mounts.o --start-group arch/i386/kernel/kernel.o > arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o > drivers/char/char.o drivers/block/block.o drivers/misc/misc.o > drivers/net/net.o drivers/char/drm/drm.o drivers/net/fc/fc.o > drivers/net/appletalk/appletalk.o drivers/net/tokenring/tr.o > drivers/net/wan/wan.o drivers/atm/atm.o drivers/ide/idedriver.o > drivers/cdrom/driver.o drivers/pci/driver.o > drivers/net/pcmcia/pcmcia_net.o drivers/net/wireless/wireless_net.o > drivers/pnp/pnp.o drivers/video/video.o drivers/net/hamradio/hamradio.o > drivers/media/media.o drivers/md/mddev.o drivers/isdn/vmlinux-obj.o > crypto/crypto.o net/network.o /usr/src/linux-2.4.25/arch/i386/lib/lib.a > /usr/src/linux-2.4.25/lib/lib.a > /usr/src/linux-2.4.25/arch/i386/lib/lib.a \ > > --end-group -o vmlinux drivers/ide/idedriver.o(.text+0x6f3e): In function `hpt372n_rw_disk': > > : undefined reference to `__ide_do_rw_disk' > > make: *** [vmlinux] Error 1 > > > > Do you think if ide-disk.o is build into the kernel I should still get an error > > modprobe : Can't locate module ide-disk" > > > > Thanks > > > > Desh > > > > > > "Steven J. Yellin" <yellin@xxxxxxxxxxxxxxxxx> wrote: > On Thu, 25 Mar 2004, raman singh wrote: > > > Hi Guys, > > I have IDE Compact Flash card socket on my motherboard, running RH9. > > When I boot the system it correctly identify the flash card (in BIOS and > > I see it in messages log file) The BIOS identify it as HDD-0. Now, when > > I try to access the card (/dev/hda) it says > > > > Unable to open /dev/hda and see a log message > > > > "modprobe : Can't locate module ide-disk" > > > > any suggestion to fix this problem? > > > > Raman > > > If the kernel-source rpm is installed, you can look at the default > configurations shown in /usr/src/linux-2.4/configs. I see that the > default kernels all have CONFIG_BLK_DEV_IDEDISK=y, meaning, according to > /usr/src/linux-2.4/Documentation/Configure.help, ide-disk is built into > the kernel. Did you build your own kernel and leave out > CONFIG_BLK_DEV_IDEDISK? If so, you ought to be able to fix the problem by > building it again, this time with IDE/ATA-2 DISK support included, at > least as a module. On the other hand, if you're running a default RedHat > kernel, disregard this message; I don't know why you got the modprobe > complaint. > > -- Steven Yellin -- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list