linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* aic7xxx problem on sparc64 (2.6)
@ 2003-11-28 14:04 Meelis Roos
  2003-11-28 17:27 ` Meelis Roos
  0 siblings, 1 reply; 3+ messages in thread
From: Meelis Roos @ 2003-11-28 14:04 UTC (permalink / raw)
  To: gibbs, linux-kernel

I inserted my known working 2940 (7880) into a Sun Ultra 5 (32-bit PCI).
modprobe aic7xxx gave some errors and asked to report the bug.
modprobe sd_mod gave a lot more errors and put the disk offline. The
same hardware (host, HBA and disk) works fine with latest 2.4 kernel
(2.4.23-rc5 currently). The problem is with 2.6.0-test11.


PROMLIB: Sun IEEE Boot Prom 3.25.3 2000/06/29 14:12
Linux version 2.6.0-test11 (mroos@mandariin) (gcc version 3.3.2 (Debian)) #38 Thu Nov 27 12:26:42 EET 2003
ARCH: SUN4U
Ethernet address: 08:00:20:f8:c7:72
On node 0 totalpages: 40491
  DMA zone: 40491 pages, LIFO batch:8
  Normal zone: 0 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
Building zonelist for node : 0
Kernel command line: root=/dev/hda1 ro
PID hash table entries: 2048 (order 11: 32768 bytes)
Console: colour dummy device 80x25
Memory: 317760k available (1872k kernel code, 552k data, 144k init) [fffff80000000000,000000001ff46000]
Calibrating delay loop... 719.25 BogoMIPS
Dentry cache hash table entries: 65536 (order: 6, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 5, 262144 bytes)
Mount-cache hash table entries: 512 (order: 0, 8192 bytes)
POSIX conformance testing by UNIFIX
NET: Registered protocol family 16
PCI: Probing for controllers.
PCI: Found SABRE, main regs at 000001fe00000000, wsync at 000001fe00001c20
SABRE: Shared PCI config space at 000001fe01000000
SABRE: DVMA at c0000000 [20000000]
PCI-IRQ: Routing bus[ 2] slot[ 1] map[0] to INO[10]
PCI-IRQ: Routing bus[ 2] slot[ 2] map[0] to INO[14]
PCI-IRQ: Routing bus[ 2] slot[ 3] map[0] to INO[18]
PCI0(PBMA): Bus running at 33MHz
PCI-IRQ: Routing bus[ 1] slot[ 1] map[0] to INO[21]
PCI-IRQ: Routing bus[ 1] slot[ 2] map[0] to INO[0f]
PCI-IRQ: Routing bus[ 1] slot[ 3] map[0] to INO[20]
PCI0(PBMB): Bus running at 33MHz
ebus0: [auxio] [power] [SUNW,pll] [se] [su] [su] [ecpp] [fdthree] [eeprom] [flashprom] [SUNW,CS4231]
power: Control reg at 000001fff1724000 ... powerd running.
atyfb: 3D RAGE PRO (PQFP, PCI) [0x4750 rev 0x7c] 4M SGRAM, 14.31818 MHz XTAL, 230 MHz PLL, 100 Mhz MCLK
fb0: ATY Mach64 frame buffer device on PCI
Initializing Cryptographic API
Console: switching to mono PROM 80x34
Console: switching to colour frame buffer device 128x48
pty: 256 Unix98 ptys configured
rtc_init: no PC rtc found
su0 at 0x000001fff13062f8 (irq = 4,7ea) is a 16550A
su1 at 0x000001fff13083f8 (irq = 9,7e9) is a 16550A
Using anticipatory io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
sunhme.c:v2.02 24/Aug/2003 David S. Miller (davem@redhat.com)
divert: allocating divert_blk for eth0
eth0: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:f8:c7:72
divert: not allocating divert_blk for non-ethernet device lo
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
CMD646: IDE controller at PCI slot 0000:01:03.0
CMD646: chipset revision 3
CMD646: chipset revision 0x03, MultiWord DMA Force Limited
CMD646: 100% native mode on irq 4,7e0
    ide0: BM-DMA at 0x1fe02c00020-0x1fe02c00027, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0x1fe02c00028-0x1fe02c0002f, BIOS settings: hdc:pio, hdd:pio
hda: ST38410A, ATA DISK drive
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ide0 at 0x1fe02c00000-0x1fe02c00007,0x1fe02c0000a on irq 4,7e0
hdc: CRD-8322B, ATAPI CD/DVD-ROM drive
ide1 at 0x1fe02c00010-0x1fe02c00017,0x1fe02c0001a on irq 4,7e0 (shared with ide0)
hda: max request size: 128KiB
hda: 16841664 sectors (8622 MB) w/512KiB Cache, CHS=16708/16/63, (U)DMA
 hda: hda1 hda2 hda3
Console: switching to colour frame buffer device 128x48
mice: PS/2 mouse device common for all mice
input: su/serio1/input on su/serio1
input: Sun Mouse on su/serio0
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 65536 bind 65536)
NET: Registered protocol family 1
NET: Registered protocol family 17
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Adding 944984k swap on /dev/hda2.  Priority:-1 extents:1
EXT3 FS on hda1, internal journal
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
ohci_hcd: 2003 Oct 13 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 80 td 96
ohci_hcd 0000:02:02.0: OHCI Host Controller
ohci_hcd 0000:02:02.0: irq 10,7d4, pci mem 000001ff00004000
ohci_hcd 0000:02:02.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:02:02.0: WARNING: OPTi workarounds unavailable
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
eth0: Link is up using internal transceiver at 100Mb/s, Full Duplex.
NET: Registered protocol family 15
NET: Registered protocol family 10
Disabled Privacy Extensions on device 000000000062bc00(lo)
IPv6 over IPv4 tunneling driver
divert: not allocating divert_blk for non-ethernet device sit0
nfs warning: mount version older than kernel
eth0: no IPv6 routers present
SCSI subsystem initialized
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.35
        <Adaptec 2940 Ultra SCSI adapter>
        aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs

(scsi0:A:2:0): data overrun detected in Data-in phase.  Tag == 0x6.
(scsi0:A:2:0): Have seen Data Phase.  Length = 0.  NumSGs = 1.
sg[0] - Addr 0x0c3fee0c0 : Length 32
scsi0:A:2:0: DV failed to configure device.  Please file a bug report against this driver.
(scsi0:A:2): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
  Vendor: FUJITSU   Model: M2954ESP SUN4.2G  Rev: 2545
  Type:   Direct-Access                      ANSI SCSI revision: 02
scsi0:A:2:0: Tagged Queuing enabled.  Depth 253
SCSI device sda: 8385121 512-byte hdwr sectors (4293 MB)
scsi0:0:2:0: Attempting to queue an ABORT message
CDB: 0x1a 0x0 0x8 0x0 0x4 0x0
scsi0: At time of recovery, card was not paused
>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
scsi0: Dumping Card State in Data-in phase, at SEQADDR 0x73
Card was paused
ACCUM = 0x4, SINDEX = 0xb8, DINDEX = 0xa8, ARG_2 = 0xff
HCNT = 0x0 SCBPTR = 0x0
SCSISIGI[0x46] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x40]
SCSISEQ[0x12] SBLKCTL[0x2] SCSIRATE[0x88] SEQCTL[0x10]
SEQ_FLAGS[0x20] SSTAT0[0x7] SSTAT1[0x3] SSTAT2[0x17]
SSTAT3[0x1] SIMODE0[0x0] SIMODE1[0xac] SXFRCTL0[0xa8]
DFCNTRL[0x0] DFSTATUS[0x29]
STACK: 0x0 0x169 0x199 0x6e
SCB count = 8
Kernel NEXTQSCB = 6
Card NEXTQSCB = 6
QINFIFO entries:
Waiting Queue entries:
Disconnected Queue entries:
QOUTFIFO entries:
Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Sequencer SCB Info:
  0 SCB_CONTROL[0x68] SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0x7]
  1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
  2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
  3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
  4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
  5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
  6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
  7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
  8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
  9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
 10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
 11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
 12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
 13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
 14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
 15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
Pending list:
  7 SCB_CONTROL[0x68] SCB_SCSIID[0x27] SCB_LUN[0x0]
Kernel Free SCB list: 5 4 3 2 1 0
DevQ(0:2:0): 0 waiting

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
scsi0:0:2:0: Device is active, asserting ATN
Recovery code sleeping
Recovery code awake
Timer Expired
aic7xxx_abort returns 0x2003
scsi0:0:2:0: Attempting to queue a TARGET RESET message
CDB: 0x1a 0x0 0x8 0x0 0x4 0x0
aic7xxx_dev_reset returns 0x2003
Recovery SCB completes
(scsi0:A:2:0): data overrun detected in Data-in phase.  Tag == 0x6.
(scsi0:A:2:0): Have seen Data Phase.  Length = 0.  NumSGs = 1.
sg[0] - Addr 0x0c3fee0c0 : Length 32
scsi: Device offlined - not ready after error recovery: host 0 channel 0 id 2 lun 0
sda: asking for cache data failed
sda: assuming drive cache: write through
Attached scsi disk sda at scsi0, channel 0, id 2, lun 0

-- 
Meelis Roos (mroos@linux.ee)



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

* Re: aic7xxx problem on sparc64 (2.6)
  2003-11-28 14:04 aic7xxx problem on sparc64 (2.6) Meelis Roos
@ 2003-11-28 17:27 ` Meelis Roos
  0 siblings, 0 replies; 3+ messages in thread
From: Meelis Roos @ 2003-11-28 17:27 UTC (permalink / raw)
  To: linux-kernel, gibbs

MR> I inserted my known working 2940 (7880) into a Sun Ultra 5 (32-bit PCI).
MR> modprobe aic7xxx gave some errors and asked to report the bug.
MR> modprobe sd_mod gave a lot more errors and put the disk offline. The
MR> same hardware (host, HBA and disk) works fine with latest 2.4 kernel
MR> (2.4.23-rc5 currently). The problem is with 2.6.0-test11.

Probably it's not a aic7xxx specific problem at all. I replaced it with
Symbios 53c875 (again with PC ROM, no OpenFirmware ROM) and the results
are the same: 2.4 works OK, 2.6 gets timeouts. NetBSD 1.6.1 and OpenBSD
3.4 also get timeouts with this card. NetBSD also gets timeouts with the
Adaptec card, OpenBSD does not support the Adaptec on sparc64 so it is
not tested.

Something with sparc64 PCI or IRQs??

SCSI subsystem initialized
sym0: <875> rev 0x3 at pci 0000:02:01.0 irq 4,7d0
sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
sym0: SCSI BUS has been reset.
scsi0 : sym-2.1.18b
  Vendor: FUJITSU   Model: M2954ESP SUN4.2G  Rev: 2545
  Type:   Direct-Access                      ANSI SCSI revision: 02
