2004-09-24 16:10:41

by René Rebe

[permalink] [raw]
Subject: sym53c8xx_2 regressions in 2.6.9-rc2

Hi James, hi all,

James, your recent 2.6.9-pre changes seem to cause new regressions in
the sym53c8xx_2 driver.

On my U30 sparc64 box I get many errors in the system log:

Sep 20 15:28:34 sundown kernel: sym0:0:0:phase change 6-7 11@c7ff7b90
resid=6.
Sep 20 15:28:34 sundown last message repeated 2 times
Sep 20 15:28:34 sundown kernel: sym0:0:0:phase change 6-7 11@c7ff6390
resid=6.
Sep 20 15:28:35 sundown last message repeated 6 times
Sep 20 15:28:35 sundown kernel: sym0:0:0:phase change 6-7 11@c7ff9b90
resid=6.
Sep 20 15:28:35 sundown kernel: sym0:0:0:phase change 6-7 11@c7ff6390
resid=6.
Sep 20 15:28:35 sundown last message repeated 29 times
Sep 20 15:28:35 sundown kernel: sym0:0:0:phase change 6-7 11@c7ff9b90
resid=6.
Sep 20 15:28:35 sundown last message repeated 2 times
Sep 20 15:28:35 sundown kernel: sym0:0:0:phase change 6-7 11@c7ff6390
resid=6.
Sep 20 15:28:36 sundown last message repeated 28 times

those did not show up in any other 2.6 kernel up to .8.1 ...

Connected devices are: # cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: IBM Model: DXHS18Y Rev: 0430
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: TEAC Model: CD-ROM CD-532S Rev: 1.0A
Type: CD-ROM ANSI SCSI revision: 02

With a working 2.6.8 kernel (that is the one the running right now) the
printouts during boot are:

sym0: <875> rev 0x3 at pci 0001:00:03.0 irq 4,7e0
sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
sym0: SCSI BUS has been reset.
scsi0 : sym-2.1.18j
sym0:0: FAST-20 WIDE SCSI 40.0 MB/s ST (50.0 ns, offset 15)
Vendor: IBM Model: DXHS18Y Rev: 0430
Type: Direct-Access ANSI SCSI revision: 03
sym0:0:0: tagged command queuing enabled, command queue depth 16.
scsi(0:0:0:0): Beginning Domain Validation
sym0:0: FAST-20 SCSI 20.0 MB/s ST (50.0 ns, offset 16)
sym0:0: FAST-20 WIDE SCSI 40.0 MB/s ST (50.0 ns, offset 15)
scsi(0:0:0:0): Domain Validation skipping write tests
scsi(0:0:0:0): Ending Domain Validation
SCSI device sda: 35566480 512-byte hdwr sectors (18210 MB)
SCSI device sda: drive cache: write back
/dev/scsi/host0/bus0/target0/lun0: p1 p2 p3
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Vendor: TEAC Model: CD-ROM CD-532S Rev: 1.0A
Type: CD-ROM ANSI SCSI revision: 02
scsi(0:0:6:0): Beginning Domain Validation
sym0:6: FAST-20 SCSI 20.0 MB/s ST (50.0 ns, offset 16)
scsi(0:0:6:0): Domain Validation skipping write tests
scsi(0:0:6:0): Ending Domain Validation

Sincerely yours,
Ren? Rebe


2004-09-28 01:30:58

by Matthew Wilcox

[permalink] [raw]
Subject: Re: sym53c8xx_2 regressions in 2.6.9-rc2

On Mon, Sep 27, 2004 at 04:13:26PM -0400, James Bottomley wrote:
> Do you have any ideas about this...it doesn't seem to be connected with
> domain vaildation. The errors apparently show up during operation.

Thanks for forwarding this, James. Rene, it would be useful for you
to submit bug reports to the maintainer directly, or even contact linux-scsi.
I don't have time to wade through the mountains of crap on linux-kernel.

> From: Ren? Rebe <[email protected]>
>
> James, your recent 2.6.9-pre changes seem to cause new regressions in
> the sym53c8xx_2 driver.
>
> On my U30 sparc64 box I get many errors in the system log:
>
> Sep 20 15:28:34 sundown kernel: sym0:0:0:phase change 6-7 11@c7ff7b90
> resid=6.
> Sep 20 15:28:34 sundown last message repeated 2 times
>
> those did not show up in any other 2.6 kernel up to .8.1 ...

When do these show up? Are they at initialisation time or are they during
normal operation? You report the dmesg from a 2.6.8 kernel, how does the
2.6.9-rc2 one differ? Is the sym2 driver version 2.1.18j in both kernels?


--
"Next the statesmen will invent cheap lies, putting the blame upon
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince
himself that the war is just, and will thank God for the better sleep
he enjoys after this process of grotesque self-deception." -- Mark Twain

2004-09-28 12:09:27

by René Rebe

[permalink] [raw]
Subject: Re: sym53c8xx_2 regressions in 2.6.9-rc2

Hi,

Matthew Wilcox wrote:
> On Mon, Sep 27, 2004 at 04:13:26PM -0400, James Bottomley wrote:
>
>>Do you have any ideas about this...it doesn't seem to be connected with
>>domain vaildation. The errors apparently show up during operation.
>
>
> Thanks for forwarding this, James. Rene, it would be useful for you
> to submit bug reports to the maintainer directly, or even contact linux-scsi.
> I don't have time to wade through the mountains of crap on linux-kernel.

And I'm not on any linux-* list, sorry. The next time I will write to
linux-scsi directly.

>>On my U30 sparc64 box I get many errors in the system log:
>>
>>Sep 20 15:28:34 sundown kernel: sym0:0:0:phase change 6-7 11@c7ff7b90
>>resid=6.
>>Sep 20 15:28:34 sundown last message repeated 2 times
>>
>>those did not show up in any other 2.6 kernel up to .8.1 ...
>
>
> When do these show up? Are they at initialisation time or are they during
> normal operation? You report the dmesg from a 2.6.8 kernel, how does the
> 2.6.9-rc2 one differ? Is the sym2 driver version 2.1.18j in both kernels?

Both, at initialization time _and_ normal operation.

The 2.6.9-rc2 dmesg does list the same devices - but with
"sym0:0:0:phase change 6-7 ..." between the devices beeing detected.

I'll rebuild the kernel with the defective scsi driver (I reverted the
changes to get a functional system ...) when I'm back in the office in
some hours. The 2.6.9-rc2 does contain the domain validation changes, I
will take a look if the patch in 2.6.9-rc2 does change the version
string if this matters.

Have fun,

--
Ren? Rebe - Rubensstr. 64 - 12157 Berlin (Europe / Germany)
+49 (0)30 255 897 45