home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!gatech!destroyer!fmsrl7!lynx.unm.edu!umn.edu!csus.edu!netcom.com!aclark
- From: aclark@netcom.com (Al Clark)
- Subject: Re: ??? SLS 0.99 Kernel File System
- Message-ID: <1993Jan24.005756.15895@netcom.com>
- Keywords: File System
- Organization: Netcom Online Communications Services (408-241-9760 login: guest)
- References: <1993Jan18.222039.11613@tandem.com>
- Date: Sun, 24 Jan 1993 00:57:56 GMT
- Lines: 70
-
- In article <1993Jan18.222039.11613@tandem.com> tran@tran.Berkeley.EDU (Tran) writes:
- >Hi,
- >
- >I downloaded the latest SLS package from tsx-11 and installed it in my
- >machine. Everything worked great!!!
- >
- >When I tried to recompile the kernel and create a new boot disk, I got
- >kernel panic because the file system can't mount my root device due to a
- >"bad superblock". I have tried to reconfigure the kernel for both Minix
- >and Extended FS as well as for Minix alone. None worked. This is very
- >frustrating as I need to recompile the kernel to install TCP/IP.
- >
- >The root device on my machine resides on a 300M SCSI disk attached to
- >a AHA-1542B controller. I also have several other disks in the machine
- >but Linux does not know about them, yet.
- >
- >Does anyone out there have a clue as to what the nature of my problem
- >may be? I would appreciate any helpful pointer.
- >
- >Regards,
- >
- >Hieu T. Tran
- I got the same message, "Unable to mount root". Turns out
- that the make I am using doesn't pass on the definitions in
- .depend, so that there are NO filesystems defined in
- fs/super.c at compile time. I manually generated the defines
- in the toplevel makefile, and passed them on in CFLAGS to
- the other makefiles. After the following lines in the Makefile:
-
- ifdef CONFIG_M486
- CFLAGS := $(CFLAGS) -m486
- endif
- I added (from the .depend file after make config):
- =================== Makefile additions ==================
- #
- # General setup
- #
- CFLAGS := $(CFLAGS) -DCONFIG_MATH_EMULATION
- CFLAGS := $(CFLAGS) -DCONFIG_BLK_DEV_HD
- CFLAGS := $(CFLAGS) -DCONFIG_PROFILE
- CFLAGS := $(CFLAGS) -DCONFIG_MAX_16M
-
- #
- # Filesystems
- #
- CFLAGS := $(CFLAGS) -DCONFIG_MINIX_FS
- CFLAGS := $(CFLAGS) -DCONFIG_EXT_FS
- CFLAGS := $(CFLAGS) -DCONFIG_MSDOS_FS
- CFLAGS := $(CFLAGS) -DCONFIG_PROC_FS
-
- #
- # Various character device drivers..
- #
- CFLAGS := $(CFLAGS) -DCONFIG_KBD_META
- CFLAGS := $(CFLAGS) -DCONFIG_AUTO_IRQ
- =================== end Makefile additions ==================
-
- I know this is a hack, but it worked.
- The make I have doesn't seem to support
- the include thing at the top of the Makefile.
- I updated to the make supplied with SLS, and tried it,
- got the same result.
- (Clue: Image is about 195k in size versus 290k when it worked).
-
- If anybody knows what the problem is, I would appreciate a response.
- Email, please, since I only survery this group by searching for
- authors (like Linus) and subject key words (like sls). And on busy
- days I often just catch up.
- --
- Al - aclark@netcom.com - My opinions are my own.
-