Bug 7780

Summary: System hangs when suspending to RAM - SATA
Product: IO/Storage Reporter: Maciek (mkotl)
Component: IDEAssignee: Tejun Heo (htejun)
Status: RESOLVED CODE_FIX    
Severity: high CC: acpi-bugzilla, chrismay50, cw, htejun, john, josemariafg, kbug, kristen.c.accardi, me, peter, pjssilva, rjw, romano.giannetti, trenn, typrase
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.20 Subsystem:
Regression: --- Bisected commit-id:
Bug Depends on:    
Bug Blocks: 7216, 56331    
Attachments: dmesg
My new kernel config. No old ATA drivers, only SATA/PATA - PIIX selected.
Kernel config file
dmidecode dump from Toshiba Tecra M5
lspci -nnv dump from Toshiba Tecra M5
skip-pci-disable-and-suspend-on-tecra-m5.patch
skip-pci-disable-and-suspend-on-tecra-m5-and-satellite-U205-take2.patch
skip-pci-disable-and-suspend-on-tecra-m5-and-satellite-U205-take3.patch
skip-pci-disable-and-suspend-on-tecra-m5-and-satellite-U205-take4.patch
skip-pci-disable-and-suspend-on-tecra-m5-and-satellite-U205-take5.patch
dmidecode output for Toshiba Tecra M3
lspci -nnv output for Toshiba Tecra M3
skip-pci-disable-and-suspend-on-tecra-m5-and-satellite-U205-take6.patch
dmidecode for toshiba U305
lspci -nvv for toshiba U305
acpidump for toshiba U305
Toshiba Tecra M3 DMIDECODE
dmidecode from U205-5067
Extra cases from Launchpad #139045
Patch for Tecra M4

Description Maciek 2007-01-06 06:36:08 UTC
Most recent kernel where this bug did *NOT* occur: Don't know (Problem occurs
also in 2.6.19)
Distribution: Debian Etch
Hardware Environment: Toshiba Tecra M5-384 (laptop)

Problem Description:
When I try to suspend to RAM (echo mem > /sys/power/state) system start suspend
process. I can see on the console that second CPU is down and some messages
saying that USB ports are also stopped. Then screen becomes black (off) but CPU
fan is working and power LED is green (should blink). I can't connect to the
computer from network and SysRq keys don't work.
I try to suspend from runlevel 1 or 2 witch no modules loaded.

Steps to reproduce:
Try suspend to RAM.

My hardware:
Intel Core 2 Duo 2,16 GHz
Nvidia Quadro NVS 110M PCI Express
HDD SATA (SATA pIIx driver)

My lspci:
0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)
0000:00:01.0 PCI bridge: Intel Corporation Mobile PCI Express Graphics Port (rev 03)
0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio
Controller (rev 02)
0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port
1 (rev 02)
0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port
2 (rev 02)
0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port
3 (rev 02)
0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1
(rev 02)
0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2
(rev 02)
0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3
(rev 02)
0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4
(rev 02)
0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI
Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface
Bridge (rev 02)
0000:00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial
ATA Storage Controllers cc=IDE (rev 02)
0000:01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 01da
(rev a1)
0000:02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet
Controller
0000:05:00.0 Network controller: Intel Corporation: Unknown device 4222 (rev 02)
0000:06:0b.0 CardBus bridge: Texas Instruments: Unknown device 8039
0000:06:0b.1 FireWire (IEEE 1394): Texas Instruments: Unknown device 803a
0000:06:0b.3 0805: Texas Instruments: Unknown device 803c
Comment 1 Chris Wedgwood 2007-01-06 10:48:57 UTC
does adding "s3_sleep=bios" to the kernel command line help?
Comment 2 Maciek 2007-01-06 11:50:20 UTC
s3_sleep=bios doesn't help
Comment 3 Maciek 2007-01-07 07:47:28 UTC
I compiled 2.6.20-rc3-git8. Nothing changed.
Comment 4 Maciek 2007-01-07 14:10:47 UTC
I installed 2.6.20-rc4, the problem still exists. I noticed that pm_trace works
now. I can this in dmesg:

ACPI: (supports S0 S3 S4 S5)
  Magic number: 7:0:150
  hash matches device ttyp4
Comment 5 Zhang Rui 2007-01-10 00:42:10 UTC
Please attach the dmesg output.
Comment 6 Maciek 2007-01-10 03:05:44 UTC
Created attachment 10050 [details]
dmesg
Comment 7 Maciek 2007-01-10 03:08:55 UTC
Comment on attachment 10050 [details]
dmesg

there is no info about suspend on the end.
Comment 8 Ismail Onur Filiz 2007-01-12 22:25:24 UTC
The exact same thing happens to me with my Toshiba Tecra M3. Fortunately, I 
have some more information: 
- The last kernel where this didn't occur is 2.6.15.7.
- It started occuring beginning with 2.6.16-rc1. 
- Using 'git bisect', I found the "guilty commit" to be:
9b847548663ef1039dd49f0eb4463d001e596bc3 - [PATCH] Suspend support for libata . 

I am using the "Intel piix" driver for SATA support.

Similar to the original poster, I tried 2.6.20-rc4, both with s3_sleep=bios and 
without it, to no avail. 

grep 'hash matches' /var/log/kern.log gives:

ACPI: (supports S0 S3 S4 S5)
Magic number: 7:781:752
hash matches device ttyS3

Furthermore, the following change allows the computer to go into suspend state, 
but when it wakes up, the hard drive doesn't properly resume:

===================

--- drivers/ata/ata_piix.c.orig	2007-01-12 21:59:01.000000000 -0800
+++ drivers/ata/ata_piix.c	2007-01-12 21:59:20.000000000 -0800
@@ -255,8 +255,8 @@
 	.id_table		= piix_pci_tbl,
 	.probe			= piix_init_one,
 	.remove			= ata_pci_remove_one,
-	.suspend		= ata_pci_device_suspend,
-	.resume			= ata_pci_device_resume,
+	//.suspend		= ata_pci_device_suspend,
+	//.resume			= ata_pci_device_resume,
 };
 
 static struct scsi_host_template piix_sht = {
@@ -275,8 +275,8 @@
 	.slave_configure	= ata_scsi_slave_config,
 	.slave_destroy		= ata_scsi_slave_destroy,
 	.bios_param		= ata_std_bios_param,
-	.resume			= ata_scsi_device_resume,
-	.suspend		= ata_scsi_device_suspend,
+	//.resume			= ata_scsi_device_resume,
+	//.suspend		= ata_scsi_device_suspend,
 };
 
 static const struct ata_port_operations piix_pata_ops = {
===================

Please ask if you need more information. Thanks.
Comment 9 Maciek 2007-02-05 11:30:41 UTC
I compiled 2.6.20. Nothing changed...
Comment 10 Zhang Rui 2007-02-05 17:42:02 UTC
Maciek:
Please attach your kernel config.
And don't forget to try with the latest bios, and show me the SATA mode 
setting in your BIOS.
Comment 11 Maciek 2007-02-06 08:47:41 UTC
Created attachment 10318 [details]
My new kernel config.
No old ATA drivers, only SATA/PATA - PIIX selected.

ver. 2.6.20
Comment 12 Maciek 2007-02-06 10:51:12 UTC
I upgraded BIOS to 3.2 (from 1.7). 
Nothing changed... System still hangs if I try suspend to ram.
Comment 13 Maciek 2007-02-06 11:14:48 UTC
About SATA settings in my BIOS:
There is almost no settings :(
It is only possibility to set Primary and secondary IDE addres/IRQ.
Primary is 1F0H/IRQ14, secondary 170H/IRQ15
Comment 14 Maciek 2007-02-18 07:16:25 UTC
I compiled 2.6.20-git-12.
Nothing changed.
Comment 15 Maciek 2007-02-23 06:06:57 UTC
2.6.21-rc1 - no changes - system hangs during when going suspend
Comment 16 Maciek 2007-02-23 06:15:30 UTC
Comment on attachment 10318 [details]
My new kernel config.
No old ATA drivers, only SATA/PATA - PIIX selected.

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.21-rc1
# Fri Feb 23 15:10:54 2007
#
CONFIG_X86_32=y
CONFIG_GENERIC_TIME=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_ZONE_DMA=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_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32

#
# General setup
#
CONFIG_LOCALVERSION="MK"
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 is not set
# CONFIG_UTS_NS is not set
# CONFIG_AUDIT is not set
# CONFIG_IKCONFIG is not set
# CONFIG_CPUSETS is not set
CONFIG_SYSFS_DEPRECATED=y
# CONFIG_RELAY is not set
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
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_EPOLL=y
CONFIG_SHMEM=y
CONFIG_SLAB=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
# CONFIG_SLOB is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_MODVERSIONS=y
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y
CONFIG_STOP_MACHINE=y

#
# Block layer
#
CONFIG_BLOCK=y
CONFIG_LBD=y
# 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=y
# CONFIG_DEFAULT_DEADLINE is not set
# CONFIG_DEFAULT_CFQ is not set
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="anticipatory"

#
# Processor type and features
#
# CONFIG_TICK_ONESHOT is not set
# CONFIG_NO_HZ is not set
# CONFIG_HIGH_RES_TIMERS is not set
CONFIG_SMP=y
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 is not set
CONFIG_MCORE2=y
# 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_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_L1_CACHE_SHIFT=6
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_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_NR_CPUS=2
# CONFIG_SCHED_SMT is not set
CONFIG_SCHED_MC=y
# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
CONFIG_PREEMPT_BKL=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=y
CONFIG_X86_MCE_P4THERMAL=y
CONFIG_VM86=y
CONFIG_TOSHIBA=y
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
CONFIG_MICROCODE=y
CONFIG_MICROCODE_OLD_INTERFACE=y
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y

#
# Firmware Drivers
#
CONFIG_EDD=y
# 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_HIGHPTE is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_EFI is not set
CONFIG_IRQBALANCE=y
CONFIG_SECCOMP=y
# CONFIG_HZ_100 is not set
CONFIG_HZ_250=y
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=250
# 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_HOTPLUG_CPU=y
CONFIG_COMPAT_VDSO=y
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
CONFIG_PM_LEGACY=y
CONFIG_PM_DEBUG=y
# CONFIG_DISABLE_CONSOLE_SUSPEND is not set
CONFIG_PM_TRACE=y
CONFIG_PM_SYSFS_DEPRECATED=y
CONFIG_SOFTWARE_SUSPEND=y
CONFIG_PM_STD_PARTITION="/dev/sda2"
CONFIG_SUSPEND_SMP=y

#
# 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=y
CONFIG_ACPI_PROCFS=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_DOCK=m
CONFIG_ACPI_BAY=m
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_IBM is not set
CONFIG_ACPI_TOSHIBA=y
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=y
# CONFIG_ACPI_SBS is not set

#
# APM (Advanced Power Management) BIOS Support
#
# 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 is not set
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=y
# 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=y
# 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_ACPI_CPUFREQ_PROC_INTF=y
CONFIG_X86_SPEEDSTEP_LIB=y
CONFIG_X86_SPEEDSTEP_RELAXED_CAP_CHECK=y

#
# 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=y
CONFIG_PCIEAER=y
# CONFIG_PCI_MSI is not set
# CONFIG_PCI_DEBUG is not set
CONFIG_HT_IRQ=y
CONFIG_ISA_DMA_API=y
CONFIG_ISA=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set

#
# PCCARD (PCMCIA/CardBus) support
#
CONFIG_PCCARD=m
# CONFIG_PCMCIA_DEBUG is not set
CONFIG_PCMCIA=m
CONFIG_PCMCIA_LOAD_CIS=y
# CONFIG_PCMCIA_IOCTL is not set
CONFIG_CARDBUS=y

#
# PC-card bridges
#
CONFIG_YENTA=m
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_I82365 is not set
# CONFIG_TCIC is not set
CONFIG_PCMCIA_PROBE=y
CONFIG_PCCARD_NONSTATIC=m

#
# PCI Hotplug Support
#
# 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_NETDEBUG is not set
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
CONFIG_UNIX=y
CONFIG_XFRM=y
CONFIG_XFRM_USER=m
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
CONFIG_NET_KEY=m
# CONFIG_NET_KEY_MIGRATE is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_FIB_HASH=y
# CONFIG_IP_PNP is not set
CONFIG_NET_IPIP=m
CONFIG_NET_IPGRE=m
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
CONFIG_INET_AH=m
CONFIG_INET_ESP=m
CONFIG_INET_IPCOMP=m
CONFIG_INET_XFRM_TUNNEL=m
CONFIG_INET_TUNNEL=m
CONFIG_INET_XFRM_MODE_TRANSPORT=m
CONFIG_INET_XFRM_MODE_TUNNEL=m
CONFIG_INET_XFRM_MODE_BEET=m
CONFIG_INET_DIAG=m
CONFIG_INET_TCP_DIAG=m
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set

#
# IP: Virtual Server Configuration
#
# CONFIG_IP_VS is not set
# CONFIG_IPV6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
# CONFIG_NETLABEL is not set
# CONFIG_NETWORK_SECMARK is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_BRIDGE_NETFILTER=y

#
# Core Netfilter Configuration
#
CONFIG_NETFILTER_NETLINK=m
CONFIG_NETFILTER_NETLINK_QUEUE=m
CONFIG_NETFILTER_NETLINK_LOG=m
CONFIG_NF_CONNTRACK_ENABLED=m
CONFIG_NF_CONNTRACK_SUPPORT=y
# CONFIG_IP_NF_CONNTRACK_SUPPORT is not set
CONFIG_NF_CONNTRACK=m
CONFIG_NF_CT_ACCT=y
CONFIG_NF_CONNTRACK_MARK=y
CONFIG_NF_CONNTRACK_EVENTS=y
CONFIG_NF_CT_PROTO_GRE=m
CONFIG_NF_CT_PROTO_SCTP=m
CONFIG_NF_CONNTRACK_AMANDA=m
CONFIG_NF_CONNTRACK_FTP=m
CONFIG_NF_CONNTRACK_H323=m
CONFIG_NF_CONNTRACK_IRC=m
CONFIG_NF_CONNTRACK_NETBIOS_NS=m
CONFIG_NF_CONNTRACK_PPTP=m
# CONFIG_NF_CONNTRACK_SANE is not set
CONFIG_NF_CONNTRACK_SIP=m
CONFIG_NF_CONNTRACK_TFTP=m
CONFIG_NF_CT_NETLINK=m
CONFIG_NETFILTER_XTABLES=m
CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
CONFIG_NETFILTER_XT_TARGET_CONNMARK=m
CONFIG_NETFILTER_XT_TARGET_DSCP=m
CONFIG_NETFILTER_XT_TARGET_MARK=m
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
CONFIG_NETFILTER_XT_TARGET_NFLOG=m
CONFIG_NETFILTER_XT_TARGET_NOTRACK=m
# CONFIG_NETFILTER_XT_TARGET_TCPMSS is not set
CONFIG_NETFILTER_XT_MATCH_COMMENT=m
CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m
CONFIG_NETFILTER_XT_MATCH_CONNMARK=m
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
CONFIG_NETFILTER_XT_MATCH_DCCP=m
CONFIG_NETFILTER_XT_MATCH_DSCP=m
CONFIG_NETFILTER_XT_MATCH_ESP=m
CONFIG_NETFILTER_XT_MATCH_HELPER=m
CONFIG_NETFILTER_XT_MATCH_LENGTH=m
CONFIG_NETFILTER_XT_MATCH_LIMIT=m
CONFIG_NETFILTER_XT_MATCH_MAC=m
CONFIG_NETFILTER_XT_MATCH_MARK=m
CONFIG_NETFILTER_XT_MATCH_POLICY=m
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m
CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
CONFIG_NETFILTER_XT_MATCH_QUOTA=m
CONFIG_NETFILTER_XT_MATCH_REALM=m
CONFIG_NETFILTER_XT_MATCH_SCTP=m
CONFIG_NETFILTER_XT_MATCH_STATE=m
CONFIG_NETFILTER_XT_MATCH_STATISTIC=m
CONFIG_NETFILTER_XT_MATCH_STRING=m
CONFIG_NETFILTER_XT_MATCH_TCPMSS=m
CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m

#
# IP: Netfilter Configuration
#
CONFIG_NF_CONNTRACK_IPV4=m
CONFIG_NF_CONNTRACK_PROC_COMPAT=y
CONFIG_IP_NF_QUEUE=y
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_IPRANGE=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_RECENT=m
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_AH=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_MATCH_ADDRTYPE=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_NF_NAT=m
CONFIG_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_NF_TARGET_NETMAP=m
CONFIG_IP_NF_TARGET_SAME=m
CONFIG_NF_NAT_SNMP_BASIC=m
CONFIG_NF_NAT_PROTO_GRE=m
CONFIG_NF_NAT_FTP=m
CONFIG_NF_NAT_IRC=m
CONFIG_NF_NAT_TFTP=m
CONFIG_NF_NAT_AMANDA=m
CONFIG_NF_NAT_PPTP=m
CONFIG_NF_NAT_H323=m
CONFIG_NF_NAT_SIP=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_TTL=m
# CONFIG_IP_NF_TARGET_CLUSTERIP is not set
CONFIG_IP_NF_RAW=m
# CONFIG_IP_NF_ARPTABLES is not set

#
# 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=m

#
# DCCP Configuration (EXPERIMENTAL)
#
# CONFIG_IP_DCCP is not set

#
# SCTP Configuration (EXPERIMENTAL)
#
CONFIG_IP_SCTP=m
# CONFIG_SCTP_DBG_MSG is not set
# CONFIG_SCTP_DBG_OBJCNT is not set
# CONFIG_SCTP_HMAC_NONE is not set
# CONFIG_SCTP_HMAC_SHA1 is not set
CONFIG_SCTP_HMAC_MD5=y

#
# TIPC Configuration (EXPERIMENTAL)
#
# 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=m
# 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_CLS_ROUTE=y

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
CONFIG_IRDA=m

#
# IrDA protocols
#
CONFIG_IRLAN=m
CONFIG_IRNET=m
CONFIG_IRCOMM=m
CONFIG_IRDA_ULTRA=y

#
# IrDA options
#
CONFIG_IRDA_CACHE_LAST_LSAP=y
CONFIG_IRDA_FAST_RR=y
# CONFIG_IRDA_DEBUG is not set

#
# Infrared-port device drivers
#

#
# SIR device drivers
#
CONFIG_IRTTY_SIR=m

#
# Dongle support
#
# CONFIG_DONGLE is not set

#
# Old SIR device drivers
#

#
# Old Serial dongle support
#

#
# FIR device drivers
#
# CONFIG_USB_IRDA is not set
# CONFIG_SIGMATEL_FIR is not set
# CONFIG_NSC_FIR is not set
# CONFIG_WINBOND_FIR is not set
CONFIG_TOSHIBA_FIR=m
# CONFIG_SMC_IRCC_FIR is not set
# CONFIG_ALI_FIR is not set
# CONFIG_VLSI_FIR is not set
# CONFIG_VIA_FIR is not set
# CONFIG_MCS_FIR is not set
CONFIG_BT=m
CONFIG_BT_L2CAP=m
CONFIG_BT_SCO=m
CONFIG_BT_RFCOMM=m
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=m

#
# Bluetooth device drivers
#
CONFIG_BT_HCIUSB=m
CONFIG_BT_HCIUSB_SCO=y
# CONFIG_BT_HCIUART is not set
# CONFIG_BT_HCIBCM203X is not set
# CONFIG_BT_HCIBPA10X is not set
# CONFIG_BT_HCIBFUSB is not set
# CONFIG_BT_HCIDTL1 is not set
# CONFIG_BT_HCIBT3C is not set
# CONFIG_BT_HCIBLUECARD is not set
# CONFIG_BT_HCIBTUART is not set
CONFIG_BT_HCIVHCI=m
CONFIG_IEEE80211=m
# CONFIG_IEEE80211_DEBUG is not set
CONFIG_IEEE80211_CRYPT_WEP=m
CONFIG_IEEE80211_CRYPT_CCMP=m
CONFIG_IEEE80211_CRYPT_TKIP=m
CONFIG_IEEE80211_SOFTMAC=m
# CONFIG_IEEE80211_SOFTMAC_DEBUG is not set
CONFIG_WIRELESS_EXT=y

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_STANDALONE=y
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=m

#
# Memory Technology Devices (MTD)
#
CONFIG_MTD=y
# CONFIG_MTD_DEBUG is not set
CONFIG_MTD_CONCAT=m
CONFIG_MTD_PARTITIONS=y
CONFIG_MTD_REDBOOT_PARTS=m
CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1
CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y
# CONFIG_MTD_REDBOOT_PARTS_READONLY is not set
CONFIG_MTD_CMDLINE_PARTS=y

#
# User Modules And Translation Layers
#
CONFIG_MTD_CHAR=m
CONFIG_MTD_BLKDEVS=m
CONFIG_MTD_BLOCK=m
CONFIG_MTD_BLOCK_RO=m
CONFIG_FTL=m
CONFIG_NFTL=m
CONFIG_NFTL_RW=y
CONFIG_INFTL=m
CONFIG_RFD_FTL=m
# CONFIG_SSFDC is not set

#
# RAM/ROM/Flash chip drivers
#
CONFIG_MTD_CFI=m
CONFIG_MTD_JEDECPROBE=m
CONFIG_MTD_GEN_PROBE=m
CONFIG_MTD_CFI_ADV_OPTIONS=y
CONFIG_MTD_CFI_NOSWAP=y
# CONFIG_MTD_CFI_BE_BYTE_SWAP is not set
# CONFIG_MTD_CFI_LE_BYTE_SWAP is not set
CONFIG_MTD_CFI_GEOMETRY=y
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
CONFIG_MTD_MAP_BANK_WIDTH_8=y
CONFIG_MTD_MAP_BANK_WIDTH_16=y
CONFIG_MTD_MAP_BANK_WIDTH_32=y
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
CONFIG_MTD_CFI_I4=y
CONFIG_MTD_CFI_I8=y
# CONFIG_MTD_OTP is not set
CONFIG_MTD_CFI_INTELEXT=m
CONFIG_MTD_CFI_AMDSTD=m
CONFIG_MTD_CFI_STAA=m
CONFIG_MTD_CFI_UTIL=m
CONFIG_MTD_RAM=m
CONFIG_MTD_ROM=m
CONFIG_MTD_ABSENT=m
CONFIG_MTD_OBSOLETE_CHIPS=y
CONFIG_MTD_SHARP=m

#
# Mapping drivers for chip access
#
CONFIG_MTD_COMPLEX_MAPPINGS=y
CONFIG_MTD_PHYSMAP=m
CONFIG_MTD_PHYSMAP_START=0x8000000
CONFIG_MTD_PHYSMAP_LEN=0x4000000
CONFIG_MTD_PHYSMAP_BANKWIDTH=2
CONFIG_MTD_PNC2000=m
CONFIG_MTD_SC520CDP=m
CONFIG_MTD_NETSC520=m
CONFIG_MTD_TS5500=m
CONFIG_MTD_SBC_GXX=m
CONFIG_MTD_AMD76XROM=m
CONFIG_MTD_ICHXROM=m
# CONFIG_MTD_ESB2ROM is not set
# CONFIG_MTD_CK804XROM is not set
CONFIG_MTD_SCB2_FLASH=m
CONFIG_MTD_NETtel=m
CONFIG_MTD_DILNETPC=m
CONFIG_MTD_DILNETPC_BOOTSIZE=0x80000
CONFIG_MTD_L440GX=m
CONFIG_MTD_PCI=m
# CONFIG_MTD_PLATRAM is not set

#
# Self-contained MTD device drivers
#
CONFIG_MTD_PMC551=m
CONFIG_MTD_PMC551_BUGFIX=y
# CONFIG_MTD_PMC551_DEBUG is not set
# CONFIG_MTD_DATAFLASH is not set
# CONFIG_MTD_M25P80 is not set
CONFIG_MTD_SLRAM=m
CONFIG_MTD_PHRAM=m
CONFIG_MTD_MTDRAM=m
CONFIG_MTDRAM_TOTAL_SIZE=4096
CONFIG_MTDRAM_ERASE_SIZE=128
CONFIG_MTD_BLOCK2MTD=m

#
# Disk-On-Chip Device Drivers
#
CONFIG_MTD_DOC2000=m
CONFIG_MTD_DOC2001=m
CONFIG_MTD_DOC2001PLUS=m
CONFIG_MTD_DOCPROBE=m
CONFIG_MTD_DOCECC=m
CONFIG_MTD_DOCPROBE_ADVANCED=y
CONFIG_MTD_DOCPROBE_ADDRESS=0x0000
CONFIG_MTD_DOCPROBE_HIGH=y
CONFIG_MTD_DOCPROBE_55AA=y

#
# NAND Flash Device Drivers
#
CONFIG_MTD_NAND=m
# CONFIG_MTD_NAND_VERIFY_WRITE is not set
# CONFIG_MTD_NAND_ECC_SMC is not set
CONFIG_MTD_NAND_IDS=m
CONFIG_MTD_NAND_DISKONCHIP=m
# CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADVANCED is not set
CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADDRESS=0
CONFIG_MTD_NAND_DISKONCHIP_BBTWRITE=y
# CONFIG_MTD_NAND_CAFE is not set
# CONFIG_MTD_NAND_CS553X is not set
# CONFIG_MTD_NAND_NANDSIM is not set

#
# OneNAND Flash Device Drivers
#
CONFIG_MTD_ONENAND=m
# CONFIG_MTD_ONENAND_VERIFY_WRITE is not set
# CONFIG_MTD_ONENAND_OTP is not set

#
# Parallel port support
#
# CONFIG_PARPORT is not set

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

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

#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_XD 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 is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_UB is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_INITRD is not set
CONFIG_CDROM_PKTCDVD=m
CONFIG_CDROM_PKTCDVD_BUFFERS=8
# CONFIG_CDROM_PKTCDVD_WCACHE is not set
# CONFIG_ATA_OVER_ETH is not set

#
# Misc devices
#
# CONFIG_IBM_ASM is not set
# CONFIG_SGI_IOC4 is not set
CONFIG_TIFM_CORE=m
CONFIG_TIFM_7XX1=m
# CONFIG_ASUS_LAPTOP is not set
# CONFIG_MSI_LAPTOP is not set
# CONFIG_SONY_LAPTOP is not set

#
# ATA/ATAPI/MFM/RLL support
#
# CONFIG_IDE is not set

#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
# CONFIG_SCSI_TGT is not set
# CONFIG_SCSI_NETLINK is not set
CONFIG_SCSI_PROC_FS=y

#
# 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

#
# 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_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 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_IN2000 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_DTC3280 is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_STEX is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS 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_SEAGATE is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG 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

#
# Serial ATA (prod) and Parallel ATA (experimental) drivers
#
CONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not set
# 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_SATA_ACPI=y
# 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_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_ISAPNP is not set
# CONFIG_PATA_IT821X is not set
# CONFIG_PATA_IT8213 is not set
# CONFIG_PATA_JMICRON is not set
# CONFIG_PATA_LEGACY 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_QDI 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
# CONFIG_PATA_WINBOND_VLB is not set

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

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

#
# Fusion MPT device support
#
# 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_IEEE1394=y

#
# Subsystem Options
#
# CONFIG_IEEE1394_VERBOSEDEBUG is not set
CONFIG_IEEE1394_EXTRA_CONFIG_ROMS=y
CONFIG_IEEE1394_CONFIG_ROM_IP1394=y

#
# Device Drivers
#
# CONFIG_IEEE1394_PCILYNX is not set
CONFIG_IEEE1394_OHCI1394=y

#
# Protocol Drivers
#
CONFIG_IEEE1394_VIDEO1394=y
CONFIG_IEEE1394_SBP2=m
CONFIG_IEEE1394_SBP2_PHYS_DMA=y
CONFIG_IEEE1394_ETH1394=m
# CONFIG_IEEE1394_DV1394 is not set
CONFIG_IEEE1394_RAWIO=y

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Macintosh device drivers
#
# CONFIG_MAC_EMUMOUSEBTN is not set

#
# Network device support
#
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_NET_SB1000 is not set

#
# ARCnet devices
#
# CONFIG_ARCNET is not set

#
# PHY device support
#

#
# Ethernet (10 or 100Mbit)
#
# CONFIG_NET_ETHERNET is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
CONFIG_E1000=y
CONFIG_E1000_NAPI=y
CONFIG_E1000_DISABLE_PACKET_SPLIT=y
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SIS190 is not set
# CONFIG_SKGE is not set
# CONFIG_SKY2 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set
# CONFIG_BNX2 is not set
# CONFIG_QLA3XXX is not set
# CONFIG_ATL1 is not set

#
# Ethernet (10000 Mbit)
#
# CONFIG_CHELSIO_T1 is not set
# CONFIG_CHELSIO_T3 is not set
# CONFIG_IXGB is not set
# CONFIG_S2IO is not set
# CONFIG_MYRI10GE is not set
# CONFIG_NETXEN_NIC is not set

#
# Token Ring devices
#
# CONFIG_TR is not set

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

#
# Obsolete Wireless cards support (pre-802.11)
#
# CONFIG_STRIP is not set
# CONFIG_ARLAN is not set
# CONFIG_WAVELAN is not set
# CONFIG_PCMCIA_WAVELAN is not set
# CONFIG_PCMCIA_NETWAVE is not set

#
# Wireless 802.11 Frequency Hopping cards support
#
# CONFIG_PCMCIA_RAYCS is not set

#
# Wireless 802.11b ISA/PCI cards support
#
# CONFIG_IPW2100 is not set
# CONFIG_IPW2200 is not set
# CONFIG_AIRO is not set
# CONFIG_HERMES is not set
# CONFIG_ATMEL is not set

#
# Wireless 802.11b Pcmcia/Cardbus cards support
#
# CONFIG_AIRO_CS is not set
# CONFIG_PCMCIA_WL3501 is not set

#
# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support
#
# CONFIG_PRISM54 is not set
# CONFIG_USB_ZD1201 is not set
# CONFIG_HOSTAP is not set
# CONFIG_BCM43XX is not set
# CONFIG_ZD1211RW is not set
CONFIG_NET_WIRELESS=y

#
# PCMCIA network device support
#
# CONFIG_NET_PCMCIA is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI 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 is not set

#
# 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 is not set
# 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_SERIAL=m
# CONFIG_MOUSE_INPORT is not set
# CONFIG_MOUSE_LOGIBM is not set
# CONFIG_MOUSE_PC110PAD is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=y
CONFIG_INPUT_WISTRON_BTNS=y
# CONFIG_INPUT_ATLAS_BTNS is not set
CONFIG_INPUT_UINPUT=m

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=m
# CONFIG_SERIO_CT82C710 is not set
CONFIG_SERIO_PCIPS2=y
CONFIG_SERIO_LIBPS2=y
CONFIG_SERIO_RAW=m
# 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=m
CONFIG_SERIAL_8250_PCI=m
CONFIG_SERIAL_8250_PNP=m
CONFIG_SERIAL_8250_CS=m
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
# CONFIG_SERIAL_8250_MANY_PORTS is not set
# CONFIG_SERIAL_8250_SHARE_IRQ is not set
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
# CONFIG_SERIAL_8250_RSA is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=m
# CONFIG_SERIAL_JSM is not set
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
# 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=y
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set
# CONFIG_AGP 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_MGA 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 is not set
# 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

#
# I2C support
#
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y

#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=y
CONFIG_I2C_ALGOPCF=m
CONFIG_I2C_ALGOPCA=m

#
# 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=m
CONFIG_I2C_I810=m
CONFIG_I2C_PIIX4=m
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_PASEMI is not set
# CONFIG_I2C_PROSAVAGE is not set
# CONFIG_I2C_SAVAGE4 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_VIA is not set
# CONFIG_I2C_VIAPRO is not set
# CONFIG_I2C_VOODOO3 is not set
# CONFIG_I2C_PCA_ISA is not set

#
# Miscellaneous I2C Chip support
#
# CONFIG_SENSORS_DS1337 is not set
# CONFIG_SENSORS_DS1374 is not set
# CONFIG_SENSORS_EEPROM is not set
# 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=y
# CONFIG_SPI_DEBUG is not set
CONFIG_SPI_MASTER=y

#
# SPI Master Controller Drivers
#
CONFIG_SPI_BITBANG=m

#
# SPI Protocol Masters
#
# CONFIG_SPI_AT25 is not set

#
# Dallas's 1-wire bus
#
# CONFIG_W1 is not set

#
# Hardware Monitoring support
#
CONFIG_HWMON=m
# CONFIG_HWMON_VID is not set
# CONFIG_SENSORS_ABITUGURU is not set
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
# CONFIG_SENSORS_ADM1029 is not set
# CONFIG_SENSORS_ADM1031 is not set
# CONFIG_SENSORS_ADM9240 is not set
# CONFIG_SENSORS_K8TEMP is not set
# CONFIG_SENSORS_ASB100 is not set
# CONFIG_SENSORS_ATXP1 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_FSCHER is not set
# CONFIG_SENSORS_FSCPOS is not set
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM is not set
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_LM63 is not set
# CONFIG_SENSORS_LM70 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM77 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM80 is not set
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_SMSC47M192 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_VT1211 is not set
# CONFIG_SENSORS_VT8231 is not set
# CONFIG_SENSORS_W83781D is not set
# CONFIG_SENSORS_W83791D is not set
# CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83793 is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83627HF is not set
# CONFIG_SENSORS_W83627EHF is not set
# CONFIG_SENSORS_HDAPS is not set
# CONFIG_HWMON_DEBUG_CHIP is not set

#
# Multifunction device drivers
#
# CONFIG_MFD_SM501 is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

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

#
# Graphics support
#
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_LCD_CLASS_DEVICE=y
# CONFIG_BACKLIGHT_PROGEAR is not set
# CONFIG_FB is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_VGACON_SOFT_SCROLLBACK=y
CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=128
CONFIG_VIDEO_SELECT=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y

#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

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

#
# ISA devices
#
# CONFIG_SND_ADLIB is not set
# CONFIG_SND_AD1816A is not set
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_ALS100 is not set
# CONFIG_SND_AZT2320 is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_DT019X is not set
# CONFIG_SND_ES968 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_MIRO is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set
# CONFIG_SND_WAVEFRONT 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=m
# 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 is not set
# CONFIG_SND_INTEL8X0M is not set
# 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

#
# USB devices
#
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set

#
# PCMCIA devices
#
# CONFIG_SND_VXPOCKET is not set
# CONFIG_SND_PDAUDIOCF is not set

#
# SoC audio support
#
# CONFIG_SND_SOC is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# HID Devices
#
CONFIG_HID=y
# CONFIG_HID_DEBUG 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_DYNAMIC_MINORS is not set
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=y
# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=y
CONFIG_USB_SL811_HCD=m
CONFIG_USB_SL811_CS=m

#
# USB Device Class drivers
#
CONFIG_USB_ACM=m
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=m
CONFIG_USB_STORAGE_DEBUG=y
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_DPCM=y
CONFIG_USB_STORAGE_USBAT=y
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_STORAGE_JUMPSHOT=y
CONFIG_USB_STORAGE_ALAUDA=y
CONFIG_USB_STORAGE_KARMA=y
CONFIG_USB_LIBUSUAL=y

#
# USB Input Devices
#
CONFIG_USB_HID=m
# CONFIG_USB_HIDINPUT_POWERBOOK is not set
# CONFIG_HID_FF is not set
CONFIG_USB_HIDDEV=y

#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_USB_AIPTEK is not set
CONFIG_USB_WACOM=m
# CONFIG_USB_ACECAD is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_TOUCHSCREEN is not set
# CONFIG_USB_YEALINK is not set
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set
# CONFIG_USB_ATI_REMOTE2 is not set
# CONFIG_USB_KEYSPAN_REMOTE is not set
# CONFIG_USB_APPLETOUCH is not set
# CONFIG_USB_GTCO is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK 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_USB_MON=y

#
# USB port drivers
#

#
# 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 is not set
# 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=m
# 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 is not set
# 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_TEST is not set

#
# USB DSL modem support
#

#
# USB Gadget Support
#
CONFIG_USB_GADGET=y
# CONFIG_USB_GADGET_DEBUG_FILES is not set
CONFIG_USB_GADGET_SELECTED=y
# CONFIG_USB_GADGET_NET2280 is not set
# CONFIG_USB_GADGET_PXA2XX is not set
CONFIG_USB_GADGET_GOKU=y
CONFIG_USB_GOKU=y
# CONFIG_USB_GADGET_LH7A40X is not set
# CONFIG_USB_GADGET_OMAP is not set
# CONFIG_USB_GADGET_AT91 is not set
# CONFIG_USB_GADGET_DUMMY_HCD is not set
# CONFIG_USB_GADGET_DUALSPEED is not set
# CONFIG_USB_ZERO is not set
# CONFIG_USB_ETH is not set
CONFIG_USB_GADGETFS=m
CONFIG_USB_FILE_STORAGE=m
# CONFIG_USB_FILE_STORAGE_TEST is not set
CONFIG_USB_G_SERIAL=m
# CONFIG_USB_MIDI_GADGET is not set

#
# MMC/SD Card support
#
CONFIG_MMC=m
# CONFIG_MMC_DEBUG is not set
CONFIG_MMC_BLOCK=m
CONFIG_MMC_SDHCI=m
CONFIG_MMC_WBSD=m
CONFIG_MMC_TIFM_SD=m

#
# LED devices
#
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=m

#
# LED drivers
#

#
# LED Triggers
#
CONFIG_LEDS_TRIGGERS=y
CONFIG_LEDS_TRIGGER_TIMER=m
CONFIG_LEDS_TRIGGER_HEARTBEAT=m

#
# InfiniBand support
#
# CONFIG_INFINIBAND is not set

#
# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
#
CONFIG_EDAC=m

#
# Reporting subsystems
#
# CONFIG_EDAC_DEBUG is not set
CONFIG_EDAC_MM_EDAC=m
# CONFIG_EDAC_AMD76X is not set
# CONFIG_EDAC_E7XXX is not set
# CONFIG_EDAC_E752X is not set
CONFIG_EDAC_I82875P=m
CONFIG_EDAC_I82860=m
# CONFIG_EDAC_R82600 is not set
CONFIG_EDAC_POLL=y

#
# Real Time Clock
#
CONFIG_RTC_LIB=m
CONFIG_RTC_CLASS=m

#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=m
CONFIG_RTC_INTF_PROC=m
CONFIG_RTC_INTF_DEV=m
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set

#
# RTC drivers
#
# CONFIG_RTC_DRV_CMOS is not set
# CONFIG_RTC_DRV_X1205 is not set
# CONFIG_RTC_DRV_DS1307 is not set
# CONFIG_RTC_DRV_DS1553 is not set
# CONFIG_RTC_DRV_ISL1208 is not set
# CONFIG_RTC_DRV_DS1672 is not set
# CONFIG_RTC_DRV_DS1742 is not set
# CONFIG_RTC_DRV_PCF8563 is not set
# CONFIG_RTC_DRV_PCF8583 is not set
# CONFIG_RTC_DRV_RS5C348 is not set
# CONFIG_RTC_DRV_RS5C372 is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_TEST is not set
# CONFIG_RTC_DRV_MAX6902 is not set
# CONFIG_RTC_DRV_V3020 is not set

#
# DMA Engine support
#
CONFIG_DMA_ENGINE=y

#
# DMA Clients
#
CONFIG_NET_DMA=y

#
# DMA Devices
#
CONFIG_INTEL_IOATDMA=y

#
# Auxiliary Display support
#

#
# Virtualization
#
# CONFIG_KVM is not set

#
# File systems
#
CONFIG_EXT2_FS=m
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XIP is not set
CONFIG_EXT3_FS=m
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not set
# CONFIG_EXT4DEV_FS is not set
CONFIG_JBD=m
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=m
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_REISERFS_FS_XATTR is not set
CONFIG_JFS_FS=m
# CONFIG_JFS_POSIX_ACL is not set
# CONFIG_JFS_SECURITY is not set
# CONFIG_JFS_DEBUG is not set
# CONFIG_JFS_STATISTICS is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_XFS_FS=m
# CONFIG_XFS_QUOTA is not set
# CONFIG_XFS_SECURITY is not set
# CONFIG_XFS_POSIX_ACL is not set
# CONFIG_XFS_RT is not set
# 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_DNOTIFY=y
CONFIG_AUTOFS_FS=y
CONFIG_AUTOFS4_FS=y
# CONFIG_FUSE_FS is not set

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

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-2"
CONFIG_NTFS_FS=m
# 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 is not set
# 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 is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
CONFIG_JFFS2_FS=m
CONFIG_JFFS2_FS_DEBUG=0
CONFIG_JFFS2_FS_WRITEBUFFER=y
# CONFIG_JFFS2_SUMMARY is not set
# CONFIG_JFFS2_FS_XATTR is not set
# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
CONFIG_JFFS2_ZLIB=y
CONFIG_JFFS2_RTIME=y
# CONFIG_JFFS2_RUBIN is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
CONFIG_HPFS_FS=m
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS 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_RPCSEC_GSS_KRB5=m
# CONFIG_RPCSEC_GSS_SPKM3 is not set
CONFIG_SMB_FS=m
# CONFIG_SMB_NLS_DEFAULT is not set
CONFIG_CIFS=m
CONFIG_CIFS_STATS=y
# CONFIG_CIFS_STATS2 is not set
# CONFIG_CIFS_WEAK_PW_HASH is not set
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 is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
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 is not set

#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-2"
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_CODEPAGE_737=m
CONFIG_NLS_CODEPAGE_775=m
CONFIG_NLS_CODEPAGE_850=m
CONFIG_NLS_CODEPAGE_852=y
CONFIG_NLS_CODEPAGE_855=m
CONFIG_NLS_CODEPAGE_857=m
CONFIG_NLS_CODEPAGE_860=m
CONFIG_NLS_CODEPAGE_861=m
CONFIG_NLS_CODEPAGE_862=m
CONFIG_NLS_CODEPAGE_863=m
CONFIG_NLS_CODEPAGE_864=m
CONFIG_NLS_CODEPAGE_865=m
CONFIG_NLS_CODEPAGE_866=m
CONFIG_NLS_CODEPAGE_869=m
CONFIG_NLS_CODEPAGE_936=m
CONFIG_NLS_CODEPAGE_950=m
CONFIG_NLS_CODEPAGE_932=m
CONFIG_NLS_CODEPAGE_949=m
CONFIG_NLS_CODEPAGE_874=m
CONFIG_NLS_ISO8859_8=m
CONFIG_NLS_CODEPAGE_1250=y
CONFIG_NLS_CODEPAGE_1251=m
CONFIG_NLS_ASCII=y
CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_ISO8859_2=y
CONFIG_NLS_ISO8859_3=m
CONFIG_NLS_ISO8859_4=m
CONFIG_NLS_ISO8859_5=m
CONFIG_NLS_ISO8859_6=m
CONFIG_NLS_ISO8859_7=m
CONFIG_NLS_ISO8859_9=m
CONFIG_NLS_ISO8859_13=m
CONFIG_NLS_ISO8859_14=m
CONFIG_NLS_ISO8859_15=m
CONFIG_NLS_KOI8_R=m
CONFIG_NLS_KOI8_U=m
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=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_UNUSED_SYMBOLS=y
# CONFIG_DEBUG_FS is not set
# CONFIG_HEADERS_CHECK is not set
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SHIRQ is not set
CONFIG_LOG_BUF_SHIFT=17
CONFIG_DETECT_SOFTLOCKUP=y
# CONFIG_SCHEDSTATS is not set
# CONFIG_TIMER_STATS is not set
# CONFIG_DEBUG_SLAB 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=y
# 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=y
# 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=y
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_MPPARSE=y
CONFIG_DOUBLEFAULT=y

#
# Security options
#
# CONFIG_KEYS is not set
CONFIG_SECURITY=y
# CONFIG_SECURITY_NETWORK is not set
CONFIG_SECURITY_CAPABILITIES=y
# CONFIG_SECURITY_ROOTPLUG is not set

#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_BLKCIPHER=m
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_XCBC is not set
CONFIG_CRYPTO_NULL=m
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=m
CONFIG_CRYPTO_SHA256=m
CONFIG_CRYPTO_SHA512=m
CONFIG_CRYPTO_WP512=m
CONFIG_CRYPTO_TGR192=m
# CONFIG_CRYPTO_GF128MUL is not set
CONFIG_CRYPTO_ECB=m
CONFIG_CRYPTO_CBC=m
CONFIG_CRYPTO_PCBC=m
# CONFIG_CRYPTO_LRW is not set
CONFIG_CRYPTO_DES=m
# CONFIG_CRYPTO_FCRYPT is not set
CONFIG_CRYPTO_BLOWFISH=m
CONFIG_CRYPTO_TWOFISH=m
CONFIG_CRYPTO_TWOFISH_COMMON=m
CONFIG_CRYPTO_TWOFISH_586=m
CONFIG_CRYPTO_SERPENT=m
CONFIG_CRYPTO_AES=m
CONFIG_CRYPTO_AES_586=m
CONFIG_CRYPTO_CAST5=m
CONFIG_CRYPTO_CAST6=m
CONFIG_CRYPTO_TEA=m
CONFIG_CRYPTO_ARC4=m
CONFIG_CRYPTO_KHAZAD=m
CONFIG_CRYPTO_ANUBIS=m
CONFIG_CRYPTO_DEFLATE=m
CONFIG_CRYPTO_MICHAEL_MIC=m
CONFIG_CRYPTO_CRC32C=m
# CONFIG_CRYPTO_CAMELLIA is not set
CONFIG_CRYPTO_TEST=m

#
# Hardware crypto devices
#
# CONFIG_CRYPTO_DEV_PADLOCK is not set
CONFIG_CRYPTO_DEV_GEODE=m

#
# Library routines
#
CONFIG_BITREVERSE=y
CONFIG_CRC_CCITT=y
CONFIG_CRC16=m
CONFIG_CRC32=y
CONFIG_LIBCRC32C=m
CONFIG_ZLIB_INFLATE=m
CONFIG_ZLIB_DEFLATE=m
CONFIG_REED_SOLOMON=m
CONFIG_REED_SOLOMON_DEC16=y
CONFIG_TEXTSEARCH=y
CONFIG_TEXTSEARCH_KMP=m
CONFIG_TEXTSEARCH_BM=m
CONFIG_TEXTSEARCH_FSM=m
CONFIG_PLIST=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_PENDING_IRQ=y
CONFIG_X86_SMP=y
CONFIG_X86_HT=y
CONFIG_X86_BIOS_REBOOT=y
CONFIG_X86_TRAMPOLINE=y
CONFIG_KTIME_SCALAR=y
Comment 17 José María Fernández González 2007-04-14 16:31:01 UTC
I am also an user of a Toshiba Tecra M5-384 with the same features as Maciek's
one, and I have the same problem. Looking for clues on Google about this
problem, I've just found the next Ubuntu bug report about a different Toshiba model:

https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/90771

and I have discovered that it is the same problem! My laptop suspended to RAM
approximately after 3 minutes, and it seemed the CPU was doing something in the
meanwhile, because fans went to full speed after some seconds.

My distro is Gentoo x86. I made the test with 2.6.21-rc6-git7 vanilla kernel
twice, with success. Neither wireless (ipw3945) nor graphics driver (nvidia
proprietary driver) were compiled for this kernel, and although VESA driver was
compiled, kernel was booted in text mode using next grub line:

kernel /boot/git/vmlinuz root=/dev/sda3 resume2=/dev/sda2 libata.fua=1
psmouse.rate=40

My kernel config, in my next attachment.
Comment 18 José María Fernández González 2007-04-14 16:36:40 UTC
Created attachment 11145 [details]
Kernel config file

This kernel config file has all the needed drivers for the laptop, but the
proprietary ones. Although the kernel has many debug options checked (I had the
hope of getting some valuable debug info) about SCSI, power management and
ACPI, no one of them gave me a clue. The suspension was done using hibernate
script, forcing it to remove all the modules before suspension.
Comment 19 José María Fernández González 2007-04-14 17:14:43 UTC
I have also tested with my daily work kernel (2.6.19-suspend2-r1, which has both
Gentoo and suspend2 patches), which has more or less the same configuration as
the one in my previous submission. In this case, it took twice (around 6
minutes) to suspend to RAM.

Both nvidia and ipw3945 drivers were loaded in this case, and no module was
neither unloaded nor forced to unload.

So, I guess the problem is related to SATA suspension or whatever is suspended
after SATA.
Comment 20 Zhang Rui 2007-04-16 01:57:40 UTC
I think there should be some BIOS settings about SATA mode.
Try to config them as "Enhanced AHCI".
Then recompile the kernel with CONFIG_SATA_AHCI=y.
Just a suggestion. Reverse the BIOS setting changes if the kernel fail to boot 
then. :)
Comment 21 José María Fernández González 2007-04-16 10:05:27 UTC
The BIOS of this laptop does not have such option, so I'm tied :-(

And it seems Toshiba is not going to provide it, because neither old (1.70) nor
new (3.10) BIOS has it.
Comment 22 José María Fernández González 2007-04-16 12:14:47 UTC
Errata: Last BIOS version for Toshiba Tecra M5-384 is 3.20, not 3.10. I mistyped
it, sorry.
Comment 23 José María Fernández González 2007-04-16 16:45:46 UTC
As #8 says, the problem is on the generic suspend code, and I found the source
of the problem.

Although I'm not a kernel hacker, I have C and hardware programming knowledge. I
have been narrowing the problem, following the codepath. At last, the problem is
on the generic suspend code, at function ata_pci_device_do_suspend (file
drivers/ata/libata-core.c). It seems this hardware does not like entering on
PCI_D3hot state (at least as it is done by the generic code), because once I
disabled that call inside the function body my laptop suspended to RAM (and
resumed) with no apparent disk problem.

Now it is the time of the hardware gurus, because the SATA controller is
advertised on the PCI bus as D3hot capable.
Comment 24 José María Fernández González 2007-05-01 03:52:12 UTC
New BIOS for Toshiba Tecra M5-384, 3.30, does not solve the problem.
Tested with latest release kernel 2.6.21.
Comment 25 Maciek 2007-05-18 08:43:39 UTC
I installed kernel 2.6.22-rc1. My system still need 5 minutes to suspend to ram.
Comment 26 Tejun Heo 2007-06-18 21:04:08 UTC
Please post the result of 'dmidecode' and 'lspci -nnv'.
Comment 27 José María Fernández González 2007-06-19 03:06:51 UTC
Created attachment 11791 [details]
dmidecode dump from Toshiba Tecra M5
Comment 28 José María Fernández González 2007-06-19 03:07:40 UTC
Created attachment 11792 [details]
lspci -nnv dump from Toshiba Tecra M5
Comment 29 José María Fernández González 2007-06-19 03:08:59 UTC
I have just tested kernel 2.6.22-rc5-git2 and the problem remains. Just attached dumps have been obtained from it.
Comment 30 Tejun Heo 2007-06-19 22:53:51 UTC
Created attachment 11807 [details]
skip-pci-disable-and-suspend-on-tecra-m5.patch

Please try the attached patch and report the result.
Comment 31 José María Fernández González 2007-06-20 01:56:51 UTC
The patch works (the laptop suspends and resumes in the same session with no problem), but I have got the next warning message for ata_piix each time I resumed:

Jun 20 10:43:25 olympo ata_piix 0000:00:1f.2: resuming
Jun 20 10:43:25 olympo PM: Writing back config space on device 0000:00:1f.2 at offset f (was 2ff, writing 20b)
Jun 20 10:43:25 olympo WARNING: at drivers/pci/pci.c:822 pcim_enable_device()
Jun 20 10:43:25 olympo [<c0208b3c>] pcim_enable_device+0xbc/0xd0
Jun 20 10:43:25 olympo [<c0291412>] ata_pci_device_do_resume+0x22/0x80
Jun 20 10:43:25 olympo [<c0291925>] ata_pci_device_resume+0x15/0x30
Jun 20 10:43:25 olympo [<c020b21f>] pci_device_resume+0x1f/0x60
Jun 20 10:43:25 olympo [<c020b200>] pci_device_resume+0x0/0x60
Jun 20 10:43:25 olympo [<c0268403>] resume_device+0x93/0x1a0
Jun 20 10:43:25 olympo [<c023c302>] acpi_get_table_by_index+0x61/0x67
Jun 20 10:43:25 olympo [<c02685c0>] dpm_resume+0xb0/0xd0
Jun 20 10:43:25 olympo [<c0268603>] device_resume+0x23/0x40
Jun 20 10:43:25 olympo [<c014c2ea>] enter_state+0x16a/0x1e0
Jun 20 10:43:25 olympo [<c014c4b9>] state_store+0x119/0x130
Jun 20 10:43:25 olympo [<c014c3a0>] state_store+0x0/0x130
Jun 20 10:43:25 olympo [<c01b0020>] subsys_attr_store+0x30/0x40
Jun 20 10:43:25 olympo [<c01b0197>] sysfs_write_file+0xb7/0x110
Jun 20 10:43:25 olympo [<c0175b46>] vfs_write+0xa6/0x140
Jun 20 10:43:25 olympo [<c01b00e0>] sysfs_write_file+0x0/0x110
Jun 20 10:43:25 olympo [<c0176211>] sys_write+0x41/0x70
Jun 20 10:43:25 olympo [<c01040ea>] sysenter_past_esp+0x5f/0x85
Jun 20 10:43:25 olympo =======================
Jun 20 10:43:25 olympo PCI: Setting latency timer of device 0000:00:1f.2 to 64
Comment 32 Tejun Heo 2007-06-20 02:03:16 UTC
Created attachment 11811 [details]
skip-pci-disable-and-suspend-on-tecra-m5-and-satellite-U205-take2.patch

Good, that's a progress.  How does this patch work?
Comment 33 José María Fernández González 2007-06-20 02:24:04 UTC
Unfortunately, this second patch didn't work, as it worked the same as without any patch.
Comment 34 José María Fernández González 2007-06-20 02:24:28 UTC
About the first patch, I found a side effect of suspending to RAM and resuming on this laptop using it: when you reboot the laptop after a suspend/resume cycle and Linux is booting again, the wired network driver (e1000) complains about EEPROM checksum. The laptop must to a power-cycle (poweroff and then start) to get the driver working again. This was the message:

Jun 20 10:45:02 olympo Intel(R) PRO/1000 Network Driver - version 7.3.20-k2
Jun 20 10:45:02 olympo Copyright (c) 1999-2006 Intel Corporation.
Jun 20 10:45:02 olympo ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level,
low) -> IRQ 16
Jun 20 10:45:02 olympo PCI: Setting latency timer of device 0000:02:00.0 to 64
Jun 20 10:45:02 olympo e1000: 0000:02:00.0: e1000_probe: The EEPROM Checksum Is
Not Valid
Jun 20 10:45:02 olympo ACPI: PCI interrupt for device 0000:02:00.0 disabled
Jun 20 10:45:02 olympo e1000: probe of 0000:02:00.0 failed with error -5
Comment 35 Tejun Heo 2007-06-20 02:54:37 UTC
Created attachment 11812 [details]
skip-pci-disable-and-suspend-on-tecra-m5-and-satellite-U205-take3.patch

Please test this one.  Please also test hibernation (sleep-to-disk).  Are you sure that the EEPROM checksum problem is caused by this patch?
Comment 36 José María Fernández González 2007-06-20 12:25:16 UTC
As the second patch, this third one did not work.

About EEPROM checksum problem, I'm not sure. I guess that a hidden bug in e1000 driver suspend code has just arisen, just when suspend to RAM worked with the patch.

Now I'm going to test suspend-to-disk using 'echo disk > /sys/power/state' in the vanilla kernel 2.6.22-rc5-git2.

PS: With older kernels (2.6.19 AFAICR) patched with gentoo patchset plus suspend2 I got the laptop suspending to disk and resuming in my daily work, and then I had no problem with e1000.
Comment 37 José María Fernández González 2007-06-20 14:11:04 UTC
Plain suspend-to-disk (using echo disk > /sys/power/state) suspended, but it hanged on resume, just after reading the contents from the suspend partition and clearing the screen (only a blinking underscore cursor was there). After a few seconds, the system got hot because fans twisted at full speed. I left the system in that state at least 6 minutes, and nothing happened.

Kernel was 2.6.22_rc5-git2 with the first patch.
Comment 38 Tejun Heo 2007-06-20 20:12:12 UTC
That's weird the third and first patches are identical in the suspend path.  It only fixes a bug during resume.  Can you please verify the test again?  Thanks.
Comment 39 Maciek 2007-06-21 01:32:08 UTC
Patch
skip-pci-disable-and-suspend-on-tecra-m5-and-satellite-U205-take3.patch
also don't work on my computer. System suspend after 5,5 minutes.
Comment 40 Maciek 2007-06-21 02:04:42 UTC
Patch
skip-pci-disable-and-suspend-on-tecra-m5-and-satellite-U205-take2.patch
also don't work on my computer. System suspend after 5,5 minutes.

My kernel: 2.6.22-rc5-git4
Comment 41 José María Fernández González 2007-06-21 10:00:51 UTC
I have tested again skip-pci-disable-and-suspend-on-tecra-m5-and-satellite-U205-take3.patch, and it did not work.
Comment 42 José María Fernández González 2007-06-21 10:07:20 UTC
(In reply to comment #35)
>
> Please test this one.  Please also test hibernation (sleep-to-disk).  Are you
> sure that the EEPROM checksum problem is caused by this patch?
> 

Using again the first patch, I have realized that EEPROM checksum problem does not arise when the laptop is plugged to wired-network before suspension and after resume. I'm using ifplugd to automatically disable/enable wired-network configuration. So, I think that e1000 problem is not related to this one.
Comment 43 Rafael J. Wysocki 2007-06-22 09:43:20 UTC
(In reply to comment #37)
> Plain suspend-to-disk (using echo disk > /sys/power/state) suspended, but it
> hanged on resume, just after reading the contents from the suspend partition
> and clearing the screen (only a blinking underscore cursor was there). After
> a
> few seconds, the system got hot because fans twisted at full speed. I left
> the
> system in that state at least 6 minutes, and nothing happened.
> 
> Kernel was 2.6.22_rc5-git2 with the first patch.

Can you please apply the patchset from

http://www.sisk.pl/kernel/hibernation_and_suspend/2.6.22-rc5/patches/

and the patch from Comment #35 on top of 2.6.22-rc5 and retest the hibernation (echo disk > /sys/power/state)?
Comment 44 José María Fernández González 2007-06-22 13:44:07 UTC
I have tested the kernel 2.6.22-rc5-git2 with the patchset and comment #35 patch, I suspended-to-disk, and it hanged on resume as before. But at least this time the screen was not cleared once the contents from the suspend partition were read. Next lines remained (more or less, I had to write it down and later retyping it to a file):

Stopping tasks ... done
Loading image data pages (25708 pages) ... done
Read 102832 kbytes in 6.85 seconds (15.01 MB/s)
sd 0:0:0:0: [sda] Synchronizing SCSI cache
ACPI: PCI interrupt for device 0000:00:1f.2 disabled
Disabling non-boot CPUs ...
CPU1 is now offline
SMP alternatives: switching to UP code
CPU1 is down
Comment 45 Tejun Heo 2007-07-02 21:47:46 UTC
Created attachment 11929 [details]
skip-pci-disable-and-suspend-on-tecra-m5-and-satellite-U205-take4.patch

Please test this one.  Thanks.
Comment 46 Tejun Heo 2007-07-02 21:48:23 UTC
Oh.. the patch is on top of 2.6.22-rc7.
Comment 47 José María Fernández González 2007-07-03 11:20:25 UTC
I just tested your last patch with 2.6.22-rc7, and no luck :-(
Comment 48 Tejun Heo 2007-07-03 21:23:16 UTC
Created attachment 11941 [details]
skip-pci-disable-and-suspend-on-tecra-m5-and-satellite-U205-take5.patch

I made a stupid mistake in dmi table initializer.  Please test this one.  Thanks.
Comment 49 Tejun Heo 2007-07-03 21:25:07 UTC
*** Bug 8456 has been marked as a duplicate of this bug. ***
Comment 50 Maciek 2007-07-04 07:50:24 UTC
I tested skip-pci-disable-and-suspend-on-tecra-m5-and-satellite-U205-take5.patch with kernel 2.6.22-rc6-git3 - suspend to ram works fine. Suspend to disk still don't work. System suspends normally but hangs during wake-up.
I think, It looks different then with earlier patch.
I can see;
pnp: Failed to activate device 00:06
pnp: Failed to activate device00:07
pnp: Device 00:0c activated.
cursor blinks near this - I think that next messages are left from suspending the system.

I have also an off-topic question to José:
Are you able to suspend form X environment (nvidia drivers).
Comment 51 Maciek 2007-07-04 08:13:08 UTC
I forgotten to write that after failed resume, system FAN start to work fast. Looks like processor is doing something. Magic SysReq keys don't work.
Comment 52 Maciek 2007-07-04 09:15:10 UTC
I tested suspend to disk again. It suspends normal. During resume this time system hangs with message: Suspending Consoles. It looks different than I wrote in my previous message. The fan is still working fast and SysReq keys don't work.
I waited more than 30 minutes - nothing changed.
Comment 53 Paulo J. S. Silva 2007-07-04 13:38:14 UTC
I tested take5 in my U205 laptop. It works for both s2ram and s2disk. 

The s2disk hangs in resume if I use a splash screen. Maciek, are you using a slash screen? Without the splash screen, resume works fine. Note that this problem is probably not related with the suspend patch as I have the same problem without the patch since 2.6.22-rc5. I did not compile the newer 2.6.22-rc7 without the patch though, I will try now and post results.
Comment 54 Paulo J. S. Silva 2007-07-04 17:37:36 UTC
I have just confirmed, in a U205 laptop: 

s2disk + splash freezes on reboot in both vanilla rc7 and rc7 + take5 patch. 

s2disk without splash works on both cases.

It seems that the problems with s2disk + splash are not related to the take5 splash.
Comment 55 José María Fernández González 2007-07-05 07:12:47 UTC
Sorry for the delay (I have been traveling these days). I can confirm that this patch is working for suspend-to-RAM with my laptop (Toshiba Tecra M5) in 2.6.22-rc7. Now I'm going to test suspend-to-disk.

(In reply to comment #50)
> 
> I have also an off-topic question to José:
> Are you able to suspend form X environment (nvidia drivers).
> 

I have also tested nvidia 100.14.09 driver with suspend-to-RAM, and it worked with no problem.
Comment 56 José María Fernández González 2007-07-05 08:23:13 UTC
Suspend-To-Disk (echo disk > /sys/power/state) did not work for me. Suspension itself worked, but once it resumes, my screen shows vertical bars with a blinking cursor on the middle-left (more or less).
Comment 57 José María Fernández González 2007-07-06 09:26:23 UTC
I have just got working suspend-to-disk! I just set up the VESA framebuffer in the kernel, and I added 'vga=0x31B video=vesafb:mtrr:3,ywrap' kernel boot parameters to grub in order to get a graphical boot.

So, I guess that suspend-to-disk is hanging on resume in plain vga mode.
Comment 58 José María Fernández González 2007-07-06 09:47:09 UTC
Sorry for the false alarm. I got suspend-to-disk only once, and my additional attempts have failed.
Comment 59 John Schember 2007-07-08 14:51:37 UTC
The U200 model is also effect by this bug.

After adding
{
  .ident = "Satellite U200",
    .matches = {
      DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
      DMI_MATCH(DMI_PRODUCT_NAME, "Satellite U200"),
    },
},
to static struct dmi_system_id piix_broken_suspend_dmi_table[] in the take5 patch, my U200 can suspend to RAM and disk with no problems.
Comment 60 Tejun Heo 2007-07-09 23:08:23 UTC
Okay, forwarding the patch upstream.  I think the failure to resume from STD is related to video not ATA.  Cc'ing Rafael for advice.

Rafael, these Toshiba laptops has two problems.

1. Suspend to ram takes long (at least several tens of seconds) and burns cpus during it.  Other than that, STR works.

2. The machine can't wake up from STD.  Seems to be related to video setting and splash screen during resume.

#1 is solved by the patch skip-pci-disable-and-suspend-on-tecra-m5-and-satellite-U205-take5.

Thanks.
Comment 61 Ismail Onur Filiz 2007-07-10 10:22:59 UTC
Thanks for all your work and making suspend to RAM possible for me after years Tejun. My Tecra M3 also had this problem. Replacing the lines:

+       if (dmi_check_system(piix_broken_suspend_dmi_table) &&
+           mesg.event == PM_EVENT_SUSPEND) {

in the patch with:

+       if (true &&
+           mesg.event == PM_EVENT_SUSPEND) {

my laptop can suspend to and resume from RAM and disk without problems in a text console. If I do it from within X or in a framebuffer console it has problems resuming the video card, but I guess it's not relevant to this bug. I tried adding:

+ {
+               .ident = "TECRA M3",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "TECRA M3"),
+               },
+       },

to piix_broken_suspend_dmi_table[] definition, but it doesn't work. How can I find out what values to plug in there?

Again, thanks for your work.
Comment 62 Gabriel A. Devenyi 2007-07-10 10:40:37 UTC
Subject: Re:  System hangs when suspending to RAM - SATA

> to piix_broken_suspend_dmi_table[] definition, but it doesn't
> work. How can I find out what values to plug in there?

I think "dmidecode" on the command line should be able to dump enough
useful strings for you.
Comment 63 John Schember 2007-07-10 10:50:32 UTC
>> to piix_broken_suspend_dmi_table[] definition, but it doesn't
>> work. How can I find out what values to plug in there?

>I think "dmidecode" on the command line should be able to dump enough
>useful strings for you.

Specifically look for this section:
        Handle 0x0001, DMI type 1, 27 bytes.
        System Information

It will have something the following after it
        Manufacturer: TOSHIBA
        Product Name: Satellite U200
Comment 64 Ismail Onur Filiz 2007-07-10 11:07:18 UTC
Hmm, this doesn't look normal, does it?

dmidecode:
<snip>
Handle 0x0001, DMI type 1, 25 bytes
System Information
        Manufacturer: TOSHIBA
        Product Name: T
        Version: P
        Serial Number: 3
        UUID: 25B9D880-BFEC-11D3-8032-CD103A0AA453
        Wake-up Type: Power Switch
<snip>

dmidecode -u:
<snip>
Handle 0x0001, DMI type 1, 25 bytes
        Header and Data:
                01 19 01 00 01 02 03 04 25 B9 D8 80 BF EC 11 D3
                80 32 CD 10 3A 0A A4 53 06
        Strings:
                54 4F 53 48 49 42 41 00
                "TOSHIBA"
                54 00
                "T"
                50 00
                "P"
                33 00
                "3"
<snip>
Comment 65 Tejun Heo 2007-07-10 11:37:45 UTC
Please post full result of "dmidecode" and "lspci -nnv".  We just need something to uniquely identify the laptop.
Comment 66 Ismail Onur Filiz 2007-07-10 12:11:35 UTC
Created attachment 11993 [details]
dmidecode output for Toshiba Tecra M3
Comment 67 Ismail Onur Filiz 2007-07-10 12:12:15 UTC
Created attachment 11994 [details]
lspci -nnv output for Toshiba Tecra M3
Comment 68 Tejun Heo 2007-07-10 20:46:21 UTC
All subsystem IDs are 1179:0001 where 0001 doesn't seem to mean much.  They really didn't want to identify themselves.  It seems "T" and "P" combination is our best shot.  Anyone else out there with Tecra M3?  I wanna know how the Serial Number and UUID change on different machines.

Thanks.
Comment 69 Maciek 2007-07-11 04:31:34 UTC
I noticed an problem with wired network after suspend to ram. It looks a little like problem described by Jose some time ago.
System don't see eth0 after resume. I can't find anything interesting about thhhis event in logs. I had this problem once and can't reproduce it. I write it here because Hose reported sth. about network before. After reboot everything is OK. When this problem occurred, I suspended and resumed computer without ethernet cable connected.
Comment 70 Rafael J. Wysocki 2007-07-19 07:34:47 UTC
(In reply to comment #60)
> Okay, forwarding the patch upstream.  I think the failure to resume from STD
> is
> related to video not ATA.  Cc'ing Rafael for advice.
> 
> Rafael, these Toshiba laptops has two problems.
> 
> 1. Suspend to ram takes long (at least several tens of seconds) and burns
> cpus
> during it.  Other than that, STR works.
> 
> 2. The machine can't wake up from STD.  Seems to be related to video setting
> and splash screen during resume.
> 
> #1 is solved by the patch
> skip-pci-disable-and-suspend-on-tecra-m5-and-satellite-U205-take5.
> 
> Thanks.

Sorry for the delay.

Is the patch ready to go upstream?
Comment 71 Rafael J. Wysocki 2007-07-19 07:36:18 UTC
(In reply to comment #70)
> (In reply to comment #60)
> > Okay, forwarding the patch upstream.  I think the failure to resume from
> STD is
> > related to video not ATA.  Cc'ing Rafael for advice.
> > 
> > Rafael, these Toshiba laptops has two problems.
> > 
> > 1. Suspend to ram takes long (at least several tens of seconds) and burns
> cpus
> > during it.  Other than that, STR works.
> > 
> > 2. The machine can't wake up from STD.  Seems to be related to video
> setting
> > and splash screen during resume.
> > 
> > #1 is solved by the patch
> > skip-pci-disable-and-suspend-on-tecra-m5-and-satellite-U205-take5.
> > 
> > Thanks.
> 
> Sorry for the delay.
> 
> Is the patch ready to go upstream?

Sure, it is.  Sorry, I've overlooked the first line.

Has it been merged already?
Comment 72 Rafael J. Wysocki 2007-07-19 07:37:32 UTC
(In reply to comment #69)
> I noticed an problem with wired network after suspend to ram. It looks a
> little
> like problem described by Jose some time ago.
> System don't see eth0 after resume. I can't find anything interesting about
> thhhis event in logs. I had this problem once and can't reproduce it. I write
> it here because Hose reported sth. about network before. After reboot
> everything is OK. When this problem occurred, I suspended and resumed
> computer
> without ethernet cable connected.

What network adapter is there in your box?
Comment 73 Maciek 2007-07-19 12:07:12 UTC
My network adapter (lspci): Intel Corporation 82573L Gigabit Ethernet Controller
working on standard kernel e1000 driver.
After some time I noticed this problem few times. I think that it appear when I use wireless network (eth0 is down and cable unplugged) then I suspend. When I resume and I connect ethernet. System don't see eth0 device. I don't see anything special in dmesg, just there is no eth0. Lspci see Ethernet controller.
Suspending and resuming with ethernet cable plugged don't help. I have to restart the computer. Plugging cable before or after resume don't change anything.
Comment 74 Rafael J. Wysocki 2007-07-19 12:28:26 UTC
(In reply to comment #73)

Can you please create a separate bugzilla entry for this problems?

Also, someone having the hibernation (suspend to disk) problem related to the framebuffer, please create a separate entry for this issue.

I'd like to have this entry closed when the Tejun's patch from Comment #48 hits the mainline.
Comment 75 Tejun Heo 2007-07-19 21:39:14 UTC
Hmmm... I thought I forwarded the patch upstream but can't find any trace of it.  I'm probably being delusion again.  I'm forwarding the take 5.  I'll close this bug after Tecra M3 is fixed too.  Thanks Rafael.
Comment 76 John Schember 2007-07-19 21:45:39 UTC
Can you add support for the U200 before you send the patch upstream? You just have to add an entry identical to the U205 one but with U200 substituted for U205 in the dmi_system_id piix_broken_suspend_dmi_table.
Comment 77 Tejun Heo 2007-07-19 22:05:15 UTC
Oh crap, I _did_ forward the patch and it's sitting in Jeff's queue now.  Something is definitely wrong with my head.  :-(
Comment 78 Tejun Heo 2007-07-19 22:06:19 UTC
John, U200 is included in the pending patch.  Thanks.
Comment 79 Tejun Heo 2007-07-19 23:07:22 UTC
Created attachment 12074 [details]
skip-pci-disable-and-suspend-on-tecra-m5-and-satellite-U205-take6.patch

Ismail, please test whether this fixes tecra-m3.  Thanks.
Comment 80 Ismail Onur Filiz 2007-07-23 13:09:55 UTC
Which version is this patch on top of?
Comment 81 Tejun Heo 2007-07-23 23:37:20 UTC
The patch is on top of 2.6.22.
Comment 82 José María Fernández González 2007-07-24 01:36:28 UTC
Also, this last patch works on 2.6.23-rc1.
Comment 83 Ismail Onur Filiz 2007-07-25 20:57:11 UTC
Strange. The reason I asked is I get:

/linux-2.6.22 # patch -p1 --dry-run < ../skip-pci-disable-and-suspend-on-tecra-m5-and-satellite-U205-take6.patch
patching file drivers/ata/ata_piix.c
Hunk #4 succeeded at 261 (offset -2 lines).
Hunk #5 succeeded at 876 (offset -13 lines).
patching file drivers/pci/pci-driver.c
patching file drivers/pci/pci.c
Hunk #2 succeeded at 1426 (offset -177 lines).
patching file drivers/pci/pci.h
patching file include/linux/libata.h
Hunk #1 succeeded at 213 (offset -3 lines).
patching file include/linux/pci.h
Hunk #1 succeeded at 531 (offset -3 lines).

when I apply the patch. Anyhow, I made sure that the hunks are patched in where they were actually intended. Take6 fixes suspend to ram and disk on Tecra M3. Again, thanks for your work Tejun. 
Comment 84 Romano Giannetti 2007-07-26 21:54:07 UTC
Hi, I have a toshiba U305-S5077. STR does not work --- it suspends, but it never resume, even with init=/bin/bash (kernel vanilla 2.6.22.1). So I tried this patch, adding (from dmidecode info)

--- drivers/ata/ata_piix.c.first        2007-07-27 06:08:26.000000000 +0200
+++ drivers/ata/ata_piix.c      2007-07-27 06:10:57.000000000 +0200
@@ -896,6 +896,13 @@
                        },
                },
                {
+                       .ident = "Satellite U305",
+                       .matches = {
+                               DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
+                               DMI_MATCH(DMI_PRODUCT_NAME, "Satellite U305"),
+                       },
+               },
+               {
                        .ident = "Portege M500",
                        .matches = {
                                DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),

on top of it. But the system is still broken in exactly the same way. It's me that I'm doing something wrong or this is a separate bug?
I will add dmidecode and lspci -nvv output.
Comment 85 Romano Giannetti 2007-07-26 21:56:36 UTC
Created attachment 12175 [details]
dmidecode for toshiba U305
Comment 86 Romano Giannetti 2007-07-26 21:56:59 UTC
Created attachment 12176 [details]
lspci -nvv for toshiba U305
Comment 87 Tejun Heo 2007-08-02 10:09:25 UTC
Romano, if you're having problems waking up not sleeping, the patch isn't relevant to your problem.  Rafael, does Romano's description ring a bell?
Comment 88 Rafael J. Wysocki 2007-08-02 10:21:17 UTC
(In reply to comment #87)
> Rafael, does Romano's description ring a bell?

Well, Romano, have you tried the s2ram tool?
Comment 89 Romano Giannetti 2007-08-02 15:03:08 UTC
No, never tried it. I simply booted with init=/bin/bash, suspended with "echo mem > ...", and then the laptop did no reboot. 

But I will try asap s2ram. Let me just find it... google points me to suspend.sf.net, which point me to a page with a date of 12 nov 2006. Trying to download the ususped package now, not sure if that's what you meant...

Hmmm... 

cc -O2 -Wall -DS2RAM -c vbetool/vbetool.c -o vbetool/vbetool.o
vbetool/vbetool.c:12:21: error: pci/pci.h: No such file or directory
vbetool/vbetool.c: In function ‘vbetool_init’:
vbetool/vbetool.c:49: warning: implicit declaration of function ‘pci_alloc’
vbetool/vbetool.c:49: warning: assignment makes pointer from integer without a cast
vbetool/vbetool.c:50: error: dereferencing pointer to incomplete type
vbetool/vbetool.c:51: warning: implicit declaration of function ‘pci_init’
vbetool/vbetool.c: In function ‘do_post’:
vbetool/vbetool.c:214: warning: implicit declaration of function ‘pci_scan_bus’
vbetool/vbetool.c:216: error: dereferencing pointer to incomplete type
vbetool/vbetool.c:216: error: dereferencing pointer to incomplete type
vbetool/vbetool.c:217: warning: implicit declaration of function ‘pci_read_word’
vbetool/vbetool.c:217: error: ‘PCI_CLASS_DEVICE’ undeclared (first use in this function)
vbetool/vbetool.c:217: error: (Each undeclared identifier is reported only once
vbetool/vbetool.c:217: error: for each function it appears in.)
vbetool/vbetool.c:220: error: dereferencing pointer to incomplete type
vbetool/vbetool.c:220: error: dereferencing pointer to incomplete type
vbetool/vbetool.c:221: error: dereferencing pointer to incomplete type

My kernel is a 2.6.20 from ubuntu, maybe it's too old? 

Thanks!
Comment 90 Rafael J. Wysocki 2007-08-02 15:16:13 UTC
(In reply to comment #89)
> No, never tried it. I simply booted with init=/bin/bash, suspended with "echo
> mem > ...", and then the laptop did no reboot. 
> 
> But I will try asap s2ram. Let me just find it... google points me to
> suspend.sf.net, which point me to a page with a date of 12 nov 2006. Trying
> to
> download the ususped package now, not sure if that's what you meant...

Yes.

I guess you have to install the development package for pciutils.

Anyway, please report issues with this package to suspend-devel@lists.sourceforge.net and if it doesn't work for you, please open a separate bugzilla entry for your problem (which apparently is unrelated to
the $subject one).
Comment 91 Jesse Glick 2007-08-02 15:24:16 UTC
For Ubuntu users, you can simply:

  sudo apt-get install uswsusp
Comment 92 Romano Giannetti 2007-08-03 12:13:27 UTC
Ok, you are right... wrong topic. I just subscribed to suspend-devel list, I will send there my comments. Thank you very much. 

(BTW: s2ram did not work, and installing uswsusp via apt-get made the hibernation, which used to works, fail too). More info on the list as soon as I get a moment. 
Comment 93 Thomas Renninger 2007-08-07 07:44:00 UTC
Can you please attach acpidump output.
Comment 94 Thomas Renninger 2007-08-07 07:54:06 UTC
Or better attach dmidecode and acpidump output here:
http://bugzilla.kernel.org/show_bug.cgi?id=8855
This bug got a way too big for getting a clear overview...
Comment 95 Tejun Heo 2007-08-07 08:01:17 UTC
Hmmm.. This one and 8855 is different.  I think it's better not to mix the two.  This one is caused by ACPI S3 trying to access ATA devices.  8855 is caused by ACPI S5 trying to spin down disks already spun down by OS.
Comment 96 Thomas Renninger 2007-08-07 08:15:20 UTC
Ahh, ok. One still could get an overview by the attachements list, if these are really all affected...
Still if ACPI should be the grief, I'd really like to see acpidump outputs (with similar description as done to the dmidecode attachements, so that we can map which dmi decode output maps to which acpidump) to compare and dig a bit ...
Comment 97 Romano Giannetti 2007-08-07 15:04:36 UTC
Well... I'm quite lost. I do not know if I have to attach this here or to the other bug, really. I have just downloaded git and cloned the kernel, so I'll try to suspend to a recent kernel tomorrow...  but in the case it is useful, I will attach acpidump (dmidecode is attached at comment #85).

By the way, do I need to recompile s2ram when I switch kernel, or not? 
Comment 98 Romano Giannetti 2007-08-07 15:05:54 UTC
Created attachment 12309 [details]
acpidump for toshiba U305
Comment 99 Rafael J. Wysocki 2007-08-07 15:08:20 UTC
(In reply to comment #97)
> By the way, do I need to recompile s2ram when I switch kernel, or not?

No, you don't.
Comment 100 Romano Giannetti 2007-08-08 07:25:31 UTC
Good news. s2ram -f -p -a 2 works (at least for one time, I will test more) on this laptop with a 2.6.23-rc2 kernel. Thanks. 
Comment 101 Rafael J. Wysocki 2007-08-08 10:38:59 UTC
That's a good news. :-)

Tejun, what's the status of the patch from Comment #79?
Comment 102 Tejun Heo 2007-08-08 21:25:42 UTC
In tree now.  Closing.  Thanks.
Comment 103 Marie Koreen 2007-08-10 04:11:09 UTC
This appears to happen with the Tecra M7 as well, same phenomena, same sata driver.  I'm going to try your patch, edited to put Tecra M7 in there.  I had to update the bios and then do a bunch of DSDT hacking just to get it to suspend in the first place, but after I fixed that problem, started getting the long wait to suspend.  It otherwise works.

I'll let you know if the patch works.  If not, what data would you need to look at it?
Comment 104 Marie Koreen 2007-08-10 11:33:03 UTC
So this definitely fixes my suspend time as well.  Takes about 3 seconds to suspend after patching, all I did was change the Tecra M5 parts in the patch to Tecra M7 and patched, not really sure if that did anything or not, but it's working now.

It does take longer to unsuspend, like 15 seconds, but this is definitely preferable to to waiting 10 minutes for it to suspend in the first place.  If you need any more data, let me know!
Comment 105 Tejun Heo 2007-08-14 04:03:09 UTC
Alright, patch submitted.
Comment 106 John Schember 2007-08-24 15:13:19 UTC
It looks like the take6 patch was committed to 2.6.23. Take6 does not solve the problem for the U200. The change I noted in comment 59 is still needed.
Comment 107 Tejun Heo 2007-08-24 16:26:31 UTC
Ahhh.... Missed that.  Forwarding patch.  Thanks.
Comment 108 Tejun Heo 2007-08-26 19:39:15 UTC
Resolving again.
Comment 109 Angus Turnbull 2007-09-29 22:53:05 UTC
Created attachment 12994 [details]
Toshiba Tecra M3 DMIDECODE
Comment 110 Angus Turnbull 2007-09-29 22:56:56 UTC
I'm a Tecra M3 owner and still experience slow ~5 min suspends with the Ubuntu 7.10 Beta LiveCD kernel (2.6.22 which IIRC has had this patch applied).

I tried attaching my DMIDECODE output from my Ubuntu bug report but only the URL showed up, for what it's worth:

http://launchpadlibrarian.net/9579380/dmidecode.log

is the result. Notably, compared with TAKE6 of the patch, my oemstrs are blank (meaning "Tecra M3" is not detected) but the vendor ID details are correct:

Handle 0x0001, DMI type 1, 25 bytes
System Information
	Manufacturer: TOSHIBA
	Product Name: TECRA M3

So adding this to the patch:

+		{
+			.ident = "TECRA M3",
+			.matches = {
+				DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
+				DMI_MATCH(DMI_PRODUCT_NAME, "TECRA M3"),
+			},
+		},

should hopefully improve things!

(Finally: sorry, Tejan, I emailed you before realising it would be better to post here!)
Comment 111 Tejun Heo 2007-09-29 23:36:01 UTC
TECRA M3 is already in 2.6.23-rc8.  Please try it out or 2.6.23 when it comes out.  2.6.22[.X] doesn't have any of the above changes, so it won't work.  Thanks.
Comment 112 Tejun Heo 2007-09-30 01:15:15 UTC
Angus enlightened me via private email that the Tecra M3 has different DMI table where it has proper vendor and product name entries, which I missed even after seeing comment 110 which contains a patch.  Sorry about the negligence.  :-)

Patch submitted.  Thanks.
Comment 113 Ross Patterson 2007-11-11 20:18:42 UTC
I'm still having this problem under ubuntu gutsy on a Toshiba Satellite U205-S5067. I've tested with the ubuntu gutsy 2.6.22 kernel, the patched kernel from http://203.143.225.228/gutsy/, and with 2.6.24-rc2 from kernel.org and the gutsy 2.6.22 config. No dice on any of them. Any suggestions?
Comment 114 Tejun Heo 2007-11-11 21:46:20 UTC
Please post the result of "dmidecode",
Comment 115 Ross Patterson 2007-11-11 22:39:14 UTC
Actually, I just changed "Satellite" to "SATELLITE" on 2.6.24-rc2 and suspend worked.  So can we make the string matching case insensitive?
Comment 116 Tejun Heo 2007-11-12 00:02:38 UTC
The match is done using match functions provided by dmi implementation, so no and I think it's correct to use exact matches there.  Please post the result of dmidecode.
Comment 117 Ross Patterson 2007-11-12 00:37:34 UTC
Hmm, well I think this very laptop used to work before.  So either the case in the code changed or the case of the string on my laptop changed.  It is possible that it might be the latter because I just got this laptop back from repair at the manufacturer's and then I upgraded the BIOS.  If either of those changed the case, then multiple laptops of the same model might have different cases.  So if making the matching case insensitive isn't right, then maybe we should include both capitalizations for all machines.

I'll attach my dmidecode outpud now.
Comment 118 Ross Patterson 2007-11-12 00:39:19 UTC
Created attachment 13505 [details]
dmidecode from U205-5067
Comment 119 Tejun Heo 2007-11-12 00:47:52 UTC
Thanks.  I'll push the change upstream.
Comment 120 Peter Schwenke 2007-11-29 18:14:35 UTC
Tejun, I've been applying your patch in Ubuntu Gutsy in Launchpad Bug #139045 (https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/139045)

Some extra cases have been found and tested

- case variation on Tecra M3
- Tecra A8
- Satellite R25
- case variation on Satellite U200

I did my comparison again Linus' GIT tree to determine those.  However, I believe that you already have the last of those cases (Ross Patterson's case).

I'll attach the patch for the above cases.
Comment 121 Peter Schwenke 2007-11-29 18:17:51 UTC
Created attachment 13804 [details]
Extra cases from Launchpad #139045
Comment 122 Tejun Heo 2007-11-29 22:29:46 UTC
Thanks.  Patch forwarded upstream.
Comment 123 Peter Schwenke 2007-12-04 17:30:33 UTC
Created attachment 13852 [details]
Patch for Tecra M4

Thanks for submitting that Tejun.  
However, the Tecra M4 was reported straight after that.
Patch for M4 attached.
Comment 124 Tejun Heo 2007-12-04 17:40:22 UTC
Thanks.  Patch forwarded.  Feel free to post patches directly to Jeff and linux-ide and cc me.
Comment 125 Matt Piermarini 2008-01-16 06:53:21 UTC
My Tecra M6 laptop experiences the same failure.  Adding this to 2.6.23.12's ata_piix.c:
                {
                        .ident = "TECRA M6",
                        .matches = {
                                DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
                                DMI_MATCH(DMI_PRODUCT_NAME, "TECRA M6"),
                        },
                },

does resolve suspend/resume failures.  dmidecode portion:

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: TOSHIBA
        Product Name: TECRA M6
        Version: PTM60U-0DP00J01
        Serial Number: XXXXXXXX
        UUID: 41622900-515E-11DC-8060-B05D87072762
        Wake-up Type: Power Switch
        SKU Number: 0000000000
        Family: 0000000000
Comment 126 Peter Schwenke 2008-01-16 14:58:17 UTC
Tejun, I was going to submit a patch for the Satellite R20 to Jeff today. I can include the M6.
Comment 127 Tejun Heo 2008-01-16 16:18:58 UTC
Yeap, that would be great.  Can you please cc me?  Thanks a lot.