Date: Fri, 15 Sep 95 10:55 MET DST From: Marcus.John@wiesbaden.netsurf.de To: bde@zeta.org.au Cc: freebsd-bugs@freebsd.org Subject: Re: Funny fdisk? Message-ID: <m0stWYQ-0001IgC@vistec.com>
index | next in thread | raw e-mail
Hi Bruce!
>What is the output from:
>
>- dmesg (or the end of /var/log/messages) after booting with -v (messages
> about the disk only, including the one about the BIOS geometry)
>- disklabel /dev/rwd0
>- fdisk
Disk wd0 is a local booting; disk wd1 is for testing purposes
*******************************************************************************
*
With boot from local disk (wd0):
FreeBSD 2.0.5-RELEASE #0: Fri Aug 4 10:35:49 MESZ 1995
root@Idefix:/usr/src/sys/compile/LAMARC
CPU: i486DX (486-class CPU)
real memory = 16384000 (4000 pages)
avail memory = 15142912 (3697 pages)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x300-0x31f irq 10 maddr 0xd0000 msize 16384 on isa
ed0: address 00:00:c0:9e:4c:6c, type WD8013EPC (16 bit)
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16450
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16450
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 765
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <QUANTUM FIREBALL1080A>
wd0: 1039MB (2128896 sectors), 2112 cyls, 16 heads, 63 S/T, 512 B/S
wdc0: unit 1 (wd1): <WDC AP4200>
wd1: 202MB (414540 sectors), 987 cyls, 12 heads, 35 S/T, 512 B/S
npx0 on motherboard
npx0: INT 16 interface
Castor[root-ttyv0/root]> disklabel /dev/wd0
# /dev/wd0:
type: unknown
disk:
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 64
sectors/cylinder: 4032
cylinders: 2112
sectors/unit: 2128896
rpm: 0
interleave: 0
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
3 partitions:
# size offset fstype [fsize bsize bps/cpg]
c: 2128896 0 unused 0 0 # (Cyl. 0 - 527)
Warning, revolutions/minute 0
boot block size 0
super block size 0
Castor[root-ttyv0/root]> disklabel /dev/wd1
# /dev/wd1:
type: unknown
disk:
label:
flags:
bytes/sector: 512
sectors/track: 35
tracks/cylinder: 12
sectors/cylinder: 420
cylinders: 987
sectors/unit: 414540
rpm: 0
interleave: 0
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
3 partitions:
# size offset fstype [fsize bsize bps/cpg]
c: 414540 0 unused 0 0 # (Cyl. 0 - 986)
Warning, revolutions/minute 0
boot block size 0
super block size 0
Castor[root-ttyv0/root]> fdisk /dev/wd0
******* Working on device /dev/wd0 *******
parameters extracted from in-core disklabel are:
cylinders=2112 heads=64 sectors/track=63 (4032 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=2112 heads=64 sectors/track=63 (4032 blks/cyl)
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
sysid 6,(Primary 'big' DOS (> 32MB))
start 63, size 822465 (401 Meg), flag 0
beg: cyl 0/ sector 1/ head 1;
end: cyl 203/ sector 63/ head 63
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 822528, size 407232 (198 Meg), flag 80
beg: cyl 204/ sector 1/ head 0;
end: cyl 304/ sector 63/ head 63
The data for partition 3 is:
sysid 99,(ISC UNIX, other System V/386, GNU HURD or Mach)
start 1229760, size 899136 (439 Meg), flag 0
beg: cyl 305/ sector 1/ head 0;
end: cyl 527/ sector 63/ head 63
Castor[root-ttyv0/root]> fdisk /dev/wd1
******* Working on device /dev/wd1 *******
parameters extracted from in-core disklabel are:
cylinders=987 heads=12 sectors/track=35 (420 blks/cyl)
parameters to be used for BIOS calculations are:
cylinders=987 heads=12 sectors/track=35 (420 blks/cyl)
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
<UNUSED>
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 0, size 50000 (24 Meg), flag 80
beg: cyl 0/ sector 1/ head 0;
end: cyl 1023/ sector 63/ head 255
*******************************************************************************
******
Now for the diskless boot: (Same machine only different hostname!)
Asterix[root-ttyp0/root]> dmesg
FreeBSD 2.0.5-RELEASE #0: Fri Aug 4 10:35:49 MESZ 1995
root@Idefix:/usr/src/sys/compile/LAMARC
CPU: i486DX (486-class CPU)
real memory = 16384000 (4000 pages)
avail memory = 15142912 (3697 pages)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x300-0x31f irq 10 maddr 0xd0000 msize 16384 on isa
ed0: address 00:00:c0:9e:4c:6c, type WD8013EPC (16 bit)
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16450
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16450
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 765
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <QUANTUM FIREBALL1080A>
wd0: 1039MB (2128896 sectors), 2112 cyls, 16 heads, 63 S/T, 512 B/S
wdc0: unit 1 (wd1): <WDC AP4200>
wd1: 202MB (414540 sectors), 987 cyls, 12 heads, 35 S/T, 512 B/S
npx0 on motherboard
npx0: INT 16 interface
NFS SWAP: 130.2.5.1:/bsd/swapfiles
NFS ROOT: 130.2.5.1:/bsd/systems/Asterix
Asterix[root-ttyp0/root]> disklabel /dev/wd0
# /dev/wd0:
type: ESDI
disk: wd0s2
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 64
sectors/cylinder: 4032
cylinders: 101
sectors/unit: 407232
rpm: 0
interleave: 0
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 341696 65536 4.2BSD 0 0 0 # (Cyl. 16*- 100*)
b: 65536 0 swap # (Cyl. 0 - 16*)
c: 407232 0 unused 0 0 # (Cyl. 0 - 100)
Warning, revolutions/minute 0
super block size 0
Asterix[root-ttyp0/root]> disklabel /dev/wd1
# /dev/wd1:
type: ESDI
disk: wd0s2
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 64
sectors/cylinder: 4032
cylinders: 102
sectors/unit: 414540
rpm: 0
interleave: 0
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 341696 65536 4.2BSD 0 0 0 # (Cyl. 16*- 100*)
b: 65536 0 swap # (Cyl. 0 - 16*)
c: 407232 0 unused 0 0 # (Cyl. 0 - 100)
Warning, revolutions/minute 0
super block size 0
Asterix[root-ttyp0/root]>Sep 15 08:58:14 Asterix /kernel: wd1: raw partition si
ze != slice size
Sep 15 08:58:14 Asterix /kernel: wd1: raw partition size != slice size
Sep 15 08:58:14 Asterix /kernel: wd1: start 0, end 414539, size 414540
Sep 15 08:58:14 Asterix /kernel: wd1: start 0, end 414539, size 414540
Sep 15 08:58:14 Asterix /kernel: wd1c: start 0, end 407231, size 407232
Sep 15 08:58:14 Asterix /kernel: wd1c: start 0, end 407231, size 407232
Asterix[root-ttyp0/root]> fdisk /dev/wd0
******* Working on device /dev/wd0 *******
parameters extracted from in-core disklabel are:
cylinders=101 heads=64 sectors/track=63 (4032 blks/cyl)
parameters to be used for BIOS calculations are:
cylinders=101 heads=64 sectors/track=63 (4032 blks/cyl)
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
<UNUSED>
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 0, size 50000 (24 Meg), flag 80
beg: cyl 0/ sector 1/ head 0;
end: cyl 1023/ sector 63/ head 255
Asterix[root-ttyp0/root]> fdisk /dev/wd1
******* Working on device /dev/wd1 *******
parameters extracted from in-core disklabel are:
cylinders=102 heads=64 sectors/track=63 (4032 blks/cyl)
parameters to be used for BIOS calculations are:
cylinders=102 heads=64 sectors/track=63 (4032 blks/cyl)
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
<UNUSED>
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 0, size 50000 (24 Meg), flag 80
beg: cyl 0/ sector 1/ head 0;
end: cyl 1023/ sector 63/ head 255
Asterix[root-ttyp0/root]>Sep 15 08:58:41 Asterix /kernel: wd1: raw partition si
ze != slice size
Sep 15 08:58:41 Asterix /kernel: wd1: raw partition size != slice size
Sep 15 08:58:41 Asterix /kernel: wd1: start 0, end 414539, size 414540
Sep 15 08:58:41 Asterix /kernel: wd1: start 0, end 414539, size 414540
Sep 15 08:58:41 Asterix /kernel: wd1c: start 0, end 407231, size 407232
Sep 15 08:58:41 Asterix /kernel: wd1c: start 0, end 407231, size 407232
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0stWYQ-0001IgC>
