#16881: qemu, malta le: Kernel panic - not syncing: Attempted to kill init!
exitcode=0x00000004
------------------------+------------------------------------------
Reporter: dwrobel@… | Owner: florian
Type: defect | Status: accepted
Priority: low | Milestone: Barrier Breaker (trunk)
Component: kernel | Version: Trunk
Resolution: | Keywords: qemu, malta, mipsel, r41302
------------------------+------------------------------------------
Comment (by zloop):
I did some compile tests and found out it's an issue with MIPS16
for example deactivating MIPS16 in menuconfig -> Advanced configuration
options -> Target Options
results in a working initramfs with qemu-system-mipsel
successful running with
{{{
qemu-system-mipsel -kernel openwrt-malta-le-vmlinux-initramfs.elf
-nographic -m 256
}}}
editing default diffconfig to a working one like:
{{{
./scripts/diffconfig.sh
CONFIG_TARGET_malta=y
CONFIG_TARGET_malta_le=y
CONFIG_TARGET_malta_le_Default=y
CONFIG_DEVEL=y
CONFIG_BUILD_LOG=y
CONFIG_DOWNLOAD_FOLDER="/home/tenchi/prog/git/dl"
CONFIG_DRIVER_11N_SUPPORT=y
CONFIG_KERNEL_RELAY=y
CONFIG_LOCALMIRROR="file:///home/tenchi/prog/git/mirror"
CONFIG_PACKAGE_dnsmasq=y
CONFIG_PACKAGE_firewall=y
CONFIG_PACKAGE_ip6tables=y
CONFIG_PACKAGE_iptables=y
CONFIG_PACKAGE_kmod-ath=y
CONFIG_PACKAGE_kmod-ath9k=y
CONFIG_PACKAGE_kmod-ath9k-common=y
CONFIG_PACKAGE_kmod-gpio-button-hotplug=y
CONFIG_PACKAGE_kmod-ip6tables=y
CONFIG_PACKAGE_kmod-ipt-conntrack=y
CONFIG_PACKAGE_kmod-ipt-core=y
CONFIG_PACKAGE_kmod-ipt-nat=y
CONFIG_PACKAGE_kmod-ipt-nathelper=y
CONFIG_PACKAGE_kmod-ipv6=y
CONFIG_PACKAGE_kmod-ledtrig-usbdev=y
CONFIG_PACKAGE_kmod-lib-crc-ccitt=y
# CONFIG_PACKAGE_kmod-mac80211-hwsim is not set
# CONFIG_PACKAGE_kmod-mii is not set
CONFIG_PACKAGE_kmod-nls-base=y
# CONFIG_PACKAGE_kmod-pcnet32 is not set
CONFIG_PACKAGE_kmod-ppp=y
CONFIG_PACKAGE_kmod-pppoe=y
CONFIG_PACKAGE_kmod-pppox=y
CONFIG_PACKAGE_kmod-slhc=y
CONFIG_PACKAGE_kmod-usb-core=y
CONFIG_PACKAGE_kmod-usb-ohci=y
CONFIG_PACKAGE_kmod-usb2=y
CONFIG_PACKAGE_libip4tc=y
CONFIG_PACKAGE_libip6tc=y
CONFIG_PACKAGE_libxtables=y
CONFIG_PACKAGE_odhcp6c=y
CONFIG_PACKAGE_odhcp6c_ext_cer_id=0
CONFIG_PACKAGE_odhcp6c_ext_prefix_class=0
CONFIG_PACKAGE_odhcp6c_ext_s46=0
CONFIG_PACKAGE_odhcpd=y
CONFIG_PACKAGE_odhcpd_ext_cer_id=0
CONFIG_PACKAGE_odhcpd_ext_prefix_class=0
CONFIG_PACKAGE_ppp=y
CONFIG_PACKAGE_ppp-mod-pppoe=y
CONFIG_PACKAGE_swconfig=y
CONFIG_PACKAGE_uboot-envtools=y
CONFIG_TARGET_OPTIONS=y
CONFIG_TARGET_ROOTFS_SQUASHFS=y
CONFIG_TARGET_SQUASHFS_BLOCK_SIZE=256
# CONFIG_USE_MIPS16 is not set
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/16881#comment:7>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets