Re: RFC: ATA to CAM integration patch



Mike Tancsa wrote:
At 03:44 AM 6/28/2009, Alexander Motin wrote:
I see no any relation to the patch here. I would say it is some BIOS/loader problem, as kernel wasn't yet booted. Have you been ever able to boot this system with AHCI enabled before?

I re-installed the OS on a new drive with a 200906 snapshot, and can now boot with AHCI enabled in the BIOS. The original image was a RELENG_7 box that I upgraded to HEAD some time ago. Is there something that needs to be manually updated that would not have been done as part of the normal buildworld/buildkernel ? Re-install the boot blocks perhaps ?

mergemaster?
As soon as you are able to run kernel, loaders are fine.

ahci0: <AHCI controller> port 0xc000-0xc007,0xbc00-0xbc03,0xb880-0xb887,0xb800-0xb803,0xb480-0xb49f mem 0xfadd6000-0xfadd67ff irq 19 at device 31.2 on pci0
ahci0: [ITHREAD]
ahci0: AHCI v1.20 controller with 6 3Gbps ports, PM not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich0: [ITHREAD]
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich1: [ITHREAD]
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich2: [ITHREAD]
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich3: [ITHREAD]
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich4: [ITHREAD]
ahcich5: <AHCI channel> at channel 5 on ahci0
ahcich5: [ITHREAD]

On the ich10 board, its trying to boot up now, but I am getting

uhub8: 4 ports with 4 removable, self powered
(probe2:ahcich2:0:0:0): SIGNATURE: eb14

Looks like you have CD on third SATA channel.

run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
ahcich2: Timeout on slot 4
run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config
ahcich2: Timeout on slot 5
run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config
ahcich2: Timeout on slot 6
run_interrupt_driven_hooks: still waiting after 240 seconds for xpt_config
ahcich2: Timeout on slot 7
run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config
ahcich2: Timeout on slot 8

And this CD does not really wants speak.

ada0 at ahcich1 bus 0 target 0 lun 0
ada0: <ST3500410AS CC34> ATA/ATAPI-8 SATA 2.x device
ada0: 300.000MB/s transfers
ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
ada0: Native Command Queueing Enabled

mountroot> ufs:/dev/ada0s1
Trying to mount root from ufs:/dev/ada0s1
GEOM: ada0s1: geometry does not match label (255h,63s != 16h,63s).

As soon as GEOM found the label, disk seems to work.

And then it hangs there.

Can you try to disconnect CD?

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



Relevant Pages

  • Re: RFC: ATA to CAM integration patch
    ... Have you been ever able to boot this system with AHCI enabled before? ... ahcich2: Timeout on slot 4 ... ada0: Native Command Queueing Enabled ...
    (freebsd-current)
  • Re: Progress installing on IBM LS21 "Blade" machine
    ... can't run SMP (they don't find additional CPUs, ... You can disable the parallel port device from the boot prompt. ... I've built a kernel ... But a 15 minute timeout for a USB device to respond is insane. ...
    (freebsd-stable)
  • Re: Pack of CAM improvements
    ... applied this patch to 8-stable recompiled the kernel and rebooted. ... kernel did not boot it hangs while probing the ahci-controller. ... ahcich0: Timeout on slot 0 ... After that the kernel hangs forever. ...
    (freebsd-current)
  • Re: Latest kernel makes wireless connection to WPA2 router fail
    ... If I boot up in the previous kernel it works fine. ... The wireless interface on this laptop is a Broadcom ... of 5 (IP Configure Timeout) scheduled... ...
    (Fedora)
  • Odd ada(4) failures when trying using USB scanner
    ... ahcich1: Timeout on slot 19 ... ahcich2: Timeout on slot 20 ... It seems the new ATA-CAM subsystem doesn't like the CAM or USB scanning for known scanners. ... <ACPI PCI bus> on pcib0 ...
    (freebsd-current)