Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PANIC: zfs: allocating allocated segment #5504

Closed
alinefr opened this issue Dec 20, 2016 · 1 comment
Closed

PANIC: zfs: allocating allocated segment #5504

alinefr opened this issue Dec 20, 2016 · 1 comment
Labels
Status: Inactive Not being actively updated Type: Defect Incorrect behavior (e.g. crash, hang)

Comments

@alinefr
Copy link

alinefr commented Dec 20, 2016

System information

Type Version/Name
Distribution Name Gentoo/sysresccd
Distribution Version
Linux Kernel 4.4.26
Architecture amd64
ZFS Version 0.6.5.7/0.6.5.8/0.7.0-rc2_94_ga3823f4
SPL Version 0.6.5,7/0.6.5.8/0.7.0-rc2_8_g8e99d66

Describe the problem you're observing

It's a luks encrypted zfs root filesystem. The only thing I remember doing was updating zfs tools to 0.6.5.8 but I'm still not sure if it's related. I could not boot anymore, system PANICs right in "zpool import".

I did try to "zpool import" the disk from an sysresccd 0.6.5.7. Then from sysresccd 0.6.5.8. My last attempt was to "zpool import" from another Gentoo system by usb attaching it, but here I've built zfs module from git tree.

Describe how to reproduce the problem

zpool import -R /mnt tank

Include any warning/errors/backtraces from the system logs

[    3.077303] SPL: Loaded module v0.7.0-rc2_8_g8e99d66

[    5.043842] ZFS: Loaded module v0.7.0-rc2_94_ga3823f4, ZFS pool version 5000, ZFS filesystem version 5

[   70.092145] usb 1-1: new high-speed USB device number 5 using xhci_hcd
[   70.257017] usb 1-1: New USB device found, idVendor=14cd, idProduct=6116
[   70.257019] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[   70.257021] usb 1-1: Product: USB Mass Storage Device
[   70.257022] usb 1-1: Manufacturer: Generic     
[   70.257023] usb 1-1: SerialNumber: 116AC2101219
[   70.257504] usb-storage 1-1:1.0: USB Mass Storage device detected
[   70.257585] scsi host4: usb-storage 1-1:1.0
[   71.258649] scsi 4:0:0:0: Direct-Access        Mass  Storage Device        PQ: 0 ANSI: 0
[   71.259095] sd 4:0:0:0: Attached scsi generic sg2 type 0
[   71.259247] sd 4:0:0:0: [sdb] 1953525166 512-byte logical blocks: (1.00 TB/932 GiB)
[   71.259366] sd 4:0:0:0: [sdb] Write Protect is off
[   71.259368] sd 4:0:0:0: [sdb] Mode Sense: 03 00 00 00
[   71.259486] sd 4:0:0:0: [sdb] No Caching mode page found
[   71.259487] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[   71.294522] Alternate GPT is invalid, using primary GPT.
[   71.294531]  sdb: sdb1 sdb2
[   71.295239] sd 4:0:0:0: [sdb] Attached SCSI disk
[  292.837721] SPL: using hostid 0x00000000
[ 1169.722971] PANIC: zfs: allocating allocated segment(offset=919145377792 size=4096)

[ 1169.722973] Showing stack for process 5620
[ 1169.722976] CPU: 0 PID: 5620 Comm: z_wr_iss Tainted: P           O    4.4.26-gentoo #14
[ 1169.722977] Hardware name: Dell Inc. Inspiron 5458/0R392V, BIOS A11 07/12/2016
[ 1169.722979]  0000000000000000 ffff880010047978 ffffffff8130821d 0000000000000003
[ 1169.722981]  0000000000001000 ffff880010047988 ffffffffa07312c2 ffff880010047aa8
[ 1169.722983]  ffffffffa0731416 0000000000000246 6c6c61203a73667a 20676e697461636f
[ 1169.722985] Call Trace:
[ 1169.722990]  [<ffffffff8130821d>] dump_stack+0x4d/0x63
[ 1169.722996]  [<ffffffffa07312c2>] spl_dumpstack+0x3d/0x3f [spl]
[ 1169.722999]  [<ffffffffa0731416>] vcmn_err+0x68/0xce [spl]
[ 1169.723002]  [<ffffffffa0733532>] ? crgetngroups+0x83/0xad [spl]
[ 1169.723005]  [<ffffffffa0733587>] ? tsd_get+0x2b/0x3d [spl]
[ 1169.723008]  [<ffffffffa072e084>] ? spl_kmem_cache_alloc+0x6f/0x63d [spl]
[ 1169.723010]  [<ffffffffa072711b>] ? avl_find+0x3a/0x75 [zavl]
[ 1169.723031]  [<ffffffffa0844271>] zfs_panic_recover+0x4f/0x57 [zfs]
[ 1169.723033]  [<ffffffffa072711b>] ? avl_find+0x3a/0x75 [zavl]
[ 1169.723052]  [<ffffffffa08313cf>] range_tree_add+0x8b/0x22e [zfs]
[ 1169.723076]  [<ffffffffa0845d33>] space_map_load+0x3ac/0x448 [zfs]
[ 1169.723090]  [<ffffffffa082e67c>] metaslab_load+0x31/0x1cc [zfs]
[ 1169.723105]  [<ffffffffa082e7d8>] metaslab_load+0x18d/0x1cc [zfs]
[ 1169.723119]  [<ffffffffa083002b>] metaslab_alloc+0x83b/0xa0a [zfs]
[ 1169.723129]  [<ffffffffa0887ad9>] zio_flush+0xbf/0xcde [zfs]
[ 1169.723131]  [<ffffffffa0733532>] ? crgetngroups+0x83/0xad [spl]
[ 1169.723133]  [<ffffffffa07335bb>] ? tsd_get_by_thread+0x22/0x10a [spl]
[ 1169.723136]  [<ffffffffa072ee2a>] ? taskq_member+0x13/0x1e9 [spl]
[ 1169.723145]  [<ffffffffa08853a7>] zio_execute+0xaf/0xd7 [zfs]
[ 1169.723148]  [<ffffffffa072fbd2>] taskq_cancel_id+0x34f/0x47b [spl]
[ 1169.723151]  [<ffffffff8105a2d8>] ? wake_up_q+0x51/0x51
[ 1169.723153]  [<ffffffffa072f972>] ? taskq_cancel_id+0xef/0x47b [spl]
[ 1169.723155]  [<ffffffff81055314>] kthread+0xcd/0xd5
[ 1169.723157]  [<ffffffff81055247>] ? kthread_create_on_node+0x177/0x177
[ 1169.723159]  [<ffffffff81592fdf>] ret_from_fork+0x3f/0x70
[ 1169.723161]  [<ffffffff81055247>] ? kthread_create_on_node+0x177/0x177
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Inactive Not being actively updated Type: Defect Incorrect behavior (e.g. crash, hang)
Projects
None yet
Development

No branches or pull requests

2 participants
@alinefr and others