public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Ramdisk (and other) problems with 2.4.2
@ 2001-03-07 15:48 Richard B. Johnson
  2001-03-07 17:01 ` Mike Galbraith
  0 siblings, 1 reply; 20+ messages in thread
From: Richard B. Johnson @ 2001-03-07 15:48 UTC (permalink / raw)
  To: Linux kernel


After attempting to run 2.4.2, and killing all my hard disks, I
have finally gotten 2.4.1 back up. There is a continual problem
that even exists on 2.4.1, that will show if you execute this.
However, unmount your hard disks before you execute this simple
harmless script. 


dd if=/dev/zero of=/dev/ram0 bs=1k count=1440
/sbin/mke2fs -Fq /dev/ram0 1440 
mount -t ext2 /dev/ram0 /mnt
dd if=/dev/zero of=/mnt/foo bs=1k count=1000
ls -la /mnt
umount /mnt

The first time you execute it, fine. It runs. The second time, you
get:

Mar  7 10:29:00 chaos last message repeated 11 times
Mar  7 10:29:00 chaos kernel: EXT2-fs error (device ramdisk(1,0)): ext2_free_blocks: bit already cleared for block 631 
Mar  7 10:30:32 chaos kernel: EXT2-fs error (device ramdisk(1,0)): ext2_free_blocks: bit already cleared for block 41 
Mar  7 10:30:32 chaos last message repeated 11 times
Mar  7 10:30:32 chaos kernel: EXT2-fs error (device ramdisk(1,0)): ext2_free_blocks: bit already cleared for block 53 
Mar  7 10:30:32 chaos kernel: EXT2-fs error (device ramdisk(1,0)): ext2_free_blocks: bit already cleared for block 310 
Mar  7 10:30:32 chaos kernel: EXT2-fs error (device ramdisk(1,0)): ext2_free_blocks: bit already cleared for block 614 
Mar  7 10:30:32 chaos last message repeated 4 times
Mar  7 10:30:32 chaos kernel: EXT2-fs error (device ramdisk(1,0)): ext2_free_blocks: bit already cleared for block 619 
Mar  7 10:30:32 chaos last message repeated 11 times
Mar  7 10:30:32 chaos kernel: EXT2-fs error (device ramdisk(1,0)): ext2_free_blocks: bit already cleared for block 631 
Mar  7 10:34:25 chaos sendmail[17986]: f27FYJh17986: from=<linux-kernel-owner@vger.kernel.org>, size=1830, class=-60, nrcpts=1, msgid=<200103071529.f27FTjO26978@aslan.scsiguy.com>, bodytype=8BITMIME, proto=ESMTP, daemon=MTA, relay=vger.kernel.org [199.183
.24.194]
Mar  7 10:34:26 chaos sendmail[17994]: f27FYJh17986: to=<root@chaos.analogic.com>, delay=00:00:07, xdelay=00:00:01, mailer=local, pri=138660, dsn=2.0.0, stat=Sent
Mar  7 10:34:46 chaos kernel: EXT2-fs error (device ramdisk(1,0)): ext2_free_blocks: bit already cleared for block 41 
Mar  7 10:34:46 chaos last message repeated 11 times
Mar  7 10:34:46 chaos kernel: EXT2-fs error (device ramdisk(1,0)): ext2_free_blocks: bit already cleared for block 53 
Mar  7 10:34:46 chaos kernel: EXT2-fs error (device ramdisk(1,0)): ext2_free_blocks: bit already cleared for block 310 
Mar  7 10:34:58 chaos kernel: EXT2-fs error (device ramdisk(1,0)): ext2_free_blocks: bit already cleared for block 41 
Mar  7 10:34:58 chaos last message repeated 11 times
Mar  7 10:34:58 chaos kernel: EXT2-fs error (device ramdisk(1,0)): ext2_free_blocks: bit already cleared for block 53 
Mar  7 10:34:58 chaos kernel: EXT2-fs error (device ramdisk(1,0)): ext2_free_blocks: bit already cleared for block 310 
Mar  7 10:35:06 chaos kernel: EXT2-fs error (device ramdisk(1,0)): ext2_free_blocks: bit already cleared for block 41 
Mar  7 10:35:06 chaos last message repeated 11 times
Mar  7 10:35:06 chaos kernel: EXT2-fs error (device ramdisk(1,0)): ext2_free_blocks: bit already cleared for block 53 
Mar  7 10:35:06 chaos kernel: EXT2-fs error (device ramdisk(1,0)): ext2_free_blocks: bit already cleared for block 310 
Mar  7 10:38:58 chaos kernel: EXT2-fs error (device ramdisk(1,0)): ext2_free_blocks: bit already cleared for block 41 
Mar  7 10:38:58 chaos last message repeated 11 times
Mar  7 10:38:58 chaos kernel: EXT2-fs error (device ramdisk(1,0)): ext2_free_blocks: bit already cleared for block 53 
Mar  7 10:38:58 chaos kernel: EXT2-fs error (device ramdisk(1,0)): ext2_free_blocks: bit already cleared for block 310 


...and no files are generated in the ramdisk ... and, If you don't
reboot soon, you will have file-system corruption all throughout your
hard disks(s) including those which are not mounted (really). Some
offset gets screwed so umounted disks are written. Reboot with the
reset switch.


Cheers,
Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.



^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: Ramdisk (and other) problems with 2.4.2
@ 2001-03-09 19:23 Andries.Brouwer
  2001-03-09 19:45 ` David Weinehall
  0 siblings, 1 reply; 20+ messages in thread
From: Andries.Brouwer @ 2001-03-09 19:23 UTC (permalink / raw)
  To: mikeg, viro; +Cc: aeb, linux-kernel, root

> Andries, comments?

> remount
>    Attempt  to  change the mount flags of
>    already-mounted file system.  This is commonly
>    used to make a readonly file system writeable.

Yes. But maybe "mount flags" is too narrow?
It is up to the filesystem what precisely it does.
What about

remount
        Attempt to remount an  already-mounted  file
        system.  This is commonly used to change the
        mount flags for a file system, especially to
        make  a  readonly  file system writeable. It
        does not change device or mount point.
?

Andries

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2001-03-10 15:24 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-07 15:48 Ramdisk (and other) problems with 2.4.2 Richard B. Johnson
2001-03-07 17:01 ` Mike Galbraith
2001-03-07 17:23   ` Richard B. Johnson
2001-03-07 17:51     ` Mike Galbraith
2001-03-07 17:56       ` Richard B. Johnson
2001-03-07 18:56         ` Mike Galbraith
2001-03-07 17:53     ` matthew.copeland
2001-03-07 18:06       ` Richard B. Johnson
2001-03-08 11:44     ` Pavel Machek
2001-03-09 14:33     ` Mike Galbraith
2001-03-09 16:50       ` Mike Galbraith
2001-03-09 17:04       ` Richard B. Johnson
2001-03-09 18:28         ` Mike Galbraith
2001-03-09 18:38           ` Alexander Viro
2001-03-09 18:47             ` Mike Galbraith
2001-03-09 17:51       ` Alexander Viro
2001-03-09 18:26         ` Richard B. Johnson
2001-03-09 18:43         ` Mike Galbraith
  -- strict thread matches above, loose matches on Subject: below --
2001-03-09 19:23 Andries.Brouwer
2001-03-09 19:45 ` David Weinehall

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