Opened 13 years ago

Closed 13 years ago

#476 closed defect (fixed)

Kernel module "libahci" not loaded with a newer SATA controller

Reported by: Manuel Carreira Silva Owned by: Bruno Cornec
Priority: normal Milestone: 2.2.9.6
Component: mindi Version: 2.2.9.5
Severity: normal Keywords: libahci sata cdrom
Cc:

Description

When booting from a mindi cd in a HP Pavilion DV8 laptop, the CDROM is not found, and breaks everything.
The reason is that "libahci" kernel module is not loaded and "ahci" module depends on this one.
So, after FORCE_MODS="libahci" the problem is solved.
But... I looked for mindi logs in other computers with SATA disks, and the "libahci" module was loaded automatically without beeing forced.
Why is this happening with this computer?
A SATA disk is not a rare piece of hardware that we must force to load the driver.
If this is a new SATA controller, maybe other new computers will be build with this hardware.

My question is:

Wouldn't it be better to include "libahci" driver to IDE_MODS variable in /usr/sbin/mindi?

Note:
This is SATA lspci output from HP DV8:

00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 05) (prog-if 01 [AHCI 1.0])
        Subsystem: Hewlett-Packard Company Device 7001
        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 45
        Region 0: I/O ports at 7048 [size=8]
        Region 1: I/O ports at 7054 [size=4]
        Region 2: I/O ports at 7040 [size=8]
        Region 3: I/O ports at 7050 [size=4]
        Region 4: I/O ports at 7020 [size=32]
        Region 5: Memory at db105000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
                Address: feeff00c  Data: 4181
        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
        Kernel modules: ahci

Change History (1)

comment:1 by Bruno Cornec, 13 years ago

Resolution: fixed
Status: newclosed

mindi adds libahci automatically if it's mounted at backup time, which is the case when it's a HDD, but generally not when it's a CD.

libahci was added as a dep in rev [2737]

Note: See TracTickets for help on using tickets.