2003-11-19 21:16:58

by Gerardo Exequiel Pozzi

[permalink] [raw]
Subject: 2.6.0-test9-mm4 (only) and vmware

Hi Andrew,

With the recent 2.6.0-test9-mm4 i can't start the vmware, it reports in vmware.log (debug ON):

Nov 19 17:27:40: vmx| WSSCAN: Not enough physical memory: req=49152 avail=0 over
head=4096 maxRespage=106496
Nov 19 17:27:40: vmx| WSSCAN: Not enough physical (in MB): nbVM=3 hostMem=512 ch
eckMemory=1

With linus tree from 2.6.0-test9-mm4/broken-out/linus.patch and 2.6.0-test3-mm3 don't have problem.

Any other test from broken-out to patch it?

Thanks.

chau,
djgera


#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_STANDALONE=y
CONFIG_BROKEN_ON_SMP=y

#
# General setup
#
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y

#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
CONFIG_MK7=y
# CONFIG_MK8 is not set
# CONFIG_MELAN is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_USE_3DNOW=y
# CONFIG_X86_4G is not set
# CONFIG_X86_SWITCH_PAGETABLES is not set
# CONFIG_X86_4G_VM_LAYOUT is not set
# CONFIG_X86_UACCESS_INDIRECT is not set
# CONFIG_X86_HIGH_ENTRY is not set
# CONFIG_HPET_TIMER is not set
# CONFIG_HPET_EMULATE_RTC is not set
# CONFIG_SMP is not set
CONFIG_PREEMPT=y
# CONFIG_X86_UP_APIC is not set
CONFIG_X86_TSC=y
CONFIG_X86_MCE=y
# CONFIG_X86_MCE_NONFATAL is not set
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set
# CONFIG_EDD is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_EFI is not set
CONFIG_HAVE_DEC_LOCK=y

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_SOFTWARE_SUSPEND is not set
# CONFIG_PM_DISK is not set

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
# CONFIG_ACPI_AC is not set
# CONFIG_ACPI_BATTERY is not set
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_ACPI_RELAXED_AML is not set
# CONFIG_X86_PM_TIMER is not set

#
# APM (Advanced Power Management) BIOS Support
#
# CONFIG_APM is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
# CONFIG_PCI_LEGACY_PROC is not set
CONFIG_PCI_NAMES=y
CONFIG_ISA=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set
CONFIG_HOTPLUG=y

#
# PCMCIA/CardBus support
#
# CONFIG_PCMCIA is not set
CONFIG_PCMCIA_PROBE=y

#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set

#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_MISC=m

#
# Device Drivers
#

#
# Generic Driver Options
#
# CONFIG_FW_LOADER is not set

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
CONFIG_PARPORT_PC_CML1=y
# CONFIG_PARPORT_SERIAL is not set
CONFIG_PARPORT_PC_FIFO=y
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_OTHER is not set
CONFIG_PARPORT_1284=y

#
# Plug and Play support
#
CONFIG_PNP=y
# CONFIG_PNP_DEBUG is not set

#
# Protocols
#
# CONFIG_ISAPNP is not set
CONFIG_PNPBIOS=y
# CONFIG_PNPBIOS_PROC_FS is not set

#
# Block devices
#
CONFIG_BLK_DEV_FD=m
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_CRYPTOLOOP=y
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_BLK_DEV_INITRD=y
# CONFIG_LBD is not set

#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_IDEDISK_STROKE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_IDE_TASK_IOCTL is not set
# CONFIG_IDE_TASKFILE_IO is not set

#
# IDE chipset support/bugfixes
#
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_GENERIC is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_IDEDMA_PCI_WIP is not set
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
CONFIG_BLK_DEV_VIA82CXXX=y
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_DMA_NONPCI is not set
# CONFIG_BLK_DEV_HD is not set

#
# SCSI device support
#
# CONFIG_SCSI is not set

#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set

#
# Fusion MPT device support
#

#
# IEEE 1394 (FireWire) support (EXPERIMENTAL)
#
# CONFIG_IEEE1394 is not set

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Networking support
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
# CONFIG_NETLINK_DEV is not set
CONFIG_UNIX=y
CONFIG_NET_KEY=y
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
CONFIG_SYN_COOKIES=y
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set

#
# IP: Virtual Server Configuration
#
# CONFIG_IP_VS is not set
# CONFIG_IPV6 is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set

#
# IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=m
CONFIG_IP_NF_FTP=m
CONFIG_IP_NF_IRC=m
CONFIG_IP_NF_TFTP=m
# CONFIG_IP_NF_AMANDA is not set
# CONFIG_IP_NF_QUEUE is not set
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_LIMIT=m
CONFIG_IP_NF_MATCH_IPRANGE=m
# CONFIG_IP_NF_MATCH_MAC is not set
CONFIG_IP_NF_MATCH_PKTTYPE=m
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
# CONFIG_IP_NF_MATCH_TOS is not set
CONFIG_IP_NF_MATCH_RECENT=m
# CONFIG_IP_NF_MATCH_ECN is not set
# CONFIG_IP_NF_MATCH_DSCP is not set
# CONFIG_IP_NF_MATCH_AH_ESP is not set
# CONFIG_IP_NF_MATCH_LENGTH is not set
# CONFIG_IP_NF_MATCH_TTL is not set
# CONFIG_IP_NF_MATCH_TCPMSS is not set
CONFIG_IP_NF_MATCH_HELPER=m
CONFIG_IP_NF_MATCH_STATE=m
CONFIG_IP_NF_MATCH_CONNTRACK=m
# CONFIG_IP_NF_MATCH_OWNER is not set
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_REDIRECT=m
# CONFIG_IP_NF_TARGET_NETMAP is not set
# CONFIG_IP_NF_TARGET_SAME is not set
# CONFIG_IP_NF_NAT_LOCAL is not set
# CONFIG_IP_NF_NAT_SNMP_BASIC is not set
CONFIG_IP_NF_NAT_IRC=m
CONFIG_IP_NF_NAT_FTP=m
CONFIG_IP_NF_NAT_TFTP=m
CONFIG_IP_NF_MANGLE=m
# CONFIG_IP_NF_TARGET_TOS is not set
# CONFIG_IP_NF_TARGET_ECN is not set
# CONFIG_IP_NF_TARGET_DSCP is not set
CONFIG_IP_NF_TARGET_MARK=m
# CONFIG_IP_NF_TARGET_CLASSIFY is not set
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
# CONFIG_IP_NF_TARGET_TCPMSS is not set
# CONFIG_IP_NF_ARPTABLES is not set
# CONFIG_IP_NF_COMPAT_IPCHAINS is not set
# CONFIG_IP_NF_COMPAT_IPFWADM is not set
CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set

#
# SCTP Configuration (EXPERIMENTAL)
#
CONFIG_IPV6_SCTP__=y
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
CONFIG_NETDEVICES=y

#
# ARCnet devices
#
# CONFIG_ARCNET is not set
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
CONFIG_TUN=m
# CONFIG_NET_SB1000 is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_MII=y
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
# CONFIG_B44 is not set
# CONFIG_FORCEDETH is not set
# CONFIG_CS89x0 is not set
# CONFIG_DGRS is not set
# CONFIG_EEPRO100 is not set
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_8139CP is not set
CONFIG_8139TOO=y
# CONFIG_8139TOO_PIO is not set
# CONFIG_8139TOO_TUNE_TWISTER is not set
# CONFIG_8139TOO_8129 is not set
# CONFIG_8139_OLD_RX_RESET is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_NET_POCKET is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SIS190 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set

#
# Ethernet (10000 Mbit)
#
# CONFIG_IXGB is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Token Ring devices
#
# CONFIG_TR is not set
# CONFIG_RCPCI is not set
# CONFIG_SHAPER is not set
# CONFIG_NET_POLL_CONTROLLER is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set

#
# Bluetooth support
#
# CONFIG_BT is not set

#
# ISDN subsystem
#
# CONFIG_ISDN_BOOL is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set

#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_PS2_SYNAPTICS is not set
CONFIG_MOUSE_SERIAL=y
# CONFIG_MOUSE_INPORT is not set
# CONFIG_MOUSE_LOGIBM is not set
# CONFIG_MOUSE_PC110PAD is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=y
CONFIG_INPUT_UINPUT=y

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
# CONFIG_SERIAL_8250_CONSOLE is not set
# CONFIG_SERIAL_8250_ACPI is not set
CONFIG_SERIAL_8250_NR_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
CONFIG_PRINTER=y
# CONFIG_LP_CONSOLE is not set
# CONFIG_PPDEV is not set
# CONFIG_TIPAR is not set

#
# I2C support
#
CONFIG_I2C=m
# CONFIG_I2C_CHARDEV is not set

#
# I2C Algorithms
#
# CONFIG_I2C_ALGOBIT is not set
# CONFIG_I2C_ALGOPCF is not set

#
# I2C Hardware Bus support
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_ISA is not set
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
CONFIG_I2C_VIAPRO=m

#
# I2C Hardware Sensors Chip support
#
CONFIG_I2C_SENSOR=m
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_EEPROM is not set
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_VIA686A is not set
CONFIG_SENSORS_W83781D=m

#
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_QIC02_TAPE is not set

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
CONFIG_AGP=y
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
# CONFIG_AGP_INTEL is not set
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
CONFIG_AGP_VIA=y
CONFIG_DRM=y
CONFIG_DRM_TDFX=y
# CONFIG_DRM_GAMMA is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HANGCHECK_TIMER is not set

#
# Multimedia devices
#
CONFIG_VIDEO_DEV=m

#
# Video For Linux
#

#
# Video Adapters
#
# CONFIG_VIDEO_PMS is not set
# CONFIG_VIDEO_BWQCAM is not set
# CONFIG_VIDEO_CQCAM is not set
# CONFIG_VIDEO_W9966 is not set
# CONFIG_VIDEO_CPIA is not set
# CONFIG_VIDEO_SAA5249 is not set
# CONFIG_TUNER_3036 is not set
# CONFIG_VIDEO_STRADIS is not set
# CONFIG_VIDEO_ZORAN is not set
# CONFIG_VIDEO_SAA7134 is not set
# CONFIG_VIDEO_MXB is not set
# CONFIG_VIDEO_DPC is not set
# CONFIG_VIDEO_HEXIUM_ORION is not set
# CONFIG_VIDEO_HEXIUM_GEMINI is not set

#
# Radio Adapters
#
# CONFIG_RADIO_CADET is not set
# CONFIG_RADIO_RTRACK is not set
# CONFIG_RADIO_RTRACK2 is not set
# CONFIG_RADIO_AZTECH is not set
# CONFIG_RADIO_GEMTEK is not set
# CONFIG_RADIO_GEMTEK_PCI is not set
# CONFIG_RADIO_MAXIRADIO is not set
# CONFIG_RADIO_MAESTRO is not set
# CONFIG_RADIO_SF16FMI is not set
# CONFIG_RADIO_TERRATEC is not set
# CONFIG_RADIO_TRUST is not set
# CONFIG_RADIO_TYPHOON is not set
# CONFIG_RADIO_ZOLTRIX is not set

#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set
# CONFIG_VIDEO_BTCX is not set

#
# Graphics support
#
CONFIG_FB=y
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_HGA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
CONFIG_FB_3DFX=m
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_VIRTUAL is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_PCI_CONSOLE=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y

#
# Logo configuration
#
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y

#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# ISA devices
#
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_WAVEFRONT is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set

#
# PCI devices
#
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
CONFIG_SND_EMU10K1=m
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VX222 is not set

#
# ALSA USB devices
#
# CONFIG_SND_USB_AUDIO is not set

#
# Open Sound System
#
CONFIG_SOUND_PRIME=y
# CONFIG_SOUND_BT878 is not set
# CONFIG_SOUND_CMPCI is not set
CONFIG_SOUND_EMU10K1=m
CONFIG_MIDI_EMU10K1=y
# CONFIG_SOUND_FUSION is not set
# CONFIG_SOUND_CS4281 is not set
# CONFIG_SOUND_ES1370 is not set
# CONFIG_SOUND_ES1371 is not set
# CONFIG_SOUND_ESSSOLO1 is not set
# CONFIG_SOUND_MAESTRO is not set
# CONFIG_SOUND_MAESTRO3 is not set
# CONFIG_SOUND_ICH is not set
# CONFIG_SOUND_SONICVIBES is not set
# CONFIG_SOUND_TRIDENT is not set
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
# CONFIG_SOUND_VIA82CXXX is not set
# CONFIG_SOUND_OSS is not set
# CONFIG_SOUND_TVMIXER is not set
# CONFIG_SOUND_ALI5455 is not set
# CONFIG_SOUND_FORTE is not set
# CONFIG_SOUND_RME96XX is not set
# CONFIG_SOUND_AD1980 is not set

#
# USB support
#
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=m

#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set

#
# SCSI support is needed for USB Storage
#
# CONFIG_USB_STORAGE is not set

#
# USB Human Interface Devices (HID)
#
# CONFIG_USB_HID is not set

#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_XPAD is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_SCANNER is not set

#
# USB Multimedia devices
#
# CONFIG_USB_DABUSB is not set
# CONFIG_USB_VICAM is not set
# CONFIG_USB_DSBR is not set
# CONFIG_USB_IBMCAM is not set
# CONFIG_USB_KONICAWC is not set
CONFIG_USB_OV511=m
# CONFIG_USB_PWC is not set
# CONFIG_USB_SE401 is not set
# CONFIG_USB_STV680 is not set

#
# USB Network adaptors
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_BRLVGER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_GADGET is not set

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
# CONFIG_EXT2_FS_SECURITY is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
# CONFIG_EXT3_FS_SECURITY is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_XFS_FS=y
# CONFIG_XFS_RT is not set
# CONFIG_XFS_QUOTA is not set
CONFIG_XFS_POSIX_ACL=y
CONFIG_MINIX_FS=m
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=y
CONFIG_UDF_FS=m

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=y
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
# CONFIG_NTFS_RW is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
# CONFIG_DEVFS_FS is not set
CONFIG_DEVPTS_FS=y
# CONFIG_DEVPTS_FS_XATTR is not set
CONFIG_TMPFS=y
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
CONFIG_CRAMFS=m
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
CONFIG_UFS_FS=m
# CONFIG_UFS_FS_WRITE is not set

#
# Network File Systems
#
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
CONFIG_NFS_V4=y
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
CONFIG_NFSD_V4=y
# CONFIG_NFSD_TCP is not set
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=m
CONFIG_SUNRPC=m
CONFIG_SUNRPC_GSS=m
CONFIG_RPCSEC_GSS_KRB5=m
CONFIG_SMB_FS=y
# CONFIG_SMB_NLS_DEFAULT is not set
CONFIG_CIFS=m
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
# CONFIG_AFS_FS is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_BSD_DISKLABEL=y
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_NEC98_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_EFI_PARTITION is not set

#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=y
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=y

#
# Profiling support
#
# CONFIG_PROFILING is not set

#
# Kernel hacking
#
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_IOVIRT is not set
CONFIG_MAGIC_SYSRQ=y
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_SPINLINE is not set
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_KGDB is not set
# CONFIG_FRAME_POINTER is not set

#
# Security options
#
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_NULL=m
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=m
CONFIG_CRYPTO_SHA1=m
CONFIG_CRYPTO_SHA256=m
CONFIG_CRYPTO_SHA512=m
CONFIG_CRYPTO_DES=m
CONFIG_CRYPTO_BLOWFISH=m
CONFIG_CRYPTO_TWOFISH=m
CONFIG_CRYPTO_SERPENT=m
CONFIG_CRYPTO_AES=m
CONFIG_CRYPTO_CAST5=m
CONFIG_CRYPTO_CAST6=m
CONFIG_CRYPTO_DEFLATE=m
CONFIG_CRYPTO_TEST=m

#
# Library routines
#
CONFIG_CRC32=y
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=m
CONFIG_X86_BIOS_REBOOT=y
CONFIG_PC=y


--
Gerardo Exequiel Pozzi ( djgera )
http://www.vmlinuz.com.ar http://www.djgera.com.ar
KeyID: 0x1B8C330D
Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D


2003-11-19 21:37:57

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

Gerardo Exequiel Pozzi <[email protected]> wrote:
>
> With the recent 2.6.0-test9-mm4 i can't start the vmware, it reports in vmware.log (debug ON):
>
> Nov 19 17:27:40: vmx| WSSCAN: Not enough physical memory: req=49152 avail=0 over
> head=4096 maxRespage=106496
> Nov 19 17:27:40: vmx| WSSCAN: Not enough physical (in MB): nbVM=3 hostMem=512 ch
> eckMemory=1
>
> With linus tree from 2.6.0-test9-mm4/broken-out/linus.patch and 2.6.0-test3-mm3 don't have problem.

hm, that's funny.

> Any other test from broken-out to patch it?

I can't immediately think what could have caused that. Maybe if you were
to strace vmware startup, see what is failing?

2003-11-20 00:21:23

by Jose Luis Domingo Lopez

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

On Wednesday, 19 November 2003, at 18:15:18 -0300,
Gerardo Exequiel Pozzi wrote:

> With the recent 2.6.0-test9-mm4 i can't start the vmware, it reports in vmware.log (debug ON):
>
I can confirm the problem here also with 2.6.0-test9-mm4, while
everything worked fine with 2.6.0-test9-mm3 with the same config.

I also realized while doing some basic tests that module "vmmon" was
unable to unload gracefully, and "has" to be forced to do so.

I can try to gather some more info when I come back from sleep + work.

PS: just in case it can help, VMware 4.0.1 5289 "patched" with (if I
recall correctly):
http://ftp.cvut.cz/vmware/vmware-any-any-update43.tar.gz

PS2: trying to "recompile" vmmon and vmnet again and starting VMware,
when tried to boot some guest OS I got the following in the logs:

