Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Oct 2004 10:41:45 +0200
From:      Stephan Fiebrandt <bsd@kuehlbox.de>
To:        freebsd-current@freebsd.org
Subject:   serious problem with 5.3-B7 and linux emulated vmware
Message-ID:  <41723049.90000@kuehlbox.de>

next in thread | raw e-mail | index | archive | help
Hi all,

in the first place, i had some issues, that i've also posted in 
-emulation, but now i have found out a critical problem with 5.3-BETA7.
I installed vmware3 from /usr/ports/emulation/vmware3 as supposted. 
After i turned on the first time a vmware session, my mouse in X almost 
freeze, console has delayed input, and top believes that all %CPU 
activity is at 0.0.

But my biggest concern is, that my ATAPI Controller "crashes" unusable:

acd0: FAILURE - ATAPI_IDENTIFY timed out

when i try afterwards to use an ATA device, in this case the cdrom. 
(e.g. just starting /stand/systinstall, and it hangs with that error)

But it got a bit better. One error is missing since BETA6:

watchdog: xl0 timed out

In 5.3-B6 in the same moment, after starting a vmware session, as soon 
the secound networkcard had activity, *all* networkcard got stalled with 
the watchdog timeout message. With the latest B7 i could not reproduce 
this anymore (yet).

I have tried all ways out, with no SMP, and no ACPI, linux_base or 
linuxbase-8 ,vmware2 (patches from -current) or vmware3 and so on... 
everytime it is the same effect after i did turn on once a vmware session.
I have seen another one, that had an IDE disk, that was inaccessable 
after he turned on the session. I do not have a normal IDE disk attached 
on the system. I got an Adaptec Raid Controller, so thats way got much 
far than him. And losing the access to the fixed disk, i would count as 
an critical bug.

In FreeBSD 4.10 everything runs just fine. So i believe there are still 
some serious bugs in 5.3. And since it wants to become "stable", i would 
like to help with any information that i can give, to solve this prob, 
since in that case, a Linux-prog was able to totaly "crash" the mashine 
into an unusable state.

my dmesg:

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.3-BETA7 #0: Wed Oct 13 20:22:47 CEST 2004
    root@kuehlbox.de:/usr/obj/usr/src/sys/SERVER
WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
WARNING: MPSAFE network stack disabled, expect reduced performance.
ACPI APIC Table: <PTLTD          APIC  >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf34  Stepping = 4
  
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>
  Hyperthreading: 2 logical CPUs
real memory  = 1073152000 (1023 MB)
avail memory = 1040580608 (992 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <PTLTD   RSDT> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU (2 Cx states)> on acpi0
cpu1: <ACPI CPU (2 Cx states)> on acpi0
cpu1: Failed to attach throttling P_CNT
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pci2: <ACPI PCI bus> on pcib1
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port 
0x2000-0x201f mem 0xd0100000-0xd011ffff,0xd0120000-0xd013ffff irq 18 at 
device 1.0 on pci2
em0: [GIANT-LOCKED]
em0: Ethernet address: 00:0d:60:83:73:18
em0:  Speed:N/A  Duplex:N/A
pcib2: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci3: <ACPI PCI bus> on pcib2
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x3000-0x307f mem 
0xd0200000-0xd020007f irq 24 at device 1.0 on pci3
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:04:76:20:8c:5b
xl0: [GIANT-LOCKED]
asr0: <Adaptec Caching SCSI RAID> mem 0xd4000000-0xd5ffffff irq 25 at 
device 2.0 on pci3
asr0: [GIANT-LOCKED]
asr0: ADAPTEC 2400A FW Rev. 3A0L, 4 channel, 256 CCBs, Protocol I2O
pcib3: <PCI-PCI bridge> at device 2.1 on pci3
pci4: <PCI bus> on pcib3
uhci0: <UHCI (generic) USB controller> port 0x1400-0x141f irq 16 at 
device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: LegSup = 0x003b
usb0: <UHCI (generic) USB controller> 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: <UHCI (generic) USB controller> port 0x1420-0x143f irq 19 at 
device 29.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: LegSup = 0x0010
usb1: <UHCI (generic) USB controller> 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
pci0: <base peripheral> at device 29.4 (no driver attached)
pci0: <base peripheral, interrupt controller> at device 29.5 (no driver 
attached)
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci5: <ACPI PCI bus> on pcib4
pci5: <display, VGA> at device 2.0 (no driver attached)
puc0: <NetMos NM9835 Dual UART and 1284 Printer port> port 
0x4460-0x446f,0x4470-0x4477,0x4478-0x447f,0x4480-0x4487,0x4488-0x448f,0x4490-0x4497 
irq 17 at device 6.0 on pci5
sio4: <NetMos NM9835 Dual UART and 1284 Printer port> on puc0
sio4: type 16550A
sio4: unable to activate interrupt in fast mode - using normal mode
sio5: <NetMos NM9835 Dual UART and 1284 Printer port> on puc0
sio5: type 16550A
sio5: unable to activate interrupt in fast mode - using normal mode
ppc0: <Parallel port> on puc0
ppc0: Generic chipset (EPP/NIBBLE) 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
ifpi2-0: <AVM Fritz!Card PCI Version 2> port 0x4440-0x445f mem 
0xd0310000-0xd031001f irq 20 at device 7.0 on pci5
ifpi2-0: [GIANT-LOCKED]
ifpi2-0: ISACSX PSB3186
ifpi2-0: passive stack unit 0
pci5: <multimedia, audio> at device 8.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel 6300ESB UDMA100 controller> port 
0x1460-0x146f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
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
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
ppc1 port 0x378-0x37f irq 7 on acpi0
ppc1: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc1: FIFO with 16/16/8 bytes threshold
ppbus1: <Parallel port bus> on ppc1
plip1: <PLIP network interface> on ppbus1
lpt1: <Printer> on ppbus1
lpt1: Interrupt-driven port
ppi1: <Parallel I/O> on ppbus1
orm0: <ISA Option ROMs> at iomem 
0xca800-0xd07ff,0xca000-0xca7ff,0xc9000-0xc9fff,0xc0000-0xc8fff on isa0
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
Timecounters tick every 10.000 msec
i4btel: 2 ISDN telephony interface device(s) attached
i4bipr: 4 IP over raw HDLC ISDN device(s) attached
i4bctl: ISDN system control port attached
i4bisppp: 4 ISDN SyncPPP device(s) attached
i4b: ISDN call control device attached
i4btrc: 4 ISDN trace device(s) attached
i4brbch: 4 raw B channel access device(s) attached
IPsec: Initialized Security Association Processing.
ipfw2 initialized, divert enabled, rule-based forwarding disabled, 
default to deny, logging limited to 10 packets/entry by default
i4b-L1 ifpi2_isacsx_ind_hdlr: UNKNOWN Indication 0x1 in state F3 Deactivated
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
acd0: CDROM <ATAPI CDROM 48X/V130Y> at ata0-master UDMA33
SMP: AP CPU #1 Launched!
da0 at asr0 bus 0 target 0 lun 0
da0: <ADAPTEC RAID-5 3A0L> Fixed Direct Access SCSI-2 device
da0: Tagged Queueing Enabled
da0: 305254MB (625160192 512 byte sectors: 255H 63S/T 38914C)
Mounting root from ufs:/dev/da0s1a
em0: Link is up 100 Mbps Full Duplex
WARNING: driver "vmmon" used unreserved major device number 200
/dev/vmmon: Module vmmon: registered with major=200 minor=0 tag=$Name: 
build-570 $
/dev/vmmon: Module vmmon: initialized
vmnet1: Ethernet address: 00:bd:7b:0c:00:01
xl0: promiscuous mode enabled
vmnet1: promiscuous mode enabled
pcm0: <Creative CT5880-C> port 0x4400-0x443f irq 21 at device 8.0 on pci5
pcm0: <SigmaTel STAC9721/23 AC97 Codec>
pcm0: [GIANT-LOCKED]
drm0: <ATI Radeon QY RV100 7000/VE> port 0x4000-0x40ff mem 
0xd0300000-0xd030ffff,0xe0000000-0xefffffff irq 16 at device 2.0 on pci5
info: [drm] Initialized radeon 1.11.0 20020828 on minor 0

<----vmware start and exiting it again ---->
/dev/vmmon: Vmx86_DestroyVM: unlocked pages: 10165, unlocked dirty 
pages: 10113
<--------------- trying to access now the /dev/acd0 (cdrom) 
----------------->
acd0: FAILURE - ATAPI_IDENTIFY timed out
acd0: FAILURE - ATAPI_IDENTIFY timed out



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41723049.90000>