/proc/partitions hosed in 2.4.9-ac10

From: Erik Andersen (andersen@codepoet.org)
Date: Mon Sep 17 2001 - 16:19:57 EST


[----------snip----------]
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.1
        <Adaptec 2940 Ultra SCSI adapter>
        aic7880: Ultra Single Channel A, SCSI Id=7, 16/255 SCBs

(scsi0:A:4): 10.000MB/s transfers (10.000MHz, offset 15)
  Vendor: OLYMPUS Model: MOS364 Rev: 1.02
  Type: Optical Device ANSI SCSI revision: 02
(scsi0:A:5): 10.000MB/s transfers (10.000MHz, offset 15)
  Vendor: OLYMPUS Model: MOS364 Rev: 1.02
  Type: Optical Device ANSI SCSI revision: 02
[----------snip----------]
Attached scsi removable disk sda at scsi0, channel 0, id 4, lun 0
Attached scsi removable disk sdb at scsi0, channel 0, id 5, lun 0
SCSI device sda: 310352 2048-byte hdwr sectors (636 MB)
sda: Write Protect is off
 sda:<5>ll_rw_block: device 08:00: only 2048-char blocks implemented (1024)
 unable to read boot sectors / partition sectors
SCSI device sdb: 310352 2048-byte hdwr sectors (636 MB)
sdb: Write Protect is off
 sdb:<5>ll_rw_block: device 08:10: only 2048-char blocks implemented (1024)
 unable to read boot sectors / partition sectors
[----------snip----------]

$ cat /proc/partitions
major minor #blocks name

   8 0 620704 sda
   8 16 620704 sdb
   8 0 620704 sda
   8 16 620704 sdb
   8 0 620704 sda
   8 16 620704 sdb
   8 0 620704 sda
   8 16 620704 sdb
   8 0 620704 sda
   8 16 620704 sdb
   8 0 620704 sda
   8 16 620704 sdb
   8 0 620704 sda
   8 16 620704 sdb
   <continues forever>

In this case, there is no partition table on the magneto optical media
(since there seems little reason for such things)

    $ fdisk -l /dev/sda
    Note: sector size is 2048 (not 512)

    Disk /dev/sda: 64 heads, 32 sectors, 151 cylinders
    Units = cylinders of 2048 * 2048 bytes

    Disk /dev/sda doesn't contain a valid partition table
    $
    $ file -s /dev/sda
    /dev/sda: Linux rev 1.0 ext2 filesystem data

 -Erik

--
Erik B. Andersen   email:  andersee@debian.org, formerly of Lineo
--This message was written using 73% post-consumer electrons--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 23 2001 - 21:00:21 EST