public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* /proc/partitions hosed in 2.4.9-ac10
@ 2001-09-17 21:19 Erik Andersen
  2001-09-17 21:38 ` Erik Andersen
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Erik Andersen @ 2001-09-17 21:19 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel

[----------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--

^ permalink raw reply	[flat|nested] 15+ messages in thread
* RE: /proc/partitions hosed in 2.4.9-ac10
@ 2001-09-18  0:22 Robert_Macaulay
  2001-09-18  0:24 ` Robert Macaulay
  0 siblings, 1 reply; 15+ messages in thread
From: Robert_Macaulay @ 2001-09-18  0:22 UTC (permalink / raw)
  To: Robert_Macaulay, andersen; +Cc: klink, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1481 bytes --]

I applied that patch to a 2.4.9ac10 kernel, and it still loops the
/proc/partitions.

-----Original Message----- 
From: Robert Macaulay 
Sent: Mon 9/17/2001 5:54 PM 
To: Erik Andersen 
Cc: Colonel; linux-kernel@vger.kernel.org 
Subject: Re: /proc/partitions hosed in 2.4.9-ac10



I have the problem as well, and my physical sector size is 512. I'll try 
the patch 

On Mon, 17 Sep 2001, Erik Andersen wrote: 

> 
> On Mon Sep 17, 2001 at 03:32:03PM -0700, Colonel wrote: 
> > 
> > Works fine here: 
> 
> But none of your devices have 2048 byte physical sectors, 
> which is the case with my MO drives, and that appears to 
> be the root of the problem, 
> 
>  -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
<http://vger.kernel.org/majordomo-info.html>  
> Please read the FAQ at  http://www.tux.org/lkml/
<http://www.tux.org/lkml/>  
> 
> 
> 

- 
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
<http://vger.kernel.org/majordomo-info.html>  
Please read the FAQ at  http://www.tux.org/lkml/ <http://www.tux.org/lkml/>



[-- Attachment #2: Type: application/ms-tnef, Size: 5458 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2001-09-20 22:36 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-17 21:19 /proc/partitions hosed in 2.4.9-ac10 Erik Andersen
2001-09-17 21:38 ` Erik Andersen
     [not found] ` <9o5pfu$f03$1@ns1.clouddancer.com>
2001-09-17 22:32   ` Colonel
2001-09-17 22:48     ` Erik Andersen
2001-09-17 22:54       ` Robert Macaulay
2001-09-18 15:39       ` Hubert Mantel
2001-09-18 15:43     ` Hubert Mantel
2001-09-18 15:50       ` Bob McElrath
2001-09-18 15:59       ` Tim Walberg
2001-09-20 22:35         ` Thorsten Kranzkowski
2001-09-17 22:40 ` Christoph Hellwig
2001-09-18 15:40   ` Hubert Mantel
2001-09-18 20:26     ` Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2001-09-18  0:22 Robert_Macaulay
2001-09-18  0:24 ` Robert Macaulay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox