Bug 183803 - [geom] FreeBSD 10 Beta 2 geom module does not understand single sata disk 'stripe' on P4PE motherboard with fasttrack 376 controller
Summary: [geom] FreeBSD 10 Beta 2 geom module does not understand single sata disk 'st...
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-08 23:40 UTC by Peter
Modified: 2024-11-17 03:46 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2013-11-08 23:40:00 UTC
When installing 10.0 beta 2 on a P4PE motherboard with a fasttrack 376 (Promise PDC20376) SATA 1 controller, the install does not correctly detect/set up the disk slices under /etc.

An fdisk /ada0 does return the correct geometry but this is not recognised by the install. It is necessary to do a kern.geom.raid.enable=0 to disable geom.

To get a single SATA disk working on the P4PE, it is necessary to use the RAID BIOS to create a single disk 'stripe'. This may be confusing FreeBSD. Manually loading the mirror or stripe modules before kernel boot does not help.

pciconf -lv
hostb0@pci0:0:0:0:      class=0x060000 card=0x80b21043 chip=0x25608086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface'
    class      = bridge
    subclass   = HOST-PCI
pcib1@pci0:0:1:0:       class=0x060400 card=0x00000000 chip=0x25618086 rev=0x02 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82845G/GL[Brookdale-G]/GE/PE Host-to-AGP Bridge'
    class      = bridge
    subclass   = PCI-PCI
uhci0@pci0:0:29:0:      class=0x0c0300 card=0x80891043 chip=0x24c28086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
uhci1@pci0:0:29:1:      class=0x0c0300 card=0x80891043 chip=0x24c48086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
uhci2@pci0:0:29:2:      class=0x0c0300 card=0x80891043 chip=0x24c78086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
ehci0@pci0:0:29:7:      class=0x0c0320 card=0x80891043 chip=0x24cd8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller'
    class      = serial bus
    subclass   = USB
pcib2@pci0:0:30:0:      class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x82 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801 PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
isab0@pci0:0:31:0:      class=0x060100 card=0x00000000 chip=0x24c08086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge'
    class      = bridge
    subclass   = PCI-ISA
atapci1@pci0:0:31:1:    class=0x01018a card=0x80891043 chip=0x24cb8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB (ICH4) IDE Controller'
    class      = mass storage
    subclass   = ATA
pcm0@pci0:0:31:5:       class=0x040100 card=0x80b01043 chip=0x24c58086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller'
    class      = multimedia
    subclass   = audio
vgapci0@pci0:1:0:0:     class=0x030000 card=0x215c1682 chip=0x022110de rev=0xa1 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'NV44A [GeForce 6200]'
    class      = display
    subclass   = VGA
none0@pci0:2:3:0:       class=0x0c0010 card=0x808a1043 chip=0x30441106 rev=0x80 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller'
    class      = serial bus
    subclass   = FireWire
atapci0@pci0:2:4:0:     class=0x010400 card=0x809e1043 chip=0x3376105a rev=0x02 hdr=0x00
    vendor     = 'Promise Technology, Inc.'
    device     = 'PDC20376 (FastTrak 376)'
    class      = mass storage
    subclass   = RAID
bfe0@pci0:2:5:0:        class=0x020000 card=0x80a81043 chip=0x440114e4 rev=0x01 hdr=0x00
    vendor     = 'Broadcom Corporation'
    device     = 'BCM4401 100Base-T'
    class      = network
    subclass   = ethernet

dmesg

Copyright (c) 1992-2013 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-BETA2 #0 r257166: Sat Oct 26 21:52:30 UTC 2013
    root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3000.16-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Family = 0xf  Model = 0x2  Stepping = 9
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x4400<CNXT-ID,xTPR>
real memory  = 1073741824 (1024 MB)
avail memory = 1017126912 (970 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <ASUS   P4PE    >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP/HT): APIC ID:  1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
random: <Software, Yarrow> initialized
acpi0: <ASUS P4PE> on motherboard
acpi0: Overriding SCI from IRQ 9 to IRQ 22
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 3ff00000 (3) failed
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x73 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> mem 0xde000000-0xdeffffff,0xe0000000-0xefffffff,0xdd000000-0xddffffff irq 16 at device 0.0 on pci1
nvidia0: <GeForce 6200> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xd800-0xd81f irq 16 at device 29.0 on pci0
uhci0: LegSup = 0x2f00
usbus0 on uhci0
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xd400-0xd41f irq 19 at device 29.1 on pci0
uhci1: LegSup = 0x2f00
usbus1 on uhci1
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xd000-0xd01f irq 18 at device 29.2 on pci0
uhci2: LegSup = 0x2f00
usbus2 on uhci2
ehci0: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> mem 0xdc800000-0xdc8003ff at device 29.7 on pci0
usbus3: EHCI version 1.0
usbus3 on ehci0
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pci2: <serial bus, FireWire> at device 3.0 (no driver attached)
atapci0: <Promise PDC20376 SATA150 controller> port 0xb400-0xb43f,0xb000-0xb00f,0xa800-0xa87f mem 0xdb800000-0xdb800fff,0xdb000000-0xdb01ffff irq 23 at device 4.0 on pci2
ata2: <ATA channel> at channel 0 on atapci0
ata3: <ATA channel> at channel 1 on atapci0
ata4: <ATA channel> at channel 2 on atapci0
bfe0: <Broadcom BCM4401 Fast Ethernet> mem 0xda800000-0xda801fff at device 5.0 on pci2
miibus0: <MII bus> on bfe0
bmtphy0: <BCM4401 10/100 media interface> PHY 1 on miibus0
bmtphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bfe0: Ethernet address: 00:e0:18:af:9b:ab
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH4 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 31.1 on pci0
ata0: <ATA channel> at channel 0 on atapci1
ata1: <ATA channel> at channel 1 on atapci1
pcm0: <Intel ICH4 (82801DB)> port 0x9800-0x98ff,0x9400-0x943f mem 0xda000000-0xda0001ff,0xd9800000-0xd98000ff at device 31.5 on pci0
pcm0: <Analog Devices AD1980 AC97 Codec>
ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fdc0: No FDOUT register!
p4tcc0: <CPU Frequency Thermal Control> on cpu0
p4tcc1: <CPU Frequency Thermal Control> on cpu1
Timecounters tick every 1.000 msec
random: unblocking device.
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
ugen1.1: <Intel> at usbus1
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen0.1: <Intel> at usbus0
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen3.1: <Intel> at usbus3
uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ugen2.1: <Intel> at usbus2
uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
ada0 at ata2 bus 0 scbus0 target 0 lun 0
ada0: <VB0250EAVER HPG8> ATA-8 SATA 2.x device
ada0: Serial Number Z2AQQKVH
ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes)
ada0: 238475MB (488397168 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
cd0 at ata0 bus 0 scbus3 target 0 lun 0
cd0: <PIONEER DVD-RW  DVR-108 1.18> Removable CD-ROM SCSI-0 device 
cd0: Serial Number DJDC360610WL
cd0: 66.700MB/s transfers (UDMA4, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
SMP: AP CPU #1 Launched!
GEOM: ada0s3: invalid disklabel.
GEOM: diskid/DISK-Z2AQQKVHs3: invalid disklabel.
Root mount waiting for: usbus3
(followed by a lot of faffing around with USB bus resets to attach a USB flash drive. snipped as it's not relevant here)

Fix: 

setting kern.geom.raid.enable=0 is a workaround for now
How-To-Repeat: Run install, try to install on disk. Fail.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2013-11-17 23:56:27 UTC
Responsible Changed
From-To: freebsd-i386->freebsd-geom

reclassify.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:03 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2024-11-17 03:46:04 UTC
^Triage: I'm sorry that this PR did not get addressed in a timely fashion.

By now, the version that it was created against is long out of suppoprt.
Please re-open if it is still a problem on a supported version.