Index: firmware/drivers/ata.c =================================================================== --- firmware/drivers/ata.c (revision 13770) +++ firmware/drivers/ata.c (working copy) @@ -230,6 +230,7 @@ void* buf; long spinup_start; + ata_led(true); #ifndef MAX_PHYS_SECTOR_SIZE #ifdef HAVE_MULTIVOLUME (void)drive; /* unused for now */ @@ -240,7 +241,6 @@ last_disk_activity = current_tick; spinup_start = current_tick; - ata_led(true); if ( sleeping ) { spinup = true; @@ -438,6 +438,7 @@ if (start == 0) panicf("Writing on sector 0\n"); + ata_led(true); #ifndef MAX_PHYS_SECTOR_SIZE #ifdef HAVE_MULTIVOLUME (void)drive; /* unused for now */ @@ -448,7 +449,6 @@ last_disk_activity = current_tick; spinup_start = current_tick; - ata_led(true); if ( sleeping ) { spinup = true;