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: Alexander Gall <>
  • To: <>
  • Cc: "" <>
  • Subject: Re: [rare-dev] new builds from you?
  • Date: Wed, 16 Mar 2022 13:37:43 +0100

Hi

On Wed, 16 Mar 2022 10:54:38 +0100, mc36 <> said:

> On 3/16/22 08:56, Alexander Gall wrote:
>> On Tue, 15 Mar 2022 19:18:21 +0100, mc36 <> said:
>>
>>> hi,
>>> during the vc, i had the good surprise that carmen had a fresh build...
>>> i looked at the original place
>>> (http://hydra.nix.net.switch.ch/RARE/releases/)
>>> but did not found anything new... where can we grab it?
>>
>> I didn't create a new release yet. But you can always install the
>> latest build on an existing system with
>>
>> # 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.

> 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".

> 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.

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.

> 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?

> 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

--
Alex



Archive powered by MHonArc 2.6.19.

Top of Page