Current-Users archive

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

Re: fwohci panic at boot



Hi! Christoph,


From: "Christoph Egger" <Christoph_Egger%gmx.de@localhost>
Date: Mon, 17 May 2010 18:39:55 +0200

> Done. It boots further:
> 
> fwohci0: BUS reset
> fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
> panic: kernel diagnostic assertion "!cpu_intr_p()" failed: file 
> "sys/kern/subr_kmem.c", line 195
> fatal breakpoint trap in supervisor mode
> trap type 1 code 0 rip ffffffff8022a07d cs 8 rflags 246 cr2  0 cpl 6 rsp 
> ffffffff80f31b78
> Stopped in pid 0.1 (system) at  netbsd:breakpoint+0x5:  leave
> db{0}> bt
> breakpoint() at netbsd:breakpoint+0x5
> panic() at netbsd:panic+0x2ba
> kern_assert() at netbsd:kern_assert+0x2d
> kmem_alloc() at netbsd:kmem_alloc+0x140
> fwohci_intr() at netbsd:fwohci_intr+0xbe8

hmm...
Maybe, you are doing panic because of kmem in fwohci_task_sid.

  static void
  fwohci_task_sid(struct fwohci_softc *sc)
  {
     :
        buf = kmem_alloc(OHCI_SIDSIZE, KM_NOSLEEP);
     :
        kmem_free(buf, OHCI_SIDSIZE);
  }


I think that I can evade by replacing these to malloc/free or allocate
a static buffer like newrom_space.  However, my machine can't reboot
now.
Could you wait until the weekend?
# Moreover, some bus_dmamap_sync that did not exist was found.  X-<

Thanks,
--
kiyohara



Home | Main Index | Thread Index | Old Index