home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.bsd
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!ghost.dsi.unimi.it!serini
- From: serini@ghost.dsi.unimi.it (Piero Serini)
- Subject: At boot: file too big to load
- Organization: Computer Science Dep. - Milan University
- Date: Sun, 22 Nov 1992 22:50:44 GMT
- Message-ID: <1992Nov22.225044.1344@ghost.dsi.unimi.it>
- Lines: 31
-
- Hi.
- At the end I succeeded recompiling that damn kernel.
- A little problem still keeps me unhappy: if I install the new
- kernel in /386bsd, at boot time bootas tells me: file too big to load.
-
- I gave a look into boot.c code, and found the following lines:
-
- if(roundup(x.a_text, 4096) + x.a_data + x.a_bss > (unsigned)&fil) {
- printf("File too big to load");
- return;
- }
-
- now, x is declared struct exec x , and fil struct dinode fil;
-
- The meaning of the code is clear, but I can't figure out why
- a kernel which size is 466730 is too big to load.
- What do you (all) think about casting fil address a bit higher ?
-
- I'm waiting for your suggestions ...
-
- Bye
-
-
-
- ------------------------------------------ Piero Serini -----------------
- E-mail: serini@ghost.dsi.unimi.it
- Piero Serini or: piero@strider.st.dsi.unimi.it
- Via Giambologna, 1
- I 20136 MILANO MI Computer Science Dept.
- ITALY Universita' Statale - Milano - ITALY
- -------------------------------------------------------------------------
-