Re: RFC: ATA to CAM integration patch

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Thu, 02 Jul 2009 22:33:18 +0300
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
Received on Thu Jul 02 2009 - 17:33:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:51 UTC