Claus Assmann
2010-Dec-29 01:59 UTC
8.2-RC1: installer does not recognize some disks properly
I just tried to install 8.2-RC1 (amd64) on one of my machines. It has two disks: WDC WD1001FALS-4 and SAMSUNG HD103SJ, both 1TB SATA disks. The installer shows them as ad10 and ad8. Both disks are already in use and have been "formatted" via fdisk, e.g., the Samsung (ad10) has 3 partitions (BF, A9, A8)) and the WDC has 4 (A6, BF, A5, A9). However, the installer only shows the existing partitions for the Samsung, but not for the WDC. The WDC is the boot disk and has a Grub loader installed. What could be the reason that the existing partitioning is not recognized by the installer? Here is some data from the system after I installed it on the second disk: fdisk ad8 ******* Working on device /dev/ad8 ******* parameters extracted from in-core disklabel are: cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 166 (0xa6),(OpenBSD) start 64, size 530161001 (258867 Meg), flag 0 beg: cyl 0/ head 1/ sector 2; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: sysid 191 (0xbf),(Solaris x86 (new)) start 530161065, size 626535000 (305925 Meg), flag 80 (active) beg: cyl 1023/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 3 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 1156696065, size 449820000 (219638 Meg), flag 0 beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 255/ sector 63 The data for partition 4 is: sysid 169 (0xa9),(NetBSD) start 1606516065, size 347004000 (169435 Meg), flag 0 beg: cyl 1023/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 This shows that FreeBSD recognizes the partitions properly. I ran sysinstall from the command lines (under script) and got this (after removing all the screen layout sequences): ---------------------------------------------------------------------- Disk name: ad8 FDISK Partition Editor DISK Geometry: 1938021 cyls/16 heads/63 sectors = 1953525168 sectors (953869MB) Offset Size(ST) End Name PType Desc Subtype Flags 0 1953525168 1953525167 - 12 unused 0 The following commands are supported (in upper or lower case): ---------------------------------------------------------------------- As you see, sysinstall shows something else than fdisk. The outpuf of dmesg is below. Copyright (c) 1992-2010 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 8.2-RC1 #0: Wed Dec 22 17:34:20 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Phenom(tm) II X6 1055T Processor (2812.48-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x100fa0 Family = 10 Model = a Stepping = 0 Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> Features2=0x802009<SSE3,MON,CX16,POPCNT> AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!> AMD Features2=0x37ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT> TSC: P-state invariant real memory = 8589934592 (8192 MB) avail memory = 8243384320 (7861 MB) ACPI APIC Table: <032510 APIC1318> FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs FreeBSD/SMP: 1 package(s) x 6 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 ioapic0 <Version 2.1> irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: <032510 XSDT1318> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of fee00000, 1000 (3) failed acpi0: reservation of ffb80000, 80000 (3) failed acpi0: reservation of fec10000, 20 (3) failed acpi0: reservation of fed40000, 5000 (3) failed acpi0: reservation of fed80000, 1000 (3) failed acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, cfe00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 cpu2: <ACPI CPU> on acpi0 cpu3: <ACPI CPU> on acpi0 cpu4: <ACPI CPU> on acpi0 cpu5: <ACPI CPU> on acpi0 acpi_ec0: <Embedded Controller: GPE 0xa> port 0x62,0x66 on acpi0 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> irq 18 at device 2.0 on pci0 pci1: <ACPI PCI bus> on pcib1 vgapci0: <VGA-compatible display> mem 0xfd000000-0xfdffffff,0xd0000000-0xdfffffff,0xfc000000-0xfcffffff irq 18 at device 0.0 on pci1 pcib2: <ACPI PCI-PCI bridge> irq 18 at device 6.0 on pci0 pci2: <ACPI PCI bus> on pcib2 em0: <Intel(R) PRO/1000 Network Connection 7.1.8> port 0xcc00-0xcc1f mem 0xfe9e0000-0xfe9fffff,0xfe900000-0xfe97ffff,0xfe9dc000-0xfe9dffff irq 18 at device 0.0 on pci2 em0: Using MSIX interrupts with 3 vectors em0: [ITHREAD] em0: [ITHREAD] em0: [ITHREAD] em0: Ethernet address: 00:1b:21:78:d3:36 pcib3: <ACPI PCI-PCI bridge> irq 17 at device 9.0 on pci0 pci3: <ACPI PCI bus> on pcib3 atapci0: <VIA ATA controller> port 0xdc00-0xdc07,0xd880-0xd883,0xd800-0xd807,0xd480-0xd483,0xd400-0xd40f irq 17 at device 0.0 on pci3 atapci0: [ITHREAD] ata2: <ATA channel 0> on atapci0 ata2: [ITHREAD] ata3: <ATA channel 1> on atapci0 ata3: [ITHREAD] pcib4: <ACPI PCI-PCI bridge> irq 18 at device 10.0 on pci0 pci4: <ACPI PCI bus> on pcib4 re0: <RealTek 8168/8111 B/C/CP/D/DP/E PCIe Gigabit Ethernet> port 0xe800-0xe8ff mem 0xfafff000-0xfaffffff,0xfaff8000-0xfaffbfff irq 18 at device 0.0 on pci4 re0: Using 1 MSI messages re0: Chip rev. 0x2c000000 re0: MAC rev. 0x00000000 miibus0: <MII bus> on re0 rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow re0: Ethernet address: e0:cb:4e:cf:4a:00 re0: [FILTER] atapci1: <ATI IXP700/800 SATA300 controller> port 0xb000-0xb007,0xa000-0xa003,0x9000-0x9007,0x8000-0x8003,0x7000-0x700f mem 0xfbfffc00-0xfbffffff irq 19 at device 17.0 on pci0 atapci1: [ITHREAD] atapci1: AHCI v1.20 controller with 6 6Gbps ports, PM supported ata4: <ATA channel 0> on atapci1 ata4: [ITHREAD] ata5: <ATA channel 1> on atapci1 ata5: [ITHREAD] ata6: <ATA channel 2> on atapci1 ata6: [ITHREAD] ata7: <ATA channel 3> on atapci1 ata7: [ITHREAD] ata8: <ATA channel 4> on atapci1 ata8: [ITHREAD] ata9: <ATA channel 5> on atapci1 ata9: [ITHREAD] ohci0: <OHCI (generic) USB controller> mem 0xfbffe000-0xfbffefff irq 18 at device 18.0 on pci0 ohci0: [ITHREAD] usbus0: <OHCI (generic) USB controller> on ohci0 ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfbfff800-0xfbfff8ff irq 17 at device 18.2 on pci0 ehci0: [ITHREAD] usbus1: EHCI version 1.0 usbus1: <EHCI (generic) USB 2.0 controller> on ehci0 ohci1: <OHCI (generic) USB controller> mem 0xfbffd000-0xfbffdfff irq 18 at device 19.0 on pci0 ohci1: [ITHREAD] usbus2: <OHCI (generic) USB controller> on ohci1 ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfbfff400-0xfbfff4ff irq 17 at device 19.2 on pci0 ehci1: [ITHREAD] usbus3: EHCI version 1.0 usbus3: <EHCI (generic) USB 2.0 controller> on ehci1 pci0: <serial bus, SMBus> at device 20.0 (no driver attached) pci0: <multimedia, HDA> at device 20.2 (no driver attached) isab0: <PCI-ISA bridge> at device 20.3 on pci0 isa0: <ISA bus> on isab0 pcib5: <ACPI PCI-PCI bridge> at device 20.4 on pci0 pci5: <ACPI PCI bus> on pcib5 ohci2: <OHCI (generic) USB controller> mem 0xfbffc000-0xfbffcfff irq 18 at device 20.5 on pci0 ohci2: [ITHREAD] usbus4: <OHCI (generic) USB controller> on ohci2 ohci3: <OHCI (generic) USB controller> mem 0xfbff3000-0xfbff3fff irq 18 at device 22.0 on pci0 ohci3: [ITHREAD] usbus5: <OHCI (generic) USB controller> on ohci3 ehci2: <EHCI (generic) USB 2.0 controller> mem 0xfbfff000-0xfbfff0ff irq 17 at device 22.2 on pci0 ehci2: [ITHREAD] usbus6: EHCI version 1.0 usbus6: <EHCI (generic) USB 2.0 controller> on ehci2 acpi_button0: <Power Button> on acpi0 atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0 ppc1: <Parallel port> port 0x378-0x37f irq 5 on acpi0 ppc1: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppc1: [ITHREAD] ppbus0: <Parallel port bus> on ppc1 plip0: <PLIP network interface> on ppbus0 plip0: [ITHREAD] lpt0: <Printer> on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 acpi_hpet1: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 device_attach: acpi_hpet1 attach returned 12 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] orm0: <ISA Option ROM> at iomem 0xd1800-0xd27ff 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 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: cannot reserve I/O port range acpi_throttle0: <ACPI CPU Throttling> on cpu0 hwpstate0: <Cool`n'Quiet 2.0> on cpu0 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 480Mbps High Speed USB v2.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 12Mbps Full Speed USB v1.0 usbus6: 480Mbps High Speed USB v2.0 ugen0.1: <ATI> at usbus0 uhub0: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 ugen1.1: <ATI> at usbus1 uhub1: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1 ugen2.1: <ATI> at usbus2 uhub2: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2 ugen3.1: <ATI> at usbus3 uhub3: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3 ugen4.1: <ATI> at usbus4 uhub4: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4 ugen5.1: <ATI> at usbus5 uhub5: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5 ugen6.1: <ATI> at usbus6 uhub6: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus6 acd0: DVDR <TSSTcorp CDDVDW SH-S222L/SB03> at ata2-master UDMA33 ad8: 953869MB <WDC WD1001FALS-41Y6A0 05.03D06> at ata4-master UDMA100 SATA 3Gb/s ad10: 953869MB <SAMSUNG HD103SJ 1AJ10001> at ata5-master UDMA100 SATA 3Gb/s SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #5 Launched! SMP: AP CPU #4 Launched! uhub4: 2 ports with 2 removable, self powered uhub5: 4 ports with 4 removable, self powered uhub0: 5 ports with 5 removable, self powered uhub2: 5 ports with 5 removable, self powered Root mount waiting for: usbus6 usbus3 usbus1 uhub6: 4 ports with 4 removable, self powered Root mount waiting for: usbus3 usbus1 uhub1: 5 ports with 5 removable, self powered uhub3: 5 ports with 5 removable, self powered Root mount waiting for: usbus1 ugen0.2: <Dell> at usbus0 ums0: <Dell Dell USB Mouse, class 0/0, rev 2.00/1.10, addr 2> on usbus0 ums0: 3 buttons and [XYZ] coordinates ID=0 uhub_reattach_port: port 3 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 3 Trying to mount root from ufs:/dev/ad10s2a ugen0.3: <vendor 0x0430> at usbus0 ukbd0: <vendor 0x0430 product 0x0005, class 0/0, rev 1.00/1.02, addr 3> on usbus0 kbd2 at ukbd0 uhub_reattach_port: port 4 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 4
Chris Brennan
2010-Dec-29 16:00 UTC
8.2-RC1: installer does not recognize some disks properly
On Tue, Dec 28, 2010 at 8:49 PM, Claus Assmann <freebsd+stable@esmtp.org<freebsd%2Bstable@esmtp.org>> wrote:> I just tried to install 8.2-RC1 (amd64) on one of my machines. It > has two disks: WDC WD1001FALS-4 and SAMSUNG HD103SJ, both 1TB SATA > disks. The installer shows them as ad10 and ad8. Both disks are > already in use and have been "formatted" via fdisk, e.g., the Samsung > (ad10) has 3 partitions (BF, A9, A8)) and the WDC has 4 (A6, BF, > A5, A9). However, the installer only shows the existing partitions > for the Samsung, but not for the WDC. The WDC is the boot disk and > has a Grub loader installed. What could be the reason that the > existing partitioning is not recognized by the installer? >I've got a similar issue via the thread about a 2y/o laptop and a new hard drive. Linux sees the drive fine and can use it but freebsd cannot for some reason.