Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: marvell relation support 20100413



KIYOHARA Takashi wrote:

> By the way, I am interested in this strange message.
>
> From: Frank Wille <frank%phoenix.owl.de@localhost>
> Date: Fri, 07 May 2010 19:40:35 +0200
>
>> gt0:      scs[0]=         0-0xffffffff
>> gt0:      scs[1]=         0-   0xfffff
>> gt0:      scs[2]=         0-   0xfffff
>> gt0:      scs[3]=         0-   0xfffff

What do you think is wrong with it?


>   http://www.jttk.zaq.ne.jp/bajzt304/netbsd-gt
>     * mvgbe+gtpci

This one panics before interrupts are enabled, while attaching the keyboard
(which was not physically present, because I was booting with a serial
console):

>> NetBSD/ofppc OpenFirmware Boot, Revision 1.6
>> (frank%jaana.owl.de@localhost, Thu Nov  8 19:49:44 CET 2007)
Using IP address: 192.168.0.4
root addr=192.168.0.9 path=/export/pegasos/root
4328716+289284 [245760+237371]=0x4dd9f0
 start=0x100000
WARNING: add memory segment 10000000 - 20000000,
WARNING: which was not recognized by the Firmware.
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.99.29 (GENERIC) #7: Sat May  8 12:49:56 JST 2010
        
lance%greed.sins.soum.co.jp@localhost:/usr/src/sys/arch/ofppc/compile/GENERIC
Model: Pegasos2
total memory = 512 MB
avail memory = 481 MB
bootpath: /pci@80000000/ethernet@D/netbsd.ofppc
mainbus0 (root)
rtas0 at mainbus0: version 1, entry @pa 0x5e4000
cpu0 at mainbus0: 750 (Revision 3.1), ID 0 (primary)
cpu0: HID0 0x8090c0ac<EMCP,DOZE,DPM,ICE,DCE,SGE,BTIC,ABE,BHT>, powersave: 1
cpu0: 600.00 MHz, 512KB WB with ECC L2 cache
cpu0: L1 I-cache 32 KB 32B/line, D-cache 32 KB 32B/line
cpu0: L2 cache 128 KB 32B/line
gt0 at mainbus0: MV6436x Discovery II
cpumode=0x43
gt0: id 3, 60x buscpumstr=0xb00
 wdog=0x60ffffff,0
gt0:      scs[0]=         0-0xffffffff
gt0:      scs[1]=         0-   0xfffff
gt0:      scs[2]=         0-   0xfffff
gt0:      scs[3]=         0-   0xfffff
gt0:       cs[0]=0xc0000000- 0x7ffffff
gt0:       cs[1]=0xc8000000- 0x7ffffff
gt0:       cs[2]=0xd0000000- 0xfffffff
gt0:       cs[3]=0xf0000000- 0x7ffffff
gt0:       bootcs=0xf8000000- 0x7ffffff
gt0:       pci0io=0x80000000- 0xfffffff  remap=0000000000
gt0:       pci0mem[0]=         0-0xffffffff  remap=0000000000.0x0000c000
gt0:       pci0mem[1]=0x90000000- 0xfffffff  remap=0000000000.0000000000
gt0:       pci0mem[2]=0x40000000-0x1fffffff  remap=0000000000.0x0000f400
gt0:       pci0mem[3]=0x60000000-0x1fffffff  remap=0000000000.0x0000f600
gt0:       pci1io=0xe0000000- 0xfffffff  remap=0000000000
gt0:       pci1mem[0]=         0-0xffffffff  remap=0000000000.0x00008000
gt0:       pci1mem[1]=0xd0000000- 0xfffffff  remap=0000000000.0000000000
gt0:       pci1mem[2]=0x60000000-0x1fffffff  remap=0000000000.0x00002600
gt0:       pci1mem[3]=0xf8000000- 0x7ffffff  remap=0000000000.0x0000ff80
gt0:       internal=0x10000000-0x10040000
gt0:       cpu0=         0-   0xfffff
gt0:        cpu1=         0-   0xfffffgt0:cpucfg=0x20ff
 pipeline aack-delay conf-sb-dis
