Borg

From Federal Burro of Information
Jump to navigationJump to search
  • pentium 4 box
  • P5V800-MX mobo
  • gentoo circa 2013
  • inheirited from Nab ( contra for some AGP video cards )
  • dual wifi cards
  • 80 system disk
  • 2 X 250 GB data disks
  • 192.168.1.67

todo

  • clean up kernel
  • setup data disks
  • get wireless up and running
  • generate dictionaries
  • setup processing jobs


Kernel

started with stock genkernel - yuck

key deices:

i8042
pata_via
ahci
via-rhine
snd_hda_intel
rt61pci

Disk

borg / # blkid
/dev/sda1: LABEL="BORGDATA1" UUID="3b1e6c05-4fef-4380-a2bf-e7da49380f9a" TYPE="ext4"
/dev/sdb1: LABEL="BORGDATA2" UUID="e6643998-d0a8-4bd3-a382-3607ffa02af1" TYPE="ext4"
/dev/sdc1: LABEL="BOOT" UUID="17dea7a1-7d05-4212-a901-6796a16e34f7" TYPE="ext2"
/dev/sdc2: UUID="ba0d9f0b-1e7e-4fd9-830a-899e3337d3b5" TYPE="swap"
/dev/sdc3: LABEL="ROOT" UUID="d66785fd-51c6-45a5-89c2-8a47f0279f8e" TYPE="ext4"

lspci

00:00.0 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. PT890 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/VX700 PCI Bridge
00:0f.0 IDE interface: VIA Technologies, Inc. VT8251 AHCI/SATA 4-Port Controller
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07)
00:10.0 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 90)
00:10.1 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 90)
00:10.2 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 90)
00:10.3 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 90)
00:10.4 USB controller: VIA Technologies, Inc. USB 2.0 (rev 90)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8251 PCI to ISA Bridge
00:11.7 Host bridge: VIA Technologies, Inc. VT8237/8251 Ultra VLINK Controller
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 7c)
00:13.0 PCI bridge: VIA Technologies, Inc. VT8251 Host Bridge
00:13.1 PCI bridge: VIA Technologies, Inc. VT8251 PCI to PCI Bridge
01:00.0 VGA compatible controller: VIA Technologies, Inc. CN700/P4M800 Pro/P4M800 CE/VN800 Graphics [S3 UniChrome Pro] (rev 01)
02:00.0 PCI bridge: VIA Technologies, Inc. VT8251 PCIE Root Port
02:00.1 PCI bridge: VIA Technologies, Inc. VT8251 PCIE Root Port
02:01.0 Audio device: VIA Technologies, Inc. VT8237A/VT8251 HDA Controller
05:08.0 Network controller: Ralink corp. RT2561/RT61 802.11g PCI
05:09.0 Network controller: Ralink corp. RT2800 802.11n PCI

nics

RT2561/RT61 802.11g PCI driver : rt61pci

05:08.0 Network controller: Ralink corp. RT2561/RT61 802.11g PCI

Modprobe worked a treat:

modprobe rt61pci

dmesg:

[48613.059028] cfg80211: Calling CRDA to update world regulatory domain
[48613.074840] phy0 -> rt61pci_validate_eeprom: EEPROM recovery - NIC: 0xff80
[48613.074846] phy0 -> rt61pci_validate_eeprom: EEPROM recovery - RSSI OFFSET BG: 0x0000
[48613.074848] phy0 -> rt61pci_validate_eeprom: EEPROM recovery - RSSI OFFSET A: 0x0000
[48613.074852] phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 2561, rf: 0003, rev: 000c.
[48613.087027] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[48613.087486] Registered led device: rt61pci-phy0::radio
[48613.087519] Registered led device: rt61pci-phy0::assoc

uses wireless tools:

borg proc # iwlist wlan0 power
wlan0     Current mode:off
borg proc # iwconfig wlan0 power on
borg proc # iwlist wlan0 power
wlan0     Current mode:on
borg proc # iwlist wlan0 txpower
wlan0     unknown transmit-power information.
       Current Tx-Power=0 dBm        (1 mW)
borg proc # iwconfig wlan0 txpower auto
borg proc # iwlist wlan0 txpower
wlan0     unknown transmit-power information.

         Current Tx-Power=20 dBm       (100 mW)
borg proc # iwlist wlan0 scan
wlan0: Interface doesn't support scanning : Network is down
borg proc #

want it all:

for i in frequency channel bitrate rate encryption keys power txpower retry ap accesspoints peers event auth wpakeys genie modulation; do  echo "DDDDDDDDDDDDDDDD\n$i"; iwlist wlan0 $i; done

/iwlist wlan0 (rt61pci)

RT2800 802.11n PCI

05:09.0 Network controller: Ralink corp. RT2800 802.11n PCI

Sensors

  • ITE IT8712F Super IO Sensors detected
  • i2c-viapro loaded
acpi_enforce_resources=lax

ACPItool

borg ~ # /usr/bin/acpitool -e
  Kernel version : 3.7.10-gentoo   -    ACPI version : 20120913
  -----------------------------------------------------------
  Battery status : <not available>

  AC adapter     : <info not available or off-line>
  Fan            : <not available>

  CPU type               : Intel(R) Pentium(R) 4 CPU 2.66GHz
  CPU speed              : 0x3 MHz
  Cache size             : 2659.963 KB
  Bogomips               : 5319.92
  Function Show_CPU_Info : could not read directory /proc/acpi/processor/
  Make sure your kernel has ACPI processor support enabled.

  Thermal info   : <not available>

   Device       S-state   Status   Sysfs node
  ---------------------------------------
  1. UAR1         S4    *disabled  pnp:00:05
  2. PS2K         S4    *enabled   pnp:00:09
  3. ILAN         S4    *disabled  pci:0000:00:12.0
  4. P7P8         S4    *disabled  pci:0000:02:00.0
  5. P7P9         S4    *disabled  pci:0000:02:00.1
  6. P2PB         S4    *disabled  pci:0000:00:13.1
  7. PCI1         S4    *disabled
  8. PCI2         S4    *disabled
  9. USB1         S4    *enabled   pci:0000:00:10.0
  10. USB2        S4    *enabled   pci:0000:00:10.1
  11. USB3        S4    *enabled   pci:0000:00:10.2
  12. USB4        S4    *enabled   pci:0000:00:10.3
  13. EHCI        S4    *enabled   pci:0000:00:10.4
  14. SLPB        S4    *disabled
borg ~ #