I have Fedora 12 installed on a machine which has two PCI cards.
The is the relevant part of the output of "lspci":
01:04.0 RAID bus controller: Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller (rev 02)
01:05.0 RAID bus controller: VIA Technologies, Inc. VT6421 IDE RAID Controller (rev 50)
The problem is that during boot sometimes sata_via is detected first and then sata_sil:
Dec 27 16:33:47 localhost kernel: sata_via 0000:01:05.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
Dec 27 16:33:47 localhost kernel: sata_via 0000:01:05.0: routed to hard irq line 3
Dec 27 16:33:47 localhost kernel: scsi2 : sata_via
Dec 27 16:33:47 localhost kernel: scsi3 : sata_via
Dec 27 16:33:47 localhost kernel: scsi4 : sata_via
Dec 27 16:33:47 localhost kernel: ata3: SATA max UDMA/133 port i16@0xdca0 bmdma 0xdce0 irq 17
Dec 27 16:33:47 localhost kernel: ata4: SATA max UDMA/133 port i16@0xdcb0 bmdma 0xdce8 irq 17
Dec 27 16:33:47 localhost kernel: ata5: PATA max UDMA/133 port i16@0xdcc0 bmdma 0xdcf0 irq 17
Dec 27 16:33:47 localhost kernel: sata_sil 0000:01:04.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Dec 27 16:33:47 localhost kernel: sata_sil 0000:01:04.0: Applying R_ERR on DMA activate FIS errata fix
Dec 27 16:33:47 localhost kernel: scsi5 : sata_sil
Dec 27 16:33:47 localhost kernel: scsi6 : sata_sil
Dec 27 16:33:47 localhost kernel: scsi7 : sata_sil
Dec 27 16:33:47 localhost kernel: scsi8 : sata_sil
Dec 27 16:33:47 localhost kernel: ata6: SATA max UDMA/100 mmio m1024@0xfe9fdc00 tf 0xfe9fdc80 irq 16
Dec 27 16:33:47 localhost kernel: ata7: SATA max UDMA/100 mmio m1024@0xfe9fdc00 tf 0xfe9fdcc0 irq 16
Dec 27 16:33:47 localhost kernel: ata8: SATA max UDMA/100 mmio m1024@0xfe9fdc00 tf 0xfe9fde80 irq 16
Dec 27 16:33:47 localhost kernel: ata9: SATA max UDMA/100 mmio m1024@0xfe9fdc00 tf 0xfe9fdec0 irq 16
and sometimes its the other way around:
Dec 29 12:44:26 localhost kernel: sata_sil 0000:01:04.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Dec 29 12:44:26 localhost kernel: sata_sil 0000:01:04.0: Applying R_ERR on DMA activate FIS errata fix
Dec 29 12:44:26 localhost kernel: scsi2 : sata_sil
Dec 29 12:44:26 localhost kernel: scsi3 : sata_sil
Dec 29 12:44:26 localhost kernel: scsi4 : sata_sil
Dec 29 12:44:26 localhost kernel: scsi5 : sata_sil
Dec 29 12:44:26 localhost kernel: ata3: SATA max UDMA/100 mmio m1024@0xfe9fdc00 tf 0xfe9fdc80 irq 16
Dec 29 12:44:26 localhost kernel: ata4: SATA max UDMA/100 mmio m1024@0xfe9fdc00 tf 0xfe9fdcc0 irq 16
Dec 29 12:44:26 localhost kernel: ata5: SATA max UDMA/100 mmio m1024@0xfe9fdc00 tf 0xfe9fde80 irq 16
Dec 29 12:44:26 localhost kernel: ata6: SATA max UDMA/100 mmio m1024@0xfe9fdc00 tf 0xfe9fdec0 irq 16
Dec 29 12:44:26 localhost kernel: sata_via 0000:01:05.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
Dec 29 12:44:26 localhost kernel: sata_via 0000:01:05.0: routed to hard irq line 3
Dec 29 12:44:26 localhost kernel: scsi6 : sata_via
Dec 29 12:44:26 localhost kernel: scsi7 : sata_via
Dec 29 12:44:26 localhost kernel: scsi8 : sata_via
Dec 29 12:44:26 localhost kernel: ata7: SATA max UDMA/133 port i16@0xdca0 bmdma 0xdce0 irq 17
Dec 29 12:44:26 localhost kernel: ata8: SATA max UDMA/133 port i16@0xdcb0 bmdma 0xdce8 irq 17
Dec 29 12:44:26 localhost kernel: ata9: PATA max UDMA/133 port i16@0xdcc0 bmdma 0xdcf0 irq 17
I want sata_sil to be detected first, and then sata_via, in order to have the same devices assigned to attached hard drives on every boot.
I goolged around and found suggestions to add this to my /etc/modprobe.d/local.conf file:
alias scsi_hostadapter sata_sil
alias scsi_hostadapter sata_via
I tried this but it did not help.
Any suggestions?