LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-05-2007, 12:38 PM   #1
Tje
Member
 
Registered: Dec 2005
Posts: 75

Rep: Reputation: 15
no DRQ after issuing MULTWRITE_EXT ??


This is my first time try Slackware (before is Red Hat,Mandrake, Mandriva, Suse). The default kernel of Slackware is 2.4.x, I updated to 2.6.21.1, still got the errors as belows.

When I booting I got this message

Code:
"Warning: The DMA on your harddisc id turned off
This may realy slow down fsck process."
But why when I #hdparm -d 1 /dev/hda:

Code:
/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)
My IDE:

Code:
# lspci 
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 02)
here is my kernel messages

Code:
#dmesg
hda: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hda: no DRQ after issuing MULTWRITE_EXT
ide0: reset: success
hda: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hda: no DRQ after issuing MULTWRITE_EXT
ide0: reset: success
hda: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hda: no DRQ after issuing MULTWRITE_EXT
ide0: reset: success
hda: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hda: no DRQ after issuing MULTWRITE_EXT
ide0: reset: success
hda: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hda: no DRQ after issuing MULTWRITE_EXT
ide0: reset: success
hda: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hda: no DRQ after issuing MULTWRITE_EXT
ide0: reset: success
hda: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hda: no DRQ after issuing MULTWRITE_EXT
ide0: reset: success
Could someone explain me why and how to solve this problem?
Is "hda: no DRQ after issuing MULTWRITE_EXT" related to "DMA"? Because I wonder why my LED hard drive light indicator "get on" by itself so many times even I my computer is on idle. I guess my hard disc light indicator "get on" even my computer is idle and still everytime I got those kernel messages.

Code:
"hda: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hda: no DRQ after issuing MULTWRITE_EXT
ide0: reset: success"
Is this the reason why when I my Slackware "Hang" / CRASH. ??? My thought is, my computer crash because I got a bunch full of those messages:

Linux supposed to be a stable OS, even Slackware. How come my computer crash ???
My kernel version is 2.6.21.1

Please help me...thank you in advance !!

Last edited by Tje; 05-06-2007 at 08:38 AM.
 
Old 05-06-2007, 08:57 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
WHat type of computer and hard-disk is that? You can Google the error messages and come up with lots of reading about it. It isn't Slackware's fault, and it likely isn't the kernel's fault either.
I just replaced an already brand new hard disk because it apparently was defective. It gave me loads of similar messages, and also DMA_IRQ Drive-seek blah blah errors, and my drive light would stay on for 15 or 20 minutes without doing anything, and my system would crash sometimes... My thread is here:
http://www.linuxquestions.org/questi...d.php?t=550842 for your perusal.
Might be unrelated to my issue, but mine was related to DMA, but DMA itself wasn't the problem, atleast not alone. Between the drive being defective, poor memory timings/clock speeds, and/or crappy or non-DMA enabled IDE cables, you could get errors such as those..
I have a new hard drive installed now, same model, and everything is running perfectly again.
Here's something for you to try -- you should have the 'smartmon' tool kit in your slackware.Run this in a console:
smartctl --all /dev/hda
and your hard drive (if it is SMART enabled) will show you a bunch of stuff, among which will be a table of results from any/all SMART-self diagnostic tests it has done on itself. Look for failed or incompleted tests as an indicator of drive problems.
You can type 'smartctl -h' for help or 'man smartd' or 'man smartctl' for more info on this.

Last edited by GrapefruiTgirl; 05-06-2007 at 09:00 PM.
 
Old 05-07-2007, 12:58 AM   #3
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
If it still works in other OS'es like Debian, I can't see why it shouldn't work in Slack. If there are some problems using them too, so it's not Slack but most probably your hard drive problems.

Can you check the bios settings? Any special settings there?
What is your adressing mode (chs, lba, auto)? If it is auto, try changing it to chs (and lba later).


According to this:http://www.linuxquestions.org/questi...d.php?t=112871 you can also check your IDE cable.
 
Old 05-07-2007, 02:34 AM   #4
Tje
Member
 
Registered: Dec 2005
Posts: 75

Original Poster
Rep: Reputation: 15
If that kernel messages is somewhat "normal". Every time my hard disc light is on, I got that message, so the "dmesg" is full of that messages, it is really annoying me, even when my computer is idle.

But still I want to get my DMA working, I would like to ask whether my buffered disk reads is normal or not.

Code:
# hdparm -tT /dev/hda
/dev/hda:
 Timing cached reads:   4564 MB in  2.00 seconds = 2282.73 MB/sec
 Timing buffered disk reads:    4 MB in  3.07 seconds =   1.30 MB/sec
thx.
 
Old 05-07-2007, 02:35 AM   #5
Tje
Member
 
Registered: Dec 2005
Posts: 75

Original Poster
Rep: Reputation: 15
If that kernel messages is somewhat "normal". Every time my hard disc light is on, I got that message, so the "dmesg" is full of that messages, it is really annoying me, even when my computer is idle.

But still I want to get my DMA working, I would like to ask whether my buffered disk reads is normal or not.

Code:
# hdparm -tT /dev/hda
/dev/hda:
 Timing cached reads:   4564 MB in  2.00 seconds = 2282.73 MB/sec
 Timing buffered disk reads:    4 MB in  3.07 seconds =   1.30 MB/sec
thx.
 
Old 05-07-2007, 02:56 AM   #6
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
You hard drive isn't sata, is it?
Hdparm won't work with sata.
 
Old 05-07-2007, 02:58 AM   #7
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53

http://linux-ata.org/faq.html#old_ioctls
. Maybe it explains something if you use libata in your 2.6 kernel.

And, btw, could you add 2.4 kernel from Slackware to the list of choices in your lilo menu and boot it. Maybe all the errors will be gone? Then we will know that something in 2.6 kernel doesn't get along with your hdd.

Last edited by Alien_Hominid; 05-07-2007 at 03:06 AM.
 
Old 05-07-2007, 08:05 AM   #8
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Here's something to try, for curiosity sake:
The only reliable way I could get my light to turn off and the IDE devices return to 'acting normal' was to run the command 'lshw'. Slackware doesn't have this command by default, but you can get lshw from Sourceforge.net and other places.
Sometimes it would hang when reading the IDE section (hit CTRL-C to kill it) and usually it would complete, and then the HDD light would be off. --NOTE - I really don't know what this proves, but I found it a good way to get the HDD light to go off before I finally had to replace my HD.
Another thing to consider, if you HAVE had this problem with other OS's, is the Master/Slave settings of your devices, and their relative locations on the IDE bus. What I mean is that some machine/HD/CD combinations don't like having an HD on the same cable as an ATAPI CD player/burner.
I've had some issues with that in the past, however this time, for me, my HD was actually defective.
 
Old 05-07-2007, 08:42 AM   #9
Tje
Member
 
Registered: Dec 2005
Posts: 75

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Alien_Hominid
You hard drive isn't sata, is it?
Hdparm won't work with sata.
My hard drive is not sata.
 
Old 05-07-2007, 08:48 AM   #10
Tje
Member
 
Registered: Dec 2005
Posts: 75

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Alien_Hominid

http://linux-ata.org/faq.html#old_ioctls
. Maybe it explains something if you use libata in your 2.6 kernel.

And, btw, could you add 2.4 kernel from Slackware to the list of choices in your lilo menu and boot it. Maybe all the errors will be gone? Then we will know that something in 2.6 kernel doesn't get along with your hdd.
Well I am re-installing my Slackware and I would start from zero again.

I got a new weird problem, I couldn't format my hard disk to ext3. Well, I found one or two posts from another forums said that changing the file system solved the problem. But when I tried to format my hard drive to ext3, it takes forever, I left it 3 hours but still haven't finish.

I desperate and go back to reiserfs.

I will update to you whether that error will come out again or not with the default slackware 2.4 kernel
 
Old 05-07-2007, 09:08 AM   #11
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Perhaps consider Ext2 if you haven't ? It's simple, reliable, and has worked trouble-free for me for Slackware.
Good luck with the reinstall -- let us know what bacomes of it!
 
Old 05-07-2007, 09:46 AM   #12
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
You can try dd to nullify your hdd (using any boot cd) and then try reformatting again.
Quote:
dd if=/dev/null of=/dev/hda

Last edited by Alien_Hominid; 05-07-2007 at 09:48 AM.
 
Old 05-07-2007, 09:48 AM   #13
Tje
Member
 
Registered: Dec 2005
Posts: 75

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Alien_Hominid

http://linux-ata.org/faq.html#old_ioctls
. Maybe it explains something if you use libata in your 2.6 kernel.

And, btw, could you add 2.4 kernel from Slackware to the list of choices in your lilo menu and boot it. Maybe all the errors will be gone? Then we will know that something in 2.6 kernel doesn't get along with your hdd.
Well, a little bit different. But basically the same.

When I use kernel 2.6.21.1

Code:
ide: failed opcode was: unknown
hda: no DRQ after issuing MULTWRITE_EXT
ide0: reset: success
hda: status timeout: status=0xd0 { Busy }
kernel 2.4.33.3 (Slackware's default)

Code:
hda: no DRQ after issuing WRITE
ide0: reset: success
hda: status timeout: status=0xd0 { Busy }
Now, I backup the 2.4.33.3 kernel, backup xorg.conf ( only these thing I know to backup, I am not Linux guru )

Now, trying again compile 2.6.21.1 ... I got another solution for DMA problem from another forum. Hope that solution helps me..
 
Old 05-07-2007, 11:49 PM   #14
Tje
Member
 
Registered: Dec 2005
Posts: 75

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by GrapefruiTgirl
Perhaps consider Ext2 if you haven't ? It's simple, reliable, and has worked trouble-free for me for Slackware.
Good luck with the reinstall -- let us know what bacomes of it!
any good points that able to change my mind and think about Ext2? compare to Ext3?
 
Old 05-07-2007, 11:51 PM   #15
Tje
Member
 
Registered: Dec 2005
Posts: 75

Original Poster
Rep: Reputation: 15
my smartctl output

Code:
root@Tje:/usr/src# smartctl --all /dev/hda
smartctl version 5.36 [i486-slackware-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     SAMSUNG HM120JC
Serial Number:    S0A0JD0P376746
Firmware Version: YL100-19
User Capacity:    120,034,123,776 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  ATA/ATAPI-7 T13 1532D revision 0
Local Time is:    Tue May  8 20:50:55 2007 HKT

==> WARNING: May need -F samsung or -F samsung2 enabled; see manual for details.

SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x05) Offline data collection activity
                                        was aborted by an interrupting command from host.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                 (4609) seconds.
Offline data collection
capabilities:                    (0x5b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        No Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        (  76) minutes.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   100   100   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0007   253   253   025    Pre-fail  Always       -       2944
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       100
  5 Reallocated_Sector_Ct   0x0033   253   253   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000e   253   253   000    Old_age   Always       -       0
  8 Seek_Time_Performance   0x0024   253   253   000    Old_age   Offline      -       0
  9 Power_On_Hours          0x0032   253   253   000    Old_age   Always       -       4323
 10 Spin_Retry_Count        0x0032   253   253   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0012   253   253   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       23
190 Unknown_Attribute       0x0022   049   045   000    Old_age   Always       -       924057651
191 G-Sense_Error_Rate      0x0012   100   100   000    Old_age   Always       -       1041
192 Power-Off_Retract_Count 0x0012   253   253   000    Old_age   Always       -       0
193 Load_Cycle_Count        0x0012   100   100   000    Old_age   Always       -       6177
194 Temperature_Celsius     0x0022   049   045   000    Old_age   Always       -       51 (Lifetime Min/Max 0/14100)
195 Hardware_ECC_Recovered  0x001a   100   100   000    Old_age   Always       -       728354
196 Reallocated_Event_Count 0x0032   253   253   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0012   253   253   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   253   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x000a   100   100   000    Old_age   Always       -       0
201 Soft_Read_Error_Rate    0x0012   253   253   000    Old_age   Always       -       0
223 Load_Retry_Count        0x0012   253   253   000    Old_age   Always       -       0
225 Load_Cycle_Count        0x0012   100   100   000    Old_age   Always       -       6177
255 Unknown_Attribute       0x000a   253   100   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


SMART Selective Self-Test Log Data Structure Revision Number (0) should be 1
SMART Selective self-test log data structure revision number 0
Warning: ATA Specification requires selective self-test log data structure revision number = 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
 
  


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
DHCP issuing IP's in reverse! Maniac0Maniac Linux - Networking 5 02-05-2007 08:41 AM
prints should go in queue by issuing print command. bhagi123 Linux - Software 0 02-24-2006 05:18 AM
Issuing Telnet commands via bash scripts Kaj Programming 2 01-02-2005 11:44 PM
usb intellimouse issuing keystrokes!!! sketelsen Linux - Hardware 2 09-03-2004 02:06 PM
what command is KPPP issuing? jlangelier Linux - Software 3 08-26-2004 01:24 AM

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

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