home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25255 < prev    next >
Encoding:
Text File  |  1993-01-24  |  2.9 KB  |  82 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!gatech!destroyer!fmsrl7!lynx.unm.edu!umn.edu!csus.edu!netcom.com!aclark
  3. From: aclark@netcom.com (Al Clark)
  4. Subject: Re: ??? SLS 0.99 Kernel File System
  5. Message-ID: <1993Jan24.005756.15895@netcom.com>
  6. Keywords: File System
  7. Organization: Netcom Online Communications Services (408-241-9760 login: guest)
  8. References: <1993Jan18.222039.11613@tandem.com>
  9. Date: Sun, 24 Jan 1993 00:57:56 GMT
  10. Lines: 70
  11.  
  12. In article <1993Jan18.222039.11613@tandem.com> tran@tran.Berkeley.EDU (Tran) writes:
  13. >Hi,
  14. >
  15. >I downloaded the latest SLS package from tsx-11 and installed it in my
  16. >machine.  Everything worked great!!!  
  17. >
  18. >When I tried to recompile the kernel and create a new boot disk, I got 
  19. >kernel panic because the file system can't mount my root device due to a 
  20. >"bad superblock".  I have tried to reconfigure the kernel for both Minix
  21. >and Extended FS as well as for Minix alone.  None worked.  This is very
  22. >frustrating as I need to recompile the kernel to install TCP/IP.  
  23. >
  24. >The root device on my machine resides on a 300M SCSI disk attached to 
  25. >a AHA-1542B controller.  I also have several other disks in the machine 
  26. >but Linux does not know about them, yet.  
  27. >
  28. >Does anyone out there have a clue as to what the nature of my problem 
  29. >may be?  I would appreciate any helpful pointer.
  30. >
  31. >Regards,
  32. >
  33. >Hieu T. Tran
  34.     I got the same message, "Unable to mount root".  Turns out
  35.     that the make I am using doesn't pass on the definitions in
  36.     .depend, so that there are NO filesystems defined in
  37.     fs/super.c at compile time.  I manually generated the defines
  38.     in the toplevel makefile, and passed them on in CFLAGS to
  39.     the other makefiles.  After the following lines in the Makefile:
  40.  
  41. ifdef CONFIG_M486
  42. CFLAGS := $(CFLAGS) -m486
  43. endif
  44.         I added (from the .depend file after make config):
  45. ===================   Makefile additions ==================
  46. #
  47. # General setup
  48. #
  49. CFLAGS := $(CFLAGS) -DCONFIG_MATH_EMULATION
  50. CFLAGS := $(CFLAGS) -DCONFIG_BLK_DEV_HD
  51. CFLAGS := $(CFLAGS) -DCONFIG_PROFILE
  52. CFLAGS := $(CFLAGS) -DCONFIG_MAX_16M
  53.  
  54. #
  55. # Filesystems
  56. #
  57. CFLAGS := $(CFLAGS) -DCONFIG_MINIX_FS
  58. CFLAGS := $(CFLAGS) -DCONFIG_EXT_FS
  59. CFLAGS := $(CFLAGS) -DCONFIG_MSDOS_FS
  60. CFLAGS := $(CFLAGS) -DCONFIG_PROC_FS
  61.  
  62. #
  63. # Various character device drivers..
  64. #
  65. CFLAGS := $(CFLAGS) -DCONFIG_KBD_META
  66. CFLAGS := $(CFLAGS) -DCONFIG_AUTO_IRQ
  67. ===================   end Makefile additions ==================
  68.  
  69.      I know this is a hack, but it worked. 
  70.      The make I have doesn't seem to support 
  71.      the include thing at the top of the Makefile.
  72.      I updated to the make supplied with SLS, and tried it, 
  73.      got the same result.
  74.      (Clue: Image is about 195k in size versus 290k when it worked).
  75.  
  76. If anybody knows what the problem is, I would appreciate a response.
  77. Email, please, since I only survery this group by searching for
  78. authors (like Linus) and subject key words (like sls).  And on busy
  79. days I often just catch up.
  80. -- 
  81. Al - aclark@netcom.com - My opinions are my own.
  82.