From owner-freebsd-amd64@FreeBSD.ORG Wed Jan 19 04:03:39 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF6F016A4CE; Wed, 19 Jan 2005 04:03:39 +0000 (GMT) Received: from web4.thecenturiongroup.com (104-238-234-66.cosmoweb.net [66.234.238.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCFF443D58; Wed, 19 Jan 2005 04:03:36 +0000 (GMT) (envelope-from mjm@michaelmeltzer.com) Received: from [127.0.0.1] (ix1x1000.thecenturiongroup.com [192.32.248.52]) by web4.thecenturiongroup.com (Postfix) with ESMTP id 2E98F7C007; Tue, 18 Jan 2005 23:03:36 -0500 (EST) Message-ID: <41EDDB38.1000107@michaelmeltzer.com> Date: Tue, 18 Jan 2005 22:59:52 -0500 From: Michael Meltzer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vinod Kashyap References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: Jean-Yves Avenard cc: freebsd stable cc: freebsd-amd64@freebsd.org Subject: Re: twa breakage on AMD64 with 9.1.5.23wareversionand2005-01-1103:00:49 UTC RELENG_5 commit X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2005 04:03:40 -0000 straight boot, no patches or extra debug. -mjm 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-STABLE #14: Thu Jan 13 23:55:20 EST 2005 root@web7.thecenturiongroup.com:/usr/src/sys/amd64/compile/web7 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Opteron(tm) Processor 240 (1403.19-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0xf51 Stepping = 1 Features=0x78bfbff AMD Features=0xe0500800 real memory = 6442450944 (6144 MB) avail memory = 5963796480 (5687 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-27 on motherboard ioapic2 irqs 28-31 on motherboard acpi0: on motherboard acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) unknown: I/O range not supported unknown: I/O range not supported Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 cpu0: on acpi0 cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 6.0 on pci0 pci1: on pcib1 pci1: at device 6.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1020-0x102f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 7.2 (no driver attached) pci0: at device 7.3 (no driver attached) pcib2: at device 10.0 on pci0 pci2: on pcib2 bge0: mem 0xfd000000-0xfd00ffff irq 27 at device 3.0 on pci2 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:50:45:5b:8e:76 bge1: mem 0xfd010000-0xfd01ffff irq 27 at device 4.0 on pci2 miibus1: on bge1 brgphy1: on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge1: Ethernet address: 00:50:45:5b:8e:77 atapci1: port 0x3000-0x307f,0x30c0-0x30cf,0x3080-0x30bf mem 0xfd020000-0xfd03ffff,0xfd040000-0xfd040fff irq 25 at device 5.0 on pci2 atapci1: failed: rid 0x20 is memory, requested 4 ata2: channel #0 on atapci1 ata3: channel #1 on atapci1 ata4: channel #2 on atapci1 ata5: channel #3 on atapci1 pci0: at device 10.1 (no driver attached) pcib3: at device 11.0 on pci0 pci3: on pcib3 3ware device driver for 9000 series storage controllers, version: 2.50.02.011 twa0: <3ware 9000 series Storage Controller> port 0x4000-0x40ff mem 0xfd800000-0xfdffffff,0xfd100000-0xfd1000ff irq 30 at device 2.0 on pci3 twa0: 4 ports, Firmware FE9X 2.04.00.005, BIOS BE9X 2.03.01.047 twa0: [GIANT-LOCKED] pci0: at device 11.1 (no driver attached) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A, console sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled ppc0: port 0x778-0x77f,0x378-0x37f irq 7 drq 4 on acpi0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled orm0: at iomem 0xcb000-0xcc7ff,0xc9800-0xcafff,0xc8000-0xc97ff,0xc0000-0xc7fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> 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 Timecounters tick every 1.000 msec IP Filter: v3.4.35 initialized. Default = pass all, Logging = disabled acd0: DVDROM at ata0-master UDMA33 SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/da0s1a setrootbyname failed ffs_mountroot: can't find rootvp Root mount failed: 6 Manual root filesystem specification: : Mount using filesystem eg. ufs:/dev/da0a ? List valid disk boot devices Abort manual input mountroot> Vinod Kashyap wrote: >I tried reproducing the problem on both i386 and amd64, >but could not. I installed 5.3 RELEASE, cvsuped to the >tip of RELENG_5, re-built the kernel with twa integrated, >and rebooted. The test systems booted just fine (off of >3ware controlled da0). I even tried replacing just the >twa sources of 5.3 RELEASE with the twa sources from the >tip of RELENG_5, and that worked fine too. All this, >without even upgrading the firmware from 2.02.00.008 (which >is bundled into 5.3 RELEASE sources). So, I am confused as >to what might be happening. > >Could you give the attached patch a try? Just a hunch... > > > > > >>-----Original Message----- >>From: owner-freebsd-stable@freebsd.org >>[mailto:owner-freebsd-stable@freebsd.org]On Behalf Of Michael Meltzer >>Sent: Friday, January 14, 2005 6:03 AM >>To: Vinod Kashyap >>Cc: freebsd stable >>Subject: Re: twa breakage on AMD64 with 9.1.5.2 >>3wareversionand2005-01-1103:00:49 UTC RELENG_5 commit >> >> >> >> >> >>>Could you see if the driver is getting loaded? The driver prints >>>the message: "3ware device driver for 9000 series storage >>> >>> >>controllers...". >> >> >>>Did the new firmware get flashed? You can download the firmware >>> >>> >>>from the 3ware website and flash it on the card using a DOS floppy. >> >> >>>Alternatively, you can add 'options TWA_FLASH_FIRMWARE' to your >>>kernel configuration file and rebuild the kernel. This should build >>>the kernel/driver with the firmware bundled, and the firmware should >>>automatically get downloaded the next time you reboot. >>> >>> >>> >>> >>> >>> >>> >>> >>I reloaded the new driver and rebuilt the kernel last night with the >>TWA_FLASH_FIRMWARE, Did not see the -D on the command line for the >>rebuild, the new firmware was not requested to load. I got the new >>firmware from 3ware and flashed it in, Still does not work. I >>also build >>a straight GENERIC Kernel, still no luck. Their is no error >>message that >>I saw and the versions number for the pieces did change so it >>the "new" >>stuff. I need to setup a serial console to capture the full messages, >>should have that on monday night. Thank You -mjm >> >> >>_______________________________________________ >>freebsd-stable@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-stable >>To unsubscribe, send any mail to >>"freebsd-stable-unsubscribe@freebsd.org" >> >> > > >