Skip to contentSkip to conversation

Error with Sil3112A SATA controller and Maxtor 300GB HDD

DISCUSSION Guido Villa 3 participants 8 messages Mar 12, 2005 – Mar 20, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

I have an error as described in subject.
I couldn't find a previous report for this kind of error, so maybe you are interested in it.

Motherboard: ASUS TUV4X, BIOS rev. 1005
SATA controller: Silicon Image 3112A, bios rev. 4.2.50 Hard disk: Maxtor Maxtor 6B300S0 (300GB, SATA)

This is the only HDD attached to the controller. It is not the boot device, I have other HDDs on the IDE channels, but I don't think it matters.

Kernels: 2.6.9, 2.6.10, 2.6.11.2
I also patched the 2.6.11.2 by adding this Maxtor disk to the sata_sil.c blacklist (once with the SIL_QUIRK_MOD15WRITE and once with the SIL_QUIRK_UDMA5MAX), but the behaviour did not change.

Problem:
I create a single partition on the hard disk, I format it with ext2, I mount it, I begin writing onto the partition. After seconds (or minutes) of copying, I get this error:

EXT2-fs error (device sda1): ext2_new_block: Allocating block in system zone - block = 22413316

I have also tried with ext3, in this case it prints more error messages:

EXT3-fs error (device sda1): ext3_new_block: Allocating block in system zone - block = 61997060 Aborting journal on device sda1.
EXT3-fs error (device sda1) in ext3_prepare_write: Journal has aborted __journal_remove_journal_head: freeing b_committed_data __journal_remove_journal_head: freeing b_frozen_data __journal_remove_journal_head: freeing b_committed_data __journal_remove_journal_head: freeing b_frozen_data __journal_remove_journal_head: freeing b_committed_data __journal_remove_journal_head: freeing b_frozen_data __journal_remove_journal_head: freeing b_committed_data __journal_remove_journal_head: freeing b_frozen_data __journal_remove_journal_head: freeing b_frozen_data
ext3_abort called.
EXT3-fs error (device sda1): ext3_journal_start_sb: Detected aborted journal Remounting filesystem read-only
EXT3-fs error (device sda1) in start_transaction: Journal has aborted

When the disk is formatted and mounted as ext3, the error happens earlier that when formatted with ext2.

Running badblocks on the disk gives random results, every time it finds a few bad blocks in different positions.
The powermax utility from Maxtor says that the HDD is ok, and there are no bad blocks, actually I do not think it is an hardware problem, but a problem with the SATA controller driver (and mybe some incompatibility with the Maxtor drive).

Please let me know if you need any more information.

Good bye,
Guido

#1 lore raw

Hi,

Quoted 10 lines · Guido Villa

Hello,

I have an error as described in subject.
I couldn't find a previous report for this kind of error, so maybe you are interested in it.

Motherboard: ASUS TUV4X, BIOS rev. 1005
SATA controller: Silicon Image 3112A, bios rev. 4.2.50 Hard disk: Maxtor Maxtor 6B300S0 (300GB, SATA)

This is the only HDD attached to the controller. It is not the boot device, I have other HDDs on the IDE channels, but I don't think it matters.

I happen to have a SiI 3112A controller and a Maxtor 6B300S0 attached to it, formatted with ext2. Never had any problems. I just copied 200GB of data to it, worked flawlessly. (Vanilla 2.6.11) Maybe its the Motherboard?

Quoted 28 lines

Kernels: 2.6.9, 2.6.10, 2.6.11.2
I also patched the 2.6.11.2 by adding this Maxtor disk to the sata_sil.c blacklist (once with the SIL_QUIRK_MOD15WRITE and once with the SIL_QUIRK_UDMA5MAX), but the behaviour did not change.

Problem:
I create a single partition on the hard disk, I format it with ext2, I mount it, I begin writing onto the partition. After seconds (or minutes) of copying, I get this error:

EXT2-fs error (device sda1): ext2_new_block: Allocating block in system zone
- block = 22413316

I have also tried with ext3, in this case it prints more error messages:

EXT3-fs error (device sda1): ext3_new_block: Allocating block in system zone
- block = 61997060
Aborting journal on device sda1.
EXT3-fs error (device sda1) in ext3_prepare_write: Journal has aborted __journal_remove_journal_head: freeing b_committed_data __journal_remove_journal_head: freeing b_frozen_data __journal_remove_journal_head: freeing b_committed_data __journal_remove_journal_head: freeing b_frozen_data __journal_remove_journal_head: freeing b_committed_data __journal_remove_journal_head: freeing b_frozen_data __journal_remove_journal_head: freeing b_committed_data __journal_remove_journal_head: freeing b_frozen_data __journal_remove_journal_head: freeing b_frozen_data
ext3_abort called.
EXT3-fs error (device sda1): ext3_journal_start_sb: Detected aborted journal Remounting filesystem read-only
EXT3-fs error (device sda1) in start_transaction: Journal has aborted

