[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian on mac68k



Hi Adrian,

On Mon, May 30, 2016 at 8:26 AM, John Paul Adrian Glaubitz
<glaubitz@physik.fu-berlin.de> wrote:
> On 05/30/2016 03:05 AM, Finn Thain wrote:
>> Without ADB, you will need a network login service (e.g. sshd) and/or
>> serial console. The getty on /dev/ttyS0 or /dev/ttyS1 used to be
>> configured in /etc/inittab, but I never tried that with systemd.
>
> Just pass "console=ttyS0,19200,8n1" on the console and you're set.
>
> There is no special requirement to get the serial console work with
> systemd, it's just configured as read-only by default, e.g. you
> just get the boot messages. But just passing the above parameters
> will spawn a login shell on ttyS0.

Ah, so you may also know the solutions for my issues below, from a
Google+ post a while ago?

Thanks ;-)

-----8<--------------------------------------------------
So far I tried to stay out of the systemd discussion...

While dist-upgrading my debian-armhf/jessie NFS roots, systemd was
installed on one of them, breaking the next boot of the affected board
:-( Interestingly (or rather: fortunately), only one of them got
systemd, the others are still alive and kicking with sysvinit-core.

Failure 1:
systemd[1]: Failed to mount tmpfs at /sys/fs/cgroup: No such file or directory

Ah, let's enable CONFIG_CGROUPS in the kernel.

Failure 2:
A start job is running for dev-ttySC4.device
Timed out waiting for device dev-ttySC4.device

Bye bye serial console :-(

Seems this needs CONFIG_FHANDLE.

Failure 3:
Hey... I seem to have a working system again? Is this too good to be true?

Yes it is:
3.1. Autologin on a serial console is no more. I tried to enable it,
but couldn't get it to work (the agetty is started automatically,
based on the kernel's console, without the help of any config file in
/etc/systemd),
3.2. "stty rows N" doesn't seem to have any effect on my serial console anymore?
3.3. My root filesystem stays mounted read-only.

Fortunately sysvinit-core is only an apt-get install away...
-----8<--------------------------------------------------

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


Reply to: