Getting a lot of specific kernel debug errors :(

I really wanted to try and use Haiku on old ThinkPad I had lying around, and i seem to be getting NMI interrupt errors even while letting the system idle, is this a haiku bug or maybe something i can fix in the BIOS

PANIC: Fatal Exeption “NMI Interrupt” Occured! Error code: 0x0

Hello, welcome!

Sounds like this ticket.

If you are indeed facing the exact same issue, it seems you might be able to just time exit (and hit Enter) when you see the error, and the system should continue normally.

Not ideal, but… better than nothing, till the issue gets resolved.

Hey! i have actually tried something myself and it maybe is going well [changing the default GPU in the BIOS back to built in…despite the laptop not having PCI GPU?? idk lol] so hopefullllyyyy it works

Alright, so it did improve it until i loaded yewtu.be and tit crashed, but! i did exit and told it so save a crash log:

Debug information for team /boot/system/servers/media_addon_server (180):
CPU(s): 2x Intel Core 2
Memory: 2.99 GiB total, 774.30 MiB used
Haiku revision: hrev57937+113 Sep 12 2024 21:59 (x86_64)

Active Threads:
thread 180: media_addon_server (main)
thread 196: BMediaRoster
thread 197: media_addon_server control
thread 198: System clock control
thread 233: HD Audio control
thread 235: multi_audio audio output
thread 236: Yeah baby, very shagadelic
thread 1557: team 180 debug task
thread 222: Audio Mixer control
state: Call (BTimeSource::PerformanceTimeFor: real time too large)

	Frame		IP			Function Name
	-----------------------------------------------
	00000000	0x16fd6bbe127	_kern_debugger + 0x7 
		Disassembly:
			_kern_debugger:
			0x0000016fd6bbe120:   48c7c0eb000000  mov $0xeb, %rax
			0x0000016fd6bbe127:             0f05  syscall <--

	0x7f800bd612b0	0xbda2307377	BTimeSource::PerformanceTimeFor(long) + 0x57 
	0x7f800bd61300	0x7fb84398e1	AudioMixer::HandleInputBuffer(BBuffer*, long) + 0x101 
	0x7f800bd61320	0x7fb8439987	AudioMixer::HandleEvent(media_timed_event const*, long, bool) + 0x47 
	0x7f800bd61340	0xbda22f0bd3	BMediaEventLooper::DispatchEvent(media_timed_event const*, long, bool) + 0x13 
	0x7f800bd61420	0xbda22f0e68	BMediaEventLooper::ControlLoop() + 0x208 
	0x7f800bd61440	0xbda22f09ec	BMediaEventLooper::_ControlThreadStart(void*) + 0x1c 
	0x7f800bd61460	0x16fd6bbce37	thread_entry + 0x17 
	00000000	0x7f4e27339258	commpage_thread_exit + 0 

	Registers:
		  rip:	0x0000016fd6bbe129
		  rsp:	0x00007f800bd61268
		  rbp:	0x00007f800bd612a0
		  rax:	0x00000000000000eb
		  rbx:	0x0000000002be5c5c
		  rcx:	0x0000016fd6bbe129
		  rdx:	0x00007f800bd60d94
		  rsi:	0x0000016fd6c5452f
		  rdi:	0x000000bda2323a68
		   r8:	0x0000000000000000
		   r9:	0x0000000000000000
		  r10:	0x0000000000000000
		  r11:	0x0000000000000206
		  r12:	0x0000000002be1c2c
		  r13:	0x0000117e25e65c70
		  r14:	0x0000000002be1c1f
		  r15:	0x00007f800bd612b0
		   cs:	0x002b
		   ds:	0x0000
		   es:	0x0000
		   fs:	0x0000
		   gs:	0x0000
		   ss:	0x0023
		  st0:	0
		  st1:	0
		  st2:	0
		  st3:	0
		  st4:	0
		  st5:	0
		  st6:	0
		  st7:	0
		  mm0:	{0, 0, 0, 0}
		  mm1:	{0, 0, 0, 0}
		  mm2:	{0, 0, 0, 0}
		  mm3:	{0, 0, 0, 0}
		  mm4:	{0, 0, 0, 0}
		  mm5:	{0, 0, 0, 0}
		  mm6:	{0, 0, 0, 0}
		  mm7:	{0, 0, 0, 0}
		 xmm0:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm1:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm2:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm3:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm4:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm5:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm6:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm7:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm8:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm9:	{0, 0, 0, 0, 0, 0, 0, 0}
		xmm10:	{0, 0, 0, 0, 0, 0, 0, 0}
		xmm11:	{0, 0, 0, 0, 0, 0, 0, 0}
		xmm12:	{0, 0, 0, 0, 0, 0, 0, 0}
		xmm13:	{0, 0, 0, 0, 0, 0, 0, 0}
		xmm14:	{0, 0, 0, 0, 0, 0, 0, 0}
		xmm15:	{0, 0, 0, 0, 0, 0, 0, 0}

Loaded Images:
ID Text Base Text End Data Base Data End Type Name
--------------------------------------------------------------------------------
4045 0x4db2b80000 0x4db2ba2000 0x4db2ba2000 0x4db2ba5000 lib /boot/system/lib/libgame.so
4505 0x7fb8428000 0x7fb8449000 0x7fb8449000 0x7fb844c000 add-on /boot/system/add-ons/media/mixer.media_addon
4058 0x8b760bd000 0x8b760d3000 0x8b760d3000 0x8b760d4000 lib /boot/system/lib/libz.so.1.3.1
4053 0x8d7d8b8000 0x8d7dbf4000 0x8d7dbf4000 0x8d7dc0f000 lib /boot/system/lib/libicui18n.so.74.1
4047 0x9d6d3fe000 0x9d6d630000 0x9d6d630000 0x9d6d646000 lib /boot/system/lib/libstdc++.so.6.0.32
4051 0xa0330f9000 0xa0330fa000 0xa0330fa000 0xa0330fb000 lib /boot/system/lib/libicudata.so.74.1
4031 0xa11d82b000 0xa11d83f000 0xa11d83f000 0xa11d841000 app /boot/system/servers/media_addon_server
4029 0xb82c45c000 0xb82c479000 0xb82c479000 0xb82c47a000 lib /boot/system/runtime_loader
4035 0xbda2284000 0xbda2341000 0xbda2341000 0xbda234d000 lib /boot/system/lib/libmedia.so
4083 0xfbfbbf5000 0xfbfbbfd000 0xfbfbbfd000 0xfbfbbfe000 add-on /boot/system/add-ons/locale/catalogs/plaintext
4057 0xff8730f000 0xff87507000 0xff87507000 0xff8751f000 lib /boot/system/lib/libicuuc.so.74.1
4055 0x16530321000 0x1653032d000 0x1653032d000 0x1653032f000 lib /boot/system/lib/libicuio.so.74.1
4050 0x1663f674000 0x1663f693000 0x1663f693000 0x1663f694000 lib /boot/system/lib/libgcc_s.so.1
4049 0x16fd6b7e000 0x16fd6c8e000 0x16fd6c8e000 0x16fd6ca4000 lib /boot/system/lib/libroot.so
4034 0x19856fac000 0x198572e1000 0x198572e1000 0x1985730f000 lib /boot/system/lib/libbe.so
4506 0x200d0dff000 0x200d0e1c000 0x200d0e1c000 0x200d0e1f000 add-on /boot/system/add-ons/media/hmulti_audio.media_addon
4060 0x226ce133000 0x226ce249000 0x226ce249000 0x226ce24a000 lib /boot/system/lib/libzstd.so.1.5.6
4028 0x7f4e27339000 0x7f4e27341000 0x00000000 0x00000000 system commpage

Areas:
ID Base End Size (KiB) Protection Locking Name
--------------------------------------------------------------------------------
10108 0x60000000 0x60001000 4 rw-cS none server_memory
10118 0x68000000 0x68020000 128 rw-cS none server_memory
9966 0x62d74f000 0x62d75f000 64 rw- none rld heap
9986 0x4db2b80000 0x4db2ba2000 136 r-x none libgame.so_seg0ro
9999 0x4db2ba2000 0x4db2ba5000 12 rw- none libgame.so_seg1rw
9967 0x58464c8000 0x58464c9000 4 rw-cS none rld_debug
11054 0x7fb8428000 0x7fb8449000 132 r-x none mixer.media_addon_seg0ro
11055 0x7fb8449000 0x7fb844c000 12 rw- none mixer.media_addon_seg1rw
10038 0x83a28ae000 0x83a28b6000 32 rw- none rld heap
10045 0x8a04eaa000 0x8a04eba000 64 rw- none rld heap
10046 0x8a08154000 0x8a08164000 64 rw- none rld heap
10056 0x8b0ce69000 0x8b0ce81000 96 rw- none rld heap
10057 0x8b5bef0000 0x8b5bf08000 96 rw- none rld heap
10093 0x8b611a3000 0x8b62eff000 30064 r–S none libicuuc.so.74 mmap area
10126 0x8b70020000 0x8b70021000 4 rw-cS full __timesource_buf_1
11127 0x8b72b82000 0x8b72b83000 4 rw-cS full __timesource_buf_3
11137 0x8b72b84000 0x8b72b90000 48 rw-S lazy shared buffer list clone
11140 0x8b735c4000 0x8b735d0000 48 rw-S full a cloned BBuffer
11141 0x8b735d0000 0x8b735dc000 48 rw-S full a cloned BBuffer
11142 0x8b735dc000 0x8b735e8000 48 rw-S full a cloned BBuffer
11145 0x8b735e8000 0x8b735e9000 4 rw-S full cloned_timesource_buf_3
11172 0x8b735e9000 0x8b735f5000 48 rw-S full a cloned BBuffer
17734 0x8b735f5000 0x8b735ff000 40 rw-S full a cloned BBuffer
17862 0x8b735ff000 0x8b73609000 40 rw-S full a cloned BBuffer
17885 0x8b73609000 0x8b73613000 40 rw-S full a cloned BBuffer
18064 0x8b73613000 0x8b7361d000 40 rw-S full a cloned BBuffer
18183 0x8b7361d000 0x8b73629000 48 rw-S full a cloned BBuffer
18184 0x8b73629000 0x8b73635000 48 rw-S full a cloned BBuffer
10028 0x8b760bd000 0x8b760d3000 88 r-x none libz.so.1.3.1_seg0ro
10029 0x8b760d3000 0x8b760d4000 4 rw- none libz.so.1.3.1_seg1rw
10014 0x8d7d8b8000 0x8d7dbf4000 3312 r-x none libicui18n.so.74.1_seg0ro
10017 0x8d7dbf4000 0x8d7dc0e000 104 rw- none libicui18n.so.74.1_seg1rw
10018 0x8d7dc0e000 0x8d7dc0f000 4 rw- none libicui18n.so.74.1_seg2rw
10000 0x9d6d3fe000 0x9d6d630000 2248 r-x none libstdc++.so.6.0.32_seg0ro
10003 0x9d6d630000 0x9d6d63e000 56 rw- none libstdc++.so.6.0.32_seg1rw
10004 0x9d6d63e000 0x9d6d646000 32 rw- none libstdc++.so.6.0.32_seg2rw
10012 0xa0330f9000 0xa0330fa000 4 r-x none libicudata.so.74.1_seg0ro
10013 0xa0330fa000 0xa0330fb000 4 rw- none libicudata.so.74.1_seg1rw
9968 0xa11d82b000 0xa11d83f000 80 r-x none media_addon_server_seg0ro
9971 0xa11d83f000 0xa11d841000 8 rw- none media_addon_server_seg1rw
9962 0xb82c45c000 0xb82c479000 116 r-x none runtime_loader_seg0ro
9963 0xb82c479000 0xb82c47a000 4 rw- none runtime_loader_seg1rw
9978 0xbda2284000 0xbda2341000 756 r-x none libmedia.so_seg0ro
9979 0xbda2341000 0xbda234d000 48 rw- none libmedia.so_seg1rw
10096 0xfbfbbf5000 0xfbfbbfd000 32 r-x none plaintext_seg0ro
10097 0xfbfbbfd000 0xfbfbbfe000 4 rw- none plaintext_seg1rw
10023 0xff8730f000 0xff87507000 2016 r-x none libicuuc.so.74.1_seg0ro
10026 0xff87507000 0xff8751e000 92 rw- none libicuuc.so.74.1_seg1rw
10027 0xff8751e000 0xff8751f000 4 rw- none libicuuc.so.74.1_seg2rw
10021 0x16530321000 0x1653032d000 48 r-x none libicuio.so.74.1_seg0ro
10022 0x1653032d000 0x1653032f000 8 rw- none libicuio.so.74.1_seg1rw
10010 0x1663f674000 0x1663f693000 124 r-x none libgcc_s.so.1_seg0ro
10011 0x1663f693000 0x1663f694000 4 rw- none libgcc_s.so.1_seg1rw
10007 0x16fd6b7e000 0x16fd6c8e000 1088 r-x none libroot.so_seg0ro
10008 0x16fd6c8e000 0x16fd6c9c000 56 rw- none libroot.so_seg1rw
10009 0x16fd6c9c000 0x16fd6ca4000 32 rw- none libroot.so_seg2rw
9973 0x19856fac000 0x198572e1000 3284 r-x none libbe.so_seg0ro
9976 0x198572e1000 0x1985730f000 184 rw- none libbe.so_seg1rw
11062 0x200d0dff000 0x200d0e1c000 116 r-x none hmulti_audio.media_addon_seg0ro
11065 0x200d0e1c000 0x200d0e1f000 12 rw- none hmulti_audio.media_addon_seg1rw
10032 0x226ce133000 0x226ce249000 1112 r-x none libzstd.so.1.5.6_seg0ro
10033 0x226ce249000 0x226ce24a000 4 rw- none libzstd.so.1.5.6_seg1rw
10092 0x117e25db1000 0x117e25ee1000 1216 rw- none heap
10128 0x7f4814026000 0x7f481406b000 276 rw-s none System clock control_198_stack
9961 0x7f4e27339000 0x7f4e27341000 32 r-xSk full commpage
11134 0x7f7604107000 0x7f760414c000 276 rw-s none multi_audio audio output_235_st
11059 0x7f800bd1e000 0x7f800bd63000 276 rw-s none Audio Mixer control_222_stack
10125 0x7f8ebc5e3000 0x7f8ebc628000 276 rw-s none media_addon_server control_197

9960 0x7f9e78487000 0x7f9e79488000 16388 rw-s none media_addon_server_180_stack
11149 0x7fae6abd5000 0x7fae6ac1a000 276 rw-s none Yeah baby, very shagadelic_236

9958 0x7fb3e372b000 0x7fb3e372f000 16 rw-k full user area
11130 0x7fe5cfe88000 0x7fe5cfecd000 276 rw-s none HD Audio control_233_stack
10123 0x7fffe3950000 0x7fffe3995000 276 rw-s none _BMediaRoster__196_stack

Protection Flags: r - read, w - write, x - execute, s - stack, o - overcommit, c - cloneable, S - shared, k - kernel

Semaphores:
ID Count Last Holder Name
------------------------------------------------------------
1334 0 0 some BBlockCache lock
1335 0 0 token space
1336 0 0 BLooperList lock
1337 0 0 AppServerLink_sLock
1338 0 0 some BLocker
1339 0 0 some BLocker
1340 0 0 Catalog
1341 0 0 LocaleRosterData
1342 0 0 some BLocker
1343 0 0 some BLocker
1344 0 0 BMediaRoster::Roster locker
1345 0 0 port pool
1346 0 0 media theme lock
1347 0 0 add-on manager
1348 0 0 shared buffer list
1349 0 0 media plugin manager
1350 0 0 GameSound device lock
1351 0 0 BMessageQueue Lock
1352 0 0 AppLooperPort
1373 0 0 screen list
1374 0 0 clipboard
1382 0 0 width buffer
1394 0 0 BMessageQueue Lock
1395 0 0 BMediaRoster
1399 0 0 dormant node manager locker
1400 0 0 time source object manager
1404 0 0 BTimeSource slavenodes
1586 0 0 BControllable lock
1587 0 0 BTimedEventQueue locker
1588 0 0 BTimedEventQueue locker
1589 0 0 mixer core lock
1590 0 0 mixer settings lock
1591 0 0 Catalog
1608 0 0 Catalog
1649 0 0 BTimeSource slavenodes
1650 0 0 BTimedEventQueue locker
1651 0 0 BTimedEventQueue locker
1652 0 0 BControllable lock
1653 0 0 multi audio buffers
1663 2 236 buffer reclaim sem
1665 -1 0 mix thread wait
240807 0 431 save thread wait

This isnt the only app that did it, but its one of, and could it be for some reason Haiku is having a hard time with the fact that i have 4GB physical, but the ThinkPad is only capable of using 3, and the BIOS reports the full 4?

Seems Haiku only sees 3 GB. I doubt that has much to do with the crash on media_addon_server (I get lots of those, depending on what audio driver I’m using, beta4 was more stable on that regard for me).

In any case, if your boot issues are gone after doing that change in the BIOS, great! or do you still see NMI Interrupt error and typing exit on the KDL makes it continue booting? (wouldn’t be bad to add your comments on the ticket I’ve linked, for future reference).

Regarding the media_addon_server crashes, it is better to report such things as new tickets over https://dev.haiku-os.org. See the guide on how to reports bugs.

Ah! I forgot to mention it’s actually not a boot issue it just kinda
Happens?
And, I’ll read the guide and figure out how to properly report a bug :slight_smile:

The Thinkpad isn’t a T/R/X60 by chance? On these systems, there is a chipset limit of 3GB. I personally still use one every day, as they’re quite robust and feel quite good to use. However 3GB is the most that those can access and that limit is os independant.

I have this occur for me aswell, as a workaround, you should be able to just write co or continue at the debugger prompt and the system should continue as normal.

It sometimes crashes for me, however, just restarting the media server (in the media settings) seems to be a workaround. After that it is pretty much stable

kind regards,
zeldakatze

It actually it a R60!
I picked mine up a bit ago for a bit of fun and actually love it!

Thanks for all the advice ^-^