mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: paulo@cfif3.ist.utl.pt
To: jack@suse.cz
Cc: linux-kernel@vger.kernel.org
Subject: Re: kernel BUG at fs/inode.c
Date: Thu, 22 Nov 2007 18:20:15 +0000 (WET)	[thread overview]
Message-ID: <200711221820.lAMIKFkQ005124@cfif3.ist.utl.pt> (raw)



  Hi,

>  Thanks for report. It looks like a problem in UDF. Actually I think
> I've already seen a similar report. Are there any IO errors in the logs
> or anything else suspitious?


 At the risk of reporting further bugs :-) here it goes:

=======================================================================

 1)

 Something I've recently reported to the e-mail address listed
 on the mkudffs manpage:

 ...a small problem with mkudffs, as obtained from
 udftools-1.0.0b3-7.fc6.

 The problem is as follows: if I take a new DVD-RAM, create (say)
 an ext3 filesystem, and some time later I run mkudffs over it,
 then when I try to mount it the disk still seems to remember
 about having had a previous filesystem.
 What I mean is that mount may succeed if one specifies the newer
 filesystem, at least if no files have been copied yet, and also
 succeed with the older filesystem.

 Here is an example, for the same disk(!) without any formatting
 nor copying in between (note also the dates)

# mount /dev/scd0 /mnt/dvd -t udf
# ll /mnt/dvd/
total 4
drwxr-xr-x  3 root root   92 2007-11-21 18:34 ./
drwxr-xr-x 13 root root 4096 2007-09-03 17:27 ../
drwxr-xr-x  2 root root   40 2007-11-21 18:34 lost+found/

# umount /mnt/dvd
# mount /dev/scd0 /mnt/dvd -t ext3
# ll /mnt/dvd/
total 24
drwxr-xr-x  3 root root  4096 2007-11-21 19:29 ./
drwxr-xr-x 13 root root  4096 2007-09-03 17:27 ../
drwx------  2 root root 16384 2007-11-21 19:29 lost+found/


 Eventually I found that I could erase the (or at least part of the)
 information that remained from ext3 by using fdisk to set a filesystem
 of type "0" ("empty") and then running mkudffs over.

 That is not very practical of course, and I am also not completely
 sure that no other outdated info remains on the disk.

=======================================================================

 2)

 With 2.6.24-rc1-git10 (did not see it with other kernels yet)

 # find /proc -name cdrom
 /proc/sys/dev/cdrom
 find: WARNING: Hard link count is wrong for /proc/net: this may be
 a bug in your filesystem driver.  Automatically turning on find's
 -noleaf option.  Earlier results may have failed to include
 directories that should have been searched.

=======================================================================

 3)

 While I am at it, here's a suggestion. One of my DVD-RAM disks
 had apparently some (likely minor) problems, because I've just
 found the following notice in /var/log/messages :

 ... kernel: EXT3-fs warning: mounting fs with errors, running
 e2fsck is recommended

 This message appears 11 times in that file. I've never seen it
 displayed on an xterm, although I always mount the disks "by hand",
 on the command line!

 The request/suggestion is (obviously) please send that message to
 syserror too!!


=======================================================================


 Which other logs should I look at?

  Best regards
   Paulo



             reply	other threads:[~2007-11-22 18:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-22 18:20 paulo [this message]
2007-11-26 15:45 ` Jan Kara
  -- strict thread matches above, loose matches on Subject: below --
2007-11-21 18:25 paulo
2007-11-22 13:49 ` Jan Kara

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200711221820.lAMIKFkQ005124@cfif3.ist.utl.pt \
    --to=paulo@cfif3.ist.utl.pt \
    --cc=jack@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulo.nogueira@ist.utl.pt \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®