| 
         
xen-users
[Xen-users] Re: Compiling Xen 3.0.2 from source[general protection	fault
 
  I am working on x86_64 amd opetron cluster which runs fc5. I wanted to install the older version of Xen i.e xen 3.0.2-3 for research purposes. I wanted to compile the xen kernel with debug info. Hence I tried to compile it from source. It compiled successfully and I made corresponding entries to the grub.conf file. 
 But when I try to boot it gives the following error:
  root (hd0,0)  Filesystem type is ext2fs, partition type 0x83 kernel /xen-3.0.2-3.gz console=com2,vga com2=19200,8n1 sync_console    [Multiboot-elf, <0x100000:0xed530:0x39ad0>, shtab=0x227078, entry=0x100000]   [0H0000]   [06;00 __  __            _____  ___   ____    _____ 
 \ \/ /___ _ __   |___ / / _ \ |___ \  |___ /                              *   \  // _ \ '_ \    |_ \| | | |  __) |__ |_ \                              *   /  \  __/ | | |  ___) | |_| | / __/|__|__) |                             * 
 /_/\_\___|_| |_| |____(_)___(_)_____| |____/                              *                                                                            *  http://www.cl.cam.ac.uk/netos/xen                                         * 
 University of Cambridge Computer Laboratory                               *  *                                                                         *  Xen version 3.0.2-3 (root@) (gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)) Thu Nov 20 20:48:31 EST 2008 
 Latest ChangeSet: Thu Jun 29 10:51:49 2006 +0100 9762:1e225598ce82        *  *************************************************************************** (XEN) Console output is synchronous. which entry is highlighted. 
(XEN) Command line: /xen-3.0.2-3.gz console=com2,vga com2=19200,8n1 sync_console (XEN) Physical RAM map:ooting, 'a' to modify the kernel arguments (XEN)  0000000000000000 - 000000000009f400 (usable) (XEN)  000000000009f400 - 00000000000a0000 (reserved) 
(XEN)  00000000000e0000 - 0000000000100000 (reserved) in 1 seconds. (XEN)  0000000000100000 - 00000000fbff0000 (usable) (XEN)  00000000fbff0000 - 00000000fbfff000 (ACPI data) (XEN)  00000000fbfff000 - 00000000fc000000 (ACPI NVS) 
(XEN)  00000000ff780000 - 0000000100000000 (reserved) (XEN) System RAM: 4031MB (4128316kB) (XEN) Xen heap: 13MB (14052kB) (XEN) Using scheduler: Simple EDF Scheduler (sedf) (XEN) found SMP MP-table at 000ff780 
(XEN) DMI 2.3 present. (XEN) Using APIC driver default (XEN) ACPI: RSDP (v002 ACPIAM                                ) @ 0x00000000000f6d70 (XEN) ACPI: XSDT (v001 A M I  OEMXSDT  0x03000620 MSFT 0x00000097) @ 0x00000000fbff0100 
(XEN) ACPI: FADT (v001 A M I  OEMFACP  0x03000620 MSFT 0x00000097) @ 0x00000000fbff0281 (XEN) ACPI: MADT (v001 A M I  OEMAPIC  0x03000620 MSFT 0x00000097) @ 0x00000000fbff0380 (XEN) ACPI: OEMB (v001 A M I  OEMBIOS  0x03000620 MSFT 0x00000097) @ 0x00000000fbfff040 
(XEN) ACPI: SRAT (v001 A M I  OEMSRAT  0x03000620 MSFT 0x00000097) @ 0x00000000fbff3b60 (XEN) ACPI: HPET (v001 A M I  OEMHPET  0x03000620 MSFT 0x00000097) @ 0x00000000fbff3c70 (XEN) ACPI: ASF! (v001 AMIASF AMDSTRET 0x00000001 INTL 0x02002026) @ 0x00000000fbff3cb0 
(XEN) ACPI: DSDT (v001  0AAAA 0AAAA000 0x00000000 INTL 0x02002026) @ 0x0000000000000000 (XEN) ACPI: Local APIC address 0xfee00000 (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) (XEN) Processor #0 15:1 APIC version 16 
(XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled) (XEN) Processor #1 15:1 APIC version 16 (XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled) (XEN) Processor #2 15:1 APIC version 16 (XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled) 
(XEN) Processor #3 15:1 APIC version 16 (XEN) ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0]) (XEN) IOAPIC[0]: apic_id 4, version 17, address 0xfec00000, GSI 0-23 (XEN) ACPI: IOAPIC (id[0x05] address[0xfebff000] gsi_base[24]) 
(XEN) IOAPIC[1]: apic_id 5, version 17, address 0xfebff000, GSI 24-27 (XEN) ACPI: IOAPIC (id[0x06] address[0xfebfe000] gsi_base[28]) (XEN) IOAPIC[2]: apic_id 6, version 17, address 0xfebfe000, GSI 28-31 (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) 
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) (XEN) ACPI: IRQ0 used by override. (XEN) ACPI: IRQ2 used by override. (XEN) Enabling APIC mode:  Flat.  Using 3 I/O APICs (XEN) ACPI: HPET id: 0x102282a0 base: 0xfec01000 
(XEN) Using ACPI (MADT) for SMP configuration information (XEN) Initializing CPU#0 (XEN) Detected 1793.403 MHz processor. (XEN) CPU0: AMD Flush Filter disabled (XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) 
(XEN) CPU: L2 Cache: 1024K (64 bytes/line) (XEN) CPU 0(2) -> Core 0 (XEN) Intel machine check architecture supported. (XEN) Intel machine check reporting enabled on CPU#0. (XEN) CPU0: AMD Dual Core AMD Opteron(tm) Processor 265 stepping 02 
(XEN) Booting processor 1/1 eip 90000 (XEN) Initializing CPU#1 (XEN) CPU1: AMD Flush Filter disabled (XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) (XEN) CPU: L2 Cache: 1024K (64 bytes/line) 
(XEN) CPU 1(2) -> Core 1 (XEN) AMD: Disabling C1 Clock Ramping Node #0 (XEN) AMD: Disabling C1 Clock Ramping Node #1 (XEN) Intel machine check architecture supported. (XEN) Intel machine check reporting enabled on CPU#1. 
(XEN) CPU1: AMD Dual Core AMD Opteron(tm) Processor 265 stepping 02 (XEN) Booting processor 2/2 eip 90000 (XEN) Initializing CPU#2 (XEN) CPU2: AMD Flush Filter disabled (XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) 
(XEN) CPU: L2 Cache: 1024K (64 bytes/line) (XEN) CPU 2(2) -> Core 0 (XEN) Intel machine check architecture supported. (XEN) Intel machine check reporting enabled on CPU#2. (XEN) CPU2: AMD Dual Core AMD Opteron(tm) Processor 265 stepping 02 
(XEN) Booting processor 3/3 eip 90000 (XEN) Initializing CPU#3 (XEN) CPU3: AMD Flush Filter disabled (XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) (XEN) CPU: L2 Cache: 1024K (64 bytes/line) 
(XEN) CPU 3(2) -> Core 1 (XEN) Intel machine check architecture supported. (XEN) Intel machine check reporting enabled on CPU#3. (XEN) CPU3: AMD Dual Core AMD Opteron(tm) Processor 265 stepping 02 (XEN) Total of 4 processors activated. 
(XEN) ENABLING IO-APIC IRQs (XEN)  -> Using new ACK method (XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=0 pin2=0 (XEN) checking TSC synchronization across 4 CPUs: passed. (XEN) Platform timer is 14.318MHz HPET 
(XEN) Brought up 4 CPUs (XEN) Machine check exception polling timer started. (XEN) Using IPI Shortcut mode (XEN) *** LOADING DOMAIN 0 *** (XEN) Domain 0 kernel supports features = { 0000000f }. (XEN) Domain 0 kernel requires features = { 00000000 }. 
(XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN)  Dom0 alloc.:   0000000005000000->0000000006000000 (979070 pages to be allocated) (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN)  Loaded kernel: ffffffff80100000->ffffffff804eff08 
(XEN)  Init. ramdisk: ffffffff804f0000->ffffffff80710400 (XEN)  Phys-Mach map: ffffffff80711000->ffffffff80e913f0 (XEN)  Start info:    ffffffff80e92000->ffffffff80e93000 (XEN)  Page tables:   ffffffff80e93000->ffffffff80e9e000 
(XEN)  Boot stack:    ffffffff80e9e000->ffffffff80e9f000 (XEN)  TOTAL:         ffffffff80000000->ffffffff81000000 (XEN)  ENTRY ADDRESS: ffffffff80100000 (XEN) Dom0 has maximum 4 VCPUs (XEN) Initrd len 0x220400, start at 0xffffffff804f0000 
(XEN) Scrubbing Free RAM: .........................................done. (XEN) Xen trace buffers: disabled (XEN) ********************************************** (XEN) ******* WARNING: CONSOLE OUTPUT IS SYCHRONOUS 
(XEN) ******* This option is intended to aid debugging of Xen by ensuring (XEN) ******* that all output is synchronously delivered on the serial line. (XEN) ******* However it can introduce SIGNIFICANT latencies and affect 
(XEN) ******* timekeeping. It is NOT recommended for production use! (XEN) ********************************************** (XEN) 3... 2... 1... (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen). 
kernel direct mapping tables up to f087e000 @ ea2000-ea2000 Bootdata ok (command line is ro root=LABEL=/ console=ttyS1,19200n8 3 selinux=0) Linux version 2.6.16.13-xen (root@opt13) (gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)) #1 SMP Thu Nov 20 21:45:06 EST 2008 
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled) ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0]) 
IOAPIC[0]: apic_id 4, version 17, address 0xfec00000, GSI 0-23 ACPI: IOAPIC (id[0x05] address[0xfebff000] gsi_base[24]) IOAPIC[1]: apic_id 5, version 17, address 0xfebff000, GSI 24-27 ACPI: IOAPIC (id[0x06] address[0xfebfe000] gsi_base[28]) 
IOAPIC[2]: apic_id 6, version 17, address 0xfebfe000, GSI 28-31 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) Setting APIC routing to xen Using ACPI (MADT) for SMP configuration information 
Allocating PCI resources starting at fc400000 (gap: fc000000:3780000) Built 1 zonelists Kernel command line: ro root=LABEL=/ console=ttyS1,19200n8 3 selinux=0 Initializing CPU#0 PID hash table entries: 4096 (order: 12, 131072 bytes) 
Xen reported: 1793.340 MHz processor. Console: colour VGA+ 80x25 Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) Software IO TLB enabled: 
 Aperture:     64 megabytes  Kernel range: 0xffff8800058d1000 - 0xffff8800098d1000 PCI-DMA: Using software bounce buffering for IO (SWIOTLB) Memory: 3783548k/3940856k available (2415k kernel code, 148460k reserved, 904k data, 164k init) 
Calibrating delay using timer specific routine.. 3588.10 BogoMIPS (lpj=17940514) Security Framework v1.0.0 initialized Capability LSM initialized Mount-cache hash table entries: 256 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) 
CPU: L2 Cache: 1024K (64 bytes/line) Initializing CPU#1 Initializing CPU#2 Brought up 4 CPUs Initializing CPU#3 migration_cost=309 checking if image is initramfs... it is Freeing initrd memory: 2177k freed 
DMI 2.3 present. Grant table initialized NET: Registered protocol family 16 ACPI: bus type pci registered PCI: Using configuration type 1 ACPI: Subsystem revision 20060127 ACPI: Interpreter enabled ACPI: Using IOAPIC for interrupt routing 
ACPI: PCI Root Bridge [PCI0] (0000:00) ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 6 7 9 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *9 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11 12 14 15) 
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 *10 11 12 14 15) xen_mem: Initialising balloon driver. SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub PCI: Using ACPI for IRQ routing 
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report PCI: Bridge: 0000:00:06.0   IO window: 9000-bfff   MEM window: fc900000-feafffff   PREFETCH window: disabled. PCI: Bridge: 0000:00:0a.0 
  IO window: disabled.   MEM window: fc800000-fc8fffff   PREFETCH window: ff500000-ff5fffff PCI: Bridge: 0000:00:0b.0   IO window: disabled.   MEM window: disabled.   PREFETCH window: disabled. IA-32 Microcode Update Driver: v1.14-xen <tigran@xxxxxxxxxxx> 
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $ VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 512 (order 0, 4096 bytes) Initializing Cryptographic API io scheduler noop registered 
io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered PCI: MSI quirk detected. pci_msi_quirk set. PCI: MSI quirk detected. pci_msi_quirk set. Real Time Clock Driver v1.12ac 
serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 isa bounce pool size: 16 pages RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize Xen virtual console successfully installed as ttyS0 
Event-channel device installed. blkif_init: reqs=64, pages=704, mmap_vstart=0xffff8800ef800000 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx 
AMD8111: IDE controller at PCI slot 0000:00:07.1 AMD8111: chipset revision 3 AMD8111: not 100% native mode: will probe irqs later AMD8111: 0000:00:07.1 (rev 03) UDMA133 controller     ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:pio, hdb:pio 
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio hdc: SR244W, ATAPI CD/DVD-ROM drive ide1 at 0x170-0x177,0x376 on irq 15 hdc: ATAPI 24X CD-ROM drive, 128kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 
ide-floppy driver 0.99.newide usbmon: debugfs is not available usbcore: registered new driver hiddev usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver mice: PS/2 mouse device common for all mice 
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 NET: Registered protocol family 2 IP route cache hash table entries: 131072 (order: 8, 1048576 bytes) TCP established hash table entries: 262144 (order: 10, 4194304 bytes) 
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) TCP: Hash tables configured (established 262144 bind 65536) TCP reno registered Initializing IPsec netlink socket NET: Registered protocol family 1 
NET: Registered protocol family 17 Red Hat nash version 5.0.32 startinginput: AT Translated Set 2 keyboard as /class/input/input0
  Mounting proc filesystem Mounting sysfs filesystem Creating /dev Creating initial device nodes 
Setting up hotplug. Creating block device nodes. Loading sata_sil.ko module GSI 16 sharing vector 0x98 and IRQ 16 ACPI: PCI Interrupt 0000:03:05.0[A] -> GSI 19 (level, low) -> IRQ 16 ata1: SATA max UDMA/100 cmd 0xFFFFC20000004C80 ctl 0xFFFFC20000004C8A bmdma 0xFFFFC20000004C00 irq 16 
ata2: SATA max UDMA/100 cmd 0xFFFFC20000004CC0 ctl 0xFFFFC20000004CCA bmdma 0xFFFFC20000004C08 irq 16 ata3: SATA max UDMA/100 cmd 0xFFFFC20000004E80 ctl 0xFFFFC20000004E8A bmdma 0xFFFFC20000004E00 irq 16 ata4: SATA max UDMA/100 cmd 0xFFFFC20000004EC0 ctl 0xFFFFC20000004ECA bmdma 0xFFFFC20000004E08 irq 16 
ata1: SATA link up 1.5 Gbps (SStatus 113) ata1: dev 0 ATA-7, max UDMA/133, 156301488 sectors: LBA48 ata1: dev 0 configured for UDMA/100 scsi0 : sata_sil ata2: SATA link down (SStatus 0) scsi1 : sata_sil 
ata3: SATA link down (SStatus 0) scsi2 : sata_sil ata4: SATA link down (SStatus 0) scsi3 : sata_sil   Vendor: ATA       Model: WDC WD800JD-22LS  Rev: 06.0   Type:   Direct-Access                      ANSI SCSI revision: 05 
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB) sda: Write Protect is off SCSI device sda: drive cache: write back SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB) sda: Write Protect is off 
SCSI device sda: drive cache: write back  sda: sda1 sda2 sda3 sda4 < sda5 sda6 > sd 0:0:0:0: Attached scsi disk sda Loading jbd.ko module Loading ext3.ko module Creating root device. Mounting root filesystem. 
kjournald starting.  Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Setting up other filesystems. Setting up new root fs no fstab.sys, mounting internal defaults Switching to new root and running init. 
unmounting old /dev unmounting old /proc unmounting old /sys INIT: version 2.86 booting                 Welcome to Fedora Core                 Press 'I' to enter interactive startup. Setting clock  (localtime): Thu Nov 27 22:38:38 EST 2008 [  OK  ] 
Starting udev: general protection fault: 0000 [1] SMP CPU 1 Modules linked in: tg3 i2c_core ext3 jbd sata_sil Pid: 457, comm: modprobe Not tainted 2.6.16.13-xen #1 RIP: e030:[<ffffffff801c4332>] <ffffffff801c4332>{create_dir+34} 
RSP: e02b:ffff8800ef3cfc28  EFLAGS: 00010296 RAX: ffffffff88039010 RBX: ffff8800efd12400 RCX: ffff8800ef3cfc60 RDX: ffff8800efd12400 RSI: 90666690666666c3 RDI: ffff8800efd123f8 RBP: ffff8800efd123f8 R08: 00000000fffffffe R09: ffff8800eff2b889 
R10: ffff8800efd12000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8800efd123e8 R14: ffffffff88039010 R15: ffffffff804049e0 FS:  00002b49a3774210(0000) GS:ffffffff804a9080(0000) knlGS:0000000000000000 CS:  e033 DS: 0000 ES: 0000 
Process modprobe (pid: 457, threadinfo ffff8800ef3ce000, task ffff8800efcc09b0) Stack: ffff8800efd123f8 ffff8800efd123e8 0000000000000000 ffff8800efd123e8        ffffffff88039010 ffffffff801c4b28 ffffffff88039010 0000000000000000 
       ffff8800efd123f8 ffffffff801f52ea Call Trace: <ffffffff88039010>{:tg3:tg3_disable_ints+0}        <ffffffff801c4b28>{sysfs_create_dir+88} <ffffffff88039010>{:tg3:tg3_disable_ints+0}        <ffffffff801f52ea>{kobject_add+234} <ffffffff88039000>{:tg3:tg3_write32+0} 
       <ffffffff80251cf9>{class_device_add+185} <ffffffff802f72d1>{netdev_register_sysfs+81}        <ffffffff802ed2d2>{netdev_run_todo+242} <ffffffff802ec634>{register_netdev+100}        <ffffffff88044b07>{:tg3:tg3_init_one+3175} <ffffffff801297f3>{__wake_up+67} 
       <ffffffff80204269>{pci_device_probe+89} <ffffffff80250d75>{driver_probe_device+101}        <ffffffff80250e50>{__driver_attach+0} <ffffffff80250eb0>{__driver_attach+96}        <ffffffff80250e50>{__driver_attach+0} <ffffffff80250619>{bus_for_each_dev+73} 
       <ffffffff802501f8>{bus_add_driver+136} <ffffffff802044d0>{__pci_register_driver+128}        <ffffffff8014fdd2>{sys_init_module+258} <ffffffff8010b2fe>{system_call+134}        <ffffffff8010b278>{system_call+0} 
 Code: 48 8b 7e 10 49 89 cc 49 89 f6 48 81 c7 c0 00 00 00 e8 88 33 RIP <ffffffff801c4332>{create_dir+34} RSP <ffff8800ef3cfc28>  udevd-event[456]: run_program: '/sbin/modprobe' abnormal exit 
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@xxxxxxxxxxxxx> and others 
sd 0:0:0:0: Attached scsi generic sg0 type 0 Unable to handle kernel paging request at ffffffff8807c000 RIP:
 
  Please help.
  Thanks,
  Aditya Graduate student princeofporsche@xxxxxxxxx 
  
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- [Xen-users] Re: Compiling Xen 3.0.2 from source[general protection	fault 000[1]],
ADITYA KRISHNAN <=
  
 |  
  
 | 
    |