Port-amd64 archive

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

Nehalem with NetBSD?

Is anyone successfully using a Nehalem ("Core i7") CPU with NetBSD/amd64?
I get panics trying to access various MSRs early in system boot -- the
first from est_init_once, but if we build a custom kernel with EST
disabled, then trying to read the core temperature sensor:

db{0}> sh reg
ds          0xa1
es          0x1000
fs          0
gs          0x5442
rdi         0xee
rsi         0x8
rbp         0xffffffff80ef1cc0
rbx         0xffff8000670db0d0
rdx         0x4
rcx         0xee
rax         0
r8          0x64
r9          0
r10         0xffffffff80ef1bb0
r11         0
r12         0xffffffff80c90600  cpu_info_primary
r13         0xffff8000670db140
r14         0xffff8000672dc818
r15         0xffff8000672dc418
rip         0xffffffff80228326  rdmsr+0x6
cs          0x8
rflags      0x10246
rsp         0xffffffff80ef1c88
ss          0x10
netbsd:rdmsr+0x6:       rdmsr
db{0}> trace
rdmsr() at netbsd:rdmsr+0x6
cpu_attach() at netbsd:cpu_attach+0x21a
config_attach_loc() at netbsd:config_attach_loc+0x160
mpacpi_config_cpu() at netbsd:mpacpi_config_cpu+0x6d
acpi_madt_walk() at netbsd:acpi_madt_walk+0x3f
mpacpi_scan_apics() at netbsd:mpacpi_scan_apics+0x67
mainbus_attach() at netbsd:mainbus_attach+0x253
config_attach_loc() at netbsd:config_attach_loc+0x160
cpu_configure() at netbsd:cpu_configure+0x26
main() at netbsd:main+0x20c

The cpu is an X3450.

Thor Lancelot Simon                                        
    "Even experienced UNIX users occasionally enter rm *.* at the UNIX
     prompt only to realize too late that they have removed the wrong
     segment of the directory structure." - Microsoft WSS whitepaper

Home | Main Index | Thread Index | Old Index