[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] XEN 4.1.2+Centos 6.2+Kernel 3.X



>> >> >> <dgonzalezh@xxxxxxxxx>
>> >> >> wrote:
>> >> >> > Yo, Teck, nice name heh,
>> >> >>
>> >> >> Grrr... My Surname is Giam and Name is Teck Choon :p
>
>
> You're from?.

Singapore :)

>> Have you try the guide posted and boot into xen-kernel-2.6.32.56-0
>> first?  If that is successfully, then you can follow the guide to
>> create the v3.0 or v3.1 or v3.2 kernels repo then enable it and using
>> yum install choon-kernel to install?  Would appreciate feedback about
>> the failure or success ;)
>
>
> Yup, in fact that was what I did to install the kernel, but it kept
> downloading 2.6.32, so I went ahead and d/loaded 3.1 and 3.2 and installed
> them via rpm -uvh.

It might take several minutes if your server is from the location far
from Singapore :p

If you mean rpm -Uvh for any kernel, you will have problems.  Please
use rpm -ivh for any kernels please.

> I'm guessing these should be changed or modified to use 3.x series kernels,
> am I wrong.
>
> # choonrpmsrepoctl create choonrpms-kernels
> # choonrpmsrepoctl enable choonrpms-kernels

You are not wrong.  Example if you want to install xen-4.1 with kernel v3.2:

# choonrpmsrepoctl enable choonrpms
# choonrpmsrepoctl create choonrpms-xen-4.1
# choonrpmsrepoctl enable choonrpms-xen-4.1
# choonrpmsrepoctl create choonrpms-kernels-3.2
# choonrpmsrepoctl enable choonrpms-kernels-3.2
# yum -y install xen choon-kernel

Skip the "create choonrpms-kernels and enable choonrpms-kernels" since
you want to use v3.2 for example.

Here is one of my server output running xen-4.1 latest changeset and
choon-kernel-3.2.4:

# rpm -q --queryformat '%{version}-%{release}\n' xen
4.1.3-23224.0.choon.sl6

# xl info
host                   : xen08.choon.net
release                : 3.2.4-0.choon.sl6.x86_64
version                : #1 SMP Sat Feb 4 10:27:59 SGT 2012
machine                : x86_64
nr_cpus                : 8
nr_nodes               : 1
cores_per_socket       : 4
threads_per_core       : 2
cpu_mhz                : 3192
hw_caps                :
bfebfbff:28100800:00000000:00003f40:11bae3ff:00000000:00000001:00000000
virt_caps              : hvm
total_memory           : 16374
free_memory            : 15681
free_cpus              : 0
xen_major              : 4
xen_minor              : 1
xen_extra              : .3-rc1-pre
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
xen_commandline        : dom0_mem=512M loglvl=all guest_loglvl=all
cpuidle=0 cpufreq=none
cc_compiler            : gcc version 4.4.5 20110214 (Red Hat 4.4.5-6) (GCC)
cc_compile_by          : mockbuild
cc_compile_domain      : choon.net
cc_compile_date        : Fri Feb  3 04:43:54 SGT 2012
xend_config_format     : 4

# uname -r
3.2.4-0.choon.sl6.x86_64

>
> I also found something about that nice grub parameter I didn't know and it's
> the "fallback=#" parameter which on the locked server I didn't use, but now
> i'lkl reboot that machine and check the output

fallback option is there if got problem to boot the default=# kernel.
So never put fallback=# and default=# to your untest kernel.  In fact,
to test a kernel I will never put that kernel in default=# not
fallback=# lines.

Example:

default=1
fallback=1
title 1st custom kernel ... ...

title 1st stock kernel entry in grub.conf ... ...

title 2nd stock kernel ... ...

your default=1 here refers to the second title line in grub.conf which
is 1st stock kernel.  If you put default=0 then it refers to 1st
custom kernel (first title line from top to bottom).

So how to test without setting default boot kernel for custom kernel
as above?  Very simple:

Issue the below command as root:
# echo "savedefault --default=0 --once" | grub --no-floppy --batch

Then reboot. The above command temp. set default=0 only once in grub
and if the server never comes back online, you can ask the data center
tech. to reboot then it will boot to your default=1 kernel.

>> Thanks for it in advance.  Please let me know your network ethernet
>> information (lspci -vvv output and lsmod output) as I am afraid it may
>> be an issue.  Sometimes, if a board has two same onboard ethernet and
>> when you boot stock kernel you get the order of eth0 as HW ... 01 and
>> eth1 as HW ... 02 then when you boot into custom kernel you get the
>> order being switched.  I encountered it before and checked the udev
>> rules file to make sure (/etc/udev/rules.d/70-persistent-net.rules) is
>> correct.
>
>
> Network doesn't seem to be an issue, I have that server with two onborad
> NICs which are the same but they're connected to different switches and on
> two different class C networks, I set up using C6.2 nifcfg-ethX scripts and
> set them up as bridged xenbr0 and xenbr1. They both work on that server with
> no issue at all.

Ok.  Just to make sure.

>
> the HP ML115 has only one on board NIC which is also a bridge.
>
> Hrere's the outoput you requested but from the WORKING server, as I get the
> HP ML115 rebooted I-ll get back to you to show you its outputs.
>
> # lspci -vv

SNAP

> 02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5721 Gigabit
> Ethernet PCI Express (rev 21)
>         Subsystem: ASUSTeK Computer Inc. Device 8149
>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR+ FastB2B- DisINTx+
>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
>         Latency: 0, Cache Line Size: 64 bytes
>         Interrupt: pin A routed to IRQ 283
>         Region 0: Memory at f57f0000 (64-bit, non-prefetchable) [size=64K]
>         Capabilities: [48] Power Management version 2
>                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot+,D3cold+)
>                 Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
>         Capabilities: [50] Vital Product Data
>                 Product Name: Broadcom NetXtreme Gigabit Ethernet Controller
>                 Read-only fields:
>                         [PN] Part number: BCM95721
>                         [EC] Engineering changes: 106679-15
>                         [SN] Serial number: 0123456789
>                         [MN] Manufacture ID: 31 34 65 34
>                         [RV] Reserved: checksum bad, 28 byte(s) reserved
>                 Read/write fields:
>                         [YA] Asset tag: XYZ01234567
>                         [RW] Read-write area: 107 byte(s) free
>                 End
>         Capabilities: [58] MSI: Enable+ Count=1/8 Maskable- 64bit+
>                 Address: 00000000fee0100c  Data: 4131
>         Capabilities: [d0] Express (v1) Endpoint, MSI 00
>                 DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us,
> L1 unlimited
>                         ExtTag+ AttnBtn- AttnInd- PwrInd- RBE- FLReset-
>                 DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
> Unsupported-
>                         RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
>                         MaxPayload 128 bytes, MaxReadReq 4096 bytes
>                 DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+
> TransPend-
>                 LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1,
> Latency L0 <4us, L1 <64us
>                         ClockPM- Surprise- LLActRep- BwNot-
>                 LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain-
> CommClk-
>                         ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>                 LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+
> DLActive- BWMgmt- ABWMgmt-
>         Capabilities: [100] Advanced Error Reporting
>                 UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt-
> RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
>                 UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt-
> RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
>                 UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt-
> RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
>                 CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout-
> NonFatalErr-
>                 CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout-
> NonFatalErr-
>                 AERCap: First Error Pointer: 14, GenCap+ CGenEn- ChkCap+
> ChkEn-
>         Capabilities: [13c] Virtual Channel <?>
>         Capabilities: [160] Device Serial Number 00-1e-8c-ff-fe-51-61-c0
>         Capabilities: [16c] Power Budgeting <?>
>         Kernel driver in use: tg3
>         Kernel modules: tg3
>
> 03:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5721 Gigabit
> Ethernet PCI Express (rev 21)
>         Subsystem: ASUSTeK Computer Inc. Device 8149
>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR+ FastB2B- DisINTx+
>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
>         Latency: 0, Cache Line Size: 64 bytes
>         Interrupt: pin A routed to IRQ 284
>         Region 0: Memory at f58f0000 (64-bit, non-prefetchable) [size=64K]
>         Expansion ROM at <ignored> [disabled]
>         Capabilities: [48] Power Management version 2
>                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot+,D3cold+)
>                 Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
>         Capabilities: [50] Vital Product Data
>                 Product Name: Broadcom NetXtreme Gigabit Ethernet Controller
>                 Read-only fields:
>                         [PN] Part number: BCM95721
>                         [EC] Engineering changes: 106679-15
>                         [SN] Serial number: 0123456789
>                         [MN] Manufacture ID: 31 34 65 34
>                         [RV] Reserved: checksum bad, 28 byte(s) reserved
>                 Read/write fields:
>                         [YA] Asset tag: XYZ01234567
>                         [RW] Read-write area: 107 byte(s) free
>                 End
>         Capabilities: [58] MSI: Enable+ Count=1/8 Maskable- 64bit+
>                 Address: 00000000fee0100c  Data: 4139
>         Capabilities: [d0] Express (v1) Endpoint, MSI 00
>                 DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us,
> L1 unlimited
>                         ExtTag+ AttnBtn- AttnInd- PwrInd- RBE- FLReset-
>                 DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
> Unsupported-
>                         RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
>                         MaxPayload 128 bytes, MaxReadReq 4096 bytes
>                 DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+
> TransPend-
>                 LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1,
> Latency L0 <4us, L1 <64us
>                         ClockPM- Surprise- LLActRep- BwNot-
>                 LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain-
> CommClk-
>                         ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>                 LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+
> DLActive- BWMgmt- ABWMgmt-
>         Capabilities: [100] Advanced Error Reporting
>                 UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt-
> RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
>                 UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt-
> RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
>                 UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt-
> RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
>                 CESta:  RxErr+ BadTLP- BadDLLP- Rollover- Timeout-
> NonFatalErr-
>                 CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout-
> NonFatalErr-
>                 AERCap: First Error Pointer: 14, GenCap+ CGenEn- ChkCap+
> ChkEn-
>         Capabilities: [13c] Virtual Channel <?>
>         Capabilities: [160] Device Serial Number 00-1e-8c-ff-fe-51-63-b3
>         Capabilities: [16c] Power Budgeting <?>
>         Kernel driver in use: tg3
>         Kernel modules: tg3

Ok so it is tg3 driver huh... this one is compiled as module.  At
least I can confirm in v3.2 kernel.

> 04:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1064ET
> PCI-Express Fusion-MPT SAS (rev 04)
>         Subsystem: ASUSTeK Computer Inc. Device 82c3
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR+ FastB2B- DisINTx-
>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
>         Latency: 0, Cache Line Size: 64 bytes
>         Interrupt: pin A routed to IRQ 19
>         Region 0: I/O ports at c000 [size=256]
>         Region 1: Memory at f5dfc000 (64-bit, non-prefetchable) [size=16K]
>         Region 3: Memory at f5de0000 (64-bit, non-prefetchable) [size=64K]
>         Expansion ROM at f5a00000 [disabled] [size=2M]
>         Capabilities: [50] Power Management version 2
>                 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
>                 Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
>         Capabilities: [68] Express (v1) Endpoint, MSI 00
>                 DevCap: MaxPayload 4096 bytes, PhantFunc 0, Latency L0s
> <64ns, L1 <1us
>                         ExtTag+ AttnBtn- AttnInd- PwrInd- RBE- FLReset-
>                 DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
> Unsupported-
>                         RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
>                         MaxPayload 128 bytes, MaxReadReq 512 bytes
>                 DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr-
> TransPend-
>                 LnkCap: Port #0, Speed 2.5GT/s, Width x8, ASPM L0s L1,
> Latency L0 <64ns, L1 <1us
>                         ClockPM- Surprise- LLActRep- BwNot-
>                 LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain-
> CommClk-
>                         ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>                 LnkSta: Speed 2.5GT/s, Width x8, TrErr- Train- SlotClk-
> DLActive- BWMgmt- ABWMgmt-
>         Capabilities: [98] MSI: Enable- Count=1/1 Maskable- 64bit+
>                 Address: 0000000000000000  Data: 0000
>         Capabilities: [b0] MSI-X: Enable- Count=1 Masked-
>                 Vector table: BAR=1 offset=00002000
>                 PBA: BAR=1 offset=00003000
>         Capabilities: [100] Advanced Error Reporting
>                 UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt-
> RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
>                 UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt-
> RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
>                 UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt-
> RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
>                 CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout-
> NonFatalErr-
>                 CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout-
> NonFatalErr-
>                 AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+
> ChkEn-
>         Kernel driver in use: mptsas
>         Kernel modules: mptsas

mptsas is compiled as module as well at least in v3.2 kernel.

SNAP

> Thank you for taking the toine to read and answer.

Your welcome.  I hope you are testing it with a test server fresh
installed though :p

Thanks.

Kindest regards,
Giam Teck Choon


>
> --
> David Gonzalez H.
> Bogota: +(57-1)289-1168
> Medellin: +(57-1)247-0985
> Cel: +(57)315-838-8326
> DGHVoIP - OPEN SOURCE TELEPHONY SOLUTIONS
> http://www.dghvoip.com/
> Proud Linux User #294661

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.