Subject: Re: ahd0: board is not responding
To: None <current-users@netbsd.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: current-users
Date: 01/24/2008 12:02:36
On Thu, Jan 24, 2008 at 11:56:22AM +0100, Kurt Schreiner wrote:
> Hi,
>
> what would be the "magic incantation" to get this fallout
> from pmf out of the way? This wouldn't be a real problem,
> but the machine needs to be power switched to get up again
> most of the time...
> (This is on amd64, -current from Fri Jan 18 14:11:45 CET 2008)
>
> Kurt
>
> Jan 24 11:45:59 shutdown: reboot by ks:
> Jan 24 11:45:59 isunopti shutdown: reboot by ks:
> Jan 24 11:46:06 isunopti syslogd: Exiting on signal 15
> syncing disks... 1 done
> unmounting file systems... done
> ahd0: board is not responding
> cmd fail
> ahd0: ahd_timeout
> ahd0:SCB 0xd - timed out
> >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
[snip]
Since vmlocking2 broke closing the root device on reboot I use this "patch":
RCS file: /cvsroot/src/sys/dev/scsipi/sd.c,v
--- sd.c 25 Dec 2007 18:33:43 -0000 1.269
+++ sd.c 24 Jan 2008 11:01:40 -0000
@@ -2126,4 +2126,5 @@ sd_flush(struct sd_softc *sd, int flags)
return (0);
+if ((flags & XS_CTL_POLL)) return EIO;
sd->flags |= SDF_FLUSHING;
memset(&cmd, 0, sizeof(cmd));
--
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)