Re: persistent fsck error on newly newfs'ed filesystem [BLK(S) MISSING IN BIT MAPS]
Well, by putting the swap partition at the end of the disk rather than the beginning, you make it slow, much slower. openbsd/i386 allows you to start the swap partition at the very beginning of the disk, before the / partition. As far as why this is happening, I remember persistent errors like this that were either bugs in fsck, vfs/ffs, or hardware problems. I'm not sure anymore because it's been so long but you might want to try the "obvious" like different kernel and fsck versions (fsck is statically linked so you don't have to copy anything else), and of course see if you can reproduce this behavior with different motherboard/ram/sata controller/hard disk, try swapping one at a time to see when the problem persists. Rogier Krieger [EMAIL PROTECTED] wrote: > On one of my older P2 machines (running 3.9-stable), I seem to have a > very persistent fsck error: "BLK(S) MISSING IN BIT MAPS". Regardless > of whether or not I choose to salvage these, I keep getting the error > below. > > The error occurs on an unmounted file system. After choosing to > salvage, seems to complete normally. Running it again yields the same > missing blocks message. > > Expecting user error, I emptied the drive using dd, ran fdisk -i and > re-created the disklabel using the built-in editor (disklabel -E). > Even on a newly newfs'ed filesystem, the problem persists. > > If anyone could shed some light on what is going wrong, I would > greatly appreciate it. Cluebats are equally welcome. > > Output for fsck, fdisk, disklabel, /etc/fstab and dmesg are all > included below. If I should provide other info, please let me know. > > Cheers, > > Rogier > > > > [EMAIL PROTECTED]:/# fsck -fy /backup > ** /dev/rwd1e > ** File system is already clean > ** Last Mounted on > ** Phase 1 - Check Blocks and Sizes > ** Phase 2 - Check Pathnames > ** Phase 3 - Check Connectivity > ** Phase 4 - Check Reference Counts > ** Phase 5 - Check Cyl groups > BLK(S) MISSING IN BIT MAPS > SALVAGE? yes > > 1 files, 1 used, 41280687 free (15 frags, 5160084 blocks, 0.0% > fragmentation) > > * FILE SYSTEM WAS MODIFIED * > > > > [EMAIL PROTECTED]:/# fdisk wd1 > Disk: wd1 geometry: 30401/255/63 [488392065 Sectors] > Offset: 0 Signature: 0xAA55 > Starting Ending LBA Info: > #: idC H S -C H S [ start: size ] > > 0: 000 0 0 -0 0 0 [ 0: 0 ] unused > 1: 000 0 0 -0 0 0 [ 0: 0 ] unused > 2: 000 0 0 -0 0 0 [ 0: 0 ] unused > *3: A60 1 1 - 30400 254 63 [ 63: 488392002 ] OpenBSD > > > > [EMAIL PROTECTED]:/# disklabel wd1 > # Inside MBR partition 3: type A6 start 63 size 488392002 > # /dev/rwd1c: > type: ESDI > disk: ESDI/IDE disk > label: ST3250820AS > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 16 > sectors/cylinder: 1008 > cylinders: 16383 > total sectors: 488397168 > 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] > a: 102406563 4.2BSD 2048 16384 328 # Cyl 0*- > 1015 > b: 3973473 484418592swap # Cyl 480574 > -484515* > c: 488397168 0 unused 0 0 # Cyl 0 > -484520 > d: 1048320 1024128 4.2BSD 2048 16384 16 # Cyl 1016 - > 2055 > e: 167772528 2072448 4.2BSD 2048 16384 328 # Cyl 2056 > -168496 > h: 115343424 169844976 4.2BSD 2048 16384 16 # Cyl 168497 > -282924 > i: 167772528 285188400 4.2BSD 2048 16384 16 # Cyl 282925 > -449365 > j: 10486224 452960928 4.2BSD 2048 16384 16 # Cyl 449366 > -459768 > k: 20971440 463447152 4.2BSD 2048 16384 16 # Cyl 459769 > -480573 > > > > [EMAIL PROTECTED]:/# cat /etc/fstab > # System drive (WD Caviar 6 GByte IDE) > /dev/wd0a / ffs rw 1 1 > #/dev/wd0d /altroot ffs xx 0 0 > /dev/wd0e /var ffs rw,nodev,nosuid 1 2 > /dev/wd0f /var/log ffs rw,nodev,nosuid 1 2 > /dev/wd0g /usr ffs rw,nodev 1 2 > /dev/wd0h /data ffs rw,nodev,nosuid 1 2 > # > # Secondary drive (Seagate 250 GByte S-ATA) > /dev/wd1d /altroot ffs xx 0 0 > /dev/wd1e /backup ffs rw,nodev,nosuid 1 2 > /dev/wd1h /home ffs rw,nodev,nosuid 1 2 > /dev/wd1i /storage ffs rw,nodev,nosuid,noexec 1 2 > /dev/wd1j /var/www ffs ro,nodev,nosuid,noexec 1 2 > /dev/wd1k /var/squid ffs ro,nodev,nosuid,noexec 1 2 > > > > [EMAIL PROTECTED]:/# dmesg > OpenBSD 3.9-stable (GENERIC) #9: Sun Sep 3 17:34:41 CEST 2006 >[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC > cpu0: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 301 MHz > cpu0: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,
persistent fsck error on newly newfs'ed filesystem [BLK(S) MISSING IN BIT MAPS]
On one of my older P2 machines (running 3.9-stable), I seem to have a very persistent fsck error: "BLK(S) MISSING IN BIT MAPS". Regardless of whether or not I choose to salvage these, I keep getting the error below. The error occurs on an unmounted file system. After choosing to salvage, seems to complete normally. Running it again yields the same missing blocks message. Expecting user error, I emptied the drive using dd, ran fdisk -i and re-created the disklabel using the built-in editor (disklabel -E). Even on a newly newfs'ed filesystem, the problem persists. If anyone could shed some light on what is going wrong, I would greatly appreciate it. Cluebats are equally welcome. Output for fsck, fdisk, disklabel, /etc/fstab and dmesg are all included below. If I should provide other info, please let me know. Cheers, Rogier [EMAIL PROTECTED]:/# fsck -fy /backup ** /dev/rwd1e ** File system is already clean ** Last Mounted on ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups BLK(S) MISSING IN BIT MAPS SALVAGE? yes 1 files, 1 used, 41280687 free (15 frags, 5160084 blocks, 0.0% fragmentation) * FILE SYSTEM WAS MODIFIED * [EMAIL PROTECTED]:/# fdisk wd1 Disk: wd1 geometry: 30401/255/63 [488392065 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: idC H S -C H S [ start: size ] 0: 000 0 0 -0 0 0 [ 0: 0 ] unused 1: 000 0 0 -0 0 0 [ 0: 0 ] unused 2: 000 0 0 -0 0 0 [ 0: 0 ] unused *3: A60 1 1 - 30400 254 63 [ 63: 488392002 ] OpenBSD [EMAIL PROTECTED]:/# disklabel wd1 # Inside MBR partition 3: type A6 start 63 size 488392002 # /dev/rwd1c: type: ESDI disk: ESDI/IDE disk label: ST3250820AS flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 16383 total sectors: 488397168 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] a: 102406563 4.2BSD 2048 16384 328 # Cyl 0*- 1015 b: 3973473 484418592swap # Cyl 480574 -484515* c: 488397168 0 unused 0 0 # Cyl 0 -484520 d: 1048320 1024128 4.2BSD 2048 16384 16 # Cyl 1016 - 2055 e: 167772528 2072448 4.2BSD 2048 16384 328 # Cyl 2056 -168496 h: 115343424 169844976 4.2BSD 2048 16384 16 # Cyl 168497 -282924 i: 167772528 285188400 4.2BSD 2048 16384 16 # Cyl 282925 -449365 j: 10486224 452960928 4.2BSD 2048 16384 16 # Cyl 449366 -459768 k: 20971440 463447152 4.2BSD 2048 16384 16 # Cyl 459769 -480573 [EMAIL PROTECTED]:/# cat /etc/fstab # System drive (WD Caviar 6 GByte IDE) /dev/wd0a / ffs rw 1 1 #/dev/wd0d /altroot ffs xx 0 0 /dev/wd0e /var ffs rw,nodev,nosuid 1 2 /dev/wd0f /var/log ffs rw,nodev,nosuid 1 2 /dev/wd0g /usr ffs rw,nodev 1 2 /dev/wd0h /data ffs rw,nodev,nosuid 1 2 # # Secondary drive (Seagate 250 GByte S-ATA) /dev/wd1d /altroot ffs xx 0 0 /dev/wd1e /backup ffs rw,nodev,nosuid 1 2 /dev/wd1h /home ffs rw,nodev,nosuid 1 2 /dev/wd1i /storage ffs rw,nodev,nosuid,noexec 1 2 /dev/wd1j /var/www ffs ro,nodev,nosuid,noexec 1 2 /dev/wd1k /var/squid ffs ro,nodev,nosuid,noexec 1 2 [EMAIL PROTECTED]:/# dmesg OpenBSD 3.9-stable (GENERIC) #9: Sun Sep 3 17:34:41 CEST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 301 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real mem = 133799936 (130664K) avail mem = 115363840 (112660K) using 1658 buffers containing 6791168 bytes (6632K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(c4) BIOS, date 03/22/98, BIOS32 rev. 0 @ 0xfb4f0 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 70102 dobusy 1 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0xb968 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf10/128 (6 entries) pcibios0: PCI Exclusive IRQs: 10 11 12 pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371SB ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0x8000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x02 ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x02 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI Rage Pro" rev 0x5c wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 7 function