[Mageia-discuss] Mageia 2 esata hotplug

Luca Olivetti luca at ventoso.org
Tue Jan 29 13:14:08 CET 2013


Hello,

I installed mageia 2 x86_64 on a dell latitude e6530.
When I plug a drive in the esata port, it isn't recognized automatically.
I have to force a rescan of the scsi bus to see the disk, i.e.

echo "- - -" > /sys/class/scsi_host/host4/scan

On my old laptop (hp elitebook 8530w), running mageia 2 (but the 32 bits
version), the disk is automatically recognized as soon as I plug it in
(though it doesn't show in kde device notifier, but is shows in dolphin).

Both use the same kernel (albeit one 64 bits, the other 32 bits),
3.4.24-desktop-3.mga2.
The sata controller is different, though it seems to me it's a different
variant of the same model (the only big difference is that on the dell
it's setup in raid mode):

on the HP
================================
00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E)
4 port SATA Controller [AHCI mode] (rev 03) (prog-if 01 [AHCI 1.0])
        Subsystem: Hewlett-Packard Company Device 30e7
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 45
        Region 0: I/O ports at 8108 [size=8]
        Region 1: I/O ports at 8114 [size=4]
        Region 2: I/O ports at 8100 [size=8]
        Region 3: I/O ports at 8110 [size=4]
        Region 4: I/O ports at 8000 [size=32]
        Region 5: Memory at 9b325000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
                Address: fee0300c  Data: 41a1
        Capabilities: [70] 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: [a8] SATA HBA v1.0 BAR4 Offset=00000004
        Capabilities: [b0] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
                AFStatus: TP-
        Kernel driver in use: ahci

on the DELL
==================================

00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA
Controller [RAID mode] (rev 04)
        Subsystem: Dell Device 0535
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin B routed to IRQ 42
        Region 0: I/O ports at f090 [size=8]
        Region 1: I/O ports at f080 [size=4]
        Region 2: I/O ports at f070 [size=8]
        Region 3: I/O ports at f060 [size=4]
        Region 4: I/O ports at f020 [size=32]
        Region 5: Memory at f7736000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
                Address: fee00358  Data: 0000
        Capabilities: [70] 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: [a8] SATA HBA v1.0 BAR4 Offset=00000004
        Capabilities: [b0] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
                AFStatus: TP-
        Kernel driver in use: ahci


What could I try to autodetect the drive plugged into the esata port?

Bye
-- 
Luca







More information about the Mageia-discuss mailing list