Monday, November 17, 2008

internal error: 0_47021

  • I saw the issue in redhat enterprise edition
  • icc compiler:
icc (ICC) 10.1 20080112
Copyright (C) 1985-2007 Intel Corporation. All rights reserved.

Error message: "(0): internal error: 0_47021"

You might succeed if you remove "-g"(debug) and/or "-O"(optimization) flag.

You might be able to resolve the issue in the code if you look at it as compile time memory issue ( ex: too many template initializations??)

Saturday, November 8, 2008

A working configuration for connecting to windows vpn

Connecting from:
  • Laptop: DELL vostro 1400
  • On ubuntu 8.04.1, kernel 2.6.24-21-generic
  • Connecting to a Windows VPN server using vpn connection manager
===================================
Installed "VPN Connection Manager (PPP generic)". Then created the profile using network manager. After installing the vpn connection manager you need to restart the network manager.

Worked after many trail and errors. I dont know why it was not working and is working now. IP addresses of machines in my office are 192.168.X.60 192.168.X.61 etc. So I tried 192.168.X.0/24 and it worked.

===================================
[main]
Description=MyCompany
Connection-Type=pptp
PPTP-Server=
Use-Peer-DNS=no
Encrypt-MPPE=no
Encrypt-MPPE-128=yes
Encrypt-MPPE-Stateful=yes
Compress-MPPC=no
Compress-Deflate=no
Compress-BSD=no
PPP-Lock=yes
Auth-Peer=no
Refuse-EAP=yes
Refuse-CHAP=no
Refuse-MSCHAP=no
MTU=1416
MRU=1416
LCP-Echo-Failure=10
LCP-Echo-Interval=10
PPP-Custom-Options=
Peer-DNS-Over-Tunnel=no
X-NM-Routes=192.168.XX.0/24
Use-Routes=yes

Wednesday, October 29, 2008

A working xorg.conf for dual head monitor

  • Laptop: DELL vostro 1400 extended with bigger Dell monitor to the top.
  • On ubuntu 8.04.1, kernel 2.6.24-21-generic
  • Driver: 01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS (rev a1)

An issue I recently faced> When I upgraded the kernel from 2.6.24-19-generic to 2.6.24-21-generic, linux-restricted-modules also got upgraded (to 2.6.22-15 ).
But, it did not detect the settings properly. If you face the same issue, try removing and re-installing linux-restricted-modules-2.6.22-15-generic. That worked for me.

xorg.conf:
=========
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard" "CoreKeyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

Section "Module"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
DefaultDepth 24
Option "NoLogo" "True"
Option "RenderAccel" "true"
Option "TwinView"
Option "MetaModes" "1280×1024 1280×1024"
Option "TwinViewOrientation" "Below"
SubSection "Display"
Depth 24
Modes "nvidia-auto-select"
EndSubSection
EndSection
=========