Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Can't boot -curent in qemu



On 15.04.12 16:58, Paul Goyette wrote:
> I think I have a solution for this problem.  Please see the attached
> patches.
> 
> With the patches applied:
> 
> 1. A Generic kernel boots successfully, with amdtemp builtin
> 2. My custom kernel boots successfully, with no builtin amdtemp device
> 
> There are still a couple minor oddities with this patch:
> 
> A. When I try to 'modload amdtemp' it tries to attach two different
> instances:
> 
> # dmesg | grep 'pchb[34]' pchb3 at pci0 dev 24 function 2: vendor 0x1022
> product 0x1202 (rev. 0x00)
> pchb4 at pci0 dev 24 function 3: vendor 0x1022 product 0x1203 (rev. 0x00)
> amdtemp0 at pchb3: AMD CPU Temperature Sensors, family 0x5 not supported
> amdtemp1 at pchb4: AMD CPU Temperature Sensors (Family10h)

That's not what I intend to archieve with replacing amdtempbus.

you should see something like this instead:

amdnb_misc0 at pci0 dev 24 function 3
amdtemp0 at amdnb_misc0

Christoph


> B. envstat reports a sensor value of zero degC.
> 
> 
> 
> 
> 
> 
> On Sat, 14 Apr 2012, Paul Goyette wrote:
> 
>> On Sat, 14 Apr 2012, Paul Goyette wrote:
>>
>>> On Sat, 14 Apr 2012, Christoph Egger wrote:
>>>
>>>> Ah, there we go why it doesn't attach.
>>>> You need a kernel with these committs applied:
>>>>
>>>> http://mail-index.netbsd.org/source-changes/2012/04/13/msg033678.html
>>>> http://mail-index.netbsd.org/source-changes/2012/04/13/msg033679.html
>>>> http://mail-index.netbsd.org/source-changes/2012/04/13/msg033680.html
>>>
>>> OK,  First, I am going to rebuild amdtemp module after reverting the
>>> amdtemp.ioconf file as well as the other reverts!  And I'll see if
>>> this allows the amdtemp to attach on that older 1090T.
>>
>> No luck.
>>
>>> Then I'll check to see if that also attaches on the FX-8150.
>>
>> Still no luck.
>>
>>
>> Both of these tests were with -current sources, except for
>>
>>     arch/x86/pci/pchb.c             with 1.27 and 1.32 backed out
>>     arch/x86/pci/pchbvar.h          with 1.8 backed out
>>     modules/amdtemp/amdtemp.ioconf  with 1.2 1.3 and 1.4 backed out
>>
>> I'm going to get my sources all back to -current now, before I lose
>> track of what is changed!



Home | Main Index | Thread Index | Old Index