[SRU] openafs-modules segfault after stop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openafs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Intrepid |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Impact: This bug causes kernel oopses and hangs at shutdown.
Development: The two deltas being incorporated have been committed to the upstream AFS tree, and have also been included in openafs 1.4.8.dfsg1-3, which was just synced into Jaunty.
Patch: Attached at http://
Steps to reproduce: Assuming that AFS isn't in use when you reboot, rebooting with a 1.4.7 or 1.4.8 client that doesn't include these patches should consistently trigger the bugs behind them.
Regression potential: For both of these deltas, the changes are limited to the shutdown code, i.e. the functionality that's affected by the bugs, so I find it unlikely that they'll make anything worse, and empirically they seem to fix the oopses and hangs.
was after openafs-client stop on server
ubuntu hardy
[ 99.016655] Starting AFS cache scan...found 45 non-empty cache files (2%).
[ 99.346761] NET: Registered protocol family 17
[ 101.010753] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 101.071133] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 101.403948] eth1: no IPv6 routers present
[ 102.199452] vlan11: no IPv6 routers present
[ 106.468767] tap0: no IPv6 routers present
[73434.848255] EXT3-fs: cannot change data mode on remount
[75198.320131] WARM shutting down of: CB... afs... BkG... CTrunc... AFSDB... RxEvent... UnmaskRxkSignals... RxListener...
[75198.833031] WARNING: not all blocks freed: large 1 small 4
[75198.833041] ALL allocated tables
[75219.895067] kjournald starting. Commit interval 120 seconds
[75219.915815] EXT3 FS on dm-3, internal journal
[75219.915823] EXT3-fs: mounted filesystem with writeback data mode.
[75253.358769] Found system call table at 0xc033a680 (pattern scan)
[75253.358773] Address 0xc033a680 is not writable.
[75253.358774] System call hooks will not be installed; proceeding anyway
[75253.398880] Starting AFS cache scan...found 347 non-empty cache files (22%).
[76028.437373] AFS isn't unmounted yet! Call aborted
[76034.981943] AFS isn't unmounted yet! Call aborted
[76056.414781] AFS isn't unmounted yet! Call aborted
[76100.504630] COLD shutting down of: CB... afs... BkG... CTrunc... AFSDB... RxEvent... UnmaskRxkSignals... RxListener...
[76101.000366] osi_linux_free: failed to remove chunk from hashtable
(repeated about 300 times)
[76101.000952] BUG: unable to handle kernel paging request at virtual address f8f5a020
[76101.001039] printing eip: f8e09364 *pdpt = 0000000000004001 *pde = 0000000035836067 *pte = 0000000000000000
[76101.001140] Oops: 0000 [#1] SMP
[76101.001186] Modules linked in: openafs(P) ipt_REDIRECT ipt_REJECT xt_limit xt_state xt_tcpudp iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack iptable_mangle iptable_filter ip_tables x_tables af_packet nfsd auth_rpcgss exportfs tun container battery ac video output sbs sbshc dock nfs lockd nfs_acl sunrpc 8021q tcp_bic parport_pc lp parport loop ipv6 usbhid hid iTCO_wdt iTCO_vendor_support button shpchp pci_hotplug evdev pcspkr ext3 jbd mbcache ata_generic sg sd_mod ata_piix pata_acpi libata ehci_hcd uhci_hcd usbcore tg3 mptsas mptscsih mptbase scsi_transport_sas scsi_mod dm_mirror dm_snapshot dm_mod thermal processor fan fbcon tileblit font bitblit softcursor fuse
[76101.001836]
[76101.001872] Pid: 17524, comm: umount Tainted: P (2.6.24-23-server #1)
[76101.001926] EIP: 0060:[<f8e09364>] EFLAGS: 00010282 CPU: 0
[76101.001997] EIP is at shutdown_
[76101.002045] EAX: f8f5a01c EBX: f8f5a01c ECX: f8a0a0b0 EDX: f8a0a218
[76101.002096] ESI: 00000400 EDI: f8e6f080 EBP: df9fce00 ESP: d686bee8
[76101.002147] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[76101.002195] Process umount (pid: 17524, ti=d686a000 task=c249f140 task.ti=d686a000)
[76101.002250] Stack: df9fce00 f8e67380 f8dff329 d69db400 f8e43cc4 f8e3e706 df9fce00 f8e67380
[76101.002355] d69db400 df9fce00 c019c3e5 c01b088b 00000000 00000017 f8e67360 c019c4a9
[76101.002461] df9fce00 c019c55d 00000000 d686bf40 c01b0d36 00000000 ecc11908 d69db400
[76101.002567] Call Trace:
[76101.002637] [<f8dff329>] shutdown_
[76101.002702] [<f8e43cc4>] afs_shutdown+
[76101.002769] [<f8e3e706>] afs_put_
[76101.002836] [<c019c3e5>] generic_
[76101.002888] [<c01b088b>] mntput_
[76101.002938] [<c019c4a9>] kill_anon_
[76101.002987] [<c019c55d>] deactivate_
[76101.003036] [<c01b0d36>] sys_umount+
[76101.003086] [<c019e08f>] sys_stat64+0xf/0x30
[76101.003133] [<c0185fd9>] remove_
[76101.003181] [<c0186b70>] do_munmap+
[76101.003232] [<c01b0f57>] sys_oldumount+
[76101.003280] [<c010838a>] sysenter_
[76101.003332] [<c0330000>] rt_mutex_
[76101.003384] =======
[76101.003426] Code: fe ff 8b 9b 54 01 00 00 85 db 75 ab c7 04 b5 a0 ff e6 f8 00 00 00 00 83 c6 01 81 fe 00 04 00 00 75 88 a1 00 30 e7 f8 85 c0 74 13 <8b> 58 04 ba d0 20 00 00 e8 5f 85 ff ff 85 db 89 d8 75 ed b8 bc
[76101.003770] EIP: [<f8e09364>] shutdown_
[76101.004203] ---[ end trace 965514c177c6dca1 ]---
[76101.004292] WARNING: at /build/
[76101.004416] Pid: 17524, comm: umount Tainted: P D 2.6.24-23-server #1
[76101.004514] [<c013552b>] do_exit+0x6eb/0x860
[76101.004652] [<c013242b>] printk+0x1b/0x20
[76101.004788] [<c01099f7>] die+0x277/0x280
[76101.004924] [<c03327ae>] do_page_
[76101.005066] [<c03322b0>] do_page_
[76101.005202] [<c0330aaa>] error_code+
[76101.005339] [<f8e09364>] shutdown_
[76101.005496] [<f8dff329>] shutdown_
[76101.005649] [<f8e43cc4>] afs_shutdown+
[76101.005805] [<f8e3e706>] afs_put_
[76101.005963] [<c019c3e5>] generic_
[76101.006102] [<c01b088b>] mntput_
[76101.006240] [<c019c4a9>] kill_anon_
[76101.006376] [<c019c55d>] deactivate_
[76101.006514] [<c01b0d36>] sys_umount+
[76101.006652] [<c019e08f>] sys_stat64+0xf/0x30
[76101.006788] [<c0185fd9>] remove_
[76101.006924] [<c0186b70>] do_munmap+
[76101.007062] [<c01b0f57>] sys_oldumount+
[76101.007198] [<c010838a>] sysenter_
[76101.007337] [<c0330000>] rt_mutex_
[76101.007477] =======
description: | updated |
description: | updated |
Changed in openafs (Ubuntu Intrepid): | |
status: | New → Confirmed |
Changed in openafs (Ubuntu): | |
status: | Confirmed → Fix Released |
Launchpad Bug Tracker <email address hidden> writes:
> was after openafs-client stop on server
> ubuntu hardy
I assume you grabbed the 1.4.8 source package from a later version and
rebuilt it on hardy?
Could you attach to the bug your openafs.ko kernel module? That should
help us track down which data structure is hosed and causing the oops.
-- www.eyrie. org/~eagle/>
Russ Allbery (<email address hidden>) <http://