[Marvell 9128 PCIe SATA] In Live session or installation HD not recognized

Bug #658521 reported by sean bridges
38
This bug affects 5 people
Affects Status Importance Assigned to Milestone
ubiquity
Invalid
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Medium
Andy Whitcroft
Nominated for Oneiric by Dave Gilbert

Bug Description

The ubuntu 10.10 live install cd does not recognize my hard drive.

My hardware is basically this,

http://pc.ncix.com/ncixpc/ncixpc.cfm?uuid=1DF1D0CB-C012-4C42-8CE90CF4DA9A2153-3005934

The hard drive is working, as I can boot into windows.

As suggested on the forum, here is the output of some commands from in the live cd,

ubuntu@ubuntu:~$ ls /dev/sd*
/dev/sda /dev/sdb /dev/sdc

ubuntu@ubuntu:~$ lspci
00:00.0 Host bridge: Intel Corporation 5520/5500/X58 I/O Hub to ESI Port (rev 13)
00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 (rev 13)
00:02.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 2 (rev 13)
00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 (rev 13)
00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 (rev 13)
00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management Registers (rev 13)
00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers (rev 13)
00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status and RAS Registers (rev 13)
00:14.3 PIC: Intel Corporation 5520/5500/X58 I/O Hub Throttle Registers (rev 13)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
00:1c.2 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 3
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
01:00.0 IDE interface: Device 1b4b:91a3 (rev 11)
02:00.0 USB Controller: NEC Corporation Device 0194 (rev 03)
03:00.0 VGA compatible controller: ATI Technologies Inc Device 6898
03:00.1 Audio device: ATI Technologies Inc Cypress HDMI Audio [Radeon HD 5800 Series]
05:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12)
07:02.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev c0)

ubuntu@ubuntu:~$ sudo fdisk -lu
ubuntu@ubuntu:~$

The forum thread is here,

http://ubuntuforums.org/showthread.php?t=1577756

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hello
Is the disk recognized during a live session ?
Thanks
FAbio

affects: ubuntu → partman-base (Ubuntu)
Changed in partman-base (Ubuntu):
status: New → Incomplete
Revision history for this message
Book 'em Dano (heymrdjd) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, we can't start working on it yet, because your description didn't include enough information. Please include the information requested at https://wiki.ubuntu.com/DebuggingUbiquity/AttachingLogs as separate attachments. Thanks in advance.

Revision history for this message
sean bridges (sean-bridges) wrote :

No, the disk is not recognized in the live session.

Book 'em Dano (heymrdjd)
Changed in ubiquity:
status: New → Incomplete
Revision history for this message
sean bridges (sean-bridges) wrote :

Is Book em Dano an automated process? The installer did not crash, so is the requested information relevant?

affects: partman-base (Ubuntu) → mountall (Ubuntu)
summary: - installer does not recognize hard drive
+ In Live session or installation HD not recognized
tags: added: maverick
Revision history for this message
Book 'em Dano (heymrdjd) wrote : Re: In Live session or installation HD not recognized

I apologize, I referred you to the incorrect page. If you look at this page, https://wiki.ubuntu.com/DebuggingCasper, it will provide instruction on how to enable logging while using the Live CD and retrieve that log from the temporary filesystem. Also providing the logs stated on this page, https://wiki.ubuntu.com/DebuggingHardwareDetection, would be helpful as well.

Revision history for this message
sean bridges (sean-bridges) wrote :
Download full text (132.8 KiB)

Using Kubuntu 10.10, I added the debug= to the installer, then tried to install. No hard drive was detected, and I quit the installation, and the kubuntu live cd booted,

/var/log/casper.log

+ tailpid=454
+ parse_cmdline
+ tail -f casper.log
+ cat /proc/cmdline
+ [ = ]
+ export UNIONFS=aufs
+ set_usplash_timeout
+ [ -x /sbin/usplash_write ]
+ start_usplash_pulse
+ [ -x /sbin/usplash_write ]
+ [ n != y ]
+ log_begin_msg Running /scripts/casper-premount
+ [ -x /sbin/usplash_write ]
+ _log_msg Begin: Running /scripts/casper-premount ...
+ [ n = y ]
+ printf Begin: Running /scripts/casper-premount ...
Begin: Running /scripts/casper-premount ... + run_scripts /scripts/casper-premount
+ initdir=/scripts/casper-premount
+ [ ! -d /scripts/casper-premount ]
+ [ -f /scripts/casper-premount/ORDER ]
+ . /scripts/casper-premount/ORDER
+ /scripts/casper-premount/10driver_updates
done.
+ [ -e /conf/param.conf ]
+ /scripts/casper-premount/20iso_scan
+ [ -e /conf/param.conf ]
+ /scripts/casper-premount/30custom_installation
+ [ -e /conf/param.conf ]
+ [ n != y ]
+ log_end_msg
+ [ -x /sbin/usplash_write ]
+ _log_msg done.\n
+ [ n = y ]
+ printf done.\n
done.
+ set_usplash_timeout
+ [ -x /sbin/usplash_write ]
+ [ ! -z ]
+ i=0
+ [ 0 -lt 60 ]
+ find_livefs 0
+ timeout=0
+ [ ! -z ]
+ [ -n ]
+ + echo /sys/block/loop0tr /sys/block/loop1 egrep /sys/block/loop2 \n -v
 /(loop|ram|fd) /sys/block/loop4
 /sys/block/loop5 /sys/block/loop6 /sys/block/loop7 /sys/block/ram0 /sys/block/ram1 /sys/block/ram10 /sys/block/ram11 /sys/block/ram12 /sys/block/ram13 /sys/block/ram14 /sys/block/ram15 /sys/block/ram2 /sys/block/ram3 /sys/block/ram4 /sys/block/ram5 /sys/block/ram6 /sys/block/ram7 /sys/block/ram8 /sys/block/ram9 /sys/block/sda /sys/block/sdb /sys/block/sr0
+ sys2dev /sys/block/sda
+ sysdev=/block/sda
+ /sbin/udevadm info -q name -p /block/sda
+ echo /dev/sda
+ devname=/dev/sda
+ [ -e /dev/sda ]
+ get_fstype /dev/sda
+ local FSTYPE
+ local FSSIZE
/init: line 7: can't open /dev/sda: No medium found
+ fstype
+ eval
+ [ != unknown ]
+ echo
+ return 0
+ fstype=
+ /lib/udev/cdrom_id /dev/sda
+ is_nice_device /sys/block/sda
+ sysfs_path=/block/sda
+ /lib/udev/path_id /block/sda
+ egrep -q ID_PATH=(usb|pci-[^-]*-(ide|scsi|usb)|platform-sata_mv|platform-orion-ehci|platform-mmc|platform-mxsdhci)
+ return 0
+ subdevices /sys/block/sda
+ sysblock=/sys/block/sda
+ r=
+ [ -e /sys/block/sda/dev ]
+ r= /sys/block/sda
+ [ -e /sys/block/sda/alignment_offset/dev ]
+ [ -e /sys/block/sda/bdi/dev ]
+ [ -e /sys/block/sda/capability/dev ]
+ [ -e /sys/block/sda/dev/dev ]
+ [ -e /sys/block/sda/device/dev ]
+ [ -e /sys/block/sda/discard_alignment/dev ]
+ [ -e /sys/block/sda/ext_range/dev ]
+ [ -e /sys/block/sda/holders/dev ]
+ [ -e /sys/block/sda/inflight/dev ]
+ [ -e /sys/block/sda/power/dev ]
+ [ -e /sys/block/sda/queue/dev ]
+ [ -e /sys/block/sda/range/dev ]
+ [ -e /sys/block/sda/removable/dev ]
+ [ -e /sys/block/sda/ro/dev ]
+ [ -e /sys/block/sda/size/dev ]
+ [ -e /sys/block/sda/slaves/dev ]
+ [ -e /sys/block/sda/stat/dev ]
+ [ -e /sys/block/sda/subsystem/dev ]
+ [ -e /sys/block/sda/trace/dev ]
+ [ -e /sys/block/sda/uevent/dev ]
+ echo /sys/block/sda
+ check_dev /sys/block/sda
+ sysd...

Revision history for this message
sean bridges (sean-bridges) wrote :

Is this bug still incomplete? Let me know if you need something else.

Revision history for this message
sean bridges (sean-bridges) wrote :

Is this bug still incomplete? Let me know if you need something else.

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

I believe this is *not* a dupe of 595321 - bug 595321 has a Silicon Image controller, this is something else:

01:00.0 IDE interface: Device 1b4b:91a3 (rev 11)

This is possibly a Marvell RAID chip (according to alex88 on #ubuntu+1 who appears to be hitting the same thing)

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

This looks like a driver problem to me.
Sean; this board looks like it has two IDE controllers, an Intel one and another one (a RAID one of some type - Marvell?)
If you know, can you confirm which one the drive is plugged into? My guess is it's plugged into the RAID and if you plug it into the other one it might work.

Failing that, if there is an option in the BIOS for AHCI then that might help it work (but don't bet on what it will do to Windows).

Dave

affects: mountall (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Alessandro Tagliapietra (tagliapietra.alessandro) wrote :

As requested by Dave i attach dmesg in ubuntu 10.10 in both raid and ahci settings.

AHCI setting now

Revision history for this message
Alessandro Tagliapietra (tagliapietra.alessandro) wrote :

RAID settings

Revision history for this message
Alessandro Tagliapietra (tagliapietra.alessandro) wrote :

Attaching also dmesg in 11.04 in AHCI

Revision history for this message
Alessandro Tagliapietra (tagliapietra.alessandro) wrote :

RAID version on 11.04 too

Revision history for this message
Alessandro Tagliapietra (tagliapietra.alessandro) wrote :

@Dave you're right, the motherboard (Asus P6X58D-E) has 2 controllers, the "Intel Matrix Storage Technology" that supports raid for sata-2 drives, (in the logs i've uploaded just a dvd drive is on those 6 ports) and a Marvell® 9128 PCIe SATA 6Gb/s controller (that has connected the 2 sata-6 western digital drives in raid-0.

The BIOS has 3 options for raid in the main page (i think affects only the sata-2 drives because they're near the list of sata-2 drives, the only reference of sata-6 drives are in the boot order option) IDE, RAID and AHCI. Windows boots in all 3 modes, and ubuntu don't see drives in any mode.

The marvell screen loads after the bios and it detects hdd and you can setup raid, but there aren't any other options.

Revision history for this message
Alessandro Tagliapietra (tagliapietra.alessandro) wrote :

Sorry for another post but there is no option to edit comments, as written before in the boot order option the bios see the raid as "IDE: Marvell controller raid" so i think it's not seen by the bios as raid or disk, just an ide device.

Changed in linux (Ubuntu):
status: New → Confirmed
status: Confirmed → New
Revision history for this message
Alessandro Tagliapietra (tagliapietra.alessandro) wrote :

Info added as requested

Changed in ubiquity:
status: Incomplete → New
tags: added: kernel-bug
Revision history for this message
Alessandro Tagliapietra (tagliapietra.alessandro) wrote :

I've asked to the sata developer at kernel.org and he given me this patch.
I'm rebuilding kernel and i'll tell you if this works.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Alessandro Tagliapietra (tagliapietra.alessandro) wrote :

Patch supplied by Tejun Heo from <email address hidden>

Revision history for this message
lulo (lulojs11) wrote :
Download full text (3.9 KiB)

Likwise identical bug for mainboard MSI-7612 (NF980-G65) and external Marvell Raid Controler (MSI-Star USB3/SATA6) - ubuntu 10.04, 10.10, 11.04,...any ubuntu :

[code]08:00.0 IDE interface: Marvell Technology Group Ltd. Device 91a3 (rev 11)[/code]

or

[code]07:09.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba) (prog-if 00 [Normal decode])
 Flags: bus master, fast devsel, latency 0
 Bus: primary=07, secondary=0b, subordinate=0b, sec-latency=0
 Capabilities: [40] Power Management version 3
 Capabilities: [48] MSI: Enable+ Count=1/4 Maskable+ 64bit+
 Capabilities: [68] Express Downstream Port (Slot+), MSI 00
 Capabilities: [a4] Subsystem: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch
 Capabilities: [100] Device Serial Number ba-86-01-10-b5-df-0e-00
 Capabilities: [fb4] Advanced Error Reporting
 Capabilities: [148] Virtual Channel
 Capabilities: [520] Access Control Services
 Capabilities: [950] Vendor Specific Information: ID=0001 Rev=0 Len=010 <?>
 Kernel driver in use: pcieport
 Kernel modules: shpchp

08:00.0 IDE interface: Marvell Technology Group Ltd. Device 91a3 (rev 11) (prog-if 8f [Master SecP SecO PriP PriO])
 Subsystem: Micro-Star International Co., Ltd. Device 4256
 Flags: fast devsel, IRQ 19
 I/O ports at ec00 [size=8]
 I/O ports at e880 [size=4]
 I/O ports at e800 [size=8]
 I/O ports at e480 [size=4]
 I/O ports at e400 [size=16]
 Memory at fdeff800 (32-bit, non-prefetchable) [size=2K]
 Expansion ROM at fdee0000 [disabled] [size=64K]
 Capabilities: [40] Power Management version 3
 Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
 Capabilities: [70] Express Legacy Endpoint, MSI 00
 Capabilities: [100] Advanced Error Reporting

09:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03) (prog-if 30)
 Subsystem: Micro-Star International Co., Ltd. Device 4256
 Flags: bus master, fast devsel, latency 0, IRQ 19
 Memory at fdffe000 (64-bit, non-prefetchable) [size=8K]
 Capabilities: [50] Power Management version 3
 Capabilities: [70] MSI: Enable- Count=1/8 Maskable- 64bit+
 Capabilities: [90] MSI-X: Enable- Count=8 Masked-
 Capabilities: [a0] Express Endpoint, MSI 00
 Capabilities: [100] Advanced Error Reporting
 Capabilities: [140] Device Serial Number ff-ff-ff-ff-ff-ff-ff-ff
 Capabilities: [150] #18
 Kernel driver in use: xhci_hcd
 Kernel modules: xhci-hcd[/code]

no disk detected 1 TB WD1002FAEX (or any disk sata-2)
Bios external Marvell controler not manipulate for IDE,AHCI,RAID
Bios Mainboard only for SATA 2 manipulate IDE,RAID,AHCI

dmesg - kernel only find usb:
[code]...
[ 0.900726] pata_acpi 0000:08:00.0: PCI INT A -> Link[LN0A] -> GSI 19 (level, low) -> IRQ 19
[ 0.900748] pata_acpi 0000:08:00.0: setting latency timer to 64
[ 0.900759] pata_acpi 0000:08:00.0: PCI INT A disabled
...
[ 10.454221] xhci_hcd 0000:09:00.0: PCI INT A -> Link[LN0A] -> GSI 19 (level, low) -> IRQ 19
[ 10.454249] xhci_hcd 0000:09:00.0: setting latency timer to 64
[ 10.454252] xhci_hcd 0000:09:00.0: xHCI Host Controller
[ 10.454311] xhci_hcd 0000:09:00.0: new USB bus registered, assigned bus number 5
[ 10.454452] xhci_h...

Read more...

Revision history for this message
lulo (lulojs11) wrote :

very sorry my english and post...

Revision history for this message
Alessandro Tagliapietra (tagliapietra.alessandro) wrote :

That patch is only for the mainline kernel 2.6.37-rc3. I've downloaded it from kernel.org and compile was fine.
You need also to check prerequisite for building it.

Revision history for this message
lulo (lulojs11) wrote :

howto add this patch for ubuntu 10.10 (2.6.35-23-generic) ... ? ...or kernell mainline 2.6.37-maverick...or any ubuntu stable...?

Revision history for this message
lulo (lulojs11) wrote :

...any path for marvell 9128 for ubuntu stable...

Revision history for this message
Alessandro Tagliapietra (tagliapietra.alessandro) wrote :

None that i've found working. I've used the lastest kernel and it worked. Use that. It's more simple that you think.

Revision history for this message
Alessandro Tagliapietra (tagliapietra.alessandro) wrote :

Sorry, i was wrong, kernel compiled fine also with 2.6.36.1 stable.
But i've downloaded that also from kernel.org so dunno if ubuntu version works too.
You have to check that the drivers/ata/ahci.c file already contains:

PCI_DEVICE(0x1b4b, 0x9123), .driver_data = board_ahci_yes_fbs }, /* 88se9128 */

because older version without that string don't have the board_ahci_yes_fbs declared.

Changed in linux (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
lulo (lulojs11) wrote :
Download full text (6.7 KiB)

download linux-2.6.35-rc3 from kernel.org...ok...compilation kernel...use kernel-package and config-2.6.35.-23-generic...ok...succes...starting in use 6 Gb/s (Sata 3) WD 1TBFAEX and external controler marvell 9128 (controler only one manipulate...only IDE)...and...

dmesg (...) :

...
[ 1.389553] pata_acpi 0000:08:00.0: PCI INT A -> Link[LN0A] -> GSI 19 (level, low) -> IRQ 19
[ 1.389574] pata_acpi 0000:08:00.0: setting latency timer to 64
[ 1.389584] pata_acpi 0000:08:00.0: PCI INT A disabled
...
[ 1.951122] ahci 0000:00:09.0: version 3.0
[ 1.951278] ACPI: PCI Interrupt Link [LSA0] enabled at IRQ 22
[ 1.951281] ahci 0000:00:09.0: PCI INT A -> Link[LSA0] -> GSI 22 (level, low) -> IRQ 22
[ 1.951314] ahci 0000:00:09.0: irq 48 for MSI/MSI-X
[ 1.951319] ahci 0000:00:09.0: controller can't do PMP, turning off CAP_PMP
[ 1.951358] ahci 0000:00:09.0: AHCI 0001.0200 32 slots 6 ports 3 Gbps 0x3f impl SATA mode
[ 1.951361] ahci 0000:00:09.0: flags: 64bit ncq sntf led clo pio sxs boh
[ 1.951363] ahci 0000:00:09.0: setting latency timer to 64
[ 1.951933] scsi0 : ahci
[ 1.952009] scsi1 : ahci
[ 1.952049] scsi2 : ahci
[ 1.952090] scsi3 : ahci
[ 1.952131] scsi4 : ahci
[ 1.952172] scsi5 : ahci
[ 1.952252] ata1: SATA max UDMA/133 abar m8192@0xf9e76000 port 0xf9e76100 irq 48
[ 1.952254] ata2: SATA max UDMA/133 abar m8192@0xf9e76000 port 0xf9e76180 irq 48
[ 1.952256] ata3: SATA max UDMA/133 abar m8192@0xf9e76000 port 0xf9e76200 irq 48
[ 1.952258] ata4: SATA max UDMA/133 abar m8192@0xf9e76000 port 0xf9e76280 irq 48
[ 1.952259] ata5: SATA max UDMA/133 abar m8192@0xf9e76000 port 0xf9e76300 irq 48
[ 1.952261] ata6: SATA max UDMA/133 abar m8192@0xf9e76000 port 0xf9e76380 irq 48
[ 1.952342] ahci 0000:08:00.0: PCI INT A -> Link[LN0A] -> GSI 19 (level, low) -> IRQ 19
[ 1.952380] ahci 0000:08:00.0: irq 49 for MSI/MSI-X
[ 1.952393] ahci 0000:08:00.0: controller can do FBS, turning on CAP_FBS
[ 1.970086] ahci 0000:08:00.0: AHCI 0001.0200 32 slots 8 ports 6 Gbps 0xff impl IDE mode
[ 1.970088] ahci 0000:08:00.0: flags: 64bit ncq fbs pio
[ 1.970094] ahci 0000:08:00.0: setting latency timer to 64
[ 1.970885] scsi6 : ahci
[ 1.970933] scsi7 : ahci
[ 1.970978] scsi8 : ahci
[ 1.971022] scsi9 : ahci
[ 1.971066] scsi10 : ahci
[ 1.971109] scsi11 : ahci
[ 1.971155] scsi12 : ahci
[ 1.971199] scsi13 : ahci
[ 1.971231] ata7: SATA max UDMA/133 abar m2048@0xfdeff800 port 0xfdeff900 irq 49
[ 1.971234] ata8: SATA max UDMA/133 abar m2048@0xfdeff800 port 0xfdeff980 irq 49
[ 1.971236] ata9: SATA max UDMA/133 abar m2048@0xfdeff800 port 0xfdeffa00 irq 49
[ 1.971239] ata10: SATA max UDMA/133 abar m2048@0xfdeff800 port 0xfdeffa80 irq 49
[ 1.971241] ata11: SATA max UDMA/133 abar m2048@0xfdeff800 port 0xfdeffb00 irq 49
[ 1.971244] ata12: SATA max UDMA/133 abar m2048@0xfdeff800 port 0xfdeffb80 irq 49
[ 1.971246] ata13: SATA max UDMA/133 abar m2048@0xfdeff800 port 0xfdeffc00 irq 49
[ 1.971249] ata14: SATA max UDMA/133 abar m2048@0xfdeff800 port 0xfdeffc80 irq 49
[ 2.110030] usb 4-1: new low speed USB device using ohci_hcd and address 2
[ 2.300036] ata6: SATA link...

Read more...

Revision history for this message
lulo (lulojs11) wrote :

sorry - kernel.org => kernel => *2.6.37-rc3

Revision history for this message
Alessandro Tagliapietra (tagliapietra.alessandro) wrote :

I haven't understood what you're trying to say.
Does the patch works? Can you see the hdd attached to the sata-6 port?

I've the asus p6x58d-e motherboard, set sata mode in ahci. Applied patch and ubuntu can see the hdd.
I haven't tested performance but it depends of file system, position of what you're accessing on the disk ecc.

Also, in your dmesg it says "SATA link up 6.0 Gbps" so it's correctly seen at sata-6.
The patch is to use the same driver for the 9128 with different id. So it's for the right model just with another id.

Bytheway, performances will probably inspected with another patch. This is just to make hdd recognized as the bug is talking about.

Revision history for this message
lulo (lulojs11) wrote :

quito so...preparation for all & any controler marvell 9128...any external and internal...exactly...for exnternal conroler marvell 9128 this patch no workinkg perfect and all mode IDE,AHCI,SATA ... only IDE...

Revision history for this message
lulo (lulojs11) wrote :

...for MSI STAR-USB3/SATA6

Revision history for this message
Alessandro Tagliapietra (tagliapietra.alessandro) wrote :

External? Put lspci -nn and write here the marvell id.
I'm testing with internal, with ahci.

Revision history for this message
lulo (lulojs11) wrote :
Download full text (3.8 KiB)

00:00.0 RAM memory [0500]: nVidia Corporation MCP78S [GeForce 8200] Memory Controller [10de:0754] (rev a2)
00:01.0 ISA bridge [0601]: nVidia Corporation MCP78S [GeForce 8200] LPC Bridge [10de:075d] (rev a2)
00:01.1 SMBus [0c05]: nVidia Corporation MCP78S [GeForce 8200] SMBus [10de:0752] (rev a1)
00:01.2 RAM memory [0500]: nVidia Corporation MCP78S [GeForce 8200] Memory Controller [10de:0751] (rev a1)
00:01.3 Co-processor [0b40]: nVidia Corporation MCP78S [GeForce 8200] Co-Processor [10de:0753] (rev a2)
00:01.4 RAM memory [0500]: nVidia Corporation MCP78S [GeForce 8200] Memory Controller [10de:0568] (rev a1)
00:02.0 USB Controller [0c03]: nVidia Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller [10de:077b] (rev a1)
00:02.1 USB Controller [0c03]: nVidia Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller [10de:077c] (rev a1)
00:04.0 USB Controller [0c03]: nVidia Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller [10de:077d] (rev a1)
00:04.1 USB Controller [0c03]: nVidia Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller [10de:077e] (rev a1)
00:07.0 Audio device [0403]: nVidia Corporation MCP72XE/MCP72P/MCP78U/MCP78S High Definition Audio [10de:0774] (rev a1)
00:08.0 PCI bridge [0604]: nVidia Corporation MCP78S [GeForce 8200] PCI Bridge [10de:075a] (rev a1)
00:09.0 SATA controller [0106]: nVidia Corporation MCP78S [GeForce 8200] AHCI Controller [10de:0ad4] (rev a2)
00:0a.0 Ethernet controller [0200]: nVidia Corporation MCP77 Ethernet [10de:0760] (rev a2)
00:10.0 PCI bridge [0604]: nVidia Corporation MCP78S [GeForce 8200] PCI Express Bridge [10de:0778] (rev a1)
00:13.0 PCI bridge [0604]: nVidia Corporation MCP78S [GeForce 8200] PCI Bridge [10de:077a] (rev a1)
00:14.0 PCI bridge [0604]: nVidia Corporation MCP78S [GeForce 8200] PCI Bridge [10de:077a] (rev a1)
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration [1022:1200]
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor Address Map [1022:1201]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller [1022:1202]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control [1022:1203]
00:18.4 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor Link Control [1022:1204]
01:09.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller [1106:3044] (rev c0)
02:00.0 PCI bridge [0604]: nVidia Corporation NF200 PCIe 2.0 switch for mainboards [10de:05b1] (rev a2)
03:00.0 PCI bridge [0604]: nVidia Corporation NF200 PCIe 2.0 switch for mainboards [10de:05b1] (rev a2)
03:02.0 PCI bridge [0604]: nVidia Corporation NF200 PCIe 2.0 switch for mainboards [10de:05b1] (rev a2)
03:03.0 PCI bridge [0604]: nVidia Corporation NF200 PCIe 2.0 switch for mainboards [10de:05b1] (rev a2)
04:00.0 VGA compatible controller [0300]: nVidia Corporation GT200 [GeForce GTX 260] [10de:05e2] (rev a1)
06:00.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch [10b5:8608] (rev ba)
07:01.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8608 8-lane,...

Read more...

Revision history for this message
lulo (lulojs11) wrote :

is workingg ... not perfect ...

Revision history for this message
lulo (lulojs11) wrote :

sorry...my english is very bad...:D

Revision history for this message
lulo (lulojs11) wrote :

and lspci -vv for only this external card:

...
08:00.0 IDE interface: Marvell Technology Group Ltd. Device 91a3 (rev 11) (prog-if 8f [Master SecP SecO PriP PriO])
 Subsystem: Micro-Star International Co., Ltd. Device 4256
 Flags: bus master, fast devsel, latency 0, IRQ 49
 I/O ports at ec00 [size=8]
 I/O ports at e880 [size=4]
 I/O ports at e800 [size=8]
 I/O ports at e480 [size=4]
 I/O ports at e400 [size=16]
 Memory at fdeff800 (32-bit, non-prefetchable) [size=2K]
 Expansion ROM at fdee0000 [disabled] [size=64K]
 Capabilities: [40] Power Management version 3
 Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit-
 Capabilities: [70] Express Legacy Endpoint, MSI 00
 Capabilities: [100] Advanced Error Reporting
 Kernel driver in use: ahci
 Kernel modules: ahci

09:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03) (prog-if 30)
 Subsystem: Micro-Star International Co., Ltd. Device 4256
 Flags: bus master, fast devsel, latency 0, IRQ 19
 Memory at fdffe000 (64-bit, non-prefetchable) [size=8K]
 Capabilities: [50] Power Management version 3
 Capabilities: [70] MSI: Enable- Count=1/8 Maskable- 64bit+
 Capabilities: [90] MSI-X: Enable+ Count=8 Masked-
 Capabilities: [a0] Express Endpoint, MSI 00
 Capabilities: [100] Advanced Error Reporting
 Capabilities: [140] Device Serial Number ff-ff-ff-ff-ff-ff-ff-ff
 Capabilities: [150] #18
 Kernel driver in use: xhci_hcd
 Kernel modules: xhci-hcd

Revision history for this message
lulo (lulojs11) wrote :

sory...with only marvell 9128 lspci -vv:

08:00.0 IDE interface: Marvell Technology Group Ltd. Device 91a3 (rev 11) (prog-if 8f [Master SecP SecO PriP PriO])
 Subsystem: Micro-Star International Co., Ltd. Device 4256
 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: 64 bytes
 Interrupt: pin A routed to IRQ 49
 Region 0: I/O ports at ec00 [size=8]
 Region 1: I/O ports at e880 [size=4]
 Region 2: I/O ports at e800 [size=8]
 Region 3: I/O ports at e480 [size=4]
 Region 4: I/O ports at e400 [size=16]
 Region 5: Memory at fdeff800 (32-bit, non-prefetchable) [size=2K]
 Expansion ROM at fdee0000 [disabled] [size=64K]
 Capabilities: [40] Power Management version 3
  Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
  Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
 Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit-
  Address: fee0400c Data: 41c1
 Capabilities: [70] Express (v2) Legacy Endpoint, MSI 00
  DevCap: MaxPayload 512 bytes, PhantFunc 0, Latency L0s <1us, L1 <8us
   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 5GT/s, Width x1, ASPM L0s L1, Latency L0 <512ns, L1 <64us
   ClockPM- Surprise- LLActRep- BwNot-
  LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
   ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
  LnkSta: Speed 5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
  DevCap2: Completion Timeout: Not Supported, TimeoutDis+
  DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
  LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-, Selectable De-emphasis: -6dB
    Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
    Compliance De-emphasis: -6dB
  LnkSta2: Current De-emphasis Level: -6dB
 Capabilities: [100 v1] Advanced Error Reporting
  UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
  UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
  UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
  CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
  CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
  AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
 Kernel driver in use: ahci
 Kernel modules: ahci

Revision history for this message
Alessandro Tagliapietra (tagliapietra.alessandro) wrote :

i wrote -nn

Revision history for this message
lulo (lulojs11) wrote :

ok...sorry... :D:
lspci -nn
...
08:00.0 IDE interface [0101]: Marvell Technology Group Ltd. Device [1b4b:91a3] (rev 11)
...

Andy Whitcroft (apw)
summary: - In Live session or installation HD not recognized
+ [Marvell 9128 PCIe SATA] In Live session or installation HD not
+ recognized
tags: added: patch
Revision history for this message
Andy Whitcroft (apw) wrote :

I have pulled back the patch as proposed by upstream and applied it to the Natty kernel for testing. Please could someone with the hardware test the kernels at the URL below and report back here:

    http://people.canonical.com/~apw/lp658521-natty/

Thanks.

Changed in linux (Ubuntu):
importance: Undecided → Medium
assignee: nobody → Andy Whitcroft (apw)
Revision history for this message
Alessandro Tagliapietra (tagliapietra.alessandro) wrote :

Should i test it on Natty or can i try anyway on maverick?

Revision history for this message
lulo (lulojs11) wrote :

I'am testing for Natty and Maverick (compiled for kernel.org+patch)...working...

Revision history for this message
lulo (lulojs11) wrote :

I'am testing for Natty from http://people.canonical.com/~apw/lp658521-natty/ ( amd64)...working...

Revision history for this message
lulo (lulojs11) wrote :

wrking...

hdparm -I /dev/sdb

/dev/sdb:

ATA device, with non-removable media
 Model Number: WDC WD1002FAEX-00Z3A0
 Serial Number: WD-WCATR3253916
 Firmware Revision: 05.01D05
 Transport: Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6
Standards:
 Supported: 8 7 6 5
 Likely used: 8
Configuration:
 Logical max current
 cylinders 16383 16383
 heads 16 16
 sectors/track 63 63
 --
 CHS current addressable sectors: 16514064
 LBA user addressable sectors: 268435455
 LBA48 user addressable sectors: 1953525168
 Logical/Physical Sector size: 512 bytes
 device size with M = 1024*1024: 953869 MBytes
 device size with M = 1000*1000: 1000204 MBytes (1000 GB)
 cache/buffer size = unknown
Capabilities:
 LBA, IORDY(can be disabled)
 Queue depth: 32
 Standby timer values: spec'd by Standard, with device specific minimum
 R/W multiple sector transfer: Max = 16 Current = 0
 Recommended acoustic management value: 128, current value: 254
 DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
      Cycle time: min=120ns recommended=120ns
 PIO: pio0 pio1 pio2 pio3 pio4
      Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
 Enabled Supported:
    * SMART feature set
      Security Mode feature set
    * Power Management feature set
    * Write cache
    * Look-ahead
    * Host Protected Area feature set
    * WRITE_BUFFER command
    * READ_BUFFER command
    * NOP cmd
    * DOWNLOAD_MICROCODE
      Power-Up In Standby feature set
    * SET_FEATURES required to spinup after power up
      SET_MAX security extension
      Automatic Acoustic Management feature set
    * 48-bit Address feature set
    * Device Configuration Overlay feature set
    * Mandatory FLUSH_CACHE
    * FLUSH_CACHE_EXT
    * SMART error logging
    * SMART self-test
    * General Purpose Logging feature set
    * 64-bit World wide name
    * {READ,WRITE}_DMA_EXT_GPL commands
    * Segmented DOWNLOAD_MICROCODE
    * Gen1 signaling speed (1.5Gb/s)
    * Gen2 signaling speed (3.0Gb/s)
    * Gen3 signaling speed (6.0Gb/s)
    * Native Command Queueing (NCQ)
    * Host-initiated interface power management
    * Phy event counters
    * NCQ priority information
    * DMA Setup Auto-Activate optimization
    * Software settings preservation
    * SMART Command Transport (SCT) feature set
    * SCT Long Sector Access (AC1)
    * SCT LBA Segment Access (AC2)
    * SCT Features Control (AC4)
    * SCT Data Tables (AC5)
      unknown 206[12] (vendor specific)
      unknown 206[13] (vendor specific)
Security:
 Master password revision code = 65534
  supported
 not enabled
 not locked
 not frozen
 not expired: security count
  supported: enhanced erase
 178min for SECURITY ERASE UNIT. 178min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 50014ee25a463ff1
 NAA : 5
 IEEE OUI : 0014ee
 Unique ID : 25a463ff1
Checksum: correct

hmm... (hehe):

hdparm -Tt /dev/sdb

/dev/sdb:
 Timing cached reads: 7444 MB in 2.00 seconds = 3723.03 MB/sec
 Timing buffered disk reads: 162 MB in 3.01 seconds = 53.90 MB/sec

Revision history for this message
Alessandro Tagliapietra (tagliapietra.alessandro) wrote :

Yeah kernel you've given us worked fine for me.
If you want more info for debug just ask.

Regards

Andy Whitcroft (apw)
Changed in ubiquity:
status: New → Invalid
Changed in linux (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Alessandro Tagliapietra (tagliapietra.alessandro) wrote :

Thank you. What about the time of release into natty daily build?

Revision history for this message
Andy Whitcroft (apw) wrote :

That won't hit natty dailies until after the Alpha-1 freeze is lifted.

Revision history for this message
lulo (lulojs11) wrote :

Ubuntu Alpha-1...this patch...not applied

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 2.6.37-8.20

---------------
linux (2.6.37-8.20) natty; urgency=low

  [ Andy Whitcroft ]

  * Revert "[Upstream] drivers/serial/mfd.c: Fix ARM compile error"
  * Revert "SAUCE: Nouveau: Disable acceleration on MacBook Pros"
  * Revert "SAUCE: Nouveau: Add quirk framework to disable acceleration"
  * Revert "SAUCE: i915 -- disable powersave by default"
  * SAUCE: enable Marvell 9128 PCIe SATA controller
    - LP: #658521
  * [Config] evtchn has been renamed
  * (no-up) add support for installed header files to ubuntu directory
    - LP: #684666
  * ubuntu: AUFS -- include the aufs_types.h file in linux-libc-headers
    - LP: #684666

  [ Tim Gardner ]

  * [Config] MISS: evtchn, NEW : xen-evtchn
  * rebase to v2.6.37-rc4

  [ Upstream Kernel Changes ]

  * drm/i915: Clean conflicting modesetting registers upon init
    - LP: #683775
  * rebase to v2.6.37-rc4
 -- Andy Whitcroft <email address hidden> Fri, 03 Dec 2010 18:42:07 +0000

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
sam lolomarx (jovemark) wrote :

In the latest natty alpha 3 , I can see the HD partitions on live CD. But fail on allocate drive space. It show nothing on this step. when i press forward button , it show error message "no root file system is defined".

Attachment is the screen dump.
My mainboad is GA-880G-UD3H which use Marvell 9128.CPU is AMD X4 640.

Any suggestions ?

Many Thanks.

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Hi Sam,
  It's probably best to report it as a separate bug for your installation.
It's worth including a copy of /proc/partitions to see what discs are actually seen, a dmesg output and the output of lspci -v
However if you use ubuntu-bug to file a bug against linux I think it will add all that for you.

Dave

Revision history for this message
sam lolomarx (jovemark) wrote :

Thx , I had reported it as bug named #730376

Revision history for this message
Peter Silva (peter-bsqt) wrote :

I have a similar card, a Highpoint Rocket Raid 622, with no drivers for natty. on lspci it shows up as:

 02:00.1 IDE interface: Marvell Technology Group Ltd. Device 91a4 (rev 11)

I created a copy/paste patch from Allessandro's and am building a kernel. should this be a separate bug report?

Revision history for this message
Peter Silva (peter-bsqt) wrote :

my patch made no difference... ideas welcome:

02:00.0 RAID bus controller: HighPoint Technologies, Inc. Device 0622 (rev 01)
02:00.1 IDE interface: Marvell Technology Group Ltd. Device 91a4 (rev 11)

There are two HDD's connected to this, that I cannot see.

Revision history for this message
Cali (carlos-monterrubio) wrote :

I've the the same problem...

The PCIe adapter has 2 IDE HDD's connected and both aren't recognised...

 lspci -nn
***********
02:00.0 SATA controller [0106]: Marvell Technology Group Ltd. 88SE9123 PCIe SATA 6.0 Gb/s controller [1b4b:9123] (rev 11)
02:00.1 IDE interface [0101]: Marvell Technology Group Ltd. Device [1b4b:91a4] (rev 11)

 lspci -vk
***********
02:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9123 PCIe SATA 6.0 Gb/s controller (rev 11) (prog-if 01 [AHCI 1.0])
 Subsystem: Marvell Technology Group Ltd. 88SE9123 PCIe SATA 6.0 Gb/s controller
 Flags: bus master, fast devsel, latency 0, IRQ 78
 I/O ports at d090 [size=8]
 I/O ports at d080 [size=4]
 I/O ports at d070 [size=8]
 I/O ports at d060 [size=4]
 I/O ports at d050 [size=16]
 Memory at fe921000 (32-bit, non-prefetchable) [size=2K]
 Expansion ROM at fe910000 [disabled] [size=64K]
 Capabilities: <access denied>
 Kernel driver in use: ahci
 Kernel modules: ahci

02:00.1 IDE interface: Marvell Technology Group Ltd. Device 91a4 (rev 11) (prog-if 8f [Master SecP SecO PriP PriO])
 Subsystem: Marvell Technology Group Ltd. Device 91a4
 Flags: fast devsel, IRQ 29
 I/O ports at d040 [size=8]
 I/O ports at d030 [size=4]
 I/O ports at d020 [size=8]
 I/O ports at d010 [size=4]
 I/O ports at d000 [size=16]
 Memory at fe920000 (32-bit, non-prefetchable) [size=16]
 Expansion ROM at fe900000 [disabled] [size=64K]
 Capabilities: <access denied>

Revision history for this message
Peter Silva (peter-bsqt) wrote :

I have upgrded to oneiric. The controller is recongized and working with 2.6.38 from natty, but 3.0.0 from oneiric sees no drives. I also tried upstream kernel 3.1 a few weeks ago and no drives there either. I opened this corresponding bug @ kernel.org, but it's down...

https://bugzilla.kernel.org/show_bug.cgi?id=34762

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

What's the right thing to do here? Reopen this? Or can we reopen it just for oneiric - given that it looks like a patch got dropped then how do we ensure it works in Precise?

Revision history for this message
vale (monovale) wrote :

 I am running Ubuntu 11.10 32-bit generic and it works for me just fine, though I have only DVD-burner connected.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.