Skip to Content.
Sympa Menu

rare-dev - Re: [rare-dev] new builds from you?

Subject: Rare project developers

List archive

Re: [rare-dev] new builds from you?


Chronological Thread 
  • From: mc36 <>
  • To: Alexander Gall <>
  • Cc: "" <>
  • Subject: Re: [rare-dev] new builds from you?
  • Date: Wed, 16 Mar 2022 14:05:17 +0100

hi,

On 3/16/22 13:37, Alexander Gall wrote:
# release-manager --auto-switch --install-git origin/master

thanks, noted it into my ~/update.sh :)
anyway, it worked fine... and saw that it fetched openjdk14...
could you bump it to openjdk17, that's the latest lts....

Not right now. jdk14 is the newest supported by the Nixpkgs version on
which the current SDE package is based. Lifting it to a newer Nixpkgs
version will be non-trivial. I don't want to do that for now unless
it's really necessary.
nope, jdk14 is fine too then....



an other thing is that the console is quite noisy, please use these to the
-hw.txt:
prcpar bfswd act col 500
prcpar bffwd act col 500

Ok, I'll drop the "con".

thanks!

yet another that the serial port completely dead add these to the -sw.txt:
line tty1
no exec authorization
no login authentication
exit
!

and this to the -hw.txt:
line tty1 127.0.0.1 20022 127.0.0.1 20021

and please run an external script hwdet-lin1.sh with the following content:
(it should not be started by freerouter because it should run when freerouter
boots up...)
#!/bin/sh

/rtr/modem.bin /dev/ttyS0 "speedset 9600" "ctrlset 3"

This depends on the platform. On the WEDGE systems, ttyS0 is connected
to the BMC and the speed is 57600 by default. I use this to set the
"console" kernel parameter and the GRUB serial setting to work
correctly via the BMC SOL. Changing the speed here would interfere
with that, I guess, so I need to be careful.

yeahhh, it should have to be a per platform setting then....

How are the serial ports set up on the 2556? Is there a similiar setup
with a BMC and one of these serial ports? The WEDGEs also have a
physical serial port configured as 9600 8N1 by default that is
connected to the BMC.

the stordis box have an external serial port connected to ttyS0 on the linux,
and the bmc basically completely dead and useless, even cannot power-cycle
the linux...:(
the default speed is 115200 in the bios.... the 9600 was suggested as that's
the cisco default :)

while (true); do
/rtr/ttyLin.bin /dev/ttyS0 20021
sleep 1
done

I'm a bit reluctant to do this since the serial port is the last
resort for accessing the device. I suppose this can somehow co-exist
with the regular agetty process on /dev/ttyS0 that allows access to
the host system, but how can it be guaranteed that it will fall back
to a normal login shell if anything goes wrong with freerouter or this
"intercept" process?

that's why the ttyLin should be an external process to guarantee that it
runs...
then freerouter's side, it opens the lines (interfaces, etc) right after it
parsed the -hw.txt and then it immediately sends out something, including
all the boot defailts so i'm pretty sure it's the best we can do....
let me show you how my freerouter only images boot....
the syslinux commands are here: http://sources.freertr.net/misc/image/boot.cfg
then i use this as init: http://sources.freertr.net/misc/image/init.sys
that's how i bring up udev: http://sources.freertr.net/misc/image/init.dev
and finally the freerouter startup:
http://sources.freertr.net/misc/image/init.jvm


mc36@safe:/data.pub/misc/image$ ./emu-con.sh
SeaBIOS (version 1.15.0-1)


iPXE (http://ipxe.org) 00:03.0 CA00 PCI2.10 PnP PMM+3FF8F470+3FECF470 CA00



Booting from Hard Disk...
Boot failed: could not read the boot disk

Booting from Floppy...
Boot failed: could not read the boot disk

Booting from DVD/CD...

ISOLINUX 6.04 20200816 ETCD Copyright (C) 1994-2015 H. Peter Anvin et a
ISOLINUX 6.04 20200816 Copyright (C) 1994-2015 H. Peter Anvin et al
l
boot:boot:

Loading /rtr.krn...Loading /rtr.krn... ook
k
Loading /rtr.ird..Loading /rtr.ird....ook
k
Probing EDD (edd=off to disable)... ok
[ 0.000000] Linux version 5.17.0-rc8-cloud-amd64
() (gcc-11 (Debian 11.2.)
[ 0.000000] Command line: BOOT_IMAGE=/rtr.krn initrd=/rtr.ird
mitigations=off panic=10 consoleblank=60 8
[ 0.000000] x86/fpu: x87 FPU will use FXSAVE
[ 0.000000] signal: max sigframe size: 1440
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003ffdffff] usable
[ 0.000000] BIOS-e820: [mem 0x000000003ffe0000-0x000000003fffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] SMBIOS 2.8 present.
[ 0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1
04/01/2014
[ 0.000000] Hypervisor detected: KVM
[ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[ 0.000001] kvm-clock: using sched offset of 5988540121 cycles
[ 0.000004] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles:
0x1cd42e4dffb, max_idle_ns: 88s
[ 0.000013] tsc: Detected 2197.454 MHz processor
[ 0.000886] last_pfn = 0x3ffe0 max_arch_pfn = 0x400000000
[ 0.000929] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
[ 0.000959] Kernel/User page tables isolation: disabled on command line.
[ 0.001276] RAMDISK: [mem 0x3d2e4000-0x3ffdffff]
[ 0.001317] ACPI: Early table checksum verification disabled
[ 0.001344] ACPI: RSDP 0x00000000000F59E0 000014 (v00 BOCHS )
[ 0.001354] ACPI: RSDT 0x000000003FFE1905 000034 (v01 BOCHS BXPC
00000001 BXPC 00000001)
[ 0.001371] ACPI: FACP 0x000000003FFE17B9 000074 (v01 BOCHS BXPC
00000001 BXPC 00000001)
[ 0.001378] ACPI: DSDT 0x000000003FFE0040 001779 (v01 BOCHS BXPC
00000001 BXPC 00000001)
[ 0.001383] ACPI: FACS 0x000000003FFE0000 000040
[ 0.001388] ACPI: APIC 0x000000003FFE182D 000078 (v01 BOCHS BXPC
00000001 BXPC 00000001)
[ 0.001392] ACPI: HPET 0x000000003FFE18A5 000038 (v01 BOCHS BXPC
00000001 BXPC 00000001)
[ 0.001397] ACPI: WAET 0x000000003FFE18DD 000028 (v01 BOCHS BXPC
00000001 BXPC 00000001)
[ 0.001401] ACPI: Reserving FACP table memory at [mem
0x3ffe17b9-0x3ffe182c]
[ 0.001403] ACPI: Reserving DSDT table memory at [mem
0x3ffe0040-0x3ffe17b8]
[ 0.001405] ACPI: Reserving FACS table memory at [mem
0x3ffe0000-0x3ffe003f]
[ 0.001406] ACPI: Reserving APIC table memory at [mem
0x3ffe182d-0x3ffe18a4]
[ 0.001408] ACPI: Reserving HPET table memory at [mem
0x3ffe18a5-0x3ffe18dc]
[ 0.001409] ACPI: Reserving WAET table memory at [mem
0x3ffe18dd-0x3ffe1904]
[ 0.001491] No NUMA configuration found
[ 0.001494] Faking a node at [mem 0x0000000000000000-0x000000003ffdffff]
[ 0.001511] NODE_DATA(0) allocated [mem 0x3d2b9000-0x3d2e3fff]
[ 0.001884] Zone ranges:
[ 0.001886] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.001888] DMA32 [mem 0x0000000001000000-0x000000003ffdffff]
[ 0.001891] Normal empty
[ 0.001892] Device empty
[ 0.001894] Movable zone start for each node
[ 0.001898] Early memory node ranges
[ 0.001898] node 0: [mem 0x0000000000001000-0x000000000009efff]
[ 0.001900] node 0: [mem 0x0000000000100000-0x000000003ffdffff]
[ 0.001903] Initmem setup node 0 [mem
0x0000000000001000-0x000000003ffdffff]
[ 0.002429] On node 0, zone DMA: 1 pages in unavailable ranges
[ 0.002471] On node 0, zone DMA: 97 pages in unavailable ranges
[ 0.004038] On node 0, zone DMA32: 32 pages in unavailable ranges
[ 0.004482] ACPI: PM-Timer IO Port: 0x608
[ 0.004500] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[ 0.004549] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[ 0.004553] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.004556] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[ 0.004558] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.004561] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[ 0.004563] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[ 0.004570] ACPI: Using ACPI (MADT) for SMP configuration information
[ 0.004572] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[ 0.004578] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.004634] PM: hibernation: Registered nosave memory: [mem
0x00000000-0x00000fff]
[ 0.004637] PM: hibernation: Registered nosave memory: [mem
0x0009f000-0x0009ffff]
[ 0.004639] PM: hibernation: Registered nosave memory: [mem
0x000a0000-0x000effff]
[ 0.004640] PM: hibernation: Registered nosave memory: [mem
0x000f0000-0x000fffff]
[ 0.004642] [mem 0x40000000-0xfeffbfff] available for PCI devices
[ 0.004643] Booting paravirtualized kernel on KVM
[ 0.004651] clocksource: refined-jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645519s
[ 0.009262] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:1 nr_cpu_ids:1
nr_node_ids:1
[ 0.010023] percpu: Embedded 60 pages/cpu s208896 r8192 d28672 u2097152
[ 0.010070] kvm-guest: PV spinlocks disabled, no host support
[ 0.010078] Fallback order for Node 0: 0
[ 0.010084] Built 1 zonelists, mobility grouping on. Total pages: 257760
[ 0.010086] Policy zone: DMA32
[ 0.010088] Kernel command line: BOOT_IMAGE=/rtr.krn initrd=/rtr.ird
mitigations=off panic=10 consolebl8
[ 0.010164] Unknown kernel command line parameters "nofb nomodeset
BOOT_IMAGE=/rtr.krn", will be passed.
[ 0.010215] Dentry cache hash table entries: 131072 (order: 8, 1048576
bytes, linear)
[ 0.010296] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes,
linear)
[ 0.010347] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.012953] Memory: 260860K/1048056K available (12294K kernel code, 2716K
rwdata, 7788K rodata, 2292K i)
[ 0.012970] random: get_random_u64 called from
__kmem_cache_create+0x2a/0x530 with crng_init=0
[ 0.013132] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.013146] ftrace: allocating 35728 entries in 140 pages
[ 0.023080] ftrace: allocated 140 pages with 3 groups
[ 0.023793] Dynamic Preempt: voluntary
[ 0.023822] rcu: Preemptible hierarchical RCU implementation.
[ 0.023824] rcu: RCU restricting CPUs from NR_CPUS=8192 to
nr_cpu_ids=1.
[ 0.023826] Trampoline variant of Tasks RCU enabled.
[ 0.023827] Rude variant of Tasks RCU enabled.
[ 0.023828] Tracing variant of Tasks RCU enabled.
[ 0.023829] rcu: RCU calculated value of scheduler-enlistment delay is 25
jiffies.
[ 0.023830] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.028060] NR_IRQS: 524544, nr_irqs: 256, preallocated irqs: 16
[ 0.035900] Console: colour VGA+ 80x25
[ 0.148156] printk: console [ttyS0] enabled
[ 0.148909] ACPI: Core revision 20211217
[ 0.149791] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 19112604467 ns
[ 0.151497] APIC: Switch to symmetric I/O mode setup
[ 0.152656] x2apic enabled
[ 0.153461] Switched APIC routing to physical x2apic.
[ 0.155671] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.156740] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles:
0x1faccdc500e, max_idle_ns: 44s
[ 0.158559] Calibrating delay loop (skipped) preset value.. 4394.90
BogoMIPS (lpj=8789816)
[ 0.162556] pid_max: default: 32768 minimum: 301
[ 0.163391] LSM: Security Framework initializing
[ 0.164218] Yama: disabled by default; enable with sysctl kernel.yama.*
[ 0.165387] AppArmor: AppArmor initialized
[ 0.166557] TOMOYO Linux initialized
[ 0.167197] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes,
linear)
[ 0.168495] Mountpoint-cache hash table entries: 2048 (order: 2, 16384
bytes, linear)
[ 0.170146] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.170557] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[ 0.171587] Speculative Store Bypass: Vulnerable
[ 0.180421] Freeing SMP alternatives memory: 36K
[ 0.289396] smpboot: CPU0: Intel QEMU Virtual CPU version 2.5+ (family:
0xf, model: 0x6b, stepping: 0x1)
[ 0.290553] cblist_init_generic: Setting adjustable number of callback
queues.
[ 0.290553] cblist_init_generic: Setting shift to 0 and lim to 1.
[ 0.290578] cblist_init_generic: Setting shift to 0 and lim to 1.
[ 0.291659] cblist_init_generic: Setting shift to 0 and lim to 1.
[ 0.292746] Performance Events: unsupported Netburst CPU model 107 no PMU
driver, software events only.
[ 0.294573] rcu: Hierarchical SRCU implementation.
[ 0.295760] NMI watchdog: Perf NMI watchdog permanently disabled
[ 0.296879] smp: Bringing up secondary CPUs ...
[ 0.297681] smp: Brought up 1 node, 1 CPU
[ 0.298373] smpboot: Max logical packages: 1
[ 0.298558] smpboot: Total of 1 processors activated (4394.90 BogoMIPS)
[ 0.305715] node 0 deferred pages initialised in 4ms
[ 0.306696] devtmpfs: initialized
[ 0.307324] x86/mm: Memory block size: 128MB
[ 0.308307] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 764504178510000s
[ 0.309999] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.310740] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.311865] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic
allocations
[ 0.313170] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic
allocations
[ 0.314586] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic
allocations
[ 0.315955] audit: initializing netlink subsys (disabled)
[ 0.316992] thermal_sys: Registered thermal governor 'fair_share'
[ 0.316994] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.318560] thermal_sys: Registered thermal governor 'step_wise'
[ 0.319595] thermal_sys: Registered thermal governor 'user_space'
[ 0.320626] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.321691] audit: type=2000 audit(1647435208.637:1): state=initialized
audit_enabled=0 res=1
[ 0.324014] cpuidle: using governor ladder
[ 0.324724] cpuidle: using governor menu
[ 0.325466] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.326659] PCI: Using configuration type 1 for base access
[ 0.328450] kprobes: kprobe jump-optimization is enabled. All kprobes are
optimized if possible.
[ 0.330072] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.330779] ACPI: Added _OSI(Module Device)
[ 0.331520] ACPI: Added _OSI(Processor Device)
[ 0.332297] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.333137] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.334564] ACPI: Added _OSI(Linux-Dell-Video)
[ 0.335335] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 0.336250] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[ 0.337701] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 0.339736] ACPI: Interpreter enabled
[ 0.340400] ACPI: PM: (supports S0 S3 S4 S5)
[ 0.341144] ACPI: Using IOAPIC for interrupt routing
[ 0.342567] PCI: Using host bridge windows from ACPI; if necessary, use
"pci=nocrs" and report a bug
[ 0.344220] ACPI: Enabled 2 GPEs in block 00 to 0F
[ 0.347307] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 0.348388] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI
HPX-Type3]
[ 0.349719] acpi PNP0A03:00: _OSC: not requesting OS control; OS requires
[ExtendedConfig ASPM ClockPM ]
[ 0.350565] acpi PNP0A03:00: fail to add MMCONFIG information, can't
access extended PCI configuration .
[ 0.352785] acpiphp: Slot [3] registered
[ 0.353500] acpiphp: Slot [4] registered
[ 0.354573] acpiphp: Slot [5] registered
[ 0.355277] acpiphp: Slot [6] registered
[ 0.355977] acpiphp: Slot [7] registered
[ 0.356677] acpiphp: Slot [8] registered
[ 0.357390] acpiphp: Slot [9] registered
[ 0.358564] acpiphp: Slot [10] registered
[ 0.359284] acpiphp: Slot [11] registered
[ 0.359992] acpiphp: Slot [12] registered
[ 0.360705] acpiphp: Slot [13] registered
[ 0.361415] acpiphp: Slot [14] registered
[ 0.362127] acpiphp: Slot [15] registered
[ 0.362572] acpiphp: Slot [16] registered
[ 0.363279] acpiphp: Slot [17] registered
[ 0.363987] acpiphp: Slot [18] registered
[ 0.364695] acpiphp: Slot [19] registered
[ 0.365410] acpiphp: Slot [20] registered
[ 0.366123] acpiphp: Slot [21] registered
[ 0.366572] acpiphp: Slot [22] registered
[ 0.367280] acpiphp: Slot [23] registered
[ 0.367987] acpiphp: Slot [24] registered
[ 0.368695] acpiphp: Slot [25] registered
[ 0.369415] acpiphp: Slot [26] registered
[ 0.370573] acpiphp: Slot [27] registered
[ 0.371292] acpiphp: Slot [28] registered
[ 0.372004] acpiphp: Slot [29] registered
[ 0.372711] acpiphp: Slot [30] registered
[ 0.373422] acpiphp: Slot [31] registered
[ 0.374137] PCI host bridge to bus 0000:00
[ 0.374556] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
[ 0.375726] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
[ 0.376904] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff
window]
[ 0.378555] pci_bus 0000:00: root bus resource [mem 0x40000000-0xfebfffff
window]
[ 0.379839] pci_bus 0000:00: root bus resource [mem
0x100000000-0x17fffffff window]
[ 0.381156] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.382153] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000
[ 0.383353] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100
[ 0.385041] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180
[ 0.389196] pci 0000:00:01.1: reg 0x20: [io 0xc020-0xc02f]
[ 0.391573] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io
0x01f0-0x01f7]
[ 0.392803] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
[ 0.393952] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io
0x0170-0x0177]
[ 0.394556] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
[ 0.395826] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000
[ 0.397357] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by PIIX4
ACPI
[ 0.398565] pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by PIIX4
SMB
[ 0.400005] pci 0000:00:02.0: [1234:1111] type 00 class 0x030000
[ 0.402979] pci 0000:00:02.0: reg 0x10: [mem 0xfd000000-0xfdffffff pref]
[ 0.406200] pci 0000:00:02.0: reg 0x18: [mem 0xfebd0000-0xfebd0fff]
[ 0.412915] pci 0000:00:02.0: reg 0x30: [mem 0xfebc0000-0xfebcffff pref]
[ 0.414231] pci 0000:00:02.0: Video device with shadowed ROM at [mem
0x000c0000-0x000dffff]
[ 0.415362] pci 0000:00:03.0: [1af4:1000] type 00 class 0x020000
[ 0.418556] pci 0000:00:03.0: reg 0x10: [io 0xc000-0xc01f]
[ 0.420450] pci 0000:00:03.0: reg 0x14: [mem 0xfebd1000-0xfebd1fff]
[ 0.424620] pci 0000:00:03.0: reg 0x20: [mem 0xfe000000-0xfe003fff 64bit
pref]
[ 0.426556] pci 0000:00:03.0: reg 0x30: [mem 0xfeb80000-0xfebbffff pref]
[ 0.429106] ACPI: PCI: Interrupt link LNKA configured for IRQ 10
[ 0.430274] ACPI: PCI: Interrupt link LNKB configured for IRQ 10
[ 0.430667] ACPI: PCI: Interrupt link LNKC configured for IRQ 11
[ 0.431810] ACPI: PCI: Interrupt link LNKD configured for IRQ 11
[ 0.433509] ACPI: PCI: Interrupt link LNKS configured for IRQ 9
[ 0.434777] iommu: Default domain type: Translated
[ 0.435629] iommu: DMA domain TLB invalidation policy: lazy mode
[ 0.436790] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[ 0.437826] pci 0000:00:02.0: vgaarb: VGA device added:
decodes=io+mem,owns=io+mem,locks=none
[ 0.438556] pci 0000:00:02.0: vgaarb: bridge control possible
[ 0.439541] vgaarb: loaded
[ 0.440403] NetLabel: Initializing
[ 0.442556] NetLabel: domain hash size = 128
[ 0.443309] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.444312] NetLabel: unlabeled traffic allowed by default
[ 0.445338] PCI: Using ACPI for IRQ routing
[ 0.446254] hpet: 3 channels of 0 reserved for per-cpu timers
[ 0.446569] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[ 0.447412] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
[ 0.451633] clocksource: Switched to clocksource kvm-clock
[ 0.458922] VFS: Disk quotas dquot_6.6.0
[ 0.459627] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.460933] AppArmor: AppArmor Filesystem Enabled
[ 0.461751] pnp: PnP ACPI init
[ 0.466667] pnp: PnP ACPI: found 6 devices
[ 0.472811] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff,
max_idle_ns: 2085701024 ns
[ 0.474418] NET: Registered PF_INET protocol family
[ 0.475360] IP idents hash table entries: 16384 (order: 5, 131072 bytes,
linear)
[ 0.477671] tcp_listen_portaddr_hash hash table entries: 512 (order: 1,
8192 bytes, linear)
[ 0.479164] TCP established hash table entries: 8192 (order: 4, 65536
bytes, linear)
[ 0.480555] TCP bind hash table entries: 8192 (order: 5, 131072 bytes,
linear)
[ 0.481823] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.483016] MPTCP token hash table entries: 1024 (order: 2, 24576 bytes,
linear)
[ 0.484312] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.485449] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes,
linear)
[ 0.486714] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.487721] NET: Registered PF_XDP protocol family
[ 0.488560] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window]
[ 0.489618] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window]
[ 0.490684] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[ 0.491876] pci_bus 0000:00: resource 7 [mem 0x40000000-0xfebfffff window]
[ 0.493051] pci_bus 0000:00: resource 8 [mem 0x100000000-0x17fffffff
window]
[ 0.494291] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 0.495298] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 0.496329] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 0.497422] PCI: CLS 0 bytes, default 64
[ 0.498174] Trying to unpack rootfs image as initramfs...
[ 0.502691] clocksource: tsc: mask: 0xffffffffffffffff max_cycles:
0x1faccdc500e, max_idle_ns: 44079528s
[ 0.506875] Initialise system trusted keyrings
[ 0.507685] Key type blacklist registered
[ 0.510598] workingset: timestamp_bits=36 max_order=18 bucket_order=0
[ 0.513218] Key type asymmetric registered
[ 0.513941] Asymmetric key parser 'x509' registered
[ 1.304410] Freeing initrd memory: 46064K
[ 1.310065] alg: self-tests for CTR-KDF (hmac(sha256)) passed
[ 1.311151] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 252)
[ 1.312491] io scheduler mq-deadline registered
[ 1.314288] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 1.315598] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a
16550A
[ 1.317514] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at
0x60,0x64 irq 1,12
[ 1.319731] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 1.320604] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 1.321825] input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/input0
[ 1.323601] rtc_cmos 00:05: RTC can wake from S4
[ 1.324963] rtc_cmos 00:05: registered as rtc0
[ 1.325800] rtc_cmos 00:05: setting system clock to 2022-03-16T12:53:29
UTC (1647435209)
[ 1.327193] rtc_cmos 00:05: alarms up to one day, y3k, 242 bytes nvram,
hpet irqs
[ 1.328502] intel_pstate: CPU model not supported
[ 1.329322] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.330605] NET: Registered PF_INET6 protocol family
[ 1.335209] Segment Routing with IPv6
[ 1.335889] In-situ OAM (IOAM) with IPv6
[ 1.336599] mip6: Mobile IPv6
[ 1.337121] NET: Registered PF_PACKET protocol family
[ 1.338079] IPI shorthand broadcast: enabled
[ 1.338864] sched_clock: Marking stable (1212509988,
126323117)->(1340458356, -1625251)
[ 1.340457] registered taskstats version 1
[ 1.341183] Loading compiled-in X.509 certificates
[ 1.413285] Loaded X.509 cert 'Debian Secure Boot CA:
6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[ 1.414868] Loaded X.509 cert 'Debian Secure Boot Signer 2021 - linux:
4b6ef5abca669825178e052c84667ccb'
[ 1.416738] Key type ._fscrypt registered
[ 1.417451] Key type .fscrypt registered
[ 1.418141] Key type fscrypt-provisioning registered
[ 1.421999] Key type encrypted registered
[ 1.422734] AppArmor: AppArmor sha1 policy hashing enabled
[ 1.539925] Freeing unused decrypted memory: 2036K
[ 1.541901] Freeing unused kernel image (initmem) memory: 2292K
[ 1.554596] Write protecting the kernel read-only data: 22528k
[ 1.558023] Freeing unused kernel image (text/rodata gap) memory: 2040K
[ 1.560014] Freeing unused kernel image (rodata/data gap) memory: 404K
[ 1.562650] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 1.564425] Run /init as init process
starting
mknod: /dev/pts/ptmx: File exists
mknod: /dev/ptmx: File exists
Starting version 250.4-1
[ 1.849965] input: Power Button as
/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[ 1.867827] ACPI: button: Power Button [PWRF]
[ 1.900875] SCSI subsystem initialized
[ 1.927443] ACPI: \_SB_.LNKC: Enabled at IRQ 11
[ 1.929510] scsi host0: ata_piix
[ 1.937611] scsi host1: ata_piix
[ 1.938239] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc020 irq 14
[ 1.939442] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc028 irq 15
[ 2.099158] ata2: found unknown device (class 0)
[ 2.101515] ata2.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100
[ 2.104577] scsi 1:0:0:0: CD-ROM QEMU QEMU DVD-ROM 2.5+
PQ: 0 ANSI: 5
[ 2.112983] virtio_net virtio0 ens3: renamed from eth0
[ 2.114188] scsi 1:0:0:0: Attached scsi generic sg0 type 5
[ 2.119653] sr 1:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray
[ 2.120847] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 2.324913] tun: Universal TUN/TAP device driver, 1.6
% detecting hardware
[ 2.818733] random: fast init done
% iface=1 macs=1 line=1 cross=0 tuntap=1 mem=384m
error cfgInit.stopRouter:cfgInit.java:1039 shutdown code=1 reason=finished
ip: RTNETLINK answers: File exists
ip: RTNETLINK answers: File exists
starting macs.
starting interfaces.
[ 3.479823] device ens3 entered promiscuous mode
Could not change any device features
netlink error: Operation not supported
starting lines.
starting main.


####### ##################
## ## ##
## # ## ### ##### ##### ## ### ## ## ###
## # ### ## ## ## ## ## ### ## ## ### ##
#### ## ## ####### ####### ## ## ## ## ##
## # ## ## ## ## ## ##
## ## ## ## ## ## ## ## ##
#### ## ##### ##### ## ## ##

freeRouter v22.3.16-cur, done by cs@nop.

place on the web: http://www.freertr.net/
license: http://creativecommons.org/licenses/by-sa/4.0/
quote1: make the world better
quote2: if a machine can learn the value of human life, maybe we can too
quote3: be liberal in what you accept, and conservative in what you send
quote4: the beer-ware license for selected group of people:
cs@nop wrote these files. as long as you retain this notice you
can do whatever you want with this stuff. if we meet some day, and
you think this stuff is worth it, you can buy me a beer in return

info cfgInit.doInit:cfgInit.java:907 applying defaults
info cfgPrcss.doRound:cfgPrcss.java:443 restarting process ifc1.sh
info cfgPrcss.doRound:cfgPrcss.java:443 restarting process tap20001.sh
info cfgInit.doInit:cfgInit.java:928 applying configuration
info cfgInit.doInit:cfgInit.java:958 boot completed
welcome
line ready
yourname#
yourname#
yourname#exit
see you later


after the "boot completed", i pressed an enter and i got the prompt....
(here, it prints the banner too, if configured one, obviously...)
so the whole look&feel is much like we expect from a router... :)
and all this happened over th qemu's serial port....
(and the cpe i handled over to kifu for testing also does the same...)

in your case, the console=ttyS0 would not be a good idea because
that would spin up login on tty0 finally, but the rest, imho it is....


and finally, something is not good with the NOP-MCHOME profile,
i get empty capability and the mpls is missing from the pipe:

Right. The profile should have been spelled with a "_",
i.e. NOP_MCHOME. With the hyphen, the builder generated the wrong
preprocessor symbol PROFILE_NOP-MCHOME and so the profile was never
actually activated. This is fixed in
https://bitbucket.software.geant.org/projects/RARE/repos/rare-nix/commits/17c5662c40798cf0aef08a3449928a80ef53a0c5

confirming that it works, thanks!

regards,
cs



Archive powered by MHonArc 2.6.19.

Top of Page