Ubuntu 7.04/Issues/USB-SATA race condition causes hang
From DellLinuxWiki
| Line 2: | Line 2: | ||
<br>'''Systems Affected:''' Dimension 530n. | <br>'''Systems Affected:''' Dimension 530n. | ||
<br>'''Impact:''' Systems hangs during boot up. | <br>'''Impact:''' Systems hangs during boot up. | ||
| - | <br>'''Workaround:''' Force piix driver to load before usb driver. Use following script: | + | <br>'''Workaround:''' Force piix driver to load before usb driver. Use following script and run as root: |
#!/bin/sh | #!/bin/sh | ||
| Line 19: | Line 19: | ||
esac | esac | ||
modprobe -Qb ata_piix | modprobe -Qb ata_piix | ||
| + | |||
| + | After running this script, execute as root: | ||
| + | |||
| + | $ update-initramfs -u -k all | ||
| + | |||
| + | This command will rebuild the initrd so that the kernel will probe for the SATA driver before the USB driver. | ||
'''Fix:''' In progress.<br> | '''Fix:''' In progress.<br> | ||
Revision as of 15:39, 17 July 2007
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 piix driver to load before usb driver. Use following script and run as root:
#!/bin/sh
# Place this in /usr/share/initramfs-tools/scripts/init-top/
PREREQ=""
prereqs()
{
echo "$PREREQ"
}
case $1 in
# get pre-requisites
prereqs)
prereqs
exit 0
;;
esac
modprobe -Qb ata_piix
After running this script, execute as root:
$ update-initramfs -u -k all
This command will rebuild the initrd so that the kernel will probe for the SATA driver before the USB driver.
Fix: In progress.