From owner-freebsd-current Fri Oct 22 8: 9:48 1999 Delivered-To: freebsd-current@freebsd.org Received: from kweetal.tue.nl (kweetal.tue.nl [131.155.2.7]) by hub.freebsd.org (Postfix) with ESMTP id 5C6AE15039 for ; Fri, 22 Oct 1999 08:09:30 -0700 (PDT) (envelope-from K.R.A.M.Schreel@wtb.tue.nl) Received: from wop5.wop.wtb.tue.nl [131.155.56.55] by kweetal.tue.nl (8.9.3) id RAA05812 (ESMTP); Fri, 22 Oct 1999 17:09:22 +0200 (MDT) Received: from wtb.tue.nl (wop24.wop.wtb.tue.nl [131.155.56.116]) by wop5.wop.wtb.tue.nl (8.8.8/8.6.9) with ESMTP id PAA11806; Fri, 22 Oct 1999 15:09:21 GMT Message-ID: <38107E21.59FC54D0@wtb.tue.nl> Date: Fri, 22 Oct 1999 17:09:21 +0200 From: Koen Schreel Organization: Eindhoven University of Technology X-Mailer: Mozilla 4.6 [en] (X11; I; FreeBSD 3.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Luoqi Chen Cc: current@FreeBSD.ORG Subject: Re: aic driver camified References: <199910201925.PAA10475@lor.watermarkgroup.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Luoqi Chen wrote: > > > I cannot compile a kernel. It reports the following errors: > > Did the patch files.diff apply cleanly? It should add one line to each of > the sys/conf/files and sys/i386/conf/files.i386, please make sure they > are there. > The patches did not apply cleanly (maybe I should take a better look at the patch command), but a quick glance at the diff file revealed the two lines to be added. I added them manually, but still the problem exists. Then I took it another step further, and added aic.c and aic.o in the Makefile in the compile directory. This is not how it is supposed to be, I think, but now it compiles. I used the latest files on the site (21 october), and some improvement is noticed, but it still does not work. I only tested the new code under STABLE. When booting with the scanner switched on, it is being recognised and the boot continues, but sane does not recognise it (which it does when the scanner is connected to the on-board controller). When sane is trying to recognise the scanner, a the following line is written in the logs: Oct 22 16:04:39 diabolo /kernel: ccb 0xc0dec800 sense failed 2 A camcontrol rescan times out with the following message: (probe6:aic0:0:6:0): ccb 0xc0df1c00 - timed out I moved then the Philips CD writer (not the greatest of all SCSI devices, but it works) to the aic controller, but then the machine hangs at boot time with a lot of time out messages like: (probe17:aic0:0:2:2): ccb 0xc0dffe00 - timed out (probe17:aic0:0:2:2): ccb 0xc0dffe00 - timed out (probe17:aic0:0:2:3): ccb 0xc0dffe00 - timed out (probe17:aic0:0:2:3): ccb 0xc0dffe00 - timed out ... (probe17:aic0:0:2:7): ccb 0xc0dffe00 - timed out (probe17:aic0:0:2:7): ccb 0xc0dffe00 - timed out Between each set of identical lines the CD recorder reinitializes and there is some time (~15s) between the two identical lines. Hope this helps a bit :-) Koen. -- Dr. K.R.A.M. Schreel | Eindhoven University of Technology | Faculty of Mechanical Engineering Combustion Research | Section Energy Technology | P. O. Box 513 K.R.A.M.Schreel@wtb.tue.nl | 5600 MB Eindhoven, The Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message