From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Sandeen Subject: Re: Upgraded from 3.4 to 3.5.1 kernel: machine does not boot Date: Sun, 12 Aug 2012 08:10:34 -0500 Message-ID: <5027AB4A.6010200@sandeen.net> References: <0bac01cd7717$9fa6bbf0$def433d0$@lucidpixels.com> <0de101cd774c$fb2afa10$f180ee30$@lucidpixels.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Jesper Juhl , linux-kernel@vger.kernel.org, ap@solarrain.com, linux-ext4@vger.kernel.org To: Justin Piszcz Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-ext4.vger.kernel.org On 8/10/12 11:14 PM, Justin Piszcz wrote: > On Fri, Aug 10, 2012 at 7:07 PM, Justin Piszcz >> >> Hi, >> >> Found the root cause, the 3.5.1 kernel cannot mount my ext4 filesystem >> (60TB). You are a brave man running ext4 at 60T, but thank you for testing :) Backing out 8aeb00ff85ad25453765dd339b408c0087db1527 from 3.5.1 (952fc18ef9ec707ebdc16c0786ec360295e5ff15 upstream) probably helps? >>From a quick look, I think that essentially has a : for (i = 0; i < ngroups; i++) { for (j = 0; j < ngroups; j++) { } } type nested loop going on; for a filesystem this big it's going to take almost literally forever, if I read it right. -Eric >> The 3.4 kernel works fine. >> >> This is proven by commenting out the filesystem in /etc/fstab with >> 3.5.1, and all is OK. >> >> -- >> >> Hi again, >> >> I tested with linux-3.6-rc1: >> >> The same problem, here is what I get from the strace: >> >> irectory) >> 4434 readlink("/dev", 0x7fff3b05c670, 4096) = -1 EINVAL (Invalid argument) >> 4434 readlink("/dev/sda1", 0x7fff3b05c670, 4096) = -1 EINVAL (Invalid >> argument) >> 4434 readlink("/r1", 0x7fff3b05c670, 4096) = -1 EINVAL (Invalid argument) >> 4434 getuid() = 0 >> 4434 geteuid() = 0 >> 4434 getgid() = 0 >> 4434 getegid() = 0 >> 4434 prctl(PR_GET_DUMPABLE) = 1 >> 4434 lstat("/etc/mtab", {st_mode=S_IFLNK|0777, st_size=12, ...}) = 0 >> 4434 getuid() = 0 >> 4434 geteuid() = 0 >> 4434 getgid() = 0 >> 4434 getegid() = 0 >> 4434 prctl(PR_GET_DUMPABLE) = 1 >> 4434 stat("/run", {st_mode=S_IFDIR|0755, st_size=820, ...}) = 0 >> 4434 lstat("/run/mount/utab", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 >> 4434 open("/run/mount/utab", O_RDWR|O_CREAT, 0644) = 3 >> 4434 close(3) = 0 >> 4434 mount("/dev/sda1", "/r1", "ext4", MS_MGC_VAL|MS_NOATIME, NULL >> >> -- >> >> (w/ 3.6-rc1) >> >> [ 89.868843] mount R running task 0 4434 4433 >> 0x00000009 >> [ 89.868847] ffff880c246b7b68 ffffffff816c9279 ffff880c246b7aa8 >> ffff880c246b7fd8 >> [ 89.868851] ffff880c246b7fd8 0000000000004000 ffff88062720cdb0 >> ffff880c246862d0 >> [ 89.868855] 00000000000116c0 ffff880623a863c0 ffff880623a863c0 >> 00000000ffffffff >> [ 89.868855] Call Trace: >> [ 89.868858] [] ? __schedule+0x299/0x770 >> [ 89.868860] [] ? __schedule+0x299/0x770 >> [ 89.868864] [] ? ext4_get_group_desc+0x49/0xb0 >> [ 89.868868] [] ? ext4_calculate_overhead+0x131/0x3e0 >> [ 89.868871] [] ? ext4_fill_super+0x1a4b/0x28d0 >> [ 89.868875] [] ? mount_bdev+0x1a1/0x1e0 >> [ 89.868877] [] ? ext4_calculate_overhead+0x3e0/0x3e0 >> [ 89.868880] [] ? ext4_mount+0x10/0x20 >> [ 89.868882] [] ? mount_fs+0x1b/0xd0 >> [ 89.868885] [] ? vfs_kern_mount+0x6f/0x110 >> [ 89.868888] [] ? do_kern_mount+0x4f/0x100 >> [ 89.868890] [] ? do_mount+0x2fe/0x8a0 >> [ 89.868894] [] ? strndup_user+0x53/0x70 >> [ 89.868896] [] ? sys_mount+0x90/0xe0 >> [ 89.868899] [] ? tracesys+0xd4/0xd9 >> >> Justin. >> >> >> > > CC: linux-ext4 > > Any ideas here (kernel 3.4 and below can mount 60TB ext4 no issues) > but > 3.5.1 (did not try 3.5) cannot mount the filesystem. > > Justin. > > Justin. > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ >