Skip to content

mxgrub: Tell Linux to log to serial console #10

Merged
merged 1 commit into from Jun 21, 2017

Conversation

pmenzel
Copy link
Contributor

@pmenzel pmenzel commented Jun 21, 2017

No description provided.

To debug Linux kernel double crashes for the MXQ servers, they are now
connected over serial console.

As the Dell firmware, and GRUB use BIOS calls to print messages, these
are already transmitted over serial console thanks to some Dell BIOS
magic.

But, luckily, the Linux kernel doesn’t do that. So Linux has to be told
to write messages to the serial console.

Omitting the `console=tty0` would cause no Linux messages to be printed
to the VGA connection, which we use for the KVMs, so add that too.
@donald donald merged commit 4271a6e into master Jun 21, 2017
@donald donald deleted the mxgrub-tell-linux-to-log-to-serial-console branch March 14, 2018 09:36
donald added a commit that referenced this pull request Jan 16, 2023
Import scripts, which live in projects with user access and are called
from the crontab of root, into repository and update install.sh.

The scripts are installed into /usr/libexec/cron/ with a name prefixed
with "prj_PROJECT_".

* afk.molgen.mpg.de 33 7,9,11,13,15,17,19 * * * /usr/local/bin/cronwrap -m wwwutz /project/it/cron/cleanperm.sh

  --> prj_it_cleanperm.sh

* chimichangas.molgen.mpg.de */5 4-23 * * * /project/FlowCytometryLab/home/sbin/fix-users.pl >/dev/null 2>&1

  --> prj_FlowCytometryLab_fix-users.pl

* doenertier.molgen.mpg.de 10 23 * * * /usr/local/bin/cronwrap -m buczek /project/ag_schulz_images/.sbin/purge_trash.sh

  --> prj_ag_schulz_images_purge_trash.sh

* doenertier.molgen.mpg.de 10 23 * * * /usr/local/bin/cronwrap -m buczek /project/ag_schulz/.sbin/purge_trash.sh

  --> prj_ag_schulz_purge_trash.sh

* furoncles.molgen.mpg.de 30 21 * * * /usr/local/bin/cronwrap -m buczek /project/meissner_external_fastq/.sbin/autoarchive.pl

  --> prj_meissner_external_fastq_autoarchive.pl

* mercwithamouth.molgen.mpg.de 30 4 * * * /usr/local/bin/cronwrap -m buczek,giesselmann /project/minion/sbin/archiver.pl

  --> prj_minion_archiver.pl

* plage.molgen.mpg.de 10 23 * * * /usr/local/bin/cronwrap -m buczek /project/agsgpa/.sbin/purge_trash.sh

  --> prj_agsgpa_purge_trash.sh

* runnynose.molgen.mpg.de 15 23 * * 6 /usr/local/bin/cronwrap -m buczek,klages -v /project/solexawork/sbin/purge_solexawork_cron

  --> prj_solexawork_purge_solexawork_cron
  --> prj_solexawork_purge_solexawork

* snugglebites.molgen.mpg.de 10 23 * * * /usr/local/bin/cronwrap -m buczek /project/owlmayerUnpublishedData/.sbin/purge_trash.sh

  --> prj_owlmayerUnpublishedData_purge_trash.sh

* snugglebites.molgen.mpg.de 30 05 * * * /usr/local/bin/cronwrap -m buczek,bressin /project/owlmayerUnpublishedData/.sbin/archiver.pl

  --> prj_owlmayerUnpublishedData_archiver.pl

* snugglebites.molgen.mpg.de 33 7,9,11,13,15,17,19 * * * /usr/local/bin/cronwrap -m wwwutz /project/communication/home/cron/cleanperm.sh

  --> prj_communication_cleanperm.sh

* tinytina.molgen.mpg.de #10 23 * * * /usr/local/bin/cronwrap -m buczek /project/agsgpa/.sbin/purge_trash.sh

  --> prj_agsgpa_purge_trash.sh

Notes:

prj_solexawork_purge_solexawork_cron calls another script, which is also
imported. prj_solexawork_purge_solexawork_cron has been modified to call
the imported script from /usr/libexec/cron/.

Scripts in packages and projects that we regards as secure
(/project/admin , /project/mx , /package/ldap etc.) are not imported.

The crontabs need to be updated to refer to installed scripts instead to
those in the projects. The scripts in the projects should be deleted to
avoid confusion.
donald added a commit that referenced this pull request Jan 16, 2023
Import scripts, which live in projects with user access and are called
from the crontab of root, into repository and update install.sh.

