kernel BUG at /build/buildd/linux-2.6.34/ubuntu/aufs/f_op.c:84!

Bug #585175 reported by Kees Cook
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

Trivial use of aufs doesn't crash, but trying to start up an aufs directory from schroot fails, and then the umount cannot even clean it up. During set up, it's /etc/schroot/setup.d/22nssdatabases that finally triggers the issue.

[ 344.702921] kernel BUG at /build/buildd/linux-2.6.34/ubuntu/aufs/f_op.c:84!
[ 344.702924] invalid opcode: 0000 [#1] SMP
[ 344.702928] last sysfs file: /sys/devices/virtual/block/dm-1/queue/hw_sector_size
[ 344.702932] CPU 1
[ 344.702933] Modules linked in: binfmt_misc ppdev ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables kvm_intel kvm aufs 8021q garp autofs4 sha256_generic cryptd aes_x86_64 aes_generic dm_crypt rpcsec_gss_krb5 nfsd exportfs nfs lockd nfs_acl auth_rpcgss sunrpc snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi bridge snd_seq_midi_event psmouse snd_seq stp snd_timer snd_seq_device cdc_acm snd soundcore snd_page_alloc tpm_tis tpm tpm_bios serio_raw lp parport joydev raid10 raid456 async_pq async_xor xor async_memcpy async_raid6_recov raid6_pq async_tx raid0 multipath linear raid1 fbcon tileblit font bitblit softcursor vga16fb vgastate hid_microsoft usbhid hid i915 ohci1394 drm_kms_helper pata_marvell ahci drm i2c_algo_bit video output e1000e ieee1394 intel_agp
[ 344.703016]
[ 344.703020] Pid: 4198, comm: 20nssdatabases Not tainted 2.6.34-3-generic #10-Ubuntu DQ35JO/
[ 344.703023] RIP: 0010:[<ffffffffa0435a72>] [<ffffffffa0435a72>] do_open_nondir+0xd2/0xe0 [aufs]
[ 344.703037] RSP: 0018:ffff8801e65efbe8 EFLAGS: 00010206
[ 344.703040] RAX: 00000000ffffffe2 RBX: ffff88019e2de240 RCX: ffff8801f5fabc00
[ 344.703043] RDX: ffff8801b1ef4a88 RSI: 0000000000000001 RDI: ffff8801f8aebc00
[ 344.703046] RBP: ffff8801e65efc18 R08: 0000000000000000 R09: ffff8801eeddec80
[ 344.703049] R10: 0000000000000000 R11: 00000000ffffffff R12: ffff8801e6ee9780
[ 344.703052] R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000008241
[ 344.703056] FS: 00007f28d293b700(0000) GS:ffff880001e80000(0000) knlGS:0000000000000000
[ 344.703059] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 344.703062] CR2: 000000000061901a CR3: 00000001ed966000 CR4: 00000000000006e0
[ 344.703065] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 344.703068] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 344.703072] Process 20nssdatabases (pid: 4198, threadinfo ffff8801e65ee000, task ffff8801eb8c5c00)
[ 344.703074] Stack:
[ 344.703076] ffff8801e65efc18 ffff88019e2de240 ffff88019e2de268 ffff8801f8aebc00
[ 344.703081] <0> ffff8801e6ee9780 0000000000008241 ffff8801e65efc98 ffffffffa0434d1c
[ 344.703086] <0> ffffffffa04359a0 ffff8801b1ef4a88 ffff8801e65efcd8 ffffffffa043bbee
[ 344.703092] Call Trace:
[ 344.703104] [<ffffffffa0434d1c>] au_do_open+0xec/0x140 [aufs]
[ 344.703115] [<ffffffffa04359a0>] ? do_open_nondir+0x0/0xe0 [aufs]
[ 344.703126] [<ffffffffa043bbee>] ? aufs_permission+0x1be/0x2d0 [aufs]
[ 344.703132] [<ffffffff81156ed6>] ? d_splice_alias+0xb6/0x100
[ 344.703142] [<ffffffffa0435980>] ? aufs_open_nondir+0x0/0x20 [aufs]
[ 344.703153] [<ffffffffa0435998>] aufs_open_nondir+0x18/0x20 [aufs]
[ 344.703158] [<ffffffff8113fd5f>] __dentry_open+0xef/0x330
[ 344.703164] [<ffffffff8124f42f>] ? security_inode_permission+0x1f/0x30
[ 344.703168] [<ffffffff811400b4>] nameidata_to_filp+0x54/0x70
[ 344.703173] [<ffffffff8114cf08>] finish_open+0xe8/0x1d0
[ 344.703177] [<ffffffff81155cbf>] ? dput+0xdf/0x1b0
[ 344.703181] [<ffffffff8114e47c>] do_last+0x19c/0x460
[ 344.703185] [<ffffffff8115069b>] do_filp_open+0x21b/0x660
[ 344.703189] [<ffffffff81141eba>] ? do_sync_read+0xda/0x120
[ 344.703194] [<ffffffff81110289>] ? do_wp_page+0x369/0x900
[ 344.703200] [<ffffffff8155a25e>] ? _raw_spin_lock+0xe/0x20
[ 344.703204] [<ffffffff8115be4a>] ? alloc_fd+0x10a/0x150
[ 344.703208] [<ffffffff8113faf9>] do_sys_open+0x69/0x170
[ 344.703212] [<ffffffff8113fc40>] sys_open+0x20/0x30
[ 344.703218] [<ffffffff8100a132>] system_call_fastpath+0x16/0x1b
[ 344.703220] Code: ff ff 48 89 df e8 3f ec ff ff 31 c0 48 8b 5d d8 4c 8b 65 e0 4c 8b 6d e8 4c 8b 75 f0 4c 8b 7d f8 c9 c3 41 f7 c7 00 02 00 00 74 9a <0f> 0b eb fe 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 48 83 ec
[ 344.703264] RIP [<ffffffffa0435a72>] do_open_nondir+0xd2/0xe0 [aufs]
[ 344.703275] RSP <ffff8801e65efbe8>

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.34-3-generic 2.6.34-3.10
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.34-3.10-generic 2.6.34
Uname: Linux 2.6.34-3-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.22.1.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: kees 3703 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xe0420000 irq 32'
   Mixer name : 'Realtek ALC268'
   Components : 'HDA:10ec0268,80860000,00100003'
   Controls : 17
   Simple ctrls : 11
