Bug 10425 - 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
Summary: Problem with pata_marvell kernel module : kernel 2.6.24.4 in Mandriva 2008.1 ...
Status: CLOSED CODE_FIX
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: Serial ATA (show other bugs)
Hardware: All Linux
: P1 blocking
Assignee: Alan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-08 08:53 UTC by Yannick56
Modified: 2009-03-17 09:15 UTC (History)
5 users (show)

See Also:
Kernel Version: kernel 2.6.24.4
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
capture Ms Windows windows for the hardware identification number for Marvell 88SE6111 chip (68.42 KB, image/jpeg)
2008-04-08 12:19 UTC, Yannick56
Details
Dmesg log with a standard kernel 2.6.24.7 from kernel.org with patch for marvell6111 and the same configuration used by mandriva for the desktop kernel 2.6.24.7 (41.39 KB, text/plain)
2008-10-15 01:15 UTC, Yannick56
Details
Dmesg log with a destop configuration for kernel 2.6.24.7 from mandriva (kernel binaries from mandriva) (27.76 KB, text/plain)
2008-10-15 01:23 UTC, Yannick56
Details
Web Cam snaphot picture for Marvell Technology 88SE6111 chip set (94.49 KB, image/jpeg)
2008-11-15 10:34 UTC, Yannick56
Details
Web Cam snaphot picture for Marvell Technology 88SE6111 chip set (96.48 KB, image/jpeg)
2008-11-15 10:38 UTC, Yannick56
Details

Description Yannick56 2008-04-08 08:53:24 UTC
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
Comment 1 Alan 2008-04-08 09:13:20 UTC
The driver has only been tested with the chipsets listed. I've been unable to extract documentation from Marvell to support the others. If you can work with the Mandrake people and verify that the relevant identifier works then that would be useful and the id can then get added for the 6111. 

The newer chips sort of do AHCI so are handled better by the AHCI driver (6141/6145) now it has some workarounds for where they differ from the standard.
Comment 2 Yannick56 2008-04-08 09:36:53 UTC
Marvell 88SE6111 works with Windows 2000 and XP.
When I go in Windows Peripherical Manager, I have PCI_DEVICE(0x11AB, 0x6111) for the Marvell 88SE6111 chip in the hardware listing.
Comment 3 Alan 2008-04-08 10:13:17 UTC
0x11AB, 0x6111 may work with Windows but someone needs to test it works with Linux having made that change before it can go upstream
Comment 4 Yannick56 2008-04-08 12:19:42 UTC
Created attachment 15669 [details]
capture Ms Windows windows for the hardware identification number for Marvell 88SE6111 chip

capture Ms Windows windows for the hardware identification number for Marvell 88SE6111 chip
Comment 5 Yannick56 2008-04-08 12:25:05 UTC
I create an attachment (#15669)(jpg picture) where there is a capture that I do in the MS Windows XP Peripherical windows --> ATA/ATAPI IDE Controller part.
Comment 6 Yannick56 2008-04-14 14:27:03 UTC
There is a very strange thing :
I have a Marvell 88SE6111 chip and Linux and Windows Xp found the same PCI identification string for it : 11ab-6121 but this PCI Identification string is for the Marvell 88SE6121 chip.
You can see it here :
http://bugzilla.kernel.org/attachment.cgi?id=15669&action=view

More information for Marvell chip here :
en.wikipedia.org/wiki/List_of_Marvell_Technology_Group_chipsets

I add Marvell 88SE6111 PCI identification string here :
http://pci-ids.ucw.cz/iii/?i=11ab6111

[webadm@localhost ~]$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller [8086:29c0] (rev 02)
00:01.0 PCI bridge [0604]: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port [8086:29c1] (rev 02)
00:1a.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 02)
00:1a.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 02)
00:1a.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 02)
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940] (rev 02)
00:1c.4 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 [8086:2948] (rev 02)
00:1c.5 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 [8086:294a] (rev 02)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 02)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 02)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 02)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939] (rev 02)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 92)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801IB (ICH9) LPC Interface Controller [8086:2918] (rev 02)
00:1f.2 IDE interface [0101]: Intel Corporation 82801IB (ICH9) 2 port SATA IDE Controller [8086:2921] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 02)
00:1f.5 IDE interface [0101]: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller [8086:2926] (rev 02)
01:00.0 VGA compatible controller [0300]: nVidia Corporation GeForce 8600 GT [10de:0402] (rev a1)
03:00.0 IDE interface [0101]: Marvell Technology Group Ltd. 88SE6121 SATA II Controller [11ab:6121] (rev b1)
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 01)
05:00.0 Multimedia video controller [0400]: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [14f1:8800] (rev 05)
05:00.1 Multimedia controller [0480]: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] [14f1:8811] (rev 05)
[webadm@localhost ~]$


[webadm@localhost ~]$ lspci -k
03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II Controller (rev b1)
Kernel driver in use: pata_marvell
Kernel modules: pata_marvell

[webadm@localhost ~]$ lspci -x
03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II Controller  (rev b1)
00: ab 11 21 61 07 00 10 00 b1 8f 01 01 08 00 00 00
10: 01 dc 00 00 81 d8 00 00 01 d8 00 00 81 d4 00 00
20: 01 d4 00 00 00 fc ef fb 00 00 00 00 ab 11 21 61
30: 00 00 00 00 48 00 00 00 00 00 00 00 0a 01 00 00

[webadm@localhost ~]$ lspci -v
03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II Controller
 (rev b1) (prog-if 8f [Master SecP SecO PriP PriO])
        Subsystem: Marvell Technology Group Ltd. 88SE6121 SATA II Controller
        Flags: bus master, fast devsel, latency 0, IRQ 16
        I/O ports at dc00 [size=8]
        I/O ports at d880 [size=4]
        I/O ports at d800 [size=8]
        I/O ports at d480 [size=4]
        I/O ports at d400 [size=16]
        Memory at fbeffc00 (32-bit, non-prefetchable) [size=1K]
        Capabilities: <access denied>
        Kernel driver in use: pata_marvell
        Kernel modules: pata_marvell
Comment 7 Yannick56 2008-04-14 14:27:30 UTC
(In reply to comment #4)
> Created an attachment (id=15669) [details]
> capture Ms Windows windows for the hardware identification number for Marvell
> 88SE6111 chip
> 
> capture Ms Windows windows for the hardware identification number for Marvell
> 88SE6111 chip
> 
There is a very strange thing :
I have a Marvell 88SE6111 chip and Linux and Windows Xp found the same PCI identification string for it : 11ab-6121 but this PCI Identification string is for the Marvell 88SE6121 chip.
Comment 8 Yannick56 2008-04-14 14:35:09 UTC
The pata_marvell driver is use actually by the the kernel in my mandriva 2008.1 Spring.
Alan, can you explain me why the driver pata_marvell work well with LG GSA-H22N IDE DVD-Rom reader but not with my IDE Hitachi Deskstar 7K80 80 Go 2 Mo (HDS728080PLAT20) harddisk ?
There are on the same IDE port connected to the Marvell 88SE6111 chip.

Do you want more information ? 
Do you want that I send you some debug information ?
Comment 9 Alan 2008-04-14 14:45:00 UTC
The output of dmesg would be useful
Comment 10 Yannick56 2008-04-14 14:54:43 UTC
[webadm@localhost ~]$ dmesg

Linux version 2.6.24.4-desktop-1mnb (lcapitulino@n5.mandriva.com) (gcc version 4.2.3 (4.2.3-6mnb1)) #1 SMP Thu Mar 27 14:34:39 CET 2008
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009bc00 (usable)
 BIOS-e820: 000000000009bc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e3000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000007ffb0000 (usable)
 BIOS-e820: 000000007ffb0000 - 000000007ffbe000 (ACPI data)
 BIOS-e820: 000000007ffbe000 - 000000007fff0000 (ACPI NVS)
 BIOS-e820: 000000007fff0000 - 0000000080000000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
1151MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000ff780
Entering add_active_range(0, 0, 524208) 0 entries of 256 used
Zone PFN ranges:
  DMA             0 ->     4096
  Normal       4096 ->   229376
  HighMem    229376 ->   524208
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0:        0 ->   524208
On node 0 totalpages: 524208
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 1760 pages used for memmap
  Normal zone: 223520 pages, LIFO batch:31
  HighMem zone: 2303 pages used for memmap
  HighMem zone: 292529 pages, LIFO batch:31
  Movable zone: 0 pages used for memmap
DMI present.
ACPI: RSDP 000F9880, 0014 (r0 ACPIAM)
ACPI: RSDT 7FFB0000, 003C (r1 120407 RSDT1850 20071204 MSFT       97)
ACPI: FACP 7FFB0200, 0084 (r2 120407 FACP1850 20071204 MSFT       97)
ACPI: DSDT 7FFB0440, 542E (r1  0AAAA 0AAAA000        0 INTL 20051117)
ACPI: FACS 7FFBE000, 0040
ACPI: APIC 7FFB0390, 006C (r1 120407 APIC1850 20071204 MSFT       97)
ACPI: MCFG 7FFB0400, 003C (r1 120407 OEMMCFG  20071204 MSFT       97)
ACPI: OEMB 7FFBE040, 0061 (r1 120407 OEMB1850 20071204 MSFT       97)
ACPI: GSCI 7FFBE0B0, 2024 (r1 120407 GMCHSCI  20071204 MSFT       97)
ACPI: SSDT 7FFC0A00, 0A7C (r1 DpgPmm    CpuPm       12 INTL 20051117)
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 6:15 APIC version 20
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 6:15 APIC version 20
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled)
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 88000000 (gap: 80000000:7ee00000)
swsusp: Registered nosave memory region: 000000000009b000 - 000000000009c000
swsusp: Registered nosave memory region: 000000000009c000 - 00000000000a0000
swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000e3000
swsusp: Registered nosave memory region: 00000000000e3000 - 0000000000100000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 520113
Kernel command line: BOOT_IMAGE=linux root=UUID=6c2f01aa-0750-11dd-810d-afcf2ae477fe resume=/dev/sda1 splash=silent
bootsplash: silent mode.
mapped APIC to ffffb000 (fee00000)
mapped IOAPIC to ffffa000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Detected 2413.199 MHz processor.
Console: colour dummy device 80x25
console [tty0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 2071072k/2096832k available (2322k kernel code, 23952k reserved, 790k data, 292k init, 1179328k highmem, 0k BadRAM)
virtual kernel memory layout:
    fixmap  : 0xffe14000 - 0xfffff000   (1964 kB)
    pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
    vmalloc : 0xf8800000 - 0xff7fe000   ( 111 MB)
    lowmem  : 0xc0000000 - 0xf8000000   ( 896 MB)
      .init : 0xc0412000 - 0xc045b000   ( 292 kB)
      .data : 0xc03448f7 - 0xc040a2a4   ( 790 kB)
      .text : 0xc0100000 - 0xc03448f7   (2322 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
SLUB: Genslabs=11, HWalign=64, Order=0-1, MinObjects=4, CPUs=2, Nodes=1
Calibrating delay using timer specific routine.. 4828.45 BogoMIPS (lpj=2414229)
Security Framework initialized
AppArmor: AppArmor disabled by boottime parameter

Capability LSM initialized
Mount-cache hash table entries: 512
Hook version: 2.6.24 2008/01/25
CPU: After generic identify, caps: bfebfbff 20000000 00000000 00000000 0000e39d 00000000 00000001 00000000
monitor/mwait feature present.
using mwait in idle threads.
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU: After all inits, caps: bfebfbff 20000000 00000000 00003940 0000e39d 00000000 00000001 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Early unpacking initramfs... done
Freeing initrd memory: 2759k freed
ACPI: Core revision 20070126
ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
CPU0: Intel(R) Core(TM)2 Duo CPU     E4600  @ 2.40GHz stepping 0d
SMP alternatives: switching to SMP code
Booting processor 1/1 eip 3000
Initializing CPU#1
Calibrating delay using timer specific routine.. 4825.61 BogoMIPS (lpj=2412805)
CPU: After generic identify, caps: bfebfbff 20000000 00000000 00000000 0000e39d 00000000 00000001 00000000
monitor/mwait feature present.
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
CPU: After all inits, caps: bfebfbff 20000000 00000000 00003940 0000e39d 00000000 00000001 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: Intel(R) Core(TM)2 Duo CPU     E4600  @ 2.40GHz stepping 0d
Total of 2 processors activated (9654.06 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
checking TSC synchronization [CPU#0 -> CPU#1]: passed.
Brought up 2 CPUs
net_namespace: 64 bytes
Booting paravirtualized kernel on bare hardware
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: BIOS Bug: MCFG area at e0000000 is not E820-reserved
PCI: Not using MMCONFIG.
PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=5
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S3 S4 S5)
ACPI: Using IOAPIC for interrupt routing
Error attaching device data
Error attaching device data
Error attaching device data
Error attaching device data
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI quirk: region 0800-087f claimed by ICH6 ACPI/GPIO/TCO
PCI quirk: region 0480-04bf claimed by ICH6 GPIO
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P4._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P8._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P9._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs *5)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 6 7 10 11 12 *14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 6 7 10 11 12 14 *15)
ACPI: PCI Interrupt Link [LNKG] (IRQs *3 4 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 6 7 *10 11 12 14 15)
ACPI Warning (tbutils-0217): Incorrect checksum in table [OEMB] -  CE, should be C1 [20070126]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 18 devices
ACPI: ACPI bus type pnp unregistered
PnPBIOS: Disabled
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
ACPI: RTC can wake from S4
Time: tsc clocksource has been installed.
system 00:01: iomem range 0xfed14000-0xfed19fff has been reserved
system 00:0b: ioport range 0xa00-0xadf has been reserved
system 00:0b: ioport range 0xae0-0xaef has been reserved
system 00:0c: ioport range 0x4d0-0x4d1 has been reserved
system 00:0c: ioport range 0x800-0x87f has been reserved
system 00:0c: ioport range 0x480-0x4bf has been reserved
system 00:0c: iomem range 0xfed1c000-0xfed1ffff has been reserved
system 00:0c: iomem range 0xfed20000-0xfed8ffff has been reserved
system 00:0e: iomem range 0xffc00000-0xffefffff could not be reserved
system 00:0f: iomem range 0xfec00000-0xfec00fff has been reserved
system 00:0f: iomem range 0xfee00000-0xfee00fff could not be reserved
system 00:10: iomem range 0xe0000000-0xefffffff has been reserved
system 00:11: iomem range 0x0-0x9ffff could not be reserved
system 00:11: iomem range 0xc0000-0xcffff could not be reserved
system 00:11: iomem range 0xe0000-0xfffff could not be reserved
system 00:11: iomem range 0x100000-0x7fffffff could not be reserved
system 00:11: iomem range 0x0-0x0 could not be reserved
PCI: Bridge: 0000:00:01.0
  IO window: c000-cfff
  MEM window: f8000000-fbdfffff
  PREFETCH window: d0000000-dfffffff
PCI: Bridge: 0000:00:1c.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:1c.4
  IO window: d000-dfff
  MEM window: fbe00000-fbefffff
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:1c.5
  IO window: e000-efff
  MEM window: fbf00000-fbffffff
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:1e.0
  IO window: disabled.
  MEM window: fc000000-fdffffff
  PREFETCH window: disabled.
ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:01.0 to 64
ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1c.0 to 64
ACPI: PCI Interrupt 0000:00:1c.4[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1c.4 to 64
ACPI: PCI Interrupt 0000:00:1c.5[B] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1c.5 to 64
PCI: Setting latency timer of device 0000:00:1e.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: disabled - APM is not SMP safe.
audit: initializing netlink socket (disabled)
audit(1208217083.310:1): initialized
highmem bounce pool size: 64 pages
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Boot video device is 0000:01:00.0
PCI: Setting latency timer of device 0000:00:01.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:01.0:pcie00]
PCI: Setting latency timer of device 0000:00:1c.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:1c.0:pcie00]
Allocate Port Service[0000:00:1c.0:pcie02]
PCI: Setting latency timer of device 0000:00:1c.4 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:1c.4:pcie00]
Allocate Port Service[0000:00:1c.4:pcie02]
PCI: Setting latency timer of device 0000:00:1c.5 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:1c.5:pcie00]
Allocate Port Service[0000:00:1c.5:pcie02]
vesafb: framebuffer at 0xf9000000, mapped to 0xf8880000, using 3750k, total 14336k
vesafb: mode is 800x600x16, linelength=1600, pages=2
vesafb: protected mode interface info at c000:b0a0
vesafb: pmi: set display start = c00cb103, set palette = c00cb15e
vesafb: pmi: ports = 3b4 3b5 3ba 3c0 3c1 3c4 3c5 3c6 3c7 3c8 3c9 3cc 3ce 3cf 3d0 3d1 3d2 3d3 3d4 3d5 3da
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
bootsplash 3.1.6-2004/03/31: looking for picture...<6> silentjpeg size 221130 bytes,<6>...found (800x600, 221034 bytes, v3).
Console: switching to colour frame buffer device 91x30
fb0: VESA VGA frame buffer device
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
Switched to high resolution mode on CPU 1
Switched to high resolution mode on CPU 0
input: AT Translated Set 2 keyboard as /class/input/input0
cpuidle: using governor ladder
cpuidle: using governor menu
TCP cubic registered
NET: Registered protocol family 1
Using IPI No-Shortcut mode
registered taskstats version 1
BIOS EDD facility v0.16 2004-Jun-25, 6 devices found
Freeing unused kernel memory: 292k freed
input: PS2++ Logitech Wheel Mouse as /class/input/input1
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ACPI: PCI Interrupt 0000:00:1a.7[C] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1a.7 to 64
ehci_hcd 0000:00:1a.7: EHCI Host Controller
ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1a.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1a.7
ehci_hcd 0000:00:1a.7: irq 18, io mem 0xf7fffc00
ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: irq 19, io mem 0xf7fff800
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 8 ports detected
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1a.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1a.0 to 64
uhci_hcd 0000:00:1a.0: UHCI Host Controller
uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1a.0: irq 16, io base 0x0000bc00
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1a.1[B] -> GSI 21 (level, low) -> IRQ 20
PCI: Setting latency timer of device 0000:00:1a.1 to 64
uhci_hcd 0000:00:1a.1: UHCI Host Controller
uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1a.1: irq 20, io base 0x0000b880
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.0: irq 19, io base 0x0000b800
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 21
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 6
uhci_hcd 0000:00:1d.1: irq 21, io base 0x0000b480
usb usb6: configuration #1 chosen from 1 choice
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 7
uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000b400
usb usb7: configuration #1 chosen from 1 choice
hub 7-0:1.0: USB hub found
hub 7-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1d.3 to 64
uhci_hcd 0000:00:1d.3: UHCI Host Controller
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 8
uhci_hcd 0000:00:1d.3: irq 16, io base 0x0000b080
usb usb8: configuration #1 chosen from 1 choice
hub 8-0:1.0: USB hub found
hub 8-0:1.0: 2 ports detected
SCSI subsystem initialized
Driver 'sd' needs updating - please use bus_type methods
libata version 3.00 loaded.
ata_piix 0000:00:1f.2: version 2.12
ata_piix 0000:00:1f.2: MAP [ P0 -- P1 -- ]
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 21
PCI: Setting latency timer of device 0000:00:1f.2 to 64
scsi0 : ata_piix
scsi1 : ata_piix
ata1: SATA max UDMA/133 cmd 0xb000 ctl 0xac00 bmdma 0xa480 irq 21
ata2: SATA max UDMA/133 cmd 0xa880 ctl 0xa800 bmdma 0xa488 irq 21
ata_piix 0000:00:1f.5: MAP [ P0 -- P1 -- ]
ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 19 (level, low) -> IRQ 21
PCI: Setting latency timer of device 0000:00:1f.5 to 64
scsi2 : ata_piix
scsi3 : ata_piix
ata3: SATA max UDMA/133 cmd 0xa000 ctl 0x9c00 bmdma 0x9480 irq 21
ata4: SATA max UDMA/133 cmd 0x9880 ctl 0x9800 bmdma 0x9488 irq 21
ata4.00: ATA-7: Hitachi HDT725050VLA360, V56OA7EA, max UDMA/133
ata4.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata4.00: configured for UDMA/133
scsi 3:0:0:0: Direct-Access     ATA      Hitachi HDT72505 V56O PQ: 0 ANSI: 5
sd 3:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
sd 3:0:0:0: [sda] Write Protect is off
sd 3:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 3:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 3:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
sd 3:0:0:0: [sda] Write Protect is off
sd 3:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 3:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 < sda5 sda6 sda7 sda8 sda9 >
sd 3:0:0:0: [sda] Attached SCSI disk
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
swsusp: Marking nosave pages: 000000000009b000 - 0000000000100000
swsusp: Basic memory bitmaps created
swsusp: Basic memory bitmaps freed
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Not activating Mandatory Access Control now since /sbin/ccs-init doesn't exist.
r8169 Gigabit Ethernet driver 2.2LK loaded
ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:04:00.0 to 64
r8169 0000:04:00.0: no MSI. Back to INTx.
eth0: RTL8168b/8111b at 0xf8c3a000, 00:19:db:cb:4e:83, XID 38000000 IRQ 17
sd 3:0:0:0: Attached scsi generic sg0 type 0
Linux agpgart interface v0.102
input: PC Speaker as /class/input/input2
iTCO_vendor_support: vendor-support=0
rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one month, y3k
ACPI: SSDT 7FFC00E0, 0277 (r1 DpgPmm  P001Ist       11 INTL 20051117)
ACPI: SSDT 7FFC0570, 0277 (r1 DpgPmm  P002Ist       12 INTL 20051117)
ACPI Exception (processor_core-0816): AE_NOT_FOUND, Processor Device is not present [20070126]
ACPI Exception (processor_core-0816): AE_NOT_FOUND, Processor Device is not present [20070126]
iTCO_wdt: Intel TCO WatchDog Timer Driver v1.02 (26-Jul-2007)
iTCO_wdt: Found a ICH9 TCO device (Version=2, TCOBASE=0x0860)
iTCO_wdt: initialized. heartbeat=30 sec (nowayout=1)
parport_pc 00:08: reported by Plug and Play ACPI
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
input: Power Button (FF) as /class/input/input3
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input4
ACPI: Power Button (CM) [PWRB]
ACPI: PCI Interrupt 0000:00:1f.3[C] -> GSI 18 (level, low) -> IRQ 18
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
PCI: Setting latency timer of device 0000:00:1b.0 to 64
hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...
Linux video capture interface: v2.00
cx2388x alsa driver version 0.0.6 loaded
ACPI: PCI Interrupt 0000:05:00.1[A] -> GSI 16 (level, low) -> IRQ 16
cx88[0]: subsystem: 0070:3401, board: Hauppauge WinTV 34xxx models [card=1,autodetected]
cx88[0]: TV tuner type -1, Radio tuner type -1
cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
tveeprom 1-0050: Hauppauge model 34519, rev J157, serial# 2848586
tveeprom 1-0050: tuner model is Philips FM1216 ME MK3 (idx 57, type 38)
tveeprom 1-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) (eeprom 0x74)
tveeprom 1-0050: audio processor is CX881 (idx 31)
tveeprom 1-0050: has radio
cx88[0]: hauppauge eeprom: model=34519
input: cx88 IR (Hauppauge WinTV 34xxx  as /class/input/input5
cx88[0]/1: CX88x/0: ALSA support for cx2388x boards
ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 16 (level, low) -> IRQ 16
cx88[0]/0: found at 0000:05:00.0, rev: 5, irq: 16, latency: 64, mmio: 0xfd000000
tuner 1-0043: chip found @ 0x86 (cx88[0])
tda9887 1-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 1-0043: type set to tda9887
tuner 1-0061: chip found @ 0xc2 (cx88[0])
tuner-simple 1-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
tuner 1-0061: type set to Philips PAL/SECAM m
tuner-simple 1-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
tuner 1-0061: type set to Philips PAL/SECAM m
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88[0]/0: registered device radio0
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:03:00.0 to 64
scsi4 : pata_marvell
scsi5 : pata_marvell
ata5: PATA max UDMA/100 cmd 0xdc00 ctl 0xd880 bmdma 0xd400 irq 16
ata6: PATA max UDMA/133 cmd 0xd800 ctl 0xd480 bmdma 0xd408 irq 16
BAR5:00:02 01:7F 02:22 03:CA 04:00 05:00 06:00 07:00 08:00 09:00 0A:00 0B:00 0C:07 0D:00 0E:00 0F:00
ata5: port is slow to respond, please be patient (Status 0x80)
ata5: SRST failed (errno=-16)
ata5.01: ATAPI: HL-DT-STDVD-RAM GSA-H22N, 1.02, max UDMA/66
ata5.01: limited to UDMA/33 due to 40-wire cable
ata5.01: configured for UDMA/33
BAR5:00:02 01:7F 02:22 03:CA 04:00 05:00 06:00 07:00 08:00 09:00 0A:00 0B:00 0C:07 0D:00 0E:00 0F:00
scsi 4:0:1:0: CD-ROM            HL-DT-ST DVD-RAM GSA-H22N 1.02 PQ: 0 ANSI: 5
scsi 4:0:1:0: Attached scsi generic sg1 type 5
Driver 'sr' needs updating - please use bus_type methods
sr0: scsi3-mmc drive: 94x/48x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 4:0:1:0: Attached scsi CD-ROM sr0
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.12.0-ioctl (2007-10-02) initialised: dm-devel@redhat.com
EXT3 FS on sda9, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
fuse init (API version 7.9)
loop: module loaded
Adding 2096440k swap on /dev/sda1.  Priority:-1 extents:1 across:2096440k
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
NET: Registered protocol family 17
r8169: eth0: link up
r8169: eth0: link up
martian source 255.255.255.255 from 88.165.228.254, on dev eth0
ll header: ff:ff:ff:ff:ff:ff:00:07:cb:13:32:53:08:00
ip_tables: (C) 2000-2006 Netfilter Core Team
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:01:00.0 to 64
NVRM: loading NVIDIA UNIX x86 Kernel Module  169.12  Thu Feb 14 17:53:07 PST 2008
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
ip6_tables: (C) 2000-2006 Netfilter Core Team
ctnetlink v0.93: registering with nfnetlink.
ClusterIP Version 0.8 loaded successfully
eth0: no IPv6 routers present
netfilter PSD loaded - (c) astaro AG
IFWLOG: register target
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 14966 bytes, v3).
bootsplash: status on console 0 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 14966 bytes, v3).
bootsplash: status on console 1 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 14966 bytes, v3).
bootsplash: status on console 2 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 14966 bytes, v3).
bootsplash: status on console 3 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 14966 bytes, v3).
bootsplash: status on console 4 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 14966 bytes, v3).
bootsplash: status on console 5 changed to on
Shorewall:net2fw:DROP:IN=eth0 OUT= MAC=00:19:db:cb:4e:83:00:07:cb:13:32:53:08:00 SRC=88.165.224.64 DST=88.165.230.244 LEN=48 TOS=0x00 PREC=0x00 TTL=121 ID=24557 DF PROTO=TCP SPT=4733 DPT=1433 WINDOW=16384 RES=0x00 SYN URGP=0
Shorewall:net2fw:DROP:IN=eth0 OUT= MAC=00:19:db:cb:4e:83:00:07:cb:13:32:53:08:00 SRC=207.171.62.37 DST=88.165.230.244 LEN=231 TOS=0x00 PREC=0x00 TTL=52 ID=0 DF PROTO=UDP SPT=17494 DPT=25990 LEN=211
Shorewall:net2fw:DROP:IN=eth0 OUT= MAC=00:19:db:cb:4e:83:00:07:cb:13:32:53:08:00 SRC=207.171.62.37 DST=88.165.230.244 LEN=260 TOS=0x00 PREC=0x00 TTL=52 ID=0 DF PROTO=UDP SPT=17494 DPT=25990 LEN=240
Shorewall:net2fw:DROP:IN=eth0 OUT= MAC=00:19:db:cb:4e:83:00:07:cb:13:32:53:08:00 SRC=41.251.38.3 DST=88.165.230.244 LEN=50 TOS=0x00 PREC=0x00 TTL=53 ID=50029 PROTO=UDP SPT=44796 DPT=25990 LEN=30
[webadm@localhost ~]$                                                
Comment 11 Alan 2008-06-09 08:33:41 UTC
ata5: port is slow to respond, please be patient (Status 0x80)
ata5: SRST failed (errno=-16)

