serenity: Fails to boot on Stone NOTCHA-116-7 / Via C7-M netbook
I recently acquired a Stone Computers NOTCHA-116-7 netbook which seemed to me to be a perfect candidate for running Serenity due to its CPU which which roughly equivalent to a PIII/Pentium-M, 1 GB RAM, 60 GB IDE HD, PS/2 keyboard/touchpad and that all-important integrated RTL-8139 NIC.
I spent all day yesterday setting up netboot.xyz on my home network specifically so I could try to install Serenity (USB boot failed and I had difficulty opening it up to physically access the disk) but I just get a few rows of pixels at the top of the screen when I try to boot serenity. Unfortunately it lacks a serial port and so I’m unable to get any real error messages out of it so if I’ve not already specifically requested that Serenity gains the ability to be able to print boot messages to the display then I’m requesting that now in order to help debug booting on such machines.
I have been able to successfully install Debian 10 on it and I have attached the dmesg output when booting Slackware on it, the key lines of which would seem to be:
DMI: Stone-Computers NOTCHA-116-7/VIA Demo Board, BIOS 6.00 02/21/2008
...
Initializing CPU#0
Initializing HighMem for node 0 (000373fe:0003bee0)
Initializing Movable for node 0 (00000000:00000000)
Memory: 900720K/981444K available (13177K kernel code, 1176K rwdata, 4208K rodata, 1004K init, 696K bss, 80724K reserved, 0K cma-reserved, 76680K highmem)
virtual kernel memory layout:
fixmap : 0xfffa1000 - 0xfffff000 ( 376 kB)
cpu_entry : 0xffc00000 - 0xffc28000 ( 160 kB)
pkmap : 0xff400000 - 0xff800000 (4096 kB)
vmalloc : 0xf7bfe000 - 0xff3fe000 ( 120 MB)
lowmem : 0xc0000000 - 0xf73fe000 ( 883 MB)
.init : 0xdae42000 - 0xdaf3d000 (1004 kB)
.data : 0xda8de5e0 - 0xdae22380 (5391 kB)
.text : 0xd9c00000 - 0xda8de5e0 (13177 kB)
Maybe this is failing due to the memory map as would seem to be the case for my other failed bare metal install? https://github.com/SerenityOS/serenity/issues/617
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 20 (19 by maintainers)
Commits related to this issue
- PATAChannel: Hang when no PCI device is found This helps aid debugging of issues such as #695, where the bridge chip that controls IDE is NOT a PIIX3/4 compatible controller. Instead of just hanging ... — committed to Quaker762/serenity by Quaker762 5 years ago
- PATAChannel: Hang when no PCI device is found This helps aid debugging of issues such as #695, where the bridge chip that controls IDE is NOT a PIIX3/4 compatible controller. Instead of just hanging ... — committed to Quaker762/serenity by Quaker762 5 years ago
- PATAChannel: Hang when no PCI device is found This helps aid debugging of issues such as #695, where the bridge chip that controls IDE is NOT a PIIX3/4 compatible controller. Instead of just hanging ... — committed to Quaker762/serenity by Quaker762 5 years ago
- PATAChannel: Alert user when no PCI device is found This helps aid debugging of issues such as #695, where the bridge chip that controls IDE is NOT a PIIX3/4 compatible controller. Instead of just h... — committed to Quaker762/serenity by Quaker762 5 years ago
- PATAChannel: Alert user when no PCI device is found This helps aid debugging of issues such as #695, where the bridge chip that controls IDE is NOT a PIIX3/4 compatible controller. Instead of just h... — committed to SerenityOS/serenity by Quaker762 5 years ago
The garbage pixels at the top of your screen are probably text content being written into the VGA framebuffer. I would try turning off the graphical stuff that we ask grub to do in boot.s (you might want the multiboot specification handy), which should let serenity write its boot log out to the screen. This is assuming there’s not a serial port available to get some logs from.
Edit: After reading this thread all the way through, I see you’ve already done this. Hooray!
I’d suggest to try fresh again with this - so install it on the harddrive and try to boot again. We have more features to see what’s going on even without serial console. Some boot flags you might want to specify:
enable_ioapic=off time=legacy disable_physical_networking disable_virtio
Let me know how it goes now that our kernel is more robust than 2 years ago.Will do when I next get a chance. This machine is in my office which I don’t visit very often.
Thanks for working on this @supercomputer7 !
Please check if you can disable the RAID functionality in the BIOS settings. It will be very useful if you can copy the
lspci
output here (although I gathered some info from thedmesg
log). I wonder if Linux detects some sort of SAS/SATA controller (I think I saw something like that in thedmesg
log) and tries to use it (again,lspci
output will help here).From my checking now, the problem is probably with your IDE controller. I tried to boot Serenity on q35 machine (with an AHCI controller), it halts on the same message:
This is your IDE Controller according to your dmesg log:
Which corresponds to:
0x8A - ISA Compatibility mode controller, supports both channels switched to PCI native mode, supports bus mastering
instead of the QEMU IDE controller:0x80 - ISA Compatibility mode-only controller, supports bus mastering