Regression: 19-9-08 CURRENT won't boot with Promise enabled (was: Re: SATA disks no longer showing up after updating CURRENT last night)



On Thu, Aug 28, 2008 at 11:12 AM, Joao Barros <joao.barros@xxxxxxxxx> wrote:
On Thu, Aug 28, 2008 at 7:28 AM, Pascal Hofstee <caelian@xxxxxxxxx> wrote:
Moin,

Last night i updated my 8.0-CURRENT/amd64 system to svn revision r182296..
I then re-applied pjd's zfs-patchset and rebuild world and kernel overnight.

This morning i actually went ahead and installed the resulting world and kernel
only to discover that during boot my two SATA disks no longer seem to show up
at all.

The onboard nVidia MCP55 SATA controller is still probed and attached though if
memory serves me right the failing boot only showed a single nVidia MCP55 SATA
controller on atapci1, instead of two as the working boot does ... one
on atapci1
the other on atapci2.

My SATA disks are attached to ata2-master and ata3-master respectively
(ad4 and ad6)

Somebody out there has any idea why the SATA Controller on atapci2 no
longer seems
to be probed and therefore my disks no longer show up ?


I'm having a "similar"ish problem on my system.
I was running 7.0R and upgraded to CURRENT as of 26/08/2008 with pjd's
zfs-patchset.
After rebooting with the new kernel my system hangs here:
http://img409.imageshack.us/img409/9995/picture1dk3.png
My system consists of 4 disks, 2 on the onboard SATA and 2 on a
onboard Promise, kernel on UFS, the rest on zfs using all 4 disks with
raidz
I was talking with Rui Paulo last night and he gave me the idea to
disable the Promise, and voilá, the kernel boots but since I need the
other 2 disks to complete the raidz I can't boot the system
completely.
This onboard Promise is a bit picky about sharing interrupts and I
checked that, kernel.old boots ok (7.0R)

On a side note, boot loader prompt for me can be a 2 seconds
experience resulting either on a hang, a reboot or this ZX Spectrum
era screen: http://img253.imageshack.us/img253/5765/picture2ua5.png


--
Joao Barros


I compiled a CURRENT kernel last Friday and I still can't boot CURRENT
with the Promise enabled. As soon as I disable the controller via BIOS
the kernel boots just fine.
Since the 2 disks on the Promise are necessary to the raidz I can only
provide a dmesg from 7.0:

Copyright (c) 1992-2008 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 7.0-RELEASE #0: Tue Apr 8 22:45:52 WEST 2008
root@xxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/xeonR70altq
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.06GHz (3073.65-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf29 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>
Logical CPUs per core: 2
real memory = 1072562176 (1022 MB)
avail memory = 1035968512 (987 MB)
ACPI APIC Table: <IntelR AWRDACPI>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
ioapic0: Changing APIC ID to 4
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Apr 8 2008 22:45:30)
acpi0: <IntelR AWRDACPI> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 3fde0000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
p4tcc1: <CPU Frequency Thermal Control> on cpu1
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82875P host to AGP bridge> on hostb0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pci2: <ACPI PCI bus> on pcib2
em0: <Intel(R) PRO/1000 Network Connection Version - 6.7.3> port
0x9000-0x901f mem 0xf5020000-0xf503ffff,0xf5000000-0xf501ffff irq 18
at device 1.0 on pci2
em0: Ethernet address: 00:11:d8:a2:21:c8
em0: [FILTER]
pcib3: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <PCI-PCI bridge> at device 2.0 on pci3
pci4: <PCI bus> on pcib4
vgapci0: <VGA-compatible display> port 0xa000-0xa0ff mem
0xf9000000-0xf9ffffff,0xf7000000-0xf7000fff at device 0.0 on pci4
pci3: <memory> at device 2.1 (no driver attached)
uhci0: <UHCI (generic) USB controller> port 0xc400-0xc41f irq 16 at
device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <UHCI (generic) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <UHCI (generic) USB controller> port 0xc000-0xc01f irq 19 at
device 29.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <UHCI (generic) USB controller> on uhci1
usb1: USB revision 1.0
uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
pci0: <base peripheral> at device 29.4 (no driver attached)
ehci0: <Intel 6300ESB USB 2.0 controller> mem 0xfb100000-0xfb1003ff
irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: <Intel 6300ESB USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
uhub2: 4 ports with 4 removable, self powered
umass0: <USB DISK 2.0, class 0/0, rev 2.00/12.19, addr 2> on uhub2
pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci5: <ACPI PCI bus> on pcib5
atapci0: <Promise PDC20319 SATA150 controller> port
0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb87f mem
0xfb041000-0xfb041fff,0xfb000000-0xfb01ffff irq 23 at device 4.0 on
pci5
atapci0: [ITHREAD]
atapci0: [ITHREAD]
ata2: <ATA channel 0> on atapci0
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
ata4: <ATA channel 2> on atapci0
ata4: [ITHREAD]
ata5: <ATA channel 3> on atapci0
ata5: [ITHREAD]
fxp0: <Intel 82550 Pro/100 Ethernet> port 0xbc00-0xbc3f mem
0xfb040000-0xfb040fff,0xfb020000-0xfb03ffff irq 21 at device 9.0 on
pci5
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> PHY 1 on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:02:b3:9e:66:c1
fxp0: [ITHREAD]
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel 6300ESB SATA150 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device
31.2 on pci0
ata0: <ATA channel 0> on atapci1
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci1
ata1: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff pnpid ORM0000 on isa0
ppc0: parallel port not found.
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
WARNING: ZFS is considered to be an experimental feature in FreeBSD.
Timecounters tick every 1.000 msec
hptrr: no controller detected.
ZFS filesystem version 6
ZFS storage pool version 6
ad0: 305245MB <Seagate ST3320620AS 3.AAK> at ata0-master SATA150
ad1: 305245MB <Seagate ST3320620AS 3.AAK> at ata0-slave SATA150
<--------- CURRENT kernel hangs here
ad4: 305245MB <WDC WD3200KS-00PFB0 21.00M21> at ata2-master SATA150
ad6: 305245MB <Seagate ST3320620AS 3.AAJ> at ata3-master SATA150
ar0: 305245MB <Promise Fasttrak RAID0 (stripe 64 KB)> status: READY
ar0: disk0 READY using ad4 at ata2-master
ar1: 305245MB <Promise Fasttrak RAID0 (stripe 64 KB)> status: READY
ar1: disk0 READY using ad6 at ata3-master
SMP: AP CPU #1 Launched!
Trying to mount root from zfs:r4x320

I'm available to supply more info if needed.

--
Joao Barros
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"