NetBSD-Bugs archive

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

Re: port-sparc64/54810: sparc64 pool_redzone_check errors during install



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

From: Harold Gutch <logix%foobar.franken.de@localhost>
To: Andreas Gustafsson <gson%gson.org@localhost>
Cc: Martin Husemann <martin%duskware.de@localhost>, gnats-bugs%netbsd.org@localhost
Subject: Re: port-sparc64/54810: sparc64 pool_redzone_check errors during install
Date: Mon, 26 Oct 2020 12:41:20 +0100

 On Mon, Oct 26, 2020 at 12:32:18PM +0200, Andreas Gustafsson wrote:
 > Martin Husemann wrote:
 > >  This is clearly a bug. The medium has 2k sectors, we are not allowed to
 > >  use the buffer cache with blocks smaller than that (or with varying block
 > >  sizes).
 > 
 > Regardless of which way we choose to fix this, it would also be
 > helpful to have an assertion somehwere to catch this error when it
 > happens again.
 
 Michael supplied me off-list with a patch that handles this in
 sys/dev/scsipi/cd.c and I successfully went two "minimal" installs
 with it (and all my other edits reverted).  He was going to commit it
 too.
 
 And I agree, having an assertion somewhere would be a good idea.
 
 
   Harold
 



Home | Main Index | Thread Index | Old Index