linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Bug#338089: New aic7xxx driver fails spectacularly on 2940UW
       [not found] <20051108024523.35622.qmail@web88006.mail.re2.yahoo.com>
@ 2005-11-08  3:31 ` Horms
  2005-11-08 14:10   ` James Bottomley
  0 siblings, 1 reply; 19+ messages in thread
From: Horms @ 2005-11-08  3:31 UTC (permalink / raw)
  To: Graham Knap, 338089; +Cc: James E.J. Bottomley, linux-scsi

On Mon, Nov 07, 2005 at 09:45:23PM -0500, Graham Knap wrote:
> Package: linux-image-2.6.14-1-686
> Version: 2.6.14-2
> 
> Recent versions of the aic7xxx driver will not boot on my secondary PC.
> The 2.6.8 kernel shipped with sarge works perfectly, but neither the
> 2.6.12 kernel in testing nor the 2.6.14 kernel in unstable will boot.
> 
> This is an older system: 
> Asus P2L-B, Celeron 500MHz, 384MB RAM, GeForce2 MX AGP
> Adaptec 2940UW, IBM DDYS-T09170 (9GB disk)
> 
> I can't understand what exactly is failing, but I will attach a boot
> log. (So null modem cables *are* still useful for something!)
> 
> I've tried adding "aic7xxx=dv:{0}" to the boot arguments but that
> doesn't seem to make a difference. Also, "aic7xxx=verbose" doesn't seem
> to do anything either.
> 
> I don't know if this makes a difference but my 2940UW reports its BIOS
> revision as "1.34.3" during POST.
> 
> Any help would be much appreciated.

Hi Graham, 

thanks for your detailed report. This does smell a lot like a driver
bug, and as such, its proably best passed onto the upstream maintainers.
As such I've CCed James Bottomley and linux-scsi for comment.

The other main possiblility, is that perhaps the aic7xxx_old driver would
work. Or perhaps some other module loading foo, though its seems the
module is loaded fine, it just doesn't like your card very much.

Content-Description: 2066060778-bootlog-2.6.14.txt
> Linux version 2.6.14-1-686 (Debian 2.6.14-2) (horms@debian.org) (gcc version 4.0.3 20051023 (prerelease) (Debian 4.0.2-3)) #1 Tue Nov 1 15:51:43 JST 2005
> BIOS-provided physical RAM map:
>  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
>  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
>  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
>  BIOS-e820: 0000000000100000 - 0000000017ffd000 (usable)
>  BIOS-e820: 0000000017ffd000 - 0000000017fff000 (ACPI data)
>  BIOS-e820: 0000000017fff000 - 0000000018000000 (ACPI NVS)
>  BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
> 0MB HIGHMEM available.
> 383MB LOWMEM available.
> DMI 2.0 present.
> ACPI: PM-Timer IO Port: 0xe408
> Allocating PCI resources starting at 20000000 (gap: 18000000:e7ff0000)
> Built 1 zonelists
> Kernel command line: root=/dev/sda3 ro single console=tty0 console=ttyS1,38400n8
> Local APIC disabled by BIOS -- you can enable it with "lapic"
> Initializing CPU#0
> PID hash table entries: 2048 (order: 11, 32768 bytes)
> Detected 501.254 MHz processor.
> Using pmtmr for high-res timesource
> Console: colour VGA+ 80x25
> Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
> Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
> Memory: 385200k/393204k available (1803k kernel code, 7432k reserved, 512k data, 180k init, 0k highmem)
> Checking if this processor honours the WP bit even in supervisor mode... Ok.
> Calibrating delay using timer specific routine.. 1002.82 BogoMIPS (lpj=501412)
> Security Framework v1.0.0 initialized
> SELinux:  Disabled at boot.
> Capability LSM initialized
> Mount-cache hash table entries: 512
> CPU: L1 I cache: 16K, L1 D cache: 16K
> CPU: L2 cache: 128K
> Intel machine check architecture supported.
> Intel machine check reporting enabled on CPU#0.
> mtrr: v2.0 (20020519)
> CPU: Intel Celeron (Mendocino) stepping 05
> Enabling fast FPU save and restore... done.
> Checking 'hlt' instruction... OK.
> ACPI: setting ELCR to 0200 (from 0a00)
> checking if image is initramfs... it is
> softlockup thread 0 started up.
> Freeing initrd memory: 1176k freed
> NET: Registered protocol family 16
> ACPI: bus type pci registered
> PCI: PCI BIOS revision 2.10 entry at 0xf06d0, last bus=1
> PCI: Using configuration type 1
> ACPI: Subsystem revision 20050902
> ACPI: Interpreter enabled
> ACPI: Using PIC for interrupt routing
> ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
> ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
> ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
> ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
> ACPI: PCI Root Bridge [PCI0] (0000:00)
> PCI: Probing PCI hardware (bus 00)
> ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
> PCI quirk: region e400-e43f claimed by PIIX4 ACPI
> PCI quirk: region e800-e81f claimed by PIIX4 SMB
> PIIX4 devres B PIO at 0290-0297
> Linux Plug and Play Support v0.97 (c) Adam Belay
> pnp: PnP ACPI init
> pnp: PnP ACPI: found 12 devices
> PnPBIOS: Disabled by ACPI PNP
> PCI: Using ACPI for IRQ routing
> PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
> pnp: 00:01: ioport range 0xe400-0xe43f could not be reserved
> pnp: 00:01: ioport range 0xe800-0xe80f has been reserved
> pnp: 00:01: ioport range 0x294-0x297 has been reserved
> PCI: Bridge: 0000:00:01.0
>   IO window: disabled.
>   MEM window: d6000000-d7dfffff
>   PREFETCH window: d7f00000-e3ffffff
> Simple Boot Flag at 0x46 set to 0x1
> audit: initializing netlink socket (disabled)
> audit(1131398011.104:1): initialized
> VFS: Disk quotas dquot_6.5.1
> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> Initializing Cryptographic API
> Limiting direct PCI/PCI transfers.
> isapnp: Scanning for PnP cards...
> pnp: SB audio device quirk - increasing port range
> isapnp: Card 'Creative SB16 PnP'
> isapnp: 1 Plug & Play card detected total
> PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
> serio: i8042 AUX port at 0x60,0x64 irq 12
> serio: i8042 KBD port at 0x60,0x64 irq 1
> Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
> ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered
> RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
> NET: Registered protocol family 2
> IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
> TCP established hash table entries: 16384 (order: 4, 65536 bytes)
> TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
> TCP: Hash tables configured (established 16384 bind 16384)
> TCP reno registered
> NET: Registered protocol family 8
> NET: Registered protocol family 20
> Using IPI Shortcut mode
> ACPI wakeup devices: 
> PCI0 UAR1 UAR2 PS2M USB0 
> ACPI: (supports S0 S1 S4 S5)
> Freeing unused kernel memory: 180k freed
> input: AT Translated Set 2 keyboard on isa0060/serio0
> mice: PS/2 mouse device common for all mice
> SCSI subsystem initialized
> ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 9
> PCI: setting IRQ 9 as level-triggered
> ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 9 (level, low) -> IRQ 9
> scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
>         <Adaptec 2940 Ultra SCSI adapter>
>         aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
> 
>   Vendor: IBM       Model: DDYS-T09170N      Rev: S80D
>   Type:   Direct-Access                      ANSI SCSI revision: 03
> scsi0:A:0:0: Tagged Queuing enabled.  Depth 8
>  target0:0:0: Beginning Domain Validation
>  target0:0:0: wide asynchronous.
>  target0:0:0: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 8)
> scsi0:0:0:0: Attempting to queue an ABORT message
> CDB: 0x3b 0xa 0x0 0x0 0x0 0x0 0x0 0x2 0x39 0x0
> scsi0: At time of recovery, card was not paused
> >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
> scsi0: Dumping Card State in Data-out phase, at SEQADDR 0x84
> Card was paused
> ACCUM = 0x0, SINDEX = 0xb8, DINDEX = 0xa8, ARG_2 = 0xff
> HCNT = 0x0 SCBPTR = 0x0
> SCSISIGI[0x4]:(BSYI) ERROR[0x0] SCSIBUSL[0x8] LASTPHASE[0x0] 
> SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI) SBLKCTL[0x2]:(SELWIDE) 
> SCSIRATE[0x88]:(WIDEXFER) SEQCTL[0x10]:(FASTMODE) 
> SEQ_FLAGS[0x20]:(DPHASE) SSTAT0[0x7]:(DMADONE|SPIORDY|SDONE) 
> SSTAT1[0x2]:(PHASECHG) SSTAT2[0x0] SSTAT3[0x0] 
> SIMODE0[0x0] SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO) 
> SXFRCTL0[0xa8]:(SPIOEN|FAST20|DFON) DFCNTRL[0x4]:(DIRECTION) 
> DFSTATUS[0x6d]:(FIFOEMP|DFTHRESH|HDONE|FIFOQWDEMP|DFCACHETH) 
> STACK: 0x0 0x151 0x192 0x60
> SCB count = 4
> Kernel NEXTQSCB = 2
> Card NEXTQSCB = 2
> 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]:(ULTRAENB|TAG_ENB|DISCENB) SCB_SCSIID[0x7] 
> SCB_LUN[0x80]:(SCB_XFERLEN_ODD) SCB_TAG[0x3] 
>   1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
> Pending list: 
>   3 SCB_CONTROL[0x68]:(ULTRAENB|TAG_ENB|DISCENB) SCB_SCSIID[0x7] 
> SCB_LUN[0x80]:(SCB_XFERLEN_ODD) 
> Kernel Free SCB list: 1 0 
> 
> <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
> scsi0:0:0:0: Device is active, asserting ATN
> Recovery code sleeping
> Recovery code awake
> Timer Expired
> aic7xxx_abort returns 0x2003
> scsi0:0:0:0: Attempting to queue a TARGET RESET message
> CDB: 0x3b 0xa 0x0 0x0 0x0 0x0 0x0 0x2 0x39 0x0
> aic7xxx_dev_reset returns 0x2003
> Recovery SCB completes
> scsi0:0:0:0: Attempting to queue an ABORT message
> CDB: 0x0 0x0 0x0 0x0 0x0 0x0
> scsi0: At time of recovery, card was not paused
> >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
> scsi0: Dumping Card State while idle, at SEQADDR 0x157
> Card was paused
> ACCUM = 0x2, SINDEX = 0x20, DINDEX = 0xc0, ARG_2 = 0x0
> HCNT = 0x0 SCBPTR = 0x0
> SCSISIGI[0x14]:(BSYI|ATNI) ERROR[0x0] SCSIBUSL[0x8] 
> LASTPHASE[0x1]:(P_BUSFREE) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI) 
> SBLKCTL[0x2]:(SELWIDE) SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) 
> SEQ_FLAGS[0x40]:(NO_CDB_SENT) SSTAT0[0x5]:(DMADONE|SDONE) 
> SSTAT1[0x0] SSTAT2[0x0] SSTAT3[0x0] SIMODE0[0x0] 
> SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO) 
> SXFRCTL0[0x88]:(SPIOEN|DFON) DFCNTRL[0x4]:(DIRECTION) 
> DFSTATUS[0x6d]:(FIFOEMP|DFTHRESH|HDONE|FIFOQWDEMP|DFCACHETH) 
> STACK: 0x37 0x0 0x151 0x192
> SCB count = 4
> Kernel NEXTQSCB = 3
> Card NEXTQSCB = 3
> 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[0x70]:(MK_MESSAGE|TAG_ENB|DISCENB) SCB_SCSIID[0x7] 
> SCB_LUN[0x0] SCB_TAG[0x2] 
>   1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
> Pending list: 
>   2 SCB_CONTROL[0x70]:(MK_MESSAGE|TAG_ENB|DISCENB) SCB_SCSIID[0x7] 
> SCB_LUN[0x0] 
> Kernel Free SCB list: 1 0 
> 
> <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
> scsi0:0:0:0: Unable to deliver message
> aic7xxx_abort returns 0x2003
> scsi: Device offlined - not ready after error recovery: host 0 channel 0 id 0 lun 0
> scsi0 (0:0): rejecting I/O to offline device
>  target0:0:0: Write Buffer failure 10000
>  target0:0:0: Domain Validation detected failure, dropping back
> scsi0:0:0:0: Attempting to queue an ABORT message
> CDB: 0x3b 0xa 0x0 0x0 0x0 0x0 0x0 0x2 0x39 0x0
> scsi0: At time of recovery, card was not paused
> >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
> scsi0: Dumping Card State while idle, at SEQADDR 0x157
> Card was paused
> ACCUM = 0x2, SINDEX = 0x20, DINDEX = 0xc0, ARG_2 = 0x0
> HCNT = 0x0 SCBPTR = 0x0
> SCSISIGI[0x14]:(BSYI|ATNI) ERROR[0x0] SCSIBUSL[0x8] 
> LASTPHASE[0x1]:(P_BUSFREE) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI) 
> SBLKCTL[0x2]:(SELWIDE) SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) 
> SEQ_FLAGS[0x40]:(NO_CDB_SENT) SSTAT0[0x5]:(DMADONE|SDONE) 
> SSTAT1[0x0] SSTAT2[0x0] SSTAT3[0x0] SIMODE0[0x0] 
> SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO) 
> SXFRCTL0[0x88]:(SPIOEN|DFON) DFCNTRL[0x4]:(DIRECTION) 
> DFSTATUS[0x6d]:(FIFOEMP|DFTHRESH|HDONE|FIFOQWDEMP|DFCACHETH) 
> STACK: 0x37 0x0 0x151 0x192
> SCB count = 4
> Kernel NEXTQSCB = 1
> Card NEXTQSCB = 3
> QINFIFO entries: 3 
> 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[0x70]:(MK_MESSAGE|TAG_ENB|DISCENB) SCB_SCSIID[0x7] 
> SCB_LUN[0x0] SCB_TAG[0x2] 
>   1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
> Pending list: 
>   3 SCB_CONTROL[0x70]:(MK_MESSAGE|TAG_ENB|DISCENB) SCB_SCSIID[0x7] 
> SCB_LUN[0x80]:(SCB_XFERLEN_ODD) 
>   2 SCB_CONTROL[0x70]:(MK_MESSAGE|TAG_ENB|DISCENB) SCB_SCSIID[0x7] 
> SCB_LUN[0x0] 
> Kernel Free SCB list: 0 
> 
> <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
> scsi0:0:0:0: Cmd aborted from QINFIFO
> aic7xxx_abort returns 0x2002
> scsi0:0:0:0: Attempting to queue an ABORT message
> CDB: 0x0 0x0 0x0 0x0 0x0 0x0
> scsi0: At time of recovery, card was not paused
> >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
> scsi0: Dumping Card State while idle, at SEQADDR 0x157
> Card was paused
> ACCUM = 0x2, SINDEX = 0x20, DINDEX = 0xc0, ARG_2 = 0x0
> HCNT = 0x0 SCBPTR = 0x0
> SCSISIGI[0x14]:(BSYI|ATNI) ERROR[0x0] SCSIBUSL[0x8] 
> LASTPHASE[0x1]:(P_BUSFREE) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI) 
> SBLKCTL[0x2]:(SELWIDE) SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) 
> SEQ_FLAGS[0x40]:(NO_CDB_SENT) SSTAT0[0x5]:(DMADONE|SDONE) 
> SSTAT1[0x0] SSTAT2[0x0] SSTAT3[0x0] SIMODE0[0x0] 
> SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO) 
> SXFRCTL0[0x88]:(SPIOEN|DFON) DFCNTRL[0x4]:(DIRECTION) 
> DFSTATUS[0x6d]:(FIFOEMP|DFTHRESH|HDONE|FIFOQWDEMP|DFCACHETH) 
> STACK: 0x37 0x0 0x151 0x192
> SCB count = 4
> Kernel NEXTQSCB = 3
> Card NEXTQSCB = 1
> QINFIFO entries: 1 
> 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[0x70]:(MK_MESSAGE|TAG_ENB|DISCENB) SCB_SCSIID[0x7] 
> SCB_LUN[0x0] SCB_TAG[0x2] 
>   1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
> Pending list: 
>   1 SCB_CONTROL[0x70]:(MK_MESSAGE|TAG_ENB|DISCENB) SCB_SCSIID[0x7] 
> SCB_LUN[0x0] 
>   2 SCB_CONTROL[0x70]:(MK_MESSAGE|TAG_ENB|DISCENB) SCB_SCSIID[0x7] 
> SCB_LUN[0x0] 
> Kernel Free SCB list: 0 
> 
> <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
> scsi0:0:0:0: Cmd aborted from QINFIFO
> aic7xxx_abort returns 0x2002
> scsi0:0:0:0: Attempting to queue a TARGET RESET message
> CDB: 0x3b 0xa 0x0 0x0 0x0 0x0 0x0 0x2 0x39 0x0
> scsi0: At time of recovery, card was not paused
> >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
> scsi0: Dumping Card State while idle, at SEQADDR 0x157
> Card was paused
> ACCUM = 0x2, SINDEX = 0x20, DINDEX = 0xc0, ARG_2 = 0x0
> HCNT = 0x0 SCBPTR = 0x0
> SCSISIGI[0x14]:(BSYI|ATNI) ERROR[0x0] SCSIBUSL[0x8] 
> LASTPHASE[0x1]:(P_BUSFREE) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI) 
> SBLKCTL[0x2]:(SELWIDE) SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) 
> SEQ_FLAGS[0x40]:(NO_CDB_SENT) SSTAT0[0x5]:(DMADONE|SDONE) 
> SSTAT1[0x0] SSTAT2[0x0] SSTAT3[0x0] SIMODE0[0x0] 
> SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO) 
> SXFRCTL0[0x88]:(SPIOEN|DFON) DFCNTRL[0x4]:(DIRECTION) 
> DFSTATUS[0x6d]:(FIFOEMP|DFTHRESH|HDONE|FIFOQWDEMP|DFCACHETH) 
> STACK: 0x37 0x0 0x151 0x192
> SCB count = 4
> Kernel NEXTQSCB = 3
> Card NEXTQSCB = 3
> 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[0x70]:(MK_MESSAGE|TAG_ENB|DISCENB) SCB_SCSIID[0x7] 
> SCB_LUN[0x0] SCB_TAG[0x2] 
>   1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>   9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
>  15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
> SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
> Pending list: 
>   2 SCB_CONTROL[0x70]:(MK_MESSAGE|TAG_ENB|DISCENB) SCB_SCSIID[0x7] 
> SCB_LUN[0x0] 
> Kernel Free SCB list: 1 0 
> 
> <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
> scsi0:0:0:0: Unable to deliver message
> aic7xxx_dev_reset returns 0x2003
> scsi: Device offlined - not ready after error recovery: host 0 channel 0 id 0 lun 0
>  target0:0:0: Write Buffer failure 20000
>  target0:0:0: Domain Validation detected failure, dropping back
>  target0:0:0: Write Buffer failure 10000
>  target0:0:0: Domain Validation detected failure, dropping back
>  target0:0:0: Write Buffer failure 10000
>  target0:0:0: Domain Validation detected failure, dropping back
>  target0:0:0: Write Buffer failure 10000
>  target0:0:0: Domain Validation detected failure, dropping back
>  target0:0:0: Write Buffer failure 10000
>  target0:0:0: Domain Validation detected failure, dropping back
>  target0:0:0: Write Buffer failure 10000
>  target0:0:0: Domain Validation detected failure, dropping back
>  target0:0:0: Write Buffer failure 10000
>  target0:0:0: Domain Validation detected failure, dropping back
>  target0:0:0: Write Buffer failure 10000
>  target0:0:0: Domain Validation Failure, dropping back to Asynchronous
>  target0:0:0: Ending Domain Validation
> sda : READ CAPACITY failed.
> sda : status=0, message=00, host=1, driver=00 
> sda : sense not available. 
> sda: asking for cache data failed
> sda: assuming drive cache: write through
> sda : READ CAPACITY failed.
> sda : status=0, message=00, host=1, driver=00 
> sda : sense not available. 
> sda: asking for cache data failed
> sda: assuming drive cache: write through
>  sda:<6>sd 0:0:0:0: SCSI error: return code = 0x10000
> end_request: I/O error, dev sda, sector 0
> Buffer I/O error on device sda, logical block 0
> sd 0:0:0:0: SCSI error: return code = 0x10000
> end_request: I/O error, dev sda, sector 0
> Buffer I/O error on device sda, logical block 0
>  unable to read partition table
> Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
> /bin/cat: /sys/block/sda/sda2/dev: No such file or directory
> Waiting 1 seconds for /sys/block/sda/sda2/dev to show up
> /bin/cat: /sys/block/sda/sda2/dev: No such file or directory
> Waiting 2 seconds for /sys/block/sda/sda2/dev to show up
> /bin/cat: /sys/block/sda/sda2/dev: No such file or directory
> Waiting 4 seconds for /sys/block/sda/sda2/dev to show up
> /bin/cat: /sys/block/sda/sda2/dev: No such file or directory
> Waiting 8 seconds for /sys/block/sda/sda2/dev to show up
> /bin/cat: /sys/block/sda/sda2/dev: No such file or directory
> Waiting 16 seconds for /sys/block/sda/sda2/dev to show up
> /bin/cat: /sys/block/sda/sda2/dev: No such file or directory
> Device /sys/block/sda/sda2/dev seems to be down.
> Debugging opportunity, type ^D to continue.
> /bin/dash: can't access tty; job control turned off
> # 


-- 
Horms

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

* Re: Bug#338089: New aic7xxx driver fails spectacularly on 2940UW
  2005-11-08  3:31 ` Horms
@ 2005-11-08 14:10   ` James Bottomley
  2005-11-09  1:47     ` Graham Knap
  0 siblings, 1 reply; 19+ messages in thread
From: James Bottomley @ 2005-11-08 14:10 UTC (permalink / raw)
  To: Horms; +Cc: Graham Knap, 338089, linux-scsi

On Tue, 2005-11-08 at 12:31 +0900, Horms wrote:
> On Mon, Nov 07, 2005 at 09:45:23PM -0500, Graham Knap wrote:
> > Package: linux-image-2.6.14-1-686
> > Version: 2.6.14-2
> > 
> > Recent versions of the aic7xxx driver will not boot on my secondary PC.
> > The 2.6.8 kernel shipped with sarge works perfectly, but neither the
> > 2.6.12 kernel in testing nor the 2.6.14 kernel in unstable will boot.
> > 
> > This is an older system: 
> > Asus P2L-B, Celeron 500MHz, 384MB RAM, GeForce2 MX AGP
> > Adaptec 2940UW, IBM DDYS-T09170 (9GB disk)
> > 
> > I can't understand what exactly is failing, but I will attach a boot
> > log. (So null modem cables *are* still useful for something!)
> > 
> > I've tried adding "aic7xxx=dv:{0}" to the boot arguments but that
> > doesn't seem to make a difference. Also, "aic7xxx=verbose" doesn't seem
> > to do anything either.
> > 
> > I don't know if this makes a difference but my 2940UW reports its BIOS
> > revision as "1.34.3" during POST.
> > 
> > Any help would be much appreciated.
> 
> Hi Graham, 
> 
> thanks for your detailed report. This does smell a lot like a driver
> bug, and as such, its proably best passed onto the upstream maintainers.
> As such I've CCed James Bottomley and linux-scsi for comment.
> 
> The other main possiblility, is that perhaps the aic7xxx_old driver would
> work. Or perhaps some other module loading foo, though its seems the
> module is loaded fine, it just doesn't like your card very much.

This is an older drive, so it looks like it passes domain validation
(read only) but then chokes on the next command.  On 2.6.8, what do the
transport settings report? (that's cat /proc/scsi/aic7xxx/0)?

Thanks,

James



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

* Re: Bug#338089: New aic7xxx driver fails spectacularly on 2940UW
  2005-11-08 14:10   ` James Bottomley
@ 2005-11-09  1:47     ` Graham Knap
  2005-11-13  4:16       ` James Bottomley
  0 siblings, 1 reply; 19+ messages in thread
From: Graham Knap @ 2005-11-09  1:47 UTC (permalink / raw)
  To: James Bottomley, Horms; +Cc: Graham Knap, 338089, linux-scsi

Graham Knap <graham.knap@rogers.com> wrote:
> Recent versions of the aic7xxx driver will not boot on my secondary
> PC. The 2.6.8 kernel shipped with sarge works, but neither the 2.6.12
> kernel in testing nor the 2.6.14 kernel in unstable will boot.
> This is an older system: 
> Asus P2L-B, Celeron 500MHz, 384MB RAM, GeForce2 MX AGP
> Adaptec 2940UW, IBM DDYS-T09170 (9GB disk)

Horms <horms@debian.org> wrote:
> This does smell a lot like a driver bug, and as such, its proably
> best passed onto the upstream maintainers.

James Bottomley <James.Bottomley@SteelEye.com> wrote:
> This is an older drive, so it looks like it passes domain validation
> (read only) but then chokes on the next command.  On 2.6.8, what do
> the transport settings report? (that's cat /proc/scsi/aic7xxx/0)?


Thanks for responding so quickly. Here's what I see on 2.6.8.

graham@testbox:~$ uname -a
Linux testbox 2.6.8-2-686 #1 Thu May 19 17:53:30 JST 2005 i686
GNU/Linux

graham@testbox:~$ cat /proc/scsi/aic7xxx/0
Adaptec AIC7xxx driver version: 6.2.36
Adaptec 2940 Ultra SCSI adapter
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
Allocated SCBs: 12, SG List Length: 128

Serial EEPROM:
0x02f8 0x02f8 0x02f8 0x02f8 0x02f8 0x02f8 0x02f8 0x02f8
0x02f8 0x02f8 0x02f8 0x02f8 0x02f8 0x02f8 0x02f8 0x02f8
0x18a6 0x005f 0x2807 0x0010 0xff00 0xffff 0xffff 0xffff
0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0x00ff 0x7092

Target 0 Negotiation Settings
        User: 40.000MB/s transfers (20.000MHz, offset 127, 16bit)
        Goal: 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
        Curr: 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
        Channel A Target 0 Lun 0 Settings
                Commands Queued 49075
                Commands Active 0
                Command Openings 8
                Max Tagged Openings 8
                Device Queue Frozen Count 0
Target 1 Negotiation Settings
        User: 40.000MB/s transfers (20.000MHz, offset 127, 16bit)

<snip> ... Target 0 is the only device, so I assume that the remaining
output is meaningless.

Let me know if there's anything else I can do to help.

-- graham

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

* Re: Bug#338089: New aic7xxx driver fails spectacularly on 2940UW
  2005-11-09  1:47     ` Graham Knap
@ 2005-11-13  4:16       ` James Bottomley
  2005-11-13 16:47         ` Graham Knap
  0 siblings, 1 reply; 19+ messages in thread
From: James Bottomley @ 2005-11-13  4:16 UTC (permalink / raw)
  To: Graham Knap; +Cc: Horms, 338089, linux-scsi

On Tue, 2005-11-08 at 20:47 -0500, Graham Knap wrote:
> Target 0 Negotiation Settings
>         User: 40.000MB/s transfers (20.000MHz, offset 127, 16bit)
>         Goal: 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
>         Curr: 40.000MB/s transfers (20.000MHz, offset 8, 16bit)

That's a bit unfortunate ... it shows that the domain validation code
negotiated identical settings in the old kernel, so it doesn't look like
that's the problem.

My best guess would be that the bus is slightly marginal.  The aic7xxx
drivers are notoriously sensitive to bus problems.  Could you try
lowering the bus speed to 10MHz in the aic7xxx bios and see if that
helps?

Thanks,

James



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

* Re: Bug#338089: New aic7xxx driver fails spectacularly on 2940UW
  2005-11-13  4:16       ` James Bottomley
@ 2005-11-13 16:47         ` Graham Knap
  2005-11-13 17:41           ` Doug Ledford
  0 siblings, 1 reply; 19+ messages in thread
From: Graham Knap @ 2005-11-13 16:47 UTC (permalink / raw)
  To: James Bottomley; +Cc: Horms, 338089, linux-scsi

James Bottomley <James.Bottomley@SteelEye.com> wrote:
> My best guess would be that the bus is slightly marginal.  The
> aic7xxx drivers are notoriously sensitive to bus problems.  Could you
> try lowering the bus speed to 10MHz in the aic7xxx bios and see if
> that helps?

Sure. I changed the device to 20MByte/s max. Now the driver shows
10MHz, 16-bit wide... and DV still fails, with what looks like the same
messages.

As for the bus being marginal, I don't see why it would be, but
anything is possible.

Host adapter termination is set to "Automatic". If I understand things
correctly, since there's no cable attached to the internal 50pin
connector or the external connector, I could try forcing it to "Low ON
/ High ON"... right?

The cabling looks like this:

[HBA] -- [disk] -- [unused connector] -- [terminator]

I'm pretty sure the cable is U160 rated (it wasn't cheap). The
terminator isn't integrated into the cable -- it's a plug-in Active SE
terminator.

The drive is LVD capable, but I've never had trouble running it in SE
mode. The "Force SE" jumper is not installed, but I suppose I could try
that too.

http://www.hitachigst.com/tech/techlib.nsf/products/Ultrastar_36LZX

BTW -- Another oddity I should mention is that if I warm-reboot the
system after DV fails, the drive isn't detected during POST. Power
cycling fixes it. (In other cases, warm-rebooting works fine.)

Let me know what I should try next.

-- graham


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

* Re: Bug#338089: New aic7xxx driver fails spectacularly on 2940UW
  2005-11-13 16:47         ` Graham Knap
@ 2005-11-13 17:41           ` Doug Ledford
  2005-11-13 17:46             ` James Bottomley
  2005-11-13 18:03             ` Graham Knap
  0 siblings, 2 replies; 19+ messages in thread
From: Doug Ledford @ 2005-11-13 17:41 UTC (permalink / raw)
  To: Graham Knap; +Cc: James Bottomley, Horms, 338089, linux-scsi

Graham Knap wrote:
> James Bottomley <James.Bottomley@SteelEye.com> wrote:
> 
>>My best guess would be that the bus is slightly marginal.  The
>>aic7xxx drivers are notoriously sensitive to bus problems.  Could you
>>try lowering the bus speed to 10MHz in the aic7xxx bios and see if
>>that helps?
> 
> 
> Sure. I changed the device to 20MByte/s max. Now the driver shows
> 10MHz, 16-bit wide... and DV still fails, with what looks like the same
> messages.

I would expect this given what you state later...

> As for the bus being marginal, I don't see why it would be, but
> anything is possible.
> 
> Host adapter termination is set to "Automatic". If I understand things
> correctly, since there's no cable attached to the internal 50pin
> connector or the external connector, I could try forcing it to "Low ON
> / High ON"... right?
> 
> The cabling looks like this:
> 
> [HBA] -- [disk] -- [unused connector] -- [terminator]

Termination should be fine as automatic, but yes, you could force both on.

> I'm pretty sure the cable is U160 rated (it wasn't cheap). The
> terminator isn't integrated into the cable -- it's a plug-in Active SE
> terminator.
> 
> The drive is LVD capable, but I've never had trouble running it in SE
> mode. The "Force SE" jumper is not installed, but I suppose I could try
> that too.

Don't bother.

> http://www.hitachigst.com/tech/techlib.nsf/products/Ultrastar_36LZX
> 
> BTW -- Another oddity I should mention is that if I warm-reboot the
> system after DV fails, the drive isn't detected during POST. Power
> cycling fixes it. (In other cases, warm-rebooting works fine.)
> 
> Let me know what I should try next.

If the drive is unaccessible after the DV failure, even on a warm reboot 
(which includes a SCSI bus reset), then the drive is flat hung. 
Something done in the current code is breaking it.  Can you get a boot 
with DV turned off and capture the log messages and post them here 
please?  You already said it didn't help with the problem, but I'd like 
to see the failure scenario with it off, that might help determine the 
true root cause of the issue.


-- 
Doug Ledford <dledford@redhat.com>
http://people.redhat.com/dledford


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

* Bug#338089: New aic7xxx driver fails spectacularly on 2940UW
  2005-11-13 17:41           ` Doug Ledford
@ 2005-11-13 17:46             ` James Bottomley
  2005-11-15  0:45               ` Graham Knap
  2005-11-13 18:03             ` Graham Knap
  1 sibling, 1 reply; 19+ messages in thread
From: James Bottomley @ 2005-11-13 17:46 UTC (permalink / raw)
  To: Doug Ledford; +Cc: Graham Knap, Horms, 338089, linux-scsi

On Sun, 2005-11-13 at 12:41 -0500, Doug Ledford wrote:
> If the drive is unaccessible after the DV failure, even on a warm reboot 
> (which includes a SCSI bus reset), then the drive is flat hung. 
> Something done in the current code is breaking it.  Can you get a boot 
> with DV turned off and capture the log messages and post them here 
> please?  You already said it didn't help with the problem, but I'd like 
> to see the failure scenario with it off, that might help determine the 
> true root cause of the issue.

Yes, you're right ... the sequencer code seems to identify the
WRITE_BUFFER as the failing command.  Can you try with the attached
patch, which will force DV to ignore the echo buffer write tests?

Thanks,

James

