All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] zalon/ncr53c720 (linux-2.6.0-test5-pa22) broken on C110
@ 2003-09-28  9:00 Joel Soete
  2003-09-28 12:24 ` [parisc-linux] " Matthew Wilcox
  0 siblings, 1 reply; 6+ messages in thread
From: Joel Soete @ 2003-09-28  9:00 UTC (permalink / raw)
  To: parisc-linux, James Bottomley, Matthew Wilcox

Hi all,

I read well the thread about the pb on K460 and so try to test it on my 
C110 model but is failed to boot:
2.6.0-test5-pa22
[...]
zalon_probe: Zalon vers field is 0x1, IRQ 
34                                   
ncr53c720-0: rev 0xf irq 
34                                                    
ncr53c720-0: ID 7, Fast-10, Parity Checking, 
Differential                      
ncr53c720-0: suspicious SCSI data while resetting the 
BUS.                     
ncr53c720-0: dp1,d15-8,dp0,d7-0,rst,req,ack,bsy,sel,atn,msg,c/d,i/o = 
0x3fdff000, expecting 0x100
ncr53c720-0: FATAL ERROR: CHECK SCSI BUS - CABLES, TERMINATION, DEVICE 
POWER etc!
ncr53c720-0: 
detaching...                                                      
53c700: Version 2.8 By 
James.Bottomley@HansenPartnership.com                   
scsi1: 53c710 rev 
2                                                            
scsi1 : LASI SCSI 
53c700                                                       
[...]
VFS: Cannot open root device "sda5" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(2,0)

I am sure there is no hw pb because after that test I can always reboot 
with 2.6.0-test5-PA6:
2.6.0-test5-pa6
[...]
zalon_scsi_callback: Zalon vers field is 0x1, IRQ 34
ncr53c720-0: rev 0xf on pci bus 0 device 0 function 0 irq 34
ncr53c720-0: ID 7, Fast-10, Parity Checking, Differential
scsi0 : ncr53c8xx-3.4.3b-20010512
Using anticipatory scheduling io scheduler
  Vendor: SEAGATE   Model: ST34371W          Rev: HP03
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: SEAGATE   Model: ST34371W          Rev: HP03
  Type:   Direct-Access                      ANSI SCSI revision: 02
53c700: Version 2.8 By James.Bottomley@HansenPartnership.com
scsi1: 53c710 rev 2
scsi1 : LASI SCSI 53c700
st: Version 20030811, fixed bufsize 32768, s/g segs 256
ncr53c720-0-<5,*>: FAST-10 WIDE SCSI 20.0 MB/s (100 ns, offset 8)
SCSI device sda: 8388314 512-byte hdwr sectors (4295 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 >
Attached scsi disk sda at scsi0, channel 0, id 5, lun 0
ncr53c720-0-<6,*>: FAST-10 WIDE SCSI 20.0 MB/s (100 ns, offset 8)
SCSI device sdb: 8388314 512-byte hdwr sectors (4295 MB)
SCSI device sdb: drive cache: write back
 sdb: sdb1 sdb2 sdb3 sdb4 < sdb5 sdb6 sdb7 sdb8 sdb9 >
Attached scsi disk sdb at scsi0, channel 0, id 6, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 5, lun 0,  type 0
Attached scsi generic sg1 at scsi0, channel 0, id 6, lun 0,  type 0
[...]

Can somebody could help me to find patches (step by step) applied on 
this driver from -pa6 to -pa22?

Thanks in advance,
    Joel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [parisc-linux] Re: zalon/ncr53c720 (linux-2.6.0-test5-pa22) broken on C110
  2003-09-28  9:00 [parisc-linux] zalon/ncr53c720 (linux-2.6.0-test5-pa22) broken on C110 Joel Soete
@ 2003-09-28 12:24 ` Matthew Wilcox
  2003-09-28 17:13   ` Joel Soete
  2003-09-28 18:03   ` Joel Soete
  0 siblings, 2 replies; 6+ messages in thread
From: Matthew Wilcox @ 2003-09-28 12:24 UTC (permalink / raw)
  To: Joel Soete; +Cc: parisc-linux, James Bottomley, Matthew Wilcox

On Sun, Sep 28, 2003 at 09:00:02AM +0000, Joel Soete wrote:
> I am sure there is no hw pb because after that test I can always reboot 
> with 2.6.0-test5-PA6:

This is good to hear.

> Can somebody could help me to find patches (step by step) applied on 
> this driver from -pa6 to -pa22?

Yes.  Could you start with -pa18 (or -pa20)?
http://cvs.parisc-linux.org/download/linux-2.6/patch-2.6.0-test5-pa18.gz
(or cvs up -rCVS260_TEST5_PA18)

The driver is rev 1.5 in -test5-pa6.  rev 1.6 is in -test5-pa18.
After -test5-pa20, we don't have anyautotagged stuff, but let's start
with -pa18.

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [parisc-linux] Re: zalon/ncr53c720 (linux-2.6.0-test5-pa22) broken on C110
  2003-09-28 12:24 ` [parisc-linux] " Matthew Wilcox
@ 2003-09-28 17:13   ` Joel Soete
  2003-09-28 18:03   ` Joel Soete
  1 sibling, 0 replies; 6+ messages in thread
From: Joel Soete @ 2003-09-28 17:13 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: parisc-linux, James Bottomley

Matthew Wilcox wrote:

>On Sun, Sep 28, 2003 at 09:00:02AM +0000, Joel Soete wrote:
>  
>
>>I am sure there is no hw pb because after that test I can always reboot 
>>with 2.6.0-test5-PA6:
>>    
>>
>
>This is good to hear.
>
>  
>
>>Can somebody could help me to find patches (step by step) applied on 
>>this driver from -pa6 to -pa22?
>>    
>>
>
>Yes.  Could you start with -pa18 (or -pa20)?
>http://cvs.parisc-linux.org/download/linux-2.6/patch-2.6.0-test5-pa18.gz
>
Thanks Matthew,
(why didn't I think myself ;) )

>(or cvs up -rCVS260_TEST5_PA18)
>
>The driver is rev 1.5 in -test5-pa6.  rev 1.6 is in -test5-pa18.
>After -test5-pa20, we don't have anyautotagged stuff, but let's start
>with -pa18.
>  
>
Ok I will look and advise you,

Joel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [parisc-linux] Re: zalon/ncr53c720 (linux-2.6.0-test5-pa22) broken on C110
  2003-09-28 12:24 ` [parisc-linux] " Matthew Wilcox
  2003-09-28 17:13   ` Joel Soete
@ 2003-09-28 18:03   ` Joel Soete
  2003-09-28 20:32     ` Joel Soete
  1 sibling, 1 reply; 6+ messages in thread
From: Joel Soete @ 2003-09-28 18:03 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: parisc-linux, James Bottomley

Matthew Wilcox wrote:

>The driver is rev 1.5 in -test5-pa6.  rev 1.6 is in -test5-pa18.
>After -test5-pa20, we don't have anyautotagged stuff, but let's start
>with -pa18.
>
>  
>
Sorry it already failled with following satck dump:
zalon_probe: Zalon vers field is 0x1, IRQ 34
ncr53c720-0: rev 0xf on bus 0 device 0 function 0 irq 34
ncr53c720-0: ID 7, Fast-10, Parity Checking, Differential
ncr53c720-0: suspicious SCSI data while resetting the BUS.
ncr53c720-0: dp1,d15-8,dp0,d7-0,rst,req,ack,bsy,sel,atn,msg,c/d,i/o = 
0x3fdff00, expecting 0x100
ncr53c720-0: FATAL ERROR: CHECK SCSI BUS - CABLES, TERMINATION, DEVICE 
POWER etc.!
ncr53c720-0: detaching...

Stack Dump:
 17fb8758:  17fb8758 00000202 0000000e 00000000
 17fb8748:  10385f84 00000001 10385f84 00000020
 17fb8738:  17ff8b2c 000000d0 17ff8b2c 1013efec
 17fb8728:  00000001 17ff8b48 0000003c 17ff7800
 17fb8718:  10385f84 00000202 0000000e 17fb83c0
 17fb8708:  0000001a 00000194 00000000 00000040
 17fb86f8:  17ff8b2c 000000d0 17ff8b2c 10106524
 17fb86e8:  10090600 100906a0 10357000 17ff7800
 17fb86d8:  17ff8bac 10385f84 00000202 00000001
 17fb86c8:  103862c0 00002574 00002575 00000000
 17fb86b8:  100e2568 000000d0 100e2568 10214844
 17fb86a8:  00000001 100e2584 00000001 100e2568
 17fb8698:  10094ac0 17ff0088 00000000 1033a000
 17fb8688:  10468810 10397010 10370010 10391054
 17fb8678:  00000004 000012c8 10454a18 101421fc
 17fb8668:  00001329 10397010 10370010 103d11c0
 17fb8658:  00000000 0000004d 10472478 ffffffff
 17fb8648:  100e2568 00000080 00000001 f00000a4
 17fb8638:  f00000ac f00010f4 00000000 10141b60
 17fb8628:  0000004d 00000000 103d11c0 10370010
 17fb8618:  10453810 10385810 10453884 1037f5ec
 17fb8608:  100e2568 100e2568 100e25d4 10391054
 17fb85f8:  00000004 00001382 10454a18 1010b088
 17fb85e8:  0000139c 10397010 100e2568 100e2584
 17fb85d8:  00100100 00200200 17ee4034 10434810
 17fb85c8:  10397010 10370010 103d11c0 f00000a4
 17fb85b8:  f00000ac f00010f4 00000000 101422c8
 17fb85a8:  0000004d 00000000 17fb8488 00000002
 17fb8598:  10090600 17ee4034 00000194 00000000
 17fb8588:  4b5a0328 0000001f 100e25d4 103d11c0
 17fb8578:  00000000 0000004d 000000fd 10257458
 17fb8568:  1025ba9c 00000000 00000000 00000000
 17fb8558:  00000000 00000000 00000000 00000000
 17fb8548:  00000000 00000000 00000000 00000000
 17fb8538:  41000000 00000000 40800000 00000000
 17fb8528:  40000000 00000000 40000000 7fffffff
 17fb8518:  41800000 00000000 40200000 00000000
 17fb8508:  40200000 00000000 40300000 00000000
 17fb84f8:  41000000 00000000 40800000 7fffffff
 17fb84e8:  7fffffff 00000000 41000000 7fffffff
 17fb84d8:  7fffffff 00000800 00000400 00000200
 17fb84c8:  00000100 00000080 00000040 00000000
 17fb84b8:  00000000 00000010 00000010 00000000
 17fb84a8:  41800000 25b7ea20 45e69c6a 00000000
 17fb8498:  00000000 e0000000 43ebebeb ffffffff
 17fb8488:  7f7fffff 00000020 00000010 00000000
 17fb8478:  00000000 00000000 00000000 00000000
 17fb8468:  00000000 00000000 00000000 00000000
 17fb8458:  0000001f 00000000 0000001f 00000000
 17fb8448:  0000001f 00000000 000b0800 10142ce8
 17fb8438:  17fb83c0 0000000b 00000000 1036e010
 17fb8428:  00000000 17ffc360 000002c7 10082000
 17fb8418:  0000000f 0000001f 00000036 0000001f
 17fb8408:  f00000a4 f00000ac f00010f4 00000000
 17fb83f8:  000000fd 0000004d 00000000 103d11c0
 17fb83e8:  10370010 ffffffed 17ff0000 00000022
 17fb83d8:  10468810 1033a000 00000000 17ff0088
 17fb83c8:  1025baa0 1025b800 000eff0f 100cd800
 17fb83b8:  fffffffb 10353000 10370528 f3f8c800
 17fb83a8:  00000001 1033a000 10353000 00000022
 17fb8398:  17ff0088 00000001 1033a000 10468810
 17fb8388:  00000022 17ff0000 ffffffed 10391054
 17fb8378:  00000004 000011b5 10454a18 103e7e64
 17fb8368:  000011de 00000000 100864e0 10359e74

Kernel addresses on the stack:
 [<10124204>] copy_process+0x3d8/0x9f0
 [<10106220>] parisc_terminate+0x60/0xb8
 [<1013efec>] buffered_rmqueue+0xd8/0x164
 [<10106524>] handle_interruption+0x2ac/0x5bc
 [<10214844>] serial8250_console_write+0x1ac/0x37c
 [<101421fc>] do_drain+0x18/0x28
 [<10141b60>] slab_destroy+0x15c/0x214
 [<1010b088>] intr_check_sig+0x0/0xc
 [<101422c8>] __cache_shrink+0x70/0xc0
 [<10257458>] ncr_detach+0x0/0x374
 [<103d11c0>] start_kernel+0x4/0x214
 [<103e7e64>] zalon_probe+0x240/0x270
 [<1010ecf8>] parisc_driver_probe+0x2c/0x60
 [<10219dcc>] bus_match+0x48/0x80
 [<10219f28>] driver_attach+0x70/0xa4
 [<1021a1b0>] bus_add_driver+0x98/0xa8
 [<101ec1b4>] pci_populate_driver_dir+0x30/0x38
 [<1021a51c>] driver_register+0x48/0x54
 [<103e7c14>] sym2_init+0x18/0x28
 [<103d1438>] do_initcalls+0x58/0xdc
 [<10100400>] init+0x2c/0x144
 [<1010ac5c>] ret_from_kernel_thread+0x1c/0x24


Kernel Fault: Code=26 regs=17fb83c0 (Addr=00000194)

     YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
PSW: 00000000000011101111111100001111 Not tainted
r00-03  00000000 1025b800 1025baa0 17ff0088
r04-07  00000000 1033a000 10468810 00000022
r08-11  17ff0000 ffffffed 10370010 103d11c0
r12-15  00000000 0000004d 000000fd 00000000
r16-19  f00010f4 f00000ac f00000a4 0000001f
r20-23  00000036 0000001f 0000000f 10082000
r24-27  000002c7 17ffc360 00000000 1036e010
r28-31  00000000 0000000b 17fb83c0 10142ce8
sr0-3   00000000 00000000 00000000 00000000
sr4-7   00000000 00000000 00000000 00000000

IASQ: 00000000 00000000 IAOQ: 1025ba9c 10257458
 IIR: 4b5a0328    ISR: 00000000  IOR: 00000194
 CPU:        0   CR30: 17fb8000 CR31: 103c6000
 ORIG_R28: 00000000
 IAOQ[0]: ncr53c8xx_release+0xc/0x20
 IAOQ[1]: ncr_detach+0x0/0x374
 RP(r2): ncr53c8xx_release+0x10/0x20

Now what do you thing foward pa20 or backward pa14?

Thanks,
    Joel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [parisc-linux] Re: zalon/ncr53c720 (linux-2.6.0-test5-pa22) broken on C110
  2003-09-28 18:03   ` Joel Soete
@ 2003-09-28 20:32     ` Joel Soete
  2003-09-28 21:49       ` Matthew Wilcox
  0 siblings, 1 reply; 6+ messages in thread
From: Joel Soete @ 2003-09-28 20:32 UTC (permalink / raw)
  To: Joel Soete; +Cc: Matthew Wilcox, parisc-linux, James Bottomley

Joel Soete wrote:

> Matthew Wilcox wrote:
>
>> The driver is rev 1.5 in -test5-pa6.  rev 1.6 is in -test5-pa18.
>> After -test5-pa20, we don't have anyautotagged stuff, but let's start
>> with -pa18.
>>
>>  
>>
> Sorry it already failled with following satck dump:
> zalon_probe: Zalon vers field is 0x1, IRQ 34
> ncr53c720-0: rev 0xf on bus 0 device 0 function 0 irq 34
> ncr53c720-0: ID 7, Fast-10, Parity Checking, Differential
> ncr53c720-0: suspicious SCSI data while resetting the BUS.
> ncr53c720-0: dp1,d15-8,dp0,d7-0,rst,req,ack,bsy,sel,atn,msg,c/d,i/o = 
> 0x3fdff00, expecting 0x100
> ncr53c720-0: FATAL ERROR: CHECK SCSI BUS - CABLES, TERMINATION, DEVICE 
> POWER etc.!
> ncr53c720-0: detaching...
>
> Stack Dump:
> 17fb8758:  17fb8758 00000202 0000000e 00000000
> 17fb8748:  10385f84 00000001 10385f84 00000020
> 17fb8738:  17ff8b2c 000000d0 17ff8b2c 1013efec
> 17fb8728:  00000001 17ff8b48 0000003c 17ff7800
> 17fb8718:  10385f84 00000202 0000000e 17fb83c0
> 17fb8708:  0000001a 00000194 00000000 00000040
> 17fb86f8:  17ff8b2c 000000d0 17ff8b2c 10106524
> 17fb86e8:  10090600 100906a0 10357000 17ff7800
> 17fb86d8:  17ff8bac 10385f84 00000202 00000001
> 17fb86c8:  103862c0 00002574 00002575 00000000
> 17fb86b8:  100e2568 000000d0 100e2568 10214844
> 17fb86a8:  00000001 100e2584 00000001 100e2568
> 17fb8698:  10094ac0 17ff0088 00000000 1033a000
> 17fb8688:  10468810 10397010 10370010 10391054
> 17fb8678:  00000004 000012c8 10454a18 101421fc
> 17fb8668:  00001329 10397010 10370010 103d11c0
> 17fb8658:  00000000 0000004d 10472478 ffffffff
> 17fb8648:  100e2568 00000080 00000001 f00000a4
> 17fb8638:  f00000ac f00010f4 00000000 10141b60
> 17fb8628:  0000004d 00000000 103d11c0 10370010
> 17fb8618:  10453810 10385810 10453884 1037f5ec
> 17fb8608:  100e2568 100e2568 100e25d4 10391054
> 17fb85f8:  00000004 00001382 10454a18 1010b088
> 17fb85e8:  0000139c 10397010 100e2568 100e2584
> 17fb85d8:  00100100 00200200 17ee4034 10434810
> 17fb85c8:  10397010 10370010 103d11c0 f00000a4
> 17fb85b8:  f00000ac f00010f4 00000000 101422c8
> 17fb85a8:  0000004d 00000000 17fb8488 00000002
> 17fb8598:  10090600 17ee4034 00000194 00000000
> 17fb8588:  4b5a0328 0000001f 100e25d4 103d11c0
> 17fb8578:  00000000 0000004d 000000fd 10257458
> 17fb8568:  1025ba9c 00000000 00000000 00000000
> 17fb8558:  00000000 00000000 00000000 00000000
> 17fb8548:  00000000 00000000 00000000 00000000
> 17fb8538:  41000000 00000000 40800000 00000000
> 17fb8528:  40000000 00000000 40000000 7fffffff
> 17fb8518:  41800000 00000000 40200000 00000000
> 17fb8508:  40200000 00000000 40300000 00000000
> 17fb84f8:  41000000 00000000 40800000 7fffffff
> 17fb84e8:  7fffffff 00000000 41000000 7fffffff
> 17fb84d8:  7fffffff 00000800 00000400 00000200
> 17fb84c8:  00000100 00000080 00000040 00000000
> 17fb84b8:  00000000 00000010 00000010 00000000
> 17fb84a8:  41800000 25b7ea20 45e69c6a 00000000
> 17fb8498:  00000000 e0000000 43ebebeb ffffffff
> 17fb8488:  7f7fffff 00000020 00000010 00000000
> 17fb8478:  00000000 00000000 00000000 00000000
> 17fb8468:  00000000 00000000 00000000 00000000
> 17fb8458:  0000001f 00000000 0000001f 00000000
> 17fb8448:  0000001f 00000000 000b0800 10142ce8
> 17fb8438:  17fb83c0 0000000b 00000000 1036e010
> 17fb8428:  00000000 17ffc360 000002c7 10082000
> 17fb8418:  0000000f 0000001f 00000036 0000001f
> 17fb8408:  f00000a4 f00000ac f00010f4 00000000
> 17fb83f8:  000000fd 0000004d 00000000 103d11c0
> 17fb83e8:  10370010 ffffffed 17ff0000 00000022
> 17fb83d8:  10468810 1033a000 00000000 17ff0088
> 17fb83c8:  1025baa0 1025b800 000eff0f 100cd800
> 17fb83b8:  fffffffb 10353000 10370528 f3f8c800
> 17fb83a8:  00000001 1033a000 10353000 00000022
> 17fb8398:  17ff0088 00000001 1033a000 10468810
> 17fb8388:  00000022 17ff0000 ffffffed 10391054
> 17fb8378:  00000004 000011b5 10454a18 103e7e64
> 17fb8368:  000011de 00000000 100864e0 10359e74
>
> Kernel addresses on the stack:
> [<10124204>] copy_process+0x3d8/0x9f0
> [<10106220>] parisc_terminate+0x60/0xb8
> [<1013efec>] buffered_rmqueue+0xd8/0x164
> [<10106524>] handle_interruption+0x2ac/0x5bc
> [<10214844>] serial8250_console_write+0x1ac/0x37c
> [<101421fc>] do_drain+0x18/0x28
> [<10141b60>] slab_destroy+0x15c/0x214
> [<1010b088>] intr_check_sig+0x0/0xc
> [<101422c8>] __cache_shrink+0x70/0xc0
> [<10257458>] ncr_detach+0x0/0x374
> [<103d11c0>] start_kernel+0x4/0x214
> [<103e7e64>] zalon_probe+0x240/0x270
> [<1010ecf8>] parisc_driver_probe+0x2c/0x60
> [<10219dcc>] bus_match+0x48/0x80
> [<10219f28>] driver_attach+0x70/0xa4
> [<1021a1b0>] bus_add_driver+0x98/0xa8
> [<101ec1b4>] pci_populate_driver_dir+0x30/0x38
> [<1021a51c>] driver_register+0x48/0x54
> [<103e7c14>] sym2_init+0x18/0x28
> [<103d1438>] do_initcalls+0x58/0xdc
> [<10100400>] init+0x2c/0x144
> [<1010ac5c>] ret_from_kernel_thread+0x1c/0x24
>
>
> Kernel Fault: Code=26 regs=17fb83c0 (Addr=00000194)
>
>     YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
> PSW: 00000000000011101111111100001111 Not tainted
> r00-03  00000000 1025b800 1025baa0 17ff0088
> r04-07  00000000 1033a000 10468810 00000022
> r08-11  17ff0000 ffffffed 10370010 103d11c0
> r12-15  00000000 0000004d 000000fd 00000000
> r16-19  f00010f4 f00000ac f00000a4 0000001f
> r20-23  00000036 0000001f 0000000f 10082000
> r24-27  000002c7 17ffc360 00000000 1036e010
> r28-31  00000000 0000000b 17fb83c0 10142ce8
> sr0-3   00000000 00000000 00000000 00000000
> sr4-7   00000000 00000000 00000000 00000000
>
> IASQ: 00000000 00000000 IAOQ: 1025ba9c 10257458
> IIR: 4b5a0328    ISR: 00000000  IOR: 00000194
> CPU:        0   CR30: 17fb8000 CR31: 103c6000
> ORIG_R28: 00000000
> IAOQ[0]: ncr53c8xx_release+0xc/0x20
> IAOQ[1]: ncr_detach+0x0/0x374
> RP(r2): ncr53c8xx_release+0x10/0x20
>
> Now what do you thing foward pa20 or backward pa14?
>
Well:
hpalin login: root
Password:
Last login: Sun Sep 28 21:48:39 2003 on ttyS0
Linux hpalin 2.6.0-test5-pa14 #1 Sun Sep 28 22:10:24 CEST 2003 parisc 
GNU/Linux

So break is in patch...-pa14-pa18 (if I am lucky I could check it next 
week :) )

Joel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [parisc-linux] Re: zalon/ncr53c720 (linux-2.6.0-test5-pa22) broken on C110
  2003-09-28 20:32     ` Joel Soete
@ 2003-09-28 21:49       ` Matthew Wilcox
  0 siblings, 0 replies; 6+ messages in thread
From: Matthew Wilcox @ 2003-09-28 21:49 UTC (permalink / raw)
  To: Joel Soete; +Cc: Matthew Wilcox, parisc-linux, James Bottomley

On Sun, Sep 28, 2003 at 08:32:49PM +0000, Joel Soete wrote:
> Joel Soete wrote:
> 
> >Sorry it already failled with following satck dump:

OK; we don't need the stack dump since that's already fixed in the top
of tree.

> >zalon_probe: Zalon vers field is 0x1, IRQ 34
> >ncr53c720-0: rev 0xf on bus 0 device 0 function 0 irq 34
> >ncr53c720-0: ID 7, Fast-10, Parity Checking, Differential
> >ncr53c720-0: suspicious SCSI data while resetting the BUS.
> >ncr53c720-0: dp1,d15-8,dp0,d7-0,rst,req,ack,bsy,sel,atn,msg,c/d,i/o = 
> >0x3fdff00, expecting 0x100
> >ncr53c720-0: FATAL ERROR: CHECK SCSI BUS - CABLES, TERMINATION, DEVICE 
> >POWER etc.!
> >ncr53c720-0: detaching...
> >
> >Now what do you thing foward pa20 or backward pa14?
> >
> Well:
> hpalin login: root
> Password:
> Last login: Sun Sep 28 21:48:39 2003 on ttyS0
> Linux hpalin 2.6.0-test5-pa14 #1 Sun Sep 28 22:10:24 CEST 2003 parisc 
> GNU/Linux
> 
> So break is in patch...-pa14-pa18 (if I am lucky I could check it next 
> week :) )

OK.  Can you try applying the following patch to -pa18?  Note that
applying this patch to the top of the tree will not work (you'd need an
additional patch for that).

Index: sym53c8xx_defs.h
===================================================================
RCS file: /var/cvs/linux-2.6/drivers/scsi/sym53c8xx_defs.h,v
retrieving revision 1.4
retrieving revision 1.3
diff -u -p -r1.4 -r1.3
--- sym53c8xx_defs.h	24 Sep 2003 02:43:42 -0000	1.4
+++ sym53c8xx_defs.h	11 Sep 2003 18:50:08 -0000	1.3
@@ -497,10 +554,20 @@
 
 #else
 
+#ifdef CONFIG_SCSI_NCR53C8XX_NO_WORD_TRANSFERS
+/* Only 8 or 32 bit transfers allowed */
+#define INW_OFF(o)		(readb((char *)np->reg + ncr_offw(o)) << 8 | readb((char *)np->reg + ncr_offw(o) + 1))
+#else
 #define INW_OFF(o)		readw_raw((char *)np->reg + ncr_offw(o))
+#endif
 #define INL_OFF(o)		readl_raw((char *)np->reg + (o))
 
+#ifdef CONFIG_SCSI_NCR53C8XX_NO_WORD_TRANSFERS
+/* Only 8 or 32 bit transfers allowed */
+#define OUTW_OFF(o, val)	do { writeb((char)((val) >> 8), (char *)np->reg + ncr_offw(o)); writeb((char)(val), (char *)np->reg + ncr_offw(o) + 1); } while (0)
+#else
 #define OUTW_OFF(o, val)	writew_raw((val), (char *)np->reg + ncr_offw(o))
+#endif
 #define OUTL_OFF(o, val)	writel_raw((val), (char *)np->reg + (o))
 
 #endif

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-09-28 21:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-28  9:00 [parisc-linux] zalon/ncr53c720 (linux-2.6.0-test5-pa22) broken on C110 Joel Soete
2003-09-28 12:24 ` [parisc-linux] " Matthew Wilcox
2003-09-28 17:13   ` Joel Soete
2003-09-28 18:03   ` Joel Soete
2003-09-28 20:32     ` Joel Soete
2003-09-28 21:49       ` Matthew Wilcox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.