kernel BUG at mm/memory.c:793!
invalid operand: 0000 [#5]
CPU: 0
EIP: 0060:[<c01425c7>] Tainted: PF VLI
EFLAGS: 00013212
EIP is at get_user_pages+0xe7/0x300
eax: 00001000 ebx: 406a0000 ecx: 00000000 edx: de7452c0
esi: d5966ec0 edi: 00000001 ebp: df8be940 esp: d052bcec
ds: 007b es: 007b ss: 0068
Process vmware-vmx (pid: 11300, threadinfo=d052a000 task=d9634cc0)
Stack: df8be940 d5966ec0 406a0000 00000001 00000002 00000000 00000000 d052a000
d052bd64 000406a0 d052bd44 e0b5012e d9634cc0 df8be940 406a0000 00000001
00000001 00000000 d052bd64 00000000 00000000 406a0000 d052bd74 e0b501a9
Call Trace:
[<e0b5012e>] HostIFGetUserPage+0x3a/0x66 [vmmon]
[<e0b501a9>] HostIF_LockPage+0x4f/0x2a2 [vmmon]
[<e0b52061>] Vmx86_LockPage+0x63/0xe0 [vmmon]
[<e0b4ddb8>] __LinuxDriver_Ioctl+0x2f0/0x978 [vmmon]
[<c013bcc8>] read_pages+0x1c8/0x1e0
[<c018b460>] ext3_get_block+0x0/0xa0
[<c013978f>] __alloc_pages+0xaf/0x350
[<c013bf1e>] do_page_cache_readahead+0xbe/0x110
[<c013964f>] buffered_rmqueue+0xaf/0x140
[<c013978f>] __alloc_pages+0xaf/0x350
[<e0b4d37c>] LinuxDriver_Open+0x7c/0x9e [vmmon]
[<c0139a4f>] __get_free_pages+0x1f/0x50
[<e0b5090d>] HostIF_AllocPage+0x11/0x32 [vmmon]
[<e0b4d711>] LinuxDriverAllocLowMem+0x57/0xca [vmmon]
[<c014494a>] __vma_link+0x3a/0xa0
[<e0b4e4e5>] LinuxDriver_IoctlV4+0x4d/0xd2 [vmmon]
[<c014524a>] do_mmap_pgoff+0x41a/0x6f0
[<e0b4ee73>] LinuxDriver_Ioctl+0x131/0x1b8 [vmmon]
[<c0162b85>] sys_ioctl+0xb5/0x230
[<c0150770>] sys_close+0x50/0x60
[<c02ad977>] syscall_call+0x7/0xb

Code: 00 85 c0 74 4b 85 c0 7e 2c 83 f8 01 75 0c 8b 44 24 30 ff 80 d8 01 00 00 eb bd 83 f8 02 75 0c 8b 54 24 30 ff 82 dc 01 00 00 eb ac <0f> 0b 19 03 d1 b6 2c c0 eb a2 40 75 f3 8b 5c 24 18 b8 f4 ff ff

Greetings.

--
Jose Luis Domingo Lopez
Linux Registered User #189436 Debian Linux Sid (Linux 2.6.0-test9-mm4)

2003-11-20 01:02:05

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

Jose Luis Domingo Lopez <[email protected]> wrote:
>
> PS2: trying to "recompile" vmmon and vmnet again and starting VMware,
> when tried to boot some guest OS I got the following in the logs:
>
> kernel BUG at mm/memory.c:793!

err, this is due to pagefault-accounting-fix.patch. Looks like vmware has
its own pagefault handler and Bill didn't update vmware ;)

Bill, can we take those BUGs out of there and just do some sane default
thing?

2003-11-20 01:07:32

by William Lee Irwin III

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

Jose Luis Domingo Lopez <[email protected]> wrote:
>> PS2: trying to "recompile" vmmon and vmnet again and starting VMware,
>> when tried to boot some guest OS I got the following in the logs:
>> kernel BUG at mm/memory.c:793!

On Wed, Nov 19, 2003 at 05:02:33PM -0800, Andrew Morton wrote:
> err, this is due to pagefault-accounting-fix.patch. Looks like vmware has
> its own pagefault handler and Bill didn't update vmware ;)
> Bill, can we take those BUGs out of there and just do some sane default
> thing?

Sure, default == VM_FAULT_MINOR incoming ETA 5 minutes.


-- wli

2003-11-20 01:12:36

by William Lee Irwin III

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

Jose Luis Domingo Lopez <[email protected]> wrote:
>> PS2: trying to "recompile" vmmon and vmnet again and starting VMware,
>> when tried to boot some guest OS I got the following in the logs:
>> kernel BUG at mm/memory.c:793!

On Wed, Nov 19, 2003 at 05:02:33PM -0800, Andrew Morton wrote:
> err, this is due to pagefault-accounting-fix.patch. Looks like vmware has
> its own pagefault handler and Bill didn't update vmware ;)
> Bill, can we take those BUGs out of there and just do some sane default
> thing?

Here it is.


-- wli


diff -prauN mm4-2.6.0-test9-1/arch/i386/mm/fault.c mm4-2.6.0-test9-default-1/arch/i386/mm/fault.c
--- mm4-2.6.0-test9-1/arch/i386/mm/fault.c 2003-11-19 00:07:03.000000000 -0800
+++ mm4-2.6.0-test9-default-1/arch/i386/mm/fault.c 2003-11-19 17:07:44.000000000 -0800
@@ -343,9 +343,6 @@ good_area:
* the fault.
*/
switch (handle_mm_fault(mm, vma, address, write)) {
- case VM_FAULT_MINOR:
- tsk->min_flt++;
- break;
case VM_FAULT_MAJOR:
tsk->maj_flt++;
break;
@@ -353,8 +350,10 @@ good_area:
goto do_sigbus;
case VM_FAULT_OOM:
goto out_of_memory;
+ case VM_FAULT_MINOR:
default:
- BUG();
+ tsk->min_flt++;
+ break;
}

/*
diff -prauN mm4-2.6.0-test9-1/mm/memory.c mm4-2.6.0-test9-default-1/mm/memory.c
--- mm4-2.6.0-test9-1/mm/memory.c 2003-11-19 00:07:15.000000000 -0800
+++ mm4-2.6.0-test9-default-1/mm/memory.c 2003-11-19 17:07:56.000000000 -0800
@@ -779,9 +779,6 @@ int get_user_pages(struct task_struct *t
while (!(map = follow_page(mm, start, write))) {
spin_unlock(&mm->page_table_lock);
switch (handle_mm_fault(mm,vma,start,write)) {
- case VM_FAULT_MINOR:
- tsk->min_flt++;
- break;
case VM_FAULT_MAJOR:
tsk->maj_flt++;
break;
@@ -789,8 +786,10 @@ int get_user_pages(struct task_struct *t
return i ? i : -EFAULT;
case VM_FAULT_OOM:
return i ? i : -ENOMEM;
+ case VM_FAULT_MINOR:
default:
- BUG();
+ tsk->min_flt++;
+ break;
}
spin_lock(&mm->page_table_lock);
}

2003-11-20 01:41:22

by Chris Li

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

On Wed, Nov 19, 2003 at 06:15:18PM -0300, Gerardo Exequiel Pozzi wrote:
> Hi Andrew,
>
> With the recent 2.6.0-test9-mm4 i can't start the vmware, it reports in vmware.log (debug ON):
>
> Nov 19 17:27:40: vmx| WSSCAN: Not enough physical memory: req=49152 avail=0 over
> head=4096 maxRespage=106496
> Nov 19 17:27:40: vmx| WSSCAN: Not enough physical (in MB): nbVM=3 hostMem=512 ch
> eckMemory=1

Can you send me a few more lines of the log file before and after that message? I can take
a look at what is going on there. Most likely vmmon driver get confused.

>
> With linus tree from 2.6.0-test9-mm4/broken-out/linus.patch and 2.6.0-test3-mm3 don't have problem.
>

Chris

2003-11-20 01:47:27

by William Lee Irwin III

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

On Wed, Nov 19, 2003 at 05:34:25PM -0500, Christopher Li wrote:
> Can you send me a few more lines of the log file before and after that message? I can take
> a look at what is going on there. Most likely vmmon driver get confused.

You should have a vm_ops->nopage() method that didn't get updated.
The formerly-unused argument got turned into a status return pointer,
so you need to do something like:

struct page *vmmon_nopage(struct vm_area_struct *vma, unsigned long addr, int *type)
{
...
if (type)
*type = VM_FAULT_MINOR;
return page;
}

It should also give off a big fat warning about initialization from
incompatible pointer types when compiled.


-- wli

2003-11-20 01:52:48

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

William Lee Irwin III <[email protected]> wrote:
>
> > Bill, can we take those BUGs out of there and just do some sane default
> > thing?
>
> Here it is.

All the world's an x86 ;)

This whole patch is getting rather large.

ARM is doing weird stuff.




arch/alpha/mm/fault.c | 7 +++----
arch/arm26/mm/fault.c | 9 ++++++---
arch/cris/mm/fault.c | 9 +++++----
arch/h8300/mm/fault.c | 0
arch/i386/mm/fault.c | 7 +++----
arch/ia64/mm/fault.c | 3 +--
arch/m68k/mm/fault.c | 9 +++++----
arch/m68knommu/mm/fault.c | 0
arch/mips/mm/fault.c | 3 +--
arch/parisc/mm/fault.c | 9 +++++----
arch/ppc/mm/fault.c | 3 +--
arch/ppc64/mm/fault.c | 4 +---
arch/s390/mm/fault.c | 3 +--
arch/sh/mm/fault.c | 9 +++++----
arch/sparc/mm/fault.c | 9 +++++----
arch/sparc64/mm/fault.c | 9 +++++----
arch/x86_64/mm/fault.c | 9 +++++----
mm/memory.c | 7 +++----
18 files changed, 55 insertions(+), 54 deletions(-)

diff -puN arch/i386/mm/fault.c~pagefault-accounting-fix-fix-fix arch/i386/mm/fault.c
--- 25/arch/i386/mm/fault.c~pagefault-accounting-fix-fix-fix 2003-11-19 17:48:24.000000000 -0800
+++ 25-akpm/arch/i386/mm/fault.c 2003-11-19 17:48:24.000000000 -0800
@@ -316,9 +316,6 @@ good_area:
* the fault.
*/
switch (handle_mm_fault(mm, vma, address, write)) {
- case VM_FAULT_MINOR:
- tsk->min_flt++;
- break;
case VM_FAULT_MAJOR:
tsk->maj_flt++;
break;
@@ -326,8 +323,10 @@ good_area:
goto do_sigbus;
case VM_FAULT_OOM:
goto out_of_memory;
+ case VM_FAULT_MINOR:
default:
- BUG();
+ tsk->min_flt++;
+ break;
}

/*
diff -puN mm/memory.c~pagefault-accounting-fix-fix-fix mm/memory.c
--- 25/mm/memory.c~pagefault-accounting-fix-fix-fix 2003-11-19 17:48:24.000000000 -0800
+++ 25-akpm/mm/memory.c 2003-11-19 17:48:24.000000000 -0800
@@ -772,9 +772,6 @@ int get_user_pages(struct task_struct *t
while (!(map = follow_page(mm, start, write))) {
spin_unlock(&mm->page_table_lock);
switch (handle_mm_fault(mm,vma,start,write)) {
- case VM_FAULT_MINOR:
- tsk->min_flt++;
- break;
case VM_FAULT_MAJOR:
tsk->maj_flt++;
break;
@@ -782,8 +779,10 @@ int get_user_pages(struct task_struct *t
return i ? i : -EFAULT;
case VM_FAULT_OOM:
return i ? i : -ENOMEM;
+ case VM_FAULT_MINOR:
default:
- BUG();
+ tsk->min_flt++;
+ break;
}
spin_lock(&mm->page_table_lock);
}
diff -puN arch/alpha/mm/fault.c~pagefault-accounting-fix-fix-fix arch/alpha/mm/fault.c
--- 25/arch/alpha/mm/fault.c~pagefault-accounting-fix-fix-fix 2003-11-19 17:48:45.000000000 -0800
+++ 25-akpm/arch/alpha/mm/fault.c 2003-11-19 17:49:32.000000000 -0800
@@ -152,9 +152,6 @@ do_page_fault(unsigned long address, uns
up_read(&mm->mmap_sem);

switch (fault) {
- case VM_FAULT_MINOR:
- current->min_flt++;
- break;
case VM_FAULT_MAJOR:
current->maj_flt++;
break;
@@ -162,8 +159,10 @@ do_page_fault(unsigned long address, uns
goto do_sigbus;
case VM_FAULT_OOM:
goto out_of_memory;
+ case VM_FAULT_MINOR:
default:
- BUG();
+ current->min_flt++;
+ break;
}
return;

diff -puN arch/arm26/mm/fault.c~pagefault-accounting-fix-fix-fix arch/arm26/mm/fault.c
--- 25/arch/arm26/mm/fault.c~pagefault-accounting-fix-fix-fix 2003-11-19 17:48:45.000000000 -0800
+++ 25-akpm/arch/arm26/mm/fault.c 2003-11-19 17:52:34.000000000 -0800
@@ -176,13 +176,16 @@ survive:
* Handle the "normal" cases first - successful and sigbus
*/
switch (fault) {
- case 2:
+ case VM_FAULT_MAJOR:
+ default:
tsk->maj_flt++;
return fault;
- case 1:
+ case VM_FAULT_MINOR:
tsk->min_flt++;
- case 0:
+ case VM_FAULT_SIGBUS:
return fault;
+ case VM_FAULT_OOM:
+ break;
}

fault = -3; /* out of memory */
diff -puN arch/cris/mm/fault.c~pagefault-accounting-fix-fix-fix arch/cris/mm/fault.c
--- 25/arch/cris/mm/fault.c~pagefault-accounting-fix-fix-fix 2003-11-19 17:48:45.000000000 -0800
+++ 25-akpm/arch/cris/mm/fault.c 2003-11-19 17:53:15.000000000 -0800
@@ -229,15 +229,16 @@ do_page_fault(unsigned long address, str
*/

switch (handle_mm_fault(mm, vma, address, writeaccess)) {
- case 1:
+ case VM_FAULT_MINOR:
+ default:
tsk->min_flt++;
break;
- case 2:
+ case VM_FAULT_MAJOR:
tsk->maj_flt++;
break;
- case 0:
+ case VM_FAULT_SIGBUS:
goto do_sigbus;
- default:
+ case VM_FAULT_OOM:
goto out_of_memory;
}

diff -puN arch/h8300/mm/fault.c~pagefault-accounting-fix-fix-fix arch/h8300/mm/fault.c
diff -puN arch/ia64/mm/fault.c~pagefault-accounting-fix-fix-fix arch/ia64/mm/fault.c
--- 25/arch/ia64/mm/fault.c~pagefault-accounting-fix-fix-fix 2003-11-19 17:48:45.000000000 -0800
+++ 25-akpm/arch/ia64/mm/fault.c 2003-11-19 17:53:34.000000000 -0800
@@ -136,6 +136,7 @@ ia64_do_page_fault (unsigned long addres
*/
switch (handle_mm_fault(mm, vma, address, (mask & VM_WRITE) != 0)) {
case VM_FAULT_MINOR:
+ default:
++current->min_flt;
break;
case VM_FAULT_MAJOR:
@@ -151,8 +152,6 @@ ia64_do_page_fault (unsigned long addres
goto bad_area;
case VM_FAULT_OOM:
goto out_of_memory;
- default:
- BUG();
}
up_read(&mm->mmap_sem);
return;
diff -puN arch/m68k/mm/fault.c~pagefault-accounting-fix-fix-fix arch/m68k/mm/fault.c
--- 25/arch/m68k/mm/fault.c~pagefault-accounting-fix-fix-fix 2003-11-19 17:48:45.000000000 -0800
+++ 25-akpm/arch/m68k/mm/fault.c 2003-11-19 17:54:09.000000000 -0800
@@ -160,15 +160,16 @@ good_area:
printk("handle_mm_fault returns %d\n",fault);
#endif
switch (fault) {
- case 1:
+ case VM_FAULT_MINOR:
+ default:
current->min_flt++;
break;
- case 2:
+ case VM_FAULT_MAJOR:
current->maj_flt++;
break;
- case 0:
+ case VM_FAULT_SIGBUS:
goto bus_err;
- default:
+ case VM_FAULT_OOM:
goto out_of_memory;
}

diff -puN arch/m68knommu/mm/fault.c~pagefault-accounting-fix-fix-fix arch/m68knommu/mm/fault.c
diff -puN arch/mips/mm/fault.c~pagefault-accounting-fix-fix-fix arch/mips/mm/fault.c
--- 25/arch/mips/mm/fault.c~pagefault-accounting-fix-fix-fix 2003-11-19 17:48:45.000000000 -0800
+++ 25-akpm/arch/mips/mm/fault.c 2003-11-19 17:54:19.000000000 -0800
@@ -111,6 +111,7 @@ survive:
*/
switch (handle_mm_fault(mm, vma, address, write)) {
case VM_FAULT_MINOR:
+ default:
tsk->min_flt++;
break;
case VM_FAULT_MAJOR:
@@ -120,8 +121,6 @@ survive:
goto do_sigbus;
case VM_FAULT_OOM:
goto out_of_memory;
- default:
- BUG();
}

up_read(&mm->mmap_sem);
diff -puN arch/parisc/mm/fault.c~pagefault-accounting-fix-fix-fix arch/parisc/mm/fault.c
--- 25/arch/parisc/mm/fault.c~pagefault-accounting-fix-fix-fix 2003-11-19 17:48:45.000000000 -0800
+++ 25-akpm/arch/parisc/mm/fault.c 2003-11-19 17:54:56.000000000 -0800
@@ -175,20 +175,21 @@ good_area:
*/

switch (handle_mm_fault(mm, vma, address, (acc_type & VM_WRITE) != 0)) {
- case 1:
+ case VM_FAULT_MINOR:
+ default:
++current->min_flt;
break;
- case 2:
+ case VM_FAULT_MAJOR:
++current->maj_flt;
break;
- case 0:
+ case VM_FAULT_SIGBUS:
/*
* We ran out of memory, or some other thing happened
* to us that made us unable to handle the page fault
* gracefully.
*/
goto bad_area;
- default:
+ case VM_FAULT_OOM:
goto out_of_memory;
}
up_read(&mm->mmap_sem);
diff -puN arch/ppc64/mm/fault.c~pagefault-accounting-fix-fix-fix arch/ppc64/mm/fault.c
--- 25/arch/ppc64/mm/fault.c~pagefault-accounting-fix-fix-fix 2003-11-19 17:48:45.000000000 -0800
+++ 25-akpm/arch/ppc64/mm/fault.c 2003-11-19 17:55:04.000000000 -0800
@@ -122,8 +122,8 @@ good_area:
* the fault.
*/
switch (handle_mm_fault(mm, vma, address, is_write)) {
-
case VM_FAULT_MINOR:
+ default:
current->min_flt++;
break;
case VM_FAULT_MAJOR:
@@ -133,8 +133,6 @@ good_area:
goto do_sigbus;
case VM_FAULT_OOM:
goto out_of_memory;
- default:
- BUG();
}

up_read(&mm->mmap_sem);
diff -puN arch/ppc/mm/fault.c~pagefault-accounting-fix-fix-fix arch/ppc/mm/fault.c
--- 25/arch/ppc/mm/fault.c~pagefault-accounting-fix-fix-fix 2003-11-19 17:48:45.000000000 -0800
+++ 25-akpm/arch/ppc/mm/fault.c 2003-11-19 17:55:13.000000000 -0800
@@ -257,6 +257,7 @@ good_area:
survive:
switch (handle_mm_fault(mm, vma, address, is_write)) {
case VM_FAULT_MINOR:
+ default:
current->min_flt++;
break;
case VM_FAULT_MAJOR:
@@ -266,8 +267,6 @@ good_area:
goto do_sigbus;
case VM_FAULT_OOM:
goto out_of_memory;
- default:
- BUG();
}

up_read(&mm->mmap_sem);
diff -puN arch/s390/mm/fault.c~pagefault-accounting-fix-fix-fix arch/s390/mm/fault.c
--- 25/arch/s390/mm/fault.c~pagefault-accounting-fix-fix-fix 2003-11-19 17:48:45.000000000 -0800
+++ 25-akpm/arch/s390/mm/fault.c 2003-11-19 17:55:21.000000000 -0800
@@ -247,6 +247,7 @@ survive:
*/
switch (handle_mm_fault(mm, vma, address, error_code == 4)) {
case VM_FAULT_MINOR:
+ default:
tsk->min_flt++;
break;
case VM_FAULT_MAJOR:
@@ -256,8 +257,6 @@ survive:
goto do_sigbus;
case VM_FAULT_OOM:
goto out_of_memory;
- default:
- BUG();
}

up_read(&mm->mmap_sem);
diff -puN arch/sh/mm/fault.c~pagefault-accounting-fix-fix-fix arch/sh/mm/fault.c
--- 25/arch/sh/mm/fault.c~pagefault-accounting-fix-fix-fix 2003-11-19 17:48:45.000000000 -0800
+++ 25-akpm/arch/sh/mm/fault.c 2003-11-19 17:55:51.000000000 -0800
@@ -95,15 +95,16 @@ good_area:
*/
survive:
switch (handle_mm_fault(mm, vma, address, writeaccess)) {
- case 1:
+ case VM_FAULT_MINOR:
+ default:
tsk->min_flt++;
break;
- case 2:
+ case VM_FAULT_MAJOR:
tsk->maj_flt++;
break;
- case 0:
+ case VM_FAULT_SIGBUS:
goto do_sigbus;
- default:
+ case VM_FAULT_OOM:
goto out_of_memory;
}

diff -puN arch/sparc64/mm/fault.c~pagefault-accounting-fix-fix-fix arch/sparc64/mm/fault.c
--- 25/arch/sparc64/mm/fault.c~pagefault-accounting-fix-fix-fix 2003-11-19 17:48:46.000000000 -0800
+++ 25-akpm/arch/sparc64/mm/fault.c 2003-11-19 17:56:18.000000000 -0800
@@ -419,15 +419,16 @@ good_area:
}

switch (handle_mm_fault(mm, vma, address, (fault_code & FAULT_CODE_WRITE))) {
- case 1:
+ case VM_FAULT_MINOR:
+ default:
current->min_flt++;
break;
- case 2:
+ case VM_FAULT_MAJOR:
current->maj_flt++;
break;
- case 0:
+ case VM_FAULT_SIGBUS:
goto do_sigbus;
- default:
+ case VM_FAULT_OOM:
goto out_of_memory;
}

diff -puN arch/sparc/mm/fault.c~pagefault-accounting-fix-fix-fix arch/sparc/mm/fault.c
--- 25/arch/sparc/mm/fault.c~pagefault-accounting-fix-fix-fix 2003-11-19 17:48:46.000000000 -0800
+++ 25-akpm/arch/sparc/mm/fault.c 2003-11-19 17:56:40.000000000 -0800
@@ -276,15 +276,16 @@ good_area:
* the fault.
*/
switch (handle_mm_fault(mm, vma, address, write)) {
- case 1:
+ case VM_FAULT_MINOR:
+ default:
current->min_flt++;
break;
- case 2:
+ case VM_FAULT_MAJOR:
current->maj_flt++;
break;
- case 0:
+ case VM_FAULT_SIGBUS:
goto do_sigbus;
- default:
+ case VM_FAULT_OOM:
goto out_of_memory;
}
up_read(&mm->mmap_sem);
diff -puN arch/x86_64/mm/fault.c~pagefault-accounting-fix-fix-fix arch/x86_64/mm/fault.c
--- 25/arch/x86_64/mm/fault.c~pagefault-accounting-fix-fix-fix 2003-11-19 17:48:46.000000000 -0800
+++ 25-akpm/arch/x86_64/mm/fault.c 2003-11-19 17:57:08.000000000 -0800
@@ -289,15 +289,16 @@ good_area:
* the fault.
*/
switch (handle_mm_fault(mm, vma, address, write)) {
- case 1:
+ case VM_FAULT_MINOR:
+ default:
tsk->min_flt++;
break;
- case 2:
+ case VM_FAULT_MAJOR:
tsk->maj_flt++;
break;
- case 0:
+ case VM_FAULT_SIGBUS:
goto do_sigbus;
- default:
+ case VM_FAULT_OOM:
goto out_of_memory;
}


_

2003-11-20 02:13:06

by William Lee Irwin III

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

William Lee Irwin III <[email protected]> wrote:
>> Here it is.

On Wed, Nov 19, 2003 at 05:58:03PM -0800, Andrew Morton wrote:
> All the world's an x86 ;)
> This whole patch is getting rather large.
> ARM is doing weird stuff.

I just realized this can all be done in one line by setting the initial
value of ret to VM_FAULT_MINOR in do_no_page(). The ->nopage() methods
not updated will give off compiler warnings and since they think their
third arguments are ordinary integers, they won't update the referenced
content, and the initializer of VM_FAULT_MINOR then comes into play.


-- wli


diff -prauN mm4-2.6.0-test9-1/mm/memory.c mm4-2.6.0-test9-default-2/mm/memory.c
--- mm4-2.6.0-test9-1/mm/memory.c 2003-11-19 00:07:15.000000000 -0800
+++ mm4-2.6.0-test9-default-2/mm/memory.c 2003-11-19 18:08:49.000000000 -0800
@@ -1424,7 +1424,7 @@ do_no_page(struct mm_struct *mm, struct
pte_t entry;
struct pte_chain *pte_chain;
int sequence = 0;
- int ret;
+ int ret = VM_FAULT_MINOR;

if (!vma->vm_ops || !vma->vm_ops->nopage)
return do_anonymous_page(mm, vma, page_table,

2003-11-20 02:29:45

by Chris Li

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

Thanks, I post a totally untested patch follows, but the testing of
which kernel has this feature is not completed yet.

Is there a way to reliably detect which kernel has this change?

Look at all the ifdef I need to make to keep the module working
with other kernels. :-(

Best Regards,

Chris


--- /tmp/p5diffhtml.tmp1.27140 2003-11-19 18:28:07.000000000 -0800
+++ /modules/shared/linux/compat_version.h 2003-11-19 18:25:12.000000000 -0800
@@ -96,5 +96,10 @@
# define KERNEL_2_5_5
#endif

+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
+/* New status return pointer in vmop->nopage() */
+/* FIXME: We need to test against 2.6.0-test9-mm4 */
+# define KERNEL_2_6_0_TEST9_MM4
+#endif

#endif /* __COMPAT_VERSION_H__ */
--- /tmp/p5diffhtml.tmp1.27140 2003-11-19 18:28:07.000000000 -0800
+++ /modules/vmmon/linux/driver.c 2003-11-19 18:26:28.000000000 -0800
@@ -548,6 +548,11 @@
*-----------------------------------------------------------------------------
*/

+#ifdef KERNEL_2_6_0_TEST9_MM4
+static struct page *LinuxDriverNoPage(struct vm_area_struct *vma, //IN
+ unsigned long address, //IN
+ int *type) //OUT
+#else
#ifdef KERNEL_2_4_0
static struct page *LinuxDriverNoPage(struct vm_area_struct *vma, //IN
unsigned long address, //IN
@@ -557,6 +562,7 @@
unsigned long address, //IN
int write_access) //IN
#endif
+#endif
{
VMLinux *vmLinux = (VMLinux *) vma->vm_file->private_data;
unsigned long pg;
@@ -566,6 +572,11 @@
return 0;
}
get_page(virt_to_page(vmLinux->pages4Gb[pg]));
+#ifdef KERNEL_2_6_0_TEST9_MM4
+ if (type) {
+ *type = VM_FAULT_MINOR;
+ }
+#endif
#ifdef KERNEL_2_4_0
return virt_to_page(vmLinux->pages4Gb[pg]);
#else
On Wed, Nov 19, 2003 at 05:47:18PM -0800, William Lee Irwin III wrote:
> On Wed, Nov 19, 2003 at 05:34:25PM -0500, Christopher Li wrote:
> > Can send me a few more lines of the log file before and after that message? I can take
> > a look at what is going on there. Most likely vmmon driver get confused.
>
> You should have a vm_ops->nopage() method that didn't get updated.
> The formerly-unused argument got turned into a status return pointer,
> so you need to do something like:
>
> struct page *vmmon_nopage(struct vm_area_struct *vma, unsigned long addr, int *type)
> {
> ...
> if (type)
> *type = VM_FAULT_MINOR;
> return page;
> }
>
> It should also give off a big fat warning about initialization from
> incompatible pointer types when compiled.
>
>
> -- wli

2003-11-20 02:35:09

by William Lee Irwin III

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

On Wed, Nov 19, 2003 at 06:22:46PM -0500, Christopher Li wrote:
> Thanks, I post a totally untested patch follows, but the testing of
> which kernel has this feature is not completed yet.
> Is there a way to reliably detect which kernel has this change?
> Look at all the ifdef I need to make to keep the module working
> with other kernels. :-(
> Best Regards,
> Chris

akpm wants us not to barf when ->nopage() methods not updated to the
new signature are used, so we're either setting the initial value of
ret in do_no_page() to something that won't get barfed on by
do_page_fault() or teaching all the fault handlers to ignore invalid
return values. As far as fixing the warning, the #ifdef is still needed.

I'm going to ruminate on non-fatal methods of complaining loudly.


-- wli

2003-11-20 02:31:48

by Chris Li

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

On Wed, Nov 19, 2003 at 06:12:58PM -0800, William Lee Irwin III wrote:
> I just realized this can all be done in one line by setting the initial
> value of ret to VM_FAULT_MINOR in do_no_page(). The ->nopage() methods
> not updated will give off compiler warnings and since they think their
> third arguments are ordinary integers, they won't update the referenced
> content, and the initializer of VM_FAULT_MINOR then comes into play.

Yes, that is a good idea.

Chris

>
>
> -- wli
>
>
> diff -prauN mm4-2.6.0-test9-1/mm/memory.c mm4-2.6.0-test9-default-2/mm/memory.c
> --- mm4-2.6.0-test9-1/mm/memory.c 2003-11-19 00:07:15.000000000 -0800
> +++ mm4-2.6.0-test9-default-2/mm/memory.c 2003-11-19 18:08:49.000000000 -0800
> @@ -1424,7 +1424,7 @@ do_no_page(struct mm_struct *mm, struct
> pte_t entry;
> struct pte_chain *pte_chain;
> int sequence = 0;
> - int ret;
> + int ret = VM_FAULT_MINOR;
>
> if (!vma->vm_ops || !vma->vm_ops->nopage)
> return do_anonymous_page(mm, vma, page_table,
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

2003-11-20 02:47:35

by Chris Li

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware


On Wed, Nov 19, 2003 at 06:34:57PM -0800, William Lee Irwin III wrote:
> I'm going to ruminate on non-fatal methods of complaining loudly.

SPARSE checker?

Chris

2003-11-20 02:57:39

by William Lee Irwin III

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

On Wed, Nov 19, 2003 at 06:34:57PM -0800, William Lee Irwin III wrote:
>> I'm going to ruminate on non-fatal methods of complaining loudly.

On Wed, Nov 19, 2003 at 06:40:37PM -0500, Christopher Li wrote:
> SPARSE checker?

I was thinking of teaching the fault handlers to complain about
->nopage() methods returning invalid results in a non-fatal manner,
possibly with code consolidation.

e.g. every arch does:

switch (handle_mm_fault(...)) {
case VM_FAULT_MINOR:
tsk->min_flt++;
break;
case VM_FAULT_MAJOR:
tsk->maj_flt++;
break;
case VM_FAULT_SIGBUS:
goto do_sigbus;
case VM_FAULT_OOM:
goto out_of_memory;
default:
BUG();
}

which is vaguely repetitive. It's not immediately clear how to
consolidate gotos, which is where the thought starts happening.

The other part was replacing default: BUG() with something that
complained (e.g. putting print_symbol() to use on the ->nopage()
method) and treating the invalid statuses like OOM, but that's
not really very hard to do (I posted something that did some
crude reporting of that kind already to handle the sound/ bogons).


-- wli

2003-11-20 04:16:58

by Gerardo Exequiel Pozzi

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

On Wed, 19 Nov 2003 13:38:14 -0800, Andrew Morton wrote:
>Gerardo Exequiel Pozzi <[email protected]> wrote:
>>
>> With the recent 2.6.0-test9-mm4 i can't start the vmware, it reports in vmware.log (debug ON):
>>
>> Nov 19 17:27:40: vmx| WSSCAN: Not enough physical memory: req=49152 avail=0 over
>> head=4096 maxRespage=106496
>> Nov 19 17:27:40: vmx| WSSCAN: Not enough physical (in MB): nbVM=3 hostMem=512 ch
>> eckMemory=1
>>
>> With linus tree from 2.6.0-test9-mm4/broken-out/linus.patch and 2.6.0-test3-mm3 don't have problem.
>
>hm, that's funny.
>
>> Any other test from broken-out to patch it?
>
>I can't immediately think what could have caused that. Maybe if you were
>to strace vmware startup, see what is failing?

Sorry for my fast report (was hurried) Andrew and others, i don't checked the logs :(

Appears the same message that posted Jose Luis Domingo Lopez.

Now it will prove the patches and it will comment the results to them.

Thanks people!,

chau,
djgera


------------[ cut here ]------------
kernel BUG at mm/memory.c:793!
invalid operand: 0000 [#2]
PREEMPT
CPU: 0
EIP: 0060:[<c014a62b>] Tainted: P VLI
EFLAGS: 00013282
EIP is at get_user_pages+0x11b/0x390
eax: c13fa819 ebx: db6e0000 ecx: 00000000 edx: d9fab8c0
esi: db6e0000 edi: 40630000 ebp: da172680 esp: db6e1d24
ds: 007b es: 007b ss: 0068
Process vmware-vmx (pid: 377, threadinfo=db6e0000 task=da271980)
Stack: da292940 da172680 40630000 00000001 db6e0000 db6e0000 db6e0000 00000002
00000000 00000000 db6e0000 00040630 40630000 00000000 e095aa65 da271980
da292940 40630000 00000001 00000001 00000000 db6e1da0 00000000 00000000
Call Trace:
[<e095aa65>] HostIFGetUserPage+0x65/0xa0 [vmmon]
[<e095ab00>] HostIF_LockPage+0x60/0x300 [vmmon]
[<e095cb2d>] Vmx86_LockPage+0x7d/0xf0 [vmmon]
[<e0957fdd>] __LinuxDriver_Ioctl+0x3bd/0xb80 [vmmon]
[<c0143497>] do_page_cache_readahead+0xf7/0x180
[<c013bf5c>] find_get_page+0x2c/0x60
[<c0140970>] buffered_rmqueue+0xd0/0x180
[<c0140acf>] __alloc_pages+0xaf/0x350
[<e0959b37>] LinuxDriverQueue+0x17/0x40 [vmmon]
[<c0140d8f>] __get_free_pages+0x1f/0x50
[<c014ccca>] __vma_link+0x3a/0xa0
[<c014cd8b>] vma_link+0x5b/0x90
[<e095886e>] LinuxDriver_IoctlV4+0x5e/0x100 [vmmon]
[<e09594a7>] LinuxDriver_Ioctl+0x177/0x210 [vmmon]
[<c016d6b3>] sys_ioctl+0xf3/0x280
[<c0159aa2>] sys_close+0x62/0xa0
[<c038883f>] syscall_call+0x7/0xb

Code: 4c 8b 4c 24 40 89 7c 24 08 89 6c 24 04 89 54 24 0c 89 0c 24 e8 17 18 00 00 85 c0 74 4e 85 c0 7e 2f 83 f8 01 74 1e 83 f8 02 74 0d <0f> 0b 19 03 1a 76 3a c0 ff 46 14 eb 98 8b 54 24 3c ff 82 dc 01


--
Gerardo Exequiel Pozzi ( djgera )
http://www.vmlinuz.com.ar http://www.djgera.com.ar
KeyID: 0x1B8C330D
Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D

2003-11-20 04:40:26

by Gerardo Exequiel Pozzi

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

On Wed, 19 Nov 2003 18:12:58 -0800, William Lee Irwin III wrote:
>William Lee Irwin III <[email protected]> wrote:
>diff -prauN mm4-2.6.0-test9-1/mm/memory.c mm4-2.6.0-test9-default-2/mm/memory.c
>--- mm4-2.6.0-test9-1/mm/memory.c 2003-11-19 00:07:15.000000000 -0800
>+++ mm4-2.6.0-test9-default-2/mm/memory.c 2003-11-19 18:08:49.000000000 -0800
>@@ -1424,7 +1424,7 @@ do_no_page(struct mm_struct *mm, struct
> pte_t entry;
> struct pte_chain *pte_chain;
> int sequence = 0;
>- int ret;
>+ int ret = VM_FAULT_MINOR;
>
> if (!vma->vm_ops || !vma->vm_ops->nopage)
> return do_anonymous_page(mm, vma, page_table,
>-

Applied this only against 2.6.0-test9-mm4 and vmware now works OK!
Not applied the previous change in mm/fault.c and mm/memory.c .

Thanks :P


chau,
djgera


--
Gerardo Exequiel Pozzi ( djgera )
http://www.vmlinuz.com.ar http://www.djgera.com.ar
KeyID: 0x1B8C330D
Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D

2003-11-20 10:03:50

by Voicu Liviu

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

May I have the patch of this vmware fix to run a few tests?
Best regards,
Liviu

William Lee Irwin III wrote:

>On Wed, Nov 19, 2003 at 06:34:57PM -0800, William Lee Irwin III wrote:
>
>
>>>I'm going to ruminate on non-fatal methods of complaining loudly.
>>>
>>>
>
>On Wed, Nov 19, 2003 at 06:40:37PM -0500, Christopher Li wrote:
>
>
>>SPARSE checker?
>>
>>
>
>I was thinking of teaching the fault handlers to complain about
>->nopage() methods returning invalid results in a non-fatal manner,
>possibly with code consolidation.
>
>e.g. every arch does:
>
> switch (handle_mm_fault(...)) {
> case VM_FAULT_MINOR:
> tsk->min_flt++;
> break;
> case VM_FAULT_MAJOR:
> tsk->maj_flt++;
> break;
> case VM_FAULT_SIGBUS:
> goto do_sigbus;
> case VM_FAULT_OOM:
> goto out_of_memory;
> default:
> BUG();
> }
>
>which is vaguely repetitive. It's not immediately clear how to
>consolidate gotos, which is where the thought starts happening.
>
>The other part was replacing default: BUG() with something that
>complained (e.g. putting print_symbol() to use on the ->nopage()
>method) and treating the invalid statuses like OOM, but that's
>not really very hard to do (I posted something that did some
>crude reporting of that kind already to handle the sound/ bogons).
>
>
>-- wli
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to [email protected]
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
>
>


--
Liviu Voicu
Assistant Programmer and network support
Computation Center, Mount Scopus
Hebrew University of Jerusalem
Tel: 972(2)-5881253
E-mail: "Liviu Voicu"<[email protected]>

/**
* cat /usr/src/linux/arch/i386/boot/bzImage > /dev/dsp
* ( and the voice of God will be heard! )
*
*/

Click here to see my GPG signature:
----------------------------------
http://search.keyserver.net:11371/pks/lookup?template=netensearch%2Cnetennomatch%2Cnetenerror&search=pacman%40mscc.huji.ac.il&op=vindex&fingerprint=on&submit=Get+List


2003-11-20 10:23:20

by Voicu Liviu

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

William Lee Irwin III wrote:

>On Thu, Nov 20, 2003 at 12:03:42PM +0200, Voicu Liviu wrote:
>
>
>>May I have the patch of this vmware fix to run a few tests?
>>Best regards,
>>
>>
>
>Here you go.
>
I really appreciate your quick reply, will this also work with -bk24 branch?
Thank you

>
>
>-- wli
>
>
>diff -prauN mm4-2.6.0-test9-1/mm/memory.c mm4-2.6.0-test9-default-2/mm/memory.c
>--- mm4-2.6.0-test9-1/mm/memory.c 2003-11-19 00:07:15.000000000 -0800
>+++ mm4-2.6.0-test9-default-2/mm/memory.c 2003-11-19 18:08:49.000000000 -0800
>@@ -1424,7 +1424,7 @@ do_no_page(struct mm_struct *mm, struct
> pte_t entry;
> struct pte_chain *pte_chain;
> int sequence = 0;
>- int ret;
>+ int ret = VM_FAULT_MINOR;
>
> if (!vma->vm_ops || !vma->vm_ops->nopage)
> return do_anonymous_page(mm, vma, page_table,
>
>


--
Liviu Voicu
Assistant Programmer and network support
Computation Center, Mount Scopus
Hebrew University of Jerusalem
Tel: 972(2)-5881253
E-mail: "Liviu Voicu"<[email protected]>

/**
* cat /usr/src/linux/arch/i386/boot/bzImage > /dev/dsp
* ( and the voice of God will be heard! )
*
*/

Click here to see my GPG signature:
----------------------------------
http://search.keyserver.net:11371/pks/lookup?template=netensearch%2Cnetennomatch%2Cnetenerror&search=pacman%40mscc.huji.ac.il&op=vindex&fingerprint=on&submit=Get+List


2003-11-20 10:42:26

by William Lee Irwin III

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

William Lee Irwin III wrote:
>> What -bk24 branch?

On Thu, Nov 20, 2003 at 12:37:35PM +0200, Voicu Liviu wrote:
> http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.0-test9-bk24.bz2

It has nothing to do with that, no. It is specific to 2.6.0-test9-mm4.


-- wli

2003-11-20 10:31:48

by William Lee Irwin III

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

On Thu, Nov 20, 2003 at 12:23:00PM +0200, Voicu Liviu wrote:
> I really appreciate your quick reply, will this also work with -bk24 branch?
> Thank you

What -bk24 branch?


-- wli

2003-11-20 10:37:54

by Voicu Liviu

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

William Lee Irwin III wrote:

>On Thu, Nov 20, 2003 at 12:23:00PM +0200, Voicu Liviu wrote:
>
>
>>I really appreciate your quick reply, will this also work with -bk24 branch?
>>Thank you
>>
>>
>
>What -bk24 branch?
>
http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.0-test9-bk24.bz2

>
>
>-- wli
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to [email protected]
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
>
>


--
Liviu Voicu
Assistant Programmer and network support
Computation Center, Mount Scopus
Hebrew University of Jerusalem
Tel: 972(2)-5881253
E-mail: "Liviu Voicu"<[email protected]>

/**
* cat /usr/src/linux/arch/i386/boot/bzImage > /dev/dsp
* ( and the voice of God will be heard! )
*
*/

Click here to see my GPG signature:
----------------------------------
http://search.keyserver.net:11371/pks/lookup?template=netensearch%2Cnetennomatch%2Cnetenerror&search=pacman%40mscc.huji.ac.il&op=vindex&fingerprint=on&submit=Get+List


2003-11-20 10:51:06

by Voicu Liviu

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

William Lee Irwin III wrote:

>William Lee Irwin III wrote:
>
>
>>>What -bk24 branch?
>>>
>>>
>
>On Thu, Nov 20, 2003 at 12:37:35PM +0200, Voicu Liviu wrote:
>
>
>>http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.0-test9-bk24.bz2
>>
>>
>
>It has nothing to do with that, no. It is specific to 2.6.0-test9-mm4.
>
Ah, sorry, I got comfussed!
Any way to get vmware working with 2.6.0-test9 or with 2.6.0-test9-bk24?
Thanks

>
>
>-- wli
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to [email protected]
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
>
>


--
Liviu Voicu
Assistant Programmer and network support
Computation Center, Mount Scopus
Hebrew University of Jerusalem
Tel: 972(2)-5881253
E-mail: "Liviu Voicu"<[email protected]>

/**
* cat /usr/src/linux/arch/i386/boot/bzImage > /dev/dsp
* ( and the voice of God will be heard! )
*
*/

Click here to see my GPG signature:
----------------------------------
http://search.keyserver.net:11371/pks/lookup?template=netensearch%2Cnetennomatch%2Cnetenerror&search=pacman%40mscc.huji.ac.il&op=vindex&fingerprint=on&submit=Get+List


2003-11-20 11:35:59

by Petr Vandrovec

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

On 20 Nov 03 at 12:51, Voicu Liviu wrote:
> >
> >It has nothing to do with that, no. It is specific to 2.6.0-test9-mm4.
> >
> Ah, sorry, I got comfussed!
> Any way to get vmware working with 2.6.0-test9 or with 2.6.0-test9-bk24?

Just hit poweron button? Maybe you can download & install
ftp://platan.vc.cvut.cz/pub/vmware/vmware-any-any-update45.tar.gz before,
but there is no need for it unless you are using prebuilt RedHat's
kernels which are built with -mregparm=3... (and update45 does not
contain Christopher's patch for -mm4 yet).

BTW, anybody knows how to explain to gcc that inline assembly uses
push & pop, and so $esp relative addressing is not going to work very
well?
Thanks,
Petr Vandrovec


2003-11-20 20:28:06

by Chris Li

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

Have your try Petr Vandrovec's patch?
ftp://platan.vc.cvut.cz/pub/vmware

Chris

On Thu, Nov 20, 2003 at 12:51:00PM +0200, Voicu Liviu wrote:
> Ah, sorry, I got comfussed!
> Any way to get vmware working with 2.6.0-test9 or with 2.6.0-test9-bk24?
> Thanks
>

2003-11-20 21:38:22

by Jose Luis Domingo Lopez

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

On Thursday, 20 November 2003, at 12:20:59 -0500,
Christopher Li wrote:

> Have your try Petr Vandrovec's patch?
> ftp://platan.vc.cvut.cz/pub/vmware
>
I just tried to "recompile" VMware Workstation 4.0.1 build 5289 applying:
ftp://platan.vc.cvut.cz/pub/vmware/vmware-any-any-update45.tar.gz

And the preblem persists. I get a BUG in the logs, very similar to the
one I reported yesterday (both with 2.6.0-test9-mm4):

kernel BUG at mm/memory.c:793!
invalid operand: 0000 [#2]
CPU: 0
EIP: 0060:[<c01425c7>] Tainted: PF VLI
EFLAGS: 00013282
EIP is at get_user_pages+0xe7/0x300
eax: c109e391 ebx: 406a0000 ecx: 00000000 edx: ce90d580
esi: ddb89a00 edi: 00000001 ebp: d1af24c0 esp: c17d5d30
ds: 007b es: 007b ss: 0068
Process vmware-vmx (pid: 12494, threadinfo=c17d4000 task=dfd9acc0)
Stack: d1af24c0 ddb89a00 406a0000 00000001 00000002 00000000 00000000 c17d4000
000406a0 406a0000 00000000 e0b61925 dfd9acc0 d1af24c0 406a0000 00000001
00000001 00000000 c17d5da0 00000000 00000000 000406a0 e0b619c0 406a0000
Call Trace:
[<e0b61925>] HostIFGetUserPage+0x65/0xa0 [vmmon]
[<e0b619c0>] HostIF_LockPage+0x60/0x300 [vmmon]
[<e0b63b6d>] Vmx86_LockPage+0x7d/0xf0 [vmmon]
[<e0b5ef5d>] __LinuxDriver_Ioctl+0x36d/0xb30 [vmmon]
[<c013978f>] __alloc_pages+0xaf/0x350
[<c013bf1e>] do_page_cache_readahead+0xbe/0x110
[<c013516a>] find_get_page+0x1a/0x30
[<c0136607>] filemap_nopage+0x267/0x420
[<c013964f>] buffered_rmqueue+0xaf/0x140
[<c013978f>] __alloc_pages+0xaf/0x350
[<c015dda9>] permission+0x49/0x50
[<c0139a4f>] __get_free_pages+0x1f/0x50
[<c014494a>] __vma_link+0x3a/0xa0
[<c0144a06>] vma_link+0x56/0x80
[<e0b5f7ee>] LinuxDriver_IoctlV4+0x5e/0x100 [vmmon]
[<e0b60427>] LinuxDriver_Ioctl+0x177/0x210 [vmmon]
[<c0162b85>] sys_ioctl+0xb5/0x230
[<c0150770>] sys_close+0x50/0x60
[<c02ad977>] syscall_call+0x7/0xb

Code: 00 85 c0 74 4b 85 c0 7e 2c 83 f8 01 75 0c 8b 44 24 30 ff 80 d8 01 00 00 eb bd 83 f8 02 75 0c 8b 54 24 30 ff 82 dc 01 00 00 eb ac <0f> 0b 19 03 d1 b6 2c c0 eb a2 40 75 f3 8b 5c 24 18 b8 f4 ff ff

Greetings.

--
Jose Luis Domingo Lopez
Linux Registered User #189436 Debian Linux Sid (Linux 2.6.0-test9-mm4)

2003-11-20 21:55:40

by William Lee Irwin III

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

On Thursday, 20 November 2003, at 12:20:59 -0500, Christopher Li wrote:
>> Have your try Petr Vandrovec's patch?
>> ftp://platan.vc.cvut.cz/pub/vmware

On Thu, Nov 20, 2003 at 10:38:10PM +0100, Jose Luis Domingo Lopez wrote:
> I just tried to "recompile" VMware Workstation 4.0.1 build 5289 applying:
> ftp://platan.vc.cvut.cz/pub/vmware/vmware-any-any-update45.tar.gz
> And the preblem persists. I get a BUG in the logs, very similar to the
> one I reported yesterday (both with 2.6.0-test9-mm4):

Okay, several questions:
(a) is _this_ run with 2.6.0-test9-mm4?
(b) which _exact_ fixes did you run with?


-- wli

2003-11-20 22:54:37

by Jose Luis Domingo Lopez

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

On Thursday, 20 November 2003, at 13:55:36 -0800,
William Lee Irwin III wrote:

> Okay, several questions:
> (a) is _this_ run with 2.6.0-test9-mm4?
>
Yes, kernel version 2.6.0-test9-mm4.

> (b) which _exact_ fixes did you run with?
>
I downloaded:
ftp://platan.vc.cvut.cz/pub/vmware/vmware-any-any-update45.tar.gz

I untarred it to /tmp and, as root, I run:
/tmp/vmware-any-any-update45/runme.pl

Then the script stopped VMware services, went to recompile both vmnet.o
and vmmon.o, and then started the services again.

Launched VMware as usual, tried to boot the same guest operating system
I used on yesterday's BUG report, and got the messages in the log.

What I am going to try now is to completely uninstall VMware, install it
from scratch and apply vmware-any-any-update45.tar.gz and see how it goes
(to avoid previously applied patches or manual modifications to VMware
sources done by me making some difference).

Installed the VMware version shown above (via vmware-install.pl),
skipping the configuration part. Then I run "runme.pl" from the VMware
update version 45 to configure VMware and compile modules against my
current and configured 2.6.0-test9-mm4 kernel sources.

Started Vmware, tried to boot the guest operating system I have always
tried to boot during these tests and the result is the same as before,
including the BUG.

Hope this helps.

PS: just in case anyone sees it other way, I am just trying to help
giving information about a problem with a propietary application and
their binary only modules just in case this can unveil some sort of
kernel problem, but I am NOT trying to urge anyone to give me (us) a fix.

--
Jose Luis Domingo Lopez
Linux Registered User #189436 Debian Linux Sid (Linux 2.6.0-test9-mm4)

2003-11-20 23:02:33

by William Lee Irwin III

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

On Thu, Nov 20, 2003 at 11:53:54PM +0100, Jose Luis Domingo Lopez wrote:
> I untarred it to /tmp and, as root, I run:
> /tmp/vmware-any-any-update45/runme.pl
> Then the script stopped VMware services, went to recompile both vmnet.o
> and vmmon.o, and then started the services again.
> Launched VMware as usual, tried to boot the same guest operating system
> I used on yesterday's BUG report, and got the messages in the log.
> What I am going to try now is to completely uninstall VMware, install it
> from scratch and apply vmware-any-any-update45.tar.gz and see how it goes
> (to avoid previously applied patches or manual modifications to VMware
> sources done by me making some difference).
[...]

Okay, try this fix:


diff -prauN mm4-2.6.0-test9-1/mm/memory.c mm4-2.6.0-test9-default-2/mm/memory.c
--- mm4-2.6.0-test9-1/mm/memory.c 2003-11-19 00:07:15.000000000 -0800
+++ mm4-2.6.0-test9-default-2/mm/memory.c 2003-11-19 18:08:49.000000000 -0800
@@ -1424,7 +1424,7 @@ do_no_page(struct mm_struct *mm, struct
pte_t entry;
struct pte_chain *pte_chain;
int sequence = 0;
- int ret;
+ int ret = VM_FAULT_MINOR;

if (!vma->vm_ops || !vma->vm_ops->nopage)
return do_anonymous_page(mm, vma, page_table,

2003-11-21 20:10:24

by Jose Luis Domingo Lopez

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

On Thursday, 20 November 2003, at 14:56:29 -0800,
William Lee Irwin III wrote:

> @@ -1424,7 +1424,7 @@ do_no_page(struct mm_struct *mm, struct
> pte_t entry;
> struct pte_chain *pte_chain;
> int sequence = 0;
> - int ret;
> + int ret = VM_FAULT_MINOR;
>
I applied it manually to 2.6.0-test9-mm4 (because there is some offset
that prevents the patch to apply cleanly to it).

Compiled the kernel with the exact same configuration used in previous
tests, as well as modules. Booted with this new kernel
(2.6.0-test9-mm4-fix) and reconfigured (vmware-config.pl) VMware.

Otherwise, everything is as it was yesterday. Booted the program,
started the same guest operating system as ever, and now the BUG is gone
and everything works OK.

Great work, greetings.

--
Jose Luis Domingo Lopez
Linux Registered User #189436 Debian Linux Sid (Linux 2.6.0-test9-mm4-fix)

2003-11-21 23:09:08

by Jose Luis Domingo Lopez

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 (only) and vmware

On Friday, 21 November 2003, at 21:10:19 +0100,
Jose Luis Domingo Lopez wrote:

> Otherwise, everything is as it was yesterday. Booted the program,
> started the same guest operating system as ever, and now the BUG is gone
> and everything works OK.
>
Just for the record, the recently released 2.6.0-test9-mm5 has the fix
for mm/memory.c so VMware works OK again.

Greetings.

--
Jose Luis Domingo Lopez
Linux Registered User #189436 Debian Linux Sid (Linux 2.6.0-test9-mm5)