John, The fact that your root/lib/modules is empty is normal.
The buildk script will create a ramdisk filesystem, copy the contents of the ltsp_initrd_kit/root into that new ram filesystem. It will then copy the modules from /lib/modules/2.4.19, and it will create the modules.dep file. Then, that ram based filesystem will be saved as a file, and tacked onto the end of the kernel, and the kernel will be tagged for Etherboot using the mknbi-linux command. What I think you didn't do was copy the /lib/modules/2.4.19 tree over to /opt/ltsp/i386/lib/modules. Perhaps the recipe doesn't say to do that. I haven't tried following that recipe, because I don't have multiple dhcp servers. Also, once you copy the modules, you'll need to run depmod on them, to create the modules.dep file. take a look at the buildk script, to see how depmod is being run when the initrd is build. the process is similar. Hope that helps, Jim McQuillan [EMAIL PROTECTED] On Thu, 17 Oct 2002, John Hammen wrote: > Thanks for your quick reply. I did indeed build my own kernel, but from > what I got out of the parallel dhcp recipe, it seemed to be enough to > place the new kernel where tftp can get at it and edit dhcpd.conf to > point the clients to the new image, but it doesn't say anything about > the modules. > > I'm unsure what to do here, because after compiling the kernel and then > running buildk in the ltsp_initrd_kit, I get a valid kernel image (works > fine) but the directory ltsp_initrd_kit/root/lib/modules is empty. Am I > missing a step to create the modules and the modules.dep file in this > directory? > > -John > > >John, > > > >Did you build your own kernel ? > > > >If you did, i'd say you forgot to copy the kernel modules to the > >/opt/ltsp/i386/lib/modules directory. > > > > > >Jim McQuillan > >[EMAIL PROTECTED] > > > > > > > >On Wed, 16 Oct 2002, John Hammen wrote: > > > > > > > >>Hi All, I've setup LTSP using dhcp on ports 1001/1002 according to the > >>instructions at http://www.ltsp.org/contrib/parallel_dhcp.txt, and > >>everything works fine, except I get the following error at boot time: > >> > >>Can't open dependencies file /lib/modules/2.4.19/modules.dep (no such > >>file or directory) > >> > >>I tried symlinking /opt/ltsp/i386/lib/modules/2.4.19 -> > >>/opt/ltsp/i386/lib/modules/2.4.19-ltsp-1, but this results in a whole > >>slew of errors to the effect that the files were compiled for the wrong > >>version, so I'm not quite sure how I should create > >>/opt/ltsp/i386/lib/modules/2.4.19 to make things work right. > >> > >>Any and all suggestions would be appreciated... > >> > >>-John > >> > >> > >> > >> > >>------------------------------------------------------- > >>This sf.net email is sponsored by: viaVerio will pay you up to > >>$1,000 for every account that you consolidate with us. > >>http://ad.doubleclick.net/clk;4749864;7604308;v? > >>http://www.viaverio.com/consolidator/osdn.cfm > >>_____________________________________________________________________ > >>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.openprojects.net > >> > >> > >> > > > > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _____________________________________________________________________ > 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.openprojects.net > -- ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _____________________________________________________________________ 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.openprojects.net
