From owner-freebsd-bugs@FreeBSD.ORG Tue Jan 24 18:00:22 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F275B106566C for ; Tue, 24 Jan 2012 18:00:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B4D188FC16 for ; Tue, 24 Jan 2012 18:00:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0OI0Msu035727 for ; Tue, 24 Jan 2012 18:00:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0OI0M6W035722; Tue, 24 Jan 2012 18:00:22 GMT (envelope-from gnats) Resent-Date: Tue, 24 Jan 2012 18:00:22 GMT Resent-Message-Id: <201201241800.q0OI0M6W035722@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mykhaylo Yehorov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E3BA1065670 for ; Tue, 24 Jan 2012 17:52:00 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 8CCBC8FC25 for ; Tue, 24 Jan 2012 17:52:00 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q0OHq0Nr040583 for ; Tue, 24 Jan 2012 17:52:00 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q0OHq0lq040582; Tue, 24 Jan 2012 17:52:00 GMT (envelope-from nobody) Message-Id: <201201241752.q0OHq0lq040582@red.freebsd.org> Date: Tue, 24 Jan 2012 17:52:00 GMT From: Mykhaylo Yehorov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/164450: Failed to install FreeeBSD 9.0-RELEASE from CD in a Citrix XenServer VM X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2012 18:00:23 -0000 >Number: 164450 >Category: kern >Synopsis: Failed to install FreeeBSD 9.0-RELEASE from CD in a Citrix XenServer VM >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 24 18:00:22 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Mykhaylo Yehorov >Release: FreeBSD 9.0-RELEASE >Organization: >Environment: FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: The ata driver with an option ATA_CAM can't detect а CD device in a Citrix XenServer virtual machine. Therefore, it's impossible to install FreeeBSD 9.0-RELEASE from a CD/DVD image. When i'm trying to boot from CD the loader boot the kernel that can't see a CD device and can't mount root. On console I get: Trying to mount root from cd9660:/dev/iso9660/FREEBSD_INSTALL [ro]... mountroot: waiting for device /dev/iso9660/FREEBSD_INSTALL ... Mounting from cd9660:/dev/iso9660/FREEBSD_INSTALL failed with error 19. Loader variables: vfs.root.mountfrom=cd9660:/dev/iso9660/FREEBSD_INSTALL vfs.root.mountfrom.options=ro On installed system dmesg and some camcontrol commands show the following: # dmesg 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:15:25 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 CPU: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (2500.11-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x1067a Family = 6 Model = 17 Stepping = 10 Features=0x781fbff Features2=0x80082201 AMD Features=0x20000800 AMD Features2=0x1 real memory = 536870912 (512 MB) avail memory = 506114048 (482 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: ioapic0: Changing APIC ID to 1 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-47 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: reservation of 0, a0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x1f48-0x1f4b on acpi0 cpu0: on acpi0 pcib0: port 0xcf8-0xcff iomem 0xf0000000-0xf4ffffff on acpi0 pci0: on pcib0 isab0: at device 1.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc000-0xc00f at device 1.1 on pci0 ata0: on atapci0 ata1: on atapci0 pci0: at device 1.2 (no driver attached) uhci0: port 0xc020-0xc03f irq 23 at device 1.3 on pci0 usbus0: controller did not stop usbus0: on uhci0 vgapci0: at device 2.0 on pci0 pci0: at device 3.0 (no driver attached) re0: port 0xc200-0xc2ff irq 32 at device 4.0 on pci0 re0: 0x100 bytes of rid 0x14 res 3 failed (0, 0xffffffff). re0: Chip rev. 0x74800000 re0: MAC rev. 0x00000000 miibus0: on re0 rlphy0: PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow re0: Ethernet address: 16:7e:21:3c:34:a0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 uart0: <8250 or 16450 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 10.000 msec usbus0: 12Mbps Full Speed USB v1.0 ugen0.1: at usbus0 uhub0: on usbus0 ada0 at ata0 bus 0 scbus0 target 0 lun 0 ada0: ATA-7 device ada0: 16.700MB/s transfers (WDMA2, PIO 8192bytes) ada0: 9216MB (18874368 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad0 Timecounter "TSC" frequency 2500107690 Hz quality 800 (da0:ata1:0:1:0): unsupportable block size 1882390644 (da0:ata1:0:1:0): unsupportable block size 1029792816 (da0:ata1:0:1:0): unsupportable block size 1029988656 Root mount waiting for: usbus0 uhub0: 2 ports with 2 removable, self powered Root mount waiting for: usbus0 ugen0.2: at usbus0 ums0: on usbus0 Trying to mount root from ufs:/dev/gpt/root [rw]... # camcontrol devlist at scbus0 target 0 lun 0 (pass0,ada0) < > at scbus1 target 1 lun 0 (da0,pass1) # camcontrol identify pass1 pass1: ATAPI-4 device pass1: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes) protocol ATA/ATAPI-4 device model QEMU CD-ROM firmware revision 0.8.2 serial number QM00004 cylinders 0 heads 0 sectors/track 0 sector size logical 512, physical 512, offset 0 LBA supported LBA48 not supported PIO supported PIO3 w/o IORDY DMA supported WDMA2 Feature Support Enabled Value Vendor read ahead no no write cache no no flush cache no no overlap no Tagged Command Queuing (TCQ) no no Native Command Queuing (NCQ) no SMART no no microcode download no no security no no power management no no advanced power management no no automatic acoustic management no no media status notification no no power-up in Standby no no write-read-verify no no unload no no free-fall no no data set management (TRIM) no >How-To-Repeat: Boot from FreeBSD 9.0-RELEASE CD in Citrix XenServer virtual machine. >Fix: >Release-Note: >Audit-Trail: >Unformatted: