From owner-freebsd-scsi Sun Nov 18 11:39:38 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id B5E0C37B419 for ; Sun, 18 Nov 2001 11:39:24 -0800 (PST) Received: (from ken@localhost) by panzer.kdm.org (8.11.6/8.9.1) id fAIJbiw04945; Sun, 18 Nov 2001 12:37:44 -0700 (MST) (envelope-from ken) Date: Sun, 18 Nov 2001 12:37:43 -0700 From: "Kenneth D. Merry" To: Len Conrad Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: b_bcount 36 is not on a sector boundary Message-ID: <20011118123743.A4903@panzer.kdm.org> References: <5.1.0.14.0.20011118114657.028455f8@mail.Go2France.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <5.1.0.14.0.20011118114657.028455f8@mail.Go2France.com>; from LConrad@Go2France.com on Sun, Nov 18, 2001 at 11:47:03AM +0000 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Nov 18, 2001 at 11:47:03 +0000, Len Conrad wrote: > FreeBSD 4.4 Release, dmesg is showing: > > ahc0: port 0xdc00-0xdcff mem > 0xfeaff000-0xfeafffff irq 5 at device 5.0 on pci2 > aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs > ahc1: port 0xd800-0xd8ff mem > 0xfeafe000-0xfeafefff irq 3 at device 5.1 on pci2 > aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/255 SCBs > pcib3: on motherboard > ... > da0: Fixed Direct Access SCSI-3 device > da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing > Enabled > da0: 17366MB (35566478 512 byte sectors: 255H 63S/T 2213C) > Mounting root from ufs:/dev/da0s1a > dscheck(#da/2): b_bcount 36 is not on a sector boundary (ssize 512) > dscheck(#da/2): b_bcount 36 is not on a sector boundary (ssize 512) > dscheck(#da/2): b_bcount 36 is not on a sector boundary (ssize 512) > dscheck(#da/2): b_bcount 36 is not on a sector boundary (ssize 512) > dscheck(#da/2): b_bcount 36 is not on a sector boundary (ssize 512) > dscheck(#da/2): b_bcount 36 is not on a sector boundary (ssize 512) > > Is this hardware, driver ? > > This is a dedicated FreeBSD + postfix + Kaspersky + avcheck anti-virus mail > relay box. We can send 100's of msgs through it and no errors. We send > one msg with a virus attached, and the above error occurs. > > Form what I can find on google, this error seems related to SCSI driver, > but that was for FreeBSD 4.0, not 4.4. > > I'd appreciate some feedback. The client is on the verge of deciding > FreeBSD doesn't support his new Dell hardware. Something is attempting to do I/O to da0c that isn't a sector multiple in size. In general, this probably means that something is accessing the raw device, since the filesystem code shouldn't be doing I/O that isn't a sector multiple. Do you have some application that is doing raw I/O to the drive? Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message