sym0:2:0: tagged command queuing enabled, command queue depth 16.
sym0:2: FAST-20 WIDE SCSI 40.0 MB/s ST (50.0 ns, offset 15)
SCSI device sda: 8385121 512-byte hdwr sectors (4293 MB)
sym0:2:0: ABORT operation started.
sym0:2:0: ABORT operation timed-out.
sym0:2:0: DEVICE RESET operation started.
sym0:2:0: DEVICE RESET operation timed-out.
sym0:2:0: BUS RESET operation started.
sym0: SCSI BUS reset detected.
sym0: SCSI BUS has been reset.
sym0:2:0: BUS RESET operation complete.
sym0:2:0: ABORT operation started.
sym0:2:0: ABORT operation timed-out.
sym0:2:0: DEVICE RESET operation started.
sym0:2:0: DEVICE RESET operation timed-out.
sym0:2:0: BUS RESET operation started.
sym0: SCSI BUS reset detected.
sym0: SCSI BUS has been reset.
sym0:2:0: BUS RESET operation complete.
sym0:2:0: ABORT operation started.
sym0:2:0: ABORT operation timed-out.
sym0:2:0: DEVICE RESET operation started.
sym0:2:0: DEVICE RESET operation timed-out.
sym0:2:0: BUS RESET operation started.
sym0: SCSI BUS reset detected.
sym0: SCSI BUS has been reset.
sym0:2:0: BUS RESET operation complete.
sym0:2:0: ABORT operation started.
sym0:2:0: ABORT operation timed-out.
sym0:2:0: DEVICE RESET operation started.
sym0:2:0: DEVICE RESET operation timed-out.
sym0:2:0: BUS RESET operation started.
sym0: SCSI BUS reset detected.
sym0: SCSI BUS has been reset.
sym0:2:0: BUS RESET operation complete.
sda: asking for cache data failed
sda: assuming drive cache: write through
 sda: sda1 sda3
Attached scsi disk sda at scsi0, channel 0, id 2, lun 0

-- 
Meelis Roos (mroos@linux.ee)

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

* aic7xxx problem on sparc64 (2.6)
@ 2003-11-29  8:40 Vladimir Klenov
  0 siblings, 0 replies; 3+ messages in thread
From: Vladimir Klenov @ 2003-11-29  8:40 UTC (permalink / raw)
  To: linux-kernel


>I inserted my known working 2940 (7880) into a Sun Ultra 5 (32-bit PCI).
>modprobe aic7xxx gave some errors and asked to report the bug.
>modprobe sd_mod gave a lot more errors and put the disk offline. The
>same hardware (host, HBA and disk) works fine with latest 2.4 kernel
>(2.4.23-rc5 currently). The problem is with 2.6.0-test11.

similar problem with -test11 and aic79xx on x86
2.4 works ok, test11 give unrecoverable read errors, but with drivers from
http://people.FreeBSD.org/~gibbs/linux/SRC/ -test11 working fine.

do I have chance to include working drivers to official tree? ;)

I use software raid1 over two scsi drives.

lspci:
02:06.0 SCSI storage controller: Adaptec ASC-29320LP U320 (rev 03)

dmesg:
scsi0 : Adaptec AIC79XX PCI-X SCSI HBA DRIVER, Rev 2.0.4
        <Adaptec 29320LP Ultra320 SCSI adapter>
        aic7901A: Ultra320 Wide Channel A, SCSI Id=7, PCI 33 or 66Mhz,
512 SCBs

(scsi0:A:0): 320.000MB/s transfers (160.000MHz DT|IU|QAS, 16bit)
(scsi0:A:1): 320.000MB/s transfers (160.000MHz DT|IU|QAS, 16bit)
  Vendor: IBM       Model: IC35L036UCDY10-0  Rev: S21E
  Type:   Direct-Access                      ANSI SCSI revision: 03
  Vendor: IBM       Model: IC35L036UCDY10-0  Rev: S21E
  Type:   Direct-Access                      ANSI SCSI revision: 03
SCSI device sda: 71687340 512-byte hdwr sectors (36704 MB)
SCSI device sda: drive cache: write back

        SY, Vladimir

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

end of thread, other threads:[~2003-11-29  8:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-28 14:04 aic7xxx problem on sparc64 (2.6) Meelis Roos
2003-11-28 17:27 ` Meelis Roos
2003-11-29  8:40 Vladimir Klenov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).