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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
07-28-2006, 09:41 AM
|
#1
|
LQ Newbie
Registered: Jul 2006
Posts: 5
Rep:
|
kernel: hda: dma_timer_expiry: dma status == 0x20
Hi there,
I am running Debian3.1 with kernel 2.6.8-2-386 on a Dell Laptop. I am using it as a remotely accessed always-on server. It seems to run quite well, but sometimes after a few months, I get a "dma_timer_expiry: dma status == 0x20" error the file system (reiserFS) resets itself into readonly mode. I get all sorts of Input/Output errors and I can't even reboot the box.
Is this showing that the disk is bad? It seems not to be as it is working fine for months before getting the DMA errors. Is there anything I can configure to avoid these problems? Is there a kernel modification, or fstab/hdparm command, or other filesystem that I should use that will prevent the drive going into read-only mode?
Thank you for any help!
root@gateway:/etc# cat debian_version
cat: debian_version: Input/output error
from syslog:
Jul 1 13:55:54 localhost kernel: hda: dma_timer_expiry: dma status == 0x20
Jul 1 13:56:59 localhost syslogd: /var/log/kern.log: Input/output error
Jul 1 13:56:59 localhost kernel: hda: DMA timeout retry
Jul 1 13:56:59 localhost kernel: hda: timeout waiting for DMA
Jul 1 13:56:59 localhost kernel: hda: status timeout: status=0xd0 { Busy }
Jul 1 13:56:59 localhost kernel:
Jul 1 13:56:59 localhost kernel: hda: drive not ready for command
Jul 1 13:56:59 localhost kernel: ide0: reset timed-out, status=0xd0
Jul 1 13:56:59 localhost kernel: hda: status timeout: status=0xd0 { Busy }
Jul 1 13:56:59 localhost kernel:
Jul 1 13:56:59 localhost kernel: hda: drive not ready for command
Jul 1 13:56:59 localhost kernel: ide0: reset timed-out, status=0xd0
Jul 1 13:56:59 localhost kernel: end_request: I/O error, dev hda, sector 13187688
Jul 1 13:56:59 localhost kernel: end_request: I/O error, dev hda, sector 270432
Jul 1 13:56:59 localhost kernel: Buffer I/O error on device hda2, logical block 1674
Jul 1 13:56:59 localhost kernel: lost page write due to I/O error on hda2
Jul 1 13:56:59 localhost kernel: end_request: I/O error, dev hda, sector 270440
Jul 1 13:56:59 localhost kernel: Buffer I/O error on device hda2, logical block 1675
Jul 1 13:56:59 localhost kernel: lost page write due to I/O error on hda2
Jul 1 13:56:59 localhost kernel: end_request: I/O error, dev hda, sector 270448
Jul 1 13:56:59 localhost kernel: Buffer I/O error on device hda2, logical block 1676
Jul 1 13:56:59 localhost kernel: lost page write due to I/O error on hda2
Jul 1 13:56:59 localhost kernel: REISERFS: abort (device hda2): Journal write error in flush_commit_list
Jul 1 13:56:59 localhost kernel: REISERFS: Aborting journal for filesystem on hda2
Jul 1 13:56:59 localhost kernel: ReiserFS: hda2: warning: clm-6006: writing inode 688 on readonly FS
Jul 1 13:56:59 localhost last message repeated 11 times
Jul 1 13:56:59 localhost kernel: ReiserFS: hda2: warning: clm-6006: writing inode 1726 on readonly FS
Jul 1 13:56:59 localhost last message repeated 5 times
Jul 1 13:56:59 localhost kernel: ReiserFS: hda2: warning: clm-6006: writing inode 688 on readonly FS
Jul 1 13:56:59 localhost last message repeated 5 times
Jul 1 13:56:59 localhost kernel: ReiserFS: hda2: warning: clm-6006: writing inode 1726 on readonly FS
Jul 1 13:56:59 localhost last message repeated 5 times
Jul 1 13:56:59 localhost kernel: ReiserFS: hda2: warning: clm-6006: writing inode 688 on readonly FS
Jul 1 13:56:59 localhost last message repeated 11 times
Jul 1 13:56:59 localhost kernel: ReiserFS: hda2: warning: clm-6006: writing inode 1726 on readonly FS
Jul 1 13:56:59 localhost root@gateway:/var/log#
|
|
|
07-30-2006, 01:50 AM
|
#2
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
That is a weird message to get. I think, probably, it has something to do with the laptop's power saving features, such as suspend to disk, which linux can't adequately handle.
|
|
|
07-30-2006, 02:39 AM
|
#3
|
Senior Member
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
|
if dma is the error, then perhaps you can just turn it off by 'hdparm -d0 /dev/hda'. but i'm warning you. your hd's problems might only get worse with this.
btw how did you access the syslog messages anyway?
|
|
|
08-01-2006, 07:28 AM
|
#4
|
LQ Newbie
Registered: Jul 2006
Posts: 5
Original Poster
Rep:
|
It seems as though there was a bug submitted to debian as someone else was having problems with their drives "going to sleep". He was using ext3, which was also freaking out and going into read-only mode.
(won't let me post URLs yet as I am too new to this forum so check out bug 335538 in debian bugs if you are interested)
I'll have to double check the server the next time I have physical access (server in Canada, I'm in the UK) but I think that I have all the BIOS-related power saving turned off.
I'll check hdparm, but I think that the guy who raised the bug also tried this to no effect. It is funny how the server works for weeks and months fine without any problems, but then it gets this problem
I was thinking of changing filesystems the next time I have physical access to this laptop gateway/server, but he was using ext3 and he ended up ro as well!
konsolebox,
I am able to log into the gateway/server still via SSH. Most of the commands I cannot run as I get the following I/O errors:
root@gateway:~# ping
-su: /bin/ping: Input/output error
For some reason, it allows me to su to root and cat syslog where I find these messages.
Any way to avoid these problems? In the bug report he says that his drives "go to sleep" and then they can only be restarted with a hard reset (power cycle in my case).
I guess I had better look at a more stable server/gatway solution.
|
|
|
08-01-2006, 09:18 AM
|
#5
|
Senior Member
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
|
don't you think it's also possible that the power supply unit is having problems when things starts to heat-up? not really connected though
|
|
|
08-04-2006, 05:22 AM
|
#6
|
LQ Newbie
Registered: Jul 2006
Posts: 5
Original Poster
Rep:
|
Could be a heat problem with the powersupply as well as something powering down the drive and then the kernel freaking out when it can't access the drive.
I think that I will retire the laptop and be moving to a solid-state solution (NLSU2) and connecting an external HD for storage (if necessary).
|
|
|
All times are GMT -5. The time now is 05:23 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|