* software suspend doesn't work with 2.6.22-rc3 @ 2007-05-26 9:28 Maximilian Engelhardt 2007-05-26 9:53 ` Nigel Cunningham 2007-05-27 20:35 ` Pavel Machek 0 siblings, 2 replies; 24+ messages in thread From: Maximilian Engelhardt @ 2007-05-26 9:28 UTC (permalink / raw) To: linux-kernel [-- Attachment #1.1: Type: text/plain, Size: 561 bytes --] Hello, When I try software suspend on my laptop it always returns to my running system after some time. This is what's logged by the kernel: swsusp: Basic memory bitmaps created Stopping tasks ... Stopping kernel threads timed out after 20 seconds (1 tasks refusing to freeze): cryptd Restarting tasks ... done. swsusp: Basic memory bitmaps freed I have no idea what's the problem, but if you tell me what I should do I can create debugging information and/or test patches. I have my config attached, the kernel is 2.6.22-rc3 Maxi [-- Attachment #1.2: .config --] [-- Type: text/plain, Size: 47810 bytes --] # # Automatically generated make config: don't edit # Linux kernel version: 2.6.22-rc3 # Sat May 26 10:07:12 2007 # CONFIG_X86_32=y CONFIG_GENERIC_TIME=y CONFIG_CLOCKSOURCE_WATCHDOG=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_SEMAPHORE_SLEEPERS=y CONFIG_X86=y CONFIG_MMU=y CONFIG_ZONE_DMA=y CONFIG_QUICKLIST=y CONFIG_GENERIC_ISA_DMA=y CONFIG_GENERIC_IOMAP=y CONFIG_GENERIC_BUG=y CONFIG_GENERIC_HWEIGHT=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_DMI=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # Code maturity level options # CONFIG_EXPERIMENTAL=y CONFIG_BROKEN_ON_SMP=y CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 # # General setup # CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_SWAP=y CONFIG_SYSVIPC=y # CONFIG_IPC_NS is not set CONFIG_SYSVIPC_SYSCTL=y CONFIG_POSIX_MQUEUE=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_BSD_PROCESS_ACCT_V3=y CONFIG_TASKSTATS=y CONFIG_TASK_DELAY_ACCT=y # CONFIG_TASK_XACCT is not set # CONFIG_UTS_NS is not set # CONFIG_AUDIT is not set CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=17 # CONFIG_SYSFS_DEPRECATED is not set # CONFIG_RELAY is not set # CONFIG_BLK_DEV_INITRD is not set # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_SYSCTL=y # CONFIG_EMBEDDED is not set CONFIG_UID16=y CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y # CONFIG_KALLSYMS_ALL is not set # CONFIG_KALLSYMS_EXTRA_PASS is not set CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_ANON_INODES=y CONFIG_EPOLL=y CONFIG_SIGNALFD=y CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_SLUB_DEBUG=y # CONFIG_SLAB is not set CONFIG_SLUB=y # CONFIG_SLOB is not set CONFIG_RT_MUTEXES=y # CONFIG_TINY_SHMEM is not set CONFIG_BASE_SMALL=0 # # Loadable module support # CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_MODULE_FORCE_UNLOAD=y # CONFIG_MODVERSIONS is not set # CONFIG_MODULE_SRCVERSION_ALL is not set CONFIG_KMOD=y # # Block layer # CONFIG_BLOCK=y # CONFIG_LBD is not set # CONFIG_BLK_DEV_IO_TRACE is not set # CONFIG_LSF is not set # # IO Schedulers # CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_AS=y CONFIG_IOSCHED_DEADLINE=y CONFIG_IOSCHED_CFQ=y # CONFIG_DEFAULT_AS is not set # CONFIG_DEFAULT_DEADLINE is not set CONFIG_DEFAULT_CFQ=y # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="cfq" # # Processor type and features # CONFIG_TICK_ONESHOT=y CONFIG_NO_HZ=y CONFIG_HIGH_RES_TIMERS=y # CONFIG_SMP is not set CONFIG_X86_PC=y # CONFIG_X86_ELAN is not set # 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_PARAVIRT 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_MPENTIUMM=y # CONFIG_MCORE2 is not set # CONFIG_MPENTIUM4 is not set # CONFIG_MK6 is not set # CONFIG_MK7 is not set # CONFIG_MK8 is not set # CONFIG_MCRUSOE is not set # CONFIG_MEFFICEON is not set # CONFIG_MWINCHIPC6 is not set # CONFIG_MWINCHIP2 is not set # CONFIG_MWINCHIP3D is not set # CONFIG_MGEODEGX1 is not set # CONFIG_MGEODE_LX is not set # CONFIG_MCYRIXIII is not set # CONFIG_MVIAC3_2 is not set # CONFIG_MVIAC7 is not set # CONFIG_X86_GENERIC is not set CONFIG_X86_CMPXCHG=y CONFIG_X86_L1_CACHE_SHIFT=6 CONFIG_X86_XADD=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y # CONFIG_ARCH_HAS_ILOG2_U32 is not set # CONFIG_ARCH_HAS_ILOG2_U64 is not set CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_X86_WP_WORKS_OK=y CONFIG_X86_INVLPG=y CONFIG_X86_BSWAP=y CONFIG_X86_POPAD_OK=y CONFIG_X86_CMPXCHG64=y CONFIG_X86_GOOD_APIC=y CONFIG_X86_INTEL_USERCOPY=y CONFIG_X86_USE_PPRO_CHECKSUM=y CONFIG_X86_TSC=y CONFIG_X86_CMOV=y CONFIG_X86_MINIMUM_CPU_MODEL=4 CONFIG_HPET_TIMER=y CONFIG_HPET_EMULATE_RTC=y # CONFIG_PREEMPT_NONE is not set # CONFIG_PREEMPT_VOLUNTARY is not set CONFIG_PREEMPT=y CONFIG_PREEMPT_BKL=y # CONFIG_X86_UP_APIC is not set CONFIG_X86_MCE=y CONFIG_X86_MCE_NONFATAL=y CONFIG_VM86=y # CONFIG_TOSHIBA is not set # CONFIG_I8K is not set # CONFIG_X86_REBOOTFIXUPS is not set # CONFIG_MICROCODE is not set # CONFIG_X86_MSR is not set # CONFIG_X86_CPUID is not set # # Firmware Drivers # # CONFIG_EDD is not set # CONFIG_DELL_RBU is not set # CONFIG_DCDBAS is not set # CONFIG_NOHIGHMEM is not set CONFIG_HIGHMEM4G=y # CONFIG_HIGHMEM64G is not set CONFIG_PAGE_OFFSET=0xC0000000 CONFIG_HIGHMEM=y CONFIG_ARCH_FLATMEM_ENABLE=y CONFIG_ARCH_SPARSEMEM_ENABLE=y CONFIG_ARCH_SELECT_MEMORY_MODEL=y CONFIG_ARCH_POPULATES_NODE_MAP=y CONFIG_SELECT_MEMORY_MODEL=y CONFIG_FLATMEM_MANUAL=y # CONFIG_DISCONTIGMEM_MANUAL is not set # CONFIG_SPARSEMEM_MANUAL is not set CONFIG_FLATMEM=y CONFIG_FLAT_NODE_MEM_MAP=y CONFIG_SPARSEMEM_STATIC=y CONFIG_SPLIT_PTLOCK_CPUS=4 # CONFIG_RESOURCES_64BIT is not set CONFIG_ZONE_DMA_FLAG=1 CONFIG_NR_QUICK=1 # CONFIG_HIGHPTE is not set # CONFIG_MATH_EMULATION is not set CONFIG_MTRR=y # CONFIG_EFI is not set CONFIG_SECCOMP=y # CONFIG_HZ_100 is not set # CONFIG_HZ_250 is not set CONFIG_HZ_300=y # CONFIG_HZ_1000 is not set CONFIG_HZ=300 # CONFIG_KEXEC is not set # CONFIG_CRASH_DUMP is not set CONFIG_PHYSICAL_START=0x100000 # CONFIG_RELOCATABLE is not set CONFIG_PHYSICAL_ALIGN=0x100000 # CONFIG_COMPAT_VDSO is not set CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y # # Power management options (ACPI, APM) # CONFIG_PM=y # CONFIG_PM_LEGACY is not set # CONFIG_PM_DEBUG is not set # CONFIG_PM_SYSFS_DEPRECATED is not set CONFIG_SOFTWARE_SUSPEND=y CONFIG_PM_STD_PARTITION="" # # ACPI (Advanced Configuration and Power Interface) Support # CONFIG_ACPI=y CONFIG_ACPI_SLEEP=y CONFIG_ACPI_SLEEP_PROC_FS=y # CONFIG_ACPI_SLEEP_PROC_SLEEP is not set # CONFIG_ACPI_PROCFS is not set CONFIG_ACPI_AC=y CONFIG_ACPI_BATTERY=y CONFIG_ACPI_BUTTON=y CONFIG_ACPI_FAN=y CONFIG_ACPI_DOCK=y CONFIG_ACPI_BAY=y CONFIG_ACPI_PROCESSOR=y CONFIG_ACPI_THERMAL=y # CONFIG_ACPI_ASUS is not set # CONFIG_ACPI_TOSHIBA is not set # CONFIG_ACPI_CUSTOM_DSDT is not set CONFIG_ACPI_BLACKLIST_YEAR=0 # CONFIG_ACPI_DEBUG is not set CONFIG_ACPI_EC=y CONFIG_ACPI_POWER=y CONFIG_ACPI_SYSTEM=y CONFIG_X86_PM_TIMER=y # CONFIG_ACPI_CONTAINER is not set # CONFIG_ACPI_SBS is not set # CONFIG_APM is not set # # CPU Frequency scaling # CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_TABLE=y # CONFIG_CPU_FREQ_DEBUG is not set CONFIG_CPU_FREQ_STAT=y CONFIG_CPU_FREQ_STAT_DETAILS=y CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_POWERSAVE=y CONFIG_CPU_FREQ_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_ONDEMAND=y CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y # # CPUFreq processor drivers # # CONFIG_X86_ACPI_CPUFREQ is not set # CONFIG_X86_POWERNOW_K6 is not set # CONFIG_X86_POWERNOW_K7 is not set # CONFIG_X86_POWERNOW_K8 is not set # CONFIG_X86_GX_SUSPMOD is not set CONFIG_X86_SPEEDSTEP_CENTRINO=y # CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI is not set CONFIG_X86_SPEEDSTEP_CENTRINO_TABLE=y # CONFIG_X86_SPEEDSTEP_ICH is not set # CONFIG_X86_SPEEDSTEP_SMI is not set # CONFIG_X86_P4_CLOCKMOD is not set # CONFIG_X86_CPUFREQ_NFORCE2 is not set # CONFIG_X86_LONGRUN is not set # CONFIG_X86_LONGHAUL is not set # CONFIG_X86_E_POWERSAVER is not set # # shared options # # CONFIG_X86_SPEEDSTEP_LIB is not set # # Bus options (PCI, PCMCIA, EISA, MCA, ISA) # CONFIG_PCI=y # CONFIG_PCI_GOBIOS is not set # CONFIG_PCI_GOMMCONFIG is not set # CONFIG_PCI_GODIRECT is not set CONFIG_PCI_GOANY=y CONFIG_PCI_BIOS=y CONFIG_PCI_DIRECT=y CONFIG_PCI_MMCONFIG=y # CONFIG_PCIEPORTBUS is not set # CONFIG_ARCH_SUPPORTS_MSI is not set # CONFIG_PCI_DEBUG is not set CONFIG_ISA_DMA_API=y # CONFIG_ISA is not set # CONFIG_MCA is not set # CONFIG_SCx200 is not set # # PCCARD (PCMCIA/CardBus) support # CONFIG_PCCARD=y # CONFIG_PCMCIA_DEBUG is not set CONFIG_PCMCIA=y CONFIG_PCMCIA_LOAD_CIS=y # CONFIG_PCMCIA_IOCTL is not set CONFIG_CARDBUS=y # # PC-card bridges # CONFIG_YENTA=y CONFIG_YENTA_O2=y CONFIG_YENTA_RICOH=y CONFIG_YENTA_TI=y CONFIG_YENTA_ENE_TUNE=y CONFIG_YENTA_TOSHIBA=y # CONFIG_PD6729 is not set # CONFIG_I82092 is not set CONFIG_PCCARD_NONSTATIC=y # CONFIG_HOTPLUG_PCI is not set # # Executable file formats # CONFIG_BINFMT_ELF=y CONFIG_BINFMT_AOUT=y CONFIG_BINFMT_MISC=y # # Networking # CONFIG_NET=y # # Networking options # CONFIG_PACKET=y CONFIG_PACKET_MMAP=y CONFIG_UNIX=y CONFIG_XFRM=y CONFIG_XFRM_USER=y CONFIG_XFRM_SUB_POLICY=y CONFIG_XFRM_MIGRATE=y CONFIG_NET_KEY=y CONFIG_NET_KEY_MIGRATE=y CONFIG_INET=y CONFIG_IP_MULTICAST=y # CONFIG_IP_ADVANCED_ROUTER is not set CONFIG_IP_FIB_HASH=y # CONFIG_IP_PNP is not set CONFIG_NET_IPIP=y CONFIG_NET_IPGRE=y CONFIG_NET_IPGRE_BROADCAST=y # CONFIG_IP_MROUTE is not set # CONFIG_ARPD is not set # CONFIG_SYN_COOKIES is not set CONFIG_INET_AH=y CONFIG_INET_ESP=y CONFIG_INET_IPCOMP=y CONFIG_INET_XFRM_TUNNEL=y CONFIG_INET_TUNNEL=y CONFIG_INET_XFRM_MODE_TRANSPORT=y CONFIG_INET_XFRM_MODE_TUNNEL=y CONFIG_INET_XFRM_MODE_BEET=y CONFIG_INET_DIAG=y CONFIG_INET_TCP_DIAG=y # CONFIG_TCP_CONG_ADVANCED is not set CONFIG_TCP_CONG_CUBIC=y CONFIG_DEFAULT_TCP_CONG="cubic" # CONFIG_TCP_MD5SIG is not set # CONFIG_IP_VS is not set CONFIG_IPV6=y CONFIG_IPV6_PRIVACY=y CONFIG_IPV6_ROUTER_PREF=y CONFIG_IPV6_ROUTE_INFO=y CONFIG_IPV6_OPTIMISTIC_DAD=y CONFIG_INET6_AH=y CONFIG_INET6_ESP=y CONFIG_INET6_IPCOMP=y CONFIG_IPV6_MIP6=y CONFIG_INET6_XFRM_TUNNEL=y CONFIG_INET6_TUNNEL=y CONFIG_INET6_XFRM_MODE_TRANSPORT=y CONFIG_INET6_XFRM_MODE_TUNNEL=y CONFIG_INET6_XFRM_MODE_BEET=y # CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set CONFIG_IPV6_SIT=y CONFIG_IPV6_TUNNEL=y # CONFIG_IPV6_MULTIPLE_TABLES is not set CONFIG_NETWORK_SECMARK=y CONFIG_NETFILTER=y # CONFIG_NETFILTER_DEBUG is not set CONFIG_BRIDGE_NETFILTER=y # # Core Netfilter Configuration # CONFIG_NETFILTER_NETLINK=y CONFIG_NETFILTER_NETLINK_QUEUE=y CONFIG_NETFILTER_NETLINK_LOG=y CONFIG_NF_CONNTRACK_ENABLED=y CONFIG_NF_CONNTRACK=y CONFIG_NF_CT_ACCT=y CONFIG_NF_CONNTRACK_MARK=y CONFIG_NF_CONNTRACK_SECMARK=y CONFIG_NF_CONNTRACK_EVENTS=y CONFIG_NF_CT_PROTO_GRE=y CONFIG_NF_CT_PROTO_SCTP=y CONFIG_NF_CONNTRACK_AMANDA=y CONFIG_NF_CONNTRACK_FTP=y CONFIG_NF_CONNTRACK_H323=y CONFIG_NF_CONNTRACK_IRC=y CONFIG_NF_CONNTRACK_NETBIOS_NS=y CONFIG_NF_CONNTRACK_PPTP=y CONFIG_NF_CONNTRACK_SANE=y CONFIG_NF_CONNTRACK_SIP=y CONFIG_NF_CONNTRACK_TFTP=y CONFIG_NF_CT_NETLINK=y CONFIG_NETFILTER_XTABLES=y CONFIG_NETFILTER_XT_TARGET_CLASSIFY=y CONFIG_NETFILTER_XT_TARGET_CONNMARK=y CONFIG_NETFILTER_XT_TARGET_DSCP=y CONFIG_NETFILTER_XT_TARGET_MARK=y CONFIG_NETFILTER_XT_TARGET_NFQUEUE=y CONFIG_NETFILTER_XT_TARGET_NFLOG=y CONFIG_NETFILTER_XT_TARGET_NOTRACK=y CONFIG_NETFILTER_XT_TARGET_SECMARK=y CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=y CONFIG_NETFILTER_XT_TARGET_TCPMSS=y CONFIG_NETFILTER_XT_MATCH_COMMENT=y CONFIG_NETFILTER_XT_MATCH_CONNBYTES=y CONFIG_NETFILTER_XT_MATCH_CONNMARK=y CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y CONFIG_NETFILTER_XT_MATCH_DCCP=y CONFIG_NETFILTER_XT_MATCH_DSCP=y CONFIG_NETFILTER_XT_MATCH_ESP=y CONFIG_NETFILTER_XT_MATCH_HELPER=y CONFIG_NETFILTER_XT_MATCH_LENGTH=y CONFIG_NETFILTER_XT_MATCH_LIMIT=y CONFIG_NETFILTER_XT_MATCH_MAC=y CONFIG_NETFILTER_XT_MATCH_MARK=y CONFIG_NETFILTER_XT_MATCH_POLICY=y CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y CONFIG_NETFILTER_XT_MATCH_QUOTA=y CONFIG_NETFILTER_XT_MATCH_REALM=y CONFIG_NETFILTER_XT_MATCH_SCTP=y CONFIG_NETFILTER_XT_MATCH_STATE=y CONFIG_NETFILTER_XT_MATCH_STATISTIC=y CONFIG_NETFILTER_XT_MATCH_STRING=y CONFIG_NETFILTER_XT_MATCH_TCPMSS=y CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=y # # IP: Netfilter Configuration # CONFIG_NF_CONNTRACK_IPV4=y CONFIG_NF_CONNTRACK_PROC_COMPAT=y # CONFIG_IP_NF_QUEUE is not set CONFIG_IP_NF_IPTABLES=y CONFIG_IP_NF_MATCH_IPRANGE=y CONFIG_IP_NF_MATCH_TOS=y CONFIG_IP_NF_MATCH_RECENT=y CONFIG_IP_NF_MATCH_ECN=y CONFIG_IP_NF_MATCH_AH=y CONFIG_IP_NF_MATCH_TTL=y CONFIG_IP_NF_MATCH_OWNER=y CONFIG_IP_NF_MATCH_ADDRTYPE=y CONFIG_IP_NF_FILTER=y CONFIG_IP_NF_TARGET_REJECT=y CONFIG_IP_NF_TARGET_LOG=y CONFIG_IP_NF_TARGET_ULOG=y CONFIG_NF_NAT=y CONFIG_NF_NAT_NEEDED=y CONFIG_IP_NF_TARGET_MASQUERADE=y CONFIG_IP_NF_TARGET_REDIRECT=y CONFIG_IP_NF_TARGET_NETMAP=y CONFIG_IP_NF_TARGET_SAME=y CONFIG_NF_NAT_SNMP_BASIC=y CONFIG_NF_NAT_PROTO_GRE=y CONFIG_NF_NAT_FTP=y CONFIG_NF_NAT_IRC=y CONFIG_NF_NAT_TFTP=y CONFIG_NF_NAT_AMANDA=y CONFIG_NF_NAT_PPTP=y CONFIG_NF_NAT_H323=y CONFIG_NF_NAT_SIP=y CONFIG_IP_NF_MANGLE=y CONFIG_IP_NF_TARGET_TOS=y CONFIG_IP_NF_TARGET_ECN=y CONFIG_IP_NF_TARGET_TTL=y CONFIG_IP_NF_TARGET_CLUSTERIP=y CONFIG_IP_NF_RAW=y CONFIG_IP_NF_ARPTABLES=y CONFIG_IP_NF_ARPFILTER=y CONFIG_IP_NF_ARP_MANGLE=y # # IPv6: Netfilter Configuration (EXPERIMENTAL) # CONFIG_NF_CONNTRACK_IPV6=y # CONFIG_IP6_NF_QUEUE is not set CONFIG_IP6_NF_IPTABLES=y CONFIG_IP6_NF_MATCH_RT=y CONFIG_IP6_NF_MATCH_OPTS=y CONFIG_IP6_NF_MATCH_FRAG=y CONFIG_IP6_NF_MATCH_HL=y CONFIG_IP6_NF_MATCH_OWNER=y CONFIG_IP6_NF_MATCH_IPV6HEADER=y CONFIG_IP6_NF_MATCH_AH=y CONFIG_IP6_NF_MATCH_MH=y CONFIG_IP6_NF_MATCH_EUI64=y CONFIG_IP6_NF_FILTER=y CONFIG_IP6_NF_TARGET_LOG=y CONFIG_IP6_NF_TARGET_REJECT=y CONFIG_IP6_NF_MANGLE=y CONFIG_IP6_NF_TARGET_HL=y CONFIG_IP6_NF_RAW=y # # Bridge: Netfilter Configuration # CONFIG_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=m CONFIG_BRIDGE_EBT_ARP=m CONFIG_BRIDGE_EBT_IP=m CONFIG_BRIDGE_EBT_LIMIT=m CONFIG_BRIDGE_EBT_MARK=m CONFIG_BRIDGE_EBT_PKTTYPE=m CONFIG_BRIDGE_EBT_STP=m CONFIG_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=m CONFIG_BRIDGE_EBT_LOG=m # CONFIG_BRIDGE_EBT_ULOG is not set # CONFIG_IP_DCCP is not set # CONFIG_IP_SCTP is not set # CONFIG_TIPC is not set # CONFIG_ATM is not set CONFIG_BRIDGE=m CONFIG_VLAN_8021Q=m # CONFIG_DECNET is not set CONFIG_LLC=m # 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_ECONET is not set # CONFIG_WAN_ROUTER is not set # # QoS and/or fair queueing # # CONFIG_NET_SCHED is not set CONFIG_NET_SCH_FIFO=y CONFIG_NET_CLS_ROUTE=y # # Network testing # # CONFIG_NET_PKTGEN is not set # CONFIG_HAMRADIO is not set # CONFIG_IRDA is not set # CONFIG_BT is not set # CONFIG_AF_RXRPC is not set # # Wireless # CONFIG_CFG80211=y CONFIG_WIRELESS_EXT=y CONFIG_MAC80211=y # CONFIG_MAC80211_DEBUG is not set # CONFIG_IEEE80211 is not set CONFIG_RFKILL=y CONFIG_RFKILL_INPUT=y # # Device Drivers # # # Generic Driver Options # # CONFIG_STANDALONE is not set CONFIG_PREVENT_FIRMWARE_BUILD=y CONFIG_FW_LOADER=y # CONFIG_DEBUG_DRIVER is not set # CONFIG_DEBUG_DEVRES is not set # CONFIG_SYS_HYPERVISOR is not set # # Connector - unified userspace <-> kernelspace linker # # CONFIG_CONNECTOR is not set # CONFIG_MTD is not set # # Parallel port support # CONFIG_PARPORT=y CONFIG_PARPORT_PC=y CONFIG_PARPORT_PC_FIFO=y # CONFIG_PARPORT_PC_SUPERIO is not set # CONFIG_PARPORT_PC_PCMCIA is not set # CONFIG_PARPORT_GSC is not set # CONFIG_PARPORT_AX88796 is not set CONFIG_PARPORT_1284=y # # Plug and Play support # CONFIG_PNP=y # CONFIG_PNP_DEBUG is not set # # Protocols # CONFIG_PNPACPI=y # # Block devices # # CONFIG_BLK_DEV_FD 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_COW_COMMON is not set CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_CRYPTOLOOP=y CONFIG_BLK_DEV_NBD=y # CONFIG_BLK_DEV_SX8 is not set # CONFIG_BLK_DEV_UB is not set # CONFIG_BLK_DEV_RAM is not set CONFIG_CDROM_PKTCDVD=y CONFIG_CDROM_PKTCDVD_BUFFERS=8 CONFIG_CDROM_PKTCDVD_WCACHE=y # CONFIG_ATA_OVER_ETH is not set # # Misc devices # # CONFIG_IBM_ASM is not set # CONFIG_PHANTOM is not set # CONFIG_SGI_IOC4 is not set # CONFIG_TIFM_CORE is not set # CONFIG_SONY_LAPTOP is not set # CONFIG_THINKPAD_ACPI is not set # CONFIG_BLINK is not set # CONFIG_IDE is not set # # SCSI device support # # CONFIG_RAID_ATTRS is not set CONFIG_SCSI=y CONFIG_SCSI_TGT=y # CONFIG_SCSI_NETLINK is not set # CONFIG_SCSI_PROC_FS is not set # # SCSI support type (disk, tape, CD-ROM) # CONFIG_BLK_DEV_SD=y # CONFIG_CHR_DEV_ST is not set # CONFIG_CHR_DEV_OSST is not set CONFIG_BLK_DEV_SR=y # CONFIG_BLK_DEV_SR_VENDOR is not set CONFIG_CHR_DEV_SG=y # CONFIG_CHR_DEV_SCH is not set # # Some SCSI devices (e.g. CD jukebox) support multiple LUNs # # CONFIG_SCSI_MULTI_LUN is not set # CONFIG_SCSI_CONSTANTS is not set # CONFIG_SCSI_LOGGING is not set # CONFIG_SCSI_SCAN_ASYNC is not set CONFIG_SCSI_WAIT_SCAN=m # # SCSI Transports # # CONFIG_SCSI_SPI_ATTRS is not set # CONFIG_SCSI_FC_ATTRS is not set # CONFIG_SCSI_ISCSI_ATTRS is not set # CONFIG_SCSI_SAS_ATTRS is not set # CONFIG_SCSI_SAS_LIBSAS is not set # # SCSI low-level drivers # # CONFIG_ISCSI_TCP is not set # CONFIG_BLK_DEV_3W_XXXX_RAID is not set # CONFIG_SCSI_3W_9XXX is not set # CONFIG_SCSI_ACARD is not set # CONFIG_SCSI_AACRAID is not set # CONFIG_SCSI_AIC7XXX is not set # CONFIG_SCSI_AIC7XXX_OLD is not set # CONFIG_SCSI_AIC79XX is not set # CONFIG_SCSI_AIC94XX is not set # CONFIG_SCSI_DPT_I2O is not set # CONFIG_SCSI_ADVANSYS is not set # CONFIG_SCSI_ARCMSR is not set # CONFIG_MEGARAID_NEWGEN is not set # CONFIG_MEGARAID_LEGACY is not set # CONFIG_MEGARAID_SAS is not set # CONFIG_SCSI_HPTIOP is not set # CONFIG_SCSI_BUSLOGIC is not set # CONFIG_SCSI_DMX3191D is not set # CONFIG_SCSI_EATA is not set # CONFIG_SCSI_FUTURE_DOMAIN is not set # CONFIG_SCSI_GDTH is not set # CONFIG_SCSI_IPS is not set # CONFIG_SCSI_INITIO is not set # CONFIG_SCSI_INIA100 is not set # CONFIG_SCSI_PPA is not set # CONFIG_SCSI_IMM is not set # CONFIG_SCSI_STEX is not set # CONFIG_SCSI_SYM53C8XX_2 is not set # CONFIG_SCSI_IPR is not set # CONFIG_SCSI_QLOGIC_1280 is not set # CONFIG_SCSI_QLA_FC is not set # CONFIG_SCSI_QLA_ISCSI is not set # CONFIG_SCSI_LPFC is not set # CONFIG_SCSI_DC395x is not set # CONFIG_SCSI_DC390T is not set # CONFIG_SCSI_NSP32 is not set # CONFIG_SCSI_DEBUG is not set # CONFIG_SCSI_ESP_CORE is not set # CONFIG_SCSI_SRP is not set # # PCMCIA SCSI adapter support # # CONFIG_PCMCIA_AHA152X is not set # CONFIG_PCMCIA_FDOMAIN is not set # CONFIG_PCMCIA_NINJA_SCSI is not set # CONFIG_PCMCIA_QLOGIC is not set # CONFIG_PCMCIA_SYM53C500 is not set CONFIG_ATA=y # CONFIG_ATA_NONSTANDARD is not set CONFIG_ATA_ACPI=y # CONFIG_SATA_AHCI is not set # CONFIG_SATA_SVW is not set CONFIG_ATA_PIIX=y # CONFIG_SATA_MV is not set # CONFIG_SATA_NV is not set # CONFIG_PDC_ADMA is not set # CONFIG_SATA_QSTOR is not set # CONFIG_SATA_PROMISE is not set # CONFIG_SATA_SX4 is not set # CONFIG_SATA_SIL is not set # CONFIG_SATA_SIL24 is not set # CONFIG_SATA_SIS is not set # CONFIG_SATA_ULI is not set # CONFIG_SATA_VIA is not set # CONFIG_SATA_VITESSE is not set # CONFIG_SATA_INIC162X is not set # CONFIG_PATA_ALI is not set # CONFIG_PATA_AMD is not set # CONFIG_PATA_ARTOP is not set # CONFIG_PATA_ATIIXP is not set # CONFIG_PATA_CMD640_PCI is not set # CONFIG_PATA_CMD64X is not set # CONFIG_PATA_CS5520 is not set # CONFIG_PATA_CS5530 is not set # CONFIG_PATA_CS5535 is not set # CONFIG_PATA_CYPRESS is not set # CONFIG_PATA_EFAR is not set # CONFIG_ATA_GENERIC is not set # CONFIG_PATA_HPT366 is not set # CONFIG_PATA_HPT37X is not set # CONFIG_PATA_HPT3X2N is not set # CONFIG_PATA_HPT3X3 is not set # CONFIG_PATA_IT821X is not set # CONFIG_PATA_IT8213 is not set # CONFIG_PATA_JMICRON is not set # CONFIG_PATA_TRIFLEX is not set # CONFIG_PATA_MARVELL is not set # CONFIG_PATA_MPIIX is not set # CONFIG_PATA_OLDPIIX is not set # CONFIG_PATA_NETCELL is not set # CONFIG_PATA_NS87410 is not set # CONFIG_PATA_OPTI is not set # CONFIG_PATA_OPTIDMA is not set # CONFIG_PATA_PCMCIA is not set # CONFIG_PATA_PDC_OLD is not set # CONFIG_PATA_RADISYS is not set # CONFIG_PATA_RZ1000 is not set # CONFIG_PATA_SC1200 is not set # CONFIG_PATA_SERVERWORKS is not set # CONFIG_PATA_PDC2027X is not set # CONFIG_PATA_SIL680 is not set # CONFIG_PATA_SIS is not set # CONFIG_PATA_VIA is not set # CONFIG_PATA_WINBOND is not set # # Multi-device support (RAID and LVM) # # CONFIG_MD is not set # # Fusion MPT device support # # CONFIG_FUSION is not set # CONFIG_FUSION_SPI is not set # CONFIG_FUSION_FC is not set # CONFIG_FUSION_SAS is not set # # IEEE 1394 (FireWire) support # CONFIG_FIREWIRE=y CONFIG_FIREWIRE_OHCI=y CONFIG_FIREWIRE_SBP2=y # CONFIG_IEEE1394 is not set # # I2O device support # # CONFIG_I2O is not set # CONFIG_MACINTOSH_DRIVERS is not set # # Network device support # CONFIG_NETDEVICES=y # CONFIG_DUMMY is not set CONFIG_BONDING=y # CONFIG_EQUALIZER is not set CONFIG_TUN=y # CONFIG_NET_SB1000 is not set # CONFIG_ARCNET is not set # CONFIG_PHYLIB 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_CASSINI is not set # CONFIG_NET_VENDOR_3COM is not set # # Tulip family network device support # # CONFIG_NET_TULIP is not set # CONFIG_HP100 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_B44=y # CONFIG_FORCEDETH 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 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_SC92031 is not set # CONFIG_NET_POCKET is not set # CONFIG_NETDEV_1000 is not set # CONFIG_NETDEV_10000 is not set # CONFIG_TR is not set # # Wireless LAN # # CONFIG_WLAN_PRE80211 is not set CONFIG_WLAN_80211=y # CONFIG_PCMCIA_RAYCS is not set # CONFIG_IPW2100 is not set # CONFIG_IPW2200 is not set # CONFIG_LIBERTAS_USB is not set # CONFIG_AIRO is not set # CONFIG_HERMES is not set # CONFIG_ATMEL is not set # CONFIG_AIRO_CS is not set # CONFIG_PCMCIA_WL3501 is not set CONFIG_PRISM54=m # CONFIG_USB_ZD1201 is not set # CONFIG_HOSTAP is not set # # USB Network Adapters # # 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_MII is not set # CONFIG_USB_USBNET is not set # CONFIG_NET_PCMCIA is not set # CONFIG_WAN is not set # CONFIG_FDDI is not set # CONFIG_HIPPI is not set # CONFIG_PLIP is not set CONFIG_PPP=m CONFIG_PPP_MULTILINK=y CONFIG_PPP_FILTER=y CONFIG_PPP_ASYNC=m CONFIG_PPP_SYNC_TTY=m CONFIG_PPP_DEFLATE=m CONFIG_PPP_BSDCOMP=m CONFIG_PPP_MPPE=m CONFIG_PPPOE=m # CONFIG_SLIP is not set CONFIG_SLHC=m # CONFIG_NET_FC is not set # CONFIG_SHAPER is not set # CONFIG_NETCONSOLE is not set # CONFIG_NETPOLL is not set # CONFIG_NET_POLL_CONTROLLER is not set # # ISDN subsystem # # CONFIG_ISDN is not set # # Telephony Support # # CONFIG_PHONE is not set # # Input device support # CONFIG_INPUT=y CONFIG_INPUT_FF_MEMLESS=y # # Userland interfaces # CONFIG_INPUT_MOUSEDEV=y CONFIG_INPUT_MOUSEDEV_PSAUX=y CONFIG_INPUT_MOUSEDEV_SCREEN_X=1400 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=1050 CONFIG_INPUT_JOYDEV=y # CONFIG_INPUT_TSDEV is not set CONFIG_INPUT_EVDEV=y # CONFIG_INPUT_EVBUG is not set # # Input Device Drivers # CONFIG_INPUT_KEYBOARD=y CONFIG_KEYBOARD_ATKBD=y # CONFIG_KEYBOARD_SUNKBD is not set # CONFIG_KEYBOARD_LKKBD is not set # CONFIG_KEYBOARD_XTKBD is not set # CONFIG_KEYBOARD_NEWTON is not set # CONFIG_KEYBOARD_STOWAWAY is not set CONFIG_INPUT_MOUSE=y CONFIG_MOUSE_PS2=y CONFIG_MOUSE_PS2_ALPS=y CONFIG_MOUSE_PS2_LOGIPS2PP=y CONFIG_MOUSE_PS2_SYNAPTICS=y CONFIG_MOUSE_PS2_LIFEBOOK=y CONFIG_MOUSE_PS2_TRACKPOINT=y # CONFIG_MOUSE_PS2_TOUCHKIT is not set # CONFIG_MOUSE_SERIAL is not set # CONFIG_MOUSE_APPLETOUCH is not set # CONFIG_MOUSE_VSXXXAA is not set # CONFIG_INPUT_JOYSTICK is not set # CONFIG_INPUT_TABLET is not set # CONFIG_INPUT_TOUCHSCREEN is not set CONFIG_INPUT_MISC=y CONFIG_INPUT_PCSPKR=y # CONFIG_INPUT_WISTRON_BTNS is not set # CONFIG_INPUT_ATLAS_BTNS is not set # CONFIG_INPUT_ATI_REMOTE is not set # CONFIG_INPUT_ATI_REMOTE2 is not set # CONFIG_INPUT_KEYSPAN_REMOTE is not set # CONFIG_INPUT_POWERMATE is not set # CONFIG_INPUT_YEALINK is not set # CONFIG_INPUT_UINPUT is not set # CONFIG_INPUT_POLLDEV is not set # # Hardware I/O ports # CONFIG_SERIO=y CONFIG_SERIO_I8042=y # CONFIG_SERIO_SERPORT is not set # CONFIG_SERIO_CT82C710 is not set # CONFIG_SERIO_PARKBD is not set # CONFIG_SERIO_PCIPS2 is not set CONFIG_SERIO_LIBPS2=y # CONFIG_SERIO_RAW is not set # CONFIG_GAMEPORT is not set # # Character devices # CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_HW_CONSOLE=y # CONFIG_VT_HW_CONSOLE_BINDING is not set # CONFIG_SERIAL_NONSTANDARD is not set # # Serial drivers # # CONFIG_SERIAL_8250 is not set # # Non-8250 serial port support # # CONFIG_SERIAL_JSM is not set CONFIG_UNIX98_PTYS=y CONFIG_LEGACY_PTYS=y CONFIG_LEGACY_PTY_COUNT=256 CONFIG_PRINTER=y # CONFIG_LP_CONSOLE is not set CONFIG_PPDEV=y # CONFIG_TIPAR is not set # # IPMI # # CONFIG_IPMI_HANDLER is not set # CONFIG_WATCHDOG is not set CONFIG_HW_RANDOM=y CONFIG_HW_RANDOM_INTEL=y # CONFIG_HW_RANDOM_AMD is not set # CONFIG_HW_RANDOM_GEODE is not set # CONFIG_HW_RANDOM_VIA is not set # CONFIG_NVRAM is not set CONFIG_RTC=y # CONFIG_R3964 is not set # CONFIG_APPLICOM is not set # CONFIG_SONYPI 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=y # CONFIG_AGP_NVIDIA is not set # CONFIG_AGP_SIS is not set # CONFIG_AGP_SWORKS is not set # CONFIG_AGP_VIA is not set # CONFIG_AGP_EFFICEON is not set CONFIG_DRM=y # CONFIG_DRM_TDFX is not set # CONFIG_DRM_R128 is not set # CONFIG_DRM_RADEON is not set # CONFIG_DRM_I810 is not set # CONFIG_DRM_I830 is not set CONFIG_DRM_I915=y # CONFIG_DRM_MGA is not set # CONFIG_DRM_SIS is not set # CONFIG_DRM_VIA is not set # CONFIG_DRM_SAVAGE is not set # # PCMCIA character devices # # CONFIG_SYNCLINK_CS is not set CONFIG_CARDMAN_4000=m # CONFIG_CARDMAN_4040 is not set # CONFIG_MWAVE is not set # CONFIG_PC8736x_GPIO is not set # CONFIG_NSC_GPIO is not set # CONFIG_CS5535_GPIO is not set # CONFIG_RAW_DRIVER is not set CONFIG_HPET=y # CONFIG_HPET_RTC_IRQ is not set CONFIG_HPET_MMAP=y # CONFIG_HANGCHECK_TIMER is not set # # TPM devices # # CONFIG_TCG_TPM is not set # CONFIG_TELCLOCK is not set CONFIG_DEVPORT=y CONFIG_I2C=y CONFIG_I2C_BOARDINFO=y CONFIG_I2C_CHARDEV=y # # I2C Algorithms # CONFIG_I2C_ALGOBIT=y # CONFIG_I2C_ALGOPCF is not set # CONFIG_I2C_ALGOPCA is not set # # I2C Hardware Bus support # # CONFIG_I2C_ALI1535 is not set # CONFIG_I2C_ALI1563 is not set # CONFIG_I2C_ALI15X3 is not set # CONFIG_I2C_AMD756 is not set # CONFIG_I2C_AMD8111 is not set CONFIG_I2C_I801=y # CONFIG_I2C_I810 is not set # CONFIG_I2C_PIIX4 is not set # CONFIG_I2C_NFORCE2 is not set # CONFIG_I2C_OCORES is not set # CONFIG_I2C_PARPORT is not set # CONFIG_I2C_PARPORT_LIGHT is not set # CONFIG_I2C_PROSAVAGE is not set # CONFIG_I2C_SAVAGE4 is not set # CONFIG_I2C_SIMTEC is not set # CONFIG_SCx200_ACB is not set # CONFIG_I2C_SIS5595 is not set # CONFIG_I2C_SIS630 is not set # CONFIG_I2C_SIS96X is not set # CONFIG_I2C_STUB is not set # CONFIG_I2C_TINY_USB is not set # CONFIG_I2C_VIA is not set # CONFIG_I2C_VIAPRO is not set # CONFIG_I2C_VOODOO3 is not set # # Miscellaneous I2C Chip support # # CONFIG_SENSORS_DS1337 is not set # CONFIG_SENSORS_DS1374 is not set CONFIG_SENSORS_EEPROM=y # CONFIG_SENSORS_PCF8574 is not set # CONFIG_SENSORS_PCA9539 is not set # CONFIG_SENSORS_PCF8591 is not set # CONFIG_SENSORS_MAX6875 is not set # CONFIG_I2C_DEBUG_CORE is not set # CONFIG_I2C_DEBUG_ALGO is not set # CONFIG_I2C_DEBUG_BUS is not set # CONFIG_I2C_DEBUG_CHIP is not set # # SPI support # # CONFIG_SPI is not set # CONFIG_SPI_MASTER is not set # # Dallas's 1-wire bus # # CONFIG_W1 is not set # CONFIG_HWMON is not set # # Multifunction device drivers # # CONFIG_MFD_SM501 is not set # # Multimedia devices # CONFIG_VIDEO_DEV=m # CONFIG_VIDEO_V4L1 is not set CONFIG_VIDEO_V4L1_COMPAT=y CONFIG_VIDEO_V4L2=y # CONFIG_VIDEO_CAPTURE_DRIVERS is not set # CONFIG_RADIO_ADAPTERS is not set CONFIG_DVB_CORE=m CONFIG_DVB_CORE_ATTACH=y CONFIG_DVB_CAPTURE_DRIVERS=y # # Supported SAA7146 based PCI Adapters # # # Supported USB Adapters # # CONFIG_DVB_USB is not set # CONFIG_DVB_TTUSB_BUDGET is not set # CONFIG_DVB_TTUSB_DEC is not set CONFIG_DVB_CINERGYT2=m # CONFIG_DVB_CINERGYT2_TUNING is not set # # Supported FlexCopII (B2C2) Adapters # # CONFIG_DVB_B2C2_FLEXCOP is not set # # Supported BT878 Adapters # # # Supported Pluto2 Adapters # # CONFIG_DVB_PLUTO2 is not set # # Supported DVB Frontends # # # Customise DVB Frontends # # CONFIG_DVB_FE_CUSTOMISE is not set # # DVB-S (satellite) frontends # # CONFIG_DVB_STV0299 is not set # CONFIG_DVB_CX24110 is not set # CONFIG_DVB_CX24123 is not set # CONFIG_DVB_TDA8083 is not set # CONFIG_DVB_MT312 is not set # CONFIG_DVB_VES1X93 is not set # CONFIG_DVB_S5H1420 is not set # CONFIG_DVB_TDA10086 is not set # # DVB-T (terrestrial) frontends # # CONFIG_DVB_SP8870 is not set # CONFIG_DVB_SP887X is not set # CONFIG_DVB_CX22700 is not set # CONFIG_DVB_CX22702 is not set # CONFIG_DVB_L64781 is not set # CONFIG_DVB_TDA1004X is not set # CONFIG_DVB_NXT6000 is not set # CONFIG_DVB_MT352 is not set # CONFIG_DVB_ZL10353 is not set # CONFIG_DVB_DIB3000MB is not set # CONFIG_DVB_DIB3000MC is not set # CONFIG_DVB_DIB7000M is not set # CONFIG_DVB_DIB7000P is not set # # DVB-C (cable) frontends # # CONFIG_DVB_VES1820 is not set # CONFIG_DVB_TDA10021 is not set # CONFIG_DVB_TDA10023 is not set # CONFIG_DVB_STV0297 is not set # # ATSC (North American/Korean Terrestrial/Cable DTV) frontends # # CONFIG_DVB_NXT200X is not set # CONFIG_DVB_OR51211 is not set # CONFIG_DVB_OR51132 is not set # CONFIG_DVB_BCM3510 is not set # CONFIG_DVB_LGDT330X is not set # # Tuners/PLL support # # CONFIG_DVB_PLL is not set # CONFIG_DVB_TDA826X is not set # CONFIG_DVB_TDA827X is not set # CONFIG_DVB_TUNER_QT1010 is not set # CONFIG_DVB_TUNER_MT2060 is not set # # Miscellaneous devices # # CONFIG_DVB_LNBP21 is not set # CONFIG_DVB_ISL6421 is not set # CONFIG_DVB_TUA6100 is not set # CONFIG_DAB is not set # # Graphics support # # CONFIG_BACKLIGHT_LCD_SUPPORT is not set # # Display device support # # CONFIG_DISPLAY_SUPPORT is not set # CONFIG_VGASTATE is not set CONFIG_FB=y # CONFIG_FIRMWARE_EDID is not set CONFIG_FB_DDC=y CONFIG_FB_CFB_FILLRECT=y CONFIG_FB_CFB_COPYAREA=y CONFIG_FB_CFB_IMAGEBLIT=y # CONFIG_FB_SYS_FILLRECT is not set # CONFIG_FB_SYS_COPYAREA is not set # CONFIG_FB_SYS_IMAGEBLIT is not set # CONFIG_FB_SYS_FOPS is not set CONFIG_FB_DEFERRED_IO=y # CONFIG_FB_SVGALIB is not set # CONFIG_FB_MACMODES is not set # CONFIG_FB_BACKLIGHT is not set CONFIG_FB_MODE_HELPERS=y # CONFIG_FB_TILEBLITTING is not set # # Frame buffer hardware drivers # # CONFIG_FB_CIRRUS is not set # CONFIG_FB_PM2 is not set # CONFIG_FB_CYBER2000 is not set # CONFIG_FB_ARC is not set # CONFIG_FB_ASILIANT is not set # CONFIG_FB_IMSTT is not set # CONFIG_FB_VGA16 is not set # CONFIG_FB_VESA is not set # CONFIG_FB_HECUBA is not set # CONFIG_FB_HGA is not set # CONFIG_FB_S1D13XXX is not set # CONFIG_FB_NVIDIA is not set # CONFIG_FB_RIVA is not set # CONFIG_FB_I810 is not set # CONFIG_FB_LE80578 is not set CONFIG_FB_INTEL=y # CONFIG_FB_INTEL_DEBUG is not set CONFIG_FB_INTEL_I2C=y # 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_S3 is not set # CONFIG_FB_SAVAGE is not set # CONFIG_FB_SIS is not set # CONFIG_FB_NEOMAGIC is not set # CONFIG_FB_KYRO is not set # CONFIG_FB_3DFX is not set # CONFIG_FB_VOODOO1 is not set # CONFIG_FB_VT8623 is not set # CONFIG_FB_CYBLA is not set # CONFIG_FB_TRIDENT is not set # CONFIG_FB_ARK is not set # CONFIG_FB_PM3 is not set # CONFIG_FB_GEODE is not set # CONFIG_FB_VIRTUAL is not set # # Console display driver support # CONFIG_VGA_CONSOLE=y # CONFIG_VGACON_SOFT_SCROLLBACK is not set CONFIG_VIDEO_SELECT=y CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=y # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set # CONFIG_FONTS is not set CONFIG_FONT_8x8=y CONFIG_FONT_8x16=y # CONFIG_LOGO is not set # # Sound # CONFIG_SOUND=y # # Advanced Linux Sound Architecture # CONFIG_SND=y CONFIG_SND_TIMER=y CONFIG_SND_PCM=y CONFIG_SND_SEQUENCER=y # CONFIG_SND_SEQ_DUMMY is not set # CONFIG_SND_MIXER_OSS is not set # CONFIG_SND_PCM_OSS is not set # CONFIG_SND_SEQUENCER_OSS is not set CONFIG_SND_RTCTIMER=y CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y CONFIG_SND_DYNAMIC_MINORS=y # CONFIG_SND_SUPPORT_OLD_API is not set # CONFIG_SND_VERBOSE_PROCFS is not set # CONFIG_SND_VERBOSE_PRINTK is not set # CONFIG_SND_DEBUG is not set # # Generic devices # CONFIG_SND_AC97_CODEC=y # CONFIG_SND_DUMMY is not set # CONFIG_SND_VIRMIDI is not set # CONFIG_SND_MTPAV is not set # CONFIG_SND_MTS64 is not set # CONFIG_SND_SERIAL_U16550 is not set # CONFIG_SND_MPU401 is not set # CONFIG_SND_PORTMAN2X4 is not set # # PCI devices # # CONFIG_SND_AD1889 is not set # CONFIG_SND_ALS300 is not set # CONFIG_SND_ALS4000 is not set # CONFIG_SND_ALI5451 is not set # CONFIG_SND_ATIIXP is not set # CONFIG_SND_ATIIXP_MODEM is not set # CONFIG_SND_AU8810 is not set # CONFIG_SND_AU8820 is not set # CONFIG_SND_AU8830 is not set # CONFIG_SND_AZT3328 is not set # CONFIG_SND_BT87X is not set # CONFIG_SND_CA0106 is not set # CONFIG_SND_CMIPCI is not set # CONFIG_SND_CS4281 is not set # CONFIG_SND_CS46XX is not set # CONFIG_SND_CS5535AUDIO is not set # CONFIG_SND_DARLA20 is not set # CONFIG_SND_GINA20 is not set # CONFIG_SND_LAYLA20 is not set # CONFIG_SND_DARLA24 is not set # CONFIG_SND_GINA24 is not set # CONFIG_SND_LAYLA24 is not set # CONFIG_SND_MONA is not set # CONFIG_SND_MIA is not set # CONFIG_SND_ECHO3G is not set # CONFIG_SND_INDIGO is not set # CONFIG_SND_INDIGOIO is not set # CONFIG_SND_INDIGODJ is not set # CONFIG_SND_EMU10K1 is not set # CONFIG_SND_EMU10K1X 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_FM801 is not set # CONFIG_SND_HDA_INTEL is not set # CONFIG_SND_HDSP is not set # CONFIG_SND_HDSPM is not set # CONFIG_SND_ICE1712 is not set # CONFIG_SND_ICE1724 is not set CONFIG_SND_INTEL8X0=y CONFIG_SND_INTEL8X0M=y # CONFIG_SND_KORG1212 is not set # CONFIG_SND_MAESTRO3 is not set # CONFIG_SND_MIXART is not set # CONFIG_SND_NM256 is not set # CONFIG_SND_PCXHR is not set # CONFIG_SND_RIPTIDE is not set # CONFIG_SND_RME32 is not set # CONFIG_SND_RME96 is not set # CONFIG_SND_RME9652 is not set # CONFIG_SND_SONICVIBES is not set # CONFIG_SND_TRIDENT is not set # CONFIG_SND_VIA82XX is not set # CONFIG_SND_VIA82XX_MODEM is not set # CONFIG_SND_VX222 is not set # CONFIG_SND_YMFPCI is not set CONFIG_SND_AC97_POWER_SAVE=y # # USB devices # # CONFIG_SND_USB_AUDIO is not set # CONFIG_SND_USB_USX2Y is not set # CONFIG_SND_USB_CAIAQ is not set # # PCMCIA devices # # CONFIG_SND_VXPOCKET is not set # CONFIG_SND_PDAUDIOCF is not set # # System on Chip audio support # # CONFIG_SND_SOC is not set # # Open Sound System # # CONFIG_SOUND_PRIME is not set CONFIG_AC97_BUS=y # # HID Devices # CONFIG_HID=y # CONFIG_HID_DEBUG is not set # # USB Input Devices # CONFIG_USB_HID=y # CONFIG_USB_HIDINPUT_POWERBOOK is not set CONFIG_HID_FF=y # CONFIG_HID_PID is not set CONFIG_LOGITECH_FF=y # CONFIG_PANTHERLORD_FF is not set # CONFIG_THRUSTMASTER_FF is not set # CONFIG_ZEROPLUS_FF is not set # CONFIG_USB_HIDDEV is not set # # USB support # CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB_ARCH_HAS_OHCI=y CONFIG_USB_ARCH_HAS_EHCI=y CONFIG_USB=y # CONFIG_USB_DEBUG is not set # # Miscellaneous USB options # CONFIG_USB_DEVICEFS=y # CONFIG_USB_DEVICE_CLASS is not set CONFIG_USB_DYNAMIC_MINORS=y CONFIG_USB_SUSPEND=y # CONFIG_USB_OTG is not set # # USB Host Controller Drivers # CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_SPLIT_ISO=y CONFIG_USB_EHCI_ROOT_HUB_TT=y CONFIG_USB_EHCI_TT_NEWSCHED=y # CONFIG_USB_EHCI_BIG_ENDIAN_MMIO is not set # CONFIG_USB_ISP116X_HCD is not set # CONFIG_USB_OHCI_HCD is not set CONFIG_USB_UHCI_HCD=y # CONFIG_USB_SL811_HCD is not set # # USB Device Class drivers # # CONFIG_USB_ACM is not set CONFIG_USB_PRINTER=m # # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' # # # may also be needed; see USB_STORAGE Help for more information # CONFIG_USB_STORAGE=y # CONFIG_USB_STORAGE_DEBUG is not set # CONFIG_USB_STORAGE_DATAFAB is not set # CONFIG_USB_STORAGE_FREECOM is not set # CONFIG_USB_STORAGE_DPCM is not set # CONFIG_USB_STORAGE_USBAT is not set # CONFIG_USB_STORAGE_SDDR09 is not set # CONFIG_USB_STORAGE_SDDR55 is not set # CONFIG_USB_STORAGE_JUMPSHOT is not set # CONFIG_USB_STORAGE_ALAUDA is not set # CONFIG_USB_STORAGE_KARMA is not set # CONFIG_USB_LIBUSUAL is not set # # USB Imaging devices # # CONFIG_USB_MDC800 is not set # CONFIG_USB_MICROTEK is not set CONFIG_USB_MON=y # # USB port drivers # # CONFIG_USB_USS720 is not set # # USB Serial Converter support # CONFIG_USB_SERIAL=m CONFIG_USB_SERIAL_GENERIC=y # CONFIG_USB_SERIAL_AIRCABLE is not set # CONFIG_USB_SERIAL_AIRPRIME is not set # CONFIG_USB_SERIAL_ARK3116 is not set # CONFIG_USB_SERIAL_BELKIN is not set # CONFIG_USB_SERIAL_WHITEHEAT is not set # CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set # CONFIG_USB_SERIAL_CP2101 is not set # CONFIG_USB_SERIAL_CYPRESS_M8 is not set # CONFIG_USB_SERIAL_EMPEG is not set CONFIG_USB_SERIAL_FTDI_SIO=m # CONFIG_USB_SERIAL_FUNSOFT is not set # CONFIG_USB_SERIAL_VISOR is not set # CONFIG_USB_SERIAL_IPAQ is not set # CONFIG_USB_SERIAL_IR is not set # CONFIG_USB_SERIAL_EDGEPORT is not set # CONFIG_USB_SERIAL_EDGEPORT_TI is not set # CONFIG_USB_SERIAL_GARMIN is not set # CONFIG_USB_SERIAL_IPW is not set # CONFIG_USB_SERIAL_KEYSPAN_PDA is not set # CONFIG_USB_SERIAL_KEYSPAN is not set # CONFIG_USB_SERIAL_KLSI is not set # CONFIG_USB_SERIAL_KOBIL_SCT is not set # CONFIG_USB_SERIAL_MCT_U232 is not set # CONFIG_USB_SERIAL_MOS7720 is not set # CONFIG_USB_SERIAL_MOS7840 is not set # CONFIG_USB_SERIAL_NAVMAN is not set # CONFIG_USB_SERIAL_PL2303 is not set # CONFIG_USB_SERIAL_HP4X is not set # CONFIG_USB_SERIAL_SAFE is not set # CONFIG_USB_SERIAL_SIERRAWIRELESS is not set # CONFIG_USB_SERIAL_TI is not set CONFIG_USB_SERIAL_CYBERJACK=m # CONFIG_USB_SERIAL_XIRCOM is not set # CONFIG_USB_SERIAL_OPTION is not set # CONFIG_USB_SERIAL_OMNINET is not set # CONFIG_USB_SERIAL_DEBUG is not set # # USB Miscellaneous drivers # # CONFIG_USB_EMI62 is not set # CONFIG_USB_EMI26 is not set # CONFIG_USB_ADUTUX is not set # CONFIG_USB_AUERSWALD is not set # CONFIG_USB_RIO500 is not set # CONFIG_USB_LEGOTOWER is not set # CONFIG_USB_LCD is not set # CONFIG_USB_BERRY_CHARGE is not set # CONFIG_USB_LED is not set # CONFIG_USB_CYPRESS_CY7C63 is not set # CONFIG_USB_CYTHERM is not set # CONFIG_USB_PHIDGET is not set # CONFIG_USB_IDMOUSE is not set # CONFIG_USB_FTDI_ELAN is not set # CONFIG_USB_APPLEDISPLAY is not set # CONFIG_USB_SISUSBVGA is not set # CONFIG_USB_LD is not set # CONFIG_USB_TRANCEVIBRATOR is not set # CONFIG_USB_IOWARRIOR is not set # CONFIG_USB_TEST is not set # # USB DSL modem support # # # USB Gadget Support # # CONFIG_USB_GADGET is not set # CONFIG_MMC is not set # # LED devices # # CONFIG_NEW_LEDS is not set # # LED drivers # # # LED Triggers # # # InfiniBand support # # CONFIG_INFINIBAND is not set # # EDAC - error detection and reporting (RAS) (EXPERIMENTAL) # # CONFIG_EDAC is not set # # Real Time Clock # # CONFIG_RTC_CLASS is not set # # DMA Engine support # # CONFIG_DMA_ENGINE is not set # # DMA Clients # # # DMA Devices # # # Auxiliary Display support # # CONFIG_KS0108 is not set # # Virtualization # # CONFIG_KVM is not set # # File systems # CONFIG_EXT2_FS=y CONFIG_EXT2_FS_XATTR=y CONFIG_EXT2_FS_POSIX_ACL=y CONFIG_EXT2_FS_SECURITY=y CONFIG_EXT2_FS_XIP=y CONFIG_FS_XIP=y CONFIG_EXT3_FS=y CONFIG_EXT3_FS_XATTR=y CONFIG_EXT3_FS_POSIX_ACL=y CONFIG_EXT3_FS_SECURITY=y # CONFIG_EXT4DEV_FS is not set CONFIG_JBD=y # CONFIG_JBD_DEBUG is not set CONFIG_FS_MBCACHE=y CONFIG_REISERFS_FS=m # CONFIG_REISERFS_CHECK is not set # CONFIG_REISERFS_PROC_INFO is not set CONFIG_REISERFS_FS_XATTR=y CONFIG_REISERFS_FS_POSIX_ACL=y CONFIG_REISERFS_FS_SECURITY=y CONFIG_JFS_FS=m CONFIG_JFS_POSIX_ACL=y CONFIG_JFS_SECURITY=y # CONFIG_JFS_DEBUG is not set # CONFIG_JFS_STATISTICS is not set CONFIG_FS_POSIX_ACL=y CONFIG_XFS_FS=m CONFIG_XFS_QUOTA=y CONFIG_XFS_SECURITY=y CONFIG_XFS_POSIX_ACL=y CONFIG_XFS_RT=y # CONFIG_GFS2_FS is not set # CONFIG_OCFS2_FS is not set CONFIG_MINIX_FS=m CONFIG_ROMFS_FS=m CONFIG_INOTIFY=y CONFIG_INOTIFY_USER=y # CONFIG_QUOTA is not set CONFIG_QUOTACTL=y CONFIG_DNOTIFY=y # CONFIG_AUTOFS_FS is not set # CONFIG_AUTOFS4_FS is not set CONFIG_FUSE_FS=m CONFIG_GENERIC_ACL=y # # CD-ROM/DVD Filesystems # CONFIG_ISO9660_FS=y CONFIG_JOLIET=y CONFIG_ZISOFS=y CONFIG_UDF_FS=y CONFIG_UDF_NLS=y # # DOS/FAT/NT Filesystems # CONFIG_FAT_FS=y CONFIG_MSDOS_FS=y CONFIG_VFAT_FS=y CONFIG_FAT_DEFAULT_CODEPAGE=1250 CONFIG_FAT_DEFAULT_IOCHARSET="utf8" CONFIG_NTFS_FS=y # CONFIG_NTFS_DEBUG is not set CONFIG_NTFS_RW=y # # Pseudo filesystems # CONFIG_PROC_FS=y CONFIG_PROC_KCORE=y CONFIG_PROC_SYSCTL=y CONFIG_SYSFS=y CONFIG_TMPFS=y CONFIG_TMPFS_POSIX_ACL=y # CONFIG_HUGETLBFS is not set # CONFIG_HUGETLB_PAGE is not set CONFIG_RAMFS=y # CONFIG_CONFIGFS_FS is not set # # Miscellaneous filesystems # # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set CONFIG_HFS_FS=m CONFIG_HFSPLUS_FS=m CONFIG_BEFS_FS=m # CONFIG_BEFS_DEBUG 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=m CONFIG_QNX4FS_FS=m # CONFIG_SYSV_FS is not set CONFIG_UFS_FS=m # CONFIG_UFS_FS_WRITE is not set # CONFIG_UFS_DEBUG is not set # # Network File Systems # CONFIG_NFS_FS=m CONFIG_NFS_V3=y CONFIG_NFS_V3_ACL=y CONFIG_NFS_V4=y CONFIG_NFS_DIRECTIO=y CONFIG_NFSD=m CONFIG_NFSD_V2_ACL=y CONFIG_NFSD_V3=y CONFIG_NFSD_V3_ACL=y CONFIG_NFSD_V4=y CONFIG_NFSD_TCP=y CONFIG_LOCKD=m CONFIG_LOCKD_V4=y CONFIG_EXPORTFS=m CONFIG_NFS_ACL_SUPPORT=m CONFIG_NFS_COMMON=y CONFIG_SUNRPC=m CONFIG_SUNRPC_GSS=m CONFIG_SUNRPC_BIND34=y CONFIG_RPCSEC_GSS_KRB5=m CONFIG_RPCSEC_GSS_SPKM3=m CONFIG_SMB_FS=m CONFIG_SMB_NLS_DEFAULT=y CONFIG_SMB_NLS_REMOTE="cp1250" CONFIG_CIFS=m # CONFIG_CIFS_STATS is not set CONFIG_CIFS_WEAK_PW_HASH=y CONFIG_CIFS_XATTR=y CONFIG_CIFS_POSIX=y # CONFIG_CIFS_DEBUG2 is not set # CONFIG_CIFS_EXPERIMENTAL is not set # CONFIG_NCP_FS is not set # CONFIG_CODA_FS is not set # CONFIG_AFS_FS is not set # CONFIG_9P_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=y CONFIG_MSDOS_PARTITION=y CONFIG_BSD_DISKLABEL=y CONFIG_MINIX_SUBPARTITION=y CONFIG_SOLARIS_X86_PARTITION=y CONFIG_UNIXWARE_DISKLABEL=y CONFIG_LDM_PARTITION=y # CONFIG_LDM_DEBUG is not set # CONFIG_SGI_PARTITION is not set # CONFIG_ULTRIX_PARTITION is not set # CONFIG_SUN_PARTITION is not set # CONFIG_KARMA_PARTITION is not set CONFIG_EFI_PARTITION=y # CONFIG_SYSV68_PARTITION is not set # # Native Language Support # CONFIG_NLS=y CONFIG_NLS_DEFAULT="utf8" 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=y # CONFIG_NLS_CODEPAGE_1251 is not set CONFIG_NLS_ASCII=y 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=y # CONFIG_NLS_KOI8_R is not set # CONFIG_NLS_KOI8_U is not set CONFIG_NLS_UTF8=y # # Distributed Lock Manager # # CONFIG_DLM is not set # # Instrumentation Support # # CONFIG_PROFILING is not set # CONFIG_KPROBES is not set # # Kernel hacking # CONFIG_TRACE_IRQFLAGS_SUPPORT=y # CONFIG_PRINTK_TIME is not set # CONFIG_ENABLE_MUST_CHECK is not set CONFIG_MAGIC_SYSRQ=y # CONFIG_UNUSED_SYMBOLS is not set # CONFIG_DEBUG_FS is not set # CONFIG_HEADERS_CHECK is not set CONFIG_DEBUG_KERNEL=y # CONFIG_DEBUG_SHIRQ is not set # CONFIG_DETECT_SOFTLOCKUP is not set # CONFIG_SCHEDSTATS is not set CONFIG_TIMER_STATS=y # CONFIG_DEBUG_PREEMPT is not set # CONFIG_DEBUG_RT_MUTEXES is not set # CONFIG_RT_MUTEX_TESTER is not set # CONFIG_DEBUG_SPINLOCK is not set # CONFIG_DEBUG_MUTEXES is not set # CONFIG_DEBUG_LOCK_ALLOC is not set # CONFIG_PROVE_LOCKING is not set # CONFIG_DEBUG_SPINLOCK_SLEEP is not set # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set # CONFIG_DEBUG_KOBJECT is not set # CONFIG_DEBUG_HIGHMEM is not set CONFIG_DEBUG_BUGVERBOSE=y # CONFIG_DEBUG_INFO is not set # CONFIG_DEBUG_VM is not set # CONFIG_DEBUG_LIST is not set # CONFIG_FRAME_POINTER is not set # CONFIG_FORCED_INLINING is not set # CONFIG_RCU_TORTURE_TEST is not set # CONFIG_FAULT_INJECTION is not set CONFIG_EARLY_PRINTK=y # CONFIG_DEBUG_STACKOVERFLOW is not set # CONFIG_DEBUG_STACK_USAGE is not set # # Page alloc debug is incompatible with Software Suspend on i386 # # CONFIG_DEBUG_RODATA is not set # CONFIG_4KSTACKS is not set CONFIG_DOUBLEFAULT=y # # Security options # # CONFIG_KEYS is not set # CONFIG_SECURITY is not set # # Cryptographic options # CONFIG_CRYPTO=y CONFIG_CRYPTO_ALGAPI=y CONFIG_CRYPTO_ABLKCIPHER=y CONFIG_CRYPTO_BLKCIPHER=y CONFIG_CRYPTO_HASH=y CONFIG_CRYPTO_MANAGER=y CONFIG_CRYPTO_HMAC=y CONFIG_CRYPTO_XCBC=y CONFIG_CRYPTO_NULL=y CONFIG_CRYPTO_MD4=y CONFIG_CRYPTO_MD5=y CONFIG_CRYPTO_SHA1=y CONFIG_CRYPTO_SHA256=y CONFIG_CRYPTO_SHA512=y CONFIG_CRYPTO_WP512=y CONFIG_CRYPTO_TGR192=y CONFIG_CRYPTO_GF128MUL=y CONFIG_CRYPTO_ECB=y CONFIG_CRYPTO_CBC=y CONFIG_CRYPTO_PCBC=y CONFIG_CRYPTO_LRW=y CONFIG_CRYPTO_CRYPTD=y CONFIG_CRYPTO_DES=y CONFIG_CRYPTO_FCRYPT=y CONFIG_CRYPTO_BLOWFISH=y CONFIG_CRYPTO_TWOFISH=y CONFIG_CRYPTO_TWOFISH_COMMON=y CONFIG_CRYPTO_TWOFISH_586=y CONFIG_CRYPTO_SERPENT=y CONFIG_CRYPTO_AES=y CONFIG_CRYPTO_AES_586=y CONFIG_CRYPTO_CAST5=y CONFIG_CRYPTO_CAST6=y CONFIG_CRYPTO_TEA=y CONFIG_CRYPTO_ARC4=y CONFIG_CRYPTO_KHAZAD=y CONFIG_CRYPTO_ANUBIS=y CONFIG_CRYPTO_DEFLATE=y CONFIG_CRYPTO_MICHAEL_MIC=y CONFIG_CRYPTO_CRC32C=y CONFIG_CRYPTO_CAMELLIA=y # CONFIG_CRYPTO_TEST is not set # # Hardware crypto devices # # CONFIG_CRYPTO_DEV_PADLOCK is not set # CONFIG_CRYPTO_DEV_GEODE is not set # # Library routines # CONFIG_BITREVERSE=y CONFIG_CRC_CCITT=y CONFIG_CRC16=y CONFIG_CRC_ITU_T=y CONFIG_CRC32=y CONFIG_LIBCRC32C=y CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_DEFLATE=y CONFIG_TEXTSEARCH=y CONFIG_TEXTSEARCH_KMP=y CONFIG_TEXTSEARCH_BM=y CONFIG_TEXTSEARCH_FSM=y CONFIG_PLIST=y CONFIG_HAS_IOMEM=y CONFIG_HAS_IOPORT=y CONFIG_HAS_DMA=y CONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_X86_BIOS_REBOOT=y CONFIG_KTIME_SCALAR=y [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-26 9:28 software suspend doesn't work with 2.6.22-rc3 Maximilian Engelhardt @ 2007-05-26 9:53 ` Nigel Cunningham 2007-05-26 11:08 ` Herbert Xu 2007-05-26 12:49 ` Maximilian Engelhardt 2007-05-27 20:35 ` Pavel Machek 1 sibling, 2 replies; 24+ messages in thread From: Nigel Cunningham @ 2007-05-26 9:53 UTC (permalink / raw) To: Maximilian Engelhardt, Herbert Xu; +Cc: linux-kernel [-- Attachment #1: Type: text/plain, Size: 1403 bytes --] Hi. On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: > Hello, > > When I try software suspend on my laptop it always returns to my running > system after some time. > This is what's logged by the kernel: > > swsusp: Basic memory bitmaps created > Stopping tasks ... > Stopping kernel threads timed out after 20 seconds (1 tasks refusing to > freeze): > cryptd > Restarting tasks ... done. > swsusp: Basic memory bitmaps freed > > I have no idea what's the problem, but if you tell me what I should do I can > create debugging information and/or test patches. Could you try this patch, please? It should help. Herbert, is this right? If cryptd is going to be used for block devs, the task should probably be PF_NOFREEZE (or whatever it is today) instead. Regards, Nigel crypto/cryptd.c | 1 + include/linux/freezer.h | 3 +++ kernel/power/process.c | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff -ruNp 991-fix-cryptd.patch-old/crypto/cryptd.c 991-fix-cryptd.patch-new/crypto/cryptd.c --- 991-fix-cryptd.patch-old/crypto/cryptd.c 2007-05-19 18:16:47.000000000 +1000 +++ 991-fix-cryptd.patch-new/crypto/cryptd.c 2007-05-26 19:45:42.000000000 +1000 @@ -341,6 +341,7 @@ static int cryptd_thread(void *data) mutex_unlock(&state->mutex); + try_to_freeze(); schedule(); } while (!stop); [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-26 9:53 ` Nigel Cunningham @ 2007-05-26 11:08 ` Herbert Xu 2007-05-26 11:14 ` Nigel Cunningham 2007-05-26 12:49 ` Maximilian Engelhardt 1 sibling, 1 reply; 24+ messages in thread From: Herbert Xu @ 2007-05-26 11:08 UTC (permalink / raw) To: Nigel Cunningham; +Cc: Maximilian Engelhardt, linux-kernel On Sat, May 26, 2007 at 07:53:53PM +1000, Nigel Cunningham wrote: > > Herbert, is this right? If cryptd is going to be used for block devs, > the task should probably be PF_NOFREEZE (or whatever it is today) > instead. Probably. However, I don't think this is responsible for the reported problem because the code to use cryptd in dm-crypt hasn't been merged yet :) Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-26 11:08 ` Herbert Xu @ 2007-05-26 11:14 ` Nigel Cunningham 2007-05-26 11:55 ` Herbert Xu 0 siblings, 1 reply; 24+ messages in thread From: Nigel Cunningham @ 2007-05-26 11:14 UTC (permalink / raw) To: Herbert Xu; +Cc: Maximilian Engelhardt, linux-kernel [-- Attachment #1: Type: text/plain, Size: 834 bytes --] Hi. On Sat, 2007-05-26 at 21:08 +1000, Herbert Xu wrote: > On Sat, May 26, 2007 at 07:53:53PM +1000, Nigel Cunningham wrote: > > > > Herbert, is this right? If cryptd is going to be used for block devs, > > the task should probably be PF_NOFREEZE (or whatever it is today) > > instead. > > Probably. However, I don't think this is responsible for the reported > problem because the code to use cryptd in dm-crypt hasn't been merged > yet :) You have the cryptd Kconfig option in (at least in rc3) - presumably Maximillian has been too keen and turned it on before you were ready :) It does make sense for it to be the problem. Without PF_NOFREEZE set, the refrigerator code will try to get it to enter the freezer, and without the try_to_freeze(), it will just loop and freezing will fail. Regards, Nigel [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-26 11:14 ` Nigel Cunningham @ 2007-05-26 11:55 ` Herbert Xu 2007-05-26 20:23 ` Rafael J. Wysocki 0 siblings, 1 reply; 24+ messages in thread From: Herbert Xu @ 2007-05-26 11:55 UTC (permalink / raw) To: Nigel Cunningham; +Cc: Maximilian Engelhardt, linux-kernel On Sat, May 26, 2007 at 09:14:00PM +1000, Nigel Cunningham wrote: > > You have the cryptd Kconfig option in (at least in rc3) - presumably > Maximillian has been too keen and turned it on before you were ready :) > It does make sense for it to be the problem. Without PF_NOFREEZE set, > the refrigerator code will try to get it to enter the freezer, and > without the try_to_freeze(), it will just loop and freezing will fail. OK that makes sense. I'll apply your patch. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-26 11:55 ` Herbert Xu @ 2007-05-26 20:23 ` Rafael J. Wysocki 0 siblings, 0 replies; 24+ messages in thread From: Rafael J. Wysocki @ 2007-05-26 20:23 UTC (permalink / raw) To: Herbert Xu; +Cc: Nigel Cunningham, Maximilian Engelhardt, linux-kernel On Saturday, 26 May 2007 13:55, Herbert Xu wrote: > On Sat, May 26, 2007 at 09:14:00PM +1000, Nigel Cunningham wrote: > > > > You have the cryptd Kconfig option in (at least in rc3) - presumably > > Maximillian has been too keen and turned it on before you were ready :) > > It does make sense for it to be the problem. Without PF_NOFREEZE set, > > the refrigerator code will try to get it to enter the freezer, and > > without the try_to_freeze(), it will just loop and freezing will fail. > > OK that makes sense. I'll apply your patch. Please add '#include <freezer.h>' to crypto/cryptd.c for the patch to compile. FYI, I'm going to post a patch that will make this try_to_freeze() unnecessary, but I don't think it'll make it into 2.6.22. Greetings, Rafael ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-26 9:53 ` Nigel Cunningham 2007-05-26 11:08 ` Herbert Xu @ 2007-05-26 12:49 ` Maximilian Engelhardt 2007-05-26 20:20 ` Rafael J. Wysocki 2007-05-26 21:33 ` Nigel Cunningham 1 sibling, 2 replies; 24+ messages in thread From: Maximilian Engelhardt @ 2007-05-26 12:49 UTC (permalink / raw) To: nigel; +Cc: Herbert Xu, linux-kernel [-- Attachment #1: Type: text/plain, Size: 2022 bytes --] On Saturday 26 May 2007, Nigel Cunningham wrote: > Hi. > > On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: > > Hello, > > > > When I try software suspend on my laptop it always returns to my running > > system after some time. > > This is what's logged by the kernel: > > > > swsusp: Basic memory bitmaps created > > Stopping tasks ... > > Stopping kernel threads timed out after 20 seconds (1 tasks refusing to > > freeze): > > cryptd > > Restarting tasks ... done. > > swsusp: Basic memory bitmaps freed > > > > I have no idea what's the problem, but if you tell me what I should do I > > can create debugging information and/or test patches. > > Could you try this patch, please? It should help. > > Herbert, is this right? If cryptd is going to be used for block devs, > the task should probably be PF_NOFREEZE (or whatever it is today) > instead. > > Regards, > > Nigel > > crypto/cryptd.c | 1 + > include/linux/freezer.h | 3 +++ > kernel/power/process.c | 2 +- > 3 files changed, 5 insertions(+), 1 deletion(-) > diff -ruNp 991-fix-cryptd.patch-old/crypto/cryptd.c > 991-fix-cryptd.patch-new/crypto/cryptd.c --- > 991-fix-cryptd.patch-old/crypto/cryptd.c 2007-05-19 18:16:47.000000000 > +1000 +++ 991-fix-cryptd.patch-new/crypto/cryptd.c 2007-05-26 > 19:45:42.000000000 +1000 @@ -341,6 +341,7 @@ static int cryptd_thread(void > *data) > > mutex_unlock(&state->mutex); > > + try_to_freeze(); > schedule(); > } while (!stop); I tried your patch, but when I apply it my kernel doesn't compile any more. I get these warnings/errors: [...] CC crypto/cryptd.o crypto/cryptd.c: In function ‘cryptd_thread’: crypto/cryptd.c:344: warning: implicit declaration of function ‘try_to_freeze’ [...] LD init/built-in.o LD .tmp_vmlinux1 crypto/built-in.o: In function `cryptd_thread': cryptd.c:(.text+0xd7f5): undefined reference to `try_to_freeze' make: *** [.tmp_vmlinux1] Error 1 Maxi [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-26 12:49 ` Maximilian Engelhardt @ 2007-05-26 20:20 ` Rafael J. Wysocki 2007-05-26 21:33 ` Nigel Cunningham 1 sibling, 0 replies; 24+ messages in thread From: Rafael J. Wysocki @ 2007-05-26 20:20 UTC (permalink / raw) To: Maximilian Engelhardt; +Cc: nigel, Herbert Xu, linux-kernel On Saturday, 26 May 2007 14:49, Maximilian Engelhardt wrote: > On Saturday 26 May 2007, Nigel Cunningham wrote: > > Hi. > > > > On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: > > > Hello, > > > > > > When I try software suspend on my laptop it always returns to my running > > > system after some time. > > > This is what's logged by the kernel: > > > > > > swsusp: Basic memory bitmaps created > > > Stopping tasks ... > > > Stopping kernel threads timed out after 20 seconds (1 tasks refusing to > > > freeze): > > > cryptd > > > Restarting tasks ... done. > > > swsusp: Basic memory bitmaps freed > > > > > > I have no idea what's the problem, but if you tell me what I should do I > > > can create debugging information and/or test patches. > > > > Could you try this patch, please? It should help. > > > > Herbert, is this right? If cryptd is going to be used for block devs, > > the task should probably be PF_NOFREEZE (or whatever it is today) > > instead. > > > > Regards, > > > > Nigel > > > > crypto/cryptd.c | 1 + > > include/linux/freezer.h | 3 +++ > > kernel/power/process.c | 2 +- > > 3 files changed, 5 insertions(+), 1 deletion(-) > > diff -ruNp 991-fix-cryptd.patch-old/crypto/cryptd.c > > 991-fix-cryptd.patch-new/crypto/cryptd.c --- > > 991-fix-cryptd.patch-old/crypto/cryptd.c 2007-05-19 18:16:47.000000000 > > +1000 +++ 991-fix-cryptd.patch-new/crypto/cryptd.c 2007-05-26 > > 19:45:42.000000000 +1000 @@ -341,6 +341,7 @@ static int cryptd_thread(void > > *data) > > > > mutex_unlock(&state->mutex); > > > > + try_to_freeze(); > > schedule(); > > } while (!stop); > > I tried your patch, but when I apply it my kernel doesn't compile any more. I > get these warnings/errors: You need to add '#include <freezer.h>' to crypto/cryptd.c . Greetings, Rafael ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-26 12:49 ` Maximilian Engelhardt 2007-05-26 20:20 ` Rafael J. Wysocki @ 2007-05-26 21:33 ` Nigel Cunningham 2007-05-27 16:01 ` Maximilian Engelhardt 1 sibling, 1 reply; 24+ messages in thread From: Nigel Cunningham @ 2007-05-26 21:33 UTC (permalink / raw) To: Maximilian Engelhardt; +Cc: Herbert Xu, linux-kernel [-- Attachment #1: Type: text/plain, Size: 2326 bytes --] Hi. On Sat, 2007-05-26 at 14:49 +0200, Maximilian Engelhardt wrote: > On Saturday 26 May 2007, Nigel Cunningham wrote: > > Hi. > > > > On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: > > > Hello, > > > > > > When I try software suspend on my laptop it always returns to my running > > > system after some time. > > > This is what's logged by the kernel: > > > > > > swsusp: Basic memory bitmaps created > > > Stopping tasks ... > > > Stopping kernel threads timed out after 20 seconds (1 tasks refusing to > > > freeze): > > > cryptd > > > Restarting tasks ... done. > > > swsusp: Basic memory bitmaps freed > > > > > > I have no idea what's the problem, but if you tell me what I should do I > > > can create debugging information and/or test patches. > > > > Could you try this patch, please? It should help. > > > > Herbert, is this right? If cryptd is going to be used for block devs, > > the task should probably be PF_NOFREEZE (or whatever it is today) > > instead. > > > > Regards, > > > > Nigel > > > > crypto/cryptd.c | 1 + > > include/linux/freezer.h | 3 +++ > > kernel/power/process.c | 2 +- > > 3 files changed, 5 insertions(+), 1 deletion(-) > > diff -ruNp 991-fix-cryptd.patch-old/crypto/cryptd.c > > 991-fix-cryptd.patch-new/crypto/cryptd.c --- > > 991-fix-cryptd.patch-old/crypto/cryptd.c 2007-05-19 18:16:47.000000000 > > +1000 +++ 991-fix-cryptd.patch-new/crypto/cryptd.c 2007-05-26 > > 19:45:42.000000000 +1000 @@ -341,6 +341,7 @@ static int cryptd_thread(void > > *data) > > > > mutex_unlock(&state->mutex); > > > > + try_to_freeze(); > > schedule(); > > } while (!stop); > > I tried your patch, but when I apply it my kernel doesn't compile any more. I > get these warnings/errors: > > [...] > CC crypto/cryptd.o > crypto/cryptd.c: In function ‘cryptd_thread’: > crypto/cryptd.c:344: warning: implicit declaration of function ‘try_to_freeze’ > [...] > LD init/built-in.o > LD .tmp_vmlinux1 > crypto/built-in.o: In function `cryptd_thread': > cryptd.c:(.text+0xd7f5): undefined reference to `try_to_freeze' > make: *** [.tmp_vmlinux1] Error 1 Ah. You'll need to add #include <linux/freezer.h> near that start of crypto/cryptd.c. Sorry for forgetting that. Nigel [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-26 21:33 ` Nigel Cunningham @ 2007-05-27 16:01 ` Maximilian Engelhardt 2007-05-27 18:19 ` Rafael J. Wysocki 0 siblings, 1 reply; 24+ messages in thread From: Maximilian Engelhardt @ 2007-05-27 16:01 UTC (permalink / raw) To: nigel, Rafael J. Wysocki; +Cc: Herbert Xu, linux-kernel [-- Attachment #1: Type: text/plain, Size: 2842 bytes --] On Saturday 26 May 2007, Nigel Cunningham wrote: > Hi. > > On Sat, 2007-05-26 at 14:49 +0200, Maximilian Engelhardt wrote: > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > Hi. > > > > > > On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: > > > > Hello, > > > > > > > > When I try software suspend on my laptop it always returns to my > > > > running system after some time. > > > > This is what's logged by the kernel: > > > > > > > > swsusp: Basic memory bitmaps created > > > > Stopping tasks ... > > > > Stopping kernel threads timed out after 20 seconds (1 tasks refusing > > > > to freeze): > > > > cryptd > > > > Restarting tasks ... done. > > > > swsusp: Basic memory bitmaps freed > > > > > > > > I have no idea what's the problem, but if you tell me what I should > > > > do I can create debugging information and/or test patches. > > > > > > Could you try this patch, please? It should help. > > > > > > Herbert, is this right? If cryptd is going to be used for block devs, > > > the task should probably be PF_NOFREEZE (or whatever it is today) > > > instead. > > > > > > Regards, > > > > > > Nigel > > > > > > crypto/cryptd.c | 1 + > > > include/linux/freezer.h | 3 +++ > > > kernel/power/process.c | 2 +- > > > 3 files changed, 5 insertions(+), 1 deletion(-) > > > diff -ruNp 991-fix-cryptd.patch-old/crypto/cryptd.c > > > 991-fix-cryptd.patch-new/crypto/cryptd.c --- > > > 991-fix-cryptd.patch-old/crypto/cryptd.c 2007-05-19 18:16:47.000000000 > > > +1000 +++ 991-fix-cryptd.patch-new/crypto/cryptd.c 2007-05-26 > > > 19:45:42.000000000 +1000 @@ -341,6 +341,7 @@ static int > > > cryptd_thread(void *data) > > > > > > mutex_unlock(&state->mutex); > > > > > > + try_to_freeze(); > > > schedule(); > > > } while (!stop); > > > > I tried your patch, but when I apply it my kernel doesn't compile any > > more. I get these warnings/errors: > > > > [...] > > CC crypto/cryptd.o > > crypto/cryptd.c: In function ‘cryptd_thread’: > > crypto/cryptd.c:344: warning: implicit declaration of function > > ‘try_to_freeze’ [...] > > LD init/built-in.o > > LD .tmp_vmlinux1 > > crypto/built-in.o: In function `cryptd_thread': > > cryptd.c:(.text+0xd7f5): undefined reference to `try_to_freeze' > > make: *** [.tmp_vmlinux1] Error 1 > > Ah. You'll need to add #include <linux/freezer.h> near that start of > crypto/cryptd.c. Sorry for forgetting that. > > Nigel I added the include line and now I could compile the kernel, but suspending still doesn't work. swsusp: Basic memory bitmaps created Stopping tasks ... Stopping kernel threads timed out after 20 seconds (1 tasks refusing to freeze): cryptd Restarting tasks ... done. swsusp: Basic memory bitmaps freed Maxi [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-27 16:01 ` Maximilian Engelhardt @ 2007-05-27 18:19 ` Rafael J. Wysocki 2007-05-27 20:41 ` Maximilian Engelhardt 0 siblings, 1 reply; 24+ messages in thread From: Rafael J. Wysocki @ 2007-05-27 18:19 UTC (permalink / raw) To: Maximilian Engelhardt; +Cc: nigel, Herbert Xu, linux-kernel On Sunday, 27 May 2007 18:01, Maximilian Engelhardt wrote: > On Saturday 26 May 2007, Nigel Cunningham wrote: > > Hi. > > > > On Sat, 2007-05-26 at 14:49 +0200, Maximilian Engelhardt wrote: > > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > > Hi. > > > > > > > > On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: > > > > > Hello, > > > > > > > > > > When I try software suspend on my laptop it always returns to my > > > > > running system after some time. > > > > > This is what's logged by the kernel: > > > > > > > > > > swsusp: Basic memory bitmaps created > > > > > Stopping tasks ... > > > > > Stopping kernel threads timed out after 20 seconds (1 tasks refusing > > > > > to freeze): > > > > > cryptd > > > > > Restarting tasks ... done. > > > > > swsusp: Basic memory bitmaps freed > > > > > > > > > > I have no idea what's the problem, but if you tell me what I should > > > > > do I can create debugging information and/or test patches. > > > > > > > > Could you try this patch, please? It should help. > > > > > > > > Herbert, is this right? If cryptd is going to be used for block devs, > > > > the task should probably be PF_NOFREEZE (or whatever it is today) > > > > instead. > > > > > > > > Regards, > > > > > > > > Nigel > > > > > > > > crypto/cryptd.c | 1 + > > > > include/linux/freezer.h | 3 +++ > > > > kernel/power/process.c | 2 +- > > > > 3 files changed, 5 insertions(+), 1 deletion(-) > > > > diff -ruNp 991-fix-cryptd.patch-old/crypto/cryptd.c > > > > 991-fix-cryptd.patch-new/crypto/cryptd.c --- > > > > 991-fix-cryptd.patch-old/crypto/cryptd.c 2007-05-19 18:16:47.000000000 > > > > +1000 +++ 991-fix-cryptd.patch-new/crypto/cryptd.c 2007-05-26 > > > > 19:45:42.000000000 +1000 @@ -341,6 +341,7 @@ static int > > > > cryptd_thread(void *data) > > > > > > > > mutex_unlock(&state->mutex); > > > > > > > > + try_to_freeze(); > > > > schedule(); > > > > } while (!stop); > > > > > > I tried your patch, but when I apply it my kernel doesn't compile any > > > more. I get these warnings/errors: > > > > > > [...] > > > CC crypto/cryptd.o > > > crypto/cryptd.c: In function ‘cryptd_thread’: > > > crypto/cryptd.c:344: warning: implicit declaration of function > > > ‘try_to_freeze’ [...] > > > LD init/built-in.o > > > LD .tmp_vmlinux1 > > > crypto/built-in.o: In function `cryptd_thread': > > > cryptd.c:(.text+0xd7f5): undefined reference to `try_to_freeze' > > > make: *** [.tmp_vmlinux1] Error 1 > > > > Ah. You'll need to add #include <linux/freezer.h> near that start of > > crypto/cryptd.c. Sorry for forgetting that. > > > > Nigel > > I added the include line and now I could compile the kernel, but suspending > still doesn't work. > > swsusp: Basic memory bitmaps created > Stopping tasks ... > Stopping kernel threads timed out after 20 seconds (1 tasks refusing to > freeze): > cryptd > Restarting tasks ... done. > swsusp: Basic memory bitmaps freed OK, this means that cryptd doesn't execute the try_to_freeze() for some reason. Please apply the appended patch on top of 2.6.22-rc3 and see if that helps. Greetings, Rafael --- crypto/cryptd.c | 1 + 1 file changed, 1 insertion(+) Index: linux-2.6.22-rc3/crypto/cryptd.c =================================================================== --- linux-2.6.22-rc3.orig/crypto/cryptd.c +++ linux-2.6.22-rc3/crypto/cryptd.c @@ -316,6 +316,7 @@ static int cryptd_thread(void *data) struct cryptd_state *state = data; int stop; + current->flags |= PF_NOFREEZE; do { struct crypto_async_request *req, *backlog; ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-27 18:19 ` Rafael J. Wysocki @ 2007-05-27 20:41 ` Maximilian Engelhardt 2007-05-27 21:27 ` Rafael J. Wysocki 0 siblings, 1 reply; 24+ messages in thread From: Maximilian Engelhardt @ 2007-05-27 20:41 UTC (permalink / raw) To: Rafael J. Wysocki; +Cc: nigel, Herbert Xu, linux-kernel [-- Attachment #1: Type: text/plain, Size: 4132 bytes --] On Sunday 27 May 2007, Rafael J. Wysocki wrote: > On Sunday, 27 May 2007 18:01, Maximilian Engelhardt wrote: > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > Hi. > > > > > > On Sat, 2007-05-26 at 14:49 +0200, Maximilian Engelhardt wrote: > > > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > > > Hi. > > > > > > > > > > On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: > > > > > > Hello, > > > > > > > > > > > > When I try software suspend on my laptop it always returns to my > > > > > > running system after some time. > > > > > > This is what's logged by the kernel: > > > > > > > > > > > > swsusp: Basic memory bitmaps created > > > > > > Stopping tasks ... > > > > > > Stopping kernel threads timed out after 20 seconds (1 tasks > > > > > > refusing to freeze): > > > > > > cryptd > > > > > > Restarting tasks ... done. > > > > > > swsusp: Basic memory bitmaps freed > > > > > > > > > > > > I have no idea what's the problem, but if you tell me what I > > > > > > should do I can create debugging information and/or test patches. > > > > > > > > > > Could you try this patch, please? It should help. > > > > > > > > > > Herbert, is this right? If cryptd is going to be used for block > > > > > devs, the task should probably be PF_NOFREEZE (or whatever it is > > > > > today) instead. > > > > > > > > > > Regards, > > > > > > > > > > Nigel > > > > > > > > > > crypto/cryptd.c | 1 + > > > > > include/linux/freezer.h | 3 +++ > > > > > kernel/power/process.c | 2 +- > > > > > 3 files changed, 5 insertions(+), 1 deletion(-) > > > > > diff -ruNp 991-fix-cryptd.patch-old/crypto/cryptd.c > > > > > 991-fix-cryptd.patch-new/crypto/cryptd.c --- > > > > > 991-fix-cryptd.patch-old/crypto/cryptd.c 2007-05-19 > > > > > 18:16:47.000000000 +1000 +++ > > > > > 991-fix-cryptd.patch-new/crypto/cryptd.c 2007-05-26 > > > > > 19:45:42.000000000 +1000 @@ -341,6 +341,7 @@ static int > > > > > cryptd_thread(void *data) > > > > > > > > > > mutex_unlock(&state->mutex); > > > > > > > > > > + try_to_freeze(); > > > > > schedule(); > > > > > } while (!stop); > > > > > > > > I tried your patch, but when I apply it my kernel doesn't compile any > > > > more. I get these warnings/errors: > > > > > > > > [...] > > > > CC crypto/cryptd.o > > > > crypto/cryptd.c: In function ‘cryptd_thread’: > > > > crypto/cryptd.c:344: warning: implicit declaration of function > > > > ‘try_to_freeze’ [...] > > > > LD init/built-in.o > > > > LD .tmp_vmlinux1 > > > > crypto/built-in.o: In function `cryptd_thread': > > > > cryptd.c:(.text+0xd7f5): undefined reference to `try_to_freeze' > > > > make: *** [.tmp_vmlinux1] Error 1 > > > > > > Ah. You'll need to add #include <linux/freezer.h> near that start of > > > crypto/cryptd.c. Sorry for forgetting that. > > > > > > Nigel > > > > I added the include line and now I could compile the kernel, but > > suspending still doesn't work. > > > > swsusp: Basic memory bitmaps created > > Stopping tasks ... > > Stopping kernel threads timed out after 20 seconds (1 tasks refusing to > > freeze): > > cryptd > > Restarting tasks ... done. > > swsusp: Basic memory bitmaps freed > > OK, this means that cryptd doesn't execute the try_to_freeze() for some > reason. > > Please apply the appended patch on top of 2.6.22-rc3 and see if that helps. > > Greetings, > Rafael > > --- > crypto/cryptd.c | 1 + > 1 file changed, 1 insertion(+) > > Index: linux-2.6.22-rc3/crypto/cryptd.c > =================================================================== > --- linux-2.6.22-rc3.orig/crypto/cryptd.c > +++ linux-2.6.22-rc3/crypto/cryptd.c > @@ -316,6 +316,7 @@ static int cryptd_thread(void *data) > struct cryptd_state *state = data; > int stop; > > + current->flags |= PF_NOFREEZE; > do { > struct crypto_async_request *req, *backlog; Even with this patch suspending doesn't work, dmesg shows the same error message. I also did build a kernel without cryptd and suspending does work there. Maxi [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-27 20:41 ` Maximilian Engelhardt @ 2007-05-27 21:27 ` Rafael J. Wysocki 2007-05-28 0:21 ` Maximilian Engelhardt 0 siblings, 1 reply; 24+ messages in thread From: Rafael J. Wysocki @ 2007-05-27 21:27 UTC (permalink / raw) To: Maximilian Engelhardt; +Cc: nigel, Herbert Xu, linux-kernel On Sunday, 27 May 2007 22:41, Maximilian Engelhardt wrote: > On Sunday 27 May 2007, Rafael J. Wysocki wrote: > > On Sunday, 27 May 2007 18:01, Maximilian Engelhardt wrote: > > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > > Hi. > > > > > > > > On Sat, 2007-05-26 at 14:49 +0200, Maximilian Engelhardt wrote: > > > > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > > > > Hi. > > > > > > > > > > > > On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: > > > > > > > Hello, > > > > > > > > > > > > > > When I try software suspend on my laptop it always returns to my > > > > > > > running system after some time. > > > > > > > This is what's logged by the kernel: > > > > > > > > > > > > > > swsusp: Basic memory bitmaps created > > > > > > > Stopping tasks ... > > > > > > > Stopping kernel threads timed out after 20 seconds (1 tasks > > > > > > > refusing to freeze): > > > > > > > cryptd > > > > > > > Restarting tasks ... done. > > > > > > > swsusp: Basic memory bitmaps freed > > > > > > > > > > > > > > I have no idea what's the problem, but if you tell me what I > > > > > > > should do I can create debugging information and/or test patches. > > > > > > > > > > > > Could you try this patch, please? It should help. > > > > > > > > > > > > Herbert, is this right? If cryptd is going to be used for block > > > > > > devs, the task should probably be PF_NOFREEZE (or whatever it is > > > > > > today) instead. > > > > > > > > > > > > Regards, > > > > > > > > > > > > Nigel > > > > > > > > > > > > crypto/cryptd.c | 1 + > > > > > > include/linux/freezer.h | 3 +++ > > > > > > kernel/power/process.c | 2 +- > > > > > > 3 files changed, 5 insertions(+), 1 deletion(-) > > > > > > diff -ruNp 991-fix-cryptd.patch-old/crypto/cryptd.c > > > > > > 991-fix-cryptd.patch-new/crypto/cryptd.c --- > > > > > > 991-fix-cryptd.patch-old/crypto/cryptd.c 2007-05-19 > > > > > > 18:16:47.000000000 +1000 +++ > > > > > > 991-fix-cryptd.patch-new/crypto/cryptd.c 2007-05-26 > > > > > > 19:45:42.000000000 +1000 @@ -341,6 +341,7 @@ static int > > > > > > cryptd_thread(void *data) > > > > > > > > > > > > mutex_unlock(&state->mutex); > > > > > > > > > > > > + try_to_freeze(); > > > > > > schedule(); > > > > > > } while (!stop); > > > > > > > > > > I tried your patch, but when I apply it my kernel doesn't compile any > > > > > more. I get these warnings/errors: > > > > > > > > > > [...] > > > > > CC crypto/cryptd.o > > > > > crypto/cryptd.c: In function ‘cryptd_thread’: > > > > > crypto/cryptd.c:344: warning: implicit declaration of function > > > > > ‘try_to_freeze’ [...] > > > > > LD init/built-in.o > > > > > LD .tmp_vmlinux1 > > > > > crypto/built-in.o: In function `cryptd_thread': > > > > > cryptd.c:(.text+0xd7f5): undefined reference to `try_to_freeze' > > > > > make: *** [.tmp_vmlinux1] Error 1 > > > > > > > > Ah. You'll need to add #include <linux/freezer.h> near that start of > > > > crypto/cryptd.c. Sorry for forgetting that. > > > > > > > > Nigel > > > > > > I added the include line and now I could compile the kernel, but > > > suspending still doesn't work. > > > > > > swsusp: Basic memory bitmaps created > > > Stopping tasks ... > > > Stopping kernel threads timed out after 20 seconds (1 tasks refusing to > > > freeze): > > > cryptd > > > Restarting tasks ... done. > > > swsusp: Basic memory bitmaps freed > > > > OK, this means that cryptd doesn't execute the try_to_freeze() for some > > reason. > > > > Please apply the appended patch on top of 2.6.22-rc3 and see if that helps. > > > > Greetings, > > Rafael > > > > --- > > crypto/cryptd.c | 1 + > > 1 file changed, 1 insertion(+) > > > > Index: linux-2.6.22-rc3/crypto/cryptd.c > > =================================================================== > > --- linux-2.6.22-rc3.orig/crypto/cryptd.c > > +++ linux-2.6.22-rc3/crypto/cryptd.c > > @@ -316,6 +316,7 @@ static int cryptd_thread(void *data) > > struct cryptd_state *state = data; > > int stop; > > > > + current->flags |= PF_NOFREEZE; > > do { > > struct crypto_async_request *req, *backlog; > > Even with this patch suspending doesn't work, dmesg shows the same error > message. > I also did build a kernel without cryptd and suspending does work there. Well, that's strange, because in that case the freezer shouldn't even wait for cryptd. Can you please try the patch at http://lkml.org/lkml/2007/5/26/169 ? Greetings, Rafael ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-27 21:27 ` Rafael J. Wysocki @ 2007-05-28 0:21 ` Maximilian Engelhardt 2007-05-28 7:59 ` Rafael J. Wysocki 0 siblings, 1 reply; 24+ messages in thread From: Maximilian Engelhardt @ 2007-05-28 0:21 UTC (permalink / raw) To: Rafael J. Wysocki; +Cc: nigel, Herbert Xu, linux-kernel [-- Attachment #1: Type: text/plain, Size: 4935 bytes --] On Sunday 27 May 2007, Rafael J. Wysocki wrote: > On Sunday, 27 May 2007 22:41, Maximilian Engelhardt wrote: > > On Sunday 27 May 2007, Rafael J. Wysocki wrote: > > > On Sunday, 27 May 2007 18:01, Maximilian Engelhardt wrote: > > > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > > > Hi. > > > > > > > > > > On Sat, 2007-05-26 at 14:49 +0200, Maximilian Engelhardt wrote: > > > > > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > > > > > Hi. > > > > > > > > > > > > > > On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: > > > > > > > > Hello, > > > > > > > > > > > > > > > > When I try software suspend on my laptop it always returns to > > > > > > > > my running system after some time. > > > > > > > > This is what's logged by the kernel: > > > > > > > > > > > > > > > > swsusp: Basic memory bitmaps created > > > > > > > > Stopping tasks ... > > > > > > > > Stopping kernel threads timed out after 20 seconds (1 tasks > > > > > > > > refusing to freeze): > > > > > > > > cryptd > > > > > > > > Restarting tasks ... done. > > > > > > > > swsusp: Basic memory bitmaps freed > > > > > > > > > > > > > > > > I have no idea what's the problem, but if you tell me what I > > > > > > > > should do I can create debugging information and/or test > > > > > > > > patches. > > > > > > > > > > > > > > Could you try this patch, please? It should help. > > > > > > > > > > > > > > Herbert, is this right? If cryptd is going to be used for block > > > > > > > devs, the task should probably be PF_NOFREEZE (or whatever it > > > > > > > is today) instead. > > > > > > > > > > > > > > Regards, > > > > > > > > > > > > > > Nigel > > > > > > > > > > > > > > crypto/cryptd.c | 1 + > > > > > > > include/linux/freezer.h | 3 +++ > > > > > > > kernel/power/process.c | 2 +- > > > > > > > 3 files changed, 5 insertions(+), 1 deletion(-) > > > > > > > diff -ruNp 991-fix-cryptd.patch-old/crypto/cryptd.c > > > > > > > 991-fix-cryptd.patch-new/crypto/cryptd.c --- > > > > > > > 991-fix-cryptd.patch-old/crypto/cryptd.c 2007-05-19 > > > > > > > 18:16:47.000000000 +1000 +++ > > > > > > > 991-fix-cryptd.patch-new/crypto/cryptd.c 2007-05-26 > > > > > > > 19:45:42.000000000 +1000 @@ -341,6 +341,7 @@ static int > > > > > > > cryptd_thread(void *data) > > > > > > > > > > > > > > mutex_unlock(&state->mutex); > > > > > > > > > > > > > > + try_to_freeze(); > > > > > > > schedule(); > > > > > > > } while (!stop); > > > > > > > > > > > > I tried your patch, but when I apply it my kernel doesn't compile > > > > > > any more. I get these warnings/errors: > > > > > > > > > > > > [...] > > > > > > CC crypto/cryptd.o > > > > > > crypto/cryptd.c: In function ‘cryptd_thread’: > > > > > > crypto/cryptd.c:344: warning: implicit declaration of function > > > > > > ‘try_to_freeze’ [...] > > > > > > LD init/built-in.o > > > > > > LD .tmp_vmlinux1 > > > > > > crypto/built-in.o: In function `cryptd_thread': > > > > > > cryptd.c:(.text+0xd7f5): undefined reference to `try_to_freeze' > > > > > > make: *** [.tmp_vmlinux1] Error 1 > > > > > > > > > > Ah. You'll need to add #include <linux/freezer.h> near that start > > > > > of crypto/cryptd.c. Sorry for forgetting that. > > > > > > > > > > Nigel > > > > > > > > I added the include line and now I could compile the kernel, but > > > > suspending still doesn't work. > > > > > > > > swsusp: Basic memory bitmaps created > > > > Stopping tasks ... > > > > Stopping kernel threads timed out after 20 seconds (1 tasks refusing > > > > to freeze): > > > > cryptd > > > > Restarting tasks ... done. > > > > swsusp: Basic memory bitmaps freed > > > > > > OK, this means that cryptd doesn't execute the try_to_freeze() for some > > > reason. > > > > > > Please apply the appended patch on top of 2.6.22-rc3 and see if that > > > helps. > > > > > > Greetings, > > > Rafael > > > > > > --- > > > crypto/cryptd.c | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > Index: linux-2.6.22-rc3/crypto/cryptd.c > > > =================================================================== > > > --- linux-2.6.22-rc3.orig/crypto/cryptd.c > > > +++ linux-2.6.22-rc3/crypto/cryptd.c > > > @@ -316,6 +316,7 @@ static int cryptd_thread(void *data) > > > struct cryptd_state *state = data; > > > int stop; > > > > > > + current->flags |= PF_NOFREEZE; > > > do { > > > struct crypto_async_request *req, *backlog; > > > > Even with this patch suspending doesn't work, dmesg shows the same error > > message. > > I also did build a kernel without cryptd and suspending does work there. > > Well, that's strange, because in that case the freezer shouldn't even wait > for cryptd. > > Can you please try the patch at http://lkml.org/lkml/2007/5/26/169 ? With this patch applied suspend does work fine. Maxi [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-28 0:21 ` Maximilian Engelhardt @ 2007-05-28 7:59 ` Rafael J. Wysocki 2007-05-28 18:21 ` Rafael J. Wysocki 0 siblings, 1 reply; 24+ messages in thread From: Rafael J. Wysocki @ 2007-05-28 7:59 UTC (permalink / raw) To: Maximilian Engelhardt; +Cc: nigel, Herbert Xu, linux-kernel On Monday, 28 May 2007 02:21, Maximilian Engelhardt wrote: > On Sunday 27 May 2007, Rafael J. Wysocki wrote: > > On Sunday, 27 May 2007 22:41, Maximilian Engelhardt wrote: > > > On Sunday 27 May 2007, Rafael J. Wysocki wrote: > > > > On Sunday, 27 May 2007 18:01, Maximilian Engelhardt wrote: > > > > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > > > > Hi. > > > > > > > > > > > > On Sat, 2007-05-26 at 14:49 +0200, Maximilian Engelhardt wrote: > > > > > > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > > > > > > Hi. > > > > > > > > > > > > > > > > On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: > > > > > > > > > Hello, > > > > > > > > > > > > > > > > > > When I try software suspend on my laptop it always returns to > > > > > > > > > my running system after some time. > > > > > > > > > This is what's logged by the kernel: > > > > > > > > > > > > > > > > > > swsusp: Basic memory bitmaps created > > > > > > > > > Stopping tasks ... > > > > > > > > > Stopping kernel threads timed out after 20 seconds (1 tasks > > > > > > > > > refusing to freeze): > > > > > > > > > cryptd > > > > > > > > > Restarting tasks ... done. > > > > > > > > > swsusp: Basic memory bitmaps freed > > > > > > > > > > > > > > > > > > I have no idea what's the problem, but if you tell me what I > > > > > > > > > should do I can create debugging information and/or test > > > > > > > > > patches. > > > > > > > > > > > > > > > > Could you try this patch, please? It should help. > > > > > > > > > > > > > > > > Herbert, is this right? If cryptd is going to be used for block > > > > > > > > devs, the task should probably be PF_NOFREEZE (or whatever it > > > > > > > > is today) instead. > > > > > > > > > > > > > > > > Regards, > > > > > > > > > > > > > > > > Nigel > > > > > > > > > > > > > > > > crypto/cryptd.c | 1 + > > > > > > > > include/linux/freezer.h | 3 +++ > > > > > > > > kernel/power/process.c | 2 +- > > > > > > > > 3 files changed, 5 insertions(+), 1 deletion(-) > > > > > > > > diff -ruNp 991-fix-cryptd.patch-old/crypto/cryptd.c > > > > > > > > 991-fix-cryptd.patch-new/crypto/cryptd.c --- > > > > > > > > 991-fix-cryptd.patch-old/crypto/cryptd.c 2007-05-19 > > > > > > > > 18:16:47.000000000 +1000 +++ > > > > > > > > 991-fix-cryptd.patch-new/crypto/cryptd.c 2007-05-26 > > > > > > > > 19:45:42.000000000 +1000 @@ -341,6 +341,7 @@ static int > > > > > > > > cryptd_thread(void *data) > > > > > > > > > > > > > > > > mutex_unlock(&state->mutex); > > > > > > > > > > > > > > > > + try_to_freeze(); > > > > > > > > schedule(); > > > > > > > > } while (!stop); > > > > > > > > > > > > > > I tried your patch, but when I apply it my kernel doesn't compile > > > > > > > any more. I get these warnings/errors: > > > > > > > > > > > > > > [...] > > > > > > > CC crypto/cryptd.o > > > > > > > crypto/cryptd.c: In function ‘cryptd_thread’: > > > > > > > crypto/cryptd.c:344: warning: implicit declaration of function > > > > > > > ‘try_to_freeze’ [...] > > > > > > > LD init/built-in.o > > > > > > > LD .tmp_vmlinux1 > > > > > > > crypto/built-in.o: In function `cryptd_thread': > > > > > > > cryptd.c:(.text+0xd7f5): undefined reference to `try_to_freeze' > > > > > > > make: *** [.tmp_vmlinux1] Error 1 > > > > > > > > > > > > Ah. You'll need to add #include <linux/freezer.h> near that start > > > > > > of crypto/cryptd.c. Sorry for forgetting that. > > > > > > > > > > > > Nigel > > > > > > > > > > I added the include line and now I could compile the kernel, but > > > > > suspending still doesn't work. > > > > > > > > > > swsusp: Basic memory bitmaps created > > > > > Stopping tasks ... > > > > > Stopping kernel threads timed out after 20 seconds (1 tasks refusing > > > > > to freeze): > > > > > cryptd > > > > > Restarting tasks ... done. > > > > > swsusp: Basic memory bitmaps freed > > > > > > > > OK, this means that cryptd doesn't execute the try_to_freeze() for some > > > > reason. > > > > > > > > Please apply the appended patch on top of 2.6.22-rc3 and see if that > > > > helps. > > > > > > > > Greetings, > > > > Rafael > > > > > > > > --- > > > > crypto/cryptd.c | 1 + > > > > 1 file changed, 1 insertion(+) > > > > > > > > Index: linux-2.6.22-rc3/crypto/cryptd.c > > > > =================================================================== > > > > --- linux-2.6.22-rc3.orig/crypto/cryptd.c > > > > +++ linux-2.6.22-rc3/crypto/cryptd.c > > > > @@ -316,6 +316,7 @@ static int cryptd_thread(void *data) > > > > struct cryptd_state *state = data; > > > > int stop; > > > > > > > > + current->flags |= PF_NOFREEZE; > > > > do { > > > > struct crypto_async_request *req, *backlog; > > > > > > Even with this patch suspending doesn't work, dmesg shows the same error > > > message. > > > I also did build a kernel without cryptd and suspending does work there. > > > > Well, that's strange, because in that case the freezer shouldn't even wait > > for cryptd. > > > > Can you please try the patch at http://lkml.org/lkml/2007/5/26/169 ? > > With this patch applied suspend does work fine. Hmm. IMO the patch is too intrusive for 2.6.22, but OTOH it's going into the direction preferred by some prominent people. ;-) Let's try to combine the two threads and see what results from that. Greetings, Rafael ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-28 7:59 ` Rafael J. Wysocki @ 2007-05-28 18:21 ` Rafael J. Wysocki 2007-05-28 21:02 ` Maximilian Engelhardt 2007-05-29 0:39 ` Herbert Xu 0 siblings, 2 replies; 24+ messages in thread From: Rafael J. Wysocki @ 2007-05-28 18:21 UTC (permalink / raw) To: Maximilian Engelhardt; +Cc: nigel, Herbert Xu, linux-kernel, Pavel Machek On Monday, 28 May 2007 09:59, Rafael J. Wysocki wrote: > On Monday, 28 May 2007 02:21, Maximilian Engelhardt wrote: > > On Sunday 27 May 2007, Rafael J. Wysocki wrote: > > > On Sunday, 27 May 2007 22:41, Maximilian Engelhardt wrote: > > > > On Sunday 27 May 2007, Rafael J. Wysocki wrote: > > > > > On Sunday, 27 May 2007 18:01, Maximilian Engelhardt wrote: > > > > > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > > > > > Hi. > > > > > > > > > > > > > > On Sat, 2007-05-26 at 14:49 +0200, Maximilian Engelhardt wrote: > > > > > > > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > > > > > > > Hi. > > > > > > > > > > > > > > > > > > On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: > > > > > > > > > > Hello, > > > > > > > > > > > > > > > > > > > > When I try software suspend on my laptop it always returns to > > > > > > > > > > my running system after some time. > > > > > > > > > > This is what's logged by the kernel: > > > > > > > > > > > > > > > > > > > > swsusp: Basic memory bitmaps created > > > > > > > > > > Stopping tasks ... > > > > > > > > > > Stopping kernel threads timed out after 20 seconds (1 tasks > > > > > > > > > > refusing to freeze): > > > > > > > > > > cryptd > > > > > > > > > > Restarting tasks ... done. > > > > > > > > > > swsusp: Basic memory bitmaps freed > > > > > > > > > > > > > > > > > > > > I have no idea what's the problem, but if you tell me what I > > > > > > > > > > should do I can create debugging information and/or test > > > > > > > > > > patches. > > > > > > > > > > > > > > > > > > Could you try this patch, please? It should help. > > > > > > > > > > > > > > > > > > Herbert, is this right? If cryptd is going to be used for block > > > > > > > > > devs, the task should probably be PF_NOFREEZE (or whatever it > > > > > > > > > is today) instead. > > > > > > > > > > > > > > > > > > Regards, > > > > > > > > > > > > > > > > > > Nigel > > > > > > > > > > > > > > > > > > crypto/cryptd.c | 1 + > > > > > > > > > include/linux/freezer.h | 3 +++ > > > > > > > > > kernel/power/process.c | 2 +- > > > > > > > > > 3 files changed, 5 insertions(+), 1 deletion(-) > > > > > > > > > diff -ruNp 991-fix-cryptd.patch-old/crypto/cryptd.c > > > > > > > > > 991-fix-cryptd.patch-new/crypto/cryptd.c --- > > > > > > > > > 991-fix-cryptd.patch-old/crypto/cryptd.c 2007-05-19 > > > > > > > > > 18:16:47.000000000 +1000 +++ > > > > > > > > > 991-fix-cryptd.patch-new/crypto/cryptd.c 2007-05-26 > > > > > > > > > 19:45:42.000000000 +1000 @@ -341,6 +341,7 @@ static int > > > > > > > > > cryptd_thread(void *data) > > > > > > > > > > > > > > > > > > mutex_unlock(&state->mutex); > > > > > > > > > > > > > > > > > > + try_to_freeze(); > > > > > > > > > schedule(); > > > > > > > > > } while (!stop); > > > > > > > > > > > > > > > > I tried your patch, but when I apply it my kernel doesn't compile > > > > > > > > any more. I get these warnings/errors: > > > > > > > > > > > > > > > > [...] > > > > > > > > CC crypto/cryptd.o > > > > > > > > crypto/cryptd.c: In function ‘cryptd_thread’: > > > > > > > > crypto/cryptd.c:344: warning: implicit declaration of function > > > > > > > > ‘try_to_freeze’ [...] > > > > > > > > LD init/built-in.o > > > > > > > > LD .tmp_vmlinux1 > > > > > > > > crypto/built-in.o: In function `cryptd_thread': > > > > > > > > cryptd.c:(.text+0xd7f5): undefined reference to `try_to_freeze' > > > > > > > > make: *** [.tmp_vmlinux1] Error 1 > > > > > > > > > > > > > > Ah. You'll need to add #include <linux/freezer.h> near that start > > > > > > > of crypto/cryptd.c. Sorry for forgetting that. > > > > > > > > > > > > > > Nigel > > > > > > > > > > > > I added the include line and now I could compile the kernel, but > > > > > > suspending still doesn't work. > > > > > > > > > > > > swsusp: Basic memory bitmaps created > > > > > > Stopping tasks ... > > > > > > Stopping kernel threads timed out after 20 seconds (1 tasks refusing > > > > > > to freeze): > > > > > > cryptd > > > > > > Restarting tasks ... done. > > > > > > swsusp: Basic memory bitmaps freed > > > > > > > > > > OK, this means that cryptd doesn't execute the try_to_freeze() for some > > > > > reason. > > > > > > > > > > Please apply the appended patch on top of 2.6.22-rc3 and see if that > > > > > helps. > > > > > > > > > > Greetings, > > > > > Rafael > > > > > > > > > > --- > > > > > crypto/cryptd.c | 1 + > > > > > 1 file changed, 1 insertion(+) > > > > > > > > > > Index: linux-2.6.22-rc3/crypto/cryptd.c > > > > > =================================================================== > > > > > --- linux-2.6.22-rc3.orig/crypto/cryptd.c > > > > > +++ linux-2.6.22-rc3/crypto/cryptd.c > > > > > @@ -316,6 +316,7 @@ static int cryptd_thread(void *data) > > > > > struct cryptd_state *state = data; > > > > > int stop; > > > > > > > > > > + current->flags |= PF_NOFREEZE; > > > > > do { > > > > > struct crypto_async_request *req, *backlog; > > > > > > > > Even with this patch suspending doesn't work, dmesg shows the same error > > > > message. > > > > I also did build a kernel without cryptd and suspending does work there. > > > > > > Well, that's strange, because in that case the freezer shouldn't even wait > > > for cryptd. > > > > > > Can you please try the patch at http://lkml.org/lkml/2007/5/26/169 ? > > > > With this patch applied suspend does work fine. > > Hmm. IMO the patch is too intrusive for 2.6.22, but OTOH it's going into the > direction preferred by some prominent people. ;-) > > Let's try to combine the two threads and see what results from that. Well, it looks like we have to fix this one separately. Can you please tell me what to do to make cryptd run? Rafael ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-28 18:21 ` Rafael J. Wysocki @ 2007-05-28 21:02 ` Maximilian Engelhardt 2007-05-29 0:39 ` Herbert Xu 1 sibling, 0 replies; 24+ messages in thread From: Maximilian Engelhardt @ 2007-05-28 21:02 UTC (permalink / raw) To: Rafael J. Wysocki; +Cc: nigel, Herbert Xu, linux-kernel, Pavel Machek [-- Attachment #1: Type: text/plain, Size: 6621 bytes --] On Monday 28 May 2007, Rafael J. Wysocki wrote: > On Monday, 28 May 2007 09:59, Rafael J. Wysocki wrote: > > On Monday, 28 May 2007 02:21, Maximilian Engelhardt wrote: > > > On Sunday 27 May 2007, Rafael J. Wysocki wrote: > > > > On Sunday, 27 May 2007 22:41, Maximilian Engelhardt wrote: > > > > > On Sunday 27 May 2007, Rafael J. Wysocki wrote: > > > > > > On Sunday, 27 May 2007 18:01, Maximilian Engelhardt wrote: > > > > > > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > > > > > > Hi. > > > > > > > > > > > > > > > > On Sat, 2007-05-26 at 14:49 +0200, Maximilian Engelhardt wrote: > > > > > > > > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > > > > > > > > Hi. > > > > > > > > > > > > > > > > > > > > On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: > > > > > > > > > > > Hello, > > > > > > > > > > > > > > > > > > > > > > When I try software suspend on my laptop it always > > > > > > > > > > > returns to my running system after some time. > > > > > > > > > > > This is what's logged by the kernel: > > > > > > > > > > > > > > > > > > > > > > swsusp: Basic memory bitmaps created > > > > > > > > > > > Stopping tasks ... > > > > > > > > > > > Stopping kernel threads timed out after 20 seconds (1 > > > > > > > > > > > tasks refusing to freeze): > > > > > > > > > > > cryptd > > > > > > > > > > > Restarting tasks ... done. > > > > > > > > > > > swsusp: Basic memory bitmaps freed > > > > > > > > > > > > > > > > > > > > > > I have no idea what's the problem, but if you tell me > > > > > > > > > > > what I should do I can create debugging information > > > > > > > > > > > and/or test patches. > > > > > > > > > > > > > > > > > > > > Could you try this patch, please? It should help. > > > > > > > > > > > > > > > > > > > > Herbert, is this right? If cryptd is going to be used for > > > > > > > > > > block devs, the task should probably be PF_NOFREEZE (or > > > > > > > > > > whatever it is today) instead. > > > > > > > > > > > > > > > > > > > > Regards, > > > > > > > > > > > > > > > > > > > > Nigel > > > > > > > > > > > > > > > > > > > > crypto/cryptd.c | 1 + > > > > > > > > > > include/linux/freezer.h | 3 +++ > > > > > > > > > > kernel/power/process.c | 2 +- > > > > > > > > > > 3 files changed, 5 insertions(+), 1 deletion(-) > > > > > > > > > > diff -ruNp 991-fix-cryptd.patch-old/crypto/cryptd.c > > > > > > > > > > 991-fix-cryptd.patch-new/crypto/cryptd.c --- > > > > > > > > > > 991-fix-cryptd.patch-old/crypto/cryptd.c 2007-05-19 > > > > > > > > > > 18:16:47.000000000 +1000 +++ > > > > > > > > > > 991-fix-cryptd.patch-new/crypto/cryptd.c 2007-05-26 > > > > > > > > > > 19:45:42.000000000 +1000 @@ -341,6 +341,7 @@ static int > > > > > > > > > > cryptd_thread(void *data) > > > > > > > > > > > > > > > > > > > > mutex_unlock(&state->mutex); > > > > > > > > > > > > > > > > > > > > + try_to_freeze(); > > > > > > > > > > schedule(); > > > > > > > > > > } while (!stop); > > > > > > > > > > > > > > > > > > I tried your patch, but when I apply it my kernel doesn't > > > > > > > > > compile any more. I get these warnings/errors: > > > > > > > > > > > > > > > > > > [...] > > > > > > > > > CC crypto/cryptd.o > > > > > > > > > crypto/cryptd.c: In function ‘cryptd_thread’: > > > > > > > > > crypto/cryptd.c:344: warning: implicit declaration of > > > > > > > > > function ‘try_to_freeze’ [...] > > > > > > > > > LD init/built-in.o > > > > > > > > > LD .tmp_vmlinux1 > > > > > > > > > crypto/built-in.o: In function `cryptd_thread': > > > > > > > > > cryptd.c:(.text+0xd7f5): undefined reference to > > > > > > > > > `try_to_freeze' make: *** [.tmp_vmlinux1] Error 1 > > > > > > > > > > > > > > > > Ah. You'll need to add #include <linux/freezer.h> near that > > > > > > > > start of crypto/cryptd.c. Sorry for forgetting that. > > > > > > > > > > > > > > > > Nigel > > > > > > > > > > > > > > I added the include line and now I could compile the kernel, > > > > > > > but suspending still doesn't work. > > > > > > > > > > > > > > swsusp: Basic memory bitmaps created > > > > > > > Stopping tasks ... > > > > > > > Stopping kernel threads timed out after 20 seconds (1 tasks > > > > > > > refusing to freeze): > > > > > > > cryptd > > > > > > > Restarting tasks ... done. > > > > > > > swsusp: Basic memory bitmaps freed > > > > > > > > > > > > OK, this means that cryptd doesn't execute the try_to_freeze() > > > > > > for some reason. > > > > > > > > > > > > Please apply the appended patch on top of 2.6.22-rc3 and see if > > > > > > that helps. > > > > > > > > > > > > Greetings, > > > > > > Rafael > > > > > > > > > > > > --- > > > > > > crypto/cryptd.c | 1 + > > > > > > 1 file changed, 1 insertion(+) > > > > > > > > > > > > Index: linux-2.6.22-rc3/crypto/cryptd.c > > > > > > ================================================================= > > > > > >== --- linux-2.6.22-rc3.orig/crypto/cryptd.c > > > > > > +++ linux-2.6.22-rc3/crypto/cryptd.c > > > > > > @@ -316,6 +316,7 @@ static int cryptd_thread(void *data) > > > > > > struct cryptd_state *state = data; > > > > > > int stop; > > > > > > > > > > > > + current->flags |= PF_NOFREEZE; > > > > > > do { > > > > > > struct crypto_async_request *req, *backlog; > > > > > > > > > > Even with this patch suspending doesn't work, dmesg shows the same > > > > > error message. > > > > > I also did build a kernel without cryptd and suspending does work > > > > > there. > > > > > > > > Well, that's strange, because in that case the freezer shouldn't even > > > > wait for cryptd. > > > > > > > > Can you please try the patch at http://lkml.org/lkml/2007/5/26/169 ? > > > > > > With this patch applied suspend does work fine. > > > > Hmm. IMO the patch is too intrusive for 2.6.22, but OTOH it's going into > > the direction preferred by some prominent people. ;-) > > > > Let's try to combine the two threads and see what results from that. > > Well, it looks like we have to fix this one separately. > > Can you please tell me what to do to make cryptd run? Well, there really isn't much I do. When I switched from 2.6.21 to 2.6.22-rc2 I did a 'make oldconfig' and I enabled CONFIG_CRYPTO_CRYPTD because I thought it would be a good idea. I don't need cryptd, I just enabled it. Now when I boot this kernel it seems like cryptd is automatically started. I also tried building a kernel where CONFIG_CRYPTO_CRYPTD is disabled and there suspending does work fine. Maxi [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-28 18:21 ` Rafael J. Wysocki 2007-05-28 21:02 ` Maximilian Engelhardt @ 2007-05-29 0:39 ` Herbert Xu 2007-05-29 12:01 ` Rafael J. Wysocki 2007-05-31 6:54 ` Rafael J. Wysocki 1 sibling, 2 replies; 24+ messages in thread From: Herbert Xu @ 2007-05-29 0:39 UTC (permalink / raw) To: Rafael J. Wysocki Cc: Maximilian Engelhardt, nigel, linux-kernel, Pavel Machek On Mon, May 28, 2007 at 08:21:29PM +0200, Rafael J. Wysocki wrote: > > Well, it looks like we have to fix this one separately. > > Can you please tell me what to do to make cryptd run? If you build it as a module then just loading it should be sufficient. If you have it built-in then it should always be there. Let me know when you guys have a final patch. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-29 0:39 ` Herbert Xu @ 2007-05-29 12:01 ` Rafael J. Wysocki 2007-05-31 6:54 ` Rafael J. Wysocki 1 sibling, 0 replies; 24+ messages in thread From: Rafael J. Wysocki @ 2007-05-29 12:01 UTC (permalink / raw) To: Herbert Xu; +Cc: Maximilian Engelhardt, nigel, linux-kernel, Pavel Machek On Tuesday, 29 May 2007 02:39, Herbert Xu wrote: > On Mon, May 28, 2007 at 08:21:29PM +0200, Rafael J. Wysocki wrote: > > > > Well, it looks like we have to fix this one separately. > > > > Can you please tell me what to do to make cryptd run? > > If you build it as a module then just loading it should be sufficient. > If you have it built-in then it should always be there. Thanks. > Let me know when you guys have a final patch. OK Greetings, Rafael ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-29 0:39 ` Herbert Xu 2007-05-29 12:01 ` Rafael J. Wysocki @ 2007-05-31 6:54 ` Rafael J. Wysocki 2007-05-31 7:04 ` Rafael J. Wysocki 1 sibling, 1 reply; 24+ messages in thread From: Rafael J. Wysocki @ 2007-05-31 6:54 UTC (permalink / raw) To: Herbert Xu Cc: Maximilian Engelhardt, nigel, linux-kernel, Pavel Machek, Eric W. Biederman On Tuesday, 29 May 2007 02:39, Herbert Xu wrote: > On Mon, May 28, 2007 at 08:21:29PM +0200, Rafael J. Wysocki wrote: > > > > Well, it looks like we have to fix this one separately. > > > > Can you please tell me what to do to make cryptd run? > > If you build it as a module then just loading it should be sufficient. > If you have it built-in then it should always be there. > > Let me know when you guys have a final patch. The problem is more serious than I thought: kthread_create() in crypto/cryptd.c line 302 doesn't return, so cryptd is stuck in TASK_UNINTERRUPTIBLE all the time and it doesn't even execute one instruction from cryptd_thread() [this happens on x86_64]. I've investigated this for a while, but I don't know why it happens. Greetings, Rafael ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-31 6:54 ` Rafael J. Wysocki @ 2007-05-31 7:04 ` Rafael J. Wysocki 2007-05-31 7:13 ` Rafael J. Wysocki 0 siblings, 1 reply; 24+ messages in thread From: Rafael J. Wysocki @ 2007-05-31 7:04 UTC (permalink / raw) To: Herbert Xu Cc: Maximilian Engelhardt, nigel, linux-kernel, Pavel Machek, Eric W. Biederman On Thursday, 31 May 2007 08:54, Rafael J. Wysocki wrote: > On Tuesday, 29 May 2007 02:39, Herbert Xu wrote: > > On Mon, May 28, 2007 at 08:21:29PM +0200, Rafael J. Wysocki wrote: > > > > > > Well, it looks like we have to fix this one separately. > > > > > > Can you please tell me what to do to make cryptd run? > > > > If you build it as a module then just loading it should be sufficient. > > If you have it built-in then it should always be there. > > > > Let me know when you guys have a final patch. > > The problem is more serious than I thought: > > kthread_create() in crypto/cryptd.c line 302 doesn't return, so cryptd is stuck > in TASK_UNINTERRUPTIBLE all the time and it doesn't even execute one > instruction from cryptd_thread() [this happens on x86_64]. Sorry, I was wrong. kthread_create() returns, but cryptd_thread() is not executed and the cryptd process is stuck in TASK_UNINTERRUPTIBLE. Greetings, Rafael ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-31 7:04 ` Rafael J. Wysocki @ 2007-05-31 7:13 ` Rafael J. Wysocki 2007-05-31 8:08 ` Herbert Xu 0 siblings, 1 reply; 24+ messages in thread From: Rafael J. Wysocki @ 2007-05-31 7:13 UTC (permalink / raw) To: Herbert Xu Cc: Maximilian Engelhardt, nigel, linux-kernel, Pavel Machek, Eric W. Biederman On Thursday, 31 May 2007 09:04, Rafael J. Wysocki wrote: > On Thursday, 31 May 2007 08:54, Rafael J. Wysocki wrote: > > On Tuesday, 29 May 2007 02:39, Herbert Xu wrote: > > > On Mon, May 28, 2007 at 08:21:29PM +0200, Rafael J. Wysocki wrote: > > > > > > > > Well, it looks like we have to fix this one separately. > > > > > > > > Can you please tell me what to do to make cryptd run? > > > > > > If you build it as a module then just loading it should be sufficient. > > > If you have it built-in then it should always be there. > > > > > > Let me know when you guys have a final patch. > > > > The problem is more serious than I thought: > > > > kthread_create() in crypto/cryptd.c line 302 doesn't return, so cryptd is stuck > > in TASK_UNINTERRUPTIBLE all the time and it doesn't even execute one > > instruction from cryptd_thread() [this happens on x86_64]. > > Sorry, I was wrong. > > kthread_create() returns, but cryptd_thread() is not executed and the cryptd > process is stuck in TASK_UNINTERRUPTIBLE. It can be fixed by replacing the kthread_create() with kthread_run(). Patch follows. Greetings, Rafael --- From: Rafael J. Wysocki <rjw@sisk.pl> Make cryptd actually run and mark it as nonfreezable. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> --- crypto/cryptd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6.22-rc3/crypto/cryptd.c =================================================================== --- linux-2.6.22-rc3.orig/crypto/cryptd.c 2007-05-26 22:08:07.000000000 +0200 +++ linux-2.6.22-rc3/crypto/cryptd.c 2007-05-31 09:13:38.000000000 +0200 @@ -298,7 +298,7 @@ static inline int cryptd_create_thread(s mutex_init(&state->mutex); crypto_init_queue(&state->queue, CRYPTD_MAX_QLEN); - state->task = kthread_create(fn, state, name); + state->task = kthread_run(fn, state, name); if (IS_ERR(state->task)) return PTR_ERR(state->task); @@ -316,6 +316,8 @@ static int cryptd_thread(void *data) struct cryptd_state *state = data; int stop; + current->flags |= PF_NOFREEZE; + do { struct crypto_async_request *req, *backlog; ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-31 7:13 ` Rafael J. Wysocki @ 2007-05-31 8:08 ` Herbert Xu 0 siblings, 0 replies; 24+ messages in thread From: Herbert Xu @ 2007-05-31 8:08 UTC (permalink / raw) To: Rafael J. Wysocki Cc: Maximilian Engelhardt, nigel, linux-kernel, Pavel Machek, Eric W. Biederman On Thu, May 31, 2007 at 09:13:44AM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki <rjw@sisk.pl> > > Make cryptd actually run and mark it as nonfreezable. > > Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Patch applied. Thanks a lot! -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: software suspend doesn't work with 2.6.22-rc3 2007-05-26 9:28 software suspend doesn't work with 2.6.22-rc3 Maximilian Engelhardt 2007-05-26 9:53 ` Nigel Cunningham @ 2007-05-27 20:35 ` Pavel Machek 1 sibling, 0 replies; 24+ messages in thread From: Pavel Machek @ 2007-05-27 20:35 UTC (permalink / raw) To: Maximilian Engelhardt; +Cc: linux-kernel, Rafael J. Wysocki Hi! > When I try software suspend on my laptop it always returns to my running > system after some time. > This is what's logged by the kernel: > > swsusp: Basic memory bitmaps created > Stopping tasks ... > Stopping kernel threads timed out after 20 seconds (1 tasks refusing to > freeze): > cryptd > Restarting tasks ... done. Is cryptd a kernel thread? It is probably missing try_to_freeze(). If it is userland app, try stopping it before suspend. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2007-05-31 8:09 UTC | newest] Thread overview: 24+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-05-26 9:28 software suspend doesn't work with 2.6.22-rc3 Maximilian Engelhardt 2007-05-26 9:53 ` Nigel Cunningham 2007-05-26 11:08 ` Herbert Xu 2007-05-26 11:14 ` Nigel Cunningham 2007-05-26 11:55 ` Herbert Xu 2007-05-26 20:23 ` Rafael J. Wysocki 2007-05-26 12:49 ` Maximilian Engelhardt 2007-05-26 20:20 ` Rafael J. Wysocki 2007-05-26 21:33 ` Nigel Cunningham 2007-05-27 16:01 ` Maximilian Engelhardt 2007-05-27 18:19 ` Rafael J. Wysocki 2007-05-27 20:41 ` Maximilian Engelhardt 2007-05-27 21:27 ` Rafael J. Wysocki 2007-05-28 0:21 ` Maximilian Engelhardt 2007-05-28 7:59 ` Rafael J. Wysocki 2007-05-28 18:21 ` Rafael J. Wysocki 2007-05-28 21:02 ` Maximilian Engelhardt 2007-05-29 0:39 ` Herbert Xu 2007-05-29 12:01 ` Rafael J. Wysocki 2007-05-31 6:54 ` Rafael J. Wysocki 2007-05-31 7:04 ` Rafael J. Wysocki 2007-05-31 7:13 ` Rafael J. Wysocki 2007-05-31 8:08 ` Herbert Xu 2007-05-27 20:35 ` Pavel Machek
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox