[LU-17279] lustre-initialization: el9.2 server crash in __ldiskfs_find_entry Created: 10/Nov/23  Updated: 20/Nov/23

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Maloo Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
is related to LU-17131 ldiskfs: Add encdata/filename encode ... Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

This issue was created by maloo for Andreas Dilger <adilger@whamcloud.com>

This issue relates to the following test suite run:
https://testing.whamcloud.com/test_sets/7ee6e5a8-45f0-4b13-b23c-2a9f848f5d96

lustre-initialization failed with the following error immediately at mount first:

LDISKFS-fs (dm-0): mounted filesystem with ordered data mode. Quota mode: journalled.
 BUG: kernel NULL pointer dereference, address: 0000000000000000
 #PF: error_code(0x0000) - not-present page
 Oops: 0000 [#1] PREEMPT SMP PTI
 CPU: 0 PID: 7148 Comm: mkfs.lustre  5.14.0-284.30.1_lustre.el9.x86_64 #1
 Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
 RIP: 0010:__ldiskfs_find_entry+0xab/0x440 [ldiskfs]
 Call Trace:
  ldiskfs_lookup.part.0+0x6c/0x2c0 [ldiskfs]
  __lookup_hash+0x70/0xa0
  __filename_create+0x87/0x150
  do_mkdirat+0x4b/0x160
  __x64_sys_mkdir+0x48/0x70

Test session details:
clients: https://build.whamcloud.com/job/lustre-reviews/100247 - 5.14.0-284.30.1.el9_2.x86_64
servers: https://build.whamcloud.com/job/lustre-reviews/100247 - 5.14.0-284.30.1_lustre.el9.x86_64

This is happening during the internal mkfs.lustre mount of the newly-formatted filesystem to set the mountdata file, so something is pretty broken.

VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV
lustre-initialization lustre-initialization - "trevis-23vm6 crashed during lustre-initialization-1"



 Comments   
Comment by Andreas Dilger [ 16/Nov/23 ]

This is being fixed under LU-17131 by patch https://review.whamcloud.com/53077 "LU-17131 ldiskfs: el9.2 correct filename-encode patch".

Comment by Andreas Dilger [ 20/Nov/23 ]

The patch https://review.whamcloud.com/53069 "Revert "LU-17131 ldiskfs: el9.2 encdata and filename-encode"" was landed to master.

Generated at Sat Feb 10 03:34:07 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.