9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] worm problems
@ 2001-12-09 22:03 Russ Cox
  2001-12-09 23:52 ` Sam Ducksworth
  0 siblings, 1 reply; 5+ messages in thread
From: Russ Cox @ 2001-12-09 22:03 UTC (permalink / raw)
  To: 9fans

try
	dd -bs 4096 -count 1 -skip 2 < /dev/sdC0/data | xd -b | tail -10

to get the end of the superblock, where the "header" is.
if i'm reading the code right, the last six bytes should be
	01 00 02 00 00 00

the 01 00 is 0x0001 - the Tsuper tag; 02 00 00 00 is the
block address: 2.



^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [9fans] worm problems
@ 2001-12-09 17:45 Russ Cox
  2001-12-09 19:44 ` Sam Ducksworth
  0 siblings, 1 reply; 5+ messages in thread
From: Russ Cox @ 2001-12-09 17:45 UTC (permalink / raw)
  To: 9fans

Can you boot a Plan 9 terminal on the disk
(or boot the install floppy) and then look
at the second block on your pseudo-worm?

Also, backups are good.

I had a problem like this once right after I'd
set up a pseudo-worm and other partition on the
same disk using the p device.  I never tracked
it down, but my superblock was the beginning of
a PostScript file.  The case fan had broken, so
I think it might have just been heat problems.

Russ


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [9fans] worm problems
@ 2001-12-09 13:47 Sam Ducksworth
  0 siblings, 0 replies; 5+ messages in thread
From: Sam Ducksworth @ 2001-12-09 13:47 UTC (permalink / raw)
  To: 9fans

hello all,

i noticed this morning that my fileserver was caught in a reboot cycle.
each time it comes up everything looks normal until just before it
displays the fs console prompt.

here is what it prints:

fworm: read 5
WORM SUPER BLOCK READ FAILED
0 0 fs:

then lots of disk activity followed by the fileserver panicing and
vomiting on the screen and then rebooting. i was able to stop the reboot
cycle by issuing the following command:

0 0 fs: cwcmd startdump 0

that got me back so i can at least use the file server. i also verified
the problem by issuing the following command:

0 0 fs: cwcmd touchsb
fworm: read 5
WORM SUPER BLOCK READ FAILED

any ideas on how to fix this one? BTW this is a pseudo worm setup.

--sam



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

end of thread, other threads:[~2001-12-09 23:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-09 22:03 [9fans] worm problems Russ Cox
2001-12-09 23:52 ` Sam Ducksworth
  -- strict thread matches above, loose matches on Subject: below --
2001-12-09 17:45 Russ Cox
2001-12-09 19:44 ` Sam Ducksworth
2001-12-09 13:47 Sam Ducksworth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).