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

unable to handle kernel NULL pointer dereference zfs_preumount #686

Closed
leelists opened this issue Apr 19, 2012 · 1 comment
Closed

unable to handle kernel NULL pointer dereference zfs_preumount #686

leelists opened this issue Apr 19, 2012 · 1 comment

Comments

@leelists
Copy link

Hi,

After upgrading to ubuntu precise, i get the following kernel oopses :

Any clues ? (I'm using zfs-0.6.0-rc8 compiled against precise kernel)

Regards,
Lee

[ 1611.882272] Pid: 18376, comm: mount.zfs Tainted: P D O 3.2.0-23-generic #36-Ubuntu Dell Inc. Precision M6500 /0R1203
[ 1611.882279] RIP: 0010:[] [] zfs_preumount+0x10/0x30 [zfs]
[ 1611.882322] RSP: 0000:ffff88009cd33d38 EFLAGS: 00010296
[ 1611.882326] RAX: 0000000000000000 RBX: ffff88009f40a400 RCX: 0000000000000002
[ 1611.882329] RDX: 0000000180080007 RSI: 0000000000000007 RDI: 0000000000000000
[ 1611.882333] RBP: ffff88009cd33d38 R08: 0000000000000000 R09: 0000000000000000
[ 1611.882336] R10: ffff88009f408400 R11: 0000000000000002 R12: ffffffffa024a4c0
[ 1611.882340] R13: ffffffffa0220c40 R14: ffff88009cd33db8 R15: 0000000002000000
[ 1611.882344] FS: 00007f5a9c74ac00(0000) GS:ffff88021bc80000(0000) knlGS:0000000000000000
[ 1611.882349] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 1611.882352] CR2: 0000000000000490 CR3: 000000009dc5e000 CR4: 00000000000006e0
[ 1611.882356] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1611.882359] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 1611.882364] Process mount.zfs (pid: 18376, threadinfo ffff88009cd32000, task ffff880097355bc0)
[ 1611.882367] Stack:
[ 1611.882369] ffff88009cd33d58 ffffffffa0220bf6 ffff88021bfae330 ffff88009f40a400
[ 1611.882377] ffff88009cd33d78 ffffffff8117a34c fffffffffffffff0 00000000fffffff0
[ 1611.882384] ffff88009cd33da8 ffffffff8117a873 ffff88009b47c300 ffffffffa024a4c0
[ 1611.882391] Call Trace:
[ 1611.882433] [] zpl_kill_sb+0x16/0x30 [zfs]
[ 1611.882441] [] deactivate_locked_super+0x3c/0xa0
[ 1611.882447] [] mount_nodev+0xb3/0xc0
[ 1611.882492] [] zpl_mount+0x25/0x30 [zfs]
[ 1611.882497] [] mount_fs+0x43/0x1b0
[ 1611.882506] [] vfs_kern_mount+0x6a/0xc0
[ 1611.882514] [] do_kern_mount+0x54/0x110
[ 1611.882519] [] do_mount+0x1a4/0x260
[ 1611.882525] [] sys_mount+0x90/0xe0
[ 1611.882531] [] system_call_fastpath+0x16/0x1b
[ 1611.882534] Code: 05 00 00 48 c7 c6 6b cf 22 a0 48 c7 c7 28 d9 23 a0 e8 35 8f ed ff e9 b8 fe ff ff 55 48 89 e5 66 66 66 66 90 48 8b bf b0 02 00 00 <48> 83 bf 90 04 00 00 00 74 05 e8 01 cb fe ff 5d c3 66 66 66 66
[ 1611.882583] RIP [] zfs_preumount+0x10/0x30 [zfs]
[ 1611.882625] RSP
[ 1611.882628] CR2: 0000000000000490
[ 1611.882632] ---[ end trace 2fc2d8fcb8f232d3 ]---
[ 1611.885623] BUG: unable to handle kernel NULL pointer dereference at 0000000000000490
[ 1611.885629] IP: [] zfs_preumount+0x10/0x30 [zfs]
[ 1611.885675] PGD 989c5067 PUD 9648e067 PMD 0
[ 1611.885680] Oops: 0000 [#2899] SMP
[ 1611.885685] CPU 2
[ 1611.885686] Modules linked in: md4 nls_utf8 cifs pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables vboxdrv(O) kvm_intel kvm microcode deflate ctr twofish_generic twofish_x86_64_3way twofish_x86_64 twofish_common camellia serpent blowfish_generic blowfish_x86_64 blowfish_common cast5 des_generic xcbc rmd160 sha512_generic crypto_null af_key dm_crypt joydev bnep parport_pc rfcomm ppdev bluetooth nfsd nfs binfmt_misc lockd fscache auth_rpcgss nfs_acl sunrpc coretemp pcmcia snd_hda_codec_idt dell_wmi sparse_keymap arc4 dell_laptop dcdbas nvidia(P) bridge stp psmouse uvcvideo snd_hda_intel serio_raw snd_hda_codec videodev snd_hwdep v4l2_compat_ioctl32 snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event yenta_socket pcmcia_rsrc pcmcia_core snd_seq tifm_7xx1 tifm_core b43 snd_timer snd_seq_device i7core_edac edac_core mac80211 snd zfs(P) cfg80211 bcma zcommon(P) znvpair(P) wmi zavl(P) zunicode(P) mac_hid soundcore snd_page_alloc spl(O) zlib_deflate lp parport usbhid hid firewire_ohci sdhci_pci sdhci firewire_core crc_itu_t tg3 ssb video

@behlendorf
Copy link
Contributor

This is a duplicate of #639 which was fixed post -rc8. Grab the latest master source if you need a fix now, or commit 1f0d8a5 .

behlendorf pushed a commit to behlendorf/zfs that referenced this issue May 21, 2018
This is only used via ->ks_update of `kstat_t *`.
This isn't exported nor do headers have its prototype.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com>
Closes openzfs#686
behlendorf pushed a commit to behlendorf/zfs that referenced this issue May 21, 2018
vn_init() and vn_fini() had been renamed by 12ff95f in 2011.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com>
Closes openzfs#686
pcd1193182 pushed a commit to pcd1193182/zfs that referenced this issue Sep 26, 2023
)

Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](fitzgen/bumpalo@3.11.0...3.12.0)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: indirect
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants