From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Matthias Pfafferodt" Subject: Re: no Power-off after shutdown Date: Thu, 10 Feb 2005 23:53:14 +0100 Message-ID: <200502102353.15260.mapfa@gmx.de> References: <32995.141.44.11.7.1107939328.squirrel@simson.homelinux.org> <200502091815.41400.jdmason@us.ibm.com> <36000.193.175.53.21.1108036467.squirrel@simson.homelinux.org> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_bX+CCVfGcmgcOGN" In-Reply-To: <36000.193.175.53.21.1108036467.squirrel@simson.homelinux.org> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org --Boundary-00=_bX+CCVfGcmgcOGN Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline >> On Wednesday 09 February 2005 02:55 am, Matthias Pfafferodt wrote: >>> Hello, >>> >>> I'm using SuSE 9.2 and the Xen RPMs provided by Kurt Garloff >>> (http://www.suse.de/~garloff/linux/xen). Xen is running fine. >>> >>> My probleme is that I need to shutdown and power off the computer >>> without >>> access to the main power switch. I'm working on it using ssh. After >>> closing all domains but domain 0 I execute 'shutdown -h now' in domain >>> 0. >>> The (software) system goes down and the hard disks are stoped but the >>> main >>> power stays online. >> >> You are probably lacking ACPI support in your kernel. What does you >> dmesg >> output say? > > At the moment I have no access to the computer but I will send the xen > dmesg and the dom0 dmesg output as soon as possible. > Here is the output of 'xm dmsg' and 'dmsg'. Regards Matthias > ACPI should be supported by the kernel (at last in the SuSE kernel) > > Regards > > Matthias > >> >>> Rebooting the system is working and using the default SuSE kernels or >>> vanilla kernels the main power is switched off after a shutdown. >>> >>> I tested this using the XenCD on two different computers - rebooting is >>> working but no power off after a shutdown. >>> >>> Thanks for your help >>> >>> Matthias >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real >>> users. >>> Discover which products truly live up to the hype. Start reading now. >>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>> _______________________________________________ >>> Xen-devel mailing list >>> Xen-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/xen-devel >>> >>> >> >> -- >> Jon Mason >> jdmason@us.ibm.com >> >> > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel > > --Boundary-00=_bX+CCVfGcmgcOGN Content-Type: text/plain; name="dmesg.xen" Content-Disposition: attachment; filename="dmesg.xen" Content-Transfer-Encoding: quoted-printable ERROR: cannot use unconfigured serial port COM1 __ __ ____ ___ =20 \ \/ /___ _ __ |___ \ / _ \=20 \ // _ \ '_ \ __) || | | | / \ __/ | | | / __/ | |_| | /_/\_\___|_| |_| |_____(_)___/=20 =20 http://www.cl.cam.ac.uk/netos/xen University of Cambridge Computer Laboratory Xen version 2.0 (abuild@suse.de) (gcc version 3.3.4 (pre 3.3.5 20040809)= ) Mon Jan 24 02:13:11 UTC 2005 Latest ChangeSet: information unavailable (XEN) Physical RAM map: (XEN) 0000000000000000 - 00000000000a0000 (usable) (XEN) 00000000000f0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 0000000013ff0000 (usable) (XEN) 0000000013ff0000 - 0000000013ff3000 (ACPI NVS) (XEN) 0000000013ff3000 - 0000000014000000 (ACPI data) (XEN) 00000000ffff0000 - 0000000100000000 (reserved) (XEN) System RAM: 319MB (327232kB) (XEN) Xen heap: 10MB (10744kB) (XEN) CPU0: Before vendor init, caps: 0387f9ff 00000000 00000000, vendor = =3D 0 (XEN) CPU caps: 0387f9ff 00000000 00000000 00000000 (XEN) ACPI: RSDP (v000 ECSORG ) @ 0x00= 0f6d60 (XEN) ACPI: RSDT (v001 AWARD AWRDACPI 0x30302e31 AWRD 0x00000000) @ 0x13= ff3000 (XEN) ACPI: FADT (v001 AWARD AWRDACPI 0x30302e31 AWRD 0x00000000) @ 0x13= ff3040 (XEN) ACPI: DSDT (v001 ECSORG AWRDACPI 0x00001000 MSFT 0x0100000a) @ 0x00= 000000 (XEN) Using scheduler: Borrowed Virtual Time (bvt) (XEN) Initializing CPU#0 (XEN) Detected 451.049 MHz processor. (XEN) Local APIC disabled by BIOS -- reenabling. (XEN) Found and enabled local APIC! (XEN) CPU0: Before vendor init, caps: 0387fbff 00000000 00000000, vendor = =3D 0 (XEN) CPU caps: 0387fbff 00000000 00000000 00000000 (XEN) CPU0 booted (XEN) SMP motherboard not detected. (XEN) enabled ExtINT on CPU#0 (XEN) ESR value before enabling vector: 00000000 (XEN) ESR value after enabling vector: 00000000 (XEN) Using local APIC timer interrupts. (XEN) Calibrating APIC timer for CPU0... (XEN) ..... CPU speed is 451.0204 MHz. (XEN) ..... Bus speed is 100.2266 MHz. (XEN) ..... bus_scale =3D 0x000066A2 (XEN) Time init: (XEN) .... System Time: 10895811ns (XEN) .... cpu_freq: 00000000:1AE27704 (XEN) .... scale: 00000002:3790C815 (XEN) .... Wall Clock: 1108073342s 20000us (XEN) PCI: PCI BIOS revision 2.10 entry at 0xfb130, last bus=3D1 (XEN) PCI: Using configuration type 1 (XEN) PCI: Probing PCI hardware (XEN) PCI: Probing PCI hardware (bus 00) (XEN) PCI: Using IRQ router VIA [1106/0596] at 00:07.0 (XEN) Activating ISA DMA hang workarounds. (XEN) mtrr: v2.0 (20020519) (XEN) *** LOADING DOMAIN 0 *** (XEN) Xen-ELF header found: 'GUEST_OS=3Dlinux,GUEST_VER=3D2.6,XEN_VER=3D2= .0,VIRT_BASE=3D0xC0000000,LOADER=3Dgeneric,PT_MODE_WRITABLE' (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Kernel image: 00c00000->00ebb798 (XEN) Initrd image: 00ebc000->01348000 (XEN) Dom0 alloc.: 01400000->05280000 (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: c0100000->c040f7dc (XEN) Init. ramdisk: c0410000->c089c000 (XEN) Phys-Mach map: c089c000->c08aba00 (XEN) Page tables: c08ac000->c08b0000 (XEN) Start info: c08b0000->c08b1000 (XEN) Boot stack: c08b1000->c08b2000 (XEN) TOTAL: c0000000->c0c00000 (XEN) ENTRY ADDRESS: c0100000 (XEN) Scrubbing DOM0 RAM: .done. (XEN) Initrd len 0x48c000, start at 0xc0410000 (XEN) Scrubbing Free RAM: ....done. (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input= to Xen). (XEN) spurious 8259A interrupt: IRQ7. (XEN) PCI: Found IRQ 12 for device 00:0a.0 (XEN) PCI: Found IRQ 9 for device 00:0c.0 (XEN) PCI: Sharing IRQ 9 with 00:0d.0 --Boundary-00=_bX+CCVfGcmgcOGN Content-Type: text/plain; name="dmesg.dom0" Content-Disposition: attachment; filename="dmesg.dom0" Content-Transfer-Encoding: quoted-printable Linux version 2.6.10-6-xen (geeko@buildhost) (gcc version 3.3.5 20050117 = (prerelease) (SUSE Linux)) #1 Thu Jan 20 21:16:25 UTC 2005 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000003e80000 (usable) 0MB HIGHMEM available. 62MB LOWMEM available. On node 0 totalpages: 16000 DMA zone: 16000 pages, LIFO batch:3 Normal zone: 0 pages, LIFO batch:1 HighMem zone: 0 pages, LIFO batch:1 DMI not present. Built 1 zonelists Kernel command line: root=3D/dev/hda3 vga=3D0x31a selinux=3D0 splash=3Dsi= lent resume=3D/dev/hda2 desktop elevator=3Das showopts Initializing CPU#0 PID hash table entries: 256 (order: 8, 4096 bytes) Xen reported: 451.064 MHz processor. Using tsc for high-res timesource Console: colour VGA+ 80x25 Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 55428k/64000k available (1996k kernel code, 8504k reserved, 606k = data, 152k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... = Ok. Calibrating delay loop... 901.12 BogoMIPS (lpj=3D4505600) Security Framework v1.0.0 initialized SELinux: Disabled at boot. Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: After generic identify, caps: 0387fbff 00000000 00000000 00000000 CPU: After vendor identify, caps: 0387fbff 00000000 00000000 00000000 CPU: L1 I cache: 16K, L1 D cache: 16K CPU: L2 cache: 512K CPU serial number disabled. CPU: After all inits, caps: 0383d3f1 00000000 00000000 00000040 CPU: Intel Pentium III (Katmai) stepping 02 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... disabled checking if image is initramfs...it isn't (bad gzip magic numbers); looks= like an initrd Freeing initrd memory: 4656k freed NET: Registered protocol family 16 PCI: Using configuration type Xen Linux Plug and Play Support v0.97 (c) Adam Belay xen_mem: Initialising balloon driver. PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) PCI: Probing PCI hardware (bus 01) PCI: Probing PCI hardware TC classifier action (bugs to netdev@oss.sgi.com cc hadi@cyberus.ca) pnp: the driver 'system' has been registered audit: initializing netlink socket (disabled) audit(1108074104.540:0): initialized Total HugeTLB memory allocated, 0 VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Initializing Cryptographic API Activating ISA DMA hang workarounds. vesafb: probe of vesafb0 failed with error -6 isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered elevator: using anticipatory as default io scheduler Floppy drive(s): fd0 is 1.44M floppy0: no floppy controllers found RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize loop: loaded (max 8 devices) Xen virtual console successfully installed as ttyS Event-channel device installed. Initialising Xen netif backend Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=3D= xx VP_IDE: IDE controller at PCI slot 0000:00:07.1 VP_IDE: chipset revision 6 VP_IDE: not 100% native mode: will probe irqs later VP_IDE: VIA vt82c596a (rev 06) IDE UDMA33 controller on pci0000:00:07.1 ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:pio, hdd:DMA Probing IDE interface ide0... hda: ST3120022A, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... hdd: ATAPI CDROM, ATAPI CD/DVD-ROM drive ide1 at 0x170-0x177,0x376 on irq 15 pnp: the driver 'ide' has been registered Probing IDE interface ide2... ide2: Wait for ready failed before probe ! Probing IDE interface ide3... ide3: Wait for ready failed before probe ! Probing IDE interface ide4... ide4: Wait for ready failed before probe ! Probing IDE interface ide5... ide5: Wait for ready failed before probe ! hda: max request size: 1024KiB hda: 234441648 sectors (120034 MB) w/2048KiB Cache, CHS=3D16383/255/63, U= DMA(33) hda: cache flushes supported hda: hda1 hda2 hda3 hda4 mice: PS/2 mouse device common for all mice input: AT Translated Set 2 keyboard on isa0060/serio0 md: md driver 0.90.1 MAX_MD_DEVS=3D256, MD_SB_DISKS=3D27 NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 4096 bind 8192) NET: Registered protocol family 1 NET: Registered protocol family 8 NET: Registered protocol family 20 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. RAMDISK: ext2 filesystem found at block 0 RAMDISK: Loading 4656KiB [1 disk] into ram disk... |=08/=08-=08\=08|=08/=08= -=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|= =08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08= \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/= =08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08= |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-= =08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08= /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\= =08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08= -=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|= =08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08= \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/= =08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08= |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-= =08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08= /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\= =08|=08/=08-=08\=08|=08/=08-=08done. VFS: Mounted root (ext2 filesystem). device-mapper: 4.3.0-ioctl (2004-09-30) initialised: dm-devel@redhat.com ReiserFS: hda3: found reiserfs format "3.6" with standard journal ReiserFS: hda3: using ordered data mode reiserfs: using flush barriers ReiserFS: hda3: journal params: device hda3, size 8192, journal first blo= ck 18, max trans len 1024, max batch 900, max commit age 30, max trans ag= e 30 ReiserFS: hda3: checking transaction log (hda3) ReiserFS: hda3: Using r5 hash to sort names VFS: Mounted root (reiserfs filesystem). Trying to move old root to /initrd ... failed Unmounting old root Trying to free ramdisk memory ... failed Freeing unused kernel memory: 152k freed Adding 409648k swap on /dev/hda2. Priority:42 extents:1 usbcore: registered new driver usbfs usbcore: registered new driver hub md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker http://www.scyld.com/network/ne2k-pci.html PCI: Obtained IRQ 12 for device 0000:00:0a.0 eth0: RealTek RTL-8029 found at 0xd800, IRQ 12, 00:00:E8:F0:89:0C. epic100.c:v1.11 1/7/2001 Written by Donald Becker http://www.scyld.com/network/epic100.html (unofficial 2.4.x kernel port, version 1.11+LK1.1.14+AC1.1.14, June 2, = 2004) PCI: Obtained IRQ 9 for device 0000:00:0c.0 epic100(0000:00:0c.0): MII transceiver #3 control 3400 status 7849. epic100(0000:00:0c.0): Autonegotiation advertising 01e1 link partner 0001= . eth1: SMSC EPIC/100 83c170 at 0xdc00, IRQ 9, 00:e0:29:88:a0:f4. Linux agpgart interface v0.100 (c) Dave Jones agpgart: Detected VIA Apollo Pro 133 chipset agpgart: Maximum main memory to use for agp memory: 26M agpgart: unable to get memory for graphics translation table. agpgart: agp_backend_initialize() failed. agpgart-via: probe of 0000:00:00.0 failed with error -12 hdd: ATAPI CD-ROM drive, 128kB Cache Uniform CD-ROM driver Revision: 3.20 SCSI subsystem initialized st: Version 20041025, fixed bufsize 32768, s/g segs 256 BIOS EDD facility v0.16 2004-Jun-25, 0 devices found EDD information not available. USB Universal Host Controller Interface driver v2.2 PCI: Obtained IRQ 10 for device 0000:00:07.2 uhci_hcd 0000:00:07.2: UHCI Host Controller uhci_hcd 0000:00:07.2: irq 10, io base 0xd400 uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1 usb usb1: Product: UHCI Host Controller usb usb1: Manufacturer: Linux 2.6.10-6-xen uhci_hcd usb usb1: SerialNumber: 0000:00:07.2 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ReiserFS: hda1: found reiserfs format "3.6" with standard journal ReiserFS: hda1: using ordered data mode reiserfs: using flush barriers ReiserFS: hda1: journal params: device hda1, size 8192, journal first blo= ck 18, max trans len 1024, max batch 900, max commit age 30, max trans ag= e 30 ReiserFS: hda1: checking transaction log (hda1) ReiserFS: hda1: Using r5 hash to sort names ReiserFS: dm-1: found reiserfs format "3.6" with standard journal ReiserFS: dm-1: using ordered data mode reiserfs: using flush barriers ReiserFS: dm-1: journal params: device dm-1, size 8192, journal first blo= ck 18, max trans len 1024, max batch 900, max commit age 30, max trans ag= e 30 ReiserFS: dm-1: checking transaction log (dm-1) ReiserFS: dm-1: Using r5 hash to sort names ReiserFS: dm-0: found reiserfs format "3.6" with standard journal ReiserFS: dm-0: using ordered data mode reiserfs: using flush barriers ReiserFS: dm-0: journal params: device dm-0, size 8192, journal first blo= ck 18, max trans len 1024, max batch 900, max commit age 30, max trans ag= e 30 ReiserFS: dm-0: checking transaction log (dm-0) ReiserFS: dm-0: Using r5 hash to sort names ReiserFS: dm-3: found reiserfs format "3.6" with standard journal ReiserFS: dm-3: using ordered data mode reiserfs: using flush barriers ReiserFS: dm-3: journal params: device dm-3, size 8192, journal first blo= ck 18, max trans len 1024, max batch 900, max commit age 30, max trans ag= e 30 ReiserFS: dm-3: checking transaction log (dm-3) ReiserFS: dm-3: Using r5 hash to sort names ReiserFS: dm-4: found reiserfs format "3.6" with standard journal ReiserFS: dm-4: using ordered data mode reiserfs: using flush barriers ReiserFS: dm-4: journal params: device dm-4, size 8192, journal first blo= ck 18, max trans len 1024, max batch 900, max commit age 30, max trans ag= e 30 ReiserFS: dm-4: checking transaction log (dm-4) ReiserFS: dm-4: Using r5 hash to sort names ReiserFS: dm-2: found reiserfs format "3.6" with standard journal ReiserFS: dm-2: using ordered data mode reiserfs: using flush barriers ReiserFS: dm-2: journal params: device dm-2, size 8192, journal first blo= ck 18, max trans len 1024, max batch 900, max commit age 30, max trans ag= e 30 ReiserFS: dm-2: checking transaction log (dm-2) ReiserFS: dm-2: Using r5 hash to sort names subfs 0.9 Real Time Clock Driver v1.12 NET: Registered protocol family 10 Disabled Privacy Extensions on device c0351740(lo) IPv6 over IPv4 tunneling driver eth1: no IPv6 routers present eth0: no IPv6 routers present Disabled Privacy Extensions on device c2496400(sit0) --Boundary-00=_bX+CCVfGcmgcOGN-- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click