This message generated a parse failure. Raw output follows here. Please use 'back' to navigate. From devnull@lkml.org Tue Jun 11 05:47:07 2024 Received: from entropy.muc.muohio.edu (IDENT:root@entropy.muc.muohio.edu [134.53.213.10]) by herbie.ucs.indiana.edu (8.9.3/8.9.3) with ESMTP id QAA01528 for ; Thu, 22 Apr 1999 16:04:19 -0500 (EST) Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2]) by entropy.muc.muohio.edu (8.8.7/8.8.7) with ESMTP id RAA02011; Thu, 22 Apr 1999 17:01:47 -0400 Received: by vger.rutgers.edu via listexpand id <154254-7494>; Thu, 22 Apr 1999 16:21:22 -0400 Received: by vger.rutgers.edu id <154098-7495>; Thu, 22 Apr 1999 16:18:14 -0400 Received: from 6.ppp1-10.image.dk ([212.54.73.198]:1378 "EHLO burns.kernel.dk" ident: "axboe") by vger.rutgers.edu with ESMTP id <154133-7494>; Thu, 22 Apr 1999 16:17:20 -0400 Received: (from axboe@localhost) by burns.kernel.dk (8.9.3/8.8.7) id WAA03095; Thu, 22 Apr 1999 22:47:50 +0200 Date: Thu, 22 Apr 1999 22:47:50 +0200 From: Jens Axboe To: Cristian Busulari Cc: linux-kernel@vger.rutgers.edu Subject: Re: Optcd Drive. Message-Id: <19990422224750.D979@image.dk> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=wRRV7LY7NUeQGEoC X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Cristian Busulari on Thu, Apr 22, 1999 at 05:26:59PM -0300 X-OS: Linux 2.2.7 Sender: owner-linux-kernel@vger.rutgers.edu Precedence: bulk X-Loop: majordomo@vger.rutgers.edu X-Orcpt: rfc822;linux-kernel-outgoing-dig --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii On Thu, Apr 22 1999, Cristian Busulari wrote: > Recently I upgraded to kernel version 2.2.5 and my Optics Storage 8000 > AT Cdrom Drive stop working. > > When I try to mount a cd this error message appear: > > [root@cami: /root]# mount -t iso9660 /dev/optcd /cdrom/ > ll_rw_block: device 11:00: only 1024-char blocks implemented (2048) > isofs_read_super: bread failed, dev=11:00, iso_blknum=16, block=16 > mount: wrong fs type, bad option, bad superblock on /dev/optcd, > or too many mounted file systems The optcd doesn't set the hard+soft block sizes, either. Try this patch. -- * Jens Axboe * Linux CD-ROM Maintainer --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="optcd.diff" --- optcd.c~ Thu Apr 22 22:37:14 1999 +++ optcd.c Thu Apr 22 22:46:04 1999 @@ -100,6 +100,10 @@ #else #define DEBUG(x) #endif + +static int blksize = 2048; +static int hsecsize = 2048; + /* Drive hardware/firmware characteristics Identifiers in accordance with Optics Storage documentation */ @@ -2061,6 +2065,8 @@ return -EIO; } + hardsect_size[MAJOR_NR] = &hsecsize; + blksize_size[MAJOR_NR] = &blksize; blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; read_ahead[MAJOR_NR] = 4; request_region(optcd_port, 4, "optcd"); --wRRV7LY7NUeQGEoC-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/