Opened 5 years ago

Closed 3 years ago

Last modified 3 years ago

#15874 closed bug (duplicate)

[Realtek NVMe] timed out waiting for interrupt!

Reported by: pragmavalue Owned by: waddlesplash
Priority: normal Milestone: Unscheduled
Component: Drivers/Disk/NVMe Version: R1/Development
Keywords: Cc:
Blocked By: #17334 Blocking:
Platform: All

Description

When I try to run a Haiku, system freeze on discovery of exists partiton on the computer. hrev54042 64_bit

Attachments (8)

IMG_20200416_061348.jpg (389.0 KB ) - added by pragmavalue 5 years ago.
screenshot
syslog (128.4 KB ) - added by pragmavalue 5 years ago.
IMG_20200424_065109.jpg (542.4 KB ) - added by pragmavalue 5 years ago.
IMG_20200429_091829.jpg (421.8 KB ) - added by pragmavalue 5 years ago.
1.txt (6.6 KB ) - added by pragmavalue 5 years ago.
IMG_20200518_095019.jpg (251.7 KB ) - added by pragmavalue 4 years ago.
NVE.jpg (363.3 KB ) - added by pragmavalue 3 years ago.
syslog.2 (169.1 KB ) - added by pragmavalue 3 years ago.
work fine log

Change History (30)

by pragmavalue, 5 years ago

Attachment: IMG_20200416_061348.jpg added

screenshot

comment:1 by waddlesplash, 5 years ago

It's highly probable it is actually stuck on something else; I see you have an NVMe drive, which may be related here.

If you can, please try dropping into KDL using Alt+PrntScn+D and then running a "bt" (you may need to mash these keys a number of times in varying sequences to get it to work; though if you have a USB keyboard it may not work at all.)

If you can't manage to drop to KDL, please try the following:

1) Disabling SMP (in boot loader options.)

2) Blacklisting the "nvme" disk driver.

3) Blacklisting the "xhci" USB bus driver.

If none of those produce any result on their own, you can try combining them, but that is probably not worth it.

Last edited 5 years ago by waddlesplash (previous) (diff)

comment:2 by pragmavalue, 5 years ago

Yes,

Regression is on NVME driver, I'blacklisted them and Haiku Works.

Thanks alot!

by pragmavalue, 5 years ago

Attachment: syslog added

comment:3 by waddlesplash, 5 years ago

Component: Partitioning Systems/GPTDrivers/Disk/NVMe
Owner: changed from jessicah to waddlesplash
Summary: Startup Freeze when non GPT partitionBoot stalls during DiskDevice scan of NVMe drive

comment:4 by waddlesplash, 5 years ago

I added changes that will help here in hrev54077. However, I added some more asserts in that commit to catch NVMe disk corruption which trigger very reliably; so don't bother testing until I've updated this ticket again later.

comment:5 by pragmavalue, 5 years ago

Yes, i'tested once again and get a KDL with a get_memory_map failed. (hver 54081 64Bit)

Last edited 5 years ago by pragmavalue (previous) (diff)

by pragmavalue, 5 years ago

Attachment: IMG_20200424_065109.jpg added

comment:6 by waddlesplash, 5 years ago

Yes, this is expected, and is why I said not to bother testing till I update this ticket again later.

comment:7 by waddlesplash, 5 years ago

Please retest after hrev54102. (If the disk now works, post a syslog anyway, please.)

comment:8 by pragmavalue, 5 years ago

hi,

I'tested and new fault is here. Check a attachment.

by pragmavalue, 5 years ago

Attachment: IMG_20200429_091829.jpg added

comment:9 by waddlesplash, 5 years ago

Please paste the output of listdev.

by pragmavalue, 5 years ago

Attachment: 1.txt added

comment:10 by waddlesplash, 5 years ago

Summary: Boot stalls during DiskDevice scan of NVMe drive[Realtek NVMe] timed out waiting for interrupt!
device Mass storage controller (Non-Volatile memory controller, NVM Ex [1|8|2]
	  vendor 10ec: Realtek Semiconductor Co., Ltd.
	  device 5760: Unknown

Well, that's slightly ominous.

Not quite sure what to make of this one. Likely the IRQs are just not being delivered, but why? It also seems strange the boot still stalled...

If you want to poke around in KDL, I can probably find some useful information you can extract, if you think you will be comfortable doing that (or even have hardware where it is possible to type in KDL.)

comment:11 by waddlesplash, 4 years ago

See if anything changes after hrev54226.

by pragmavalue, 4 years ago

Attachment: IMG_20200518_095019.jpg added

comment:12 by pragmavalue, 4 years ago

Stange Thinks see attachment

comment:13 by waddlesplash, 4 years ago

Can you please disable SMP in the bootloader, and then drop to KDL via "Alt+PrntScrn+D", and run "bt", and take a photo of that?

comment:14 by pragmavalue, 4 years ago

This shortcut key don't work, maybe i don't have a PS2 Keyboard only a USB Keyboard

comment:15 by waddlesplash, 4 years ago

Yeah, indeed, that won't work.

I will try to find a datasheet for this at some point and investigate more.

comment:16 by waddlesplash, 3 years ago

Can you please retest this under a recent nightly and see if anything is now different?

by pragmavalue, 3 years ago

Attachment: NVE.jpg added

comment:17 by pragmavalue, 3 years ago

Yes, please I'am add a picture from log. Tested at hrev 553333

Last edited 3 years ago by pragmavalue (previous) (diff)

comment:18 by waddlesplash, 3 years ago

Fascinatingly, this seems to occur under QEMU! Guess I may be able to look into it, then.

comment:19 by waddlesplash, 3 years ago

Please retest after hrev55520.

comment:20 by pragmavalue, 3 years ago

Yes. work fine!!! please close ticket

by pragmavalue, 3 years ago

Attachment: syslog.2 added

work fine log

comment:21 by waddlesplash, 3 years ago

Blocked By: 17334 added
Resolution: duplicate
Status: newclosed

Appears this is the same as #17334, then. Thanks for your patience and for testing!

comment:22 by waddlesplash, 3 years ago

Please check to make sure this still works after hrev55586.

Note: See TracTickets for help on using tickets.