From: Sander Eikelenboom Subject: Re: [Xen-users] Re: Scrubbing free ram Date: Fri, 23 Apr 2010 18:59:35 +0200 Message-ID: <605918992.20100423185935@eikelenboom.it> References: <20100423061412.GN1878@reaktio.net>, , <20100423080201.GP1878@reaktio.net> , <11010668714.20100423183749@eikelenboom.it> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: ilish ilish Cc: Xen Devel List-Id: xen-devel@lists.xenproject.org ok so it works fine with exactly the same kernel but booting without xen? Verifying to see if its build in, could be done by looking for the appropia= te .config file for your kernel version in /boot/ And doing something like cat .config-2.6.x | grep SKY2 > It works fine actually without booting Xen hypervisor. Actually I have se= veral sources those explain compiling Xen and kernel, since I am new in thi= s area I don't exactly know if compiled this driver or not. I am wondering = if it is possible to check now whether I compiled this driver. > =20 > Thank you so much=20 > =20 > Ilhan=20 > =20 >> Date: Fri, 23 Apr 2010 18:37:49 +0200 >> From: linux@eikelenboom.it >> To: ilishim@hotmail.com >> Subject: Re: [Xen-users] Re: [Xen-devel] Scrubbing free ram >>=20 >> Hello ilish, >>=20 >> When I google on the Marvell 88E8040, there seem to be some problems wit= h the sky2 driver even with more recent linux kernels. >> Does the network card work when you boot the kernel on bare metal (so wi= thout the xen hypervisor) ? >> If it doesnt it probably hasnt got to do with xen specifically ( are you= sure you have compiled this driver in (or as module)) ? >>=20 >> Another shot you have is trying one of the pvops kernels, see http://wik= i.xensource.com/xenwiki/XenParavirtOps how to get and compile one. >>=20 >> -- >> Sander >>=20 >> Friday, April 23, 2010, 5:59:47 PM, you wrote: >>=20 >>=20 >> > Hi, >> >=20 >> > This is the output when I tried lspci -v command in the terminal on my= Xen boot.=20 >> >=20 >> >=20 >> > debian:/home/b649# lspci -v >> > 00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory = Controller Hub (rev 07) >> > Subsystem: Sony Corporation Device 9033 >> > Flags: bus master, fast devsel, latency 0 >> > Capabilities: [e0] Vendor Specific Information >> > 00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series C= hipset Integrated Graphics Controller (rev 07) (prog-if 00 [VGA controller]) >> > Subsystem: Sony Corporation Device 9033 >> > Flags: bus master, fast devsel, latency 0, IRQ 11 >> > Memory at d0000000 (64-bit, non-prefetchable) [size=3D4M] >> > Memory at c0000000 (64-bit, prefetchable) [size=3D256M] >> > I/O ports at 9140 [size=3D8] >> > Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=3D= 0/0 Enable- >> > Capabilities: [d0] Power Management version 3 >> > 00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset = Integrated Graphics Controller (rev 07) >> > Subsystem: Sony Corporation Device 9033 >> > Flags: bus master, fast devsel, latency 0 >> > Memory at d0400000 (64-bit, non-prefetchable) [size=3D1M] >> > Capabilities: [d0] Power Management version 3 >> > 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHC= I Controller #4 (rev 03) (prog-if 00 [UHCI]) >> > Subsystem: Sony Corporation Device 9033 >> > Flags: bus master, medium devsel, latency 0, IRQ 17 >> > I/O ports at 90e0 [size=3D32] >> > Capabilities: [50] PCIe advanced features >> > Kernel driver in use: uhci_hcd >> > Kernel modules: uhci-hcd >> > 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHC= I Controller #5 (rev 03) (prog-if 00 [UHCI]) >> > Subsystem: Sony Corporation Device 9033 >> > Flags: bus master, medium devsel, latency 0, IRQ 21 >> > I/O ports at 90c0 [size=3D32] >> > Capabilities: [50] PCIe advanced features >> > Kernel driver in use: uhci_hcd >> > Kernel modules: uhci-hcd >> > 00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHC= I Controller #6 (rev 03) (prog-if 00 [UHCI]) >> > Subsystem: Sony Corporation Device 9033 >> > Flags: bus master, medium devsel, latency 0, IRQ 19 >> > I/O ports at 90a0 [size=3D32] >> > Capabilities: [50] PCIe advanced features >> > Kernel driver in use: uhci_hcd >> > Kernel modules: uhci-hcd >> > 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EH= CI Controller #2 (rev 03) (prog-if 20 [EHCI]) >> > Subsystem: Sony Corporation Device 9033 >> > Flags: bus master, medium devsel, latency 0, IRQ 19 >> > Memory at d5604c00 (32-bit, non-prefetchable) [size=3D1K] >> > Capabilities: [50] Power Management version 2 >> > Capabilities: [58] Debug port: BAR=3D1 offset=3D00a0 >> > Capabilities: [98] PCIe advanced features >> > Kernel driver in use: ehci_hcd >> > Kernel modules: ehci-hcd >> > 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio = Controller (rev 03) >> > Subsystem: Sony Corporation Device 9033 >> > Flags: bus master, fast devsel, latency 0, IRQ 22 >> > Memory at d5600000 (64-bit, non-prefetchable) [size=3D16K] >> > Capabilities: [50] Power Management version 2 >> > Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=3D= 0/0 Enable- >> > Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00 >> > Capabilities: [100] Virtual Channel >> > Capabilities: [130] Root Complex Link >> > Kernel driver in use: HDA Intel >> > Kernel modules: snd-hda-intel >> > 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express= Port 1 (rev 03) (prog-if 00 [Normal decode]) >> > Flags: bus master, fast devsel, latency 0 >> > Bus: primary=3D00, secondary=3D01, subordinate=3D01, sec-latency=3D0 >> > I/O behind bridge: 00008000-00008fff >> > Memory behind bridge: d4100000-d54fffff >> > Capabilities: [40] Express Root Port (Slot+), MSI 00 >> > Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=3D= 0/0 Enable- >> > Capabilities: [90] Subsystem: Sony Corporation Device 9033 >> > Capabilities: [a0] Power Management version 2 >> > Capabilities: [100] Virtual Channel >> > Capabilities: [180] Root Complex Link >> > Kernel modules: shpchp >> > 00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express= Port 2 (rev 03) (prog-if 00 [Normal decode]) >> > Flags: bus master, fast devsel, latency 0 >> > Bus: primary=3D00, secondary=3D02, subordinate=3D03, sec-latency=3D0 >> > I/O behind bridge: 00007000-00007fff >> > Memory behind bridge: d2d00000-d40fffff >> > Capabilities: [40] Express Root Port (Slot+), MSI 00 >> > Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=3D= 0/0 Enable- >> > Capabilities: [90] Subsystem: Sony Corporation Device 9033 >> > Capabilities: [a0] Power Management version 2 >> > Capabilities: [100] Virtual Channel >> > Capabilities: [180] Root Complex Link >> > Kernel modules: shpchp >> > 00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express= Port 3 (rev 03) (prog-if 00 [Normal decode]) >> > Flags: bus master, fast devsel, latency 0 >> > Bus: primary=3D00, secondary=3D04, subordinate=3D04, sec-latency=3D0 >> > I/O behind bridge: 00006000-00006fff >> > Memory behind bridge: d1900000-d2cfffff >> > Capabilities: [40] Express Root Port (Slot+), MSI 00 >> > Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=3D= 0/0 Enable- >> > Capabilities: [90] Subsystem: Sony Corporation Device 9033 >> > Capabilities: [a0] Power Management version 2 >> > Capabilities: [100] Virtual Channel >> > Capabilities: [180] Root Complex Link >> > Kernel modules: shpchp >> > 00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express= Port 4 (rev 03) (prog-if 00 [Normal decode]) >> > Flags: bus master, fast devsel, latency 0 >> > Bus: primary=3D00, secondary=3D05, subordinate=3D05, sec-latency=3D0 >> > I/O behind bridge: 00005000-00005fff >> > Memory behind bridge: d0500000-d18fffff >> > Capabilities: [40] Express Root Port (Slot+), MSI 00 >> > Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=3D= 0/0 Enable- >> > Capabilities: [90] Subsystem: Sony Corporation Device 9033 >> > Capabilities: [a0] Power Management version 2 >> > Capabilities: [100] Virtual Channel >> > Capabilities: [180] Root Complex Link >> > Kernel modules: shpchp >> > 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHC= I Controller #1 (rev 03) (prog-if 00 [UHCI]) >> > Subsystem: Sony Corporation Device 9033 >> > Flags: bus master, medium devsel, latency 0, IRQ 20 >> > I/O ports at 9080 [size=3D32] >> > Capabilities: [50] PCIe advanced features >> > Kernel driver in use: uhci_hcd >> > Kernel modules: uhci-hcd >> > 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHC= I Controller #2 (rev 03) (prog-if 00 [UHCI]) >> > Subsystem: Sony Corporation Device 9033 >> > Flags: bus master, medium devsel, latency 0, IRQ 19 >> > I/O ports at 9060 [size=3D32] >> > Capabilities: [50] PCIe advanced features >> > Kernel driver in use: uhci_hcd >> > Kernel modules: uhci-hcd >> > 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHC= I Controller #3 (rev 03) (prog-if 00 [UHCI]) >> > Subsystem: Sony Corporation Device 9033 >> > Flags: bus master, medium devsel, latency 0, IRQ 18 >> > I/O ports at 9040 [size=3D32] >> > Capabilities: [50] PCIe advanced features >> > Kernel driver in use: uhci_hcd >> > Kernel modules: uhci-hcd >> > 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EH= CI Controller #1 (rev 03) (prog-if 20 [EHCI]) >> > Subsystem: Sony Corporation Device 9033 >> > Flags: bus master, medium devsel, latency 0, IRQ 20 >> > Memory at d5604800 (32-bit, non-prefetchable) [size=3D1K] >> > Capabilities: [50] Power Management version 2 >> > Capabilities: [58] Debug port: BAR=3D1 offset=3D00a0 >> > Capabilities: [98] PCIe advanced features >> > Kernel driver in use: ehci_hcd >> > Kernel modules: ehci-hcd >> > 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)= (prog-if 01 [Subtractive decode]) >> > Flags: bus master, fast devsel, latency 0 >> > Bus: primary=3D00, secondary=3D06, subordinate=3D06, sec-latency=3D32 >> > Memory behind bridge: d5500000-d55fffff >> > Capabilities: [50] Subsystem: Sony Corporation Device 9033 >> > 00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (= rev 03) >> > Subsystem: Sony Corporation Device 9033 >> > Flags: bus master, medium devsel, latency 0 >> > Capabilities: [e0] Vendor Specific Information >> > Kernel modules: iTCO_wdt >> > 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Control= ler (rev 03) (prog-if 01 [AHCI 1.0]) >> > Subsystem: Sony Corporation Device 9033 >> > Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 1279 >> > I/O ports at 9130 [size=3D8] >> > I/O ports at 9120 [size=3D4] >> > I/O ports at 9110 [size=3D8] >> > I/O ports at 9100 [size=3D4] >> > I/O ports at 9020 [size=3D32] >> > Memory at d5604000 (32-bit, non-prefetchable) [size=3D2K] >> > Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=3D= 0/4 Enable+ >> > Capabilities: [70] Power Management version 3 >> > Capabilities: [a8] SATA HBA >> > Capabilities: [b0] PCIe advanced features >> > Kernel driver in use: ahci >> > Kernel modules: ahci >> > 00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller= (rev 03) >> > Subsystem: Sony Corporation Device 9033 >> > Flags: medium devsel, IRQ 19 >> > Memory at d5605000 (64-bit, non-prefetchable) [size=3D256] >> > I/O ports at 9000 [size=3D32] >> > Kernel driver in use: i801_smbus >> > Kernel modules: i2c-i801 >> > 01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI= -E Fast Ethernet Controller (rev 12) >> > Subsystem: Sony Corporation Device 9033 >> > Flags: bus master, fast devsel, latency 0, IRQ 11 >> > Memory at d4100000 (64-bit, non-prefetchable) [size=3D16K] >> > I/O ports at 8000 [size=3D256] >> > Capabilities: [48] Power Management version 3 >> > Capabilities: [5c] Message Signalled Interrupts: Mask- 64bit+ Queue=3D= 0/0 Enable- >> > Capabilities: [c0] Express Legacy Endpoint, MSI 00 >> > Capabilities: [100] Advanced Error Reporting >> > Capabilities: [130] Device Serial Number 00-1d-ba-ff-ff-26-a8-b9 >> > 04:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100 >> > Subsystem: Intel Corporation Device 1301 >> > Flags: bus master, fast devsel, latency 0, IRQ 11 >> > Memory at d1900000 (64-bit, non-prefetchable) [size=3D8K] >> > Capabilities: [c8] Power Management version 3 >> > Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=3D= 0/0 Enable- >> > Capabilities: [e0] Express Endpoint, MSI 00 >> > Capabilities: [100] Advanced Error Reporting >> > Capabilities: [140] Device Serial Number 36-b3-83-ff-ff-5d-21-00 >> > 06:03.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller= (rev 05) (prog-if 10 [OHCI]) >> > Subsystem: Sony Corporation Device 9033 >> > Flags: bus master, medium devsel, latency 32, IRQ 17 >> > Memory at d5500000 (32-bit, non-prefetchable) [size=3D2K] >> > Capabilities: [dc] Power Management version 2 >> > Kernel driver in use: ohci1394 >> > Kernel modules: ohci1394 >> > 06:03.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro H= ost Adapter (rev 22) >> > Subsystem: Sony Corporation Device 9033 >> > Flags: bus master, medium devsel, latency 32, IRQ 16 >> > Memory at d5500900 (32-bit, non-prefetchable) [size=3D256] >> > Capabilities: [80] Power Management version 2 >> > Kernel driver in use: sdhci >> > Kernel modules: sdhci >> > 06:03.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host A= dapter (rev 12) >> > Subsystem: Sony Corporation Device 9033 >> > Flags: bus master, medium devsel, latency 32, IRQ 4 >> > Memory at d5500800 (32-bit, non-prefetchable) [size=3D256] >> > Capabilities: [80] Power Management version 2 >> >=20 >>=20 >> >=20 >> >> Date: Fri, 23 Apr 2010 11:02:01 +0300 >> >> From: pasik@iki.fi >> >> To: ilishim@hotmail.com >> >> CC: xen-users@lists.xensource.com >> >> Subject: Re: [Xen-users] Re: [Xen-devel] Scrubbing free ram >> >>=20 >> >> On Fri, Apr 23, 2010 at 07:28:49AM +0000, ilish ilish wrote: >> >> > Hi again, >> >> > Thank you very much. First there is no specific reason for >> >> > using 2.6.29-xen-r4. And I will try lspci -v, and send you the outp= ut of >> >> > that. >> >> > By the way I am new in this area and actually do not know pvops dom0 >> >> > kernel is. Is this a specific kernel version? >> >>=20 >> >> pvops dom0 is the default dom0 kernel in Xen 4.0.0. >> >>=20 >> >> See these wiki pages: >> >> - http://wiki.xensource.com/xenwiki/Xen4.0 >> >> - http://wiki.xensource.com/xenwiki/XenDom0Kernels >> >> - http://wiki.xensource.com/xenwiki/XenParavirtOps >> >>=20 >> >> -- Pasi >> >>=20 >> >> > Ilhan >> >> > > Date: Fri, 23 Apr 2010 10:03:05 +0300 >> >> > > From: pasik@iki.fi >> >> > > To: ilishim@hotmail.com >> >> > > CC: xen-users@lists.xensource.com >> >> > > Subject: Re: [Xen-users] Re: [Xen-devel] Scrubbing free ram >> >> > > >> >> > > On Fri, Apr 23, 2010 at 06:52:42AM +0000, ilish ilish wrote: >> >> > > > Hi Pasi, >> >> > > > Thank you very much for your concern about my issue. After send= ing >> >> > email >> >> > > > to xen-devel, I switch to Debian 5 to install Xen, I do not hav= e any >> >> > > > problems but I am still very curious about the problem. Since I >> >> > installed >> >> > > > Debian now, I just ha! ve this part of my grub.conf entry: >> >> > > > title pv_ops dom0-test (2.6.29) with serial console >> >> > > > root (hd0,2) >> >> > > > kernel /boot/xen-4.0.0-rc6.gz dom0_mem=3D1024M loglvl=3Dall >> >> > > > guest_loglvl=3Dall sync_console console_to_ring com1=3D115200,8= n1 >> >> > console=3Dcom1 >> >> > > > lapic=3Ddebug apic_verbosity=3Ddebug apic=3Ddebug iommu=3Doff >> >> > > > module /boot/vmlinuz-2.6.29-xen-r4 ro >> >> > > > root=3DUUID=3De173017f-7b9a-4111-acf7-b9f0d02a8936 console=3Dhv= c0 >> >> > > > earlyprintk=3Dxen nomodeset! initcall_debug debug loglevel=3D10 >> >> > > > module /boot/initrd-2.6.29-xen-r4.img >> >> > > > Could you please help me about my issue? >> >> > > >> >> > > >> >> > > Please update to 4.0.0 final, or even 4.0.1-rc version.. >> >> > > many bugs fixed after 4.0.0-rc6. >> >> > > >> >> > > > I also want to ask you something about Debian 5+Xen 4.0 . I boo= ted >> >> > with >> >> > > > Xen in my Debian installe! d machine. However there is a proble= m about >> >> > the >> >> > > > eth0. Xen 4.0 did not recognize my eth0. I do not know what to = do >> >> > about >> >> > > > this. Do you have any idea about this? >> >> > > > Thank you again very much for your time and help. >> >> > > > >> >> > > >> >> > > Xen doesn't have drivers for hardware/nics. It's the Linux dom0 k= ernel >> >> > that has the NIC driver. >> >> > > Does "lspci -v" list the nic (when booted to Xen dom0)? >> >> > > >> >> > > Also please paste your dmesg. >> >> > > >> >> > > Also is there a specific reason you're using 2.6.29-xen-r4 (xenli= nux) >> >> > kernel >> >> > > instead of the pvops dom0 kernel? >> >> > > >> >> > > -- Pasi >> >> > > >> >> > > > Ilhan >> >> > > > > Date: Fri, 23 Apr 2010 09:14:12 +0300 >> >> > > > > From: pasik@iki.fi >> >> > > > > To: ilishim@hotmail.com >> >> > > > > CC: xen-devel@lists.xensource.com; xen-users@lists.xensource.= com >> >> > > > > Subject: [Xen-users] Re: [Xen-devel] Scrubbing free ram >> >> > > > > >> >> > > > > On Thu, Apr 22, 2010 a! t 09:54:30PM +0000, ilish ilish wrote: >> >> > > > > > Hi everyone, >> >> > > > > > >> >> > > > > > I am working on a project whose goal is evaluating the pe! >> >> > rformance >> >> > > > of the >> >> > > > > > vTPM Manager. For this project I am using Xen 4.1, Kernel >> >> > 2.6.31.13 >> >> > > > with >> >> > > > > > Fedora11. I I finished all installation and configuration p= arts. >> >> > Now I >> >> > > > > > need to boot the system with Xen but while booting, it is f= reezing >> >> > at >> >> > > > the >> >> > > > > > step "scrubbing free ram". What can be cause this problem a= nd how >> >> > can >> >> > > > I >> >> > > > > > figure it out? I really appreciate if you can help me. >> >> > > > > > >> >> > > > > >> >> > > > > Please paste your grub.conf. >> >> > > > > >> >> > > > > Also please check this wiki page: >> >> > > > > http://wiki.xensource.com/xenwiki/XenSerialConsol! e >> >> > > > > >> >> > > > > and: >> >> > > > > http://wiki.xensource.com/xenwiki/XenParavirtOps >> >> > > > > >> >> > > > > -- Pasi >> >> > > > > >> >> > > > > >> >> > > >> >> >=20 >> >> > -------------------------------------------------------------------= ------- >> >> >=20 >> >> > Hotmail: Microsoft*un g=C3=BC=C3=A7l=C3=BC =C3=9DSTENMEYEN POSTA ko= rumas=C3=BD ile g=C3=BCvenilir >> >> > e-posta. [1]Hemen kaydolun. >> >> >=20 >> >> > References >> >> >=20 >> >> > Visible links >> >> > 1. https://signup.live.com/signup.aspx?id=3D60969 >> >=20 >> > _________________________________________________________________ >> > Hareket Halindeyken E-postan=C4=B1z ve =C3=87ok Daha Fazlas=C4=B1. Win= dows Live Hotmail'i =C3=9Ccretsiz Edinin. >> > https://signup.live.com/signup.aspx?id=3D60969 >>=20 >>=20 >>=20 >> --=20 >> Best regards, >> Sander mailto:linux@eikelenboom.it >>=20 > =20 > _________________________________________________________________ > Hotmail: Microsoft=E2=80=99un g=C3=BC=C3=A7l=C3=BC =C4=B0STENMEYEN POSTA = korumas=C4=B1 ile g=C3=BCvenilir e-posta. > https://signup.live.com/signup.aspx?id=3D60969 --=20 Best regards, Sander mailto:linux@eikelenboom.it