Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Stefano on March 30, 2005, 03:29:49 PM

Title: HP ML110 server: kernle patching & recompiling
Post by: Stefano on March 30, 2005, 03:29:49 PM
Hi all..

I've to install SME 6.0.1 on a brand new HP ML110 server (and probably I'll do on several..)

this is a lspci output from it
[root@ml110 root]# lspci
00:00.0 Host bridge: Intel Corp.: Unknown device 2578 (rev 02)
00:1c.0 PCI bridge: Intel Corp.: Unknown device 25ae (rev 02)
00:1d.0 USB Controller: Intel Corp.: Unknown device 25a9 (rev 02)
00:1d.1 USB Controller: Intel Corp.: Unknown device 25aa (rev 02)
00:1d.4 System peripheral: Intel Corp.: Unknown device 25ab (rev 02)
00:1d.5 PIC: Intel Corp.: Unknown device 25ac (rev 02)
00:1d.7 USB Controller: Intel Corp.: Unknown device 25ad (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 0a)
00:1f.0 ISA bridge: Intel Corp.: Unknown device 25a1 (rev 02)
00:1f.1 IDE interface: Intel Corp.: Unknown device 25a2 (rev 02)
00:1f.3 SMBus: Intel Corp.: Unknown device 25a4 (rev 02)
04:03.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
04:04.0 Ethernet controller: Broadcom Corporation: Unknown device 1654 (rev 03)

This server has a start-up cd in which I can find patches for linux kernel..

well.. I have not been able to patch and recompile a new kernel..

I've installed also SME 7.a4 and it runs smoothly.. every device is properly identified..

I've tried to recompile SME 7.a4 kernel without success..

so.. that's the question:
- is there anybody that could patch last fedoralegacy kernel suitable for SME 6.0.1?

any hint would be apreciated

TIA

Regards

Stefano
Title: HP ML110 server: kernle patching & recompiling
Post by: cc_skavenger on March 30, 2005, 05:12:41 PM
Ok,
let me understand what you need.  You need a version of the kernel used for SME 7 alpha 4 for 6.0.1-01?  Is this right?
Title: HP ML110 server: kernle patching & recompiling
Post by: Stefano on March 30, 2005, 05:27:29 PM
Quote from: "cc_skavenger"
Ok,
let me understand what you need.  You need a version of the kernel used for SME 7 alpha 4 for 6.0.1-01?  Is this right?


Hi Marco (sounds like italian name.. :-))

yes.. this is one of the options: recompiling SME 7 alpha kernel for 6.0.1

the other is to patch last fedoralegacy rh 7.3 kernel and recompile it..

Thank you

Ciao
Stefano
Title: HP ML110 server: kernle patching & recompiling
Post by: cc_skavenger on March 30, 2005, 05:45:14 PM
Ok,

I am working on recompiling the kernel-2.4.21-27.0.2.EL.src.rpm from SME 7 alpha 4 for 6.0.1-01.  Will post something here when I have something for you to download and will have instructions for the install.
Title: HP ML110 server: kernle patching & recompiling
Post by: cc_skavenger on March 30, 2005, 05:47:58 PM
Just thought about this.  It might not be as easy as I think it will be.  PPP might also have to be rebuilt and possibly some other things as well.....

Oh well, we will give it a shot, If you don't might a little experimenting....
Title: HP ML110 server: kernle patching & recompiling
Post by: Stefano on March 30, 2005, 05:55:35 PM
Quote from: "cc_skavenger"
Just thought about this.  It might not be as easy as I think it will be.  PPP might also have to be rebuilt and possibly some other things as well.....

Oh well, we will give it a shot, If you don't might a little experimenting....


Hi..

I'm trying to compile a patched version of fedoralegacy kernel (kernel-source-2.4.20-42.7.legacy)

This way might be easier..
Stay tuned.. :-)

Ciao
Stefano
Title: HP ML110 server: kernle patching & recompiling
Post by: cc_skavenger on March 30, 2005, 07:26:10 PM
will work on the same thing.  The other will take too much tinkering to make work (it seems like to me).  If you get something working, I would be happy to make it into a custom ISO so that it will easier to install.

Will post something here later.
Title: HP ML110 server: kernle patching & recompiling
Post by: CharlieBrady on March 30, 2005, 09:07:30 PM
Quote from: "cc_skavenger"

I am working on recompiling the kernel-2.4.21-27.0.2.EL.src.rpm from SME 7 alpha 4 for 6.0.1-01.


Why? Why recompile it when binary RPMs already exist?
Title: HP ML110 server: kernle patching & recompiling
Post by: cc_skavenger on March 30, 2005, 11:10:14 PM
It was my understanding that it should be recompiled for compatability.  I guess I am wrong....
Title: HP ML110 server: kernle patching & recompiling
Post by: cc_skavenger on March 30, 2005, 11:45:40 PM
Nenonano & Charlie,

I tried to update a clean SME 6 install with the 2.4.21 kernel, but it had several dependencies.  The fedora legacy installed just fine.  I will create a new ISO with the fedora legacy kernel and post a link for Nenonano to download and try on his server.
Title: HP ML110 server: kernle patching & recompiling
Post by: cc_skavenger on March 31, 2005, 12:52:25 AM
Ok,

Here is a temp link.  It will be here for a couple of days.

http://www.ccskavenger.info/iso/

I only changed the kernel rpms.  I have loaded this up on a test server with no problems.

Nenonano, let me know if it works for your server.

In the mean time, I will be trying to make the 2.4.21 kernel work.
Title: HP ML110 server: kernle patching & recompiling
Post by: Stefano on March 31, 2005, 06:55:45 PM
Quote from: "cc_skavenger"
Ok,

Here is a temp link.  It will be here for a couple of days.

http://www.ccskavenger.info/iso/

I only changed the kernel rpms.  I have loaded this up on a test server with no problems.

Nenonano, let me know if it works for your server.

In the mean time, I will be trying to make the 2.4.21 kernel work.


Hi Marco...

thanks..

I'll try tomorrow... stay tuned

thanks again

Stefano
Title: HP ML110 server: kernle patching & recompiling
Post by: cc_skavenger on March 31, 2005, 09:50:30 PM
No problem,

The files will be there until I decide to delete them  :hammer:

I am still working on the newer kernel, it has some dependencies like vixie-cron, pam, and SysVinit.

Anyway, just let me know.
Title: HP ML110 server: kernle patching & recompiling
Post by: Stefano on April 01, 2005, 06:14:49 PM
Quote from: "cc_skavenger"

I am still working on the newer kernel, it has some dependencies like vixie-cron, pam, and SysVinit.

Anyway, just let me know.


Here I'm..

mmmhhh... no luck.. :-(

but I think the problem is not only with the kernel..
it seems that there are more differences between SME6 and 7..

I mean: when SME7a4 setup starts, 2 modules are automagically loaded:
- ata_piix
- bcm5700 (AFAIR)

well.. the first one doesn't exists in sme6 kernel tree

So.. that's what I'll do: I will install SME6 and after setup load the eth Broadcom bcm5700 module

Ide and usb will not work at their best but I will survive..

It's time for me to spend some hours on SME7 alpha testing.. :-)

Thank you very, very much for your time and your attention..

CU soon ;-)

Regards
Stefano
Title: HP ML110 server: kernle patching & recompiling
Post by: cc_skavenger on April 01, 2005, 11:02:42 PM
It has everything to do with the kernel and the kernel modules that are built.  The 2.4.21 kernel is newer and has the modules you need for the newer components.  I hope to have something with the newer kernel this weekend.  Will keep you updated.  Hoping to solve this, could help several people.
Title: HP ML110 server: kernle patching & recompiling
Post by: cc_skavenger on April 04, 2005, 11:16:39 PM
The best I have been able to do is upgrade the kernel on a current install.  I am going to try something else and will keep you posted.
Title: HP ML110 server: kernle patching & recompiling
Post by: cc_skavenger on April 08, 2005, 07:39:47 AM
I have run into a wall.  The kernel from sme 7 alpha X is not liked by the version of anaconda used for sme 6.X.  I will try updating anaconda, but I am not very confident about it working.

Did you ever get something to work?  Possibly SME 7 alpha 5?
Title: HP ML110 server: kernle patching & recompiling
Post by: Stefano on April 08, 2005, 10:47:52 AM
Quote from: "cc_skavenger"
I have run into a wall.  The kernel from sme 7 alpha X is not liked by the version of anaconda used for sme 6.X.  I will try updating anaconda, but I am not very confident about it working.

Did you ever get something to work?  Possibly SME 7 alpha 5?


Hi Marco..

first of all TIA for your time and attention

IMVHO it's too complicated.. I think (as I said before) that this way or every other way to modify SME 6 is not worth..

SME 7 alpha works perfectly.. maybe it's better to work on that.. :-)

Thanks again

ciao,
Stefano
Title: HP ML110 server: kernle patching & recompiling
Post by: Stefano on April 12, 2005, 10:23:53 AM
here I am again..

some (good) news.. :-D

I'm playing again with the ML110 and SME 6.0.1

Well, here it is what I've discovered yesterday:
- pci.ids (in /usr/share/hwdata, installed by hwdata rpm) is outdated.. last version of this file is available at http://pciids.sourceforge.net/
after updating it, I get:

[root@server root]# lspci
00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory Controller Hub (rev 02)
00:1c.0 PCI bridge: Intel Corporation 6300ESB 64-bit PCI-X Bridge (rev 02)
00:1d.0 USB Controller: Intel Corporation 6300ESB USB Universal Host Controller (rev 02)
00:1d.1 USB Controller: Intel Corporation 6300ESB USB Universal Host Controller (rev 02)
00:1d.4 System peripheral: Intel Corporation 6300ESB Watchdog Timer (rev 02)
00:1d.5 PIC: Intel Corporation 6300ESB I/O Advanced Programmable Interrupt Controller (rev 02)
00:1d.7 USB Controller: Intel Corporation 6300ESB USB2 Enhanced Host Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 0a)
00:1f.0 ISA bridge: Intel Corporation 6300ESB LPC Interface Controller (rev 02)
00:1f.1 IDE interface: Intel Corporation 6300ESB PATA Storage Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 6300ESB SMBus Controller (rev 02)
04:03.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
04:04.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705_2 Gigabit Ethernet (rev 03)

- With your custom iso kernel (last available from fedoralegacy), dma is not available: every time I tried to activate it (hdparm -d 1 /dev/hdX), I got "HDIO_SET_DMA failed: Operation not permitted".. So I got last kernel from http://vanhees.homeip.net (http://vanhees.homeip.net/index.php?module=ContentExpress&func=display&ceid=18), installed it.. works like a charm but onboard nic..
not a problem: got src rpm, patched it with hp patch for broadcom onboard nic, compiled, installed.. et voilĂ .. :-) (BTW, in make menuconfig I've activated ppp_mppe support also, so I can use VPNs..)

Now everything seems to be ok..

I'm trying to find the differences between original fedoralegacy kernel and 2.4.27mstslp04..

work in progress, stay tuned..

bye,
Stefano
Title: HP ML110 server: kernle patching & recompiling
Post by: cc_skavenger on April 12, 2005, 11:02:06 PM
congrats....