From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 18:08:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 156F21065687; Mon, 6 Oct 2008 18:08:36 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from kermit.lizardhill.com (kermit2.lizardhill.com [64.69.41.218]) by mx1.freebsd.org (Postfix) with ESMTP id F01C18FC28; Mon, 6 Oct 2008 18:08:35 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from ip72-193-84-190.lv.lv.cox.net ([72.193.84.190] helo=mickey) by kermit.lizardhill.com with esmtpa (Exim 4.62) (envelope-from ) id 1KmuVp-00075R-BI; Mon, 06 Oct 2008 11:08:53 -0700 From: "Don O'Neil" To: "'Jeremy Chadwick'" References: <20081006161221.GB70792@gizmo.acns.msu.edu> <4C2FBF89DECE47FC8C5AA51B62FF8710@mickey> <20081006164552.GA25629@icarus.home.lan> <20081006170104.GA25818@icarus.home.lan> Date: Mon, 6 Oct 2008 11:08:34 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 In-Reply-To: <20081006170104.GA25818@icarus.home.lan> Thread-Index: Ackn1SudEnCZo8HQQqyQcKB+5WpjmAAArGNQ Cc: freebsd-questions@freebsd.org Subject: RE: Can't add new 1TB disk in FreeBSD 6.1 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: Mon, 06 Oct 2008 18:08:36 -0000 > On Mon, Oct 06, 2008 at 09:45:52AM -0700, Jeremy Chadwick wrote: > > There is one thing about later FreeBSDs which I am aware of: 48-bit > > LBA addressing. I'm left wondering if what you're running > into is a > > bug or a problem with older FreeBSD (6.1) not supporting this. I > > would have to go back through CVS commit lots for ata(4) to > find out > > when 48-bit LBA was added. I think 48-bit LBA support is > required for disks >500GB. > > The issue I'm referring to has been touched on many times. > > First and foremost, 6.1-RELEASE was released in May 2006. > Keep that date in mind when reading the below. > > The first incident, according to CVS commit logs, was adding > 48-bit LBA support, supporting disks >137GB. That would've > been in RELENG_4, dated 2002/01/05. FreeBSD 6.1 should have this. > > Next, we have a commit dated 2003/01/19, affecting 48-bit LBA > support on Promise 66/100 controllers. FreeBSD 6.1 should have this. > > Next, 2004/12/09, talking about disk firmware bugs affecting > 48-bit LBA addressing, which was affecting a significant > number of users. That was applied to HEAD and RELENG_5, so > FreeBSD 6.1 ("HEAD" at that time) should have this. > > Next, 2005/04/14, something about "read back the real > taskfile register values when in 48-bit mode". Committed to > HEAD, which would've been during days shortly before RELENG_6 > was tagged (6.0). > > Next, 2005/08/17, "support for working around controllers > that can't do DMA in 48-bit LBA mode", forcing the disk to > use PIO mode allowing the disk to address >137GB. This was > added to HEAD and RELENG_6, so this should also exist in 6.1. > > Next, 2007/12/13, "also fix 48-bit LBA addressing issues, > apparently newe chips need 16-bit writes and not the usual > FIFO thing". This was committed to HEAD first, RELENG_7 on > 2008/01/09, and RELENG_6 on 2008/01/09. > > This is one which FreeBSD 6.1 *would not* have fixes for. > > I do not know if this is the problem -- I'm just speculating. > > Because dmesg output was not provided ("nothing > interesting"), we can't tell what sort of controller your > disks are hooked to, yadda yadda. > This is explicitly why I asked for that information. > > If you could please try 7.0-STABLE or 7.1-PRERELEASE, that > would be highly recommended. It would at least allow us to > determine if you're being affected by a bug in older FreeBSD, > or if this is something that is unique to your environment or > applies to present-day FreeBSD. The hardware I have is the built in SATA controller on the motherboard, which is GIGABYTE GA-M61P-S3. With the NVIDIA GeForce 6100 / nForce 430 and Super I/O chip: ITE IT8716. Dmesg had no output pertaining to the partition/format/dd, etc... Just messages from my ftp daemon. If you're wanting to see the boot messages, this is from the last time I rebooted when I installed the disk: Oct 4 04:07:30 kermit kernel: Copyright (c) 1992-2006 The FreeBSD Project. Oct 4 04:07:30 kermit kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Oct 4 04:07:30 kermit kernel: The Regents of the University of California. All rights reserved. Oct 4 04:07:30 kermit kernel: FreeBSD 6.1-STABLE-200608 #0: Mon Mar 19 22:52:31 PDT 2007 Oct 4 04:07:30 kermit kernel: root@kermit.lizardhill.com:/usr/src/sys/i386/compile/KERMIT Oct 4 04:07:30 kermit kernel: ACPI APIC Table: Oct 4 04:07:30 kermit kernel: Timecounter "i8254" frequency 1193182 Hz quality 0 Oct 4 04:07:30 kermit kernel: CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ (2611.90-MHz 686-class CPU) Oct 4 04:07:30 kermit kernel: Origin = "AuthenticAMD" Id = 0x40f32 Stepping = 2 Oct 4 04:07:30 kermit kernel: Features=0x178bfbff Oct 4 04:07:30 kermit kernel: Features2=0x2001 Oct 4 04:07:30 kermit kernel: AMD Features=0xea500800 Oct 4 04:07:30 kermit kernel: AMD Features2=0x1f,,CR8> Oct 4 04:07:30 kermit kernel: Cores per package: 2 Oct 4 04:07:30 kermit kernel: real memory = 3724476416 (3551 MB) Oct 4 04:07:30 kermit kernel: avail memory = 3647496192 (3478 MB) Oct 4 04:07:30 kermit kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs Oct 4 04:07:30 kermit kernel: cpu0 (BSP): APIC ID: 0 Oct 4 04:07:30 kermit kernel: cpu1 (AP): APIC ID: 1 Oct 4 04:07:30 kermit kernel: ioapic0: Changing APIC ID to 2 Oct 4 04:07:30 kermit kernel: ioapic0 irqs 0-23 on motherboard Oct 4 04:07:30 kermit kernel: kbd1 at kbdmux0 Oct 4 04:07:30 kermit kernel: acpi0: on motherboard Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR Oct 4 04:07:30 kermit kernel: acpi0: Power Button (fixed) Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR Oct 4 04:07:30 kermit kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 Oct 4 04:07:30 kermit kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 Oct 4 04:07:30 kermit kernel: cpu0: on acpi0 Oct 4 04:07:30 kermit kernel: cpu1: on acpi0 Oct 4 04:07:30 kermit kernel: acpi_button0: on acpi0 Oct 4 04:07:30 kermit kernel: CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ (2611.90-MHz 686-class CPU) Oct 4 04:07:30 kermit kernel: Origin = "AuthenticAMD" Id = 0x40f32 Stepping = 2 Oct 4 04:07:30 kermit kernel: Features=0x178bfbff Oct 4 04:07:30 kermit kernel: Features2=0x2001 Oct 4 04:07:30 kermit kernel: AMD Features=0xea500800 Oct 4 04:07:30 kermit kernel: AMD Features2=0x1f,,CR8> Oct 4 04:07:30 kermit kernel: Cores per package: 2 Oct 4 04:07:30 kermit kernel: real memory = 3724476416 (3551 MB) Oct 4 04:07:30 kermit kernel: avail memory = 3647496192 (3478 MB) Oct 4 04:07:30 kermit kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs Oct 4 04:07:30 kermit kernel: cpu0 (BSP): APIC ID: 0 Oct 4 04:07:30 kermit kernel: cpu1 (AP): APIC ID: 1 Oct 4 04:07:30 kermit kernel: ioapic0: Changing APIC ID to 2 Oct 4 04:07:30 kermit kernel: ioapic0 irqs 0-23 on motherboard Oct 4 04:07:30 kermit kernel: kbd1 at kbdmux0 Oct 4 04:07:30 kermit kernel: acpi0: on motherboard Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR Oct 4 04:07:30 kermit kernel: acpi0: Power Button (fixed) Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR Oct 4 04:07:30 kermit kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 Oct 4 04:07:30 kermit kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 Oct 4 04:07:30 kermit kernel: cpu0: on acpi0 Oct 4 04:07:30 kermit kernel: cpu1: on acpi0 Oct 4 04:07:30 kermit kernel: acpi_button0: on acpi0 Oct 4 04:07:30 kermit kernel: pcib0: port 0xcf8-0xcff on acpi0 Oct 4 04:07:30 kermit kernel: pci0: on pcib0 Oct 4 04:07:30 kermit kernel: pci0: at device 0.0 (no driver attached) Oct 4 04:07:30 kermit kernel: isab0: at device 1.0 on pci0 Oct 4 04:07:30 kermit kernel: isa0: on isab0 Oct 4 04:07:30 kermit kernel: pci0: at device 1.1 (no driver attached) Oct 4 04:07:30 kermit kernel: pci0: at device 1.2 (no driver attached) Oct 4 04:07:30 kermit kernel: pci0: at device 2.0 (no driver attached) Oct 4 04:07:30 kermit kernel: pci0: at device 2.1 (no driver attached) Oct 4 04:07:30 kermit kernel: pcib1: at device 4.0 on pci0 Oct 4 04:07:30 kermit kernel: pci1: on pcib1 Oct 4 04:07:30 kermit kernel: fxp0: port 0xa000-0xa03f mem 0xf4901000-0xf4901fff,0xf4800000-0xf48fffff i rq 16 at device 6.0 on pci1 Oct 4 04:07:30 kermit kernel: miibus0: on fxp0 Oct 4 04:07:30 kermit kernel: inphy0: on miibus0 Oct 4 04:07:30 kermit kernel: inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Oct 4 04:07:30 kermit kernel: fxp0: Ethernet address: 00:d0:b7:93:1d:9d Oct 4 04:07:30 kermit kernel: twe0: <3ware Storage Controller. Driver version 1.50.01.002> port 0xa400-0xa40f mem 0xf4000000-0xf47fffff irq 17 at device 7.0 on pci1 Oct 4 04:07:30 kermit kernel: twe0: [GIANT-LOCKED] Oct 4 04:07:30 kermit kernel: twe0: 4 ports, Firmware FE7X 1.05.00.065, BIOS BE7X 1.08.00.048 Oct 4 04:07:30 kermit kernel: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 6.0 on pci0 Oct 4 04:07:30 kermit kernel: ata0: on atapci0 Oct 4 04:07:30 kermit kernel: ata1: on atapci0 Oct 4 04:07:30 kermit kernel: pci0: at device 7.0 (no driver attached) Oct 4 04:07:30 kermit kernel: atapci1: port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xd000-0xd00f mem 0xf7004000-0xf7004fff irq 20 at device 8.0 on pci0 Oct 4 04:07:30 kermit kernel: ata2: on atapci1 Oct 4 04:07:30 kermit kernel: ata3: on atapci1 Oct 4 04:07:30 kermit kernel: atapci2: port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xe400-0xe40f mem 0xf7000000-0xf7000fff irq 21 at device 8.1 on pci0 Oct 4 04:07:30 kermit kernel: ata4: on atapci2 Oct 4 04:07:30 kermit kernel: ata5: on atapci2 Oct 4 04:07:30 kermit kernel: pci0: at device 13.0 (no driver attached) Oct 4 04:07:30 kermit kernel: fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 Oct 4 04:07:30 kermit kernel: fdc0: [FAST] Oct 4 04:07:30 kermit kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0 Oct 4 04:07:30 kermit kernel: sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 Oct 4 04:07:30 kermit kernel: sio0: type 16550A Oct 4 04:07:30 kermit kernel: sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 Oct 4 04:07:30 kermit kernel: sio1: type 16550A Oct 4 04:07:30 kermit kernel: pmtimer0 on isa0 Oct 4 04:07:30 kermit kernel: orm0: at iomem 0xd0000-0xd3fff,0xd4000-0xd57ff,0xd6000-0xd6fff on isa0 Oct 4 04:07:30 kermit kernel: atkbdc0: at port 0x60,0x64 on isa0 Oct 4 04:07:30 kermit kernel: atkbd0: irq 1 on atkbdc0 Oct 4 04:07:30 kermit kernel: kbd0 at atkbd0 Oct 4 04:07:30 kermit kernel: atkbd0: [GIANT-LOCKED] Oct 4 04:07:30 kermit kernel: psm0: irq 12 on atkbdc0 Oct 4 04:07:30 kermit kernel: psm0: [GIANT-LOCKED] Oct 4 04:07:30 kermit kernel: psm0: model Generic PS/2 mouse, device ID 0 Oct 4 04:07:30 kermit kernel: sc0: at flags 0x100 on isa0 Oct 4 04:07:30 kermit kernel: sc0: VGA <16 virtual consoles, flags=0x300> Oct 4 04:07:30 kermit kernel: vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Oct 4 04:07:30 kermit kernel: Timecounters tick every 1.000 msec Oct 4 04:07:30 kermit kernel: ad0: 76293MB at ata0-master UDMA33 Oct 4 04:07:30 kermit kernel: ad4: 953869MB at ata2-master UDMA33 Oct 4 04:07:30 kermit kernel: twed0: on twe0 Oct 4 04:07:30 kermit kernel: twed0: 476948MB (976789504 sectors) Oct 4 04:07:30 kermit kernel: SMP: AP CPU #1 Launched! This is actually a FreeBSD-Stable install... From 08/2006.... I realize it's probably time to do an OS upgrade, but this is the ONLY issue I've run into running this code base. Some of the software I'm running hasn't been tested with 7.X, so I'm not comfortable going there yet.