Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 2010 17:25:23 +0100 (CET)
From:      Yamagi Burmeister <lists@yamagi.org>
To:        freebsd-current@freebsd.org
Cc:        mav@FreeBSD.org
Subject:   Re: Pack of CAM improvements
Message-ID:  <alpine.BSF.2.00.1001281701530.29385@screw.home.yamagi.org>
In-Reply-To: <alpine.OSX.2.00.1001232228180.2800@idate.home.yamagi.org>
References:  <4B55D9D4.1000008@FreeBSD.org> <alpine.OSX.2.00.1001232228180.2800@idate.home.yamagi.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 23 Jan 2010, Yamagi Burmeister wrote:

> Hello,
> applied this patch to 8-stable recompiled the kernel and rebooted. The
> kernel did not boot it hangs while probing the ahci-controller. The
> error message is:
>
> ahcich0: Timeout on slot 0
> ahcich0: is 00000002 cs 00000000 ss 000000000 rs 00000001 tfs 50 serr
> 00000000
> run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
>
> After that the kernel hangs forever. A 8-stable without the patch shows
>
> ahcich0: Timeout on slot 0
> run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
>
> and boots but doesn't find any hard disks. It's an Asus M3A-H/HDMI
> motherboard with AMD SB710 southbridge. The harddisk is an Western
> Digital WD10EAVS. Both are working with the old ata implementation in
> AHCI mode. pciconf output of the controller is
>
> atapci0@pci0:0:17:0: class=0x010601 card=0x43911002 chip=0x43911002
> rev=0x00 hdr=0x00

Okay, I took a deeper look into this and tried 9-CURRENT SVN r203116.
Still the same problem but some more and maybe helpfull informations.
With ahci.ko loaded the dmesg shows (transcribed by hand):

ahci0: <ATI IXP700 AHCI SATA controller> port 0xd000-0xd007,
0xc000-0xc003,0xb000-0xb007,0xa000-0xa003,0x9000-0x900f 
mem 0xfe8ffbff irq 22 at device 7.0 on pci0
ahci0: [ITHREAD]
ahci0: AHCI v1.10 with 6 3Gbps ports, Port Multiplier supported
ahcich0: <AHCI channel> at channel 0 on ahci 0
ahcich0: [ITHREAD]
ahcich1: <AHCI channel> at channel 1 on ahci 0
ahcich1: [ITHREAD] 
ahcich2: <AHCI channel> at channel 2 on ahci 0
ahcich2: [ITHREAD] 
ahcich3: <AHCI channel> at channel 3 on ahci 0
ahcich3: [ITHREAD] 
ahcich4: <AHCI channel> at channel 4 on ahci 0
ahcich4: [ITHREAD] 
ahcich5: <AHCI channel> at channel 5 on ahci 0
ahcich5: [ITHREAD]

[snip]

ahcich0: is 00000002 cs 00000000 ss 00000000 rs 00000001 tfd 50 serr
00000000
ahcich0: Timeout on slot 0

After that the kernel hangs indefinitly, endless repeating the last two 
lines. I changed some bios-options, deactivated s-ata port 5 and 6, even
tried the latest bios version. No change, it always hangs.

The same kernel but without ahci.ko reports:

atapci0: <ATI IXP700/800 SATA300 controller> port
0xd000-0xd007,0xc000-0xc003,0xb000-0xb007,0
xa000-0xa003,0x9000-0x900f mem 0xfe8ff800-0xfe8ffbff irq 22 at device
17.0 on pci0
atapci0: [ITHREAD]
atapci0: AHCI v1.10 controller with 6 3Gbps ports, PM supported
ata2: <ATA channel 0> on atapci0
ata2: port is not ready (timeout 0ms) tfd = 000001d0
ata2: software reset clear timeout
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]
ata6: <ATA channel 4> on atapci0
ata6: [ITHREAD]
ata7: <ATA channel 5> on atapci0
ata7: [ITHREAD]

[snip]

ad4: 953869MB <WDC WD10EACS-00D6B0 01.01A01> at ata2-master UDMA100 SATA
3Gb/s

So it's working fine with the old ahci driver without cam.

Hope that helps,
Yamagi

-- 
Homepage:     www.yamagi.org
Jabber:       yamagi@yamagi.org
GnuPG/GPG:    0xEFBCCBCB



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1001281701530.29385>