regarding ld.so.preloads,ld.so.cache
hello everyone
i am using Hardhat embedded linux for my customerized
board everything went fine till th dhell init as soon as the init is called the control starts looking for ld.so.preloads,ld.so.cache and then after loading some files from NFS mounted file sytem from server this goes hangs i am looking for an answer since last three days and it is driven me mad please help me
bharat
!-- Virus-Free Mail Using PostMaster Enterprise AvAc & QuickHeal Engine --!
-----------------------------------
Coral Telecom Limited, Noida, India
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Two things. First ld.so.preloads and ld.so.cache (and ld.conf) are all optional, and usually won't exist on an embedded system. (You might get some arguments by some about ld.so.cache.. but the point is it does NOT need to exist).
Second I believe you NFS problems are probably unrelated. Specifically on system without a proper RTC, the timestamps for NFS requests will reset to a previous time stamp. NFS uses time stamps to make sure that requests are always moving "forward" in time. If you reboot your embedded system, the time stamp goes back in time.. you can easily get lockups with the NFS server not responding.
First thing to try, reboot the NFS server, and see if it works once.. then stops working for subsequent boots. If that is the case, then you will need to figure out how to seed the kernel (on your embedded system) with a reasonable "time/date" combo if you don't have an RTC.
--Mark
Quoted 11 lines · bharat
hello everyone
i am using Hardhat embedded linux for my customerized
board everything went fine till th dhell init as soon as the init is called the control starts looking for ld.so.preloads,ld.so.cache and then after loading some files from NFS mounted file sytem from server this goes hangs i am looking for an answer since last three days and it is driven me mad please help me
bharat
Quoted 8 lines
!-- Virus-Free Mail Using PostMaster Enterprise AvAc & QuickHeal Engine --!
-----------------------------------
Coral Telecom Limited, Noida, India
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
A message that is not in the archive (sent off-list or not yet received): 2755028.1086671873328.JavaMail.administrator@RnDserver
A message that is not in the archive (sent off-list or not yet received): 5202403.1086706828281.JavaMail.administrator@RnDserver
hi Mark
there is not effect of rebooting my NFS server it keeps on
allowing the mounting of filesystem to my client.
the NFS mounted client starts looking for sbin/init it founds then it starts executing some scripts and then hangs after executing some of them moreover it donot hangs at a particular file .
i am mounting /opt/hardhat/devkit/ppc/8xx/target
directory to the client is this correct? or i should also make some changes in some files to allow as i read in Karim yaghmour book to make changes in libc.so file
to change every appearance of /lib/libc.so.6 to libc.so.6 should i make the
same changes
please guide me as i have just started working in embedded field and a novice waiting for your response
bharat
Quoted 10 lines · you
I don't completely understand your response. Specific did rebooting your NFS server allow for you to boot once without a problem?
If so then this is definatly an RTC related problem. You will need to implement a proper real-time clock in the kernel before it starts using the NFS root filesystem.
--Mark
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/