mount, infinite loop

Bug #1054768 reported by elatllat on 2012-09-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Raspbian
Undecided
Unassigned

Bug Description

This worked until I upgraded via reinstall :
raspberrypi> mount /dev/mapper/crypt_right /media/right

now mount uses all the CPU, never exits, and can't be killed; from another screen:
 2420 root 20 0 4244 1036 860 R 98.3 0.5 5:48.75 mount
kill -9 2420

nothing is added to dmesg.
even IF there is a bug in dm_crypt or someplace mount should not fall into a tight loop with no error messages.

elatllat (elatllat) wrote :

related:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685143

Same results with -t auto and -t ext4 :(

cat /proc/2422/stack
[<c037cd90>] svc_preempt+0x8/0x18
[<c01389ac>] ext4_calculate_overhead+0xf4/0x4fc
[<c013a488>] ext4_fill_super+0x16d4/0x27d4
[<c00bb294>] mount_bdev+0x1a8/0x1e4
[<c0134300>] ext4_mount+0x14/0x20
[<c00bbdf4>] mount_fs+0x14/0xd0
[<c00d3ba0>] vfs_kern_mount+0x4c/0x8c
[<c00d3c14>] do_kern_mount+0x34/0xd0
[<c00d5a48>] do_mount+0x114/0x700
[<c00d62f8>] sys_mount+0x84/0xc4
[<c000d980>] ret_fast_syscall+0x0/0x30
[<ffffffff>] 0xffffffff

elatllat (elatllat) wrote :

raspberrypi> cat /etc/issue
Debian GNU/Linux wheezy/sid \n \l

raspberrypi> uname -a
Linux raspbnas 3.2.27+ #160 PREEMPT Mon Sep 17 23:18:42 BST 2012 armv6l GNU/Linux

elatllat (elatllat) wrote :

Found the binary commit where the regression starts;
https://github.com/raspberrypi/linux/issues/121
Still need to find the commit in the code that was re-based from.

elatllat (elatllat) wrote :

This is now fixed ( tested in kernel 3.6.11 )

Changed in raspbian:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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