ALT Linux kernel packages development
 help / color / mirror / Atom feed
* [d-kernel] Как правильно добавить DSDT в initrd?
@ 2005-02-10  9:52 Alex Yustasov
  2005-02-10 10:41 ` Alexey I. Froloff
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Yustasov @ 2005-02-10  9:52 UTC (permalink / raw)
  To: devel-kernel

Здравствуйте.
Попробовал добавить поправленную 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?


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [d-kernel] Как правильно добавить DSDT в initrd?
  2005-02-10  9:52 [d-kernel] Как правильно добавить DSDT в initrd? Alex Yustasov
@ 2005-02-10 10:41 ` Alexey I. Froloff
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey I. Froloff @ 2005-02-10 10:41 UTC (permalink / raw)
  To: devel-kernel; +Cc: Alex Yustasov

[-- Attachment #1: Type: text/plain, Size: 366 bytes --]

* Alex Yustasov <yust@> [050210 12:53]:
> echo "INITRDDSDT123DSDT123" >> /boot/initrd...
echo -n "..."
> cat DSDT.aml >> /boot/initrd...
> echo "INITRDDSDT321DSDT321" >> /boot/initrd...
echo -n "..."

-- 
Regards, Sir Raorn.
-------------------
> >А что iconv не умеет?
> base64 и Quoted-Printable.
А ещё он не умеет варить кофе. :)
		-- ldv in devel@

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-10 10:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-10  9:52 [d-kernel] Как правильно добавить DSDT в initrd? Alex Yustasov
2005-02-10 10:41 ` Alexey I. Froloff

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