Date: Wed, 14 Nov 2018 10:46:20 +0300 From: Michael Zhilin <mizhka@gmail.com> To: Mori Hiroki <yamori813@yahoo.co.jp> Cc: freebsd-mips@freebsd.org Subject: Re: BCM/mips still hang up Message-ID: <CAF19XBKc6xP0tUkyuAhpeBC1LQSUTnGW3yHNtZvhcnT1Y3CmnA@mail.gmail.com> In-Reply-To: <952422.39638.qm@web103909.mail.ssk.yahoo.co.jp> References: <376089.55679.qm@web103915.mail.ssk.yahoo.co.jp> <386566.36409.qm@web103917.mail.ssk.yahoo.co.jp> <952422.39638.qm@web103909.mail.ssk.yahoo.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Hiroki-san, Blame on me... I have buggy code of network driver, so I don't want to commit it into tree. On TX path it free buffer for each interrupt call. But not each TX packet causes interrupt, so I need to fix post-TX cleanup function to free all mbuf until current descriptor. In addition, I'm not sure it's last bug ;) Thx! On Wed, Nov 14, 2018 at 1:39 AM Mori Hiroki <yamori813@yahoo.co.jp> wrote: > Hi > > > BCM5357(bcma) can boot and login. > > > https://dmesgd.nycbug.org/index.cgi?do=view&id=4578 > > But this have no network interface... > > Hiroki Moiri > > > > ----- Original Message ----- > > From: Mori Hiroki <yamori813@yahoo.co.jp> > > To: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> > > Cc: > > Date: 2018/11/14, Wed 07:01 > > Subject: Re: BCM/mips still hang up > > > > Hi. > > > > I found may be same problem cns11xx(arm) before. > > > > I think this problem cuase of uart and interrupt. > > > > Old Rays code work on fine on BCM/mips. But same > > time that have same hang up problem. I doubt > > merge INTERNG in system. > > > > Thanks > > > > Hiroki Mori > > > > ----- Original Message ----- > >> From: Mori Hiroki <yamori813@yahoo.co.jp> > >> To: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> > >> Cc: > >> Date: 2018/11/12, Mon 14:26 > >> Subject: BCM/mips still hang up > >> > >> Hi > >> > >> I try to 12.0-BETA4 on BCM5351 & BCM5352. It sill hang up on boot. > >> This log. > >> > >> entry: mips_init() > >> Cache info: > >> picache_stride = 4096 > >> picache_loopcount = 4 > >> pdcache_stride = 4096 > >> pdcache_loopcount = 2 > >> max line size = 16 > >> cpu0: Broadcom processor v8.144 > >> MMU: Standard TLB, 32 entries (1K 4K 16K 64K 256K 1M 16M 64M 256M pg > > sizes) > >> L1 i-cache: 2 ways of 512 sets, 16 bytes per line > >> L1 d-cache: 2 ways of 256 sets, 16 bytes per line > >> L2 cache: disabled > >> Config1=0x3ed94c82<EJTAG> > >> ---<<BOOT>>--- > >> KDB: debugger backends: ddb > >> KDB: current backend: ddb > >> Copyright (c) 1992-2018 The FreeBSD Project. > >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > 1994 > >> The Regents of the University of California. All rights reserved. > >> FreeBSD is a registered trademark of The FreeBSD Foundation. > >> FreeBSD 12.0-BETA4 e78279655eb(stable/12) Buffalo_WHR-HP-G54 mips > >> gcc version 4.2.1 20070831 patched [FreeBSD] > >> real memory = 16109568 (15732K bytes) > >> avail memory = 11276288 (10MB) > >> arc4random: no preloaded entropy cache > >> random: entropy device external interface > >> nexus0: <MIPS32 root nexus> > >> bhnd_nvram0: <Broadcom> on nexus0 > >> bhnd0: <BCM5352 SIBA bus> at mem 0x18000000-0x180fffff on nexus0 > >> bhnd_chipc0: <Broadcom ChipCommon I/O Controller, rev 14> mem > >> > > > 0x18000000-0x18000dff,0x1fc00000-0x1fffffff,0x1c000000-0x1dffffff,0x1a000000-0x1bffffff,0x18000f00-0x18000fff,0x18000e00-0x18000eff > > > > >> irq 8 at core 0 on bhnd0 > >> gpio0: <Broadcom ChipCommon GPIO> mem 0x18000000-0x18000dff on > > bhnd_chipc0 > >> gpiobus0: <GPIO bus> on gpio0 > >> cpupic0: <MIPS32 Interrupt Controller> on nexus0 > >> bcm_mips0: <Broadcom BMIPS33 CPU, rev 6> mem > >> 0x18002000-0x18002dff,0x18002f00-0x18002fff,0x18002e00-0x18002eff irq > 10 at > > core > >> 2 on bhnd0 > >> bhnd_pwrctl0: <ChipCommon Power Control> on bhnd_chipc0 > >> clock0: <Generic MIPS32 ticker> on nexus0 > >> Timecounter "MIPS32" frequency 100000000 Hz quality 800 > >> Event timer "MIPS32" frequency 100000000 Hz quality 800 > >> gpioc0: <GPIO controller> on gpio0 > >> uart0: <16750 or compatible> mem 0x18000300-0x180003ff irq 13 on > >> bhnd_chipc0 > >> uart0: console (115200,n,8,1) > >> uart1: <16750 or compatible> mem 0x18000400-0x180004ff irq 14 on > >> bhnd_chipc0 > >> cfi1: <Broadcom ChipCommon CFI> mem > >> 0x1c000000-0x1dffffff,0x18000040-0x1800004b on bhnd_chipc0 > >> cfid0 on cfi1 > >> bhnd0: <Broadcom Fast Ethernet MAC, rev 9> mem > >> 0x18001000-0x18001dff,0x18001f00-0x18001fff,0x18001e00-0x18001eff irq > 9 at > > core > >> 1 (no driver attached) > >> bhnd0: <Broadcom USB 1.1 Host Controller, rev 2> mem > >> 0x18003000-0x18003dff,0x18003f00-0x18003fff,0x18003e00-0x18003eff irq > 11 at > > core > >> 3 (no driver attached) > >> bhnd0: <Broadcom MEMC SDRAM Controller, rev 1> mem > >> > > > 0x18004000-0x18004dff,0-0x7ffffff,0x10000000-0x17ffffff,0x80000000-0x9fffffff,0x18004f00-0x18004fff,0x18004e00-0x18004eff > > > > >> at core 4 (no driver attached) > >> bhnd0: <Broadcom 802.11 MAC/PHY/Radio, rev 9> mem > >> 0x18005000-0x18005dff,0x18005f00-0x18005fff,0x18005e00-0x18005eff irq > 12 at > > core > >> 5 (no driver attached) > >> bhnd0: <Broadcom RoboSwitch, rev 2> mem > >> 0x18006000-0x18006dff,0x18006f00-0x18006fff,0x18006e00-0x18006eff at > core 6 > > (no > >> driver attached) > >> cfi0 at mem 0x1c000000-0x1dffffff on nexus0 > >> nexus_alloc_resource: could not reserve resource for cfi0 > >> device_attach: cfi0 attach returned 6 > >> Timecounters tick every 10.000 msec > >> Trying to mount root from cd9660:/dev/map/rootfs.uzip []... > >> Warning: no time-of-day clock registered, system time will not be set > > accurately > >> kern.coredump: > >> _______________________________________________ > >> freebsd-mips@freebsd.org mailing list > >> https://lists.freebsd.org/mailman/listinfo/freebsd-mips > >> To unsubscribe, send any mail to > >> "freebsd-mips-unsubscribe@freebsd.org" > >> > > > > _______________________________________________ > > freebsd-mips@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > > To unsubscribe, send any mail to > > "freebsd-mips-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-mips@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF19XBKc6xP0tUkyuAhpeBC1LQSUTnGW3yHNtZvhcnT1Y3CmnA>