Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Feb 2004 14:51:07 +0200
From:      Panagiotis Astithas <past@noc.ntua.gr>
To:        Scott Long <scottl@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: System still hangs with "ata1-master: TIMEOUT - SETFEATURES SET TRANSFER MODE"
Message-ID:  <401E47BB.9020102@noc.ntua.gr>
In-Reply-To: <401E17D2.90609@freebsd.org>
References:  <20040125111743.GA564@bsd> <401672F7.8080404@noc.ntua.gr> <4018F64A.2090906@noc.ntua.gr> <40196D90.5020604@compgeek.com> <401E144C.3000706@noc.ntua.gr> <401E17D2.90609@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Scott Long wrote:
> Panagiotis Astithas wrote:
> 
>> Jon Noack wrote:
>>
>>> On 1/29/2004 6:02 AM, Panagiotis Astithas wrote:
>>>
>>>> I found out that booting with "Safe mode" (I knew there should be 
>>>> some use for it :-)) allows me to complete the process and get to 
>>>> sysinstall, in both 5.2-RELEASE & the -current snapshot from 24/1. 
>>>> But I tried to do the same from the loader prompt, to no avail. I 
>>>> used the following and then "boot" or "boot -v" but every attempt 
>>>> resulted in the traditional freeze.
>>>>
>>>> unset acpi_load
>>>> set hint.acpi.0.disabled=1
>>>> set loader.acpi_disabled_by_user=1
>>>> set hw.ata.ata_dma=0
>>>> set hw.ata.atapi_dma=0
>>>> set hw.ata.wc=0
>>>> set hw.eisa_slots=0
>>>>
>>>>  From what I can tell from the beastie.4th file, that is all that 
>>>> should be needed. Am I missing something?
>>>
>>>
>>>
>>>
>>> You missed disabling apic:
>>> set hint.apic.0.disabled=1
>>
>>
>>
>> Bingo!
>> But I still can't see how it is being set via the loader's "Safe mode" 
>> option. Granted, my forth skills are lacking, but an inquiring mind 
>> needs to know :-)
>>
>> Thanks,
> 
> 
> 
> Look for this segment in beastie.4th:
> 
> 
>         dup bootsafekey @ = if
>                 s" arch-i386" environment? if
>                         s" acpi_load" unsetenv
>                         s" 1" s" hint.acpi.0.disabled" setenv
>                         s" 1" s" loader.acpi_disabled_by_user" setenv
> ---->                   s" 1" s" hint.apic.0.disabled" setenv
>                 then
>                 s" 0" s" hw.ata.ata_dma" setenv
>                 s" 0" s" hw.ata.atapi_dma" setenv
>                 s" 0" s" hw.ata.wc" setenv
>                 s" 0" s" hw.eisa_slots" setenv
>                 0 boot
>         then

Darn, I was grepping through rev. 1.7.
Thanks!
-- 
Panagiotis Astithas
Electrical & Computer Engineer, PhD
Network Management Center
National Technical University of Athens, Greece



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?401E47BB.9020102>