From owner-freebsd-scsi Sun Nov 18 3:48: 0 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from mgw1.MEIway.com (mgw1.meiway.com [212.73.210.75]) by hub.freebsd.org (Postfix) with ESMTP id 68E4A37B416 for ; Sun, 18 Nov 2001 03:47:49 -0800 (PST) Received: from mail.Go2France.com (ms1.meiway.com [212.73.210.73]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 35CE016B16 for ; Sun, 18 Nov 2001 12:47:47 +0100 (CET) Received: from IBM-HIRXKN66F0W.Go2France.com [193.251.49.218] by mail.Go2France.com with ESMTP (SMTPD32-6.06) id A2B8E101B2; Sun, 18 Nov 2001 12:59:52 +0100 Message-Id: <5.1.0.14.0.20011118114657.028455f8@mail.Go2France.com> X-Sender: LConrad@Go2France.com@mail.Go2France.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 18 Nov 2001 11:47:03 +0000 To: freebsd-scsi@freebsd.org From: Len Conrad Subject: b_bcount 36 is not on a sector boundary Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 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. Len http://MenAndMice.com/DNS-training http://BIND8NT.MEIway.com : ISC BIND 8.2.4 for NT4 & W2K http://IMGate.MEIway.com : Build free, hi-perf, anti-abuse mail gateways To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message 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 From owner-freebsd-scsi Sun Nov 18 14:20:37 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from melchior.cuivre.fr.eu.org (melchior.enst.fr [137.194.161.6]) by hub.freebsd.org (Postfix) with ESMTP id DC66D37B417 for ; Sun, 18 Nov 2001 14:20:32 -0800 (PST) Received: from melusine.cuivre.fr.eu.org (melusine.enst.fr [137.194.160.34]) by melchior.cuivre.fr.eu.org (Postfix) with ESMTP id A6089C3B3; Sun, 18 Nov 2001 23:20:30 +0100 (CET) Received: by melusine.cuivre.fr.eu.org (Postfix, from userid 1000) id 129E024D0B; Sun, 18 Nov 2001 23:20:29 +0100 (CET) Date: Sun, 18 Nov 2001 23:20:29 +0100 From: Thomas Quinot To: Marc Fonvieille Cc: freebsd-scsi@freebsd.org Subject: Re: SCSI->IDE Message-ID: <20011118232028.A69772@melusine.cuivre.fr.eu.org> Reply-To: thomas@cuivre.fr.eu.org References: <20011117164551.A522@gothic.blackend.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20011117164551.A522@gothic.blackend.org>; from fonvi@easynet.fr on Sat, Nov 17, 2001 at 04:45:51PM +0100 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 Le 2001-11-17, Marc Fonvieille écrivait : > i tried the patch on 2 stable boxes: Thanks ofr the tests and report! > 1st box with a PHILIPS CDD3610 CD-R/RW burner and all is running fine > 2nd box with a SONY CD-ROM CDU611 drive (it's not a burner) and it hangs > after the message: > (noperiph:atapi1:0:-1:-1): Registered SIM for ata1 > > The drive is master and alone on the 2nd controller: > acd0: CDROM at ata1-master using PIO4 What version of the patch did you use? Is it an SMP box? Also, could you please send me the complete dmesg output from the 2nd box? Thomas. -- Thomas.Quinot@Cuivre.FR.EU.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Nov 19 4:37: 9 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from smarthost2.mail.easynet.fr (smarthost2.mail.easynet.fr [212.180.1.69]) by hub.freebsd.org (Postfix) with ESMTP id AD70937B416 for ; Mon, 19 Nov 2001 04:37:05 -0800 (PST) Received: from smtp1.mail.easynet.fr (slb-1-sippriv.mail.easynet.fr [10.0.1.57]) by smarthost2.mail.easynet.fr (Postfix) with ESMTP id 61453B997 for ; Mon, 19 Nov 2001 13:37:04 +0100 (CET) Received: from gothic.blackend.org (unknown [212.11.50.35]) by smtp1.mail.easynet.fr (Postfix) with ESMTP id 089B7B6AD for ; Mon, 19 Nov 2001 13:37:03 +0100 (CET) Received: (from marc@localhost) by gothic.blackend.org (8.11.6/8.11.6/ - 31/07/01) id fAJCXOl10707 for freebsd-scsi@freebsd.org; Mon, 19 Nov 2001 13:33:24 +0100 (CET) (envelope-from marc) Date: Mon, 19 Nov 2001 10:52:45 +0100 From: Marc Fonvieille To: Thomas Quinot Subject: Re: SCSI->IDE Message-ID: <20011119105245.B8266@gothic.blackend.org> References: <20011117164551.A522@gothic.blackend.org> <20011118232028.A69772@melusine.cuivre.fr.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011118232028.A69772@melusine.cuivre.fr.eu.org>; from thomas@cuivre.fr.eu.org on Sun, Nov 18, 2001 at 11:20:29PM +0100 X-Useless-Header: blackend.org X-Operating-System: FreeBSD 4.4-STABLE 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:20:29PM +0100, Thomas Quinot wrote: > What version of the patch did you use? Is it an SMP box? atapicam-20011109.diff and it's a simple p233/64MB > Also, could you please send me the complete dmesg output from the > 2nd box? > Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.4-STABLE #8: Fri Nov 16 21:59:32 CET 2001 marc@abigail.blackend.org:/usr/src/sys/compile/ABIGAIL Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P55C (233.86-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x543 Stepping = 3 Features=0x8001bf real memory = 67108864 (65536K bytes) config> avail memory = 62275584 (60816K bytes) Preloaded elf kernel "kernel" at 0xc030a000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc030a09c. Intel Pentium detected, installing workaround for F00F bug Using $PIR table, 7 entries at 0xc00f0a90 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 isab0: at device 1.0 on pci0 isa0: on isab0 atapci0: port 0xe000-0xe00f at device 1.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 1.2 chip1: port 0xe800-0xe80f at device 1.3 on pci0 ed0: port 0xd400-0xd41f irq 10 at device 9.0 on pci0 ed0: address 52:54:00:eb:96:47, type NE2000 (16 bit) pci0: at 10.0 irq 11 orm0: