Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am new to Red Hat Linux and recently have encountered a problem .
Approximately every 20 - 25 minutes, the computer beeps 3 times
following a system suspension. However, when a key on the keyboard is
hit, the system resumes after the computer beeping once.
These are the messages from the system logs:
Jul 6 14:57:47 adler apmd[2822]: Normal Resume after 00:00:08 (-1%
unknown) AC power
Jul 6 15:07:46 adler su(pam_unix)[15280]: session opened for user root
by gavita(uid=500)
Jul 6 15:09:42 adler su(pam_unix)[15374]: session opened for user root
by gavita(uid=500)
Jul 6 15:11:59 adler su(pam_unix)[15459]: session opened for user root
by gavita(uid=500)
Jul 6 15:19:49 adler su(pam_unix)[15593]: session opened for user root
by gavita(uid=500)
Jul 6 15:21:16 adler su(pam_unix)[15676]: session opened for user root
by gavita(uid=500)
Jul 6 15:22:23 adler userhelper: pam_timestamp: timestamp file
`/var/run/sudo/gavita/unknown:root' is too old, disallowing access to
up2date for UID 500
Jul 6 15:22:37 adler network: Shutting down interface eth0: succeeded
Jul 6 15:22:37 adler network: Shutting down loopback interface:
succeeded
Jul 6 15:22:37 adler apmd[2822]: System Suspend
Jul 6 15:22:38 adler kernel: usb-ohci.c: USB suspend: usb-00:03.0
Jul 6 15:22:38 adler kernel: usb-ohci.c: USB suspend: usb-00:03.1
Jul 6 15:22:38 adler kernel: ehci-hcd 00:03.2: suspend to state 3
Jul 6 16:22:43 adler kernel: ac97_codec: AC97 Audio codec, id: ADS112
(Unknown)
Jul 6 16:22:43 adler kernel: usb-ohci.c: USB continue: usb-00:03.0 from
host wakeup
Jul 6 16:22:43 adler kernel: usb-ohci.c: USB continue: usb-00:03.1 from
host wakeup
Jul 6 16:22:43 adler kernel: ehci-hcd 00:03.2: resume
Jul 6 15:22:43 adler kernel: ip_tables: (C) 2000-2002 Netfilter core
team
Jul 6 15:22:43 adler kernel: ip_tables: (C) 2000-2002 Netfilter core
team
Jul 6 15:22:45 adler kernel: eth0: Media Link On 100mbps full-duplex
Jul 6 15:22:46 adler dhclient: DHCPREQUEST on eth0 to 255.255.255.255
port 67
Jul 6 15:22:46 adler dhclient: DHCPNAK from 143.167.56.251
Jul 6 15:22:46 adler dhclient: DHCPDISCOVER on eth0 to 255.255.255.255
port 67 interval 6
Jul 6 15:22:46 adler dhclient: DHCPOFFER from 143.167.48.253
Jul 6 15:22:46 adler dhclient: DHCPREQUEST on eth0 to 255.255.255.255
port 67
Jul 6 15:22:46 adler dhclient: DHCPACK from 143.167.48.253
Jul 6 15:22:46 adler dhclient: bound to 143.167.96.165 -- renewal in
17172 seconds.
Jul 6 15:22:46 adler netfs: Mounting other filesystems: succeeded
Jul 6 15:22:46 adler netfs: Mounting other filesystems: succeeded
Jul 6 15:22:47 adler apmd[2822]: Normal Resume after 00:00:10 (-1%
unknown) AC power
Jul 6 15:23:06 adler su(pam_unix)[15593]: session closed for user root
Jul 6 15:23:09 adler su(pam_unix)[15676]: session closed for user root
Jul 6 15:24:47 adler gdm(pam_unix)[3187]: session closed for user
gavita
Jul 6 15:24:55 adler gdm(pam_unix)[3187]: session opened for user
gavita by (uid=0)
Jul 6 15:25:05 adler su(pam_unix)[16387]: session opened for user root
by gavita(uid=500)
Jul 6 15:28:28 adler su(pam_unix)[16387]: session closed for user root
Jul 6 15:36:16 adler su(pam_unix)[16604]: session opened for user root
by gavita(uid=500)
Jul 6 15:38:17 adler userhelper: pam_timestamp: timestamp file
`/var/run/sudo/gavita/unknown:root' is too old, disallowing access to
up2date for UID 500
Jul 6 15:38:32 adler su(pam_unix)[16604]: session closed for user root
Jul 6 15:38:38 adler su(pam_unix)[16709]: session opened for user root
by gavita(uid=500)
Jul 6 15:41:48 adler userhelper: pam_timestamp: timestamp file
`/var/run/sudo/gavita/unknown:root' is only 208 seconds old, allowing
access to up2date for UID 500
Jul 6 15:41:50 adler userhelper: pam_timestamp: timestamp file
`/var/run/sudo/gavita/unknown:root' is only 2 seconds old, allowing
access to up2date for UID 500
Jul 6 15:41:51 adler userhelper: pam_timestamp: timestamp file
`/var/run/sudo/gavita/unknown:root' is only 1 seconds old, allowing
access to up2date for UID 500
Jul 6 15:41:51 adler userhelper: pam_timestamp: timestamp file
`/var/run/sudo/gavita/unknown:root' is too old, disallowing access to
up2date for UID 500
Jul 6 15:41:51 adler last message repeated 2 times
Jul 6 15:41:53 adler up2date(pam_unix)[16894]: auth could not identify
password for [root]
Jul 6 15:41:54 adler up2date(pam_unix)[16891]: auth could not identify
password for [root]
Jul 6 15:45:48 adler su(pam_unix)[16709]: session closed for user root
Jul 6 15:46:45 adler su(pam_unix)[16974]: session opened for user root
by gavita(uid=500)
Jul 6 15:47:39 adler network: Shutting down interface eth0: succeeded
Jul 6 15:47:39 adler network: Shutting down loopback interface:
succeeded
Jul 6 15:47:40 adler apmd[2822]: System Suspend
Jul 6 15:47:41 adler kernel: usb-ohci.c: USB suspend: usb-00:03.0
Jul 6 15:47:41 adler kernel: usb-ohci.c: USB suspend: usb-00:03.1
Jul 6 15:47:41 adler kernel: ehci-hcd 00:03.2: suspend to state 3
Jul 6 16:47:45 adler kernel: ac97_codec: AC97 Audio codec, id: ADS112
(Unknown)
Jul 6 16:47:45 adler kernel: usb-ohci.c: USB continue: usb-00:03.0 from
host wakeup
Jul 6 16:47:45 adler kernel: usb-ohci.c: USB continue: usb-00:03.1 from
host wakeup
Jul 6 16:47:45 adler kernel: ehci-hcd 00:03.2: resume
Jul 6 15:47:46 adler kernel: ip_tables: (C) 2000-2002 Netfilter core
team
Jul 6 15:47:46 adler kernel: ip_tables: (C) 2000-2002 Netfilter core
team
Jul 6 15:47:48 adler kernel: eth0: Media Link On 100mbps full-duplex
Jul 6 15:47:51 adler dhclient: DHCPREQUEST on eth0 to 255.255.255.255
port 67
Jul 6 15:47:51 adler dhclient: DHCPNAK from 143.167.56.251
Jul 6 15:47:51 adler dhclient: DHCPDISCOVER on eth0 to 255.255.255.255
port 67 interval 5
Jul 6 15:47:51 adler dhclient: DHCPOFFER from 143.167.48.253
Jul 6 15:47:51 adler dhclient: DHCPREQUEST on eth0 to 255.255.255.255
port 67
Jul 6 15:47:51 adler dhclient: DHCPACK from 143.167.48.253
Jul 6 15:47:51 adler dhclient: bound to 143.167.96.165 -- renewal in
299218 seconds.
Jul 6 15:47:51 adler netfs: Mounting other filesystems: succeeded
Jul 6 15:47:51 adler netfs: Mounting other filesystems: succeeded
Jul 6 15:47:51 adler apmd[2822]: Normal Resume after 00:00:11 (-1%
unknown) AC power
Jul 6 16:00:49 adler userhelper: pam_timestamp: timestamp file
`/var/run/sudo/gavita/unknown:root' is too old, disallowing access to
redhat-logviewer for UID 500
Jul 6 16:06:23 adler su(pam_unix)[16974]: session closed for user root
Jul 6 16:11:50 adler gdm(pam_unix)[3187]: session closed for user
gavita
Jul 6 16:11:59 adler gdm(pam_unix)[3187]: session opened for user
gavita by (uid=0)
Jul 6 16:12:39 adler network: Shutting down interface eth0: succeeded
Jul 6 16:12:39 adler network: Shutting down loopback interface:
succeeded
Jul 6 16:12:40 adler apmd[2822]: System Suspend
Jul 6 16:12:41 adler kernel: usb-ohci.c: USB suspend: usb-00:03.0
Jul 6 16:12:41 adler kernel: usb-ohci.c: USB suspend: usb-00:03.1
Jul 6 16:12:41 adler kernel: ehci-hcd 00:03.2: suspend to state 3
Jul 6 17:12:47 adler kernel: ac97_codec: AC97 Audio codec, id: ADS112
(Unknown)
Jul 6 17:12:47 adler kernel: usb-ohci.c: USB continue: usb-00:03.0 from
host wakeup
Jul 6 17:12:47 adler kernel: usb-ohci.c: USB continue: usb-00:03.1 from
host wakeup
Jul 6 17:12:47 adler kernel: ehci-hcd 00:03.2: resume
Jul 6 16:12:47 adler kernel: ip_tables: (C) 2000-2002 Netfilter core
team
Jul 6 16:12:47 adler kernel: ip_tables: (C) 2000-2002 Netfilter core
team
Jul 6 16:12:49 adler kernel: eth0: Media Link On 100mbps full-duplex
Jul 6 16:12:50 adler dhclient: DHCPREQUEST on eth0 to 255.255.255.255
port 67
Jul 6 16:12:50 adler dhclient: DHCPACK from 143.167.48.253
Jul 6 16:12:50 adler dhclient: bound to 143.167.96.165 -- renewal in
262370 seconds.
Jul 6 16:12:50 adler netfs: Mounting other filesystems: succeeded
Jul 6 16:12:50 adler netfs: Mounting other filesystems: succeeded
Jul 6 16:12:50 adler apmd[2822]: Normal Resume after 00:00:10 (-1%
unknown) AC power
Jul 6 16:14:24 adler su(pam_unix)[18322]: session opened for user root
by gavita(uid=500)
Jul 6 16:15:23 adler userhelper: pam_timestamp: timestamp file
`/var/run/sudo/gavita/unknown:root' is too old, disallowing access to
redhat-logviewer for UID 500
Jul 6 16:17:27 adler su(pam_unix)[18322]: session closed for user root
Jul 6 16:17:39 adler su(pam_unix)[18433]: session opened for user root
by gavita(uid=500)
Jul 6 16:17:45 adler apmd[2822]: Exiting
Jul 6 16:17:46 adler apmd: apmd shutdown succeeded
Jul 6 16:20:33 adler userhelper: pam_timestamp: timestamp file
`/var/run/sudo/gavita/unknown:root' is too old, disallowing access to
redhat-logviewer for UID 500
Jul 6 16:20:35 adler redhat-logviewer(pam_unix)[18499]: authentication
failure; logname= uid=500 euid=0 tty= ruser=gavita rhost= user=root
Jul 6 16:20:38 adler userhelper[18499]: pam_timestamp: timestamp file
`/var/run/sudo/gavita/unknown:root' is too old, disallowing access to
redhat-logviewer for UID 500
Jul 6 16:26:36 adler userhelper: pam_timestamp: timestamp file
`/var/run/sudo/gavita/unknown:root' is too old, disallowing access to
redhat-config-network for UID 500
Jul 6 16:26:39 adler gconfd (root-18531): starting (version 2.2.0), pid
18531 user 'root'
Jul 6 16:26:39 adler gconfd (root-18531): Resolved address
"xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only config
source at position 0
Jul 6 16:26:39 adler gconfd (root-18531): Resolved address
"xml:readwrite:/root/.gconf" to a writable config source at position 1
Jul 6 16:26:39 adler gconfd (root-18531): Resolved address
"xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only config
source at position 2
Jul 6 16:28:39 adler gconfd (root-18531): GConf server is not in use,
shutting down.
Jul 6 16:28:39 adler gconfd (root-18531): Exiting
Jul 6 16:31:09 adler su(pam_unix)[18433]: session closed for user root
Jul 6 16:31:51 adler userhelper: pam_timestamp: timestamp file
`/var/run/sudo/gavita/unknown:root' is too old, disallowing access to
redhat-config-securitylevel for UID 500
Jul 6 16:37:38 adler kernel: usb-ohci.c: USB suspend: usb-00:03.0
Jul 6 16:37:38 adler kernel: usb-ohci.c: USB suspend: usb-00:03.1
Jul 6 16:37:38 adler kernel: ehci-hcd 00:03.2: suspend to state 3
Jul 6 17:39:16 adler kernel: ac97_codec: AC97 Audio codec, id: ADS112
(Unknown)
Jul 6 17:39:16 adler kernel: usb-ohci.c: USB continue: usb-00:03.0 from
host wakeup
Jul 6 17:39:16 adler kernel: usb-ohci.c: USB continue: usb-00:03.1 from
host wakeup
Jul 6 17:39:16 adler kernel: ehci-hcd 00:03.2: resume
>Does this happen independent whether you are working or the computer is
>idle ?
Yes this problem occurs whether or not I am doing work on the computer or when the computer is idle.
>Try to boot passing
>apm=off acpi=off
>to the kernel.
I am sorry but I am really new to linux and I am not sure how to do what you ahve asked me to do. However, after reading some other website, I did the following using the terminal:
/sbin/chkconfig apmd off
/sbin/service apmd stop
But even after those commands and rebooting, I am still having the same problem.
hdparm - get/set hard disk parameters - version v5.2
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
Nothing happened even after pressing the [TAB] key. I have edited the grub.conf and I am attaching the edited file below:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
password --md5 $1$s/GPqwjk$DzO2cg7G4YqPcHvzQsAEW/
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi acpi=off apm=off
initrd /initrd-2.4.20-8.img
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.