On Fri, Jan 19, 2018 at 8:05 PM, Geraldo Netto <geraldone...@gmail.com> wrote:
> Hello Friends, > > Interesting, if I pass "-cpu phenom" it boots clearly: > I think this is a qemu bug that was solved a while back - e.g., https://bugzilla.redhat.com/show_bug.cgi?id=1326721 > netto@spo01 ~/osv-clean $ sudo scripts/run.py -nv -V --pass-args="-cpu > phenom" > OSv v0.24-479-g7ce5eb7 > 4 CPUs detected > Firmware vendor: SeaBIOS > bsd: initializing - done > VFS: mounting ramfs at / > VFS: mounting devfs at /dev > net: initializing - done > vga: Add VGA device instance > eth0: ethernet address: 52:54:00:12:34:56 > virtio-blk: Add blk device instances 0 as vblk0, devsize=10737418240 > random: virtio-rng registered as a source. > random: <Software, Yarrow> initialized > VFS: unmounting /dev > VFS: mounting zfs at /zfs > zfs: mounting osv/zfs from device /dev/vblk0.1 > random: device unblocked. > VFS: mounting devfs at /dev > VFS: mounting procfs at /proc > program zpool.so returned 1 > BSD shrinker: event handler list found: 0xffffa00001be7a00 > BSD shrinker found: 1 > BSD shrinker: unlocked, running > [I/42 dhcp]: Broadcasting DHCPDISCOVER message with xid: [2093243431] > [I/42 dhcp]: Waiting for IP... > [I/42 dhcp]: Broadcasting DHCPDISCOVER message with xid: [46622180] > [I/42 dhcp]: Waiting for IP... > [I/244 dhcp]: Received DHCPOFFER message from DHCP server: 192.168.122.1 > regarding offerred IP address: 192.168.122.89 > [I/244 dhcp]: Broadcasting DHCPREQUEST message with xid: [46622180] to > SELECT offered IP: 192.168.122.89 > [I/244 dhcp]: Received DHCPOFFER message from DHCP server: 192.168.122.1 > regarding offerred IP address: 192.168.122.89 > [W/244 dhcp]: Got packet with wrong transaction ID (46622180, 2093243431) > [I/244 dhcp]: DHCP received hostname: osv > > [I/244 dhcp]: Received DHCPACK message from DHCP server: 192.168.122.1 > regarding offerred IP address: 192.168.122.89 > [I/244 dhcp]: Server acknowledged IP 192.168.122.89 for interface eth0 > with time to lease in seconds: 3600 > eth0: 192.168.122.89 > [I/244 dhcp]: Configuring eth0: ip 192.168.122.89 subnet mask > 255.255.255.0 gateway 192.168.122.1 MTU 1500 > [I/244 dhcp]: Set hostname to: osv > java.so: Starting JVM app using: io/osv/isolated/RunIsolatedJvmApp > java.so: Setting Java system classloader to IsolatingOsvSystemClassLoader > and logging manager to IsolatingLogManager > 19-Jan-2018 18:03:39.977 INFO [Thread-5] > org.apache.catalina.startup.VersionLoggerListener.log > Server version: Apache Tomcat/8.0.15 > 19-Jan-2018 18:03:39.982 INFO [Thread-5] > org.apache.catalina.startup.VersionLoggerListener.log > Server built: Nov 2 2014 19:25:20 UTC > 19-Jan-2018 18:03:39.985 INFO [Thread-5] > org.apache.catalina.startup.VersionLoggerListener.log > Server number: 8.0.15.0 > 19-Jan-2018 18:03:39.988 INFO [Thread-5] > org.apache.catalina.startup.VersionLoggerListener.log > OS Name: Linux > 19-Jan-2018 18:03:39.990 INFO [Thread-5] > org.apache.catalina.startup.VersionLoggerListener.log > OS Version: 3.7.0 > 19-Jan-2018 18:03:39.992 INFO [Thread-5] > org.apache.catalina.startup.VersionLoggerListener.log > Architecture: amd64 > 19-Jan-2018 18:03:39.995 INFO [Thread-5] > org.apache.catalina.startup.VersionLoggerListener.log > JAVA_HOME: /usr/lib/jvm/java/jre > 19-Jan-2018 18:03:39.997 INFO [Thread-5] > org.apache.catalina.startup.VersionLoggerListener.log > JVM Version: 1.7.0_55-mockbuild_2014_05_22_13_12-b00 > 19-Jan-2018 18:03:40.000 INFO [Thread-5] > org.apache.catalina.startup.VersionLoggerListener.log > JVM Vendor: Oracle Corporation > 19-Jan-2018 18:03:40.002 INFO [Thread-5] > org.apache.catalina.startup.VersionLoggerListener.log > CATALINA_BASE: /usr/tomcat > 19-Jan-2018 18:03:40.004 INFO [Thread-5] > org.apache.catalina.startup.VersionLoggerListener.log > CATALINA_HOME: /usr/tomcat > 19-Jan-2018 18:03:40.007 INFO [Thread-5] > org.apache.catalina.startup.VersionLoggerListener.log > Command line argument: -Djava.system.class.loader=io.osv.isolated. > IsolatingOsvSystemClassLoader > 19-Jan-2018 18:03:40.010 INFO [Thread-5] > org.apache.catalina.startup.VersionLoggerListener.log > Command line argument: -Djava.util.logging.manager= > io.osv.jul.IsolatingLogManager > 19-Jan-2018 18:03:40.013 INFO [Thread-5] > org.apache.catalina.startup.VersionLoggerListener.log > Command line argument: -Dosv.version=v0.24-479-g7ce5eb7 > 19-Jan-2018 18:03:40.016 INFO [Thread-5] org.apache.catalina.core. > AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native > library which allows optimal performance in production environments was not > found on the java.library.path: /usr/java/packages/lib/amd64:/ > usr/lib64:/lib64:/lib:/usr/lib > 19-Jan-2018 18:03:40.354 INFO [Thread-5] > org.apache.coyote.AbstractProtocol.init > Initializing ProtocolHandler ["http-bio-8081"] > 19-Jan-2018 18:03:40.391 INFO [Thread-5] > org.apache.catalina.startup.Catalina.load > Initialization processed in 1863 ms > 19-Jan-2018 18:03:40.488 INFO [Thread-5] > org.apache.catalina.core.StandardService.startInternal > Starting service Catalina > 19-Jan-2018 18:03:40.492 INFO [Thread-5] > org.apache.catalina.core.StandardEngine.startInternal > Starting Servlet Engine: Apache Tomcat/8.0.15 > 19-Jan-2018 18:03:40.532 INFO [localhost-startStop-1] > org.apache.catalina.startup.HostConfig.deployDirectory Deploying web > application directory /usr/tomcat/webapps/host-manager > 19-Jan-2018 18:03:41.558 INFO [localhost-startStop-1] > org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web > application directory /usr/tomcat/webapps/host-manager has finished in > 1,024 ms > 19-Jan-2018 18:03:41.563 INFO [localhost-startStop-1] > org.apache.catalina.startup.HostConfig.deployDirectory Deploying web > application directory /usr/tomcat/webapps/docs > 19-Jan-2018 18:03:41.656 INFO [localhost-startStop-1] > org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web > application directory /usr/tomcat/webapps/docs has finished in 93 ms > 19-Jan-2018 18:03:41.661 INFO [localhost-startStop-1] > org.apache.catalina.startup.HostConfig.deployDirectory Deploying web > application directory /usr/tomcat/webapps/examples > 19-Jan-2018 18:03:43.042 INFO [localhost-startStop-1] > org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web > application directory /usr/tomcat/webapps/examples has finished in 1,381 ms > 19-Jan-2018 18:03:43.046 INFO [localhost-startStop-1] > org.apache.catalina.startup.HostConfig.deployDirectory Deploying web > application directory /usr/tomcat/webapps/ROOT > 19-Jan-2018 18:03:43.128 INFO [localhost-startStop-1] > org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web > application directory /usr/tomcat/webapps/ROOT has finished in 82 ms > 19-Jan-2018 18:03:43.133 INFO [localhost-startStop-1] > org.apache.catalina.startup.HostConfig.deployDirectory Deploying web > application directory /usr/tomcat/webapps/manager > 19-Jan-2018 18:03:43.216 INFO [localhost-startStop-1] > org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web > application directory /usr/tomcat/webapps/manager has finished in 83 ms > 19-Jan-2018 18:03:43.234 INFO [Thread-5] > org.apache.coyote.AbstractProtocol.start > Starting ProtocolHandler ["http-bio-8081"] > 19-Jan-2018 18:03:43.251 INFO [Thread-5] > org.apache.catalina.startup.Catalina.start > Server startup in 2856 ms > > > > Kind Regards, > > Geraldo Netto > Sapere Aude => Non dvcor, dvco > http://exdev.sf.net/ > > On 19 January 2018 at 15:16, Geraldo Netto <geraldone...@gmail.com> wrote: > >> Dear Friends, >> >> Just a quick doubt, while OSv is working well for my tests >> Does it mean my processor does not support such instruction? >> >> I have found this table from wiki: >> https://en.wikipedia.org/wiki/CPUID >> >> Recent manual from AMD showing an equivalent instructions (?) >> https://support.amd.com/TechDocs/54945_PPR_Family_17h_Models_00h-0Fh.pdf >> >> There is a patch for Qemu, but I'm not sure this could be useful for us: >> https://patchwork.ozlabs.org/patch/611043/ >> >> Some people are suggesting to use 'host-passthrough' on Qemu, is there >> any equivalent on OSv >> Or should I try to run scripts/run with the --pass-args and then pass it >> as in Qemu? >> >> I usually have this output (output sorted): >> ... >> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit >> 0] >> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit >> 1] >> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit >> 2] >> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit >> 3] >> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit >> 4] >> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit >> 5] >> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit >> 6] >> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit >> 7] >> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit >> 8] >> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit >> 9] >> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit >> 12] >> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit >> 13] >> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit >> 14] >> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit >> 15] >> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit >> 16] >> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit >> 17] >> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit >> 23] >> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit >> 24] >> ... >> >> >> hardware details: >> >> netto@spo01 ~/osv-clean $ cat /etc/issue >> Linux Mint 18.3 Sylvia \n \l >> >> netto@spo01 ~/osv-clean $ cat /proc/cpuinfo >> ... >> processor : 3 >> vendor_id : AuthenticAMD >> cpu family : 16 >> model : 2 >> model name : AMD Phenom(tm) 9500 Quad-Core Processor >> stepping : 2 >> microcode : 0x1000095 >> cpu MHz : 1100.000 >> cache size : 512 KB >> physical id : 0 >> siblings : 4 >> core id : 3 >> cpu cores : 4 >> apicid : 3 >> initial apicid : 3 >> fpu : yes >> fpu_exception : yes >> cpuid level : 5 >> wp : yes >> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge >> mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt >> pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc >> cpuid extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic >> cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs hw_pstate vmmcall >> npt lbrv svm_lock >> bugs : tlb_mmatch fxsave_leak sysret_ss_attrs null_seg >> bogomips : 4412.34 >> TLB size : 1024 4K pages >> clflush size : 64 >> cache_alignment : 64 >> address sizes : 48 bits physical, 48 bits virtual >> power management: ts ttp tm stc 100mhzsteps hwpstate >> >> netto@spo01 ~/osv-clean $ lscpu >> Architecture: x86_64 >> CPU op-mode(s): 32-bit, 64-bit >> Byte Order: Little Endian >> CPU(s): 4 >> On-line CPU(s) list: 0-3 >> Thread(s) per core: 1 >> Core(s) per socket: 4 >> Socket(s): 1 >> NUMA node(s): 1 >> Vendor ID: AuthenticAMD >> CPU family: 16 >> Model: 2 >> Model name: AMD Phenom(tm) 9500 Quad-Core Processor >> Stepping: 2 >> CPU MHz: 1100.000 >> CPU max MHz: 2200,0000 >> CPU min MHz: 1100,0000 >> BogoMIPS: 4412.34 >> Virtualization: AMD-V >> L1d cache: 64K >> L1i cache: 64K >> L2 cache: 512K >> L3 cache: 2048K >> NUMA node0 CPU(s): 0-3 >> Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr >> pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext >> fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl >> nonstop_tsc cpuid extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy >> svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs >> hw_pstate vmmcall npt lbrv svm_lock >> >> netto@spo01 ~/osv-clean $ lsmod >> Module Size Used by >> xt_CHECKSUM 16384 1 >> iptable_mangle 16384 1 >> ipt_MASQUERADE 16384 3 >> nf_nat_masquerade_ipv4 16384 1 ipt_MASQUERADE >> iptable_nat 16384 1 >> nf_nat_ipv4 16384 1 iptable_nat >> nf_nat 28672 2 nf_nat_masquerade_ipv4,nf_nat_ipv4 >> nf_conntrack_ipv4 16384 5 >> nf_defrag_ipv4 16384 1 nf_conntrack_ipv4 >> xt_conntrack 16384 1 >> nf_conntrack 131072 6 nf_conntrack_ipv4,ipt_MASQUERA >> DE,nf_nat_masquerade_ipv4,xt_conntrack,nf_nat_ipv4,nf_nat >> ipt_REJECT 16384 2 >> nf_reject_ipv4 16384 1 ipt_REJECT >> xt_tcpudp 16384 6 >> bridge 143360 0 >> stp 16384 1 bridge >> llc 16384 2 bridge,stp >> ebtable_filter 16384 0 >> ebtables 32768 1 ebtable_filter >> ip6table_filter 16384 0 >> ip6_tables 28672 1 ip6table_filter >> iptable_filter 16384 1 >> ip_tables 24576 3 iptable_mangle,iptable_filter,iptable_nat >> x_tables 40960 11 ipt_REJECT,iptable_mangle,ip_t >> ables,ebtables,iptable_filter,xt_tcpudp,ipt_MASQUERADE,xt_CH >> ECKSUM,ip6table_filter,xt_conntrack,ip6_tables >> bnep 20480 2 >> binfmt_misc 20480 1 >> rtl8xxxu 126976 0 >> arc4 16384 2 >> rtl8192cu 69632 0 >> rtl_usb 20480 1 rtl8192cu >> rtl8192c_common 57344 1 rtl8192cu >> rtlwifi 77824 3 rtl_usb,rtl8192c_common,rtl8192cu >> mac80211 782336 4 rtl_usb,rtlwifi,rtl8192cu,rtl8xxxu >> cfg80211 614400 2 mac80211,rtlwifi >> pl2303 20480 0 >> usbserial 45056 1 pl2303 >> asix 45056 0 >> joydev 20480 0 >> usbnet 45056 1 asix >> usblp 20480 0 >> input_leds 16384 0 >> vhost_net 24576 0 >> vhost 45056 1 vhost_net >> tap 24576 1 vhost_net >> btusb 45056 0 >> btrtl 16384 1 btusb >> btbcm 16384 1 btusb >> btintel 16384 1 btusb >> edac_mce_amd 28672 0 >> bluetooth 544768 26 btrtl,btintel,bnep,btbcm,btusb >> ecdh_generic 24576 1 bluetooth >> serio_raw 16384 0 >> wmi_bmof 16384 0 >> snd_hda_codec_realtek 94208 1 >> bttv 151552 0 >> snd_hda_codec_generic 73728 1 snd_hda_codec_realtek >> tea575x 16384 1 bttv >> tveeprom 24576 1 bttv >> videobuf_dma_sg 20480 1 bttv >> snd_hda_codec_hdmi 49152 1 >> k10temp 16384 0 >> videobuf_core 28672 2 bttv,videobuf_dma_sg >> rc_core 36864 1 bttv >> v4l2_common 16384 1 bttv >> snd_hda_intel 40960 0 >> videodev 172032 3 tea575x,v4l2_common,bttv >> snd_hda_codec 126976 4 snd_hda_intel,snd_hda_codec_hd >> mi,snd_hda_codec_generic,snd_hda_codec_realtek >> media 40960 1 videodev >> snd_hda_core 81920 5 snd_hda_intel,snd_hda_codec,sn >> d_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek >> snd_hwdep 20480 1 snd_hda_codec >> snd_seq_midi 16384 0 >> snd_pcm 98304 4 snd_hda_intel,snd_hda_codec,sn >> d_hda_core,snd_hda_codec_hdmi >> snd_seq_midi_event 16384 1 snd_seq_midi >> snd_rawmidi 32768 1 snd_seq_midi >> snd_seq 65536 2 snd_seq_midi_event,snd_seq_midi >> snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi >> snd_timer 32768 2 snd_seq,snd_pcm >> kvm_amd 2179072 0 >> snd 81920 11 snd_hda_intel,snd_hwdep,snd_se >> q,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd >> _hda_codec_generic,snd_seq_device,snd_hda_codec_realtek,snd_pcm >> kvm 585728 1 kvm_amd >> soundcore 16384 1 snd >> i2c_piix4 24576 0 >> irqbypass 16384 1 kvm >> shpchp 36864 0 >> asus_atk0110 20480 0 >> tpm_infineon 20480 0 >> mac_hid 16384 0 >> parport_pc 32768 0 >> ppdev 20480 0 >> lp 20480 0 >> parport 49152 3 lp,parport_pc,ppdev >> autofs4 40960 2 >> btrfs 1097728 0 >> raid10 49152 0 >> raid456 143360 0 >> async_raid6_recov 20480 1 raid456 >> async_memcpy 16384 2 raid456,async_raid6_recov >> async_pq 16384 2 raid456,async_raid6_recov >> async_xor 16384 3 async_pq,raid456,async_raid6_recov >> async_tx 16384 5 async_xor,async_pq,raid456,asy >> nc_memcpy,async_raid6_recov >> xor 24576 2 async_xor,btrfs >> raid6_pq 118784 4 async_pq,btrfs,raid456,async_raid6_recov >> libcrc32c 16384 3 nf_conntrack,raid456,nf_nat >> raid1 40960 0 >> raid0 20480 0 >> multipath 16384 0 >> linear 16384 0 >> dm_mirror 24576 0 >> dm_region_hash 20480 1 dm_mirror >> dm_log 20480 2 dm_mirror,dm_region_hash >> hid_generic 16384 0 >> usbhid 49152 0 >> hid 118784 2 hid_generic,usbhid >> amdkfd 188416 1 >> amd_iommu_v2 20480 1 amdkfd >> radeon 1478656 2 >> i2c_algo_bit 16384 2 bttv,radeon >> ttm 94208 1 radeon >> pata_acpi 16384 0 >> psmouse 143360 0 >> drm_kms_helper 167936 1 radeon >> syscopyarea 16384 1 drm_kms_helper >> sysfillrect 16384 1 drm_kms_helper >> sysimgblt 16384 1 drm_kms_helper >> pata_atiixp 16384 2 >> fb_sys_fops 16384 1 drm_kms_helper >> drm 356352 5 radeon,ttm,drm_kms_helper >> r8169 81920 0 >> ahci 36864 2 >> libahci 32768 1 ahci >> mii 16384 3 r8169,usbnet,asix >> wmi 24576 1 wmi_bmof >> >> netto@spo01 ~/osv-clean $ cat /proc/meminfo >> MemTotal: 7910272 kB >> MemFree: 802664 kB >> MemAvailable: 7399972 kB >> Buffers: 2850976 kB >> Cached: 3834896 kB >> SwapCached: 0 kB >> Active: 1169388 kB >> Inactive: 5601672 kB >> Active(anon): 1756 kB >> Inactive(anon): 101696 kB >> Active(file): 1167632 kB >> Inactive(file): 5499976 kB >> Unevictable: 0 kB >> Mlocked: 0 kB >> SwapTotal: 11719676 kB >> SwapFree: 11719676 kB >> Dirty: 0 kB >> Writeback: 0 kB >> AnonPages: 85216 kB >> Mapped: 35352 kB >> Shmem: 18264 kB >> Slab: 264404 kB >> SReclaimable: 233628 kB >> SUnreclaim: 30776 kB >> KernelStack: 4800 kB >> PageTables: 13068 kB >> NFS_Unstable: 0 kB >> Bounce: 0 kB >> WritebackTmp: 0 kB >> CommitLimit: 15674812 kB >> Committed_AS: 1280284 kB >> VmallocTotal: 34359738367 kB >> VmallocUsed: 0 kB >> VmallocChunk: 0 kB >> HardwareCorrupted: 0 kB >> AnonHugePages: 0 kB >> ShmemHugePages: 0 kB >> ShmemPmdMapped: 0 kB >> CmaTotal: 0 kB >> CmaFree: 0 kB >> HugePages_Total: 0 >> HugePages_Free: 0 >> HugePages_Rsvd: 0 >> HugePages_Surp: 0 >> Hugepagesize: 2048 kB >> DirectMap4k: 114176 kB >> DirectMap2M: 2768896 kB >> DirectMap1G: 5242880 kB >> >> >> >> Kind Regards, >> >> Geraldo Netto >> Sapere Aude => Non dvcor, dvco >> http://exdev.sf.net/ >> >> > -- > You received this message because you are subscribed to the Google Groups > "OSv Development" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to osv-dev+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.