trouble with extended partitions in latest snapshot

2006-09-15 Thread Adi

latest snapshot doesn't see the last two partitions on my disk.
neither 3.9, linux or freebsd have any problem with that.

Does anyone know what's going on ?

Thanks a lot.

(see below the output from disklabel -d, as seen on the snapshot
from September 1st and on 3.9)


disklabel.40:
# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: IBM-DTLA-307015
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 30003120
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
# sizeoffset  fstype [fsize bsize  cpg]
 c:  30003120 0  unused  0 0  # Cyl 0 - 29764
 i:   433937763   MSDOS   # Cyl 0*-  4304
 j:   4732560   4339440 unknown   # Cyl  4305 -  8999
 k:   1118880   9072000 unknown   # Cyl  9000 - 10109
 l:   9896039  10201338  ext2fs   # Cyl 10120*- 19937*
 m:   1895544  20097378 unknown   # Cyl 19937*- 21818*


disklabel.39:
# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: IBM-DTLA-307015
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 30003120
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
# sizeoffset  fstype [fsize bsize  cpg]
 c:  30003120 0  unused  0 0  # Cyl 0 - 29764
 i:   433937763   MSDOS   # Cyl 0*-  4304
 j:   4732560   4339440 unknown   # Cyl  4305 -  8999
 k:   1118880   9072000 unknown   # Cyl  9000 - 10109
 l:   9896039  10201338  ext2fs   # Cyl 10120*- 19937*
 m:   1895544  20097378 unknown   # Cyl 19937*- 21818*
 n:   5879790  21992985  ext2fs   # Cyl 21818*- 27651*
 o:   2120516  27872838  ext2fs   # Cyl 27651*- 29755*



Re: trouble with extended partitions in latest snapshot

2006-09-15 Thread Otto Moerbeek
On Fri, 15 Sep 2006, Adi wrote:

 latest snapshot doesn't see the last two partitions on my disk.
 neither 3.9, linux or freebsd have any problem with that.
 
 Does anyone know what's going on ?

Can you try to revert sys/arch/i386/i386/disksubr.c to rev 1.53 and see
if the problem goes away?

-Otto
 
 Thanks a lot.
 
 (see below the output from disklabel -d, as seen on the snapshot
 from September 1st and on 3.9)
 
 
 disklabel.40:
 # /dev/rwd0c:
 type: ESDI
 disk: ESDI/IDE disk
 label: IBM-DTLA-307015
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 16
 sectors/cylinder: 1008
 cylinders: 16383
 total sectors: 30003120
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0   # microseconds
 track-to-track seek: 0  # microseconds
 drivedata: 0
 
 16 partitions:
 # sizeoffset  fstype [fsize bsize  cpg]
  c:  30003120 0  unused  0 0  # Cyl 0 - 29764
  i:   433937763   MSDOS   # Cyl 0*-  4304
  j:   4732560   4339440 unknown   # Cyl  4305 -  8999
  k:   1118880   9072000 unknown   # Cyl  9000 - 10109
  l:   9896039  10201338  ext2fs   # Cyl 10120*- 19937*
  m:   1895544  20097378 unknown   # Cyl 19937*- 21818*
 
 
 disklabel.39:
 # /dev/rwd0c:
 type: ESDI
 disk: ESDI/IDE disk
 label: IBM-DTLA-307015
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 16
 sectors/cylinder: 1008
 cylinders: 16383
 total sectors: 30003120
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0   # microseconds
 track-to-track seek: 0  # microseconds
 drivedata: 0
 
 16 partitions:
 # sizeoffset  fstype [fsize bsize  cpg]
  c:  30003120 0  unused  0 0  # Cyl 0 - 29764
  i:   433937763   MSDOS   # Cyl 0*-  4304
  j:   4732560   4339440 unknown   # Cyl  4305 -  8999
  k:   1118880   9072000 unknown   # Cyl  9000 - 10109
  l:   9896039  10201338  ext2fs   # Cyl 10120*- 19937*
  m:   1895544  20097378 unknown   # Cyl 19937*- 21818*
  n:   5879790  21992985  ext2fs   # Cyl 21818*- 27651*
  o:   2120516  27872838  ext2fs   # Cyl 27651*- 29755*



Re: trouble with extended partitions in latest snapshot

2006-09-15 Thread Adi

that was supposed to go to the list, sorry.

Adi

On 9/15/06, Adi [EMAIL PROTECTED] wrote:

 Can you try to revert sys/arch/i386/i386/disksubr.c to rev 1.53 and see
 if the problem goes away?

yes, that fixes it.

Adi