Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ramdisk.. help me,I'm stuck on this for 2 days now...

Status
Not open for further replies.

Themuppeteer

Programmer
Apr 4, 2001
449
BE
Hello,
I have the following problem (Red Hat 7.2):
I want to make a kernel, thats supports a FLASH (M-systems diskonchip 2000 16MB), it has to have a ramdisk to.

I'm not really familiar with the mounting stuff in linux,and I can't seem to find how I can mount the flash and ramdisk. When compiling the kernel,I made sure that the support for M-systems diskonchip 2000 was activated,and I set the ramdisk size on 16Meg,so that should be ok.
But in the /dev directory, there are so may files to mount, which one should I mount and how exactely ??

I have already tried:

mount /dev/ram0 /mnt/flash
but then he asks for a fs,and no matter what I give, its all wrong.

please help,I'm stuck on this problem for 2 days now and I'm getting depressed...

So short: how do I mount my flash disk and ramdisk ?


thnx a lot for ANY reply...

(I'll be glad to give stars to anybody who tells me anything useful...)


Greetz,
muppeteer.gif

themuppeteer@hotmail.com

Don't eat yellow snow...
 
ok... I figured out how to do the ramdisk thing on a good site:

but I'm still stuck on the flash disk.
I have downloaded the drivers from m-sys.com,and
there was an executable that made in the /dev directory
a msys directory with in the msys directory fla,fla1... files.
When I type stat /dev/fla1, I get informatoin about the
flash disk. So its there! But I can't mount it...
I get:

mount: /dev/msys/fla1: unknown device

does this seem familiar to someone ? Greetz,
muppeteer.gif

themuppeteer@hotmail.com

Don't eat yellow snow...
 
But where in the filesystem are you mounting it?
Your mount line is missing a parameter. Ed Fair
unixstuff@juno.com
Any advice I give is my best judgement based on my interpretation of the facts you supply. Help increase my knowledge by providing some feedback, good or bad, on any advice I have given.
 
I found a text file in the downloaded drivers from m-systems, and I had to apply a patch which I did,now when I typed in make menuconfig, there was an EXTRA choice in the menu to activate m-systems Disk on chip! what a mean trick... anywho,I'm recompiling the kernel again (its about the 6th time I do that now),and I hope it will work now...
If not,I'll post here again.
the command I used was
mount -t msdos /dev/msys/fla1 /mnt/flash
I tried ext2 to for type...
In my previous post I made a error, it was stat /dev/msys/fla1 that I used.
Apparently the driver for msys was not installed, as a guy over here told me..now I'm trying to do that. I didn't even know I had to do that,because I checked it in the make menuconfig last time...
As we speak,I get an error in my make modules... guess I'm not done yet...
Greetz,
muppeteer.gif

themuppeteer@hotmail.com

Don't eat yellow snow...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top