Susan

From Federal Burro of Information
Revision as of 05:36, 30 September 2012 by David (talk | contribs) (→‎Wireless)
Jump to navigationJump to search

Todo

  • cpu frequewncy scaling
  • powertop
    • CONFIG_TIMER_STATS
  • ACPI
  • power saving disk
  • monitoring
  • snmp
  • modem - HSF - lots of trouble. hsf doesn't like amd.
  • wireless
  • gaadgets
  • webcams
  • tune kernel
    • drtaab - pared down modules list.
    • drtaac - added powertop recommendations

Config of Note

/etc/conf.d/local.start

echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 1 > /sys/module/snd_hda_intel/parameters/power_save

see also: http://www.gentoo.org/doc/en/openrc-migration.xml?style=printable

Hardware

  • CPU: AMD Athlon(tm) 64 Processor 3500+
    • cpufreq: powernow_k8
  • RAM : DDR2 1GB
  • HDD 30 ide
  • storage controller:
  • video GeForce 6150 LE
  • MCP51 High Definition Audio
  • MCP51 Ethernet Controller - not used
  • Conexant Systems, Inc. HSF 56k Data/Fax Modem
  • Wireless: Ralink corp. RT2561/RT61 802.11g PCI
  • Quad port 10/10 ethernet: Tulip ( DECchip 21142/43 (rev 41))
  • usb camera:
    • usb 2-1: New USB device found, idVendor=0c45, idProduct=602c
    • usb 2-5: New USB device found, idVendor=0c45, idProduct=6029

Build notes


new build for server susan

mkfs.ext2 /dev/hda1
mkfs.ext3 /dev/hda3
mkswap /dev/hda2


/dev/hda1: UUID="a6b1226e-34e0-4d2e-955f-56c52ea60339" TYPE="ext2"
/dev/hda2: UUID="a4452166-b64b-48f8-83ee-dfe840480c1c" TYPE="swap"
/dev/hda3: UUID="f6bdfa33-f143-46e2-b034-d0483529f4a0" SEC_TYPE="ext2" TYPE="ext3"

swapon /dev/hda2

mount /dev/hda1 /mnt/gentoo
mkdir /mnt/gentoo/boot

MMDDhhmmYYYY syntax (Month, Day, hour, minute and Year). 

date 092314222012

FAILED:
mirrorselect -i -o >> /mnt/gentoo/etc/portage/make.conf
mirrorselect -i -r -o >> /mnt/gentoo/etc/portage/make.conf

manual:

GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"

mount -t proc none /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev

chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"


SYNC="rsync://rsync4.ca.gentoo.org/gentoo-portage"

Storage controllers

product: MCP51 IDE , uses CONFIG_BLK_DEV_AMD74XX

product: MCP51 Serial ATA Controller x 2 ( all sata header have been torn off, hence it's place at the end of someone's driveway )

modules:

4 pata_amd                9908  4

Disk

just one.

/dev/sda:

 Model=WDC WD300EB-75CPF0, FwRev=06.04G06, SerialNo=WD-WMAAT9825720
 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
 RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
 BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=1
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=58633344
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: Unspecified:  ATA/ATAPI-1,2,3,4,5

 * signifies the current active mode

Wireless

Wireless: Ralink corp. RT2561/RT61 802.11g PCI

modules loaded:

1 led_class               2398  1 rt2x00lib
1 rfkill                 13313  1 cfg80211
1 rt2x00pci               4388  1 rt61pci
2 cfg80211              139297  2 rt2x00lib,mac80211
2 mac80211              173491  2 rt2x00pci,rt2x00lib
2 rt2x00lib              29364  2 rt61pci,rt2x00pci
  • installed wpa_supplicant
  • got in log
Sep 29 23:00:47 susan kernel: phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
Sep 29 23:01:30 susan kernel: phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
Sep 29 23:02:15 susan kernel: phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
  • install kernel firmware package.
susan wpa_supplicant #  wpa_supplicant  -Dnl80211 -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
Could not set interface wlan0 flags: No such file or directory
Could not set interface 'wlan0' UP
Failed to initialize driver interface
susan wpa_supplicant #

install rfkill be sure I'm not "off" hard/software wise.

susan wpa_supplicant # iwconfig wlan0
wlan0     IEEE 802.11bg  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off


wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.confresources:

Sensors

sensor-detect notes:

  • AMD K8 thermal sensors
  • SMSC DME1737 Super IO
  • i2c-nforce2 - no response.