From owner-freebsd-questions Fri May 17 22:28:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from sunshine.math.utah.edu (sunshine.math.utah.edu [128.110.198.2]) by hub.freebsd.org (Postfix) with ESMTP id BCA3137B400 for ; Fri, 17 May 2002 22:28:21 -0700 (PDT) Received: from sunscreen.math.utah.edu (IDENT:9IU8cv6XO2U8Jqf8yn2ZKspj5EI/Uq74@sunscreen.math.utah.edu [128.110.198.235]) by sunshine.math.utah.edu (8.9.3/8.9.3) with ESMTP id XAA00354; Fri, 17 May 2002 23:28:20 -0600 (MDT) Received: from localhost (cjs@localhost) by sunscreen.math.utah.edu (8.9.3/8.9.3) with ESMTP id XAA13537; Fri, 17 May 2002 23:28:18 -0600 (MDT) X-Authentication-Warning: sunscreen.math.utah.edu: cjs owned process doing -bs Date: Fri, 17 May 2002 23:28:18 -0600 (MDT) From: Chris Staskewicz To: Igor Kulemzin Cc: freebsd-questions@freebsd.org Subject: Re: Re[2]: no fix for digital camera i/o error In-Reply-To: <140174207126.20020518080318@kristal.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This has fixed the I/O error. I updated all the source using CVSup, however, I only rebuilt: config, mount, and mount_msdos. The 4.6 source now identifies OLYMPUS, however, 'mount /dev/da0 /camera' gives: Incorrect Super Block and 'mount_msdos /dev/da0 /camera' gives: Invalid Arguement. I read the man pages for mount_msdos, and this looks like the correct syntax. Do you think it's a bad idea not to do 'make world' when updating the OS? Thanks again. On Sat, 18 May 2002, Igor Kulemzin wrote: > Hi Chris, > > I've got messages like yours when first attach my PenDrive. > Upgrade your source tree and recompile kernel with scbus, da, pass > options for scsi support and pass, umass, usb, ohci, uhci options > for usb support. In my system I've found code for your camera. My system > is FreeBSD-4.6-PRERELEASE. > > Saturday, May 18, 2002, 1:01:37 AM, you wrote: > > CS> Thanks to the both of you for your help. I'll answer both questions at > CS> once. > > CS> I probably should have included the i/o report from dmesg. > > CS> (da0:umass-sim0:0:0:0): READ(06). CDB: 8 0 0 0 1 0 > CS> (da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0 > CS> (da0:umass-sim0:0:0:0): Invalid command operation code > CS> da0: reading primary partition table: error reading fsbn 0 > > CS> To: f3z > CS> Here's the listing for /dev/da0 (pass0) regarding character or block > CS> device type. > > CS> crw-r----- 2 root operator 13, 0x00010002 Apr 11 18:26 /dev/da0 > CS> crw------- 1 root operator 31, 0 Apr 11 18:26 /dev/pass0 > > CS> To: Igor > CS> grep -i OLYMPUS /usr/src/sys/cam/scsi/scsi_da.c did not find anything. > > CS> I used to mount the camera as a Mass storage device (successfully) when I > CS> used the Penguin with a Red Hat OS. > > >> Friday, May 17, 2002, 11:35:03 AM, you wrote: > >> > >> CS> This one has been bugging me for about month now, and I have yet to find > >> CS> the answer on the internet. If anyone helps out, I'd be more than happy > >> CS> to pass along some pictures of Rembrant (sp?) that I took recently in > >> CS> Amsterdam (they're still on my camera!). > >> > >> CS> FreeBSD 4.4-Release > >> CS> even using the GENERIC kernel (with all the scsi code built in: cam, > >> CS> scsibus, etc) the camera is recognized with the correct amount of memory > >> CS> (7MB = the space on the Smart Media card). > >> > >> CS> shell$ dmesg > >> CS> da0 at umass-sim0 bus 0 target 0 lun 0 > >> CS> da0: Removable Direct Access SCSI-2 device > >> CS> da0: 650KB/s transfers > >> CS> da0: 7MB (16000 512 byte sectors: 64H 32S/T 7C) > >> > >> CS> shell$ camcontrol devlist: > >> CS> at scbus0 target 0 lun 0 (da0,pass0) > >> > >> CS> But when I mount (both 'mount' and 'mount_msdos') on /dev/da0, I get > >> CS> "Input/output error"; mounting on /dev/pass0, gives "Block device required". > >> > >> CS> Does the code have a bug? Perhaps, has this question plagued anyone else > >> CS> enough to where 4.6R will have the fix? > >> > >> CS> Thank you all so much, > >> > >> CS> Chris. > > > -- > Saturday, May 18, 2002 7:55:52 AM > > Best regards, > Igor Kulemzin > Amursky Crystall > E-mail: ivk@kristal.ru > > -> > Microsoft, is that some kind of toilet paper? > -> > > -------------------------------------------------------------------- Chris Staskewicz http://www.ZyGob.com/cjs http://www.math.utah.edu/~cjs -------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message