From: Valdis.Kletnieks@vt.edu
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.23-rc1-mm1 - loopback mount of files fails loop-use-unlocked_ioctl.patch
Date: Wed, 01 Aug 2007 11:24:58 -0400 [thread overview]
Message-ID: <31610.1185981898@turing-police.cc.vt.edu> (raw)
In-Reply-To: Your message of "Wed, 25 Jul 2007 04:03:04 PDT." <20070725040304.111550f4.akpm@linux-foundation.org>
[-- Attachment #1: Type: text/plain, Size: 5113 bytes --]
On Wed, 25 Jul 2007 04:03:04 PDT, Andrew Morton said:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc1/2.6.23-rc1-mm1/
Looks like -rc1-mm2 came out while I was hunting this, haven't tried that yet)
File-backed loopback seems to be broken (note that I use a LVM volume with
a 'mount -o loop,encryption=aes /dev/mapper/...' every day - that *does* work).
loop-use-unlocked_ioctl.patch is the offender after bisecting.
I had created an ISO image with genisoimage, and to test it, I had done:
mount -o loop.ro /path/to/temp.iso /mnt
(Note that the image itself is good - I burned it to a CD, and then
'mount /dev/cdrom /mnt' worked just fine, so it's definitely the loopback,
and on file-backed mounts...).
and got treated to this wonderful oops:
[ 170.420603] Unable to handle kernel NULL pointer dereference at 00000000000000b8 RIP:
[ 170.420877] [<ffffffff803bf9b1>] lo_ioctl+0x21/0x94a
[ 170.421243] PGD 41c5067 PUD 6111067 PMD 0
[ 170.421464] Oops: 0000 [1] PREEMPT SMP
[ 170.421671] CPU 0
[ 170.421775] Modules linked in: sha256 aes video output thermal processor fan container button bay battery ac nvram pcmcia firmware_class ohci1394 yenta_socket ieee1394 rsrc_nonstatic iTCO_wdt pcmcia_core iTCO_vendor_support intel_agp rtc
[ 170.422989] Pid: 1616, comm: mount Not tainted 2.6.23-rc1 #3
[ 170.423254] RIP: 0010:[<ffffffff803bf9b1>] [<ffffffff803bf9b1>] lo_ioctl+0x21/0x94a
[ 170.423627] RSP: 0018:ffff8100047076d8 EFLAGS: 00010296
[ 170.423876] RAX: ffffffff80698720 RBX: 00000000fffffdfd RCX: ffffffff803bf990
[ 170.424210] RDX: ffff810004707b18 RSI: 0000000000005310 RDI: 0000000000000000
[ 170.424544] RBP: ffff8100047078d8 R08: ffff810004707b18 R09: ffff810004707968
[ 170.424878] R10: ffff810004707b18 R11: ffff810004707b18 R12: 0000000000005310
[ 170.425212] R13: ffff810004707b18 R14: ffff810004707b18 R15: 0000000000000000
[ 170.425547] FS: 00002b82792a4740(0000) GS:ffffffff806e1000(0000) knlGS:0000000000000000
[ 170.425928] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 170.426197] CR2: 00000000000000b8 CR3: 000000000610b000 CR4: 00000000000006e0
[ 170.426531] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 170.439502] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 170.452460] Process mount (pid: 1616, threadinfo ffff810004706000, task ffff810006898800)
[ 170.465758] Stack: 0000003900000044 ffff810006898800 0000000000000000 ffff810006812588
[ 170.479365] 0000000005071980 0000000000000007 0000000000000000 0000000000000044
[ 170.493151] 0000000000100000 ffff8100047077b8 ffff8100047077a8 ffffffff8031facb
[ 170.493517] Call Trace:
[ 170.520574] [<ffffffff8031facb>] avc_has_perm+0x4c/0x5e
[ 170.534308] [<ffffffff80320994>] inode_has_perm+0x6b/0x7a
[ 170.547974] [<ffffffff8029c126>] __d_lookup+0xe1/0x154
[ 170.561721] [<ffffffff80346bf7>] kobject_get+0x1a/0x21
[ 170.575187] [<ffffffff8033e29c>] get_disk+0x8d/0xad
[ 170.588601] [<ffffffff8033e2c8>] exact_lock+0xc/0x14
[ 170.601969] [<ffffffff803bc688>] kobj_lookup+0x14d/0x183
[ 170.615253] [<ffffffff8033d5e2>] blkdev_driver_ioctl+0x39/0x78
[ 170.628545] [<ffffffff8033dc7c>] blkdev_ioctl+0x65b/0x6b7
[ 170.641836] [<ffffffff802b082a>] __blkdev_get+0x7b/0x8d
[ 170.655105] [<ffffffff802b0a65>] ioctl_by_bdev+0x34/0x48
[ 170.668432] [<ffffffff802fbcff>] isofs_fill_super+0x337/0xa68
[ 170.681666] [<ffffffff80519ec2>] __down_write_nested+0x3d/0xab
[ 170.694896] [<ffffffff80519f3b>] __down_write+0xb/0xd
[ 170.707835] [<ffffffff8028c412>] sget+0x374/0x386
[ 170.720528] [<ffffffff8028bec8>] set_bdev_super+0x0/0x14
[ 170.733267] [<ffffffff8028cfbb>] get_sb_bdev+0x109/0x157
[ 170.745881] [<ffffffff802fb9c8>] isofs_fill_super+0x0/0xa68
[ 170.758382] [<ffffffff802fb445>] isofs_get_sb+0x13/0x15
[ 170.770713] [<ffffffff8028cac2>] vfs_kern_mount+0x90/0x11a
[ 170.782999] [<ffffffff8028cba5>] do_kern_mount+0x47/0xe2
[ 170.795245] [<ffffffff802a1d70>] do_mount+0x691/0x704
[ 170.807349] [<ffffffff802a06cb>] mntput_no_expire+0x1e/0x98
[ 170.819351] [<ffffffff80294b13>] link_path_walk+0xe8/0xfc
[ 170.831216] [<ffffffff802b0232>] bdput+0xd/0xf
[ 170.843065] [<ffffffff802a06cb>] mntput_no_expire+0x1e/0x98
[ 170.854874] [<ffffffff80294b43>] path_walk+0x1c/0x1e
[ 170.866566] [<ffffffff80294e38>] do_path_lookup+0x1b6/0x22f
[ 170.878247] [<ffffffff802937a1>] putname+0x37/0x39
[ 170.889781] [<ffffffff802957a1>] __user_walk_fd+0x4c/0x5c
[ 170.901309] [<ffffffff8026e055>] __alloc_pages+0x5c/0x2b5
[ 170.912789] [<ffffffff802a06cb>] mntput_no_expire+0x1e/0x98
[ 170.924359] [<ffffffff802a1e6c>] sys_mount+0x89/0xcb
[ 170.935859] [<ffffffff8023ea8b>] sys_rt_sigprocmask+0x58/0xd7
[ 170.947361] [<ffffffff8020bece>] system_call+0x7e/0x83
[ 170.958877]
[ 170.970241]
[ 170.970241] Code: 48 8b 87 b8 00 00 00 48 8b 18 48 8b 83 e8 01 00 00 48 8b 80
[ 170.993080] RIP [<ffffffff803bf9b1>] lo_ioctl+0x21/0x94a
[ 171.004333] RSP <ffff8100047076d8>
[ 171.015387] CR2: 00000000000000b8
[ 171.029069] mount used greatest stack depth: 3304 bytes left
[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]
prev parent reply other threads:[~2007-08-01 16:14 UTC|newest]
Thread overview: 132+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-25 11:03 2.6.23-rc1-mm1 Andrew Morton
2007-07-25 12:25 ` 2.6.23-rc1-mm1 Cedric Le Goater
2007-07-25 17:23 ` 2.6.23-rc1-mm1 Len Brown
2007-07-25 18:58 ` 2.6.23-rc1-mm1 Andrew Morton
2007-07-25 19:13 ` 2.6.23-rc1-mm1 Torsten Kaiser
2007-07-25 20:22 ` 2.6.23-rc1-mm1 Torsten Kaiser
2007-07-25 20:36 ` 2.6.23-rc1-mm1 Andrew Morton
2007-07-25 21:52 ` 2.6.23-rc1-mm1 Torsten Kaiser
2007-07-26 7:25 ` 2.6.23-rc1-mm1 Andrew Morton
2007-07-26 17:54 ` 2.6.23-rc1-mm1 Torsten Kaiser
2007-07-28 14:03 ` 2.6.23-rc1-mm1 Torsten Kaiser
2007-07-25 23:26 ` 2.6.23-rc1-mm1 Len Brown
2007-07-26 9:41 ` 2.6.23-rc1-mm1 Mel Gorman
2007-07-26 13:53 ` 2.6.23-rc1-mm1 Cedric Le Goater
2007-07-25 12:40 ` 2.6.23-rc1-mm1 Cedric Le Goater
2007-07-25 20:05 ` 2.6.23-rc1-mm1 Andrew Morton
2007-07-25 12:55 ` 2.6.23-rc1-mm1 Cedric Le Goater
2007-07-25 13:48 ` 2.6.23-rc1-mm1: chipsfb_pci_suspend problem Rafael J. Wysocki
2007-07-25 20:22 ` Andrew Morton
2007-07-25 22:45 ` Pavel Machek
2007-07-25 13:36 ` [-mm patch] one e1000 driver should be enough for everyone Adrian Bunk
2007-07-25 13:48 ` Jeff Garzik
2007-07-25 14:46 ` Adrian Bunk
2007-07-25 15:05 ` Jeff Garzik
2007-07-25 15:21 ` Kok, Auke
2007-07-25 15:23 ` Jeff Garzik
2007-07-25 20:50 ` Andrew Morton
2007-07-25 16:32 ` 2.6.23-rc1-mm1 Michal Piotrowski
2007-07-25 21:56 ` 2.6.23-rc1-mm1 Andrew Morton
2007-07-25 16:36 ` 2.6.23-rc1-mm1 -- mostly fails to build Andy Whitcroft
2007-07-25 17:04 ` Sam Ravnborg
2007-07-25 18:06 ` 2.6.23-rc1-mm1: SCSI_SRP_ATTRS compile error Adrian Bunk
2007-07-26 10:49 ` FUJITA Tomonori
2007-07-25 22:41 ` 2.6.23-rc1-mm1 -- mostly fails to build Andy Whitcroft
2007-07-26 5:56 ` Andrew Morton
2007-07-26 17:53 ` Yinghai Lu
2007-07-25 18:15 ` 2.6.23-rc1-mm1: net/ipv4/fib_trie.c compile error Adrian Bunk
2007-07-25 18:22 ` 2.6.23-rc1-mm1: reiser4 <-> lzo " Adrian Bunk
2007-07-25 18:44 ` Edward Shishkin
2007-07-27 12:35 ` Edward Shishkin
2007-07-27 15:11 ` Richard Purdie
2007-07-25 18:48 ` 2.6.23-rc1-mm1 Michal Piotrowski
2007-07-25 18:53 ` 2.6.23-rc1-mm1 Sam Ravnborg
2007-07-25 19:18 ` 2.6.23-rc1-mm1 H. Peter Anvin
2007-07-25 19:21 ` 2.6.23-rc1-mm1 Sam Ravnborg
2007-07-25 20:58 ` 2.6.23-rc1-mm1 Gabriel C
2007-07-25 21:05 ` 2.6.23-rc1-mm1 Gabriel C
2007-07-25 21:11 ` 2.6.23-rc1-mm1 H. Peter Anvin
2007-07-25 21:13 ` 2.6.23-rc1-mm1 Gabriel C
2007-07-25 21:18 ` 2.6.23-rc1-mm1 H. Peter Anvin
2007-07-25 21:26 ` 2.6.23-rc1-mm1 Gabriel C
2007-07-26 0:07 ` 2.6.23-rc1-mm1 Greg KH
2007-07-26 0:28 ` 2.6.23-rc1-mm1 Andrew Morton
2007-07-26 1:55 ` 2.6.23-rc1-mm1 Dave Young
2007-07-26 2:23 ` 2.6.23-rc1-mm1 Andrew Morton
2007-07-26 20:18 ` 2.6.23-rc1-mm1 Dave Hansen
2007-07-25 20:42 ` 2.6.23-rc1-mm1 - drivers/char/nozomi.c overflow in implicit constant conversion , warnings Gabriel C
2007-07-26 5:42 ` Greg KH
2007-07-25 21:01 ` 2.6.23-rc1-mm1: m32r is_init() compile error Adrian Bunk
2007-07-25 21:42 ` sukadev
2007-07-25 21:17 ` 2.6.23-rc1-mm1: git-kgdb breaks sh compilation Adrian Bunk
2007-07-26 1:45 ` Paul Mundt
2007-07-25 22:03 ` 2.6.23-rc1-mm1 - seems OK on Dell Latitude D820, except for tpm_tis Valdis.Kletnieks
2007-07-26 3:37 ` Andrew Morton
2007-07-27 4:00 ` Valdis.Kletnieks
2007-07-27 13:28 ` Valdis.Kletnieks
2007-07-27 18:07 ` Andrew Morton
2007-07-27 19:44 ` Valdis.Kletnieks
2007-07-27 22:43 ` Bjorn Helgaas
2007-07-30 18:09 ` Bjorn Helgaas
2007-07-30 23:53 ` Valdis.Kletnieks
2007-07-31 18:48 ` Valdis.Kletnieks
2007-07-31 20:01 ` Bjorn Helgaas
2007-07-31 21:31 ` Valdis.Kletnieks
2007-07-31 23:05 ` Bjorn Helgaas
2007-07-26 5:26 ` [-mm patch] DMA engine kconfig improvements Adrian Bunk
2007-08-04 2:15 ` Dan Williams
2007-08-10 0:43 ` Adrian Bunk
2007-08-15 23:36 ` Nelson, Shannon
2007-07-26 12:11 ` [PATCH] sparsemem: ensure we initialise the node mapping for SPARSEMEM_STATIC Andy Whitcroft
2007-07-26 12:58 ` 2.6.23-rc1-mm1 sparsemem_vmemamp fix KAMEZAWA Hiroyuki
2007-07-26 14:39 ` Andy Whitcroft
2007-07-26 14:44 ` Andy Whitcroft
2007-07-27 13:28 ` [-mm patch] xtensa console.c: remove duplicate #include Frederik Deweerdt
2007-07-28 15:44 ` NETPOLL=y , NETDEVICES=n compile error ( Re: 2.6.23-rc1-mm1 ) Gabriel C
2007-07-28 17:26 ` Andrew Morton
2007-07-28 18:42 ` Gabriel C
2007-07-31 8:32 ` Jarek Poplawski
2007-07-31 10:14 ` Gabriel C
2007-07-31 11:44 ` Jason Wessel
2007-07-31 12:47 ` Jarek Poplawski
2007-07-31 12:17 ` Jarek Poplawski
2007-07-31 15:05 ` Gabriel C
2007-08-01 9:59 ` Jarek Poplawski
2007-08-02 2:02 ` Matt Mackall
2007-08-02 9:00 ` Jarek Poplawski
2007-08-02 15:59 ` Matt Mackall
2007-08-03 7:30 ` Jarek Poplawski
2007-08-02 9:36 ` Sam Ravnborg
2007-08-02 10:32 ` Satyam Sharma
2007-08-02 11:40 ` Satyam Sharma
2007-08-02 11:40 ` Jarek Poplawski
2007-08-02 11:56 ` Satyam Sharma
2007-08-02 12:52 ` Jarek Poplawski
2007-08-06 11:51 ` [PATCH] docs: note about select in kconfig-language.txt Jarek Poplawski
2007-07-28 16:36 ` DCA=n , INTEL_IOATDMA=y compile error ( Re: 2.6.23-rc1-mm1 ) Gabriel C
2007-07-28 16:47 ` sound/pci/ac97/ac97_patch.h - declared 'static' but never defined warnings " Gabriel C
2007-07-28 17:07 ` mm/sparse.c compile error " Gabriel C
2007-07-28 17:30 ` Andrew Morton
2007-07-30 12:16 ` Andy Whitcroft
2007-07-28 19:32 ` [PATCH -mm] Fix libata warnings with CONFIG_PM=n Gabriel C
2007-07-29 14:57 ` [-mm patch] make hugetlbfs_read() static Adrian Bunk
2007-07-29 14:57 ` [-mm patch] fs/ecryptfs/: make code static Adrian Bunk
2007-07-29 14:58 ` [-mm patch] make struct sdio_dev_attrs[] static Adrian Bunk
2007-07-29 19:29 ` Pierre Ossman
2007-07-29 14:58 ` [-mm patch] MTD onenand_sim.c: make struct info static Adrian Bunk
2007-07-29 14:58 ` [-mm patch] make scsi_host_link_pm_policy() static Adrian Bunk
2007-07-29 14:58 ` [-mm patch] USB: make dev_attr_authorized_default static Adrian Bunk
2007-07-31 19:13 ` Inaky Perez-Gonzalez
2007-07-29 14:59 ` [-mm patch] kernel/printk.c: make 2 variables static Adrian Bunk
2007-07-29 16:51 ` Randy Dunlap
2007-07-29 14:59 ` [-mm patch] export v4l2_int_device_{,un}register Adrian Bunk
2007-07-29 14:59 ` [-mm patch] kernel/pid.c: remove unused exports Adrian Bunk
2007-07-29 15:00 ` [-mm patch] security/ cleanups Adrian Bunk
2007-07-30 11:47 ` James Morris
2007-07-29 15:49 ` 2.6.23-rc1-mm1 Grant Wilson
2007-07-30 9:58 ` 2.6.23-rc1-mm1 Dave Young
2007-07-30 18:27 ` 2.6.23-rc1-mm1 Andrew Morton
2007-07-30 18:42 ` 2.6.23-rc1-mm1 Christoph Hellwig
2007-07-30 22:18 ` 2.6.23-rc1-mm1 Satyam Sharma
2007-07-31 1:21 ` 2.6.23-rc1-mm1 Dave Young
2007-08-01 15:24 ` Valdis.Kletnieks [this message]
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=31610.1185981898@turing-police.cc.vt.edu \
--to=valdis.kletnieks@vt.edu \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
/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®