That is the relevamt line although I'm not sure it helps understand why. I don't have any useful docs for the Marvell 6111 to guess whether its not entirely the same as the other variants however.
Comment 12 Sebastian Droeppelmann 2008-08-01 15:02:57 UTC
if i remember correctly i already had this chip running via pata_marvell before a bios update & new kernel version.
i think it was some 2.6.23-gentoo-r? kernel and a 1.5 bios on an msi neo2 fr. the chip stopped working after a bios patch as far as i can remember.
(not quite sure though if i did anything else to get it working, but as far as i can remember not)

now i got my 2 ide drives working again by simply adding
         { PCI_DEVICE(0x11AB, 0x6111), },
to pata_marvell.c

till now it works, but i just tested it for an hour or so.
if there are any problems with it i'll let you guys know.
i also added the lspci and dmesg output from loading/unloading the modules, maybe it helps...

oh and i also found so who edited the mac os x modules to work with the Marvell 6111 chip.
http://www.insanelymac.com/lofiversion/index.php/t96521.html
maybe he has got some more info.

lspci -v
...
03:00.0 IDE interface: Marvell Technology Group Ltd. Unknown device 6121 (rev b2) (prog-if 8f [Master SecP SecO PriP PriO])
        Subsystem: Marvell Technology Group Ltd. Unknown device 6121
        Flags: bus master, fast devsel, latency 0, IRQ 16
        I/O ports at dc00 [size=8]
        I/O ports at d880 [size=4]
        I/O ports at d800 [size=8]
        I/O ports at d480 [size=4]
        I/O ports at d400 [size=16]
        Memory at feaffc00 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [48] Power Management version 2
        Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
        Capabilities: [e0] Express Legacy Endpoint, MSI 00
        Kernel driver in use: pata_marvell
        Kernel modules: ahci, ata_generic, pata_acpi, pata_marvell
...

modprobe pata_marvell ; dmesg
...
PCI: Setting latency timer of device 0000:03:00.0 to 64
scsi10 : pata_marvell
scsi11 : pata_marvell
ata9: PATA max UDMA/100 cmd 0xdc00 ctl 0xd880 bmdma 0xd400 irq 16
ata10: PATA max UDMA/133 cmd 0xd800 ctl 0xd480 bmdma 0xd408 irq 16
BAR5:00:02 01:7F 02:22 03:CA 04:00 05:00 06:00 07:00 08:00 09:00 0A:00 0B:00 0C:07 0D:00 0E:00 0F:00 
ata9.00: ATA-7: Maxtor 6B200P0, BAH41BM0, max UDMA/133
ata9.00: 398297088 sectors, multi 0: LBA48 
ata9.01: ATA-7: Maxtor 6L300R0, BAH41G10, max UDMA/133
ata9.01: 586114704 sectors, multi 0: LBA48 
ata9.00: configured for UDMA/100
ata9.01: configured for UDMA/100
BAR5:00:02 01:7F 02:22 03:CA 04:00 05:00 06:00 07:00 08:00 09:00 0A:00 0B:00 0C:07 0D:00 0E:00 0F:00 
ata10.00: qc timeout (cmd 0xa1)
ata10.00: failed to IDENTIFY (I/O error, err_mask=0x4)
ata10: failed to recover some devices, retrying in 5 secs
BAR5:00:02 01:7F 02:22 03:CA 04:00 05:00 06:00 07:00 08:00 09:00 0A:00 0B:00 0C:07 0D:00 0E:00 0F:00 
ata10: port is slow to respond, please be patient (Status 0xd0)
ata10: device not ready (errno=-16), forcing hardreset
ata10: port is slow to respond, please be patient (Status 0xd0)
ata10: SRST failed (errno=-16)
ata10: port is slow to respond, please be patient (Status 0xd0)
ata10: SRST failed (errno=-16)
ata10.00: ATAPI: LITE-ON DVDRW LH-20A1L, BL05, max UDMA/100
ata10.00: configured for UDMA/100
scsi 10:0:0:0: Direct-Access     ATA      Maxtor 6B200P0   BAH4 PQ: 0 ANSI: 5
sd 10:0:0:0: [sdd] 398297088 512-byte hardware sectors (203928 MB)
sd 10:0:0:0: [sdd] Write Protect is off
sd 10:0:0:0: [sdd] Mode Sense: 00 3a 00 00
sd 10:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 10:0:0:0: [sdd] 398297088 512-byte hardware sectors (203928 MB)
sd 10:0:0:0: [sdd] Write Protect is off
sd 10:0:0:0: [sdd] Mode Sense: 00 3a 00 00
sd 10:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdd: sdd1 sdd2 < sdd5 sdd6 sdd7 sdd8 sdd9 sdd10 sdd11 >
sd 10:0:0:0: [sdd] Attached SCSI disk
sd 10:0:0:0: Attached scsi generic sg3 type 0
scsi 10:0:1:0: Direct-Access     ATA      Maxtor 6L300R0   BAH4 PQ: 0 ANSI: 5
sd 10:0:1:0: [sde] 586114704 512-byte hardware sectors (300091 MB)
sd 10:0:1:0: [sde] Write Protect is off
sd 10:0:1:0: [sde] Mode Sense: 00 3a 00 00
sd 10:0:1:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 10:0:1:0: [sde] 586114704 512-byte hardware sectors (300091 MB)
sd 10:0:1:0: [sde] Write Protect is off
sd 10:0:1:0: [sde] Mode Sense: 00 3a 00 00
sd 10:0:1:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sde: sde1 sde2
sd 10:0:1:0: [sde] Attached SCSI disk
sd 10:0:1:0: Attached scsi generic sg4 type 0
scsi 11:0:0:0: CD-ROM            LITE-ON  DVDRW LH-20A1L   BL05 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 125x/125x writer dvd-ram cd/rw xa/form2 cdda tray
sr 11:0:0:0: Attached scsi CD-ROM sr0
sr 11:0:0:0: Attached scsi generic sg5 type 5


