Crash with 512 byte blocks on 4K media

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A FAT mount of 512 byte block fs on 4K media now crashes. It used to just
error. This is of course doubly fun if you've got your own USB key
firmware and an automounting distribution 8-)


# mount /dev/sdb /mnt2
[  419.050667] FAT-fs (sdb): logical sector size too small for device
(logical s
ector size = 512)
[  419.051938] BUG: unable to handle kernel NULL pointer dereference at
00000054
[  419.053040] IP: [<c10b63e0>] mount_fs+0x20/0xb0
[  419.053743] *pde = 00000000 
[  419.054207] Oops: 0000 [#1] 
[  419.054671] Modules linked in:
[  419.055160] CPU: 0 PID: 52 Comm: mount Tainted: G          I
3.15.0-rc5-nex
t-20140513+ #58
[  419.056400] task: f6b403f0 ti: f6858000 task.ti: f6858000
[  419.057202] EIP: 0060:[<c10b63e0>] EFLAGS: 00010207 CPU: 0
[  419.058017] EIP is at mount_fs+0x20/0xb0
[  419.058606] EAX: 00000000 EBX: f6b183c0 ECX: 000008e6 EDX: 000008e5
[  419.059534] ESI: 00000000 EDI: c14e80b8 EBP: f6859f14 ESP: f6859ef0
[  419.060461]  DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[  419.061263] CR0: 8005003b CR2: 00000054 CR3: 34ecb000 CR4: 00240790
[  419.062190] Stack:
[  419.062504]  00000000 f6b183c0 f6b1844c f6b3a010 f6859f14 c10cb893
f6b183c0 c
14e80b8
[  419.063845]  f6b3a010 f6859f30 c10cba01 00000000 00008000 c14e2540
00000020 c
14e80b8
[  419.065186]  f6859f78 c10ce174 00000000 00008000 c14e80b8 00008000
f6ae8608 f
6b3a010
[  419.066526] Call Trace:
[  419.066904]  [<c10cb893>] ? alloc_vfsmnt+0x83/0x140
[  419.067632]  [<c10cba01>] vfs_kern_mount+0x41/0xe0
[  419.068347]  [<c10ce174>] do_mount+0x1b4/0x8d0
[  419.069013]  [<c1095641>] ? strndup_user+0x31/0xc0
[  419.069728]  [<c10ceb43>] SyS_mount+0x83/0xd0
[  419.070381]  [<c1399ed0>] syscall_call+0x7/0xb
[  419.071046] Code: 01 00 00 00 e8 32 b9 f8 ff 5d c3 55 89 e5 57 89 c7
56 53 8d
 64 24 e8 8b 45 08 89 04 24 8d 07 ff 57 08 3d 00 f0 ff ff 89 c6 77 2e
<8b> 58 54
 85 db 74 32 8b 43 6c 85 c0 74 6a 3d 40 58 4e c1 74 52
[  419.075409] EIP: [<c10b63e0>] mount_fs+0x20/0xb0 SS:ESP 0068:f6859ef0
[  419.076412] CR2: 0000000000000054
[  419.076914] ---[ end trace 6c9f8a78f9e34c70 ]---
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux