LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-31-2006, 09:04 AM   #1
g-string 3
Member
 
Registered: Aug 2004
Location: Germany
Distribution: Sarge
Posts: 153

Rep: Reputation: 30
Need 4 standby


Hello,
I' m runnin Sarge - very fine thinh
BUT
the standby doesn't work at all. In the CMOS the standby is activated, Sarge was installed with ACPI.
ACPI would be fine, but its not a must, the classic APM (stopping harddisk, interrupting northbridge/AGP ...) would be enough.

Do you have an idea how to get it to work? Maybe deactivating some logging of some processes?
 
Old 07-31-2006, 10:11 AM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
try
echo mem >/sys/power/state
 
Old 07-31-2006, 12:30 PM   #3
g-string 3
Member
 
Registered: Aug 2004
Location: Germany
Distribution: Sarge
Posts: 153

Original Poster
Rep: Reputation: 30
I did:
Code:
echo mem >/sys/power/state
Linux doesn't find the folder or file

Then as su:
Code:
sarge:/home/micro# echo mem /sys/power/state
mem /sys/power/state
sarge:/home/micro#
/sys/power/state is empty
 
Old 07-31-2006, 01:58 PM   #4
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
modprobe acpi
?
ls /proc/acpi
?
lsmod
?
uname -a
?
 
Old 07-31-2006, 02:18 PM   #5
g-string 3
Member
 
Registered: Aug 2004
Location: Germany
Distribution: Sarge
Posts: 153

Original Poster
Rep: Reputation: 30
No acpi installed modprobed and no /proc/acpi but apm modprobed and /proc/apm available

sarge:/home/micro# lsmod
Module Size Used by Tainted: P
nls_iso8859-1 2876 1 (autoclean)
isofs 27028 1 (autoclean)
input 3520 0 (autoclean)
apm 9964 1 (autoclean)
lp 6404 0 (autoclean)
parport 25768 0 (autoclean) [lp]
af_packet 12808 1 (autoclean)
ohci1394 25360 0 (unused)
ieee1394 186020 0 [ohci1394]
emu10k1-gp 1320 0 (unused)
gameport 1676 0 [emu10k1-gp]
nvidia 3646172 6
ehci-hcd 17868 0 (unused)
usb-ohci 19176 0 (unused)
usbcore 62252 1 [ehci-hcd usb-ohci]
ide-scsi 9904 0
scsi_mod 94596 1 [ide-scsi]
forcedeth 9132 1
agpgart 45412 3
w83627hf 13912 0
eeprom 3628 0
i2c-proc 6404 0 [w83627hf eeprom]
i2c-isa 772 0 (unused)
i2c-nforce2 3464 0 (unused)
i2c-core 15844 0 [w83627hf eeprom i2c-proc i2c-isa i2c-nforce2]
emu10k1 58540 0
ac97_codec 13108 0 [emu10k1]
sound 56552 0 [emu10k1]
soundcore 3972 7 [emu10k1 sound]
ide-cd 30976 1
cdrom 29412 0 [ide-cd]
rtc 6376 0 (autoclean)
reiserfs 184720 3 (autoclean)
ide-detect 288 0 (autoclean) (unused)
amd74xx 10660 1 (autoclean)
ide-disk 16576 4 (autoclean)
ide-core 107128 5 (autoclean) [ide-scsi ide-cd ide-detect amd74x x ide-disk]
unix 14832 249 (autoclean)

sarge:/home/micro# uname -a
Linux sarge 2.4.27-2-k7 #1 Wed Aug 17 11:28:09 UTC 2005 i686 GNU/Linux

Last edited by g-string 3; 07-31-2006 at 02:19 PM.
 
Old 07-31-2006, 02:42 PM   #6
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Oops, 2.4.. And what is in /proc/apm/ ? But I doubt that acpi is running correctly... Does anything appear in dmesg?
 
Old 07-31-2006, 03:09 PM   #7
g-string 3
Member
 
Registered: Aug 2004
Location: Germany
Distribution: Sarge
Posts: 153

Original Poster
Rep: Reputation: 30
The content of /proc/apm:

1.16 1.2 0x07 0x01 0xff 0x80 -1% -1 ?


Full dmesg output:
Code:
sarge:/home/micro# dmesg
Linux version 2.4.27-2-k7 (horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #1 Wed Aug 17 11:28:09 UTC 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
 BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
 BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
127MB HIGHMEM available.
896MB LOWMEM available.
On node 0 totalpages: 262128
zone(0): 4096 pages.
zone(1): 225280 pages.
zone(2): 32752 pages.
ACPI: RSDP (v000 Nvidia                                    ) @ 0x000f7390
ACPI: RSDT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff3000
ACPI: FADT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff3040
ACPI: MADT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff7700
ACPI: DSDT (v001 NVIDIA AWRDACPI 0x00001000 MSFT 0x0100000e) @ 0x00000000
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 Pentium(tm) Pro APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
Kernel command line: root=/dev/hda3 ro
Found and enabled local APIC!
Initializing CPU#0
Detected 1837.511 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 3670.01 BogoMIPS
Memory: 1029712k/1048512k available (1187k kernel code, 18416k reserved, 452k data, 116k init, 131008k highmem)
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode cache hash table entries: 65536 (order: 7, 524288 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 65536 (order: 6, 262144 bytes)
Page-cache hash table entries: 262144 (order: 8, 1048576 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383fbff c1c3fbff 00000000 00000000
CPU:             Common caps: 0383fbff c1c3fbff 00000000 00000000
CPU: AMD Athlon(tm)  stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
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 1837.4508 MHz.
..... host bus clock speed is 334.0819 MHz.
cpu: 0, clocks: 3340819, slice: 1670409
CPU0<T0:3340816,T1:1670400,D:7,S:1670409,C:3340819>
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20040326
ACPI: Interpreter disabled.
PCI: PCI BIOS revision 2.10 entry at 0xfbbd0, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: ACPI tables contain no PCI IRQ routing entries
PCI: Probing PCI hardware (bus 00)
PCI: Discovered primary peer bus ff [IRQ]
PCI: Using IRQ router default [10de/01e0] at 00:00.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
allocated 32 pages and 32 bhs reserved for the highmem bounces
VFS: Disk quotas vdquot_6.5.1
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Detected PS/2 Mouse Port.
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
COMX: driver version 0.85 (C) 1995-1999 ITConsult-Pro Co. <info@itc.hu>
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 4024 blocks [1 disk] into ram disk... done.
Freeing initrd memory: 4024k freed
VFS: Mounted root (cramfs filesystem).
Freeing unused kernel memory: 116k freed
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ide: late registration of driver.
NFORCE2: IDE controller at PCI slot 00:09.0
NFORCE2: chipset revision 162
NFORCE2: not 100% native mode: will probe irqs later
NFORCE2: BIOS didn't set cable bits correctly. Enabling workaround.
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE2: 00:09.0 (rev a2) UDMA133 controller
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
hda: Maxtor 5T040H4, ATA DISK drive
blk: queue f8829720, I/O limit 4095Mb (mask 0xffffffff)
hdc: TOSHIBA DVD-ROM SD-M1612, ATAPI CD/DVD-ROM drive
hdd: TOSHIBA DVD-ROM SD-R1002, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: Host Protected Area detected.
        current capacity is 78125000 sectors (40000 MB)
        native  capacity is 80043264 sectors (40982 MB)
hda: 78125000 sectors (40000 MB) w/2048KiB Cache, CHS=77504/16/63, UDMA(100)
Partition check:
 /dev/ide/host0/bus0/target0/lun0: [PTBL] [4863/255/63] p1 p2 < p5 p6 p7 p8 p9 p10 > p3
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide0(3,3)) ...
for (ide0(3,3))
ide0(3,3):Using r5 hash to sort names
Adding Swap: 361420k swap-space (priority -1)
Real Time Clock Driver v1.10f
hdc: attached ide-cdrom driver.
hdc: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
hdd: attached ide-cdrom driver.
hdd: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, DMA
Creative EMU10K1 PCI Audio Driver, version 0.20, 11:44:39 Aug 17 2005
emu10k1: EMU10K1 rev 6 model 0x8027 found, IO at 0xd000-0xd01f, IRQ 12
ac97_codec: AC97  codec, id: TRA35 (TriTech TR A5)
i2c-core.o: i2c core module version 2.9.1 (20050412)
i2c-nforce2.o version 2.9.1 (20050412)
i2c-nforce2.o: nForce2 SMBus adapter at 0x5000
i2c-nforce2.o: nForce2 SMBus adapter at 0x5040
i2c-isa.o version 2.9.1 (20050412)
i2c-proc.o version 2.9.1 (20050412)
eeprom.o version 2.9.1 (20050412)
w83627hf.o version 2.9.1 (20050412)
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide0(3,7)) ...
for (ide0(3,7))
ide0(3,7):Using r5 hash to sort names
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide0(3,10)) ...
for (ide0(3,10))
ide0(3,10):Using r5 hash to sort names
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 941M
agpgart: Detected NVIDIA nForce2 chipset
agpgart: AGP aperture is 128M @ 0xd0000000
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
PCI: Setting latency timer of device 00:04.0 to 64
eth0: forcedeth.c: subsystem: 01462:570c bound to 00:04.0
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Setting latency timer of device 00:02.0 to 64
usb-ohci.c: USB OHCI at membase 0xf8b91000, IRQ 10
usb-ohci.c: usb-00:02.0, nVidia Corporation nForce2 USB Controller
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Setting latency timer of device 00:02.1 to 64
usb-ohci.c: USB OHCI at membase 0xf8b93000, IRQ 11
usb-ohci.c: usb-00:02.1, nVidia Corporation nForce2 USB Controller (#2)
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Setting latency timer of device 00:02.2 to 64
ehci_hcd 00:02.2: nVidia Corporation nForce2 USB Controller
ehci_hcd 00:02.2: irq 7, pci mem f8b9b000
usb.c: new USB bus registered, assigned bus number 3
PCI: cache line size of 64 is not supported by device 00:02.2
ehci_hcd 00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 6 ports detected
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-7174  Tue Mar 22 06:44:39 PST 2005
gameport0: Emu10k1 Gameport at 0xd400 size 8 speed 877 kHz
ohci1394: $Rev: 1045 $ Ben Collins <bcollins@debian.org>
ohci1394_0: Unexpected PCI resource length of 1000!
ohci1394_0: OHCI-1394 1.1 (PCI): IRQ=[5]  MMIO=[e8000000-e80007ff]  Max Packet=[2048]
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00004c0107002abb]
lp: driver loaded but no devices found
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
ISO 9660 Extensions: Microsoft Joliet Level 1
ISOFS: changing to secondary root
sarge:/home/micro#


Points meeting search string apm and acpi from dmesg:
Code:
 BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
 BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
Code:
ACPI: RSDP (v000 Nvidia                                    ) @ 0x000f7390
ACPI: RSDT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff3000
ACPI: FADT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff3040
ACPI: MADT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff7700
ACPI: DSDT (v001 NVIDIA AWRDACPI 0x00001000 MSFT 0x0100000e) @ 0x00000000
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Code:
ACPI: Subsystem revision 20040326
ACPI: Interpreter disabled.
PCI: PCI BIOS revision 2.10 entry at 0xfbbd0, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: ACPI tables contain no PCI IRQ routing entries
PCI: Probing PCI hardware (bus 00)
PCI: Discovered primary peer bus ff [IRQ]
PCI: Using IRQ router default [10de/01e0] at 00:00.0
Code:
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
Code:
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)

Last edited by g-string 3; 07-31-2006 at 03:18 PM.
 
Old 07-31-2006, 03:24 PM   #8
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Not that I can find anything like complain... Don't know. I guess it's not probable that someone missed some options in kernel .config, so no idea now..
 
Old 07-31-2006, 03:30 PM   #9
g-string 3
Member
 
Registered: Aug 2004
Location: Germany
Distribution: Sarge
Posts: 153

Original Poster
Rep: Reputation: 30
Nevertheless, thanks for sharing your knowledge.
I' m grateful for "uname -a" and "dmesg".

Maybe somene else has an idea.

A kernel upgrade would be possible.
I' m using apt-get, so easy going.
I have several kernels installed (chaos ), maybe "cleaning" up the kernel mess and installing a 2.6 kernel would be the way to go.
 
Old 07-31-2006, 03:49 PM   #10
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Don't forget to check for newest udev. Udev incompatible with kernel is a major 2.6 game.
 
  


Reply



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
No Standby larryboy7 Linux - Laptop and Netbook 1 04-08-2005 05:20 AM
Cant get out of standby in 10.1 rockmeisster Mandriva 0 12-30-2004 01:12 PM
How to do standby? haldara Linux - Laptop and Netbook 1 09-29-2004 12:19 AM
Standby problems jduck Linux - Laptop and Netbook 0 09-17-2004 10:44 AM
Standby bug... djib Mandriva 3 09-17-2004 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:59 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration