Re: WARNING: / was not properly unmounted

2010-06-11 Thread Gabriel Guzman
On Fri, 16 Oct 2009 19:32:05 -0600
Theo de Raadt dera...@cvs.openbsd.org wrote:

  I was having this issue with -current from Oct 9th, and now with
  -current from Oct 14th.  Basically, I issue: 
  
  # halt -p 
  
  And get all the proper messages, including the:  Synching Disks...
  Done.  That happens just before the power is flipped off.  
  
  Everytime I turn the machine back on, I get the WARNING: / was not
  properly unmounted and fsck is run, and marks all the filesystems
  as clean.  
  
  Just in case, I issued a: 
  
  # shutdown now 
  
  dropped into single user mode and ran fsck on all partitions
  manually, marked them all as clean and issued: 
 
 You have a multiprocessor machine.  This issue is known...  and we
 think we know how to fix it.  It affects only a few people, which is
 curious.
 
 

In case the archives want to know.  This is no longer an issue, at
least, not on my machine.  Fixed in 4.7 (likely well before). 

gabe. 



WARNING: / was not properly unmounted

2009-10-16 Thread Gabriel Guzman
I was having this issue with -current from Oct 9th, and now with
-current from Oct 14th.  Basically, I issue: 

# halt -p 

And get all the proper messages, including the:  Synching Disks...
Done.  That happens just before the power is flipped off.  

Everytime I turn the machine back on, I get the WARNING: / was not
properly unmounted and fsck is run, and marks all the filesystems as
clean.  

Just in case, I issued a: 

# shutdown now 

dropped into single user mode and ran fsck on all partitions manually,
marked them all as clean and issued: 

# halt

Waited for the message telling me I could press any key to reboot, or
power off the machine.  I powered off the machine, waited a few
seconds, and powered it back on.  Sure enough, WARNING: / was not
properly unmounted  

Just reporting in case anyone else is seeing this issue and wants the
dmesg, or any other info.   I will likely grab a snapshot and upgrade
to it unless I hear otherwise from anyone here.  I realize running
-current is not supported, so I'm not looking for any hand-holding,
just willing to provide information if it's wanted. 

Thanks, 
gabe. 

OpenBSD 4.6-current (GENERIC.MP) #3: Wed Oct 14 00:35:34 EDT 2009
r...@etranger.my.domain:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Pentium(R) Dual CPU T2330 @ 1.60GHz (GenuineIntel
686-class) 1. 60 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR
real mem  = 1063669760 (1014MB) avail mem = 1022148608 (974MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/20/08, BIOS32 rev. 0 @
0xfdcf0, SMBIOS rev. 2.4 @ 0xe0010 (70 entries)
bios0: vendor LENOVO version 7PETB2WW (2.12 ) date 02/20/2008
bios0: LENOVO 76509LU
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT SSDT SSDT
SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) EXP0(S4) EXP1(S4)
EXP2(S4) EXP3(S4) PCI1 (S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3)
USB4(S3) EHC0(S3) EHC1(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24
bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 133MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Pentium(R) Dual CPU T2330 @ 1.60GHz (GenuineIntel
686-class) 1.60 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0:
misconfigured as apic 2, remapped to apid 1 acpihpet0 at acpi0:
14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus -1 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4513 serial  5504 type LION oem
SANYO acpiac0 at acpi0: AC unit offline
acpithinkpad0 at acpi0
bios0: ROM list: 0xc/0x1! 0xd/0x1a00 0xd1a00/0x1000
0xe/0x1! cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1333,
1067, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c
vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x0c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 10)
drm0 at inteldrm0
Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 1 int
20 (irq 11)
uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 1 int
21 (irq 11)
ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 1 int
22 (irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x03:
apic 1 int 1 7 (irq 11)
azalia0: codecs: Conexant CX20549
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x03: apic 1 int
20 (irq 11)
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x03: apic 1 int
21 (irq 11)
pci2 at ppb1 bus 3
wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02:
apic 1 int 17 (irq 11), MoW1, address 00:1f:3c:18:d8:83
ppb2 at pci0 dev 28 function 2 Intel 82801H PCIE rev 0x03: apic 1 int
22 (irq 11)
pci3 at ppb2 bus 4
bge0 at pci3 dev 0 function 0 Broadcom BCM5787M rev 0x02,
BCM5754/5787 A2 (0xb 002): apic 1 int 18 (irq 11), address
00:1c:25:90:79:9f brgphy0 at bge0 phy 1: BCM5787 10/100/1000baseT PHY,
rev. 0

Re: WARNING: / was not properly unmounted

2009-10-16 Thread Theo de Raadt
 I was having this issue with -current from Oct 9th, and now with
 -current from Oct 14th.  Basically, I issue: 
 
 # halt -p 
 
 And get all the proper messages, including the:  Synching Disks...
 Done.  That happens just before the power is flipped off.  
 
 Everytime I turn the machine back on, I get the WARNING: / was not
 properly unmounted and fsck is run, and marks all the filesystems as
 clean.  
 
 Just in case, I issued a: 
 
 # shutdown now 
 
 dropped into single user mode and ran fsck on all partitions manually,
 marked them all as clean and issued: 

You have a multiprocessor machine.  This issue is known...  and we think
we know how to fix it.  It affects only a few people, which is curious.



WARNING: / was not properly unmounted

2007-09-11 Thread Douglas A. Tutty
I have recently installed 4.1 on a P-II with an 850 MB drive and 64 MB
ram.

Right from the first reboot, I get

WARNING: / was not properly unmounted

The boot then gets delayed during the fsck.

I've never had an unclean shutdown, always doing
# shutdown -h now
or
# shutdown -r now

I reviewed the list archives and saw the suggestion to run 
# fsck -fy
which I did but it didn't help.

Being a small drive, the fsck doesn't take too long.  However, I would
like to fix whatever is not unmounting the drive properly.  

Here's my dmesg.  Thanks.
Doug.

--

OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium II (GenuineIntel 686-class, 512KB L2 cache) 234 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX
real mem  = 66678784 (65116K)
avail mem = 52539392 (51308K)
using 844 buffers containing 3457024 bytes (3376K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 12/02/97, BIOS32 rev. 0 @ 0xf04e0
apm0 at bios0: Power Management spec V1.2 (BIOS mgmt disabled)
apm0: APM power management enable: unrecognized device ID (9)
apm0: APM engage (device 1): power management disabled (1)
apm0: AC on, battery charge unknown
apm0: flags b0102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0xbd2
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf0a90/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:04:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xc000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82443LX AGP rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82443LX AGP rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 1 function 0 Trident 3DImage 9750 rev 0xf3
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 4 function 0 Intel 82371AB PIIX4 ISA rev 0x01
pciide0 at pci0 dev 4 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: QUANTUM TRB850A
wd0: 8-sector PIO, LBA, 810MB, 1660176 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
wdc_atapi_intr: warning: reading only 0 of 36 bytes
wdc_atapi_intr: warning: reading only 14 of 18 bytes
cd0 at scsibus0 targ 0 lun 0: TOSHIBA, CD-ROM XM-5302TA, 1095 SCSI0 5/cdrom 
removable
atapiscsi1 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi1: 2 targets
sd0 at scsibus1 targ 0 lun 0: IOMEGA, ZIP 100, 14.A SCSI0 0/direct removable
sd0: drive offline
cd0(pciide0:1:0): using PIO mode 0
sd0(pciide0:1:1): using PIO mode 0
uhci0 at pci0 dev 4 function 2 Intel 82371AB USB rev 0x01: irq 5
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 4 function 3 Intel 82371AB Power rev 0x01: SMI
iic0 at piixpm0
rl0 at pci0 dev 9 function 0 Realtek 8139 rev 0x10: irq 5, address 
00:50:fc:4b:66:ab
rlphy0 at rl0 phy 0: RTL internal PHY
isa0 at pcib0
isadma0 at isa0
ast0: irq 5 already in use
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
le0: irq 15 already in use
sb0: irq 5 already in use
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lpt1 at isa0 port 0x278/4: polled
lm0 at isa0 port 0x290/8: LM78J
npx0 at isa0 port 0xf0/16: reported by CPUID; 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
lms0: irq 5 already in use
lms1: 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
pcic: does not support memory and I/O cards, ignored (ident=1)
pcic: does not support memory and I/O cards, ignored (ident=1)
pcic: does not support memory and I/O cards, ignored (ident=1)
pcic: does not support memory and I/O cards, ignored (ident=1)
biomask ef65 netmask ef65 ttymask ffe7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / was not properly unmounted
wsdisplay0: screen 6 added (80x25, vt100 emulation)
wsdisplay0: screen 7 added (80x25, vt100 emulation)
wsdisplay0: screen 8 added (80x25, vt100 emulation)
wsdisplay0: screen 9 added (80x25, vt100 emulation)
wsdisplay0: screen 10 added (80x25, vt100 emulation)
wsdisplay0: screen 11 added (80x25, vt100 emulation)



Re: WARNING: / was not properly unmounted

2007-09-11 Thread Douglas A. Tutty
On Tue, Sep 11, 2007 at 04:22:49PM +0300, Evgeniy Sudyr wrote:
  I have recently installed 4.1 on a P-II with an 850 MB drive and 64 MB
  ram.
 
  Right from the first reboot, I get
 
  WARNING: / was not properly unmounted
 
  The boot then gets delayed during the fsck.
 
  I've never had an unclean shutdown, always doing
  # shutdown -h now
  or
  # shutdown -r now
 
  I reviewed the list archives and saw the suggestion to run 
  # fsck -fy
  which I did but it didn't help.
 
  Being a small drive, the fsck doesn't take too long.  However, I would
  like to fix whatever is not unmounting the drive properly.  
 
  Here's my dmesg.  Thanks.
  Doug.
 
  WARNING: / was not properly unmounted
 
 fsck -fy /
 
 Where / is your mount point if you have other (must have :) ) run
 this command for all other mount points.
 
 Btw look at this manual 
 http://www.openbsd.org/cgi-bin/man.cgi?query=fsckapropos=0sektion=0manpath=OpenBSD+Currentarch=i386format=html

Yes, sorry, I did do
# fsck -fy /
I only have the one mount point since this is my first production
install and don't have much room on the drive for mis-sized partitions.

And yes I've read man fsck.

Doug.