XP kills 5.2R

From: Alexander Kirillov <nevis2us_at_infoline.su>
Date: Sat, 03 Apr 2004 12:44:31 +0400
I have WinXP Pro running under vmware on my FreeBSD box for quite some 
time now.
Since 5.2R there's 50% chance the system will hang on vmware startup, 
usually on XP login prompt.
If it loads successfully it works. I believe the problem may be ata related.
There's always typical sound of moving HD heads like when the system
is syncing disks.  Next moment the system freezes. I have
hint.apic.0.disabled="1"
hw.ata.ata_dma="0"
in device.hints and loader.conf respectively.
There's nothing in the logs. In most cases the last message before crash is
named[]: can't open 254.168.192.IN-ADDR.ARPA.log: Permission denied
when WinXP dhcp client is trying to get a lease:
***
Mar 31 13:38:50 baikal kernel: ipfw: 4300 Accept UDP 0.0.0.0:68 
255.255.255.255:67 in via vmnet1
Mar 31 13:38:50 baikal dhcpd: DHCPDISCOVER from 00:bd:34:cf:24:3a via vmnet1
Mar 31 13:38:50 baikal dhcpd: Ping timeout: 1
Mar 31 13:38:51 baikal dhcpd: DHCPOFFER on 192.168.254.15 to 
00:bd:34:cf:24:3a (tahoe) via vmnet1
Mar 31 13:38:51 baikal kernel: ipfw: 4300 Accept UDP 0.0.0.0:68 
255.255.255.255:67 in via vmnet1
Mar 31 13:38:51 baikal named[361]: 
XX+/127.0.0.1/15.254.168.192.in-addr.arpa/SOA/IN
Mar 31 13:38:51 baikal named[361]: 
XX+/127.0.0.1/254.168.192.in-addr.arpa/NS/IN
Mar 31 13:38:51 baikal named[361]: can't open 
254.168.192.IN-ADDR.ARPA.log: Permission denied
Mar 31 13:38:51 baikal kernel: Mar 31 13:38:51 baikal named[361]: can't 
open 254.168.192.IN-ADDR.ARPA.log: Permission denied
Mar 31 13:44:03 baikal syslogd: restart
Mar 31 13:44:03 baikal syslogd: kernel boot file is /boot/kernel/kernel
Mar 31 13:44:03 baikal kernel: Copyright (c) 1992-2004 The FreeBSD Project.
Mar 31 13:44:03 baikal kernel: Copyright (c) 1979, 1980, 1983, 1986, 
1988, 1989, 1991, 1992, 1993, 1994
Mar 31 13:44:03 baikal kernel: The Regents of the University of 
California. All rights reserved.
Mar 31 13:44:03 baikal kernel: FreeBSD 5.2.1-RELEASE-p3 #15: Sun Mar 28 
16:35:47 MSD 2004
***
GEOM: create disk ad0 dp=0xc4869760
ad0: 29325MB <Maxtor 6E030L0> [59582/16/63] at ata0-master PIO4
GEOM: create disk ad1 dp=0xc4869460
ad1: 38166MB <ST340015A> [77545/16/63] at ata0-slave PIO4
acd0: CDROM <_NEC CD-ROM CD-3002A> at ata1-master PIO4
***
In vmware I have 3 plain drives mapped to 1-3GB files under one 
directory on ad1.
All other vm peripherals except display and mouse are disabled including 
sound, floppies and cdrom.
The motherboard is Gygabyte GA-8GE667 Pro.
I hope this may help to reproduce and fix the problem.
If you need more information please cc as I'm not in the list.
***
diff GENERIC BAIKAL

 > options       SCHED_ULE
 > options       IPFIREWALL
 > options       IPDIVERT
 > options       DUMMYNET
 > options       LIBICONV
 > options       CD9660_ICONV
 > options       MSDOSFS_ICONV
***
dmesg -a

Copyright (c) 1992-2004 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.
FreeBSD 5.2.1-RELEASE-p3 #15: Sun Mar 28 16:35:47 MSD 2004
    nevis_at_baikal.home.test:/usr/obj/usr/src/sys/BAIKAL
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a7c000.
Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc0a7c21c.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0a7c2c8.
Preloaded elf module "/boot/kernel/aio.ko" at 0xc0a7c374.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a7c41c.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 1.70GHz (1716.91-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf13  Stepping = 3
  
Features=0x3febfbff<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>
real memory  = 528416768 (503 MB)
avail memory = 503603200 (480 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <GBT    AWRDACPI> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00fd100
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
device_probe_and_attach: acpi_cpu1 attach returned 6
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0x4000-0x40bf,0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 2 INTA is routed to irq 5
pcib0: slot 29 INTA is routed to irq 5
pcib0: slot 29 INTB is routed to irq 9
pcib0: slot 29 INTC is routed to irq 5
pcib0: slot 29 INTD is routed to irq 11
pcib0: slot 31 INTB is routed to irq 9
pcib0: slot 31 INTB is routed to irq 9
agp0: <Intel 82845G (845G GMCH) SVGA controller> mem 
0xe0100000-0xe017ffff,0xd8000000-0xdfffffff irq 5 at device 2.0 on pci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xb800-0xb81f 
irq 5 at device 29.0 on pci0
usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xb000-0xb01f 
irq 9 at device 29.1 on pci0
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xb400-0xb41f 
irq 5 at device 29.2 on pci0
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ugen0: American Power Conversion Back-UPS 500 FW: 6.4.I USB FW: c1, rev 
1.10/1.00, addr 2
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib1: slot 8 INTA is routed to irq 11
fxp0: <Intel 82801DB (ICH4) Pro/100 Ethernet> port 0xa000-0xa03f mem 
0xe0000000-0xe0000fff irq 11 at device 8.0 on pci1
fxp0: Ethernet address 00:20:ed:76:9a:1c
miibus0: <MII bus> on fxp0
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 
0xcc00-0xcc0f,0xc800-0xc803,0xc400-0xc407,0xc000-0xc003,0xbc00-0xbc07 at 
device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pcm0: <Intel ICH4 (82801DB)> port 0xd800-0xd83f,0xd400-0xd4ff mem 
0xe0183000-0xe01830ff,0xe0182000-0xe01821ff irq 9 at device 31.5 on pci0
pcm0: <Avance Logic ALC650 AC97 Codec>
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> flags 0x4 irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
acpi_cpu1: <CPU> on acpi0
device_probe_and_attach: acpi_cpu1 attach returned 6
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1716912676 Hz quality 800
Timecounters tick every 10.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding enabled, 
default to deny, logging disabled
GEOM: create disk ad0 dp=0xc4869760
ad0: 29325MB <Maxtor 6E030L0> [59582/16/63] at ata0-master PIO4
GEOM: create disk ad1 dp=0xc4869460
ad1: 38166MB <ST340015A> [77545/16/63] at ata0-slave PIO4
acd0: CDROM <_NEC CD-ROM CD-3002A> at ata1-master PIO4
Mounting root from ufs:/dev/ad1s1a
Loading configuration files.
Entropy harvesting:
 interrupts
 ethernet
 point_to_point
.
swapon: adding /dev/ad1s1b as swap device
Starting file system checks:
/dev/ad1s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad1s1a: clean, 98988 free (964 frags, 12253 blocks, 0.7% fragmentation)
/dev/ad1s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad1s1e: clean, 88755 free (51 frags, 11088 blocks, 0.0% fragmentation)
/dev/ad1s1f: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad1s1f: clean, 10476259 free (48979 frags, 1303410 blocks, 0.3% 
fragmentation)
/dev/ad0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1a: clean, 91333 free (261 frags, 11384 blocks, 0.2% fragmentation)
/dev/ad1s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad1s1d: clean, 53926 free (662 frags, 6658 blocks, 0.5% fragmentation)
/dev/ad0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1e: clean, 127245 free (85 frags, 15895 blocks, 0.1% fragmentation)
/dev/ad0s1f: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1f: clean, 6599588 free (64604 frags, 816873 blocks, 0.5% 
fragmentation)
/dev/ad0s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1d: clean, 78096 free (832 frags, 9658 blocks, 0.6% fragmentation)
kern.ipc.shm_allow_removed:
0
 ->
1

Setting hostname: baikal.home.test.
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
        inet6 fe80::220:edff:fe76:9a1c%fxp0 prefixlen 64 tentative 
scopeid 0x1
        ether 00:20:ed:76:9a:1c
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
Starting ppp as "root"
Flushed all rules.
00100 allow ip from any to any via lo0
00200 deny ip from any to 127.0.0.0/8
00300 deny ip from 127.0.0.0/8 to any
00400 deny log ip from 10.0.0.0/24 to any in via tun0
00500 deny log ip from 192.168.254.0/24 to any in via tun0
00600 deny log ip from 62.181.0.0/16 to any in via fxp0
00700 deny log ip from 62.181.0.0/16 to any in via vmnet1
00800 deny log ip from any to 10.0.0.0/8 via tun0
00900 deny log ip from any to 172.16.0.0/12 via tun0
01000 deny log ip from any to 192.168.0.0/16 via tun0
01100 deny log ip from any to 0.0.0.0/8 via tun0
01200 deny log ip from any to 169.254.0.0/16 via tun0
01300 deny log ip from any to 192.0.2.0/24 via tun0
01400 deny log ip from any to 224.0.0.0/4 via tun0
01500 deny log ip from any to 240.0.0.0/4 via tun0
01600 divert 8668 ip from any to any via tun0
01700 deny log ip from 10.0.0.0/8 to any via tun0
01800 deny log ip from 172.16.0.0/12 to any via tun0
01900 deny log ip from 192.168.0.0/16 to any via tun0
02000 deny log ip from 0.0.0.0/8 to any via tun0
02100 deny log ip from 169.254.0.0/16 to any via tun0
02200 deny log ip from 192.0.2.0/24 to any via tun0
02300 deny log ip from 224.0.0.0/4 to any via tun0
02400 deny log ip from 240.0.0.0/4 to any via tun0
02500 pipe 1 ip from me 80 to any out
02600 pipe 2 ip from any to me dst-port 80 in
02700 allow tcp from any to any established
02800 allow ip from any to any frag
02900 allow tcp from any to me dst-port 25 setup
03000 allow tcp from any to me dst-port 53 setup
03100 allow udp from any to me dst-port 53
03200 allow udp from me 53 to any out via tun0
03300 allow tcp from any to me dst-port 80 setup
03400 deny log tcp from any to any in via tun0 setup
03500 allow tcp from any to any setup
03600 allow udp from me to any dst-port 53 keep-state
03700 allow udp from me to any dst-port 123 keep-state
03800 allow icmp from any to any
03900 allow udp from 10.0.0.0/24 to 10.0.0.0/24
04000 allow udp from 10.0.0.0/24 to 192.168.254.0/24
04100 allow udp from 192.168.254.0/24 to 192.168.254.0/24
04200 allow udp from 192.168.254.0/24 to 10.0.0.0/24
04300 allow log udp from 0.0.0.0 68 to 255.255.255.255 dst-port 67 in 
via vmnet1
04400 allow log udp from me 67 to any dst-port 68 via vmnet1
04500 deny log ip from any to any
Firewall rules loaded, starting divert daemons:
 natd
.
Firewall logging enabled
net.inet.ip.fw.enable:
1
 ->
1

Additional routing options:
 IP gateway=YES
.
hw.bus.devctl_disable:
0
 ->
1

Mounting NFS file systems:
.
Starting syslogd.
Apr  3 00:34:42 baikal syslogd: kernel boot file is /boot/kernel/kernel
Starting named.
Starting rpcbind.
Generating host.conf.
NFS access cache time=2
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/X11R6/lib 
/usr/local/lib
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout
Starting mountd.
Starting nfsd.
Starting usbd.
Starting local daemons:
.
Updating motd
.
Configuring syscons:
 keymap
 scrnmap
 font8x16
 font8x14
 font8x8
 blanktime
.
Starting sshd.
Starting sendmail.
ipfw: 4500 Deny UDP 62.143.2.118:13139 217.150.202.90:13139 in via tun0
Initial i386 initialization:
.
Additional ABI support:
 linux
.
Starting cron.
Local package initialization:
 apache
Starting dhcpd.
Internet Software Consortium DHCP Server V3.0.1rc12

Copyright 1995-2003 Internet Software Consortium.

All rights reserved.

For info, please visit http://www.isc.org/products/DHCP

Wrote 11 leases to leases file.

Listening on BPF/fxp0/00:20:ed:76:9a:1c/10.0.0.0/24

Sending on   BPF/fxp0/00:20:ed:76:9a:1c/10.0.0.0/24

Sending on   Socket/fallback/fallback-net

 mysqld
 rtc
WARNING: driver "rtc" used unreserved major device number 202
 Samba
WARNING: driver "vmmon" used unreserved major device number 200
vmmon: Module vmmon: registered with major=200 minor=0 tag=$Name: 
build-570 (3.2.x mvm) $
vmmon: Module vmmon: initialized
 VMware
.
Additional TCP options:
.
Apr  3 00:35:32 baikal kernel: vmmon: Module vmmon: registered with 
major=200 minor=0 tag=$Name: build-570 (3.2.x mvm) $
Starting moused:
Apr  3 00:35:32 baikal kernel: vmmon: Module vmmon: initialized
 mousechar_start
.
Starting inetd.
Starting background file system checks in 60 seconds.

Sat Apr  3 00:35:33 MSD 2004
Received on Sat Apr 03 2004 - 06:54:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:49 UTC