Subject: Re: booting GENERIC kernel fails
To: None <current-users@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 01/19/2004 21:58:40
--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Sat, Jan 17, 2004 at 07:19:56PM +0100, Jukka Salmi wrote:
> db> tr
> kprintf(c06f24c0,5,0,0,cb3ededc) at netbsd:kprintf+0x893
> aprint_normal(c06f24c0,1c,c112401c,1,0) at netbsd:aprint_normal+0x4b
> wdc_print_modes(c1124298,0,0,0,0) at netbsd:wdc_print_modes+0x4c
> atabusconfig(c11d3b80,0,0,cb3e11a4,cb3d84d4) at netbsd:atabusconfig+0x1fb
> atabus_thread(c11d3b80,861000,86a000,0,c010030c) at netbsd:atabus_thread+0x52
> db>
Hi,
I think I got it. Can you try the attached patch ?
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diff
Index: atapi_wdc.c
===================================================================
RCS file: /home/bouyer/anoncvs/cvs/src/sys/dev/scsipi/atapi_wdc.c,v
retrieving revision 1.68
diff -u -r1.68 atapi_wdc.c
--- atapi_wdc.c 3 Jan 2004 23:59:58 -0000 1.68
+++ atapi_wdc.c 19 Jan 2004 20:57:40 -0000
@@ -302,6 +302,8 @@
wdc_probe_caps(drvp);
else
drvp->drive_flags &= ~DRIVE_ATAPI;
+ } else {
+ drvp->drive_flags &= ~DRIVE_ATAPI;
}
}
--W/nzBZO5zC0uMSeA--