LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-25-2004, 05:30 AM   #1
jwstric2
Member
 
Registered: Jan 2004
Posts: 105

Rep: Reputation: 15
hard drive power off


Im trying to figure out what process keeps continously writing to my hard drives, not allowing them to ever go into standby mode. Below is what I've done thus far.

1.
#bdflush every 45 minutes nowm I guess I could make the buffer size larger
echo "50 500 0 0 270000 270000 80 50 0">/proc/sys/vm/bdflush


2. Proceeded each option with a dash in syslog to prevent sync with each log write.

# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* -/dev/console

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none -/var/log/messages

Swap space shouldn't be an issue when idle I would think. Plus it wouldn't matter anyway, Im using 0% of it right now and the hard drive is stil dumping something about every second. Any ideas. I guess my next line of action would be try to figure out the culprid process by looking at the process stats.

Redhat 9.0 install by the way.
 
Old 06-26-2004, 08:19 AM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
What's the rest of the information of the machine? /sbin/lspci, kernel, version of apmd?

Cheers,

Finegan
 
Old 06-26-2004, 10:51 AM   #3
jwstric2
Member
 
Registered: Jan 2004
Posts: 105

Original Poster
Rep: Reputation: 15
/sbin/lspci
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:04.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
00:04.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:04.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:04.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:09.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
00:0b.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
00:0d.0 Unknown mass storage controller: Promise Technology, Inc. 20269 (rev 02)01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 RF/SG AGP



more /proc/version
Linux version 2.4.20-31.9 (bhcompile@daffy.perf.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Tue Apr 13 18:04:23 EDT 2004

AND SOMETIMES

custom 2.4.24


apm -v
APM BIOS 1.2 (kernel driver 1.16)
AC on-line, no system battery



Here's a listing of processes, does anyone look familar to anyone that writes to logs, ect... I might have to end up going though each one to find the culprit.

PID TTY TIME CMD
1 ? 00:00:04 init
2 ? 00:00:00 keventd
3 ? 00:00:00 kapmd
4 ? 00:00:00 ksoftirqd_CPU0
9 ? 00:00:00 bdflush
5 ? 00:00:00 kswapd
6 ? 00:00:00 kscand/DMA
7 ? 00:02:52 kscand/Normal
8 ? 00:00:00 kscand/HighMem
10 ? 00:00:00 kupdated
11 ? 00:00:00 mdrecoveryd
21 ? 00:00:00 raid1d
22 ? 00:00:00 raid1d
23 ? 00:00:00 raid1d
24 ? 00:00:00 kjournald
82 ? 00:00:00 khubd
1444 ? 00:00:00 kjournald
1445 ? 00:00:02 kjournald
1758 ? 00:00:00 dhclient
1809 ? 00:00:00 syslogd
1813 ? 00:00:00 klogd
1831 ? 00:00:00 portmap
1850 ? 00:00:00 rpc.statd
1917 ? 00:00:00 apmd
1954 ? 00:00:00 sshd
1968 ? 00:00:00 xinetd
1978 ? 00:00:00 vsftpd
2000 ? 00:00:00 sendmail
2009 ? 00:00:00 sendmail
2019 ? 00:00:00 gpm
2028 ? 00:00:00 crond
2039 ? 00:00:00 cupsd
2091 ? 00:00:07 xfs
2109 ? 00:00:00 atd
2119 ? 00:00:00 rhnsd
2129 tty1 00:00:00 mingetty
2130 tty2 00:00:00 mingetty
2131 tty3 00:00:00 mingetty
2132 tty4 00:00:00 mingetty
2133 tty5 00:00:00 mingetty
2134 tty6 00:00:00 mingetty
2135 ? 00:00:00 gdm-binary
2178 ? 00:00:00 gdm-binary
2179 ? 00:19:51 X
2198 ? 00:00:03 gnome-session
2241 ? 00:00:00 ssh-agent
2246 ? 00:00:02 gconfd-2
2248 ? 00:00:00 bonobo-activati
2250 ? 00:00:02 gnome-settings-
2255 ? 00:00:04 fam
2260 ? 00:00:03 xscreensaver
2263 ? 00:02:04 metacity
2267 ? 00:01:55 gnome-panel
2271 ? 00:09:29 magicdev
2273 ? 00:00:04 eggcups
2275 ? 00:00:01 pam-panel-icon
2277 ? 00:02:32 rhn-applet-gui
2278 ? 00:00:00 pam_timestamp_c
2285 ? 00:00:08 multiload-apple
2291 ? 00:00:01 oafd
2295 ? 00:00:01 wombat
2299 ? 00:00:01 bonobo-moniker-
2324 ? 00:00:00 evolution-alarm
2389 ? 00:00:28 gnome-terminal
2390 ? 00:00:00 gnome-pty-helpe
2391 pts/0 00:00:00 bash
2810 ? 00:01:10 nautilus
8560 ? 00:00:02 evolution
8566 ? 00:00:02 evolution-mail
8570 ? 00:00:00 esd
8578 ? 00:00:00 evolution-addre
8585 ? 00:00:00 evolution-calen
8600 ? 00:00:00 evolution-execu
8621 ? 00:00:34 mozilla-bin
8666 pts/1 00:00:00 bash
8737 pts/1 00:00:00 su
8740 pts/1 00:00:00 bash
8811 ? 00:00:00 gconfd-2
9016 pts/1 00:00:00 ps
 
  


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
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
external usb hard drive automatic power down? acaetano Linux - Hardware 2 10-20-2005 12:57 AM
Power outage left hard drive trashed Riallin Linux - General 4 07-07-2005 05:52 PM
Hard drive power down skywalkers Linux - Software 2 04-18-2005 10:38 PM
notebook hard drive power rating jwstric2 Linux - Hardware 1 05-23-2004 09:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 06:04 PM.

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