Post by Alex Kedahttp://lists.freebsd.org/pipermail/freebsd-current/2012-November/038000.html
I try update my laptop - Compaq 6715s from 9.0 to 9.1-rc3
it cannot boot, because no HDD found
dmesg from 9.0/9.1 and pciconf in attached files
nodevice ata
nodevice siis
device atacore
device ataati
device ataahci
device atapci
no happy - error remains
9.0 finds your SATA contoller like so:
ahci0: <ATI IXP600 AHCI SATA controller> port
0x9000-0x9007,0x9008-0x900b,0x9010-0x9017,0x5018-0x501b,0x5020-0x502f mem
0xd0409000-0xd04093ff irq 16 at device 18.0 on pci0
ahci0: AHCI v1.10 with 4 3Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
9.1 gets stuck in some odd sort of loop where it thinks there a lot of
channels:
ahci0: <ATI IXP600 AHCI SATA controller> port
0x9000-0x9007,0x9008-0x900b,0x9010-0x9017,0x5018-0x501b,0x5020-0x502f mem
0xd0409000-0xd04093ff irq 16 at device 18.0 on pci0
ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 0 vector 52
ahci0: AHCI v0.00 with 1 ?Gbps ports, Port Multiplier not supported with FBS
ahci0: Caps: ?Gbps FBS 2cmd 1ports
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich0: Caps: FBSCP
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich1: Caps: FBSCP
ahcich2: not probed (disabled)
ahcich3: not probed (disabled)
ahcich4: not probed (disabled)
ahcich5: not probed (disabled)
ahcich6: not probed (disabled)
ahcich7: <AHCI channel> at channel 7 on ahci0
device_attach: ahcich7 attach returned 6
ahcich8: <AHCI channel> at channel 8 on ahci0
device_attach: ahcich8 attach returned 6
ahcich9: <AHCI channel> at channel 9 on ahci0
device_attach: ahcich9 attach returned 6
ahcich10: <AHCI channel> at channel 10 on ahci0
device_attach: ahcich10 attach returned 6
ahcich11: <AHCI channel> at channel 11 on ahci0
device_attach: ahcich11 attach returned 6
ahcich12: <AHCI channel> at channel 12 on ahci0
device_attach: ahcich12 attach returned 6
ahcich13: <AHCI channel> at channel 13 on ahci0
device_attach: ahcich13 attach returned 6
ahcich14: <AHCI channel> at channel 14 on ahci0
device_attach: ahcich14 attach returned 6
ahcich15: <AHCI channel> at channel 15 on ahci0
device_attach: ahcich15 attach returned 6
ahcich16: not probed (disabled)
ahcich17: not probed (disabled)
ahcich18: not probed (disabled)
ahcich19: not probed (disabled)
ahcich20: not probed (disabled)
ahcich21: <AHCI channel> at channel 21 on ahci0
device_attach: ahcich21 attach returned 6
ahcich22: not probed (disabled)
ahcich23: not probed (disabled)
ahcich24: <AHCI channel> at channel 24 on ahci0
device_attach: ahcich24 attach returned 6
ahcich25: <AHCI channel> at channel 25 on ahci0
device_attach: ahcich25 attach returned 6
ahcich26: <AHCI channel> at channel 26 on ahci0
device_attach: ahcich26 attach returned 6
ahcich27: not probed (disabled)
ahcich28: <AHCI channel> at channel 28 on ahci0
device_attach: ahcich28 attach returned 6
ahcich29: <AHCI channel> at channel 29 on ahci0
device_attach: ahcich29 attach returned 6
ahcich30: <AHCI channel> at channel 30 on ahci0
device_attach: ahcich30 attach returned 6
ahcich31: <AHCI channel> at channel 31 on ahci0
device_attach: ahcich31 attach returned 6
ahcich32: <AHCI channel> at channel 32 on ahci0
device_attach: ahcich32 attach returned 6
ahcich33: <AHCI channel> at channel 33 on ahci0
device_attach: ahcich33 attach returned 6
ahcich34: not probed (disabled)
ahcich35: not probed (disabled)
ahcich36: not probed (disabled)
ahcich37: not probed (disabled)
ahcich38: not probed (disabled)
ahcich39: <AHCI channel> at channel 39 on ahci0
device_attach: ahcich39 attach returned 6
ahcich40: <AHCI channel> at channel 40 on ahci0
device_attach: ahcich40 attach returned 6
ahcich41: <AHCI channel> at channel 41 on ahci0
device_attach: ahcich41 attach returned 6
ahcich42: <AHCI channel> at channel 42 on ahci0
device_attach: ahcich42 attach returned 6
ahcich43: <AHCI channel> at channel 43 on ahci0
device_attach: ahcich43 attach returned 6
ahcich44: <AHCI channel> at channel 44 on ahci0
device_attach: ahcich44 attach returned 6
ahcich45: <AHCI channel> at channel 45 on ahci0
device_attach: ahcich45 attach returned 6
ahcich46: <AHCI channel> at channel 46 on ahci0
device_attach: ahcich46 attach returned 6
ahcich47: <AHCI channel> at channel 47 on ahci0
device_attach: ahcich47 attach returned 6
ahcich48: not probed (disabled)
ahcich49: not probed (disabled)
ahcich50: not probed (disabled)
ahcich51: not probed (disabled)
ahcich52: not probed (disabled)
ahcich53: <AHCI channel> at channel 53 on ahci0
device_attach: ahcich53 attach returned 6
ahcich54: not probed (disabled)
ahcich55: not probed (disabled)
ahcich56: <AHCI channel> at channel 56 on ahci0
device_attach: ahcich56 attach returned 6
ahcich57: <AHCI channel> at channel 57 on ahci0
device_attach: ahcich57 attach returned 6
ahcich58: <AHCI channel> at channel 58 on ahci0
device_attach: ahcich58 attach returned 6
ahcich59: not probed (disabled)
ahcich60: <AHCI channel> at channel 60 on ahci0
device_attach: ahcich60 attach returned 6
ahcich61: <AHCI channel> at channel 61 on ahci0
device_attach: ahcich61 attach returned 6
ahcich62: <AHCI channel> at channel 62 on ahci0
device_attach: ahcich62 attach returned 6
ahcich63: <AHCI channel> at channel 63 on ahci0
device_attach: ahcich63 attach returned 6
Hmm, in general it looks like it isn't able to read registers correctly. I do
not see anything wrong with the PCI bits in your verbose dmesg. Can you do a
binaray search to narrow down which commit breaks your machine?
--
John Baldwin