From owner-freebsd-scsi Sun Jan 6 14:45:34 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from TheWorld.com (pcls2.std.com [199.172.62.104]) by hub.freebsd.org (Postfix) with ESMTP id 418F637B400; Sun, 6 Jan 2002 14:45:28 -0800 (PST) Received: from shell.TheWorld.com (root@shell01.TheWorld.com [199.172.62.241]) by TheWorld.com (8.9.3/8.9.3) with ESMTP id RAA12639; Sun, 6 Jan 2002 17:45:26 -0500 Received: (from kwc@localhost) by shell.TheWorld.com (8.9.3/8.9.3) id RAA7577679; Sun, 6 Jan 2002 17:45:25 -0500 (EST) Date: Sun, 6 Jan 2002 17:45:25 -0500 (EST) From: Kenneth W Cochran Message-Id: <200201062245.RAA7577679@shell.TheWorld.com> To: freebsd-stable@freebsd.org Subject: Status, USB/Olympus E-10 Cc: freebsd-scsi@freebsd.org 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 (cc'ed to -scsi) Hello, A couple of committers & I were working last July (2001) with support for the Olympus E-10 digital camera in FreeBSD. This is a USB device. I just saw some commits in cam/scsi_da for Nikon & I'm wondering what the situation is wrt Olympus? The problem I was having was that even though FreeBSD (then 4.3-stable) would recognise the camera, if I tried to mount() it the os would reboot(!) :(( No panic, no nothing, just a hard freeze & rebooting. Obviously, this is Very Very Bad. I've seen Linux (2.4-something) working with this just fine. Linux sees this camera as a SCSI device with a MS-DOS filesystem. I'm now running a 4.5-PRERELEASE & wonder if, assuming this hasn't been fixed since 4.3, that this might be fixed in 4.5? At least if the camera isn't/can't be supported in time (for 4.5), is there some way we could at least protect the system from the rebooting? I can probably help test. I'm thinking of filing a PR, but seek advice before doing that. Many thanks, -kc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Jan 6 18:16: 4 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 4695F37B400; Sun, 6 Jan 2002 18:15:59 -0800 (PST) Received: from gateway.posi.net ([12.236.90.177]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020107021554.WSPN288.rwcrmhc51.attbi.com@gateway.posi.net>; Mon, 7 Jan 2002 02:15:54 +0000 Received: from localhost (kbyanc@localhost) by gateway.posi.net (8.11.6/8.11.6) with ESMTP id g072FrF10646; Sun, 6 Jan 2002 18:15:53 -0800 (PST) (envelope-from kbyanc@posi.net) X-Authentication-Warning: gateway.posi.net: kbyanc owned process doing -bs Date: Sun, 6 Jan 2002 18:15:52 -0800 (PST) From: Kelly Yancey To: Kenneth W Cochran Cc: freebsd-stable@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: Status, USB/Olympus E-10 In-Reply-To: <200201062245.RAA7577679@shell.TheWorld.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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, 6 Jan 2002, Kenneth W Cochran wrote: > (cc'ed to -scsi) > > Hello, > > A couple of committers & I were working last July (2001) with > support for the Olympus E-10 digital camera in FreeBSD. This > is a USB device. > > I just saw some commits in cam/scsi_da for Nikon & I'm wondering > what the situation is wrt Olympus? > Bernd Walter submitted a quirk that fixed the problem for E-100RS digital cameras a while back. I committed the quirk, but I have not MFC'ed it to -stable. Besides, without other reports the quirk entry I added was specific to the E-100RS. I'll extend the quirk to the entire E-* seriese and ask RE if it's OK to MFC in time for 4.5. Kelly To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Jan 7 2:20:47 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by hub.freebsd.org (Postfix) with ESMTP id 0B98337B400 for ; Mon, 7 Jan 2002 02:20:44 -0800 (PST) Received: from fwd05.sul.t-online.de by mailout01.sul.t-online.de with smtp id 16NWhM-0003V5-0H; Mon, 07 Jan 2002 11:08:08 +0100 Received: from twoflower (320072111332-0001@[217.80.121.217]) by fwd05.sul.t-online.com with smtp id 16NWhG-0HBpZ2C; Mon, 7 Jan 2002 11:08:02 +0100 Reply-To: From: Jan.Stocker@t-online.de (Jan Stocker) To: "freebsd-scsi@FreeBSD. ORG" Subject: USB / wrong disklabel params Date: Mon, 7 Jan 2002 11:07:30 +0100 Message-ID: <000c01c19763$1e3c2860$fe02010a@twoflower.liebende.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Importance: Normal X-Sender: 320072111332-0001@t-dialin.net 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 Hi boys n girls, ive discussed the following stuff with Ed Hudson, who owns a RICOH-RDC5000 digital cam. This cam doesn't know the 6-byte commands (like the most), so a quirk was added. But some disk information is wrong... lets have a look Dec 29 14:17:17 m3 /kernel: umass0: RICOH RDC-5000, rev 1.00/1.05, addr 2 Dec 29 14:17:17 m3 /kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Dec 29 14:17:17 m3 /kernel: da0: Removable Dire Access SCSI-0 device Dec 29 14:17:17 m3 /kernel: da0: 20KB/s transfers Dec 29 14:17:17 m3 /kernel: da0: 0MB (1441 512 byte sectors: 2H 9S/T 80C) The cam has a 8 MB card in it, so here !!! 0MB !!! is totally wrong. (Also i think the speed is very low) Another look to the partition table with fdisk shows more: root@m3 101 % fdisk da0 ******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=22 heads=4 sectors/track=16 (64 blks/cyl) We have 22*4*16*512 = 704 KB! parameters to be used for BIOS calculations are: cylinders=22 heads=4 sectors/track=16 (64 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 1,(Primary DOS with 12 bit FAT) start 25, size 15975 (7 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 10; end: cyl 249/ head 3/ sector 16 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: But the partition table is correct and gives us a 8 MB slice. So mounting fails (cuts the partition) cause BSD thinks the slice exceeds the available space. Any idea ? Jan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Jan 8 2: 0:39 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from mass.dis.org (dhcp44-20.dis.org [216.240.44.20]) by hub.freebsd.org (Postfix) with ESMTP id 23A9537B404 for ; Tue, 8 Jan 2002 02:00:33 -0800 (PST) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.6/8.11.6) with ESMTP id g08A1Er00540 for ; Tue, 8 Jan 2002 02:01:14 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200201081001.g08A1Er00540@mass.dis.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: scsi@freebsd.org Subject: CAM sysctl tweak, scsi_low staticisation, review? Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_-10949426080" Date: Tue, 08 Jan 2002 02:01:14 -0800 From: Michael Smith 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 This is a multipart MIME message. --==_Exmh_-10949426080 Content-Type: text/plain; charset=us-ascii Can someone with a CAM hat on give me a review for the attached diff? It removes the duplicate definition of the kern.cam sysctl node, and fixes a structure leaked from the scsi_low code. Thanks, Mike --==_Exmh_-10949426080 Content-Type: text/plain ; name="cam.diff"; charset=us-ascii Content-Description: cam.diff Content-Disposition: attachment; filename="cam.diff" Index: cam/cam.c =================================================================== RCS file: /local0/cvs/src/sys/cam/cam.c,v retrieving revision 1.4 diff -u -r1.4 cam.c --- cam/cam.c 27 Mar 2001 05:45:09 -0000 1.4 +++ cam/cam.c 8 Jan 2002 02:19:46 -0000 @@ -30,7 +30,10 @@ #include #ifdef _KERNEL +#include #include +#include +#include #else /* _KERNEL */ #include #include @@ -94,6 +97,10 @@ const int num_cam_status_entries = sizeof(cam_status_table)/sizeof(*cam_status_table); + +#ifdef _KERNEL +SYSCTL_NODE(_kern, OID_AUTO, cam, CTLFLAG_RD, 0, "CAM Subsystem"); +#endif void cam_strvis(u_int8_t *dst, const u_int8_t *src, int srclen, int dstlen) Index: cam/cam.h =================================================================== RCS file: /local0/cvs/src/sys/cam/cam.h,v retrieving revision 1.9 diff -u -r1.9 cam.h --- cam/cam.h 31 Mar 2001 04:34:15 -0000 1.9 +++ cam/cam.h 8 Jan 2002 02:21:39 -0000 @@ -189,6 +189,10 @@ extern const int num_cam_status_entries; union ccb; +#ifdef SYSCTL_DECL /* from sysctl.h */ +SYSCTL_DECL(_kern_cam); +#endif + __BEGIN_DECLS typedef int (cam_quirkmatch_t)(caddr_t, caddr_t); Index: cam/cam_xpt.c =================================================================== RCS file: /local0/cvs/src/sys/cam/cam_xpt.c,v retrieving revision 1.121 diff -u -r1.121 cam_xpt.c --- cam/cam_xpt.c 5 Jan 2002 08:47:09 -0000 1.121 +++ cam/cam_xpt.c 8 Jan 2002 04:25:04 -0000 @@ -641,8 +641,8 @@ #endif /* Pointers to software interrupt handlers */ -void *camnet_ih; -void *cambio_ih; +static void *camnet_ih; +static void *cambio_ih; #if defined(CAM_DEBUG_FLAGS) && !defined(CAMDEBUG) #error "You must have options CAMDEBUG to use options CAM_DEBUG_FLAGS" Index: cam/scsi/scsi_cd.c =================================================================== RCS file: /local0/cvs/src/sys/cam/scsi/scsi_cd.c,v retrieving revision 1.55 diff -u -r1.55 scsi_cd.c --- cam/scsi/scsi_cd.c 12 Sep 2001 08:36:56 -0000 1.55 +++ cam/scsi/scsi_cd.c 8 Jan 2002 02:13:43 -0000 @@ -284,7 +284,6 @@ * XXX KDM this CAM node should be moved if we ever get more CAM sysctl * variables. */ -SYSCTL_NODE(_kern, OID_AUTO, cam, CTLFLAG_RD, 0, "CAM Subsystem"); SYSCTL_NODE(_kern_cam, OID_AUTO, cd, CTLFLAG_RD, 0, "CAM CDROM driver"); SYSCTL_NODE(_kern_cam_cd, OID_AUTO, changer, CTLFLAG_RD, 0, "CD Changer"); SYSCTL_INT(_kern_cam_cd_changer, OID_AUTO, min_busy_seconds, CTLFLAG_RW, Index: cam/scsi/scsi_da.c =================================================================== RCS file: /local0/cvs/src/sys/cam/scsi/scsi_da.c,v retrieving revision 1.93 diff -u -r1.93 scsi_da.c --- cam/scsi/scsi_da.c 7 Jan 2002 03:32:56 -0000 1.93 +++ cam/scsi/scsi_da.c 8 Jan 2002 02:13:15 -0000 @@ -382,7 +382,6 @@ static int da_retry_count = DA_DEFAULT_RETRY; static int da_default_timeout = DA_DEFAULT_TIMEOUT; -SYSCTL_NODE(_kern, OID_AUTO, cam, CTLFLAG_RD, 0, "CAM Subsystem"); SYSCTL_NODE(_kern_cam, OID_AUTO, da, CTLFLAG_RD, 0, "CAM Direct Access Disk driver"); SYSCTL_INT(_kern_cam_da, OID_AUTO, retry_count, CTLFLAG_RW, Index: cam/scsi/scsi_low.c =================================================================== RCS file: /local0/cvs/src/sys/cam/scsi/scsi_low.c,v retrieving revision 1.12 diff -u -r1.12 scsi_low.c --- cam/scsi/scsi_low.c 10 Dec 2001 02:07:34 -0000 1.12 +++ cam/scsi/scsi_low.c 8 Jan 2002 05:11:33 -0000 @@ -192,7 +192,7 @@ #endif /* !SCSI_LOW_INFO_DETAIL */ #ifdef SCSI_LOW_STATICS -struct scsi_low_statics { +static struct scsi_low_statics { int nexus_win; int nexus_fail; int nexus_disconnected; --==_Exmh_-10949426080-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Jan 8 9: 0:14 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from web11308.mail.yahoo.com (web11308.mail.yahoo.com [216.136.131.211]) by hub.freebsd.org (Postfix) with SMTP id 6978C37B417 for ; Tue, 8 Jan 2002 09:00:12 -0800 (PST) Message-ID: <20020108170011.51402.qmail@web11308.mail.yahoo.com> Received: from [47.248.0.42] by web11308.mail.yahoo.com via HTTP; Tue, 08 Jan 2002 12:00:11 EST Date: Tue, 8 Jan 2002 12:00:11 -0500 (EST) From: Andrew Atrens Subject: tekram drivers ??? To: scsi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Hi All, On the tekram site they have FreeBSD 4.x.x drivers for the NCR based SCSI cards ... dc390x_ncr.c and dc390x_ncr.h I know the 'sym' driver supports these cards, but still I'm curious why the tekram ones aren't included in -stable kernels. Andrew. ===== +-- | Andrew Atrens | | All opinions expressed are my own, not those of any employer. | +-- --+ ______________________________________________________________________ Web-hosting solutions for home and business! http://website.yahoo.ca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Jan 9 12:25: 6 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from mail.libertysurf.net (mail.libertysurf.net [213.36.80.91]) by hub.freebsd.org (Postfix) with ESMTP id 828D937B41C for ; Wed, 9 Jan 2002 12:25:04 -0800 (PST) Received: from [192.168.1.129] (212.129.42.136) by mail.libertysurf.net (5.1.053) id 3C351AA10011A0E6; Wed, 9 Jan 2002 21:24:57 +0100 Date: Wed, 9 Jan 2002 21:24:37 +0100 (CET) From: =?ISO-8859-1?Q?G=E9rard_Roudier?= X-X-Sender: To: Andrew Atrens Cc: Subject: Re: tekram drivers ??? In-Reply-To: <20020108170011.51402.qmail@web11308.mail.yahoo.com> Message-ID: <20020109211654.M1073-100000@gerard> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE 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 Tue, 8 Jan 2002, Andrew Atrens wrote: > Hi All, > > On the tekram site they have FreeBSD 4.x.x drivers for the NCR based > SCSI cards ... > > dc390x_ncr.c and dc390x_ncr.h > > I know the 'sym' driver supports these cards, but still I'm curious why > the tekram ones aren't included in -stable kernels. Certainly many good reasons. :) You may ask them about which driver they really want to recommend, for example, and let us know. :) Just one fact, their driver doesn't support Ultra-160 controllers. G=E9rard. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Jan 10 6:36:24 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from TheWorld.com (pcls1.std.com [199.172.62.103]) by hub.freebsd.org (Postfix) with ESMTP id 1EDD937B41C; Thu, 10 Jan 2002 06:36:13 -0800 (PST) Received: from shell.TheWorld.com (root@shell01.TheWorld.com [199.172.62.241]) by TheWorld.com (8.9.3/8.9.3) with ESMTP id JAA24683; Thu, 10 Jan 2002 09:35:26 -0500 Received: (from kwc@localhost) by shell.TheWorld.com (8.9.3/8.9.3) id JAA7965305; Thu, 10 Jan 2002 09:35:25 -0500 (EST) Date: Thu, 10 Jan 2002 09:35:25 -0500 (EST) From: Kenneth W Cochran Message-Id: <200201101435.JAA7965305@shell.TheWorld.com> To: Kelly Yancey Subject: Re: Status, USB/Olympus E-10 Cc: freebsd-scsi@freebsd.org, freebsd-stable@freebsd.org 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 Still no fix. OS is as follows: FreeBSD localhost.my.domain 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #0: Wed Jan 9 09:37:46 CST 2002 root@localhost.my.domain:/usr/obj/usr/src/sys/LOCAL i386 Which includes that "E-series" update. Camera is recognized by usbd, but if I try to mount() it I get a panic-message viz: Fatal trap 18: integer divide fault while in kernel mode. (And what appears to be a register scoreboard or a stack-trace or something; is there a way to capture this?) Then a panic & reboot. I guess it's better than "before" - previously I got no message whatsoever; the OS just froze & rebooted. At the same time I'd think a panic/reboot is Very Very Bad; at least if something is "wrong" shouldn't the OS "just say no?" Here are the related pices of the kernel config: # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) . . . # USB support device uhci # UHCI PCI->USB interface # device ohci # OHCI PCI->USB interface device usb # USB Bus (required) # device ugen # Generic # device uhid # "Human Interface Devices" # device ukbd # Keyboard # device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da I think the kernel config is ok, because everything works fine with a USB Zip drive. Any other ideas -kc >Date: Sun, 6 Jan 2002 18:15:52 -0800 (PST) >From: Kelly Yancey >To: Kenneth W Cochran >cc: freebsd-stable@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG >Subject: Re: Status, USB/Olympus E-10 > >On Sun, 6 Jan 2002, Kenneth W Cochran wrote: > >> (cc'ed to -scsi) >> >> Hello, >> >> A couple of committers & I were working last July (2001) with >> support for the Olympus E-10 digital camera in FreeBSD. This >> is a USB device. >> >> I just saw some commits in cam/scsi_da for Nikon & I'm wondering >> what the situation is wrt Olympus? > > Bernd Walter submitted a quirk that fixed the problem for E-100RS digital >cameras a while back. I committed the quirk, but I have not MFC'ed it to >-stable. Besides, without other reports the quirk entry I added was specific >to the E-100RS. I'll extend the quirk to the entire E-* seriese and ask RE if >it's OK to MFC in time for 4.5. > > Kelly To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Jan 10 7: 8: 6 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from mailout08.sul.t-online.com (mailout08.sul.t-online.com [194.25.134.20]) by hub.freebsd.org (Postfix) with ESMTP id 05B8A37B402; Thu, 10 Jan 2002 07:07:57 -0800 (PST) Received: from fwd03.sul.t-online.de by mailout08.sul.t-online.de with smtp id 16Ogny-0008LU-04; Thu, 10 Jan 2002 16:07:46 +0100 Received: from twoflower.liebende.de (320072111332-0001@[217.80.127.68]) by fwd03.sul.t-online.com with esmtp id 16Ogns-1BwmQqC; Thu, 10 Jan 2002 16:07:40 +0100 Subject: Re: Status, USB/Olympus E-10 From: Jan.Stocker@t-online.de (Jan Stocker) To: Kenneth W Cochran Cc: Kelly Yancey , freebsd-scsi@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG In-Reply-To: <200201101435.JAA7965305@shell.TheWorld.com> References: <200201101435.JAA7965305@shell.TheWorld.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1010675214.1096.2.camel@twoflower> Mime-Version: 1.0 X-Mailer: Evolution/1.0 (Preview Release) Date: 10 Jan 2002 16:07:02 +0100 X-Sender: 320072111332-0001@t-dialin.net 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 So, Kelly wrote... > >cameras a while back. I committed the quirk, but I have not MFC'ed it to > >-stable. Besides, without other reports the quirk entry I added was specific and you are using the 4.5 PRERELEASE which based on -stable, not -current. You can check it by opening usr/src/sys/cam/scsi/scsi_da.c and search for the quirk for your Olympus. If it isnt there, youve to add it manually and recompile your kernel. (You ve to add it each time you cvs up your sources!) Jan On Thu, 2002-01-10 at 15:35, Kenneth W Cochran wrote: > Still no fix. OS is as follows: > > FreeBSD localhost.my.domain 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #0: Wed Jan 9 09:37:46 CST 2002 root@localhost.my.domain:/usr/obj/usr/src/sys/LOCAL i386 > > Which includes that "E-series" update. > > Camera is recognized by usbd, but if I try to mount() it I get > a panic-message viz: > Fatal trap 18: integer divide fault while in kernel mode. > (And what appears to be a register scoreboard or a stack-trace > or something; is there a way to capture this?) > > Then a panic & reboot. I guess it's better than "before" - > previously I got no message whatsoever; the OS just froze & > rebooted. At the same time I'd think a panic/reboot is Very > Very Bad; at least if something is "wrong" shouldn't the OS > "just say no?" > > Here are the related pices of the kernel config: > > # SCSI peripherals > device scbus # SCSI bus (required) > device da # Direct Access (disks) > device sa # Sequential Access (tape etc) > device cd # CD > device pass # Passthrough device (direct SCSI access) > . > . > . > # USB support > device uhci # UHCI PCI->USB interface > # device ohci # OHCI PCI->USB interface > device usb # USB Bus (required) > # device ugen # Generic > # device uhid # "Human Interface Devices" > # device ukbd # Keyboard > # device ulpt # Printer > device umass # Disks/Mass storage - Requires scbus and da > > I think the kernel config is ok, because everything works fine > with a USB Zip drive. Any other ideas > > -kc > > >Date: Sun, 6 Jan 2002 18:15:52 -0800 (PST) > >From: Kelly Yancey > >To: Kenneth W Cochran > >cc: freebsd-stable@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG > >Subject: Re: Status, USB/Olympus E-10 > > > >On Sun, 6 Jan 2002, Kenneth W Cochran wrote: > > > >> (cc'ed to -scsi) > >> > >> Hello, > >> > >> A couple of committers & I were working last July (2001) with > >> support for the Olympus E-10 digital camera in FreeBSD. This > >> is a USB device. > >> > >> I just saw some commits in cam/scsi_da for Nikon & I'm wondering > >> what the situation is wrt Olympus? > > > > Bernd Walter submitted a quirk that fixed the problem for E-100RS digital > >cameras a while back. I committed the quirk, but I have not MFC'ed it to > >-stable. Besides, without other reports the quirk entry I added was specific > >to the E-100RS. I'll extend the quirk to the entire E-* seriese and ask RE if > >it's OK to MFC in time for 4.5. > > > > Kelly > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-scsi" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Jan 10 7:39:25 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from TheWorld.com (pcls2.std.com [199.172.62.104]) by hub.freebsd.org (Postfix) with ESMTP id 3332F37B402; Thu, 10 Jan 2002 07:39:19 -0800 (PST) Received: from shell.TheWorld.com (root@shell01.TheWorld.com [199.172.62.241]) by TheWorld.com (8.9.3/8.9.3) with ESMTP id KAA12066; Thu, 10 Jan 2002 10:38:07 -0500 Received: (from kwc@localhost) by shell.TheWorld.com (8.9.3/8.9.3) id KAA8008835; Thu, 10 Jan 2002 10:38:06 -0500 (EST) Date: Thu, 10 Jan 2002 10:38:06 -0500 (EST) From: Kenneth W Cochran Message-Id: <200201101538.KAA8008835@shell.TheWorld.com> To: Jan.Stocker@t-online.de (Jan Stocker) Subject: Re: Status, USB/Olympus E-10 Cc: freebsd-stable@freebsd.org, freebsd-scsi@freebsd.org References: <200201101435.JAA7965305@shell.TheWorld.com> 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 It was MFC'ed shortly afterward & scsi_da.c now reflects that update. I guess I should have mentioned that. :) -kc >Subject: Re: Status, USB/Olympus E-10 >From: Jan.Stocker@t-online.de (Jan Stocker) >To: Kenneth W Cochran >Cc: Kelly Yancey , freebsd-scsi@FreeBSD.ORG, > freebsd-stable@FreeBSD.ORG >Date: 10 Jan 2002 16:07:02 +0100 > >So, >Kelly wrote... > >> >cameras a while back. I committed the quirk, but I have not MFC'ed it to >> >-stable. Besides, without other reports the quirk entry I added was specific > >and you are using the 4.5 PRERELEASE which based on -stable, not >-current. You can check it by opening usr/src/sys/cam/scsi/scsi_da.c and >search for the quirk for your Olympus. If it isnt there, youve to add it >manually and recompile your kernel. (You ve to add it each time you cvs >up your sources!) > >Jan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Jan 10 10:40:39 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from backtech.com (wilma.backtech.com [209.198.99.18]) by hub.freebsd.org (Postfix) with ESMTP id 2350237B41A for ; Thu, 10 Jan 2002 10:40:36 -0800 (PST) Received: (from dexter@localhost) by backtech.com (8.8.8/8.8.5) id NAA14659 for freebsd-scsi@freebsd.org; Thu, 10 Jan 2002 13:40:34 -0500 (EST) Date: Thu, 10 Jan 2002 13:40:34 -0500 From: Dexter McNeil To: freebsd-scsi@freebsd.org Subject: SCSI cable recommendations Message-ID: <20020110134034.B14589@backtech.com> Reply-To: dexter@backtech.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i 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 Hi, I've been having some reliability problems with the cables used in our RAID array (external cables, not internal). They were provided by the vendor of the cabinet hardware & controller, and have a manufacturer of Madison Cable written on the side. These are U2W type, with 68 pin connectors. The cables going to the host have the tiny LVHDC type connectors on one end. I want to replace these pieces of junk with something that is as reliable as possible. Any suggestions as to manufacturer and vendor? Any recommendations as to what to avoid? Many thanks for any and all suggestions. Best regards, Dexter McNeil To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Jan 10 12: 8:23 2002 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 BA2F237B400 for ; Thu, 10 Jan 2002 12:08:19 -0800 (PST) Received: (from ken@localhost) by panzer.kdm.org (8.11.6/8.9.1) id g0AK8GA65649; Thu, 10 Jan 2002 13:08:16 -0700 (MST) (envelope-from ken) Date: Thu, 10 Jan 2002 13:08:15 -0700 From: "Kenneth D. Merry" To: Dexter McNeil Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: SCSI cable recommendations Message-ID: <20020110130815.A65335@panzer.kdm.org> References: <20020110134034.B14589@backtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20020110134034.B14589@backtech.com>; from dexter@backtech.com on Thu, Jan 10, 2002 at 01:40:34PM -0500 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 Thu, Jan 10, 2002 at 13:40:34 -0500, Dexter McNeil wrote: > Hi, > I've been having some reliability problems with the cables used in our > RAID array (external cables, not internal). They were provided by the > vendor of the cabinet hardware & controller, and have a manufacturer of > Madison Cable written on the side. These are U2W type, with 68 pin > connectors. The cables going to the host have the tiny LVHDC type > connectors on one end. > > I want to replace these pieces of junk with something that is as > reliable as possible. Any suggestions as to manufacturer and vendor? Any > recommendations as to what to avoid? Adaptec cables are usually okay, and you can also get decent cables from: http://www.scsi-cables.com 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 Thu Jan 10 13:25:24 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id F262737B404; Thu, 10 Jan 2002 13:25:20 -0800 (PST) Received: from gateway.posi.net ([12.236.90.177]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020110212520.SPYR3578.rwcrmhc52.attbi.com@gateway.posi.net>; Thu, 10 Jan 2002 21:25:20 +0000 Received: from localhost (kbyanc@localhost) by gateway.posi.net (8.11.6/8.11.6) with ESMTP id g0ALPJN06947; Thu, 10 Jan 2002 13:25:19 -0800 (PST) (envelope-from kbyanc@posi.net) X-Authentication-Warning: gateway.posi.net: kbyanc owned process doing -bs Date: Thu, 10 Jan 2002 13:25:18 -0800 (PST) From: Kelly Yancey To: Kenneth W Cochran Cc: freebsd-scsi@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: Status, USB/Olympus E-10 In-Reply-To: <200201101435.JAA7965305@shell.TheWorld.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Thu, 10 Jan 2002, Kenneth W Cochran wrote: > Still no fix. OS is as follows: > > FreeBSD localhost.my.domain 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #0: Wed Jan 9 09:37:46 CST 2002 root@localhost.my.domain:/usr/obj/usr/src/sys/LOCAL i386 > > Which includes that "E-series" update. > > Camera is recognized by usbd, but if I try to mount() it I get > a panic-message viz: > Fatal trap 18: integer divide fault while in kernel mode. > (And what appears to be a register scoreboard or a stack-trace > or something; is there a way to capture this?) > This is very interesting. I don't suppose I could ask you to: 1. re-config your kernel with debugging symbols (config -g KERNEL-NAME); make and install it. 2. add the following to you're rc.conf: dumpdev="" 3. recreate the crash 4. collect the kernel core from /var/crash 4. send the core and your kernel.debug to me via private mail Thanks, Kelly To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Jan 10 15:12:30 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from mail.wolves.k12.mo.us (mail.wolves.k12.mo.us [207.160.214.1]) by hub.freebsd.org (Postfix) with ESMTP id 9490637BB4E for ; Thu, 10 Jan 2002 15:12:02 -0800 (PST) Received: from mail.wolves.k12.mo.us (cdillon@mail.wolves.k12.mo.us [207.160.214.1]) by mail.wolves.k12.mo.us (8.9.3/8.9.3) with ESMTP id RAA25118; Thu, 10 Jan 2002 17:11:59 -0600 (CST) (envelope-from cdillon@wolves.k12.mo.us) Date: Thu, 10 Jan 2002 17:11:59 -0600 (CST) From: Chris Dillon To: Dexter McNeil Cc: Subject: Re: SCSI cable recommendations In-Reply-To: <20020110134034.B14589@backtech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Thu, 10 Jan 2002, Dexter McNeil wrote: > Many thanks for any and all suggestions. Try Granite Digital cables at http://www.scsipro.com/. A bit pricey, but they make top-notch cables. -- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net FreeBSD: The fastest and most stable server OS on the planet - Available for IA32 (Intel x86) and Alpha architectures - IA64, PowerPC, UltraSPARC, and ARM architectures under development - http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message