Date: Thu, 26 Jun 2003 21:59:12 +0200 From: David Landgren <david@landgren.net> To: freebsd-stable@freebsd.org Cc: "Eric J. Chet" <ejc@bazzle.com> Subject: Re: garbled top display Message-ID: <3EFB5090.9040704@landgren.net> In-Reply-To: <20030623103943.S55530-100000@gargoyle.bazzle.com> References: <20030623103943.S55530-100000@gargoyle.bazzle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Eric J. Chet wrote: [...] >>> Just a sanity check. I'm seeing a garbled display with top. I >>>rebuild kernel and world a couple times, I even rm -rf /usr/include to >>>make sure I was up to date. Anybody else seeing this? >> >>Define garbled. >> >>Thanks, >>David >> > > > Sure .... > > Script started on Mon Jun 23 10:39:06 2003 > bash-2.05a$ top > [H[2Jlast pid: 3359; load averages: 0.06, 0.02, 0.00[1;56H up 1+13:20:42[1;72H10:39:09 > 10 processes: 1 running > CPU states: % user, % nice, % system, % interrupt, % idle > Mem: 16M Active, 55M Inact, 26M Wired, 8748K Cache, 22M Buf, 15M Free > Swap: 256M Total, 52K Used, 256M Free > > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND > 1 '++*00'* -22 -52 0K 0K ? -128 ??? 0.15% 0.15% <> > 968972 root -22 -52 3083M 0K ? 6 ??? 0.00% 0.05% <> [... etc etc ...] wow. I've seen garbled top displays before, like the RES going -ve or things like that. But never anything like this. I am reminded of the scene in Poltergeist, where the couple get a paranormal expert into the house to take a look, and he natters on about how he saw a toy car roll across a room over the space of six hours... and then they open the door... It looks to me like your structs are out of whack, and so when top comes along to read an element of a struct, it's using the wrong offset from base, and hence printf (or whatever) renders garbage. I.e., as if different headers are used in compiling the kernel and the rest. Does ps give reasonable output? Are you sure you really cleaned out /usr/src before recompiling? Has the compiler been upgraded recently? David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EFB5090.9040704>