From: "Si" <spse@secret.org.uk>
To: "David Woodhouse" <dwmw2@infradead.org>,
"Michael Rothwell" <rothwell@holly-springs.nc.us>
Cc: <linux-mtd@lists.infradead.org>
Subject: Re: second "mount" hangs
Date: Tue, 20 Nov 2001 01:54:14 -0000 [thread overview]
Message-ID: <001b01c17166$6af4de40$0100a8c0@secret.org.uk> (raw)
In-Reply-To: 2915.1006111512@redhat.com
>
> I think that the last time I saw this reported, it was also on a blkmtd
> device. A quick perusal of the blkmtd code shows that it uses sleep_on
> functions - which makes me instantly assume it's racy.
>
> Simon - can you reproduce this problem?
>
> --
> dwmw2
This is reproducible on both blkmtd and mtdram (and probably others) - this
is from stock 2.4.14
testbox:/home/spse# cat /proc/mtd
dev: size erasesize name
mtd0: 00400000 00020000 "mtdram test device"
testbox:/home/spse/src/mtd/util# ./mkfs.jffs2 >/dev/mtd/0
testbox:/home/spse/src/mtd/util# mount -t jffs2 /dev/mtdblock/0 /mnt/test
testbox:/home/spse/src/mtd/util# umount /mnt/test
testbox:/home/spse/src/mtd/util# mount -t jffs2 /dev/mtdblock/0 /mnt/test
testbox:/home/spse/src/mtd/util# mount -t jffs2 /dev/mtdblock/0 /mnt/test
[Hang]
a ksymoops of a alt-sysrq T gives:
Trace; c0232f55 <rwsem_down_read_failed+f5/118>
Trace; c0235739 <stext_lock+789/31c6>
Trace; c013de29 <sync_inodes+15/4c>
Trace; c012ebc3 <fsync_dev+17/30>
Trace; c013e427 <invalidate_device+17/58>
Trace; c01cabce <mtdblock_release+22/b0>
Trace; c0132e36 <blkdev_put+66/ac>
Trace; c0131bcf <get_sb_bdev+1b7/2ec>
Trace; c013fa23 <set_devname+27/54>
Trace; c01321ab <do_kern_mount+af/13c>
Trace; c0140755 <do_add_mount+21/cc>
Trace; c01409db <do_mount+13f/158>
Trace; c014084d <copy_mount_options+4d/9c>
Trace; c0140a78 <sys_mount+84/c4>
Trace; c0106b0b <system_call+33/38>
so possibly there is something in mtdblock that is going wrong.
cheers
si
next prev parent reply other threads:[~2001-11-20 1:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-18 18:11 second "mount" hangs Michael Rothwell
2001-11-18 18:33 ` David Woodhouse
2001-11-18 18:46 ` Michael Rothwell
2001-11-20 7:17 ` NAND test hardwhere? Charles Manning
2001-11-20 9:06 ` David Woodhouse
2001-11-18 18:54 ` second "mount" hangs Michael Rothwell
2001-11-18 19:10 ` David Woodhouse
2001-11-18 19:25 ` David Woodhouse
2001-11-20 1:54 ` Si [this message]
2001-11-20 2:15 ` Russ Dill
2001-11-20 10:26 ` David Woodhouse
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='001b01c17166$6af4de40$0100a8c0@secret.org.uk' \
--to=spse@secret.org.uk \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=rothwell@holly-springs.nc.us \
/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