ports/72865: emulators/vmware3 crashes on 5.3-STABLE
Kirill Bezzubets
kirill at solaris.ru
Wed Jan 26 04:19:35 PST 2005
With GENERIC kernel and PIO4 ata mode panic is:
rtc: 100 > kern.hz: Timing will be inaccurate, please increase hz.
ad2: TIMEOUT - WRITE_MUL retrying (2 retries left) LBA=1187007
ad2: FAILURE - ATA_IDENTIFY timed out
ad2: FAILURE - ATA_IDENTIFY timed out
ad2: WARNING - removed from configuration
ata1-master: FAILURE - WRITE_MUL timed out
panic: softdep_unlock: lock not held
Similar with UDMA.
Dmesg from GENERIC is:
CPU: Intel(R) Pentium(R) 4 CPU 1.90GHz (1904.33-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf12 Stepping = 2
Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory = 268369920 (255 MB)
avail memory = 252960768 (241 MB)
ACPI APIC Table: <AMIINT INTEL845>
ioapic0 <Version 2.0> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <AMIINT INTEL845> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82845 host to AGP bridge> mem 0xe0000000-0xe03fffff at device
0.0 o
n pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci3: <ACPI PCI bus> on pcib2
rl0: <RealTek 8139 10/100BaseTX> port 0xbc00-0xbcff mem
0xdfeeff00-0xdfeeffff ir
q 18 at device 2.0 on pci3
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:30:4f:06:e0:3a
rl0: [GIANT-LOCKED]
pci3: <display, VGA> at device 4.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 UDMA100 controller> port
0xfc00-0xfc0f,0x376,0x170-0x177,0x
3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xd800-0xd81f
irq 19
at device 31.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801BA/BAM (ICH2) 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
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xdc00-0xdc1f
irq 23
at device 31.4 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801BA/BAM (ICH2) 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
acpi_button1: <Sleep Button> on acpi0
fdc0: <floppy drive controller> port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3 irq 6
drq 2 o
n acpi0
fdc0: [FAST]
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: parallel port not found.
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 1904330744 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
ata1-master: DMA limited to UDMA33, non-ATA66 cable or device
ad2: 38166MB <ST340014A/8.01> [77545/16/63] at ata1-master UDMA33
FIX:
Not sure what option/device did the trick, but, anyway, it works now.
# cat /sys/i386/conf/kernel-config.patch
--- /sys/i386/conf/GENERIC Sun Oct 24 22:02:52 2004
+++ /sys/i386/conf/SALESERV Wed Jan 26 14:40:07 2005
@@ -1,28 +1,7 @@
-#
-# GENERIC -- Generic kernel configuration file for FreeBSD/i386
-#
-# For more information on this file, please read the handbook section on
-# Kernel Configuration Files:
-#
-#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-con
-#
-# The handbook is also available locally in /usr/share/doc/handbook
-# if you've installed the doc distribution, otherwise always see the
-# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
-# latest information.
-#
-# An exhaustive list of options and more detailed explanations of the
-# device lines is also present in the ../../conf/NOTES and NOTES files.
-# If you are in doubt as to the purpose or necessity of a line, check
first
-# in NOTES.
-#
-# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.6.2.2 2004/10/24 18:02:52
scott
machine i386
-cpu I486_CPU
-cpu I586_CPU
cpu I686_CPU
-ident GENERIC
+ident SALESERV
# To statically compile in device wiring instead of /boot/device.hints
#hints "GENERIC.hints" # Default places to look for
devices.
@@ -38,7 +17,6 @@
options NFSCLIENT # Network Filesystem Client
options NFSSERVER # Network Filesystem Server
options NFS_ROOT # NFS usable as /, requires
NFSCLIENT
-options MSDOSFS # MSDOS Filesystem
options CD9660 # ISO 9660 Filesystem
options PROCFS # Process filesystem (requires
PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
@@ -52,17 +30,47 @@
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extension
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
-options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
- # output. Adds ~128k to driver.
-options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
- # output. Adds ~215k to driver.
-options ADAPTIVE_GIANT # Giant mutex is adaptive.
-device apic # I/O APIC
+options INVARIANT_SUPPORT
+
+
+options CD9660_ICONV
+
+options IPSEC
+options IPSEC_ESP
+options IPSEC_DEBUG
+
+options NETSMB
+options NETSMBCRYPTO
+options LIBMCHAIN
+options LIBICONV
+options SMBFS
+
+options VFS_AIO
+
+options IPSEC
+options IPSEC_ESP
+options IPSEC_DEBUG
+options IPFIREWALL
+options IPFIREWALL_VERBOSE
+options IPFIREWALL_VERBOSE_LIMIT=10000
+options IPFIREWALL_DEFAULT_TO_ACCEPT
+options IPFIREWALL_FORWARD
+
+options IPDIVERT
+
+options DUMMYNET
+options BRIDGE
+
+maxusers 192
+
+options HZ=2000
+
+# device apic # I/O APIC
# Bus support. Do not remove isa, even if you have no isa slots
device isa
-device eisa
+# device eisa
device pci
# Floppy drives
@@ -78,25 +86,6 @@
options ATA_STATIC_ID # Static device numbering
# SCSI Controllers
-device ahb # EISA AHA1742 family
-device ahc # AHA2940 and onboard AIC7xxx devices
-device ahd # AHA39320/29320 and onboard AIC79xx
devices
-device amd # AMD 53C974 (Tekram DC-390(T))
-device isp # Qlogic family
-device mpt # LSI-Logic MPT-Fusion
-#device ncr # NCR/Symbios Logic
-device sym # NCR/Symbios Logic (newer chipsets
+ those of `
-device trm # Tekram DC395U/UW/F DC315U adapters
-
-device adv # Advansys SCSI adapters
-device adw # Advansys wide SCSI adapters
-device aha # Adaptec 154x SCSI adapters
-device aic # Adaptec 15[012]x SCSI adapters,
AIC-6[23]60.
-device bt # Buslogic/Mylex MultiMaster SCSI adapters
-
-device ncv # NCR 53C500
-device nsp # Workbit Ninja SCSI-3
-device stg # TMC 18C30/18C50
# SCSI peripherals
device scbus # SCSI bus (required for SCSI)
@@ -108,23 +97,8 @@
device ses # SCSI Environmental Services (and SAF-TE)
# RAID controllers interfaced to the SCSI subsystem
-device amr # AMI MegaRAID
-device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID
-device ciss # Compaq Smart RAID 5*
-device dpt # DPT Smartcache III, IV - See NOTES for
options
-device hptmv # Highpoint RocketRAID 182x
-device iir # Intel Integrated RAID
-device ips # IBM (Adaptec) ServeRAID
-device mly # Mylex AcceleRAID/eXtremeRAID
-device twa # 3ware 9000 series PATA/SATA RAID
# RAID controllers
-device aac # Adaptec FSA RAID
-device aacp # SCSI passthrough for aac (requires CAM)
-device ida # Compaq Smart RAID
-device mlx # Mylex DAC960 family
-device pst # Promise Supertrak SX6000
-device twe # 3ware ATA RAID
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc # AT keyboard controller
@@ -218,16 +192,6 @@
device sn # SMC's 9000 series of Ethernet chips
device xe # Xircom pccard Ethernet
-# ISA devices that use the old ISA shims
-#device le
-
-# Wireless NIC cards
-device wlan # 802.11 support
-device an # Aironet 4500/4800 802.11 wireless NICs.
-device awi # BayStack 660 and others
-device wi # WaveLAN/Intersil/Symbol 802.11 wireless
NICs.
-#device wl # Older non 802.11 Wavelan
wireless NIC.
-
# Pseudo devices.
device loop # Network loopback
device mem # Memory and kernel memory devices
@@ -266,7 +230,3 @@
device kue # Kawasaki LSI USB Ethernet
device rue # RealTek RTL8150 USB Ethernet
-# FireWire support
-device firewire # FireWire bus code
-device sbp # SCSI over FireWire (Requires scbus and
da)
-device fwe # Ethernet over FireWire (non-standard!)
More information about the freebsd-emulation
mailing list