Project

General

Profile

News

smartmontools

Added by Igor Pashev 25 days ago

(18:32:30)
[pashev@dyson:~]
# sudo smartctl -d scsi -a /dev/rdsk/c1t0d0s0
smartctl 6.6 2016-05-31 r4324 [x86_64-pc-solaris2.11] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

User Capacity:        750,156,374,016 bytes [750 GB]
Logical block size:   512 bytes
Serial number:        WD-WCATR7642009
Device type:          disk
Local Time is:        Wed Apr  5 18:32:37 2017 MSK
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Disabled or Not Supported

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
Current Drive Temperature:     46 C
Drive Trip Temperature:        0 C

Manufactured in week 00 of year 0000
Specified cycle count over device lifetime:  100
Accumulated start-stop cycles:  0
Error Counter logging not supported

SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Default           Completed                   -   22564                 - [-   -    -]
# 2  Default           Completed                   -   22489                 - [-   -    -]
# 3  Default           Completed                   -   22134                 - [-   -    -]
# 4  Default           Completed                   -   22107                 - [-   -    -]
# 5  Default           Completed                   -   17723                 - [-   -    -]
# 6  Default           Completed                   -   17697                 - [-   -    -]
# 7  Default           Completed                   -   14293                 - [-   -    -]
# 8  Default           Completed                   -   11814                 - [-   -    -]
# 9  Default           Completed                   -   10901                 - [-   -    -]
#10  Default           Completed                   -       3                 - [-   -    -]

(18:32:37)
[pashev@dyson:~]
# sudo smartctl -d scsi -a /dev/rdsk/c1t1d0s0
smartctl 6.6 2016-05-31 r4324 [x86_64-pc-solaris2.11] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

User Capacity:        750,156,374,016 bytes [750 GB]
Logical block size:   512 bytes
Serial number:        WD-WCATR7706359
Device type:          disk
Local Time is:        Wed Apr  5 18:32:40 2017 MSK
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Disabled or Not Supported

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
Current Drive Temperature:     45 C
Drive Trip Temperature:        0 C

Manufactured in week 00 of year 0000
Specified cycle count over device lifetime:  100
Accumulated start-stop cycles:  0
Error Counter logging not supported

SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Default           Completed                   -   21261                 - [-   -    -]
# 2  Default           Completed                   -   21187                 - [-   -    -]
# 3  Default           Completed                   -   20832                 - [-   -    -]
# 4  Default           Completed                   -   20805                 - [-   -    -]
# 5  Default           Completed                   -   16421                 - [-   -    -]
# 6  Default           Completed                   -   16395                 - [-   -    -]
# 7  Default           Completed                   -   12991                 - [-   -    -]
# 8  Default           Completed                   -   11805                 - [-   -    -]
# 9  Default           Completed                   -   10892                 - [-   -    -]
#10  Default           Completed                   -       2                 - [-   -    -]

Bye to Linode, welcome to Hetzner

Added by Igor Pashev 4 months ago

After running out of storage at Linode I decided to move to Hetzner.

Two linodes have be replaced by a single box at Hetzner with lots of storage in a RAID6 array, RAM, CPU resources.
Only hg.osdyson.org was lost, as it wasn't used anyway.

In addition, the main site now works over HTTPS.

GHC 8 & friends

Added by Igor Pashev 5 months ago

Updated GHC to 8.0.1 and some essential Haskell bits to compose Haskell environment:

The Glorious Glasgow Haskell Compilation System, version 8.0.1
cabal-install version 1.24.0.1
Darcs 2.12.4 (release)
xmonad 0.12

Nix at Dyson

Added by Igor Pashev 7 months ago

At least it is buildable and runs.

Nix is a purely functional package manager. This means that it treats packages like values in purely functional programming languages such as Haskell — they are built by functions that don’t have side-effects, and they never change after they have been built.

New kernel (2015-10-18)

Added by Igor Pashev over 1 year ago

Flawlessly upgraded. Updates to ZFS user-space and libc are coming soon.

uts (5.10.18.git.2a44663-0.1) unstable; urgency=medium

  * Here we go!
  * Deleted patches:
        debian/patches/desctbls_asm.s-rax.patch
        debian/patches/illumos-4431-4616-igb.patch
        debian/patches/illumos-4622-asy.patch
        debian/patches/illumos-4653.patch
        debian/patches/illumos-4679-intel-erratum-BT81.patch
        debian/patches/illumos-4682.patch
        debian/patches/illumos-4840-ddi_dma_mem_alloc.patch
        debian/patches/uts-cpr_stat.c-wtf.patch
        debian/patches/uts-hxge-operation-on-ldvp-may-be-undefined.patch
        debian/patches/uts-ib-hermon_cmd.c-undef-op.patch
        debian/patches/uts-ib-tavor_cmd.c-undef-op.patch
        debian/patches/uts-nxge-operation-on-ldvp-may-be-undefined.patch
        debian/patches/uts-strategy.c-undefined-op.patch
        debian/patches/uts-struct-ecppunit-e_busy-type.patch
  * Updated patches:
        debian/patches/dyson-split-system-AVL-headers.patch
        debian/patches/illumos-3373-gcc-offsetof.patch
        debian/patches/statfs-is-statvfs.patch
        debian/patches/sys-mnttab.h-include-stdio.h.patch
        debian/patches/sys_mman.h-bsd_source.patch
  * Refreshed patches:
        debian/patches/add-futimes.patch
        debian/patches/msghdr-xpg42.patch
        debian/patches/relax-standard-conformance.patch
        debian/patches/sys-socket.h-no-redefine-extname-in-kernel.patch
  * Added patches:
        debian/patches/bnxe-macro.patch

 -- Igor Pashev <pashev.igor@gmail.com>  Mon, 19 Oct 2015 20:35:38 +0300

3.0 (quilt) format

Added by Igor Pashev over 1 year ago

After 4 years of packaging illumos I have figured out the best way
and now I'm switching to 3.0 (quilt) format with source tarballs.
This allows faster and more flexible updates from upstream.

As a side effect, we can see all the patches http://patches.osdyson.org

The kernel first: http://cgit.osdyson.org/illumos/illumos-packaging.git/tree/uts/debian/rules?id=b7d8d6db6e733656a1fd628859e4e6b1a6477a23

# cat ../uts_4.3.1.git.35107df-2_illumos-amd64.changes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 18 Oct 2015 10:39:45 +0300
Source: uts
Binary: illumos-kernel illumos-kernel-headers uts-dev
Architecture: source illumos-amd64
Version: 4.3.1.git.35107df-2
Distribution: unstable
Urgency: medium
Maintainer: Igor Pashev <pashev.igor@gmail.com>
Changed-By: Igor Pashev <pashev.igor@gmail.com>
Description:
 illumos-kernel - illumos kernel and modules
 illumos-kernel-headers - illumos kernel header files
 uts-dev    - illumos kernel support headers for userspace development
Changes:
 uts (4.3.1.git.35107df-2) unstable; urgency=medium
 .
   * Use 3.0 (quilt) format with new dh_illumos_gate
Checksums-Sha1:
 3c3eb2b63f31cb2258d62d8a130ad4872929f5f3 1619 uts_4.3.1.git.35107df-2.dsc
 30d97a72b36832af975c68730528d3c9cd68f742 31309280 uts_4.3.1.git.35107df.orig.tar.xz
 f662aea193ef6eb093005bd6fee3bec09c916d1a 68652 uts_4.3.1.git.35107df-2.debian.tar.xz
 419e464919546bdfce601989fcaf080552715162 2283054 illumos-kernel-headers_4.3.1.git.35107df-2_illumos-amd64.deb
 6a1babb4af488721ff5c9c4ecedf58c103bf9551 16832538 illumos-kernel_4.3.1.git.35107df-2_illumos-amd64.deb
 5e07e525fec8b0e5eb9ad5d4fa4f2a94362fd429 2925786 uts-dev_4.3.1.git.35107df-2_illumos-amd64.deb
Checksums-Sha256:
 3c9daad433c01077906e55d4311dcc590b9c736b2d5be256be2c64e35371d4a9 1619 uts_4.3.1.git.35107df-2.dsc
 56addf917b57d62c898813a128786eb0ffd4c8b15d1d7d06086ef0f9b3d76ea0 31309280 uts_4.3.1.git.35107df.orig.tar.xz
 7486f9c40a1312f5392f319373570470ebe76a54fc9e69eec59cc42ea535e379 68652 uts_4.3.1.git.35107df-2.debian.tar.xz
 4390336fad89365ecca5543a5ab62425a719346a91a6aab460a6dfaf54d737fe 2283054 illumos-kernel-headers_4.3.1.git.35107df-2_illumos-amd64.deb
 22f4f279ede31ea402927ab7c506813d63610fa3626f543b5e8e1029487d4ade 16832538 illumos-kernel_4.3.1.git.35107df-2_illumos-amd64.deb
 804e5118afc9fd74e99452a1d61fd62e6e201a0f2395866e4e525506c2e542cb 2925786 uts-dev_4.3.1.git.35107df-2_illumos-amd64.deb
Files:
 b60d366d3f5e0a9b0b60a4e9ba9352c6 1619 kernel optional uts_4.3.1.git.35107df-2.dsc
 784b184551edc554b9cd842f3d423012 31309280 kernel optional uts_4.3.1.git.35107df.orig.tar.xz
 fd947a15f1354a7405344aaa1b1cc345 68652 kernel optional uts_4.3.1.git.35107df-2.debian.tar.xz
 7289f9dc02f973f726d355fa21d3d6e3 2283054 kernel optional illumos-kernel-headers_4.3.1.git.35107df-2_illumos-amd64.deb

Dyson on Dyson

Added by Igor Pashev over 1 year ago

After Dyson at Hetzner it became possible to hack VirtualBox host capabilities,
e. i. running guest OS, like Dyson itself :-)

It works.

# modinfo | grep vbox
258 fffffffff82ef000  3a268 333   1  vboxdrv (VirtualBox HostDrv 4.3.10_Debia)
259 fffffffff81885a8    da0 334   1  vboxnet (VirtualBox NetAdp 4.3.10_Debian)
261 fffffffff832e000   7a68 335   1  vboxflt (VirtualBox NetDrv 4.3.10_Debian)
261 fffffffff832e000   7a68   -   1  vboxflt (VirtualBox NetMod 4.3.10_Debian)

There is a minor issue #188.

I launched it via SSH X forwarding:

Go

Added by Igor Pashev almost 2 years ago

Just Go.

(23:20:43)
[pashev@dyson:~/GCD]
# go version
go version go1.4.2 solaris/amd64

(23:20:58)
[pashev@dyson:~/GCD]
# go build -a -x  gcd.go
WORK=/tmp/go-build382508362
mkdir -p $WORK/command-line-arguments/_obj/
cd /home/pashev/GCD
/usr/lib/go/pkg/tool/solaris_amd64/6g -o $WORK/command-line-arguments.a -trimpath $WORK -p command-line-arguments -complete -D _/home/pashev/GCD -I $WORK -pack ./gcd.go
cd .
/usr/lib/go/pkg/tool/solaris_amd64/6l -o gcd -L $WORK -extld=gcc $WORK/command-line-arguments.a

(23:21:02)
[pashev@dyson:~/GCD]
# ./gcd 11 22 33 44 121
11

(1-10/92)

Also available in: Atom