Discussion:
[Ltsp-discuss] custom kernel 4.2
Jens Korth
2006-10-19 14:05:44 UTC
Permalink
Hello,

I am trying to compile my own kernel for ltsp 4.2.

I
- installed the 2.6.17.8 kernel sources
- installed the kernel kit
- copied the 2.6.17.8 .config file from the kit to the kernel directory
- run make oldconfig (but didn't change anything for the beginning)
- changed "Extraversion" in the makefile
- run "make, make modules, make modules_install"
- run build_initramfs

All that seems to run without problems. I get a new kernel with the pxe
files etc. in the tftboot/lts directory, modules are installed into
/opt/ltsp-4.2/i386/lib/modules/kernelname


I then changed the dhcpd config to point to the new kernel.


The kernel boots from pxe without any problem, but stops at the end with
an error
"Failed to execute /init"
"Kernel panic - not syncing: No init found. Try passing init= option to
kernel."

Any ideas what I missed?

Thank you very much for your help.

jens
Jim McQuillan
2006-10-19 15:56:03 UTC
Permalink
Post by Jens Korth
Hello,
I am trying to compile my own kernel for ltsp 4.2.
I
- installed the 2.6.17.8 kernel sources
- installed the kernel kit
- copied the 2.6.17.8 .config file from the kit to the kernel directory
- run make oldconfig (but didn't change anything for the beginning)
- changed "Extraversion" in the makefile
- run "make, make modules, make modules_install"
- run build_initramfs
All that seems to run without problems. I get a new kernel with the pxe
files etc. in the tftboot/lts directory, modules are installed into
/opt/ltsp-4.2/i386/lib/modules/kernelname
I then changed the dhcpd config to point to the new kernel.
The kernel boots from pxe without any problem, but stops at the end with
an error
"Failed to execute /init"
"Kernel panic - not syncing: No init found. Try passing init= option to
kernel."
Can you show us the pxelinux.cfg/default file that you are using? Also, a
listing of the directory where your kernel and initrd file reside might
help too:

ls -lR /tftpboot/lts

would be helpful.

Jim McQuillan
Post by Jens Korth
Any ideas what I missed?
Thank you very much for your help.
jens
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
Jens Korth
2006-10-19 16:22:27 UTC
Permalink
Dear Jim,

thank you for offering your help. Here is the information.

-------------
pxelinux.cfg/default: (I don't belive that the problem is here. If I
take the ltsp pre-compiled kernel, the same file works fine...):


prompt 0
label linux
kernel bzImage-2.6.17.8-ltsp-shuttle
append rw root=/dev/ram0 initrd=initramfs.gz NIC=tg3
--------

Directory listing of the tftpboot directory which is used by dhcpd:


/tftpboot/lts/2.6.17.8-ltsp-shuttle/:
insgesamt 4348
-rw-r--r-- 1 root root 1689510 19. Oct 00:30 bzImage-2.6.17.8-ltsp-shuttle
-rw-r--r-- 1 root root 2734887 19. Oct 00:30 initramfs.gz
-rw-r--r-- 1 root root 11826 19. Oct 00:30 pxelinux.0
drwxr-xr-x 2 root root 4096 19. Oct 00:30 pxelinux.cfg

/tftpboot/lts/2.6.17.8-ltsp-shuttle/pxelinux.cfg:
insgesamt 4
-rw-r--r-- 1 root root 115 19. Oct 00:33 default

-----------------------------

All that seems ok to me ?! Maybe the initramfs.gz is not built correctly
by the script?!

Thank you
Jens
Post by Jim McQuillan
Post by Jens Korth
Hello,
I am trying to compile my own kernel for ltsp 4.2.
I
- installed the 2.6.17.8 kernel sources
- installed the kernel kit
- copied the 2.6.17.8 .config file from the kit to the kernel directory
- run make oldconfig (but didn't change anything for the beginning)
- changed "Extraversion" in the makefile
- run "make, make modules, make modules_install"
- run build_initramfs
All that seems to run without problems. I get a new kernel with the pxe
files etc. in the tftboot/lts directory, modules are installed into
/opt/ltsp-4.2/i386/lib/modules/kernelname
I then changed the dhcpd config to point to the new kernel.
The kernel boots from pxe without any problem, but stops at the end with
an error
"Failed to execute /init"
"Kernel panic - not syncing: No init found. Try passing init= option to
kernel."
Can you show us the pxelinux.cfg/default file that you are using? Also, a
listing of the directory where your kernel and initrd file reside might
ls -lR /tftpboot/lts
would be helpful.
Jim McQuillan
Post by Jens Korth
Any ideas what I missed?
Thank you very much for your help.
jens
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
--
Best regards / Mit freundlichen Grüßen / Cordialement

Jens Korth, Managing Director
--------------------------------
www.airport-information.com
Albatross World Airports and Suppliers Database

Protect the privacy of your messages!
Email us your public PGP key and
encrypt your emails using my key:
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.2 (GNU/Linux)

mQGiBEQUdqYRBAD9MeIYYyf4UIYfmZ1fjMFqKwJBYn0H8MERcSKV7nk/VKfNGz78
et0m/m9wpx7Y3ddi2FzXg2VF7uB/00GI/z10R3IqLp1R8WB3l/Zckm7NfLal1S0C
LqEJUb5faXdozvL8alOoUksCHi49cexwUIKz266j0+1IxjasjofY3WbQtwCgqkV1
n+6TCvlzJ40a1NeHmWR7NikEAJzgPxzLJVWkwy6kw383CTjKYJVB8hNHhdwLkF4R
kF2IJ3NQoh6LiO4vOvSfvxQuZQkyUfPmlir7VIZHzgCA4sIWJei7ljJ7rctdagGg
mDVmTfL83jlg647ayEMSyjNWNulAq7/QAVg3+DIL1jYfmspKWlOuzH06oLQd9wB2
csnwA/9EkzEQvZr1/VqsawbZsBxWvJ+N1pVtLQvD9tV3FnlSkAclP3w0P2rBNsFZ
mw8a0QZz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WAOplT
S3+C2fPq1eexlKGtGPk/59ou0bSXVV4kzKHv4kBggwavaWiVAVRGzfwJtY8NqqUQ
pQkjBDJ1UZ9BjkmaWfCvr/bmqhDykLweob9uDlachSuHGy9f/CqC4C9klXQI5ADP
TzpeoOZGIT3DgsdND3LcPNTtosDktdsZ8kvvlEtQ5s5r0XQyE9ZatY7RPzZipnL5
7DcznyMABUJxqSoAieEmrWjZKs07637+rt0onEcA24vI2BgC7tGRb6r3rhCCS7ce
dBfL7UE9MYW+FH5cg61HRrDltnJfjbdO6GsB8cXtdvEd4swtliEpHT/4JMmcvblo
8jArHWi28ZqLksT7+7bkeColOW0lup2yeVOaT6Mqb3OuQASxZmlOCd0egPQaDtZv
2dWuY990MFCz/Y/2M086oWWSsgWSgp4WKY48HAHyOvhtyzj7WzbhvjOrLPxzlIJU
/E6Tb/4m6tAMn1rBD47Zli7CO3Fmt1JwyrA1Ev2nkfaIuLEvOKOft6JAwfRtiVgj
p+58sC4bALY9RKCqlUoCHjurIjd+5KeP6d6M9DZCnp8k2SzcvFwI3DMdphiskPBk
eb94mQ361YaXy8nB7dHojLTajpSrhOsQiEkEGBECAAkFAkQUdtUCGwwACgkQ0LdD
+UBH/eu+GwCeIkJV9SuHZN0bGUUM+z3bjGM0nqoAn1MNYOWwMAwTUtkG2r8tehcP
frWV
=0MzO
-----END PGP PUBLIC KEY BLOCK-----
Jim McQuillan
2006-10-19 16:46:12 UTC
Permalink
Post by Jens Korth
Dear Jim,
thank you for offering your help. Here is the information.
-------------
pxelinux.cfg/default: (I don't belive that the problem is here. If I
prompt 0
label linux
kernel bzImage-2.6.17.8-ltsp-shuttle
append rw root=/dev/ram0 initrd=initramfs.gz NIC=tg3
--------
insgesamt 4348
-rw-r--r-- 1 root root 1689510 19. Oct 00:30 bzImage-2.6.17.8-ltsp-shuttle
-rw-r--r-- 1 root root 2734887 19. Oct 00:30 initramfs.gz
-rw-r--r-- 1 root root 11826 19. Oct 00:30 pxelinux.0
drwxr-xr-x 2 root root 4096 19. Oct 00:30 pxelinux.cfg
insgesamt 4
-rw-r--r-- 1 root root 115 19. Oct 00:33 default
-----------------------------
All that seems ok to me ?! Maybe the initramfs.gz is not built correctly
by the script?!
well, I suppose it's possible. Lets take a look at the initramfs.gz

It's a gzipped cpio file.

So, try this:

cd /tftpboot/2.6.17.8-ltsp-shuttle
mkdir initramfs
cd initramfs
gunzip <../initramfs.gz | cpio -ivmud

This should result in the contents of the initramfs.gz file being dumped
into the initramfs directory. You should have a file called 'init'. If
you do, then maybe something's goofy with your kernel. But, didn't you
say you didn't change anything in the config?

btw, why do you even want to build a custom kernel?

Jim McQuillan
Post by Jens Korth
Thank you
Jens
Post by Jim McQuillan
Post by Jens Korth
Hello,
I am trying to compile my own kernel for ltsp 4.2.
I
- installed the 2.6.17.8 kernel sources
- installed the kernel kit
- copied the 2.6.17.8 .config file from the kit to the kernel directory
- run make oldconfig (but didn't change anything for the beginning)
- changed "Extraversion" in the makefile
- run "make, make modules, make modules_install"
- run build_initramfs
All that seems to run without problems. I get a new kernel with the pxe
files etc. in the tftboot/lts directory, modules are installed into
/opt/ltsp-4.2/i386/lib/modules/kernelname
I then changed the dhcpd config to point to the new kernel.
The kernel boots from pxe without any problem, but stops at the end with
an error
"Failed to execute /init"
"Kernel panic - not syncing: No init found. Try passing init= option to
kernel."
Can you show us the pxelinux.cfg/default file that you are using? Also, a
listing of the directory where your kernel and initrd file reside might
ls -lR /tftpboot/lts
would be helpful.
Jim McQuillan
Post by Jens Korth
Any ideas what I missed?
Thank you very much for your help.
jens
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
--
Best regards / Mit freundlichen Grüßen / Cordialement
Jens Korth, Managing Director
--------------------------------
www.airport-information.com
Albatross World Airports and Suppliers Database
Protect the privacy of your messages!
Email us your public PGP key and
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.2 (GNU/Linux)
mQGiBEQUdqYRBAD9MeIYYyf4UIYfmZ1fjMFqKwJBYn0H8MERcSKV7nk/VKfNGz78
et0m/m9wpx7Y3ddi2FzXg2VF7uB/00GI/z10R3IqLp1R8WB3l/Zckm7NfLal1S0C
LqEJUb5faXdozvL8alOoUksCHi49cexwUIKz266j0+1IxjasjofY3WbQtwCgqkV1
n+6TCvlzJ40a1NeHmWR7NikEAJzgPxzLJVWkwy6kw383CTjKYJVB8hNHhdwLkF4R
kF2IJ3NQoh6LiO4vOvSfvxQuZQkyUfPmlir7VIZHzgCA4sIWJei7ljJ7rctdagGg
mDVmTfL83jlg647ayEMSyjNWNulAq7/QAVg3+DIL1jYfmspKWlOuzH06oLQd9wB2
csnwA/9EkzEQvZr1/VqsawbZsBxWvJ+N1pVtLQvD9tV3FnlSkAclP3w0P2rBNsFZ
mw8a0QZzomLalT0kJfEc3dq3srCPvo8ZRqHIBdD2ZB/v0jKi32VX0CMrjH0Rnfea
/aUUmpYAaBPSbeBjHfrpp0HRLfAOHzkbwXe91uGPUbE388jE+rQvSmVucyBLb3J0
aCA8amVucy5rb3J0aEBhaXJwb3J0LWluZm9ybWF0aW9uLmNvbT6IYAQTEQIAIAUC
RBR2pgIbAwYLCQgHAwIEFQIIAwQWAgMBAh4BAheAAAoJENC3Q/lAR/3r68sAnjy7
ZHLy3dFk2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fL7UE9MYW+FH5cg61HRrDltnJfjbdO6GsB8cXtdvEd4swtliEpHT/4JMmcvblo
8jArHWi28ZqLksT7+7bkeColOW0lup2yeVOaT6Mqb3OuQASxZmlOCd0egPQaDtZv
2dWuY990MFCz/Y/2M086oWWSsgWSgp4WKY48HAHyOvhtyzj7WzbhvjOrLPxzlIJU
/E6Tb/4m6tAMn1rBD47Zli7CO3Fmt1JwyrA1Ev2nkfaIuLEvOKOft6JAwfRtiVgj
p+58sC4bALY9RKCqlUoCHjurIjd+5KeP6d6M9DZCnp8k2SzcvFwI3DMdphiskPBk
eb94mQ361YaXy8nB7dHojLTajpSrhOsQiEkEGBECAAkFAkQUdtUCGwwACgkQ0LdD
+UBH/eu+GwCeIkJV9SuHZN0bGUUM+z3bjGM0nqoAn1MNYOWwMAwTUtkG2r8tehcP
frWV
=0MzO
-----END PGP PUBLIC KEY BLOCK-----
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
Jens Korth
2006-10-19 17:11:45 UTC
Permalink
Dear Jim,

I want a custom kernel because I need some other drivers for
sound/graphics etc. And I hoped for some better performance when
compiling for the specific processor (Pentium M).

Anyway:

I unpacked the initramfs.gz file.
The IS an init file in the root directory.
Very strange.

Maybe the .config file for the kernel is not correct.
Is there anything that could prevent the kernel from using the
initramfs.gz file?

I noticed that there is an entry "initramfs file" in the kernel options,
but that is not what we need, isn't it?

Any other idea?

Jens
Post by Jim McQuillan
Post by Jens Korth
Dear Jim,
thank you for offering your help. Here is the information.
-------------
pxelinux.cfg/default: (I don't belive that the problem is here. If I
prompt 0
label linux
kernel bzImage-2.6.17.8-ltsp-shuttle
append rw root=/dev/ram0 initrd=initramfs.gz NIC=tg3
--------
insgesamt 4348
-rw-r--r-- 1 root root 1689510 19. Oct 00:30 bzImage-2.6.17.8-ltsp-shuttle
-rw-r--r-- 1 root root 2734887 19. Oct 00:30 initramfs.gz
-rw-r--r-- 1 root root 11826 19. Oct 00:30 pxelinux.0
drwxr-xr-x 2 root root 4096 19. Oct 00:30 pxelinux.cfg
insgesamt 4
-rw-r--r-- 1 root root 115 19. Oct 00:33 default
-----------------------------
All that seems ok to me ?! Maybe the initramfs.gz is not built correctly
by the script?!
well, I suppose it's possible. Lets take a look at the initramfs.gz
It's a gzipped cpio file.
cd /tftpboot/2.6.17.8-ltsp-shuttle
mkdir initramfs
cd initramfs
gunzip <../initramfs.gz | cpio -ivmud
This should result in the contents of the initramfs.gz file being dumped
into the initramfs directory. You should have a file called 'init'. If
you do, then maybe something's goofy with your kernel. But, didn't you
say you didn't change anything in the config?
btw, why do you even want to build a custom kernel?
Jim McQuillan
Post by Jens Korth
Thank you
Jens
Post by Jim McQuillan
Post by Jens Korth
Hello,
I am trying to compile my own kernel for ltsp 4.2.
I
- installed the 2.6.17.8 kernel sources
- installed the kernel kit
- copied the 2.6.17.8 .config file from the kit to the kernel directory
- run make oldconfig (but didn't change anything for the beginning)
- changed "Extraversion" in the makefile
- run "make, make modules, make modules_install"
- run build_initramfs
All that seems to run without problems. I get a new kernel with the pxe
files etc. in the tftboot/lts directory, modules are installed into
/opt/ltsp-4.2/i386/lib/modules/kernelname
I then changed the dhcpd config to point to the new kernel.
The kernel boots from pxe without any problem, but stops at the end with
an error
"Failed to execute /init"
"Kernel panic - not syncing: No init found. Try passing init= option to
kernel."
Can you show us the pxelinux.cfg/default file that you are using? Also, a
listing of the directory where your kernel and initrd file reside might
ls -lR /tftpboot/lts
would be helpful.
Jim McQuillan
Post by Jens Korth
Any ideas what I missed?
Thank you very much for your help.
jens
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
--
Best regards / Mit freundlichen Grüßen / Cordialement
Jens Korth, Managing Director
--------------------------------
www.airport-information.com
Albatross World Airports and Suppliers Database
Protect the privacy of your messages!
Email us your public PGP key and
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.2 (GNU/Linux)
mQGiBEQUdqYRBAD9MeIYYyf4UIYfmZ1fjMFqKwJBYn0H8MERcSKV7nk/VKfNGz78
et0m/m9wpx7Y3ddi2FzXg2VF7uB/00GI/z10R3IqLp1R8WB3l/Zckm7NfLal1S0C
LqEJUb5faXdozvL8alOoUksCHi49cexwUIKz266j0+1IxjasjofY3WbQtwCgqkV1
n+6TCvlzJ40a1NeHmWR7NikEAJzgPxzLJVWkwy6kw383CTjKYJVB8hNHhdwLkF4R
kF2IJ3NQoh6LiO4vOvSfvxQuZQkyUfPmlir7VIZHzgCA4sIWJei7ljJ7rctdagGg
mDVmTfL83jlg647ayEMSyjNWNulAq7/QAVg3+DIL1jYfmspKWlOuzH06oLQd9wB2
csnwA/9EkzEQvZr1/VqsawbZsBxWvJ+N1pVtLQvD9tV3FnlSkAclP3w0P2rBNsFZ
mw8a0QZzomLalT0kJfEc3dq3srCPvo8ZRqHIBdD2ZB/v0jKi32VX0CMrjH0Rnfea
/aUUmpYAaBPSbeBjHfrpp0HRLfAOHzkbwX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vr/bmqhDykLweob9uDlachSuHGy9f/CqC4C9klXQI5ADP
TzpeoOZGIT3DgsdND3LcPNTtosDktdsZ8kvvlEtQ5s5r0XQyE9ZatY7RPzZipnL5
7DcznyMABUJxqSoAieEmrWjZKs07637+rt0onEcA24vI2BgC7tGRb6r3rhCCS7ce
dBfL7UE9MYW+FH5cg61HRrDltnJfjbdO6GsB8cXtdvEd4swtliEpHT/4JMmcvblo
8jArHWi28ZqLksT7+7bkeColOW0lup2yeVOaT6Mqb3OuQASxZmlOCd0egPQaDtZv
2dWuY990MFCz/Y/2M086oWWSsgWSgp4WKY48HAHyOvhtyzj7WzbhvjOrLPxzlIJU
/E6Tb/4m6tAMn1rBD47Zli7CO3Fmt1JwyrA1Ev2nkfaIuLEvOKOft6JAwfRtiVgj
p+58sC4bALY9RKCqlUoCHjurIjd+5KeP6d6M9DZCnp8k2SzcvFwI3DMdphiskPBk
eb94mQ361YaXy8nB7dHojLTajpSrhOsQiEkEGBECAAkFAkQUdtUCGwwACgkQ0LdD
+UBH/eu+GwCeIkJV9SuHZN0bGUUM+z3bjGM0nqoAn1MNYOWwMAwTUtkG2r8tehcP
frWV
=0MzO
-----END PGP PUBLIC KEY BLOCK-----
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
--
Best regards / Mit freundlichen Grüßen / Cordialement

Jens Korth, Managing Director
--------------------------------
www.airport-information.com
Albatross World Airports and Suppliers Database

Protect the privacy of your messages!
Email us your public PGP key and
encrypt your emails using my key:
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.2 (GNU/Linux)

mQGiBEQUdqYRBAD9MeIYYyf4UIYfmZ1fjMFqKwJBYn0H8MERcSKV7nk/VKfNGz78
et0m/m9wpx7Y3ddi2FzXg2VF7uB/00GI/z10R3IqLp1R8WB3l/Zckm7NfLal1S0C
LqEJUb5faXdozvL8alOoUksCHi49cexwUIKz266j0+1IxjasjofY3WbQtwCgqkV1
n+6TCvlzJ40a1NeHmWR7NikEAJzgPxzLJVWkwy6kw383CTjKYJVB8hNHhdwLkF4R
kF2IJ3NQoh6LiO4vOvSfvxQuZQkyUfPmlir7VIZHzgCA4sIWJei7ljJ7rctdagGg
mDVmTfL83jlg647ayEMSyjNWNulAq7/QAVg3+DIL1jYfmspKWlOuzH06oLQd9wB2
csnwA/9EkzEQvZr1/VqsawbZsBxWvJ+N1pVtLQvD9tV3FnlSkAclP3w0P2rBNsFZ
mw8a0QZzomLalT0kJfEc3dq3srCPvo8ZRqHIBdD2ZB/v0jKi32VX0CMrjH0Rnfea
/aUUmpYAaBPSbeBjHfrpp0HRLfAOHzkbwXe91uGPUbE388jE+rQvSmVucyBLb3J0
aCA8amVucy5rb3J0aEBhaXJwb3J0LWluZm9ybWF0aW9uLmNvbT6IYAQTEQIAIAUC
RBR2pgIbAwYLCQgHAwIEFQIIAwQWAgMBAh4BAheAAAoJENC3Q/lAR/3r68sAnjy7
ZHLy3dFk2yyayeBeoxdHO1tnAJ9/+zkTv+J547WOi4ZnRPcTCp+S+bkEDQREFHbV
EBAAvNED7kbzuqX5St6hbnv8nhk79geweRN5qDzLVOlygiSPP1r82Ip84quwwY7k
0K9ZUbDtE57q/cm4FVtaAj5iH09WfIOOYrn7vQvoksw6f6SuEvtstT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zbhvjOrLPxzlIJU
/E6Tb/4m6tAMn1rBD47Zli7CO3Fmt1JwyrA1Ev2nkfaIuLEvOKOft6JAwfRtiVgj
p+58sC4bALY9RKCqlUoCHjurIjd+5KeP6d6M9DZCnp8k2SzcvFwI3DMdphiskPBk
eb94mQ361YaXy8nB7dHojLTajpSrhOsQiEkEGBECAAkFAkQUdtUCGwwACgkQ0LdD
+UBH/eu+GwCeIkJV9SuHZN0bGUUM+z3bjGM0nqoAn1MNYOWwMAwTUtkG2r8tehcP
frWV
=0MzO
-----END PGP PUBLIC KEY BLOCK-----
Jim McQuillan
2006-10-19 17:43:05 UTC
Permalink
Post by Jens Korth
Dear Jim,
I want a custom kernel because I need some other drivers for
sound/graphics etc. And I hoped for some better performance when
compiling for the specific processor (Pentium M).
I unpacked the initramfs.gz file.
The IS an init file in the root directory.
Very strange.
Maybe the .config file for the kernel is not correct.
Is there anything that could prevent the kernel from using the
initramfs.gz file?
I noticed that there is an entry "initramfs file" in the kernel options,
but that is not what we need, isn't it?
No, that's an alternate way of providing an initramfs file. PXE handles
this for us.

Can you watch the screen, and see if the initramfs.gz is actually being
downloaded? It may happen pretty quickly, so you might not see it.

You could also view the system logs to see if you see multiple requests.
You may have to set tftpd to do more logging to see the individual
requests.

Maybe you could run tcpdump and/or Ethereal to watch the packets and see
if you see the file get downloaded by the client.

If you can't make sense of it, then try:

tcpdump -i eth0 -s 1520 -w /tmp/tcpdump.out host ws001

Adjust the 'eth0' to match your setup, and the 'ws001' to match your
workstation.

Once the workstation fails, then email the /tmp/tcpdump.out file to me (as
an attachment) and i'll take a look at it in ethereal to see what's going
on.

Jim McQuillan
Post by Jens Korth
Any other idea?
Jens
Post by Jim McQuillan
Post by Jens Korth
Dear Jim,
thank you for offering your help. Here is the information.
-------------
pxelinux.cfg/default: (I don't belive that the problem is here. If I
prompt 0
label linux
kernel bzImage-2.6.17.8-ltsp-shuttle
append rw root=/dev/ram0 initrd=initramfs.gz NIC=tg3
--------
insgesamt 4348
-rw-r--r-- 1 root root 1689510 19. Oct 00:30
bzImage-2.6.17.8-ltsp-shuttle
-rw-r--r-- 1 root root 2734887 19. Oct 00:30 initramfs.gz
-rw-r--r-- 1 root root 11826 19. Oct 00:30 pxelinux.0
drwxr-xr-x 2 root root 4096 19. Oct 00:30 pxelinux.cfg
insgesamt 4
-rw-r--r-- 1 root root 115 19. Oct 00:33 default
-----------------------------
All that seems ok to me ?! Maybe the initramfs.gz is not built correctly
by the script?!
well, I suppose it's possible. Lets take a look at the initramfs.gz
It's a gzipped cpio file.
cd /tftpboot/2.6.17.8-ltsp-shuttle
mkdir initramfs
cd initramfs
gunzip <../initramfs.gz | cpio -ivmud
This should result in the contents of the initramfs.gz file being dumped
into the initramfs directory. You should have a file called 'init'. If
you do, then maybe something's goofy with your kernel. But, didn't you
say you didn't change anything in the config?
btw, why do you even want to build a custom kernel?
Jim McQuillan
Post by Jens Korth
Thank you
Jens
Post by Jim McQuillan
Post by Jens Korth
Hello,
I am trying to compile my own kernel for ltsp 4.2.
I
- installed the 2.6.17.8 kernel sources
- installed the kernel kit
- copied the 2.6.17.8 .config file from the kit to the kernel directory
- run make oldconfig (but didn't change anything for the beginning)
- changed "Extraversion" in the makefile
- run "make, make modules, make modules_install"
- run build_initramfs
All that seems to run without problems. I get a new kernel with the pxe
files etc. in the tftboot/lts directory, modules are installed into
/opt/ltsp-4.2/i386/lib/modules/kernelname
I then changed the dhcpd config to point to the new kernel.
The kernel boots from pxe without any problem, but stops at the end with
an error
"Failed to execute /init"
"Kernel panic - not syncing: No init found. Try passing init= option to
kernel."
Can you show us the pxelinux.cfg/default file that you are using?
Also,
a
listing of the directory where your kernel and initrd file reside might
ls -lR /tftpboot/lts
would be helpful.
Jim McQuillan
Post by Jens Korth
Any ideas what I missed?
Thank you very much for your help.
jens
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
--
Best regards / Mit freundlichen Grüßen / Cordialement
Jens Korth, Managing Director
--------------------------------
www.airport-information.com
Albatross World Airports and Suppliers Database
Protect the privacy of your messages!
Email us your public PGP key and
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.2 (GNU/Linux)
mQGiBEQUdqYRBAD9MeIYYyf4UIYfmZ1fjMFqKwJBYn0H8MERcSKV7nk/VKfNGz78
et0m/m9wpx7Y3ddi2FzXg2VF7uB/00GI/z10R3IqLp1R8WB3l/Zckm7NfLal1S0C
LqEJUb5faXdozvL8alOoUksCHi49cexwUIKz266j0+1IxjasjofY3WbQtwCgqkV1
n+6TCvlzJ40a1NeHmWR7NikEAJzgPxzLJVWkwy6kw383CTjKYJVB8hNHhdwLkF4R
kF2IJ3NQoh6LiO4vOvSfvxQuZQkyUfPmlir7VIZHzgCA4sIWJei7ljJ7rctdagGg
mDVmTfL83jlg647ayEMSyjNWNulAq7/QAVg3+DIL1jYfmspKWlOuzH06oLQd9wB2
csnwA/9EkzEQvZr1/VqsawbZsBxWvJ+N1pVtLQvD9tV3FnlSkAclP3w0P2rBNsFZ
mw8a0QZzomLalT0kJfEc3dq3srCPvo8ZRqHIBdD2ZB/v0jKi32VX0CMrjH0Rnfea
/aUUmpYAaBPSbeBjHfrpp0HRLfAOHzkbwXe91uGPUbE388jE+rQvSmVucyBLb3J0
aCA8amV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QI5ADP
TzpeoOZGIT3DgsdND3LcPNTtosDktdsZ8kvvlEtQ5s5r0XQyE9ZatY7RPzZipnL5
7DcznyMABUJxqSoAieEmrWjZKs07637+rt0onEcA24vI2BgC7tGRb6r3rhCCS7ce
dBfL7UE9MYW+FH5cg61HRrDltnJfjbdO6GsB8cXtdvEd4swtliEpHT/4JMmcvblo
8jArHWi28ZqLksT7+7bkeColOW0lup2yeVOaT6Mqb3OuQASxZmlOCd0egPQaDtZv
2dWuY990MFCz/Y/2M086oWWSsgWSgp4WKY48HAHyOvhtyzj7WzbhvjOrLPxzlIJU
/E6Tb/4m6tAMn1rBD47Zli7CO3Fmt1JwyrA1Ev2nkfaIuLEvOKOft6JAwfRtiVgj
p+58sC4bALY9RKCqlUoCHjurIjd+5KeP6d6M9DZCnp8k2SzcvFwI3DMdphiskPBk
eb94mQ361YaXy8nB7dHojLTajpSrhOsQiEkEGBECAAkFAkQUdtUCGwwACgkQ0LdD
+UBH/eu+GwCeIkJV9SuHZN0bGUUM+z3bjGM0nqoAn1MNYOWwMAwTUtkG2r8tehcP
frWV
=0MzO
-----END PGP PUBLIC KEY BLOCK-----
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
--
Best regards / Mit freundlichen Grüßen / Cordialement
Jens Korth, Managing Director
--------------------------------
www.airport-information.com
Albatross World Airports and Suppliers Database
Protect the privacy of your messages!
Email us your public PGP key and
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.2 (GNU/Linux)
mQGiBEQUdqYRBAD9MeIYYyf4UIYfmZ1fjMFqKwJBYn0H8MERcSKV7nk/VKfNGz78
et0m/m9wpx7Y3ddi2FzXg2VF7uB/00GI/z10R3IqLp1R8WB3l/Zckm7NfLal1S0C
LqEJUb5faXdozvL8alOoUksCHi49cexwUIKz266j0+1IxjasjofY3WbQtwCgqkV1
n+6TCvlzJ40a1NeHmWR7NikEAJzgPxzLJVWkwy6kw383CTjKYJVB8hNHhdwLkF4R
kF2IJ3NQoh6LiO4vOvSfvxQuZQkyUfPmlir7VIZHzgCA4sIWJei7ljJ7rctdagGg
mDVmTfL83jlg647ayEMSyjNWNulAq7/QAVg3+DIL1jYfmspKWlOuzH06oLQd9wB2
csnwA/9EkzEQvZr1/VqsawbZsBxWvJ+N1pVtLQvD9tV3FnlSkAclP3w0P2rBNsFZ
mw8a0QZzomLalT0kJfEc3dq3srCPvo8ZRqHIBdD2ZB/v0jKi32VX0CMrjH0Rnfea
/aUUmpYAaBPSbeBjHfrpp0HRLfAOHzkbwXe91uGPUbE388jE+rQvSmVucyBLb3J0
aCA8amVucy5rb3J0aEBhaXJwb3J0LWluZm9ybWF0aW9uLmNvbT6IYAQTEQIAIAUC
RBR2pgIbAwYLCQgHAwIEFQIIAwQWAgMBAh4BAheAAAoJENC3Q/lAR/3r68sAnjy7
ZHLy3dFk2yyayeBeoxdHO1tnAJ9/+zkTv+J547WOi4ZnRPcTCp+S+bkEDQREFHbV
EBAAvNED7kbzuqX5St6hbnv8nhk79geweRN5qDzLVOlygiSPP1r82Ip84quwwY7k
0K9ZUbDtE57q/cm4FVtaAj5iH09WfIOOYrn7vQvoksw6f6SuEvtstTfMa5RBtpTk
7siWD6w41+X9gi7Zx4CVvqNPtdla2S3yiPicD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t1JwyrA1Ev2nkfaIuLEvOKOft6JAwfRtiVgj
p+58sC4bALY9RKCqlUoCHjurIjd+5KeP6d6M9DZCnp8k2SzcvFwI3DMdphiskPBk
eb94mQ361YaXy8nB7dHojLTajpSrhOsQiEkEGBECAAkFAkQUdtUCGwwACgkQ0LdD
+UBH/eu+GwCeIkJV9SuHZN0bGUUM+z3bjGM0nqoAn1MNYOWwMAwTUtkG2r8tehcP
frWV
=0MzO
-----END PGP PUBLIC KEY BLOCK-----
Todd Shoemaker
2006-10-20 02:06:24 UTC
Permalink
Jim-

When I built a custom kernel and provided my own custom label in the
kernel config (e.g. -ts-amd64-smp), the build_initramfs did not add this
information to the modules directory, so it would fail to build the
initramfs. I fixed it by adding the following line around line 166 and
editing the KERNEL_VER variable:

eval `grep "^CONFIG_LOCALVERSION" ${KERNEL_SRC}/.config`

KERNEL_VER=${VERSION}.${PATCHLEVEL}.${SUBLEVEL}${EXTRAVERSION}${CONFIG_LOCALVERSION}

This made it work. I don't know if this is the same problem that Jens
is having, but it could help others. I think the local version is a
newer variable that is kept in .config, whereas the other extraversion
used to be in another file, IIRC.

-Todd
Post by Jim McQuillan
Post by Jens Korth
Dear Jim,
thank you for offering your help. Here is the information.
-------------
pxelinux.cfg/default: (I don't belive that the problem is here. If I
prompt 0
label linux
kernel bzImage-2.6.17.8-ltsp-shuttle
append rw root=/dev/ram0 initrd=initramfs.gz NIC=tg3
--------
insgesamt 4348
-rw-r--r-- 1 root root 1689510 19. Oct 00:30 bzImage-2.6.17.8-ltsp-shuttle
-rw-r--r-- 1 root root 2734887 19. Oct 00:30 initramfs.gz
-rw-r--r-- 1 root root 11826 19. Oct 00:30 pxelinux.0
drwxr-xr-x 2 root root 4096 19. Oct 00:30 pxelinux.cfg
insgesamt 4
-rw-r--r-- 1 root root 115 19. Oct 00:33 default
-----------------------------
All that seems ok to me ?! Maybe the initramfs.gz is not built correctly
by the script?!
well, I suppose it's possible. Lets take a look at the initramfs.gz
It's a gzipped cpio file.
cd /tftpboot/2.6.17.8-ltsp-shuttle
mkdir initramfs
cd initramfs
gunzip <../initramfs.gz | cpio -ivmud
This should result in the contents of the initramfs.gz file being dumped
into the initramfs directory. You should have a file called 'init'. If
you do, then maybe something's goofy with your kernel. But, didn't you
say you didn't change anything in the config?
btw, why do you even want to build a custom kernel?
Jim McQuillan
Post by Jens Korth
Thank you
Jens
Post by Jim McQuillan
Post by Jens Korth
Hello,
I am trying to compile my own kernel for ltsp 4.2.
I
- installed the 2.6.17.8 kernel sources
- installed the kernel kit
- copied the 2.6.17.8 .config file from the kit to the kernel directory
- run make oldconfig (but didn't change anything for the beginning)
- changed "Extraversion" in the makefile
- run "make, make modules, make modules_install"
- run build_initramfs
All that seems to run without problems. I get a new kernel with the pxe
files etc. in the tftboot/lts directory, modules are installed into
/opt/ltsp-4.2/i386/lib/modules/kernelname
I then changed the dhcpd config to point to the new kernel.
The kernel boots from pxe without any problem, but stops at the end with
an error
"Failed to execute /init"
"Kernel panic - not syncing: No init found. Try passing init= option to
kernel."
Can you show us the pxelinux.cfg/default file that you are using? Also, a
listing of the directory where your kernel and initrd file reside might
ls -lR /tftpboot/lts
would be helpful.
Jim McQuillan
Post by Jens Korth
Any ideas what I missed?
Thank you very much for your help.
jens
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
--
Best regards / Mit freundlichen Grüßen / Cordialement
Jens Korth, Managing Director
--------------------------------
www.airport-information.com
Albatross World Airports and Suppliers Database
Protect the privacy of your messages!
Email us your public PGP key and
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.2 (GNU/Linux)
mQGiBEQUdqYRBAD9MeIYYyf4UIYfmZ1fjMFqKwJBYn0H8MERcSKV7nk/VKfNGz78
et0m/m9wpx7Y3ddi2FzXg2VF7uB/00GI/z10R3IqLp1R8WB3l/Zckm7NfLal1S0C
LqEJUb5faXdozvL8alOoUksCHi49cexwUIKz266j0+1IxjasjofY3WbQtwCgqkV1
n+6TCvlzJ40a1NeHmWR7NikEAJzgPxzLJVWkwy6kw383CTjKYJVB8hNHhdwLkF4R
kF2IJ3NQoh6LiO4vOvSfvxQuZQkyUfPmlir7VIZHzgCA4sIWJei7ljJ7rctdagGg
mDVmTfL83jlg647ayEMSyjNWNulAq7/QAVg3+DIL1jYfmspKWlOuzH06oLQd9wB2
csnwA/9EkzEQvZr1/VqsawbZsBxWvJ+N1pVtLQvD9tV3FnlSkAclP3w0P2rBNsFZ
mw8a0QZzomLalT0kJfEc3dq3srCPvo8ZRqHIBdD2ZB/v0jKi32VX0CMrjH0Rnfea
/aUUmpYAaBPSbeBjHfrpp0HRLfAOHzkbwXe91uGPUbE388jE+rQvSmVucyBLb3J0
aCA8amVucy5rb3J0aEBhaXJwb3J0LWluZm9ybWF0aW9uLmNvbT6IYAQTEQIAIAUC
RBR2pgIbAwYLCQgHAwIEFQIIAwQWAgMBAh4BAheAAAoJENC3Q/lAR/3r68sAnjy7
ZHLy3dFk2yyayeBeoxdHO1tnAJ9/+zkTv+J547WOi4ZnRPcTCp+S+bkEDQREFHbV
EBAAvNED7kbzuqX5St6hbnv8nhk79geweRN5qDzLVOlygiSPP1r82Ip84quwwY7k
0K9ZUbDtE57q/cm4FVtaAj5iH09WfIOOYrn7vQvoksw6f6S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tyzj7WzbhvjOrLPxzlIJU
/E6Tb/4m6tAMn1rBD47Zli7CO3Fmt1JwyrA1Ev2nkfaIuLEvOKOft6JAwfRtiVgj
p+58sC4bALY9RKCqlUoCHjurIjd+5KeP6d6M9DZCnp8k2SzcvFwI3DMdphiskPBk
eb94mQ361YaXy8nB7dHojLTajpSrhOsQiEkEGBECAAkFAkQUdtUCGwwACgkQ0LdD
+UBH/eu+GwCeIkJV9SuHZN0bGUUM+z3bjGM0nqoAn1MNYOWwMAwTUtkG2r8tehcP
frWV
=0MzO
-----END PGP PUBLIC KEY BLOCK-----
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
Jim McQuillan
2006-10-20 02:10:40 UTC
Permalink
Post by Todd Shoemaker
Jim-
When I built a custom kernel and provided my own custom label in the
kernel config (e.g. -ts-amd64-smp), the build_initramfs did not add this
information to the modules directory, so it would fail to build the
initramfs. I fixed it by adding the following line around line 166 and
eval `grep "^CONFIG_LOCALVERSION" ${KERNEL_SRC}/.config`
KERNEL_VER=${VERSION}.${PATCHLEVEL}.${SUBLEVEL}${EXTRAVERSION}${CONFIG_LOCALVERSION}
This made it work. I don't know if this is the same problem that Jens
is having, but it could help others. I think the local version is a
newer variable that is kept in .config, whereas the other extraversion
used to be in another file, IIRC.
Very cool. I've not run into this before. I'll have to take a closer
look to see why it's worked fine for me in the past.

Thanks,
Jim.
Post by Todd Shoemaker
-Todd
Post by Jim McQuillan
Post by Jens Korth
Dear Jim,
thank you for offering your help. Here is the information.
-------------
pxelinux.cfg/default: (I don't belive that the problem is here. If I
prompt 0
label linux
kernel bzImage-2.6.17.8-ltsp-shuttle
append rw root=/dev/ram0 initrd=initramfs.gz NIC=tg3
--------
insgesamt 4348
-rw-r--r-- 1 root root 1689510 19. Oct 00:30
bzImage-2.6.17.8-ltsp-shuttle
-rw-r--r-- 1 root root 2734887 19. Oct 00:30 initramfs.gz
-rw-r--r-- 1 root root 11826 19. Oct 00:30 pxelinux.0
drwxr-xr-x 2 root root 4096 19. Oct 00:30 pxelinux.cfg
insgesamt 4
-rw-r--r-- 1 root root 115 19. Oct 00:33 default
-----------------------------
All that seems ok to me ?! Maybe the initramfs.gz is not built correctly
by the script?!
well, I suppose it's possible. Lets take a look at the initramfs.gz
It's a gzipped cpio file.
cd /tftpboot/2.6.17.8-ltsp-shuttle
mkdir initramfs
cd initramfs
gunzip <../initramfs.gz | cpio -ivmud
This should result in the contents of the initramfs.gz file being dumped
into the initramfs directory. You should have a file called 'init'. If
you do, then maybe something's goofy with your kernel. But, didn't you
say you didn't change anything in the config?
btw, why do you even want to build a custom kernel?
Jim McQuillan
Post by Jens Korth
Thank you
Jens
Post by Jim McQuillan
Post by Jens Korth
Hello,
I am trying to compile my own kernel for ltsp 4.2.
I
- installed the 2.6.17.8 kernel sources
- installed the kernel kit
- copied the 2.6.17.8 .config file from the kit to the kernel directory
- run make oldconfig (but didn't change anything for the beginning)
- changed "Extraversion" in the makefile
- run "make, make modules, make modules_install"
- run build_initramfs
All that seems to run without problems. I get a new kernel with the pxe
files etc. in the tftboot/lts directory, modules are installed into
/opt/ltsp-4.2/i386/lib/modules/kernelname
I then changed the dhcpd config to point to the new kernel.
The kernel boots from pxe without any problem, but stops at the end with
an error
"Failed to execute /init"
"Kernel panic - not syncing: No init found. Try passing init= option to
kernel."
Can you show us the pxelinux.cfg/default file that you are using?
Also,
a
listing of the directory where your kernel and initrd file reside might
ls -lR /tftpboot/lts
would be helpful.
Jim McQuillan
Post by Jens Korth
Any ideas what I missed?
Thank you very much for your help.
jens
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
--
Best regards / Mit freundlichen Grüßen / Cordialement
Jens Korth, Managing Director
--------------------------------
www.airport-information.com
Albatross World Airports and Suppliers Database
Protect the privacy of your messages!
Email us your public PGP key and
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.2 (GNU/Linux)
mQGiBEQUdqYRBAD9MeIYYyf4UIYfmZ1fjMFqKwJBYn0H8MERcSKV7nk/VKfNGz78
et0m/m9wpx7Y3ddi2FzXg2VF7uB/00GI/z10R3IqLp1R8WB3l/Zckm7NfLal1S0C
LqEJUb5faXdozvL8alOoUksCHi49cexwUIKz266j0+1IxjasjofY3WbQtwCgqkV1
n+6TCvlzJ40a1NeHmWR7NikEAJzgPxzLJVWkwy6kw383CTjKYJVB8hNHhdwLkF4R
kF2IJ3NQoh6LiO4vOvSfvxQuZQkyUfPmlir7VIZHzgCA4sIWJei7ljJ7rctdagGg
mDVmTfL83j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22hCHofpe
PlpozVVucNqsPM9UZkgWpEfZhjg071uOSP7VCk7E01w8Wp8AAwUP/iXGzzr60pv8
/3+O+OSkfy8uMrDIjf23l+8vhe+poAO6jOlpteltqfWAD9YvOVuKfs2eIaWAOplT
S3+C2fPq1eexlKGtGPk/59ou0bSXVV4kzKHv4kBggwavaWiVAVRGzfwJtY8NqqUQ
pQkjBDJ1UZ9BjkmaWfCvr/bmqhDykLweob9uDlachSuHGy9f/CqC4C9klXQI5ADP
TzpeoOZGIT3DgsdND3LcPNTtosDktdsZ8kvvlEtQ5s5r0XQyE9ZatY7RPzZipnL5
7DcznyMABUJxqSoAieEmrWjZKs07637+rt0onEcA24vI2BgC7tGRb6r3rhCCS7ce
dBfL7UE9MYW+FH5cg61HRrDltnJfjbdO6GsB8cXtdvEd4swtliEpHT/4JMmcvblo
8jArHWi28ZqLksT7+7bkeColOW0lup2yeVOaT6Mqb3OuQASxZmlOCd0egPQaDtZv
2dWuY990MFCz/Y/2M086oWWSsgWSgp4WKY48HAHyOvhtyzj7WzbhvjOrLPxzlIJU
/E6Tb/4m6tAMn1rBD47Zli7CO3Fmt1JwyrA1Ev2nkfaIuLEvOKOft6JAwfRtiVgj
p+58sC4bALY9RKCqlUoCHjurIjd+5KeP6d6M9DZCnp8k2SzcvFwI3DMdphiskPBk
eb94mQ361YaXy8nB7dHojLTajpSrhOsQiEkEGBECAAkFAkQUdtUCGwwACgkQ0LdD
+UBH/eu+GwCeIkJV9SuHZN0bGUUM+z3bjGM0nqoAn1MNYOWwMAwTUtkG2r8tehcP
frWV
=0MzO
-----END PGP PUBLIC KEY BLOCK-----
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
Jens Korth
2006-10-20 16:01:12 UTC
Permalink
Dear Jim James, Todd,

thank you for all your help.

Unfoirtunately, no results :-(


1) Dear Todd,
Post by Todd Shoemaker
eval `grep "^CONFIG_LOCALVERSION" ${KERNEL_SRC}/.config`
KERNEL_VER=${VERSION}.${PATCHLEVEL}.${SUBLEVEL}${EXTRAVERSION}${CONFIG_LOCALVERSION}
As I didn't use the config's localversion string, that didn't change
anything. But its a good hint!
Post by Todd Shoemaker
OK now your modules are installed in /lib/modules/2.6.17-bla but you
need them
in /opt/ltsp/i386/lib/modules
make INSTALL_MOD_PATH=/opt/ltsp/i386 modules_install
That is strange. When I run the build_initramfs script, it copies the
modules from the /lib/modules directory to the ltsp directory tree. So
the modules are there.

I tried the Make command as mentioned by you, but it didn't help.

I am completely stuck.

any other ideas?
Jens
John P. New
2006-10-20 13:53:03 UTC
Permalink
While we're on the subject of the build_initramfs script, I'd like to
suggest a small change.

Part of the output of the script says:

Copying the PXE kernel to /tftpboot/lts

which really confused me as I had directed the kernel to be placed
somewhere else. Then I noticed that the location is hard-coded at line
364:

echo "Copying the PXE kernel to /tftpboot/lts"

So, I would suggest changing that line to:

echo "Copying the PXE kernel to ${TFTP_DIR}"


Hope that helps,

John P. New
London, Ontario, Canada
Post by Todd Shoemaker
Jim-
When I built a custom kernel and provided my own custom label in the
kernel config (e.g. -ts-amd64-smp), the build_initramfs did not add this
information to the modules directory, so it would fail to build the
initramfs. I fixed it by adding the following line around line 166 and
eval `grep "^CONFIG_LOCALVERSION" ${KERNEL_SRC}/.config`
KERNEL_VER=${VERSION}.${PATCHLEVEL}.${SUBLEVEL}${EXTRAVERSION}${CONFIG_LOCALVERSION}
This made it work. I don't know if this is the same problem that Jens
is having, but it could help others. I think the local version is a
newer variable that is kept in .config, whereas the other extraversion
used to be in another file, IIRC.
-Todd
j***@tigger.ws
2006-10-19 23:24:13 UTC
Permalink
Post by Jens Korth
Hello,
I am trying to compile my own kernel for ltsp 4.2.
I
- installed the 2.6.17.8 kernel sources
- installed the kernel kit
- copied the 2.6.17.8 .config file from the kit to the kernel directory
- run make oldconfig (but didn't change anything for the beginning)
- changed "Extraversion" in the makefile
- run "make, make modules, make modules_install"
make
make modules_install

(I think make modules is harmless)
Post by Jens Korth
- run build_initramfs
OK now your modules are installed in /lib/modules/2.6.17-bla but you need them
in /opt/ltsp/i386/lib/modules

I did:
make INSTALL_MOD_PATH=/opt/ltsp/i386 modules_install

you can just copy them there too
James
j***@tigger.ws
2006-10-19 23:42:10 UTC
Permalink
Post by Jens Korth
I want a custom kernel because I need some other drivers for
sound/graphics etc. And I hoped for some better performance when
compiling for the specific processor (Pentium M).
I unpacked the initramfs.gz file.
The IS an init file in the root directory.
Very strange.
Maybe the .config file for the kernel is not correct.
Is there anything that could prevent the kernel from using the
initramfs.gz file?
[snip]
I recognize the preamble, I had exactly the same.
The initramfs failed because there were no modules
modules in and all worked
James
j***@tigger.ws
2006-10-21 00:57:04 UTC
Permalink
Post by John P. New
While we're on the subject of the build_initramfs script, I'd like to
suggest a small change.
Copying the PXE kernel to /tftpboot/lts
which really confused me as I had directed the kernel to be placed
somewhere else. Then I noticed that the location is hard-coded at line
echo "Copying the PXE kernel to /tftpboot/lts"
echo "Copying the PXE kernel to ${TFTP_DIR}"
Some distros will not allow you to change it. EG RedHat last time I looked.
The -s flag notwithstanding. (tftp won't work unless right flags and right
place)
I see no reason to change it and GOOD reason to not change it.
What is your argument?
James
John P. New
2006-10-21 01:16:54 UTC
Permalink
James,

I'm not advocating changing the behaviour of the build_initramfs script.
The script itself allows you to copy the PXE kernel to any location you
want: it asks for the "Location of TFTP directory". And the script
faithfully copies the PXE kernel to the location you specify (or
defaults to /tftpboot/lts).

However, regardless of where the PXE kernel is copied, the script
_output_ always says "Copying the PXE kernel to /tftpboot/lts". At best,
it is confusing; at worst, it won't alert the user that the PXE kernel
is being copied incorrectly.

My change just makes the script report what it's actually doing. I'm
changing an echo statement, not any script logic.

John
Post by j***@tigger.ws
Post by John P. New
While we're on the subject of the build_initramfs script, I'd like to
suggest a small change.
Copying the PXE kernel to /tftpboot/lts
which really confused me as I had directed the kernel to be placed
somewhere else. Then I noticed that the location is hard-coded at line
echo "Copying the PXE kernel to /tftpboot/lts"
echo "Copying the PXE kernel to ${TFTP_DIR}"
Some distros will not allow you to change it. EG RedHat last time I looked.
The -s flag notwithstanding. (tftp won't work unless right flags and right
place)
I see no reason to change it and GOOD reason to not change it.
What is your argument?
James
j***@tigger.ws
2006-10-21 01:05:11 UTC
Permalink
Ha!  I saw that too.  (pulse)  Not really sure how to replace that
with esd on the terminal though.   Let us know if you
succeed...although, mot think of it I might  know how to do it.  Is
anyone else confused by the way that the esd daemon is referred to as
a *server*.  It seems to me that if it's listening then it's really a
client.  no?   sorry for rambling....
Its all in the fine print <smile>
A SERVER offers some functionality like serving www pages or playing audio ...
A CLIENT makes use of the functionality like "pay my audio on your speakers
please"
James
Loading...