From owner-freebsd-questions Wed Feb 22 11:25:57 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id LAA27038 for questions-outgoing; Wed, 22 Feb 1995 11:25:57 -0800 Received: from estienne.cs.berkeley.edu (estienne.CS.Berkeley.EDU [128.32.42.147]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id LAA27017 for ; Wed, 22 Feb 1995 11:25:50 -0800 Received: from localhost (localhost [127.0.0.1]) by estienne.cs.berkeley.edu (8.6.9/8.6.9) with SMTP id LAA19482; Wed, 22 Feb 1995 11:24:59 -0800 Message-Id: <199502221924.LAA19482@estienne.cs.berkeley.edu> X-Authentication-Warning: estienne.cs.berkeley.edu: Host localhost didn't use HELO protocol To: jake@ibmPCUG.CO.UK cc: moto@cs.cmu.edu, freebsd-questions@FreeBSD.org Subject: Re: AHA2940 working?? In-reply-to: Your message of "Wed, 22 Feb 1995 10:46:22 GMT." <9502221046.aa01391@kate.ibmpcug.co.uk> Date: Wed, 22 Feb 1995 11:24:57 -0800 From: "Justin T. Gibbs" Sender: questions-owner@FreeBSD.org Precedence: bulk >> >I've just bought a Pentium 100 with AHA2940 board. I've been trying to >> >install 2.0-950210-SNAP but it hangs when the machine boots from a >> >floppy right after the message >> > >> > ahc0 targ 0 lun 0: type 0(direct) fixed SCSI2 >> > ahc0 targ 0 lun 0: >> > >> >Did anyone suceed to get AHA2940 work with FreeBSD? Had I better try >> >-current instead of the latest snapshot? > >> Some have had success and some have not. I have just made some changes >> to the current driver that may solve this problem, but I cannot say for >> sure. > >I have found that a successful boot is hard to come by but >once it works, it will work fine even with after a reboot/shutdown -r > >The problem seems to only when cold starting. > >> >Motonori Shindou Carnegie Mellon University SCS Graduate Studen >t > >> Justin T. Gibbs > >Regards, >Jake Dias >PC User Group Do you have a kernel source tree? If so, do you mind testing out my latest version of the kernel driver?? The files you will need to update are: ftp.cdrom.com://pub/FreeBSD/FreeBSD-current/src/sys/i386/scsi/* ftp.cdrom.com://pub/FreeBSD/FreeBSD-current/src/sys/i386/isa/aic7770.c ftp.cdrom.com://pub/FreeBSD/FreeBSD-current/src/sys/pci/aic7870.c ftp.cdrom.com://pub/FreeBSD/FreeBSD-current/src/sys/gnu/misc/aic7xxx/* And a one line change to then end of src/sys/scsi/scsi_all.h: /* * Status Byte */ #define SCSI_OK 0x00 #define SCSI_CHECK 0x02 #define SCSI_BUSY 0x08 #define SCSI_INTERM 0x10 #define SCSI_QUEUE_FULL 0x28 <=== This is new #endif /*_SCSI_SCSI_ALL_H*/ Thanks! -- Justin T. Gibbs ============================================== TCS Instructional Group - Programmer/Analyst 1 Cory | Po | Danube | Volga | Parker | Torus ==============================================