[quantal] overlayfs over r/o NFS mount triggers OOPS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Andy Whitcroft | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Scenario: booting from a read-only nfsroot share by using a tmpfs overlay
This is used e.g. by the fai package, which uses the live-boot package to create such an initramfs.
Test Case:
modprobe overlayfs
mkdir /tmp/live /tmp/root
mount -t nfs -o ro 192.168.
mount -t overlayfs -o noatime,
# the mount command succeeds! - However using the mount point breaks:
# find /tmp/root
/tmp/root
Killed
Dmesg shows this kernel trace:
Aug 17 14:58:04 faui49i kernel: [ 1071.305101] BUG: unable to handle kernel NULL pointer dereference at 0000000000000038
Aug 17 14:58:04 faui49i kernel: [ 1071.306733] IP: [<ffffffffa01a2
Aug 17 14:58:04 faui49i kernel: [ 1071.308449] PGD c5697067 PUD c570c067 PMD 0
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] Oops: 0000 [#1] SMP
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] CPU 1
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] Modules linked in: overlayfs autofs4 bnep rfcomm bluetooth lp snd_hda_codec_hdmi snd_hda_
Aug 17 14:58:04 faui49i kernel: [ 1071.309061]
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] Pid: 3543, comm: find Not tainted 3.5.0-10-generic #10-Ubuntu FUJITSU ESPRIMO P7935 /D2812-A2
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] RIP: 0010:[<
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] RSP: 0018:ffff8800c5
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] RAX: ffffffffa01cf580 RBX: ffff8800c5dc4b40 RCX: 0000000000000020
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] RDX: ffff8800c5dc4038 RSI: 0000000000000000 RDI: ffff8800c5dc4b40
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] RBP: ffff8800c5773b88 R08: 656c6f006576696c R09: 0000000000000000
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] R10: ffff8800c5dc4b40 R11: ffffffffa01b5aa0 R12: ffff8800cb6cc600
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] R13: ffff8800c5773bd8 R14: 0000000000000000 R15: 0000000000000000
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] FS: 00007f42c1f2d70
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] CR2: 0000000000000038 CR3: 00000000cb26b000 CR4: 00000000000407e0
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] Process find (pid: 3543, threadinfo ffff8800c5772000, task ffff8800cb340000)
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] Stack:
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] 0000000000000000 0000000000000000 ffff8800c5773b88 ffff8800c5dc4b40
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] ffff8800cb6cc600 ffff8800c5773bd8 0000000000000000 0000000000000000
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] ffff8800c5773bc8 ffffffff8118c79c 0000000000000000 ffff8800c5dc403c
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] Call Trace:
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff8118c
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff8118d
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffffa0498
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff81680
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff8118c
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff8118e
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff81676
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff81190
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffffa01a2
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff8116d
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff81190
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff8118c
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff81191
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff811a0
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff811a0
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff8116e
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff81191
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff81186
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff811a0
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff81183
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff81186
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff8117f
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff8117f
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] [<ffffffff81688
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] Code: ff ff 0f 1f 84 00 00 00 00 00 55 48 89 e5 48 83 ec 40 48 89 5d d8 4c 89 65 e0 4c 89 6d e8 4c 89 75 f0 4c 89 7d f8 66 66 66 66 90 <f6> 46 38 40 b8 f6 ff ff ff 49 89 fd 49 89 f7 0f 85 c4 00 00 00
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] RIP [<ffffffffa01a2
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] RSP <ffff8800c5773b48>
Aug 17 14:58:04 faui49i kernel: [ 1071.309061] CR2: 0000000000000038
Aug 17 14:58:04 faui49i kernel: [ 1071.524837] ---[ end trace ec832cdfc17d33d8 ]---
---
ApportVersion: 2.4-0ubuntu6
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
CurrentDmesg:
Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
dmesg: write failed: Broken pipe
DistroRelease: Ubuntu 12.10
IwConfig:
eth0 no wireless extensions.
lo no wireless extensions.
MachineType: FUJITSU ESPRIMO P7935
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: root=UUID=
ProcVersionSign
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RfKill:
Tags: quantal
Uname: Linux 3.5.0-10-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: netgrp netgrp sbuild
WifiSyslog:
dmi.bios.date: 01/12/2010
dmi.bios.vendor: FUJITSU // Phoenix Technologies Ltd.
dmi.bios.version: 6.00 R1.20.2812.A2
dmi.board.name: D2812-A2
dmi.board.vendor: FUJITSU
dmi.board.version: S26361-D2812-A2
dmi.chassis.type: 6
dmi.chassis.vendor: FUJITSU
dmi.modalias: dmi:bvnFUJITSU/
dmi.product.name: ESPRIMO P7935
dmi.sys.vendor: FUJITSU
summary: |
- [Overlayfs] kernel OOPS with NFS + [quantal] overlayfs over r/o NFS mount triggers OOPS |
Changed in linux (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Andy Whitcroft (apw) |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
apport information