Skip to contentSkip to conversation

Kerlen 2.4.13 and ramdisks

DISCUSSION Ian 2 participants 2 messages Feb 19, 2002 Memory technology devices (MTD)

lore
Share & tools
lore

Ian

author
#0 lore raw

If you have loopback support compiled in you can mount it directly through the loopback driver, without creating a ramdisk ...

What was the error that mount gave? You probably only need to specify the "-o" parameter ... mount doesn't usually detect fancy filesystems ...

----- Original Message -----

Quoted 6 lines

From: "Chris Fowler" <[email protected]>
To: <[email protected]>
Subject: Kerlen 2.4.13 and ramdisks
Date: Tue, 19 Feb 2002 10:33:33 -0500

You guys might have ran across a ramdisk problem. I have a feeling that kernel 2.4.13 is

not respecting my ramdisks.

Quoted 17 lines

dd if=/etc/user.img of=/dev/ram6

mount /dev/ram6 fails.

Is this a problem?

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

#1 lore raw

Ian,

loopback would not allow me to write to the image while running it. Making the flash (upgrade) process more difficult. The FS is ext2 and I do not use mount.

The only way the kernel can mount this is by me putting it in memory first. The only way to do that is with initrd. It owkrs when initrd only places that data there. When I try to download the *same* data from the network and put there it craps out. I have to download the data first before I can place it in /dev/ram7. TO do that I mount a ram fs at a upper limit of 32mb. Download the file there then place it in /dev/ram7. Just by using that memory as temporary storeage I'm haing problems. I've read posts that state that certain 2.4.X kernels have problems repecting the boundaries of a ramdisk. They tend to overwrite those areas when needing memory.

lilo.conf:
....
root=/dev/ram7

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Ian
Sent: Tuesday, February 19, 2002 4:51 PM
To: Chris Fowler
Cc: [email protected]
Subject: Re:Kerlen 2.4.13 and ramdisks

If you have loopback support compiled in you can mount it directly through the loopback driver, without creating a ramdisk ...

What was the error that mount gave? You probably only need to specify the "-o" parameter ... mount doesn't usually detect fancy filesystems ...

----- Original Message -----

Quoted 6 lines

From: "Chris Fowler" <[email protected]>
To: <[email protected]>
Subject: Kerlen 2.4.13 and ramdisks
Date: Tue, 19 Feb 2002 10:33:33 -0500

You guys might have ran across a ramdisk problem. I have a feeling that

kernel 2.4.13 is
not respecting my ramdisks.

Quoted 13 lines

dd if=/etc/user.img of=/dev/ram6

mount /dev/ram6 fails.

Is this a problem?

Quoted 4 lines

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/