Sat Aug 3 22:22:22 CEST 2019

eddie at netbsd-9.99.2

eddie.marshlabs.gaertner.de, my i386 EeePc 1000H for primarily compiling and testing netbsd-current systems, got a hardware upgrade:

Out with the 160GB harddisk drive (and nbsd 8.1 on it), and in with a new shiny 120GB SSD (and back to the current -current branch, tracking 9.99.x; I had skipped the 8.99.x track).

First impressions about 9.99.x:

  • i915drmkms is still broken for the EeePc, i915drm instead still works.
  • classic console beeps / terminal bells work again, they are now routed through the HDA system:

    % dmesg | grep -Ei 'hda|audio|bell|spk|beep'
    pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
    spkr0 at pcppi1: PC Speaker
    wsbell0 at spkr0 mux 1
    sysbeep0 at pcppi1
    hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
    hdaudio0: interrupting at msi0 vec 0
    hdaudio0: HDA ver. 1.0, OSS 4, ISS 4, BSS 0, SDO 1, 64-bit
    hdafg0 at hdaudio0: vendor 10ec product 0269
    hdafg0: DAC00 2ch: Speaker [Built-In], HP Out [Jack]
    hdafg0: ADC01 2ch: Mic In [Built-In]
    hdafg0: ADC02 2ch: Mic In [Jack]
    hdafg0: 2ch/2ch 32000Hz 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
    audio0 at hdafg0: playback, capture, full duplex, independent
    audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
    audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
    spkr1 at audio0: PC Speaker (synthesized)
    wsbell1 at spkr1 mux 1
    
  • the built-in wireless works now out-of-the-box:

    % dmesg | grep ral0 
    ral0 at pci3 dev 0 function 0: Ralink Technologies RT2790 (rev. 0x00)
    ral0: interrupting at ioapic0 pin 19
    ral0: 802.11 address 00:22:43:53:42:ac
    ral0: MAC/BBP RT2872 (rev 0x0200), RF RT2720 (MIMO 1T2R)
    
    
    % ifconfig ral0
    ral0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ssid ml2 nwkey *****
        powersave off
        bssid c8:0e:14:fb:ba:3a chan 4
        address: 00:22:43:53:42:ac
        media: IEEE802.11 autoselect (DS1 mode 11g)
        status: active
    

Nice!

As so often in the past, I just dedicated 20GB to this NetBSD system:

% fdisk wd0
Disk: /dev/rwd0
NetBSD disklabel disk geometry:
cylinders: 232581, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 234441648, bytes/sector: 512

BIOS disk geometry:
cylinders: 1024, heads: 246, sectors/track: 3 (738 sectors/cylinder)
total sectors: 234441648

Partitions aligned to 2048 sector boundaries, offset 2048

Partition table:
0: NetBSD (sysid 169)
    start 2048, size 41943040 (20480 MB, Cyls 0-56836/39/3), Active
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
Bootselector enabled, timeout 5 seconds.
First active partition: 0
Drive serial number: 0 (0x00000000)

The NetBSD is by no means cramped:

% df -h | grep -v fs
Filesystem                    Size       Used      Avail %Cap Mounted on
/dev/wd0a                     1.9G       1.0G       840M  55% /
/dev/mapper/vg0-local         1.9G        41M       1.8G   2% /usr/local
/dev/mapper/vg0-pkg           993M        17M       926M   1% /usr/pkg
/dev/mapper/vg0-scratch       4.9G       2.4G       2.2G  51% /scratch
/dev/mapper/vg0-src           3.9G       2.8G       948M  74% /usr/src

% lvm vgs
  WARNING: Using LVM as operator you have only read access.
  VG   #PV #LV #SN Attr   VSize  VFree
  vg0    1   4   0 wz--n- 17.00g 5.00g

So there are still 90GB (real GB out of of 111 real GB as opposed to the 120 metric marketing GB) left for other systems.


Posted by neitzel | Permanent link | File under: done, marshlabs, bsd