mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [Problem]: strange ramdisk-errors with 2.6.1
@ 2004-02-09 16:01 Daniel Schranz
  0 siblings, 0 replies; only message in thread
From: Daniel Schranz @ 2004-02-09 16:01 UTC (permalink / raw)
  To: linux-kernel

Hi
I encountered a problem with the ramdisk under 2.6.1 (will test with 2.6.2 
after my exams)
When modifying a mounted ramdisk i get strange errors (see below)

Kernel is 2.6.1 (compiled with gcc 3.3.2, binutils 2.14.90.0.8)
ramdisk-support is compiled in (not a module)
with kernel 2.4.22 everything works fine (rd-support also compiled in)
Intel P3 (Coppermine) with 512MB RAM

Regards,
Daniel



dd if=/dev/zero of=/dev/ram7 bs=1k count=4096
mke2fs -b 1024 -m0 /dev/ram7
mount /dev/ram7 /mnt/tmp
cp -dpR initrd/* /mnt/tmp/
--> all files under /mnt/tmp

umount /mnt/tmp
mount /mnt/tmp:
--> only lost+ found is there

rmdir /mnt/tmp/lost+found
umount + mount:
--> lost+found is there again

dd if=image of=/dev/ram7 bs=1k count=4096 (image created using a 
loopback-file)
--> all files there

rm /mnt/tmp/linuxrc:
--> all files there except linuxrc

umount + mount + ls /mnt/tmp:
--> ls: /mnt/tmp/linuxrc: Input/output error
--> bin  cdrom  dev  etc  lib  lost+found  newroot  sbin

touch dummy + ls:
--> ls: /mnt/tmp/linuxrc: Input/output error
--> bin  cdrom  dev  dummy  etc  lib  lost+found  newroot  sbin

umount + mount:
--> ls: /mnt/tmp/linuxrc: Input/output error
--> bin  cdrom  dev  etc  lib  lost+found  newroot  sbin

touch linuxrc:
-->  touch: cannot touch `/mnt/tmp/linuxrc': Input/output error


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-09 16:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-09 16:01 [Problem]: strange ramdisk-errors with 2.6.1 Daniel Schranz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®