Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
TiBook random Freezes, ran memtester (Solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Mon Oct 31, 2005 4:47 pm    Post subject: TiBook random Freezes, ran memtester (Solved) Reply with quote

I am having random freezing (hard freeze) problems with my TiBook, for about 4 months now! Most of the time it will not freeze during compiling but it has done it. It seems to be happening more now than before and I can be doing anything from being on the web to typing in terminal, I can be in XFCE4 or Gnome-Light. Some days it will not freeze and other days it will freeze many times.

95% of the time when it freezes I get a continues beep sound and the only way to get out of the freeze is to use the power-off key.
I have ran memtester (1 gig of memory) and all seems fine with my memory. I also ran OSX for about 4 days and it never froze.

Today I have turn off my swap to see if that will fix the problem and running emerge -e world, maybe a bad sector in swap, just a guess.
Looking for help thanks,

Here is an edit log/message for 3 freezes
Code:

Oct 30 21:50:09 Tony sSMTP[9142]: Connection lost in middle of processing
Oct 30 21:50:09 Tony cron[9048]: (root) MAIL (mailed 84 bytes of output but got status 0x0001 )
Oct 30 21:50:10 Tony sSMTP[9086]: Connection lost in middle of processing
Oct 30 21:50:10 Tony cron[9047]: (root) MAIL (mailed 31 bytes of output but got status 0x0001 )

Oct 30 22:07:31 Tony login(pam_unix)[9602]: session opened for user root by LOGIN(uid=0)
Oct 30 22:09:36 Tony agpgart: Putting AGP V2 device at 0000:00:0b.0 into 1x mode
Oct 30 22:09:36 Tony agpgart: Putting AGP V2 device at 0000:00:10.0 into 1x mode
Oct 30 22:09:36 Tony [drm] Loading R200 Microcode
Oct 30 22:10:30 Tony IN from bad port 61 at c02231ec
Oct 30 22:10:30 Tony IN from bad port 61 at c02231ec

Oct 31 09:06:26 Tony (tony-13495): starting (version 2.12.0), pid 13495 user 'tony'
Oct 31 09:06:26 Tony (tony-13495): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
Oct 31 09:06:26 Tony (tony-13495): Resolved address "xml:readwrite:/home/tony/.gconf" to a writable configuration source at position 1
Oct 31 09:06:26 Tony (tony-13495): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2
Oct 31 09:06:36 Tony IN from bad port 61 at c02231ec
Oct 31 09:06:36 Tony IN from bad port 61 at c02231ec


Code:

 emerge --info
Portage 2.0.51.22-r3 (default-linux/ppc/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.1 3-gentoo-r4 ppc)
=================================================================
System uname: 2.6.13-gentoo-r4 ppc 7455, altivec supported
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=7450 -fno-strict-aliasing -mtune=G4 -maltivec -mabi=altivec -p ipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1 1/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/ config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr /share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=7450 -fno-strict-aliasing -mtune=G4 -maltivec -mabi=altivec -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict userpriv user sandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://gentoo.mirrors.pair.com/  http://mirrors.tds.net/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa altivec audiofile berkdb bitmap-fonts cdparanoia cdr crypt cup s curl dbus dvd eds emboss encode esd fbcon ffmpeg flac font-server foomaticdb f ortran gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile hal imagemagick im lib ipv6 ithreads java jpeg kde libwww mad motif mozilla mozilla-firefox mp3 mpe g ncurses nls nptl nptlonly ogg oggvorbis opengl oss other_var1 other_var2 pam p dflib perl pic png ppc ppds pthreads python qt radeon readline sdl server slang spell ssl tcltk tcpd tetex threads tiff true1-fonts truetype truetype-fonts type 1-fonts udev unicode usb userlocales vnc vorbis x11vnc xine xinerama xml xml2 xm ms xv zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS


Last edited by heavyt on Fri Nov 04, 2005 7:16 pm; edited 2 times in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Oct 31, 2005 6:10 pm    Post subject: Reply with quote

The IN from bad port messages are for serial devices like i8042 keyboards and 16550/8250 serial ports, try turning those off in your kernel and see if that helps.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Mon Oct 31, 2005 7:13 pm    Post subject: Reply with quote

JoseJX wrote:
The IN from bad port messages are for serial devices like i8042 keyboards and 16550/8250 serial ports, try turning those off in your kernel and see if that helps.


I found the serial I/O support and deselect it but there was nothing selected in the serial ports section to deselect. So I will now see if the freezing problem returns. Thank you.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Oct 31, 2005 7:20 pm    Post subject: Reply with quote

You probably didn't turn it off then, the exact options are:

CONFIG_SERIAL_8250
Device Drivers -> Character Devices -> Serial Drivers -> 8250/16550 and compatible serial support

CONFIG_SERIO_I8042
Device Drivers -> Input Device Support -> Hardware I/O ports -> Serial I/O Support -> i8042 PC Keyboard Controller
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Mon Oct 31, 2005 8:09 pm    Post subject: Reply with quote

JoseJX wrote:
You probably didn't turn it off then, the exact options are:

CONFIG_SERIAL_8250
Device Drivers -> Character Devices -> Serial Drivers -> 8250/16550 and compatible serial support

CONFIG_SERIO_I8042
Device Drivers -> Input Device Support -> Hardware I/O ports -> Serial I/O Support -> i8042 PC Keyboard Controller


Got them all.
Back to top
View user's profile Send private message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Mon Oct 31, 2005 10:17 pm    Post subject: Reply with quote

JoseJX wrote:
You probably didn't turn it off then, the exact options are:

CONFIG_SERIAL_8250
Device Drivers -> Character Devices -> Serial Drivers -> 8250/16550 and compatible serial support

CONFIG_SERIO_I8042
Device Drivers -> Input Device Support -> Hardware I/O ports -> Serial I/O Support -> i8042 PC Keyboard Controller


That did not fix the freeze nor did the "swapoff -a" and the "IN from bad port messages" are still there. They are in the log on every boot.

Part of my .config file
Code:

Edited
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.13-gentoo-r4
# Mon Oct 31 17:15:27 2005
#
#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1280
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=854
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set

#
# Input Device Drivers
#
# CONFIG_INPUT_KEYBOARD is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=y
# CONFIG_INPUT_UINPUT is not set

#
# Hardware I/O ports
#
# CONFIG_SERIO is not set
# CONFIG_GAMEPORT is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
# CONFIG_SERIAL_8250 is not set

#
# Non-8250 serial port support
#
# CONFIG_SERIAL_PMACZILOG is not set
# CONFIG_SERIAL_JSM is not set
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256

Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Tue Nov 01, 2005 2:30 am    Post subject: Reply with quote

Er, you DON'T have kernel preempt turned on, right?

Dumb question I know, but you never know...
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Nov 01, 2005 2:56 am    Post subject: Reply with quote

You might want to try turning off the PC Speaker, that's the only other thing I can think of that might be giving you the IN from bad port 61 errors. It would be helpful if you could put up your kernel config somewhere so we could look at it in its entirety.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Tue Nov 01, 2005 1:02 pm    Post subject: Reply with quote

stimuli wrote:
Er, you DON'T have kernel preempt turned on, right?

Dumb question I know, but you never know...


Not a dump question, no it is not on.
Back to top
View user's profile Send private message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Tue Nov 01, 2005 1:35 pm    Post subject: Reply with quote

JoseJX wrote:
You might want to try turning off the PC Speaker, that's the only other thing I can think of that might be giving you the IN from bad port 61 errors. It would be helpful if you could put up your kernel config somewhere so we could look at it in its entirety.


Here is the link to my .config for my kernel https://home.comcast.net/~tmixon/.config

will give PC Speaker "off" a try.
Back to top
View user's profile Send private message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Fri Nov 04, 2005 7:15 pm    Post subject: Reply with quote

It has been 3 days since I set PC Speaker to "off" in my kernel and I haven't had 1 freeze :D .
Thank you JoseJX.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum