Re: FreeBSD 9.1 Beta 1 fails to install in qemu-kvm on Gentoo Linux
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/07/2012 03:37, Richard Yao wrote: >> Can you boot FreeBSD kernel on this machine bare ? > This machine is headless. It would be difficult for me to boot FreeBSD > on it. > Not necessarily useful now, but for future reference I've found pxebooting an mfsbsd image useful for getting freebsd on headless systems in the past. http://blog.vx.sk/archives/26-Tutorial-FreeBSD-network-boot-with-mfsBSD-and-pxelinux.html Vince -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJQCrFqAAoJEF4mgOY1fXowvLQP/1zsa/l4fiF0ZcAfEdVTdV0W tzvWVizVLsltd5HOgDDr+2JGyAZq6AgwtTGdJAT+djIO6g6+UbLHQaHgWHL0JS7H 4DGRIAe55jAhUdYCv4OvIZCYcrsHQR8uPsUYONIDRVR5MLTfN4bp6tE0SkmRjG9O N+F8CUR/De2GuDK+U+qpCQNB7CpPJFgvHjadb67GBdKIAvp8xW+qwVkCDjkl8Mt3 7UBwhMFJCkyIhNmZzmsK3zRtfS8AIGcrCUvjGB2MYj3G7qp+TUhL15fapoXe1Vqa p3LD2r8yuKg2HnGXduYVTswY6TzFqwHdkayvLYTWdsqJfxSXVF8QKElpx6p78E8I H7EgJ9SqOCWH0Gbf7spFQqv8QrpygtpHPhBhfeKRKshVQrCNZTfFC3eb8XwVPaZZ CYuxTzKS4N2JNtsn0YUy+TI47SrQTbxuMYPe5MQm/H0GgAtmGxJuOBhE+LvvVhLF fqLd3QpcDBcfX2I2i1UVy0ayPJMo4G+VKq+OLLjk42WaE+/aQEqrbTLPyJlMhsNp NP1RKqKOMFR3MPk1b5hVHymsAJwvovplZqFnoLmr5N20reRqSQ7zIHvJzApDHJnn HN8xij6KYHClUzoZzY6ZZCoWvcBwDxNuhO90U10BXTTxvPG+fl/TRZZonRLZ9HBj bnbK3dPqsfcy+U3CuKDB =lN+S -END PGP SIGNATURE- ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: FreeBSD 9.1 Beta 1 fails to install in qemu-kvm on Gentoo Linux
On Fri, Jul 20, 2012 at 10:37:29PM -0400, Richard Yao wrote: > On 07/20/2012 08:56 PM, Konstantin Belousov wrote: > > On Fri, Jul 20, 2012 at 08:40:30PM -0400, Richard Yao wrote: > >> On 07/20/2012 06:23 PM, Richard Yao wrote: > >>> Dear FreeBSD Developers, > >>> > >>> Trying to install FreeBSD 9.1 Beta 1 in qemu-kvm on Gentoo Linux fails > >>> before the kernel dmesg with 'kernel trap 9 with interrupts disabled'. I > >>> am running the following command: > >>> > >>> qemu-system-x86_64 -drive > >>> file=/dev/zvol/rpool/KVM/freebsd,if=scsi-bootorder=c > >>> -cdrom/mnt/backup/isos/FreeBSD-9.1-BETA1-amd64-disc1.iso -m2048 -smp > >>> 6,cores=6,threads=1,sockets=1 -curses -net > >>> nic,model=e1000,macaddr=52:54:00:00:ee:04 -cpu host > >>> > >>> If I use FreeBSD-9.0-RELEASE-amd64-dvd1.iso, I can do an install without > >>> any problems. > >>> > >>> Yours truly, > >>> Richard Yao > >>> > >> > >> I have an update. > >> > >> 1. There is no backtrace. The only thing that I see printed after the > >> boot screen with beastie is a single line: > >> > >> 'kernel trap 9 with interrupts disabled' > > This line is probably printed after the banner and might be CPU features > > line. Is this true ? If so, show it. > > I do not know what the banner is. However, that line is printed The copyright of UCB and registered trademark of FF lines are usually referred as banner. > immediately after the boot2 menu with Beastie. It occurs when I would > expect to see "Copyright (c) 1992-2012 The FreeBSD Project.". I see no > other visible characters aside from those from the boot2 menu with Beastie. Ok. > Here is the dmesg output from FreeBSD 9.0-RELEASE with -cpu host: > Features=0x1783fbff > Features2=0x80802001 > AMD Features=0xe6500800 > AMD Features2=0x1f7 ... > Here is the dmesg output from FreeBSD 9.0-RELEASE without -cpu host: ... > Features=0x1783fbfd > Features2=0x80802001 > AMD Features=0x20100800 > AMD Features2=0x67 The only difference between these two which triggers some memories is the absence of Page1GB in !-cpu host case. Could you try to comment out the if ((amd_feature & AMDID_PAGE1GB) != 0) ndm1g = ptoa(Maxmem) >> PDPSHIFT; lines in create_pagetables() function from sys/amd64/amd64/pmap.c and see whether resulting kernel boots on -cpu host configuration ? pgp3LhHuPPTsc.pgp Description: PGP signature
Re: FreeBSD 9.1 Beta 1 fails to install in qemu-kvm on Gentoo Linux
On 07/20/2012 08:56 PM, Konstantin Belousov wrote: > On Fri, Jul 20, 2012 at 08:40:30PM -0400, Richard Yao wrote: >> On 07/20/2012 06:23 PM, Richard Yao wrote: >>> Dear FreeBSD Developers, >>> >>> Trying to install FreeBSD 9.1 Beta 1 in qemu-kvm on Gentoo Linux fails >>> before the kernel dmesg with 'kernel trap 9 with interrupts disabled'. I >>> am running the following command: >>> >>> qemu-system-x86_64 -drive >>> file=/dev/zvol/rpool/KVM/freebsd,if=scsi-bootorder=c >>> -cdrom/mnt/backup/isos/FreeBSD-9.1-BETA1-amd64-disc1.iso -m2048 -smp >>> 6,cores=6,threads=1,sockets=1 -curses -net >>> nic,model=e1000,macaddr=52:54:00:00:ee:04 -cpu host >>> >>> If I use FreeBSD-9.0-RELEASE-amd64-dvd1.iso, I can do an install without >>> any problems. >>> >>> Yours truly, >>> Richard Yao >>> >> >> I have an update. >> >> 1. There is no backtrace. The only thing that I see printed after the >> boot screen with beastie is a single line: >> >> 'kernel trap 9 with interrupts disabled' > This line is probably printed after the banner and might be CPU features > line. Is this true ? If so, show it. I do not know what the banner is. However, that line is printed immediately after the boot2 menu with Beastie. It occurs when I would expect to see "Copyright (c) 1992-2012 The FreeBSD Project.". I see no other visible characters aside from those from the boot2 menu with Beastie. > >> >> 2. Verbose mode does not change it. >> >> 3. Removing `-cpu host` fixes it. Here is an excerpt of the host's >> /proc/cpuinfo: >> >> processor : 0 >> vendor_id : AuthenticAMD >> cpu family : 16 >> model : 10 >> model name : AMD Phenom(tm) II X6 1090T Processor >> stepping: 0 >> microcode : 0x1dc >> cpu MHz : 1600.000 >> cache size : 512 KB >> physical id : 0 >> siblings: 6 >> core id : 0 >> cpu cores : 6 >> apicid : 0 >> initial apicid : 0 >> fpu : yes >> fpu_exception : yes >> cpuid level : 6 >> 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 extd_apicid aperfmperf pni monitor cx16 popcnt lahf_l >> m cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch >> osvw ibs skinit wdt cpb npt lbrv svm_lock nrip_save pausefilter >> bogomips: 6421.39 >> 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 [9] >> >> FreeBSD 9.0 had no problems in KVM with `-cpu host` on this system, so >> this would seem to be a regression. >> > > Can you boot FreeBSD kernel on this machine bare ? This machine is headless. It would be difficult for me to boot FreeBSD on it. > > Also it could be useful to show the CPU features lines from FreeBSD 9.0, > or just full verbose dmesgs of the boots in KVM with and without -cpu host. Here is the dmesg output from FreeBSD 9.0-RELEASE with -cpu host: Copyright (c) 1992-2012 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 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 CPU: AMD Phenom(tm) II X6 1090T Processor (3210.86-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x100fa0 Family = 10 Model = a Stepping = 0 Features=0x1783fbff Features2=0x80802001 AMD Features=0xe6500800 AMD Features2=0x1f7 real memory = 2147483648 (2048 MB) avail memory = 2045132800 (1950 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs FreeBSD/SMP: 1 package(s) x 6 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 ioapic0: Changing APIC ID to 6 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xb008-0xb00b on acpi0 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 cpu4: on acpi0 cpu5: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci_link4: Unable to route IRQs: AE_NOT_FOUND isab0: at device 1.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc140-0xc14f at device 1.1 on pci0 ata0: on atapci0 ata1: on atapci0 pci0: at device 1.3 (no driver attached) em0: port 0xc100-0xc13f mem 0xfeba-0xfebb irq 10 at device 2.0 on pci0 em0: Memory Access and/or Bus Master bits were not set! em0: Ethernet address: 52:54:00:00:ee:05 sym0: <895a> port 0xc000-0x
Re: FreeBSD 9.1 Beta 1 fails to install in qemu-kvm on Gentoo Linux
On Fri, Jul 20, 2012 at 08:40:30PM -0400, Richard Yao wrote: > On 07/20/2012 06:23 PM, Richard Yao wrote: > > Dear FreeBSD Developers, > > > > Trying to install FreeBSD 9.1 Beta 1 in qemu-kvm on Gentoo Linux fails > > before the kernel dmesg with 'kernel trap 9 with interrupts disabled'. I > > am running the following command: > > > > qemu-system-x86_64 -drive > > file=/dev/zvol/rpool/KVM/freebsd,if=scsi-bootorder=c > > -cdrom/mnt/backup/isos/FreeBSD-9.1-BETA1-amd64-disc1.iso -m2048 -smp > > 6,cores=6,threads=1,sockets=1 -curses -net > > nic,model=e1000,macaddr=52:54:00:00:ee:04 -cpu host > > > > If I use FreeBSD-9.0-RELEASE-amd64-dvd1.iso, I can do an install without > > any problems. > > > > Yours truly, > > Richard Yao > > > > I have an update. > > 1. There is no backtrace. The only thing that I see printed after the > boot screen with beastie is a single line: > > 'kernel trap 9 with interrupts disabled' This line is probably printed after the banner and might be CPU features line. Is this true ? If so, show it. > > 2. Verbose mode does not change it. > > 3. Removing `-cpu host` fixes it. Here is an excerpt of the host's > /proc/cpuinfo: > > processor : 0 > vendor_id : AuthenticAMD > cpu family : 16 > model : 10 > model name : AMD Phenom(tm) II X6 1090T Processor > stepping: 0 > microcode : 0x1dc > cpu MHz : 1600.000 > cache size : 512 KB > physical id : 0 > siblings: 6 > core id : 0 > cpu cores : 6 > apicid : 0 > initial apicid : 0 > fpu : yes > fpu_exception : yes > cpuid level : 6 > 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 extd_apicid aperfmperf pni monitor cx16 popcnt lahf_l > m cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch > osvw ibs skinit wdt cpb npt lbrv svm_lock nrip_save pausefilter > bogomips: 6421.39 > 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 [9] > > FreeBSD 9.0 had no problems in KVM with `-cpu host` on this system, so > this would seem to be a regression. > Can you boot FreeBSD kernel on this machine bare ? Also it could be useful to show the CPU features lines from FreeBSD 9.0, or just full verbose dmesgs of the boots in KVM with and without -cpu host. pgpsuVKrx50lf.pgp Description: PGP signature
Re: FreeBSD 9.1 Beta 1 fails to install in qemu-kvm on Gentoo Linux
On 07/20/2012 06:23 PM, Richard Yao wrote: > Dear FreeBSD Developers, > > Trying to install FreeBSD 9.1 Beta 1 in qemu-kvm on Gentoo Linux fails > before the kernel dmesg with 'kernel trap 9 with interrupts disabled'. I > am running the following command: > > qemu-system-x86_64 -drive > file=/dev/zvol/rpool/KVM/freebsd,if=scsi-bootorder=c > -cdrom/mnt/backup/isos/FreeBSD-9.1-BETA1-amd64-disc1.iso -m2048 -smp > 6,cores=6,threads=1,sockets=1 -curses -net > nic,model=e1000,macaddr=52:54:00:00:ee:04 -cpu host > > If I use FreeBSD-9.0-RELEASE-amd64-dvd1.iso, I can do an install without > any problems. > > Yours truly, > Richard Yao > I have an update. 1. There is no backtrace. The only thing that I see printed after the boot screen with beastie is a single line: 'kernel trap 9 with interrupts disabled' 2. Verbose mode does not change it. 3. Removing `-cpu host` fixes it. Here is an excerpt of the host's /proc/cpuinfo: processor : 0 vendor_id : AuthenticAMD cpu family : 16 model : 10 model name : AMD Phenom(tm) II X6 1090T Processor stepping: 0 microcode : 0x1dc cpu MHz : 1600.000 cache size : 512 KB physical id : 0 siblings: 6 core id : 0 cpu cores : 6 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 6 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 extd_apicid aperfmperf pni monitor cx16 popcnt lahf_l m cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt cpb npt lbrv svm_lock nrip_save pausefilter bogomips: 6421.39 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 [9] FreeBSD 9.0 had no problems in KVM with `-cpu host` on this system, so this would seem to be a regression. signature.asc Description: OpenPGP digital signature
FreeBSD 9.1 Beta 1 fails to install in qemu-kvm on Gentoo Linux
Dear FreeBSD Developers, Trying to install FreeBSD 9.1 Beta 1 in qemu-kvm on Gentoo Linux fails before the kernel dmesg with 'kernel trap 9 with interrupts disabled'. I am running the following command: qemu-system-x86_64 -drive file=/dev/zvol/rpool/KVM/freebsd,if=scsi-bootorder=c -cdrom/mnt/backup/isos/FreeBSD-9.1-BETA1-amd64-disc1.iso -m2048 -smp 6,cores=6,threads=1,sockets=1 -curses -net nic,model=e1000,macaddr=52:54:00:00:ee:04 -cpu host If I use FreeBSD-9.0-RELEASE-amd64-dvd1.iso, I can do an install without any problems. Yours truly, Richard Yao signature.asc Description: OpenPGP digital signature