Re: non-booting kernel caused by "parisc: Switch from GENERIC_CPU_DEVICES to GENERIC_ARCH_TOPOLOGY"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Mikulas,

On 5/31/22 12:43, Mikulas Patocka wrote:
> The kernel 5.18 doesn't boot on my C8000 with two dual-core CPUs. It hangs
> at this point:
>
> [    0.000000] NR_IRQS: 80
> [    0.000002] sched_clock: 64 bits at 1000MHz, resolution 1ns, wraps every 4398046511103ns
> [    0.107049] Console: colour dummy device 160x64
> [    0.166791] Calibrating delay loop... 1991.60 BogoMIPS (lpj=3317760)
> [    0.270079] pid_max: default: 32768 minimum: 301
> [    0.330158] random: get_random_bytes called from net_ns_init+0x118/0x4c8 with crng_init=0
> [    0.330394] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
> [    0.536892] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
> [    0.644729] cblist_init_generic: Setting adjustable number of callback queues.
> [    0.740083] cblist_init_generic: Setting shift to 2 and lim to 1.
> [    0.820179] TOC handler registered
> [    0.866852] rcu: Hierarchical SRCU implementation.
> [    0.930550] smp: Bringing up secondary CPUs ...
> [    0.990084] smp: Brought up 1 node, 1 CPU
>
> I bisected it and it is caused by the commit
> 62773112acc55d29727465d075fc61ed08a0a532 ("parisc: Switch from
> GENERIC_CPU_DEVICES to GENERIC_ARCH_TOPOLOGY")
>
> When I revert this patch on the kernel 5.18 (and resolve several
> conflcits), the kernel boots.

You are really sure that you test v5.18-final, right?
If not there were multiple hickups during the -rc phases of v5.18, and
bisecting through the -rc versions won't help much because we had multiple
issues which conflicted with each other and prevented a boot.

But those should have been resolved with my "for-5.18/parisc-3" push, which e.g.
partly re-enabled GENERIC_CPU_DEVICES:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f002488d80b557c7dc540457b176011449895fcb
Esp. this commit ("Re-enable GENERIC_CPU_DEVICES for !SMP") fixed it for non-SMP:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1955c4f879a130c7822f483cf593338ad747aed4

So, right now I'm somehow lost how I can help.
You could you send me your .config, then I'll check locally.
Please also try a "make oldconfig" with your .config so that the options don't have any leftovers.

Helge




[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux