home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / bsd / 9192 < prev    next >
Encoding:
Text File  |  1992-11-22  |  1.4 KB  |  41 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!ghost.dsi.unimi.it!serini
  3. From: serini@ghost.dsi.unimi.it (Piero Serini)
  4. Subject: At boot: file too big to load
  5. Organization: Computer Science Dep. - Milan University
  6. Date: Sun, 22 Nov 1992 22:50:44 GMT
  7. Message-ID: <1992Nov22.225044.1344@ghost.dsi.unimi.it>
  8. Lines: 31
  9.  
  10. Hi.
  11. At the end I succeeded recompiling that damn kernel.
  12. A little problem still keeps me unhappy: if I install the new
  13. kernel in /386bsd, at boot time bootas tells me: file too big to load.
  14.  
  15. I gave a look into boot.c code, and found the following lines:
  16.  
  17. if(roundup(x.a_text, 4096) + x.a_data + x.a_bss > (unsigned)&fil) {
  18.     printf("File too big to load");
  19.     return;
  20. }
  21.  
  22. now, x is declared struct exec x   , and fil struct dinode fil;
  23.  
  24. The meaning of the code is clear, but I can't figure out why
  25. a kernel which size is 466730 is too big to load.
  26. What do you (all) think about casting fil address a bit higher ?
  27.  
  28. I'm waiting for your suggestions ...
  29.  
  30. Bye
  31.  
  32.  
  33.  
  34. ------------------------------------------ Piero Serini -----------------
  35.                                E-mail: serini@ghost.dsi.unimi.it   
  36. Piero Serini                   or: piero@strider.st.dsi.unimi.it
  37. Via Giambologna, 1
  38. I  20136  MILANO  MI                Computer Science Dept.
  39. ITALY                        Universita' Statale - Milano - ITALY
  40. -------------------------------------------------------------------------
  41.