Alphavm_free and Gentoo Linux

Gentoo Linux looks like the last Linux Distro that supports the dying Alpha architecture. Actually it runs pretty nicely on the Alphavm simulator

Configuration for is pretty straight forward  config.emu

system {

type = ds10_616;
reported_type = default;
num_cpus = 1;
ssn = 'EmuVM-00-000-001';
interval_clock_freq = 1000;

memory {
size = 1024;
}

cpu {
server = basic;

jit {
async = yes;
}
}


serial com1 {
server = socket;
port = 3000;
}

scsi_controller qla0 {
scsi_id = 1;
}


scsi_disk dka0 {
scsi_bus = 0;
scsi_id = 0;
scsi_lun = 0;
file = 'disk.dd';
caching = no;
write_through = yes;
}

scsi_cdrom iso {
scsi_id = 4;
file = 'gentoo.iso';
}

ether eth0 {
type = dec21040;
server = dummy;
mac_address = 0x08002B000001;
}

ether eth1 {
type = dec21040;
server = tap;
interface = 'tap0';
mac_address = 0x08002B000002;
}

}

Boot dka400

Once inside the aboot environment

Welcome to aboot 1.0_pre20040408
Commands:
 h, ? Display this message
 q Halt the system and return to SRM
 p 1-8 Look in partition <num> for configuration/kernel
 l List preconfigured kernels
 d <dir> List directory <dir> in current filesystem
 b <file> <args> Boot kernel in <file> (- for raw boot)
 i <file> Use <file> as initial ramdisk
 with arguments <args>
 0-9 Boot preconfiguration 0-9 (list with 'l')
aboot> l
iso: Max size:109700 Log zone size:2048
iso: First datazone:28 Root inode number 57344
# Option 0, for generic systems, boots the default kernel with the graphics console.
# Option 1, the same, but boots a kernel without legacy start address (see below)
# Option 2, the same as 0, but serial console on the first port (ttyS0, at 9600bps)
# Option 3, the same as 1, but serial console on the first port (ttyS0, at 9600bps)
# 
# Some later alphas need a special kernel without legacy start address, most
# notably the DS15A and DS25 workstations as well as the ES45, ES47 and GS 
# series of servers. If your machine does not boot with the generic kernels 
# of option 0 and 2, try option 1 or 3, respectively
#
# If you want to add/change parameters, boot from the CD with -flags x
# and enter "b", a space and the kernel name and command line you want to use
# In aboot "menu mode" you can use several keys to look at partitions and
# preconfigured command lines.
#
# For more information, consult the Gentoo alpha installation handbook.

Choose the

aboot> 2
[ 0.000000] Linux version 4.4.21-gentoo (root@monolith) (gcc version 4.9.3 (Gentoo 4.9.3 p1.5, pie-0.6.4) ) #1 SMP Sun Feb 5 22:07:18 UTC 2017
[ 0.000000] Booting GENERIC on Tsunami variation Webbrick using machine vector Webbrick from SRM
[ 0.000000] Major Options: SMP LEGACY_START VERBOSE_MCHECK MAGIC_SYSRQ
[ 0.000000] Command line: root=/dev/ram0 init=/linuxrc dokeymap looptype=squashfs loop=/image.squashfs console=ttyS0 cdroot
[ 0.000000] memcluster 0, usage 1, start 0, end 256
[ 0.000000] memcluster 1, usage 0, start 256, end 131072
[ 0.000000] freeing pages 256:384
[ 0.000000] freeing pages 1416:131072
[ 0.000000] reserving pages 1416:1418
[ 0.000000] Initial ramdisk at: 0xfffffc003f8d0000 (5090152 bytes)
[ 0.000000] SMP: 1 CPUs probed -- cpu_present_mask = 1
[ 0.000000] On node 0 totalpages: 131072
[ 0.000000] free_area_init_node: node 0, pgdat fffffc0000aae6c0, node_mem_map fffffc0000d00000
[ 0.000000] DMA zone: 896 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 131072 pages, LIFO batch:15
[ 0.000000] PERCPU: Embedded 7 pages/cpu @fffffc0001408000 s17536 r8192 d31616 u57344
[ 0.000000] pcpu-alloc: s17536 r8192 d31616 u57344 alloc=7*8192
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130176
[ 0.000000] Kernel command line: root=/dev/ram0 init=/linuxrc dokeymap looptype=squashfs loop=/image.squashfs console=ttyS0 cdroot
[ 0.000000] PID hash table entries: 4096 (order: 2, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 1048576 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 524288 bytes)
[ 0.000000] Sorting __ex_table...
[ 0.000000] Memory: 1023416K/1048576K available (5477K kernel code, 392K rwdata, 1704K rodata, 408K init, 181K bss, 25160K reserved, 0K cma-reserved)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 64.
[ 0.000000] RCU restricting CPUs from NR_CPUS=32 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=1
[ 0.000000] NR_IRQS:128
[ 0.000000] Setting RTC_FREQ to 1024 Hz (26)
[ 0.000000] Turning on RTC interrupts.
[ 0.104492] Console: colour dummy device 80x25
[ 0.117187] console [ttyS0] enabled
[ 0.117187] Calibrating delay loop... 1021.72 BogoMIPS (lpj=498688)
[ 0.125976] pid_max: default: 32768 minimum: 301
[ 0.127929] Mount-cache hash table entries: 2048 (order: 1, 16384 bytes)
[ 0.128906] Mountpoint-cache hash table entries: 2048 (order: 1, 16384 bytes)
[ 0.135742] SMP mode deactivated.
[ 0.142578] Brought up 1 CPUs
[ 0.142578] SMP: Total of 1 processors activated (1027.97 BogoMIPS).
[ 0.145507] devtmpfs: initialized
[ 0.161132] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1866466235866741 ns
[ 0.169921] NET: Registered protocol family 16
[ 0.175781] EISA bus registered
[ 0.179687] PCI host bridge to bus 0000:00
[ 0.179687] pci_bus 0000:00: root bus resource [io 0x0000-0x1ffffff]
[ 0.180663] pci_bus 0000:00: root bus resource [mem 0x00000000-0x3fffffff]
[ 0.180663] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.181640] pci 0000:00:07.0: [8086:0484] type 00 class 0x060100
[ 0.181640] pci 0000:00:07.0: [Firmware Bug]: reg 0x10: invalid BAR (can't size)
[ 0.182617] pci 0000:00:07.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[ 0.183593] pci 0000:00:09.0: [1011:0002] type 00 class 0x020000
[ 0.183593] pci 0000:00:09.0: reg 0x10: [io 0x10000-0x100ff]
[ 0.184570] pci 0000:00:09.0: reg 0x14: [mem 0x00100000-0x00100fff]
[ 0.185546] pci 0000:00:0b.0: [1011:0002] type 00 class 0x020000
[ 0.185546] pci 0000:00:0b.0: reg 0x10: [io 0x20000-0x200ff]
[ 0.185546] pci 0000:00:0b.0: reg 0x14: [mem 0x00200000-0x00200fff]
[ 0.186523] pci 0000:00:0e.0: [1077:1020] type 00 class 0x010000
[ 0.187499] pci 0000:00:0e.0: reg 0x10: [io 0x30000-0x300ff]
[ 0.187499] pci 0000:00:0e.0: reg 0x14: [mem 0x00300000-0x00300fff]
[ 0.189453] pci: enabling save/restore of SRM state
[ 0.189453] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.190429] pci 0000:00:07.0: BAR 1: assigned [mem 0x09000000-0x0900ffff]
[ 0.191406] pci 0000:00:09.0: BAR 1: assigned [mem 0x09010000-0x09010fff]
[ 0.193359] pci 0000:00:0b.0: BAR 1: assigned [mem 0x09011000-0x09011fff]
[ 0.193359] pci 0000:00:0e.0: BAR 1: assigned [mem 0x09012000-0x09012fff]
[ 0.194335] pci 0000:00:09.0: BAR 0: assigned [io 0x8000-0x80ff]
[ 0.194335] pci 0000:00:0b.0: BAR 0: assigned [io 0x8400-0x84ff]
[ 0.195312] pci 0000:00:0e.0: BAR 0: assigned [io 0x8800-0x88ff]
[ 0.195312] pci_bus 0000:00: resource 4 [io 0x0000-0x1ffffff]
[ 0.195312] pci_bus 0000:00: resource 5 [mem 0x00000000-0x3fffffff]
[ 0.292968] vgaarb: loaded
[ 0.294921] SCSI subsystem initialized
[ 0.297851] libata version 3.00 loaded.
[ 0.300781] usbcore: registered new interface driver usbfs
[ 0.302734] usbcore: registered new interface driver hub
[ 0.302734] usbcore: registered new device driver usb
[ 0.396484] NET: Registered protocol family 2
[ 0.400390] TCP established hash table entries: 8192 (order: 3, 65536 bytes)
[ 0.403320] TCP bind hash table entries: 8192 (order: 4, 131072 bytes)
[ 0.406249] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.407226] UDP hash table entries: 512 (order: 1, 16384 bytes)
[ 0.407226] UDP-Lite hash table entries: 512 (order: 1, 16384 bytes)
[ 0.409179] NET: Registered protocol family 1
[ 0.409179] PCI: CLS 0 bytes, default 64
[ 0.412109] Unpacking initramfs...
[ 8.000972] random: nonblocking pool is initialized
[ 33.299787] Freeing initrd memory: 4968K (fffffc003f8d0000 - fffffc003fdaa000)
[ 33.305647] futex hash table entries: 256 (order: 1, 16384 bytes)
[ 33.311506] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 33.316389] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 33.317365] io scheduler noop registered
[ 33.317365] io scheduler deadline registered (default)
[ 33.319318] io scheduler cfq registered
[ 33.321272] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 33.322248] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16450
[ 33.325178] serial8250: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16450
[ 33.331037] rtc: Digital UNIX epoch (1952) detected
[ 33.332014] Real Time Clock Driver v1.12b
[ 33.335920] isapnp: Scanning for PnP cards...
[ 33.699201] isapnp: No Plug & Play device found
[ 33.709943] Floppy drive(s): fd0 is 2.88M
[ 33.745099] loop: module loaded
[ 33.746076] Loading iSCSI transport class v2.0-870.
[ 33.753888] qla1280: QLA1040 found on PCI bus 0, dev 14
[ 33.754865] PCI: Setting latency timer of device 0000:00:0e.0 to 64
[ 34.828107] scsi(0:0): Resetting SCSI BUS
[ 36.734356] floppy0: no floppy controllers found
[ 36.735332] work still pending
[ 37.841777] scsi host0: QLogic QLA1040 PCI to SCSI Host Adapter
 Firmware version: 7.65.06, Driver version 3.27.1
[ 37.850566] scsi 0:0:0:0: Direct-Access EmuVM HD image 0001 PQ: 0 ANSI: 2
[ 37.851543] scsi(0:0:0:0): Sync: period 10, offset 12, Wide, Tagged queuing: depth 31
[ 37.868144] scsi 0:0:4:0: CD-ROM EmuVM CDROM ISO image 0001 PQ: 0 ANSI: 2
[ 37.869121] scsi(0:0:4:0): Sync: period 10, offset 12, Wide
[ 37.892558] sd 0:0:0:0: [sda] 4194304 512-byte logical blocks: (2.15 GB/2.00 GiB)
[ 37.894511] sd 0:0:0:0: [sda] Write Protect is off
[ 37.894511] sd 0:0:0:0: [sda] Mode Sense: b7 00 10 08
[ 37.895488] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA
[ 37.900371] sr 0:0:4:0: [sr0] scsi3-mmc drive: 0x/0x caddy
[ 37.901347] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 37.906230] sr 0:0:4:0: Attached scsi CD-ROM sr0
[ 37.910136] sda: sda1 sda2 sda3 sda4 sda5 sda6 sda7
[ 37.920879] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 37.924785] sr 0:0:4:0: Attached scsi generic sg1 type 5
[ 37.928691] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 37.928691] ehci-pci: EHCI PCI platform driver
[ 37.929668] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 37.930644] ohci-pci: OHCI PCI platform driver
[ 37.930644] uhci_hcd: USB Universal Host Controller Interface driver
[ 37.933574] i8042: No controller found
[ 37.940410] sd 0:0:0:0: [sda] Attached SCSI disk
[ 37.941386] mousedev: PS/2 mouse device common for all mice
[ 37.950175] usbcore: registered new interface driver usbhid
[ 37.951152] usbhid: USB HID core driver
[ 37.952129] NET: Registered protocol family 17
[ 37.954082] 8021q: 802.1Q VLAN Support v1.8
[ 37.954082] Key type dns_resolver registered
[ 37.969707] Freeing unused kernel memory: 408K (fffffc0000a16000 - fffffc0000a7c000)
[ 49.822240] scsi: <fdomain> Detection failed (no card)
[ 49.880833] GDT-HA: Storage RAID Controller Driver. Version: 3.05
[ 50.415989] qlogicfas: no cards were found, please specify I/O address and IRQ using iobase= and irq= options
[ 51.544895] ips: This driver has only been tested on the x86/ia64/x86_64 platforms
[ 51.805637] sym53c416.c: Version 1.0.0-ac
[ 51.999973] Fusion MPT base driver 3.04.20
[ 51.999973] Copyright (c) 1999-2008 LSI Corporation
[ 52.109348] Fusion MPT SPI Host driver 3.04.20
[ 52.171848] Fusion MPT FC Host driver 3.04.20
[ 52.240207] Fusion MPT SAS Host driver 3.04.20
[ 52.404270] 3ware Storage Controller device driver for Linux v1.26.02.003.
[ 52.470676] 3ware 9000 Storage Controller device driver for Linux v2.26.02.014.
[ 52.639621] HP CISS Driver (v 3.6.26)
[ 52.996066] Adaptec aacraid driver 1.2-1[41010]-ms
[ 53.158175] megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006)
[ 53.168918] megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST 2006)
[ 53.286105] megasas: 06.808.16.00-rc1
[ 53.402316] qla2xxx [0000:00:00.0]-0005: : QLogic Fibre Channel HBA Driver: 8.07.00.26-k.
[ 53.664035] aic94xx: Adaptec aic94xx SAS/SATA driver version 1.0.3 loaded
[ 54.342745] usbcore: registered new interface driver usb-storage
[ 57.646454] device-mapper: uevent: version 1.0.3
[ 57.647431] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[ 58.425751] md: raid0 personality registered for level 0
[ 58.498993] md: raid1 personality registered for level 1
[ 59.425750] md: raid10 personality registered for level 10
[ 59.497039] md: linear personality registered for level -1
[ 60.292937] JFS: nTxBlock = 4018, nTxLock = 32149
[ 60.422820] RPC: Registered named UNIX socket transport module.
[ 60.422820] RPC: Registered udp transport module.
[ 60.422820] RPC: Registered tcp transport module.
[ 60.422820] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 60.954070] fuse init (API version 7.23)
[ 61.057585] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[ 61.057585] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 61.137664] pps_core: LinuxPPS API ver. 1 registered
[ 61.137664] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 61.154265] PTP clock support registered
[ 72.843712] ISO 9660 Extensions: Microsoft Joliet Level 3
[ 72.845665] ISO 9660 Extensions: RRIP_1991A
[ 296.045746] de2104x: PCI Ethernet driver v0.7 (Mar 17, 2004)
[ 296.056489] de2104x 0000:00:09.0 eth0: 21040 at fffffd0009010000, 08:00:2b:00:00:01, IRQ 29
[ 296.058442] PCI: Setting latency timer of device 0000:00:09.0 to 64
[ 296.069184] de2104x 0000:00:0b.0 eth1: 21040 at fffffd0009011000, 08:00:2b:00:00:02, IRQ 30
[ 296.069184] PCI: Setting latency timer of device 0000:00:0b.0 to 64
[ 297.997894] de2104x 0000:00:0b.0 enp0s11: renamed from eth1
[ 298.002777] de2104x 0000:00:09.0 enp0s9: renamed from eth0
[ 337.283030] warning: process `hwsetup' used the deprecated sysctl system call with 1.23.
[ 359.582823] de2104x 0000:00:09.0 enp0s9: enabling interface
[ 359.601378] de2104x 0000:00:09.0 enp0s9: set link 10baseT-HD
[ 359.627745] de2104x 0000:00:0b.0 enp0s11: enabling interface
[ 359.646300] de2104x 0000:00:0b.0 enp0s11: set link 10baseT-HD
[ 364.609188] de2104x 0000:00:09.0 enp0s9: link up, media 10baseT-HD
[ 364.656063] de2104x 0000:00:0b.0 enp0s11: link up, media 10baseT-HD
livecd etc #
livecd etc # uname -a
uname -a
Linux livecd 4.4.21-gentoo #1 SMP Sun Feb 5 22:07:18 UTC 2017 alpha EV67 Tsunami GNU/Linux

Network is also working fine

 

Advertisements
Gallery | This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s