|
FreeBSD Installation and Upgrading Installing and upgrading FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
FreeBSD 8.0-RELEASE as DomU(hvm; i386): kernel panic
Hi all
I had a i386 FreeBSD 7.2-RELEASE running on Xen as a DomU (with hvm). Now I want to upgrade to FreeBSD 8.0-RELEASE. After rebooting into the new kernel I get directly a kernel panic. So now I started over with a fresh disk (file) and 8.0-RELEASE bootonly i386 (x86) disk. I used these instructions: http://www.ita.com.ua/eng/articles.htm?id=34 I still got the same. This is a screenshot: http://img705.imageshack.us/img705/7...e80kernelp.png Anyone an idea what is wrong? My host system is CentOS release 5.4 (Final). CPU is: Code:
cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 67 model name : Dual-Core AMD Opteron(tm) Processor 1214 stepping : 3 cpu MHz : 2200.000 cache size : 1024 KB physical id : 0 siblings : 1 core id : 0 cpu cores : 1 fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu de tsc msr pae mce cx8 apic mtrr mca cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni cx16 lahf_lm c mp_legacy cr8_legacy bogomips : 5527.11 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp tm stc processor : 1 vendor_id : AuthenticAMD cpu family : 15 model : 67 model name : Dual-Core AMD Opteron(tm) Processor 1214 stepping : 3 cpu MHz : 2200.000 cache size : 1024 KB physical id : 1 siblings : 1 core id : 0 cpu cores : 1 fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu de tsc msr pae mce cx8 apic mtrr mca cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni cx16 lahf_lm c mp_legacy cr8_legacy bogomips : 5527.11 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp tm stc |
|
|||
Quote:
As I said with the 7.2 installation cd it works(hvm). However with the 8.0 it doesn't. I thought there was support for this from 8.0 included into the kernel... or am I confusing this with something else? (http://blog.xen.org/index.php/2009/1...ntal-xen-domu/) Is there any other kernel included that I can use? And are there any specific things I need then to have in my Xen VM config? My Xen VM config is this: Code:
name = "freebsd-7.2" uuid = "45c2af8fae757400339f0a8dd8bdaead" maxmem = 500 memory = 500 vcpus = 1 builder = "hvm" kernel = "/usr/lib/xen/boot/hvmloader" boot = "c" pae = 1 #acpi = 1 #apic = 1 on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" device_model = "/usr/lib64/xen/bin/qemu-dm" sdl = 0 vnc = 1 # vncunused = 0 vncdisplay = "0" disk = [ "phy:/dev/sdb1,hda,w", "phy:/dev/sdc,hdb,w", "phy:/dev/loop0,hdc:cdrom,r", "phy:/dev/loop1,hdd:cdrom,r" ] serial = "pty" vif=['bridge=br0,mac=00:16:ef:45:12:01'] |
|
|||
Quote:
When loading into the new kernel I got a kernel panic. So I tried with a new VM (as in the link I provided). I got to #5. So at the bootup there, I got a kernel panic. I can't install a normal 8.0-RELEASE system. Do note that I have not svm (AMD-V). But as my previous install works (which was 7.2) I don't think this really matters. THanks for your responses so far DD |
|
|||
FreeBSD-update
Quote:
Quote:
Quote:
Now I tried following things: Installed a FreeBSD 8.0-RELEASE in VMware. After that recompiled the kernel with xen support. Copied the generated "kernel" file to my Xen dom0. (this seemed strange to me but followed the steps in the link put above) Now I created an image of that bsd install with mfsbsd. Copied the generated image(I am not sure if I have to do anything special to have a special kernel on the domU image) to my dom0. After that I specified this mfsbsd in my domU config This is the config: Code:
name = "recover-bsd" uuid = "46c2af8fae757400439f0a8ed8af9ead" memory = 500 vcpus = 1 #builder = "hvm" #kernel = "/usr/lib/xen/boot/hvmloader" #device_model = "/usr/lib64/xen/bin/qemu-dm" kernel = "/usr/lib/xen/boot/kernel-freebsd80" boot = "c" pae = 1 #acpi = 1 #apic = 1 vnc = 1 # vncunused = 0 vncdisplay = "0" disk = [ "file:/var/lib/xen/images/mfsboot.img,hda,w", "file:/var/lib/xen/images/recovered-disk.img,hdb,w", "phy:/dev/loop0,hdc:cdrom,r"] serial = "pty" vif=['bridge=br0,mac=00:16:ef:45:12:11'] extra = "boot_verbose=1" extra += ",vfs.root.mountfrom=ufs:/dev/ad0s1a" extra += ",kern.hz=100" Code:
[root@localhost ~]# xm create recover-bsd -c Using config file "/etc/xen/recover-bsd". Started domain recover-bsd (id=148) WARNING: loader(8) metadata is missing! GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2009 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 8.0-RELEASE #0: Tue Jan 5 16:29:33 CET 2010 root@:/usr/src/sys/i386/compile/XEN WARNING: WITNESS option enabled, expect reduced performance. Xen reported: 2210.184 MHz processor. Timecounter "ixen" frequency 1000000000 Hz quality 0 CPU: Dual-Core AMD Opteron(tm) Processor 1214 (2210.18-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x40f33 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=0x2001<SSE3,CX16> AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!> AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8> Data TLB: 32 entries, fully associative Instruction TLB: 32 entries, fully associative L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L2 internal cache: 1024 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative real memory = 524288000 (500 MB) Physical memory chunk(s): 0x0000000000764000 - 0x000000001ea71fff, 506519552 bytes (123662 pages) avail memory = 503681024 (480 MB) APIC: Using the MPTable enumerator. SMP: Added CPU 0 (BSP) ULE: setup cpu 0 [XEN] IPI cpu=0 irq=128 vector=RESCHEDULE_VECTOR (0) [XEN] IPI cpu=0 irq=129 vector=CALL_FUNCTION_VECTOR (1) Event-channel device installed. null: <null device, zero device> nfslock: pseudo-device random: <entropy source, Software, Yarrow> kbd0 at kbdmux0 io: <I/O> mem: <memory> Pentium Pro MTRR support enabled Grant table initialized xenbus0: <Xen Devices> on motherboard xc0: <Xen Console> on motherboard [XEN] xen_rtc_probe: probing Hypervisor RTC clock rtc0: <Xen Hypervisor Clock> on motherboard [XEN] xen_rtc_attach: attaching Hypervisor RTC clock rtc0: registered as a time-of-day clock (resolution 1000000us) npx0: INT 16 interface Device configuration finished. procfs registered Timecounters tick every 10.000 msec lo0: bpf attached kernel trap 9 with interrupts disabled Fatal trap 9: general protection fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x21:0xc0320451 stack pointer = 0x29:0xc2166ca0 frame pointer = 0x29:0xc2166ca8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 1, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 11 (idle: cpu0) [thread pid 11 tid 100003 ] Stopped at spinlock_enter+0x91: hlt |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FreeBSD 7 i386, PAE and kernel modules | eztiger | FreeBSD Installation and Upgrading | 7 | 1st April 2009 06:07 PM |
7.1-RELEASE AMD64 SMP kernel??? | Randux | FreeBSD Installation and Upgrading | 11 | 6th January 2009 08:17 PM |
Aaah! Help! Kernel panic! 7.0-RELEASE-p4 | Weaseal | FreeBSD General | 4 | 2nd October 2008 02:47 PM |
FBSD 7 cd boot-only, kernel panic | cysquatch | FreeBSD Installation and Upgrading | 9 | 18th July 2008 01:49 AM |
FreeBSD 7.0 Writing large amount to USB Disc cause kernel panic | pvree | FreeBSD General | 1 | 13th June 2008 02:50 AM |