[Bug 10425] New: Problem with pata_marvell kernel module : kernel 2.6.24.4 in Mandriva 2008.1 RC2 don't detect my IDE harddisk connected to a Marvell 88SE6111 IDE Controller

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

 



http://bugzilla.kernel.org/show_bug.cgi?id=10425

           Summary: Problem with pata_marvell kernel module : kernel
                    2.6.24.4 in Mandriva 2008.1 RC2 don't detect my IDE
                    harddisk connected to a Marvell 88SE6111 IDE Controller
           Product: IO/Storage
           Version: 2.5
     KernelVersion: kernel 2.6.24.4
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: blocking
          Priority: P1
         Component: IDE
        AssignedTo: io_ide@xxxxxxxxxxxxxxxxxxxx
        ReportedBy: y.le.ny@xxxxxxxxxxx


Latest working kernel version: 
kernel 2.6.24.4

++++

Distribution: 
Mandriva 2008.1 RC2

++++++

Hardware Environment:

I have a MSI P35 NEO Combo mainboard with an Intel Core 2 duo CPU (E4600) and
Nvidia 8600GT graphic card.
(http://global.msi.com.tw/index.php?func=proddesc&prod_no=1216&maincat_no=1&cat2_no=170)
This mainboard have these chipsets:

• Intel® P35 Chipset
- Supports FSB 800/1066/1333MHz.

• Intel® ICH9 Chipset
- Hi-Speed USB (USB2.0) controller, 480Mb/sec, up to 12 ports.
- 4 SATAII ports (ICH9) with transfer rate up to 3Gb/s.
- PCI Master v2.3, I/O APIC.
- ACPI 2.0 compliant.

On-Board IDE/SATA

• One Ultra DMA 66/100/133 IDE controller integrated in Marvell® 88SE6111.
- Supports PIO, Bus Master operation modes.
- Can connect up to two Ultra ATA drives.

• SATAII controller integrated in ICH9 and Marvell® 88SE6111 chipset
- Up to 3Gb/s transfer speed.
- Supports four SATAII ports by ICH9.
- Supports one SATAII port by 88SE6111.

Harddisk : IDE Hitachi Deskstar 7K80 80 Go 2 Mo (HDS728080PLAT20)
DVD-ROM Reader/Writer : LG GSA-H22N  

+++++


Problem Description:

My main harddisk where I want to create my root(/) and home (/home) partitions
is 
an IDE Hitachi Deskstar 7K80 80 Go 2 Mo (HDS728080PLAT20) harddisk that is
connected to an IDE controller integrated in Marvell 88SE6111 chipset.
My LG GSA-H22N DVD-Rom reader is connected to the same IDE connector  than my
IDE harddisk.
I use this DVD-Rom reader for installing Mandriva 2008.1 RC2.

I have an other Hitachi harddisk that is connected to an SATAII port by ICH9
chipset.

When I want to create my root linux partition, the mandriva installer show me
only one harddisk that is connected to sata port. The installer don't show my
main harddisk that is connnected to ide port with Marvell chipset.

Because I unplug my sata harddisk, the mandriva installer said me that it don't
find any harddisk on my PC computer. It propose to show me the harddisk
controller informations avaible on my computer :

The mandriva 2008.1 RC2 installer found these harddisk chipset on my computer :

pata_marvell : "Marvell Technology Group Ltd. | 88SE6121 SATA II Controller"
[Storage_IDE]

ata_piix : "Intel corporation (82801 | (ICH9 Family ) 2 port SATA IDE
Controller [storage_ide] (subv: 1462 subd : 7365)

ata_piix : "Intel corporation (82801 | (ICH9 Family ) 2 port SATA IDE
Controller [storage_ide] (subv: 1462 subd : 7365)

ata_piix : "Intel corporation (82801 | B (ICH9 Family ) 2 port SATA IDE
Controller [storage_ide] (subv: 1462 subd : 7365)

ata_piix : "Intel corporation (82801 | B (ICH9 Family ) 2 port SATA IDE
Controller [storage_ide] (subv: 1462 subd : 7365)

Version-Release number of selected component (if applicable):
Installer in MandrivaLinux 2008.1 RC2

How reproducible:
use an IDE harddisk connected to an IDE port with IDE 88SE6111 chipset on a
motherboard and a ICH9 chipset too on this same mainboard

+++++

VERY IMPORTANT INFORMATION :
I think that my IDE harddisk don't work with the latest kernel and Marvell
88SE6111 chipset because there is no support for it in the pata_marvell kernel
module.

When I browse kernel 2.6.25-rc8 sources by Web Git, I found the file :
[linux/kernel/git/torvalds/linux-2.6.git] / drivers / ata / pata_marvell.c
source :
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/ata/pata_marvell.c;h=a81f25d872355df8dad4d52b04103bdde9ad640c;hb=6fdf5e67fe8d3c83500dad9acae985132c2459a3

pata_marvell.c is the file for ide support in Marvell Chipset.
In this file, there is only support for :
Marvell 88SE6101
Marvell 88SE6121
Marvell 88SE6123
Marvell 88SE6145

This is support is with these lines 191 to 197 :
static const struct pci_device_id marvell_pci_tbl[] = {
192         { PCI_DEVICE(0x11AB, 0x6101), },
193         { PCI_DEVICE(0x11AB, 0x6121), },
194         { PCI_DEVICE(0x11AB, 0x6123), },
195         { PCI_DEVICE(0x11AB, 0x6145), },
196         { }     /* terminate list */
197 }; 

I found too that Alan Cox 
date [Thu, 23 Aug 2007 19:19:55 +0000 (20:19 +0100)]
do : pata_marvell: Add more identifiers

modification 
diff --git a/drivers/ata/pata_marvell.c b/drivers/ata/pata_marvell.c
index 87594c0..ae206f3 100644 (file)
--- a/drivers/ata/pata_marvell.c
+++ b/drivers/ata/pata_marvell.c
@@ -192,6 +192,8 @@ static int marvell_init_one (struct pci_dev *pdev, const
struct pci_device_id *i

 static const struct pci_device_id marvell_pci_tbl[] = {
        { PCI_DEVICE(0x11AB, 0x6101), },
+       { PCI_DEVICE(0x11AB, 0x6121), },
+       { PCI_DEVICE(0x11AB, 0x6123), },
        { PCI_DEVICE(0x11AB, 0x6145), },
        { }     /* terminate list */
 };
source
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=d36ee189f392ea89de85124a0b58477bb0f2e0a6

Can you patch the pata_marvell.c file and replace 

static const struct pci_device_id marvell_pci_tbl[] = {
192         { PCI_DEVICE(0x11AB, 0x6101), },
193         { PCI_DEVICE(0x11AB, 0x6121), },
194         { PCI_DEVICE(0x11AB, 0x6123), },
195         { PCI_DEVICE(0x11AB, 0x6145), },
196         { }     /* terminate list */
197 }; 

by

static const struct pci_device_id marvell_pci_tbl[] = {
         { PCI_DEVICE(0x11AB, 0x6101), },
         { PCI_DEVICE(0x11AB, 0x6102), },
         { PCI_DEVICE(0x11AB, 0x6111), },
         { PCI_DEVICE(0x11AB, 0x6121), },
         { PCI_DEVICE(0x11AB, 0x6122), },
         { PCI_DEVICE(0x11AB, 0x6123), },
         { PCI_DEVICE(0x11AB, 0x6141), },
         { PCI_DEVICE(0x11AB, 0x6145), },
         { }     /* terminate list */
}; 


++++

Helpful Information :

A lot of information on Marvell 88SE61xx IDE/SATA chipsets
http://en.wikipedia.org/wiki/List_of_Marvell_Technology_Group_chipsets#Linux_IDE.28PATA.29_driver

My bug report at Mandriva team :
https://qa.mandriva.com/show_bug.cgi?id=39842

Thanks in advance.

Yannick


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux