Re: re0: watchdog timeout issue

2012-03-13 Thread Edward M.

On 03/12/2012 07:22 PM, karim.allah.ah...@gmail.com wrote:

intr 11 on cpu0 at 40001/4 hz, livelocked limit engaged!
intr 11 on cpu0 at */** hz, livelock removed



   Seen that before...number of users have reported of fixing by doing 
BIOS updates, switching
   the SATA configuation settings, booting with smp kernel.  On my case 
i got it fix by switching from 32 bit to 64 bit dragonfly.



http://leaf.dragonflybsd.org/mailarchive/users/2011-07/msg00081.html
http://kerneltrap.org/mailarchive/dragonflybsd-user/2008/7/14/2460704


Re: re0: watchdog timeout issue

2012-03-13 Thread Sepherosa Ziehau
On Tue, Mar 13, 2012 at 1:38 PM, karim.allah.ah...@gmail.com
karim.allah.ah...@gmail.com wrote:
 Here's the whole output of dmesg ...

 XMMNNOOCopyright (c) 2003-2012 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.
 sdt_probe: no RSDP
 fadt_probe: can't locate FADT
 madt_probe: can't locate MADT
 DragonFly v3.0.1-RELEASE #3: Mon Feb 20 16:41:19 MSK 2012
     r...@df.v12.su:/usr/obj/home/justin/make_30/src/sys/GENERIC
 TSC clock: 2266498894 Hz, i8254 clock: 1193128 Hz
 CPU: QEMU Virtual CPU version 0.14.1 (2266.62-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0x623  Stepping = 3

 Features=0x78bfbfdFPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
   Features2=0x80802001SSE3,CX16,POPCNT,VMM
   AMD Features=0x10NX
   AMD Features2=0x1LAHF
 real memory  = 1073341440 (1023 MB)
 avail memory = 1019428864 (972 MB)
 lapic: divisor index 0, frequency 55880 Hz
 Initialize MI interrupts
 FQ scheduler policy version 1.1 loaded
 kbd1 at kbdmux0
 disk scheduler: set policy of md0 to noop
 md0: Malloc disk
 ACPI Error: A valid RSDP was not found (20110211/tbxfroot-309)
 ACPI: Table initialisation failed: AE_NOT_FOUND
 ACPI: Try disabling either ACPI or apic support.
 npx0: math processor on motherboard
 npx0: INT 16 interface
 Using XMM optimized bcopy/copyin/copyout
 cryptosoft0: software crypto on motherboard
 pcib0: MPTABLE Host-PCI bridge pcibus 0 on motherboard
 pci0: PCI bus on pcib0
 isab0: PCI-ISA bridge at device 1.0 on pci0
 isa0: ISA bus on isab0
 atapci0: Intel PIIX3 WDMA2 controller port
 0xc000-0xc00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 1.1 on pci0
 ata0: ATA channel 0 on atapci0
 disk scheduler: set policy of ad0 to noop
 ad0: 40960MB QEMU HARDDISK 0.14.1 at ata0-master WDMA2
 ata1: ATA channel 1 on atapci0
 disk scheduler: set policy of acd0 to noop
 acd0: CDROM QEMU DVD-ROM/0.14.1 at ata1-master WDMA2
 vgapci0: VGA-compatible display mem
 0xf200-0xf2000fff,0xf000-0xf1ff at device 2.0 on pci0
 re0: RealTek 8139C+ 10/100BaseTX port 0xc100-0xc1ff mem
 0xf202-0xf20200ff irq 11 at device 3.0 on pci0
 re0: Hardware rev. 0x7480; MAC ver. 0x00; PCI32 33MHz
 miibus0: MII bus on re0
 ukphy0: Generic IEEE 802.3u media interface on miibus0
 ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 re0: MAC address: 52:54:00:12:34:56
 pmtimer0 on isa0
 fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
 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 IntelliMouse Explorer, device ID 4
 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
 sc0: System console at flags 0x100 on isa0
 sc0: VGA 16 virtual consoles, flags=0x300
 sio0: configured irq 4 not in bitmap of probed irqs 0
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1: can't drain, serial port might not exist, disabling
 ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
 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
 CAM: Configuring 2 busses
 CAM: finished configuring all busses
 disk scheduler: set policy of cd0 to noop
 cd0 at ata1 bus 0 target 0 lun 0
 cd0: QEMU QEMU DVD-ROM 0.14 Removable CD-ROM SCSI-0 device
 cd0: 16.000MB/s transfers
 cd0: Attempt to query device size failed: NOT READY, Medium not present
 Mounting root from hammer:serno/QM1.s1d
 tryroot serno/QM1.s1d
 HAMMER(ROOT) recovery check seqno=00136a2a
 HAMMER(ROOT) recovery range 32d262d0-32d262d0
 HAMMER(ROOT) recovery nexto 32d262d0 endseqno=00136a2b
 HAMMER(ROOT) mounted clean, no recovery needed
 DMA space used: 152k, remaining available: 16384k
 Mounting devfs
 re0: watchdog timeout
 intr 11 on cpu0 at 40001/4 hz, livelocked limit engaged!

re0's interrupt is irq11, so it looks like re0 never considers the
interrupt is for him.  Would it be possible that you could change the
emulated network device?

Other option, set hw.ioapic_enable=0 in /boot/loader.conf
I am considering disabling I/O APIC on all virtual machines.

Best Regards,
sephe

-- 
Tomorrow Will Never Die



Re: re0: watchdog timeout issue

2012-03-13 Thread karim.allah.ah...@gmail.com
Hi Sepherosa,
Disabling the I/O APIC fixed it. :)

Thanks

On Tue, Mar 13, 2012 at 8:36 AM, Sepherosa Ziehau sepher...@gmail.comwrote:

 On Tue, Mar 13, 2012 at 1:38 PM, karim.allah.ah...@gmail.com
 karim.allah.ah...@gmail.com wrote:
  Here's the whole output of dmesg ...
 
  XMMNNOOCopyright (c) 2003-2012 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.
  sdt_probe: no RSDP
  fadt_probe: can't locate FADT
  madt_probe: can't locate MADT
  DragonFly v3.0.1-RELEASE #3: Mon Feb 20 16:41:19 MSK 2012
  r...@df.v12.su:/usr/obj/home/justin/make_30/src/sys/GENERIC
  TSC clock: 2266498894 Hz, i8254 clock: 1193128 Hz
  CPU: QEMU Virtual CPU version 0.14.1 (2266.62-MHz 686-class CPU)
Origin = GenuineIntel  Id = 0x623  Stepping = 3
 
 
 Features=0x78bfbfdFPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
Features2=0x80802001SSE3,CX16,POPCNT,VMM
AMD Features=0x10NX
AMD Features2=0x1LAHF
  real memory  = 1073341440 (1023 MB)
  avail memory = 1019428864 (972 MB)
  lapic: divisor index 0, frequency 55880 Hz
  Initialize MI interrupts
  FQ scheduler policy version 1.1 loaded
  kbd1 at kbdmux0
  disk scheduler: set policy of md0 to noop
  md0: Malloc disk
  ACPI Error: A valid RSDP was not found (20110211/tbxfroot-309)
  ACPI: Table initialisation failed: AE_NOT_FOUND
  ACPI: Try disabling either ACPI or apic support.
  npx0: math processor on motherboard
  npx0: INT 16 interface
  Using XMM optimized bcopy/copyin/copyout
  cryptosoft0: software crypto on motherboard
  pcib0: MPTABLE Host-PCI bridge pcibus 0 on motherboard
  pci0: PCI bus on pcib0
  isab0: PCI-ISA bridge at device 1.0 on pci0
  isa0: ISA bus on isab0
  atapci0: Intel PIIX3 WDMA2 controller port
  0xc000-0xc00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 1.1 on pci0
  ata0: ATA channel 0 on atapci0
  disk scheduler: set policy of ad0 to noop
  ad0: 40960MB QEMU HARDDISK 0.14.1 at ata0-master WDMA2
  ata1: ATA channel 1 on atapci0
  disk scheduler: set policy of acd0 to noop
  acd0: CDROM QEMU DVD-ROM/0.14.1 at ata1-master WDMA2
  vgapci0: VGA-compatible display mem
  0xf200-0xf2000fff,0xf000-0xf1ff at device 2.0 on pci0
  re0: RealTek 8139C+ 10/100BaseTX port 0xc100-0xc1ff mem
  0xf202-0xf20200ff irq 11 at device 3.0 on pci0
  re0: Hardware rev. 0x7480; MAC ver. 0x00; PCI32 33MHz
  miibus0: MII bus on re0
  ukphy0: Generic IEEE 802.3u media interface on miibus0
  ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
  re0: MAC address: 52:54:00:12:34:56
  pmtimer0 on isa0
  fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
  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 IntelliMouse Explorer, device ID 4
  vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
  sc0: System console at flags 0x100 on isa0
  sc0: VGA 16 virtual consoles, flags=0x300
  sio0: configured irq 4 not in bitmap of probed irqs 0
  sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
  sio0: type 16550A
  sio1: can't drain, serial port might not exist, disabling
  ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
  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
  CAM: Configuring 2 busses
  CAM: finished configuring all busses
  disk scheduler: set policy of cd0 to noop
  cd0 at ata1 bus 0 target 0 lun 0
  cd0: QEMU QEMU DVD-ROM 0.14 Removable CD-ROM SCSI-0 device
  cd0: 16.000MB/s transfers
  cd0: Attempt to query device size failed: NOT READY, Medium not present
  Mounting root from hammer:serno/QM1.s1d
  tryroot serno/QM1.s1d
  HAMMER(ROOT) recovery check seqno=00136a2a
  HAMMER(ROOT) recovery range 32d262d0-32d262d0
  HAMMER(ROOT) recovery nexto 32d262d0 endseqno=00136a2b
  HAMMER(ROOT) mounted clean, no recovery needed
  DMA space used: 152k, remaining available: 16384k
  Mounting devfs
  re0: watchdog timeout
  intr 11 on cpu0 at 40001/4 hz, livelocked limit engaged!

 re0's interrupt is irq11, so it looks like re0 never considers the
 interrupt is for him.  Would it be possible that you could change the
 emulated network device?

 Other option, set hw.ioapic_enable=0 in /boot/loader.conf
 I am considering disabling I/O APIC on all virtual machines.

 Best Regards,
 sephe

 --
 Tomorrow Will Never Die




-- 
Karim Allah Ahmed.
LinkedIn http://eg.linkedin.com/pub/karim-allah-ahmed/13/829/550/


re0: watchdog timeout issue

2012-03-12 Thread karim.allah.ah...@gmail.com
I'm getting the following message printed on my terminal and on dmesg once
I configure my NIC 'ifconfig re0 10.0.2.15'

re0: watchdog timeout



intr 11 on cpu0 at 40001/4 hz, livelocked limit engaged!
intr 11 on cpu0 at */** hz, livelock removed




How can I fix that ?

-- 
Karim Allah Ahmed.
LinkedIn http://eg.linkedin.com/pub/karim-allah-ahmed/13/829/550/


Re: re0: watchdog timeout issue

2012-03-12 Thread Sepherosa Ziehau
On Tue, Mar 13, 2012 at 10:22 AM, karim.allah.ah...@gmail.com
karim.allah.ah...@gmail.com wrote:
 I'm getting the following message printed on my terminal and on dmesg once I
 configure my NIC 'ifconfig re0 10.0.2.15'

 re0: watchdog timeout
 
 
 
 intr 11 on cpu0 at 40001/4 hz, livelocked limit engaged!
 intr 11 on cpu0 at */** hz, livelock removed
 
 
 

 How can I fix that ?

Please post the verbose dmesg first.  Thanks.


 --
 Karim Allah Ahmed.
 LinkedIn




-- 
Tomorrow Will Never Die


Re: re0: watchdog timeout issue

2012-03-12 Thread karim.allah.ah...@gmail.com
Here's the whole output of dmesg ...

XMMNNOOCopyright (c) 2003-2012 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.
sdt_probe: no RSDP
fadt_probe: can't locate FADT
madt_probe: can't locate MADT
DragonFly v3.0.1-RELEASE #3: Mon Feb 20 16:41:19 MSK 2012
r...@df.v12.su:/usr/obj/home/justin/make_30/src/sys/GENERIC
TSC clock: 2266498894 Hz, i8254 clock: 1193128 Hz
CPU: QEMU Virtual CPU version 0.14.1 (2266.62-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x623  Stepping = 3

Features=0x78bfbfdFPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
  Features2=0x80802001SSE3,CX16,POPCNT,VMM
  AMD Features=0x10NX
  AMD Features2=0x1LAHF
real memory  = 1073341440 (1023 MB)
avail memory = 1019428864 (972 MB)
lapic: divisor index 0, frequency 55880 Hz
Initialize MI interrupts
FQ scheduler policy version 1.1 loaded
kbd1 at kbdmux0
disk scheduler: set policy of md0 to noop
md0: Malloc disk
ACPI Error: A valid RSDP was not found (20110211/tbxfroot-309)
ACPI: Table initialisation failed: AE_NOT_FOUND
ACPI: Try disabling either ACPI or apic support.
npx0: math processor on motherboard
npx0: INT 16 interface
Using XMM optimized bcopy/copyin/copyout
cryptosoft0: software crypto on motherboard
pcib0: MPTABLE Host-PCI bridge pcibus 0 on motherboard
pci0: PCI bus on pcib0
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX3 WDMA2 controller port
0xc000-0xc00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 1.1 on pci0
ata0: ATA channel 0 on atapci0
disk scheduler: set policy of ad0 to noop
ad0: 40960MB QEMU HARDDISK 0.14.1 at ata0-master WDMA2
ata1: ATA channel 1 on atapci0
disk scheduler: set policy of acd0 to noop
acd0: CDROM QEMU DVD-ROM/0.14.1 at ata1-master WDMA2
vgapci0: VGA-compatible display mem
0xf200-0xf2000fff,0xf000-0xf1ff at device 2.0 on pci0
re0: RealTek 8139C+ 10/100BaseTX port 0xc100-0xc1ff mem
0xf202-0xf20200ff irq 11 at device 3.0 on pci0
re0: Hardware rev. 0x7480; MAC ver. 0x00; PCI32 33MHz
miibus0: MII bus on re0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
re0: MAC address: 52:54:00:12:34:56
pmtimer0 on isa0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
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 IntelliMouse Explorer, device ID 4
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: can't drain, serial port might not exist, disabling
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
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
CAM: Configuring 2 busses
CAM: finished configuring all busses
disk scheduler: set policy of cd0 to noop
cd0 at ata1 bus 0 target 0 lun 0
cd0: QEMU QEMU DVD-ROM 0.14 Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from hammer:serno/QM1.s1d
tryroot serno/QM1.s1d
HAMMER(ROOT) recovery check seqno=00136a2a
HAMMER(ROOT) recovery range 32d262d0-32d262d0
HAMMER(ROOT) recovery nexto 32d262d0 endseqno=00136a2b
HAMMER(ROOT) mounted clean, no recovery needed
DMA space used: 152k, remaining available: 16384k
Mounting devfs
re0: watchdog timeout
intr 11 on cpu0 at 40001/4 hz, livelocked limit engaged!
intr 11 on cpu0 at 9737/2 hz, livelock removed
intr 11 on cpu0 at 40001/4 hz, livelocked limit engaged!
intr 11 on cpu0 at 9370/2 hz, livelock removed
intr 11 on cpu0 at 40001/4 hz, livelocked limit engaged!
intr 11 on cpu0 at 9849/2 hz, livelock removed
intr 11 on cpu0 at 40001/4 hz, livelocked limit engaged!
intr 11 on cpu0 at 10127/2 hz, livelock removed
intr 11 on cpu0 at 40001/4 hz, livelocked limit engaged!
intr 11 on cpu0 at 9955/2 hz, livelock removed
intr 11 on cpu0 at 40001/4 hz, livelocked limit engaged!
intr 11 on cpu0 at 9831/2 hz, livelock removed
intr 11 on cpu0 at 40001/4 hz, livelocked limit engaged!
intr 11 on cpu0 at 9669/2 hz, livelock removed
intr 11 on cpu0 at 40001/4 hz, livelocked limit engaged!
intr 11 on cpu0 at 9812/2 hz, livelock removed
intr 11 on cpu0 at 40001/4 hz, livelocked limit engaged!
intr 11 on cpu0 at 10005/2 hz, livelock removed
intr 11 on cpu0 at 40001/4 hz, livelocked limit