Re: Kernel Panic After Build, RH Linux 9 (Shrike)--FS Failure



Scott Lurndal wrote:

"W. Watson" <wolf_tracks@xxxxxxxxxxx> writes:

One problem solved, and another occurred. I executed make install, and that solved the kernel panic problem. I booted up successfully and installed the application. Then I tried to execute itbut the computer hung. Maybe I should have booted again before trying to execute. I then powered down/up. Now the boot has problems with the filesystem. I tried getting by it, but kept getting:

Contains fs with errors. Check forced.
Inode xxxx has illegal blocks.
UNEXPECTED CONSISTENCY. RUN fsck MANUALLY
(i.e., w/o -A or -P)

So do I enter just fsck at the command prompt? I'm logged on as root.


I think you're most likely screwed. While ext2 is generally forward
compatible, it is seldom backward compatible. If the ext2 filesystem
code in your RTlinux is older than that in the distro you installed,
or Rtlinux only supports ext2 and you installed with ext3, you'll get
this kind of error. In particular, downgrading[*] from FC4 to, say, RH8 will have many fsck errors because RH8 doesn't know about all
the extended attribute stuff that FC4 will have included.

Now, that said, the fsck on RH8 will generally just cleanup the newer stuff without losing the actual file and directory contents. Usually. YMMV.

scott

[*] or even sharing an ext2 fs between them.
I'm on RHL9 (Shrike). Don't know if it's really ext2 or ext3. Isn't there something like fstab the place to look?* When I did the menuconfig in the rtlinux build, I recall specifying ext3. Why I did that I reall don't know. Just seemed OK at the time. RTL is 2.4.20-6. I've installed this (unfortunately) rtlinux on RTL9 many times. Had similar problems in the past when the power in the area goes off unexpectedly, but I've always been able to get back up despite file errors.

Well, if this doesn't work out, I can always go through 120 minutes of installing it all again. Gads.

* Just looked at fstab and ext3 is the only fs there. I looked on the operational machine, and it's the same.






Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
--
"When you think about it, electricity is
really just organized lightning." -- George Carlin

Web Page: <home.earthlink.net/~mtnviews>
.



Relevant Pages

  • Re: Spontaneous unclean reboots
    ... I would still fsck / just to make sure there are no errors, ... I'm going to do that from the Knoppix cd I have, ... Did you run a checksum on the Opera download before installing it? ... It shouldn't have reboot at all, ...
    (alt.os.linux)
  • Re: This has to be a bug...
    ... Although games work for me in -stable as well as -current ... to make a guess how frequently this happens, but since installing the ... > that requires one to manually run fsck. ... I'll give AA2 a try and let you know how it is doing here. ...
    (freebsd-current)
  • Re: 4.10 wont boot
    ... >> I installed 4.10 and finished installing software then rebuilt the ... Reboot and I its complaining of a ... >> dirty file system and needs to manulally run fsck. ... The system was shutdown a gracefull as reboot command can be. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Kernel Panic After Build, RH Linux 9 (Shrike)--FS Failure
    ... So do I enter just fsck at the command prompt? ... or Rtlinux only supports ext2 and you installed with ext3, ... Well, if this doesn't work out, I can always go through 120 minutes of installing it all again. ... Wayne T. Watson ...
    (linux.redhat.misc)