LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 10-07-2006, 06:49 AM   #1
fcollingwood
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Rep: Reputation: 0
DMA problems with HPT370 based card and OpenFiler


Hi All

I've just installed OpenFiler on a spare machine I had lying around, it's got an HPT370 based IDE card, with brand new 250GB drives as masters on each channel. I'm getting some strange problems on boot, and mdadm is taking forever to sync the drives.

Here is what I get from dmesg:

Quote:
Linux version 2.6.17.11-1.1.x86.i686.cmov (conary.rpath.com@rpl:1) (gcc version 3.4.4) #1 Tue Sep 5 23:54:38 EDT 2006
.
.
.
HPT370: IDE controller at PCI slot 0000:00:09.0
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 3
PCI: setting IRQ 3 as level-triggered
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKD] -> GSI 3 (level, low) -> IRQ 3
HPT370: chipset revision 3
HPT370: 100% native mode on irq 3
HPT37X: using 33MHz PCI clock
ide2: BM-DMA at 0xa800-0xa807, BIOS settings: hdeMA, hdfio
HPT37X: using 33MHz PCI clock
ide3: BM-DMA at 0xa808-0xa80f, BIOS settings: hdgMA, hdhio
Probing IDE interface ide2...
hde: ST3250820A, ATA DISK drive
ide2 at 0xd000-0xd007,0xb802 on irq 3
Probing IDE interface ide3...
hdg: ST3250820A, ATA DISK drive
ide3 at 0xb400-0xb407,0xb002 on irq 3
.
.
.
hde: max request size: 512KiB
hde: 488397168 sectors (250059 MB) w/8192KiB Cache, CHS=30401/255/63, UDMA(100)
hde: cache flushes supported
hde:<4>hde: dma_timer_expiry: dma status == 0x21
hde: DMA timeout error
hde: 0 bytes in FIFO
hde: timeout waiting for DMA
hde: dma timeout error: status=0x80 { Busy }
ide: failed opcode was: unknown
hde: DMA disabled
ide2: reset: success
unknown partition table
hdg: max request size: 512KiB
hdg: 488397168 sectors (250059 MB) w/8192KiB Cache, CHS=30401/255/63, UDMA(100)
hdg: cache flushes supported
hdg:<4>hdg: dma_timer_expiry: dma status == 0x01
hdg: DMA timeout error
hdg: 0 bytes in FIFO
hdg: timeout waiting for DMA
hdg: dma timeout error: status=0x80 { Busy }
ide: failed opcode was: unknown
hdg: DMA disabled
ide3: reset: success
unknown partition table
.
.
.
hdg: dma_timer_expiry: dma status == 0x21
hdg: DMA timeout error
hdg: 0 bytes in FIFO
hdg: timeout waiting for DMA
hdg: dma timeout error: status=0x80 { Busy }
ide: failed opcode was: unknown
hdg: DMA disabled
ide3: reset: success
hdg: dma_timer_expiry: dma status == 0x21
hdg: DMA timeout error
hdg: 0 bytes in FIFO
hdg: timeout waiting for DMA
hdg: dma timeout error: status=0x80 { Busy }
ide: failed opcode was: unknown
hdg: DMA disabled
ide3: reset: success
hde: dma_timer_expiry: dma status == 0x01
hde: DMA timeout error
hde: 0 bytes in FIFO
hde: timeout waiting for DMA
hde: dma timeout error: status=0x80 { Busy }
ide: failed opcode was: unknown
hde: DMA disabled
ide2: reset: success
hde: dma_timer_expiry: dma status == 0x21
hde: DMA timeout error
hde: 0 bytes in FIFO
hde: timeout waiting for DMA
hde: dma timeout error: status=0x80 { Busy }
ide: failed opcode was: unknown
hde: DMA disabled
ide2: reset: success
.
.
.
hde: dma_timer_expiry: dma status == 0x21
hde: DMA timeout error
hde: 0 bytes in FIFO
hde: timeout waiting for DMA
hde: dma timeout error: status=0x80 { Busy }
ide: failed opcode was: unknown
hde: DMA disabled
ide2: reset: success
hdg: dma_timer_expiry: dma status == 0x01
hdg: DMA timeout error
hdg: 0 bytes in FIFO
hdg: timeout waiting for DMA
hdg: dma timeout error: status=0x80 { Busy }
ide: failed opcode was: unknown
hdg: DMA disabled
ide3: reset: success
.
.
.
md: bind<hde>
md: bind<hdg>
md: md0: raid array is not clean -- starting background reconstruction
md: raid1 personality registered for level 1
raid1: raid set md0 active with 2 out of 2 mirrors
md: syncing RAID array md0
md: minimum _guaranteed_ reconstruction speed: 1000 KB/sec/disc.
md: using maximum available idle IO bandwidth (but not more than 200000 KB/sec) for reconstruction.
md: using 128k window, over a total of 244198464 blocks.
md: md0: sync done.
md: checkpointing recovery of md0.
md: md0 stopped.
md: unbind<hdg>
md: export_rdev(hdg)
md: unbind<hde>
md: export_rdev(hde)
md: bind<hde1>
md: bind<hdg1>
md: md0: raid array is not clean -- starting background reconstruction
raid1: raid set md0 active with 2 out of 2 mirrors
md: syncing RAID array md0
md: minimum _guaranteed_ reconstruction speed: 1000 KB/sec/disc.
md: using maximum available idle IO bandwidth (but not more than 200000 KB/sec) for reconstruction.
md: using 128k window, over a total of 244194176 blocks.

Wacthing it sync, here is what I see:

Quote:
Personalities : [raid1]
md0 : active raid1 hdg1[1] hde1[0]
244194176 blocks [2/2] [UU]
[====>................] resync = 20.7% (50571392/244194176) finish=2251.4min speed=1431K/sec
Here is hdparm of /dev/hde

Quote:
/dev/hde:
multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 30401/255/63, sectors = 488397168, start = 0
I hope this is enough info for anyone out there kind enough to help, but if not, let me know what might help you help me.

regards

Frank
 
Old 08-30-2007, 08:23 PM   #2
bingnet
LQ Newbie
 
Registered: Aug 2007
Posts: 1

Rep: Reputation: 0
Me too

I'm in the same boat.
 
Old 09-23-2007, 11:36 PM   #3
fcollingwood
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Original Poster
Rep: Reputation: 0
I gave up, chucked out the crappy HPT370 card, and put in a decent one from 3ware (9500s-8)

it just WORKS
 
  


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
Hard Drive Problems: timeout waiting for DMA; error waiting for DMA mintee Linux - Hardware 10 09-21-2007 05:06 AM
Problems getting network-card working (Tulip-based). hemmelig Linux - Software 6 01-16-2005 07:00 AM
HPT370 Raid Card - Redhat Linux 8 walt.lx Linux - Hardware 3 11-22-2003 06:55 AM
Realtek 8180L based wifi card not recognizing...problems with PCMCIA? massah Linux - Wireless Networking 12 10-23-2003 06:02 PM
DMA - redhat 9.0+Seagate+HPT370 przybyla Linux - Hardware 4 08-17-2003 11:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:11 AM.

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