NetBSD-Bugs archive

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

Re: kern/48858

The following reply was made to PR kern/48858; it has been noted by GNATS.

From: Roy Bixler <>
Subject: Re: kern/48858
Date: Wed, 4 Jun 2014 20:05:11 -0600

 I found out what was missing.  It turns out that the patch to siside.c
 (v. 1.35 -> 1.36) was valid, but it was also necessary to sync the
 timing settings from FreeBSD 10 (sys/dev/ata/chipsets/ata-sis.c, lines
 266-267).  Here is the patch:
 --- pciide_sis_reg.h.orig       2009-10-19 18:41:16.000000000 +0000
 +++ pciide_sis_reg.h    2014-06-02 18:00:46.000000000 +0000
 @@ -108,4 +108,5 @@
  static const u_int32_t sis_dma133new_tim[] __unused =
      {0x22196008, 0x0c0a3008, 0x05093008};
  static const u_int32_t sis_udma133new_tim[] __unused =
 -    {0x9f4, 0x64a, 0x474, 0x254, 0x234, 0x224, 0x214};
 +  /* {0x9f4, 0x64a, 0x474, 0x254, 0x234, 0x224, 0x214}; */
 +    {0x9fc, 0x6ac, 0x47c, 0x25c, 0x23c, 0x22c, 0x21c};
 With this, I was able to mount the CD-ROM and see that it was very
 busy while reading files for the following test:
 find /cdrom -type f|xargs wc
 I also built and burned an install CD-ROM with the patched kernel.
 The CD-ROM booted and the installation was successful.
 Roy Bixler <>
 "The fundamental principle of science, the definition almost, is this: the
 sole test of the validity of any idea is experiment."
 -- Richard P. Feynman

Home | Main Index | Thread Index | Old Index