home *** CD-ROM | disk | FTP | other *** search
/ Amiga GigaPD 3 / Amiga_GigaPD_v3_3of3.iso / netbsd / docs / mailinglist-archive / 1993-07 / text0069.txt < prev    next >
Encoding:
Text File  |  1993-06-25  |  1.6 KB  |  40 lines

  1. Hello,
  2.  
  3. my netbsd was down for about week, and I'm still using quite
  4. old kernel (394), since it worked quite well for me and I didn't
  5. want to download the 452 source tree (the 394-450 diff had some
  6. problems ?) and recompile for my system.
  7.  
  8. Ok, I had one root disk screwup and had to reinstall the rootfs.
  9. I believe that system worked after that, but now after one week
  10. (and some fsck's since my reboot doesn't work (16M machine)) /etc/rc
  11. reported on kvm_mkdb that it couldn't build the database.
  12.  
  13. kvm_mkdb: Unknown error: 0  (or some such) and a temporary file
  14. *.tmp is left to /var/run directory.
  15. System works after that, but ofcourse kernel variables can't be
  16. found by ps & co.
  17. dev_mkdb works, /vmunix is readable (copied to /dev/null as a test :-)
  18. and I have no clue why the kvm_mkdb fails.
  19.  
  20. Then something completely different..
  21. I have done some boot code to read the /vmunix out of bsd root partition.
  22. It works for the first few blocks, until it starts to read the first
  23. level indirection blocks (after 12 direct blocks) but crashes right
  24. after that (Bus error in amigados :-)
  25. I'll have to try to "debug" it in netbsd.
  26.  
  27. First thing will be ofcourse something like what loadbsd does currently,
  28. but instead of reading amigados file, the boot loader will read the
  29. kernel out of netbsd root partition.
  30. I have had some experiments with amigados boot blocks in hard disk
  31. partitions and the step to that level isn't big after the first working
  32. loader (I think and hope :-).
  33.  
  34. BTW, the boot block code seems to run in such early stage of amigaos
  35. bootstrap, that there is no intuition screen.  Is there any easy way
  36. to debug boot code (instead of sending data to serial port)?
  37.  
  38. ++Tero
  39.  
  40.