reboot -> WARNING: / was not properly unmounted

ports

Active Member
Hallo und schoenen Abend,

ich habe eben ein OpenBSD 3.6 auf einer weiteren Maschine installiert
und habe das seltsame Problem, dass nach jedem 'reboot' die Meldung
'WARNING: / was not properly unmounted' zu sehen ist.
Denn Effekt habe ich, seit ich zwei weitere S-ATA Platten eingebaut
habe. Sprich, ich habe auf eine Platte, ehemals wd0, das BSD
installiert und nach erfolgreicher Installation die beiden S-ATA
eingebaut. Danach ist mein wd0 nach wd2 'raufgerutscht'. Ich habe dann
meine fstab anpassen muessen, da die nat. auf wd0x verwies. ;)
Und setiher bekomme ich die oben genannte Meldung. Ich habe mir die
man pages fuer 'reboot', 'shutdown' und anderes Zeug durchgelesen, in
der Hoffnung einen Hinweis zu bekommen, wo ich evtl. was einstellen
muss, damit / ordentlich unmountet wird. Aber nueschts...

Irgendjemand eine hilfreiche Idee?

ports
 
Zuletzt bearbeitet:
Dann schieb' doch mal bitte Folgendes ueber den Kanal:

- dmesg
- Ausgabe von fdisk fuer alle beteiligten Pladden.
- Dito mit disklabel.
- BIOS-Einstellungen (von wo wird ueberhaupt gebootet?)
 
-------------------- dmesg --------------------
boom# more dmesg
OpenBSD 3.6 (GENERIC) #0: Fri Dec 17 17:18:50 CET 2004
ports@boom.my.domain:/usr/src/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) XP 3000+ ("AuthenticAMD" 686-class) 2.10 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem = 536387584 (523816K)
avail mem = 482402304 (471096K)
using 4278 buffers containing 26923008 bytes (26292K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(c2) BIOS, date 03/16/04, BIOS32 rev. 0 @ 0xfb3e0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf84
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/224 (12 entries)
pcibios0: PCI Exclusive IRQs: 5 9 10 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0x10000 0xd0000/0x4000! 0xd4000/0x1800 0xd6000/0x1000 0xd7000/0x4800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Nvidia nForce2 PCI" rev 0xc1
"Nvidia nForce2" rev 0xc1 at pci0 dev 0 function 1 not configured
"Nvidia nForce2" rev 0xc1 at pci0 dev 0 function 2 not configured
"Nvidia nForce2" rev 0xc1 at pci0 dev 0 function 3 not configured
"Nvidia nForce2" rev 0xc1 at pci0 dev 0 function 4 not configured
"Nvidia nForce2" rev 0xc1 at pci0 dev 0 function 5 not configured
pcib0 at pci0 dev 1 function 0 "Nvidia nForce2 ISA" rev 0xa4
"Nvidia nForce2 SMBus" rev 0xa2 at pci0 dev 1 function 1 not configured
ohci0 at pci0 dev 2 function 0 "Nvidia nForce2 USB" rev 0xa4: irq 5, version 1.0, legacy support
ohci0: SMM does not respond, resetting
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Nvidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 2 function 1 "Nvidia nForce2 USB" rev 0xa4: irq 10, version 1.0, legacy support
ohci1: SMM does not respond, resetting
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Nvidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ehci0 at pci0 dev 2 function 2 "Nvidia nForce2 USB2" rev 0xa4: irq 11
ehci0: EHCI version 1.0
ehci0: companion controllers, 4 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: Nvidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
"Nvidia nForce2 LAN" rev 0xa1 at pci0 dev 4 function 0 not configured
ppb0 at pci0 dev 8 function 0 "Nvidia nForce2 PCI-PCI" rev 0xa3
pci1 at ppb0 bus 1
skc0 at pci1 dev 4 function 0 "Marvell SKv2" rev 0x13: irq 5
skc0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
sk0 at skc0 port A: address 00:0e:a6:3d:b1:94
eephy0 at sk0 phy 0: Marvell 88E1000* Gigabit PHY
vga1 at pci1 dev 6 function 0 "SIS 300/305/630 VGA" rev 0x90
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pciide0 at pci1 dev 11 function 0 "CMD Technology SiI3112 SATA" rev 0x02: DMA, channel 0 wired to native-PCI, channel 1
wired to native-PCI
pciide0: using irq 11 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <ST3160023AS>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1 at pciide0 channel 1 drive 0: <SAMSUNG SP1614C>
wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
pciide1 at pci0 dev 9 function 0 "Nvidia nForce2 IDE" rev 0xa2: DMA, channel 0 configured to compatibility, channel 1 co
nfigured to compatibility
wd2 at pciide1 channel 0 drive 0: <ST38420A>
wd2: 16-sector PIO, LBA, 8223MB, 16841664 sectors
wd2(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide1 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <LITE-ON, LTR-52327S, QS55> SCSI0 5/cdrom removable
atapiscsi1 at pciide1 channel 1 drive 1
scsibus1 at atapiscsi1: 2 targets
cd1 at scsibus1 targ 0 lun 0: <SAMSUNG, CD-ROM SC-152C, C300> SCSI0 5/cdrom removable
cd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 2
cd1(pciide1:1:1): using PIO mode 4, DMA mode 2
"Nvidia nForce2 FireWire" rev 0xa3 at pci0 dev 13 function 0 not configured
ppb1 at pci0 dev 30 function 0 "Nvidia nForce2 AGP" rev 0xc1
pci2 at ppb1 bus 2
isa0 at pcib0
isadma0 at isa0
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>
sysbeep0 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
biomask ff65 netmask ff65 ttymask ffe7
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 81
dkcsum: wd1 matched BIOS disk 82
dkcsum: wd2 matched BIOS disk 80
root on wd2a
rootdev=0x20 rrootdev=0x320 rawdev=0x322
WARNING: / was not properly unmounted
-------------------- dmesg --------------------

-------------------- fdisk wd0 --------------------
boom# fdisk wd0
Disk: wd0 geometry: 19457/255/63 [312576705 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 - 19456 254 63 [ 63: 312576642 ] OpenBSD

-------------------- fdisk wd1 --------------------
boom# fdisk wd1
Disk: wd1 geometry: 19457/255/63 [312576705 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
------------------------------------------------------------------------
0: 83 0 1 1 - 19456 254 63 [ 63: 312576642 ] Linux files*
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
-------------------- fdisk wd1 --------------------

-------------------- fdisk wd2 --------------------
boom# fdisk wd2
Disk: wd2 geometry: 1048/255/63 [16836120 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 - 1047 254 63 [ 63: 16836057 ] OpenBSD
-------------------- fdisk wd2 --------------------


-------------------- disklabel wd0 --------------------
boom# disklabel wd0
# using MBR partition 3: type A6 off 63 (0x3f) size 312576642 (0x12a18a82)
# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: ST3160023AS
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 312581808
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: 312576642 63 4.2BSD 2048 16384 328 # (Cyl. 0*- 310095*)
c: 312581808 0 unused 0 0 # (Cyl. 0 - 310100)
-------------------- disklabel wd0 --------------------

-------------------- disklabel wd1 --------------------
boom# disklabel wd1
disklabel: warning, DOS partition table with no valid OpenBSD partition
# /dev/rwd1c:
type: ESDI
disk: ESDI/IDE disk
label: SAMSUNG SP1614C
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 312581808
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: 312581745 63 4.2BSD 2048 16384 328 # (Cyl. 0*- 310100)
c: 312581808 0 unused 0 0 # (Cyl. 0 - 310100)
-------------------- disklabel wd1 --------------------

-------------------- disklabel wd2 --------------------
boom# disklabel wd2
# using MBR partition 3: type A6 off 63 (0x3f) size 16836057 (0x100e5d9)
# /dev/rwd2c:
type: ESDI
disk: ESDI/IDE disk
label: ST38420A
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 16841664
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: 102753 63 4.2BSD 2048 16384 102 # (Cyl. 0*- 101)
b: 1048320 102816 swap # (Cyl. 102 - 1141)
c: 16841664 0 unused 0 0 # (Cyl. 0 - 16707)
d: 1048320 1151136 4.2BSD 2048 16384 328 # (Cyl. 1142 - 2181)
e: 1048320 2199456 4.2BSD 2048 16384 328 # (Cyl. 2182 - 3221)
f: 5119632 3247776 4.2BSD 2048 16384 328 # (Cyl. 3222 - 8300)
g: 8468712 8367408 4.2BSD 2048 16384 328 # (Cyl. 8301 - 16702*)
-------------------- disklabel wd2 --------------------

In dem Zusammenhang sehe ich, dass wd1 nicht so ist wie es sein sollte.
Ich boote von wd2. Da liegt das System auch drauf. Im BIOS ist auch
eingestellt, dass von der eingebauten IDE (ehemals wd0, jetzt wd2)
gebootet werden soll.

Danke bisher ;)

ports
 
ports schrieb:
Hallo und schoenen Abend,

ich habe eben ein OpenBSD 3.6 auf einer weiteren Maschine installiert
und habe das seltsame Problem, dass nach jedem 'reboot' die Meldung
'WARNING: / was not properly unmounted' zu sehen ist.
Denn Effekt habe ich, seit ich zwei weitere S-ATA Platten eingebaut
habe. Sprich, ich habe auf eine Platte, ehemals wd0, das BSD
installiert und nach erfolgreicher Installation die beiden S-ATA
eingebaut. Danach ist mein wd0 nach wd2 'raufgerutscht'. Ich habe dann
meine fstab anpassen muessen, da die nat. auf wd0x verwies. ;)
Und setiher bekomme ich die oben genannte Meldung. Ich habe mir die
man pages fuer 'reboot', 'shutdown' und anderes Zeug durchgelesen, in
der Hoffnung einen Hinweis zu bekommen, wo ich evtl. was einstellen
muss, damit / ordentlich unmountet wird. Aber nueschts...

Irgendjemand eine hilfreiche Idee?

ports

http://monkey.org/openbsd/archive/misc/0402/msg01664.html

"Boot into single user mode and run "fsck -fy /". That should fix
the clean flag".

Schreib ob's funktioniert hat :)
 
Zurück
Oben