Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!col.hp.com!usenet.eel.ufl.edu!tank.news.pipex.net!pipex!howland.reston.ans.net!blackbush.xlink.net!news.dfn.de!RRZ.Uni-Koeln.DE!zpr.uni-koeln.de!se From: se@ZPR.Uni-Koeln.DE (Stefan Esser) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: FreeBSD 2.1 and HP-C3725C Disk Date: 14 Jan 1996 22:07:02 GMT Organization: Institute for Mathematics, University of Cologne, Germany Lines: 66 Sender: se@Sysiphos (Stefan Esser) Message-ID: <4dbuq6$6bh@news.rrz.uni-koeln.de> References: <4d6ep0$54t@mojo.schoene.adviser.com> NNTP-Posting-Host: sysiphos.mi.uni-koeln.de To: news@Adviser.com (News Admin) Bcc: se In article <4d6ep0$54t@mojo.schoene.adviser.com>, news@Adviser.com (News Admin) writes: |> Hello, |> |> i'am new with FreeBSD. I have a problem with an HP-C3725C disk |> and FreeBSD. This disk works fine with win95,winnt,linux,bsdos2.1 |> but with FreeBSD 2.1 it says only: |> |> an 12 20:56:02 gala /kernel: sd0(ncr0:0:0): ABORTED COMMAND asc:4e,0 Overlapped commands attempted |> Jan 12 20:56:02 gala /kernel: , FAILURE |> Jan 12 20:56:02 gala /kernel: sd0: error reading primary partition table reading fsbn 0 (sd0 bn 0; cn 0 tn 0 sn 0) The "Overlapped command" is normally an indication of mixing tagged commands and "normal" commands. But the driver has not been accused of that before ;-) The third line inidactes, that this is a failure at boot time. It appears, that a few commands had been successfully executed by the drive (i.e. the IDENTIFY) and that it fails on the first actual disk data transfer ... You seem to have access to other drives. Could you please try to build a kernel with tagged commands disabled ? The patch is to replace ncr_setmaxtags (tp, SCSI_NCR_MAX_TAGS); with ncr_setmaxtags (tp, 0); in /sys/pci/ncr.c (line 6228 in my current sources). Please do not change the value of SCSI_NCR_MAX_TAGS, since it is used to dimension some internal tables. |> I installed FreeBSD 2.1 on another disk in the same system without any |> problem. Well, yes. It works well with most current SCSI disk drives, though it is a bit picky with a few cheap CDROM drives. If you find that it works with the HP drive after tags have been disabled, then we might try to further diagnose the problem. This will require building a kernel with the config line: options "SCSI_DEBUG_FLAGS=0x600" This will print trace messages for synchronous transfer negotiation and tag use (which should be disabled by default after the patch, but you can use ncrcontrol to re-enable tags anytime the system is running ...). Regards, STefan -- Stefan Esser, Zentrum fuer Paralleles Rechnen Tel: +49 221 4706021 Universitaet zu Koeln, Weyertal 80, 50931 Koeln FAX: +49 221 4705160 ============================================================================== http://www.zpr.uni-koeln.de/~se <se@ZPR.Uni-Koeln.DE>