Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#285 - Kernel panic on ebox-3300 (Vortex86DX CPU) #5779

Closed
openwrt-bot opened this issue Nov 14, 2016 · 1 comment
Closed

FS#285 - Kernel panic on ebox-3300 (Vortex86DX CPU) #5779

openwrt-bot opened this issue Nov 14, 2016 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

@openwrt-bot openwrt-bot commented Nov 14, 2016

zhoushiyi213:

The firmware (Reboot, HEAD r2115) failed to boot on the x86 hardware of ebox3300a (http://www.compactpc.com.tw/product.aspx?act=detail&id=16). The CPU does not support PAE so I used legacy profile to compile. The boot log says that the CPU supports x2apic (really? Also no such option in BIOS) but the kernel does not:

[ 0.000000] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:2304 nr_irqs:32 16
[ 0.000000] Console: colour VGA+ 80x25
[ 0.000000] console [tty0] enabled
[ 0.000000] console [ttyS0] enabled
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.000000] tsc: Detected 933.313 MHz processor
[ 0.010013] Calibrating delay loop (skipped), value calculated using timer frequency.. 1866.62 BogoMIPS (lpj=9333130)
[ 0.010543] pid_max: default: 32768 minimum: 301
[ 0.011016] Mound-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.011336] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.013527] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.013805] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[ 0.014084] CPU: Vortex86 SoC 05/02 (family: 0x5, model: 0x2, stepping: 0x2)
[ 0.020554] Performance Events: no PMU driver, software events only.
[ 0.020923] Kernel panic - not syncing: BIOS has enabled x2apic but kernel doesn't support s2apic, please disable x2apic in BIOS.
[ 0.020923]
[ 0.021544] Rebooting in 1 seconds..

In contrast, the machine boots well with openwrt Chaos Calmer 15.05.1 x86 generic (without IDE controller driver, though), and it also works well with the kernel from Debian sid installation iso.

Besides, there are patches that fixes its IDE controller detection as well as ethernet adapter (https://lists.openwrt.org/pipermail/openwrt-devel/2014-October/028981.html and https://lists.openwrt.org/pipermail/openwrt-devel/2014-October/028983.html). Since there is not supposed to be too many specific profiles, should we adopt these patches?

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Dec 25, 2016

Hauke:

This problem is probably caused by this change in upstream Linux kernel:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d524165cb8dbb2ce5916cd7682236b9324ae2644

it is not possible to activate x2apic support in a 32 bit kernel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant