Shutdown problem.

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Shutdown problem.

4625
/etc/rc.shutdown in progress...
/etc/rc.shutdown complete.
syncing disks...

And thats all, folk. Once I was sitting 4 minutes near my PC and
waiting for power off. Then I manually turned off the power. This
problem may repeat from time to time on 'reboot' and 'halt -p'
commands.

Yesterday I got tired of waiting and I went to watch TV. When I
returned, nothing has changed - the same message on my display, power
off did not happen.

I have use OpenBSD 4.5 and execute 'halt -p' or 'reboot' commands once
per day.

OpenBSD 4.5 (200909202109) #0: Sun Sep 20 22:18:12 2009
    root@localhost:/sys/arch/i386/compile/200909202109
cpu0: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 349 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem  = 334000128 (318MB)
avail mem = 314273792 (299MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/05/01, BIOS32 rev. 0 @ 0xfb1b0, SMBIOS rev. 2.1 @ 0xf0800 (29 entries)
bios0: vendor Award Software International, Inc. version "4.51 PG" date 02/05/01
bios0: Giga-Byte Technology CO., LTD i440BX-W977
apm0 at bios0: Power Management spec V1.2 (slowidle)
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
bios0: ROM list: 0xc0000/0xc600!
wd0 at pciide0 channel 0 drive 0: <ST340016A>
wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors
wd1 at pciide0 channel 0 drive 1: <FUJITSU MPC3064AT>
wd1: 16-sector PIO, LBA, 6187MB, 12672450 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
wd2 at pciide0 channel 1 drive 0: <ST3160815A>
wd2: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
atapiscsi0 at pciide0 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <Optiarc, DVD RW AD-5200A, 1.04> ATAPI 5/cdrom removable
wd2(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd2a swap on wd2b dump on wd2b
WARNING: / was not properly unmounted
wsdisplay0: screen 1 added (80x25bf, vt100 emulation)
wsdisplay0: screen 2 added (80x25bf, vt100 emulation)

--
/Buzzer

CPB
Reply | Threaded
Open this post in threaded view
|

Re: Shutdown problem.

CPB
Buzzer wrote:

> /etc/rc.shutdown in progress...
> /etc/rc.shutdown complete.
> syncing disks...
>
> And thats all, folk. Once I was sitting 4 minutes near my PC and
> waiting for power off. Then I manually turned off the power. This
> problem may repeat from time to time on 'reboot' and 'halt -p'
> commands.
>
> Yesterday I got tired of waiting and I went to watch TV. When I
> returned, nothing has changed - the same message on my display, power
> off did not happen.
>
> I have use OpenBSD 4.5 and execute 'halt -p' or 'reboot' commands once
> per day.
>
>
>  
Sometimes you need to disable apm to get proper shutdowns.

At boot prompt, quickly type boot -c
Then type: disable apm

If this fixes problem, you can use config to make change permanent

--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
   -- Robert Heinlein

Reply | Threaded
Open this post in threaded view
|

Re: Shutdown problem.

bitfrost
In reply to this post by 4625
2009/9/26 Buzzer <[hidden email]>

> /etc/rc.shutdown in progress...
> /etc/rc.shutdown complete.
> syncing disks...
>
> And thats all, folk. Once I was sitting 4 minutes near my PC and
> waiting for power off. Then I manually turned off the power. This
> problem may repeat from time to time on 'reboot' and 'halt -p'
> commands.
>
> Yesterday I got tired of waiting and I went to watch TV. When I
> returned, nothing has changed - the same message on my display, power
> off did not happen.
>
> I have use OpenBSD 4.5 and execute 'halt -p' or 'reboot' commands once
> per day.
>
> OpenBSD 4.5 (200909202109) #0: Sun Sep 20 22:18:12 2009
>    root@localhost:/sys/arch/i386/compile/200909202109
> cpu0: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 349 MHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
> real mem  = 334000128 (318MB)
> avail mem = 314273792 (299MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 02/05/01, BIOS32 rev. 0 @ 0xfb1b0,
> SMBIOS rev. 2.1 @ 0xf0800 (29 entries)
> bios0: vendor Award Software International, Inc. version "4.51 PG" date
> 02/05/01
> bios0: Giga-Byte Technology CO., LTD i440BX-W977
> apm0 at bios0: Power Management spec V1.2 (slowidle)
> apm0: AC on, battery charge unknown
> acpi at bios0 function 0x0 not configured
> bios0: ROM list: 0xc0000/0xc600!
> wd0 at pciide0 channel 0 drive 0: <ST340016A>
> wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors
> wd1 at pciide0 channel 0 drive 1: <FUJITSU MPC3064AT>
> wd1: 16-sector PIO, LBA, 6187MB, 12672450 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
> wd2 at pciide0 channel 1 drive 0: <ST3160815A>
> wd2: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
> atapiscsi0 at pciide0 channel 1 drive 1
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <Optiarc, DVD RW AD-5200A, 1.04> ATAPI
> 5/cdrom removable
> wd2(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
> cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
> mtrr: Pentium Pro MTRR support
> softraid0 at root
> root on wd2a swap on wd2b dump on wd2b
> WARNING: / was not properly unmounted
> wsdisplay0: screen 1 added (80x25bf, vt100 emulation)
> wsdisplay0: screen 2 added (80x25bf, vt100 emulation)
>
> --
> /Buzzer
>
>

Hi did you try: shutdown -hp now?

I tested that on my old pc running 4.3 and works ok.

Greetings
--
Atentamente

Andris Genovez Tobar / Sistemas
COMERCIAL SALVADOR PACHECO MORA S.A. / DESDE 1945
Tecnologmas
Cuenca, Luis Cordero 9-70 y Gran Colombia

Telifono. 593-7-2842388 ext 408
Fax. 593-7-2842388 ext 120
Celular 593-97670874
          593-96816996 Alegro
Mail:        [hidden email]
Personal: [hidden email]
www.cspmsa.com
www.crice.org

Reply | Threaded
Open this post in threaded view
|

Re: Shutdown problem.

Philip Guenther-2
In reply to this post by 4625
2009/9/26 Buzzer <[hidden email]>:
> /etc/rc.shutdown in progress...
> /etc/rc.shutdown complete.
> syncing disks...
>
> And thats all, folk. Once I was sitting 4 minutes near my PC and
> waiting for power off. Then I manually turned off the power. This
> problem may repeat from time to time on 'reboot' and 'halt -p'
> commands.
...
> I have use OpenBSD 4.5 and execute 'halt -p' or 'reboot' commands once
> per day.
>
> OpenBSD 4.5 (200909202109) #0: Sun Sep 20 22:18:12 2009
>    root@localhost:/sys/arch/i386/compile/200909202109
...

So, does this behavior reproduce with the 4.5 GENERIC kernel?  If so,
what's the full, not randomly filtered dmesg from booting GENERIC?


Philip Guenther

Reply | Threaded
Open this post in threaded view
|

Re: Shutdown problem.

4625
In reply to this post by CPB
pO DANNYM RADIOPEREHWATA OT 26-Sep-2009 19:01, Chris Bennett
BYL ZAME^EN W \FIRE, NA ^ASTOTE misc, S TAKOJ INFORMACIEJ:

>> /etc/rc.shutdown in progress...
>> /etc/rc.shutdown complete.
>> syncing disks...
>>
>> And thats all, folk. Once I was sitting 4 minutes near my PC and
>> waiting for power off. Then I manually turned off the power. This
>> problem may repeat from time to time on 'reboot' and 'halt -p'
>> commands.
>>
>> Yesterday I got tired of waiting and I went to watch TV. When I
>> returned, nothing has changed - the same message on my display, power
>> off did not happen.
>>
>> I have use OpenBSD 4.5 and execute 'halt -p' or 'reboot' commands once
>> per day.
>>
> Sometimes you need to disable apm to get proper shutdowns.
>
> At boot prompt, quickly type boot -c
> Then type: disable apm
apmd_flags in rc.conf.local file will not disable it?

> If this fixes problem, you can use config to make change permanent
Sometimes I need to put system into deep sleep mode...

--
/Buzzer () KAMPANIQ ascii ribbon - PROTIW PISEM W html FORMATE
                /\ www.asciiribbon.org   - PROTIW PROPRIETARNYH WLOVENIJ

Reply | Threaded
Open this post in threaded view
|

Re: Shutdown problem.

4625
In reply to this post by bitfrost
pO DANNYM RADIOPEREHWATA OT 26-Sep-2009 20:27, Andres Genovez
BYL ZAME^EN W \FIRE, NA ^ASTOTE misc, S TAKOJ INFORMACIEJ:

> > /etc/rc.shutdown in progress...
> > /etc/rc.shutdown complete.
> > syncing disks...
> >
> > Yesterday I got tired of waiting and I went to watch TV. When I
> > returned, nothing has changed - the same message on my display, power
> > off did not happen.
>
> Hi did you try: shutdown -hp now?

I will try. It will take some time to see if problem can be reproduced.

> I tested that on my old pc running 4.3 and works ok.

--
/Buzzer () KAMPANIQ ascii ribbon - PROTIW PISEM W html FORMATE
                /\ www.asciiribbon.org   - PROTIW PROPRIETARNYH WLOVENIJ

Reply | Threaded
Open this post in threaded view
|

Re: Shutdown problem.

4625
In reply to this post by Philip Guenther-2
pO DANNYM RADIOPEREHWATA OT 26-Sep-2009 18:33, Philip Guenther
BYL ZAME^EN W \FIRE, NA ^ASTOTE misc, S TAKOJ INFORMACIEJ:

> > /etc/rc.shutdown in progress...
> > /etc/rc.shutdown complete.
> > syncing disks...
> >
> > And thats all, folk. Once I was sitting 4 minutes near my PC and
> > waiting for power off. Then I manually turned off the power. This
> > problem may repeat from time to time on 'reboot' and 'halt -p'
> > commands.
> ...
> > I have use OpenBSD 4.5 and execute 'halt -p' or 'reboot' commands once
> > per day.
> >
> > OpenBSD 4.5 (200909202109) #0: Sun Sep 20 22:18:12 2009
> >    root@localhost:/sys/arch/i386/compile/200909202109
>
> So, does this behavior reproduce with the 4.5 GENERIC kernel?  If so,
> what's the full, not randomly filtered dmesg from booting GENERIC?

I have almost GENERIC kernel. Diffirence only in WSDISPLAY_
DEFAULTSCREENS.

OpenBSD 4.5 (200909202109) #0: Sun Sep 20 22:18:12 2009
    root@localhost:/sys/arch/i386/compile/200909202109
cpu0: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 349 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem  = 334000128 (318MB)
avail mem = 314273792 (299MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/05/01, BIOS32 rev. 0 @ 0xfb1b0, SMBIOS rev. 2.1 @ 0xf0800 (29 entries)
bios0: vendor Award Software International, Inc. version "4.51 PG" date 02/05/01
bios0: Giga-Byte Technology CO., LTD i440BX-W977
apm0 at bios0: Power Management spec V1.2 (slowidle)
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xb628
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdd60/128 (6 entries)
pcibios0: PCI Exclusive IRQs: 11
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/0xc600!
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x03
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xe0000000, size 0x4000000
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
piixpcib0 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: <ST340016A>
wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors
wd1 at pciide0 channel 0 drive 1: <FUJITSU MPC3064AT>
wd1: 16-sector PIO, LBA, 6187MB, 12672450 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
wd2 at pciide0 channel 1 drive 0: <ST3160815A>
wd2: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
atapiscsi0 at pciide0 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <Optiarc, DVD RW AD-5200A, 1.04> ATAPI 5/cdrom removable
wd2(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 11
piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x02: polling
iic0 at piixpm0
lm1 at iic0 addr 0x2d: W83781D
spdmem0 at iic0 addr 0x50: 64MB SDRAM non-parity PC100CL2
spdmem1 at iic0 addr 0x51: 256MB SDRAM non-parity PC133CL3
vga1 at pci0 dev 11 function 0 vendor "NVIDIA", unknown product 0x032a rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
isa0 at piixpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte 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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83781D
lm1 detached
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
isapnp0 at isa0 port 0x279: read port 0x203
isapnp0: No current device for tag, card 1
sb1 at isapnp0 "Creative SB AWE64 PnP, CTL0045, , Audio" port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5: dsp v4.16
midi1 at sb1: <SB MPU-401 UART>
audio0 at sb1
opl0 at sb1: model OPL3
midi2 at opl0: <SB Yamaha OPL3>
joy0 at isapnp0 "Creative SB AWE64 PnP, CTL7002, PNPB02F, Game" port 0x200/8
"Creative SB AWE64 PnP, CTL0022, , WaveTable" at isapnp0 port 0x620/4 not configured
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
biomask ef45 netmask ef45 ttymask ffdf
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd2a swap on wd2b dump on wd2b
WARNING: / was not properly unmounted
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
wsdisplay0: screen 1 added (80x25bf, vt100 emulation)
wsdisplay0: screen 2 added (80x25bf, vt100 emulation)
wsdisplay0: screen 3 added (80x25bf, vt100 emulation)
wsdisplay0: screen 4 added (80x25bf, vt100 emulation)
wsdisplay0: screen 5 added (80x25bf, vt100 emulation)
wsdisplay0: screen 6 added (80x25bf, vt100 emulation)
wsdisplay0: screen 7 added (80x25bf, vt100 emulation)
wsdisplay0: screen 8 added (80x25bf, vt100 emulation)
wsdisplay0: screen 9 added (80x25bf, vt100 emulation)
wsdisplay0: screen 10 added (80x25bf, vt100 emulation)

--
/Buzzer () KAMPANIQ ascii ribbon - PROTIW PISEM W html FORMATE
                /\ www.asciiribbon.org   - PROTIW PROPRIETARNYH WLOVENIJ

Reply | Threaded
Open this post in threaded view
|

Re: Shutdown problem.

frantisek holop
In reply to this post by 4625
hmm, on Sat, Sep 26, 2009 at 03:11:32PM -0700, Buzzer said that
> /etc/rc.shutdown in progress...
> /etc/rc.shutdown complete.
> syncing disks...

if you don't get the "done" part of "syncing disks..."
than it's not the problem of shutdown and halt -p.

the syncing is not finished.  i get this ocassionaly
on my eeepc.  the file system is not marked clean
and i get an fsck at bootup.  irritating but mostly
harmless (so far).

-f
--
there's no second chance for a good first impression.

Reply | Threaded
Open this post in threaded view
|

Re: Shutdown problem.

nealHogan
In reply to this post by 4625
On Sat, Sep 26, 2009 at 03:11:32PM -0700, Buzzer wrote:

> /etc/rc.shutdown in progress...
> /etc/rc.shutdown complete.
> syncing disks...
>
> And thats all, folk. Once I was sitting 4 minutes near my PC and
> waiting for power off. Then I manually turned off the power. This
> problem may repeat from time to time on 'reboot' and 'halt -p'
> commands.
>
> Yesterday I got tired of waiting and I went to watch TV. When I
> returned, nothing has changed - the same message on my display, power
> off did not happen.
>
> I have use OpenBSD 4.5 and execute 'halt -p' or 'reboot' commands once
> per day.
>

THis suggestion will not tell you what's wrong with your current set up,
but may help alleviate your shutdown problems.

I'm suggesting it because I was having similar shutdown issues with 4.5.
Around every other shutdown, it would just hang at the "syncing disks"
part.

I stay current with this box and after 4.6 was introduced I've had no
shutdown problems.

Try upgrading?

-Neal

Reply | Threaded
Open this post in threaded view
|

Re: Shutdown problem.

Pekka Niiranen-2
In reply to this post by frantisek holop
frantisek holop wrote:
> hmm, on Sat, Sep 26, 2009 at 03:11:32PM -0700, Buzzer said that
>> /etc/rc.shutdown in progress...
>> /etc/rc.shutdown complete.
>> syncing disks...

I noticed this problem with Fujitsu-Siemens Scenic L
desktop some years ago with OpenBSD v4.x.

-pekka-

>
> if you don't get the "done" part of "syncing disks..."
> than it's not the problem of shutdown and halt -p.
>
> the syncing is not finished.  i get this ocassionaly
> on my eeepc.  the file system is not marked clean
> and i get an fsck at bootup.  irritating but mostly
> harmless (so far).
>
> -f





E-mail message checked by Spyware Doctor (6.1.0.447)
Database version: 6.13350
http://www.pctools.com/en/spyware-doctor-antivirus/