IDE-Laufwerk mit "LUN 1" in 2023 nutzen: wie?

Kai 'wusel' Siering wusel+ml at uu.org
Thu Aug 24 21:29:29 CEST 2023


Moin,

am 24.08.23 um 19:44 schrieb Florian Lohoff:
>> Anyway, ich denke mit Debian Ham sollte das dann tun auf passender HW?
> 
> Es gab den alten IDE layer - hda/hdb + ATAPI bis 5.x spät ... Danach ist
> der rausgeflogen. Es war aber auch vorher so das libata präferiert
> wurde.
> Also den einfach einbauen zusätzlich wird nicht gehen ohne kernel
> params um für bestimmte controller den libata layer zu blacklisten.

4.9.x:

CONFIG_BLK_DEV_HD=y ("Very old hard disk (MFM/RLL/IDE) driver")
CONFIG_IDE=y ("ATA/ATAPI/MFM/RLL support (DEPRECATED)")
CONFIG_ATA=n ("Serial ATA and Parallel ATA drivers (libata)")

Auf der HW (ASUS M4N78 PRO) gibt's schein's keinen vom alten IDE-Treiber
unterstützten IDE-Controller; siehe andere Mail, ohne libata gibt's kein
pata_amd und da hängt das Objekt der Begierde dran (und an sata_promise,
ebenfalls von libata abhängig, die HDD).

root at death:~# lspci | egrep -i 'storage|ide|ata'
00:06.0 IDE interface: NVIDIA Corporation MCP78S [GeForce 8200] IDE (rev a1)
00:09.0 SATA controller: NVIDIA Corporation MCP78S [GeForce 8200] AHCI Controller (rev a2)
01:05.0 Mass storage controller: Promise Technology, Inc. PDC40775 (SATA 300 TX2plus) (rev 02)

/usr/src/linux-source-4.9/Documentation/ide/ide.txt sagt:
> 	Information regarding the Enhanced IDE drive in Linux 2.6
> […]
> This is the multiple IDE interface driver, as evolved from hd.c.
> 
> It supports up to 9 IDE interfaces per default, on one or more IRQs (usually
> 14 & 15).  There can be up to two drives per interface, as per the ATA-6 spec.
> 
> Primary:    ide0, port 0x1f0; major=3;  hda is minor=0; hdb is minor=64
> Secondary:  ide1, port 0x170; major=22; hdc is minor=0; hdd is minor=64
> Tertiary:   ide2, port 0x1e8; major=33; hde is minor=0; hdf is minor=64
> Quaternary: ide3, port 0x168; major=34; hdg is minor=0; hdh is minor=64
> fifth..     ide4, usually PCI, probed
> sixth..     ide5, usually PCI, probed
> 
> To access devices on interfaces > ide0, device entries please make sure that
> device files for them are present in /dev.  If not, please create such
> entries, by using /dev/MAKEDEV.

Wenn also kein IDE-Controller gefunden wird, erkennt ide-generic den MCP78S
wohl nicht? Wobei, wenn das als IDE-Interface ausgewiesen wird, müßte das
nicht Standards erfüllen und mit 0815-IDE-Treiber laufen? Dinge, die ich nie
wissen wollte ... ;-)
-kai




More information about the Linux mailing list