Re: adding IDE flash card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux