From owner-freebsd-questions@FreeBSD.ORG Wed Jul 4 08:17:47 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D38A916A421 for ; Wed, 4 Jul 2007 08:17:47 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 2C61D13C457 for ; Wed, 4 Jul 2007 08:17:46 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.12.11) with ESMTP id l648HYNK011444 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 4 Jul 2007 15:17:34 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.13.3/8.12.11) id l648HXZZ034086; Wed, 4 Jul 2007 15:17:33 +0700 (ICT) Date: Wed, 4 Jul 2007 15:17:33 +0700 (ICT) Message-Id: <200707040817.l648HXZZ034086@banyan.cs.ait.ac.th> From: Olivier Nicole To: on@cs.ait.ac.th In-reply-to: <200706280816.l5S8GjJf053198@banyan.cs.ait.ac.th> (message from Olivier Nicole on Thu, 28 Jun 2007 15:16:45 +0700 (ICT)) References: <200706280816.l5S8GjJf053198@banyan.cs.ait.ac.th> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: questions@freebsd.org Subject: Re: FreeBSD 5.5 hangs on boot when pluging mouse/Intel Gigabit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2007 08:17:47 -0000 Hi, > I am in process of upgrading a serie of servers from 4.11 to 5.5 (and > them 6.2). > > I am on the 5.5 phase. I did 2 machines sucessfully. On upgrading the > thrid one, the boot will hang after SCSI buss reset, whenver I plug in > the mouse or an Intel Pro/1000 MT Gigabit card. I don't know the reason, but in 6.2 the problem vanished. > The server I am upgrading was working fine for 2 years and more. > > The 2 machines I did previously are the exact same mother board as the > one making trouble, but the one I upgrade is 2 CPU. more RAM and a > tape device. > > One of the 2 machines that succeded is using the same add on Intel Pro > Gigabit. > > All machines are connected to the same KVM switch. > > Kernel is GENERIC from distribution. > > The exact place it hangs is shown in the dmesg bellow: > > Copyright (c) 1992-2006 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.5-RELEASE-p13 #2: Thu Jun 28 12:36:00 ICT 2007 > root@amanda.cs.ait.ac.th:/usr/obj/usr/src/sys/GENERIC > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel Pentium III (800.03-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x686 Stepping = 6 > Features=0x383fbff > real memory = 402632704 (383 MB) > avail memory = 384299008 (366 MB) > ACPI APIC Table: > ioapic0 irqs 0-15 on motherboard > ioapic1 irqs 16-31 on motherboard > npx0: on motherboard > npx0: INT 16 interface > acpi0: on motherboard > acpi0: Power Button (fixed) > Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 > acpi_timer0: <32-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 > cpu0: on acpi0 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > fxp0: port 0xd800-0xd83f mem 0xfd800000-0xfd8fffff,0xfe000000-0xfe000fff irq 20 at device 2.0 on pci0 > miibus0: on fxp0 > inphy0: on miibus0 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > fxp0: Ethernet address: 00:e0:18:0a:97:a6 > pci0: at device 7.0 (no driver attached) > isab0: port 0xe800-0xe80f at device 15.0 on pci0 > isa0: on isab0 > atapci0: port 0xd000-0xd00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0 > ata0: channel #0 on atapci0 > ata1: channel #1 on atapci0 > ohci0: mem 0xfb000000-0xfb000fff irq 4 at device 15.2 on pci0 > usb0: OHCI version 1.0, legacy support > usb0: on ohci0 > usb0: USB revision 1.0 > uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 4 ports with 4 removable, self powered > pcib1: on acpi0 > pci1: on pcib1 > sym0: <896> port 0xb800-0xb8ff mem 0xfa000000-0xfa001fff,0xfa800000-0xfa8003ff irq 24 at device 5.0 on pci1 > sym0: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking > sym0: open drain IRQ line driver, using on-chip SRAM > sym0: using LOAD/STORE-based firmware. > sym0: handling phase mismatch from SCRIPTS. > sym1: <896> port 0xb400-0xb4ff mem 0xf9000000-0xf9001fff,0xf9800000-0xf98003ff irq 25 at device 5.1 on pci1 > sym1: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking > sym1: open drain IRQ line driver, using on-chip SRAM > sym1: using LOAD/STORE-based firmware. > sym1: handling phase mismatch from SCRIPTS. > atkbdc0: port 0x64,0x60 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > orm0: at iomem 0xd0000-0xd3fff,0xc0000-0xca7ff on isa0 > pmtimer0 on isa0 > ppc0: parallel port not found. > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 8250 or not responding > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > Timecounter "TSC" frequency 800034408 Hz quality 800 > Timecounters tick every 10.000 msec > acd0: CDROM at ata0-master PIO4 > Waiting 15 seconds for SCSI devices to settle > (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered. > (noperiph:sym1:0:-1:-1): SCSI BUS reset delivered. > > ****** Hangs here ***** > > sa0 at sym1 bus 0 target 2 lun 0 > sa0: Removable Sequential Access SCSI-2 device > sa0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit) > da0 at sym0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-3 device > da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled > da0: 17522MB (35885168 512 byte sectors: 255H 63S/T 2233C) > da1 at sym0 bus 0 target 1 lun 0 > da1: Fixed Direct Access SCSI-3 device > da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled > da1: 17522MB (35885168 512 byte sectors: 255H 63S/T 2233C) > da2 at sym0 bus 0 target 2 lun 0 > da2: Fixed Direct Access SCSI-3 device > da2: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled > da2: 17522MB (35885168 512 byte sectors: 255H 63S/T 2233C) > da3 at sym0 bus 0 target 3 lun 0 > da3: Fixed Direct Access SCSI-3 device > da3: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled > da3: 17522MB (35885168 512 byte sectors: 255H 63S/T 2233C) > Mounting root from ufs:/dev/da0s1a > > > Dmesg for one of the machine that is running fine, not the em0 at the end. > > Copyright (c) 1992-2006 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.5-RELEASE-p13 #0: Wed Jun 27 11:40:24 ICT 2007 > root@database.cs.ait.ac.th:/usr/obj/usr/src/sys/GENERIC > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel Pentium III (800.03-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x686 Stepping = 6 > Features=0x383fbff > real memory = 134197248 (127 MB) > avail memory = 121659392 (116 MB) > ACPI APIC Table: > ioapic0 irqs 0-15 on motherboard > ioapic1 irqs 16-31 on motherboard > npx0: on motherboard > npx0: INT 16 interface > acpi0: on motherboard > acpi0: Power Button (fixed) > Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 > acpi_timer0: <32-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 > cpu0: on acpi0 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > fxp0: port 0xd800-0xd83f mem 0xfd800000-0xfd8fffff,0xfe000000-0xfe000fff irq 20 at device 2.0 on pci0 > miibus0: on fxp0 > inphy0: on miibus0 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > fxp0: Ethernet address: 00:e0:18:0a:97:d7 > em0: port 0xd400-0xd43f mem 0xfc800000-0xfc81ffff,0xfd000000-0xfd01ffff irq 19 at device 6.0 on pci0 > em0: Ethernet address: 00:07:e9:2a:76:13 > pci0: at device 7.0 (no driver attached) > isab0: port 0xe800-0xe80f at device 15.0 on pci0 > isa0: on isab0 > atapci0: port 0xb800-0xb80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0 > ata0: channel #0 on atapci0 > ata1: channel #1 on atapci0 > ohci0: mem 0xfa000000-0xfa000fff irq 9 at device 15.2 on pci0 > usb0: OHCI version 1.0, legacy support > usb0: on ohci0 > usb0: USB revision 1.0 > uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 4 ports with 4 removable, self powered > pcib1: on acpi0 > pci1: on pcib1 > sym0: <896> port 0xb400-0xb4ff mem 0xf9000000-0xf9001fff,0xf9800000-0xf98003ff irq 24 at device 5.0 on pci1 > sym0: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking > sym0: open drain IRQ line driver, using on-chip SRAM > sym0: using LOAD/STORE-based firmware. > sym0: handling phase mismatch from SCRIPTS. > sym1: <896> port 0xb000-0xb0ff mem 0xf8000000-0xf8001fff,0xf8800000-0xf88003ff irq 25 at device 5.1 on pci1 > sym1: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking > sym1: open drain IRQ line driver, using on-chip SRAM > sym1: using LOAD/STORE-based firmware. > sym1: handling phase mismatch from SCRIPTS. > atkbdc0: port 0x64,0x60 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > psm0: irq 12 on atkbdc0 > psm0: model IntelliMouse, device ID 3 > 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 > ppc0: port 0x778-0x77a,0x378-0x37f irq 7 drq 3 on acpi0 > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/8 bytes threshold > ppbus0: on ppc0 > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > orm0: at iomem 0xd0000-0xd3fff,0xc0000-0xca7ff on isa0 > pmtimer0 on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > Timecounter "TSC" frequency 800034534 Hz quality 800 > Timecounters tick every 10.000 msec > acd0: CDROM at ata0-master PIO4 > Waiting 15 seconds for SCSI devices to settle > (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered. > (noperiph:sym1:0:-1:-1): SCSI BUS reset delivered. > da0 at sym0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-3 device > da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled > da0: 17547MB (35937500 512 byte sectors: 255H 63S/T 2237C) > Mounting root from ufs:/dev/da0s1a > em0: Link is up 1000 Mbps Full Duplex