ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: Alex Yustasov <yust@anti-leasure.ru>
To: devel-kernel@altlinux.ru
Subject: [d-kernel] Как правильно добавить DSDT в initrd?
Date: Thu, 10 Feb 2005 11:52:07 +0200
Message-ID: <20050210095207.GA8922@yust.work> (raw)

Здравствуйте.
Попробовал добавить поправленную DSDT в initrd.
Делал так

echo "INITRDDSDT123DSDT123" >> /boot/initrd...
cat DSDT.aml >> /boot/initrd...
echo "INITRDDSDT321DSDT321" >> /boot/initrd...

kernel: ACPI: Looking for DSDT in initrd... found (at offset 224694)!                                         
kernel:  not found!                                                                                           

По указанному адресу стоит 0x0A, а дальше DSDT. В osl.c хочет сразу
DSDT.

Сделал по другому
echo "INITRDDSDT123DSDT123"`cat DSDT.aml`"INITRDDSDT321DSDT321" >> /boot/initrd...

kernel: ACPI: Looking for DSDT in initrd... found (at offset 224695)!
kernel:  found customized DSDT with 16587 bytes!
kernel: ACPI: Using customized DSDT
kernel:    tbget-0342: *** Error: ut_allocate: Could not allocate size 72013E6E
kernel:    tbget-0345: *** Error: Could not allocate table memory for [DSDT] length 72013E46
kernel:    tbget-0287: *** Error: Could not copy override ACPI table, AE_NO_MEMORY
kernel:  tbxface-0118 [02] acpi_load_tables      : ACPI Tables successfully acquired

Размер DSDT.aml 15942.

Взял новый acpica-unix-20041203. Размер DSDT.aml стал 15949.
kernel: ACPI: Looking for DSDT in initrd... found (at offset 224694)!
kernel:  found customized DSDT with 14669 bytes!
kernel: ACPI: Using customized DSDT
kernel:    tbget-0342: *** Error: ut_allocate: Could not allocate size A3013E75
kernel:    tbget-0345: *** Error: Could not allocate table memory for [DSDT] length A3013E4D
kernel:    tbget-0287: *** Error: Could not copy override ACPI table, AE_NO_MEMORY
kernel:  tbxface-0118 [02] acpi_load_tables      : ACPI Tables successfully acquired
kernel: Parsing all Control Methods:.............................................................................................................................................
kernel: Table [DSDT](id F004) - 546 Objects with 54 Devices 141 Methods 23 Regions
kernel: ACPI Namespace successfully loaded at root c03e0c60

В /proc/acpi/dsdt оказывается старая dsdt.

Как правильно добавить DSDT в initrd?


             reply	other threads:[~2005-02-10  9:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-10  9:52 Alex Yustasov [this message]
2005-02-10 10:41 ` Alexey I. Froloff

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=20050210095207.GA8922@yust.work \
    --to=yust@anti-leasure.ru \
    --cc=devel-kernel@altlinux.ru \
    /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 kernel packages development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/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 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
		devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
	public-inbox-index devel-kernel

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


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