Bug#348782: [aha152_cs] (scsi0:x:0) command sent incompletely (1/12) (was: Re: Bug#348782)

2006-04-24 Thread Philippe Bourcier
hi all,

  I looked at an old bug regarding my scsi hardware:

On Wed, Mar 08, 2006 at 11:00:43PM +0100, Philippe Bourcier wrote:
 Package: linux-image-2.6-686
 Version: 2.6.15-8
 Followup-For: Bug #348782
[...]
 debian 2.6.15-8 doesn't resolve:
 
 I have a scsi tower (2*dd, cdrom reader, cdrom burner) connected to my
 laptop with a pcmcia card:
 Adaptec, Inc. - APA-1460 SCSI Host Adapter
 when I keep the tower shuted, everything is ok: I can boot with the card
 inserted
 when I power on the tower, the boot crash:
 (I copy the message by hand)
 
 BUG: soft lockup detected on CPUU#0!
 Pid: 4, comm:events/0
 EIP: 0060 [c0121d40]CPU:0
 EIP is at worker_thread+0x129/0x19f
   EFLAGS: 0246 Not tainted (2.6.15-1-686)
 EAX: c8c83084  EBX: c8c83084  ECX: c8c83080  EDX: c8c83084
 ESI: c7ff59a0  EDI: 0246  EBP:   DS: 0076  ES:007b
 CR0: 8005003b  CR2: bfd25124  CR3: 076e3000  CR4: 0240
 [c8c7c31a] run+0x0/0x3b [aha152_cs]
 [c0113708] default_wake_function+0x0/0x12
 [c0121c17] worker_thread+0x0/0x19f
 [c0124bd0] kthread+0x68/0x95
 [c0124b68] kthread+0x68/0x95
 [c01012a9] kernel_thread_helper+0x5/0xb
 
[...]
 -- System Information:
 Debian Release: testing/unstable
   APT prefers unstable
   APT policy: (500, 'unstable')
 Architecture: i386 (i686)
 Shell:  /bin/sh linked to /bin/bash
 Kernel: Linux 2.6.15-1-686
 Locale: LANG=en_US.UTF-8, [EMAIL PROTECTED] (charmap=UTF-8) (ignored: LC_ALL 
 set to en_US.UTF-8)
 
 Versions of packages linux-image-2.6-686 depends on:
 ii  linux-image-2.6.15-1-686  2.6.15-8   Linux kernel 2.6.15 image on 
 PPro/
 
 linux-image-2.6-686 recommends no packages.
 
 -- no debconf information

now, it seems to work...
just (scsi0:0:0) command sent incompletely (1/12)
and (scsi0:1:0) command sent incompletely (1/12)
annoys me; am I wrong?

$ uname -a
Linux ile 2.6.16-1-686 #2 Thu Apr 20 20:35:02 UTC 2006 i686
GNU/Linux
$ dmesg 
Linux version 2.6.16-1-686 (Debian 2.6.16-9) ([EMAIL PROTECTED])
(gcc version 4.0.3 (Debian 4.0.3-1)) #2 Thu Apr 20 20:35:02 UTC
2006
[...]
PCI: Found IRQ 11 for device :00:03.0
Yenta: CardBus bridge found at :00:03.0 [:]
Yenta: Enabling burst memory read transactions
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket :00:03.0, mfunc 0xcba97543, devctl 0x62
Yenta: ISA IRQ mask 0x06b8, PCI irq 11
Socket status: 3010
PCI: Found IRQ 11 for device :00:03.1
Yenta: CardBus bridge found at :00:03.1 [:]
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket :00:03.1, mfunc 0xcba97543, devctl 0x62
[...]
Yenta: ISA IRQ mask 0x06b8, PCI irq 11
Socket status: 3010
[...]
pccard: PCMCIA card inserted into slot 0
pccard: PCMCIA card inserted into slot 1
[...]
cs: IO port probe 0x100-0x4ff: excluding 0x220-0x22f 0x300-0x307
0x378-0x37f 0x388-0x38f
cs: IO port probe 0x100-0x4ff: excluding 0x220-0x22f 0x300-0x307
0x378-0x37f 0x388-0x38f
cs: IO port probe 0x800-0x8ff: excluding 0x800-0x807
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0xa00-0xaff: clean.
usb 1-1.4: configuration #1 chosen from 1 choice
cs: memory probe 0xa000-0xa0ff: clean.
pcmcia: registering new device pcmcia0.0
cs: IO port probe 0x800-0x8ff: excluding 0x800-0x807
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0xa00-0xaff: clean.
cs: memory probe 0xa000-0xa0ff: excluding
0xa000-0xa00f
pcmcia: registering new device pcmcia1.0
[...]
SCSI subsystem initialized
aha152x: resetting bus...
aha152x0: vital data: rev=1, io=0x340 (0x340/0x340), irq=3,
scsiid=7, reconnect=enabled, parity=enabled, synchronous=enabled,
delay=100, extended translation=disabled
aha152x0: trying software interrupt, ok.
scsi0 : Adaptec 152x SCSI driver; $Revision: 2.7 $
(scsi0:0:0) Synchronous Data Transfer Request period = 200 ns
offset = 8 
  Vendor: IBM   Model: DNES-309170   Rev: SA30
  Type:   Direct-Access  ANSI SCSI revision:
03
(scsi0:0:0) command sent incompletely (1/12)
(scsi0:1:0) Synchronous Data Transfer Request period = 200 ns
offset = 8 
  Vendor: IBM   Model: DNES-309170   Rev: SA30
  Type:   Direct-Access  ANSI SCSI revision:
03
(scsi0:1:0) command sent incompletely (1/12)
(scsi0:2:0) Synchronous Data Transfer Request period = 200 ns
offset = 8 
  Vendor: PLEXTOR   Model: CD-ROM PX-40TSRev: 1.10
  Type:   CD-ROM ANSI SCSI revision:
02
(scsi0:3:0) Synchronous Data Transfer Request period = 200 ns
offset = 8 
  Vendor: YAMAHAModel: CRW8424S  Rev: 1.0d
  Type:   CD-ROM ANSI SCSI revision:
02
[...]
SCSI device sda: 17916240 512-byte hdwr sectors (9173 MB)
ts: Compaq touchscreen protocol output
sda: Write Protect is off
sda: Mode Sense: c3 00 00 08
SCSI device sda: drive cache: write back
SCSI device sda: 17916240 512-byte hdwr sectors (9173 MB)
sda: Write Protect is off
sda: Mode 

Bug#348782: [aha152_cs] (scsi0:x:0) command sent incompletely (1/12) (was: Re: Bug#348782)

2006-04-24 Thread Randy.Dunlap
On Mon, 24 Apr 2006, Philippe Bourcier wrote:

 hi all,

   I looked at an old bug regarding my scsi hardware:

 On Wed, Mar 08, 2006 at 11:00:43PM +0100, Philippe Bourcier wrote:
  Package: linux-image-2.6-686
  Version: 2.6.15-8
  Followup-For: Bug #348782
 [...]
  debian 2.6.15-8 doesn't resolve:
 
  I have a scsi tower (2*dd, cdrom reader, cdrom burner) connected to my
  laptop with a pcmcia card:
  Adaptec, Inc. - APA-1460 SCSI Host Adapter
  when I keep the tower shuted, everything is ok: I can boot with the card
  inserted
  when I power on the tower, the boot crash:
  (I copy the message by hand)
 
  BUG: soft lockup detected on CPUU#0!
  Pid: 4, comm:events/0
  EIP: 0060 [c0121d40]CPU:0
  EIP is at worker_thread+0x129/0x19f
EFLAGS: 0246 Not tainted (2.6.15-1-686)
  EAX: c8c83084  EBX: c8c83084  ECX: c8c83080  EDX: c8c83084
  ESI: c7ff59a0  EDI: 0246  EBP:   DS: 0076  ES:007b
  CR0: 8005003b  CR2: bfd25124  CR3: 076e3000  CR4: 0240
  [c8c7c31a] run+0x0/0x3b [aha152_cs]
  [c0113708] default_wake_function+0x0/0x12
  [c0121c17] worker_thread+0x0/0x19f
  [c0124bd0] kthread+0x68/0x95
  [c0124b68] kthread+0x68/0x95
  [c01012a9] kernel_thread_helper+0x5/0xb
 
 [...]
  -- System Information:
  Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
  Architecture: i386 (i686)
  Shell:  /bin/sh linked to /bin/bash
  Kernel: Linux 2.6.15-1-686
  Locale: LANG=en_US.UTF-8, [EMAIL PROTECTED] (charmap=UTF-8) (ignored: 
  LC_ALL set to en_US.UTF-8)
 
  Versions of packages linux-image-2.6-686 depends on:
  ii  linux-image-2.6.15-1-686  2.6.15-8   Linux kernel 2.6.15 image on 
  PPro/
 
  linux-image-2.6-686 recommends no packages.
 
  -- no debconf information

 now, it seems to work...
 just (scsi0:0:0) command sent incompletely (1/12)
 and (scsi0:1:0) command sent incompletely (1/12)
 annoys me; am I wrong?

I've looked at this driver a lot in the past 2 weeks (from a
SCSI viewpoint, not PCMCIA).  It does not handle highmem
( 1 GB) scatter/gather lists correctly at all, so for me
to use it successfully, I have to set:
.unchecked_isa_dma = 1,
in the scsi host template.  However, if your system has = 1 GB
of RAM or you are using a kernel that does not support highmem,
that should not be an issue for you.

 $ uname -a
 Linux ile 2.6.16-1-686 #2 Thu Apr 20 20:35:02 UTC 2006 i686
 GNU/Linux
 $ dmesg
 Linux version 2.6.16-1-686 (Debian 2.6.16-9) ([EMAIL PROTECTED])
 (gcc version 4.0.3 (Debian 4.0.3-1)) #2 Thu Apr 20 20:35:02 UTC
 2006
 [...]
 PCI: Found IRQ 11 for device :00:03.0
 Yenta: CardBus bridge found at :00:03.0 [:]
 Yenta: Enabling burst memory read transactions
 Yenta: Using CSCINT to route CSC interrupts to PCI
 Yenta: Routing CardBus interrupts to PCI
 Yenta TI: socket :00:03.0, mfunc 0xcba97543, devctl 0x62
 Yenta: ISA IRQ mask 0x06b8, PCI irq 11
 Socket status: 3010
 PCI: Found IRQ 11 for device :00:03.1
 Yenta: CardBus bridge found at :00:03.1 [:]
 Yenta: Using CSCINT to route CSC interrupts to PCI
 Yenta: Routing CardBus interrupts to PCI
 Yenta TI: socket :00:03.1, mfunc 0xcba97543, devctl 0x62
 [...]
 Yenta: ISA IRQ mask 0x06b8, PCI irq 11
 Socket status: 3010
 [...]
 pccard: PCMCIA card inserted into slot 0
 pccard: PCMCIA card inserted into slot 1
 [...]
 cs: IO port probe 0x100-0x4ff: excluding 0x220-0x22f 0x300-0x307
 0x378-0x37f 0x388-0x38f
 cs: IO port probe 0x100-0x4ff: excluding 0x220-0x22f 0x300-0x307
 0x378-0x37f 0x388-0x38f
 cs: IO port probe 0x800-0x8ff: excluding 0x800-0x807
 cs: IO port probe 0xc00-0xcff: clean.
 cs: IO port probe 0xa00-0xaff: clean.
 usb 1-1.4: configuration #1 chosen from 1 choice
 cs: memory probe 0xa000-0xa0ff: clean.
 pcmcia: registering new device pcmcia0.0
 cs: IO port probe 0x800-0x8ff: excluding 0x800-0x807
 cs: IO port probe 0xc00-0xcff: clean.
 cs: IO port probe 0xa00-0xaff: clean.
 cs: memory probe 0xa000-0xa0ff: excluding
 0xa000-0xa00f
 pcmcia: registering new device pcmcia1.0
 [...]
 SCSI subsystem initialized
 aha152x: resetting bus...
 aha152x0: vital data: rev=1, io=0x340 (0x340/0x340), irq=3,
 scsiid=7, reconnect=enabled, parity=enabled, synchronous=enabled,
 delay=100, extended translation=disabled
 aha152x0: trying software interrupt, ok.
 scsi0 : Adaptec 152x SCSI driver; $Revision: 2.7 $
 (scsi0:0:0) Synchronous Data Transfer Request period = 200 ns
 offset = 8
   Vendor: IBM   Model: DNES-309170   Rev: SA30
   Type:   Direct-Access  ANSI SCSI revision:
 03
 (scsi0:0:0) command sent incompletely (1/12)
 (scsi0:1:0) Synchronous Data Transfer Request period = 200 ns
 offset = 8
   Vendor: IBM   Model: DNES-309170   Rev: SA30
   Type:   Direct-Access  ANSI SCSI revision:
 03
 (scsi0:1:0) command sent incompletely (1/12)
 (scsi0:2:0) Synchronous Data Transfer Request period = 200 ns
 offset = 8
   Vendor: PLEXTOR   Model: CD-ROM PX-40TS

Bug#348782: [aha152_cs] (scsi0:x:0) command sent incompletely (1/12) (was: Re: Bug#348782)

2006-04-24 Thread Philippe Bourcier
On Mon, Apr 24, 2006 at 07:25:38AM -0700, Randy.Dunlap wrote:
 On Mon, 24 Apr 2006, Philippe Bourcier wrote:
 
  hi all,
 
I looked at an old bug regarding my scsi hardware:
 
  On Wed, Mar 08, 2006 at 11:00:43PM +0100, Philippe Bourcier wrote:
   Package: linux-image-2.6-686
   Version: 2.6.15-8
   Followup-For: Bug #348782
  [...]
   debian 2.6.15-8 doesn't resolve:
  
   I have a scsi tower (2*dd, cdrom reader, cdrom burner) connected to my
   laptop with a pcmcia card:
   Adaptec, Inc. - APA-1460 SCSI Host Adapter
   when I keep the tower shuted, everything is ok: I can boot with the card
   inserted
   when I power on the tower, the boot crash:
   (I copy the message by hand)
  
   BUG: soft lockup detected on CPUU#0!
   Pid: 4, comm:events/0
   EIP: 0060 [c0121d40]CPU:0
   EIP is at worker_thread+0x129/0x19f
 EFLAGS: 0246 Not tainted (2.6.15-1-686)
   EAX: c8c83084  EBX: c8c83084  ECX: c8c83080  EDX: c8c83084
   ESI: c7ff59a0  EDI: 0246  EBP:   DS: 0076  ES:007b
   CR0: 8005003b  CR2: bfd25124  CR3: 076e3000  CR4: 0240
   [c8c7c31a] run+0x0/0x3b [aha152_cs]
   [c0113708] default_wake_function+0x0/0x12
   [c0121c17] worker_thread+0x0/0x19f
   [c0124bd0] kthread+0x68/0x95
   [c0124b68] kthread+0x68/0x95
   [c01012a9] kernel_thread_helper+0x5/0xb
  
  [...]
   -- System Information:
   Debian Release: testing/unstable
 APT prefers unstable
 APT policy: (500, 'unstable')
   Architecture: i386 (i686)
   Shell:  /bin/sh linked to /bin/bash
   Kernel: Linux 2.6.15-1-686
   Locale: LANG=en_US.UTF-8, [EMAIL PROTECTED] (charmap=UTF-8) (ignored: 
   LC_ALL set to en_US.UTF-8)
  
   Versions of packages linux-image-2.6-686 depends on:
   ii  linux-image-2.6.15-1-686  2.6.15-8   Linux kernel 2.6.15 image on 
   PPro/
  
   linux-image-2.6-686 recommends no packages.
  
   -- no debconf information
 
  now, it seems to work...
  just (scsi0:0:0) command sent incompletely (1/12)
  and (scsi0:1:0) command sent incompletely (1/12)
  annoys me; am I wrong?
 
 I've looked at this driver a lot in the past 2 weeks (from a
 SCSI viewpoint, not PCMCIA).  It does not handle highmem
 ( 1 GB) scatter/gather lists correctly at all, so for me
 to use it successfully, I have to set:
   .unchecked_isa_dma = 1,
 in the scsi host template.  However, if your system has = 1 GB
 of RAM or you are using a kernel that does not support highmem,
 that should not be an issue for you.

$ cat /proc/meminfo 
MemTotal:   127220 kB
[...]
 
  hope this will help,
-- 
   / \
  ((__-^^-,-^^-__))
 .''`.  Philippe BOURCIER  `-_---' `---_-'  .-.
: :' :  http://bourcier.philippe.online.fr  `--|o` 'o|--'   /V\
`. `'  \  `  / // \\
  `-   Linux Counter registered user #290012): :( /(   )\
:o_o:  ^^-^^
 -


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]