Port-atari archive

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

Re: scsi freezing problem with NetBSD current



On Mon, Nov 3, 2008 at 2:24 AM, David Ross <dross%pobox.com@localhost> wrote:
> Following up on that idea I had to use the 1.6.1 kernel and 1.6.1 sysinst to
> do the 4.0 install...  It doesn't work.  I was able to install/extract all
> the sets, but the install wasn't able to set the password, and the
> bootloader froze on boot, seemingly before loading the kernel image.
>
> But this isn't such a surprise -- I wouldn't expect the 1.6.1 stuff to be
> able to successfully install 4.0.
> The current blocker on the pure 4.0 install is the failure to successfully
> load the sysinst floppy from md2a:
> http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=39850
>
> David Ross
> dross%pobox.com@localhost

It seems, that adding brelse(bp, 0) in md_root..c to unbusy bp buffer after
biowait() fixes md2a device problems.

Could you try current kernel with this patch:
http://koti.welho.com/tmakinen/atari/netbsd-current-atari-BOOT-20081103.gz

--- md_root.c.orig      2008-11-03 21:32:43.000000000 +0200
+++ md_root.c   2008-11-03 23:27:11.000000000 +0200
@@ -247,6 +247,8 @@
                        printf("\n");

                done = bp->b_bcount - bp->b_resid;
+               brelse(bp, 0);
+
                bytes_left   -= done;
                rsp->offset  += done;
                rsp->bufp    += done;
@@ -324,6 +326,8 @@
                        printf("\n");

                done = bp->b_bcount - bp->b_resid;
+               brelse(bp, 0);
+
                nbyte        -= done;
                nread        += done;
                rsp->offset  += done;

-Tuomo


Home | Main Index | Thread Index | Old Index