Bug 9587

Summary: pata_it821x does not load and recognise volumes
Product: IO/Storage Reporter: HJH (hjh)
Component: Serial ATAAssignee: Jeff Garzik (jgarzik)
Status: CLOSED CODE_FIX    
Severity: blocking CC: alan, protasnb
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.23.11 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: Fix for IT821X detection

Description HJH 2007-12-17 04:20:22 UTC
Most recent kernel where this bug did not occur: -
Distribution: Debian Sid
Hardware Environment:Amd 3200+, Gigabyte GA-K8NSNXP, with ite 8212 raid chip
Software Environment:kernel
Problem Description:The module loads, but it does not recognise or initiate the volumes on the drives attached to the raid controller.

Steps to reproduce: Attach a RAID (0 or 1) to the ite controller, and boot with a newer kernel (2.6.20 or higher). No drives will be found.
However: it does work in non-raid mode; booting with "pata_it821x noraid=1" will show both drives separately.
Comment 1 HJH 2007-12-17 04:40:36 UTC
Last known working: 2.6.18 with the it821x module.
Comment 2 Alan 2007-12-17 13:26:07 UTC
Already fixed in 2.6.24-rc-mm series kernels.

Please try 2.6.24-rc-mm series kernels or use the following patch from the -mm tree
Comment 3 Alan 2007-12-17 13:26:43 UTC
Created attachment 14093 [details]
Fix for IT821X detection
Comment 4 HJH 2007-12-17 15:20:34 UTC
very nice, thank you!
Comment 5 HJH 2007-12-21 14:43:29 UTC
I am reopening this bug as it still does not work with the patch or with the -mm kernel.
The error message on initialising the ite raid is:
"INIT_DEV_PARAMETERS failed (err_mask=0x80)"

As I am trying to boot from this device this means it will still not run.
Comment 6 Natalie Protasevich 2008-02-18 22:46:16 UTC
Is it still not working with latest kernel? If so, can you please attach your boot trace and config please.
Comment 7 HJH 2008-02-22 05:41:27 UTC
Works in kernel 2.6.25-rc2