mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Johnson <dave-kernel-list@centerclick.org>
To: linux-kernel@vger.kernel.org
Subject: DVD-RAM media detected with wrong number of blocks (2.4.7)
Date: Mon, 23 Jul 2001 22:10:46 -0400	[thread overview]
Message-ID: <v04210101b781c827accb@[10.0.2.30]> (raw)

When attempting to create an ext2 partition on a dvd-ram (2.6G/5.2G) 
media the number of blocks is detected wrong causing only half of the 
disk to be usable.  When creating the filesystem with mke2fs only 
609480 2K blocks are allowed instead of 1218960 2K blocks, and I end 
up with a 1.2GB partition instead of 2.4GB one.  The 1.2GB fs works 
fine, it's just a bit small :(

This is with 2.4.7 using a Creative DVD-RAM drive (1216S) on an Adaptec 2940UW.

The correct number of blocks is detected in 2.4.6


[...]
SCSI subsystem driver Revision: 1.00
PCI: Found IRQ 11 for device 00:0c.0
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.1.13
         <Adaptec 2940 Ultra SCSI adapter>
         aic7880: Ultra Wide Channel A, SCSI Id=7, 16/255 SCBs

   Vendor: CREATIVE  Model: DVD-RAM RAM1216S  Rev: 1311
   Type:   CD-ROM                             ANSI SCSI revision: 02
(scsi0:A:4): 10.000MB/s transfers (10.000MHz, offset 15)
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun 0
sr0: scsi3-mmc drive: 0x/0x dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
[...]


$ mke2fs -b 2048 /dev/scd0
mke2fs 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
/dev/scd0 is entire device, not just one partition!
Proceed anyway? (y,n) y
Filesystem label=
OS type: Linux
Block size=2048 (log=1)
Fragment size=2048 (log=1)
152608 inodes, 609480 blocks
30474 blocks (5.00%) reserved for the super user
First data block=0
38 block groups
16384 blocks per group, 16384 fragments per group
4016 inodes per group
Superblock backups stored on blocks:
         16384, 49152, 81920, 114688, 147456, 409600, 442368

Writing inode tables: done
Writing superblocks and filesystem accounting information: done
$



             reply	other threads:[~2001-07-24  2:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-24  2:10 David Johnson [this message]
2001-07-24  8:25 ` Jens Axboe
2001-07-24 13:02 ` David Johnson
2001-07-24 13:04   ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='v04210101b781c827accb@[10.0.2.30]' \
    --to=dave-kernel-list@centerclick.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®