modprobe -r pata_marvell ; dmesg
...
ata9.00: disabled
ata9.01: disabled
sd 10:0:0:0: [sdd] Synchronizing SCSI cache
sd 10:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK
sd 10:0:0:0: [sdd] Stopping disk
sd 10:0:0:0: [sdd] START_STOP FAILED
sd 10:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK
sd 10:0:1:0: [sde] Synchronizing SCSI cache
sd 10:0:1:0: [sde] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK
sd 10:0:1:0: [sde] Stopping disk
sd 10:0:1:0: [sde] START_STOP FAILED
sd 10:0:1:0: [sde] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK
ata10.00: disabled
ACPI: PCI interrupt for device 0000:03:00.0 disabled


ok, hope this helped a bit.
Comment 13 NT 2008-08-21 10:04:04 UTC
I have the same issue, but modification of the source code of the driver did not helped:

mesh ~ # uname -a
Linux mesh 2.6.25-gentoo-r7 #1 SMP Fri Aug 15 13:45:01 CEST 2008 x86_64 Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz GenuineIntel GNU/Linux
mesh ~ # modprobe pata_marvell
mesh ~ # echo $?
0
mesh ~ # dmesg | tail
warning: `named' uses 32-bit capabilities (legacy support in use)
w83627ehf: Found W83627DHG chip at 0x290
w83627ehf w83627ehf.656: VID pins in output mode, CPU VID not available
coretemp coretemp.0: Using relative temperature scale!
coretemp coretemp.1: Using relative temperature scale!
eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
eth0: no IPv6 routers present
eth0: link down
eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
mesh ~ #

here is the lspci:

03:00.0 IDE interface: Marvell Technology Group Ltd. Unknown device 6121 (rev b1) (prog-if 8f [Master SecP SecO PriP PriO])
	Subsystem: ASUSTeK Computer Inc. Unknown device 82a2
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: I/O ports at dc00 [size=8]
	Region 1: I/O ports at d880 [size=4]
	Region 2: I/O ports at d800 [size=8]
	Region 3: I/O ports at d480 [size=4]
	Region 4: I/O ports at d400 [size=16]
	Region 5: Memory at feaffc00 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [48] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0+,D1+,D2-,D3hot+,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=1 PME-
	Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
		Address: 00000000  Data: 0000
	Capabilities: [e0] Express (v1) Legacy Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd- ExtTag- PhantFunc- AuxPwr+ NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s, Latency L0 <256ns, L1 unlimited
			ClockPM- Suprise- LLActRep- BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
	Kernel driver in use: ahci
	Kernel modules: ata_generic, ahci, pata_marvell

any idea, what I am doing wrong?

Thanks.

 - norbee
Comment 14 Michal Pokrywka 2008-08-27 02:57:52 UTC
Reports of (I think) the same issue from debian users:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495271
Maybe it can help a little
Comment 15 Alan 2008-08-27 03:25:06 UTC
Debian bug is different - thats the AHCI driver claiming things it shouldn't. I've complained repeatedly to the ahci driver maintainers about this with no effect. Open a new bug for that one and assign it to Jeff Garzik jgarzik@redhat.com
Comment 16 Michael Long 2008-09-11 00:41:54 UTC
Hi,

with kernel 2.6.27-rc6 this bug is now fixed for me.

Hardware: Marvell 88SE6121
Comment 17 Yannick56 2008-09-11 05:24:28 UTC
Hello,

(In reply to comment #16)
> Hi,
> 
> with kernel 2.6.27-rc6 this bug is now fixed for me.
> 
> Hardware: Marvell 88SE6121
> 

My harware is :
Marvell® 88SE6111 chipset
Comment 18 Alan 2008-09-16 08:45:50 UTC
Pushed upstream now
Comment 19 Yannick56 2008-10-14 23:53:08 UTC
The bug is not corrected.
The bug is still in kernel 2.6.27, take a look here :
https://qa.mandriva.com/show_bug.cgi?id=43975

Alan, I will send you more information to correct this bug.
I test a patch last night.
I will send you these tests results today.
Comment 20 Yannick56 2008-10-15 01:15:26 UTC
Created attachment 18319 [details]
Dmesg log with a standard  kernel 2.6.24.7 from kernel.org with patch for marvell6111 and the same configuration used by mandriva for the desktop kernel 2.6.24.7

Dmesg log with a standard desktop kernel 2.6.24.7 from mandriva with patch for marvell6111.
I add the line { PCI_DEVICE(0x11AB, 0x6111), } in the file pata_marvell.c in the part :

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 };
Comment 21 Yannick56 2008-10-15 01:23:28 UTC
Created attachment 18320 [details]
Dmesg log with a destop configuration for kernel 2.6.24.7 from mandriva (kernel binaries from mandriva)

I use the kernel furnished by Mandriva
Dmesg log with a destop configuration for kernel 2.6.24.7 from mandriva (kernel binaries from mandriva)
Comment 22 Yannick56 2008-10-15 01:23:31 UTC
Comment on attachment 18319 [details]
Dmesg log with a standard  kernel 2.6.24.7 from kernel.org with patch for marvell6111 and the same configuration used by mandriva for the desktop kernel 2.6.24.7

I compile this kernel from sources.
Dmesg log with a standard  kernel 2.6.24.7 from kernel.org with patch for marvell6111 and the same configuration used by mandriva for the desktop kernel 2.6.24.7
Comment 23 Yannick56 2008-10-15 01:36:39 UTC
Kernel : 2.6.24.7

Bios v1.40 for the motherboard.

Marvell 88SE61xx Adapter BIOS Version 1.1.0.L61

Hardware Environment:
MSI P35 NEO Combo mainboard
(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
• Intel® ICH9 Chipset
On-Board IDE/SATA
• One Ultra DMA 66/100/133 IDE controller integrated in Marvell® 88SE6111.
• SATAII controller integrated in ICH9 and Marvell® 88SE6111 chipset

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

I add the line { PCI_DEVICE(0x11AB, 0x6111), } in the file pata_marvell.c in
the part (patch for marvell6111) :
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 }; 


* Dmesg log with a standard kernel 2.6.24.7 from kernel.org with patch for marvell6111 and the same configuration used by mandriva for the desktop kernel 2.6.24.7 :

Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:03:00.0 to 64
scsi5 : pata_marvell
scsi6 : pata_marvell
ata5: PATA max UDMA/100 cmd 0xdc00 ctl 0xd880 bmdma 0xd400 irq 16
ata6: PATA max UDMA/133 cmd 0xd800 ctl 0xd480 bmdma 0xd408 irq 16
BAR5:00:02 01:7F 02:22 03:CA 04:00 05:00 06:00 07:00 08:00 09:00 0A:00 0B:00 0C:07 0D:00 0E:00 0F:00 
scsi 4:0:0:0: Direct-Access              HDS722525VLAT80  V36O PQ: 0 ANSI: 0 CCS
sd 4:0:0:0: [sdb] 488397168 512-byte hardware sectors (250059 MB)
sd 4:0:0:0: [sdb] Test WP failed, assume Write Enabled
sd 4:0:0:0: [sdb] Assuming drive cache: write through
sd 4:0:0:0: [sdb] 488397168 512-byte hardware sectors (250059 MB)
sd 4:0:0:0: [sdb] Test WP failed, assume Write Enabled
sd 4:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1 sdb2 sdb3 < sdb5 sdb6 >
sd 4:0:0:0: [sdb] Attached SCSI disk
sd 4:0:0:0: Attached scsi generic sg1 type 0
usb-storage: device scan complete
ata5: port is slow to respond, please be patient (Status 0x80)
ata5: SRST failed (errno=-16)
ata5.01: ATAPI: HL-DT-STDVD-RAM GSA-H22N, 1.02, max UDMA/66
ata5.01: limited to UDMA/33 due to 40-wire cable
ata5.01: configured for UDMA/33
BAR5:00:02 01:7F 02:22 03:CA 04:00 05:00 06:00 07:00 08:00 09:00 0A:00 0B:00 0C:07 0D:00 0E:00 0F:00 
scsi 5:0:1:0: CD-ROM            HL-DT-ST DVD-RAM GSA-H22N 1.02 PQ: 0 ANSI: 5
scsi 5:0:1:0: Attached scsi generic sg2 type 5
Driver 'sr' needs updating - please use bus_type methods
sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 5:0:1:0: Attached scsi CD-ROM sr0
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.12.0-ioctl (2007-10-02) initialised: dm-devel@redhat.com
usb 2-5: reset high speed USB device using ehci_hcd and address 2
EXT3 FS on sda9, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
fuse init (API version 7.9)
loop: module loaded
Adding 2096440k swap on /dev/sda1.  Priority:-1 extents:1 across:2096440k
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)

		++++++++++

* Dmesg log with a destop configuration for kernel 2.6.24.7 from mandriva (kernel binaries from mandriva) :

FDC 0 is a post-1991 82077
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:03:00.0 to 64
scsi5 : pata_marvell
scsi6 : pata_marvell
ata5: PATA max UDMA/100 cmd 0xdc00 ctl 0xd880 bmdma 0xd400 irq 16
ata6: PATA max UDMA/133 cmd 0xd800 ctl 0xd480 bmdma 0xd408 irq 16
BAR5:00:02 01:7F 02:22 03:CA 04:00 05:00 06:00 07:00 08:00 09:00 0A:00 0B:00 0C:07 0D:00 0E:00 0F:00 
scsi 4:0:0:0: Direct-Access              HDS722525VLAT80  V36O PQ: 0 ANSI: 0 CCS
sd 4:0:0:0: [sdb] 488397168 512-byte hardware sectors (250059 MB)
sd 4:0:0:0: [sdb] Test WP failed, assume Write Enabled
sd 4:0:0:0: [sdb] Assuming drive cache: write through
sd 4:0:0:0: [sdb] 488397168 512-byte hardware sectors (250059 MB)
sd 4:0:0:0: [sdb] Test WP failed, assume Write Enabled
sd 4:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1 sdb2 sdb3 < sdb5 sdb6 >
sd 4:0:0:0: [sdb] Attached SCSI disk
sd 4:0:0:0: Attached scsi generic sg1 type 0
usb-storage: device scan complete
ata5: port is slow to respond, please be patient (Status 0x80)
ata5: SRST failed (errno=-16)
ata5.01: ATAPI: HL-DT-STDVD-RAM GSA-H22N, 1.02, max UDMA/66
ata5.01: limited to UDMA/33 due to 40-wire cable
ata5.01: configured for UDMA/33
BAR5:00:02 01:7F 02:22 03:CA 04:00 05:00 06:00 07:00 08:00 09:00 0A:00 0B:00 0C:07 0D:00 0E:00 0F:00 
scsi 5:0:1:0: CD-ROM            HL-DT-ST DVD-RAM GSA-H22N 1.02 PQ: 0 ANSI: 5
scsi 5:0:1:0: Attached scsi generic sg2 type 5
Driver 'sr' needs updating - please use bus_type methods
sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 5:0:1:0: Attached scsi CD-ROM sr0
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.12.0-ioctl (2007-10-02) initialised: dm-devel@redhat.com
usb 2-5: reset high speed USB device using ehci_hcd and address 2
EXT3 FS on sda9, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
fuse init (API version 7.9)
loop: module loaded
Adding 2096440k swap on /dev/sda1.  Priority:-1 extents:1 across:2096440k
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
NET: Registered protocol family 17
r8169: eth0: link up
r8169: eth0: link up
PPP generic driver version 2.4.2
martian source 255.255.255.255 from 88.165.228.254, on dev eth0
ll header: ff:ff:ff:ff:ff:ff:00:07:cb:13:32:53:08:00
ip_tables: (C) 2000-2006 Netfilter Core Team
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)

        ++++++++

lspci -k 

03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II Controller (rev b1)
	Kernel driver in use: pata_marvell
	Kernel modules: pata_marvell

lspci -x 

03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II Controller (rev b1)
00: ab 11 21 61 07 00 10 00 b1 8f 01 01 08 00 00 00
10: 01 dc 00 00 81 d8 00 00 01 d8 00 00 81 d4 00 00
20: 01 d4 00 00 00 fc ef fb 00 00 00 00 ab 11 21 61
30: 00 00 00 00 48 00 00 00 00 00 00 00 0a 01 00 00

lspci -v 

03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II Controller (rev b1) (prog-if 8f [Master SecP SecO PriP PriO])
	Subsystem: Marvell Technology Group Ltd. 88SE6121 SATA II Controller
	Flags: bus master, fast devsel, latency 0, IRQ 16
	I/O ports at dc00 [size=8]
	I/O ports at d880 [size=4]
	I/O ports at d800 [size=8]
	I/O ports at d480 [size=4]
	I/O ports at d400 [size=16]
	Memory at fbeffc00 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: pata_marvell
	Kernel modules: pata_marvell

Do you need more informations ?

Can I do more tests or debugging trace for you ?
  
Comment 24 Alan 2008-10-15 02:24:11 UTC
Your lspci -x says the registers start "ab 11 21 61" 

Put back into order that is 11ab 6121 and the 6121 identifier is already listed and included in pata_marvell
Comment 25 Yannick56 2008-10-15 03:57:45 UTC
Hello Alan,

>Put back into order that is 11ab 6121 and the 6121 identifier is already
>listed
>and included in pata_marvell

Yes, but the marking in white on the black plastic from the marvell chipset on the motherboard, I have Marvell 88SE6111 and not 88SE6121

and here :
http://global.msi.com.tw/index.php?func=proddesc&prod_no=1216&maincat_no=1&cat2_no=170
there is : One Ultra DMA 66/100/133 IDE controller integrated in Marvell® 88SE6111.
Comment 26 Yannick56 2008-10-15 04:35:32 UTC
Hello Alan,

I saw here :
http://www.marvell.com/contact/cust_support.do
that is possible to have access to all Marvell product documentation but they  requires that you be under a current Non-Disclosure Agreement (NDA).And if you do not have a Marvell NDA on file, you need to contact your local Sales Representative.

Is possible for you to contract an NDA with Marvell to have the documentation and next add the support for Marvell 88SE6111 ?

Because I can not install Mandriva 2009.0 with my IDE DVD-ROM reader connected to IDE port on a Marvell 88SE6111 chipset, I think that the only choice for me will be to buy a new SATA DVD-ROM reader or a new add-on PCI with IDE port with a via or jmicron chipset.

I will try to improve the web page http://en.wikipedia.org/wiki/List_of_Marvell_Technology_Group_chipsets
and recommended to Linux users to don't buy motherboards with Marvell 88SE6111 chipset if they have IDE periphericals and not Intel ICHx-R chipset.
With motherboards with Marvell 88SE6111 and Intel ICHx-R chipsets (not ICH5-R), it's possible to use the AHCI workaround.
(see here for AHCI workaround : http://en.wikipedia.org/wiki/List_of_Marvell_Technology_Group_chipsets#Linux_IDE.28PATA.29_driver )
Comment 27 Alan 2008-10-15 05:35:44 UTC
Your chip reports 0x6121 the driver has 0x6121 and 0x6121 is known to work. So whatever your problem is adding a PCI id for a device you do not even have in your system is not what is causing it to work or not work for you.
Comment 28 Yannick56 2008-10-15 06:11:25 UTC
>Your chip reports 0x6121 the driver has 0x6121 and 0x6121 is known to work. 
Ok

>So whatever your problem is adding a PCI id for a device you do not even have
>in
> your system is not what is causing it to work or not work for you.
Ok, I understand.
Is it for you a mistake from the mainboard builder (here MSI) that use a bad PCI id for the Marvell chipset ?
Do I need to report this problem at MSI ?
Or the the PCI id is hardcoded in the 88SE6111 Marvell chipset ?
Comment 29 Alan 2008-11-11 08:02:07 UTC
I would assume your mainboard actually has an 88SE6121 device on it. Either way it shouldn't matter as the 0x6121 identifier is known and supported by the pata_marvell driver (load if using PATA) or AHCI driver (load if using SATA only for better performance)
Comment 30 Yannick56 2008-11-15 10:34:43 UTC
Created attachment 18876 [details]
Web Cam snaphot picture for Marvell Technology 88SE6111 chip set

Web Cam snaphot picture for Marvell Technology 88SE6111 chip set
Comment 31 Yannick56 2008-11-15 10:38:05 UTC
Created attachment 18877 [details]
Web Cam snaphot picture for Marvell Technology 88SE6111 chip set

Web Cam snaphot picture for Marvell Technology 88SE6111 chip set

Marvell Technology write on his chip :
Marvell Logo picture
88SE6111 - NAA1
FR26611.2
O722 B1P
TW
Comment 32 Yannick56 2008-11-15 10:49:25 UTC
(In reply to comment #29)
> I would assume your mainboard actually has an 88SE6121 device on it. Either
> way
> it shouldn't matter as the 0x6121 identifier is known and supported by the
> pata_marvell driver (load if using PATA) or AHCI driver (load if using SATA
> only for better performance)
> 

>it shouldn't matter as the 0x6121 identifier is known and supported by the
> pata_marvell driver (load if using PATA)
Ok, if the chip used is Marvell 88SE6121 with the good PCI ID (0x11AB, 0x6121).

But I try to use PATA (ex-IDE) devices, and 
as you can see here : http://bugzilla.kernel.org/attachment.cgi?id=18876&action=view
my motherboard use a 88SE6111 chip from Marvell Technology Group and not a 88SE6121.

Is it possible for a chip builder to use the same PCI ID (PCI_DEVICE(0x11AB, 0x6111) ) for 2 chip that are not the same or is it a motherboard builder error ?
Is it authorized to use the same PCI ID for 2 chip that are not the same ?
Comment 33 Yannick56 2008-11-15 11:33:12 UTC
Other informations for you Alan.

With Mandriva 2008.1 (kernel 2.6.24.4) and with my Marvell 88SE6111 chip that Linux Kernel recognize as "Marvell Technology Group Ltd. | 88SE6121 SATA II Controller", I can use one IDE/PATA device the DVD-ROM Reader/Writer : LG GSA-H22N  BUT NOT my Harddisk : IDE Hitachi Deskstar 7K80 80 Go 2 Mo (HDS728080PLAT20).

With Mandriva 2009.0 (kernel 2.6.27-rc8) and with my Marvell 88SE6111 chip that Linux Kernel recognize as "Marvell Technology Group Ltd. | 88SE6121 SATA II Controller", I can use NO IDE/PATA devices : 
DVD-ROM Reader/Writer : LG GSA-H22N  and my Harddisk : IDE Hitachi Deskstar 7K80 80 Go 2 Mo (HDS728080PLAT20) because the pata_marvell linux driver can not detect my 2 devices.

Here there is a problem with Marvell 88SE6145 chip :
HDDs not detected on Marvell 88SE6145 Sata II controller
https://qa.mandriva.com/show_bug.cgi?id=44718
The user said :
"System as configured worked fine with 2008.1 & 2009rc1. 2.6.27rc5 server kernel
ok.....2.6.27rc7 server kernel broke boot sequence. 2009.0server-rc8 broken."

Maybe there is a regression in 2.6.27-rc6 or 2.6.27-rc7 source code ?

I found your mail here for this latest problem :
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=5b66c829bf5c65663b2f68ee6b42f6e834cd39cd
But you don't said if there is 
a workaround for kernel 2.6.27-rc8 (for example) that use Mandriva 2009.0 installer.
Can I use ahci.marvell_enable=0 as workaround with Mandriva 2009.0 installer (kernel 2.6.27-rc8) and how can use this parameter ?
Comment 34 Alan 2008-11-15 13:01:48 UTC
You need to load pata_marvell befor AHCI on current kernels (this is fixed in .28rc) for PATA support.

Note You need to log in before you can comment on or make changes to this bug.