Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 2008 11:08:34 -0700
From:      "Don O'Neil" <lists@lizardhill.com>
To:        "'Jeremy Chadwick'" <koitsu@FreeBSD.org>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: Can't add new 1TB disk in FreeBSD 6.1
Message-ID:  <AB7D666B071D463690F647DD3781E21B@mickey>
In-Reply-To: <20081006170104.GA25818@icarus.home.lan>
References:  <20081006161221.GB70792@gizmo.acns.msu.edu> <4C2FBF89DECE47FC8C5AA51B62FF8710@mickey> <20081006164552.GA25629@icarus.home.lan> <20081006170104.GA25818@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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: <GBT    NVDAACPI>
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA
,CMOV,PAT,PSE36,CLFLUSH,MMX,F
XSR,SSE,SSE2,HTT>
Oct  4 04:07:30 kermit kernel: Features2=0x2001<SSE3,CX16>
Oct  4 04:07:30 kermit kernel: AMD
Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow+,3DNow>
Oct  4 04:07:30 kermit kernel: AMD Features2=0x1f<LAHF,CMP,<b2>,<b3>,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 <Version 1.1> irqs 0-23 on
motherboard
Oct  4 04:07:30 kermit kernel: kbd1 at kbdmux0
Oct  4 04:07:30 kermit kernel: acpi0: <GBT NVDAACPI> 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: <ACPI CPU> on acpi0
Oct  4 04:07:30 kermit kernel: cpu1: <ACPI CPU> on acpi0
Oct  4 04:07:30 kermit kernel: acpi_button0: <Power Button> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA
,CMOV,PAT,PSE36,CLFLUSH,MMX,F
XSR,SSE,SSE2,HTT>
Oct  4 04:07:30 kermit kernel: Features2=0x2001<SSE3,CX16>
Oct  4 04:07:30 kermit kernel: AMD
Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow+,3DNow>
Oct  4 04:07:30 kermit kernel: AMD Features2=0x1f<LAHF,CMP,<b2>,<b3>,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 <Version 1.1> irqs 0-23 on
motherboard
Oct  4 04:07:30 kermit kernel: kbd1 at kbdmux0
Oct  4 04:07:30 kermit kernel: acpi0: <GBT NVDAACPI> 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: <ACPI CPU> on acpi0
Oct  4 04:07:30 kermit kernel: cpu1: <ACPI CPU> on acpi0
Oct  4 04:07:30 kermit kernel: acpi_button0: <Power Button> on acpi0
Oct  4 04:07:30 kermit kernel: pcib0: <ACPI Host-PCI bridge> port
0xcf8-0xcff on acpi0
Oct  4 04:07:30 kermit kernel: pci0: <ACPI PCI bus> on pcib0
Oct  4 04:07:30 kermit kernel: pci0: <memory, RAM> at device 0.0 (no driver
attached)
Oct  4 04:07:30 kermit kernel: isab0: <PCI-ISA bridge> at device 1.0 on pci0
Oct  4 04:07:30 kermit kernel: isa0: <ISA bus> on isab0
Oct  4 04:07:30 kermit kernel: pci0: <serial bus, SMBus> at device 1.1 (no
driver attached)
Oct  4 04:07:30 kermit kernel: pci0: <memory, RAM> at device 1.2 (no driver
attached)
Oct  4 04:07:30 kermit kernel: pci0: <serial bus, USB> at device 2.0 (no
driver attached)
Oct  4 04:07:30 kermit kernel: pci0: <serial bus, USB> at device 2.1 (no
driver attached)
Oct  4 04:07:30 kermit kernel: pcib1: <ACPI PCI-PCI bridge> at device 4.0 on
pci0
Oct  4 04:07:30 kermit kernel: pci1: <ACPI PCI bus> on pcib1
Oct  4 04:07:30 kermit kernel: fxp0: <Intel 82559 Pro/100 Ethernet> 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: <MII bus> on fxp0
Oct  4 04:07:30 kermit kernel: inphy0: <i82555 10/100 media interface> 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: <GENERIC ATA controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 6.0 on
 pci0
Oct  4 04:07:30 kermit kernel: ata0: <ATA channel 0> on atapci0
Oct  4 04:07:30 kermit kernel: ata1: <ATA channel 1> on atapci0
Oct  4 04:07:30 kermit kernel: pci0: <bridge> at device 7.0 (no driver
attached)
Oct  4 04:07:30 kermit kernel: atapci1: <GENERIC ATA controller> 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: <ATA channel 0> on atapci1
Oct  4 04:07:30 kermit kernel: ata3: <ATA channel 1> on atapci1
Oct  4 04:07:30 kermit kernel: atapci2: <GENERIC ATA controller> 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: <ATA channel 0> on atapci2
Oct  4 04:07:30 kermit kernel: ata5: <ATA channel 1> on atapci2
Oct  4 04:07:30 kermit kernel: pci0: <display, VGA> at device 13.0 (no
driver attached)
Oct  4 04:07:30 kermit kernel: fdc0: <floppy drive controller> 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: <ISA Option ROMs> at iomem
0xd0000-0xd3fff,0xd4000-0xd57ff,0xd6000-0xd6fff on isa0
Oct  4 04:07:30 kermit kernel: atkbdc0: <Keyboard controller (i8042)> at
port 0x60,0x64 on isa0
Oct  4 04:07:30 kermit kernel: atkbd0: <AT Keyboard> 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: <PS/2 Mouse> 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: <System console> 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: <Generic ISA VGA> 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 <Maxtor 6L080P0 BAH41G10> at
ata0-master UDMA33
Oct  4 04:07:30 kermit kernel: ad4: 953869MB <Seagate ST31000340AS SD15> at
ata2-master UDMA33
Oct  4 04:07:30 kermit kernel: twed0: <Unit 0, RAID10, Normal> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AB7D666B071D463690F647DD3781E21B>