The scripts are installed into /usr/libexec/cron/ with a name prefixed
with "prj_PROJECT_".

* afk.molgen.mpg.de 33 7,9,11,13,15,17,19 * * * /usr/local/bin/cronwrap -m wwwutz /project/it/cron/cleanperm.sh

  --> prj_it_cleanperm.sh

* chimichangas.molgen.mpg.de */5 4-23 * * * /project/FlowCytometryLab/home/sbin/fix-users.pl >/dev/null 2>&1

  --> prj_FlowCytometryLab_fix-users.pl

* doenertier.molgen.mpg.de 10 23 * * * /usr/local/bin/cronwrap -m buczek /project/ag_schulz_images/.sbin/purge_trash.sh

  --> prj_ag_schulz_images_purge_trash.sh

* doenertier.molgen.mpg.de 10 23 * * * /usr/local/bin/cronwrap -m buczek /project/ag_schulz/.sbin/purge_trash.sh

  --> prj_ag_schulz_purge_trash.sh

* furoncles.molgen.mpg.de 30 21 * * * /usr/local/bin/cronwrap -m buczek /project/meissner_external_fastq/.sbin/autoarchive.pl

  --> prj_meissner_external_fastq_autoarchive.pl

* mercwithamouth.molgen.mpg.de 30 4 * * * /usr/local/bin/cronwrap -m buczek,giesselmann /project/minion/sbin/archiver.pl

  --> prj_minion_archiver.pl

* plage.molgen.mpg.de 10 23 * * * /usr/local/bin/cronwrap -m buczek /project/agsgpa/.sbin/purge_trash.sh

  --> prj_agsgpa_purge_trash.sh

* runnynose.molgen.mpg.de 15 23 * * 6 /usr/local/bin/cronwrap -m buczek,klages -v /project/solexawork/sbin/purge_solexawork_cron

  --> prj_solexawork_purge_solexawork_cron
  --> prj_solexawork_purge_solexawork

* snugglebites.molgen.mpg.de 10 23 * * * /usr/local/bin/cronwrap -m buczek /project/owlmayerUnpublishedData/.sbin/purge_trash.sh

  --> prj_owlmayerUnpublishedData_purge_trash.sh

* snugglebites.molgen.mpg.de 30 05 * * * /usr/local/bin/cronwrap -m buczek,bressin /project/owlmayerUnpublishedData/.sbin/archiver.pl

  --> prj_owlmayerUnpublishedData_archiver.pl

* snugglebites.molgen.mpg.de 33 7,9,11,13,15,17,19 * * * /usr/local/bin/cronwrap -m wwwutz /project/communication/home/cron/cleanperm.sh

  --> prj_communication_cleanperm.sh

* tinytina.molgen.mpg.de #10 23 * * * /usr/local/bin/cronwrap -m buczek /project/agsgpa/.sbin/purge_trash.sh

  --> prj_agsgpa_purge_trash.sh

Notes:

prj_solexawork_purge_solexawork_cron calls another script, which is also
imported. prj_solexawork_purge_solexawork_cron has been modified to call
the imported script from /usr/libexec/cron/.

Scripts in packages and projects that we regard as secure
(/project/admin , /project/mx , /package/ldap etc.) are not imported.

The crontabs need to be updated to refer to installed scripts instead to
those in the projects. The scripts in the projects should be deleted to
avoid confusion.
donald added a commit that referenced this pull request Jul 3, 2023
Import files from b51f29e5 ("Merge pull request #10 from
mariux64/fix-su-option") of github.molgen.mpg.de:mariux64/mxstartup.git
into repository.

It is just cumbersome to have these n a seperate repository with
releases and bee installation.

The mxstartup bee package should be deinstalled if this is merged.
donald added a commit that referenced this pull request Jul 4, 2023
Import files from b51f29e5 ("Merge pull request #10 from
mariux64/fix-su-option") of github.molgen.mpg.de:mariux64/mxstartup.git
into repository.

It is just cumbersome to have these n a seperate repository with
releases and bee installation.

The mxstartup bee package should be deinstalled if this is merged.
donald added a commit that referenced this pull request Jul 4, 2023
Import files from b51f29e5 ("Merge pull request #10 from
mariux64/fix-su-option") of github.molgen.mpg.de:mariux64/mxstartup.git
into repository.

It is just cumbersome to have these n a seperate repository with
releases and bee installation.

The mxstartup bee package should be deinstalled if this is merged.
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants