LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 06-12-2009, 02:23 PM   #1
pwaller
LQ Newbie
 
Registered: Jul 2006
Posts: 9

Rep: Reputation: 0
Filesystems disappear upon resume from suspend-to-ram (AHCI) (2.6.30) (amd64)


I don't know if exactly this is the right place (out of all of the places on the internet to post this), so please let me know if this would be best directed at a mailing list or elsewhere.

Distribution: Gentoo AMD64, gentoo-sources-2.6.30-r1
Laptop model: Acer 6935G.

Laptop successfully resumes from suspend, but for one thing: The hard disks are unmounted/missing when I get X back!

I can't access dmesg in this state, nor ls, cat or any useful utilities (since they are on the hard disk). I tried copying some utilities to a tmpfs, but this doesn't seem to work either (the tmpfs doesn't seem to contain any of the files I copied to it before suspend, bash just says "/mnt/tmpfs/{ls,cat,dmesg} cannot be found")

I did manage to set the loglevel with sysrq-4, and then I get something akin to the following text (transcribed to paper):

This text is repeated about once every half a second, interspersed with random ext3 errors about not finding bits of filesystem. (Also, it is repeated with ata1: and lines beginning with ata2: ).

Code:
ata1: SATA link down (SStatus 1 SControl 310)
ata1: EH complete
ata1: exception Emask 0x10 SAct 0x0 SError 0x4000000 action 0xe frozen
ata1: irq_stat 0x00000040 connection status changed
ata1: SError: { DevExch }
ata1: limiting SATA link speed to 1.5Gbps
ata1: hard resetting link

Possibly relevent bit from dmesg from boot:
Code:
[    2.735612] Loading iSCSI transport class v2.0-870.
[    2.735821] Driver 'sd' needs updating - please use bus_type methods
[    2.735876] Driver 'sr' needs updating - please use bus_type methods
[    2.736927] ahci 0000:00:1f.2: version 3.0
[    2.736938] ahci 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
[    2.737800] ahci 0000:00:1f.2: irq 29 for MSI/MSI-X
[    2.737871] ahci 0000:00:1f.2: AHCI 0001.0200 32 slots 4 ports 3 Gbps 0x33 impl SATA mode
[    2.738712] ahci 0000:00:1f.2: flags: 64bit ncq sntf ilck pm led clo pmp pio slum part ems 
[    2.739560] ahci 0000:00:1f.2: setting latency timer to 64
[    2.742783] scsi0 : ahci
[    2.743790] scsi1 : ahci
[    2.744753] scsi2 : ahci
[    2.745737] scsi3 : ahci
[    2.746712] scsi4 : ahci
[    2.747718] scsi5 : ahci
[    2.748770] ata1: SATA max UDMA/133 abar m2048@0xdb305000 port 0xdb305100 irq 29
[    2.749695] ata2: SATA max UDMA/133 abar m2048@0xdb305000 port 0xdb305180 irq 29
[    2.750713] ata3: DUMMY
[    2.751653] ata4: DUMMY
[    2.752656] ata5: SATA max UDMA/133 abar m2048@0xdb305000 port 0xdb305300 irq 29
[    2.753653] ata6: SATA max UDMA/133 abar m2048@0xdb305000 port 0xdb305380 irq 29
[    2.754745] ATL1E 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
<snip snip snip>
[    3.282692] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    3.284425] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    3.288567] ata2.00: ATAPI: HL-DT-ST BDDVDRW CT10N, WA02, max UDMA/133
[    3.294780] ata2.00: configured for UDMA/133
[    3.317295] ata1.00: ATA-8: WDC WD3200BEKT-22F3T0, 11.01A11, max UDMA/133
[    3.319090] ata1.00: 625142448 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    3.322010] ehci_hcd 0000:00:1a.7: port 2 high speed
[    3.322017] ehci_hcd 0000:00:1a.7: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT
[    3.324005] ata1.00: configured for UDMA/133
[    3.342700] scsi 0:0:0:0: Direct-Access     ATA      WDC WD3200BEKT-2 11.0 PQ: 0 ANSI: 5
[    3.345451] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    3.347192] sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors: (320 GB/298 GiB)
[    3.348908] sd 0:0:0:0: [sda] Write Protect is off
[    3.350614] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    3.350642] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.352484]  sda:<5>scsi 1:0:0:0: CD-ROM            HL-DT-ST BDDVDRW CT10N    WA02 PQ: 0 ANSI: 5
[    3.360947]  sda1 sda2 sda3 sda4 <sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[    3.372847] Uniform CD-ROM driver Revision: 3.20
[    3.375233] sr 1:0:0:0: Attached scsi CD-ROM sr0
[    3.375446] sr 1:0:0:0: Attached scsi generic sg1 type 5
[    3.387155]  sda5 sda6 >
[    3.409532] sd 0:0:0:0: [sda] Attached SCSI disk
Below is the output of "lspci -nn"

Code:
00:00.0 Host bridge [0600]: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub [8086:2a40] (rev 07)
00:01.0 PCI bridge [0604]: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port [8086:2a41] (rev 07)
00:1a.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 03)
00:1a.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 03)
00:1a.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 03)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940] (rev 03)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 [8086:2942] (rev 03)
00:1c.3 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 [8086:2946] (rev 03)
00:1c.4 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 [8086:2948] (rev 03)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 03)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 03)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 03)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939] (rev 03)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 03)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 93)
00:1f.0 ISA bridge [0601]: Intel Corporation ICH9M LPC Interface Controller [8086:2919] (rev 03)
00:1f.2 SATA controller [0106]: Intel Corporation ICH9M/M-E SATA AHCI Controller [8086:2929] (rev 03)
00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 03)
00:1f.6 Signal processing controller [1180]: Intel Corporation 82801I (ICH9 Family) Thermal Subsystem [8086:2932] (rev 03)
01:00.0 VGA compatible controller [0300]: nVidia Corporation GeForce 9600M GT [10de:0649] (rev a1)
02:00.0 Ethernet controller [0200]: Attansic Technology Corp. L1 Gigabit Ethernet Adapter [1969:1026] (rev b0)
05:00.0 Network controller [0280]: Intel Corporation Device [8086:4232]
Kernel configuration (minus CONFIG_ and not set items):

Code:
64BIT=y
X86_64=y
X86=y
ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
GENERIC_TIME=y
GENERIC_CMOS_UPDATE=y
CLOCKSOURCE_WATCHDOG=y
GENERIC_CLOCKEVENTS=y
GENERIC_CLOCKEVENTS_BROADCAST=y
LOCKDEP_SUPPORT=y
STACKTRACE_SUPPORT=y
HAVE_LATENCYTOP_SUPPORT=y
FAST_CMPXCHG_LOCAL=y
MMU=y
ZONE_DMA=y
GENERIC_ISA_DMA=y
GENERIC_IOMAP=y
GENERIC_BUG=y
GENERIC_BUG_RELATIVE_POINTERS=y
GENERIC_HWEIGHT=y
ARCH_MAY_HAVE_PC_FDC=y
RWSEM_GENERIC_SPINLOCK=y
ARCH_HAS_CPU_IDLE_WAIT=y
GENERIC_CALIBRATE_DELAY=y
GENERIC_TIME_VSYSCALL=y
ARCH_HAS_CPU_RELAX=y
ARCH_HAS_DEFAULT_IDLE=y
ARCH_HAS_CACHE_LINE_SIZE=y
HAVE_SETUP_PER_CPU_AREA=y
HAVE_DYNAMIC_PER_CPU_AREA=y
HAVE_CPUMASK_OF_CPU_MAP=y
ARCH_HIBERNATION_POSSIBLE=y
ARCH_SUSPEND_POSSIBLE=y
ZONE_DMA32=y
ARCH_POPULATES_NODE_MAP=y
AUDIT_ARCH=y
ARCH_SUPPORTS_OPTIMIZED_INLINING=y
ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
GENERIC_HARDIRQS=y
GENERIC_HARDIRQS_NO__DO_IRQ=y
GENERIC_IRQ_PROBE=y
GENERIC_PENDING_IRQ=y
USE_GENERIC_SMP_HELPERS=y
X86_64_SMP=y
X86_HT=y
X86_TRAMPOLINE=y
DEFLIST="/lib/modules/$UNAME_RELEASE/.config"
EXPERIMENTAL=y
LOCK_KERNEL=y
INIT_ENV_ARG_LIMIT=32
LOCALVERSION=""
HAVE_KERNEL_GZIP=y
HAVE_KERNEL_BZIP2=y
HAVE_KERNEL_LZMA=y
KERNEL_LZMA=y
SWAP=y
SYSVIPC=y
SYSVIPC_SYSCTL=y
POSIX_MQUEUE=y
POSIX_MQUEUE_SYSCTL=y
BSD_PROCESS_ACCT=y
TASKSTATS=y
TASK_DELAY_ACCT=y
TASK_XACCT=y
TASK_IO_ACCOUNTING=y
AUDIT=y
AUDITSYSCALL=y
AUDIT_TREE=y
CLASSIC_RCU=y
IKCONFIG=y
IKPROC=y
LOG_BUF_SHIFT=17
HAVE_UNSTABLE_SCHED_CLOCK=y
GROUP_SCHED=y
FAIR_GROUP_SCHED=y
CGROUP_SCHED=y
CGROUPS=y
CGROUP_NS=y
CPUSETS=y
PROC_PID_CPUSET=y
CGROUP_CPUACCT=y
RESOURCE_COUNTERS=y
RELAY=y
NAMESPACES=y
UTS_NS=y
IPC_NS=y
USER_NS=y
PID_NS=y
BLK_DEV_INITRD=y
INITRAMFS_SOURCE="/usr/share/v86d/initramfs"
INITRAMFS_ROOT_UID=0
INITRAMFS_ROOT_GID=0
RD_GZIP=y
RD_BZIP2=y
RD_LZMA=y
INITRAMFS_COMPRESSION_LZMA=y
CC_OPTIMIZE_FOR_SIZE=y
SYSCTL=y
ANON_INODES=y
UID16=y
SYSCTL_SYSCALL=y
KALLSYMS=y
KALLSYMS_ALL=y
KALLSYMS_EXTRA_PASS=y
HOTPLUG=y
PRINTK=y
BUG=y
ELF_CORE=y
PCSPKR_PLATFORM=y
BASE_FULL=y
FUTEX=y
EPOLL=y
SIGNALFD=y
TIMERFD=y
EVENTFD=y
SHMEM=y
AIO=y
VM_EVENT_COUNTERS=y
PCI_QUIRKS=y
SLUB_DEBUG=y
SLUB=y
PROFILING=y
TRACEPOINTS=y
MARKERS=y
HAVE_OPROFILE=y
KPROBES=y
HAVE_EFFICIENT_UNALIGNED_ACCESS=y
KRETPROBES=y
HAVE_IOREMAP_PROT=y
HAVE_KPROBES=y
HAVE_KRETPROBES=y
HAVE_ARCH_TRACEHOOK=y
HAVE_DMA_API_DEBUG=y
SLABINFO=y
RT_MUTEXES=y
BASE_SMALL=0
MODULES=y
MODULE_UNLOAD=y
MODULE_FORCE_UNLOAD=y
STOP_MACHINE=y
BLOCK=y
BLK_DEV_BSG=y
BLOCK_COMPAT=y
IOSCHED_NOOP=y
IOSCHED_AS=y
IOSCHED_DEADLINE=y
IOSCHED_CFQ=y
DEFAULT_CFQ=y
DEFAULT_IOSCHED="cfq"
FREEZER=y
TICK_ONESHOT=y
NO_HZ=y
HIGH_RES_TIMERS=y
GENERIC_CLOCKEVENTS_BUILD=y
SMP=y
X86_MPPARSE=y
SCHED_OMIT_FRAME_POINTER=y
MCORE2=y
X86_CPU=y
X86_L1_CACHE_BYTES=64
X86_INTERNODE_CACHE_BYTES=64
X86_CMPXCHG=y
X86_L1_CACHE_SHIFT=6
X86_WP_WORKS_OK=y
X86_INTEL_USERCOPY=y
X86_USE_PPRO_CHECKSUM=y
X86_P6_NOP=y
X86_TSC=y
X86_CMPXCHG64=y
X86_CMOV=y
X86_MINIMUM_CPU_FAMILY=64
X86_DEBUGCTLMSR=y
CPU_SUP_INTEL=y
CPU_SUP_AMD=y
CPU_SUP_CENTAUR=y
HPET_TIMER=y
HPET_EMULATE_RTC=y
DMI=y
GART_IOMMU=y
SWIOTLB=y
IOMMU_HELPER=y
IOMMU_API=y
NR_CPUS=2
SCHED_SMT=y
SCHED_MC=y
PREEMPT_VOLUNTARY=y
X86_LOCAL_APIC=y
X86_IO_APIC=y
MICROCODE=y
MICROCODE_INTEL=y
MICROCODE_OLD_INTERFACE=y
X86_MSR=y
X86_CPUID=y
X86_CPU_DEBUG=y
ARCH_PHYS_ADDR_T_64BIT=y
DIRECT_GBPAGES=y
ARCH_SPARSEMEM_DEFAULT=y
ARCH_SPARSEMEM_ENABLE=y
ARCH_SELECT_MEMORY_MODEL=y
SELECT_MEMORY_MODEL=y
SPARSEMEM_MANUAL=y
SPARSEMEM=y
HAVE_MEMORY_PRESENT=y
SPARSEMEM_EXTREME=y
SPARSEMEM_VMEMMAP_ENABLE=y
SPARSEMEM_VMEMMAP=y
PAGEFLAGS_EXTENDED=y
SPLIT_PTLOCK_CPUS=4
PHYS_ADDR_T_64BIT=y
ZONE_DMA_FLAG=1
BOUNCE=y
VIRT_TO_BUS=y
UNEVICTABLE_LRU=y
HAVE_MLOCK=y
HAVE_MLOCKED_PAGE_BIT=y
X86_RESERVE_LOW_64K=y
MTRR=y
MTRR_SANITIZER=y
MTRR_SANITIZER_ENABLE_DEFAULT=0
MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
X86_PAT=y
EFI=y
SECCOMP=y
HZ_100=y
HZ=100
SCHED_HRTICK=y
KEXEC=y
CRASH_DUMP=y
PHYSICAL_START=0x1000000
RELOCATABLE=y
PHYSICAL_ALIGN=0x200000
HOTPLUG_CPU=y
ARCH_ENABLE_MEMORY_HOTPLUG=y
ARCH_HIBERNATION_HEADER=y
PM=y
PM_DEBUG=y
PM_VERBOSE=y
CAN_PM_TRACE=y
PM_SLEEP_SMP=y
PM_SLEEP=y
SUSPEND=y
SUSPEND_FREEZER=y
HIBERNATION=y
PM_STD_PARTITION=""
ACPI=y
ACPI_SLEEP=y
ACPI_PROCFS=y
ACPI_PROCFS_POWER=y
ACPI_SYSFS_POWER=y
ACPI_PROC_EVENT=y
ACPI_AC=y
ACPI_BATTERY=y
ACPI_BUTTON=y
ACPI_FAN=y
ACPI_DOCK=y
ACPI_PROCESSOR=y
ACPI_HOTPLUG_CPU=y
ACPI_THERMAL=y
ACPI_BLACKLIST_YEAR=0
X86_PM_TIMER=y
ACPI_CONTAINER=y
ACPI_SBS=y
CPU_FREQ=y
CPU_FREQ_TABLE=y
CPU_FREQ_DEBUG=y
CPU_FREQ_STAT=y
CPU_FREQ_STAT_DETAILS=y
CPU_FREQ_DEFAULT_GOV_CONSERVATIVE=y
CPU_FREQ_GOV_PERFORMANCE=y
CPU_FREQ_GOV_POWERSAVE=y
CPU_FREQ_GOV_USERSPACE=y
CPU_FREQ_GOV_ONDEMAND=y
CPU_FREQ_GOV_CONSERVATIVE=y
X86_ACPI_CPUFREQ=y
CPU_IDLE=y
CPU_IDLE_GOV_LADDER=y
CPU_IDLE_GOV_MENU=y
I7300_IDLE_IOAT_CHANNEL=y
I7300_IDLE=y
PCI=y
PCI_DIRECT=y
PCI_MMCONFIG=y
PCI_DOMAINS=y
DMAR=y
DMAR_DEFAULT_ON=y
DMAR_GFX_WA=y
DMAR_FLOPPY_WA=y
PCIEPORTBUS=y
HOTPLUG_PCI_PCIE=y
PCIEAER=y
ARCH_SUPPORTS_MSI=y
PCI_MSI=y
HT_IRQ=y
ISA_DMA_API=y
K8_NB=y
PCCARD=y
PCMCIA=y
PCMCIA_LOAD_CIS=y
PCMCIA_IOCTL=y
CARDBUS=y
YENTA=y
YENTA_O2=y
YENTA_RICOH=y
YENTA_TI=y
YENTA_ENE_TUNE=y
YENTA_TOSHIBA=y
PCCARD_NONSTATIC=y
HOTPLUG_PCI=y
BINFMT_ELF=y
COMPAT_BINFMT_ELF=y
BINFMT_MISC=y
IA32_EMULATION=y
COMPAT=y
COMPAT_FOR_U64_ALIGNMENT=y
SYSVIPC_COMPAT=y
NET=y
PACKET=y
PACKET_MMAP=y
UNIX=y
XFRM=y
XFRM_USER=y
INET=y
IP_MULTICAST=y
IP_ADVANCED_ROUTER=y
ASK_IP_FIB_HASH=y
IP_FIB_HASH=y
IP_MULTIPLE_TABLES=y
IP_ROUTE_MULTIPATH=y
IP_ROUTE_VERBOSE=y
IP_PNP=y
IP_PNP_DHCP=y
IP_PNP_BOOTP=y
IP_PNP_RARP=y
IP_MROUTE=y
IP_PIMSM_V1=y
IP_PIMSM_V2=y
SYN_COOKIES=y
INET_TUNNEL=y
INET_LRO=y
TCP_CONG_ADVANCED=y
TCP_CONG_CUBIC=y
DEFAULT_CUBIC=y
DEFAULT_TCP_CONG="cubic"
TCP_MD5SIG=y
IPV6=y
INET6_AH=y
INET6_ESP=y
INET6_XFRM_MODE_TRANSPORT=y
INET6_XFRM_MODE_TUNNEL=y
INET6_XFRM_MODE_BEET=y
IPV6_SIT=y
IPV6_NDISC_NODETYPE=y
NETLABEL=y
NETWORK_SECMARK=y
NETFILTER=y
NETFILTER_NETLINK=y
NETFILTER_NETLINK_LOG=y
NF_CONNTRACK=y
NF_CONNTRACK_SECMARK=y
NF_CONNTRACK_FTP=y
NF_CONNTRACK_IRC=y
NF_CONNTRACK_SIP=y
NF_CT_NETLINK=y
NETFILTER_XTABLES=y
NETFILTER_XT_TARGET_CONNSECMARK=y
NETFILTER_XT_TARGET_MARK=y
NETFILTER_XT_TARGET_NFLOG=y
NETFILTER_XT_TARGET_SECMARK=y
NETFILTER_XT_TARGET_TCPMSS=y
NETFILTER_XT_MATCH_CONNTRACK=y
NETFILTER_XT_MATCH_MARK=y
NETFILTER_XT_MATCH_POLICY=y
NETFILTER_XT_MATCH_STATE=y
NF_DEFRAG_IPV4=y
NF_CONNTRACK_IPV4=y
NF_CONNTRACK_PROC_COMPAT=y
IP_NF_IPTABLES=y
IP_NF_FILTER=y
IP_NF_TARGET_REJECT=y
IP_NF_TARGET_LOG=y
IP_NF_TARGET_ULOG=y
NF_NAT=y
NF_NAT_NEEDED=y
IP_NF_TARGET_MASQUERADE=y
NF_NAT_FTP=y
NF_NAT_IRC=y
NF_NAT_SIP=y
IP_NF_MANGLE=y
NF_CONNTRACK_IPV6=y
IP6_NF_IPTABLES=y
IP6_NF_MATCH_IPV6HEADER=y
IP6_NF_TARGET_LOG=y
IP6_NF_FILTER=y
IP6_NF_TARGET_REJECT=y
IP6_NF_MANGLE=y
NET_SCHED=y
NET_CLS=y
NET_EMATCH=y
NET_EMATCH_STACK=32
NET_CLS_ACT=y
NET_SCH_FIFO=y
IRDA=y
USB_IRDA=y
BT=y
BT_HCIBTUSB=y
FIB_RULES=y
WIRELESS=y
CFG80211=y
WIRELESS_OLD_REGULATORY=y
WIRELESS_EXT=y
WIRELESS_EXT_SYSFS=y
LIB80211=y
MAC80211=y
MAC80211_RC_MINSTREL=y
MAC80211_RC_DEFAULT_MINSTREL=y
MAC80211_RC_DEFAULT="minstrel"
MAC80211_LEDS=y
RFKILL=y
RFKILL_LEDS=y
UEVENT_HELPER_PATH="/sbin/hotplug"
STANDALONE=y
PREVENT_FIRMWARE_BUILD=y
FW_LOADER=y
FIRMWARE_IN_KERNEL=y
EXTRA_FIRMWARE=""
DEBUG_DEVRES=y
CONNECTO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_TUNER=y
MEDIA_TUNER_SIMPLE=y
MEDIA_TUNER_TDA8290=y
MEDIA_TUNER_TDA9887=y
MEDIA_TUNER_TEA5761=y
MEDIA_TUNER_TEA5767=y
MEDIA_TUNER_MT20XX=y
MEDIA_TUNER_XC2028=y
MEDIA_TUNER_XC5000=y
MEDIA_TUNER_MC44S803=y
VIDEO_V4L2=y
VIDEO_CAPTURE_DRIVERS=y
VIDEO_HELPER_CHIPS_AUTO=y
V4L_USB_DRIVERS=y
USB_VIDEO_CLASS=y
USB_VIDEO_CLASS_INPUT_EVDEV=y
DVB_CAPTURE_DRIVERS=y
AGP=y
AGP_AMD64=y
AGP_INTEL=y
DRM=y
VIDEO_OUTPUT_CONTROL=y
FB=y
FIRMWARE_EDID=y
FB_CFB_FILLRECT=y
FB_CFB_COPYAREA=y
FB_CFB_IMAGEBLIT=y
FB_MODE_HELPERS=y
FB_UVESA=y
BACKLIGHT_LCD_SUPPORT=y
LCD_CLASS_DEVICE=y
LCD_PLATFORM=y
BACKLIGHT_CLASS_DEVICE=y
BACKLIGHT_GENERIC=y
DISPLAY_SUPPORT=y
VGA_CONSOLE=y
VGACON_SOFT_SCROLLBACK=y
VGACON_SOFT_SCROLLBACK_SIZE=64
DUMMY_CONSOLE=y
FRAMEBUFFER_CONSOLE=y
FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
FONT_8x8=y
FONT_8x16=y
SOUND=y
HID_SUPPORT=y
HID=y
HID_DEBUG=y
HIDRAW=y
USB_HID=y
HID_PID=y
USB_HIDDEV=y
HID_A4TECH=y
HID_APPLE=y
HID_BELKIN=y
HID_CHERRY=y
HID_CHICONY=y
HID_CYPRESS=y
HID_EZKEY=y
HID_KYE=y
HID_GYRATION=y
HID_KENSINGTON=y
HID_LOGITECH=y
HID_MICROSOFT=y
HID_MONTEREY=y
HID_NTRIG=y
HID_PANTHERLORD=y
HID_PETALYNX=y
HID_SAMSUNG=y
HID_SONY=y
HID_SUNPLUS=y
HID_TOPSEED=y
US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LBFS=y
HUGETLB_PAGE=y
MISC_FILESYSTEMS=y
NETWORK_FILESYSTEMS=y
NFS_FS=y
NFS_V3=y
NFS_V3_ACL=y
NFS_V4=y
ROOT_NFS=y
LOCKD=y
LOCKD_V4=y
NFS_ACL_SUPPORT=y
NFS_COMMON=y
SUNRPC=y
SUNRPC_GSS=y
RPCSEC_GSS_KRB5=y
PARTITION_ADVANCED=y
MSDOS_PARTITION=y
LDM_PARTITION=y
NLS=y
NLS_DEFAULT="utf8"
NLS_CODEPAGE_437=y
NLS_ASCII=y
NLS_ISO8859_1=y
NLS_UTF8=y
TRACE_IRQFLAGS_SUPPORT=y
PRINTK_TIME=y
ENABLE_WARN_DEPRECATED=y
ENABLE_MUST_CHECK=y
FRAME_WARN=2048
MAGIC_SYSRQ=y
DEBUG_FS=y
DEBUG_KERNEL=y
SCHEDSTATS=y
TIMER_STATS=y
STACKTRACE=y
DEBUG_BUGVERBOSE=y
DEBUG_MEMORY_INIT=y
ARCH_WANT_FRAME_POINTERS=y
FRAME_POINTER=y
SYSCTL_SYSCALL_CHECK=y
USER_STACKTRACE_SUPPORT=y
NOP_TRACER=y
HAVE_FUNCTION_TRACER=y
HAVE_FUNCTION_GRAPH_TRACER=y
HAVE_FUNCTION_TRACE_MCOUNT_TEST=y
HAVE_DYNAMIC_FTRACE=y
HAVE_FTRACE_MCOUNT_RECORD=y
HAVE_FTRACE_SYSCALLS=y
RING_BUFFER=y
TRACING=y
TRACING_SUPPORT=y
BLK_DEV_IO_TRACE=y
PROVIDE_OHCI1394_DMA_INIT=y
HAVE_ARCH_KGDB=y
X86_VERBOSE_BOOTUP=y
EARLY_PRINTK=y
DEBUG_STACKOVERFLOW=y
DEBUG_STACK_USAGE=y
DEBUG_RODATA=y
HAVE_MMIOTRACE_SUPPORT=y
IO_DELAY_TYPE_0X80=0
IO_DELAY_TYPE_0XED=1
IO_DELAY_TYPE_UDELAY=2
IO_DELAY_TYPE_NONE=3
IO_DELAY_0X80=y
DEFAULT_IO_DELAY_TYPE=0
DEBUG_BOOT_PARAMS=y
OPTIMIZE_INLINING=y
KEYS=y
KEYS_DEBUG_PROC_KEYS=y
SECURITY=y
SECURITY_NETWORK=y
SECURITY_FILE_CAPABILITIES=y
SECURITY_DEFAULT_MMAP_MIN_ADDR=65536
SECURITY_SELINUX=y
SECURITY_SELINUX_BOOTPARAM=y
SECURITY_SELINUX_BOOTPARAM_VALUE=1
SECURITY_SELINUX_DISABLE=y
SECURITY_SELINUX_DEVELOP=y
SECURITY_SELINUX_AVC_STATS=y
SECURITY_SELINUX_CHECKREQPROT_VALUE=1
CRYPTO=y
CRYPTO_ALGAPI=y
CRYPTO_ALGAPI2=y
CRYPTO_AEAD=y
CRYPTO_AEAD2=y
CRYPTO_BLKCIPHER=y
CRYPTO_BLKCIPHER2=y
CRYPTO_HASH=y
CRYPTO_HASH2=y
CRYPTO_RNG2=y
CRYPTO_PCOMP=y
CRYPTO_MANAGER=y
CRYPTO_MANAGER2=y
CRYPTO_WORKQUEUE=y
CRYPTO_AUTHENC=y
CRYPTO_CBC=y
CRYPTO_ECB=y
CRYPTO_HMAC=y
CRYPTO_MD5=y
CRYPTO_SHA1=y
CRYPTO_AES=y
CRYPTO_ARC4=y
CRYPTO_DES=y
CRYPTO_DEFLATE=y
CRYPTO_LZO=y
CRYPTO_HW=y
HAVE_KVM=y
HAVE_KVM_IRQCHIP=y
VIRTUALIZATION=y
BINARY_PRINTF=y
BITREVERSE=y
GENERIC_FIND_FIRST_BIT=y
GENERIC_FIND_NEXT_BIT=y
GENERIC_FIND_LAST_BIT=y
CRC_CCITT=y
CRC16=y
CRC_T10DIF=y
CRC32=y
ZLIB_INFLATE=y
ZLIB_DEFLATE=y
LZO_COMPRESS=y
LZO_DECOMPRESS=y
DECOMPRESS_GZIP=y
DECOMPRESS_BZIP2=y
DECOMPRESS_LZMA=y
HAS_IOMEM=y
HAS_IOPORT=y
HAS_DMA=y
NLATTR=y
Let me know if I can provide any more useful information.
 
Old 06-15-2009, 09:56 AM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Check out the kernel docs in /Documentation/power in the kernel source code, specifically the one called 'basic-pm-debugging.txt'

If you haven't tried it, following the methods outlined in there for testing your software & hardware during the stages of sleeping, might point out where to look deeper. What I did was in a console, run 'tail -f /var/log/kernel.log' to see the kernel output of the suspend debug code, while in another console, execute the actual debug commands from that .txt file I mention above.

At a glance, I do not see 'CONFIG_PM_DEBUG" in your kernel config; if it isn't enabled, you will need to rebuild and enable that to debug pm/suspend.

Also, that documentation and other stuff I have read, suggests that one try to get 'suspend to disk' working first, as it tends to work more readily on more systems, and THEN when that works, start working on suspend-to-ram. ( I for one didn't follow that advice, I just dove right into the s2ram method. It now works!)

If you're using SuSE-Linux's s2ram tool, check if your machine is listed in the whitelist, and if it is, does it have any particular special things mentioned that need to be done? If it isn't listed in the whitelist, you're starting from scratch..

I have read of people also having troubles with the suspend code in 2.6.29 but no troubles with 2.6.30.. Are you using a stable kernel release? or still the -rc kernel? Perhaps a stable kernel will help?


Hope this gets you started in some useful direction--- FWIW I am using Slack-11 with 2.6.30, on an MSI P6N-SLI desktop motherboard (which amazingly was IN the whitelist I mentioned above!!) and I'm not real handy with Gentoo, so I can't provide super-specific Gentoo or Laptop help.. But good luck for now, and keep us posted

Sasha

PS - Have you looked into "TuxOnIce" ?? Me neither, as it is a bunch of kernel patches as I understand, and I would prefer to have an un-patched kernel generally.. But there are a lot of reports of it working great, in cases where the usual methods fail.. Might be worth a look..

Last edited by GrapefruiTgirl; 06-15-2009 at 10:14 AM. Reason: mention TuxonIce
 
Old 07-03-2009, 06:35 AM   #3
karolbe
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 0
Hi

I have the same laptop and I have managed to get suspend&resume working by changing the SATA option in the BIOS from AHCI to ATA. I have no idea what that option does except that now I can use suspend&resume with confidence that suspended programs will not be crashed during resume.

The only remaining issue with that laptop is disabled VT-x CPU flag. There is no option in the BIOS to enable it and programs like VMware or VirtualBox are a bit restricted. I have emailed ACER support but I don't think I will get valuable answer...

Karol
 
Old 07-04-2009, 06:27 AM   #4
pwaller
LQ Newbie
 
Registered: Jul 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for taking the time to post this, karolbe. I haven't yet had a chance to try it yet.

Turning off AHCI is a bit of an unfortunate issue, but if I have to live with slightly slower I/O to get my computer to sleep, then maybe so be it. It would still be nice to find a solution to it. I'm currently thinking it might be a SATA driver bug or something along those lines.

Ah, the famous VT-x flag issue. A real pain that one. I also contacted ACER and they were useless. They tried to get me to call a premium support line, which I refused to do, and they did eventually give me a response by e-mail, but didn't actually answer any of the questions I asked in my e-mail to them.

It is a real pain because to turn it on the BIOS changes would be trivial. At the moment the BIOS is doing a priviledged WRMSR instruction first thing when the computer turns on which disables VT-x, and it can't be re-enabled until "next boot" at which poinat the same thing happens again. One instruction! A few bytes of machine code! If only it were possible to find out where it was and remove it.

Quote:
Originally Posted by ACER support
Hello, Thank you for contacting Acer.

Regarding your enquiry,

I understand what your saying but the BIOS will not support this software and as of yet there are no plans by ACER to release a BIOS update that will support the VT software


Regards
*****
Acer Technical Support Team
 
Old 07-04-2009, 10:21 AM   #5
karolbe
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 0
Yes...this is very unfair that they have crippled such a nice laptop. I was thinking about returning it but then decided to keep it, after all VirtualBox or VMware is running and at least now I don't need SMP or emulating 64 bit on 32 bit CPU...

The same VT-x situation is with Sony Vaio laptops. For some of them (ones which have Phoenix BIOS) there is a patch which can enable VT-x, for rest of them with Insyde BIOS and others there isn't

http://blog.durdle.com/archives/2008...on-technology/

I have read somewhere that Windows 7 is using hardware virtualization to run some legacy code. Maybe when Windows 7 will be finally released ACER will change their mind and enable it. We can only hope as Insyde BIOS is supposedly very difficult to hack...

Karol
 
Old 07-11-2009, 12:10 PM   #6
pwaller
LQ Newbie
 
Registered: Jul 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Turning off AHCI does solve my problem, but renders vista unbootable :/

This makes me think that the problem is a bug in libata?

Does anyone else have any thoughts on this?
 
Old 07-11-2009, 02:53 PM   #7
rob.rice
Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 795

Rep: Reputation: 114Reputation: 114
DUDE!! you have one drastically overloaded kernal there !!
start with "cd /usr/src/linux-2.6.>=27whatever your version"
"make x86_64_defconfig"
"make menuconfig" add the file systems ,network protocols,usb modules that make since move some built in stuff out to modules
leave in the stuff needed to boot in move the rest out to modules
 
Old 07-25-2009, 01:03 PM   #8
pwaller
LQ Newbie
 
Registered: Jul 2006
Posts: 9

Original Poster
Rep: Reputation: 0
This kernel patch looks like it might fix the problem, but I haven't tested it yet:

http://patchwork.ozlabs.org/patch/29840/

Also, there seems to be some success enabling VT:

http://marcansoft.com/blog/2009/06/e...-aspire-8930g/
 
Old 07-26-2009, 12:58 PM   #9
karolbe
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 0
I have noticed that the latest BIOS 1.13 most probably fixes the issue with disappearing filesystems after resume. I am using the same kernel (2.6.30) as with the older BIOS 1.10 and after at least 10 suspend-resume cycles all is working fine.

Karol
 
Old 07-27-2009, 02:51 AM   #10
pwaller
LQ Newbie
 
Registered: Jul 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Cool, where did you get version 1.13 from? I only see version 1.10 on Acer's site.
 
  


Reply

Tags
ahci, resume, sata, suspend, suspendtoram


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suspend To RAM (S3) - Resume Fails ls37 Linux - Newbie 1 12-22-2008 01:30 PM
System hangs after suspend-to-ram resume when using radeon module niidea Linux - Laptop and Netbook 1 12-13-2008 07:52 AM
Plz explain Suspend to Disk and Suspend to Ram pkhera_2001 Linux - Newbie 2 02-18-2008 08:23 AM
No resume from suspend mehlkelm Debian 3 11-22-2005 11:48 AM
Can't resume from ACPI S3 suspend cdhgee Fedora 3 08-18-2005 03:39 AM


All times are GMT -5. The time now is 08:01 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration