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]
Message-ID: <48A0D583.6030405@shaw.ca>
Date:	Mon, 11 Aug 2008 18:12:51 -0600
From:	Robert Hancock <hancockr@...w.ca>
To:	Kumar Gala <galak@...nel.crashing.org>
CC:	linux-ide <linux-ide@...r.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: issues with sata hotplug?

Kumar Gala wrote:
> I've got a system with a nvidia chipset running fedora 9 (2.6.25.11)
> 
> 00:05.0 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a3) 
> (prog-if 85 [Master SecO PriO])
>     Subsystem: Sun Microsystems Computer Corp. Unknown device 534d
>     Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
>     I/O ports at 34c0 [size=8]
>     I/O ports at 34b4 [size=4]
>     I/O ports at 34b8 [size=8]
>     I/O ports at 34b0 [size=4]
>     I/O ports at 3490 [size=16]
>     Memory at d0006000 (32-bit, non-prefetchable) [size=4K]
>     Capabilities: [44] Power Management version 2
>     Capabilities: [b0] Message Signalled Interrupts: Mask- 64bit+ 
> Queue=0/2 Enable-
>     Capabilities: [cc] HyperTransport: MSI Mapping Enable+ Fixed+
>     Kernel driver in use: sata_nv
>     Kernel modules: ata_generic, sata_nv, pata_acpi
> 
> 00:05.1 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a3) 
> (prog-if 85 [Master SecO PriO])
>     Subsystem: Sun Microsystems Computer Corp. Unknown device 534d
>     Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
>     I/O ports at 34d8 [size=8]
>     I/O ports at 34cc [size=4]
>     I/O ports at 34d0 [size=8]
>     I/O ports at 34c8 [size=4]
>     I/O ports at 34a0 [size=16]
>     Memory at d0007000 (32-bit, non-prefetchable) [size=4K]
>     Capabilities: [44] Power Management version 2
>     Capabilities: [b0] Message Signalled Interrupts: Mask- 64bit+ 
> Queue=0/2 Enable-
>     Capabilities: [cc] HyperTransport: MSI Mapping Enable+ Fixed+
>     Kernel driver in use: sata_nv
>     Kernel modules: ata_generic, sata_nv, pata_acpi
> 
> I've connected a SATA to eSATA adapter on an internal port and connected 
> the eSATA port to a Thermaltake docking station:
> 
> http://www.thermaltakeusa.com/Product.aspx?C=1346&ID=1731
> 
> When I "eject" the drive I see no dmesg output related to hotplug.  I 
> also don't see anything when I plug a drive in.
> 
> scsi0 : sata_nv
> scsi1 : sata_nv
> ata1: SATA max UDMA/133 cmd 0x34c0 ctl 0x34b4 bmdma 0x3490 irq 21
> ata2: SATA max UDMA/133 cmd 0x34b8 ctl 0x34b0 bmdma 0x3498 irq 21
> ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> ata1.00: ATA-7: HITACHI HDS7225SCSUN250G 0721BA6TRD, V5DOA7BA, max UDMA/133
> ata1.00: 488390625 sectors, multi 16: LBA48 NCQ (depth 0/32)
> ata1.00: configured for UDMA/133
> ata2: SATA link down (SStatus 0 SControl 300)
> scsi 0:0:0:0: Direct-Access     ATA      HITACHI HDS7225S V5DO PQ: 0 
> ANSI: 5
> sd 0:0:0:0: [sda] 488390625 512-byte hardware sectors (250056 MB)
> sd 0:0:0:0: [sda] Write Protect is off
> sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
> sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't 
> support DPO or FUA
> sd 0:0:0:0: [sda] 488390625 512-byte hardware sectors (250056 MB)
> sd 0:0:0:0: [sda] Write Protect is off
> sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
> sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't 
> support DPO or FUA
>  sda: sda1 sda2 sda3
> sd 0:0:0:0: [sda] Attached SCSI disk
> ACPI: PCI Interrupt 0000:00:05.1[B] -> Link [LSI1] -> GSI 20 (level, 
> low) -> IRQ 20
> PCI: Setting latency timer of device 0000:00:05.1 to 64
> scsi2 : sata_nv
> scsi3 : sata_nv
> ata3: SATA max UDMA/133 cmd 0x34d8 ctl 0x34cc bmdma 0x34a0 irq 20
> ata4: SATA max UDMA/133 cmd 0x34d0 ctl 0x34c8 bmdma 0x34a8 irq 20
> ata3: SATA link down (SStatus 0 SControl 300)
> ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> ata4.00: ATA-7: ST3808110AS, 3.AAE, max UDMA/133
> ata4.00: 156301488 sectors, multi 16: LBA48 NCQ (depth 0/32)
> ata4.00: configured for UDMA/133
> scsi 3:0:0:0: Direct-Access     ATA      ST3808110AS      3.AA PQ: 0 
> ANSI: 5
> sd 3:0:0:0: [sdb] 156301488 512-byte hardware sectors (80026 MB)
> sd 3:0:0:0: [sdb] Write Protect is off
> sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
> sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't 
> support DPO or FUA
> sd 3:0:0:0: [sdb] 156301488 512-byte hardware sectors (80026 MB)
> sd 3:0:0:0: [sdb] Write Protect is off
> sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
> sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't 
> support DPO or FUA
>  sdb: sdb1 sdb2 sdb3 sdb4
> sd 3:0:0:0: [sdb] Attached SCSI disk
> kjournald starting.  Commit interval 5 seconds
> 
> Is there something I'm doing wrong w/regards to SATA hotplug support?

No, it "should" work.. Is that drive working at all, i.e. does it detect 
it if you boot up with it plugged in? Does the BIOS detect it?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