Ubuntu 7.04/Issues/USB-SATA race condition causes hang

From DellLinuxWiki

< Ubuntu 7.04
Revision as of 14:34, 1 November 2007 by Jose de la rosa (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Description: USB device misreads interrupts intermittently due to race condition with ATA driver.
Systems Affected: Dimension 530n.
Impact: Systems hangs during boot up.
Workaround: Force SATA driver to load before USB driver. Create a script named load_ata_piix in /usr/share/initramfs-tools/scripts/init-top/ with the following contents:

 #!/bin/sh
 PREREQ=""
 prereqs()
 {
        echo "$PREREQ"
 }
 case $1 in
 # get pre-requisites
 prereqs)
        prereqs
        exit 0
        ;;
 esac
 modprobe -Qb ata_piix

Execute the script:

$ sudo /usr/share/initramfs-tools/scripts/init-top/load_ata_piix

Next, rebuild the initrd so that the kernel will probe for the SATA driver before the USB driver:

$ sudo update-initramfs -u -k all
Personal tools
Distributions