You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you can't kill something it's likely not a user space problem.
but just to be sure I installed the old image and reproduced the problem after updating the kernel but no packages;
I don't have a backup of the intermediate kernel that had XTS support but no mount problems, but I'll try checking out a few different commits from git to see if I can find out which one was the regression.
Thanks for investigating.
Unfortunately if it is the change to 3.2.27, it is not a Raspberry Pi specific change, and is may be an upstream bug.
Might be worth searching for any reports of this problem on other platforms.
Yes it's likely upstream, As pointed out in the link of the first post there are similar but not identical mount problems in other distributions. maybe we should use a more stable branch for the official build?
Activity
popcornmix commentedon Sep 23, 2012
I think you will need to provide more evidence that this is a linux kernel bug.
Is the encrypted filesystem on sdcard or USB disk or something else?
Dmole commentedon Sep 24, 2012
If you can't kill something it's likely not a user space problem.
but just to be sure I installed the old image and reproduced the problem after updating the kernel but no packages;
dd bs=1m if=2012-08-16-wheezy-raspbian.img of=/dev/rdisk3
#booted, resized root, rebooted
apt-get install git lvm2 cryptsetup
wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update;
chmod +x /usr/bin/rpi-update; rpi-update 240;
shutdown now -r;
vgimport vg_right
vgchange -ay vg_right
cryptsetup luksOpen /dev/vg_right/lv_right crypt_right
mount /dev/mapper/crypt_right /media/right
nasty hang where before there was non.
I don't have a backup of the intermediate kernel that had XTS support but no mount problems, but I'll try checking out a few different commits from git to see if I can find out which one was the regression.
Dmole commentedon Sep 24, 2012
using git clone https://github.com/Hexxeh/rpi-firmware.git
I have narrowed down where the regression is/was:
Current HEAD fails (mount hangs) (kernel.img md5sum 81282fe2ad1d3fb1ac967f37a08ede74)
commit fa03a4070e42ba7d0c632debbe87bdd809ff9e2a
Date: Sat Sep 1 01:04:11 2012 +0100
...9 commits...
fails (kernel.img md5sum 832534b281dd72cf5ed89d0feef78865)
commit 424079987166d37652236988f691bbe00f58ba6f
Date: Sun Aug 19 12:48:04 2012 +0100
won't boot (kernel.img md5sum aa4de6903ce9c5a9489ffe2fff2c5706) (Rebase to kernel 3.2.27)
commit 0ef3d91e613a3d8db5debbd7eb8105071bfcb9be
Date: Sat Aug 18 15:30:25 2012 +0100
won't boot (kernel.img md5sum 2c3ace3249aabc90d5dae39332bd269b)
commit 800d33e6f1284d8ef4f255c35017b32e5a118bda
Date: Fri Aug 17 23:55:17 2012 +0100
WORKS (kernel.img md5sum 2c3ace3249aabc90d5dae39332bd269b)
commit 8c628900aabe4a15743d8a11cb6169ad0bf1918e
Date: Fri Aug 17 18:29:51 2012 +0100
WORKS First kernel i can test with (XTS support)
commit 8ddf43766192b3c7549262b376bb4d840a610ff7
Date: Wed Aug 15 21:25:43 2012 +0100
so kernel 3.2.27 is likely the culprit
popcornmix commentedon Sep 25, 2012
Thanks for investigating.
Unfortunately if it is the change to 3.2.27, it is not a Raspberry Pi specific change, and is may be an upstream bug.
Might be worth searching for any reports of this problem on other platforms.
Dmole commentedon Sep 25, 2012
Yes it's likely upstream, As pointed out in the link of the first post there are similar but not identical mount problems in other distributions. maybe we should use a more stable branch for the official build?
Also this repo is not listed as down stream of anything on github, so should I assume it's re-basing off https://github.com/torvalds/linux ?
Any pointers on where to look for the problem code?
fs, proc: fix ABBA deadlock in case of execution attempt of map_files…
Dmole commentedon Jun 7, 2013
This is now fixed ( tested in kernel 3.6.11 )
um: Silence lockdep complaint about mmap_sem
um: Silence lockdep complaint about mmap_sem
Merge pull request raspberrypi#121 from ThinkerYzu/maybe_null
pktgen: Avoid out-of-bounds access in get_imix_entries
pktgen: Avoid out-of-bounds access in get_imix_entries
pktgen: Avoid out-of-bounds access in get_imix_entries
powerpc/highmem: Properly handle fragmented memory
LoongArch: BPF: Support 64-bit pointers to kfuncs
MIPS: DEC: Prevent initial console buffer from landing in XKPHYS
MIPS: DEC: Prevent initial console buffer from landing in XKPHYS
MIPS: DEC: Prevent initial console buffer from landing in XKPHYS
MIPS: DEC: Prevent initial console buffer from landing in XKPHYS