Re: 6.0-CURRENT SNAP004 hangs on amr (patch)

From: Eric Anderson <anderson_at_centtech.com>
Date: Sun, 04 Sep 2005 10:25:06 -0500
Joao Barros wrote:
> On 9/4/05, Eric Anderson <anderson_at_centtech.com> wrote:
> 
>>Joao Barros wrote:
>>
>>>On 8/8/05, John Baldwin <jhb_at_freebsd.org> wrote:
>>>
>>>
>>>>Ok, so I'm assuming that 5.4 works but RELENG_6 does not?  Do you have verbose
>>>>dmesg's from both cases so that I can compare them?
>>>
>>>
>>>Ok, review:
>>>FreeBSD5.4: kernel boots with amr installed
>>>FreeBSD6.0: kernel doesn't boot with amr installed
>>>As I think some commit in time between 5.4 and CURRENT(6.0) changed
>>>something that prevents the kernel to boot with an amr installed, I'm
>>>trying to pinpoint that change.
>>>So far I've tested 5.4-STABLE-SNAP006-i386 which boots and back till
>>>6.0-CURRENT-SNAP001 which does not boot.
>>>My next step will be to cvsup to specific times and start testing kernels :)
>>>More feedback to come!
>>
>>If you verbose boot, do you see it attempting to probe (?) lots of scsi
>>id's that don't exist?    I have an issue with a QLogic fiber channel
>>card doing this on 6.0-B3 but not on the most recent 5.4-STABLE.   It's
>>definitely something in CAM that isn't right.  If anyone wants more
>>info, I'd be happy to provide it.
>>
>>Eric
> 
> 
>>From my verbose boots this is common between kernels:
> 
> Waiting 5 seconds for SCSI devices to settle
> amrd0: <LSILogic MegaRAID logical drive> on amr0
> amrd0: 104040MB (213073920 sectors) RAID 5 (optimal)
> GEOM: new disk amrd0
> 
> This only happens on 5.x after the last common part:
> 
> GEOM: Configure amrd0s1, start 32256 length 72727893504 end 72727925759
> [0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [3] f:80 typ:165 s(CHS):0/0/1 e(CHS):1023/254/63 s:0 l:50000
> GEOM: Configure amrd0s1a, start 0 length 268435456 end 268435455
> GEOM: Configure amrd0s1b, start 268435456 length 239804416 end 508239871
> GEOM: Configure amrd0s1c, start 0 length 72727893504 end 72727893503
> GEOM: Configure amrd0s1d, start 508239872 length 268435456 end 776675327
> GEOM: Configure amrd0s1e, start 776675328 length 268435456 end 1045110783
> GEOM: Configure amrd0s1f, start 1045110784 length 71682782720 end 72727893503
> [0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [3] f:80 typ:165 s(CHS):0/0/1 e(CHS):1023/254/63 s:0 l:50000
> [0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [3] f:80 typ:165 s(CHS):0/0/1 e(CHS):1023/254/63 s:0 l:50000
> (probe2:amr0:0:2:0): error 22
> (probe2:amr0:0:2:0): Unretryable Error
> (probe17:amr0:1:2:0): error 22
> (probe17:amr0:1:2:0): Unretryable Error
> (probe3:amr0:0:3:0): error 22
> (probe3:amr0:0:3:0): Unretryable Error
> (probe18:amr0:1:3:0): error 22
> (probe18:amr0:1:3:0): Unretryable Error
> (probe4:amr0:0:4:0): error 22
> (probe4:amr0:0:4:0): Unretryable Error
> (probe22:amr0:1:8:0): error 22
> (probe22:amr0:1:8:0): Unretryable Error
> (probe5:amr0:0:5:0): error 22
> (probe5:amr0:0:5:0): Unretryable Error
> (probe23:amr0:1:9:0): error 22
> (probe23:amr0:1:9:0): Unretryable Error
> (probe9:amr0:0:10:0): error 22
> (probe9:amr0:0:10:0): Unretryable Error
> (probe24:amr0:1:10:0): error 22
> (probe24:amr0:1:10:0): Unretryable Error
> (probe10:amr0:0:11:0): error 22
> (probe10:amr0:0:11:0): Unretryable Error
> (probe25:amr0:1:11:0): error 22
> (probe25:amr0:1:11:0): Unretryable Error
> (probe11:amr0:0:12:0): error 22
> (probe11:amr0:0:12:0): Unretryable Error
> (probe26:amr0:1:12:0): error 22
> (probe26:amr0:1:12:0): Unretryable Error
> (probe12:amr0:0:13:0): error 22
> (probe12:amr0:0:13:0): Unretryable Error
> (probe27:amr0:1:13:0): error 22
> (probe27:amr0:1:13:0): Unretryable Error
> (probe13:amr0:0:14:0): error 22
> (probe13:amr0:0:14:0): Unretryable Error
> (probe28:amr0:1:14:0): error 22
> (probe28:amr0:1:14:0): Unretryable Error
> (probe14:amr0:0:15:0): error 22
> (probe14:amr0:0:15:0): Unretryable Error
> (probe29:amr0:1:15:0): error 22
> (probe29:amr0:1:15:0): Unretryable Error
> (probe6:amr0:0:6:0): error 22
> (probe6:amr0:0:6:0): Unretryable Error
> (probe19:amr0:1:4:0): error 22
> (probe19:amr0:1:4:0): Unretryable Error
> (probe7:amr0:0:8:0): error 22
> (probe7:amr0:0:8:0): Unretryable Error
> (probe20:amr0:1:5:0): error 22
> (probe20:amr0:1:5:0): Unretryable Error
> (probe8:amr0:0:9:0): error 22
> (probe8:amr0:0:9:0): Unretryable Error
> (probe0:amr0:0:0:0): error 22
> (probe0:amr0:0:0:0): Unretryable Error
> (probe21:amr0:1:6:0): error 22
> (probe21:amr0:1:6:0): Unretryable Error
> (probe1:amr0:0:1:0): error 22
> (probe1:amr0:0:1:0): Unretryable Error
> (probe16:amr0:1:1:0): error 22
> (probe16:amr0:1:1:0): Unretryable Error
> (probe15:amr0:1:0:0): error 22
> (probe15:amr0:1:0:0): Unretryable Error
> 
> The controller has 2 channels so this looks fine to me.

Mine probes to 16384 before continuing, and then finds the same devices 
hundreds of times.

Eric



-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------
Received on Sun Sep 04 2005 - 13:24:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:42 UTC