[FUG-BR] Xen, FreeBSD 11 e AMD Phenom 9850

Frederico A M Saraiva famsaraiva em gmail.com
Quarta Janeiro 27 16:09:16 BRST 2016


Boa tarde,

teu processador tem a flag de virtualização nativa (svm). Então é bem
provável haver compatibilidade

2016-01-27 10:54 GMT-03:00 Joao Rocha Braga Filho <goffredo em gmail.com>:

> Bom dia.
>
> Eu ando sumido da lista, mas continuo usando o FreeBSD.
>
> Neste final de semana tentei instalar o Xen no meu Desktop, que é
> um AMD Phenon 9850, com 7 anos de uso. Tenho uma placa de vídeo
> nVidia gForce 8500 de 256 MB e a placa mãe é uma Asus M3A78.
>
> O sistema é um FreeBSD 11:
>
> FreeBSD SUPER 11.0-CURRENT FreeBSD 11.0-CURRENT #2 r294062: Fri Jan 15
> 22:35:19 BRST 2016     goffredo em SUPER:/usr/obj/usr/src/sys/SUPER  amd64
>
> Instalei o Xen-kernel dos ports. Instalei tentando fazer Dom0.
>
> Quando dei reboot ele entrou em um loop infinito de "panics", e dava pouco
> tempo para ler a mensagem de erro. Quando li falava em hardware
> incompatível.
>
> Eu devia ter fotografado a tela.
>
> Consegui parar este loop. Entrei na linha de comando do boot e desabilitei
> as variáveis que faziam o Xen subir. Assim dei o boot, e logo depois
> comentei
> as linhas do Zen nos arquivos de configuração.
>
> Estou encucado com esta mensagem de erro, e não estou achando na
> Internet nada claro se o meu processador é compatível ou não. O que
> tenho achado induz a pensar que é compatível.
>
> As linhas que coloquei nos arquivos foram:
>
> /boot/loader.conf
>
> xen_kernel="/boot/xen"
>
> xen_cmdline="dom0_mem=2048M dom0_max_vcpus=2 dom0pvh=1 com1=115200,8n1
> guest_loglvl=all loglvl=all"
>
> console=com1
>
> /boot/menu.rc.local
>
> try-include /boot/xen.4th
>
>
> Na pior das hipóteses eu faço um upgrade no meu computador para rodar o
> Xen.
>
> Ao final vai o dmesg do sistema.
>
> Agradeço a ajuda.
>
>
>
> goffredo:SUPER[955] dmesg
>
> Copyright (c) 1992-2016 The FreeBSD Project.
>
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>
>         The Regents of the University of California. All rights reserved.
>
> FreeBSD is a registered trademark of The FreeBSD Foundation.
>
> FreeBSD 11.0-CURRENT #2 r294062: Fri Jan 15 22:35:19 BRST 2016
>
>     goffredo em SUPER:/usr/obj/usr/src/sys/SUPER amd64
>
> FreeBSD clang version 3.7.1 (tags/RELEASE_371/final 255217) 20151225
>
> VT(vga): resolution 640x480
>
> module_register: cannot register hostb/amdtemp from kernel; already loaded
> from amdtemp.ko
>
> Module hostb/amdtemp failed to register: 17
>
> CPU: AMD Phenom(tm) 9850 Quad-Core Processor (2511.61-MHz K8-class CPU)
>
>   Origin="AuthenticAMD"  Id=0x100f23  Family=0x10  Model=0x2  Stepping=3
>
>
>
> Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
>
>   Features2=0x802009<SSE3,MON,CX16,POPCNT>
>
>   AMD
> Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
>
>   AMD
> Features2=0x7ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS>
>
>   SVM: NP,NAsids=64
>
>   TSC: P-state invariant
>
> real memory  = 8589934592 (8192 MB)
>
> avail memory = 8276221952 (7892 MB)
>
> Event timer "LAPIC" quality 400
>
> ACPI APIC Table: <090108 APIC1556>
>
> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
>
> FreeBSD/SMP: 1 package(s) x 4 core(s)
>
>  cpu0 (BSP): APIC ID:  0
>
>  cpu1 (AP): APIC ID:  1
>
>  cpu2 (AP): APIC ID:  2
>
>  cpu3 (AP): APIC ID:  3
>
> random: unblocking device.
>
> ioapic0 <Version 2.1> irqs 0-23 on motherboard
>
> random: entropy device external interface
>
> kbd1 at kbdmux0
>
> module_register_init: MOD_LOAD (vesa, 0xffffffff808d28d0, 0) error 19
>
> vtvga0: <VT VGA driver> on motherboard
>
> cryptosoft0: <software crypto> on motherboard
>
> acpi0: <090108 RSDT1556> on motherboard
>
> acpi0: Power Button (fixed)
>
> cpu0: <ACPI CPU> on acpi0
>
> cpu1: <ACPI CPU> on acpi0
>
> cpu2: <ACPI CPU> on acpi0
>
> cpu3: <ACPI CPU> on acpi0
>
> attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
>
> Timecounter "i8254" frequency 1193182 Hz quality 0
>
> Event timer "i8254" frequency 1193182 Hz quality 100
>
> atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
>
> Event timer "RTC" frequency 32768 Hz quality 0
>
> hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
>
> Timecounter "HPET" frequency 14318180 Hz quality 950
>
> Event timer "HPET" frequency 14318180 Hz quality 450
>
> Event timer "HPET1" frequency 14318180 Hz quality 450
>
> Event timer "HPET2" frequency 14318180 Hz quality 450
>
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
>
> acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
>
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
>
> pci0: <ACPI PCI bus> on pcib0
>
> pcib1: <ACPI PCI-PCI bridge> irq 18 at device 2.0 on pci0
>
> pci1: <ACPI PCI bus> on pcib1
>
> vgapci0: <VGA-compatible display> port 0xcc00-0xcc7f mem
> 0xfa000000-0xfaffffff,0xd0000000-0xdfffffff,0xf8000000-0xf9ffffff irq 18 at
> device 0.0 on pci1
>
> vgapci0: Boot video device
>
> pcib2: <ACPI PCI-PCI bridge> irq 18 at device 6.0 on pci0
>
> pci2: <ACPI PCI bus> on pcib2
>
> re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port
> 0xd800-0xd8ff mem 0xfbeff000-0xfbefffff,0xf6ff0000-0xf6ffffff irq 18 at
> device 0.0 on pci2
>
> re0: Using 1 MSI-X message
>
> re0: ASPM disabled
>
> re0: Chip rev. 0x3c000000
>
> re0: MAC rev. 0x00400000
>
> miibus0: <MII bus> on re0
>
> rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
>
> rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX,
> 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master,
> 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow,
> 1000baseT-FDX-flow-master, auto, auto-flow
>
> re0: Using defaults for TSO: 65518/35/2048
>
> re0: Ethernet address: 00:22:15:de:9a:0e
>
> ahci0: <AMD SB7x0/SB8x0/SB9x0 AHCI SATA controller> port
> 0xb000-0xb007,0xa000-0xa003,0x9000-0x9007,0x8000-0x8003,0x7000-0x700f mem
> 0xf7fff800-0xf7fffbff irq 22 at device 17.0 on pci0
>
> ahci0: AHCI v1.10 with 4 3Gbps ports, Port Multiplier supported
>
> ahci0: quirks=0x22000<ATI_PMP_BUG,1MSI>
>
> ahcich0: <AHCI channel> at channel 0 on ahci0
>
> ahcich1: <AHCI channel> at channel 1 on ahci0
>
> ahcich2: <AHCI channel> at channel 2 on ahci0
>
> ahcich3: <AHCI channel> at channel 3 on ahci0
>
> ohci0: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xf7ffe000-0xf7ffefff irq
> 16 at device 18.0 on pci0
>
> usbus0 on ohci0
>
> ohci1: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xf7ffd000-0xf7ffdfff irq
> 16 at device 18.1 on pci0
>
> usbus1 on ohci1
>
> ehci0: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xf7fff000-0xf7fff0ff
> irq 17 at device 18.2 on pci0
>
> ehci0: AMD SB600/700 quirk applied
>
> usbus2: EHCI version 1.0
>
> usbus2 on ehci0
>
> ohci2: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xf7ffc000-0xf7ffcfff irq
> 18 at device 19.0 on pci0
>
> usbus3 on ohci2
>
> ohci3: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xf7ffb000-0xf7ffbfff irq
> 18 at device 19.1 on pci0
>
> usbus4 on ohci3
>
> ehci1: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xf7ffa800-0xf7ffa8ff
> irq 19 at device 19.2 on pci0
>
> ehci1: AMD SB600/700 quirk applied
>
> usbus5: EHCI version 1.0
>
> usbus5 on ehci1
>
> atapci0: <ATI IXP700/800 UDMA133 controller> port
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0
>
> ata0: <ATA channel> at channel 0 on atapci0
>
> ata1: <ATA channel> at channel 1 on atapci0
>
> hdac0: <ATI SB600 HDA Controller> mem 0xf7ff4000-0xf7ff7fff irq 16 at
> device 20.2 on pci0
>
> isab0: <PCI-ISA bridge> at device 20.3 on pci0
>
> isa0: <ISA bus> on isab0
>
> pcib3: <ACPI PCI-PCI bridge> at device 20.4 on pci0
>
> pci3: <ACPI PCI bus> on pcib3
>
> atapci1: <VIA 6421 SATA150 controller> port
>
> 0xec00-0xec0f,0xe880-0xe88f,0xe800-0xe80f,0xe480-0xe48f,0xe400-0xe41f,0xe000-0xe0ff
> irq 22 at device 8.0 on pci3
>
> ata2: <ATA channel> at channel 0 on atapci1
>
> ata3: <ATA channel> at channel 1 on atapci1
>
> ata4: <ATA channel> at channel 2 on atapci1
>
> ohci4: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xf7ff9000-0xf7ff9fff irq
> 18 at device 20.5 on pci0
>
> usbus6 on ohci4
>
> amdtemp0: <AMD CPU On-Die Thermal Sensors> on hostb4
>
> amdtemp0: Erratum 319: temperature measurement may be inaccurate
>
> acpi_button0: <Power Button> on acpi0
>
> fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
> acpi0
>
> ppc0: <Parallel port> port 0x378-0x37f irq 7 on acpi0
>
> ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
>
> ppbus0: <Parallel port bus> on ppc0
>
> lpt0: <Printer> on ppbus0
>
> lpt0: Interrupt-driven port
>
> ppi0: <Parallel I/O> on ppbus0
>
> atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
>
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
>
> kbd0 at atkbd0
>
> atkbd0: [GIANT-LOCKED]
>
> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
>
> acpi_alloc_wakeup_handler: can't alloc wake memory
>
> hwpstate0: <Cool`n'Quiet 2.0> on cpu0
>
> fuse-freebsd: version 0.4.4, FUSE ABI 7.8
>
> Timecounters tick every 1.000 msec
>
> hdacc0: <VIA VT1708B_1 HDA CODEC> at cad 0 on hdac0
>
> hdaa0: <VIA VT1708B_1 Audio Function Group> at nid 1 on hdacc0
>
> pcm0: <VIA VT1708B_1 (Analog 7.1+HP/2.0)> at nid 28,34,25,35,29 and
> 26,31,30,27 on hdaa0
>
> pcm1: <VIA VT1708B_1 (Digital)> at nid 32 on hdaa0
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>


Mais detalhes sobre a lista de discussão freebsd