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: #: id C H S - C H S [ start: size ] ------------------------------------------------------------------------ 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused *3: A6 0 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: # size offset fstype [fsize bsize cpg] a: 1024065 63 4.2BSD 2048 16384 328 # Cyl 0*- 1015 b: 3973473 484418592 swap # 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 @ 0xf0000/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: 0xc0000/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 0 "Intel 82371AB PIIX4 ISA" rev 0x02 pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <WDC AC36400L> wd0: 16-sector PIO, LBA, 6149MB, 12594960 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <E-IDE, CD-ROM 36X/AKU, U10I> SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 10 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x02: polling iic0 at piixpm0 "unknown" at iic0 addr 0x28 not configured rl0 at pci0 dev 9 function 0 "Realtek 8139" rev 0x10: irq 11, address 00:e0:4c:3c:5b:0d rlphy0 at rl0 phy 0: RTL internal PHY rl1 at pci0 dev 11 function 0 "Realtek 8139" rev 0x10: irq 12, address 00:e0:4c:69:ec:31 rlphy1 at rl1 phy 0: RTL internal PHY pciide1 at pci0 dev 12 function 0 "CMD Technology SiI3112 SATA" rev 0x02: DMA pciide1: using irq 10 for native-PCI interrupt pciide1: port 0: device present, speed: 1.5Gb/s wd1 at pciide1 channel 0 drive 0: <ST3250820AS> wd1: 16-sector PIO, LBA48, 238475MB, 488397168 sectors wd1(pciide1:0:0): using BIOS timings, Ultra-DMA mode 6 isa0 at pcib0 isadma0 at isa0 ast0 at isa0 port 0x1a0/32 irq 5 pccom3 at ast0 slave 0: ns8250, no fifo pccom4 at ast0 slave 1: ns8250, no fifo pccom5 at ast0 slave 2: ns8250, no fifo pccom6 at ast0 slave 3: ns8250, no fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pccom2: irq 5 already in use fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask e745 netmask ff45 ttymask ffe7 pctr: 686-class user-level performance counters enabled mtrr: Pentium Pro MTRR support dkcsum: wd0 matches BIOS drive 0x80 dkcsum: wd1 matches BIOS drive 0x81 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 -- If you don't know where you're going, any road will get you there.