Skip to contentSkip to conversation

tmscsim broken on amd64 with 2.6.5?

DISCUSSION Christian Roessner 3 participants 11 messages Apr 10, 2004 – Apr 13, 2004 SCSI

lore
Share & tools
lore
#0 lore raw

Hello,

I noticed that the tmscsim module seems to have problems with my DawiControl (2974??) and the TEAC CD writer. I told some people at [email protected] that the AM53C974 was the only driver that ever worked for me (2.4.x kernels). They said it was discussed here if to keep the driver in 2.6.x or not. They said the tmscsim would be preffered, so I send you some output with the hope you are able to fix it. A friend gave me an Adaptec 2940/UW, so I normally would not need to have this fixed, but I will wait and help you finding the error if you want to (Replacing the adapter later).

cat /proc/scsi/scsi:

Host: scsi1 Channel: 00 Id: 04 Lun: 00
Vendor: Model: } @ C Rev:
Type: Direct-Access ANSI SCSI revision: ffffffff

cat /proc/scsi/tmscsim/1

Tekram DC390/AM53C974 PCI SCSI Host Adapter, Driver Version 2.0f 2000-12-20 SCSI Host Nr 1, AM53C974 Adapter Nr 0
IOPortBase 0x9400, IRQ 11
MaxID 7, MaxLUN 1, AdapterID 7, SelTimeout 250 ms, DelayReset 1 s TagMaxNum 16, Status 0x00, ACBFlag 0x00, GlitchEater 24 ns
Statistics: Cmnds 15, Cmnds not sent directly 2, Out of SRB conds 0
Lost arbitrations 0, Sel. connected 0, Connected: No
Nr of attached devices: 1, Nr of DCBs: 1
Map of attached LUNs: 00 00 00 00 01 00 00 00
Idx ID LUN Prty Sync DsCn SndS TagQ NegoPeriod SyncSpeed SyncOffs MaxCmd
00 04 00 Yes No Yes Yes No (124 ns) 01
Commands in Queues: Query: 0:

My system:

lspci:
0000:00:00.0 Host bridge: nVidia Corporation nForce3 Host Bridge (rev a4) 0000:00:01.0 ISA bridge: nVidia Corporation nForce3 LPC Bridge (rev a6) 0000:00:01.1 SMBus: nVidia Corporation nForce3 SMBus (rev a4) 0000:00:02.0 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5) 0000:00:02.1 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5) 0000:00:02.2 USB Controller: nVidia Corporation nForce3 USB 2.0 (rev a2) 0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce3 Audio (rev a2)
0000:00:08.0 IDE interface: nVidia Corporation nForce3 IDE (rev a5) 0000:00:0a.0 PCI bridge: nVidia Corporation nForce3 PCI Bridge (rev a2) 0000:00:0b.0 PCI bridge: nVidia Corporation nForce3 AGP Bridge (rev a4) 0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge 0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge 0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge 0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge 0000:01:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:01:07.0 SCSI storage controller: Advanced Micro Devices [AMD] 53c974 [PCscsi] (rev 10)
0000:01:09.0 Multimedia video controller: Brooktree Corporation Bt848 Video Capture (rev 12)
0000:01:0a.0 Network controller: AVM Audiovisuelles MKTG & Computer System GmbH B1 ISDN
0000:01:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 (rev 10)
0000:01:0c.0 RAID bus controller: Integrated Technology Express, Inc.: Unknown device 8212 (rev 11)
0000:01:0d.0 RAID bus controller: CMD Technology Inc: Unknown device 3512 (rev
01)
0000:01:0e.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)
0000:02:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a2)

uname -a:

Linux amd64 2.6.5-gentoo #2 Fri Apr 9 01:34:26 CEST 2004 x86_64 4 GNU/Linux

gcc:

gcc (GCC) 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)

glibc:

2.3.3_pre20040207

Thanks in advance

Christian

#1 lore raw

Hi

Quoted 4 lines · Christian Roessner

I noticed that the tmscsim module seems to have problems with my DawiControl (2974??) and the TEAC CD writer. I told some people at [email protected] that the AM53C974 was the only driver that ever worked for me (2.4.x kernels). They said it was discussed here if to keep the

Ok, to try to fix the problem we'll have to enable very verbose debugging in scsi. The good thing about your problem is that you don't boot from tmscsim. So, you can compile it as a module, load it, unload, etc.

Are you getting any errors in /var/log/messages? First, please, enable scsi-logging in your kernel configuration. Are you regularly using scsi for anything else (other scsi controllers, usb storage, ieee1394)? Can you refrain from using them, while testing with tmscsim? If so, set the scsi-logging level to 0x1ff. If you have scsi compiled in kernel, specify scsi_logging=0x1ff as a boot-parameter, if as a module, load it with modprobe scsi_mod scsi_logging_level=0x1ff
Then uncomment defines for DC390_DEBUG0, DC390_DEBUG1, DC390_DCBDEBUG in drivers/scsi/tmscsim.c. Configure tmscsim as a module, recompile it and load it. Then please, send an extract from your /var/log/messages corresponding to the driver-initialisation, device detection. If it is too big, you can send just the principle information here, and just a link to the location of the log, or, if the former is impossible, just send the complete log to me offlist, then I would upload it somewhere. Of course, it would be best if everybody had access to the log.

Quoted 5 lines

cat /proc/scsi/scsi:

Host: scsi1 Channel: 00 Id: 04 Lun: 00
Vendor: Model: } @ C Rev:
Type: Direct-Access ANSI SCSI revision: ffffffff

Ok, that doesn't look right:-)

Quoted 20 lines

cat /proc/scsi/tmscsim/1

Tekram DC390/AM53C974 PCI SCSI Host Adapter, Driver Version 2.0f 2000-12-20 SCSI Host Nr 1, AM53C974 Adapter Nr 0
IOPortBase 0x9400, IRQ 11
MaxID 7, MaxLUN 1, AdapterID 7, SelTimeout 250 ms, DelayReset 1 s TagMaxNum 16, Status 0x00, ACBFlag 0x00, GlitchEater 24 ns
Statistics: Cmnds 15, Cmnds not sent directly 2, Out of SRB conds 0
Lost arbitrations 0, Sel. connected 0, Connected: No
Nr of attached devices: 1, Nr of DCBs: 1
Map of attached LUNs: 00 00 00 00 01 00 00 00
Idx ID LUN Prty Sync DsCn SndS TagQ NegoPeriod SyncSpeed SyncOffs MaxCmd
00 04 00 Yes No Yes Yes No (124 ns) 01
Commands in Queues: Query: 0:

My system:

lspci:
0000:00:00.0 Host bridge: nVidia Corporation nForce3 Host Bridge (rev a4)

...

Quoted 7 lines

0000:00:08.0 IDE interface: nVidia Corporation nForce3 IDE (rev a5) 0000:00:0a.0 PCI bridge: nVidia Corporation nForce3 PCI Bridge (rev a2) 0000:00:0b.0 PCI bridge: nVidia Corporation nForce3 AGP Bridge (rev a4) 0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge 0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge 0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge 0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge

...

Quoted 2 lines

0000:01:07.0 SCSI storage controller: Advanced Micro Devices [AMD] 53c974 [PCscsi] (rev 10)

...

Quoted 6 lines

0000:01:0c.0 RAID bus controller: Integrated Technology Express, Inc.: Unknown device 8212 (rev 11)
0000:01:0d.0 RAID bus controller: CMD Technology Inc: Unknown device 3512 (rev
01)
0000:01:0e.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)

...

Quoted 3 lines

uname -a:

Linux amd64 2.6.5-gentoo #2 Fri Apr 9 01:34:26 CEST 2004 x86_64 4 GNU/Linux

Ooh... 64bit... Ok, all the more interesting:-) I can forsee a lot of fun:-)

Thanks
Guennadi
---
Guennadi Liakhovetski

#2 lore raw

Ok, sorry, forget (at least for now) about all that debugging I asked you about. Just tell me how much RAM you have. And, please, send me your complete dmesg from the start-up, and, maybe, related to your scsi-card.

Thanks
Guennadi
---
Guennadi Liakhovetski

#3 lore raw

Hi,

this is all I can send you from dmesg:

_NMI (acpi_id[0x00] dfl dfl lint[0x1])
ACPI: Skipping IOAPIC probe due to 'noapic' option.
Using ACPI for processor (LAPIC) configuration information
Intel MultiProcessor Specification v1.4
Virtual Wire compatibility mode.
OEM ID: OEM00000 <6>Product ID: PROD00000000 <6>APIC at: 0xFEE00000 I/O APIC #2 Version 17 at 0xFEC00000.
Processors: 1
Checking aperture...
CPU 0: aperture @ e0000000 size 128 MB
Built 1 zonelists
Kernel command line: hdc=ide-scsi vga=0x317 video=mtrr,vesa=1024x768 root=/dev/hdb3 acpi=force lapic splash=silent console=tty0
ide_setup: hdc=ide-scsi
bootsplash: silent mode.
Initializing CPU#0
PID hash table entries: 16 (order 4: 256 bytes)
time.c: Using 1.193182 MHz PIT timer.
time.c: Detected 2009.150 MHz processor.
Console: colour dummy device 80x25
Memory: 509880k/524224k available (2505k kernel code, 13564k reserved, 1146k data, 148k init)
Calibrating delay loop... 3981.31 BogoMIPS
Security Scaffold v1.0.0 initialized
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) Mount-cache hash table entries: 256 (order: 0, 4096 bytes) checking if image is initramfs...it isn't (ungzip failed); looks like an initrd
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU: AMD Athlon(tm) 64 Processor 3200+ stepping 08
POSIX conformance testing by UNIFIX
Using local APIC NMI watchdog using perfctr0
Using local APIC timer interrupts.
Detected 12.557 MHz APIC timer.
NET: Registered protocol family 16
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: IRQ9 SCI: Level Trigger.
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
ACPI: Power Resource [ISAV] (on)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGPB._PRT]
ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 6 *7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK2] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK3] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNK4] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNK5] (IRQs 3 4 5 6 *7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LUBA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LUBB] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LMAC] (IRQs 3 4 5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LAPU] (IRQs 3 4 5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LACI] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LMCI] (IRQs 3 4 5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LSMB] (IRQs 3 4 5 6 *7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LUB2] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LFIR] (IRQs 3 4 5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [L3CM] (IRQs 3 4 5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LIDE] (IRQs 3 4 5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LSID] (IRQs 3 4 5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [APC1] (IRQs *16)
ACPI: PCI Interrupt Link [APC2] (IRQs *17)
ACPI: PCI Interrupt Link [APC3] (IRQs *18)
ACPI: PCI Interrupt Link [APC4] (IRQs *19)
ACPI: PCI Interrupt Link [APC5] (IRQs *16)
ACPI: PCI Interrupt Link [APCF] (IRQs 20 21 22)
ACPI: PCI Interrupt Link [APCG] (IRQs 20 21 22)
ACPI: PCI Interrupt Link [APCH] (IRQs 20 21 22)
ACPI: PCI Interrupt Link [APCI] (IRQs 20 21 22)
ACPI: PCI Interrupt Link [APCJ] (IRQs 20 21 22)
ACPI: PCI Interrupt Link [APCK] (IRQs 20 21 22)
ACPI: PCI Interrupt Link [APCS] (IRQs *23)
ACPI: PCI Interrupt Link [APCL] (IRQs 20 21 22)
ACPI: PCI Interrupt Link [APCM] (IRQs 20 21 22)
ACPI: PCI Interrupt Link [AP3C] (IRQs 20 21 22)
ACPI: PCI Interrupt Link [APCZ] (IRQs 20 21 22)
ACPI: PCI Interrupt Link [APSI] (IRQs 20 21 22)
SCSI subsystem initialized
drivers/usb/core/usb.c: registered new driver usbfs drivers/usb/core/usb.c: registered new driver hub
ACPI: PCI Interrupt Link [LSMB] enabled at IRQ 7
ACPI: PCI Interrupt Link [LUBA] enabled at IRQ 11
ACPI: PCI Interrupt Link [LUBB] enabled at IRQ 11
ACPI: PCI Interrupt Link [LUB2] enabled at IRQ 11
ACPI: PCI Interrupt Link [LACI] enabled at IRQ 9
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNK4] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNK2] enabled at IRQ 9
ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 7
ACPI: PCI Interrupt Link [LNK5] enabled at IRQ 7
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
agpgart: Detected AGP bridge 0
agpgart: Setting up Nforce3 AGP.
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 128M @ 0xe0000000
PCI-DMA: Disabling IOMMU.
vesafb: framebuffer at 0xe8000000, mapped to 0xffffff000004e000, size 16384k
vesafb: mode is 1024x768x16, linelength=2048, pages=1
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
fb0: VESA VGA frame buffer device
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $ ikconfig 0.7 with /proc/config*
devfs: 2004-01-31 Richard Gooch ([email protected])
devfs: boot_options: 0x1
Installing knfsd (copyright (C) 1996 [email protected]). Initializing Cryptographic API
ACPI: Power Button (FF) [PWRF]
ACPI: Processor [CPU0] (supports C1)
mice: PS/2 mouse device common for all mice
input: PC Speaker
serio: i8042 AUX port at 0x60,0x64 irq 12
input: PS/2 Generic Mouse on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
bootsplash 3.1.4-2004/02/19: looking for picture.... silentjpeg size 21830 bytes, found (1024x768, 16923 bytes, v3).
Console: switching to colour frame buffer device 122x40
Real Time Clock Driver v1.12
Linux agpgart interface v0.100 (c) Dave Jones
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Using anticipatory io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE3: IDE controller at PCI slot 0000:00:08.0
NFORCE3: chipset revision 165
NFORCE3: not 100% native mode: will probe irqs later
NFORCE3: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE3: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE3: 0000:00:08.0 (rev a5) UDMA133 controller

    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA

hda: Maxtor 6E040L0, ATA DISK drive
hdb: MAXTOR 6L040J2, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: JLMS XJ-HD165H, ATAPI CD/DVD-ROM drive
hdd: IOMEGA ZIP 250 ATAPI Floppy, ATAPI FLOPPY drive
hdd: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
hdd: set_drive_speed_status: error=0x04
ide1: Drive 1 didn't accept speed setting. Oh, well.
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 80293248 sectors (41110 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(133)
/dev/ide/host0/bus0/target0/lun0: p1
hdb: max request size: 128KiB
hdb: 78177792 sectors (40027 MB) w/1819KiB Cache, CHS=65535/16/63, UDMA(133)
/dev/ide/host0/bus0/target1/lun0: p1 p2 p3
ide-floppy driver 0.99.newide
hdd: No disk in drive
hdd: 244736kB, 239/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm
oprofile: using NMI interrupt.
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
ACPI: (supports S0 S1 S4 S5)
RAMDISK: Couldn't find valid RAM disk image starting at 0. kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 148k freed
Adding 1028152k swap on /dev/hdb2. Priority:-1 extents:1
EXT3 FS on hdb3, internal journal
8139too Fast Ethernet driver 0.9.27
eth0: RealTek RTL8139 at 0xffffff0001051000, 00:e0:4c:39:30:fb, IRQ 11
eth0: Identified 8139 chip type 'RTL-8139C'
r8169 Gigabit Ethernet driver 1.2 loaded
r8169: PCI device 0000:01:0b.0: unknown chip version, assuming RTL-8169
r8169: PCI device 0000:01:0b.0: TxConfig = 0x4000000
eth1: Identified chip type is 'RTL-8169'.
eth1: RealTek RTL8169 Gigabit Ethernet at 0xffffff0001053000, 00:0d:61:51:4a:fe, IRQ 11
eth1: Auto-negotiation Enabled.
eth1: 100Mbps Full-duplex operation.
nvidia: module license 'NVIDIA' taints kernel.
0: nvidia: loading NVIDIA Linux x86_64 NVIDIA Kernel Module 1.0-5332 Fri Jan 9 12:42:32 PST 2004
CSLIP: code copyright 1989 Regents of the University of California PPP generic driver version 2.4.2
ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX as device
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: JLMS Model: XJ-HD165H Rev: CH0Z
Type: CD-ROM ANSI SCSI revision: 02
sr0: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 5
PCI: Setting latency timer of device 0000:00:06.0 to 64 intel8x0_measure_ac97_clock: measured 49525 usecs
intel8x0: clocking to 47386
Linux video capture interface: v1.00
bttv: driver version 0.9.12 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt848 (rev 18) at 0000:01:09.0, irq: 9, latency: 32, mmio: 0xf0000000
bttv0: using: MIRO PCTV [card=1,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00ff07ff [init]
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: miro: id=1 tuner=0 radio=no stereo=no
bttv0: using tuner=0
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
tvaudio: TV audio decoder + audio/video mux driver
tvaudio: known chips:
tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951),ta8874z
tuner: chip found at addr 0xc0 i2c-bus bt848 #0 [sw]
tuner: type set to 0 (Temic PAL (4002 FH5)) by bt848 #0 [sw]
bttv0: registered device video0
bttv0: registered device vbi0
kjournald starting. Commit interval 5 seconds
EXT3 FS on hdb1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
EXT3 FS on hdb3, internal journal
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 80 td 96
ohci_hcd 0000:00:02.0: nVidia Corporation nForce3 USB 1.1
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: irq 11, pci mem ffffff00010ee000
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1 hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ohci_hcd 0000:00:02.1: nVidia Corporation nForce3 USB 1.1 (#2)
PCI: Setting latency timer of device 0000:00:02.1 to 64
ohci_hcd 0000:00:02.1: irq 11, pci mem ffffff00010f0000
ohci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 2 hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
ehci_hcd 0000:00:02.2: nVidia Corporation nForce3 USB 2.0
PCI: Setting latency timer of device 0000:00:02.2 to 64
ehci_hcd 0000:00:02.2: irq 11, pci mem ffffff00010f2000
ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 3
PCI: cache line size of 64 is not supported by device 0000:00:02.2 ehci_hcd 0000:00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29 hub 3-0:1.0: USB hub found
hub 3-0:1.0: 6 ports detected
DC390_init: No EEPROM found! Trying default settings ...
DC390: Used defaults: AdaptID=7, SpeedIdx=1 (8.0 MHz), DevMode=0x1f, AdaptMode=0x0f, TaggedCmnds=3 (16), DelayReset=1s
DC390: 1 adapters found
scsi1 : Tekram DC390/AM53C974 V2.0f 2000-12-20
usb 2-1: new low speed USB device using address 2
input: USB HID v1.10 Mouse [Microsoft Microsoft 5-Button Mouse with IntelliEye(TM)] on usb-0000:00:02.1-1
drivers/usb/core/usb.c: registered new driver hid drivers/usb/input/hid-core.c: v2.0:USB HID core driver
Disabled Privacy Extensions on device ffffffff8043f940(lo)
usb 2-2: new full speed USB device using address 3 drivers/usb/core/usb.c: registered new driver usblp drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3004
DC390: DMA Blast aborted unfinished!
Vendor: Model: Rev:
Type: Direct-Access ANSI SCSI revision: 00
Attached scsi generic sg1 at scsi1, channel 0, id 4, lun 0, type 0
DC390: DMA Blast aborted unfinished!
CAPI Subsystem Rev 1.1.2.7
b1: revision 1.1.2.2
b1dma: revision 1.1.2.3
b1pci: PCI BIOS reports AVM-B1 at i/o 0x9c00, irq 11
DC390: DMA Blast aborted unfinished!
DC390: RESET ... done
scsi: Device offlined - not ready after error recovery: host 1 channel 0 id 4 lun 0
kcapi: Controller 1: b1pci-9c00 attached
b1pci: AVM B1 PCI at i/o 0x9c00, irq 11, revision 2
b1pci: revision 1.1.2.2
libata version 1.02 loaded.
sata_sil version 0.54
ata1: SATA max UDMA/100 cmd 0xFFFFFF00010F6080 ctl 0xFFFFFF00010F608A bmdma 0xFFFFFF00010F6000 irq 9
ata2: SATA max UDMA/100 cmd 0xFFFFFF00010F60C0 ctl 0xFFFFFF00010F60CA bmdma 0xFFFFFF00010F6008 irq 9
parport0: PC-style at 0x278 (0x678) [PCSPP,TRISTATE]
parport0: irq 5 detected
ata1: no device found (phy stat 00000000)
scsi2 : sata_sil
ata1: thread exiting
ata2: no device found (phy stat 00000000)
scsi3 : sata_sil
ata2: thread exiting
lp0: using parport0 (polling).
USB Universal Host Controller Interface driver v2.2
DC390: DMA Blast aborted unfinished!
DC390: DMA Blast aborted unfinished!
sda: Unit Not Ready, sense:
: sense = 0 0
Non-extended sense class 0 code 0x0
Raw sense data:0x00 0x00 0x00 0x00
DC390: DMA Blast aborted unfinished!
DC390: DMA Blast aborted unfinished!
ip_tables: (C) 2000-2002 Netfilter core team
DC390: DMA Blast aborted unfinished!
ip_conntrack version 2.1 (2047 buckets, 16376 max) - 432 bytes per conntrack
DC390: DMA Blast aborted unfinished!
DC390: DMA Blast aborted unfinished!
DC390: DMA Blast aborted unfinished!
sda : READ CAPACITY failed.
sda : status=1, message=00, host=0, driver=08
sd: sense = 0 0
Non-extended sense class 0 code 0x0
Raw sense data:0x00 0x00 0x00 0x00
DC390: DMA Blast aborted unfinished!
sda: asking for cache data failed
sda: assuming drive cache: write through
Attached scsi disk sda at scsi1, channel 0, id 4, lun 0
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth1: no IPv6 routers present
bootsplash 3.1.4-2004/02/19: looking for picture.... found (1024x768, 16923 bytes, v3).
bootsplash: status on console 0 changed to on
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:02:00.0 into 8x mode
eth0: no IPv6 routers present

And: I have 500Mb RAM

Regards

Christian

#4 lore raw
Quoted 5 lines · Christian Roessner

DC390_init: No EEPROM found! Trying default settings ...
DC390: Used defaults: AdaptID=7, SpeedIdx=1 (8.0 MHz), DevMode=0x1f, AdaptMode=0x0f, TaggedCmnds=3 (16), DelayReset=1s
DC390: 1 adapters found
scsi1 : Tekram DC390/AM53C974 V2.0f 2000-12-20

...

Quoted 5 lines

DC390: DMA Blast aborted unfinished!
Vendor: Model: Rev:
Type: Direct-Access ANSI SCSI revision: 00
Attached scsi generic sg1 at scsi1, channel 0, id 4, lun 0, type 0
DC390: DMA Blast aborted unfinished!

...

Yes, indeed, there's a DMA-ing problem. Could you, please, try the attached patch, although, I am not sure it'll help...

Thanks
Guennadi
---
Guennadi Liakhovetski

drivers/scsi/tmscsim.c renamed from drivers/scsi/tmscsim.c~ +5 -2
@@ -2236,10 +2236,13 @@
     if ( PCI_PRESENT )
 	while (PCI_FIND_DEVICE (PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD53C974))
 	{
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,3,30)
 	    if (pci_enable_device (pdev))
 		continue;
-#endif
+
+	    if (pci_set_dma_mask(pdev, 0xffffffff)) {
+		    printk(KERN_ERR "DC390(%i): No suitable DMA available.\n", dc390_adapterCnt);
+		    continue;
+	    }
 	    PCI_GET_IO_AND_IRQ;
 	    DEBUG0(printk(KERN_INFO "DC390(%i): IO_PORT=%04x,IRQ=%x\n", dc390_adapterCnt, (UINT) io_port, irq));
 
#5 lore raw
In reply to Guennadi Liakhovetski
Quoted 3 lines · Guennadi Liakhovetski

Ok, sorry, forget (at least for now) about all that debugging I asked you about. Just tell me how much RAM you have. And, please, send me your complete dmesg from the start-up, and, maybe, related to your scsi-card.

I reviewed the dma-stuff in tmscsim, and so far I cannot see big problems there, except if you have more than ~4GB RAM, or, at least, if you have HIGHMEM64 set in your configuration. Looks like you are using a gentoo kernel. Could you check in their configuration, if this option is set? If you don't find the file itself, you might be lucky and find it in /proc/config.gz. In any case, could you, please, try to enable DEBUG1, i.e. in file drivers/scsi/tmscsim.c modify the line 178 (approx.) from //#define DC390_DEBUG1
to
#define DC390_DEBUG1
. Recompile, and send the kernel messages.

Thanks
Guennadi
---
Guennadi Liakhovetski

#6 lore raw

Hi,

first problem I have is, I can not compile the 2.6.5 kernel without IOMMU support, ecause ioapic failes while compiling and the process aborts. I am using make menuconfig and under Processor-Type and Features, IO-APIC is not listed, so I only could disable it in .config, but I think turning off APIC is not a good idea.

I patched tmscsi.c and turned on DEBUG1. Both results are attached to this mail.

Regards

Christian

Am Samstag, 10. April 2004 23:14 schrieben Sie:

Quoted 21 lines · Guennadi Liakhovetski
Quoted 3 lines

Ok, sorry, forget (at least for now) about all that debugging I asked you about. Just tell me how much RAM you have. And, please, send me your complete dmesg from the start-up, and, maybe, related to your scsi-card.

I reviewed the dma-stuff in tmscsim, and so far I cannot see big problems there, except if you have more than ~4GB RAM, or, at least, if you have HIGHMEM64 set in your configuration. Looks like you are using a gentoo kernel. Could you check in their configuration, if this option is set? If you don't find the file itself, you might be lucky and find it in /proc/config.gz. In any case, could you, please, try to enable DEBUG1, i.e. in file drivers/scsi/tmscsim.c modify the line 178 (approx.) from //#define DC390_DEBUG1
to
#define DC390_DEBUG1
. Recompile, and send the kernel messages.

Thanks
Guennadi
---
Guennadi Liakhovetski

Signature · 5 lines
Roessner Network Solutions (R.N.S.)

Tel.: 0641-2097252, Fax: 0641-2097253, Mobil: 0171-3611230
URL: http://www.roessner-net.com/
PGP: http://www.roessner-nat.com/kontakt/0x6A549505.asc

23 (SRB 0000010018e76468), No TagQ
DC390: AutoReqSense !
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=81,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=18,<6>DC390: [5]dc390_Nop_0(0) (81)
DC390: [1]dc390_DataInPhase(1) (81)
DC390: Next SG segment.<7> DC390: Start transfer: 0 bytes (address 1e7bc898)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=83,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=10,<6>DC390: [1]dc390_DataIn_0(0) (83)
DC390: DMA Blast aborted unfinished!
Blast: Read 40960 times DMA_Status 00<7>Xfered: -16777198, Total: -16777198, Remaining: 16777198
DC390: [3]dc390_StatusPhase(1) (83)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=87,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=08,<6>DC390: [3]dc390_Status_0(0) (87)
DC390: [4]dc390_Nop_0(1) (04)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=80,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=20,dc390_pci_unmap(): Unmapped sense buffer at 1e7bc898 .. IRQ returned
dc390_pci_map(): Mapped request buffer 0000010000b52e00 at b52e00
DC390: Start SCSI command: 25 (Sync:01)
DC390: Select w/DisCn for Cmd 124 (SRB 0000010018e76468), No TagQ
... command (pid 124) queued successfully.
DC390: Irq (11) caught: <7>sstatus=83,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=18,<6>DC390: [5]dc390_Nop_0(0) (83)
DC390: [3]dc390_StatusPhase(1) (83)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=87,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=08,<6>DC390: [3]dc390_Status_0(0) (87)
DC390: [4]dc390_Nop_0(1) (04)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=80,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=20,dc390_pci_unmap(): Unmapped request buffer at b52e00 dc390_pci_map(): Mapped sense buffer 000001001e7bc898 at 1e7bc898
DC390: Start SCSI command: 25 (Sync:01)
DC390: Select wo/DisCn for Cmd 124 (SRB 0000010018e76468), No TagQ
DC390: AutoReqSense !
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=81,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=18,<6>DC390: [5]dc390_Nop_0(0) (81)
DC390: [1]dc390_DataInPhase(1) (81)
DC390: Next SG segment.<7> DC390: Start transfer: 0 bytes (address 1e7bc898)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=83,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=10,<6>DC390: [1]dc390_DataIn_0(0) (83)
DC390: DMA Blast aborted unfinished!
Blast: Read 40960 times DMA_Status 00<7>Xfered: -16777198, Total: -16777198, Remaining: 16777198
DC390: [3]dc390_StatusPhase(1) (83)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=87,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=08,<6>DC390: [3]dc390_Status_0(0) (87)
DC390: [4]dc390_Nop_0(1) (04)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=80,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=20,dc390_pci_unmap(): Unmapped sense buffer at 1e7bc898 dc390_pci_map(): Mapped request buffer 0000010000b52e00 at b52e00
DC390: Start SCSI command: 25 (Sync:01)
DC390: Select w/DisCn for Cmd 124 (SRB 0000010018e76468), No TagQ
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=83,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=18,<6>DC390: [5]dc390_Nop_0(0) (83)
DC390: [3]dc390_StatusPhase(1) (83)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=87,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=08,<6>DC390: [3]dc390_Status_0(0) (87)
DC390: [4]dc390_Nop_0(1) (04)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=80,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=20,dc390_pci_unmap(): Unmapped request buffer at b52e00 dc390_pci_map(): Mapped sense buffer 000001001e7bc898 at 1e7bc898
DC390: Start SCSI command: 25 (Sync:01)
DC390: Select wo/DisCn for Cmd 124 (SRB 0000010018e76468), No TagQ
DC390: AutoReqSense !
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=81,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=18,<6>DC390: [5]dc390_Nop_0(0) (81)
DC390: [1]dc390_DataInPhase(1) (81)
DC390: Next SG segment.<7> DC390: Start transfer: 0 bytes (address 1e7bc898)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=83,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=10,<6>DC390: [1]dc390_DataIn_0(0) (83)
DC390: DMA Blast aborted unfinished!
Blast: Read 40960 times DMA_Status 00<7>Xfered: -16777198, Total: -16777198, Remaining: 16777198
DC390: [3]dc390_StatusPhase(1) (83)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=87,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=08,<6>DC390: [3]dc390_Status_0(0) (87)
DC390: [4]dc390_Nop_0(1) (04)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=80,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=20,dc390_pci_unmap(): Unmapped sense buffer at 1e7bc898 .. IRQ returned
dc390_pci_map(): Mapped request buffer 0000010000b52e00 at b52e00
DC390: Start SCSI command: 25 (Sync:01)
DC390: Select w/DisCn for Cmd 125 (SRB 0000010018e76468), No TagQ
... command (pid 125) queued successfully.
DC390: Irq (11) caught: <7>sstatus=83,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=18,<6>DC390: [5]dc390_Nop_0(0) (83)
DC390: [3]dc390_StatusPhase(1) (83)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=87,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=08,<6>DC390: [3]dc390_Status_0(0) (87)
DC390: [4]dc390_Nop_0(1) (04)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=80,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=20,dc390_pci_unmap(): Unmapped request buffer at b52e00 dc390_pci_map(): Mapped sense buffer 000001001e7bc898 at 1e7bc898
DC390: Start SCSI command: 25 (Sync:01)
DC390: Select wo/DisCn for Cmd 125 (SRB 0000010018e76468), No TagQ
DC390: AutoReqSense !
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=81,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=18,<6>DC390: [5]dc390_Nop_0(0) (81)
DC390: [1]dc390_DataInPhase(1) (81)
DC390: Next SG segment.<7> DC390: Start transfer: 0 bytes (address 1e7bc898)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=83,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=10,<6>DC390: [1]dc390_DataIn_0(0) (83)
DC390: DMA Blast aborted unfinished!
Blast: Read 40960 times DMA_Status 00<7>Xfered: -16777198, Total: -16777198, Remaining: 16777198
DC390: [3]dc390_StatusPhase(1) (83)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=87,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=08,<6>DC390: [3]dc390_Status_0(0) (87)
DC390: [4]dc390_Nop_0(1) (04)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=80,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=20,dc390_pci_unmap(): Unmapped sense buffer at 1e7bc898 dc390_pci_map(): Mapped request buffer 0000010000b52e00 at b52e00
DC390: Start SCSI command: 25 (Sync:01)
DC390: Select w/DisCn for Cmd 125 (SRB 0000010018e76468), No TagQ
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=83,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=18,<6>DC390: [5]dc390_Nop_0(0) (83)
DC390: [3]dc390_StatusPhase(1) (83)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=87,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=08,<6>DC390: [3]dc390_Status_0(0) (87)
DC390: [4]dc390_Nop_0(1) (04)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=80,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=20,dc390_pci_unmap(): Unmapped request buffer at b52e00 dc390_pci_map(): Mapped sense buffer 000001001e7bc898 at 1e7bc898
DC390: Start SCSI command: 25 (Sync:01)
DC390: Select wo/DisCn for Cmd 125 (SRB 0000010018e76468), No TagQ
DC390: AutoReqSense !
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=81,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=18,<6>DC390: [5]dc390_Nop_0(0) (81)
DC390: [1]dc390_DataInPhase(1) (81)
DC390: Next SG segment.<7> DC390: Start transfer: 0 bytes (address 1e7bc898)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=83,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=10,<6>DC390: [1]dc390_DataIn_0(0) (83)
DC390: DMA Blast aborted unfinished!
Blast: Read 40960 times DMA_Status 00<7>Xfered: -16777198, Total: -16777198, Remaining: 16777198
DC390: [3]dc390_StatusPhase(1) (83)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=87,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=08,<6>DC390: [3]dc390_Status_0(0) (87)
DC390: [4]dc390_Nop_0(1) (04)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=80,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=20,dc390_pci_unmap(): Unmapped sense buffer at 1e7bc898 .. IRQ returned
sda : READ CAPACITY failed.
sda : status=1, message=00, host=0, driver=08
sd: sense = 0 0
Non-extended sense class 0 code 0x0
Raw sense data:0x00 0x00 0x00 0x00
dc390_pci_map(): Mapped request buffer 0000010000b52e00 at b52e00
DC390: Start SCSI command: 1a (Sync:01)
DC390: Select w/DisCn for Cmd 126 (SRB 0000010018e76468), No TagQ
... command (pid 126) queued successfully.
DC390: Irq (11) caught: <7>sstatus=81,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=18,<6>DC390: [5]dc390_Nop_0(0) (81)
DC390: [1]dc390_DataInPhase(1) (81)
DC390: Next SG segment.<7> DC390: Start transfer: 0 bytes (address 00b52e00)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=83,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=10,<6>DC390: [1]dc390_DataIn_0(0) (83)
DC390: DMA Blast aborted unfinished!
Blast: Read 40960 times DMA_Status 00<7>Xfered: -16777212, Total: -16777212, Remaining: 16777212
DC390: [3]dc390_StatusPhase(1) (83)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=87,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=08,<6>DC390: [3]dc390_Status_0(0) (87)
DC390: [4]dc390_Nop_0(1) (04)
.. IRQ returned
DC390: Irq (11) caught: <7>sstatus=80,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=20,dc390_pci_unmap(): Unmapped request buffer at b52e00 .. IRQ returned
sda: asking for cache data failed
sda: assuming drive cache: write through
Attached scsi disk sda at scsi5, channel 0, id 4, lun 0
Attached scsi generic sg1 at scsi5, channel 0, id 4, lun 0, type 0
dc390_pci_map(): Mapped request buffer 0000010000b53e80 at b53e80
DC390: Start SCSI command: 12 (Sync:01)
DC390: Select w/DisCn for Cmd 127 (SRB 0000010018e76468), No TagQ
... command (pid 127) queued successfully.
DC390: Irq (11) caught: <7>sstatus=80,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=20,dc390_pci_unmap(): Unmapped request buffer at b53e80 .. IRQ returned
dc390_pci_map(): Mapped request buffer 0000010000b53e80 at b53e80
DC390: Start SCSI command: 12 (Sync:01)
DC390: Select w/DisCn for Cmd 128 (SRB 0000010018e76468), No TagQ
... command (pid 128) queued successfully.
DC390: Irq (11) caught: <7>sstatus=80,<6>Istatus(Res,Inv,Dis,Serv,Succ,ReS,SelA,Sel)=20,dc390_pci_unmap(): Unmapped request buffer at b53e80 .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned
DC390: Irq (11) caught: .. IRQ returned

#7 lore raw

Hi

Can you try the attached patch, please. If it still doesn't work, could you add something like
kern.* -/var/log/tmscsim.log
to your /etc/syslog.conf, do killall -HUP syslogd, and send me the log starting from insertion of the module. Also a
lspci -vvxxx -s 0000:01:07.0
(I hope the syntax is correct for your platform).

Thanks
Guennadi
---
Guennadi Liakhovetski

drivers/scsi/tmscsim.c renamed from drivers/scsi/tmscsim.c~ +1 -1
@@ -2228,7 +2228,7 @@
 {
     PDEVDECL0;
     UCHAR   irq;
-    UINT    io_port;
+    ULONG   io_port;
 
     //dc390_pSHT_start = psht;
     dc390_pACB_start = NULL;
#8 lore raw
Quoted 9 lines · Guennadi Liakhovetski

Hi

Can you try the attached patch, please. If it still doesn't work, could you add something like
kern.* -/var/log/tmscsim.log
to your /etc/syslog.conf, do killall -HUP syslogd, and send me the log starting from insertion of the module. Also a
lspci -vvxxx -s 0000:01:07.0
(I hope the syntax is correct for your platform).

Good catch, definitely a bug.

Would be nice if we could kill the non-standard types (ULONG, etc.) from the driver.

Jeff

#9 lore raw
Quoted 2 lines · Jeff Garzik

Would be nice if we could kill the non-standard types (ULONG, etc.) from the driver.

Sure, the diff it would be quite big though, so, it would deserve a separate patch, IMHO.

Thanks
Guennadi
---
Guennadi Liakhovetski

#10 lore raw
Quoted 9 lines · Guennadi Liakhovetski
Quoted 2 lines · Jeff Garzik

Would be nice if we could kill the non-standard types (ULONG, etc.) from the driver.

Sure, the diff it would be quite big though, so, it would deserve a separate patch, IMHO.

Agreed,

Jeff