vkernel crash?

Mike Wolman mike at nux.co.uk
Sun Mar 18 09:23:18 PDT 2007


Hi,

I was having an little play with vkernels - pretty much followed the man page -
except i was using vn1 and not vn0 for the file system.
After doing some scping and other network related testing i closed my xterm
controlling with the vkernel console in it by mistake - i was also logged into
the physical machine via another ssh and pretty much as soon as i closed the
xterm all connections to the main dfly box were lost as well and i am now
unable to ping or see it on the network (the machine had been up for the last 4
or 5 days after and rebuild to 1.9-dev via cvsup on wednesday from a fresh 1.8
install).
Unfortunately i am not in the same location as the machine at the moment
so cannot tell if it has produced a proper crash or has just thrown the machine
off the network.  However i guess this should be pretty easy for anyone to
reproduce - simply start a vkernel from a ssh login and terminate the ssh
connection.
Should vkernels be able to run in a 'headless' mode and any messages be
directed to a file?
Mike.
ps Fortunately i had done a ps previously in the other xterm and also a dmesg:
ps aux
USER    PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED      TIME COMMAND
mike  18959  0.0  0.1   480  252  p5  R0L+ 11:07PM   0:00.01 ps aux
root     -1  0.0  0.0     0    0  ??  DL   Wed06PM   0:00.00  (vnlru)
root     -1  0.0  0.0     0    0  ??  DL   Wed06PM   0:00.00  (bufdaemon)
root     -1  0.0  0.0     0    0  ??  DL   Wed06PM   0:00.00  (vmdaemon)
root     -1  0.0  0.0     0    0  ??  DL   Wed06PM   0:00.88  (pagedaemon)
root     -1  0.0  0.0     0    0  ??  RL   Wed06PM   0:00.00  (rtable_cpu 0)
root     -1  0.0  0.0     0    0  ??  RL   Wed06PM   1:43.58  (tcp_thread 0)
root     -1  0.0  0.0     0    0  ??  RL   Wed06PM   0:00.03  (udp_thread 0)
root     -1  0.0  0.0     0    0  ??  RL   Wed06PM   0:00.10  (netisr_cpu 0)
root     -1  0.0  0.0     0    0  ??  RL   Wed06PM   0:00.14  (random)
root     -1  0.0  0.0     0    0  ??  RL   Wed06PM   0:00.00  (ithread 0)
root     -1  0.0  0.0     0    0  ??  RL   Wed06PM   0:00.00  (ithread 12)
root     -1  0.0  0.0     0    0  ??  RL   Wed06PM   0:00.00  (ithread 1)
root     -1  0.0  0.0     0    0  ??  RL   Wed06PM   0:00.00  (ithread 15)
root     -1  0.0  0.0     0    0  ??  RL   Wed06PM   0:07.30  (ithread 14)
root     -1  0.0  0.0     0    0  ??  DL   Wed06PM   0:00.00  (cbb0)
root     -1  0.0  0.0     0    0  ??  DL   Wed06PM   0:00.00  (usb3)
root     -1  0.0  0.0     0    0  ??  DL   Wed06PM   0:00.00  (usb2)
root     -1  0.0  0.0     0    0  ??  DL   Wed06PM   0:00.00  (usb1)
root     -1  0.0  0.0     0    0  ??  DL   Wed06PM   0:00.00  (usbtask-dr)
root     -1  0.0  0.0     0    0  ??  DL   Wed06PM   0:00.00  (usbtask-hc)
root     -1  0.0  0.0     0    0  ??  DL   Wed06PM   0:00.00  (usb0)
root     -1  0.0  0.0     0    0  ??  RL   Wed06PM   2:08.18  (ithread 11)
root     -1  0.0  0.0     0    0  ??  DL   Wed06PM   0:51.46  (acpi_thermal)
root     -1  0.0  0.0     0    0  ??  RL   Wed06PM   0:00.00  (ithread 9)
root     -1  0.0  0.0     0    0  ??  RL   Wed06PM   0:00.03  (acpi_task)
root     -1  0.0  0.0     0    0  ??  DL   Wed06PM   0:00.20  (taskqueue 0)
root     -1  0.0  0.0     0    0  ??  RL   Wed06PM   0:00.00  (ithread 69)
root     -1  0.0  0.0     0    0  ??  RL   Wed06PM   0:00.01  (ithread 67)
root     -1  0.0  0.0     0    0  ??  DL   Wed06PM   0:00.00  (cryptoret)
root     -1  0.0  0.0     0    0  ??  RL   Wed06PM   0:00.00  (ithread 66)
root     -1  0.0  0.0     0    0  ??  RL   Wed06PM   0:00.00  (ithread 68)
root     -1  0.0  0.0     0    0  ??  RL   Wed06PM   0:00.00  (ithread emerg)
root     -1  0.0  0.0     0    0  ??  RL   Wed06PM   0:34.01  (softclock 0)
root     -1  0.0  0.0     0    0  ??  RL   Wed06PM 4556:16.83  (idle_0)
root      0  0.0  0.0     0    0  ??  DLs  Wed06PM   0:00.00  (swapper)
root      1  0.0  0.1   612  252  ??  ILs  Wed06PM   0:00.02 /sbin/init --
root     89  0.0  0.0   236   80  ??  ILs  Wed06PM   0:00.00 adjkerntz -i
root    276  0.0  0.1  1216  744  ??  ILs  Wed06PM   0:00.30 /usr/sbin/syslogd
-ss
root    461  0.0  0.1  1140  656  ??  ILs  Wed06PM   0:00.23 /usr/sbin/usbd
root    576  0.0  0.3  3300 1760  ??  ILs  Wed06PM   0:00.01 /usr/sbin/sshd
root    585  0.0  0.4  3840 2092  ??  SLs  Wed06PM   0:03.35 sendmail:
accepting connections (sendmail)
smmsp   590  0.0  0.4  3728 1868  ??  ILs  Wed06PM   0:00.06 sendmail: Queue
runner at 00:30:00 for /var/spool/clien
root    610  0.0  0.1  1232  760  ??  SLs  Wed06PM   0:00.38 /usr/sbin/cron
root    655  0.0  0.1  1188  704  v0  ILs+ Wed06PM   0:00.01 /usr/libexec/getty
Pc ttyv0
root    656  0.0  0.1  1188  704  v1  ILs+ Wed06PM   0:00.00 /usr/libexec/getty
Pc ttyv1
root    657  0.0  0.1  1188  704  v2  ILs+ Wed06PM   0:00.00 /usr/libexec/getty
Pc ttyv2
root    658  0.0  0.1  1188  704  v3  ILs+ Wed06PM   0:00.00 /usr/libexec/getty
Pc ttyv3
root    659  0.0  0.1  1188  704  v4  ILs+ Wed06PM   0:00.01 /usr/libexec/getty
Pc ttyv4
root    660  0.0  0.1  1188  704  v5  ILs+ Wed06PM   0:00.00 /usr/libexec/getty
Pc ttyv5
root    661  0.0  0.1  1188  704  v6  ILs+ Wed06PM   0:00.00 /usr/libexec/getty
Pc ttyv6
root    662  0.0  0.1  1188  704  v7  ILs+ Wed06PM   0:00.00 /usr/libexec/getty
Pc ttyv7
root  68916  0.0  0.4  5944 1928  ??  ILs  Thu11AM   0:00.02 sshd: mike [priv]
(sshd)
mike  68918  0.0  0.4  5936 1980  ??  IL   Thu11AM   0:00.19 sshd: mike at ttyp0
(sshd)
mike  68919  0.0  0.2  1452  940  p0  ILs  Thu11AM   0:00.01 -tcsh (tcsh)
root  68922  0.0  0.2  1468 1016  p0  IL+  Thu11AM   0:00.05 _su (csh)
root  69036  0.0 16.2 93388 83744  p0  SL   Thu12PM   2:59.27
/usr/pkg/sbin/iscsi-target -f /usr/local/etc/iscsi/t
root  70536  0.0  0.4  5944 1968  ??  ILs  Fri04PM   0:00.02 sshd: mike [priv]
(sshd)
mike  70538  0.0  0.4  5936 2000  ??  IL   Fri04PM   0:00.23 sshd: mike at ttyp1
(sshd)
mike  70539  0.0  0.2  1448  936  p1  ILs+ Fri04PM   0:00.00 -tcsh (tcsh)
root  70576  0.0  0.4  5944 1992  ??  ILs  Fri04PM   0:00.02 sshd: mike [priv]
(sshd)
mike  70578  0.0  0.4  5936 2016  ??  IL   Fri04PM   0:00.01 sshd: mike at ttyp2
(sshd)
mike  70579  0.0  0.2  1496 1008  p2  ILs+ Fri04PM   0:00.01 -tcsh (tcsh)
root  72221  0.0  0.4  5944 1996  ??  ILs   9:41PM   0:00.02 sshd: mike [priv]
(sshd)
mike  72223  0.0  0.4  5936 2020  ??  SL    9:41PM   0:01.28 sshd: mike at ttyp3
(sshd)
mike  72224  0.0  0.2  1492  992  p3  ILs   9:41PM   0:00.02 -tcsh (tcsh)
root  72277  0.0  0.2  1548 1044  p3  IL    9:42PM   0:00.11 _su (csh)
root  18939  0.0  5.4 1052224 28072  p3  SL+  10:59PM   0:17.95 ./kernel.debug
-m 64m -r /var/vkernel/rootimg.01 -I
root  18946  0.0  0.4  5944 2168  ??  ILs  11:03PM   0:00.03 sshd: mike [priv]
(sshd)
mike  18948  0.0  0.4  5936 2192  ??  RL   11:03PM   0:00.04 sshd: mike at ttyp5
(sshd)
mike  18949  0.0  0.2  1424  928  p5  RLs  11:03PM   0:00.02 -tcsh (tcsh)
root     -1  0.0  0.0     0    0  ??  DL   Wed06PM   2:08.22  (syncer)

dmesg
Copyright (c) 2003, 2004, 2005, 2006, 2007 The DragonFly Project.
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
DragonFly 1.9.0-DEVELOPMENT #0: Wed Mar 14 18:45:27 GMT 2007
     mike at dfly.eros.office:/usr/obj/usr/src/sys/GENERIC
TSC clock: 2793055363 Hz, i8254 clock: 1193205 Hz
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.02-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0xf33  Stepping = 3
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0x41d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID>
   Hyperthreading: 2 logical CPUs
real memory  = 536518656 (523944K bytes)
avail memory = 508993536 (497064K bytes)
Preloaded elf kernel "/kernel" at 0xc0778000.
Preloaded elf module "/modules/acpi.ko" at 0xc0778260.
Pentium Pro MTRR support enabled
md0: Malloc disk
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00fc890
ACPI: RSDP @ 0x0xfde90/0x0014 (v  0 DELL  )
ACPI: RSDT @ 0x0x1ffefc25/0x0034 (v  1 DELL    CPi R   0x27D4020C ASL
0x00000061)
ACPI: FACP @ 0x0x1fff0400/0x0074 (v  1 DELL    CPi R   0x27D4020C ASL
0x00000061)
ACPI: DSDT @ 0x0x1fff1000/0x24E3 (v  1 INT430 SYSFexxx 0x00001001 MSFT
0x0100000E)
ACPI: FACS @ 0x0x1ffff800/0x0040
ACPI: APIC @ 0x0x1fff0c00/0x0068 (v  1 DELL    CPi R   0x27D4020C ASL
0x00000047)
ACPI: SSDT @ 0x0x1ffefe54/0x01D8 (v  1  PmRef  Cpu0Cst 0x00003001 INTL
0x20030522)
ACPI: SSDT @ 0x0x1ffefc59/0x01FB (v  1  PmRef    CpuPm 0x00003000 INTL
0x20030522)
npx0: <math processor> on motherboard
npx0: INT 16 interface
Using XMM optimized bcopy/copyin/copyout
acpi0: <DELL CPi R  > on motherboard
Warning: ACPI is disabling APM's device.  You can't run both
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU (2 Cx states)> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
legacypci0 on motherboard
pcib0: <Host to PCI bridge> on legacypci0
pci0: <PCI bus> on pcib0
agp0: <Intel 82865 host to AGP bridge> mem 0xe8000000-0xefffffff at device 0.0
on pci0
pcib1: <PCI to PCI bridge (vendor=8086 device=2571)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI model 4e50 graphics accelerator> at 0.0 irq 11
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xbf80-0xbf9f irq 11 at
device 29.0 on pci0
usb0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xbf60-0xbf7f irq 11 at
device 29.1 on pci0
usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0xbf40-0xbf5f irq 11 at
device 29.2 on pci0
usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: 2 ports with 2 removable, self powered
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xbf20-0xbf3f irq 11 at
device 29.3 on pci0
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: 2 ports with 2 removable, self powered
pci0: <USB controller> at 29.7 irq 11
pcib2: <Intel 82801BA/CA/DB/EB/FB (ICH2/3/4/5/6) Hub to PCI bridge> at device
30.0 on pci0
pci2: <PCI bus> on pcib2
bfe0: <Broadcom BCM4401 Fast Ethernet> mem 0xfaffe000-0xfaffffff irq 11 at
device 0.0 on pci2
miibus0: <MII bus> on bfe0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bfe0: MAC address: 00:0f:1f:0d:44:95
cbb0: <TI4510 PCI-CardBus Bridge> at device 1.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pci_cfgintr: 0:30 INTC routed to irq 11
pcib2: routed slot 1 INTA to irq 11
fwohci0: vendor=104c, dev=8029
fwohci0: <1394 Open Host Controller Interface> mem
0xfaff8000-0xfaffbfff,0xfaffd800-0xfaffdfff irq 11 at device 1.1 on pci2
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channel is 4.
fwohci0: EUI64 31:4f:c0:00:35:28:0c:30
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
fwe0: MAC address: 32:4f:c0:28:0c:30
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
pci2: <unknown card> (vendor=0x14e4, dev=0x4320) at 3.0 irq 11
isab0: <PCI to ISA bridge (vendor=8086 device=24d0)> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 ATA100 controller> port
0xbfa0-0xbfaf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <unknown card> (vendor=0x8086, dev=0x24d5) at 31.5 irq 11
pci0: <unknown card> (vendor=0x8086, dev=0x24d6) at 31.6 irq 11
orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0
pmtimer0 on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: can't drain, serial port might not exist, disabling
sio1: can't drain, serial port might not exist, disabling
ppc0: parallel port not found.
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
ad0: 57231MB <FUJITSU MHT2060AH> [116280/16/63] at ata0-master UDMA100
acd0: CD-RW <_NEC DVD+RW ND-5100A> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
cd0 at ata1 bus 0 target 0 lun 0
cd0: <_NEC DVD+RW ND-5100A 10AC> Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
system power profile changed to 'economy'
system power profile changed to 'performance'





More information about the Users mailing list