Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo Linux freezes [unsolved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Fri Jun 09, 2006 7:49 pm    Post subject: Gentoo Linux freezes [unsolved] Reply with quote

My friends Gentoo Linux system freezes for no reason and therefore he can't use his computer as a server as he had hoped for. Since he is not advanced linux guy, he did ask me to help. The computer is remote and I don't have direct accsess to it. So far I havent found the error in the logs, all I know is that the computer freezes after 7 to 8 days of running.

His motherboard is of MSI type, I don't know for sure exacly what MSI type.

Here is what lspci gives me.

Quote:
lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
02:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)


lsmod

Quote:
lsmod
Module Size Used by
parport_pc 40772 0
parport 37064 1 parport_pc
floppy 61892 0
pcspkr 3332 0
nvidia 4545812 8
i2c_i801 8972 0
i2c_core 21776 2 nvidia,i2c_i801
intel_agp 23580 1
agpgart 34736 2 nvidia,intel_agp
rtc 9236 0
pdc_adma 9732 0
sata_mv 18696 0
ata_piix 11140 0
ahci 13828 0
sata_qstor 9988 0
sata_vsc 8580 0
sata_uli 7556 0
sata_sis 8452 0
sata_sx4 14212 0
sata_nv 9476 0
sata_via 9092 0
sata_svw 8068 0
sata_sil24 11524 0
sata_sil 10248 0
sata_promise 11524 0
libata 64016 15 pdc_adma,sata_mv,ata_piix,ahci,sata_qstor,sata_vsc,sata_uli,sata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil24,sata_sil,sata_promise
sbp2 22660 0
ohci1394 34992 0
ieee1394 102584 2 sbp2,ohci1394
sl811_hcd 13312 0
ohci_hcd 20740 0
uhci_hcd 32400 0
usb_storage 76480 0
libusual 14864 1 usb_storage
usbhid 49824 0
ehci_hcd 33416 0
usbcore 129796 7 sl811_hcd,ohci_hcd,uhci_hcd,usb_storage,libusual,usbhid,ehci_hcd


uname -a

Quote:
uname -a
Linux mark666 2.6.16.9 #1 Wed May 17 23:15:17 GMT 2006 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GNU/Linux


dmesg

