* Pb1500 PCI problems
@ 2003-02-25 8:01 Chris Zimman
2003-02-25 16:15 ` Pete Popov
0 siblings, 1 reply; 8+ messages in thread
From: Chris Zimman @ 2003-02-25 8:01 UTC (permalink / raw)
To: linux-mips
I've seen some strange stuff in the PCI code in 2.4.19-rc1 and 2.4.20
from the CVS tree.
Neither trees compile out of the box for the PB1500, both having errors
in one place or another. 2.4.20 blows up during boot in:
...
00:10.0 Class 2000: 0356:2000 (rev 56)
Mem unavailable -- skipping
Mem unavailable -- skipping
Mem unavailable -- skipping
Mem unavailable -- skipping
Mem unavailable -- skipping
Mem unavailable -- skipping
00:11.0 Class 0000: 0000:0000
Mem at 0x40000000 [size=0xffd0]
Mem at 0x4000ffd0 [size=0xffd0]
Reserved instruction in kernel code in traps.c::do_ri, line 650:
$0 : 00000000 1000fc00 c0000000 c0000000 00000001 c0000000 00000000 1000fc00
$8 : 810fa7f0 00000000 ffffffbf ffffffff fffffff8 ffffffff 00000010 00000003
$16: 00000000 00000000 8034be88 00000000 00000000 00000098 00000000 00000000
$24: 8034bd53 00000000 8034a000 8034be48 00000004 80274c80
Hi : 00000000
Lo : 000000c0
epc : 80274ca0 Not tainted
Status: 1000fc02
Cause : 00800028
Process swapper (pid: 1, stackpage=8034a000)
Stack: 00000000 00000098 8027fe6f 80274c80 00000400 0000000d 00000000
8034bef0 00000000 8030e108 80274e0c 00000088 00000000 00000000 802b4588
802dbc68 8027fe58 4000ffd0 1000fc01 00000090 801e73d8 4000ffd0 ffff0036
00000000 00000000 00000088 00000000 801084f0 00000000 00000098 00000000
00000000 802b49d0 802b4b34 8027fea0 00000000 00000001 00000001 00000000
8034bef0 ...
Call Trace: [<8027fe6f>] [<80274c80>] [<80274e0c>] [<8027fe58>] [<801e73d8>]
[<801084f0>] [<8027fea0>] [<8010078c>] [<8027ff6c>] [<8012cf90>] [<8010078c>]
[<80101f24>] [<801e9040>] [<8010078c>] [<8010079c>] [<801022d4>] [<80100780>]
[<801022c4>]
Code: 24040001 12640023 00431825 <8c620000> ae420000 0000000f 3c03000d 34631b72 3c02802d
Kernel panic: Attempted to kill init!
2.4.19-rc1 fares a little better, but has strange problems as well:
chris@au1500:~$ lspci -vv
00:01.0 PIC: Unknown device bad7:0800 (rev db) (prog-if ba)
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin ? routed to IRQ 255
Region 0: Memory at <ignored> (type 3, prefetchable) [disabled]
Region 2: I/O ports at <ignored> [disabled]
Region 4: Memory at <ignored> (low-1M, prefetchable) [disabled]
Expansion ROM at 0800b800 [disabled] [size=2K]
00:05.0 Class 1060: Unknown device 0007:1040 (rev 0d)
!!! Invalid class 1060 for header type 02
Subsystem: Unknown device 4054:0800
Control: I/O- Mem+ BusMaster- SpecCycle+ MemWINV+ VGASnoop+ ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Interrupt: pin ? routed to IRQ 255
Region 0: I/O ports at <ignored> [disabled]
Bus: primary=55, secondary=40, subordinate=00, sec-latency=8
BridgeCtl: Parity+ SERR- ISA+ VGA- MAbort- >Reset- 16bInt- PostWrite+
16-bit legacy interface ports at 0006
00:0a.0 Class 8e10: Unknown device f809:0040 (rev 10)
Subsystem: Unknown device 0008:03e0
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: 128 (1000ns min, 3000ns max), cache line size da
Interrupt: pin Region 5: Memory at <invalid-64bit-slot> (64-bit, non-prefetchable)
Expansion ROM at 27bd0000 [disabled] [size=2K]
00:10.0 Class 2000: Unknown device 0356:2000 (rev 56) (prog-if 03)
Subsystem: Unknown device 0356:2000
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B+
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 3 (8000ns max), cache line size 56
Interrupt: pin C routed to IRQ 255
Region 0: Memory at 20000350 (type 3, non-prefetchable) [size=16]
Region 1: Memory at 20000350 (type 3, non-prefetchable) [size=16]
Region 2: Memory at 20000350 (type 3, non-prefetchable) [size=16]
Region 3: Memory at 20000350 (type 3, non-prefetchable) [size=16]
Region 4: Memory at 20000350 (type 3, non-prefetchable) [size=16]
Region 5: Memory at 20000350 (type 3, non-prefetchable) [size=16]
Expansion ROM at 20000000 [disabled] [size=512M]
Before I go digging too much, I'd like it if someone else with a PB1500
or similar can confirm what I'm seeing.
The kernel was built with defconfig-pb1500, and using GCC 3.2.2 and bintutils 2.13
The 2.4.19-rc1 kernel seems to work fine otherwise, BTW
Thanks
--Chris
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Pb1500 PCI problems
2003-02-25 8:01 Pb1500 PCI problems Chris Zimman
@ 2003-02-25 16:15 ` Pete Popov
2003-02-25 16:49 ` Kernel Source Tree & Rebuild for Mips Jiahan Chen
0 siblings, 1 reply; 8+ messages in thread
From: Pete Popov @ 2003-02-25 16:15 UTC (permalink / raw)
To: Chris Zimman; +Cc: linux-mips
On Tue, 2003-02-25 at 00:01, Chris Zimman wrote:
> I've seen some strange stuff in the PCI code in 2.4.19-rc1 and 2.4.20
> from the CVS tree.
>
> Neither trees compile out of the box for the PB1500, both having errors
> in one place or another. 2.4.20 blows up during boot in:
I probably need to put this in the main FAQ or something.
There are some required patches that you need to apply which are not in
the tree yet. Take a look at
ftp.linux-mips.org:/pub/linux/mips/people/ppopov. There is a README
there that describes the patches. At the very least you need to apply
the 36 bit patch.
Pete
> ...
>
> 00:10.0 Class 2000: 0356:2000 (rev 56)
> Mem unavailable -- skipping
> Mem unavailable -- skipping
> Mem unavailable -- skipping
> Mem unavailable -- skipping
> Mem unavailable -- skipping
> Mem unavailable -- skipping
> 00:11.0 Class 0000: 0000:0000
> Mem at 0x40000000 [size=0xffd0]
> Mem at 0x4000ffd0 [size=0xffd0]
> Reserved instruction in kernel code in traps.c::do_ri, line 650:
> $0 : 00000000 1000fc00 c0000000 c0000000 00000001 c0000000 00000000 1000fc00
> $8 : 810fa7f0 00000000 ffffffbf ffffffff fffffff8 ffffffff 00000010 00000003
> $16: 00000000 00000000 8034be88 00000000 00000000 00000098 00000000 00000000
> $24: 8034bd53 00000000 8034a000 8034be48 00000004 80274c80
> Hi : 00000000
> Lo : 000000c0
> epc : 80274ca0 Not tainted
> Status: 1000fc02
> Cause : 00800028
> Process swapper (pid: 1, stackpage=8034a000)
> Stack: 00000000 00000098 8027fe6f 80274c80 00000400 0000000d 00000000
> 8034bef0 00000000 8030e108 80274e0c 00000088 00000000 00000000 802b4588
> 802dbc68 8027fe58 4000ffd0 1000fc01 00000090 801e73d8 4000ffd0 ffff0036
> 00000000 00000000 00000088 00000000 801084f0 00000000 00000098 00000000
> 00000000 802b49d0 802b4b34 8027fea0 00000000 00000001 00000001 00000000
> 8034bef0 ...
> Call Trace: [<8027fe6f>] [<80274c80>] [<80274e0c>] [<8027fe58>] [<801e73d8>]
> [<801084f0>] [<8027fea0>] [<8010078c>] [<8027ff6c>] [<8012cf90>] [<8010078c>]
> [<80101f24>] [<801e9040>] [<8010078c>] [<8010079c>] [<801022d4>] [<80100780>]
> [<801022c4>]
>
> Code: 24040001 12640023 00431825 <8c620000> ae420000 0000000f 3c03000d 34631b72 3c02802d
> Kernel panic: Attempted to kill init!
>
>
> 2.4.19-rc1 fares a little better, but has strange problems as well:
>
>
> chris@au1500:~$ lspci -vv
> 00:01.0 PIC: Unknown device bad7:0800 (rev db) (prog-if ba)
> Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
> Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> Interrupt: pin ? routed to IRQ 255
> Region 0: Memory at <ignored> (type 3, prefetchable) [disabled]
> Region 2: I/O ports at <ignored> [disabled]
> Region 4: Memory at <ignored> (low-1M, prefetchable) [disabled]
> Expansion ROM at 0800b800 [disabled] [size=2K]
>
> 00:05.0 Class 1060: Unknown device 0007:1040 (rev 0d)
> !!! Invalid class 1060 for header type 02
> Subsystem: Unknown device 4054:0800
> Control: I/O- Mem+ BusMaster- SpecCycle+ MemWINV+ VGASnoop+ ParErr- Stepping- SERR- FastB2B-
> Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
> Interrupt: pin ? routed to IRQ 255
> Region 0: I/O ports at <ignored> [disabled]
> Bus: primary=55, secondary=40, subordinate=00, sec-latency=8
> BridgeCtl: Parity+ SERR- ISA+ VGA- MAbort- >Reset- 16bInt- PostWrite+
> 16-bit legacy interface ports at 0006
>
> 00:0a.0 Class 8e10: Unknown device f809:0040 (rev 10)
> Subsystem: Unknown device 0008:03e0
> 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: 128 (1000ns min, 3000ns max), cache line size da
> Interrupt: pin Region 5: Memory at <invalid-64bit-slot> (64-bit, non-prefetchable)
> Expansion ROM at 27bd0000 [disabled] [size=2K]
>
> 00:10.0 Class 2000: Unknown device 0356:2000 (rev 56) (prog-if 03)
> Subsystem: Unknown device 0356:2000
> Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B+
> Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
> Latency: 3 (8000ns max), cache line size 56
> Interrupt: pin C routed to IRQ 255
> Region 0: Memory at 20000350 (type 3, non-prefetchable) [size=16]
> Region 1: Memory at 20000350 (type 3, non-prefetchable) [size=16]
> Region 2: Memory at 20000350 (type 3, non-prefetchable) [size=16]
> Region 3: Memory at 20000350 (type 3, non-prefetchable) [size=16]
> Region 4: Memory at 20000350 (type 3, non-prefetchable) [size=16]
> Region 5: Memory at 20000350 (type 3, non-prefetchable) [size=16]
> Expansion ROM at 20000000 [disabled] [size=512M]
>
>
> Before I go digging too much, I'd like it if someone else with a PB1500
> or similar can confirm what I'm seeing.
>
> The kernel was built with defconfig-pb1500, and using GCC 3.2.2 and bintutils 2.13
>
> The 2.4.19-rc1 kernel seems to work fine otherwise, BTW
>
> Thanks
>
> --Chris
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Kernel Source Tree & Rebuild for Mips
2003-02-25 16:15 ` Pete Popov
@ 2003-02-25 16:49 ` Jiahan Chen
2003-02-25 17:05 ` Geert Uytterhoeven
2003-02-25 17:37 ` Kernel Source Tree & Rebuild for Mips Pete Popov
0 siblings, 2 replies; 8+ messages in thread
From: Jiahan Chen @ 2003-02-25 16:49 UTC (permalink / raw)
To: Pete Popov; +Cc: linux-mips
--- Pete Popov <ppopov@mvista.com> wrote:
> On Tue, 2003-02-25 at 00:01, Chris Zimman wrote:
> > I've seen some strange stuff in the PCI code in 2.4.19-rc1 and 2.4.20
> > from the CVS tree.
> >
Where and how can I get CVS source tree to build customized
Linux kernel for Mips?
Recently, I downloaded linux-2.4.18.tar.gz, patch-2.4.19.bz2,
patch-2.4.20.bz2 from www.kernel.org, used cross-compiler
mipsel-linux-gcc, mips-linux-ld
on Redhat 7.3 PC envoronment, and got quite a few errors from
compiling and ld. Can you or someone give me help?
Thanks,
Jiahan
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Kernel Source Tree & Rebuild for Mips
2003-02-25 16:49 ` Kernel Source Tree & Rebuild for Mips Jiahan Chen
@ 2003-02-25 17:05 ` Geert Uytterhoeven
2003-02-26 3:06 ` CVS Usage and Kernel Build Jiahan Chen
2003-02-25 17:37 ` Kernel Source Tree & Rebuild for Mips Pete Popov
1 sibling, 1 reply; 8+ messages in thread
From: Geert Uytterhoeven @ 2003-02-25 17:05 UTC (permalink / raw)
To: Jiahan Chen; +Cc: Pete Popov, Linux/MIPS Development
On Tue, 25 Feb 2003, Jiahan Chen wrote:
> --- Pete Popov <ppopov@mvista.com> wrote:
> > On Tue, 2003-02-25 at 00:01, Chris Zimman wrote:
> > > I've seen some strange stuff in the PCI code in 2.4.19-rc1 and 2.4.20
> > > from the CVS tree.
> > >
>
> Where and how can I get CVS source tree to build customized
> Linux kernel for Mips?
http://www.google.com/search?q=Linux+MIPS+CVS
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Kernel Source Tree & Rebuild for Mips
2003-02-25 16:49 ` Kernel Source Tree & Rebuild for Mips Jiahan Chen
2003-02-25 17:05 ` Geert Uytterhoeven
@ 2003-02-25 17:37 ` Pete Popov
1 sibling, 0 replies; 8+ messages in thread
From: Pete Popov @ 2003-02-25 17:37 UTC (permalink / raw)
To: Jiahan Chen; +Cc: linux-mips
On Tue, 2003-02-25 at 08:49, Jiahan Chen wrote:
> --- Pete Popov <ppopov@mvista.com> wrote:
> > On Tue, 2003-02-25 at 00:01, Chris Zimman wrote:
> > > I've seen some strange stuff in the PCI code in 2.4.19-rc1 and 2.4.20
> > > from the CVS tree.
> > >
>
> Where and how can I get CVS source tree to build customized
> Linux kernel for Mips?
>
> Recently, I downloaded linux-2.4.18.tar.gz, patch-2.4.19.bz2,
> patch-2.4.20.bz2 from www.kernel.org, used cross-compiler
> mipsel-linux-gcc, mips-linux-ld
> on Redhat 7.3 PC envoronment, and got quite a few errors from
> compiling and ld. Can you or someone give me help?
The mips linux port is hosted on linux-mips.org. Take a look at the
documentation on www.linux-mips.org and go from there.
Pete
^ permalink raw reply [flat|nested] 8+ messages in thread
* CVS Usage and Kernel Build
2003-02-25 17:05 ` Geert Uytterhoeven
@ 2003-02-26 3:06 ` Jiahan Chen
2003-02-26 3:06 ` Jiahan Chen
2003-02-26 9:27 ` Geert Uytterhoeven
0 siblings, 2 replies; 8+ messages in thread
From: Jiahan Chen @ 2003-02-26 3:06 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: linux-mips
> >
> > Where and how can I get CVS source tree to build customized
> > Linux kernel for Mips?
>
> http://www.google.com/search?q=Linux+MIPS+CVS
>
> Gr{oetje,eeting}s,
>
From Mips web-site, I read:
cvs -d :pserver:cvs@ftp.linux-mips.org:/home/cvs login
(Only needed the first time you use anonymous CVS, the password is "cvs")
cvs -d :pserver:cvs@ftp.linux-mips.org:/home/cvs co <repository>
I have a few questions:
1. There should be a client "cvs" in my linux PC, then to use
above command to get CVS source files INDIVIDUALLY?
2. After get everything from ftp site as above, do we use
the similar procedure to re-build linux kernel for MIPS, such as
make config; make dep; make vmlinux
3. Does this source tree support R3000 (CPU) and USB?
4. In order to add a new USB device driver, do I need update
drivers/usb/Config.In and drivers/usb/Makefile manully?
Currently, I am in the initial phase for development, the Network
card is not available and Winmoden doesn't work with Linux,
so I have no ftp connection from my Linux box to get
CVS. In this case, is there any alternative to get CVS source
tree?
Thanks,
Jiahan
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* CVS Usage and Kernel Build
2003-02-26 3:06 ` CVS Usage and Kernel Build Jiahan Chen
@ 2003-02-26 3:06 ` Jiahan Chen
2003-02-26 9:27 ` Geert Uytterhoeven
1 sibling, 0 replies; 8+ messages in thread
From: Jiahan Chen @ 2003-02-26 3:06 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: linux-mips
> >
> > Where and how can I get CVS source tree to build customized
> > Linux kernel for Mips?
>
> http://www.google.com/search?q=Linux+MIPS+CVS
>
> Gr{oetje,eeting}s,
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: CVS Usage and Kernel Build
2003-02-26 3:06 ` CVS Usage and Kernel Build Jiahan Chen
2003-02-26 3:06 ` Jiahan Chen
@ 2003-02-26 9:27 ` Geert Uytterhoeven
1 sibling, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2003-02-26 9:27 UTC (permalink / raw)
To: Jiahan Chen; +Cc: Linux/MIPS Development
On Tue, 25 Feb 2003, Jiahan Chen wrote:
> > > Where and how can I get CVS source tree to build customized
> > > Linux kernel for Mips?
> >
> > http://www.google.com/search?q=Linux+MIPS+CVS
> >
> > Gr{oetje,eeting}s,
> >
>
> >From Mips web-site, I read:
>
> cvs -d :pserver:cvs@ftp.linux-mips.org:/home/cvs login
> (Only needed the first time you use anonymous CVS, the password is "cvs")
> cvs -d :pserver:cvs@ftp.linux-mips.org:/home/cvs co <repository>
>
> I have a few questions:
> 1. There should be a client "cvs" in my linux PC, then to use
> above command to get CVS source files INDIVIDUALLY?
cvs -d :pserver:cvs@ftp.linux-mips.org:/home/cvs co linux/path/to/file.
> 2. After get everything from ftp site as above, do we use
> the similar procedure to re-build linux kernel for MIPS, such as
> make config; make dep; make vmlinux
Yes.
> 3. Does this source tree support R3000 (CPU) and USB?
Yes.
> 4. In order to add a new USB device driver, do I need update
> drivers/usb/Config.In and drivers/usb/Makefile manully?
Yes.
> Currently, I am in the initial phase for development, the Network
> card is not available and Winmoden doesn't work with Linux,
> so I have no ftp connection from my Linux box to get
> CVS. In this case, is there any alternative to get CVS source
> tree?
Use CVS on another box.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2003-02-26 9:28 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-25 8:01 Pb1500 PCI problems Chris Zimman
2003-02-25 16:15 ` Pete Popov
2003-02-25 16:49 ` Kernel Source Tree & Rebuild for Mips Jiahan Chen
2003-02-25 17:05 ` Geert Uytterhoeven
2003-02-26 3:06 ` CVS Usage and Kernel Build Jiahan Chen
2003-02-26 3:06 ` Jiahan Chen
2003-02-26 9:27 ` Geert Uytterhoeven
2003-02-25 17:37 ` Kernel Source Tree & Rebuild for Mips Pete Popov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox