[Bug 1207827] New: Can not install opensuse tumbleweed in second nvme - issue after kernel 5.15 LTS
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 Bug ID: 1207827 Summary: Can not install opensuse tumbleweed in second nvme - issue after kernel 5.15 LTS Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: freitasmgustavo@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hi there, I have open a thread on forum first, releated with my issue that i am not able to install opensuse on my second nvme: https://forums.opensuse.org/t/can-not-install-opensuse-tumbleweed-in-second-... the problem is that ADATA is repeating in all nvme same EUI64, and the kernel bugged, only see one nvme. my nvme is ADATA SX6000PNP. I do not know the process to open a patch for linux kernel, however i found where we can do a fix on linux source code: https://github.com/torvalds/linux/blob/master/drivers/nvme/host/pci.c#L3422 I have 2 nvme identically, as following output command. both 1TB. [gustavo@home ~]$ /sbin/lspci -nnk | grep Non-Volatile 06:00.0 Non-Volatile memory controller [0108]: Realtek Semiconductor Co., Ltd. Device [10ec:5763] (rev 01) 07:00.0 Non-Volatile memory controller [0108]: Realtek Semiconductor Co., Ltd. Device [10ec:5763] (rev 01) [gustavo@ ~]$ sudo nvme id-ctrl /dev/nvme1 NVME Identify Controller: vid : 0x10ec ssvid : 0x10ec sn : 2J4120007707 mn : ADATA SX6000PNP fr : V9002s94 [gustavo@ ~]$ sudo nvme id-ctrl /dev/nvme0 NVME Identify Controller: vid : 0x10ec ssvid : 0x10ec sn : 2K2129Q696LA mn : ADATA SX6000PNP fr : V9002s94 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 http://bugzilla.opensuse.org/show_bug.cgi?id=1207827#c1 Daniel Wagner <daniel.wagner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED CC| |daniel.wagner@suse.com --- Comment #1 from Daniel Wagner <daniel.wagner@suse.com> --- 08b903b5fd0c ("nvme: ignore subnqn for ADATA SX6000LNP") has been added to the TW kernel mid 2019. The current TW kernel should have this fix. But it is missing in all openSUSE kernels. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 http://bugzilla.opensuse.org/show_bug.cgi?id=1207827#c2 --- Comment #2 from gustavo freitas <freitasmgustavo@gmail.com> --- Hi Daniel Wagner, my nvme is SX6000PNP, not SX6000LNP. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 http://bugzilla.opensuse.org/show_bug.cgi?id=1207827#c3 --- Comment #3 from gustavo freitas <freitasmgustavo@gmail.com> --- is it possible to add in opensuse tumbleweed, so I can install it on my second nvme? { PCI_DEVICE(0x10ec, 0x5763), /* ADATA SX6000PNP */ .driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN | NVME_QUIRK_BOGUS_NID, }, The problem is that I am not able to install on my notebook, and I can not found a old opensuse tumbleweed version with kernel 5.15 LTS. Also, I tried to install leap 15.4, that have a old kernel, and still not able to install it. As you said, it is missing in all openSUSE kernels. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 http://bugzilla.opensuse.org/show_bug.cgi?id=1207827#c4 --- Comment #4 from Daniel Wagner <daniel.wagner@suse.com> --- Ah, got it. That explains the problem with Tumbleweed. Anyway, this change has to be routed via the upstream kernel first. I'll take care of it, though could you attach the complete output of 'nvme id-ctrl' and the kernel boot log? Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 Daniel Wagner <daniel.wagner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|kernel-bugs@opensuse.org |daniel.wagner@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 http://bugzilla.opensuse.org/show_bug.cgi?id=1207827#c5 --- Comment #5 from gustavo freitas <freitasmgustavo@gmail.com> --- [gustavo@home ~]$ sudo nvme id-ctrl /dev/nvme0 NVME Identify Controller: vid : 0x10ec ssvid : 0x10ec sn : 2K2129Q696LA mn : ADATA SX6000PNP fr : V9002s94 rab : 0 ieee : 00e04c cmic : 0 mdts : 5 cntlid : 0x1 ver : 0x10300 rtd3r : 0x182b8 rtd3e : 0x1e8480 oaes : 0 ctratt : 0 rrls : 0 cntrltype : 0 fguid : 00000000-0000-0000-0000-000000000000 crdt1 : 0 crdt2 : 0 crdt3 : 0 nvmsr : 0 vwci : 0 mec : 0 oacs : 0x16 acl : 0 aerl : 3 frmw : 0x2 lpa : 0x2 elpe : 7 npss : 4 avscc : 0x1 apsta : 0x1 wctemp : 373 cctemp : 383 mtfa : 20 hmpre : 16384 hmmin : 16384 tnvmcap : 0 unvmcap : 0 rpmbs : 0 edstt : 5 dsto : 1 fwug : 1 kas : 0 hctma : 0 mntmt : 0 mxtmt : 0 sanicap : 0 hmminds : 0 hmmaxd : 0 nsetidmax : 0 endgidmax : 0 anatt : 0 anacap : 0 anagrpmax : 0 nanagrpid : 0 pels : 0 domainid : 0 megcap : 0 sqes : 0x66 cqes : 0x44 maxcmd : 0 nn : 1 oncs : 0x14 fuses : 0 fna : 0 vwc : 0x1 awun : 0 awupf : 0 icsvscc : 1 nwpc : 0 acwu : 0 ocfs : 0 sgls : 0 mnan : 0 maxdna : 0 maxcna : 0 subnqn : nqn.2018-05.com.example:nvme:nvm-subsystem-OUI00E04C2K2129Q696LA ioccsz : 0 iorcsz : 0 icdoff : 0 fcatt : 0 msdbd : 0 ofcs : 0 ps 0 : mp:8.00W operational enlat:0 exlat:50000 rrt:0 rrl:0 rwt:0 rwl:0 idle_power:- active_power:- active_power_workload:- ps 1 : mp:4.00W operational enlat:0 exlat:50000 rrt:1 rrl:1 rwt:1 rwl:1 idle_power:- active_power:- active_power_workload:- ps 2 : mp:3.00W operational enlat:0 exlat:50000 rrt:2 rrl:2 rwt:2 rwl:2 idle_power:- active_power:- active_power_workload:- ps 3 : mp:0.0500W non-operational enlat:4000 exlat:50000 rrt:3 rrl:3 rwt:3 rwl:3 idle_power:- active_power:- active_power_workload:- ps 4 : mp:0.0080W non-operational enlat:8000 exlat:100000 rrt:4 rrl:4 rwt:4 rwl:4 idle_power:- active_power:- active_power_workload:- -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 http://bugzilla.opensuse.org/show_bug.cgi?id=1207827#c6 --- Comment #6 from gustavo freitas <freitasmgustavo@gmail.com> --- [gustavo@home ~]$ sudo nvme id-ctrl /dev/nvme1 NVME Identify Controller: vid : 0x10ec ssvid : 0x10ec sn : 2J4120007707 mn : ADATA SX6000PNP fr : V9002s94 rab : 0 ieee : 00e04c cmic : 0 mdts : 5 cntlid : 0x1 ver : 0x10300 rtd3r : 0x182b8 rtd3e : 0x1e8480 oaes : 0 ctratt : 0 rrls : 0 cntrltype : 0 fguid : 00000000-0000-0000-0000-000000000000 crdt1 : 0 crdt2 : 0 crdt3 : 0 nvmsr : 0 vwci : 0 mec : 0 oacs : 0x16 acl : 0 aerl : 3 frmw : 0x2 lpa : 0x2 elpe : 7 npss : 4 avscc : 0x1 apsta : 0x1 wctemp : 373 cctemp : 383 mtfa : 20 hmpre : 16384 hmmin : 16384 tnvmcap : 0 unvmcap : 0 rpmbs : 0 edstt : 5 dsto : 1 fwug : 1 kas : 0 hctma : 0 mntmt : 0 mxtmt : 0 sanicap : 0 hmminds : 0 hmmaxd : 0 nsetidmax : 0 endgidmax : 0 anatt : 0 anacap : 0 anagrpmax : 0 nanagrpid : 0 pels : 0 domainid : 0 megcap : 0 sqes : 0x66 cqes : 0x44 maxcmd : 0 nn : 1 oncs : 0x14 fuses : 0 fna : 0 vwc : 0x1 awun : 0 awupf : 0 icsvscc : 1 nwpc : 0 acwu : 0 ocfs : 0 sgls : 0 mnan : 0 maxdna : 0 maxcna : 0 subnqn : nqn.2018-05.com.example:nvme:nvm-subsystem-OUI00E04C2J4120007707 ioccsz : 0 iorcsz : 0 icdoff : 0 fcatt : 0 msdbd : 0 ofcs : 0 ps 0 : mp:8.00W operational enlat:0 exlat:50000 rrt:0 rrl:0 rwt:0 rwl:0 idle_power:- active_power:- active_power_workload:- ps 1 : mp:4.00W operational enlat:0 exlat:50000 rrt:1 rrl:1 rwt:1 rwl:1 idle_power:- active_power:- active_power_workload:- ps 2 : mp:3.00W operational enlat:0 exlat:50000 rrt:2 rrl:2 rwt:2 rwl:2 idle_power:- active_power:- active_power_workload:- ps 3 : mp:0.0500W non-operational enlat:4000 exlat:50000 rrt:3 rrl:3 rwt:3 rwl:3 idle_power:- active_power:- active_power_workload:- ps 4 : mp:0.0080W non-operational enlat:8000 exlat:100000 rrt:4 rrl:4 rwt:4 rwl:4 idle_power:- active_power:- active_power_workload:- -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 http://bugzilla.opensuse.org/show_bug.cgi?id=1207827#c7 --- Comment #7 from gustavo freitas <freitasmgustavo@gmail.com> --- Daniel, i believe the bug is that ieee (eui64) is the same from both nvme ADATA SX6000PNP. 00e04c [gustavo@home ~]$ sudo nvme id-ctrl /dev/nvme1 NVME Identify Controller: vid : 0x10ec ssvid : 0x10ec sn : 2J4120007707 mn : ADATA SX6000PNP fr : V9002s94 rab : 0 ieee : 00e04c cmic : 0 mdts : 5 cntlid : 0x1 ver : 0x10300 rtd3r : 0x182b8 [gustavo@home ~]$ sudo nvme id-ctrl /dev/nvme0 NVME Identify Controller: vid : 0x10ec ssvid : 0x10ec sn : 2K2129Q696LA mn : ADATA SX6000PNP fr : V9002s94 rab : 0 ieee : 00e04c cmic : 0 mdts : 5 cntlid : 0x1 ver : 0x10300 rtd3r : 0x182b8 also I have installed windows 10 in the second nvme. just for upgrade the firmware from both nvme, for last version (V9002s94) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 http://bugzilla.opensuse.org/show_bug.cgi?id=1207827#c8 --- Comment #8 from gustavo freitas <freitasmgustavo@gmail.com> --- Hi Daniel, Any update? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 http://bugzilla.opensuse.org/show_bug.cgi?id=1207827#c9 --- Comment #9 from gustavo freitas <freitasmgustavo@gmail.com> --- is it possible to make this fix in opensuse tumbleweed kernel ? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 http://bugzilla.opensuse.org/show_bug.cgi?id=1207827#c10 --- Comment #10 from Daniel Wagner <daniel.wagner@suse.com> --- I had not time to work on this yet. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 http://bugzilla.opensuse.org/show_bug.cgi?id=1207827#c11 --- Comment #11 from Daniel Wagner <daniel.wagner@suse.com> --- Could you please add the kernel messages? I need the PCI identifiers for the patch, in short the output from: dev_err(ctrl->device, "VID:%04x model:%.*s firmware:%.*s\n", subsys->vendor_id, nvme_strlen(subsys->model, sizeof(subsys->model)), subsys->model, nvme_strlen(subsys->firmware_rev, sizeof(subsys->firmware_rev)), subsys->firmware_rev); -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 Daniel Wagner <daniel.wagner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freitasmgustavo@gmail.com Flags| |needinfo?(freitasmgustavo@g | |mail.com) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 http://bugzilla.opensuse.org/show_bug.cgi?id=1207827#c12 --- Comment #12 from gustavo freitas <freitasmgustavo@gmail.com> --- sudo journalctl -b | grep -i nvme fev 08 12:06:39 home kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=f64d5397-ffc1-4263-9602-cecb663774f6 rw resume=UUID=e952a93d-7f24-4349-a945-a5c1308c399a loglevel=3 nowatchdog nvme_load=YES nvidia-drm.modeset=1 fev 08 12:06:39 home kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=f64d5397-ffc1-4263-9602-cecb663774f6 rw resume=UUID=e952a93d-7f24-4349-a945-a5c1308c399a loglevel=3 nowatchdog nvme_load=YES nvidia-drm.modeset=1 fev 08 12:06:39 home kernel: Unknown kernel command line parameters "BOOT_IMAGE=/boot/vmlinuz-linux nvme_load=YES", will be passed to user space. fev 08 12:06:39 home kernel: nvme_load=YES fev 08 12:06:39 home kernel: nvme 0000:06:00.0: platform quirk: setting simple suspend fev 08 12:06:39 home kernel: nvme nvme0: pci function 0000:06:00.0 fev 08 12:06:39 home kernel: nvme 0000:07:00.0: platform quirk: setting simple suspend fev 08 12:06:39 home kernel: nvme nvme1: pci function 0000:07:00.0 fev 08 12:06:39 home kernel: nvme nvme0: failed to set APST feature (2) fev 08 12:06:39 home kernel: nvme nvme1: failed to set APST feature (2) fev 08 12:06:39 home kernel: nvme nvme0: allocated 64 MiB host memory buffer. fev 08 12:06:39 home kernel: nvme nvme1: allocated 64 MiB host memory buffer. fev 08 12:06:39 home kernel: nvme nvme0: 7/0/0 default/read/poll queues fev 08 12:06:39 home kernel: nvme0n1: p1 p2 p3 fev 08 12:06:39 home kernel: nvme nvme1: 7/0/0 default/read/poll queues fev 08 12:06:39 home kernel: nvme nvme1: globally duplicate IDs for nsid 1 fev 08 12:06:39 home kernel: nvme nvme1: VID:DID 10ec:5763 model:ADATA SX6000PNP firmware:V9002s94 fev 08 12:06:39 home kernel: EXT4-fs (nvme0n1p2): mounted filesystem with ordered data mode. Quota mode: none. fev 08 12:06:39 home kernel: EXT4-fs (nvme0n1p2): re-mounted. Quota mode: none. fev 08 12:06:40 home kernel: Adding 9227464k swap on /dev/nvme0n1p3. Priority:-2 extents:1 across:9227464k SSFS fev 08 12:06:40 home systemd-fsck[452]: /dev/nvme0n1p1: 6 files, 79/76646 clusters this is the output from kernel 6.1, from 5.15 no problem at all -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 http://bugzilla.opensuse.org/show_bug.cgi?id=1207827#c13 --- Comment #13 from gustavo freitas <freitasmgustavo@gmail.com> --- sudo journalctl -b | grep -i "VID:" fev 08 12:06:39 home kernel: nvme nvme1: VID:DID 10ec:5763 model:ADATA SX6000PNP firmware:V9002s94 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 http://bugzilla.opensuse.org/show_bug.cgi?id=1207827#c14 --- Comment #14 from gustavo freitas <freitasmgustavo@gmail.com> --- (In reply to Daniel Wagner from comment #10)
I had not time to work on this yet.
and Daniel, thank you so much for your response. If there anything else that I can help, let me know. Have a nice day buddy -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 http://bugzilla.opensuse.org/show_bug.cgi?id=1207827#c15 --- Comment #15 from Daniel Wagner <daniel.wagner@suse.com> --- https://lore.kernel.org/linux-nvme/20230208161435.112692-1-dwagner@suse.de/ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 Daniel Wagner <daniel.wagner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |IN_PROGRESS -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 http://bugzilla.opensuse.org/show_bug.cgi?id=1207827#c18 --- Comment #18 from gustavo freitas <freitasmgustavo@gmail.com> --- (In reply to Daniel Wagner from comment #17)
BTW, there seems to be still a problem according another user:
https://lore.kernel.org/linux-nvme/4b824085a2f4987f4682e3602a0e1a96@riseup. net/
still not able to install opensuse tumbleweed in my second nvme. Let's waiting for this fix. thanks again Daniel -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 http://bugzilla.opensuse.org/show_bug.cgi?id=1207827#c19 --- Comment #19 from Daniel Wagner <daniel.wagner@suse.com> --- Yes, to be expected. TW is still on 6.1.x. You could give the experimental kernel a go https://build.opensuse.org/package/show/Kernel%3Astable/kernel-default -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207827 http://bugzilla.opensuse.org/show_bug.cgi?id=1207827#c20 --- Comment #20 from Daniel Wagner <daniel.wagner@suse.com> --- https://build.opensuse.org/package/binaries/Kernel:stable/kernel-default/sta... -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com