View previous topic :: View next topic |
Author |
Message |
ndo1985 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/49836759840a951fb67c8c.jpg)
Joined: 16 Apr 2004 Posts: 57 Location: USA
|
Posted: Sun May 16, 2004 5:44 pm Post subject: Sleep mode |
|
|
I don't understand this problem, it only happens in Gentoo. If my HD goes to sleep it won't wake up, i have to hit reset to get my comp started back up. in grub.conf i put acpi=off and apm=off and it is doin the same thing. _________________ ---Nathan Owens |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GentooBox Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/Southpark/avatar18.gif)
Joined: 22 Jun 2003 Posts: 1168 Location: Denmark
|
Posted: Mon May 17, 2004 6:24 am Post subject: |
|
|
have a look at hdparm.
Quote: | # hdparm --help
hdparm - get/set hard disk parameters - version v5.5
Usage: hdparm [options] [device] ..
Options:
-a get/set fs readahead
-A set drive read-lookahead flag (0/1)
-b get/set bus state (0 == off, 1 == on, 2 == tristate)
-B set Advanced Power Management setting (1-255)
-c get/set IDE 32-bit IO setting
-C check IDE power mode status
-d get/set using_dma flag
-D enable/disable drive defect-mgmt
-E set cd-rom drive speed
-f flush buffer cache for device on exit
-g display drive geometry
-h display terse usage information
-i display drive identification
-I detailed/current information directly from drive
-Istdin similar to -I, but wants /proc/ide/*/hd?/identify as input
-k get/set keep_settings_over_reset flag (0/1)
-K set drive keep_features_over_reset flag (0/1)
-L set drive doorlock (0/1) (removable harddisks only)
-M get/set acoustic management (0-254, 128: quiet, 254: fast) (EXPERIMENTAL)
-m get/set multiple sector count
-n get/set ignore-write-errors flag (0/1)
-p set PIO mode on IDE interface chipset (0,1,2,3,4,...)
-P set drive prefetch count
-q change next setting quietly
-Q get/set DMA tagged-queuing depth (if supported)
-r get/set readonly flag (DANGEROUS to set)
-R register an IDE interface (DANGEROUS)
-S set standby (spindown) timeout
-t perform device read timings
-T perform cache read timings
-u get/set unmaskirq flag (0/1)
-U un-register an IDE interface (DANGEROUS)
-v defaults; same as -mcudkrag for IDE drives
-V display program version and exit immediately
-w perform device reset (DANGEROUS)
-W set drive write-caching flag (0/1) (DANGEROUS)
-x tristate device for hotswap (0/1) (DANGEROUS)
-X set IDE xfer mode (DANGEROUS)
-y put IDE drive in standby mode
-Y put IDE drive to sleep
-Z disable Seagate auto-powersaving mode
-z re-read partition table
|
maby you could try out some of the options. _________________ Encrypt, lock up everything and duct tape the rest |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Rainmaker Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/TV Stars/data1.jpg)
Joined: 12 Feb 2004 Posts: 1650 Location: /home/NL/ehv/
|
Posted: Mon May 17, 2004 7:00 am Post subject: |
|
|
might be a buggy bios... Try recompiling your kernel, setting "Ignore user suspend" _________________ If you can't dazzle them with brilliance, baffle them with bullshit. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ndo1985 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/49836759840a951fb67c8c.jpg)
Joined: 16 Apr 2004 Posts: 57 Location: USA
|
Posted: Mon May 17, 2004 9:30 pm Post subject: |
|
|
Rainmaker wrote: | might be a buggy bios... Try recompiling your kernel, setting "Ignore user suspend" |
What does that do? I've disabled all power managment but now my monitor doesn't got to sleep, i'd like to have atleast APM running w/o problems _________________ ---Nathan Owens |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ndo1985 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/49836759840a951fb67c8c.jpg)
Joined: 16 Apr 2004 Posts: 57 Location: USA
|
Posted: Tue May 18, 2004 12:27 am Post subject: my dmesg |
|
|
Maybe my dmesg will help ya, so i am gonna include it:
Linux version 2.6.5-gentoo-r1 (root@Lestat) (gcc version 3.3.2 20031218 (Gentoo
Linux 3.3.2-r5, propolice-3.3-7)) #2 SMP Mon May 17 18:41:03 Local time zone mus
t be set--see zic
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000008000000 (usable)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
128MB LOWMEM available.
On node 0 totalpages: 32768
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 28672 pages, LIFO batch:7
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
Built 1 zonelists
Kernel command line: root=/dev/hda3 apm=on acpi=off
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 1101.997 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Memory: 124652k/131072k available (2940k kernel code, 5856k reserved, 925k data,
204k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 2170.88 BogoMIPS
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0383fbff c1c7fbff 00000000 00000000
CPU: After vendor identify, caps: 0383fbff c1c7fbff 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 64K (64 bytes/line)
CPU: After all inits, caps: 0383fbff c1c7fbff 00000000 00000020
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
CPU0: AMD Duron(tm) processor stepping 00
per-CPU timeslice cutoff: 182.99 usecs.
task migration cache decay timeout: 1 msecs.
SMP motherboard not detected.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1101.0788 MHz.
..... host bus clock speed is 200.0325 MHz.
Brought up 1 CPUs
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfb220, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
SCSI subsystem initialized
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router VIA [1106/0686] at 0000:00:07.0
spurious 8259A interrupt: IRQ7.
vga16fb: initializing
vga16fb: mapped to 0xc00a0000
fb0: VGA16 VGA frame buffer device
Machine check exception polling timer started.
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
udf: registering filesystem
SGI XFS with ACLs, security attributes, large block numbers, no debug enabled
Initializing Cryptographic API
Applying VIA southbridge workaround.
PCI: Disabling Via external APIC routing
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
lp: driver loaded but no devices found
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport0: PC-style at 0x378 [PCSPP(,...)]
lp0: using parport0 (polling).
parport_pc: Via 686A parallel port: io=0x378
Using anticipatory io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1
ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
hda: ST320414A, ATA DISK drive
hda: IRQ probe failed (0xffffefb8)
hdb: IRQ probe failed (0xffffefb8)
hdb: IRQ probe failed (0xffffefb8)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: IDE/ATAPI CD-ROM 40X, ATAPI CD/DVD-ROM drive
hdd: Hewlett-Packard CD-Writer Plus 9100b, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 39102336 sectors (20020 MB) w/2048KiB Cache, CHS=38792/16/63, UDMA(100)
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3
hdc: ATAPI 17X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
ide-floppy driver 0.99.newide
libata version 1.02 loaded.
ieee1394: raw1394: /dev/raw1394 device initialized
USB Universal Host Controller Interface driver v2.2
PCI: Found IRQ 5 for device 0000:00:07.2
PCI: Sharing IRQ 5 with 0000:00:07.3
uhci_hcd 0000:00:07.2: VIA Technologies, Inc. USB
uhci_hcd 0000:00:07.2: irq 5, io base 0000d400
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
PCI: Found IRQ 5 for device 0000:00:07.3
PCI: Sharing IRQ 5 with 0000:00:07.2
uhci_hcd 0000:00:07.3: VIA Technologies, Inc. USB (#2)
uhci_hcd 0000:00:07.3: irq 5, io base 0000d800
uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
drivers/usb/core/usb.c: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.4rc2 (Tue Mar 30 08:19:30 2
004 UTC).
PCI: Found IRQ 10 for device 0000:00:07.5
PCI: Setting latency timer of device 0000:00:07.5 to 64
ALSA device list:
#0: VIA 82C686A/B rev50 at 0xdc00, irq 10
oprofile: using NMI interrupt.
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
ip_conntrack version 2.1 (1024 buckets, 8192 max) - 300 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>. http://snowman.net/proje
cts/ipt_recent/
arp_tables: (C) 2002 David S. Miller
NET: Registered protocol family 1
NET: Registered protocol family 17
UDF-fs DEBUG fs/udf/lowlevel.c:65:udf_get_last_session: CDROMMULTISESSION not su
pported: rc=-22
UDF-fs DEBUG fs/udf/super.c:1552:udf_fill_super: Multi-session=0
UDF-fs DEBUG fs/udf/super.c:540:udf_vrs: Starting at sector 16 (2048 byte sector
s)
UDF-fs: No VRS found
XFS mounting filesystem hda3
Ending clean XFS mount for filesystem: hda3
VFS: Mounted root (xfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 204k freed
Adding 112888k swap on /dev/hda2. Priority:-1 extents:1
blk: queue c7e67a00, I/O limit 4095Mb (mask 0xffffffff)
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver _________________ ---Nathan Owens |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ndo1985 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/49836759840a951fb67c8c.jpg)
Joined: 16 Apr 2004 Posts: 57 Location: USA
|
Posted: Tue May 18, 2004 3:01 am Post subject: update |
|
|
Okay, i am not sure this fixed it yet or not, but maybe. I am gonna tell you what i did:
1.) Enabled power management
2.) Disable ACPI
3.) Enable APM
4.) Enable Ignore User Suspend
5.) Enable PM at boot.
6.) tried enablling apmd in init.d but i had to edit /etc/conf.d/apmd b/c of a bad option in 2004.1
7.) enabled Apmd as default in rc-update
8.) Tested it out. I did apm -s and it woke up fine
9.) Tested with apm -S and it also woke up fine.
I am hoping somebody may can post a reply as well. b/c i am not for sure if this cured it, i should know sometime tomorrow. _________________ ---Nathan Owens |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ndo1985 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/49836759840a951fb67c8c.jpg)
Joined: 16 Apr 2004 Posts: 57 Location: USA
|
Posted: Tue May 18, 2004 9:22 pm Post subject: new update |
|
|
Well my problem is almost solved. except now, i noticed after i did apm -s , i cam eback and my computer was awake already, may have been b/c i didn't do apm -s b4 i went to school. but when i clicked on a program once, it popuped the program three times. it's weird _________________ ---Nathan Owens |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|