[OpenIndiana-discuss] boot hang after power loss

Евгений Парфенов artofmotion.igroman at gmail.com
Wed Jun 25 11:18:38 UTC 2014


On power loss driver can became corrupt. Try reinstall it and in the future
use network ups tool. nut client work stable on my server.
25.06.2014 21:08 пользователь "Michael Hase" <michael at edition-software.de>
написал:

> On 06/25/14 12:45, Евгений Парфенов wrote:
>
>> Seems like problem comes when network trying to up. Have you tried compile
>> newer version of network card driver?
>>
> No, didn't try that. Are there any known bugs in the e1000g driver? Or
> some bad interaction with the gld driver? I always thought the e1000g is a
> rather stable one.
>
> Anyways: after booting once with parameters disable-e1000g and
> disable-gld, and another normal shutdown/reboot cycle, I'm up and running
> again. The box booted without any problem.
>
> I'm still puzzled, next time at least I have a workaround.
>
> Maybe some timing problems caused by parallel subsystem startup (smf)?
>
> Cheers,
> Michael
>
>  25.06.2014 20:42 пользователь "Michael Hase" <michael at edition-software.de
>> >
>> написал:
>>
>>  Update: now I managed to get an mdb prompt after sending multiple breaks
>>> just before the smf [ network... ] messages:
>>>
>>> ...
>>> pseudo-device: audio0
>>> hid10 is /pci at 0,0/pci1734,11cb at 1d/hub at 1/keyboard at 2
>>> audio0 is /pseudo/audio at 0
>>> /pci at 0,0/pci1734,11cb at 1d/hub at 1/keyboard at 2 (hid10) online
>>> pseudo-device: stmf_sbd0
>>> stmf_sbd0 is /pseudo/stmf_sbd at 0
>>> ~
>>> Welcome to kmdb
>>> kmdb: unable to determine terminal type: assuming `vt100'
>>> Loaded modules: [ scsi_vhci stmf_sbd mac uppc neti sd unix mpt zfs krtld
>>> s1394
>>> apix nca uhci hook genunix ip usba specfs pcplusmp cpu.generic arp stmf
>>> sockfs
>>>   ]
>>> [1]> moddebug/W 80000000
>>> moddebug:       0               =       0x80000000
>>> [1]> :c
>>> [ network/ip-interface-management:default starting (IP interface
>>> management) ]
>>> [ network/netcfg:default starting (Network configuration data
>>> management) ]
>>> [ network/datalink-management:default starting (data-link management
>>> daemon) ]
>>> load 'drv/log' id 163 loaded @ 0xfffffffff80236d8/0xffffffffc0128b68
>>> size
>>> 2320/568
>>> installing log, module id 163.
>>> load 'drv/sysevent' id 164 loaded @ 0xfffffffff80b0000/
>>> 0xffffffffc0128da0
>>> size 5360/368
>>> installing sysevent, module id 164.
>>> load 'drv/softmac' id 165 loaded @ 0xfffffffff80b2000/0xffffffffc012a110
>>> size 37416/2912
>>> installing softmac, module id 165.
>>> [ network/loopback:default starting (loopback network interface) ]
>>> load 'socketmod/rts' id 166 loaded @ 0xfffffffff7d8ac38/
>>> 0xffffffffc012ac70
>>> size 952/688
>>> installing rts, module id 166.
>>> uninstalled rts
>>> unloading rts, module id 166, loadcnt 1.
>>> load 'socketmod/rts' id 166 loaded @ 0xfffffffff7d8ac38/
>>> 0xffffffffc012ac70
>>> size 952/688
>>> installing rts, module id 166.
>>> uninstalled rts
>>> unloading rts, module id 166, loadcnt 2.
>>> [ network/physical:default starting (physical network interfaces) ]
>>> load 'drv/e1000g' id 167 loaded @ 0xfffffffff80bc000/0xffffffffc012b000
>>> size 234136/1024
>>> installing e1000g, module id 167.
>>> load 'mac/mac_ether' id 168 loaded @ 0xfffffffff7ccf3c8/
>>> 0xffffffffc012c000
>>> size 3120/3680
>>> installing mac_ether, module id 168.
>>> load 'dacf/net_dacf' id 169 loaded @ 0xfffffffff7d0dd40/
>>> 0xffffffffc0128f10
>>> size 696/192
>>> installing net_dacf, module id 169.
>>> load 'drv/vnic' id 170 loaded @ 0xfffffffff80f6000/0xffffffffc012ac70
>>> size 8048/616
>>> installing vnic, module id 170.
>>> load 'misc/gld' id 172 loaded @ 0
>>>
>>> So it seems to hang when trying to load the misc/gld driver. After this
>>> no
>>> chance to send another break or get back to the kmdb console.
>>> Any ideas what to do next?
>>>
>>> Michael
>>>
>>> On 06/25/14 12:19, Michael Hase wrote:
>>>
>>>  Hi,
>>>>
>>>> my oi_151a7 box (fujitsu siemens tx100 s3p) repeatedly hung at boot time
>>>> on power loss or using the power button. Bootings starts and the last
>>>> message with boot options -m verbose -kv is
>>>>
>>>> [ network/physical:default starting (physical network interfaces) ]
>>>>
>>>> Last kernel message is
>>>>
>>>> stmf_sbd0 is /pseudo/stmf_sbd at 0
>>>>
>>>> When booting from usb I can import the root pool without any problems,
>>>> hardware seems ok, disks look ok, networking (intel e1000) is ok. root
>>>> pool
>>>> consists of two mirrored 2.5" sas disks connected to an lsi sas
>>>> controller.
>>>> After exporting the pool and reboot it sometimes boots and sometimes
>>>> hangs,
>>>> today it seems to hang permanently. In case of a hang the usb keyboard
>>>> doesn't work anymore, the keyboard lights on caps lock/num lock are
>>>> dead.
>>>> F1-A doesn't work (I think this doesn't work with an usb keyboard
>>>> anyway).
>>>> When shutting down normally, the box booted without problems til now.
>>>>
>>>> Now I attached a serial console, great to have an old sun ultra 60
>>>> around, which boots without any problem after two years. Please find the
>>>> output of the boot process below. I thought I can access the kernel
>>>> debugger via serial console, but a break doesn't do anything.
>>>>
>>>> Does anybody have an idea how to access the kernel debugger in this
>>>> case?
>>>>
>>>> Do I have to disable/disconnect the keyboard when using the serial
>>>> console? I just added console=ttya on the grub command line, nothing
>>>> else
>>>> changed.
>>>>
>>>> Did someone see similiar behaviour of boot hangs after power loss?
>>>>
>>>> Thanks,
>>>> Michael
>>>>
>>>>
>>>> serial console output:
>>>> -----------------------------
>>>> module /platform/i86pc/kernel/amd64/unix: text at [0xfffffffffb800000,
>>>> 0xfffffffffb96500b] data at 0xfffffffffbc00000
>>>> module /kernel/amd64/genunix: text at [0xfffffffffb965010,
>>>> 0xfffffffffbbed857] data at 0xfffffffffbc954c0
>>>> Loading kmdb...
>>>> module /kernel/misc/amd64/kmdbmod: text at [0xfffffffffbd05090,
>>>> 0xfffffffffbdba4d7] data at 0xfffffffffbdba4e0
>>>> module /kernel/misc/amd64/ctf: text at [0xfffffffffbbed860,
>>>> 0xfffffffffbbf81b7] data at 0xfffffffffbdd6490
>>>> OpenIndiana Build oi_151a7 64-bit (illumos 13815:61cf2631639d)
>>>> SunOS Release 5.11 - Copyright 1983-2010 Oracle and/or its affiliates.
>>>> All rights reserved. Use is subject to license terms.
>>>> x86_feature: lgpg
>>>> x86_feature: tsc
>>>> x86_feature: msr
>>>> x86_feature: mtrr
>>>> x86_feature: pge
>>>> x86_feature: de
>>>> x86_feature: cmov
>>>> x86_feature: mmx
>>>> x86_feature: mca
>>>> x86_feature: pae
>>>> x86_feature: cv8
>>>> x86_feature: pat
>>>> x86_feature: sep
>>>> x86_feature: sse
>>>> x86_feature: sse2
>>>> x86_feature: htt
>>>> x86_feature: asysc
>>>> x86_feature: nx
>>>> x86_feature: sse3
>>>> x86_feature: cx16
>>>> x86_feature: cmp
>>>> x86_feature: tscp
>>>> x86_feature: mwait
>>>> x86_feature: cpuid
>>>> x86_feature: ssse3
>>>> x86_feature: sse4_1
>>>> x86_feature: sse4_2
>>>> x86_feature: clfsh
>>>> x86_feature: 64
>>>> x86_feature: aes
>>>> x86_feature: pclmulqdq
>>>> x86_feature: xsave
>>>> x86_feature: avx
>>>> x86_feature: vmx
>>>> mem = 25132860K (0x5fdfcf000)
>>>> SMBIOS v2.7 loaded (2898 bytes)initialized model-specific module
>>>> 'cpu_ms.GenuineIntel' on chip 0 core 0 strand 0
>>>> root nexus = i86pc
>>>> pseudo0 at root
>>>> pseudo0 is /pseudo
>>>> scsi_vhci0 at root
>>>> scsi_vhci0 is /scsi_vhci
>>>> Reading Intel IOMMU boot options
>>>> npe0 at root: space 0 offset 0
>>>> npe0 is /pci at 0,0
>>>> PCI Express-device: isa at 1f, isa1
>>>> pseudo-device: acpippm0
>>>> acpippm0 is /pseudo/acpippm at 0
>>>> pseudo-device: ppm0
>>>> ppm0 is /pseudo/ppm at 0
>>>> PCI Express-device: pci8086,1c10 at 1c, pcieb10
>>>> pcieb10 is /pci at 0,0/pci8086,1c10 at 1c
>>>> /pci at 0,0/pci8086,1c10 at 1c/pci1000,3091 at 0 (mpt3):
>>>>          Rev. 8 LSI, Inc. 1064E found.
>>>> /pci at 0,0/pci8086,1c10 at 1c/pci1000,3091 at 0 (mpt3):
>>>>          mpt3 supports power management.
>>>> /pci at 0,0/pci8086,1c10 at 1c/pci1000,3091 at 0 (mpt3):
>>>>          mpt3 Firmware version v1.23.4.0 (IR)
>>>> /pci at 0,0/pci8086,1c10 at 1c/pci1000,3091 at 0 (mpt3):
>>>>          mpt3: IOC Operational.
>>>> /pci at 0,0/pci8086,1c10 at 1c/pci1000,3091 at 0 (mpt3):
>>>>          NVDATA default version 0x2b00, persistent version
>>>> 0x2b00PCIE-device: pci1000,3091 at 0, mpt3
>>>> PCI Express-device: pci1000,3091 at 0, mpt3
>>>> mpt3 is /pci at 0,0/pci8086,1c10 at 1c/pci1000,3091 at 0
>>>> WARNING: No randomness provider enabled for /dev/random. Use
>>>> cryptoadm(1M) to enable a provider.
>>>> sd28 at mpt3: unit-address b,0: target b lun 0
>>>> sd28 is /pci at 0,0/pci8086,1c10 at 1c/pci1000,3091 at 0/sd at b,0
>>>> /pci at 0,0/pci8086,1c10 at 1c/pci1000,3091 at 0/sd at b,0 (sd28) online
>>>> sd31 at mpt3: unit-address d,0: target d lun 0
>>>> sd31 is /pci at 0,0/pci8086,1c10 at 1c/pci1000,3091 at 0/sd at d,0
>>>> /pci at 0,0/pci8086,1c10 at 1c/pci1000,3091 at 0/sd at d,0 (sd31) online
>>>> root on rpool2/ROOT/openindiana151a7 fstype zfs
>>>> acpinex0 at root
>>>> acpinex0 is /fw
>>>> acpinex: cpu at 1, cpudrv4
>>>> /fw/cpu at 1 (cpudrv4) online
>>>> pseudo-device: dld0
>>>> dld0 is /pseudo/dld at 0
>>>> ISA-device: asy1
>>>> asy1 is /pci at 0,0/isa at 1f/asy at 1,3f8
>>>> PCI Express-device: pci8086,1c1c at 1c,6, pcieb11
>>>> pcieb11 is /pci at 0,0/pci8086,1c1c at 1c,6
>>>> PCI Express-device: pci8086,244e at 1e, pci_pci0
>>>> pci_pci0 is /pci at 0,0/pci8086,244e at 1e
>>>> PCI Express-device: pci1734,11cb at 1a, ehci2
>>>> ehci2 is /pci at 0,0/pci1734,11cb at 1a
>>>> PCI Express-device: pci1734,11cb at 1d, ehci3
>>>> ehci3 is /pci at 0,0/pci1734,11cb at 1d
>>>> cpu0: x86 (chipid 0x0 GenuineIntel 306A9 family 6 model 58 step 9 clock
>>>> 3093 MHz)
>>>> cpu0: Intel(r) Xeon(r) CPU E3-1220 V2 @ 3.10GHz
>>>> initialized cpu module 'cpu.generic' on chip 0 core 1 strand 0
>>>> initialized model-specific module 'cpu_ms.GenuineIntel' on chip 0 core 1
>>>> strand 0
>>>> initialized cpu module 'cpu.generic' on chip 0 core 2 strand 0
>>>> acpinex: cpu at 2, cpudrv5
>>>> initialized model-specific module 'cpu_ms.GenuineIntel' on chip 0 core 2
>>>> strand 0
>>>> /fw/cpu at 2 (cpudrv5) online
>>>> cpu1: x86 (chipid 0x0 GenuineIntel 306A9 family 6 model 58 step 9 clock
>>>> 3093 MHz)
>>>> cpu1: Intel(r) Xeon(r) CPU E3-1220 V2 @ 3.10GHz
>>>> cpu1 initialization complete - online
>>>> initialized cpu module 'cpu.generic' on chip 0 core 3 strand 0
>>>> acpinex: cpu at 3, cpudrv6
>>>> initialized model-specific module 'cpu_ms.GenuineIntel' on chip 0 core 3
>>>> strand 0
>>>> /fw/cpu at 3 (cpudrv6) online
>>>> cpu2: x86 (chipid 0x0 GenuineIntel 306A9 family 6 model 58 step 9 clock
>>>> 3093 MHz)
>>>> acpinex: cpu at 4, cpudrv7
>>>> cpu2: Intel(r) Xeon(r) CPU E3-1220 V2 @ 3.10GHz
>>>> /fw/cpu at 4 (cpudrv7) online
>>>> cpu2 initialization complete - online
>>>> cpu3: x86 (chipid 0x0 GenuineIntel 306A9 family 6 model 58 step 9 clock
>>>> 3093 MHz)
>>>> USB 2.0 device (usb8087,24) operating at hi speed (USB 2.x) on USB 2.0
>>>> root hub: hub at 1, hubd0 at bus address 2
>>>> cpu3: Intel(r) Xeon(r) CPU E3-1220 V2 @ 3.10GHz
>>>> USB 2.0 device (usb8087,24) operating at hi speed (USB 2.x) on USB 2.0
>>>> root hub: hub at 1, hubd1 at bus address 2
>>>> cpu3 initialization complete - online
>>>> hubd0 is /pci at 0,0/pci1734,11cb at 1a/hub at 1
>>>> hubd1 is /pci at 0,0/pci1734,11cb at 1d/hub at 1
>>>> /pci at 0,0/pci1734,11cb at 1a/hub at 1 (hubd0) online
>>>> /pci at 0,0/pci1734,11cb at 1d/hub at 1 (hubd1) online
>>>> pseudo-device: tzmon0
>>>> tzmon0 is /pseudo/tzmon at 0
>>>> USB 2.0 device (usb46a,1) operating at low speed (USB 1.x) on USB 2.0
>>>> external hub: keyboard at 2, hid10 at bus address 3
>>>>          Cherry GmbH
>>>> hid10 is /pci at 0,0/pci1734,11cb at 1d/hub at 1/keyboard at 2
>>>> /pci at 0,0/pci1734,11cb at 1d/hub at 1/keyboard at 2 (hid10) online
>>>> pseudo-device: audio0
>>>> audio0 is /pseudo/audio at 0
>>>> pseudo-device: stmf_sbd0
>>>> stmf_sbd0 is /pseudo/stmf_sbd at 0
>>>> [ network/netcfg:default starting (Network configuration data
>>>> management)
>>>> ]
>>>> [ network/datalink-management:default starting (data-link management
>>>> daemon) ]
>>>> [ network/ip-interface-management:default starting (IP interface
>>>> management) ]
>>>> [ network/loopback:default starting (loopback network interface) ]
>>>> [ network/physical:default starting (physical network interfaces) ]
>>>>
>>>>
>>>> _______________________________________________
>>>> openindiana-discuss mailing list
>>>> openindiana-discuss at openindiana.org
>>>> http://openindiana.org/mailman/listinfo/openindiana-discuss
>>>>
>>>>
>>> _______________________________________________
>>> openindiana-discuss mailing list
>>> openindiana-discuss at openindiana.org
>>> http://openindiana.org/mailman/listinfo/openindiana-discuss
>>>
>>>  _______________________________________________
>> openindiana-discuss mailing list
>> openindiana-discuss at openindiana.org
>> http://openindiana.org/mailman/listinfo/openindiana-discuss
>>
>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>


More information about the openindiana-discuss mailing list