9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] strange venti behaviour
@ 2008-01-14 10:19 Markus Sonderegger
  2008-01-14 11:17 ` Pietro Gagliardi
  0 siblings, 1 reply; 8+ messages in thread
From: Markus Sonderegger @ 2008-01-14 10:19 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 369 bytes --]


Hi!

Booting my system today showed a strange behaviour. 
After 

venti...2008/0114 09:50:28 venti: conf...httpd
tcp!127.1!8000...init...icache 0 bytes = 1,000 entr
ies; 4 scache
sync...2008/0114 09:50:29 arenas00: indexing 1452 clumps...

the system hangs for some minutes (I attached the whole kmesg).
What's wrong here? Is it my HD?

Regards
Markus

[-- Attachment #2: kmesg --]
[-- Type: text/plain, Size: 2399 bytes --]


Plan 9
E820: 00000000 0009fc00 memory
E820: 0009fc00 000a0000 reserved
E820: 000e8000 00100000 reserved
E820: 00100000 1ffb0000 memory
E820: 1ffb0000 1ffc0000 acpi reclaim
E820: 1ffc0000 1fff0000 acpi nvs
E820: 1fff0000 20000000 reserved
E820: ff7c0000 100000000 reserved
126 holes free
00018000 0009f000 552960
003ed000 0ceb7000 212639744
213192704 bytes free
cpu0: 2211MHz AuthenticAMD AMD64 (cpuid: AX 0x20FC2 DX 0x78BFBFF)
ELCR: 0E28
#l0: rtl8139: 100Mbps port 0xC800 irq 9: 00308425e268
#A0: ac97 port 0xec00 mixport 0xe800 irq 9
#A0: ac97 warm reset
#A0: ac97 codecs ready: sdin0
#A0: ac97 codecs resumed:
#A0: ac97 codec ext: dra spdif cdac sdac ldac
#A0: ac97 vra extension not supported
512M memory: 207M kernel data, 304M user, 929M swap
time...
venti...2008/0114 09:50:28 venti: conf...httpd tcp!127.1!8000...init...icache 0 bytes = 1,000 entries; 4 scache
sync...2008/0114 09:50:29 arenas00: indexing 1452 clumps...
announce tcp!127.1!17034...serving.
fossil(#S/sdC0/fossil)...version...time...

init: starting /bin/rc
lock 0xf03b789c loop key 0xdeaddead pc 0xf01c0ce4 held by pc 0xf01c0ce4 proc 124
  3:     alarm pc f01c90f7 dbgpc        0   Running (Running) ut 56 st 0 bss 0 qpc f01b0b1f nl 0 nd 0 lpc f01c0e3a pri 13
124:        fs pc    12556 dbgpc    12556     Alarm (Ready) ut 65 st 47 bss 364000 qpc f01b0cd6 nl 1 nd 0 lpc f01bc6b9 pri 10
lock 0xf03b789c loop key 0xdeaddead pc 0xf01c0ce4 held by pc 0xf01c0ce4 proc 124
  3:     alarm pc f01c91e4 dbgpc        0   Running (Running) ut 154 st 0 bss 0 qpc f01b0b1f nl 0 nd 0 lpc f01c0e3a pri 13
124:        fs pc f01c0cea dbgpc    12556     Alarm (Ready) ut 112 st 81 bss 364000 qpc f01b0cd6 nl 1 nd 0 lpc f01bc6b9 pri 10
lock 0xf03b789c loop key 0xdeaddead pc 0xf01c0ce4 held by pc 0xf01c0ce4 proc 124
  3:     alarm pc f01c910c dbgpc        0   Running (Running) ut 234 st 0 bss 0 qpc f01b0b1f nl 0 nd 0 lpc f01c0e3a pri 13
124:        fs pc    12556 dbgpc    12556     Alarm (Ready) ut 201 st 135 bss 364000 qpc f01b0cd6 nl 1 nd 0 lpc f01bc6b9 pri 10
lock 0xf03b789c loop key 0xdeaddead pc 0xf01c0ce4 held by pc 0xf01c0ce4 proc 124
  3:     alarm pc f01c90f7 dbgpc        0   Running (Running) ut 302 st 0 bss 0 qpc f01b0b1f nl 0 nd 0 lpc f01c0e3a pri 13
124:        fs pc f01c0cf4 dbgpc    12556     Alarm (Ready) ut 238 st 155 bss 364000 qpc f01b0cd6 nl 1 nd 0 lpc f01bc721 pri 10

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

* Re: [9fans] strange venti behaviour
  2008-01-14 10:19 [9fans] strange venti behaviour Markus Sonderegger
@ 2008-01-14 11:17 ` Pietro Gagliardi
  2008-01-14 12:46   ` Markus Sonderegger
  0 siblings, 1 reply; 8+ messages in thread
From: Pietro Gagliardi @ 2008-01-14 11:17 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

This happens to me all the time after my QEMU crashes. I consider it  
normal, but hate it.

On Jan 14, 2008, at 5:19 AM, Markus Sonderegger wrote:

>
> Hi!
>
> Booting my system today showed a strange behaviour.
> After
>
> venti...2008/0114 09:50:28 venti: conf...httpd
> tcp!127.1!8000...init...icache 0 bytes = 1,000 entr
> ies; 4 scache
> sync...2008/0114 09:50:29 arenas00: indexing 1452 clumps...
>
> the system hangs for some minutes (I attached the whole kmesg).
> What's wrong here? Is it my HD?
>
> Regards
> Markus<kmesg>


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

* Re: [9fans] strange venti behaviour
  2008-01-14 12:46   ` Markus Sonderegger
@ 2008-01-14 12:27     ` Robert Raschke
  2008-01-14 12:50     ` erik quanstrom
  1 sibling, 0 replies; 8+ messages in thread
From: Robert Raschke @ 2008-01-14 12:27 UTC (permalink / raw)
  To: 9fans

If I understand things correctly, this is venti catching up with the
indexing that got suddenly interrupted when the machine was turned
off.  I can see this very easily by having a manual venti start and
stop on another HDD, if I do stuff to that venti and shut it down
immediately, I get the "indexing clumps" upon restat of that venti,
whereas if I leave it for a few minutes before stopping, I get
immediate venti startup.

I'm not sure if it is correct that venti blocks your system startup
though.  I thought it was meant to be able to serve immediately.  But
I propably don't understand too well.

Robby


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

* Re: [9fans] strange venti behaviour
  2008-01-14 11:17 ` Pietro Gagliardi
@ 2008-01-14 12:46   ` Markus Sonderegger
  2008-01-14 12:27     ` Robert Raschke
  2008-01-14 12:50     ` erik quanstrom
  0 siblings, 2 replies; 8+ messages in thread
From: Markus Sonderegger @ 2008-01-14 12:46 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


> This happens to me all the time after my QEMU crashes. I consider it 
> normal, but hate it.


My machine never chrashed, but it occurs every time I boot my machine, 
since today. And the number of clumps vary from boot to boot.



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

* Re: [9fans] strange venti behaviour
  2008-01-14 12:46   ` Markus Sonderegger
  2008-01-14 12:27     ` Robert Raschke
@ 2008-01-14 12:50     ` erik quanstrom
  2008-01-14 13:16       ` Charles Forsyth
  2008-01-15 18:48       ` Markus Sonderegger
  1 sibling, 2 replies; 8+ messages in thread
From: erik quanstrom @ 2008-01-14 12:50 UTC (permalink / raw)
  To: 9fans

> 
> > This happens to me all the time after my QEMU crashes. I consider it 
> > normal, but hate it.
> 
> 
> My machine never chrashed, but it occurs every time I boot my machine, 
> since today. And the number of clumps vary from boot to boot.
> 

one needs to run fshalt before halting a machine running venti or fossil.
venti is much more likely to have trouble than fossil, but i believe the new
version of venti does a better job with unexpected outages.

if you're running on an unstable platform, you might consider running
venti on a stable machine or not running venti at all.  ken's fs has been
more resistant to unplanned outages than venti for me.  (i have no ups.)

- erik


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

* Re: [9fans] strange venti behaviour
  2008-01-14 13:16       ` Charles Forsyth
@ 2008-01-14 13:10         ` erik quanstrom
  0 siblings, 0 replies; 8+ messages in thread
From: erik quanstrom @ 2008-01-14 13:10 UTC (permalink / raw)
  To: 9fans

> 
> i thought venti was only read, not written, except during a fossil archive dump,
> so it should only be vulnerable during that interval
> (which might be large just after file system initialisation).

my impression was it was caching.

- erik


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

* Re: [9fans] strange venti behaviour
  2008-01-14 12:50     ` erik quanstrom
@ 2008-01-14 13:16       ` Charles Forsyth
  2008-01-14 13:10         ` erik quanstrom
  2008-01-15 18:48       ` Markus Sonderegger
  1 sibling, 1 reply; 8+ messages in thread
From: Charles Forsyth @ 2008-01-14 13:16 UTC (permalink / raw)
  To: 9fans

> if you're running on an unstable platform, you might consider running
> venti on a stable machine or not running venti at all.

i thought venti was only read, not written, except during a fossil archive dump,
so it should only be vulnerable during that interval
(which might be large just after file system initialisation).


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

* Re: [9fans] strange venti behaviour
  2008-01-14 12:50     ` erik quanstrom
  2008-01-14 13:16       ` Charles Forsyth
@ 2008-01-15 18:48       ` Markus Sonderegger
  1 sibling, 0 replies; 8+ messages in thread
From: Markus Sonderegger @ 2008-01-15 18:48 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 07:50 Mon 14 Jan     , erik quanstrom wrote:
> > 
> > > This happens to me all the time after my QEMU crashes. I consider it 
> > > normal, but hate it.
> > 
> > 
> > My machine never chrashed, but it occurs every time I boot my machine, 
> > since today. And the number of clumps vary from boot to boot.
> > 
> 
> one needs to run fshalt before halting a machine running venti or fossil.

i run fshalt every time before halting. the problem occured monday the
first time. how can i fix it?


> venti is much more likely to have trouble than fossil, but i believe the new
> version of venti does a better job with unexpected outages.
> 
> if you're running on an unstable platform, you might consider running
> venti on a stable machine or not running venti at all.  ken's fs has been
> more resistant to unplanned outages than venti for me.  (i have no ups.)
> 
> - erik


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

end of thread, other threads:[~2008-01-15 18:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-14 10:19 [9fans] strange venti behaviour Markus Sonderegger
2008-01-14 11:17 ` Pietro Gagliardi
2008-01-14 12:46   ` Markus Sonderegger
2008-01-14 12:27     ` Robert Raschke
2008-01-14 12:50     ` erik quanstrom
2008-01-14 13:16       ` Charles Forsyth
2008-01-14 13:10         ` erik quanstrom
2008-01-15 18:48       ` Markus Sonderegger

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).