Signature · 1 line
 Manuel Lauss
#2 lore raw

Hi Manuel,

Quoted 4 lines · Manuel Lauss

I happen to have a SiI 3112A controller and a Maxtor 6B300S0 attached to it, formatted with ext2. Never had any problems. I just copied 200GB of data to it, worked flawlessly. (Vanilla 2.6.11) Maybe its the Motherboard?

so it must be the hardware.
Thank you very much for your reply, I will check more thoroughly disk, controller and mainboard.

I am really sorry for having posted such a problem on this ml, but I was quite sure it was a software problem.

Good bye,
Guido

#3 lore raw
Quoted 9 lines · Guido Villa

Hi Manuel,

Quoted 4 lines · Manuel Lauss

I happen to have a SiI 3112A controller and a Maxtor 6B300S0 attached to it, formatted with ext2. Never had any problems. I just copied 200GB of data to it, worked flawlessly. (Vanilla 2.6.11) Maybe its the Motherboard?

Quoted 6 lines

so it must be the hardware.
Thank you very much for your reply, I will check more thoroughly disk, controller and mainboard.

I am really sorry for having posted such a problem on this ml, but I was quite sure it was a software problem.

Make sure to upgrade your BIOS, too.

Jeff

#4 lore raw
Quoted 3 lines · Jeff Garzik

Make sure to upgrade your BIOS, too.

Jeff

Already done. Both motherboard and controller have the latest bios available.
I'll borrow another SATA controller, and I'll try again the powermax utility, but it's sooo slow (~ 3 days to complete the certification test) :(

Guido

#5 lore raw
In reply to Manuel Lauss
Quoted 4 lines · Manuel Lauss

I happen to have a SiI 3112A controller and a Maxtor 6B300S0 attached to it, formatted with ext2. Never had any problems. I just copied 200GB of data to it, worked flawlessly. (Vanilla 2.6.11) Maybe its the Motherboard?

Hi Manuel,

I was checking my kernel configuration, and some doubts arised in my mind. Would you please check if my parameters are the same as yours?

set:
CONFIG_IDE_GENERIC
CONFIG_BLK_DEV_IDEPCI
CONFIG_SCSI
CONFIG_BLK_DEV_SD
CONFIG_SCSI_SATA
CONFIG_SCSI_SATA_SIL

unset:
CONFIG_BLK_DEV_GENERIC
CONFIG_BLK_DEV_SIIMAGE (I'm unsure on this)

Is that right?

Thank you.
Bye,
Guido

#6 lore raw
Quoted 8 lines · Guido Villa
Quoted 4 lines · Manuel Lauss

I happen to have a SiI 3112A controller and a Maxtor 6B300S0 attached to it, formatted with ext2. Never had any problems. I just copied 200GB of data to it, worked flawlessly. (Vanilla 2.6.11) Maybe its the Motherboard?

Quoted 4 lines

Hi Manuel,
I was checking my kernel configuration, and some doubts arised in my mind. Would you please check if my parameters are the same as yours? set:
CONFIG_IDE_GENERIC

Unless you are loading an IDE driver at 0x1f0, 0x170 (legacy IDE), don't use the IDE generic driver.

Quoted 8 lines

CONFIG_BLK_DEV_IDEPCI
CONFIG_SCSI
CONFIG_BLK_DEV_SD
CONFIG_SCSI_SATA
CONFIG_SCSI_SATA_SIL
unset:
CONFIG_BLK_DEV_GENERIC
CONFIG_BLK_DEV_SIIMAGE (I'm unsure on this)

Otherwise, looks OK to me.

Jeff

#7 lore raw
In reply to Guido Villa

Howdy,

Quoted 15 lines · Guido Villa
Quoted 4 lines

I happen to have a SiI 3112A controller and a Maxtor 6B300S0 attached to it, formatted with ext2. Never had any problems. I just copied 200GB of data to it, worked flawlessly. (Vanilla 2.6.11) Maybe its the Motherboard?

I was checking my kernel configuration, and some doubts arised in my mind. Would you please check if my parameters are the same as yours?

set:
CONFIG_IDE_GENERIC
CONFIG_BLK_DEV_IDEPCI
CONFIG_SCSI
CONFIG_BLK_DEV_SD
CONFIG_SCSI_SATA
CONFIG_SCSI_SATA_SIL

Quoted 3 lines

unset:
CONFIG_BLK_DEV_GENERIC
CONFIG_BLK_DEV_SIIMAGE (I'm unsure on this)

Heres a snippet from the box's .config:

CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDE_TASK_IOCTL=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_BLK_DEV_PIIX=y
CONFIG_BLK_DEV_PDC202XX_NEW=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_AUTO=y
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_SCSI_SATA=y
CONFIG_SCSI_SATA_SIL=y

This is for Piix4 + promise20268 IDE
and the Sil sata ctrl, only harddisks.

Signature · 1 line
 Manuel Lauss