ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Paul Wolneykien <manowar@altlinux.org>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] Sisyphus on ARM OMAP3 BlueShark
Date: Wed, 18 Jan 2012 16:59:25 +0400
Message-ID: <4F16C22D.3020200@altlinux.org> (raw)
In-Reply-To: <CANM4Ruiq=PFbuxJfDc1zzn_kzxQ5-b=k3Rsvezr=Xbb3eRG6LQ@mail.gmail.com>

18.01.2012 16:52, Eugene Prokopiev пишет:
>>> Патч на что?
>>
>>  На ядро:
>>
>> http://git.altlinux.org/people/manowar/packages/kernel-image.git?p=kernel-image.git;a=commit;h=ebd143e6958ffdd652fbb2137c6364e576a46d3f
>>
>> http://git.altlinux.org/people/manowar/packages/kernel-image.git?p=kernel-image.git;a=commit;h=219e999d09e2c1b98719fe186feef8788da8dae3
> 
> Ясно, спасибо
> 
> А расскажите, каким образом этот репозитарий получен? Что вы
> клонировали перед тем, как накладывать необходимые вам патчи?

  Ну я же писал в одном из первых ответов по этой теме. Ветка longterm
взята с kernel.org. А на неё положены исходники ядра DP, в результате
чего получилась ветка dreamplug. Она тоже немного пропатчена, в том
числе, по поводу accept4().

> 
>>>>> Надо сказать, что я подключаюсь к плате с помощью mini-USB-провода и
>>>>> minicom. В оригинальной системе я получаю приглашение, логинюсь и с
>>>>> помощь who вижу, что я подключился через ttyS2. В местном inittab
>>>>> написано:
>>>>>
>>>>> S:2345:respawn:/sbin/getty 115200 ttyS2
>>>>>
>>>>> Я подумал было, что именно этого мне и не хватает, но после добавления
>>>>> аналогичной строчки (разве что getty на mingetty заменил) получаю
>>>>> всего лишь:
>>>>>
>>>>> INIT: Id "S" respawning too fast: disabled for 5 minutes
>>>>>
>>>>> rc.local при этом вполне отрабатывает, но работать без консоли,
>>>>> перетыкая SD-карточку для изучения результатов, довольно неудобно ;)
>>>>> Как бы мне все же получить консоль?
>>>>
>>>>  Так может быть консоль только одна (ttyS0 или ttyS1)?
>>>
>>> А есть способ узнать, на какую консоль шел вывод?
>>
>> Так вроде бы вы правы -- это ttyS2. Узнать номер консоли можно из
>> параметров ядра, которые предаёт U-Boot при загрузке (Команда `printenv`
>> в U-Boot). Имя параметра ядра -- "console", например, "console=ttyS2".
>> Если ничего такого не указано, то возможно, что консоли и не будет.
> 
> указано console=ttyS2,115200n8
> 
>> Кстати, а видно через minicom? Процесс загрузки виден?
> 
> разумеется, об этом и речь:
> 
> ...
> [   20.997680] devtmpfs: mounted
> [   21.000793] Freeing init memory: 180K
> INIT: version 2.88 booting
> Welcome to ALT Linux
> Press 'I' to enter interactive startup
> Mounting proc filesystem: [ DONE ]
> Mounting sys filesystem: [ DONE ]
> Setting system clock (utc): Cannot access the Hardware Clock via any
> known method.
> Use the --debug option to see the details of our search for an access method.
> [FAILED]
> Today's date: Thu Jan  1 00:00:04 UTC 1970 [ DONE ]
> Activating swap partitions: [ DONE ]
> Setting hostname localhost.localdomain: [ DONE ]
> Remounting root filesystem in read/write mode: [ DONE ]
> Finding module dependencies: [ DONE ]
> Configuring kernel parameters: [ DONE ]
> Creating device-mapper character device (10, 59): [ DONE ]
> Checking filesystems
> Checking all file systems.
> rootfs: nonexistent device ("nofail" fstab option may be used to skip
> this device)
> [ DONE ]
> Mounting local filesystems: mount: mount point /dev/pts does not exist
> mount: mount point /var/volatile does not exist
> mount: mount point /dev/shm does not exist
> mount: mount point /media/ram does not exist
> [FAILED]
> Checking loopback filesystems: Checking all file systems.
> rootfs: nonexistent device ("nofail" fstab option may be used to skip
> this device)
> [ DONE ]
> Mounting loopback filesystems: [ DONE ]
> Cleaning up temporary files from previous boot: [ DONE ]
> Activating swap space: [ DONE ]
> Updating chrooted environments: [ DONE ]
> INIT: Entering runlevel: 3
> Entering non-interactive startup
> Starting network: [ DONE ]
> Initializing random number generator: [ DONE ]
> Starting system logger service: [ DONE ]
> Starting kernel logger service: [ DONE ]
> Starting fbsetfont: [ DONE ]
> Starting keytable: [ DONE ]
> Starting crond service: [ DONE ]
> Starting sshd service: [ DONE ]
> INIT: Id "S0" respawning too fast: disabled for 5 minutes
> INIT: Id "S1" respawning too fast: disabled for 5 minutes
> INIT: Id "S2" respawning too fast: disabled for 5 minutes
> 
> Обидно еще то, что ethernet отсутствует, иначе б я уже как-нибудь выкрутился ;)

  А, ну всё же просто! :) «respawning too fast» — значит падает всё
время. Кажется, нужен другой getty, кажется — agetty. Проверьте на одном
из рабочих образов «Кольчуги» (с вашем ядром, возможно что номер порта
tty нужно будет подправить в самом образе):

ftp://devel.altlinux.org/manowar/

ftp://devel.altlinux.org/manowar/chainmail-arm.arm.20110623.tar.gz

> 



      reply	other threads:[~2012-01-18 12:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-17 10:39 Eugene Prokopiev
2012-01-17 12:27 ` Paul Wolneykien
2012-01-17 12:49   ` Eugene Prokopiev
2012-01-17 12:57     ` Paul Wolneykien
2012-01-17 12:59       ` Eugene Prokopiev
2012-01-18 11:59       ` Eugene Prokopiev
2012-01-18 12:02         ` Paul Wolneykien
2012-01-18 12:18           ` Eugene Prokopiev
2012-01-18 12:24             ` Eugene Prokopiev
2012-01-18 12:42             ` Paul Wolneykien
2012-01-18 12:52               ` Eugene Prokopiev
2012-01-18 12:59                 ` Paul Wolneykien [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F16C22D.3020200@altlinux.org \
    --to=manowar@altlinux.org \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git