LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-01-2002, 09:58 AM   #1
Ikarius
LQ Newbie
 
Registered: Dec 2002
Distribution: Debian 3.0
Posts: 6

Rep: Reputation: 0
Hard Drive probems


I have some problems with my drive under my Debian (kernel 2.4.18)

Every time my drive (an ibm desktar 120Gxp 80GB) is working (like when installing a packagge, downloading a big file..) My computer slows down like hell, my mouse can't move for one or two seconds, both xmms and gqmpeg skip during a few secs....

if anyone could tell me if it's a debian bug or a bad config, I'll appreciate it
Thanks in advance
 
Old 12-01-2002, 10:52 AM   #2
clavius
Member
 
Registered: Dec 2002
Location: Romania, Tg-Jiu City
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
Hei,

Boy, why you don't give us some more information about your box ?
Processor type, motherboard chipset, what kind of hard drive do you have, what type of controller, and so on... Do you think we are able to read your mind ?
 
Old 12-01-2002, 11:01 AM   #3
Ikarius
LQ Newbie
 
Registered: Dec 2002
Distribution: Debian 3.0
Posts: 6

Original Poster
Rep: Reputation: 0
Ok ok sorry about that ^^

I have a PIII-733 Processor, and lspci gives this output:

00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev 44)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]
00:02.0 ISA bridge: VIA Technologies, Inc. VT82C596 ISA [Mobile South] (rev 23)
00:02.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 10)
00:02.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 11)
00:02.3 Host bridge: VIA Technologies, Inc. VT82C596 Power Management (rev 30)
00:0b.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
 
Old 12-01-2002, 11:51 AM   #4
clavius
Member
 
Registered: Dec 2002
Location: Romania, Tg-Jiu City
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
Oh boy...

# cat /proc/meminfo

and

What kind of apps do you run on it ?

Give us COMPLETE information, pls.
 
Old 12-01-2002, 11:59 AM   #5
Ikarius
LQ Newbie
 
Registered: Dec 2002
Distribution: Debian 3.0
Posts: 6

Original Poster
Rep: Reputation: 0
Meminfo gives me that: (I have 320MB SDRam PC133)

total: used: free: shared: buffers: cached:
Mem: 327286784 322711552 4575232 0 13922304 215867392
Swap: 304291840 0 304291840
MemTotal: 319616 kB
MemFree: 4468 kB
MemShared: 0 kB
Buffers: 13596 kB
Cached: 210808 kB
SwapCached: 0 kB
Active: 86808 kB
Inactive: 188736 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 319616 kB
LowFree: 4468 kB
SwapTotal: 297160 kB
SwapFree: 297160 kB

I run Xchat 1.8.10, Xmms 1.2.7 and Mozilla 1.0.0 under XFree86 4.2.1 with WindowMaker 0.80.0

I Don't think it can be more complete than that
 
Old 12-01-2002, 12:22 PM   #6
clavius
Member
 
Registered: Dec 2002
Location: Romania, Tg-Jiu City
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
Quote:
Originally posted by Ikarius
Meminfo gives me that: (I have 320MB SDRam PC133)

total: used: free: shared: buffers: cached:
Mem: 327286784 322711552 4575232 0 13922304 215867392
Swap: 304291840 0 304291840
MemTotal: 319616 kB
MemFree: 4468 kB

...

I run Xchat 1.8.10, Xmms 1.2.7 and Mozilla 1.0.0 under XFree86 4.2.1 with WindowMaker 0.80.0

I Don't think it can be more complete than that
Well, I'm running: XMMS, Opera, licq, KDE 3.1 (from CVS), Postgres SQL, MySQL, Apache, a socks proxy, KVirc, XFree86 4.2. and i have only 256M of ram and DOESN'T consume like it consumes to you a few apps. And KDE need A LOTTTT of memory than Window Maker.

I think that a software remain in memory and use all of processor. For this, type:
maya:~$ ps aux | more
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND

And check field 3 to see how much processor consumes every process and how much memory (field 4). Try to kill that process and see what is happening.

And btw, is there some special action when it starts to have the strange behavoir ?
 
Old 12-01-2002, 12:47 PM   #7
Ikarius
LQ Newbie
 
Registered: Dec 2002
Distribution: Debian 3.0
Posts: 6

Original Poster
Rep: Reputation: 0
the only process that used more than 10% of CPU was mozilla, and it's listed 6 times :

ikarius 2136 14.3 7.5 38452 24276 ? S 19:41 0:19 /usr/lib/mozilla/
mozilla-bin
ikarius 2153 0.0 7.5 38452 24276 ? S 19:41 0:00 /usr/lib/mozilla/
mozilla-bin
ikarius 2154 0.0 7.5 38452 24276 ? S 19:41 0:00 /usr/lib/mozilla/
mozilla-bin
ikarius 2155 0.0 7.5 38452 24276 ? S 19:41 0:00 /usr/lib/mozilla/
mozilla-bin
ikarius 2157 0.1 7.5 38452 24276 ? S 19:41 0:00 /usr/lib/mozilla/
mozilla-bin
ikarius 2166 0.0 7.5 38452 24276 ? S 19:42 0:00 /usr/lib/mozilla/
mozilla-bin


I killed it, but even without it loaded, the same problem occurs.
The problem starts as soon as my Hard drive works, ie when copying a big file, installing a package... every time the LED stays on for more than 1 sec.
 
Old 12-01-2002, 12:54 PM   #8
clavius
Member
 
Registered: Dec 2002
Location: Romania, Tg-Jiu City
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
Quote:
Originally posted by Ikarius
The problem starts as soon as my Hard drive works, ie when copying a big file, installing a package... every time the LED stays on for more than 1 sec.
[/B]
Ah... sorry, I didn't read carefully your first post. I'm not a verry good english speaker/reader and I was confused a little.

Do you have the DMA activated ?

please paste your output for: hdparm /dev/hda
 
Old 12-01-2002, 01:11 PM   #9
Ikarius
LQ Newbie
 
Registered: Dec 2002
Distribution: Debian 3.0
Posts: 6

Original Poster
Rep: Reputation: 0
it wasn't using dma s o i changed it and now it works perfectly fine, thanks a lot

btw, is there other things I can tune with hdparm ?
the output is :

naquada:/home/ikarius# hdparm /dev/hda

/dev/hda:
multcount = 16 (on)
I/O support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 10011/255/63, sectors = 160836480, start = 0
busstate = 1 (on)

Thanks again
 
Old 12-01-2002, 01:20 PM   #10
clavius
Member
 
Registered: Dec 2002
Location: Romania, Tg-Jiu City
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
Quote:
Originally posted by Ikarius
it wasn't using dma s o i changed it and now it works perfectly fine, thanks a lot

You have to compile your kernel and check support for your IDE chipset at block devices section (That if you want to don't add the hdparm command to your startup files)
Quote:
btw, is there other things I can tune with hdparm ?
Yes, but from my experience, with newest hardware, you can't get signifiant improvements if you change it (like transfer speed).
Check the manual.
 
Old 12-01-2002, 01:23 PM   #11
Ikarius
LQ Newbie
 
Registered: Dec 2002
Distribution: Debian 3.0
Posts: 6

Original Poster
Rep: Reputation: 0
ok I'll check for the kernel (I need to add other modules anyway)
thanks again
 
  


Reply


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
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
SATA probems YogSagot Linux - Hardware 1 12-30-2004 09:59 AM
2 hard drive in system mirror 1st hard drive sburns76247 Linux - General 2 12-21-2004 01:47 AM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 12:01 PM
STUCK--Trying to copy old Hard Drive to new Hard Drive. Please Help tsw Linux - Newbie 8 05-26-2004 02:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:32 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