From owner-freebsd-stable@FreeBSD.ORG Wed Jan 26 18:59:59 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D97D416A4CE for ; Wed, 26 Jan 2005 18:59:59 +0000 (GMT) Received: from hadar.amcc.com (hadar.amcc.com [192.195.69.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4612F43D2F for ; Wed, 26 Jan 2005 18:59:59 +0000 (GMT) (envelope-from vkashyap@amcc.com) Received: from mailhost02.amcc.com ([192.195.69.49]) by hadar.amcc.com (Netscape Messaging Server 4.15) with SMTP id IAXU4302.7LS; Wed, 26 Jan 2005 11:00:03 -0800 Received: (from vkashyap-pc [10.66.6.61]) by mailhost02.amcc.com (SMSSMTP 4.0.0.59) with SMTP id M2005012611032226461 ; Wed, 26 Jan 2005 11:03:22 -0800 From: "Vinod Kashyap" To: Jason Thomson , freebsd-stable@freebsd.org Date: Wed, 26 Jan 2005 10:59:45 -0800 X-Sent-Folder-Path: Sent Items X-Mailer: Oracle Connector for Outlook 9.0.4 51114 (9.0.6627) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-ID: Subject: RE: 3ware 9500S problem in newly updated 4.x box. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2005 19:00:00 -0000 See if this fixes your problem. Index: twa_cam.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/sys/dev/twa/twa_cam.c,v retrieving revision 1.1.2.4 diff -u -r1.1.2.4 twa_cam.c --- twa_cam.c 7 Jan 2005 01:00:45 -0000 1.1.2.4 +++ twa_cam.c 26 Jan 2005 18:53:54 -0000 @@ -424,9 +424,9 @@ twa_dbg_dprint(3, sc, "XPT_PATH_INQ request"); = path_inq->version_num =3D 1; - path_inq->hba_inquiry =3D PI_WIDE_16; + path_inq->hba_inquiry =3D 0; path_inq->target_sprt =3D 0; - path_inq->hba_misc |=3D PIM_NOBUSRESET; + path_inq->hba_misc =3D 0; path_inq->hba_eng_cnt =3D 0; path_inq->max_target =3D TWA_MAX_UNITS; path_inq->max_lun =3D 0; > -----Original Message----- > From: owner-freebsd-stable@freebsd.org > [mailto:owner-freebsd-stable@freebsd.org]On Behalf Of Jason Thomson > Sent: Wednesday, January 26, 2005 7:52 AM > To: freebsd-stable@freebsd.org > Cc: Vinod Kashyap > Subject: 3ware 9500S problem in newly updated 4.x box. > = > = > Recently CVSupped and rebuilt a releng4 box. > = > This box has a 9500S in RAID10 configuration. > = > On reboot, it failed to find da0, so it couldn't mount root. > = > If you wait a few seconds, and then type to specify the root = > filesystem > again, then the da0 device is found (the message is printed as you > type), and on hitting return, the machine continues booting. > = > (See dmesg below). > = > = > The twa driver and firmware are up to date. > = > This is a DELL 1600SC SMP. HyperThreading is enabled (but it's not a > big deal to us one way or the other, so if it's a good idea = > to turn it > off, we could). > = > If you don't type on the keyboard, then the message doesn't = > appear. I > haven't tried this without SMP. It's a production box I just = > upgraded, > and can only mess around with it early in the morning. > = > Before today, it was running FreeBSD 4-STABLE from September 24th. > = > Has anyone else seen this? Does anyone have any ideas? Is there > anything I can try to debug this? > = > = > = > = > = > = > = > Copyright (c) 1992-2005 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 4.11-STABLE #3: Wed Jan 26 14:03:18 GMT 2005 > jason@baldrick.mintel.co.uk:/usr/obj/usr/src/sys/BALDRICK > Timecounter "i8254" frequency 1193182 Hz > CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2790.72-MHz 686-class CPU) > Origin =3D "GenuineIntel" Id =3D 0xf29 Stepping =3D 9 > = > Features=3D0xbfebfbff > Hyperthreading: 2 logical CPUs > real memory =3D 3757965312 (3669888K bytes) > avail memory =3D 3659362304 (3573596K bytes) > Changing APIC ID for IO APIC #0 from 0 to 8 on chip > Changing APIC ID for IO APIC #1 from 0 to 9 on chip > Changing APIC ID for IO APIC #2 from 0 to 10 on chip > Programming 16 pins in IOAPIC #0 > IOAPIC #0 intpin 2 -> irq 0 > Programming 16 pins in IOAPIC #1 > Programming 16 pins in IOAPIC #2 > FreeBSD/SMP: Multiprocessor motherboard: 4 CPUs > cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000 > cpu1 (AP): apic id: 1, version: 0x00050014, at 0xfee00000 > cpu2 (AP): apic id: 6, version: 0x00050014, at 0xfee00000 > cpu3 (AP): apic id: 7, version: 0x00050014, at 0xfee00000 > io0 (APIC): apic id: 8, version: 0x000f0011, at 0xfec00000 > io1 (APIC): apic id: 9, version: 0x000f0011, at 0xfec01000 > io2 (APIC): apic id: 10, version: 0x000f0011, at 0xfec02000 > pnpbios: Bad PnP BIOS data checksum > Preloaded elf kernel "kernel" at 0xa03f0000. > Warning: Pentium 4 CPU: PSE disabled > Pentium Pro MTRR support enabled > md0: Malloc disk > Using $PIR table, 9 entries at 0xa00fc200 > npx0: on motherboard > npx0: INT 16 interface > pcib0: on = > motherboard > IOAPIC #1 intpin 0 -> irq 2 > IOAPIC #1 intpin 9 -> irq 3 > pci0: on pcib0 > em0: port > 0xecc0-0xecff mem 0xfe100000-0xfe11ffff irq 2 at device 2.0 on pci0 > em0: Speed:N/A Duplex:N/A > sis0: port 0xe800-0xe8ff mem > 0xfe122000-0xfe122fff irq 3 at device 4.0 on pci0 > sis0: Ethernet address: 00:02:e3:02:6e:10 > miibus0: on sis0 > ukphy0: on miibus0 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > pci0: at 14.0 > atapci0: port > 0x8b0-0x8bf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device > 15.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > pci0: at 15.2 irq 5 > isab0: at = > device 15.3 on pci0 > isa0: on isab0 > pcib1: on = > motherboard > IOAPIC #1 intpin 4 -> irq 10 > pci1: on pcib1 > 3ware device driver for 9000 series storage controllers, version: > 2.40.02.011 > twa0: <3ware 9000 series Storage Controller> port 0xdc00-0xdcff mem > 0xfc000000-0xfc7fffff,0xfcf00000-0xfcf000ff irq 10 at device = > 6.0 on pci1 > twa0: 4 ports, Firmware FE9X 2.04.00.005, BIOS BE9X 2.03.01.047 > pcib2: on motherboard > pci2: on pcib2 > pcib3: on = > motherboard > pci3: on pcib3 > pcib4: on = > motherboard > pci4: on pcib4 > orm0: