NetBSD-Bugs archive

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

Re: port-hpcmips/43473: panic: extent_alloc_subregion: bad boundary



The following reply was made to PR port-hpcmips/43473; it has been noted by 
GNATS.

From: Risto Sainio <sainio%t-online.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-hpcmips/43473: panic: extent_alloc_subregion: bad boundary
Date: Mon, 19 Jul 2010 18:45:08 +0200

 On Friday 16 July 2010, Izumi Tsutsui wrote:
 > The following reply was made to PR port-hpcmips/43473; it has been noted by
 > GNATS.
 >
 > From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc: port-hpcmips-maintainer%NetBSD.org@localhost, 
 > gnats-admin%NetBSD.org@localhost,
 >         netbsd-bugs%NetBSD.org@localhost, tsutsui%ceres.dti.ne.jp@localhost
 > Subject: Re: port-hpcmips/43473: panic: extent_alloc_subregion: bad
 > boundary Date: Sat, 17 Jul 2010 01:17:28 +0900
 >
 >  > >Fix:
 >  >
 >  > Dunno, maybe we do not need boundary at all, but I fixed it
 >  > conditionally in .../hpcmips/dev/plumohci.c in function
 >  > __plumohci_dmamem_alloc:
 >
 >  With a quick glance, it doesn't look there is any boundary restriction
 >  on plumohci. Could you try this one instead?
 >
 >  Index: plumohci.c
 >  ===================================================================
 >  RCS file: /cvsroot/src/sys/arch/hpcmips/dev/plumohci.c,v
 >  retrieving revision 1.12
 >  diff -u -r1.12 plumohci.c
 >  --- plumohci.c      3 Apr 2008 17:04:40 -0000       1.12
 >  +++ plumohci.c      16 Jul 2010 16:15:02 -0000
 >  @@ -241,7 +241,7 @@
 >       */
 >      error = bus_space_alloc(sc->sc.iot, PLUM_OHCI_SHMEMBASE,
 >          PLUM_OHCI_SHMEMBASE + PLUM_OHCI_SHMEMSIZE - 1,
 >  -       size, OHCI_PAGE_SIZE, OHCI_PAGE_SIZE, 0,
 >  +       size, OHCI_PAGE_SIZE, 0, 0,
 >          (bus_addr_t *)(void *)&caddr, &bsh);
 >      if (error)
 >              return (1);
 >
 >  ---
 >  Izumi Tsutsui
 
 Hi
 
 Tested in 5.0.2 PATCH and seems to work
 
 Risto
 


Home | Main Index | Thread Index | Old Index