From: Nico Schottelius <nico-kernel-xuaVFQXs+5hIG4jRRZ66WA@public.gmane.org>
To: Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
bugme-daemon-3NddpPZAyC0@public.gmane.org,
ACPI Developers
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: [nico-kernel-xuaVFQXs+5hIG4jRRZ66WA@public.gmane.org: [BUG] pdc202xx_new and ACPI fails]
Date: Tue, 7 Dec 2004 08:01:43 +0100 [thread overview]
Message-ID: <20041207070143.GE2266@schottelius.org> (raw)
In-Reply-To: <200412070207.iB727OK6016916-vHB9QIM/jDtb5UGfqNBoRg@public.gmane.org> <1102286168.2308.13.camel@d845pe>
[-- Attachment #1: Type: text/plain, Size: 3730 bytes --]
Sorry for breaking References, should I only answer bugme-daemon?
(I never used bugzilla before, sorry)
I tried the patch, but it does not apply:
------------< snip >----------------
eiche# patch --dry-run < ../patch-acpi
can't find file to patch at input line 15
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|http://bugme.osdl.org/show_bug.cgi?id=3876
|
|
|
|
|
|------- Additional Comments From shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org 2004-12-06 18:07 -------
|Looks like ACPI is doing the right thing. Per PCI spec, add-in card get
|derived IRQ from its parent. In your system, the BIOS tells us IDE 3 get 19
|and IDE 5 get 16. I'd like know the dmesg output after apply the below debug
|code. Thanks.
|
|--- drivers/acpi/pci_irq.c.orig 2004-12-07 09:56:36.604609696 +0800
|+++ drivers/acpi/pci_irq.c 2004-12-07 09:58:16.857368960 +0800
--------------------------
File to patch: drivers/acpi/pci_irq.c
patching file drivers/acpi/pci_irq.c
patch: **** malformed patch at line 18: &edge_level, &active_high_low);
------------< snap >----------------
(Perhaps because I am too tired)
Anyway inserting the code into drivers/acpi/pci_irq.c manually at
line 370 works.
Here is the relevant part of dmesg:
------------< snip >----------------
apm: BIOS not found.
PDC20270: IDE controller at PCI slot 0000:02:01.0
ACPI: PCI interrupt 0000:02:01.0[A] -> GSI 19 (level, low) -> IRQ 19
PDC20270: chipset revision 2
PDC20270: ROM enabled at 0xdfee0000
PDC20270: 100% native mode on irq 19
ide2: BM-DMA at 0xbc00-0xbc07, BIOS settings: hde:pio, hdf:pio
ide3: BM-DMA at 0xbc08-0xbc0f, BIOS settings: hdg:pio, hdh:pio
ACPI: PCI interrupt 0000:02:02.0[A] -> GSI 16 (level, low) -> IRQ 16
ide4: BM-DMA at 0xa800-0xa807, BIOS settings: hdi:pio, hdj:pio
ide5: BM-DMA at 0xa808-0xa80f, BIOS settings: hdk:pio, hdl:pio
Probing IDE interface ide2...
Probing IDE interface ide3...
hdh: IDE DVD-ROM 16X, ATAPI CD/DVD-ROM drive
ide3 at 0xc400-0xc407,0xc002 on irq 19
Probing IDE interface ide4...
hdj: TOSHIBA MK4025GAS, ATA DISK drive
Warning: Primary channel requires an 80-pin cable for operation.
hdj reduced to Ultra33 mode.
ide4 at 0xb800-0xb807,0xb402 on irq 16
hdj: max request size: 128KiB
irq 19: nobody cared!
[<c0130ca4>] __report_bad_irq+0x24/0x80
[<c0130d81>] note_interrupt+0x61/0xa0
[<c01307e3>] __do_IRQ+0x113/0x130
[<c0105119>] do_IRQ+0x19/0x30
[<c0103916>] common_interrupt+0x1a/0x20
[<c0101030>] default_idle+0x0/0x30
[<c0101053>] default_idle+0x23/0x30
[<c01010ca>] cpu_idle+0x3a/0x60
[<c03da77f>] start_kernel+0x12f/0x150
[<c03da3a0>] unknown_bootoption+0x0/0x1a0
handlers:
[<c0294b20>] (ide_intr+0x0/0x170)
Disabling IRQ #19
------------< snap >----------------
> + if (!irq) {
> + printk("LSH-TEST:" "PCI interrupt %s[%c]: no GSI",
> + pci_name(dev), ('A' + pin));
> + printk("LSH-TEST:BIOS assign IRQ %d\n", dev->irq);
> + }
Hrm, this code block you sent me should printout something,
shouldn't it?
I just verified that I booted the correct kernel and foolproofed
tested the output:
eiche# dmesg| grep LSH
eiche#
Did I do something wrong?
Have a look at http://schotteli.us/~nico/bug.acpi/dmesg.2.6.10-rc3-LSH-TEST-patch
for full dmesg and at
http://schotteli.us/~nico/bug.acpi/handpatched-pci_irq.c
for the source file I created with manually patching.
Nico
--
Keep it simple & stupid, use what's available.
Please use pgp encryption: 8D0E 27A4 is my id.
http://nico.schotteli.us | http://linux.schottelius.org
[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]
next prev parent reply other threads:[~2004-12-07 7:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200412070207.iB727OK6016916@fire-1.osdl.org>
2004-12-05 21:17 ` [nico-kernel-xuaVFQXs+5hIG4jRRZ66WA@public.gmane.org: [BUG] pdc202xx_new and ACPI fails] Nico Schottelius
[not found] ` <16A54BF5D6E14E4D916CE26C9AD30575B640E1-4yWAQGcml66iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
[not found] ` <20041205211754.GB7695-xuaVFQXs+5hIG4jRRZ66WA@public.gmane.org>
2004-12-05 22:36 ` Len Brown
2004-12-06 23:02 ` Nico Schottelius
2004-12-07 7:01 ` Nico Schottelius [this message]
2004-12-07 17:35 ` Nico Schottelius
2004-12-14 21:31 ` [fixed] pdc202xx_new and ACPI fails Nico Schottelius
2004-12-15 8:27 ` [BUG] " Nico Schottelius
[not found] ` <20041215082732.GA2273-xuaVFQXs+5hIG4jRRZ66WA@public.gmane.org>
2004-12-23 11:47 ` [BUG 3876] pdc202xx_new/ACPI: new data Nico Schottelius
[not found] <16A54BF5D6E14E4D916CE26C9AD30575B640E1@pdsmsx402.ccr.corp.intel.com>
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=20041207070143.GE2266@schottelius.org \
--to=nico-kernel-xuavfqxs+5hig4jrrz66wa@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=bugme-daemon-3NddpPZAyC0@public.gmane.org \
--cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.