official centos 5 kernel... how? :D
EvolutionCrazy
06.10.2008, 21.34
ouch
Not work for me
Hardwar info:
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 662 Host (rev 01)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media IO] (rev 36)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
00:05.0 IDE interface: Silicon Integrated Systems [SiS] SATA (rev 01)
00:1f.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter (rev 04)
EvolutionCrazy
06.10.2008, 12.50
last thing about this that you might be able to explain:
why the OVH netboot kernel do not work on a clean centos install done WITHOUT LVM (I thought LVM was the only showstopper for your images)?
Codice:
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 30013 240975000 83 Linux
/dev/sda3 30014 30286 2192872+ 82 Linux swap / Solaris
/dev/sda4 30287 30401 923737+ 5 Extended
/dev/sda5 30287 30401 923706 83 Linux
after seeing the other way (ovh kernels not able to boot via PXE) on an official centos install I started to doubt that the problem was only with the initrd image.....
Thank you for you efforts
greetings
EvolutionCrazy
06.10.2008, 12.46
Originariamente Scritto da
kro
EvolutionCrazy wrote:
> and please, if this is "the solution" please state in the OS
> descriptions when ordering that the user WILL NOT get a centos operating
> system, WILL NOT be able to use an official centos kernel........
No. You are able to do it, you only have to take care of it yourself,
and you have to do it right.
I hope someone in ALL the ovh international forums will be able someday to do that... as for now I've yet to find someone able to "fix" the image you install as "centos"...
the only success we see around are accomplished doing a clean install....
so I don't think I'm the only one not able to get an official kernel on an ovh box
EvolutionCrazy wrote:
> and please, if this is "the solution" please state in the OS
> descriptions when ordering that the user WILL NOT get a centos operating
> system, WILL NOT be able to use an official centos kernel........
No. You are able to do it, you only have to take care of it yourself,
and you have to do it right.
EvolutionCrazy
06.10.2008, 11.20
and please, if this is "the solution" please state in the OS descriptions when ordering that the user WILL NOT get a centos operating system, WILL NOT be able to use an official centos kernel........
EvolutionCrazy
06.10.2008, 11.19
Originariamente Scritto da
kro
My suggestion is: use the OVH kernel. It works.
or do a clean centos install....
http://forum.ovh.it/showthread.php?t=154
JML.it wrote:
> The server doesn't go back Kro, your (standard) guide don't work.
It isn't a guide, just a list of hints.
> Ovh support for solution? But without suggestion, only the definitive
> solution please.
My suggestion is: use the OVH kernel. It works.
EvolutionCrazy
06.10.2008, 11.14
grubby take care of everything... even lilo afaik....
http://linux.die.net/man/8/grubby
grubby - command line tool for configuring grub, lilo, and elilo
in fact "/BOOT/BOOT.B" is specified in YOURS /etc/lilo.conf
the ones that come's preloaded in the box
PS: centos have no problem at all booting from lilo... I got 2boxes with centos5 and lilo... both running official centos kernels with no problems
EvolutionCrazy wrote:
>> GRUBBY: UNABLE TO OPEN /BOOT/BOOT.B: NO SUCH FILE OR DIRECTORY
GRUB is not installed. We rely on lilo, while CentOS' default is GRUB.
That only means, you have to take care of the bootloader's configuration
yourself, or install grub if you want CentOS to take care of it.
EvolutionCrazy
05.10.2008, 23.29
and now it's time for PXE install
http://img117.imageshack.us/img117/8987/20986211xq2.png
e centos fu...
alla faccia di initrd e casini che mi proponevano!!!!
valà valà voi e le vostre immagini prese da chissa dove!!!
seguite questa procedura:
http://damaestro.us/howtos/installin...emote-location
gl hf
(con lilo non va ... si pianta al boot... bisogna farla con grub...)
(i kernel OVH netboot poi vanno giu' per il cesso... )
centos <3
in 3 giorni avro' reinstallato 50volte... e mi hanno persino sostituito un hard disk... ma adesso c'e' una centos vera!!!!!!!!!!!!!!
Codice:
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: CentOS
Description: CentOS release 5.2 (Final)
Release: 5.2
Codename: Final
Linux ns3.****.org 2.6.18-92.1.13.el5 #1 SMP Wed Sep 24 19:33:52 EDT 2008 i686 i686 i386 GNU/Linux
Loading "fastestmirror" plugin
repo id repo name status
addons CentOS-5 - Addons enabled
base CentOS-5 - Base enabled
c5-media CentOS-5 - Media disabled
centosplus CentOS-5 - Plus disabled
extras CentOS-5 - Extras enabled
updates CentOS-5 - Updates enabled
Codice:
lsmod
Module Size Used by
autofs4 24517 2
hidp 23105 2
rfcomm 42457 0
l2cap 29505 10 hidp,rfcomm
bluetooth 53797 5 hidp,rfcomm,l2cap
sunrpc 144893 1
ip_conntrack_netbios_ns 6977 0
ipt_REJECT 9537 1
xt_state 6209 2
ip_conntrack 53025 2 ip_conntrack_netbios_ns,xt_state
nfnetlink 10713 1 ip_conntrack
iptable_filter 7105 1
ip_tables 17029 1 iptable_filter
ip6t_REJECT 9409 1
xt_tcpudp 7105 10
ip6table_filter 6849 1
ip6_tables 18053 1 ip6table_filter
x_tables 17349 6 ipt_REJECT,xt_state,ip_tables,ip6t_REJECT,xt_tcpudp,ip6_tables
ipv6 258145 15 ip6t_REJECT
xfrm_nalgo 13765 1 ipv6
crypto_api 11969 1 xfrm_nalgo
cpufreq_ondemand 12493 2
dm_mirror 29253 0
dm_multipath 22089 0
dm_mod 61661 2 dm_mirror,dm_multipath
video 21193 0
sbs 18533 0
backlight 10049 1 video
i2c_ec 9025 1 sbs
i2c_core 23745 1 i2c_ec
button 10705 0
battery 13637 0
asus_acpi 19289 0
ac 9157 0
parport_pc 29157 0
lp 15849 0
parport 37513 2 parport_pc,lp
sg 36189 0
r8169 32969 0
serio_raw 10693 0
pcspkr 7105 0
usb_storage 76193 0
ahci 30149 0
sata_via 15557 2
libata 143997 2 ahci,sata_via
sd_mod 24897 3
scsi_mod 134605 4 sg,usb_storage,libata,sd_mod
ext3 123593 1
jbd 56553 1 ext3
uhci_hcd 25421 0
ohci_hcd 23261 0
ehci_hcd 33357 0
so: there was NO REASON to deploy a custom kernel... out of the box centos 5.2 installed perfectly fine in 10minutes!!! it took even less then the reinstall via OVH manager!! LOL
Ed ecco la pappa pronta:
http://forum.ovh.it/showthread.php?t=154 ^^
Originariamente Scritto da
kro
EvolutionCrazy wrote:
> I hope someone from ovh can help us showing a way to get a genuine
> centos install working
Install CentOS via the Manager. Comment or remove the line
"exclude=kernel*" from /etc/yum.conf. Install the kernel with yum,
create a good initrd, edit /etc/lilo.conf, run lilo, send a prayer, reboot.
Using lilo, you might be interested in the "-R" switch, so that you
don't have to boot to rescue, but just can hard-reboot the server if the
CentOS kernel doesn't boot.
Good luck :-)
Felix
Codice:
[root@ks362448 ~]# lilo -v
LILO version 22.8, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2006 John Coffman
Released 19-Feb-2007 and compiled at 09:15:23 on Feb 19 2007.
Reading boot sector from /dev/sda
Using MENU secondary loader
Calling map_insert_data
Boot image: /boot/vmlinuz-2.6.18-92.1.13.el5
Mapping RAM disk /boot/initrd-2.6.18-92.1.13.el5.img
Added 2.6.18-92.1.13. *
Boot image: /boot/bzImage-2.6.24.5-xxxx-grs-ipv4-32
Added linux
Writing boot sector.
/boot/boot.0800 exists - no boot sector backup copy made.
[root@ks362448 ~]# reboot
Broadcast message from root (pts/1) (Sat Oct 4 21:13:32 2008):
The system is going down for reboot NOW!
[root@ks362448 ~]#
The server doesn't go back Kro, your (standard) guide don't work.
Someone has new guide for make a server with Centos in ovh server?
Ovh support for solution? But without suggestion, only the definitive solution please.
EvolutionCrazy
04.10.2008, 16.33
ok... I was able to install the OS with vkvm....
it's fully (except for the damn keymap of the kvm xD) working inside there... but cannot boot from the hd... and neither from the ovh netboot kernel (no I didn't did the standard install that come with LVM)...
EvolutionCrazy
03.10.2008, 23.43
I tried even:
mkinitrd -v -f --with=e100 --with=8139too --with=sis900 --with=via-rhine --with=e1000 --with=r8169 --with=skge --with=sky2 --with=3w-xxxx --with=scsi_mod --with=sd_mod --with=aic7xxx --with=megaraid --with=sym53c8xx --with=libata --with=sata_sis --with=ata_piix --with=sata_via --with=pata_sis --with=dm-mod --with=dm-mirror --with=raid1 --with=raid0 --with=raid456 --with=dm-crypt --with=mptspi --with=mptsas --with=mptctl --with=ahci --with=via686a --with=3w-9xxx --with=aic79xx --with=ehci_hcd --with=mptsas --with=pata_sis --with=pcnet32 --with=sata_sis --with=sis900 --with=sym53c8xx --with=via-rhine --with=3w-xxxx --with=aic7xxx --with=DAC960 --with=mptspi --with=sata_via --with=tg3 --with=e100 --with=k8temp --with=r8169 --with=skge --with=uhci_hcd --with=ata_piix --with=e1000 --with=megaraid_sas --with=w83627hf --with=sky2 --with=libata --with=mptbase --with=mptsas --with=mptspi --with=via_rhine --with=aic7xxx --with=aic79xx --with=acpi --with=sym53c8xx /boot/initrd-2.6.18-92.1.13.el5.img 2.6.18-92.1.13.el5
this is really time consuming
Is really that hard to get a genuine OS install like any other hoster does?
EvolutionCrazy
03.10.2008, 20.20
Originariamente Scritto da
kro
EvolutionCrazy wrote:
> can you give us a hint on how to create such a good initrd?
Usually like that:
mkinitrd -v -f --with=e100 --with=8139too --with=sis900 --with=via-rhine \
--with=e1000 --with=r8169 --with=skge --with=sky2 --with=atl1 \
--with=3w-xxxx --with=scsi_mod --with=sd_mod --with=aic7xxx \
--with=megaraid --with=sym53c8xx --with=libata --with=sata_sis \
--with=ata_piix --with=sata_via --with=pata_sis --with=dm-mod \
--with=dm-mirror --with=raid1 --with=raid0 --with=raid456 \
--with=dm-crypt --with=mptspi --with=mptsas --with=mptctl --with=ahci \
--with=via686a /boot/initrd-$VERSION.img $VERSION
btw... something is broken on the centos image:
yum install kernel
Loading "fastestmirror" plugin
Determining fastest mirrors
* base: centos.got-root.me.uk
* updates: centos.got-root.me.uk
* addons: centos.got-root.me.uk
* extras: centos.got-root.me.uk
base : ################################################## 2458/2458
updates : ################################################## 506/506
extras : ################################################## 283/283
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package kernel.i686 0:2.6.18-92.1.13.el5 set to be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
kernel i686 2.6.18-92.1.13.el5 updates 14 M
Transaction Summary
================================================== ===========================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 14 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): kernel-2.6.18-92.1 100% |=========================| 14 MB 00:01
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: kernel ######################### [1/1]
grubby: unable to open /boot/boot.b: No such file or directory
Installed: kernel.i686 0:2.6.18-92.1.13.el5
Complete!
PS:
No module atl1 found for kernel 2.6.18-92.1.13.el5, aborting.
had to do without that...
PS2:
it's not coming up with the generated initrd.
EvolutionCrazy
03.10.2008, 18.39
I've tried that seeing your other post on the UK forum
but still no luck....
vkvm failed 3 times...
EvolutionCrazy wrote:
> can you give us a hint on how to create such a good initrd?
Usually like that:
mkinitrd -v -f --with=e100 --with=8139too --with=sis900 --with=via-rhine \
--with=e1000 --with=r8169 --with=skge --with=sky2 --with=atl1 \
--with=3w-xxxx --with=scsi_mod --with=sd_mod --with=aic7xxx \
--with=megaraid --with=sym53c8xx --with=libata --with=sata_sis \
--with=ata_piix --with=sata_via --with=pata_sis --with=dm-mod \
--with=dm-mirror --with=raid1 --with=raid0 --with=raid456 \
--with=dm-crypt --with=mptspi --with=mptsas --with=mptctl --with=ahci \
--with=via686a /boot/initrd-$VERSION.img $VERSION
EvolutionCrazy
03.10.2008, 17.48
Thank you a lot for you reply Felix!
Yeah I've used and abused the -R switch of lilo a lot in the past
btw.. I've already done what you suggest... but It keep failing...
the point that fails I think it's:
can you give us a hint on how to create such a good initrd?
lspci
00:00.0 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.5 PIC: VIA Technologies, Inc. P4M900 I/O APIC Interrupt Controller
00:00.6 Host bridge: VIA Technologies, Inc. P4M900 Security Device
00:00.7 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:03.0 PCI bridge: VIA Technologies, Inc. P4M900 PCI to PCI Bridge Controller (rev 80)
00:0f.0 IDE interface: VIA Technologies, Inc. Unknown device 5337 (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237A PCI to ISA Bridge
00:11.7 Host bridge: VIA Technologies, Inc. VT8251 Ultra VLINK Controller
00:13.0 Host bridge: VIA Technologies, Inc. VT8237A Host Bridge
00:13.1 PCI bridge: VIA Technologies, Inc. VT8237A PCI to PCI Bridge
01:00.0 VGA compatible controller: VIA Technologies, Inc. Chrome9 HC IGP (rev 01)
03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)
03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)
04:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet (rev 10)
thank you, greetings
EvolutionCrazy wrote:
> I hope someone from ovh can help us showing a way to get a genuine
> centos install working
Install CentOS via the Manager. Comment or remove the line
"exclude=kernel*" from /etc/yum.conf. Install the kernel with yum,
create a good initrd, edit /etc/lilo.conf, run lilo, send a prayer, reboot.
Using lilo, you might be interested in the "-R" switch, so that you
don't have to boot to rescue, but just can hard-reboot the server if the
CentOS kernel doesn't boot.
Good luck :-)
Felix
EvolutionCrazy
03.10.2008, 17.22
hanged again here:
http://img152.imageshack.us/img152/4121/70929284am1.png
re-trying ..........................................
I hope someone from ovh can help us showing a way to get a genuine centos install working
EvolutionCrazy
03.10.2008, 16.03
Originariamente Scritto da
EvolutionCrazy
beh scrivi pure anche italiano ^^
io ho scritto in inglese sperando in una risposta di kro
LOL
EvolutionCrazy
03.10.2008, 15.41
beh scrivi pure anche italiano ^^
io ho scritto in inglese sperando in una risposta di kro
Always I install linux with text interface
EvolutionCrazy
03.10.2008, 15.29
I'm retrying too... maybe qemu got updated :O
PS: go for the text install... it's a pain to point to the right button with the graphical one
Thanks for the link for 5.1 (I had not found). Now I install them. Work in progress ...
EvolutionCrazy
03.10.2008, 15.02
Yes, I'm aware of that... already tried it
it's a problem of rhel kernel with qemu... fixed in newer kernels (but 5.2 official iso still have the bugged one)
http://bugs.centos.org/view.php?id=2912
5.1 works "out of the box" but i've never been able to complete the install from vkvm...
http://vault.centos.org/5.1/isos/i38...netinstall.iso
http://img338.imageshack.us/my.php?i...8162552yu2.png
http://img407.imageshack.us/my.php?i...8162013rj5.png
Originariamente Scritto da
EvolutionCrazy
kernel panic of the netinstall was due to a bug (with the virtualization used for the vkvm) in the rhel kernel shipped with the 5.2 iso... 5.1 load fine.... but die when it's time to write grub IIRC...
PS: yes, your iso stop with an error after downloading stage2
You can verify the kernel panic with official netinstall ditribution Centos 5.2
http://mi.mirror.garr.it/mirrors/Cen...netinstall.iso
EvolutionCrazy
03.10.2008, 14.23
kernel panic of the netinstall was due to a bug (with the virtualization used for the vkvm) in the rhel kernel shipped with the 5.2 iso... 5.1 load fine.... but die when it's time to write grub IIRC...
PS: yes, your iso stop with an error after downloading stage2
Hi EvolutionCrazy, I have the same problem and I have create my own netinstall downlodable from here
ftp://91.121.198.104/CentOS-5.2-i386...all-custom.iso
This iso work perfectly without kernal panic (I think for wrong check CPU) conveted all for i686 platform (vmlinuz e modules created by hand).
Now, after download stage2.img I get error for loop mount:
ERROR: unable to open loop device /tmp/loop0
ERROR: Error mounting /dev/loop0 in /mnt/runtime (No such device or address)
Any tips? Is the netinstall bug?
EvolutionCrazy
03.10.2008, 12.36
I've reimaged a box (kimsufi 2xl) a lot of times... trying nearly everything (even the suggestion by kro here:
http://forum.ovh.co.uk/showthread.php?t=741 )
How can we get a genuine centos5 kernel up-and-running?
I've plenty of other servers around running centos on even newer hardware... none is having problems... I doubt there's some incompatibility just with the ovh boxes
I've tried
Codice:
mkinitrd -v -f --with=e100 --with=8139too --with=sis900 --with=via-rhine --with=e1000 --with=r8169 --with=skge --with=sky2 --with=3w-xxxx --with=scsi_mod --with=sd_mod --with=aic7xxx --with=megaraid --with=sym53c8xx --with=libata --with=sata_sis --with=ata_piix --with=sata_via --with=pata_sis --with=dm-mod --with=dm-mirror --with=raid1 --with=raid0 --with=raid456 --with=dm-crypt --with=mptspi --with=mptsas --with=mptctl --with=ahci --with=via686a --with=i2c_viapro --with=i2c_core --with=ext3 --with=mbcache --with=ata_generic --with=ehci_hcd --with=ahci --with=uhci_hcd /boot/initrd-2.6.24.7-65.el5rt.centos.img 2.6.24.7-65.el5rt.centos
on both the kernel-rt and the official one... but the box won't boot