  | |  | adding IDE flash card | adding IDE flash card 2004-03-26 - By raman singh
Back 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@(protected)> 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@(protected) https://www.redhat.com/mailman/listinfo/shrike-list
-- ---- ---- ---- ---- ---- ----- Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. <DIV>Well, I am running default redhat 9. (2.4.20-30.9) and it seems it *doesnot* have ide-disk module (at least loaded) </DIV> <DIV> </DIV> <DIV>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,<BR></DIV><FONT size=2> <P>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 \</P> <P>--end-group -o vmlinux drivers/ide/idedriver.o(.text+0x6f3e): In function `hpt372n_rw_disk':</P> <P>: undefined reference to `__ide_do_rw_disk'</P> <P>make: *** [vmlinux] Error 1</P> <P></FONT> </P> <P>Do you think if ide-disk.o is build into the kernel I should still get an error</P> <P>modprobe : Can't locate module ide-disk"</P> <P> </P> <P>Thanks</P> <P> </P> <P>Desh</P> <P> </P> <P> </P> <DIV><BR><B><I>"Steven J. Yellin" <yellin@(protected)></I></B> wrote:</DIV> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER -LEFT: #1010ff 2px solid">On Thu, 25 Mar 2004, raman singh wrote:<BR><BR>> Hi Guys,<BR>> I have IDE Compact Flash card socket on my motherboard, running RH9.<BR>> When I boot the system it correctly identify the flash card (in BIOS and<BR>> I see it in messages log file) The BIOS identify it as HDD-0. Now, when<BR>> I try to access the card (/dev/hda) it says<BR>> <BR>> Unable to open /dev/hda and see a log message <BR>> <BR>> "modprobe : Can 't locate module ide-disk"<BR>> <BR>> any suggestion to fix this problem? <BR>> <BR>> Raman<BR>> <BR>If the kernel-source rpm is installed, you can look at the default<BR>configurations shown in /usr/src/linux-2.4/configs. I see that the<BR>default kernels all have CONFIG_BLK_DEV_IDEDISK=y, meaning, according to<BR>/usr/src/linux-2.4/Documentation/Configure.help, ide-disk is built into<BR>the kernel. Did you build your own ! kernel and leave out<BR>CONFIG_BLK_DEV_IDEDISK? If so, you ought to be able to fix the problem by<BR>building it again, this time with IDE/ATA-2 DISK support included, at<BR>least as a module. On the other hand, if you're running a default RedHat<BR>kernel, disregard this message; I don't know why you got the modprobe<BR>complaint.<BR><BR>-- <BR>Steven Yellin<BR><BR><BR>-- <BR>Shrike -list mailing list<BR>Shrike-list@(protected)<BR>https://www.redhat.com/mailman /listinfo/shrike-list</BLOCKQUOTE><p><hr size=1><font face=arial size=-1>Do you Yahoo!?<br> <a href="http://taxes.yahoo.com/filing.html"><b>Yahoo! Finance Tax Center</a>< /b> - File online. File on time. -- Shrike-list mailing list Shrike-list@(protected) https://www.redhat.com/mailman/listinfo/shrike-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |