[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem: ICH7 stalls on transfer from PATA to SATA



Hi all,

I have an ECS 945p-a v1.1 motherboard which has an ICH7 chipset. I have connected to this three SATA drives, a PATA HD, and a PATA DVD drive. When I try to copy a large block of data (1GB file) from a PATA drive to a SATA drive, it brings my system to a near stop. The CPU meter hits 50% (dual core) and any action I attempt will take about 10-20 seconds to execute. If I cancel the process, the system returns to normal (after about 1 minute). This also happens on transfers from the DVD.

A not so good explaination is that the ata_piix module is controlling the SATA drives, and some other module (piix, ide_generic?) is controlling the PATA drives, such that both are trying to use the same device (the ICH7) and somehow this is blowing up the DMA part of the file transfer?

My root is on the SATA drives. In my initramfs/modules I have ata_piix although this doesn't seem to make a difference. My fs are XFS for root and FAT32 on the PATA drives. (My root is actually software RAID0 across two of the SATA drives). My BIOS doesn't seem to have an AHCI option.

Anyone have any ideas why file transfers are taking over my CPU? Details below...

Thanks,

Peter

--------------------------------------------------------------------------------------------------------
lspci -nn

00:00.0 Host bridge [0600]: Intel Corporation 945G/GZ/P/PL Express Memory Controller Hub [8086:2770] (rev 81) 00:01.0 PCI bridge [0604]: Intel Corporation 945G/GZ/P/PL Express PCI Express Root Port [8086:2771] (rev 81) 00:1b.0 Audio device [0403]: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller [8086:27d8] (rev 01) 00:1d.0 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 [8086:27c8] (rev 01) 00:1d.1 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 [8086:27c9] (rev 01) 00:1d.2 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 [8086:27ca] (rev 01) 00:1d.3 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 [8086:27cb] (rev 01) 00:1d.7 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller [8086:27cc] (rev 01) 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev e1) 00:1f.0 ISA bridge [0601]: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge [8086:27b8] (rev 01) 00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7 Family) IDE Controller [8086:27df] (rev 01) 00:1f.2 IDE interface [0101]: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller IDE [8086:27c0] (rev 01) 00:1f.3 SMBus [0c05]: Intel Corporation 82801G (ICH7 Family) SMBus Controller [8086:27da] (rev 01) 01:00.0 VGA compatible controller [0300]: nVidia Corporation Unknown device [10de:0295] (rev a1) 02:03.0 Multimedia video controller [0400]: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [14f1:8800] (rev 05) 02:03.2 Multimedia controller [0480]: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] [14f1:8802] (rev 05) 02:05.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet [10ec:8169] (rev 10)

-----------------------------------------------------------------------------------------------------------------
dmesg:

libata version 2.00 loaded.
ata_piix 0000:00:1f.2: version 2.00
ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 193
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0xEC00 ctl 0xE882 bmdma 0xE400 irq 193
ata2: SATA max UDMA/133 cmd 0xE800 ctl 0xE482 bmdma 0xE408 irq 193
scsi0 : ata_piix
input: AT Translated Set 2 keyboard as /class/input/input0
ata1.00: ATA-6, max UDMA/100, 488397168 sectors: LBA48
ata1.00: ata1: dev 0 multi count 16
ata1.00: applying bridge limits
ata1.01: ATA-7, max UDMA/133, 490234752 sectors: LBA48 NCQ (depth 0/32)
ata1.01: ata1: dev 1 multi count 16
ata1.00: configured for UDMA/100
ata1.01: configured for UDMA/100
scsi1 : ata_piix
ata2.00: ATA-7, max UDMA/133, 490234752 sectors: LBA48 NCQ (depth 0/32)
ata2.00: ata2: dev 0 multi count 16
ata2.00: configured for UDMA/133
 Vendor: ATA       Model: HDS722525VLAT80   Rev: V36O
 Type:   Direct-Access                      ANSI SCSI revision: 05
 Vendor: ATA       Model: Maxtor 7V250F0    Rev: VA11
 Type:   Direct-Access                      ANSI SCSI revision: 05
 Vendor: ATA       Model: Maxtor 7V250F0    Rev: VA11
 Type:   Direct-Access                      ANSI SCSI revision: 05

SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3 < sda5 sda6 >
sd 0:0:0:0: Attached scsi disk sda
SCSI device sdb: 490234752 512-byte hdwr sectors (251000 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
SCSI device sdb: 490234752 512-byte hdwr sectors (251000 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
sdb: sdb1 sdb2 sdb3 sdb4 < sdb5 >
sd 0:0:1:0: Attached scsi disk sdb
SCSI device sdc: 490234752 512-byte hdwr sectors (251000 MB)
sdc: Write Protect is off
sdc: Mode Sense: 00 3a 00 00
SCSI device sdc: drive cache: write back
SCSI device sdc: 490234752 512-byte hdwr sectors (251000 MB)
sdc: Write Protect is off
sdc: Mode Sense: 00 3a 00 00
SCSI device sdc: drive cache: write back
sdc:<6>usbcore: registered new driver usbfs
usbcore: registered new driver hub
sdc1 sdc2 sdc3 sdc4 <<6>r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded
...
sdc5 >
sd 1:0:0:0: Attached scsi disk sdc

ICH7: IDE controller at PCI slot 0000:00:1f.1
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 217
ICH7: chipset revision 1
ICH7: not 100% native mode: will probe irqs later
   ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
   ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: Maxtor 6Y200L6, ATA DISK drive
hdb: LITE-ON DVDRW SOHW-812S, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hda: max request size: 512KiB
hda: 398297088 sectors (203928 MB) w/7936KiB Cache, CHS=24792/255/63, UDMA(100)
hda: cache flushes supported
hda: hda1 hda2
hdb: ATAPI 94X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)

----------------------------------------------------------------------------------------------------
hdparm -d /dev/hd[ab]

/dev/hda:
using_dma    =  1 (on)

/dev/hdb:
using_dma    =  1 (on)

--------------------------------------------------------------------------------------------------------
lsmod
nvidia               4549908  12
nfs                   202828  0
nfsd                  197840  17
exportfs                5600  1 nfsd
lockd                  54344  3 nfs,nfsd
nfs_acl                 3584  2 nfs,nfsd
sunrpc                138780  13 nfs,nfsd,lockd,nfs_acl
ipv6                  226016  20
dm_snapshot            15520  0
dm_mirror              19152  0
eeprom                  7024  0
loop                   15048  0
dm_crypt               10824  0
dm_mod                 50232  3 dm_snapshot,dm_mirror,dm_crypt
usbkbd                  6816  0
cx88_blackbird         16996  0
cx2341x                10308  1 cx88_blackbird
tuner                  53288  0
cx8800                 31372  1 cx88_blackbird
cx88_dvb               13636  1
cx8802                 11812  2 cx88_blackbird,cx88_dvb
cx88xx                 58276  4 cx88_blackbird,cx8800,cx88_dvb,cx8802
cx88_vp3054_i2c         4384  1 cx88_dvb
mt352                   6276  1 cx88_dvb
dvb_pll                14308  1 cx88_dvb
or51132                 9476  1 cx88_dvb
video_buf_dvb           6436  1 cx88_dvb
dvb_core               71560  1 video_buf_dvb
ir_common              27780  1 cx88xx
nxt200x                12260  1 cx88_dvb
firmware_class          9600  3 cx88_blackbird,or51132,nxt200x
snd_hda_intel          17332  1
i2c_algo_bit            8424  2 cx88xx,cx88_vp3054_i2c
video_buf 23012 6 cx88_blackbird,cx8800,cx88_dvb,cx8802,cx88xx,video_buf_dvb
tveeprom               13840  1 cx88xx
isl6421                 2400  1 cx88_dvb
zl10353                 5252  1 cx88_dvb
snd_hda_codec         137856  1 snd_hda_intel
compat_ioctl32          1472  1 cx8800
btcx_risc               4776  3 cx8800,cx8802,cx88xx
cx24123                11336  1 cx88_dvb
snd_pcm_oss            38368  0
snd_mixer_oss          15200  2 snd_pcm_oss
videodev               21120  3 cx88_blackbird,cx8800,cx88xx
v4l1_compat            12036  2 cx8800,videodev
v4l2_common            20448  5 cx88_blackbird,cx2341x,tuner,cx8800,videodev
lgdt330x                7708  1 cx88_dvb
parport_pc             32164  0
snd_pcm                68644  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
cx22702                 5892  1 cx88_dvb
rtc                    12372  0
parport                33256  1 parport_pc
snd_timer              20996  1 snd_pcm
intel_agp              21148  1
agpgart                29896  2 nvidia,intel_agp
evdev                   9088  0
floppy                 53156  0
psmouse                35016  0
snd 47012 6 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
i2c_i801                7404  0
serio_raw               6660  0
pcspkr                  3072  0
i2c_core 19680 17 nvidia,eeprom,tuner,cx88_dvb,cx88xx,mt352,dvb_pll,or51132,nxt200x,i2c_algo_bit,tveeprom,isl6421,zl10353,cx24123,lgdt330x,cx22702,i2c_i801
soundcore               9248  2 snd
snd_page_alloc          9640  2 snd_hda_intel,snd_pcm
raid0                   7744  2
ide_generic             1408  0 [permanent]
ide_cd                 36064  0
cdrom                  32544  1 ide_cd
ide_disk               14848  1
usbhid                 37248  0
piix                    9444  0 [permanent]
generic                 5028  0 [permanent]
ide_core              110504  5 ide_generic,ide_cd,ide_disk,piix,generic
uhci_hcd               21032  0
ehci_hcd               28136  0
r8169                  27944  0
usbcore               112676  5 usbkbd,usbhid,uhci_hcd,ehci_hcd
sd_mod                 19040  11
thermal                13608  0
processor              28840  1 thermal
fan                     4804  0
md_mod                 70388  3 raid0
xfs                   475768  2
ext3                  119208  2
jbd                    52456  1 ext3
mbcache                 8356  1 ext3
ata_piix               13576  11
libata                 89332  1 ata_piix
scsi_mod              124168  2 sd_mod,libata



Reply to: