Category Archives: English

Stuff written in English

Chelsio T6225-CR and SM10G-SR

I finally got my two Chelsio SM10G-SR SFP+ optical modules. First light have finally been achieved.

cc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=ec07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 00:07:43:XX:XX:X0
        hwaddr 00:07:43:XX:XX:X0
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet 10Gbase-SR <full-duplex,rxpause,txpause>
        status: active

Continue reading Chelsio T6225-CR and SM10G-SR

Chelsio T6225-CR has arrived

Boot messages for stable/11:

t6nex0: <Chelsio T6225-CR> mem 0xfac80000-0xfacfffff,0xf9000000-0xf9ffffff,0xfaff6000-0xfaff7fff irq 16 at device 0.4 on pci6
t6nex0: firmware on card (1.16.63.0) is older than the version bundled with this driver, installing firmware 1.19.1.0 on card.
cc0: <port 0> on t6nex0
cc0: Ethernet address: 00:07:43:XX:XX:X0
cc0: 4 txq, 4 rxq (NIC); 4 txq, 2 rxq (TOE)
cc1: <port 1> on t6nex0
cc1: Ethernet address: 00:07:43:XX:XX:X8
cc1: 4 txq, 4 rxq (NIC); 4 txq, 2 rxq (TOE)
t6nex0: PCIe gen2 x4, 2 ports, 14 MSI-X interrupts, 31 eq, 13 iq
pci6: <mass storage, SCSI> at device 0.5 (no driver attached)
pci6: <serial bus, Fibre Channel> at device 0.6 (no driver attached)

The firmware was in need of an upgrade. Continue reading Chelsio T6225-CR has arrived

Chelsio T6225-CR and SM25G-SR

I recently ordered a Chelsio T6225-CR network interface card and a couple of SM25G-SR SFP28 optical modules.

The aim is to get a 10 Gbit/s connection to the LAN, utilise the off-load capabilities of the NIC, and of course utilise the on-board crypto accelerator. The latter will not be useable until the system moves to the upcoming stable/12 branch.

Speaking of stable/12, I look forward to encrypted crash dumps and linear ZFS scrubbing.

I hope both OpenSSH and OpenSSL will be able to use the crypto accelerator by ways of crypto(4). Imagine a crypto speed in excess of 30 Gbit/s. That’s pretty neat. If all goes well, another T6225-CR may find its way to a VPN router.

Migrating UFS filesystem from one disk to another

I needed to migrate an UFS filesystem from one disk to another. I had several options including using two tar processes in a pipeline or using dump and restore in a pipeline. I opted for the latter to make sure everything got preserved during the transfer.

Here’s the sequence of commands where /dev/gpt/nroot0 is the GPT label of the new filesystem and / is the donor filesystem:

newfs /dev/gpt/nroot0
mount /dev/gpt/nroot0 /mnt
cd /mnt
rmdir .snap
dump -0LaP 'restore -rf -' /
cd /
umount /mnt

Micro Focus (Novell) iPrint on Windows 7

I need to remind myself of running the IPP webpage in compatiblity mode in IE11 when installing printers.

Even if you specify ipp.FQDN, IE11 will kindly enter your FQDN into the list of domain names to show in compatibility mode. Remember to remove FQDN from that list when you’re done.

iPrint client 5.99 seems to be the last of its kind. From now on, iPrint is an appliance. Maybe it’s time to leave Novell and their products for good.

Connecting to guest-access allowed, readonly Samba shares

Sometimes security is on the border of being ridiculous. Modern Windows 10 is very anxious when connecting to guest-access allowed, readonly Samba shares, Here’s how to allow “insecure” guest logons for stand-alone computers. The same is true when configuring a GPO.

https://support.microsoft.com/en-us/help/4046019/guest-access-smb2-disabled-by-default-in-windows-10-server-2016.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters]
"AllowInsecureGuestAuth"=dword:00000001