diff --git a/drivers/scsi/scsi_transport_spi.c b/drivers/scsi/scsi_transport_spi.c
--- a/drivers/scsi/scsi_transport_spi.c
+++ b/drivers/scsi/scsi_transport_spi.c
@@ -816,8 +816,10 @@ spi_dv_device_internal(struct scsi_devic
 	 * do the SPI pattern write tests */
 
 	len = 0;
+#if 0
 	if (scsi_device_dt(sdev))
 		len = spi_dv_device_get_echo_buffer(sdev, buffer);
+#endif
 
  retry:
 

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

* Re: Bug#338089: New aic7xxx driver fails spectacularly on 2940UW
  2005-11-13 17:41           ` Doug Ledford
  2005-11-13 17:46             ` James Bottomley
@ 2005-11-13 18:03             ` Graham Knap
  2005-11-13 18:21               ` James Bottomley
  1 sibling, 1 reply; 19+ messages in thread
From: Graham Knap @ 2005-11-13 18:03 UTC (permalink / raw)
  To: Doug Ledford; +Cc: James Bottomley, Horms, 338089, linux-scsi

Doug Ledford <dledford@redhat.com> wrote:
> If the drive is unaccessible after the DV failure, even on a warm
> reboot (which includes a SCSI bus reset), then the drive is flat
> hung. Something done in the current code is breaking it. 

Ah. I had wondered if that was possible.

> Can you get a boot with DV turned off and capture the log messages
> and post them here please? 

I certainly can, but...

> You already said it didn't help with the problem, 

I meant that I don't think I successfully disabled DV, because the boot
messages were *identical*, except for the line where the kernel shows
the "Kernel command line".

I had added this argument at the end of the line:  aic7xxx=dv:{0}

I've re-read "aic7xxx.txt" and I'm not sure what I'm doing wrong. If
you can tell me how to disable DV, I'd be happy to give it a try.

-- graham


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

* Re: Bug#338089: New aic7xxx driver fails spectacularly on 2940UW
  2005-11-13 18:03             ` Graham Knap
@ 2005-11-13 18:21               ` James Bottomley
  2005-11-13 19:42                 ` Doug Ledford
  0 siblings, 1 reply; 19+ messages in thread
From: James Bottomley @ 2005-11-13 18:21 UTC (permalink / raw)
  To: Graham Knap; +Cc: Doug Ledford, Horms, 338089, linux-scsi

On Sun, 2005-11-13 at 13:03 -0500, Graham Knap wrote:
> Doug Ledford <dledford@redhat.com> wrote:
> > You already said it didn't help with the problem, 
> 
> I meant that I don't think I successfully disabled DV, because the boot
> messages were *identical*, except for the line where the kernel shows
> the "Kernel command line".
> 
> I had added this argument at the end of the line:  aic7xxx=dv:{0}
> 
> I've re-read "aic7xxx.txt" and I'm not sure what I'm doing wrong. If
> you can tell me how to disable DV, I'd be happy to give it a try.

aic7xxx.txt is out of date.  The aic7xxx (and 79xx) drivers use the
generic domain validation code now rather than the old aic specific ones
(which is what the dv:{0} option is referring to).  If you try the code
in the prior email, I think that will disable the piece of DV that's
causing the problem.

If the test code succeeds, the problem is pretty nasty:  Apparently the
device claims DT support but in fact rejects DT in the negotiation.  We
use DT support to begin the check for an echo buffer, which starts with
READ_BUFFERS for the descriptor.  Apparently this device returns a valid
descriptor with a reasonable echo buffer size and then promptly throws a
wobbly when we try to use it.

James



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

* Re: Bug#338089: New aic7xxx driver fails spectacularly on 2940UW
  2005-11-13 18:21               ` James Bottomley
@ 2005-11-13 19:42                 ` Doug Ledford
  2005-11-13 21:51                   ` James Bottomley
  0 siblings, 1 reply; 19+ messages in thread
From: Doug Ledford @ 2005-11-13 19:42 UTC (permalink / raw)
  To: James Bottomley; +Cc: Graham Knap, Horms, 338089, linux-scsi

James Bottomley wrote:
> On Sun, 2005-11-13 at 13:03 -0500, Graham Knap wrote:
> 
>>Doug Ledford <dledford@redhat.com> wrote:
>>
>>>You already said it didn't help with the problem, 
>>
>>I meant that I don't think I successfully disabled DV, because the boot
>>messages were *identical*, except for the line where the kernel shows
>>the "Kernel command line".
>>
>>I had added this argument at the end of the line:  aic7xxx=dv:{0}
>>
>>I've re-read "aic7xxx.txt" and I'm not sure what I'm doing wrong. If
>>you can tell me how to disable DV, I'd be happy to give it a try.
> 
> 
> aic7xxx.txt is out of date.  The aic7xxx (and 79xx) drivers use the
> generic domain validation code now rather than the old aic specific ones
> (which is what the dv:{0} option is referring to).  If you try the code
> in the prior email, I think that will disable the piece of DV that's
> causing the problem.
> 
> If the test code succeeds, the problem is pretty nasty:  Apparently the
> device claims DT support but in fact rejects DT in the negotiation.  We
> use DT support to begin the check for an echo buffer, which starts with
> READ_BUFFERS for the descriptor.  Apparently this device returns a valid
> descriptor with a reasonable echo buffer size and then promptly throws a
> wobbly when we try to use it.
> 
> James
> 

The device is on a non-LVD bus.  Certain devices were created back when 
the spec still stated that using PPR negotiation messages on a non-LVD 
bus was a no-no.  As the echo buffer was an addition to support DV, and 
originally DV wasn't intended to be used on non-LVD busses, it might 
stand to reason that this device simply is going tits up because we are 
attempting to use the echo buffer while in SE mode.  Checking that 
PPR/DT is valid (not just between controller and device, but also given 
bus mode) and only using echo buffer DV when all LVD conditions are met 
would likely solve the problem (assuming that the problem is what you 
are referring to).

-- 
Doug Ledford <dledford@redhat.com>
http://people.redhat.com/dledford


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

* Re: Bug#338089: New aic7xxx driver fails spectacularly on 2940UW
  2005-11-13 19:42                 ` Doug Ledford
@ 2005-11-13 21:51                   ` James Bottomley
  0 siblings, 0 replies; 19+ messages in thread
From: James Bottomley @ 2005-11-13 21:51 UTC (permalink / raw)
  To: Doug Ledford; +Cc: Graham Knap, Horms, 338089, linux-scsi

On Sun, 2005-11-13 at 14:42 -0500, Doug Ledford wrote:
> The device is on a non-LVD bus.  Certain devices were created back when 
> the spec still stated that using PPR negotiation messages on a non-LVD 
> bus was a no-no.  As the echo buffer was an addition to support DV, and 
> originally DV wasn't intended to be used on non-LVD busses, it might 
> stand to reason that this device simply is going tits up because we are 
> attempting to use the echo buffer while in SE mode.  Checking that 
> PPR/DT is valid (not just between controller and device, but also given 
> bus mode) and only using echo buffer DV when all LVD conditions are met 
> would likely solve the problem (assuming that the problem is what you 
> are referring to).

I think so (pending confirmation of the patch working).  The current DV
code assumes that if the device claims DT support in the INQUIRY data
*and* it returns a valid descriptor to the READ_BUFFER descriptors
command then enhanced DV should be attempted.

What I'm contemplating doing (which is what you also suggest) is
tightening up the check so if the standard DV read tests produce a
negotiation that doesn't set DT then we won't attempt enhanced DV

James



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

* Re: Bug#338089: New aic7xxx driver fails spectacularly on 2940UW
@ 2005-11-14 10:15 emmanuel.fuste
  0 siblings, 0 replies; 19+ messages in thread
From: emmanuel.fuste @ 2005-11-14 10:15 UTC (permalink / raw)
  To: linux-scsi

Hello,

Any chance that my problem was the same ?

http://marc.theaimsgroup.com/?l=linux-scsi&m=113054328331563&w=2

If you think so, I could give it a try (compilation is darm
slow on my computer, so I will wait your yes/no ...).

Emmanuel.

Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)



-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: Bug#338089: New aic7xxx driver fails spectacularly on 2940UW
  2005-11-13 17:46             ` James Bottomley
@ 2005-11-15  0:45               ` Graham Knap
  2005-11-16  2:37                 ` Horms
  0 siblings, 1 reply; 19+ messages in thread
From: Graham Knap @ 2005-11-15  0:45 UTC (permalink / raw)
  To: James Bottomley, Doug Ledford; +Cc: Horms, 338089, linux-scsi

[-- Attachment #1: Type: text/plain, Size: 1239 bytes --]

James Bottomley <James.Bottomley@SteelEye.com> wrote:
> Can you try with the attached patch, which will force DV to ignore
> the echo buffer write tests?

I'll certainly try.

The kernel I was using was a prebuilt Debian kernel. I'm not sure how
to rebuild it from source. Horms, if you could point me in the right
direction, I'll give it a try. 

For now, I've built a kernel using the linux-source-2.6.14 package
(version 2.6.14-2). It's massively stripped down so that it compiles in
a semi-reasonable amount of time on this very slow PC.

Strangely, this one boots. It throws out a lot of error messages, but
it boots. I'll attach the configuration and the log here.

Is there still any need to try this patch?

> --- a/drivers/scsi/scsi_transport_spi.c
> +++ b/drivers/scsi/scsi_transport_spi.c
> @@ -816,8 +816,10 @@ spi_dv_device_internal(struct scsi_devic
>  	 * do the SPI pattern write tests */
>  
>  	len = 0;
> +#if 0
>  	if (scsi_device_dt(sdev))
>  		len = spi_dv_device_get_echo_buffer(sdev, buffer);
> +#endif
>  
>   retry:

The boot log shows that execution is getting past there, to line 846:

 target0:0:0: Domain Validation skipping write tests

Sorry for the confusion. Let me know what I should try next.

-- graham

[-- Attachment #2: 2957028909-config-2.6.14-test1 --]
[-- Type: application/octet-stream, Size: 29258 bytes --]

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.14-test1
# Sun Nov 13 15:22:42 2005
#
CONFIG_X86=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
# CONFIG_CLEAN_COMPILE is not set
CONFIG_BROKEN=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32

#
# General setup
#
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y
CONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not set
CONFIG_SYSCTL=y
# CONFIG_AUDIT is not set
CONFIG_HOTPLUG=y
CONFIG_KOBJECT_UEVENT=y
# CONFIG_IKCONFIG is not set
CONFIG_INITRAMFS_SOURCE=""
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SHMEM=y
CONFIG_CC_ALIGN_FUNCTIONS=0
CONFIG_CC_ALIGN_LABELS=0
CONFIG_CC_ALIGN_LOOPS=0
CONFIG_CC_ALIGN_JUMPS=0
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y

#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
CONFIG_MPENTIUMII=y
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_HPET_TIMER=y
# CONFIG_SMP is not set
# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_TSC=y
CONFIG_X86_MCE=y
# CONFIG_X86_MCE_NONFATAL is not set
# CONFIG_X86_MCE_P4THERMAL is not set
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
CONFIG_MICROCODE=m
CONFIG_X86_MSR=m
CONFIG_X86_CPUID=m

#
# Firmware Drivers
#
# CONFIG_EDD is not set
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
# CONFIG_SPARSEMEM_STATIC is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
CONFIG_REGPARM=y
CONFIG_SECCOMP=y
# CONFIG_HZ_100 is not set
CONFIG_HZ_250=y
# CONFIG_HZ_1000 is not set
CONFIG_HZ=250
CONFIG_PHYSICAL_START=0x100000
# CONFIG_KEXEC is not set

#
# Power management options (ACPI, APM)
#
# CONFIG_PM is not set

#
# ACPI (Advanced Configuration and Power Interface) Support
#
# CONFIG_ACPI is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
# CONFIG_PCIEPORTBUS is not set
CONFIG_PCI_MSI=y
# CONFIG_PCI_LEGACY_PROC is not set
# CONFIG_PCI_DEBUG is not set
CONFIG_ISA_DMA_API=y
CONFIG_ISA=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set

#
# PCCARD (PCMCIA/CardBus) support
#
# CONFIG_PCCARD is not set

#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set

#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_AOUT is not set
CONFIG_BINFMT_MISC=m

#
# Networking
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=m
CONFIG_PACKET_MMAP=y
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_FIB_HASH=y
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
CONFIG_SYN_COOKIES=y
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_TUNNEL is not set
# CONFIG_INET_DIAG is not set
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_BIC=y
# CONFIG_IPV6 is not set
# CONFIG_NETFILTER is not set

#
# DCCP Configuration (EXPERIMENTAL)
#
# CONFIG_IP_DCCP is not set

#
# SCTP Configuration (EXPERIMENTAL)
#
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_BRIDGE is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_SCHED is not set
# CONFIG_NET_CLS_ROUTE is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_IEEE80211 is not set

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=m
# CONFIG_DEBUG_DRIVER is not set

#
# Connector - unified userspace <-> kernelspace linker
#
# CONFIG_CONNECTOR is not set

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
# CONFIG_PARPORT_SERIAL is not set
CONFIG_PARPORT_PC_FIFO=y
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_GSC is not set
CONFIG_PARPORT_1284=y

#
# Plug and Play support
#
CONFIG_PNP=y
# CONFIG_PNP_DEBUG is not set

#
# Protocols
#
CONFIG_ISAPNP=y
CONFIG_PNPBIOS=y
CONFIG_PNPBIOS_PROC_FS=y

#
# Block devices
#
CONFIG_BLK_DEV_FD=m
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_CRYPTOLOOP=m
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_UB is not set
# CONFIG_BLK_DEV_RAM is not set
CONFIG_BLK_DEV_RAM_COUNT=16
# CONFIG_LBD is not set
# CONFIG_CDROM_PKTCDVD is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=m
CONFIG_IOSCHED_DEADLINE=m
CONFIG_IOSCHED_CFQ=m
# CONFIG_ATA_OVER_ETH is not set

#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=m
CONFIG_BLK_DEV_IDE=m

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=m
# CONFIG_IDEDISK_MULTI_MODE is not set
CONFIG_BLK_DEV_IDECD=m
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_IDE_TASK_IOCTL is not set

#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=m
# CONFIG_BLK_DEV_CMD640 is not set
CONFIG_BLK_DEV_IDEPNP=m
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_BLK_DEV_GENERIC=m
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_ATIIXP is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
CONFIG_BLK_DEV_PIIX=m
# CONFIG_BLK_DEV_IT821X is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_ARM is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_BLK_DEV_HD is not set

#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=m
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=m
# CONFIG_CHR_DEV_SCH is not set

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
# CONFIG_SCSI_MULTI_LUN is not set
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y

#
# SCSI Transport Attributes
#
CONFIG_SCSI_SPI_ATTRS=y
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set

#
# SCSI low-level drivers
#
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AACRAID is not set
CONFIG_SCSI_AIC7XXX=y
CONFIG_AIC7XXX_CMDS_PER_DEVICE=8
CONFIG_AIC7XXX_RESET_DELAY_MS=15000
CONFIG_AIC7XXX_DEBUG_ENABLE=y
CONFIG_AIC7XXX_DEBUG_MASK=2047
CONFIG_AIC7XXX_REG_PRETTY_PRINT=y
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_MEGARAID_SAS is not set
# CONFIG_SCSI_SATA is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_CPQFCTS is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLA2XXX is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set

#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set

#
# Fusion MPT device support
#
# CONFIG_FUSION is not set
# CONFIG_FUSION_SPI is not set
# CONFIG_FUSION_FC is not set
# CONFIG_FUSION_SAS is not set

#
# IEEE 1394 (FireWire) support
#
# CONFIG_IEEE1394 is not set

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Network device support
#
CONFIG_NETDEVICES=y
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_NET_SB1000 is not set

#
# ARCnet devices
#
# CONFIG_ARCNET is not set

#
# PHY device support
#
# CONFIG_PHYLIB is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_MII=m
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_CASSINI is not set
CONFIG_NET_VENDOR_3COM=y
# CONFIG_EL1 is not set
# CONFIG_EL2 is not set
# CONFIG_ELPLUS is not set
# CONFIG_EL16 is not set
# CONFIG_EL3 is not set
# CONFIG_3C515 is not set
CONFIG_VORTEX=m
# CONFIG_TYPHOON is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
# CONFIG_B44 is not set
# CONFIG_FORCEDETH is not set
# CONFIG_CS89x0 is not set
# CONFIG_EEPRO100 is not set
CONFIG_E100=m
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_NET_POCKET is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SIS190 is not set
# CONFIG_SKGE is not set
# CONFIG_SK98LIN is not set
# CONFIG_VIA_VELOCITY is not set
# CONFIG_TIGON3 is not set
# CONFIG_BNX2 is not set

#
# Ethernet (10000 Mbit)
#
# CONFIG_CHELSIO_T1 is not set
# CONFIG_IXGB is not set
# CONFIG_S2IO is not set

#
# Token Ring devices
#
# CONFIG_TR is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
# CONFIG_NET_FC is not set
# CONFIG_SHAPER is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=m
# CONFIG_INPUT_TSDEV is not set
CONFIG_INPUT_EVDEV=m
CONFIG_INPUT_EVBUG=m

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=m
CONFIG_MOUSE_SERIAL=m
# CONFIG_MOUSE_INPORT is not set
# CONFIG_MOUSE_LOGIBM is not set
# CONFIG_MOUSE_PC110PAD is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=m
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_GAMEPORT is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_NR_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set
CONFIG_PRINTER=m
# CONFIG_LP_CONSOLE is not set
# CONFIG_PPDEV is not set
# CONFIG_TIPAR is not set

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
CONFIG_RTC=m
CONFIG_GEN_RTC=m
CONFIG_GEN_RTC_X=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
CONFIG_AGP=m
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
CONFIG_AGP_INTEL=m
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_EFFICEON is not set
CONFIG_DRM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
# CONFIG_DRM_I915 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HANGCHECK_TIMER is not set

#
# TPM devices
#
# CONFIG_TCG_TPM is not set

#
# I2C support
#
# CONFIG_I2C is not set

#
# Dallas's 1-wire bus
#
# CONFIG_W1 is not set

#
# Hardware Monitoring support
#
# CONFIG_HWMON is not set
# CONFIG_HWMON_VID is not set

#
# Misc devices
#
# CONFIG_IBM_ASM is not set

#
# Multimedia Capabilities Port drivers
#

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set

#
# Graphics support
#
# CONFIG_FB is not set
CONFIG_VIDEO_SELECT=y

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y

#
# Sound
#
CONFIG_SOUND=m

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_GENERIC_DRIVER=y

#
# Generic devices
#
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
CONFIG_SND_MPU401=m

#
# ISA devices
#
# CONFIG_SND_AD1816A is not set
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_ES968 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_SB8 is not set
CONFIG_SND_SB16=m
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_SB16_CSP is not set
# CONFIG_SND_WAVEFRONT is not set
# CONFIG_SND_ALS100 is not set
# CONFIG_SND_AZT2320 is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_DT019X is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_AC97_BUS=m

#
# PCI devices
#
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
CONFIG_SND_EMU10K1=m
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_HDA_INTEL is not set

#
# USB devices
#
CONFIG_SND_USB_AUDIO=m
# CONFIG_SND_USB_USX2Y is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# USB support
#
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_OTG is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_EHCI_SPLIT_ISO=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
# CONFIG_USB_ISP116X_HCD is not set
CONFIG_USB_OHCI_HCD=m
# CONFIG_USB_OHCI_BIG_ENDIAN is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=m
# CONFIG_USB_SL811_HCD is not set

#
# USB Device Class drivers
#
# CONFIG_OBSOLETE_OSS_USB_DRIVER is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=m

#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information
#
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_DPCM=y
# CONFIG_USB_STORAGE_USBAT is not set
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_STORAGE_JUMPSHOT=y
# CONFIG_USB_STORAGE_ONETOUCH is not set

#
# USB Input Devices
#
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not set
CONFIG_USB_HIDDEV=y

#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_ACECAD is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_MTOUCH is not set
# CONFIG_USB_ITMTOUCH is not set
# CONFIG_USB_EGALAX is not set
# CONFIG_USB_YEALINK is not set
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set
# CONFIG_USB_KEYSPAN_REMOTE is not set
# CONFIG_USB_APPLETOUCH is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set

#
# USB Multimedia devices
#

#
# Video4Linux support is needed for USB Multimedia device support
#

#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set
CONFIG_USB_MON=y

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGETKIT is not set
# CONFIG_USB_PHIDGETSERVO is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TEST is not set

#
# USB DSL modem support
#

#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set

#
# MMC/SD Card support
#
# CONFIG_MMC is not set

#
# InfiniBand support
#
# CONFIG_INFINIBAND is not set

#
# SN Devices
#

#
# File systems
#
CONFIG_EXT2_FS=m
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XIP is not set
CONFIG_EXT3_FS=y
# CONFIG_EXT3_FS_XATTR is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_REISERFS_FS=m
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_REISERFS_FS_XATTR is not set
# CONFIG_JFS_FS is not set
# CONFIG_FS_POSIX_ACL is not set
# CONFIG_XFS_FS is not set
CONFIG_MINIX_FS=m
# CONFIG_ROMFS_FS is not set
# CONFIG_INOTIFY is not set
# CONFIG_QUOTA is not set
CONFIG_DNOTIFY=y
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
# CONFIG_FUSE_FS is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=m
CONFIG_UDF_FS=m
CONFIG_UDF_NLS=y

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
# CONFIG_NTFS_RW is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y
# CONFIG_RELAYFS_FS is not set

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_ASFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
CONFIG_CRAMFS=y
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Network File Systems
#
# CONFIG_NFS_FS is not set
# CONFIG_NFSD is not set
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
# CONFIG_9P_FS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y

#
# Native Language Support
#
CONFIG_NLS=m
CONFIG_NLS_DEFAULT="cp437"
CONFIG_NLS_CODEPAGE_437=m
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=m
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ASCII=m
CONFIG_NLS_ISO8859_1=m
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=m
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=m

#
# Profiling support
#
# CONFIG_PROFILING is not set

#
# Kernel hacking
#
# CONFIG_PRINTK_TIME is not set
CONFIG_DEBUG_KERNEL=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_DETECT_SOFTLOCKUP=y
# CONFIG_SCHEDSTATS is not set
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_FS is not set
# CONFIG_FRAME_POINTER is not set
CONFIG_EARLY_PRINTK=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
# CONFIG_KPROBES is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_4KSTACKS is not set
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_MPPARSE=y

#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
CONFIG_CRYPTO=y
# CONFIG_CRYPTO_HMAC is not set
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_MD4 is not set
# CONFIG_CRYPTO_MD5 is not set
# CONFIG_CRYPTO_SHA1 is not set
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_WP512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_DES is not set
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_AES_586 is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_ARC4 is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_ANUBIS is not set
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_CRC32C is not set
# CONFIG_CRYPTO_TEST is not set

#
# Hardware crypto devices
#
# CONFIG_CRYPTO_DEV_PADLOCK is not set

#
# Library routines
#
# CONFIG_CRC_CCITT is not set
# CONFIG_CRC16 is not set
# CONFIG_CRC32 is not set
# CONFIG_LIBCRC32C is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_X86_BIOS_REBOOT=y
CONFIG_PC=y

[-- Attachment #3: 3010661882-bootlog-test1.txt --]
[-- Type: text/plain, Size: 11661 bytes --]

Linux version 2.6.14-test1 () (root@testbox) (gcc version 4.0.3 20051023 (prerelease) (Debian 4.0.2-3)) #1 Sun Nov 13 15:45:23 EST 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000017ffd000 (usable)
 BIOS-e820: 0000000017ffd000 - 0000000017fff000 (ACPI data)
 BIOS-e820: 0000000017fff000 - 0000000018000000 (ACPI NVS)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
383MB LOWMEM available.
On node 0 totalpages: 98301
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 94205 pages, LIFO batch:31
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.0 present.
Allocating PCI resources starting at 20000000 (gap: 18000000:e7ff0000)
Built 1 zonelists
Kernel command line: root=/dev/sda3 ro
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffd000 (01302000)
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 501.231 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 386876k/393204k available (1440k kernel code, 5728k reserved, 475k data, 144k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 1003.66 BogoMIPS (lpj=2007329)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0183f9ff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0183f9ff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
CPU: After all inits, caps: 0183f9ff 00000000 00000000 00000040 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
mtrr: v2.0 (20020519)
CPU: Intel Celeron (Mendocino) stepping 05
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
softlockup thread 0 started up.
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xf06d0, last bus=1
PCI: Using configuration type 1
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00fd1a0
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xd1d0, dseg 0xf0000
PnPBIOS: 15 nodes reported by PnP BIOS; 15 recorded by driver
SCSI subsystem initialized
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI quirk: region e400-e43f claimed by PIIX4 ACPI
PCI quirk: region e800-e81f claimed by PIIX4 SMB
PIIX4 devres B PIO at 0290-0297
Boot video device is 0000:01:00.0
PCI: Using IRQ router PIIX/ICH [8086/7110] at 0000:00:04.0
pnp: 00:0f: ioport range 0x290-0x297 has been reserved
pnp: 00:0f: ioport range 0xe400-0xe43f has been reserved
pnp: 00:0f: ioport range 0xe800-0xe83f could not be reserved
PCI: Bridge: 0000:00:01.0
  IO window: disabled.
  MEM window: d6000000-d7dfffff
  PREFETCH window: d7f00000-e3ffffff
Initializing Cryptographic API
Limiting direct PCI/PCI transfers.
isapnp: Scanning for PnP cards...
pnp: SB audio device quirk - increasing port range
isapnp: Card 'Creative SB16 PnP'
isapnp: 1 Plug & Play card detected total
PNP: PS/2 Controller [PNP0303,PNP0f13] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
io scheduler noop registered
PCI: Found IRQ 9 for device 0000:00:0a.0
ahc_pci:0:10:0: hardware scb 64 bytes; kernel scb 52 bytes; ahc_dma 8 bytes
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
        <Adaptec 2940 Ultra SCSI adapter>
        aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs

  Vendor: IBM       Model: DDYS-T09170N      Rev: S80D
  Type:   Direct-Access                      ANSI SCSI revision: 03
scsi0:A:0:0: Tagged Queuing enabled.  Depth 8
 target0:0:0: Beginning Domain Validation
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0xc0
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x20
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x3
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x1
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x2
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x3
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x1
scsi0:A:0:0: INITIATOR_MSG_OUT PHASEMIS in Message-in phase
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x1
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x2
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x3
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x1
scsi0:A:0:0: Asserting ATN for response
scsi0:A:0:0: INITIATOR_MSG_IN PHASEMIS in Message-out phase
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x1
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x3
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x1
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x45
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x0
scsi0:A:0:0: INITIATOR_MSG_OUT PHASEMIS in Message-in phase
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x1
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x3
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x1
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x45
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x0
 target0:0:0: wide asynchronous.
scsi0:A:0:0: INITIATOR_MSG_IN PHASEMIS in Command phase
(scsi0:A:0:0): SCB 2: requests Check Status
(scsi0:A:0:0): Sending Sense
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x80
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x1
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x2
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x3
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x1
scsi0:A:0:0: INITIATOR_MSG_OUT PHASEMIS in Message-in phase
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x1
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x2
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x3
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x1
scsi0:A:0:0: Asserting ATN for response
scsi0:A:0:0: INITIATOR_MSG_IN PHASEMIS in Message-out phase
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x1
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x3
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x1
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x45
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x0
scsi0:A:0:0: INITIATOR_MSG_OUT PHASEMIS in Message-in phase
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x1
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x3
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x1
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x45
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x0
scsi0:A:0:0: INITIATOR_MSG_IN PHASEMIS in Command phase
Copied 32 bytes of sense data:
0x70 0x0 0x6 0x0 0x0 0x0 0x0 0x18 0x0 0x0 0x0 0x0 0x29 0x2 0x0 0x0 
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 
 target0:0:0: Domain Validation skipping write tests
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0xc0
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x20
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x3
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x1
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x3
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x1
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0xc
scsi0:A:0:0: INITIATOR_MSG_OUT byte 0x8
scsi0:A:0:0: INITIATOR_MSG_OUT PHASEMIS in Message-in phase
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x1
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x3
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x1
scsi0:A:0:0: INITIATOR_MSG_IN byte 0xc
scsi0:A:0:0: INITIATOR_MSG_IN byte 0x8
 target0:0:0: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 8)
scsi0:A:0:0: INITIATOR_MSG_IN PHASEMIS in Command phase
 target0:0:0: Ending Domain Validation
(scsi0:A:0:0): Handled Residual of 4080 bytes
(scsi0:A:1:0): Saw Selection Timeout for SCB 0x2
(scsi0:A:2:0): Saw Selection Timeout for SCB 0x3
(scsi0:A:3:0): Saw Selection Timeout for SCB 0x2
(scsi0:A:4:0): Saw Selection Timeout for SCB 0x3
(scsi0:A:5:0): Saw Selection Timeout for SCB 0x2
(scsi0:A:6:0): Saw Selection Timeout for SCB 0x3
(scsi0:A:8:0): Saw Selection Timeout for SCB 0x2
(scsi0:A:9:0): Saw Selection Timeout for SCB 0x3
(scsi0:A:10:0): Saw Selection Timeout for SCB 0x2
(scsi0:A:11:0): Saw Selection Timeout for SCB 0x3
(scsi0:A:12:0): Saw Selection Timeout for SCB 0x2
(scsi0:A:13:0): Saw Selection Timeout for SCB 0x3
(scsi0:A:14:0): Saw Selection Timeout for SCB 0x2
(scsi0:A:15:0): Saw Selection Timeout for SCB 0x3
SCSI device sda: 17916240 512-byte hdwr sectors (9173 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 17916240 512-byte hdwr sectors (9173 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3 sda4 < sda5 >
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
input: AT Translated Set 2 keyboard on isa0060/serio0
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 4, 65536 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
Using IPI Shortcut mode
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 144k freed
Adding 257004k swap on /dev/sda1.  Priority:-1 extents:1 across:257004k
EXT3 FS on sda3, internal journal
Real Time Clock Driver v1.12
Generic RTC Driver v1.07
Linux agpgart interface v0.101 (c) Dave Jones
PCI: Found IRQ 9 for device 0000:00:0b.0
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
0000:00:0b.0: 3Com PCI 3c905C Tornado at 0xb800. Vers LK1.1.19
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.3
PCI: Found IRQ 9 for device 0000:00:04.2
uhci_hcd 0000:00:04.2: UHCI Host Controller
uhci_hcd 0000:00:04.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:04.2: irq 9, io base 0x0000d400
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
agpgart: Detected an Intel 440LX Chipset.
agpgart: AGP aperture is 64M @ 0xe4000000
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
input: ImExPS/2 Logitech Wheel Mouse on isa0060/serio1
PCI: Found IRQ 9 for device 0000:00:0b.0
NET: Registered protocol family 17
nvidia: module license 'NVIDIA' taints kernel.
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-7174  Tue Mar 22 06:44:39 PST 2005
agpgart: Found an AGP 1.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 2x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 2x mode
agpgart: Found an AGP 1.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 2x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 2x mode
PIIX4: IDE controller at PCI slot 0000:00:04.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
Probing IDE interface ide1...
hdc: HL-DT-ST GCE-8526B, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide0...
hdc: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
sb: can't grab port 0xdc
Sound Blaster 16+ soundcard #0 not found at 0xdc or device busy
pnp: Device 01:01.00 activated.

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

* Re: Bug#338089: New aic7xxx driver fails spectacularly on 2940UW
  2005-11-15  0:45               ` Graham Knap
@ 2005-11-16  2:37                 ` Horms
  0 siblings, 0 replies; 19+ messages in thread
From: Horms @ 2005-11-16  2:37 UTC (permalink / raw)
  To: Graham Knap; +Cc: James Bottomley, Doug Ledford, 338089, linux-scsi

On Mon, Nov 14, 2005 at 07:45:20PM -0500, Graham Knap wrote:
> James Bottomley <James.Bottomley@SteelEye.com> wrote:
> > Can you try with the attached patch, which will force DV to ignore
> > the echo buffer write tests?
> 
> I'll certainly try.
> 
> The kernel I was using was a prebuilt Debian kernel. I'm not sure how
> to rebuild it from source. Horms, if you could point me in the right
> direction, I'll give it a try. 

That depends exactly what you want to build. To just make an image
for testing, upacking the tarball supplied by linux-source-2.6.14,
using the config that came with linux-image-XYZ in /boot, and
optionally using make-kpkg, should work. Though I think you
have most of that happening.

> 
> For now, I've built a kernel using the linux-source-2.6.14 package
> (version 2.6.14-2). It's massively stripped down so that it compiles in
> a semi-reasonable amount of time on this very slow PC.

There isn't a great deal I can suggest in order to speed up builds,
except perhaps using ccache, or trimming the config as you have done.

If you need me to build stuff for you, I'm happy to oblige, 
though obviously there are extra email round-trips involved.

-- 
Horms

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

* Re: Bug#338089: New aic7xxx driver fails spectacularly on 2940UW
@ 2005-11-21  2:21 Graham Knap
  2005-11-28 21:41 ` James Bottomley
  0 siblings, 1 reply; 19+ messages in thread
From: Graham Knap @ 2005-11-21  2:21 UTC (permalink / raw)
  To: Horms, James Bottomley, Doug Ledford, 338089; +Cc: linux-scsi

[-- Attachment #1: Type: text/plain, Size: 733 bytes --]

Hi guys,

This week I recreated the Debian kernel per Horms' instructions. I then
applied James' source patch, and recompiled.

> --- a/drivers/scsi/scsi_transport_spi.c
> +++ b/drivers/scsi/scsi_transport_spi.c
> @@ -816,8 +816,10 @@ spi_dv_device_internal(struct scsi_devic
>  	 * do the SPI pattern write tests */
>  
>  	len = 0;
> +#if 0
>  	if (scsi_device_dt(sdev))
>  		len = spi_dv_device_get_echo_buffer(sdev, buffer);
> +#endif
>  
>   retry:

Sure enough, the kernel now boots. I'll attach the "dmesg" output here.

Do you guys have a "final" patch in mind?

Let me know if there are other tests you'd like me to run. Now that I
know how to do this, I should be able to turn around test results
fairly quickly.

-- graham

[-- Attachment #2: 849303854-bootlog-2.6.14-p.txt --]
[-- Type: text/plain, Size: 10082 bytes --]

Linux version 2.6.14-p () (root@testbox) (gcc version 4.0.3 20051111 (prerelease) (Debian 4.0.2-4)) #1 Fri Nov 18 22:01:49 EST 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000017ffd000 (usable)
 BIOS-e820: 0000000017ffd000 - 0000000017fff000 (ACPI data)
 BIOS-e820: 0000000017fff000 - 0000000018000000 (ACPI NVS)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
383MB LOWMEM available.
On node 0 totalpages: 98301
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 94205 pages, LIFO batch:31
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.0 present.
ACPI: RSDP (v000 ASUS                                  ) @ 0x000f7dd0
ACPI: RSDT (v001 ASUS   P2L-B    0x58582e31 ASUS 0x31303030) @ 0x17ffd000
ACPI: FADT (v001 ASUS   P2L-B    0x58582e31 ASUS 0x31303030) @ 0x17ffd080
ACPI: BOOT (v001 ASUS   P2L-B    0x58582e31 ASUS 0x31303030) @ 0x17ffd040
ACPI: DSDT (v001   ASUS P2L-B    0x00001000 MSFT 0x01000001) @ 0x00000000
ACPI: PM-Timer IO Port: 0xe408
Allocating PCI resources starting at 20000000 (gap: 18000000:e7ff0000)
Built 1 zonelists
Kernel command line: root=/dev/sda3 ro
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffd000 (01302000)
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 501.146 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 385200k/393204k available (1803k kernel code, 7400k reserved, 512k data, 180k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 1002.80 BogoMIPS (lpj=501404)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0183f9ff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0183f9ff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
CPU: After all inits, caps: 0183f9ff 00000000 00000000 00000040 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
mtrr: v2.0 (20020519)
CPU: Intel Celeron (Mendocino) stepping 05
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
ACPI: setting ELCR to 0200 (from 0a00)
checking if image is initramfs... it is
softlockup thread 0 started up.
Freeing initrd memory: 1144k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf06d0, last bus=1
PCI: Using configuration type 1
ACPI: Subsystem revision 20050902
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
PCI quirk: region e400-e43f claimed by PIIX4 ACPI
PCI quirk: region e800-e81f claimed by PIIX4 SMB
PIIX4 devres B PIO at 0290-0297
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 12 devices
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
pnp: 00:01: ioport range 0xe400-0xe43f could not be reserved
pnp: 00:01: ioport range 0xe800-0xe80f has been reserved
pnp: 00:01: ioport range 0x294-0x297 has been reserved
PCI: Bridge: 0000:00:01.0
  IO window: disabled.
  MEM window: d6000000-d7dfffff
  PREFETCH window: d7f00000-e3ffffff
Simple Boot Flag at 0x46 set to 0x1
audit: initializing netlink socket (disabled)
audit(1132520898.064:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
Limiting direct PCI/PCI transfers.
isapnp: Scanning for PnP cards...
pnp: SB audio device quirk - increasing port range
isapnp: Card 'Creative SB16 PnP'
isapnp: 1 Plug & Play card detected total
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 4, 65536 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI Shortcut mode
ACPI wakeup devices: 
PCI0 UAR1 UAR2 PS2M USB0 
ACPI: (supports S0 S1 S4 S5)
Freeing unused kernel memory: 180k freed
input: AT Translated Set 2 keyboard on isa0060/serio0
mice: PS/2 mouse device common for all mice
SCSI subsystem initialized
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 9
PCI: setting IRQ 9 as level-triggered
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 9 (level, low) -> IRQ 9
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
        <Adaptec 2940 Ultra SCSI adapter>
        aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs

  Vendor: IBM       Model: DDYS-T09170N      Rev: S80D
  Type:   Direct-Access                      ANSI SCSI revision: 03
scsi0:A:0:0: Tagged Queuing enabled.  Depth 8
 target0:0:0: Beginning Domain Validation
 target0:0:0: wide asynchronous.
 target0:0:0: Domain Validation skipping write tests
 target0:0:0: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 8)
 target0:0:0: Ending Domain Validation
SCSI device sda: 17916240 512-byte hdwr sectors (9173 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 17916240 512-byte hdwr sectors (9173 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3 sda4 < sda5 >
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: sda3: orphan cleanup on readonly fs
ext3_orphan_cleanup: deleting unreferenced inode 199559
EXT3-fs: sda3: 1 orphan inode deleted
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
NET: Registered protocol family 1
Adding 257004k swap on /dev/sda1.  Priority:-1 extents:1 across:257004k
EXT3 FS on sda3, internal journal
Real Time Clock Driver v1.12
Generic RTC Driver v1.07
md: md driver 0.90.2 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 3.39
Linux agpgart interface v0.101 (c) Dave Jones
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 9
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKB] -> GSI 9 (level, low) -> IRQ 9
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
0000:00:0b.0: 3Com PCI 3c905C Tornado at 0xb800. Vers LK1.1.19
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.3
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 9
ACPI: PCI Interrupt 0000:00:04.2[D] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
uhci_hcd 0000:00:04.2: UHCI Host Controller
uhci_hcd 0000:00:04.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:04.2: irq 9, io base 0x0000d400
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
agpgart: Detected an Intel 440LX Chipset.
agpgart: AGP aperture is 64M @ 0xe4000000
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
piix4_smbus 0000:00:04.3: Found 0000:00:04.3 device
input: PC Speaker
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
input: ImExPS/2 Logitech Wheel Mouse on isa0060/serio1
ts: Compaq touchscreen protocol output
pnp: Device 01:01.03 activated.
gameport: NS558 PnP Gameport is pnp01:01.03/gameport0, io 0x200, speed 784kHz
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKB] -> GSI 9 (level, low) -> IRQ 9
NET: Registered protocol family 17
NET: Registered protocol family 10
Disabled Privacy Extensions on device c03148a0(lo)
IPv6 over IPv4 tunneling driver
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-7174  Tue Mar 22 06:44:39 PST 2005
agpgart: Found an AGP 1.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 2x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 2x mode
agpgart: Found an AGP 1.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 2x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 2x mode
eth0: no IPv6 routers present

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

* Re: Bug#338089: New aic7xxx driver fails spectacularly on 2940UW
  2005-11-21  2:21 Bug#338089: New aic7xxx driver fails spectacularly on 2940UW Graham Knap
@ 2005-11-28 21:41 ` James Bottomley
  2005-11-28 22:26   ` Doug Ledford
                     ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: James Bottomley @ 2005-11-28 21:41 UTC (permalink / raw)
  To: Graham Knap; +Cc: Horms, Doug Ledford, 338089, linux-scsi

On Sun, 2005-11-20 at 21:21 -0500, Graham Knap wrote:
> Sure enough, the kernel now boots. I'll attach the "dmesg" output here.
> 
> Do you guys have a "final" patch in mind?
> 
> Let me know if there are other tests you'd like me to run. Now that I
> know how to do this, I should be able to turn around test results
> fairly quickly.

OK, try the attached.  If it works out, I'll soak it in -mm for a while
and then try to put it in as a bug fix for 2.6.15.

James

diff --git a/drivers/scsi/scsi_transport_spi.c b/drivers/scsi/scsi_transport_spi.c
--- a/drivers/scsi/scsi_transport_spi.c
+++ b/drivers/scsi/scsi_transport_spi.c
@@ -812,12 +812,10 @@ spi_dv_device_internal(struct scsi_devic
 	if (!scsi_device_sync(sdev) && !scsi_device_dt(sdev))
 		return;
 
-	/* see if the device has an echo buffer.  If it does we can
-	 * do the SPI pattern write tests */
-
-	len = 0;
-	if (scsi_device_dt(sdev))
-		len = spi_dv_device_get_echo_buffer(sdev, buffer);
+	/* len == -1 is the signal that we need to ascertain the
+	 * presence of an echo buffer before trying to use it.  len ==
+	 * 0 means we don't have an echo buffer */
+	len = -1;
 
  retry:
 
@@ -840,11 +838,23 @@ spi_dv_device_internal(struct scsi_devic
 		if (spi_min_period(starget) == 8)
 			DV_SET(pcomp_en, 1);
 	}
+	/* Do the read only INQUIRY tests */
+	spi_dv_retrain(sdev, buffer, buffer + sdev->inquiry_len,
+		       spi_dv_device_compare_inquiry);
+	/* See if we actually managed to negotiate and sustain DT */
+	if (i->f->get_dt)
+		i->f->get_dt(starget);
+
+	/* see if the device has an echo buffer.  If it does we can do
+	 * the SPI pattern write tests.  Because of some broken
+	 * devices, we *only* try this on a device that has actually
+	 * negotiated DT */
+
+	if (len == -1 && spi_dt(starget))
+		len = spi_dv_device_get_echo_buffer(sdev, buffer);
 
-	if (len == 0) {
+	if (len <= 0) {
 		starget_printk(KERN_INFO, starget, "Domain Validation skipping write tests\n");
-		spi_dv_retrain(sdev, buffer, buffer + len,
-			       spi_dv_device_compare_inquiry);
 		return;
 	}
 



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

* Re: Bug#338089: New aic7xxx driver fails spectacularly on 2940UW
  2005-11-28 21:41 ` James Bottomley
@ 2005-11-28 22:26   ` Doug Ledford
  2005-12-05  1:49   ` Graham Knap
  2005-12-12 17:53   ` Florian Ernst
  2 siblings, 0 replies; 19+ messages in thread
From: Doug Ledford @ 2005-11-28 22:26 UTC (permalink / raw)
  To: James Bottomley; +Cc: Graham Knap, Horms, 338089, linux-scsi

James Bottomley wrote:
> On Sun, 2005-11-20 at 21:21 -0500, Graham Knap wrote:
>> Sure enough, the kernel now boots. I'll attach the "dmesg" output here.
>>
>> Do you guys have a "final" patch in mind?
>>
>> Let me know if there are other tests you'd like me to run. Now that I
>> know how to do this, I should be able to turn around test results
>> fairly quickly.
> 
> OK, try the attached.  If it works out, I'll soak it in -mm for a while
> and then try to put it in as a bug fix for 2.6.15.

[ snip ]

Nice patch, looks like the correct thing to do to me.


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

* Re: Bug#338089: New aic7xxx driver fails spectacularly on 2940UW
  2005-11-28 21:41 ` James Bottomley
  2005-11-28 22:26   ` Doug Ledford
@ 2005-12-05  1:49   ` Graham Knap
  2005-12-12 17:53   ` Florian Ernst
  2 siblings, 0 replies; 19+ messages in thread
From: Graham Knap @ 2005-12-05  1:49 UTC (permalink / raw)
  To: James Bottomley; +Cc: Horms, Doug Ledford, 338089, linux-scsi

James Bottomley <James.Bottomley@SteelEye.com> wrote:
> OK, try the attached.  If it works out, I'll soak it in -mm for
> a while and then try to put it in as a bug fix for 2.6.15.

<snip>

This works for me. The DV write tests are skipped and the system boots
cleanly. The boot messages are the same as when we ifdef'd out the "get
echo buffer" call.

-- graham

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

* Re: Bug#338089: New aic7xxx driver fails spectacularly on 2940UW
  2005-11-28 21:41 ` James Bottomley
  2005-11-28 22:26   ` Doug Ledford
  2005-12-05  1:49   ` Graham Knap
@ 2005-12-12 17:53   ` Florian Ernst
  2 siblings, 0 replies; 19+ messages in thread
From: Florian Ernst @ 2005-12-12 17:53 UTC (permalink / raw)
  To: 338089; +Cc: James Bottomley, Horms, Doug Ledford, linux-scsi

[-- Attachment #1: Type: text/plain, Size: 9555 bytes --]

Hello folks,

following up to this bugreport as I experience similar problems...

I have an ASUS P2B-S mainboard featuring an Adaptec AIC-7890 Ultra2
chipset with a single device connected, a TEAC CD-R55S cd-writer,
both working reliably ever since I bought them in 1998. The transport
setting are as follows:

| Adaptec AIC7xxx driver version: 6.2.36
| Adaptec aic7890/91 Ultra2 SCSI adapter
| aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
| Allocated SCBs: 4, SG List Length: 128
| 
| Serial EEPROM:
| 0x01bb 0x01bb 0x01bb 0x03f8 0x01f8 0x01bb 0x01bb 0x01bb
| 0x01bb 0x01bb 0x01bb 0x01bb 0x01bb 0x01bb 0x01bb 0x01bb
| 0x18a6 0x1c5e 0x2807 0x3010 0x0300 0xffff 0xffff 0xffff
| 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0x0300 0xb140
| 
| Target 0 Negotiation Settings
|         User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
| Target 1 Negotiation Settings
|         User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
| Target 2 Negotiation Settings
|         User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
| Target 3 Negotiation Settings
|         User: 20.000MB/s transfers (10.000MHz, offset 127, 16bit)
(I had an old CD-ROM drive here, but it finally broke a few weeks ago.)
| Target 4 Negotiation Settings
|         User: 10.000MB/s transfers (5.000MHz, offset 127, 16bit)
|         Goal: 10.000MB/s transfers (10.000MHz, offset 15)
|         Curr: 10.000MB/s transfers (10.000MHz, offset 15)
|         Channel A Target 4 Lun 0 Settings
|                 Commands Queued 48
|                 Commands Active 0
|                 Command Openings 1
|                 Max Tagged Openings 0
|                 Device Queue Frozen Count 0
| Target 5 Negotiation Settings
|         User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
| Target 6 Negotiation Settings
|         User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
| Target 7 Negotiation Settings
|         User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
| Target 8 Negotiation Settings
|         User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
| Target 9 Negotiation Settings
|         User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
| Target 10 Negotiation Settings
|         User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
| Target 11 Negotiation Settings
|         User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
| Target 12 Negotiation Settings
|         User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
| Target 13 Negotiation Settings
|         User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
| Target 14 Negotiation Settings
|         User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
| Target 15 Negotiation Settings
|         User: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)


Kernels up to 2.6.13.3 worked just fine (thanks guys!). However,
when using kernel source 2.6.14.3 from kernel.org, 2.6.14-4 or
2.6.14-5 from Debian Sid (the latter both with and without James'
patch, I just naively assumed it might help) the freshly-built
kernel will allow me to mount any discs just fine, but when I start
a CD recording program (k3b in my case) it won't come up at first,
only to claim no writer device has been found later on.

During this the syslog shows:

| Dec 12 17:40:04 live k3b: resmgr: communication failure: No such file or directory
| Dec 12 17:41:04 live kernel: scsi0:0:4:0: Attempting to queue an ABORT message
| Dec 12 17:41:04 live kernel: CDB: 0x12 0x0 0x0 0x0 0x24 0x0 0x0 0x0 0x0 0x0 0x0 0x0
| Dec 12 17:41:04 live kernel: scsi0: At time of recovery, card was not paused
| Dec 12 17:41:04 live kernel: >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
| Dec 12 17:41:04 live kernel: scsi0: Dumping Card State in Command phase, at SEQADDR 0xb7
| Dec 12 17:41:04 live kernel: Card was paused
| Dec 12 17:41:04 live kernel: ACCUM = 0x80, SINDEX = 0xa0, DINDEX = 0xe4, ARG_2 = 0x0
| Dec 12 17:41:04 live kernel: HCNT = 0xc SCBPTR = 0x0
| Dec 12 17:41:04 live kernel: SCSISIGI[0x44]:(BSYI|IOI) ERROR[0x0] SCSIBUSL[0x20]
| Dec 12 17:41:04 live kernel: LASTPHASE[0x80]:(CDI) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI)
| Dec 12 17:41:04 live kernel: SBLKCTL[0x6]:(SELWIDE|ENAB20) SCSIRATE[0x18]:(SINGLE_EDGE)
| Dec 12 17:41:04 live kernel: SEQCTL[0x10]:(FASTMODE) SEQ_FLAGS[0x0] SSTAT0[0x0]
| Dec 12 17:41:04 live kernel: SSTAT1[0x3]:(REQINIT|PHASECHG) SSTAT2[0x40]:(SHVALID)
| Dec 12 17:41:04 live kernel: SSTAT3[0xf]:(OFFCNT) SIMODE0[0x8]:(ENSWRAP) SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO)
| Dec 12 17:41:04 live kernel: SXFRCTL0[0x80]:(DFON) DFCNTRL[0x24]:(DIRECTION|SCSIEN)
| Dec 12 17:41:04 live kernel: DFSTATUS[0x80]:(PRELOAD_AVAIL)
| Dec 12 17:41:04 live kernel: STACK: 0x0 0x167 0x17d 0x35
| Dec 12 17:41:04 live kernel: SCB count = 4
| Dec 12 17:41:04 live kernel: Kernel NEXTQSCB = 3
| Dec 12 17:41:04 live kernel: Card NEXTQSCB = 3
| Dec 12 17:41:04 live kernel: QINFIFO entries:
| Dec 12 17:41:04 live kernel: Waiting Queue entries:
| Dec 12 17:41:04 live kernel: Disconnected Queue entries:
| Dec 12 17:41:04 live kernel: QOUTFIFO entries:
| Dec 12 17:41:04 live kernel: Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
| Dec 12 17:41:04 live kernel: Sequencer SCB Info:
| Dec 12 17:41:04 live kernel:   0 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0x47] SCB_LUN[0x0]
| Dec 12 17:41:04 live kernel: SCB_TAG[0x2]
| Dec 12 17:41:04 live kernel:   1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
| Dec 12 17:41:04 live kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
...now identically counting up from 2 to 30...
| Dec 12 17:41:04 live kernel:  31 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
| Dec 12 17:41:04 live kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
| Dec 12 17:41:04 live kernel: Pending list:
| Dec 12 17:41:04 live kernel:   2 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0x47] SCB_LUN[0x0]
| Dec 12 17:41:04 live kernel: Kernel Free SCB list: 1 0
| Dec 12 17:41:04 live kernel: Untagged Q(4): 2
| Dec 12 17:41:04 live kernel:
| Dec 12 17:41:04 live kernel: <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
| Dec 12 17:41:04 live kernel: scsi0:0:4:0: Device is active, asserting ATN
| Dec 12 17:41:04 live kernel: Recovery code sleeping
| Dec 12 17:41:09 live kernel: Recovery code awake
| Dec 12 17:41:09 live kernel: Timer Expired
| Dec 12 17:41:09 live kernel: aic7xxx_abort returns 0x2003
| Dec 12 17:41:09 live kernel: scsi0:0:4:0: Attempting to queue a TARGET RESET message
| Dec 12 17:41:09 live kernel: CDB: 0x12 0x0 0x0 0x0 0x24 0x0 0x0 0x0 0x0 0x0 0x0 0x0
| Dec 12 17:41:09 live kernel: aic7xxx_dev_reset returns 0x2003
| Dec 12 17:41:09 live kernel: Recovery SCB completes
| Dec 12 17:41:19 live kernel:  target0:0:4: FAST-10 SCSI 10.0 MB/s ST (100 ns, offset 15)
| Dec 12 17:42:19 live kernel: scsi0:0:4:0: Attempting to queue an ABORT message
| Dec 12 17:42:19 live kernel: CDB: 0x12 0x0 0x0 0x0 0x24 0x0 0x0 0x0 0x0 0x0 0x0 0x0
| Dec 12 17:42:19 live kernel: scsi0: At time of recovery, card was not paused
| Dec 12 17:42:19 live kernel: >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
| Dec 12 17:42:19 live kernel: scsi0: Dumping Card State in Command phase, at SEQADDR 0xb7
| Dec 12 17:42:19 live kernel: Card was paused
| Dec 12 17:42:19 live kernel: ACCUM = 0x80, SINDEX = 0xa0, DINDEX = 0xe4, ARG_2 = 0x0
| Dec 12 17:42:19 live kernel: HCNT = 0xc SCBPTR = 0x0
| Dec 12 17:42:19 live kernel: SCSISIGI[0x44]:(BSYI|IOI) ERROR[0x0] SCSIBUSL[0x20]
| Dec 12 17:42:19 live kernel: LASTPHASE[0x80]:(CDI) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI)
| Dec 12 17:42:19 live kernel: SBLKCTL[0x6]:(SELWIDE|ENAB20) SCSIRATE[0x18]:(SINGLE_EDGE)
| Dec 12 17:42:19 live kernel: SEQCTL[0x10]:(FASTMODE) SEQ_FLAGS[0x0] SSTAT0[0x0]
| Dec 12 17:42:19 live kernel: SSTAT1[0x3]:(REQINIT|PHASECHG) SSTAT2[0x40]:(SHVALID)
| Dec 12 17:42:19 live kernel: SSTAT3[0xf]:(OFFCNT) SIMODE0[0x8]:(ENSWRAP) SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO)
| Dec 12 17:42:19 live kernel: SXFRCTL0[0x80]:(DFON) DFCNTRL[0x24]:(DIRECTION|SCSIEN)
| Dec 12 17:42:19 live kernel: DFSTATUS[0x80]:(PRELOAD_AVAIL)
| Dec 12 17:42:19 live kernel: STACK: 0x0 0x167 0x17d 0x35
| Dec 12 17:42:19 live kernel: SCB count = 4
| Dec 12 17:42:19 live kernel: Kernel NEXTQSCB = 2
| Dec 12 17:42:19 live kernel: Card NEXTQSCB = 2
| Dec 12 17:42:19 live kernel: QINFIFO entries:
| Dec 12 17:42:19 live kernel: Waiting Queue entries:
| Dec 12 17:42:19 live kernel: Disconnected Queue entries:
| Dec 12 17:42:19 live kernel: QOUTFIFO entries:
| Dec 12 17:42:19 live kernel: Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
| Dec 12 17:42:19 live kernel: Sequencer SCB Info:
| Dec 12 17:42:19 live kernel:   0 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0x47] SCB_LUN[0x0]
| Dec 12 17:42:19 live kernel: SCB_TAG[0x3]
| Dec 12 17:42:19 live kernel:   1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
| Dec 12 17:42:19 live kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
...and now repeating this in a loop.


