FS#12936 - Legacy IDE broken for certain hardware

Attached to Project: Release Engineering
Opened by Dan McGee (toofishes) - Saturday, 24 January 2009, 19:38 GMT
Last edited by Dan McGee (toofishes) - Saturday, 31 January 2009, 18:17 GMT
Task Type Bug Report
Category ArchISO
Status Closed
Assigned To Aaron Griffin (phrakture)
Gerhard Brauer (GerBra)
Dieter Plaetinck (Dieter_be)
Architecture All
Severity Medium
Priority Normal
Reported Version 2009.01-beta
Due in Version 2009.02
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

The default grub menu didn't work for me as it still loaded the pata_sis module and used that instead of the also-loaded sis5513. To fix, I had to add disablemodules=pata_sis to my grub boot line.

I'm not completely sure why I had to do this here and not on my actual system, which boots fine with a rather boring mkinitcpio.conf:
HOOKS="base udev autodetect ide filesystems"

Here is the legacy_ide one:
HOOKS="base udev archiso ide scsi sata usb fw filesystems"


My thought is that either sata or scsi is pulling in something we really don't want in the initrd? Scsi is often required for CDROM drives if I remember right, but how often is legacy_ide going to be used in common with sata?
This task depends upon

Closed by  Dan McGee (toofishes)
Saturday, 31 January 2009, 18:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  All workie now
Comment by Dan McGee (toofishes) - Saturday, 24 January 2009, 19:41 GMT
Lookie what I found:

$ bsdtar tf archiso_ide.img | grep pata
/lib/modules/2.6.28-ARCH/kernel/drivers/ata/pata_sis.ko
Comment by Dan McGee (toofishes) - Saturday, 24 January 2009, 19:44 GMT
(13:41:28) Thomas Bächler: sata_sis depends on pata_sis
(13:41:48) Thomas Bächler: that's why

$ modinfo sata_sis
filename: /lib/modules/2.6.28-ARCH/kernel/drivers/ata/sata_sis.ko
<snip>
depends: libata,pata_sis
vermagic: 2.6.28-ARCH SMP preempt mod_unload


I think it would be prudent to remove sata from the legacy_ide initrd. Most people shouldn't have to use the legacy_ide one anyway, but for those that do it doesn't make much sense.

If we aren't willing to take that route, we have to disable this module (disablemodules=pata_sis) when booting this image or anyone using SiS hardware is going to be out of luck.
Comment by Aaron Griffin (phrakture) - Saturday, 24 January 2009, 22:44 GMT
  • Field changed: Due in Version (Undecided → 2009.02)
Removing sata from the legacy IDE initscpio image. Any downsides here?
Comment by Dan McGee (toofishes) - Tuesday, 27 January 2009, 04:13 GMT
Is this in the beta2 ISOs? If so I can try it out again tomorrow night, just point me to the right place so I know I'm looking at the right thing.
Comment by Aaron Griffin (phrakture) - Tuesday, 27 January 2009, 04:20 GMT
Yes, it is
Comment by Dieter Plaetinck (Dieter_be) - Saturday, 31 January 2009, 11:17 GMT
Dan, is this fixed for you now?
Comment by Dan McGee (toofishes) - Saturday, 31 January 2009, 18:17 GMT
We're all good, tested the new beta3 ISO this morning booting the legacy IDE option. I'm going to close this.

Loading...