Current kernel fails to compile with KVM on PowerPC
Subsystems (3)
Hello everybody,
I'm trying to build the kernel with the git commit-id 31555213f03bca37d2c02e10946296052f4ecfcd, but it fails
CHK include/linux/version.h HOSTCC scripts/mod/modpost.o CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTLD scripts/mod/modpost GEN include/generated/bounds.h CC arch/powerpc/kernel/asm-offsets.s
In file included from arch/powerpc/kernel/asm-offsets.c:59:0:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h: In function ‘compute_tlbie_rb’:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: error: ‘HPTE_V_SECONDARY’ undeclared (first use in this function) /home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: note: each undeclared identifier is reported only once for each function it appears in /home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:396:12: error: ‘HPTE_V_1TB_SEG’ undeclared (first use in this function) /home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:401:10: error: ‘HPTE_V_LARGE’ undeclared (first use in this function) /home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:415:2: warning: right shift count >= width of type [enabled by default] make[3]: *** [arch/powerpc/kernel/asm-offsets.s] Fehler 1
make[2]: *** [prepare0] Fehler 2
make[1]: *** [deb-pkg] Fehler 2
make: *** [deb-pkg] Fehler 2
% uname -m
ppc
% grep -Ev '#|^$' .configCONFIG_PPC_BOOK3S_32=yCONFIG_PPC_BOOK3S=y
CONFIG_6xx=yCONFIG_PPC_FPU=yCONFIG_ALTIVEC=yCONFIG_PPC_STD_MMU=yCONFIG_PPC_STD_MMU_32=y CONFIG_PPC_HAVE_PMU_SUPPORT=y CONFIG_PPC_PERF_CTRS=yCONFIG_PPC32=yCONFIG_32BIT=yCONFIG_WORD_SIZE=32CONFIG_MMU=yCONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=yCONFIG_NR_IRQS=512CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_GENERIC_HWEIGHT=yCONFIG_PPC=yCONFIG_EARLY_PRINTK=yCONFIG_GENERIC_NVRAM=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=yCONFIG_PPC_OF=yCONFIG_AUDIT_ARCH=yCONFIG_GENERIC_BUG=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y CONFIG_ARCH_HIBERNATION_POSSIBLE=y CONFIG_ARCH_SUSPEND_POSSIBLE=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" CONFIG_HAVE_IRQ_WORK=yCONFIG_IRQ_WORK=yCONFIG_EXPERIMENTAL=yCONFIG_BROKEN_ON_SMP=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_CROSS_COMPILE=""CONFIG_LOCALVERSION=""CONFIG_LOCALVERSION_AUTO=y CONFIG_DEFAULT_HOSTNAME="(none)"CONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_SYSVIPC_SYSCTL=yCONFIG_POSIX_MQUEUE=yCONFIG_POSIX_MQUEUE_SYSCTL=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_BSD_PROCESS_ACCT_V3=yCONFIG_TASKSTATS=yCONFIG_TASK_DELAY_ACCT=yCONFIG_TASK_XACCT=yCONFIG_TASK_IO_ACCOUNTING=yCONFIG_AUDIT=yCONFIG_HAVE_GENERIC_HARDIRQS=y CONFIG_GENERIC_HARDIRQS=yCONFIG_HAVE_SPARSE_IRQ=yCONFIG_GENERIC_IRQ_SHOW=y CONFIG_GENERIC_IRQ_SHOW_LEVEL=y CONFIG_SPARSE_IRQ=yCONFIG_TINY_RCU=yCONFIG_LOG_BUF_SHIFT=16CONFIG_CGROUPS=yCONFIG_CGROUP_FREEZER=yCONFIG_CGROUP_DEVICE=yCONFIG_CPUSETS=yCONFIG_CGROUP_CPUACCT=yCONFIG_RESOURCE_COUNTERS=y CONFIG_CGROUP_MEM_RES_CTLR=y CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y CONFIG_CGROUP_MEM_RES_CTLR_SWAP_ENABLED=y CONFIG_CGROUP_SCHED=yCONFIG_FAIR_GROUP_SCHED=yCONFIG_CFS_BANDWIDTH=yCONFIG_BLK_CGROUP=yCONFIG_NAMESPACES=yCONFIG_UTS_NS=yCONFIG_IPC_NS=yCONFIG_USER_NS=yCONFIG_PID_NS=yCONFIG_NET_NS=yCONFIG_SCHED_AUTOGROUP=yCONFIG_MM_OWNER=yCONFIG_RELAY=yCONFIG_CC_OPTIMIZE_FOR_SIZE=yCONFIG_SYSCTL=yCONFIG_ANON_INODES=yCONFIG_KALLSYMS=yCONFIG_HOTPLUG=yCONFIG_PRINTK=yCONFIG_BUG=yCONFIG_ELF_CORE=yCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_SIGNALFD=yCONFIG_TIMERFD=yCONFIG_EVENTFD=yCONFIG_SHMEM=yCONFIG_AIO=yCONFIG_HAVE_PERF_EVENTS=yCONFIG_PERF_EVENTS=yCONFIG_VM_EVENT_COUNTERS=yCONFIG_PCI_QUIRKS=yCONFIG_SLUB_DEBUG=yCONFIG_SLUB=yCONFIG_TRACEPOINTS=yCONFIG_HAVE_OPROFILE=yCONFIG_KPROBES=yCONFIG_JUMP_LABEL=y CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_KRETPROBES=yCONFIG_HAVE_IOREMAP_PROT=yCONFIG_HAVE_KPROBES=yCONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_ATTRS=y CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y CONFIG_HAVE_DMA_API_DEBUG=y CONFIG_HAVE_ARCH_JUMP_LABEL=y CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y CONFIG_SLABINFO=yCONFIG_RT_MUTEXES=yCONFIG_BASE_SMALL=0CONFIG_MODULES=yCONFIG_MODULE_UNLOAD=y CONFIG_MODULE_SRCVERSION_ALL=yCONFIG_BLOCK=yCONFIG_LBDAF=yCONFIG_BLK_DEV_INTEGRITY=y CONFIG_BLK_DEV_THROTTLING=yCONFIG_IOSCHED_NOOP=yCONFIG_IOSCHED_DEADLINE=yCONFIG_IOSCHED_CFQ=yCONFIG_DEFAULT_CFQ=yCONFIG_DEFAULT_IOSCHED="cfq" CONFIG_PREEMPT_NOTIFIERS=y CONFIG_INLINE_SPIN_UNLOCK=y CONFIG_INLINE_SPIN_UNLOCK_IRQ=y CONFIG_INLINE_READ_UNLOCK=y CONFIG_INLINE_READ_UNLOCK_IRQ=y CONFIG_INLINE_WRITE_UNLOCK=y CONFIG_INLINE_WRITE_UNLOCK_IRQ=yCONFIG_FREEZER=yCONFIG_PPC_PMAC=yCONFIG_PPC_NATIVE=y CONFIG_PPC_OF_BOOT_TRAMPOLINE=yCONFIG_MPIC=yCONFIG_PPC_MPC106=yCONFIG_CPU_FREQ=yCONFIG_CPU_FREQ_TABLE=yCONFIG_CPU_FREQ_STAT=y CONFIG_CPU_FREQ_STAT_DETAILS=y CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_POWERSAVE=y CONFIG_CPU_FREQ_PMAC=yCONFIG_TAU=yCONFIG_TAU_AVERAGE=yCONFIG_TICK_ONESHOT=yCONFIG_NO_HZ=yCONFIG_HIGH_RES_TIMERS=y CONFIG_GENERIC_CLOCKEVENTS_BUILD=y CONFIG_HZ_1000=yCONFIG_HZ=1000CONFIG_SCHED_HRTICK=yCONFIG_PREEMPT_VOLUNTARY=yCONFIG_PREEMPT_COUNT=yCONFIG_BINFMT_ELF=y CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y CONFIG_ARCH_HAS_WALK_MEMORY=y CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y CONFIG_MAX_ACTIVE_REGIONS=32 CONFIG_ARCH_FLATMEM_ENABLE=y CONFIG_ARCH_POPULATES_NODE_MAP=y CONFIG_SELECT_MEMORY_MODEL=y CONFIG_FLATMEM_MANUAL=yCONFIG_FLATMEM=yCONFIG_FLAT_NODE_MEM_MAP=yCONFIG_HAVE_MEMBLOCK=yCONFIG_PAGEFLAGS_EXTENDED=y CONFIG_SPLIT_PTLOCK_CPUS=4CONFIG_COMPACTION=yCONFIG_MIGRATION=yCONFIG_ZONE_DMA_FLAG=1CONFIG_BOUNCE=yCONFIG_VIRT_TO_BUS=y CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 CONFIG_NEED_PER_CPU_KM=yCONFIG_CLEANCACHE=yCONFIG_PPC_4K_PAGES=y CONFIG_FORCE_MAX_ZONEORDER=13 CONFIG_EXTRA_TARGETS="" CONFIG_ARCH_WANTS_FREEZER_CONTROL=y CONFIG_SUSPEND=yCONFIG_SUSPEND_FREEZER=yCONFIG_PM_SLEEP=yCONFIG_PM_RUNTIME=yCONFIG_PM=yCONFIG_APM_EMULATION=yCONFIG_SECCOMP=yCONFIG_ISA_DMA_API=yCONFIG_ZONE_DMA=yCONFIG_NEED_SG_DMA_LENGTH=y CONFIG_GENERIC_ISA_DMA=yCONFIG_PPC_INDIRECT_PCI=yCONFIG_PCI=yCONFIG_PCI_DOMAINS=yCONFIG_PCI_SYSCALL=yCONFIG_ARCH_SUPPORTS_MSI=y CONFIG_LOWMEM_SIZE=0x30000000 CONFIG_PAGE_OFFSET=0xc0000000 CONFIG_KERNEL_START=0xc0000000 CONFIG_PHYSICAL_START=0x00000000 CONFIG_TASK_SIZE=0xc0000000CONFIG_NET=yCONFIG_PACKET=yCONFIG_UNIX=yCONFIG_XFRM=yCONFIG_INET=yCONFIG_INET_DIAG=yCONFIG_INET_TCP_DIAG=yCONFIG_TCP_CONG_ADVANCED=yCONFIG_TCP_CONG_BIC=mCONFIG_TCP_CONG_CUBIC=yCONFIG_TCP_CONG_WESTWOOD=mCONFIG_TCP_CONG_HTCP=mCONFIG_TCP_CONG_HYBLA=mCONFIG_TCP_CONG_VEGAS=mCONFIG_DEFAULT_CUBIC=y CONFIG_DEFAULT_TCP_CONG="cubic"CONFIG_IPV6=mCONFIG_IPV6_PRIVACY=y CONFIG_INET6_XFRM_MODE_TUNNEL=mCONFIG_NETFILTER=yCONFIG_NETFILTER_NETLINK=mCONFIG_NF_CONNTRACK=mCONFIG_NF_CONNTRACK_FTP=m CONFIG_NF_CONNTRACK_IRC=m CONFIG_NF_CONNTRACK_SIP=mCONFIG_NF_CT_NETLINK=mCONFIG_NETFILTER_XTABLES=m CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m CONFIG_NETFILTER_XT_MATCH_STATE=m CONFIG_NF_DEFRAG_IPV4=mCONFIG_NF_CONNTRACK_IPV4=mCONFIG_IP_NF_IPTABLES=mCONFIG_IP_NF_FILTER=mCONFIG_IP_NF_TARGET_REJECT=m CONFIG_IP_NF_TARGET_LOG=mCONFIG_NF_NAT=mCONFIG_NF_NAT_NEEDED=y CONFIG_IP_NF_TARGET_MASQUERADE=m CONFIG_NF_NAT_FTP=mCONFIG_NF_NAT_IRC=mCONFIG_NF_NAT_SIP=mCONFIG_NF_DEFRAG_IPV6=mCONFIG_NF_CONNTRACK_IPV6=m CONFIG_IP6_NF_IPTABLES=m CONFIG_IP6_NF_MATCH_IPV6HEADER=m CONFIG_IP6_NF_TARGET_LOG=mCONFIG_IP6_NF_FILTER=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_MANGLE=mCONFIG_BRIDGE_NF_EBTABLES=m CONFIG_BRIDGE_EBT_BROUTE=m CONFIG_BRIDGE_EBT_T_FILTER=m CONFIG_BRIDGE_EBT_T_NAT=m CONFIG_BRIDGE_EBT_802_3=m CONFIG_BRIDGE_EBT_AMONG=mCONFIG_BRIDGE_EBT_ARP=mCONFIG_BRIDGE_EBT_IP=mCONFIG_BRIDGE_EBT_IP6=mCONFIG_BRIDGE_EBT_LIMIT=mCONFIG_BRIDGE_EBT_MARK=m CONFIG_BRIDGE_EBT_PKTTYPE=m CONFIG_BRIDGE_EBT_STP=mCONFIG_BRIDGE_EBT_VLAN=m CONFIG_BRIDGE_EBT_ARPREPLY=m CONFIG_BRIDGE_EBT_DNAT=m CONFIG_BRIDGE_EBT_MARK_T=m CONFIG_BRIDGE_EBT_REDIRECT=m CONFIG_BRIDGE_EBT_SNAT=mCONFIG_BRIDGE_EBT_LOG=mCONFIG_BRIDGE_EBT_ULOG=mCONFIG_BRIDGE_EBT_NFLOG=mCONFIG_STP=mCONFIG_BRIDGE=mCONFIG_BRIDGE_IGMP_SNOOPING=yCONFIG_VLAN_8021Q=mCONFIG_LLC=mCONFIG_NET_SCHED=yCONFIG_NET_SCH_CBQ=mCONFIG_NET_SCH_HTB=mCONFIG_NET_SCH_PRIO=mCONFIG_NET_SCH_RED=mCONFIG_NET_SCH_SFB=yCONFIG_NET_SCH_SFQ=mCONFIG_NET_SCH_CHOKE=yCONFIG_NET_CLS=yCONFIG_NET_CLS_BASIC=mCONFIG_NET_CLS_TCINDEX=mCONFIG_NET_CLS_U32=mCONFIG_NET_SCH_FIFO=yCONFIG_DNS_RESOLVER=yCONFIG_WIRELESS=yCONFIG_WEXT_CORE=yCONFIG_WEXT_PROC=yCONFIG_CFG80211=mCONFIG_CFG80211_DEFAULT_PS=y CONFIG_CFG80211_WEXT=yCONFIG_LIB80211=mCONFIG_MAC80211=mCONFIG_MAC80211_HAS_RC=y CONFIG_MAC80211_RC_MINSTREL=y CONFIG_MAC80211_RC_MINSTREL_HT=y CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y CONFIG_MAC80211_RC_DEFAULT="minstrel_ht" CONFIG_UEVENT_HELPER_PATH=""CONFIG_DEVTMPFS=yCONFIG_STANDALONE=y CONFIG_PREVENT_FIRMWARE_BUILD=yCONFIG_FW_LOADER=yCONFIG_FIRMWARE_IN_KERNEL=y CONFIG_EXTRA_FIRMWARE=""CONFIG_DTC=yCONFIG_OF=yCONFIG_PROC_DEVICETREE=yCONFIG_OF_FLATTREE=yCONFIG_OF_EARLY_FLATTREE=yCONFIG_OF_DYNAMIC=yCONFIG_OF_ADDRESS=yCONFIG_OF_IRQ=yCONFIG_OF_DEVICE=yCONFIG_OF_I2C=yCONFIG_OF_NET=yCONFIG_OF_PCI=yCONFIG_OF_PCI_IRQ=yCONFIG_BLK_DEV=yCONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_LOOP_MIN_COUNT=8CONFIG_HAVE_IDE=yCONFIG_SCSI_MOD=yCONFIG_SCSI=yCONFIG_SCSI_DMA=yCONFIG_BLK_DEV_SD=yCONFIG_BLK_DEV_SR=mCONFIG_CHR_DEV_SG=mCONFIG_SCSI_MULTI_LUN=yCONFIG_SCSI_WAIT_SCAN=mCONFIG_SCSI_LOWLEVEL=yCONFIG_ATA=yCONFIG_ATA_VERBOSE_ERROR=yCONFIG_ATA_SFF=yCONFIG_ATA_BMDMA=yCONFIG_PATA_MACIO=yCONFIG_MD=yCONFIG_BLK_DEV_DM=yCONFIG_DM_CRYPT=yCONFIG_FIREWIRE=mCONFIG_FIREWIRE_OHCI=m CONFIG_FIREWIRE_OHCI_DEBUG=y CONFIG_FIREWIRE_SBP2=mCONFIG_MACINTOSH_DRIVERS=yCONFIG_ADB=yCONFIG_ADB_PMU=yCONFIG_ADB_PMU_LED=yCONFIG_ADB_PMU_LED_DISK=yCONFIG_PMAC_APM_EMU=yCONFIG_PMAC_BACKLIGHT=y CONFIG_PMAC_BACKLIGHT_LEGACY=y CONFIG_INPUT_ADBHID=yCONFIG_MAC_EMUMOUSEBTN=yCONFIG_THERM_ADT746X=yCONFIG_NETDEVICES=yCONFIG_NET_CORE=yCONFIG_MII=mCONFIG_MACVLAN=mCONFIG_MACVTAP=mCONFIG_NETCONSOLE=yCONFIG_NETPOLL=yCONFIG_NET_POLL_CONTROLLER=yCONFIG_TUN=mCONFIG_VETH=mCONFIG_SUNGEM_PHY=yCONFIG_ETHERNET=yCONFIG_NET_VENDOR_APPLE=y CONFIG_NET_VENDOR_SILAN=yCONFIG_NET_VENDOR_SUN=yCONFIG_SUNGEM=yCONFIG_PPP=mCONFIG_PPP_BSDCOMP=mCONFIG_PPP_DEFLATE=mCONFIG_PPP_FILTER=yCONFIG_PPP_MPPE=mCONFIG_PPP_MULTILINK=yCONFIG_PPP_ASYNC=mCONFIG_SLHC=mCONFIG_USB_USBNET=mCONFIG_USB_NET_CDCETHER=mCONFIG_USB_NET_CDC_NCM=mCONFIG_USB_NET_ZAURUS=mCONFIG_WLAN=yCONFIG_B43=mCONFIG_B43_SSB=yCONFIG_B43_PCI_AUTOSELECT=y CONFIG_B43_PCICORE_AUTOSELECT=yCONFIG_B43_PIO=yCONFIG_B43_PHY_LP=yCONFIG_B43_HWRNG=yCONFIG_B43_DEBUG=yCONFIG_B43LEGACY=m CONFIG_B43LEGACY_PCI_AUTOSELECT=y CONFIG_B43LEGACY_PCICORE_AUTOSELECT=y CONFIG_B43LEGACY_HWRNG=yCONFIG_B43LEGACY_DEBUG=yCONFIG_B43LEGACY_DMA=yCONFIG_B43LEGACY_PIO=y CONFIG_B43LEGACY_DMA_AND_PIO_MODE=yCONFIG_INPUT=yCONFIG_INPUT_FF_MEMLESS=mCONFIG_INPUT_POLLDEV=mCONFIG_INPUT_MOUSEDEV=y CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 CONFIG_INPUT_EVDEV=mCONFIG_VT=yCONFIG_CONSOLE_TRANSLATIONS=yCONFIG_VT_CONSOLE=yCONFIG_VT_CONSOLE_SLEEP=yCONFIG_HW_CONSOLE=yCONFIG_UNIX98_PTYS=y CONFIG_DEVPTS_MULTIPLE_INSTANCES=y CONFIG_SERIAL_CORE=mCONFIG_SERIAL_PMACZILOG=mCONFIG_HW_RANDOM=mCONFIG_NVRAM=yCONFIG_GEN_RTC=yCONFIG_GEN_RTC_X=yCONFIG_DEVPORT=yCONFIG_RAMOOPS=yCONFIG_I2C=yCONFIG_I2C_BOARDINFO=yCONFIG_I2C_HELPER_AUTO=yCONFIG_I2C_ALGOBIT=yCONFIG_I2C_POWERMAC=y CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y CONFIG_POWER_SUPPLY=yCONFIG_POWER_SUPPLY_DEBUG=yCONFIG_BATTERY_PMU=yCONFIG_HWMON=yCONFIG_SSB_POSSIBLE=yCONFIG_SSB=mCONFIG_SSB_SPROM=yCONFIG_SSB_BLOCKIO=yCONFIG_SSB_PCIHOST_POSSIBLE=yCONFIG_SSB_PCIHOST=yCONFIG_SSB_B43_PCI_BRIDGE=y CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y CONFIG_SSB_DRIVER_PCICORE=yCONFIG_BCMA_POSSIBLE=yCONFIG_AGP=yCONFIG_AGP_UNINORTH=yCONFIG_VGA_ARB=yCONFIG_VGA_ARB_MAX_GPUS=16CONFIG_DRM=yCONFIG_DRM_KMS_HELPER=yCONFIG_DRM_TTM=yCONFIG_DRM_RADEON=yCONFIG_DRM_RADEON_KMS=y CONFIG_VIDEO_OUTPUT_CONTROL=mCONFIG_FB=yCONFIG_FIRMWARE_EDID=yCONFIG_FB_DDC=yCONFIG_FB_CFB_FILLRECT=yCONFIG_FB_CFB_COPYAREA=yCONFIG_FB_CFB_IMAGEBLIT=yCONFIG_FB_MACMODES=yCONFIG_FB_BACKLIGHT=yCONFIG_FB_MODE_HELPERS=yCONFIG_FB_RADEON=yCONFIG_FB_RADEON_I2C=y CONFIG_FB_RADEON_BACKLIGHT=y CONFIG_BACKLIGHT_LCD_SUPPORT=y CONFIG_LCD_CLASS_DEVICE=yCONFIG_LCD_PLATFORM=y CONFIG_BACKLIGHT_CLASS_DEVICE=y CONFIG_BACKLIGHT_GENERIC=m CONFIG_DISPLAY_SUPPORT=mCONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=yCONFIG_SOUND=mCONFIG_SOUND_OSS_CORE=yCONFIG_SND=mCONFIG_SND_TIMER=mCONFIG_SND_PCM=mCONFIG_SND_SEQUENCER=mCONFIG_SND_OSSEMUL=yCONFIG_SND_MIXER_OSS=mCONFIG_SND_PCM_OSS=mCONFIG_SND_PCM_OSS_PLUGINS=yCONFIG_SND_HRTIMER=m CONFIG_SND_SEQ_HRTIMER_DEFAULT=y CONFIG_SND_VERBOSE_PROCFS=yCONFIG_SND_VMASTER=yCONFIG_SND_PPC=yCONFIG_SND_POWERMAC=m CONFIG_SND_POWERMAC_AUTO_DRC=yCONFIG_SND_AOA=mCONFIG_SND_AOA_FABRIC_LAYOUT=m CONFIG_SND_AOA_ONYX=mCONFIG_SND_AOA_TAS=mCONFIG_SND_AOA_SOUNDBUS=m CONFIG_SND_AOA_SOUNDBUS_I2S=mCONFIG_HID_SUPPORT=yCONFIG_HID=yCONFIG_USB_HID=mCONFIG_HID_A4TECH=mCONFIG_HID_APPLE=mCONFIG_HID_BELKIN=mCONFIG_HID_CHERRY=mCONFIG_HID_CHICONY=mCONFIG_HID_CYPRESS=mCONFIG_HID_DRAGONRISE=mCONFIG_HID_EZKEY=mCONFIG_HID_KYE=mCONFIG_HID_GYRATION=mCONFIG_HID_TWINHAN=mCONFIG_HID_KENSINGTON=mCONFIG_HID_LOGITECH=mCONFIG_HID_LOGITECH_DJ=mCONFIG_HID_MICROSOFT=mCONFIG_HID_MONTEREY=mCONFIG_HID_NTRIG=mCONFIG_HID_ORTEK=mCONFIG_HID_PANTHERLORD=mCONFIG_HID_PETALYNX=mCONFIG_HID_SAMSUNG=mCONFIG_HID_SONY=mCONFIG_HID_SUNPLUS=mCONFIG_HID_GREENASIA=mCONFIG_HID_SMARTJOYPLUS=mCONFIG_HID_TOPSEED=mCONFIG_HID_THRUSTMASTER=mCONFIG_HID_ZEROPLUS=mCONFIG_USB_SUPPORT=yCONFIG_USB_COMMON=yCONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB_ARCH_HAS_OHCI=y CONFIG_USB_ARCH_HAS_EHCI=y CONFIG_USB_ARCH_HAS_XHCI=yCONFIG_USB=yCONFIG_USB_DEVICEFS=yCONFIG_USB_DYNAMIC_MINORS=yCONFIG_USB_SUSPEND=yCONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_ROOT_HUB_TT=y CONFIG_USB_EHCI_TT_NEWSCHED=y CONFIG_USB_EHCI_HCD_PPC_OF=yCONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD_PPC_OF_BE=y CONFIG_USB_OHCI_HCD_PPC_OF=y CONFIG_USB_OHCI_HCD_PCI=y CONFIG_USB_OHCI_BIG_ENDIAN_DESC=y CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y CONFIG_USB_OHCI_LITTLE_ENDIAN=y CONFIG_USB_STORAGE=mCONFIG_USB_STORAGE_FREECOM=m CONFIG_USB_STORAGE_ISD200=m CONFIG_USB_STORAGE_USBAT=mCONFIG_USB_SERIAL=mCONFIG_USB_SERIAL_GENERIC=y CONFIG_USB_SERIAL_PL2303=m CONFIG_USB_SERIAL_CYBERJACK=m CONFIG_USB_SERIAL_WWAN=m CONFIG_USB_SERIAL_OPTION=mCONFIG_NEW_LEDS=yCONFIG_LEDS_CLASS=yCONFIG_LEDS_TRIGGERS=yCONFIG_LEDS_TRIGGER_TIMER=m CONFIG_LEDS_TRIGGER_DISK=yCONFIG_VIRTIO=mCONFIG_VIRTIO_RING=mCONFIG_VIRTIO_PCI=mCONFIG_VIRTIO_BALLOON=mCONFIG_STAGING=yCONFIG_XVMALLOC=yCONFIG_ZCACHE=yCONFIG_EXT4_FS=yCONFIG_EXT4_USE_FOR_EXT23=yCONFIG_EXT4_FS_XATTR=yCONFIG_EXT4_FS_POSIX_ACL=y CONFIG_EXT4_FS_SECURITY=yCONFIG_JBD2=yCONFIG_JBD2_DEBUG=yCONFIG_FS_MBCACHE=yCONFIG_BTRFS_FS=mCONFIG_BTRFS_FS_POSIX_ACL=yCONFIG_FS_POSIX_ACL=yCONFIG_FILE_LOCKING=yCONFIG_FSNOTIFY=yCONFIG_DNOTIFY=yCONFIG_INOTIFY_USER=yCONFIG_FANOTIFY=yCONFIG_FUSE_FS=mCONFIG_GENERIC_ACL=yCONFIG_ISO9660_FS=mCONFIG_JOLIET=yCONFIG_ZISOFS=yCONFIG_UDF_FS=mCONFIG_UDF_NLS=yCONFIG_FAT_FS=mCONFIG_VFAT_FS=mCONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" CONFIG_PROC_FS=yCONFIG_PROC_KCORE=yCONFIG_PROC_SYSCTL=yCONFIG_PROC_PAGE_MONITOR=yCONFIG_SYSFS=yCONFIG_TMPFS=yCONFIG_TMPFS_POSIX_ACL=yCONFIG_TMPFS_XATTR=yCONFIG_MISC_FILESYSTEMS=yCONFIG_HFS_FS=mCONFIG_HFSPLUS_FS=mCONFIG_UFS_FS=mCONFIG_UFS_FS_WRITE=yCONFIG_NETWORK_FILESYSTEMS=yCONFIG_NFS_FS=mCONFIG_NFS_V3=yCONFIG_NFS_V4=yCONFIG_NFS_V4_1=yCONFIG_PNFS_FILE_LAYOUT=mCONFIG_PNFS_BLOCK=mCONFIG_NFS_USE_KERNEL_DNS=yCONFIG_LOCKD=mCONFIG_LOCKD_V4=yCONFIG_NFS_COMMON=yCONFIG_SUNRPC=mCONFIG_SUNRPC_GSS=mCONFIG_SUNRPC_BACKCHANNEL=yCONFIG_CIFS=mCONFIG_CIFS_XATTR=yCONFIG_CIFS_POSIX=yCONFIG_PARTITION_ADVANCED=yCONFIG_MAC_PARTITION=yCONFIG_MSDOS_PARTITION=yCONFIG_NLS=yCONFIG_NLS_DEFAULT="cp437" CONFIG_NLS_CODEPAGE_437=m CONFIG_NLS_CODEPAGE_850=mCONFIG_NLS_ISO8859_1=mCONFIG_NLS_UTF8=mCONFIG_BINARY_PRINTF=yCONFIG_BITREVERSE=yCONFIG_CRC_CCITT=mCONFIG_CRC16=yCONFIG_CRC_T10DIF=yCONFIG_CRC_ITU_T=mCONFIG_CRC32=yCONFIG_LIBCRC32C=mCONFIG_ZLIB_INFLATE=mCONFIG_ZLIB_DEFLATE=mCONFIG_LZO_COMPRESS=yCONFIG_LZO_DECOMPRESS=yCONFIG_XZ_DEC=yCONFIG_XZ_DEC_X86=yCONFIG_XZ_DEC_POWERPC=yCONFIG_XZ_DEC_IA64=yCONFIG_XZ_DEC_ARM=yCONFIG_XZ_DEC_ARMTHUMB=yCONFIG_XZ_DEC_SPARC=yCONFIG_XZ_DEC_BCJ=yCONFIG_HAS_IOMEM=yCONFIG_HAS_IOPORT=yCONFIG_HAS_DMA=yCONFIG_NLATTR=yCONFIG_GENERIC_ATOMIC64=yCONFIG_AVERAGE=yCONFIG_PRINTK_TIME=y CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4 CONFIG_ENABLE_WARN_DEPRECATED=y CONFIG_ENABLE_MUST_CHECK=yCONFIG_FRAME_WARN=2048CONFIG_MAGIC_SYSRQ=yCONFIG_STRIP_ASM_SYMS=yCONFIG_DEBUG_FS=yCONFIG_DEBUG_KERNEL=yCONFIG_LOCKUP_DETECTOR=y CONFIG_BOOTPARAM_HARDLOCKUP_PANIC=y CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE=1 CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC=y CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=1 CONFIG_DETECT_HUNG_TASK=y CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120 CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 CONFIG_SCHED_DEBUG=yCONFIG_TIMER_STATS=yCONFIG_DEBUG_ATOMIC_SLEEP=yCONFIG_STACKTRACE=yCONFIG_DEBUG_BUGVERBOSE=yCONFIG_DEBUG_INFO=yCONFIG_DEBUG_MEMORY_INIT=yCONFIG_FRAME_POINTER=y CONFIG_KPROBES_SANITY_TEST=y CONFIG_SYSCTL_SYSCALL_CHECK=yCONFIG_NOP_TRACER=yCONFIG_HAVE_FUNCTION_TRACER=y CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y CONFIG_HAVE_DYNAMIC_FTRACE=y CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y CONFIG_HAVE_SYSCALL_TRACEPOINTS=y CONFIG_TRACER_MAX_TRACE=yCONFIG_RING_BUFFER=yCONFIG_EVENT_TRACING=y CONFIG_CONTEXT_SWITCH_TRACER=yCONFIG_TRACING=yCONFIG_GENERIC_TRACER=yCONFIG_TRACING_SUPPORT=yCONFIG_FTRACE=yCONFIG_FUNCTION_TRACER=y CONFIG_FUNCTION_GRAPH_TRACER=y CONFIG_SCHED_TRACER=yCONFIG_FTRACE_SYSCALLS=y CONFIG_BRANCH_PROFILE_NONE=y CONFIG_BLK_DEV_IO_TRACE=yCONFIG_KPROBE_EVENT=yCONFIG_DYNAMIC_FTRACE=yCONFIG_FUNCTION_PROFILER=y CONFIG_FTRACE_MCOUNT_RECORD=y CONFIG_FTRACE_SELFTEST=y CONFIG_FTRACE_STARTUP_TEST=y CONFIG_EVENT_TRACE_TEST_SYSCALLS=y CONFIG_HAVE_ARCH_KGDB=yCONFIG_TEST_KSTRTOX=yCONFIG_PPC_WERROR=yCONFIG_PRINT_STACK_DEPTH=64 CONFIG_DEBUG_STACKOVERFLOW=y CONFIG_PPC_EMULATED_STATS=y CONFIG_CODE_PATCHING_SELFTEST=y CONFIG_FTR_FIXUP_SELFTEST=y CONFIG_MSI_BITMAP_SELFTEST=yCONFIG_BOOTX_TEXT=yCONFIG_KEYS=yCONFIG_SECURITY_DMESG_RESTRICT=yCONFIG_SECURITY=yCONFIG_SECURITYFS=yCONFIG_SECURITY_NETWORK=yCONFIG_SECURITY_PATH=yCONFIG_SECURITY_APPARMOR=y CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1 CONFIG_DEFAULT_SECURITY_DAC=y CONFIG_DEFAULT_SECURITY=""CONFIG_CRYPTO=yCONFIG_CRYPTO_ALGAPI=yCONFIG_CRYPTO_ALGAPI2=yCONFIG_CRYPTO_AEAD2=yCONFIG_CRYPTO_BLKCIPHER=y CONFIG_CRYPTO_BLKCIPHER2=yCONFIG_CRYPTO_HASH=yCONFIG_CRYPTO_HASH2=yCONFIG_CRYPTO_RNG2=yCONFIG_CRYPTO_PCOMP=mCONFIG_CRYPTO_PCOMP2=yCONFIG_CRYPTO_MANAGER=yCONFIG_CRYPTO_MANAGER2=yCONFIG_CRYPTO_GF128MUL=mCONFIG_CRYPTO_WORKQUEUE=yCONFIG_CRYPTO_CBC=yCONFIG_CRYPTO_ECB=mCONFIG_CRYPTO_PCBC=mCONFIG_CRYPTO_XTS=mCONFIG_CRYPTO_HMAC=mCONFIG_CRYPTO_CRC32C=mCONFIG_CRYPTO_MD4=mCONFIG_CRYPTO_MD5=mCONFIG_CRYPTO_MICHAEL_MIC=mCONFIG_CRYPTO_SHA1=yCONFIG_CRYPTO_AES=yCONFIG_CRYPTO_ARC4=yCONFIG_CRYPTO_BLOWFISH=y CONFIG_CRYPTO_BLOWFISH_COMMON=y CONFIG_CRYPTO_DES=mCONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_TWOFISH_COMMON=m CONFIG_CRYPTO_DEFLATE=mCONFIG_CRYPTO_ZLIB=mCONFIG_CRYPTO_LZO=mCONFIG_KVM_MMIO=yCONFIG_VIRTUALIZATION=yCONFIG_KVM=yCONFIG_KVM_BOOK3S_HANDLER=y CONFIG_KVM_BOOK3S_32_HANDLER=y CONFIG_KVM_BOOK3S_PR=yCONFIG_KVM_BOOK3S_32=mCONFIG_VHOST_NET=m
Bye, Jörg.
Signature · 2 lines
Es gibt nichts schöneres als dem Schweigen eines Dummkopfes zuzuhören.
(Helmut Quatlinger)Quoted 5 lines · Jörg Sommer
Hello everybody,
I'm trying to build the kernel with the git commit-id
31555213f03bca37d2c02e10946296052f4ecfcd, but it fails
Alex, can we set up some buildbots for the ppc family, feeding on kvm.git master/next?
Signature · 2 lines
I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.
Quoted 9 lines · Avi Kivity
Quoted 5 lines · Jörg Sommer
Hello everybody,
I'm trying to build the kernel with the git commit-id
31555213f03bca37d2c02e10946296052f4ecfcd, but it failsAlex, can we set up some buildbots for the ppc family, feeding on kvm.git master/next?
We already have a ppc box for qemu builds, so all we need is someone knowledgable in buildbot to also fetch kvm.git and build it in parallel to qemu.git :)
Alex
Quoted 1 line
Hi,
Jörg Sommer hat am Mon 07. Nov, 20:48 (+0100) geschrieben:
Quoted 10 lines
I'm trying to build the kernel with the git commit-id
31555213f03bca37d2c02e10946296052f4ecfcd, but it failsCHK include/linux/version.h HOSTCC scripts/mod/modpost.o CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTLD scripts/mod/modpost GEN include/generated/bounds.h CC arch/powerpc/kernel/asm-offsets.s
Quoted 11 lines
In file included from
arch/powerpc/kernel/asm-offsets.c:59:0:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h: In function ‘compute_tlbie_rb’:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: error: ‘HPTE_V_SECONDARY’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: note: each undeclared identifier is reported only once for each function it appears in/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:396:12: error: ‘HPTE_V_1TB_SEG’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:401:10: error: ‘HPTE_V_LARGE’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:415:2: warning: right shift count >= width of type [enabled by default] make[3]: *** [arch/powerpc/kernel/asm-offsets.s] Fehler 1
make[2]: *** [prepare0] Fehler 2
make[1]: *** [deb-pkg] Fehler 2
make: *** [deb-pkg] Fehler 2
I'm still having this problem. I can' build 6fe4c6d466e95d31164f14b1ac4aefb51f0f4f82. Are there any patches to make the kernel builds and do not oops [1] on PowerPC?
[1] »kernel BUG at include/linux/kvm_host.h:603!«
http://www.mail-archive.com/[email protected]/msg61433.html
Bye, Jörg.
Signature · 3 lines
Das Recht, seine Meinung zu wechseln, ist eines der wichtigsten
menschlichen Privilegien.
(Robert Peel)Quoted 25 lines · Jörg Sommer
Hi,
Jörg Sommer hat am Mon 07. Nov, 20:48 (+0100) geschrieben:
Quoted 10 lines
I'm trying to build the kernel with the git commit-id
31555213f03bca37d2c02e10946296052f4ecfcd, but it failsCHK include/linux/version.h HOSTCC scripts/mod/modpost.o CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTLD scripts/mod/modpost GEN include/generated/bounds.h CC arch/powerpc/kernel/asm-offsets.sQuoted 11 lines
In file included from
arch/powerpc/kernel/asm-offsets.c:59:0:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h: In function ‘compute_tlbie_rb’:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: error: ‘HPTE_V_SECONDARY’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: note: each undeclared identifier is reported only once for each function it appears in/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:396:12: error: ‘HPTE_V_1TB_SEG’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:401:10: error: ‘HPTE_V_LARGE’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:415:2: warning: right shift count >= width of type [enabled by default] make[3]: *** [arch/powerpc/kernel/asm-offsets.s] Fehler 1
make[2]: *** [prepare0] Fehler 2
make[1]: *** [deb-pkg] Fehler 2
make: *** [deb-pkg] Fehler 2
Quoted 3 lines
I'm still having this problem. I can' build
6fe4c6d466e95d31164f14b1ac4aefb51f0f4f82. Are there any patches to make the kernel builds and do not oops [1] on PowerPC?
The failures above should be fixed by now.
Quoted 2 lines
[1] »kernel BUG at include/linux/kvm_host.h:603!«
http://www.mail-archive.com/[email protected]/msg61433.html
This is unfortunately still there. It's because of preemption being enabled. Please just use CONFIG_PREEMPT_NONE for the time being - it's on my todo list :)
Alex
Alexander Graf hat am Tue 22. Nov, 22:29 (+0100) geschrieben:
Quoted 24 lines · Jörg Sommer
Quoted 23 lines
Jörg Sommer hat am Mon 07. Nov, 20:48 (+0100) geschrieben:
Quoted 21 lines
I'm trying to build the kernel with the git commit-id
31555213f03bca37d2c02e10946296052f4ecfcd, but it failsCHK include/linux/version.h HOSTCC scripts/mod/modpost.o CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTLD scripts/mod/modpost GEN include/generated/bounds.h CC arch/powerpc/kernel/asm-offsets.sIn file included from
arch/powerpc/kernel/asm-offsets.c:59:0:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h: In function ‘compute_tlbie_rb’:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: error: ‘HPTE_V_SECONDARY’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: note: each undeclared identifier is reported only once for each function it appears in/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:396:12: error: ‘HPTE_V_1TB_SEG’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:401:10: error: ‘HPTE_V_LARGE’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:415:2: warning: right shift count >= width of type [enabled by default] make[3]: *** [arch/powerpc/kernel/asm-offsets.s] Fehler 1
make[2]: *** [prepare0] Fehler 2
make[1]: *** [deb-pkg] Fehler 2
make: *** [deb-pkg] Fehler 2
Quoted 5 lines
Quoted 3 lines
I'm still having this problem. I can' build
6fe4c6d466e95d31164f14b1ac4aefb51f0f4f82. Are there any patches to make the kernel builds and do not oops [1] on PowerPC?The failures above should be fixed by now.
I've pulled git://git.kernel.org/pub/scm/virt/kvm/kvm.git
(a41d08d13f903da5c633fc58ee074156f05ab3ce), but this tree doesn't contain a suitable commit. Where can I find it?
Bye, Jörg.
Quoted 2 lines
Ich kenn mich mit OpenBSD kaum aus, was sind denn da so die Vorteile gegenueber Linux und iptables?
Der Fuchsschwanzeffekt ist größer. :->
Message-ID: <[email protected]>
Quoted 29 lines · Jörg Sommer
Alexander Graf hat am Tue 22. Nov, 22:29 (+0100) geschrieben:
Quoted 28 lines · Jörg Sommer
Quoted 26 lines
Jörg Sommer hat am Mon 07. Nov, 20:48 (+0100) geschrieben:
Quoted 10 lines
I'm trying to build the kernel with the git commit-id
31555213f03bca37d2c02e10946296052f4ecfcd, but it failsCHK include/linux/version.h HOSTCC scripts/mod/modpost.o CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTLD scripts/mod/modpost GEN include/generated/bounds.h CC arch/powerpc/kernel/asm-offsets.sQuoted 11 lines
In file included from
arch/powerpc/kernel/asm-offsets.c:59:0:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h: In function ‘compute_tlbie_rb’:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: error: ‘HPTE_V_SECONDARY’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: note: each undeclared identifier is reported only once for each function it appears in/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:396:12: error: ‘HPTE_V_1TB_SEG’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:401:10: error: ‘HPTE_V_LARGE’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:415:2: warning: right shift count >= width of type [enabled by default] make[3]: *** [arch/powerpc/kernel/asm-offsets.s] Fehler 1
make[2]: *** [prepare0] Fehler 2
make[1]: *** [deb-pkg] Fehler 2
make: *** [deb-pkg] Fehler 2I'm still having this problem. I can' build
6fe4c6d466e95d31164f14b1ac4aefb51f0f4f82. Are there any patches to make the kernel builds and do not oops [1] on PowerPC?
Quoted 5 lines
Quoted 1 line
The failures above should be fixed by now.
I've pulled
git://git.kernel.org/pub/scm/virt/kvm/kvm.git
(a41d08d13f903da5c633fc58ee074156f05ab3ce), but this tree doesn't contain a suitable commit. Where can I find it?
Please try:
git://github.com/agraf/linux-2.6.git kvm-ppc-next
That's my WIP tree. I still have a few more patches I want to collect before shoving everything through automated testing and pushing it on to Avi.
Alex
Hello Alexander,
Alexander Graf hat am Tue 22. Nov, 22:29 (+0100) geschrieben:
Quoted 28 lines · Jörg Sommer
Quoted 23 lines
Jörg Sommer hat am Mon 07. Nov, 20:48 (+0100) geschrieben:
Quoted 10 lines
I'm trying to build the kernel with the git commit-id
31555213f03bca37d2c02e10946296052f4ecfcd, but it failsCHK include/linux/version.h HOSTCC scripts/mod/modpost.o CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTLD scripts/mod/modpost GEN include/generated/bounds.h CC arch/powerpc/kernel/asm-offsets.sQuoted 11 lines
In file included from
arch/powerpc/kernel/asm-offsets.c:59:0:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h: In function ‘compute_tlbie_rb’:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: error: ‘HPTE_V_SECONDARY’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: note: each undeclared identifier is reported only once for each function it appears in/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:396:12: error: ‘HPTE_V_1TB_SEG’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:401:10: error: ‘HPTE_V_LARGE’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:415:2: warning: right shift count >= width of type [enabled by default] make[3]: *** [arch/powerpc/kernel/asm-offsets.s] Fehler 1
make[2]: *** [prepare0] Fehler 2
make[1]: *** [deb-pkg] Fehler 2
make: *** [deb-pkg] Fehler 2Quoted 3 lines
I'm still having this problem. I can' build
6fe4c6d466e95d31164f14b1ac4aefb51f0f4f82. Are there any patches to make the kernel builds and do not oops [1] on PowerPC?
Quoted 7 lines
The failures above should be fixed by now.
Quoted 2 lines
[1] »kernel BUG at include/linux/kvm_host.h:603!«
http://www.mail-archive.com/[email protected]/msg61433.htmlThis is unfortunately still there. It's because of preemption being enabled. Please just use
CONFIG_PREEMPT_NONEfor the time being
This doesn't help. I've build with CONFIG_PREEMPT_NONE, but I'm getting this Oops, when I start qemu.
% uname -a
Linux ibook 3.3.0-rc3-00279-g8e4baad #74 Sun Feb 19 03:57:54 CET 2012 ppc GNU/Linux
% cat /proc/cpuinfo
processor : 0
cpu : 7455, altivec supported
clock : 606.000000MHz
revision : 3.3 (pvr 8001 0303)
bogomips : 36.86
timebase : 18432000
platform : PowerMac
model : PowerBook6,3
machine : PowerBook6,3
motherboard : PowerBook6,3 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)
pmac flags : 0000001b
L2 cache : 256K unified
pmac-generation : NewWorld
Memory : 640 MB
% grep PREEM /boot/config-$(uname -r)
# CONFIG_PREEMPT_RCU is not setCONFIG_PREEMPT_NOTIFIERS=yCONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not setCONFIG_PREEMPT_COUNT=y
% qemu-system-ppc --version
QEMU emulator version 1.0 (Debian 1.0+dfsg-3), Copyright (c) 2003-2008 Fabrice Bellard
% qemu-system-ppc -M mac99 -cpu 7400 -prom-env 'auto-boot?=false' -k de -enable-kvm
[ 4205.444343] ------------[ cut here ]------------ [ 4205.444373] kernel BUG at include/linux/kvm_host.h:634! [ 4205.444407] Oops: Exception in kernel mode, sig: 5 [#1] [ 4205.444418] PowerMac [ 4205.444426] Modules linked in: kvm ppp_async crc_ccitt ppp_generic slhc ipv6 fuse snd_powermac option usb_wwan [ 4205.444562] NIP: ea823c34 LR: ea823bcc CTR: 00000000 [ 4205.444579] REGS: e3617a10 TRAP: 0700 Not tainted (3.3.0-rc3-00279-g8e4baad) [ 4205.444590] MSR: 00029032 <EE,ME,IR,DR,RI> CR: 28002462 XER: 00000000 [ 4205.444624] TASK = e3405bc0[4169] 'qemu-system-ppc' THREAD: e3616000 [ 4205.444634] GPR00: 00000001 e3617ac0 e3405bc0 e3617be0 e34060fc 00000000 e3617ddc 00000000 [ 4205.444664] GPR08: 00000000 00000000 00000000 00000000 00000000 1036c490 103051b8 10304e48 [ 4205.444693] GPR16: 48048000 10e2a5c0 10e2ada8 1014662c 00000007 48021018 00400000 0000d032 [ 4205.444723] GPR24: 00000000 00000900 ffffffff e362f000 00000001 e3405bc0 ea83b000 e3617ac0 [ 4205.444817] NIP [ea823c34] kvmppc_vcpu_run+0x138/0x210 [kvm] [ 4205.444843] LR [ea823bcc] kvmppc_vcpu_run+0xd0/0x210 [kvm] [ 4205.444853] Call Trace: [ 4205.444876] [e3617ac0] [e3616000] 0xe3616000 (unreliable) [ 4205.444909] [e3617e20] [ea81e12c] kvm_arch_vcpu_ioctl_run+0x350/0x37c [kvm] [ 4205.444940] [e3617e50] [ea817c98] kvm_vcpu_ioctl+0x158/0x888 [kvm] [ 4205.444967] [e3617ea0] [c0129020] do_vfs_ioctl+0x714/0x78c [ 4205.444984] [e3617f10] [c0129100] sys_ioctl+0x68/0x8c [ 4205.445004] [e3617f40] [c0013b70] ret_from_syscall+0x0/0x38 [ 4205.445022] --- Exception: c01 at 0xf4efa98 [ 4205.445028] LR = 0xf4ef9fc [ 4205.445036] Instruction dump: [ 4205.445049] 41a20014 7fc3f378 38800800 38a02000 4bffe929 54290024 38000000 8129000c [ 4205.445080] 2f890000 409e000c 7c0000a6 54008ffe <0f000000> 8002000c 7f63db78 7fc4f378 [ 4205.445119] ---[ end trace 03417e90b5c8db01 ]--- [ 4205.445129] [ 4205.445141] BUG: sleeping function called from invalid context at kernel/rwsem.c:21 [ 4205.445156] in_atomic(): 0, irqs_disabled(): 1, pid: 4169, name: qemu-system-ppc [ 4205.445168] Call Trace: [ 4205.445182] [e36177c0] [c000bc44] show_stack+0xbc/0x194 (unreliable) [ 4205.445214] [e3617810] [c047bbd4] dump_stack+0x30/0x38 [ 4205.445237] [e3617820] [c0062010] __might_sleep+0xf8/0x100 [ 4205.445253] [e3617830] [c0473324] down_read+0x38/0x60 [ 4205.445278] [e3617840] [c004621c] exit_signals+0x30/0x16c [ 4205.445300] [e3617870] [c0034ec8] do_exit+0x100/0x74c [ 4205.445319] [e36178c0] [c000ee6c] die+0x270/0x278 [ 4205.445336] [e36178f0] [c000ef34] _exception+0x64/0x104 [ 4205.445354] [e36179e0] [c0474f70] program_check_exception+0x1dc/0x1e4 [ 4205.445371] [e3617a00] [c00141d0] ret_from_except_full+0x0/0x4c [ 4205.445421] --- Exception: 700 at kvmppc_vcpu_run+0x138/0x210 [kvm] [ 4205.445428] LR = kvmppc_vcpu_run+0xd0/0x210 [kvm] [ 4205.445446] [e3617ac0] [e3616000] 0xe3616000 (unreliable) [ 4205.445477] [e3617e20] [ea81e12c] kvm_arch_vcpu_ioctl_run+0x350/0x37c [kvm] [ 4205.445508] [e3617e50] [ea817c98] kvm_vcpu_ioctl+0x158/0x888 [kvm] [ 4205.445526] [e3617ea0] [c0129020] do_vfs_ioctl+0x714/0x78c [ 4205.445543] [e3617f10] [c0129100] sys_ioctl+0x68/0x8c [ 4205.445558] [e3617f40] [c0013b70] ret_from_syscall+0x0/0x38 [ 4205.445577] --- Exception: c01 at 0xf4efa98 [ 4205.445583] LR = 0xf4ef9fc
Bye, Jörg.
Signature · 1 line
Man soll Denken lehren, nicht Gedachtes.
Quoted 33 lines · Jörg Sommer
Hello Alexander,
Alexander Graf hat am Tue 22. Nov, 22:29 (+0100) geschrieben:
Quoted 30 lines · Jörg Sommer
Quoted 23 lines
Jörg Sommer hat am Mon 07. Nov, 20:48 (+0100) geschrieben:
Quoted 10 lines
I'm trying to build the kernel with the git commit-id
31555213f03bca37d2c02e10946296052f4ecfcd, but it failsCHK include/linux/version.h HOSTCC scripts/mod/modpost.o CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTLD scripts/mod/modpost GEN include/generated/bounds.h CC arch/powerpc/kernel/asm-offsets.sQuoted 11 lines
In file included from
arch/powerpc/kernel/asm-offsets.c:59:0:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h: In function ‘compute_tlbie_rb’:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: error: ‘HPTE_V_SECONDARY’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: note: each undeclared identifier is reported only once for each function it appears in/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:396:12: error: ‘HPTE_V_1TB_SEG’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:401:10: error: ‘HPTE_V_LARGE’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:415:2: warning: right shift count >= width of type [enabled by default] make[3]: *** [arch/powerpc/kernel/asm-offsets.s] Fehler 1
make[2]: *** [prepare0] Fehler 2
make[1]: *** [deb-pkg] Fehler 2
make: *** [deb-pkg] Fehler 2Quoted 3 lines
I'm still having this problem. I can' build
6fe4c6d466e95d31164f14b1ac4aefb51f0f4f82. Are there any patches to make the kernel builds and do not oops [1] on PowerPC?The failures above should be fixed by now.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
[1] »kernel BUG at include/linux/kvm_host.h:603!«
http://www.mail-archive.com/[email protected]/msg61433.htmlThis is unfortunately still there. It's because of preemption being enabled. Please just use
CONFIG_PREEMPT_NONEfor the time beingThis doesn't help. I've build with
CONFIG_PREEMPT_NONE, but I'm getting this Oops, when I start qemu.
Could you please try git://git.kernel.org/pub/scm/virt/kvm/kvm.git? I fixed a bunch of things with preemption since then and it definitely worked for me. If it still fails in that tree, I can try again to reproduce it :).
Alex
Alexander Graf hat am Mon 20. Feb, 22:27 (+0100) geschrieben:
Quoted 9 lines · Jörg Sommer
Quoted 8 lines
Alexander Graf hat am Tue 22. Nov, 22:29 (+0100) geschrieben:
Quoted 6 lines · Jörg Sommer
Quoted 2 lines
[1] »kernel BUG at include/linux/kvm_host.h:603!«
http://www.mail-archive.com/[email protected]/msg61433.htmlThis is unfortunately still there. It's because of preemption being enabled. Please just use
CONFIG_PREEMPT_NONEfor the time being
Quoted 7 lines
Quoted 2 lines
This doesn't help. I've build with
CONFIG_PREEMPT_NONE, but I'm getting this Oops, when I start qemu.Could you please try
git://git.kernel.org/pub/scm/virt/kvm/kvm.git? I fixed a bunch of things with preemption since then and it definitely worked for me. If it still fails in that tree, I can try again to reproduce it :).
This kernel (e9badff4b38a3f8b2c20aa8a30db210caf85a497) fails to build:
CC [M] arch/powerpc/kvm/book3s_pr.oarch/powerpc/kvm/book3s_pr.c: In function ‘kvm_vcpu_ioctl_get_one_reg’:arch/powerpc/kvm/book3s_pr.c:883:45: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] arch/powerpc/kvm/book3s_pr.c:883:80: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] arch/powerpc/kvm/book3s_pr.c:883:284: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] arch/powerpc/kvm/book3s_pr.c:883:327: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] arch/powerpc/kvm/book3s_pr.c:883:459: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] arch/powerpc/kvm/book3s_pr.c:883:748: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] arch/powerpc/kvm/book3s_pr.c:883:1112: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] arch/powerpc/kvm/book3s_pr.c:883:1476: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] arch/powerpc/kvm/book3s_pr.c:883:1867: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] arch/powerpc/kvm/book3s_pr.c: In function ‘kvm_vcpu_ioctl_set_one_reg’:arch/powerpc/kvm/book3s_pr.c:898:79: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] arch/powerpc/kvm/book3s_pr.c:898:114: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] arch/powerpc/kvm/book3s_pr.c:898:319: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] arch/powerpc/kvm/book3s_pr.c:898:364: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] arch/powerpc/kvm/book3s_pr.c:898:502: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] arch/powerpc/kvm/book3s_pr.c:898:591: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] arch/powerpc/kvm/book3s_pr.c:898:2061: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
cc1: all warnings being treated as errors
make[3]: *** [arch/powerpc/kvm/book3s_pr.o] Fehler 1
make[2]: *** [arch/powerpc/kvm] Fehler 2
make[2]: *** Warte auf noch nicht beendete Prozesse...
Schöne Grüße, Jörg.
Signature · 3 lines
Manchmal denke ich, das sicherste Indiz dafür, daß anderswo im Universum intelligentes Leben existiert, ist, daß niemand versucht hat, mit uns Kontakt aufzunehmen. (Calvin und Hobbes)
Jörg Sommer hat am Tue 21. Feb, 09:32 (+0100) geschrieben:
Quoted 35 lines
Alexander Graf hat am Mon 20. Feb, 22:27 (+0100) geschrieben:
Quoted 9 lines · Jörg Sommer
Quoted 8 lines
Alexander Graf hat am Tue 22. Nov, 22:29 (+0100) geschrieben:
Quoted 6 lines · Jörg Sommer
Quoted 2 lines
[1] »kernel BUG at include/linux/kvm_host.h:603!«
http://www.mail-archive.com/[email protected]/msg61433.htmlThis is unfortunately still there. It's because of preemption being enabled. Please just use
CONFIG_PREEMPT_NONEfor the time beingQuoted 7 lines
Quoted 2 lines
This doesn't help. I've build with
CONFIG_PREEMPT_NONE, but I'm getting this Oops, when I start qemu.Could you please try
git://git.kernel.org/pub/scm/virt/kvm/kvm.git? I fixed a bunch of things with preemption since then and it definitely worked for me. If it still fails in that tree, I can try again to reproduce it :).This kernel (
e9badff4b38a3f8b2c20aa8a30db210caf85a497) fails to build:CC [M]
arch/powerpc/kvm/book3s_pr.oarch/powerpc/kvm/book3s_pr.c: In function ‘kvm_vcpu_ioctl_get_one_reg’:arch/powerpc/kvm/book3s_pr.c:883:45: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:80: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:284: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:327: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:459: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:748: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:1112: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:1476: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:1867: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c: In function ‘kvm_vcpu_ioctl_set_one_reg’:arch/powerpc/kvm/book3s_pr.c:898:79: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:898:114: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:898:319: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
Quoted 8 lines
arch/powerpc/kvm/book3s_pr.c:898:364: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:898:502: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:898:591: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:898:2061: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
cc1: all warnings being treated as errors
make[3]: *** [arch/powerpc/kvm/book3s_pr.o] Fehler 1
make[2]: *** [arch/powerpc/kvm] Fehler 2
make[2]: *** Warte auf noch nicht beendete Prozesse...
The culprit is this patch:
commit 784f1782e3c9cab310d6c513df966c547c3f17aa
Author: Alexander Graf <[email protected]> Date: Wed Sep 14 21:45:23 2011 +0200
KVM: PPC: Add support for explicit HIOR setting
Until now, we always set HIOR based on the PVR, but this is just wrong. Instead, we should be setting HIOR explicitly, so user space can decide what the initial HIOR value is - just like on real hardware.
We keep the old PVR based way around for backwards compatibility, but once user space uses the SET_ONE_REG based method, we drop the PVR logic.
arch/powerpc/kvm/powerpc.c +13 -0
@@ -212,6 +212,7 @@ int kvm_dev_ioctl_check_extension(long ext)case KVM_CAP_PPC_BOOKE_SREGS :#else case KVM_CAP_PPC_SEGSTATE : +case KVM_CAP_PPC_HIOR :case KVM_CAP_PPC_PAPR :#endif case KVM_CAP_PPC_UNSET_IRQ :
@@ -652,6 +653,11 @@ static int kvm_vcpu_ioctl_get_one_reg(struct kvm_vcpu *vcpu,int r = -EINVAL ;switch (reg->id) { +#ifdef CONFIG_PPC_BOOK3S +case KVM_REG_PPC_HIOR : + r =put_user (to_book3s (vcpu)->hior, (u64 __user *)reg->addr); +break ; +#endif default :break ; }
@@ -665,6 +671,13 @@ static int kvm_vcpu_ioctl_set_one_reg(struct kvm_vcpu *vcpu,int r = -EINVAL ;switch (reg->id) { +#ifdef CONFIG_PPC_BOOK3S +case KVM_ONE_REG_PPC_HIOR : + r =get_user (to_book3s (vcpu)->hior, (u64 __user *)reg->addr); +if (!r) +to_book3s (vcpu)->hior_explicit = true; +break ; +#endif default :break ; }
Later, this code was moved to arch/powerpc/kvm/book3s_pr.c by
commit c6afb78d175ae6cf99f4191fbb258e54478b0371
Author: Paul Mackerras <[email protected]> Date: Mon Dec 12 12:26:50 2011 +0000
KVM: PPC: Move kvm_vcpu_ioctl_[gs]et_one_reg down to platform-specific code
Regards, Jörg.
Signature · 2 lines
Es gibt nichts schöneres als dem Schweigen eines Dummkopfes zuzuhören.
(Helmut Quatlinger)Jörg Sommer hat am Sat 25. Feb, 15:51 (+0100) geschrieben:
Quoted 35 lines
Jörg Sommer hat am Tue 21. Feb, 09:32 (+0100) geschrieben:
Quoted 31 lines
Alexander Graf hat am Mon 20. Feb, 22:27 (+0100) geschrieben:
Quoted 9 lines · Jörg Sommer
Quoted 8 lines
Alexander Graf hat am Tue 22. Nov, 22:29 (+0100) geschrieben:
Quoted 6 lines · Jörg Sommer
Quoted 2 lines
[1] »kernel BUG at include/linux/kvm_host.h:603!«
http://www.mail-archive.com/[email protected]/msg61433.htmlThis is unfortunately still there. It's because of preemption being enabled. Please just use
CONFIG_PREEMPT_NONEfor the time beingQuoted 7 lines
Quoted 2 lines
This doesn't help. I've build with
CONFIG_PREEMPT_NONE, but I'm getting this Oops, when I start qemu.Could you please try
git://git.kernel.org/pub/scm/virt/kvm/kvm.git? I fixed a bunch of things with preemption since then and it definitely worked for me. If it still fails in that tree, I can try again to reproduce it :).This kernel (
e9badff4b38a3f8b2c20aa8a30db210caf85a497) fails to build:CC [M]
arch/powerpc/kvm/book3s_pr.oarch/powerpc/kvm/book3s_pr.c: In function ‘kvm_vcpu_ioctl_get_one_reg’:arch/powerpc/kvm/book3s_pr.c:883:45: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:80: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:284: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:327: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:459: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:748: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:1112: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:1476: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:1867: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast](quoted diff) +0
-0@@ -652,6 +653,11 @@ static int kvm_vcpu_ioctl_get_one_reg(struct kvm_vcpu *vcpu, int r = -EINVAL;
Review static int kvm_vcpu_ioctl_get_one_reg(struct kvm_vcpu *vcpu, · line 663
Quoted 10 lines
(quoted diff) +5
-0switch (reg->id) { +#ifdef CONFIG_PPC_BOOK3S + case KVM_REG_PPC_HIOR: + r = put_user(to_book3s(vcpu)->hior, (u64 __user *)reg->addr); + break; +#endif default: break; }
Is this the right fix for this code?
arch/powerpc/kvm/book3s_pr.c +2 -2
@@ -880,7 +880,7 @@ int kvm_vcpu_ioctl_get_one_reg(struct kvm_vcpu *vcpu, struct kvm_one_reg *reg)switch (reg->id) {case KVM_REG_PPC_HIOR : - r =put_user (to_book3s (vcpu)->hior, (u64 __user *)reg->addr); + r =put_user (to_book3s (vcpu)->hior, (u64 __user *)®->addr);break ;default :break ;
@@ -895,7 +895,7 @@ int kvm_vcpu_ioctl_set_one_reg(struct kvm_vcpu *vcpu, struct kvm_one_reg *reg)switch (reg->id) {case KVM_REG_PPC_HIOR : - r =get_user (to_book3s (vcpu)->hior, (u64 __user *)reg->addr); + r =get_user (to_book3s (vcpu)->hior, (u64 __user *)®->addr);if (!r)to_book3s (vcpu)->hior_explicit = true;break ;
Bye, Jörg.
Signature · 2 lines
If Java had true garbage collection, most programs would delete themselves upon execution
Quoted 37 lines · Jörg Sommer
Jörg Sommer hat am Sat 25. Feb, 15:51 (+0100) geschrieben:
Quoted 36 lines
Jörg Sommer hat am Tue 21. Feb, 09:32 (+0100) geschrieben:
Quoted 31 lines
Alexander Graf hat am Mon 20. Feb, 22:27 (+0100) geschrieben:
Quoted 9 lines · Jörg Sommer
Quoted 8 lines
Alexander Graf hat am Tue 22. Nov, 22:29 (+0100) geschrieben:
Quoted 6 lines · Jörg Sommer
Quoted 2 lines
[1] »kernel BUG at include/linux/kvm_host.h:603!«
http://www.mail-archive.com/[email protected]/msg61433.htmlThis is unfortunately still there. It's because of preemption being enabled. Please just use
CONFIG_PREEMPT_NONEfor the time beingQuoted 7 lines
Quoted 2 lines
This doesn't help. I've build with
CONFIG_PREEMPT_NONE, but I'm getting this Oops, when I start qemu.Could you please try
git://git.kernel.org/pub/scm/virt/kvm/kvm.git? I fixed a bunch of things with preemption since then and it definitely worked for me. If it still fails in that tree, I can try again to reproduce it :).This kernel (
e9badff4b38a3f8b2c20aa8a30db210caf85a497) fails to build:CC [M]
arch/powerpc/kvm/book3s_pr.oarch/powerpc/kvm/book3s_pr.c: In function ‘kvm_vcpu_ioctl_get_one_reg’:arch/powerpc/kvm/book3s_pr.c:883:45: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:80: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:284: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:327: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:459: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:748: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:1112: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:1476: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:1867: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast](quoted diff) +0
-0@@ -652,6 +653,11 @@ static int kvm_vcpu_ioctl_get_one_reg(struct kvm_vcpu *vcpu, int r = -EINVAL;
Quoted 11 lines
Review static int kvm_vcpu_ioctl_get_one_reg(struct kvm_vcpu *vcpu, · line 663
Quoted 9 lines
(quoted diff) +5
-0switch (reg->id) { +#ifdef CONFIG_PPC_BOOK3S + case KVM_REG_PPC_HIOR: + r = put_user(to_book3s(vcpu)->hior, (u64 __user *)reg->addr); + break; +#endif default: break; }Is this the right fix for this code?
The idea of the put/get_user is to access memory that is at the address "reg->addr". The code works as expected on book3s_64 for me too, where sizeof(u64) == sizeof(ulong). On book3s_32 however, sizeof(ulong) is 4, which is not the same as the size of reg->addr, which is u64, thus 8.
So we need to tell the compiler to cut off the high 32 bits (because we can't access them anyways) and instead take the lower 32 bits as the pointer at which address we want to access things. That's basically what the patch I sent out earlier today did :).
Alex
Quoted 101 lines · Jörg Sommer
Jörg Sommer hat am Tue 21. Feb, 09:32 (+0100) geschrieben:
Quoted 35 lines
Alexander Graf hat am Mon 20. Feb, 22:27 (+0100) geschrieben:
Quoted 9 lines · Jörg Sommer
Quoted 8 lines
Alexander Graf hat am Tue 22. Nov, 22:29 (+0100) geschrieben:
Quoted 6 lines · Jörg Sommer
Quoted 2 lines
[1] »kernel BUG at include/linux/kvm_host.h:603!«
http://www.mail-archive.com/[email protected]/msg61433.htmlThis is unfortunately still there. It's because of preemption being enabled. Please just use
CONFIG_PREEMPT_NONEfor the time beingQuoted 7 lines
Quoted 2 lines
This doesn't help. I've build with
CONFIG_PREEMPT_NONE, but I'm getting this Oops, when I start qemu.Could you please try
git://git.kernel.org/pub/scm/virt/kvm/kvm.git? I fixed a bunch of things with preemption since then and it definitely worked for me. If it still fails in that tree, I can try again to reproduce it :).This kernel (
e9badff4b38a3f8b2c20aa8a30db210caf85a497) fails to build:CC [M]
arch/powerpc/kvm/book3s_pr.oarch/powerpc/kvm/book3s_pr.c: In function ‘kvm_vcpu_ioctl_get_one_reg’:arch/powerpc/kvm/book3s_pr.c:883:45: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:80: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:284: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:327: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:459: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:748: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:1112: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:1476: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:1867: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c: In function ‘kvm_vcpu_ioctl_set_one_reg’:arch/powerpc/kvm/book3s_pr.c:898:79: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:898:114: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:898:319: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]Quoted 8 lines
arch/powerpc/kvm/book3s_pr.c:898:364: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:898:502: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:898:591: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:898:2061: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
cc1: all warnings being treated as errors
make[3]: *** [arch/powerpc/kvm/book3s_pr.o] Fehler 1
make[2]: *** [arch/powerpc/kvm] Fehler 2
make[2]: *** Warte auf noch nicht beendete Prozesse...The culprit is this patch:
commit
784f1782e3c9cab310d6c513df966c547c3f17aaAuthor: Alexander Graf <[email protected]> Date: Wed Sep 14 21:45:23 2011 +0200KVM: PPC: Add support for explicit HIOR setting
Until now, we always set HIOR based on the PVR, but this is just wrong. Instead, we should be setting HIOR explicitly, so user space can decide what the initial HIOR value is - just like on real hardware.
We keep the old PVR based way around for backwards compatibility, but once user space uses the
SET_ONE_REGbased method, we drop the PVR logic.Signed-off-by Alexander Graf <[email protected]>arch/powerpc/kvm/powerpc.c +13
-0@@ -212,6 +212,7 @@ int kvm_dev_ioctl_check_extension(long ext)case KVM_CAP_PPC_BOOKE_SREGS :#else case KVM_CAP_PPC_SEGSTATE : +case KVM_CAP_PPC_HIOR :case KVM_CAP_PPC_PAPR :#endif case KVM_CAP_PPC_UNSET_IRQ :@@ -652,6 +653,11 @@ static int kvm_vcpu_ioctl_get_one_reg(struct kvm_vcpu *vcpu,int r = -EINVAL ;switch (reg->id) { +#ifdef CONFIG_PPC_BOOK3S +case KVM_REG_PPC_HIOR : + r =put_user (to_book3s (vcpu)->hior, (u64 __user *)reg->addr); +break ; +#endif default :break ; }@@ -665,6 +671,13 @@ static int kvm_vcpu_ioctl_set_one_reg(struct kvm_vcpu *vcpu,int r = -EINVAL ;switch (reg->id) { +#ifdef CONFIG_PPC_BOOK3S +case KVM_ONE_REG_PPC_HIOR : + r =get_user (to_book3s (vcpu)->hior, (u64 __user *)reg->addr); +if (!r) +to_book3s (vcpu)->hior_explicit = true; +break ; +#endif default :break ; }
Quoted 7 lines
Later, this code was moved to
arch/powerpc/kvm/book3s_pr.cbycommit
c6afb78d175ae6cf99f4191fbb258e54478b0371Author: Paul Mackerras <[email protected]> Date: Mon Dec 12 12:26:50 2011 +0000KVM: PPC: Move kvm_vcpu_ioctl_[gs]et_one_reg down to platform-specific code
Yikes. Does this patch work for you?
arch/powerpc/kvm/book3s_pr.c +4 -2
@@ -880,7 +880,8 @@ int kvm_vcpu_ioctl_get_one_reg(struct kvm_vcpu *vcpu, struct kvm_one_reg *reg)switch (reg->id) {case KVM_REG_PPC_HIOR : - r =put_user (to_book3s (vcpu)->hior, (u64 __user *)reg->addr); + r =put_user (to_book3s (vcpu)->hior, + (u64 __user *)(long )reg->addr);break ;default :break ;
@@ -895,7 +896,8 @@ int kvm_vcpu_ioctl_set_one_reg(struct kvm_vcpu *vcpu, struct kvm_one_reg *reg)switch (reg->id) {case KVM_REG_PPC_HIOR : - r =get_user (to_book3s (vcpu)->hior, (u64 __user *)reg->addr); + r =get_user (to_book3s (vcpu)->hior, + (u64 __user *)(long )reg->addr);if (!r)to_book3s (vcpu)->hior_explicit = true;break ;
Alexander Graf hat am Sun 26. Feb, 12:43 (+0100) geschrieben:
Quoted 34 lines · Jörg Sommer
Quoted 25 lines
Jörg Sommer hat am Tue 21. Feb, 09:32 (+0100) geschrieben:
Quoted 24 lines
Alexander Graf hat am Mon 20. Feb, 22:27 (+0100) geschrieben:
Quoted 9 lines · Jörg Sommer
Quoted 8 lines
Alexander Graf hat am Tue 22. Nov, 22:29 (+0100) geschrieben:
Quoted 6 lines · Jörg Sommer
Quoted 2 lines
[1] »kernel BUG at include/linux/kvm_host.h:603!«
http://www.mail-archive.com/[email protected]/msg61433.htmlThis is unfortunately still there. It's because of preemption being enabled. Please just use
CONFIG_PREEMPT_NONEfor the time beingQuoted 7 lines
Quoted 2 lines
This doesn't help. I've build with
CONFIG_PREEMPT_NONE, but I'm getting this Oops, when I start qemu.Could you please try
git://git.kernel.org/pub/scm/virt/kvm/kvm.git? I fixed a bunch of things with preemption since then and it definitely worked for me. If it still fails in that tree, I can try again to reproduce it :).This kernel (
e9badff4b38a3f8b2c20aa8a30db210caf85a497) fails to build:CC [M]
arch/powerpc/kvm/book3s_pr.oarch/powerpc/kvm/book3s_pr.c: In function ‘kvm_vcpu_ioctl_get_one_reg’:arch/powerpc/kvm/book3s_pr.c:883:45: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:80: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]Yikes. Does this patch work for you?
arch/powerpc/kvm/book3s_pr.c +0
-0
arch/powerpc/kvm/book3s_pr.c int kvm_vcpu_ioctl_get_one_reg(struct kvm_vcpu *vcpu, struct kvm_one_reg *reg) · line 884
Quoted 6 lines
arch/powerpc/kvm/book3s_pr.c +2
-1@@ -880,7 +880,8 @@ int kvm_vcpu_ioctl_get_one_reg(struct kvm_vcpu *vcpu, struct kvm_one_reg *reg)switch (reg->id) {case KVM_REG_PPC_HIOR : - r =put_user (to_book3s (vcpu)->hior, (u64 __user *)reg->addr); + r =put_user (to_book3s (vcpu)->hior, + (u64 __user *)(long )reg->addr);
Yes and no. It brings me a step further, but not to a working kernel.
CHK include/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.sh CC [M] arch/powerpc/kvm/book3s_pr.o LD [M] arch/powerpc/kvm/kvm.o
Building modules, stage 2.
MODPOST 227 modules
ERROR: "__get_user_bad" [arch/powerpc/kvm/kvm.ko] undefined! make[1]: *** [__modpost] Fehler 1
make: *** [modules] Fehler 2
Signature · 1 line
Der Wille und nicht die Gabe macht den Geber.
Quoted 44 lines · Jörg Sommer
Alexander Graf hat am Sun 26. Feb, 12:43 (+0100) geschrieben:
Quoted 34 lines · Jörg Sommer
Quoted 25 lines
Jörg Sommer hat am Tue 21. Feb, 09:32 (+0100) geschrieben:
Quoted 24 lines
Alexander Graf hat am Mon 20. Feb, 22:27 (+0100) geschrieben:
Quoted 9 lines · Jörg Sommer
Quoted 8 lines
Alexander Graf hat am Tue 22. Nov, 22:29 (+0100) geschrieben:
Quoted 6 lines · Jörg Sommer
Quoted 2 lines
[1] »kernel BUG at include/linux/kvm_host.h:603!«
http://www.mail-archive.com/[email protected]/msg61433.htmlThis is unfortunately still there. It's because of preemption being enabled. Please just use
CONFIG_PREEMPT_NONEfor the time beingQuoted 7 lines
Quoted 2 lines
This doesn't help. I've build with
CONFIG_PREEMPT_NONE, but I'm getting this Oops, when I start qemu.Could you please try
git://git.kernel.org/pub/scm/virt/kvm/kvm.git? I fixed a bunch of things with preemption since then and it definitely worked for me. If it still fails in that tree, I can try again to reproduce it :).This kernel (
e9badff4b38a3f8b2c20aa8a30db210caf85a497) fails to build:CC [M]
arch/powerpc/kvm/book3s_pr.oarch/powerpc/kvm/book3s_pr.c: In function ‘kvm_vcpu_ioctl_get_one_reg’:arch/powerpc/kvm/book3s_pr.c:883:45: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:80: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]Yikes. Does this patch work for you?
arch/powerpc/kvm/book3s_pr.c +0
-0arch/powerpc/kvm/book3s_pr.c int kvm_vcpu_ioctl_get_one_reg(struct kvm_vcpu *vcpu, struct kvm_one_reg *reg) · line 884
Quoted 6 lines
arch/powerpc/kvm/book3s_pr.c +2
-1@@ -880,7 +880,8 @@ int kvm_vcpu_ioctl_get_one_reg(struct kvm_vcpu *vcpu, struct kvm_one_reg *reg)switch (reg->id) {case KVM_REG_PPC_HIOR : - r =put_user (to_book3s (vcpu)->hior, (u64 __user *)reg->addr); + r =put_user (to_book3s (vcpu)->hior, + (u64 __user *)(long )reg->addr);Yes and no. It brings me a step further, but not to a working kernel.
Quoted 8 lines
CHK include/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.sh CC [M] arch/powerpc/kvm/book3s_pr.o LD [M] arch/powerpc/kvm/kvm.oBuilding modules, stage 2.
MODPOST 227 modules
ERROR: "__get_user_bad" [arch/powerpc/kvm/kvm.ko] undefined!
Ah, because you can't get_user u64s I suppose. Sigh. As a quick hack, just comment out the get/put_user lines - you don't care about configuring HIOR on ppc32 anyways. I'll try to come up with something :)
Alex
Alexander Graf hat am Mon 27. Feb, 01:30 (+0100) geschrieben:
Quoted 55 lines · Jörg Sommer
Quoted 45 lines
Alexander Graf hat am Sun 26. Feb, 12:43 (+0100) geschrieben:
Quoted 34 lines · Jörg Sommer
Quoted 25 lines
Jörg Sommer hat am Tue 21. Feb, 09:32 (+0100) geschrieben:
Quoted 24 lines
Alexander Graf hat am Mon 20. Feb, 22:27 (+0100) geschrieben:
Quoted 9 lines · Jörg Sommer
Quoted 8 lines
Alexander Graf hat am Tue 22. Nov, 22:29 (+0100) geschrieben:
Quoted 6 lines · Jörg Sommer
Quoted 2 lines
[1] »kernel BUG at include/linux/kvm_host.h:603!«
http://www.mail-archive.com/[email protected]/msg61433.htmlThis is unfortunately still there. It's because of preemption being enabled. Please just use
CONFIG_PREEMPT_NONEfor the time beingQuoted 7 lines
Quoted 2 lines
This doesn't help. I've build with
CONFIG_PREEMPT_NONE, but I'm getting this Oops, when I start qemu.Could you please try
git://git.kernel.org/pub/scm/virt/kvm/kvm.git? I fixed a bunch of things with preemption since then and it definitely worked for me. If it still fails in that tree, I can try again to reproduce it :).This kernel (
e9badff4b38a3f8b2c20aa8a30db210caf85a497) fails to build:CC [M]
arch/powerpc/kvm/book3s_pr.oarch/powerpc/kvm/book3s_pr.c: In function ‘kvm_vcpu_ioctl_get_one_reg’:arch/powerpc/kvm/book3s_pr.c:883:45: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]arch/powerpc/kvm/book3s_pr.c:883:80: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]Yikes. Does this patch work for you?
arch/powerpc/kvm/book3s_pr.c +0
-0arch/powerpc/kvm/book3s_pr.c int kvm_vcpu_ioctl_get_one_reg(struct kvm_vcpu *vcpu, struct kvm_one_reg *reg) · line 884
Quoted 6 lines
arch/powerpc/kvm/book3s_pr.c +2
-1@@ -880,7 +880,8 @@ int kvm_vcpu_ioctl_get_one_reg(struct kvm_vcpu *vcpu, struct kvm_one_reg *reg)switch (reg->id) {case KVM_REG_PPC_HIOR : - r =put_user (to_book3s (vcpu)->hior, (u64 __user *)reg->addr); + r =put_user (to_book3s (vcpu)->hior, + (u64 __user *)(long )reg->addr);Yes and no. It brings me a step further, but not to a working kernel.
Quoted 8 lines
CHK include/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.sh CC [M] arch/powerpc/kvm/book3s_pr.o LD [M] arch/powerpc/kvm/kvm.oBuilding modules, stage 2.
MODPOST 227 modules
ERROR: "__get_user_bad" [arch/powerpc/kvm/kvm.ko] undefined!
Quoted 4 lines
Ah, because you can't
get_useru64s I suppose. Sigh. As a quick hack, just comment out the get/put_user lines - you don't care about configuring HIOR on ppc32 anyways. I'll try to come up with something :)
I've removed these lines and got a kernel. But it crashes:
# modprobe kvm # qemu-system-ppc -enable-kvm -curses [ 155.982144] BUG: sleeping function called from invalid context at arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:1078 [ 155.982552] in_atomic(): 0, irqs_disabled(): 1, pid: 1727, name: qemu-system-ppc [ 155.982807] Call Trace: [ 155.982916] [e31ad820] [c000bc44] show_stack+0xbc/0x194 (unreliable) [ 155.983175] [e31ad870] [c047bc2c] dump_stack+0x30/0x38 [ 155.983372] [e31ad880] [c0062070] __might_sleep+0xf8/0x100 [ 155.983620] [e31ad890] [ea6c1830] hva_to_pfn.isra.41+0xc0/0x340 [kvm] [ 155.983869] [e31ad8d0] [ea6c1b6c] __gfn_to_pfn+0xbc/0xc4 [kvm] [ 155.984110] [e31ad8f0] [ea6c1bec] gfn_to_pfn+0x38/0x40 [kvm] [ 155.984335] [e31ad900] [ea6c9f60] kvmppc_gfn_to_pfn+0xb8/0xc8 [kvm] [ 155.984571] [e31ad920] [ea6ce454] kvmppc_mmu_map_page+0x3c/0x274 [kvm] [ 155.984817] [e31ad970] [ea6cadc4] kvmppc_handle_pagefault+0x264/0x3d0 [kvm] [ 155.985083] [e31ad9c0] [ea6cb22c] kvmppc_handle_exit+0x18c/0x800 [kvm] [ 155.985329] [e31ada00] [ea6cd18c] kvmppc_handler_highmem+0x5c/0x6c [kvm] [ 155.985580] [e31adac0] [ea6cbebc] kvmppc_vcpu_run+0x184/0x244 [kvm] [ 155.985817] [e31ade20] [ea6c6170] kvm_arch_vcpu_ioctl_run+0x348/0x374 [kvm] [ 155.986080] [e31ade50] [ea6bfc70] kvm_vcpu_ioctl+0x158/0x888 [kvm] [ 155.986308] [e31adea0] [c0129080] do_vfs_ioctl+0x714/0x78c [ 155.986506] [e31adf10] [c0129160] sys_ioctl+0x68/0x8c [ 155.986693] [e31adf40] [c0013b70] ret_from_syscall+0x0/0x38 [ 155.986915] --- Exception: c01 at 0xf4eda98 [ 155.986921] LR = 0xf4ed9fc [ 155.992590] Page fault in user mode with in_atomic() = 1 mm = e3021e00 [ 155.992869] NIP = 1017551c MSR = d032 [ 155.993273] PowerMac [ 155.993357] Modules linked in: kvm ipv6 fuse option usb_wwan usbserial snd_powermac b43 mac80211 cfg80211 snd_aoa_i2sbus usb_storage snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_seq snd_timer snd_seq_d [ 155.994742] NIP: 1017551c LR: 10175514 CTR: 0f5a3420 [ 155.994920] REGS: e31adf50 TRAP: 0301 Not tainted (3.3.0-rc3-04608-ge9badff4-dirty) [ 155.995186] MSR: 0000d032 <EE,PR,ME,IR,DR,RI> CR: 28002464 XER: 20000000 [ 155.995516] DAR: 48023008, DSISR: 40000000 [ 155.995663] TASK = e33322b0[1727] 'qemu-system-ppc' THREAD: e31ac000 10175514 48847c60 4884f8e0 10cadd08 48023000 28002464 00000002 0f4eda98 0000d032 00000000 00001032 00000001 e31ac000 [ 155.996535] NIP [1017551c] 0x1017551c [ 155.996668] LR [10175514] 0x10175514 [ 155.996793] Call Trace: [ 155.997049] [ 156.974149] Kernel panic - not syncing: Fatal exception in interrupt [ 156.974390] Rebooting in 180 seconds..
Signature · 3 lines
Prof: Ist etwas an der Tafel nicht zu lesen? Sie schauen so komisch. Studentin: Nein, es ist alles in Ordnung. Prof: Aber ihr Gesicht sieht überhaupt nicht in Ordnung aus.
Hello Alexander,
Jörg Sommer hat am Mon 07. Nov, 20:48 (+0100) geschrieben:
Quoted 7 lines
CHK include/linux/version.h HOSTCC scripts/mod/modpost.o CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTLD scripts/mod/modpost GEN include/generated/bounds.h CC arch/powerpc/kernel/asm-offsets.s
Quoted 11 lines
In file included from
arch/powerpc/kernel/asm-offsets.c:59:0:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h: In function ‘compute_tlbie_rb’:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: error: ‘HPTE_V_SECONDARY’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: note: each undeclared identifier is reported only once for each function it appears in/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:396:12: error: ‘HPTE_V_1TB_SEG’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:401:10: error: ‘HPTE_V_LARGE’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:415:2: warning: right shift count >= width of type [enabled by default] make[3]: *** [arch/powerpc/kernel/asm-offsets.s] Fehler 1
make[2]: *** [prepare0] Fehler 2
make[1]: *** [deb-pkg] Fehler 2
make: *** [deb-pkg] Fehler 2
I'm so sorry to have to report a new bug in one of your patches. It was covered by the one above. I've picked the commit for it from your git repository and now, the kernel build fails with this error:
BOOTCC arch/powerpc/boot/fdt_strerror.o BOOTAR arch/powerpc/boot/wrapper.a WRAP arch/powerpc/boot/zImage.pmac WRAP arch/powerpc/boot/zImage.coff
ERROR: "kvmppc_h_pr" [arch/powerpc/kvm/kvm.ko] undefined! make[3]: *** [__modpost] Fehler 1
make[2]: *** [modules] Fehler 2
make[2]: *** Warte auf noch nicht beendete Prozesse...
WRAP arch/powerpc/boot/zImage.miboot
make[1]: *** [deb-pkg] Fehler 2
make: *** [deb-pkg] Fehler 2
The bug was introduced by this commit
HEAD is now at aacf9aa KVM: PPC: Stub emulate CFAR and PURR SPRs a668f2bd3f14ce7f92e119f4b5d9b50cdc59e855 is the first bad commit commit a668f2bd3f14ce7f92e119f4b5d9b50cdc59e855
Author: Alexander Graf <[email protected]> Date: Mon Aug 8 17:26:24 2011 +0200
KVM: PPC: Support SC1 hypercalls for PAPR in PR mode
PAPR defines hypercalls as SC1 instructions. Using these, the guest modifies page tables and does other privileged operations that it wouldn't be allowed to do in supervisor mode.
This patch adds support for PR KVM to trap these instructions and route them through the same PAPR hypercall interface that we already use for HV style KVM.
Bye, Jörg.
Signature · 2 lines
“Perl—the only language that looks the same before and after RSA encryption.” (Keith Bostic)
Quoted 30 lines · Jörg Sommer
Hello Alexander,
Jörg Sommer hat am Mon 07. Nov, 20:48 (+0100) geschrieben:
Quoted 7 lines
CHK include/linux/version.h HOSTCC scripts/mod/modpost.o CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTLD scripts/mod/modpost GEN include/generated/bounds.h CC arch/powerpc/kernel/asm-offsets.sQuoted 11 lines
In file included from
arch/powerpc/kernel/asm-offsets.c:59:0:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h: In function ‘compute_tlbie_rb’:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: error: ‘HPTE_V_SECONDARY’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: note: each undeclared identifier is reported only once for each function it appears in/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:396:12: error: ‘HPTE_V_1TB_SEG’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:401:10: error: ‘HPTE_V_LARGE’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:415:2: warning: right shift count >= width of type [enabled by default] make[3]: *** [arch/powerpc/kernel/asm-offsets.s] Fehler 1
make[2]: *** [prepare0] Fehler 2
make[1]: *** [deb-pkg] Fehler 2
make: *** [deb-pkg] Fehler 2I'm so sorry to have to report a new bug in one of your patches. It was covered by the one above. I've picked the commit for it from your git repository and now, the kernel build fails with this error:
BOOTCC arch/powerpc/boot/fdt_strerror.o BOOTAR arch/powerpc/boot/wrapper.a WRAP arch/powerpc/boot/zImage.pmac WRAP arch/powerpc/boot/zImage.coff
Quoted 7 lines
ERROR: "
kvmppc_h_pr" [arch/powerpc/kvm/kvm.ko] undefined! make[3]: *** [__modpost] Fehler 1
make[2]: *** [modules] Fehler 2
make[2]: *** Warte auf noch nicht beendete Prozesse...
WRAParch/powerpc/boot/zImage.miboot
make[1]: *** [deb-pkg] Fehler 2
make: *** [deb-pkg] Fehler 2
This is odd. kvmppc_h_pr shouldn't be accessed when not in book3s_64_pr mode:
#ifdef CONFIG_KVM_BOOK3S_64_PR
if (kvmppc_h_pr(vcpu, cmd) == EMULATE_DONE) {
r = RESUME_GUEST;
break;
}#endif
Could you please send me your .config?
Alex
Alexander Graf hat am Fri 23. Dec, 14:50 (+0100) geschrieben:
Quoted 37 lines · Jörg Sommer
Quoted 28 lines
Jörg Sommer hat am Mon 07. Nov, 20:48 (+0100) geschrieben:
Quoted 7 lines
CHK include/linux/version.h HOSTCC scripts/mod/modpost.o CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTLD scripts/mod/modpost GEN include/generated/bounds.h CC arch/powerpc/kernel/asm-offsets.sQuoted 11 lines
In file included from
arch/powerpc/kernel/asm-offsets.c:59:0:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h: In function ‘compute_tlbie_rb’:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: error: ‘HPTE_V_SECONDARY’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: note: each undeclared identifier is reported only once for each function it appears in/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:396:12: error: ‘HPTE_V_1TB_SEG’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:401:10: error: ‘HPTE_V_LARGE’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:415:2: warning: right shift count >= width of type [enabled by default] make[3]: *** [arch/powerpc/kernel/asm-offsets.s] Fehler 1
make[2]: *** [prepare0] Fehler 2
make[1]: *** [deb-pkg] Fehler 2
make: *** [deb-pkg] Fehler 2I'm so sorry to have to report a new bug in one of your patches. It was covered by the one above. I've picked the commit for it from your git repository and now, the kernel build fails with this error:
BOOTCC arch/powerpc/boot/fdt_strerror.o BOOTAR arch/powerpc/boot/wrapper.a WRAP arch/powerpc/boot/zImage.pmac WRAP arch/powerpc/boot/zImage.coffQuoted 7 lines
ERROR: "
kvmppc_h_pr" [arch/powerpc/kvm/kvm.ko] undefined! make[3]: *** [__modpost] Fehler 1
make[2]: *** [modules] Fehler 2
make[2]: *** Warte auf noch nicht beendete Prozesse...
WRAParch/powerpc/boot/zImage.miboot
make[1]: *** [deb-pkg] Fehler 2
make: *** [deb-pkg] Fehler 2
Quoted 8 lines
This is odd.
kvmppc_h_prshouldn't be accessed when not inbook3s_64_prmode:#ifdef CONFIG_KVM_BOOK3S_64_PR if (kvmppc_h_pr(vcpu, cmd) == EMULATE_DONE) { r = RESUME_GUEST; break; }#endif
But that's not the code from the named commit:
commit a668f2bd3f14ce7f92e119f4b5d9b50cdc59e855
Author: Alexander Graf <[email protected]> Date: Mon Aug 8 17:26:24 2011 +0200
KVM: PPC: Support SC1 hypercalls for PAPR in PR mode
PAPR defines hypercalls as SC1 instructions. Using these, the guest modifies page tables and does other privileged operations that it wouldn't be allowed to do in supervisor mode.
This patch adds support for PR KVM to trap these instructions and route them through the same PAPR hypercall interface that we already use for HV style KVM.
arch/powerpc/kvm/book3s_pr.c +12 -1
@@ -648,7 +648,27 @@ program_interrupt:break ; }case BOOK3S_INTERRUPT_SYSCALL : - if (vcpu->arch.osi_enabled && +if (vcpu->arch.papr_enabled && + (kvmppc_get_last_inst (vcpu) ==0x44000022 ) && + !(vcpu->arch.shared->msr &MSR_PR )) { +/* SC 1 papr hypercalls */ +ulong cmd =kvmppc_get_gpr (vcpu,3 ); +int i; + +if (kvmppc_h_pr (vcpu, cmd) ==EMULATE_DONE ) { + r =RESUME_GUEST ; +break ; + } +
Here are the preprocessor conditions are missing.
Quoted 1 line
Could you please send me your .config?
CONFIG_PPC_BOOK3S_32=yCONFIG_PPC_BOOK3S=y
CONFIG_6xx=yCONFIG_PPC_FPU=yCONFIG_ALTIVEC=yCONFIG_PPC_STD_MMU=yCONFIG_PPC_STD_MMU_32=y CONFIG_PPC_HAVE_PMU_SUPPORT=y CONFIG_PPC_PERF_CTRS=yCONFIG_PPC32=yCONFIG_32BIT=yCONFIG_WORD_SIZE=32CONFIG_MMU=yCONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=yCONFIG_NR_IRQS=512CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_GENERIC_HWEIGHT=yCONFIG_PPC=yCONFIG_EARLY_PRINTK=yCONFIG_GENERIC_NVRAM=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=yCONFIG_PPC_OF=yCONFIG_AUDIT_ARCH=yCONFIG_GENERIC_BUG=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y CONFIG_ARCH_HIBERNATION_POSSIBLE=y CONFIG_ARCH_SUSPEND_POSSIBLE=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" CONFIG_HAVE_IRQ_WORK=yCONFIG_IRQ_WORK=yCONFIG_EXPERIMENTAL=yCONFIG_BROKEN_ON_SMP=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_CROSS_COMPILE=""CONFIG_LOCALVERSION=""CONFIG_LOCALVERSION_AUTO=y CONFIG_DEFAULT_HOSTNAME="(none)"CONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_SYSVIPC_SYSCTL=yCONFIG_POSIX_MQUEUE=yCONFIG_POSIX_MQUEUE_SYSCTL=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_BSD_PROCESS_ACCT_V3=yCONFIG_TASKSTATS=yCONFIG_TASK_DELAY_ACCT=yCONFIG_TASK_XACCT=yCONFIG_TASK_IO_ACCOUNTING=yCONFIG_AUDIT=yCONFIG_HAVE_GENERIC_HARDIRQS=y CONFIG_GENERIC_HARDIRQS=yCONFIG_HAVE_SPARSE_IRQ=yCONFIG_GENERIC_IRQ_SHOW=y CONFIG_GENERIC_IRQ_SHOW_LEVEL=y CONFIG_SPARSE_IRQ=yCONFIG_TINY_RCU=yCONFIG_LOG_BUF_SHIFT=16CONFIG_CGROUPS=yCONFIG_CGROUP_FREEZER=yCONFIG_CGROUP_DEVICE=yCONFIG_CPUSETS=yCONFIG_CGROUP_CPUACCT=yCONFIG_RESOURCE_COUNTERS=y CONFIG_CGROUP_MEM_RES_CTLR=y CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y CONFIG_CGROUP_MEM_RES_CTLR_SWAP_ENABLED=y CONFIG_CGROUP_SCHED=yCONFIG_FAIR_GROUP_SCHED=yCONFIG_CFS_BANDWIDTH=yCONFIG_RT_GROUP_SCHED=yCONFIG_BLK_CGROUP=yCONFIG_NAMESPACES=yCONFIG_UTS_NS=yCONFIG_IPC_NS=yCONFIG_USER_NS=yCONFIG_PID_NS=yCONFIG_NET_NS=yCONFIG_SCHED_AUTOGROUP=yCONFIG_MM_OWNER=yCONFIG_RELAY=yCONFIG_CC_OPTIMIZE_FOR_SIZE=yCONFIG_SYSCTL=yCONFIG_ANON_INODES=yCONFIG_KALLSYMS=yCONFIG_HOTPLUG=yCONFIG_PRINTK=yCONFIG_BUG=yCONFIG_ELF_CORE=yCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_SIGNALFD=yCONFIG_TIMERFD=yCONFIG_EVENTFD=yCONFIG_SHMEM=yCONFIG_AIO=yCONFIG_HAVE_PERF_EVENTS=yCONFIG_PERF_EVENTS=yCONFIG_VM_EVENT_COUNTERS=yCONFIG_PCI_QUIRKS=yCONFIG_SLUB_DEBUG=yCONFIG_SLUB=yCONFIG_TRACEPOINTS=yCONFIG_HAVE_OPROFILE=yCONFIG_KPROBES=yCONFIG_JUMP_LABEL=y CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_KRETPROBES=yCONFIG_HAVE_IOREMAP_PROT=yCONFIG_HAVE_KPROBES=yCONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_ATTRS=y CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y CONFIG_HAVE_DMA_API_DEBUG=y CONFIG_HAVE_ARCH_JUMP_LABEL=y CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y CONFIG_SLABINFO=yCONFIG_RT_MUTEXES=yCONFIG_BASE_SMALL=0CONFIG_MODULES=yCONFIG_MODULE_UNLOAD=y CONFIG_MODULE_SRCVERSION_ALL=yCONFIG_BLOCK=yCONFIG_LBDAF=yCONFIG_BLK_DEV_INTEGRITY=y CONFIG_BLK_DEV_THROTTLING=yCONFIG_IOSCHED_NOOP=yCONFIG_IOSCHED_DEADLINE=yCONFIG_IOSCHED_CFQ=yCONFIG_DEFAULT_CFQ=yCONFIG_DEFAULT_IOSCHED="cfq" CONFIG_PREEMPT_NOTIFIERS=y CONFIG_INLINE_SPIN_UNLOCK=y CONFIG_INLINE_SPIN_UNLOCK_IRQ=y CONFIG_INLINE_READ_UNLOCK=y CONFIG_INLINE_READ_UNLOCK_IRQ=y CONFIG_INLINE_WRITE_UNLOCK=y CONFIG_INLINE_WRITE_UNLOCK_IRQ=yCONFIG_FREEZER=yCONFIG_PPC_PMAC=yCONFIG_PPC_NATIVE=y CONFIG_PPC_OF_BOOT_TRAMPOLINE=yCONFIG_MPIC=yCONFIG_PPC_MPC106=yCONFIG_CPU_FREQ=yCONFIG_CPU_FREQ_TABLE=yCONFIG_CPU_FREQ_STAT=y CONFIG_CPU_FREQ_STAT_DETAILS=y CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_POWERSAVE=y CONFIG_CPU_FREQ_PMAC=yCONFIG_TAU=yCONFIG_TAU_AVERAGE=yCONFIG_TICK_ONESHOT=yCONFIG_NO_HZ=yCONFIG_HIGH_RES_TIMERS=y CONFIG_GENERIC_CLOCKEVENTS_BUILD=y CONFIG_HZ_1000=yCONFIG_HZ=1000CONFIG_SCHED_HRTICK=yCONFIG_PREEMPT_VOLUNTARY=yCONFIG_PREEMPT_COUNT=yCONFIG_BINFMT_ELF=y CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y CONFIG_ARCH_HAS_WALK_MEMORY=y CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y CONFIG_MAX_ACTIVE_REGIONS=32 CONFIG_ARCH_FLATMEM_ENABLE=y CONFIG_ARCH_POPULATES_NODE_MAP=y CONFIG_SELECT_MEMORY_MODEL=y CONFIG_FLATMEM_MANUAL=yCONFIG_FLATMEM=yCONFIG_FLAT_NODE_MEM_MAP=yCONFIG_HAVE_MEMBLOCK=yCONFIG_PAGEFLAGS_EXTENDED=y CONFIG_SPLIT_PTLOCK_CPUS=4CONFIG_COMPACTION=yCONFIG_MIGRATION=yCONFIG_ZONE_DMA_FLAG=1CONFIG_BOUNCE=yCONFIG_VIRT_TO_BUS=y CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 CONFIG_NEED_PER_CPU_KM=yCONFIG_CLEANCACHE=yCONFIG_PPC_4K_PAGES=y CONFIG_FORCE_MAX_ZONEORDER=13 CONFIG_EXTRA_TARGETS="" CONFIG_ARCH_WANTS_FREEZER_CONTROL=y CONFIG_SUSPEND=yCONFIG_SUSPEND_FREEZER=yCONFIG_PM_SLEEP=yCONFIG_PM_RUNTIME=yCONFIG_PM=yCONFIG_APM_EMULATION=yCONFIG_SECCOMP=yCONFIG_ISA_DMA_API=yCONFIG_ZONE_DMA=yCONFIG_NEED_SG_DMA_LENGTH=y CONFIG_GENERIC_ISA_DMA=yCONFIG_PPC_INDIRECT_PCI=yCONFIG_PCI=yCONFIG_PCI_DOMAINS=yCONFIG_PCI_SYSCALL=yCONFIG_ARCH_SUPPORTS_MSI=y CONFIG_LOWMEM_SIZE=0x30000000 CONFIG_PAGE_OFFSET=0xc0000000 CONFIG_KERNEL_START=0xc0000000 CONFIG_PHYSICAL_START=0x00000000 CONFIG_TASK_SIZE=0xc0000000CONFIG_NET=yCONFIG_PACKET=yCONFIG_UNIX=yCONFIG_XFRM=yCONFIG_INET=yCONFIG_INET_DIAG=yCONFIG_INET_TCP_DIAG=yCONFIG_TCP_CONG_ADVANCED=yCONFIG_TCP_CONG_BIC=mCONFIG_TCP_CONG_CUBIC=yCONFIG_TCP_CONG_WESTWOOD=mCONFIG_TCP_CONG_HTCP=mCONFIG_TCP_CONG_HYBLA=mCONFIG_TCP_CONG_VEGAS=mCONFIG_DEFAULT_CUBIC=y CONFIG_DEFAULT_TCP_CONG="cubic"CONFIG_IPV6=mCONFIG_IPV6_PRIVACY=y CONFIG_INET6_XFRM_MODE_TUNNEL=mCONFIG_NETFILTER=yCONFIG_NETFILTER_NETLINK=mCONFIG_NF_CONNTRACK=mCONFIG_NF_CONNTRACK_FTP=m CONFIG_NF_CONNTRACK_IRC=m CONFIG_NF_CONNTRACK_SIP=mCONFIG_NF_CT_NETLINK=mCONFIG_NETFILTER_XTABLES=m CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m CONFIG_NETFILTER_XT_MATCH_STATE=m CONFIG_NF_DEFRAG_IPV4=mCONFIG_NF_CONNTRACK_IPV4=mCONFIG_IP_NF_IPTABLES=mCONFIG_IP_NF_FILTER=mCONFIG_IP_NF_TARGET_REJECT=m CONFIG_IP_NF_TARGET_LOG=mCONFIG_NF_NAT=mCONFIG_NF_NAT_NEEDED=y CONFIG_IP_NF_TARGET_MASQUERADE=m CONFIG_NF_NAT_FTP=mCONFIG_NF_NAT_IRC=mCONFIG_NF_NAT_SIP=mCONFIG_IP_NF_RAW=mCONFIG_NF_DEFRAG_IPV6=mCONFIG_NF_CONNTRACK_IPV6=m CONFIG_IP6_NF_IPTABLES=m CONFIG_IP6_NF_MATCH_IPV6HEADER=m CONFIG_IP6_NF_TARGET_LOG=mCONFIG_IP6_NF_FILTER=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_MANGLE=mCONFIG_IP6_NF_RAW=mCONFIG_BRIDGE_NF_EBTABLES=m CONFIG_BRIDGE_EBT_BROUTE=m CONFIG_BRIDGE_EBT_T_FILTER=m CONFIG_BRIDGE_EBT_T_NAT=m CONFIG_BRIDGE_EBT_802_3=m CONFIG_BRIDGE_EBT_AMONG=mCONFIG_BRIDGE_EBT_ARP=mCONFIG_BRIDGE_EBT_IP=mCONFIG_BRIDGE_EBT_IP6=mCONFIG_BRIDGE_EBT_LIMIT=mCONFIG_BRIDGE_EBT_MARK=m CONFIG_BRIDGE_EBT_PKTTYPE=m CONFIG_BRIDGE_EBT_STP=mCONFIG_BRIDGE_EBT_VLAN=m CONFIG_BRIDGE_EBT_ARPREPLY=m CONFIG_BRIDGE_EBT_DNAT=m CONFIG_BRIDGE_EBT_MARK_T=m CONFIG_BRIDGE_EBT_REDIRECT=m CONFIG_BRIDGE_EBT_SNAT=mCONFIG_BRIDGE_EBT_LOG=mCONFIG_BRIDGE_EBT_ULOG=mCONFIG_BRIDGE_EBT_NFLOG=mCONFIG_STP=mCONFIG_BRIDGE=mCONFIG_BRIDGE_IGMP_SNOOPING=yCONFIG_VLAN_8021Q=mCONFIG_LLC=mCONFIG_NET_SCHED=yCONFIG_NET_SCH_CBQ=mCONFIG_NET_SCH_HTB=mCONFIG_NET_SCH_PRIO=mCONFIG_NET_SCH_RED=mCONFIG_NET_SCH_SFB=yCONFIG_NET_SCH_SFQ=mCONFIG_NET_SCH_CHOKE=yCONFIG_NET_CLS=yCONFIG_NET_CLS_BASIC=mCONFIG_NET_CLS_TCINDEX=mCONFIG_NET_CLS_U32=mCONFIG_NET_SCH_FIFO=yCONFIG_DNS_RESOLVER=yCONFIG_WIRELESS=yCONFIG_WEXT_CORE=yCONFIG_WEXT_PROC=yCONFIG_CFG80211=mCONFIG_CFG80211_DEFAULT_PS=y CONFIG_CFG80211_WEXT=yCONFIG_LIB80211=mCONFIG_MAC80211=mCONFIG_MAC80211_HAS_RC=y CONFIG_MAC80211_RC_MINSTREL=y CONFIG_MAC80211_RC_MINSTREL_HT=y CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y CONFIG_MAC80211_RC_DEFAULT="minstrel_ht" CONFIG_UEVENT_HELPER_PATH=""CONFIG_DEVTMPFS=yCONFIG_STANDALONE=y CONFIG_PREVENT_FIRMWARE_BUILD=yCONFIG_FW_LOADER=yCONFIG_FIRMWARE_IN_KERNEL=y CONFIG_EXTRA_FIRMWARE=""CONFIG_DTC=yCONFIG_OF=yCONFIG_PROC_DEVICETREE=yCONFIG_OF_FLATTREE=yCONFIG_OF_EARLY_FLATTREE=yCONFIG_OF_DYNAMIC=yCONFIG_OF_ADDRESS=yCONFIG_OF_IRQ=yCONFIG_OF_DEVICE=yCONFIG_OF_I2C=yCONFIG_OF_NET=yCONFIG_OF_PCI=yCONFIG_OF_PCI_IRQ=yCONFIG_BLK_DEV=yCONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_LOOP_MIN_COUNT=8CONFIG_HAVE_IDE=yCONFIG_SCSI_MOD=yCONFIG_SCSI=yCONFIG_SCSI_DMA=yCONFIG_BLK_DEV_SD=yCONFIG_BLK_DEV_SR=mCONFIG_CHR_DEV_SG=mCONFIG_SCSI_MULTI_LUN=yCONFIG_SCSI_WAIT_SCAN=mCONFIG_SCSI_LOWLEVEL=yCONFIG_ATA=yCONFIG_ATA_VERBOSE_ERROR=yCONFIG_ATA_SFF=yCONFIG_ATA_BMDMA=yCONFIG_PATA_MACIO=yCONFIG_MD=yCONFIG_BLK_DEV_DM=yCONFIG_DM_CRYPT=yCONFIG_FIREWIRE=mCONFIG_FIREWIRE_OHCI=m CONFIG_FIREWIRE_OHCI_DEBUG=y CONFIG_FIREWIRE_SBP2=mCONFIG_MACINTOSH_DRIVERS=yCONFIG_ADB=yCONFIG_ADB_PMU=yCONFIG_ADB_PMU_LED=yCONFIG_ADB_PMU_LED_DISK=yCONFIG_PMAC_APM_EMU=yCONFIG_PMAC_BACKLIGHT=y CONFIG_PMAC_BACKLIGHT_LEGACY=y CONFIG_INPUT_ADBHID=yCONFIG_MAC_EMUMOUSEBTN=yCONFIG_THERM_ADT746X=yCONFIG_NETDEVICES=yCONFIG_NET_CORE=yCONFIG_MII=mCONFIG_MACVLAN=mCONFIG_MACVTAP=mCONFIG_NETCONSOLE=yCONFIG_NETPOLL=yCONFIG_NET_POLL_CONTROLLER=yCONFIG_TUN=mCONFIG_VETH=mCONFIG_SUNGEM_PHY=yCONFIG_ETHERNET=yCONFIG_NET_VENDOR_APPLE=y CONFIG_NET_VENDOR_SILAN=yCONFIG_NET_VENDOR_SUN=yCONFIG_SUNGEM=yCONFIG_PPP=mCONFIG_PPP_BSDCOMP=mCONFIG_PPP_DEFLATE=mCONFIG_PPP_FILTER=yCONFIG_PPP_MPPE=mCONFIG_PPP_MULTILINK=yCONFIG_PPP_ASYNC=mCONFIG_SLHC=mCONFIG_USB_USBNET=mCONFIG_USB_NET_CDCETHER=mCONFIG_USB_NET_CDC_NCM=mCONFIG_USB_NET_ZAURUS=mCONFIG_WLAN=yCONFIG_B43=mCONFIG_B43_SSB=yCONFIG_B43_PCI_AUTOSELECT=y CONFIG_B43_PCICORE_AUTOSELECT=yCONFIG_B43_PIO=yCONFIG_B43_PHY_LP=yCONFIG_B43_HWRNG=yCONFIG_B43_DEBUG=yCONFIG_B43LEGACY=m CONFIG_B43LEGACY_PCI_AUTOSELECT=y CONFIG_B43LEGACY_PCICORE_AUTOSELECT=y CONFIG_B43LEGACY_HWRNG=yCONFIG_B43LEGACY_DEBUG=yCONFIG_B43LEGACY_DMA=yCONFIG_B43LEGACY_PIO=y CONFIG_B43LEGACY_DMA_AND_PIO_MODE=yCONFIG_INPUT=yCONFIG_INPUT_FF_MEMLESS=mCONFIG_INPUT_POLLDEV=mCONFIG_INPUT_MOUSEDEV=y CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 CONFIG_INPUT_EVDEV=mCONFIG_VT=yCONFIG_CONSOLE_TRANSLATIONS=yCONFIG_VT_CONSOLE=yCONFIG_VT_CONSOLE_SLEEP=yCONFIG_HW_CONSOLE=yCONFIG_UNIX98_PTYS=y CONFIG_DEVPTS_MULTIPLE_INSTANCES=y CONFIG_SERIAL_CORE=mCONFIG_SERIAL_PMACZILOG=mCONFIG_HW_RANDOM=mCONFIG_NVRAM=yCONFIG_GEN_RTC=yCONFIG_GEN_RTC_X=yCONFIG_DEVPORT=yCONFIG_RAMOOPS=yCONFIG_I2C=yCONFIG_I2C_BOARDINFO=yCONFIG_I2C_HELPER_AUTO=yCONFIG_I2C_ALGOBIT=yCONFIG_I2C_POWERMAC=y CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y CONFIG_POWER_SUPPLY=yCONFIG_POWER_SUPPLY_DEBUG=yCONFIG_BATTERY_PMU=yCONFIG_HWMON=yCONFIG_SSB_POSSIBLE=yCONFIG_SSB=mCONFIG_SSB_SPROM=yCONFIG_SSB_BLOCKIO=yCONFIG_SSB_PCIHOST_POSSIBLE=yCONFIG_SSB_PCIHOST=yCONFIG_SSB_B43_PCI_BRIDGE=y CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y CONFIG_SSB_DRIVER_PCICORE=yCONFIG_BCMA_POSSIBLE=yCONFIG_AGP=yCONFIG_AGP_UNINORTH=yCONFIG_VGA_ARB=yCONFIG_VGA_ARB_MAX_GPUS=16CONFIG_DRM=yCONFIG_DRM_KMS_HELPER=yCONFIG_DRM_TTM=yCONFIG_DRM_RADEON=yCONFIG_DRM_RADEON_KMS=y CONFIG_VIDEO_OUTPUT_CONTROL=mCONFIG_FB=yCONFIG_FIRMWARE_EDID=yCONFIG_FB_DDC=yCONFIG_FB_CFB_FILLRECT=yCONFIG_FB_CFB_COPYAREA=yCONFIG_FB_CFB_IMAGEBLIT=yCONFIG_FB_MACMODES=yCONFIG_FB_BACKLIGHT=yCONFIG_FB_MODE_HELPERS=yCONFIG_FB_RADEON=yCONFIG_FB_RADEON_I2C=y CONFIG_FB_RADEON_BACKLIGHT=y CONFIG_BACKLIGHT_LCD_SUPPORT=y CONFIG_LCD_CLASS_DEVICE=yCONFIG_LCD_PLATFORM=y CONFIG_BACKLIGHT_CLASS_DEVICE=y CONFIG_BACKLIGHT_GENERIC=m CONFIG_DISPLAY_SUPPORT=mCONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=yCONFIG_SOUND=mCONFIG_SOUND_OSS_CORE=yCONFIG_SND=mCONFIG_SND_TIMER=mCONFIG_SND_PCM=mCONFIG_SND_SEQUENCER=mCONFIG_SND_OSSEMUL=yCONFIG_SND_MIXER_OSS=mCONFIG_SND_PCM_OSS=mCONFIG_SND_PCM_OSS_PLUGINS=yCONFIG_SND_HRTIMER=m CONFIG_SND_SEQ_HRTIMER_DEFAULT=y CONFIG_SND_VERBOSE_PROCFS=yCONFIG_SND_VMASTER=yCONFIG_SND_PPC=yCONFIG_SND_POWERMAC=m CONFIG_SND_POWERMAC_AUTO_DRC=yCONFIG_SND_AOA=mCONFIG_SND_AOA_FABRIC_LAYOUT=m CONFIG_SND_AOA_ONYX=mCONFIG_SND_AOA_TAS=mCONFIG_SND_AOA_SOUNDBUS=m CONFIG_SND_AOA_SOUNDBUS_I2S=mCONFIG_HID_SUPPORT=yCONFIG_HID=yCONFIG_USB_HID=mCONFIG_HID_A4TECH=mCONFIG_HID_APPLE=mCONFIG_HID_BELKIN=mCONFIG_HID_CHERRY=mCONFIG_HID_CHICONY=mCONFIG_HID_CYPRESS=mCONFIG_HID_DRAGONRISE=mCONFIG_HID_EZKEY=mCONFIG_HID_KYE=mCONFIG_HID_GYRATION=mCONFIG_HID_TWINHAN=mCONFIG_HID_KENSINGTON=mCONFIG_HID_LOGITECH=mCONFIG_HID_LOGITECH_DJ=mCONFIG_HID_MICROSOFT=mCONFIG_HID_MONTEREY=mCONFIG_HID_NTRIG=mCONFIG_HID_ORTEK=mCONFIG_HID_PANTHERLORD=mCONFIG_HID_PETALYNX=mCONFIG_HID_SAMSUNG=mCONFIG_HID_SONY=mCONFIG_HID_SUNPLUS=mCONFIG_HID_GREENASIA=mCONFIG_HID_SMARTJOYPLUS=mCONFIG_HID_TOPSEED=mCONFIG_HID_THRUSTMASTER=mCONFIG_HID_ZEROPLUS=mCONFIG_USB_SUPPORT=yCONFIG_USB_COMMON=yCONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB_ARCH_HAS_OHCI=y CONFIG_USB_ARCH_HAS_EHCI=y CONFIG_USB_ARCH_HAS_XHCI=yCONFIG_USB=yCONFIG_USB_DEVICEFS=yCONFIG_USB_DYNAMIC_MINORS=yCONFIG_USB_SUSPEND=yCONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_ROOT_HUB_TT=y CONFIG_USB_EHCI_TT_NEWSCHED=y CONFIG_USB_EHCI_HCD_PPC_OF=yCONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD_PPC_OF_BE=y CONFIG_USB_OHCI_HCD_PPC_OF=y CONFIG_USB_OHCI_HCD_PCI=y CONFIG_USB_OHCI_BIG_ENDIAN_DESC=y CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y CONFIG_USB_OHCI_LITTLE_ENDIAN=y CONFIG_USB_STORAGE=mCONFIG_USB_STORAGE_FREECOM=m CONFIG_USB_STORAGE_ISD200=m CONFIG_USB_STORAGE_USBAT=mCONFIG_USB_SERIAL=mCONFIG_USB_SERIAL_GENERIC=y CONFIG_USB_SERIAL_PL2303=m CONFIG_USB_SERIAL_CYBERJACK=m CONFIG_USB_SERIAL_WWAN=m CONFIG_USB_SERIAL_OPTION=mCONFIG_NEW_LEDS=yCONFIG_LEDS_CLASS=yCONFIG_LEDS_TRIGGERS=yCONFIG_LEDS_TRIGGER_TIMER=m CONFIG_LEDS_TRIGGER_DISK=yCONFIG_VIRTIO=mCONFIG_VIRTIO_RING=mCONFIG_VIRTIO_PCI=mCONFIG_VIRTIO_BALLOON=mCONFIG_STAGING=yCONFIG_XVMALLOC=yCONFIG_ZCACHE=yCONFIG_PM_DEVFREQ=y CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND=y CONFIG_DEVFREQ_GOV_PERFORMANCE=y CONFIG_DEVFREQ_GOV_POWERSAVE=y CONFIG_DEVFREQ_GOV_USERSPACE=yCONFIG_EXT4_FS=yCONFIG_EXT4_USE_FOR_EXT23=yCONFIG_EXT4_FS_XATTR=yCONFIG_EXT4_FS_POSIX_ACL=y CONFIG_EXT4_FS_SECURITY=yCONFIG_JBD2=yCONFIG_JBD2_DEBUG=yCONFIG_FS_MBCACHE=yCONFIG_BTRFS_FS=mCONFIG_BTRFS_FS_POSIX_ACL=yCONFIG_FS_POSIX_ACL=yCONFIG_FILE_LOCKING=yCONFIG_FSNOTIFY=yCONFIG_DNOTIFY=yCONFIG_INOTIFY_USER=yCONFIG_FANOTIFY=yCONFIG_FUSE_FS=mCONFIG_GENERIC_ACL=yCONFIG_ISO9660_FS=mCONFIG_JOLIET=yCONFIG_ZISOFS=yCONFIG_UDF_FS=mCONFIG_UDF_NLS=yCONFIG_FAT_FS=mCONFIG_VFAT_FS=mCONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" CONFIG_PROC_FS=yCONFIG_PROC_KCORE=yCONFIG_PROC_SYSCTL=yCONFIG_PROC_PAGE_MONITOR=yCONFIG_SYSFS=yCONFIG_TMPFS=yCONFIG_TMPFS_POSIX_ACL=yCONFIG_TMPFS_XATTR=yCONFIG_MISC_FILESYSTEMS=yCONFIG_HFS_FS=mCONFIG_HFSPLUS_FS=mCONFIG_UFS_FS=mCONFIG_UFS_FS_WRITE=yCONFIG_NETWORK_FILESYSTEMS=yCONFIG_NFS_FS=mCONFIG_NFS_V3=yCONFIG_NFS_V4=yCONFIG_NFS_V4_1=yCONFIG_PNFS_FILE_LAYOUT=mCONFIG_PNFS_BLOCK=mCONFIG_NFS_USE_KERNEL_DNS=yCONFIG_LOCKD=mCONFIG_LOCKD_V4=yCONFIG_NFS_COMMON=yCONFIG_SUNRPC=mCONFIG_SUNRPC_GSS=mCONFIG_SUNRPC_BACKCHANNEL=yCONFIG_CIFS=mCONFIG_CIFS_XATTR=yCONFIG_CIFS_POSIX=yCONFIG_PARTITION_ADVANCED=yCONFIG_MAC_PARTITION=yCONFIG_MSDOS_PARTITION=yCONFIG_NLS=yCONFIG_NLS_DEFAULT="cp437" CONFIG_NLS_CODEPAGE_437=m CONFIG_NLS_CODEPAGE_850=mCONFIG_NLS_ISO8859_1=mCONFIG_NLS_UTF8=mCONFIG_BINARY_PRINTF=yCONFIG_BITREVERSE=yCONFIG_CRC_CCITT=mCONFIG_CRC16=yCONFIG_CRC_T10DIF=yCONFIG_CRC_ITU_T=mCONFIG_CRC32=yCONFIG_LIBCRC32C=mCONFIG_ZLIB_INFLATE=mCONFIG_ZLIB_DEFLATE=mCONFIG_LZO_COMPRESS=yCONFIG_LZO_DECOMPRESS=yCONFIG_XZ_DEC=yCONFIG_XZ_DEC_X86=yCONFIG_XZ_DEC_POWERPC=yCONFIG_XZ_DEC_IA64=yCONFIG_XZ_DEC_ARM=yCONFIG_XZ_DEC_ARMTHUMB=yCONFIG_XZ_DEC_SPARC=yCONFIG_XZ_DEC_BCJ=yCONFIG_HAS_IOMEM=yCONFIG_HAS_IOPORT=yCONFIG_HAS_DMA=yCONFIG_NLATTR=yCONFIG_GENERIC_ATOMIC64=yCONFIG_AVERAGE=yCONFIG_PRINTK_TIME=y CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4 CONFIG_ENABLE_WARN_DEPRECATED=y CONFIG_ENABLE_MUST_CHECK=yCONFIG_FRAME_WARN=2048CONFIG_MAGIC_SYSRQ=yCONFIG_STRIP_ASM_SYMS=yCONFIG_DEBUG_FS=yCONFIG_DEBUG_KERNEL=yCONFIG_LOCKUP_DETECTOR=y CONFIG_BOOTPARAM_HARDLOCKUP_PANIC=y CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE=1 CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC=y CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=1 CONFIG_DETECT_HUNG_TASK=y CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120 CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 CONFIG_SCHED_DEBUG=yCONFIG_TIMER_STATS=yCONFIG_DEBUG_ATOMIC_SLEEP=yCONFIG_STACKTRACE=yCONFIG_DEBUG_BUGVERBOSE=yCONFIG_DEBUG_INFO=yCONFIG_DEBUG_MEMORY_INIT=yCONFIG_FRAME_POINTER=y CONFIG_KPROBES_SANITY_TEST=y CONFIG_SYSCTL_SYSCALL_CHECK=yCONFIG_NOP_TRACER=yCONFIG_HAVE_FUNCTION_TRACER=y CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y CONFIG_HAVE_DYNAMIC_FTRACE=y CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y CONFIG_HAVE_SYSCALL_TRACEPOINTS=y CONFIG_TRACER_MAX_TRACE=yCONFIG_RING_BUFFER=yCONFIG_EVENT_TRACING=y CONFIG_CONTEXT_SWITCH_TRACER=yCONFIG_TRACING=yCONFIG_GENERIC_TRACER=yCONFIG_TRACING_SUPPORT=yCONFIG_FTRACE=yCONFIG_FUNCTION_TRACER=y CONFIG_FUNCTION_GRAPH_TRACER=y CONFIG_SCHED_TRACER=yCONFIG_FTRACE_SYSCALLS=y CONFIG_BRANCH_PROFILE_NONE=y CONFIG_BLK_DEV_IO_TRACE=yCONFIG_KPROBE_EVENT=yCONFIG_DYNAMIC_FTRACE=yCONFIG_FUNCTION_PROFILER=y CONFIG_FTRACE_MCOUNT_RECORD=y CONFIG_FTRACE_SELFTEST=y CONFIG_FTRACE_STARTUP_TEST=y CONFIG_EVENT_TRACE_TEST_SYSCALLS=y CONFIG_HAVE_ARCH_KGDB=yCONFIG_TEST_KSTRTOX=yCONFIG_PPC_WERROR=yCONFIG_PRINT_STACK_DEPTH=64 CONFIG_DEBUG_STACKOVERFLOW=y CONFIG_PPC_EMULATED_STATS=y CONFIG_CODE_PATCHING_SELFTEST=y CONFIG_FTR_FIXUP_SELFTEST=y CONFIG_MSI_BITMAP_SELFTEST=yCONFIG_BOOTX_TEXT=yCONFIG_KEYS=yCONFIG_SECURITY_DMESG_RESTRICT=yCONFIG_SECURITY=yCONFIG_SECURITYFS=yCONFIG_SECURITY_NETWORK=yCONFIG_SECURITY_PATH=yCONFIG_SECURITY_APPARMOR=y CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1 CONFIG_DEFAULT_SECURITY_DAC=y CONFIG_DEFAULT_SECURITY=""CONFIG_CRYPTO=yCONFIG_CRYPTO_ALGAPI=yCONFIG_CRYPTO_ALGAPI2=yCONFIG_CRYPTO_AEAD2=yCONFIG_CRYPTO_BLKCIPHER=y CONFIG_CRYPTO_BLKCIPHER2=yCONFIG_CRYPTO_HASH=yCONFIG_CRYPTO_HASH2=yCONFIG_CRYPTO_RNG2=yCONFIG_CRYPTO_PCOMP=mCONFIG_CRYPTO_PCOMP2=yCONFIG_CRYPTO_MANAGER=yCONFIG_CRYPTO_MANAGER2=yCONFIG_CRYPTO_GF128MUL=mCONFIG_CRYPTO_WORKQUEUE=yCONFIG_CRYPTO_CBC=yCONFIG_CRYPTO_ECB=mCONFIG_CRYPTO_PCBC=mCONFIG_CRYPTO_XTS=mCONFIG_CRYPTO_HMAC=mCONFIG_CRYPTO_CRC32C=mCONFIG_CRYPTO_MD4=mCONFIG_CRYPTO_MD5=mCONFIG_CRYPTO_MICHAEL_MIC=mCONFIG_CRYPTO_SHA1=yCONFIG_CRYPTO_AES=yCONFIG_CRYPTO_ARC4=yCONFIG_CRYPTO_BLOWFISH=y CONFIG_CRYPTO_BLOWFISH_COMMON=y CONFIG_CRYPTO_DES=mCONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_TWOFISH_COMMON=m CONFIG_CRYPTO_DEFLATE=mCONFIG_CRYPTO_ZLIB=mCONFIG_CRYPTO_LZO=mCONFIG_KVM_MMIO=yCONFIG_VIRTUALIZATION=yCONFIG_KVM=yCONFIG_KVM_BOOK3S_HANDLER=y CONFIG_KVM_BOOK3S_32_HANDLER=y CONFIG_KVM_BOOK3S_PR=yCONFIG_KVM_BOOK3S_32=mCONFIG_VHOST_NET=m
I wish you and everybody a merry christmas.
Signature · 2 lines
Wenn Du jedesmal stehen bleibst, wenn ein Hund bellt, wirst du Deine Reise nie beenden. (Arabisches Sprichwort)
Jörg Sommer hat am Sat 24. Dec, 11:31 (+0100) geschrieben:
Quoted 46 lines
Alexander Graf hat am Fri 23. Dec, 14:50 (+0100) geschrieben:
Quoted 45 lines · Jörg Sommer
Quoted 28 lines
Jörg Sommer hat am Mon 07. Nov, 20:48 (+0100) geschrieben:
Quoted 7 lines
CHK include/linux/version.h HOSTCC scripts/mod/modpost.o CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTLD scripts/mod/modpost GEN include/generated/bounds.h CC arch/powerpc/kernel/asm-offsets.sQuoted 11 lines
In file included from
arch/powerpc/kernel/asm-offsets.c:59:0:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h: In function ‘compute_tlbie_rb’:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: error: ‘HPTE_V_SECONDARY’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: note: each undeclared identifier is reported only once for each function it appears in/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:396:12: error: ‘HPTE_V_1TB_SEG’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:401:10: error: ‘HPTE_V_LARGE’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:415:2: warning: right shift count >= width of type [enabled by default] make[3]: *** [arch/powerpc/kernel/asm-offsets.s] Fehler 1
make[2]: *** [prepare0] Fehler 2
make[1]: *** [deb-pkg] Fehler 2
make: *** [deb-pkg] Fehler 2I'm so sorry to have to report a new bug in one of your patches. It was covered by the one above. I've picked the commit for it from your git repository and now, the kernel build fails with this error:
BOOTCC arch/powerpc/boot/fdt_strerror.o BOOTAR arch/powerpc/boot/wrapper.a WRAP arch/powerpc/boot/zImage.pmac WRAP arch/powerpc/boot/zImage.coffQuoted 7 lines
ERROR: "
kvmppc_h_pr" [arch/powerpc/kvm/kvm.ko] undefined! make[3]: *** [__modpost] Fehler 1
make[2]: *** [modules] Fehler 2
make[2]: *** Warte auf noch nicht beendete Prozesse...
WRAParch/powerpc/boot/zImage.miboot
make[1]: *** [deb-pkg] Fehler 2
make: *** [deb-pkg] Fehler 2This is odd.
kvmppc_h_prshouldn't be accessed when not inbook3s_64_prmode:#ifdef CONFIG_KVM_BOOK3S_64_PR if (kvmppc_h_pr(vcpu, cmd) == EMULATE_DONE) { r = RESUME_GUEST; break; }#endif
Is this the change you've thought of?
commit b8624f11e94dd9c2280cb01bf2ede31e4316477d
Author: Jörg Sommer <[email protected]> Date: Sat Dec 24 12:03:03 2011 +0100
KVM: PPC: Use kvmppc_h_pr only if it's available
The function kvmppc_h_pr() is only available when the config option CONFIG_KVM_BOOK3S_64_PR is set, which is not the case for 32-bit PowerPCs for example. Building the kernel for these systems failed, because the symbol could not be resolved.
ERROR: "kvmppc_h_pr" [arch/powerpc/kvm/kvm.ko] undefined!
arch/powerpc/kvm/book3s_pr.c +2 -0
@@ -677,10 +677,12 @@ program_interrupt:ulong cmd =kvmppc_get_gpr (vcpu,3 );int i; +#ifdef CONFIG_KVM_BOOK3S_64_PR if (kvmppc_h_pr (vcpu, cmd) ==EMULATE_DONE ) { r =RESUME_GUEST ;break ; } +#endif run->papr_hcall.nr = cmd;for (i =0 ; i <9 ; ++i) {
Signature · 4 lines
„Es wurden und werden zu viele sprachlose Bücher gedruckt, nach deren
schon flüchtiger Lektüre man all die Bäume um Vergebung bitten möchte,
die für den Schund ihr Leben lassen mussten.“ (Michael Jürgs,
Seichtgebiete – Warum wir hemmungslos verblöden)Quoted 72 lines · Jörg Sommer
Jörg Sommer hat am Sat 24. Dec, 11:31 (+0100) geschrieben:
Quoted 46 lines
Alexander Graf hat am Fri 23. Dec, 14:50 (+0100) geschrieben:
Quoted 45 lines · Jörg Sommer
Quoted 28 lines
Jörg Sommer hat am Mon 07. Nov, 20:48 (+0100) geschrieben:
Quoted 7 lines
CHK include/linux/version.h HOSTCC scripts/mod/modpost.o CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTLD scripts/mod/modpost GEN include/generated/bounds.h CC arch/powerpc/kernel/asm-offsets.sQuoted 11 lines
In file included from
arch/powerpc/kernel/asm-offsets.c:59:0:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h: In function ‘compute_tlbie_rb’:/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: error: ‘HPTE_V_SECONDARY’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: note: each undeclared identifier is reported only once for each function it appears in/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:396:12: error: ‘HPTE_V_1TB_SEG’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:401:10: error: ‘HPTE_V_LARGE’ undeclared (first use in this function)/home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:415:2: warning: right shift count >= width of type [enabled by default] make[3]: *** [arch/powerpc/kernel/asm-offsets.s] Fehler 1
make[2]: *** [prepare0] Fehler 2
make[1]: *** [deb-pkg] Fehler 2
make: *** [deb-pkg] Fehler 2I'm so sorry to have to report a new bug in one of your patches. It was covered by the one above. I've picked the commit for it from your git repository and now, the kernel build fails with this error:
BOOTCC arch/powerpc/boot/fdt_strerror.o BOOTAR arch/powerpc/boot/wrapper.a WRAP arch/powerpc/boot/zImage.pmac WRAP arch/powerpc/boot/zImage.coffQuoted 7 lines
ERROR: "
kvmppc_h_pr" [arch/powerpc/kvm/kvm.ko] undefined! make[3]: *** [__modpost] Fehler 1
make[2]: *** [modules] Fehler 2
make[2]: *** Warte auf noch nicht beendete Prozesse...
WRAParch/powerpc/boot/zImage.miboot
make[1]: *** [deb-pkg] Fehler 2
make: *** [deb-pkg] Fehler 2This is odd.
kvmppc_h_prshouldn't be accessed when not inbook3s_64_prmode:#ifdef CONFIG_KVM_BOOK3S_64_PR if (kvmppc_h_pr(vcpu, cmd) = EMULATE_DONE) { r = RESUME_GUEST; break; }#endif
Is this the change you've thought of?
commit
b8624f11e94dd9c2280cb01bf2ede31e4316477dAuthor: Jörg Sommer <[email protected]> Date: Sat Dec 24 12:03:03 2011 +0100KVM: PPC: Use
kvmppc_h_pronly if it's availableThe function
kvmppc_h_pr()is only available when the config optionCONFIG_KVM_BOOK3S_64_PRis set, which is not the case for 32-bit PowerPCs for example. Building the kernel for these systems failed, because the symbol could not be resolved.ERROR: "
kvmppc_h_pr" [arch/powerpc/kvm/kvm.ko] undefined!Signed-off-by Jörg Sommer <[email protected]>arch/powerpc/kvm/book3s_pr.c +0
-0@@ -677,10 +677,12 @@ program_interrupt:ulong cmd =kvmppc_get_gpr (vcpu,3 );int i;
arch/powerpc/kvm/book3s_pr.c program_interrupt: · line 688
Quoted 10 lines
arch/powerpc/kvm/book3s_pr.c +2
-0+#ifdef CONFIG_KVM_BOOK3S_64_PR if (kvmppc_h_pr (vcpu, cmd) =EMULATE_DONE ) { r =RESUME_GUEST ;break ; } +#endif run->papr_hcall.nr = cmd;for (i =0 ; i <9 ; ++i) {
I was actually thinking of:
commit dfc209648daf8ba4197e71376b76c95fd26fd272
Author: Andreas Schwab <[email protected]> Date: Tue Nov 8 07:17:39 2011 +0000
KVM: PPC: protect use of kvmppc_h_pr
kvmppc_h_pr is only available if CONFIG_KVM_BOOK3S_64_PR.
arch/powerpc/kvm/book3s_pr.c +2 -0
@@ -660,10 +660,12 @@ program_interrupt:ulong cmd =kvmppc_get_gpr (vcpu,3 );int i; +#ifdef CONFIG_KVM_BOOK3S_64_PR if (kvmppc_h_pr (vcpu, cmd) =EMULATE_DONE ) { r =RESUME_GUEST ;break ; } +#endif run->papr_hcall.nr = cmd;for (i =0 ; i <9 ; ++i) {
But yes :). I guess we need to make sure this commit also lands in 3.2 :(.
Alex
Quoted 31 lines · Alexander Graf
I was actually thinking of:
commit
dfc209648daf8ba4197e71376b76c95fd26fd272Author: Andreas Schwab <[email protected]> Date: Tue Nov 8 07:17:39 2011 +0000KVM: PPC: protect use of
kvmppc_h_pr
kvmppc_h_pris only available ifCONFIG_KVM_BOOK3S_64_PR.Signed-off-by Andreas Schwab <[email protected]>Signed-off-by Alexander Graf <[email protected]>arch/powerpc/kvm/book3s_pr.c +2
-0@@ -660,10 +660,12 @@ program_interrupt:ulong cmd =kvmppc_get_gpr (vcpu,3 );int i; +#ifdef CONFIG_KVM_BOOK3S_64_PR if (kvmppc_h_pr (vcpu, cmd) ==EMULATE_DONE ) { r =RESUME_GUEST ;break ; } +#endif run->papr_hcall.nr = cmd;for (i =0 ; i <9 ; ++i) {
Quoted 3 lines
But yes :). I guess we need to make sure this commit also lands in 3.2 :(.
Please post it ASAP, I'm preparing a pull request for 3.2.
Signature · 1 line
error compiling committee.c: too many arguments to function
Alexander Graf hat am Sat 24. Dec, 18:05 (+0100) geschrieben:
Quoted 21 lines · Jörg Sommer
Quoted 19 lines
Jörg Sommer hat am Sat 24. Dec, 11:31 (+0100) geschrieben:
Quoted 18 lines
Alexander Graf hat am Fri 23. Dec, 14:50 (+0100) geschrieben:
Quoted 17 lines · Jörg Sommer
Quoted 16 lines
I'm so sorry to have to report a new bug in one of your patches. It was covered by the one above. I've picked the commit for it from your git repository and now, the kernel build fails with this error:
BOOTCC arch/powerpc/boot/fdt_strerror.o BOOTAR arch/powerpc/boot/wrapper.a WRAP arch/powerpc/boot/zImage.pmac WRAP arch/powerpc/boot/zImage.coffERROR: "
kvmppc_h_pr" [arch/powerpc/kvm/kvm.ko] undefined! make[3]: *** [__modpost] Fehler 1
make[2]: *** [modules] Fehler 2
make[2]: *** Warte auf noch nicht beendete Prozesse...
WRAParch/powerpc/boot/zImage.miboot
make[1]: *** [deb-pkg] Fehler 2
make: *** [deb-pkg] Fehler 2
Quoted 7 lines
I was actually thinking of:
commit
dfc209648daf8ba4197e71376b76c95fd26fd272Author: Andreas Schwab <[email protected]> Date: Tue Nov 8 07:17:39 2011 +0000But yes :). I guess we need to make sure this commit also lands in 3.2 :(.
So there are at least two commits they must go into 3.2 to make the kernel build again, from my point of view:
• KVM: PPC: protect use of kvmppc_h_pr
• KVM: PPC: move compute_tlbie_rb to book3s_64 common header
Bye, Jörg.
Signature · 3 lines
And 1.1.81 is officially BugFree(tm), so if you receive any bug-reports
on it, you know they are just evil lies.
(Linus Torvalds)Quoted 28 lines · Jörg Sommer
Alexander Graf hat am Sat 24. Dec, 18:05 (+0100) geschrieben:
Quoted 26 lines · Jörg Sommer
Quoted 19 lines
Jörg Sommer hat am Sat 24. Dec, 11:31 (+0100) geschrieben:
Quoted 18 lines
Alexander Graf hat am Fri 23. Dec, 14:50 (+0100) geschrieben:
Quoted 17 lines · Jörg Sommer
Quoted 16 lines
I'm so sorry to have to report a new bug in one of your patches. It was covered by the one above. I've picked the commit for it from your git repository and now, the kernel build fails with this error:
BOOTCC arch/powerpc/boot/fdt_strerror.o BOOTAR arch/powerpc/boot/wrapper.a WRAP arch/powerpc/boot/zImage.pmac WRAP arch/powerpc/boot/zImage.coffERROR: "
kvmppc_h_pr" [arch/powerpc/kvm/kvm.ko] undefined! make[3]: *** [__modpost] Fehler 1
make[2]: *** [modules] Fehler 2
make[2]: *** Warte auf noch nicht beendete Prozesse...
WRAParch/powerpc/boot/zImage.miboot
make[1]: *** [deb-pkg] Fehler 2
make: *** [deb-pkg] Fehler 2I was actually thinking of:
commit
dfc209648daf8ba4197e71376b76c95fd26fd272Author: Andreas Schwab <[email protected]> Date: Tue Nov 8 07:17:39 2011 +0000
Quoted 7 lines
Quoted 1 line
But yes :). I guess we need to make sure this commit also lands in 3.2 :(.
So there are at least two commits they must go into 3.2 to make the kernel build again, from my point of view:
• KVM: PPC: protect use of
kvmppc_h_pr
• KVM: PPC: movecompute_tlbie_rbtobook3s_64common header
Yup, thanks :). All compile fixes that piled up in my tree are now with Avi to push to 3.2 :).
Alex
Alexander Graf hat am Fri 23. Dec, 14:50 (+0100) geschrieben:
Quoted 13 lines · Jörg Sommer
Quoted 11 lines
BOOTCC arch/powerpc/boot/fdt_strerror.o BOOTAR arch/powerpc/boot/wrapper.a WRAP arch/powerpc/boot/zImage.pmac WRAP arch/powerpc/boot/zImage.coffERROR: "
kvmppc_h_pr" [arch/powerpc/kvm/kvm.ko] undefined! make[3]: *** [__modpost] Fehler 1
make[2]: *** [modules] Fehler 2
make[2]: *** Warte auf noch nicht beendete Prozesse...
WRAParch/powerpc/boot/zImage.miboot
make[1]: *** [deb-pkg] Fehler 2
make: *** [deb-pkg] Fehler 2
Quoted 8 lines
This is odd.
kvmppc_h_prshouldn't be accessed when not inbook3s_64_prmode:#ifdef CONFIG_KVM_BOOK3S_64_PR if (kvmppc_h_pr(vcpu, cmd) == EMULATE_DONE) { r = RESUME_GUEST; break; }#endif
I had simply reverted the commit a668f2bd3f14ce7f92e119f4b5d9b50cdc59e855 and now, I get these lines:
[ 539.183154] BUG: sleeping function called from invalid context at /home/joerg/kein_Backup/git/linux/arch/powerpc/include/asm/uaccess.h:438 [ 539.183193] in_atomic(): 1, irqs_disabled(): 0, pid: 1889, name: qemu-system-ppc [ 539.183205] Call Trace: [ 539.183231] [e33f5e00] [c000bcf4] show_stack+0xbc/0x194 (unreliable) [ 539.183253] [e33f5e50] [c04601cc] dump_stack+0x30/0x38 [ 539.183277] [e33f5e60] [c0033edc] __might_sleep+0xf8/0x100 [ 539.183302] [e33f5e70] [c0053f70] copy_siginfo_to_user+0x64/0x5ac [ 539.183320] [e33f5e90] [c00547ac] sys_rt_sigtimedwait+0x124/0x168 [ 539.183337] [e33f5f40] [c0013c70] ret_from_syscall+0x0/0x38 [ 539.183378] --- Exception: c01 at 0xf5bbd34 [ 539.183383] LR = 0x1000eea4 [ 539.183886] BUG: scheduling while atomic: qemu-system-ppc/1889/0x10000003 [ 539.183901] Modules linked in: kvm ipv6 fuse option usb_wwan usbserial snd_powermac b43 mac80211 snd_aoa_i2sbus snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_seq cfg80211 firewire_ohci usb_storage sr_mod evdev firewire_core rng_core snd_timer snd_seq_device snd pmac_zilog cdrom crc_itu_t serial_core soundcore ssb snd_aoa_soundbus [ 539.184000] Call Trace: [ 539.184018] [e33f5630] [c000bcf4] show_stack+0xbc/0x194 (unreliable) [ 539.184038] [e33f5680] [c04601cc] dump_stack+0x30/0x38 [ 539.184054] [e33f5690] [c0460628] __schedule_bug+0x68/0x70 [ 539.184074] [e33f56a0] [c0456af0] __schedule+0x94/0x55c [ 539.184094] [e33f57a0] [c00361b0] __cond_resched+0x34/0x48 [ 539.184110] [e33f57b0] [c0457074] _cond_resched+0x48/0x54 [ 539.184138] [e33f57c0] [c00e8ce0] __get_user_pages+0x3c8/0x488 [ 539.184155] [e33f5830] [c00e8e64] get_user_pages+0x60/0x68 [ 539.184181] [e33f5840] [c001b028] get_user_pages_fast+0x144/0x190 [ 539.184238] [e33f5890] [ea4458f8] hva_to_pfn.isra.40+0x124/0x344 [kvm] [ 539.184269] [e33f58d0] [ea445bd4] __gfn_to_pfn+0xbc/0xc4 [kvm] [ 539.184298] [e33f58f0] [ea445c54] gfn_to_pfn+0x38/0x40 [kvm] [ 539.184334] [e33f5900] [ea44de78] kvmppc_gfn_to_pfn+0xb8/0xc8 [kvm] [ 539.184363] [e33f5920] [ea4520fc] kvmppc_mmu_map_page+0x3c/0x274 [kvm] [ 539.184393] [e33f5970] [ea44ed28] kvmppc_handle_pagefault+0x264/0x3d0 [kvm] [ 539.184423] [e33f59c0] [ea44f254] kvmppc_handle_exit+0x250/0x734 [kvm] [ 539.184452] [e33f5a00] [ea450e5c] kvmppc_handler_highmem+0x5c/0x6c [kvm] [ 539.184481] [e33f5ac0] [ea44fc94] kvmppc_vcpu_run+0x164/0x224 [kvm] [ 539.184511] [e33f5e20] [ea44a1bc] kvm_arch_vcpu_ioctl_run+0x350/0x37c [kvm] [ 539.184542] [e33f5e50] [ea4441b4] kvm_vcpu_ioctl+0x158/0xa08 [kvm] [ 539.184565] [e33f5ea0] [c011e508] do_vfs_ioctl+0x730/0x7a8 [ 539.184581] [e33f5f10] [c011e5e8] sys_ioctl+0x68/0x8c [ 539.184597] [e33f5f40] [c0013c70] ret_from_syscall+0x0/0x38 [ 539.184620] --- Exception: c01 at 0xf668048 [ 539.184625] LR = 0xf667fac [ 539.190159] Page fault in user mode with in_atomic() = 1 mm = e3398c40 [ 539.192448] NIP = 10029af0 MSR = d032 [ 539.194530] BUG: scheduling while atomic: qemu-system-ppc/1889/0x10000003 [ 539.196654] Modules linked in: kvm ipv6 fuse option usb_wwan usbserial snd_powermac b43 mac80211 snd_aoa_i2sbus snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_seq cfg80211 firewire_ohci usb_storage sr_mod evdev firewire_core rng_core snd_timer snd_seq_device snd pmac_zilog cdrom crc_itu_t serial_core soundcore ssb snd_aoa_soundbus [ 539.203960] Call Trace: [ 539.205886] [e33f5c00] [c000bcf4] show_stack+0xbc/0x194 (unreliable) [ 539.207936] [e33f5c50] [c04601cc] dump_stack+0x30/0x38 [ 539.209939] [e33f5c60] [c0460628] __schedule_bug+0x68/0x70 [ 539.211968] [e33f5c70] [c0456af0] __schedule+0x94/0x55c [ 539.214000] [e33f5d70] [c00361b0] __cond_resched+0x34/0x48 [ 539.216042] [e33f5d80] [c0457074] _cond_resched+0x48/0x54 [ 539.218100] [e33f5d90] [c0458404] mutex_lock+0x3c/0x64 [ 539.220162] [e33f5da0] [c000edcc] die+0xb4/0x244 [ 539.222161] [e33f5dd0] [c045a1f4] do_page_fault+0x168/0x5e0 [ 539.224146] [e33f5f40] [c00140a0] handle_page_fault+0xc/0x80 [ 539.226148] --- Exception: 301 at 0x10029af0 [ 539.226154] LR = 0x10029ae8 [ 539.252137] Oops: Weird page fault, sig: 11 [#1] [ 539.254123] PowerMac [ 539.255945] Modules linked in: kvm ipv6 fuse option usb_wwan usbserial snd_powermac b43 mac80211 snd_aoa_i2sbus snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_seq cfg80211 firewire_ohci usb_storage sr_mod evdev firewire_core rng_core snd_timer snd_seq_device snd pmac_zilog cdrom crc_itu_t serial_core soundcore ssb snd_aoa_soundbus [ 539.262919] NIP: 10029af0 LR: 10029ae8 CTR: c00fe560 [ 539.264843] REGS: e33f5f50 TRAP: 0301 Not tainted (3.2.0-rc6-00065-g6f39f29) [ 539.266785] MSR: 0000d032 <EE,PR,ME,IR,DR> CR: 24000464 XER: 00000000 [ 539.268894] DAR: 48023008, DSISR: 40000000 [ 539.270737] TASK = e68cd4a0[1889] 'qemu-system-ppc' THREAD: e33f4000 [ 539.270974] GPR00: 10029ae8 bf92ce60 4804ce30 10c7df00 48023000 24000464 00000002 0f668048 [ 539.273129] GPR08: 0000d032 00000000 00001032 e33f5f40 e33f4000 [ 539.276827] NIP [10029af0] 0x10029af0 [ 539.278668] LR [10029ae8] 0x10029ae8 [ 539.280446] Call Trace: [ 539.282173] ---[ end trace e4d95fa8275f9d6a ]--- [ 539.283945] note: qemu-system-ppc[1889] exited with preempt_count 1 [ 539.285754] BUG: scheduling while atomic: qemu-system-ppc/1889/0x10000002 [ 539.287576] Modules linked in: kvm ipv6 fuse option usb_wwan usbserial snd_powermac b43 mac80211 snd_aoa_i2sbus snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_seq cfg80211 firewire_ohci usb_storage sr_mod evdev firewire_core rng_core snd_timer snd_seq_device snd pmac_zilog cdrom crc_itu_t serial_core soundcore ssb snd_aoa_soundbus [ 539.293830] Call Trace: [ 539.295444] [e33f5b90] [c000bcf4] show_stack+0xbc/0x194 (unreliable) [ 539.297171] [e33f5be0] [c04601cc] dump_stack+0x30/0x38 [ 539.298816] [e33f5bf0] [c0460628] __schedule_bug+0x68/0x70 [ 539.300450] [e33f5c00] [c0456af0] __schedule+0x94/0x55c [ 539.302053] [e33f5d00] [c00361b0] __cond_resched+0x34/0x48 [ 539.303652] [e33f5d10] [c0457074] _cond_resched+0x48/0x54 [ 539.305252] [e33f5d20] [c0458854] down_read+0x3c/0x64 [ 539.306838] [e33f5d30] [c0081188] acct_collect+0x48/0x17c [ 539.308422] [e33f5d50] [c00429b0] do_exit+0x1ac/0x710 [ 539.309994] [e33f5da0] [c000ef50] die+0x238/0x244 [ 539.311540] [e33f5dd0] [c045a1f4] do_page_fault+0x168/0x5e0 [ 539.313103] [e33f5f40] [c00140a0] handle_page_fault+0xc/0x80 [ 539.314670] --- Exception: 301 at 0x10029af0 [ 539.314676] LR = 0x10029ae8 [ 539.321849] BUG: scheduling while atomic: qemu-system-ppc/1889/0x10000002 [ 539.323505] Modules linked in: kvm ipv6 fuse option usb_wwan usbserial snd_powermac b43 mac80211 snd_aoa_i2sbus snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_seq cfg80211 firewire_ohci usb_storage sr_mod evdev firewire_core rng_core snd_timer snd_seq_device snd pmac_zilog cdrom crc_itu_t serial_core soundcore ssb snd_aoa_soundbus [ 539.329287] Call Trace: [ 539.330837] [e33f5ac0] [c000bcf4] show_stack+0xbc/0x194 (unreliable) [ 539.332455] [e33f5b10] [c04601cc] dump_stack+0x30/0x38 [ 539.334012] [e33f5b20] [c0460628] __schedule_bug+0x68/0x70 [ 539.335580] [e33f5b30] [c0456af0] __schedule+0x94/0x55c [ 539.337143] [e33f5c30] [c00361b0] __cond_resched+0x34/0x48 [ 539.338700] [e33f5c40] [c0457074] _cond_resched+0x48/0x54 [ 539.340234] [e33f5c50] [c0458404] mutex_lock+0x3c/0x64 [ 539.341740] [e33f5c60] [c00eb004] unlink_file_vma+0x40/0x60 [ 539.343265] [e33f5c80] [c00e5e20] free_pgtables+0x68/0xc0 [ 539.344725] [e33f5cb0] [c00ec274] exit_mmap+0x108/0x144 [ 539.346192] [e33f5d10] [c003c2bc] mmput+0x68/0x120 [ 539.347623] [e33f5d20] [c00427fc] exit_mm+0x144/0x14c [ 539.349067] [e33f5d50] [c00429d4] do_exit+0x1d0/0x710 [ 539.350507] [e33f5da0] [c000ef50] die+0x238/0x244 [ 539.351934] [e33f5dd0] [c045a1f4] do_page_fault+0x168/0x5e0 [ 539.353365] [e33f5f40] [c00140a0] handle_page_fault+0xc/0x80 [ 539.354795] --- Exception: 301 at 0x10029af0 [ 539.354801] LR = 0x10029ae8
Signature · 4 lines
IRC: Der [Prof. Andreas Pfitzmann, TU Dresden] hat gerade vorgeschlagen, sie sollen doch statt Trojanern die elektromagnetische Abstrahlung nutzen. Das sei nicht massenfähig, ginge ohne Eingriff ins System, sei zielgerichtet, und, der Hammer, das funktioniere ja bei Wahlcomputern schon sehr gut.