On Thu, October 19, 2006 12:22 pm, Jens Korth wrote:
> 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?!


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
[EMAIL PROTECTED]


>
> Thank you
> Jens
>
>
>
> Jim McQuillan wrote:
>> On Thu, October 19, 2006 10:05 am, Jens Korth wrote:
>>
>>>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
>> [EMAIL PROTECTED]
>>
>>
>>
>>
>>
>>>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
>>>_____________________________________________________________________
>>>Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>>>      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
>> _____________________________________________________________________
>> Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>>       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/cm4FVtaAj5iH09Wf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 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
> _____________________________________________________________________
> Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>       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
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to