Date: Sun, 3 Jun 2012 09:52:16 -0700 From: Waitman Gobble <gobble.wa@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: starting xfce4 reboots machine Message-ID: <CAFuo_fz49zSSshZWPVS0jL%2B2f1QLk8xqCYMAvduszttO1QuY%2BQ@mail.gmail.com> In-Reply-To: <CAO6-GAczcfY2MVcC76vtxiGgPO6XsEXz-W3cLUK9t45NLddGQg@mail.gmail.com> References: <CAFuo_fzDHFvm8Mg9nKZmyLTF-X50BwH7hC1_=LpXTSb%2BaGnKbg@mail.gmail.com> <alpine.BSF.2.00.1205280838080.54619@wonkity.com> <CAFuo_fzP-dcqztsZz65WFaV=sB-qyuZevK6p6=LHx7Voxp4v_w@mail.gmail.com> <CAFuo_fz4qSYtEZ0wcLNa%2BpU1s5H4fVtaq1v6Trq-7HN5bOQ=CA@mail.gmail.com> <CAFuo_fzD2y5EPReTrSA-fsycxXEBErxvExz4=xsPu9GRfrk6DQ@mail.gmail.com> <CAO6-GAczcfY2MVcC76vtxiGgPO6XsEXz-W3cLUK9t45NLddGQg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 31, 2012 at 12:10 AM, Joe Gain <joe.gain@gmail.com> wrote: > On Thu, May 31, 2012 at 8:43 AM, Waitman Gobble <gobble.wa@gmail.com> > wrote: > > On Wed, May 30, 2012 at 11:26 PM, Waitman Gobble <gobble.wa@gmail.com > >wrote: > > > >> > >> > >> On Mon, May 28, 2012 at 10:25 AM, Waitman Gobble <gobble.wa@gmail.com > >wrote: > >> > >>> > >>> > >>> On Mon, May 28, 2012 at 7:42 AM, Warren Block <wblock@wonkity.com> > wrote: > >>> > >>>> On Sun, 27 May 2012, Waitman Gobble wrote: > >>>> > >>>> Hi, > >>>>> > >>>>> I've been running FreeBSD 10.0-CURRENT for some months, last time i > >>>>> rebuilt > >>>>> the system was April 20th. I've rebooted my machine many times and > >>>>> started > >>>>> X and Xfce4 without any trouble, however today I'm out of town on the > >>>>> road > >>>>> and when I startx my machine reboots. If I log in as root and startx > i > >>>>> can > >>>>> run xorg without xfce4. but if i try startxfce4 the machine reboots. > If > >>>>> I > >>>>> try to startx without xfce4 from my non-root account it locks up. > >>>>> It's pretty quick and nothing I can see in the logs... > >>>>> > >>>>> Anyone have any ideas about troubleshooting??? It seems like it's > out of > >>>>> the blue with no changes to the system that I recall. :) > >>>>> > >>>> > >>>> First, make sure you have cairo-1.10 instead of 1.12. After that, run > >>>> pkg_libchk from sysutils/bsdadminscripts. Rebuild anything that says > it is > >>>> missing libxfce4-utils. > >>>> > >>>> After that, well, I still see some unsteadiness from xfce-4.10. > There's > >>>> a long delay on start, like a DNS timeout (but I have working DNS). > >>>> Switching to console works, switching back usually does not, > rebooting the > >>>> machine. Leaving X and starting again reboots the machine. These > last two > >>>> could be due to the recent X upgrade, except I'm pretty sure they did > not > >>>> happen until xfce-4.10. > >>>> > >>> > >>> thanks. i'll check it out.. > >>> > >>> Waitman > >>> > >>> > >> spending some time troubleshooting this. it's a weird harold, the > machine > >> runs fine for days doing various things (but if i want X i have to log > in > >> as root first and startx, otherwise instant reboot). I've noticed that > if i > >> do a pkg_add the thing reboots, if i run SciTe editor it reboots. like > snap > >> of a finger instantly. > >> > >> I can do pkg_delete, i deleted cairo (but it claimed to be 1.10). i'll > >> have to re-add somehow, might have to build from source if it won't stop > >> rebooting :) > >> > >> i'll try the pkg_libchk > >> > >> Thanks, > >> > >> Waitman > >> > >> > > this is kind of strange, ls -l /usr/local/lib | grep cairo - what's up > with > > the zero-byte files.. i did do a pkg_delete but didn't expect to see > this. > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > Can't help with a solution. > > I had a very similar problem. I'm following 9.0-STABLE (rev. 235976 > ca. week old) using xfce and have a thinkpad laptop with intel > on-board graphics chip. My problems started when I updated the cairo > port, and at the time I couldn't really believe that cairo was the > cause of _the_ problem, because of the way X was crashing. What was > even more frustrating was that the Xorg log file was not revealing > anything other than "unknown error" and segfault. So, I didn't know > what to do for a while, and after spending a couple of days looking > for an answer, downgrading cairo fixed that issue. > > Couple of days later the new xfce is also available, and I have had no > problems running it, on stable with downgraded (currently current > again*) cairo. Be sure to read UPDATING with respect to xfce4-utils > etc. > > It would be interesting to hear from someone who knows what's going on > as this is the first major hiccup that I've had using freebsd. > > Thanks, Joe > > * > http://www.freshports.org/commit.php?category=graphics&port=cairo&files=yes&message_id=201205260354.q4Q3sBOI042864@repoman.freebsd.org > -- > joe gain > > jacob-burckhardt-str. 16 > 78464 konstanz > germany > > +49 (0)7531 60389 > > (...otherwise in ???) > Hi, I think I finally got to the bottom of my instant rebooting issue. I did a csup and rebuilt world/kernel, but doing a pkg_add or running xfce4 would still reboot the machine. This morning I scoured my logs and found one message that lead me to solution: bad dir ino xxxx AT OFFSET xxx: MANGLED ENTRY. It looks like on my machine that /var/tmp got wrecked, the fsck on boot wasn't catching it. I booted into single user mode and ran fsck -y a few times, the second time it skipped the journal to do a 'regular fsck' (maybe there is a switch to force it to skip the journal anyway?). w/o Journal it picked up the inode problems and fixed.. then mounted drive rw and deleted stuff in /var/tmp pkg_add works fine now, i haven't tried xfce4 yet but i bet it's going to work. Waitman Gobble San Jose California USA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFuo_fz49zSSshZWPVS0jL%2B2f1QLk8xqCYMAvduszttO1QuY%2BQ>