Cydonia

From Federal Burro of Information
Revision as of 05:54, 10 March 2011 by David (talk | contribs) (→‎Also See)
Jump to navigationJump to search

OverView

  • Home server
  • On the end of a tek savvy connection with static IP.
  • motherboard: D945GCLF
  • processor: atom 230 (64 bit profile) intel product page
  • onboard realtek card is no good.
  • might be issues with random number generator.
  • install Dlink DECchip quad ethernet card ( tulip driver )

Build Notes

from "safe cflags gentoo page:

Atom

Some Intel engineer put a guide on stable CFLAGS for atom procesor.

In summary, he said that this are the "suggested" CFLAGS:

-Wall -O1 -msse3 -march=core2 -mfpmath=sse -pedantic -pipe 
-fstrength-reduce -fexpensive-optimizations -finline-functions 
-funroll-loops -foptimize-register-move

Atom 230

vendor_id       : GenuineIntel
cpu family      : 6
model           : 28
model name      : Intel(R) Atom(TM) CPU  230   @ 1.60GHz
stepping        : 2
cpu MHz         : 1596.175
cache size      : 512 KB

32 bit profile (x86):

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"

64 bit profile (amd64):

CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CXXFLAGS="${CFLAGS}"

Note: The 230 has no C states. ( c1 only )

Make.conf

1st attempt

CHOST="x86_64-pc-linux-gnu"
CFLAGS="-Wall -O2 -msse3 -march=nocona -mfpmath=sse -pipe -fstrength-reduce -fexpensive-optimizations -finline-functions -funroll-loops -foptimize-register-move"
CXXFLAGS="${CFLAGS}"

Hardware

lspci

00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
04:00.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller

lm_detect

sensors-detect gives:;

  * Bus `SMBus I801 adapter at 3000'
    Busdriver `i2c-i801', I2C address 0x2d
    Chip `SMSC LPC47M15x/192/292/997' (confidence: 6)

Driver `smsc47m1' (should be inserted):
  Detects correctly:
  * ISA bus, address 0x680
    Chip `SMSC LPC47M15x/192/997 Super IO Fan Sensors' (confidence: 9)

/usr/bin/sensors gives:

smsc47m192-i2c-0-2d
Adapter: SMBus I801 adapter at 3000
+2.5V:     +2.53 V  (min =  +0.00 V, max =  +3.32 V)
VCore:     +1.15 V  (min =  +0.00 V, max =  +2.99 V)
+3.3V:     +3.32 V  (min =  +0.00 V, max =  +4.38 V)
+5V:       +4.95 V  (min =  +0.00 V, max =  +6.64 V)
+12V:     +11.94 V  (min =  +0.00 V, max = +15.94 V)
VCC:       +3.33 V  (min =  +0.00 V, max =  +4.38 V)
+1.5V:     +1.56 V  (min =  +0.00 V, max =  +1.99 V)
+1.8V:     +1.77 V  (min =  +0.00 V, max =  +2.39 V)
Chip Temp: +43.0 C  (low  =  -127 C, high =  +127 C)
CPU Temp:  +59.0 C  (low  =  -127 C, high =   +50 C)
Sys Temp:  +47.0 C  (low  =  -127 C, high =  +127 C)
vid:      +2.050 V  (VRM Version 8.2)

smsc47m1-isa-0680
Adapter: ISA adapter
fan1:        0 RPM  (min = 1280 RPM, div = 4)          ALARM
fan2:     6826 RPM  (min = 1280 RPM, div = 4)

i2c

list device:
(not detected by lshw)

# /usr/sbin/i2cdump
>snip<
  Installed I2C busses:
    i2c-0       i2c             intelfb CRTDDC_A
    i2c-1       i2c             intelfb SDVOCTRL_E
    i2c-2       smbus           SMBus I801 adapter at 3000
# i2cdetect 2
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-2.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- 08 -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- UU -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- -- 
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- 69 -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --    

Disks

  • /dev/sdc1 /mnt/TOSHIBA 40GB
  • /dev/sdb1 /mnt/jmicron 320GB
  • /dev/sdd1 /mnt/DMI 120GB ( J: BACKUP)
/sbin/mount.ntfs-3g /dev/sdc1 /mnt/TOSHIBA
/sbin/mount.ntfs-3g /dev/sdb1 /mnt/jmicron
/sbin/mount.ntfs-3g /dev/sdd1 /mnt/DMI

Firewall

Iptables firewall rules

who posts their rules to the internet?

/sbin/iptables -I OUTPUT 2 -d 213.179.58.83/32 -p tcp -m state --state NEW -m tcp --dport 6667 -j ACCEPT
/sbin/iptables -I OUTPUT 2 -d 65.111.131.249/32 -p tcp -m state --state NEW -m tcp --dport 6667 -j ACCEPT
/sbin/iptables -I OUTPUT 2 -d 130.237.188.200/32 -p tcp -m state --state NEW -m tcp --dport 6667 -j ACCEPT

Also See