WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TC10.1 / 4.19.10-tinycore64 XEN domU kernel panic at boot  (Read 2962 times)

Offline halma

  • Full Member
  • ***
  • Posts: 164
TC10.1 / 4.19.10-tinycore64 XEN domU kernel panic at boot
« on: January 16, 2020, 09:33:37 PM »
Hello Tinycore folks :-)

Tiny Core Linux v10.1 @ 4.19.10-tinycore64 as a XEN domU has a kernel panic at boot !

Code: [Select]
BUG: unable to handle kernel paging request at ffff8881c53b4000
PGD 1e0c067 P4D 1e0c067 PUD 0
Oops: 0000 [#1] SMP NOPTI
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.19.10-tinycore64 #1999
RIP: e030:0xffffffff8104b535
Code: 48 ba 00 10 00 00 80 88 ff ff 48 25 00 f0 ff ff 4e 8d 34 38 48 01 d0 48 89 85 48 ff ff ff 48 8b 45 80 48 c1 f8 10 48 89 45 b0 <49> 8b 0e 48 f7 c1 9f ff ff ff 0f 84 55 02 00 00 48 89 cf bb 01 00
RSP: e02b:ffffc9000022be38 EFLAGS: 00010286
RAX: ffff800000000000 RBX: ffffffff81a06000 RCX: 8000000000000000
RDX: ffff888000001000 RSI: ffffc9000022be00 RDI: 00000001c53b4025
RBP: ffffc9000022bf00 R08: 0000000000000001 R09: 0720072007200700
R10: 0720072007200720 R11: 0720072007200720 R12: ffffffff81e0a800
R13: 0000000000000000 R14: ffff8881c53b4000 R15: ffff888000000000
FS:  00007f8060230740(0000) GS:ffff88801f400000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8881c53b4000 CR3: 0000000001e0a000 CR4: 0000000000000660
Call Trace:
 ? 0xffffffff81000000
 0xffffffff8104b8dd
 0xffffffff81043fce
 ? 0xffffffff8164a6f2
 0xffffffff8164a71d
 0xffffffff81800205
Modules linked in:
CR2: ffff8881c53b4000
---[ end trace a69d4fe0679226cd ]---
RIP: e030:0xffffffff8104b535
Code: 48 ba 00 10 00 00 80 88 ff ff 48 25 00 f0 ff ff 4e 8d 34 38 48 01 d0 48 89 85 48 ff ff ff 48 8b 45 80 48 c1 f8 10 48 89 45 b0 <49> 8b 0e 48 f7 c1 9f ff ff ff 0f 84 55 02 00 00 48 89 cf bb 01 00
RSP: e02b:ffffc9000022be38 EFLAGS: 00010286
RAX: ffff800000000000 RBX: ffffffff81a06000 RCX: 8000000000000000
RDX: ffff888000001000 RSI: ffffc9000022be00 RDI: 00000001c53b4025
RBP: ffffc9000022bf00 R08: 0000000000000001 R09: 0720072007200700
R10: 0720072007200720 R11: 0720072007200720 R12: ffffffff81e0a800
R13: 0000000000000000 R14: ffff8881c53b4000 R15: ffff888000000000
FS:  00007f8060230740(0000) GS:ffff88801f400000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8881c53b4000 CR3: 0000000001e0a000 CR4: 0000000000000660
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009

Kernel Offset: disabled

Unless you are not using this patch x86/mm: Fix guard hole handling you will not be able to boot a stock Tiny Core Linux 10.1 @ Kernel 4.19.10-tinycore64 as XEN domU !

further readings:
XEN-Mailing-List
Fedora users mailing list

Best Regards
Halma
« Last Edit: January 16, 2020, 09:57:10 PM by halma »
1 + 2 = 6  cause  10 - 6 = 78 ;-) lol

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: TC10.1 / 4.19.10-tinycore64 XEN domU kernel panic at boot
« Reply #1 on: January 16, 2020, 09:37:58 PM »
Does 11.0beta1 show the same error?

Offline halma

  • Full Member
  • ***
  • Posts: 164
Re: TC10.1 / 4.19.10-tinycore64 XEN domU kernel panic at boot
« Reply #2 on: January 16, 2020, 10:01:23 PM »
Does 11.0beta1 show the same error?

Hello Juanito

did you mean 10.1beta1 ?? Typo ??
http://tinycorelinux.net/10.x/x86_64/release_candidates/

Best Regards
Halma
1 + 2 = 6  cause  10 - 6 = 78 ;-) lol

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: TC10.1 / 4.19.10-tinycore64 XEN domU kernel panic at boot
« Reply #3 on: January 16, 2020, 10:04:23 PM »
Hi halma
... did you mean 10.1beta1 ?? Typo ?? ...
No, there's a new release:
http://tinycorelinux.net/11.x/x86_64/release_candidates/

Offline halma

  • Full Member
  • ***
  • Posts: 164
Re: TC10.1 / 4.19.10-tinycore64 XEN domU kernel panic at boot
« Reply #4 on: January 16, 2020, 10:20:07 PM »
Hi Rich,

i tested with this file as kernel
and this file as ramdisk
under Debian10.1 x64@ Kernel 5.4.8 x64 @ XEN 4.13RELEASE to boot Tiny Core Linux 11 beta1 x64 and it works, no kernel panic at boot, without that patch posted at post#1

Output from domU:
Code: [Select]
uname -a
Linux tcdev 5.4.3-tinycore64 #2020 SMP Tue Dec 17 17:38:30 UTC 2019 x86_64 GNU/Linux

i think the patch was integrated in, at leat with Kernel Version 4.20 "And that's a problem.  We could gate the setting of machdep->machspec->page_offset
on LINUX(4, 20, 0), but since it's been backported, there needs to be another way
to best determine which PAGE_OFFSET value to use when KASLR is not in effect.

Dave"


Best Regards
Halma
« Last Edit: January 16, 2020, 10:21:55 PM by halma »
1 + 2 = 6  cause  10 - 6 = 78 ;-) lol