All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Error Code 255 and "Permission Denied"
@ 2002-05-06 19:12 Daniel Christiansen
  2002-05-07  0:54 ` Manuel Krause
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel Christiansen @ 2002-05-06 19:12 UTC (permalink / raw)
  To: reiserfs-list

Everything seems to work by using the 3.x.1b version of reisfsck with
--rebuild-tree.  Thank you very much, Oleg, for taking the time to solve
my problem.

I don't know anything about the "write cache enabled" issue below.  Is
this something I have to change with a jumper, a bios setting, or a
software configuration?

Thanks again.

> > Other indications of a problem:  I ran the dmesg program from /bin
and
> > got "Warning log replay starting on readonly filesystem" and lots of
> > "i/o failure trying to find stat data" messages.
> Your filesystem was corrupted by something. Do you have Windows on
that
> box,
> too?
> I have windows on the first drive, which I rarely use, and a vfat
> windows partition on the second drive so that I could transfer files.
> I'm not sure, but I think my problems started after a power outage.

Hm. Do you have write cache enabled on your harddrive? That may explain
your problems (and yes, most of drive manufacturers do enable write
caching
by default).






^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: Error Code 255 and "Permission Denied"
@ 2002-05-06 16:07 Daniel Christiansen
  2002-05-06 18:06 ` Oleg Drokin
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel Christiansen @ 2002-05-06 16:07 UTC (permalink / raw)
  To: reiserfs-list

>>> Oleg Drokin <green@namesys.com> 05/06/02 07:21 AM >>>

Make sure to get latest reiserfsprogs (v3.x.1b) from namesys ftp site.

I did this and installed it.  But, of course, my rescue disk has the old
3.x.0j version not the new 3.x.1b version.  How can I use the new
version?

> Other indications of a problem:  I ran the dmesg program from /bin and
> got "Warning log replay starting on readonly filesystem" and lots of
> "i/o failure trying to find stat data" messages.

Your filesystem was corrupted by something. Do you have Windows on that
box,
too?

I have windows on the first drive, which I rarely use, and a vfat
windows partition on the second drive so that I could transfer files.

I'm not sure, but I think my problems started after a power outage.


> "kernel: is_tree_node: node level 0 does not match to the expected one
1
> kernel: vs-5150: search_by_key: invalid format found in block 8272.
> Fsck?"

This message confirms damaged blocks theory.

> I would appreciate any suggestions as to how fix my problem.

Get latest reiserfsprogs package and run reiserfsck --rebuild-tree.

I presume I'm supposed to remount my / drive as read only.  I'm not sure
how to do that.  I'll try to find out.


Thanks for the help.

Dan


Bye,
    Oleg


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Error Code 255 and "Permission Denied"
@ 2002-05-05 16:18 Daniel Christiansen
  2002-05-06 11:21 ` Oleg Drokin
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel Christiansen @ 2002-05-05 16:18 UTC (permalink / raw)
  To: reiserfs-list

I am using Mandrake 8.2 with the 2.4.18-6mdk kernel and reiserfsck
3.x.0j.  I have a reiser file system on my / drive hdb2 and /home hdb6. 
These are on a new 40G IBM hard drive.

Whenever I boot up sysinit cannot write to several files in /var/log, in
particular to dmesg.  I get a "Permission Denied" message. The same is
true when I try to access these five or six files as root.  I don't
think this is a permission problem; permissions are
/var/log drwxr-xr-x root root.

I ran reiserfsck from the rescue disk.  "Echo $?" showed error code 255.
 I can't find what this means.

The message in the logfile was"Node (8272) with wrong level (0) found in
the tree (should be 1)." [There was also a message on the screen of
"pass_through_tree: unable to read 2949119 block on device 0x4."]  The
--fix-fixable option didn't seem to do anything.
[Although, if I recall correctly, there was a message having to do with
resizing that I didn't understand.]

I started to use the --rebuild-tree option but was dissuaded by the
message about only using it if I was desperate.  Perhaps I need to take
a deep breath and use this option.

Other indications of a problem:  I ran the dmesg program from /bin and
got "Warning log replay starting on readonly filesystem" and lots of
"i/o failure trying to find stat data" messages.

Every hour or so I get about 25 new messages in /usr/var/messages like
the following (all having to do with block 8272):

"kernel: is_tree_node: node level 0 does not match to the expected one 1
kernel: vs-5150: search_by_key: invalid format found in block 8272.
Fsck?"

I would appreciate any suggestions as to how fix my problem.

[I tried to accurately transcribe the messages but as they are from my
office machine and I am sending this from home, I may have made a typo
or two.]

Thanks.

Dan Christiansen
Albion College

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-05-07  5:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-06 19:12 Error Code 255 and "Permission Denied" Daniel Christiansen
2002-05-07  0:54 ` Manuel Krause
2002-05-07  1:53   ` Chris Mason
2002-05-07  5:12   ` Oleg Drokin
  -- strict thread matches above, loose matches on Subject: below --
2002-05-06 16:07 Daniel Christiansen
2002-05-06 18:06 ` Oleg Drokin
2002-05-05 16:18 Daniel Christiansen
2002-05-06 11:21 ` Oleg Drokin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.