Date: Mon May 24 16:22:00 2010
HibernationDevice: RESUME=/dev/md1
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.34-3-generic root=/dev/mapper/systemvg-root2lv ro quiet splash
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34
RfKill:

SourcePackage: linux
WpaSupplicantLog:

dmi.bios.date: 09/22/2008
dmi.bios.vendor: Intel Corp.
dmi.bios.version: JOQ3510J.86A.0954.2008.0922.2331
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: DQ35JO
dmi.board.vendor: Intel Corporation
dmi.board.version: AAD82085-800
dmi.chassis.type: 3
dmi.modalias: dmi:bvnIntelCorp.:bvrJOQ3510J.86A.0954.2008.0922.2331:bd09/22/2008:svn:pn:pvr:rvnIntelCorporation:rnDQ35JO:rvrAAD82085-800:cvn:ct3:cvr:

Revision history for this message
Kees Cook (kees) wrote :
Changed in linux (Ubuntu):
status: New → Triaged
tags: added: kernel-core kernel-needs-review
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Kees,

This looks like a duplicate of bug 587888 which is buggering up the Maverick desktop CD's from booting. For now I'm going to mark this a duplicate of bug 587888. However, as you're able to reproduce at the moment, we might need your assistance with testing. We'll post any requests to the master bug 587888. Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.