lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Thu, 01 May 2008 19:29:01 +0200
From:	Martin MOKREJŠ <mmokrejs@...osome.natur.cuni.cz>
To:	LKML <linux-kernel@...r.kernel.org>
Subject: 2.6.25: pata_marvell/ahci/libata regression: ata7: SATA link down
 (SStatus 0 SControl 300)

Hi,
  I have a MSI P35Neo2 based machine having 3 SATA disks on
ICH9R controller providing 6 SATA ports (IDE/RAID/AHCI modes)
and on Marvell 88SE6111 chip have ATAPI-based CompactFlash
512MB device and DVD-ROM.

  The two IDE ports of Marvell chip are supported by pata_marvell
and the devices get detected in my case under kernels 2.6.23.17
and 2.6.24.5 as ata7 and ata8:

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
scsi6 : pata_marvell
scsi7 : pata_marvell
ata7: PATA max UDMA/100 cmd 0xcc00 ctl 0xc880 bmdma 0xc400 irq 16
ata8: PATA max UDMA/133 cmd 0xc800 ctl 0xc480 bmdma 0xc408 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 
ata7.00: ATA-0: Delock 54111 512MB, Ver1.27, max UDMA/33
ata7.00: 1006992 sectors, multi 0: LBA 
ata7.01: ATAPI: ATAPI   DVD D  DH16D2P, HP57, max UDMA/33
ata7.00: configured for UDMA/33
ata7.01: configured for UDMA/33
ata7.00: configured for UDMA/33
ata7.01: configured for UDMA/33
ata7: EH complete
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 6:0:0:0: Direct-Access     ATA      Delock 54111 512 Ver1 PQ: 0 ANSI: 5
sd 6:0:0:0: [sde] 1006992 512-byte hardware sectors (516 MB)
sd 6:0:0:0: [sde] Write Protect is off
sd 6:0:0:0: [sde] Mode Sense: 00 3a 00 00
sd 6:0:0:0: [sde] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 6:0:0:0: [sde] 1006992 512-byte hardware sectors (516 MB)
sd 6:0:0:0: [sde] Write Protect is off
sd 6:0:0:0: [sde] Mode Sense: 00 3a 00 00
sd 6:0:0:0: [sde] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sde: sde1
sd 6:0:0:0: [sde] Attached SCSI disk
sd 6:0:0:0: Attached scsi generic sg4 type 0
scsi 6:0:1:0: CD-ROM            ATAPI    DVD D  DH16D2P   HP57 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 6:0:1:0: Attached scsi CD-ROM sr0
sr 6:0:1:0: Attached scsi generic sg5 type 5


  The 2.6.25 kernel does not attach the IDE devices anymore. Because
I do have a root fs on the CompactFlash disk kernel panics. I can only
provide a partial, hand-written text from the kernel messages:

ahci 0000:03.00.0: Controller can't do NCQ, turning off CAP_NCQ
ahci 0000:03.00.0: MV_AHCI HACK: port_map 7 -> 3
ahci 0000:03.00.0: AHCI 0001:0000 32 slots 3 ports 3 Gbps 0x3 impl IDE mode
ahci 0000:03.00.0: flags: 64bit stag led pmp slum part
scsi6: ahci
scsi7: ahci
scsi8: ahci
ata7: SATA max UDMA/133 abar m1024@...e9ffc00 port 0xfe9ffd00 irq 16
ata8: SATA max UDMA/133 abar m1024@...e9ffc00 port 0xfe9ffd80 irq 16
ata9: DUMMY
ata7: SATA link down (SStatus 0 SControl 300)
ata8: SATA link down (SStatus 0 SControl 300)


I will attach full dmesg output from a working 2.6.24.5 kernel. Please note
that there also used to be:
scsi6 : pata_marvell
scsi7 : pata_marvell

Please Cc: me in replies. Thanks.
Martin


00:1f.2 SATA controller: Intel Corporation 6 port SATA AHCI Controller (rev 02) (prog-if 01 [AHCI 1.0])
        Subsystem: Micro-Star International Co., Ltd. Unknown device 7345
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 378
        I/O ports at b000 [size=8]
        I/O ports at ac00 [size=4]
        I/O ports at a880 [size=8]
        I/O ports at a800 [size=4]
        I/O ports at a480 [size=32]
        Memory at fbfff000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/4 Enable+
        Capabilities: [70] Power Management version 3
        Capabilities: [a8] SATA HBA <?>
        Capabilities: [b0] Vendor Specific Information <?>
        Kernel driver in use: ahci

03:00.0 IDE interface: Marvell Technology Group Ltd. Unknown device 6121 (rev b1) (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 cc00 [size=8]
        I/O ports at c880 [size=4]
        I/O ports at c800 [size=8]
        I/O ports at c480 [size=4]
        I/O ports at c400 [size=16]
        Memory at fe9ffc00 (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


View attachment "dmesg-2.6.24.5-default" of type "text/plain" (35917 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