gpioiic broken

Mori Hiroki yamori813 at yahoo.co.jp
Mon Feb 17 15:22:39 UTC 2020


Hi

Panic is cause of this.

https://svnweb.freebsd.org/base?view=revision&revision=355490


Please fix this.

Thanks


----- Original Message -----
> From: Mori Hiroki <yamori813 at yahoo.co.jp>
> To: "freebsd-mips at freebsd.org" <freebsd-mips at freebsd.org>
> Cc: 
> Date: 2020/2/17, Mon 13:20
> Subject: Re: gpioiic broken
> 
> Hi
> 
> gpioiic.c gpiobusvar.h gpiobus.c back to r354532. Work fine.
> 
> 
> ----- Original Message -----
>>  From: Mori Hiroki <yamori813 at yahoo.co.jp>
>>  To: "freebsd-mips at freebsd.org" <freebsd-mips at freebsd.org>
>>  Cc: 
>>  Date: 2020/2/17, Mon 09:51
>>  Subject: gpioiic broken
>> 
>>  Hi
>> 
>>  I try update 12-STABLE my AR5315 module. I have panic on gpioiic.
>> 
>>  ---<<BOOT>>---
>> 
>>  AHB Master Arbitration Control 00000021
>>  Byteswap Control 0000842e
>>  KDB: debugger backends: ddb
>>  KDB: current backend: ddb
>>  Copyright (c) 1992-2020 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.1-STABLE #0 9c6eed97e20(stable/12)-dirty: Sun Feb 16 19:31:47 
> JST 
>>  2020
>>      
>> 
> hiroki at zrouter:/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd/mips.mips/sys/IOData_WN-G54_R3 
> 
>>  mips
>>  gcc version 4.2.1 20070831 patched [FreeBSD]
>>  real memory  = 16777216 (16384K bytes)
>>  avail memory = 11653120 (11MB)
>>  arc4random: no preloaded entropy cache
>>  random: entropy device external interface
>>  nexus0: <MIPS32 root nexus>
>>  cpupic0: <MIPS32 Interrupt Controller> on nexus0
>>  apb0: <APB Bus bridge INTRNG> at irq 0 on nexus0
>>  clock0: <Generic MIPS32 ticker> on nexus0
>>  Timecounter "MIPS32" frequency 92000000 Hz quality 800
>>  Event timer "MIPS32" frequency 92000000 Hz quality 800
>>  uart0: <16550 or compatible> on apb0
>>  uart0: console (9600,n,8,1)
>>  gpio0: <Atheros AR531x GPIO driver> on apb0
>>  gpio0: [GIANT-LOCKED]
>>  gpio0: gpio pinmask=0x7fffff
>>  gpiobus0: <GPIO bus> on gpio0
>>  gpioled1: <GPIO led> at pin 1 on gpiobus0
>>  gpioiic0: <GPIO I2C> at pins 4,7 on gpiobus0
>>  Trap cause = 2 (TLB miss (load or instr. fetch) - kernel mode)
>>  panic: trap
>>  time = 1
>>  KDB: enter: panic
>>  [ thread pid 0 tid 100000 ]
>>  Stopped at      _DYNAMIC_LINKING+0x3:
>>  db> where
>>  Tracing pid 0 tid 100000 td 0x80378700
>>  kdb_enter+0x48 (?,?,?,?) ra 80112c58 sp 803b8998 sz 24
>>  vpanic+0x124 (?,?,?,?) ra 80112ce8 sp 803b89b0 sz 32
>>  shutdown_nice (?,0,0,0) ra 802b853c sp 803b89d0 sz 32
>>  trap+0x2c8 (?,?,?,?) ra 802a6e90 sp 803b89f0 sz 240
>>  MipsKernGenException+0x134 (?,?,?,?) ra 0 sp 803b8ae0 sz 0
>>  --- exception, cause ffffffff80566100 badvaddr ffffffff8014a334 ---
>>  device_get_nameunit (?,?,?,?) ra 8007521c sp 803b8ba8 sz 0
>>  gpio_pin_getcaps+0xd08 (?,?,?,?) ra 0 sp 803b8ba8 sz 0
>>  db> 
>> 
>>  _______________________________________________
>>  freebsd-mips at freebsd.org mailing list
>>  https://lists.freebsd.org/mailman/listinfo/freebsd-mips 
>>  To unsubscribe, send any mail to 
>>  "freebsd-mips-unsubscribe at freebsd.org"
>> 
> 
> _______________________________________________
> freebsd-mips at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-mips 
> To unsubscribe, send any mail to 
> "freebsd-mips-unsubscribe at freebsd.org"
> 



More information about the freebsd-mips mailing list