You are not logged in.

#1 2023-02-04 17:18:13

cypa
Member
Registered: 2021-06-30
Posts: 32

VIA Nano L2007 won't boot installation USB-drive with kernel panic

while it boots Ubuntu 14 i686 successfully

cypa@trusty:~$ cat /proc/cpuinfo 
processor	: 0
vendor_id	: CentaurHauls
cpu family	: 6
model		: 15
model name	: VIA Nano L2007@1600MHz
stepping	: 3
cpu MHz		: 800.000
cache size	: 1024 KB
physical id	: 0
siblings	: 1
core id		: 0
cpu cores	: 1
apicid		: 0
initial apicid	: 0
fdiv_bug	: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush acpi mmx fxsr sse sse2 ss tm syscall nx lm constant_tsc rep_good pni monitor vmx est tm2 ssse3 cx16 xtpr rng rng_en ace ace_en ace2 phe phe_en lahf_lm
bogomips	: 3192.22
clflush size	: 64
cache_alignment	: 128
address sizes	: 36 bits physical, 48 bits virtual
power management:

Last edited by cypa (2023-02-04 17:19:52)

Offline

#2 2023-02-04 17:41:19

loqs
Member
Registered: 2014-03-06
Posts: 18,455

Re: VIA Nano L2007 won't boot installation USB-drive with kernel panic

If you can  not capture the panic as text please post a link to a screen shot of the panic.

Offline

#3 2023-02-04 17:58:10

cypa
Member
Registered: 2021-06-30
Posts: 32

Re: VIA Nano L2007 won't boot installation USB-drive with kernel panic

kernel panic screen photo
http://5.172.23.43/alskdjflasjdfljsdfljasldfjsadljf/

Last edited by cypa (2023-02-04 18:04:32)

Offline

#4 2023-02-04 18:04:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,449

Re: VIA Nano L2007 won't boot installation USB-drive with kernel panic

That link appears dead, upload it to some image hosting site and post just the link.

Offline

#5 2023-02-04 18:05:02

cypa
Member
Registered: 2021-06-30
Posts: 32

Re: VIA Nano L2007 won't boot installation USB-drive with kernel panic

fixed link, try again please
http://5.172.23.43/alskdjflasjdfljsdfljasldfjsadljf/

Last edited by cypa (2023-02-04 18:09:10)

Offline

#6 2023-02-04 18:24:14

loqs
Member
Registered: 2014-03-06
Posts: 18,455

Re: VIA Nano L2007 won't boot installation USB-drive with kernel panic

It looks like it is a known issue with Via Nano's [1] which should be fixed by [2] which has not been applied.

[1] https://bugzilla.kernel.org/show_bug.cgi?id=212389
[2] https://lore.kernel.org/all/20210607013 … aoxin.com/
Edit:
Try adding initcall_blacklist=zhaoxin_pmu_init to the kernel parameters.

Last edited by loqs (2023-02-04 18:38:46)

Offline

#7 2023-02-04 20:06:53

cypa
Member
Registered: 2021-06-30
Posts: 32

Re: VIA Nano L2007 won't boot installation USB-drive with kernel panic

initcall_blacklist=zhaoxin_pmu_init gives same kernel panic

thank you anyway, I guess I should try to patch kernel

Offline

#8 2023-02-04 21:35:22

loqs
Member
Registered: 2014-03-06
Posts: 18,455

Re: VIA Nano L2007 won't boot installation USB-drive with kernel panic

You would also need to generate a new ISO with the custom kernel.  If it helps I built one for you:

https://drive.google.com/file/d/1fBYMcM … share_link archlinux-2023.02.04-x86_64.iso

Offline

#9 2023-02-05 07:45:55

cypa
Member
Registered: 2021-06-30
Posts: 32

Re: VIA Nano L2007 won't boot installation USB-drive with kernel panic

Wow! it's booted almost successfully
thank you very much

Offline

#10 2023-02-05 09:11:52

cypa
Member
Registered: 2021-06-30
Posts: 32

Re: VIA Nano L2007 won't boot installation USB-drive with kernel panic

BUG: soft lockup ...
see screen photo
http://5.172.23.43/alskdjflasjdf1562iwjasldfjsadljf/

Offline

#11 2023-02-05 11:36:14

loqs
Member
Registered: 2014-03-06
Posts: 18,455

Re: VIA Nano L2007 won't boot installation USB-drive with kernel panic

What network interfaces does the system have and what kernel modules do they use under Ubuntu?

Offline

#12 2023-02-05 12:15:14

cypa
Member
Registered: 2021-06-30
Posts: 32

Re: VIA Nano L2007 won't boot installation USB-drive with kernel panic

[    2.317204] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    2.317227] r8169 0000:05:00.0: can't disable ASPM; OS doesn't have ASPM control
[    2.317369] r8169 0000:05:00.0: PCI: Disallowing DAC for device
[    2.317523] r8169 0000:05:00.0: irq 68 for MSI/MSI-X
[    2.317815] r8169 0000:05:00.0 eth0: RTL8168e/8111e at 0xf840e000, 00:30:18:a6:5a:48, XID 0c200000 IRQ 68
[    2.317822] r8169 0000:05:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
...
[   15.002117] systemd-udevd[379]: renamed network interface eth0 to eth2
cypa@trusty:~$ lsmod | grep r8169
r8169                  61562  0 
mii                    13654  1 r8169

Offline

#13 2023-02-05 12:16:51

cypa
Member
Registered: 2021-06-30
Posts: 32

Re: VIA Nano L2007 won't boot installation USB-drive with kernel panic

cypa@trusty:~$ lspci
00:00.0 Host bridge: VIA Technologies, Inc. VX900 Host Bridge: Host Control (rev 80)
00:00.1 Host bridge: VIA Technologies, Inc. VX900 Error Reporting
00:00.2 Host bridge: VIA Technologies, Inc. VX900 CPU Bus Controller
00:00.3 Host bridge: VIA Technologies, Inc. VX900 DRAM Bus Control
00:00.4 Host bridge: VIA Technologies, Inc. VX900 Power Management and Chip Testing Control
00:00.5 Host bridge: VIA Technologies, Inc. VX900 APIC and Central Traffic Control
00:00.6 Host bridge: VIA Technologies, Inc. VX900 Scratch Registers
00:00.7 Host bridge: VIA Technologies, Inc. VX900 North-South Module Interface Control
00:01.0 VGA compatible controller: VIA Technologies, Inc. VX900 Graphics [Chrome9 HD]
00:01.1 Audio device: VIA Technologies, Inc. Device 9170
00:03.0 PCI bridge: VIA Technologies, Inc. VX900 PCI Express Root Port 0
00:03.1 PCI bridge: VIA Technologies, Inc. VX900 PCI Express Root Port 1
00:03.2 PCI bridge: VIA Technologies, Inc. VX900 PCI Express Root Port 2
00:03.3 PCI bridge: VIA Technologies, Inc. VX900 PCI Express Root Port 3
00:03.4 Host bridge: VIA Technologies, Inc. VX900 PCI Express Physical Layer Electrical Sub-block
00:0f.0 IDE interface: VIA Technologies, Inc. VX900 Serial ATA Controller
00:10.0 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller (rev a0)
00:10.1 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller (rev a0)
00:10.2 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller (rev a0)
00:10.3 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller (rev a0)
00:10.4 USB controller: VIA Technologies, Inc. USB 2.0 (rev 90)
00:11.0 ISA bridge: VIA Technologies, Inc. VX900 Bus Control and Power Management
00:11.7 Host bridge: VIA Technologies, Inc. VX8xx South-North Module Interface Control
00:13.0 PCI bridge: VIA Technologies, Inc. VX855/VX875/VX900 PCI to PCI Bridge
00:14.0 Audio device: VIA Technologies, Inc. VT8237A/VT8251 HDA Controller (rev 20)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)

Offline

#14 2023-02-05 13:39:42

seth
Member
Registered: 2012-09-03
Posts: 64,270

Re: VIA Nano L2007 won't boot installation USB-drive with kernel panic

Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller

Add "module_blacklist=r8169" to the kernel parameters, see whether that allows you to boot (w/o network) and then try to use https://archlinux.org/packages/community/x86_64/r8168/ (not sure whether that's on the install iso)

Offline

#15 2023-02-06 02:27:43

cypa
Member
Registered: 2021-06-30
Posts: 32

Re: VIA Nano L2007 won't boot installation USB-drive with kernel panic

no module_blacklist=r8169, nor modprobe.blacklist=r8169 change anything ...
situation is the same

BUG: soft lockup ...

Offline

#16 2023-02-06 07:17:16

seth
Member
Registered: 2012-09-03
Posts: 64,270

Re: VIA Nano L2007 won't boot installation USB-drive with kernel panic

Does

debug systemd.unit=rescue.target

get you anywhere or more output?

Offline

#17 2023-02-06 10:36:49

cypa
Member
Registered: 2021-06-30
Posts: 32

Re: VIA Nano L2007 won't boot installation USB-drive with kernel panic

I have no serial console cable for now, shall got it soon ...
http://5.172.23.43/alskdjfxxxxdf1562iwjasldfjsadljf/

last boot debug messages were on systemd udev

Last edited by cypa (2023-02-06 10:38:08)

Offline

#18 2023-02-06 11:44:24

seth
Member
Registered: 2012-09-03
Posts: 64,270

Re: VIA Nano L2007 won't boot installation USB-drive with kernel panic

Blacklist kvm_intel

Offline

#19 2023-02-06 12:51:11

cypa
Member
Registered: 2021-06-30
Posts: 32

Re: VIA Nano L2007 won't boot installation USB-drive with kernel panic

Wow! Success! It's booted.

thank you very much indeed wink

root@archiso ~ # cat /proc/cmdline 
BOOT_IMAGE=/arch/boot/x86_64/vmlinuz-linux archisobasedir=arch archisolabel=ARCH_202302 modprobe.blacklist=kvm_intel debug initrd=/arch/boot/x86_64/initramfs-linux.img

Last edited by cypa (2023-02-06 12:53:33)

Offline

#20 2023-02-06 14:24:20

seth
Member
Registered: 2012-09-03
Posts: 64,270

Re: VIA Nano L2007 won't boot installation USB-drive with kernel panic

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

I found https://bugs.launchpad.net/ubuntu/+sour … bug/712416 so this is apparently a loooong standing issue.
Arguebly the modules alias should™ not match your CPU (as it's not intel…), but I don't know whether that's even reasonably possible.

Offline

#21 2023-02-06 17:58:34

cypa
Member
Registered: 2021-06-30
Posts: 32

Re: VIA Nano L2007 won't boot installation USB-drive with kernel panic

loqs wrote:

You would also need to generate a new ISO with the custom kernel.  If it helps I built one for you:

https://drive.google.com/file/d/1fBYMcM … share_link archlinux-2023.02.04-x86_64.iso

could you please hint what is the custom kernel? how do I add this kernel to my OS?

Offline

#22 2023-02-06 18:48:31

loqs
Member
Registered: 2014-03-06
Posts: 18,455

Re: VIA Nano L2007 won't boot installation USB-drive with kernel panic

https://drive.google.com/file/d/12tAk77 … share_link linux-6.1.9.arch1-1.1-x86_64.pkg.tar.zst

Which should get you booting.
To build the custom kernel locally install base-devel and git then

$ git clone https://github.com/archlinux/svntogit-packages --single-branch --branch 'packages/linux' linux
$ cd linux/trunk
$ curl -o PKGBUILD.diff http://ix.io/4njz # get the changes to the PKGBUILD to apply the patch you need and not build docs
$ git apply -v PKGBUILD.diff # apply the changes
$ gpg --import keys/pgp/* # import keys
$ makepkg -rsi # build the package and install it see https://wiki.archlinux.org/title/Makepkg#Parallel_compilation to build on all cores

Offline

Board footer

Powered by FluxBB