gtidmac0 at gt0 unit 0 offset 0x0000-0x0fff irq 9: Marvell IDMA Controller
gtidmac0: no dmb_speed property
gtmpsc at gt0 unit 0 not configured
gtmpsc at gt0 unit 1 not configured
gtpci0 at gt0 unit 0: Marvell PCI Interface
pci0 at gtpci0
pchb0 at pci0 dev 0 function 0
pchb0: Marvell MV6436x System Controller (rev. 0x03)
genfb0 at pci0 dev 8 function 0: ATI Technologies Radeon 9200SE 5964
genfb0: no console, unable to continue
gtpci1 at gt0 unit 1: Marvell PCI Interface
pci1 at gtpci1
pchb1 at pci1 dev 0 function 0
pchb1: Marvell MV6436x System Controller (rev. 0x03)
fwohci0 at pci1 dev 1 function 0: VIA Technologies VT6306 IEEE 1394 Host
Controller (rev. 0x46)
fwohci0: interrupting at irq 9
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 00:11:06:00:00:00:4b:2f
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
pcib0 at pci1 dev 12 function 0: VIA Technologies VT8231 PCI-ISA Bridge
(rev. 0x10)
viaide0 at pci1 dev 12 function 1
viaide0: VIA Technologies VT8231 ATA100 controller
viaide0: primary channel interrupting at irq 14
atabus0 at viaide0 channel 0
viaide0: secondary channel interrupting at irq 15
atabus1 at viaide0 channel 1
uhci0 at pci1 dev 12 function 2: VIA Technologies VT83C572 USB Controller
(rev. 0x1e)
uhci0: interrupting at irq 9
usb0 at uhci0: USB revision 1.0
uhci1 at pci1 dev 12 function 3: VIA Technologies VT83C572 USB Controller
(rev. 0x1e)
uhci1: interrupting at irq 9
usb1 at uhci1: USB revision 1.0
VIA Technologies VT8231 Power Management Controller (miscellaneous bridge,
revision 0x10) at pci1 dev 12 function 4 not configured
auvia0 at pci1 dev 12 function 5: VIA Technologies VT82C686A AC'97 Audio
(rev 0x40)
auvia0: interrupting at irq 9
auvia0: ac97: SigmaTel STAC9766/67 codec; headphone, 20 bit DAC, 18 bit ADC,
SigmaTel 3D
auvia0: ac97: ext id 0x605<AC97_22,AMAP,SPDIF,VRA>
audio0 at auvia0: full duplex, playback, capture, mmap, independent
VIA Technologies VT82C686A MC-97 Modem Controller (miscellaneous
communications, revision 0x20) at pci1 dev 12 function 6 not configured
vr0 at pci1 dev 13 function 0: VIA Technologies VT6102 (Rhine II) 10/100
Ethernet (rev. 0x51)
vr0: interrupting at irq 9
vr0: Ethernet address: 00:0b:2f:44:82:3d
rlphy0 at vr0 phy 16: RTL8201L 10/100 media interface, rev. 1
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0 at pcib0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
com1: console
pckbc0 at isa0 port 0x60-0x64
pms0 at pckbc0 (aux slot)
panic: intr_establish: can't share level-triggered with edge-triggered
Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x10:       lwz     r0,
0x14
(r1)
db> bt
0x005e3540: at panic+0x25c
0x005e3590: at intr_establish+0x260
0x005e35d0: at genppc_isa_intr_establish+0x20
0x005e35e0: at pckbc_isa_intr_establish+0x40
0x005e3600: at pckbc_intr_establish+0x1c
0x005e3610: at pckbport_set_inputhandler+0x4c
0x005e3640: at pmsattach+0x12c
0x005e3680: at config_attach_loc+0x1b0
0x005e36b0: at pckbport_attach_slot+0x80
0x005e36f0: at pckbc_attach_slot+0xec
0x005e3720: at pckbc_attach+0x11c
0x005e3750: at pckbc_isa_attach+0xe4
0x005e3780: at config_attach_loc+0x1b0
0x005e37b0: at isasearch+0x14c
0x005e3870: at mapply+0x38
0x005e3890: at config_search_loc+0x11c
0x005e38e0: at isarescan+0x80
0x005e3920: at isaattach+0xc8
0x005e3950: at config_attach_loc+0x1b0
0x005e3980: at pcib_callback+0x64
0x005e39b0: at config_process_deferred+0x8c
0x005e39e0: at config_attach_loc+0x1e0
0x005e3a10: at gtpci_attach+0xa14
0x005e3ae0: at config_attach_loc+0x1b0
0x005e3b10: at gt_attach_common+0xdd4
0x005e3b80: at gt_attach+0x22c
0x005e3bd0: at config_attach_loc+0x1b0
0x005e3c00: at mainbus_attach+0x190
0x005e3cf0: at config_attach_loc+0x1b0
0x005e3d20: at cpu_configure+0x158
0x005e3ee0: at main+0x1ac
0x005e3f30: at 0x1000c4
db> 


By the way, my last kernel was freezing while attaching USB devices. In fact
I have an USB-joystick connected to my Pegasos. When I remove it, my last
kernel continues until asking for the root device! Then I can type a single
character and the system freezes when typing the second!

So there seems to be a strange problem with interrupts when using gtpci.


>   http://www.jttk.zaq.ne.jp/bajzt304/netbsd-mvgbe+pegasospci
>     * mvgbe+pegasospci

This kernel boots and seems to work with a real keyboard. But if freezes
before showing the login, when running over serial console, with keyboard
detached:

NetBSD 5.99.29 (GENERIC) #0: Sun May  9 12:02:01 JST 2010
        
lance%greed.sins.soum.co.jp@localhost:/usr/src/sys/arch/ofppc/compile/GENERIC
Model: Pegasos2
total memory = 512 MB
avail memory = 481 MB
bootpath: /pci@80000000/ethernet@D/netbsd.ofppc
mainbus0 (root)
rtas0 at mainbus0: version 1, entry @pa 0x5e2000
cpu0 at mainbus0: 750 (Revision 3.1), ID 0 (primary)
cpu0: HID0 0x8090c0ac<EMCP,DOZE,DPM,ICE,DCE,SGE,BTIC,ABE,BHT>, powersave: 1
cpu0: 600.00 MHz, 512KB WB with ECC L2 cache
cpu0: L1 I-cache 32 KB 32B/line, D-cache 32 KB 32B/line
cpu0: L2 cache 128 KB 32B/line
gt0 at mainbus0: MV6436x Discovery II
gt0: id 3, 60x bus wdog=0x60ffffff,0
gt0: pipeline aack-delay conf-sb-dis
gtidmac0 at gt0 unit 0 offset 0x0000-0x0fff irq 9: Marvell IDMA Controller
gtidmac0: no dmb_speed property
gtmpsc at gt0 unit 0 not configured
gtmpsc at gt0 unit 1 not configured
gttwsi at gt0 unit 0 not configured
mvgbec0 at gt0 unit 0 offset 0x0000-0x3fff: Marvell Gigabit Ethernet
Controller
mvgbe at mvgbec0 port 0 not configured
mvgbe0 at mvgbec0 port 1 irq 9
mvgbe0: Ethernet address 00:0b:2f:7b:e5:e3
makphy0 at mvgbe0 phy 7: Marvell 88E1111 Gigabit PHY, rev. 1
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
mvgbe at mvgbec0 port 2 not configured
pegasospci0 at mainbus0
pci0 at pegasospci0 bus 0: indirect configuration space access
pchb0 at pci0 dev 0 function 0
pchb0: Marvell MV6436x System Controller (rev. 0x03)
fwohci0 at pci0 dev 1 function 0: VIA Technologies VT6306 IEEE 1394 Host
Controller (rev. 0x46)
fwohci0: interrupting at irq 9
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 00:11:06:00:00:00:4b:2f
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
pcib0 at pci0 dev 12 function 0: VIA Technologies VT8231 PCI-ISA Bridge
(rev. 0x10)
viaide0 at pci0 dev 12 function 1
viaide0: VIA Technologies VT8231 ATA100 controller
viaide0: primary channel interrupting at irq 14
atabus0 at viaide0 channel 0
viaide0: secondary channel interrupting at irq 15
atabus1 at viaide0 channel 1
uhci0 at pci0 dev 12 function 2: VIA Technologies VT83C572 USB Controller
(rev. 0x1e)
uhci0: interrupting at irq 9
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 12 function 3: VIA Technologies VT83C572 USB Controller
(rev. 0x1e)
uhci1: interrupting at irq 9
usb1 at uhci1: USB revision 1.0
VIA Technologies VT8231 Power Management Controller (miscellaneous bridge,
revision 0x10) at pci0 dev 12 function 4 not configured
auvia0 at pci0 dev 12 function 5: VIA Technologies VT82C686A AC'97 Audio
(rev 0x40)
auvia0: interrupting at irq 9
auvia0: ac97: SigmaTel STAC9766/67 codec; headphone, 20 bit DAC, 18 bit ADC,
SigmaTel 3D
auvia0: ac97: ext id 0x605<AC97_22,AMAP,SPDIF,VRA>
audio0 at auvia0: full duplex, playback, capture, mmap, independent
VIA Technologies VT82C686A MC-97 Modem Controller (miscellaneous
communications, revision 0x20) at pci0 dev 12 function 6 not configured
vr0 at pci0 dev 13 function 0: VIA Technologies VT6102 (Rhine II) 10/100
Ethernet (rev. 0x51)
vr0: interrupting at irq 9
vr0: Ethernet address: 00:0b:2f:44:82:3d
rlphy0 at vr0 phy 16: RTL8201L 10/100 media interface, rev. 1
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0 at pcib0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
com1: console
pckbc0 at isa0 port 0x60-0x64
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
attimer0 at isa0 port 0x40-0x43
pcppi0 at isa0 port 0x61
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
attimer0: attached to pcppi0
pegasospci1 at mainbus0
pci1 at pegasospci1 bus 0: indirect configuration space access
pchb1 at pci1 dev 0 function 0
pchb1: Marvell MV6436x System Controller (rev. 0x03)
genfb0 at pci1 dev 8 function 0: ATI Technologies Radeon 9200SE 5964
genfb0: no console, unable to continue
biomask 8000de0 netmask 8000de0 ttymask 8000de0
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me)
ieee1394if0: bus manager 0
uhub0 at usb0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub1 at usb1: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhidev0 at uhub0 port 2 configuration 1 interface 0
uhidev0: MOSIC SPEED-LINK Competition Pro, rev 1.10/1.00, addr 2, iclass 3/0
uhid0 at uhidev0: input=3, output=0, feature=0
wd0 at atabus0 drive 0: <FUJITSU MHV2080AH>
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488
sectors
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <TOSHIBA CD-ROM XM-6702B, , 1005> cdrom removable
Kernelized RAIDframe activated
boot device: vr0
root on vr0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.0.9
nfs_boot: my_name=pegasos
nfs_boot: my_domain=owl.de
nfs_boot: my_addr=192.168.0.4
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.0.250
root on 192.168.0.9:/export/pegasos/root
root file system type: nfs
warning: no /dev/console
Created tmpfs /dev (1015808 byte, 1952 inodes)
Sun May  9 14:09:34 CEST 2010
Not checking /: fs_passno = 0 in /etc/fstab
Starting file system checks:
192.168.0.9:/export/pegasos/root: inaccurate wcc data (ctime) detected,
disabling wcc (ctime 1273399776.271671000 1273399776.271671000, mtime
1273399776.271671000 1273399776.271671000)
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 0
Starting network.
Hostname: pegasos.owl.de
NIS domainname: owl.de
IPv6 mode: host
Configuring network interfaces:.
Adding interface aliases:.
add net default: gateway 192.168.0.250
Building databases: dev, utmp, utmpx done
wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
wsconsctl: WSKBDIO_SETENCODING: Permission denied
Starting syslogd.
Mounting all filesystems...
Clearing temporary files.
Checking quotas: done.
Starting virecover.
Checking for core dump...
savecore - - - no core dump (no dumpdev)
Starting local daemons:.
Updating motd.
Starting sshd.
Starting inetd.
Starting cron.
Sun May  9 14:09:42 CEST 2010


-- 
Frank Wille



Home | Main Index | Thread Index | Old Index