Well, I severely lack knowledge of kernel internals, so I'm quite lost
now. Please tell me what further information you might need, and I will
provide them.
Also I'm willing to test any patches that are thrown at me, so please
bear with me. :)


Cheers,
Flo

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2005-12-12 17:54 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-21  2:21 Bug#338089: New aic7xxx driver fails spectacularly on 2940UW Graham Knap
2005-11-28 21:41 ` James Bottomley
2005-11-28 22:26   ` Doug Ledford
2005-12-05  1:49   ` Graham Knap
2005-12-12 17:53   ` Florian Ernst
  -- strict thread matches above, loose matches on Subject: below --
2005-11-14 10:15 emmanuel.fuste
     [not found] <20051108024523.35622.qmail@web88006.mail.re2.yahoo.com>
2005-11-08  3:31 ` Horms
2005-11-08 14:10   ` James Bottomley
2005-11-09  1:47     ` Graham Knap
2005-11-13  4:16       ` James Bottomley
2005-11-13 16:47         ` Graham Knap
2005-11-13 17:41           ` Doug Ledford
2005-11-13 17:46             ` James Bottomley
2005-11-15  0:45               ` Graham Knap
2005-11-16  2:37                 ` Horms
2005-11-13 18:03             ` Graham Knap
2005-11-13 18:21               ` James Bottomley
2005-11-13 19:42                 ` Doug Ledford
2005-11-13 21:51                   ` James Bottomley

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).