Quote:
dmesg
Linux version 2.6.16.9 (root@livecd) (gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)) #1 Wed May 17 23:15:17 GMT 2006
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
BIOS-e820: 000000003fff0000 - 000000003fff8000 (ACPI data)
BIOS-e820: 000000003fff8000 - 0000000040000000 (ACPI NVS)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
127MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000fc0f0
On node 0 totalpages: 262128
DMA zone: 4096 pages, LIFO batch:0
DMA32 zone: 0 pages, LIFO batch:0
Normal zone: 225280 pages, LIFO batch:31
HighMem zone: 32752 pages, LIFO batch:7
DMI 2.3 present.
ACPI: RSDP (v000 AMI ) @ 0x000fa3a0
ACPI: RSDT (v001 AMIINT INTEL865 0x00000010 MSFT 0x00000097) @ 0x3fff0000
ACPI: FADT (v001 AMIINT INTEL865 0x00000011 MSFT 0x00000097) @ 0x3fff0030
ACPI: MADT (v001 AMIINT INTEL865 0x00000009 MSFT 0x00000097) @ 0x3fff00c0
ACPI: DSDT (v001 INTEL I865G 0x00001000 MSFT 0x0100000d) @ 0x00000000
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:4 APIC version 20
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 15:4 APIC version 20
WARNING: NR_CPUS limit of 1 reached. Processor ignored.
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode: Flat. Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 50000000 (gap: 40000000:bec00000)
Built 1 zonelists
Kernel command line: root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 65536 bytes)
Detected 3000.617 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1032248k/1048512k available (3727k kernel code, 15592k reserved, 1095k data, 192k init, 131008k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 6009.89 BogoMIPS (lpj=12019793)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 0000441d 00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 0000441d 00000000 00000000
monitor/mwait feature present.
using mwait in idle threads.
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU: After all inits, caps: bfebfbff 00000000 00000000 00000180 0000441d 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU0: Thermal monitoring enabled
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 01
Checking 'hlt' instruction... OK.
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
checking if image is initramfs... it is
Freeing initrd memory: 1199k freed
NET: Registered protocol family 16
EISA bus registered
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfdb81, last bus=2
PCI: Using configuration type 1
ACPI: Subsystem revision 20060127
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI quirk: region 0800-087f claimed by ICH4 ACPI/GPIO/TCO
PCI quirk: region 0400-043f claimed by ICH4 GPIO
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
Boot video device is 0000:01:00.0
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.ICHB._PRT]
ACPI: Power Resource [URP1] (off)
ACPI: Power Resource [URP2] (off)
ACPI: Power Resource [FDDP] (off)
ACPI: Power Resource [LPTP] (off)
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKE] (IRQs *3 4 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 12 14 15) *0, disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 13 devices
PnPBIOS: Disabled by ACPI PNP
SCSI subsystem initialized
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: fc900000-fe9fffff
PREFETCH window: e7f00000-f7efffff
PCI: Bridge: 0000:00:1e.0
IO window: c000-cfff
MEM window: fea00000-feafffff
PREFETCH window: 50000000-500fffff
PCI: Setting latency timer of device 0000:00:1e.0 to 64
audit: initializing netlink socket (disabled)
audit(1149880831.896:1): initialized
highmem bounce pool size: 64 pages
Total HugeTLB memory allocated, 0
fuse init (API version 7.6)
SGI XFS with ACLs, security attributes, realtime, large block numbers, no debug enabled
SGI XFS Quota Management subsystem
BeFS version: 0.9.3
OCFS2 1.3.3
OCFS2 Node Manager 1.3.3
OCFS2 DLM 1.3.3
OCFS2 DLMFS 1.3.3
OCFS2 User DLM kernel interface loaded
Initializing Cryptographic API
io scheduler noop registered
io scheduler deadline registered (default)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS2 at I/O 0x3e8 (irq = 4) is a 16550A
serial8250: ttyS0 at I/O 0x3f8 (irq = 0) is a 16550A
serial8250: ttyS2 at I/O 0x3e8 (irq = 0) is a 16550A
00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:0b: ttyS2 at I/O 0x3e8 (irq = 0) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
Compaq SMART2 Driver (v 2.6.0)
HP CISS Driver (v 2.6.10)
r8169 Gigabit Ethernet driver 2.2LK loaded
ACPI: PCI Interrupt 0000:02:06.0[A] -> GSI 20 (level, low) -> IRQ 169
eth0: Identified chip type is 'RTL8169s/8110s'.
eth0: RTL8169 at 0xf8802f00, 00:13:d3:5f:83:91, IRQ 169
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH5: IDE controller at PCI slot 0000:00:1f.1
PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 177
ICH5: chipset revision 2
ICH5: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: HDS722525VLAT80, ATA DISK drive
hdb: _NEC DVD_RW ND-4550A, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
hda: max request size: 512KiB
hda: 488397168 sectors (250059 MB) w/7938KiB Cache, CHS=30401/255/63, UDMA(100)
hda: cache flushes supported
hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
hdb: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
mice: PS/2 mouse device common for all mice
EISA: Probing bus 0 at eisa.0
EISA: Detected 0 cards.
NET: Registered protocol family 2
input: AT Translated Set 2 keyboard as /class/input/input0
IP route cache hash table entries: 65536 (order: 6, 262144 bytes)
TCP established hash table entries: 262144 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
ieee80211: 802.11 data/management/control stack, git-1.1.7
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
ieee80211_crypt: registered algorithm 'NULL'
Using IPI Shortcut mode
Freeing unused kernel memory: 192k freed
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver libusual
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
USB Universal Host Controller Interface driver v2.3
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
sl811: driver sl811-hcd, 19 May 2005
input: ImPS/2 Logitech Wheel Mouse as /class/input/input1
ieee1394: Initialized config rom entry `ip1394'
ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1)
ieee1394: sbp2: Try serialize_io=0 for better performance
libata version 1.20 loaded.
ReiserFS: hda3: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on hda3
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting. Commit interval 5 seconds
EXT3-fs: hda3: orphan cleanup on readonly fs
ext3_orphan_cleanup: deleting unreferenced inode 1196042
ext3_orphan_cleanup: deleting unreferenced inode 1196040
ext3_orphan_cleanup: deleting unreferenced inode 1196039
ext3_orphan_cleanup: deleting unreferenced inode 1196038
EXT3-fs: hda3: 4 orphan inodes deleted
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Adding 747012k swap on /dev/hda2. Priority:-1 extents:1 across:747012k
EXT3 FS on hda3, internal journal
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Real Time Clock Driver v1.12ac
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 865 Chipset.
agpgart: AGP aperture is 64M @ 0xf8000000
hw_random: RNG not detected
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 185
NVRM: loading NVIDIA Linux x86 Kernel Module 1.0-8756 Wed Mar 29 14:26:26 PST 2006
input: PC Speaker as /class/input/input2
FDC 0 is a post-1991 82077
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
r8169: eth0: link up
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode


I don't have a clue how to fix this problem.

Thanks in advance.
Back to top
View user's profile Send private message
xalan
Apprentice
Apprentice


Joined: 01 Feb 2005
Posts: 190

PostPosted: Fri Jun 09, 2006 8:40 pm    Post subject: Reply with quote

Is the machine either single processor with Hyperthreading or a dual processor? Is your friend running a uni-processor kernel rather than an SMP kernel on the box?

Since we dont know the source of problem lets try to locate it fist. You said the m/c is remote, is it possible for you to look at /var/log/messages (if you use syslog-ng) or some other log to see exactly why the m/c is cribbing.

When the machines crashes, does it just freeze or does the kernel panic?

Are you able to associate kernel crash with the usage of any particular hardware like graphics card or harddrive etc?

I don't understand this line in dmesg:

Quote:

ReiserFS: hda3: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on hda3


Is the box using reiser or ext3? If so the kernel is build for support of these or not? If kernel is configured properly is your /etc/fstab correct? Are you referring to a reiser partition when you dont have one?


Last edited by xalan on Fri Jun 09, 2006 8:54 pm; edited 2 times in total
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Fri Jun 09, 2006 8:42 pm    Post subject: Reply with quote

Also, what is the "emerge --info" for the system?
_________________
Bones McCracker wrote:
On the other hand, regex is popular with the ladies.
Back to top
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Fri Jun 09, 2006 9:01 pm    Post subject: Reply with quote

It is a single CPU computer, I don't think that the cpu has hyperthreading.

Here is emerge --info.

Quote:
emerge --info
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16.9 i686)
=================================================================
System uname: 2.6.16.9 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.14
dev-lang/python: 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
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.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.rhnet.is/pub/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cli crypt cups curl dri eds emboss encode esd exif expat fam font-server foomaticdb fortran gd gdbm gif glut gmp gpm gstreamer gtk gtk2 gtkhtml html httpd idn imagemagick imlib ipv6 isdnlog jpeg kde latin1 lcms libg++ libwww mad mikmod mmx mng motif mozilla mp3 mpeg mysql ncurses nls nptl ogg opengl oss pam pcre pdflib perl php png pppd python qt quicktime readline reflection rss samba sdl session spell spl ssl syslog tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis winbind xml xml2 xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Fri Jun 09, 2006 9:09 pm    Post subject: Reply with quote

Quote:
CFLAGS="-O3 -march=i686 -funroll-loops -pipe"

Those are *not* safe CFLAGS settings. Change them to "CFLAGS="-O2 -march=i686 -pipe" and "emerge -e system". Then see if it is stable.

See also: http://gentoo-wiki.com/Safe_Cflags

Edit: you probably should do an "emerge world" after you do the system emerge.
_________________
Bones McCracker wrote:
On the other hand, regex is popular with the ladies.
Back to top
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Fri Jun 09, 2006 9:16 pm    Post subject: Reply with quote

I have changed the make settings and I have started to rebuild his system. I have been using those flags for some time now (without a problem btw). First time I've been told that they are unstable. But late is better then never.
Back to top
View user's profile Send private message
xalan
Apprentice
Apprentice


Joined: 01 Feb 2005
Posts: 190

PostPosted: Fri Jun 09, 2006 9:57 pm    Post subject: Reply with quote

jonfr wrote:
It is a single CPU computer, I don't think that the cpu has hyperthreading.


The reason for asking it is the following from your dmesg:

Quote:

ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:4 APIC version 20
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 15:4 APIC version 20
WARNING: NR_CPUS limit of 1 reached. Processor ignored.


That means that your BIOS is reporting multi cpus but you are running uni proc kernel. That does not solve your stability problem though.

What about your /etc/fstab? are you assuming format to be reiserfs when it is ext3?
Back to top
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Fri Jun 09, 2006 10:53 pm    Post subject: Reply with quote

I am going to fix the multicore cpu later on, when I recompile the kernel. I just found out that he is using dualcore cpu now (he had to look it up on Intel webpage), he was using single core cpu before but he did replace that cpu some time ago. But even he had single core cpu (Pentium 4), Gentoo Linux did still freeze. So that isn't what's cosing the freeze up.
Back to top
View user's profile Send private message
lefsha
Veteran
Veteran


Joined: 30 Aug 2004
Posts: 1235
Location: Burgas, Bulgaria

PostPosted: Sun Jun 11, 2006 12:42 pm    Post subject: Reply with quote

I had same issue for a while.

It was due to the problems with certain kernel versions.
No CFLAGS problem or similar, as it was mentioned here before.

Just try to get other kernel version.

P.S. Normaly there are some CFLAGS, that you should never use! They are very critical,
but your ones are quite harmless. Additionally, kernel will be compiled with it's own
CFLAGS, which have nothing to do with your flags located in make.conf
_________________
Lefsha
Back to top
View user's profile Send private message
lefsha
Veteran
Veteran


Joined: 30 Aug 2004
Posts: 1235
Location: Burgas, Bulgaria

PostPosted: Sun Jun 11, 2006 12:54 pm    Post subject: Reply with quote

yabbadabbadont wrote:
Those are *not* safe CFLAGS settings. Change them to "CFLAGS="-O2 -march=i686 -pipe" and "emerge -e system". Then see if it is stable.

See also: http://gentoo-wiki.com/Safe_Cflags

Edit: you probably should do an "emerge world" after you do the system emerge.



That is the best answer if people don't know what they talking about.
All the time here I see people, which give this answer to whatever the question was.

emerge world - will take a long time and you will get a feeling, that something is going...
Hey, just turn your TV on. It's much better. World Cup is much more exciting, then the compiling files...
_________________
Lefsha
Back to top
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Sun Jun 11, 2006 2:38 pm    Post subject: Reply with quote

I have revised the CFLAGS into better settings. Going to recompile everything all over agen. Doesn't bother me, I just go and watch a DVD or something else.

I am going to try to downgrade the kernel in the computer that is freezing, it did freeze even if I did turn on hyperthreading and recompile everything with this CFLAGS, "CFLAGS="-O2 -march=i686 -pipe". That is my reason to change them agen.
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Sun Jun 11, 2006 4:04 pm    Post subject: Reply with quote

Quote:
nvidia: module license 'NVIDIA' taints kernel.


you'll want to get rid of this
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Sun Jun 11, 2006 4:06 pm    Post subject: Reply with quote

How do I get rid of this "nvidia: module license 'NVIDIA' taints kernel.". I am using the nvidia-kernel drivers that are in portage.
Back to top
View user's profile Send private message
htranou
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2006
Posts: 96

PostPosted: Sun Jun 11, 2006 4:26 pm    Post subject: Reply with quote

jonfr wrote:
How do I get rid of this "nvidia: module license 'NVIDIA' taints kernel.". I am using the nvidia-kernel drivers that are in portage.


Write and write to nvidia, so that they release their drivers under an open source license or enough documentation. Or more realistically, don't use it...

Still, X.org has an NV driver, but it doesn't do 3d acceleration.
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Sun Jun 11, 2006 6:00 pm    Post subject: Reply with quote

sorry, should have been clearer. i was suggesting that on a system where you want absolute maximum stability you should not used any closed-source drivers. the nvidia driver especially contains a huge amount of secret code which runs in kernel mode, it could be doing a truckload of bad things, and nobody knows about it. granted it probably wont make your problem disappear, its a necessary precaution you should take, especially on a server
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Mon Jun 12, 2006 12:52 am    Post subject: Reply with quote

yabbadabbadont wrote:
Quote:
CFLAGS="-O3 -march=i686 -funroll-loops -pipe"

Those are *not* safe CFLAGS settings. Change them to "CFLAGS="-O2 -march=i686 -pipe" and "emerge -e system". Then see if it is stable.

See also: http://gentoo-wiki.com/Safe_Cflags

Edit: you probably should do an "emerge world" after you do the system emerge.


I did check the GNU gcc how-to on this matter, it turns out that there is nothing wrong with my cflags. You can check it here.
Back to top
View user's profile Send private message
jschellhaass
Guru
Guru


Joined: 20 Jan 2004
Posts: 341

PostPosted: Mon Jun 12, 2006 8:19 pm    Post subject: Reply with quote

Does the system freeze under X? Is there a screen saver enabled?

jeff
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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