LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   System freezes when I write to/read from either of my two new SATA drives (http://www.linuxquestions.org/questions/linux-hardware-18/system-freezes-when-i-write-to-read-from-either-of-my-two-new-sata-drives-586684/)

jagavskyrproblem 09-22-2007 11:22 PM

System freezes when I write to/read from my SATA software-RAID-1 array
 
I recently bought two new 500gb SATA drives with the intention to run them in (software) raid-1. But whenever I've mounted them and *do* anything to them, my system (I'm running Slackware 12.0, with the precompiled 2.6.21.5 kernel) will freeze within a few seconds or minutes.

The following related messages appear in dmesg:

Code:

Loading iSCSI transport class v2.0-724.
sata_via 0000:00:0f.0: version 2.1
[ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:0f.0[B] -> Link [LNKC] -> GSI 10 (level, low) -> IRQ 10
sata_via 0000:00:0f.0: routed to hard irq line 10
ata1: SATA max UDMA/133 cmd 0x0001efe0 ctl 0x0001efae bmdma 0x0001ef90 irq 10
ata2: SATA max UDMA/133 cmd 0x0001efa0 ctl 0x0001efaa bmdma 0x0001ef98 irq 10
scsi0 : sata_via
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ATA: abnormal status 0x7F on port 0x0001efe7
ATA: abnormal status 0x7F on port 0x0001efe7
ata1.00: ATA-7: ST3500630AS, 3.AAK, max UDMA/133
ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/133
scsi1 : sata_via
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ATA: abnormal status 0x7F on port 0x0001efa7
ATA: abnormal status 0x7F on port 0x0001efa7
ata2.00: ATA-7: ST3500630AS, 3.AAK, max UDMA/133
ata2.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
ata2.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access    ATA      ST3500630AS      3.AA PQ: 0 ANSI: 5
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1
sd 0:0:0:0: Attached scsi disk sda
scsi 1:0:0:0: Direct-Access    ATA      ST3500630AS      3.AA PQ: 0 ANSI: 5
SCSI device sdb: 976773168 512-byte hdwr sectors (500108 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
SCSI device sdb: 976773168 512-byte hdwr sectors (500108 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdb: sdb1
sd 1:0:0:0: Attached scsi disk sdb

"ATA: abnormal status 0x7F on port 0x0001efe7" especially caught my attention, but I have no idea what it means.

EDIT: The problem only seems to occur when I've mounted the drives as an array. I used mdadm to set it up and here are the settings I use:

Code:

DEVICE          /dev/sda1 /dev/sdb1
ARRAY          /dev/md0 devices=/dev/sda1,/dev/sdb1
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=97d1ecc1:3e7046e5:da98551b:2a250185



All times are GMT -5. The time now is 03:26 PM.