From: Frank Neuber <linux-mips@kernelport.de>
To: Manuel Lauss <mano@roarinelk.homelinux.net>,
Florian Fainelli <florian@openwrt.org>
Cc: Linux-MIPS <linux-mips@linux-mips.org>
Subject: Re: AU1550 Kernel bug detected[#1] clockevents_register_device
Date: Tue, 27 Jan 2009 11:13:01 +0100 [thread overview]
Message-ID: <1233051181.28527.485.camel@t60p> (raw)
In-Reply-To: <20090127091107.GA15890@roarinelk.homelinux.net>
Thank you all,
now the head kernel comes up.
Why is that fix not in the git? Maby I use the wrong git repository for
MIPS kernel. At the moment I use the linus git:
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Am Dienstag, den 27.01.2009, 10:11 +0100 schrieb Manuel Lauss:
> > I just start with head and found a compile error:
> > arch/mips/alchemy/common/time.c:93: error: incompatible types in
> > initialization
> > I comment this line ".cpumask = CPU_MASK_ALL,"
>
> you need to change it to "CPU_MASK_ALL_PTR". Commenting it is not a very
> good idea ;-)
Yea sure, but it was a try ... ;-)
The PCI and PCMCIA problems are going on in the same way:
I tested the CardBus. As you can see the two CardBus bridges maps the
whole PCI memory into. If I plug in something it is not accessable
because the
yenta_cardbus 0000:00:0d.0: No cardbus resource!
error ...
I think somting is wrong with PCI resource management here.
I can't believe that nobody is using the PCI or Cardbus on the AU1550
with the current kernel.
I can give you a lspci -vvv of the working system 2.6.16.1
---cut---
00:0d.0 Class 0607: 104c:ac55 (rev 01)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64
Interrupt: pin A routed to IRQ 1
Region 0: Memory at 0000000048002000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=01, subordinate=04, sec-latency=176
Memory window 0: 40000000-41fff000 (prefetchable)
Memory window 1: 42000000-43fff000 (prefetchable)
I/O window 0: 00001000-000010ff
I/O window 1: 00001400-000014ff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt- PostWrite-
16-bit legacy interface ports at 0001
---cut---
And the 2.6.29-rc2
---cut---
00:0d.0 Class 0607: 104c:ac55 (rev 01)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64
Interrupt: pin A routed to IRQ 9
Bus: primary=00, secondary=01, subordinate=04, sec-latency=176
Memory window 0: 40000000-43fff000 (prefetchable)
Memory window 1: 44000000-47fff000 (prefetchable)
I/O window 0: 00001000-000010ff
I/O window 1: 00001400-000014ff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt- PostWrite-
16-bit legacy interface ports at 0001
---cut---
You can see in the current PCI System the Region 0 is missing and the
Memory windows are much more bigger. Also the IRQ is different.
I don't understand this at the moment.
This is the relevant bootlog:
---cut---
pci 0000:00:0c.0: PME# supported from D1 D3hot D3cold
pci 0000:00:0c.0: PME# disabled
pci 0000:00:0c.1: PME# supported from D1 D3hot D3cold
pci 0000:00:0c.1: PME# disabled
pci 0000:00:0c.2: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:0c.2: PME# disabled
pci 0000:00:0d.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:0d.0: PME# disabled
pci 0000:00:0d.1: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:0d.1: PME# disabled
pci 0000:00:0c.0: BAR 0: can't allocate mem resource
[0x50000000-0x4fffffff]
pci 0000:00:0c.1: BAR 0: can't allocate mem resource
[0x50000000-0x4fffffff]
pci 0000:00:0d.0: BAR 0: can't allocate mem resource
[0x50000000-0x4fffffff]
pci 0000:00:0d.1: BAR 0: can't allocate mem resource
[0x50000000-0x4fffffff]
pci 0000:00:0c.2: BAR 0: can't allocate mem resource [0x50000000-0x4fffffff]
pci 0000:00:0d.0: CardBus bridge, secondary bus 0000:01
pci 0000:00:0d.0: IO window: 0x001000-0x0010ff
pci 0000:00:0d.0: IO window: 0x001400-0x0014ff
pci 0000:00:0d.0: PREFETCH window: 0x40000000-0x43ffffff
pci 0000:00:0d.0: MEM window: 0x44000000-0x47ffffff
pci 0000:00:0d.1: CardBus bridge, secondary bus 0000:05
pci 0000:00:0d.1: IO window: 0x001800-0x0018ff
pci 0000:00:0d.1: IO window: 0x001c00-0x001cff
pci 0000:00:0d.1: PREFETCH window: 0x48000000-0x4bffffff
pci 0000:00:0d.1: MEM window: 0x4c000000-0x4fffffff
PCI: Enabling device 0000:00:0d.0 (0000 -> 0003)
PCI: Enabling device 0000:00:0d.1 (0000 -> 0003)
---cut---
next prev parent reply other threads:[~2009-01-27 10:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-27 8:44 AU1550 Kernel bug detected[#1] clockevents_register_device Frank Neuber
2009-01-27 9:11 ` Manuel Lauss
2009-01-27 9:18 ` Florian Fainelli
2009-01-27 9:23 ` Florian Fainelli
2009-01-27 10:13 ` Frank Neuber [this message]
2009-01-27 12:11 ` Manuel Lauss
2009-01-27 12:42 ` Frank Neuber
2009-01-28 9:19 ` Frank Neuber
2009-01-28 9:38 ` Manuel Lauss
2009-01-28 9:45 ` Manuel Lauss
2009-01-28 10:38 ` Frank Neuber
2009-01-28 10:31 ` Frank Neuber
2009-01-29 21:35 ` Ralf Baechle
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=1233051181.28527.485.camel@t60p \
--to=linux-mips@kernelport.de \
--cc=florian@openwrt.org \
--cc=linux-mips@linux-mips.org \
--cc=mano@roarinelk.homelinux.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox