* [ERROR] in ini9100.c scsi driver
@ 2004-05-02 20:25 backblue
2004-05-04 8:30 ` Mirko Caserta
0 siblings, 1 reply; 3+ messages in thread
From: backblue @ 2004-05-02 20:25 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2153 bytes --]
Hi,
I'm with linux-2.6.5, i have re-compiled the kernel, to get suport to another scsi controler in my workstation. Attached it's the all dmesg file, and here it's the debug output that the kernel show's me! i dont know who have changed the kernel to have new DMA suporte, if someone know's say me please, so i can mail him directly.
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec 2940A Ultra SCSI adapter>
aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs
(scsi0:A:0): 20.000MB/s transfers (20.000MHz, offset 8)
Vendor: PIONEER Model: DVD-ROM DVD-303F Rev: 2.00
Type: CD-ROM ANSI SCSI revision: 02
PCI: Enabling device 0000:01:09.0 (0006 -> 0007)
PCI: Unable to reserve mem region #2:1000@e3001000 for device 0000:01:09.0
aic7xxx: <Adaptec AHA-2940A Ultra SCSI host adapter> at PCI 1/9/0
aic7xxx: I/O ports already in use, ignoring.
i91u: PCI Base=0xC000, IRQ=11, BIOS=0xFF000, SCSI ID=2
i91u: Reset SCSI Bus ...
ERROR: SCSI host `INI9100U' has no error handling
ERROR: This is not a safe way to run your SCSI host
ERROR: The error handling must be added to this driver
Call Trace:
[<c02ad5bc>] scsi_host_alloc+0x2ac/0x2c0
[<c02e8653>] init_tulip+0x2b3/0x2d0
[<c02ad5ee>] scsi_register+0x1e/0x70
[<c02e7715>] i91u_detect+0x1b5/0x2c0
[<c05081a0>] init_this_scsi_driver+0x40/0x100
[<c04ee7fc>] do_initcalls+0x2c/0xc0
[<c01297b2>] init_workqueues+0x12/0x60
[<c01030cf>] init+0x2f/0x120
[<c01030a0>] init+0x0/0x120
[<c0106d31>] kernel_thread_helper+0x5/0x14
scsi1 : Initio INI-9X00U/UW SCSI device driver; Revision: 1.03g
Vendor: YAMAHA Model: CRW8424S Rev: 1.0j
Type: CD-ROM ANSI SCSI revision: 02
sr0: scsi3-mmc drive: 0x/0x 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
sr1: scsi3-mmc drive: 24x/16x writer cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr1 at scsi1, channel 0, id 1, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 5
Attached scsi generic sg1 at scsi1, channel 0, id 1, lun 0, type 5
Tks
[-- Attachment #2: dmesg --]
[-- Type: application/octet-stream, Size: 14179 bytes --]
Linux version 2.6.5 (root@fork) (gcc version 3.3.3) #4 Sun May 2 20:28:53 WEST 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131056
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 126960 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI 2.2 present.
ACPI: RSDP (v000 Nvidia ) @ 0x000f75c0
ACPI: RSDT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1fff3000
ACPI: FADT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1fff3040
ACPI: DSDT (v001 NVIDIA AWRDACPI 0x00001000 MSFT 0x0100000e) @ 0x00000000
Built 1 zonelists
Kernel command line: BOOT_IMAGE=2.6.5 ro root=309
Initializing CPU#0
PID hash table entries: 2048 (order 11: 16384 bytes)
Detected 1837.678 MHz processor.
Using tsc for high-res timesource
Console: colour dummy device 80x25
Memory: 513620k/524224k available (3050k kernel code, 9840k reserved, 963k data, 428k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 3629.05 BogoMIPS
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0383fbff c1c3fbff 00000000 00000000
CPU: After vendor identify, caps: 0383fbff c1c3fbff 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU: After all inits, caps: 0383fbff c1c3fbff 00000000 00000020
CPU: AMD Athlon(tm) XP 2500+ stepping 00
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfb4a0, last bus=2
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: IRQ9 SCI: Edge set to 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: PCI Interrupt Routing Table [\_SB_.PCI0.AGPB._PRT]
ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK2] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK3] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK4] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNK5] (IRQs 3 4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LUBA] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LUBB] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LMAC] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LAPU] (IRQs 3 4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LACI] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LMCI] (IRQs 3 4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LSMB] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LUB2] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LFIR] (IRQs 3 4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [L3CM] (IRQs 3 4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LIDE] (IRQs 3 4 5 6 7 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)
Linux Plug and Play Support v0.97 (c) Adam Belay
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 11
ACPI: PCI Interrupt Link [LUBA] enabled at IRQ 5
ACPI: PCI Interrupt Link [LUBB] enabled at IRQ 11
ACPI: PCI Interrupt Link [LUB2] enabled at IRQ 5
ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 11
ACPI: PCI Interrupt Link [LACI] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNK4] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNK2] enabled at IRQ 5
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
vesafb: framebuffer at 0xd8000000, mapped to 0xe0808000, size 16384k
vesafb: mode is 1280x1024x8, linelength=1280, pages=1
vesafb: protected mode interface info at c000:e700
vesafb: scrolling: redraw
fb0: VESA VGA frame buffer device
ikconfig 0.7 with /proc/config*
VFS: Disk quotas dquot_6.5.1
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
udf: registering filesystem
ACPI: Power Button (FF) [PWRF]
ACPI: Processor [CPU0] (supports C1)
Console: switching to colour frame buffer device 160x64
lp: driver loaded but no devices found
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected NVIDIA nForce2 chipset
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 128M @ 0xd0000000
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
parport0: PC-style at 0x378 (0x778) [PCSPP(,...)]
parport0: irq 7 detected
lp0: using parport0 (polling).
lp0: console ready
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)
nbd: registered device at major 43
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
PCI: Setting latency timer of device 0000:00:04.0 to 64
eth0: forcedeth.c: subsystem: 01043:80a7 bound to 0000:00:04.0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE2: IDE controller at PCI slot 0000:00:09.0
NFORCE2: chipset revision 162
NFORCE2: not 100% native mode: will probe irqs later
NFORCE2: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE2: 0000:00:09.0 (rev a2) 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: WDC WD800JB-00CRA1, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=65535/16/63, UDMA(100)
hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 >
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec 2940A Ultra SCSI adapter>
aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs
(scsi0:A:0): 20.000MB/s transfers (20.000MHz, offset 8)
Vendor: PIONEER Model: DVD-ROM DVD-303F Rev: 2.00
Type: CD-ROM ANSI SCSI revision: 02
PCI: Enabling device 0000:01:09.0 (0006 -> 0007)
PCI: Unable to reserve mem region #2:1000@e3001000 for device 0000:01:09.0
aic7xxx: <Adaptec AHA-2940A Ultra SCSI host adapter> at PCI 1/9/0
aic7xxx: I/O ports already in use, ignoring.
i91u: PCI Base=0xC000, IRQ=11, BIOS=0xFF000, SCSI ID=2
i91u: Reset SCSI Bus ...
ERROR: SCSI host `INI9100U' has no error handling
ERROR: This is not a safe way to run your SCSI host
ERROR: The error handling must be added to this driver
Call Trace:
[<c02ad5bc>] scsi_host_alloc+0x2ac/0x2c0
[<c02e8653>] init_tulip+0x2b3/0x2d0
[<c02ad5ee>] scsi_register+0x1e/0x70
[<c02e7715>] i91u_detect+0x1b5/0x2c0
[<c05081a0>] init_this_scsi_driver+0x40/0x100
[<c04ee7fc>] do_initcalls+0x2c/0xc0
[<c01297b2>] init_workqueues+0x12/0x60
[<c01030cf>] init+0x2f/0x120
[<c01030a0>] init+0x0/0x120
[<c0106d31>] kernel_thread_helper+0x5/0x14
scsi1 : Initio INI-9X00U/UW SCSI device driver; Revision: 1.03g
Vendor: YAMAHA Model: CRW8424S Rev: 1.0j
Type: CD-ROM ANSI SCSI revision: 02
sr0: scsi3-mmc drive: 0x/0x 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
sr1: scsi3-mmc drive: 24x/16x writer cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr1 at scsi1, channel 0, id 1, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 5
Attached scsi generic sg1 at scsi1, channel 0, id 1, lun 0, type 5
ehci_hcd 0000:00:02.2: nVidia Corporation nForce2 USB Controller
PCI: Setting latency timer of device 0000:00:02.2 to 64
ehci_hcd 0000:00:02.2: irq 5, pci mem e1868000
ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1
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 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
ohci_hcd 0000:00:02.0: nVidia Corporation nForce2 USB Controller
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: irq 5, pci mem e186a000
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
ohci_hcd 0000:00:02.1: nVidia Corporation nForce2 USB Controller (#2)
PCI: Setting latency timer of device 0000:00:02.1 to 64
ohci_hcd 0000:00:02.1: irq 11, pci mem e186c000
ohci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 3 ports detected
USB Universal Host Controller Interface driver v2.2
drivers/usb/core/usb.c: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
input: PC Speaker
serio: i8042 AUX port at 0x60,0x64 irq 12
input: ImPS/2 Logitech Wheel Mouse on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
Advanced Linux Sound Architecture Driver Version 1.0.4rc2 (Tue Mar 30 08:19:30 2004 UTC).
PCI: Setting latency timer of device 0000:00:06.0 to 64
intel8x0_measure_ac97_clock: measured 49363 usecs
intel8x0: clocking to 47388
ALSA device list:
#0: NVidia nForce2 at 0xe4001000, irq 11
#1: Sound Blaster Live! (rev.7) at 0xc400, irq 5
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
NET: Registered protocol family 1
NET: Registered protocol family 17
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda9, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda9) for (hda9)
Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 428k freed
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda3) for (hda3)
Using r5 hash to sort names
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda5, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda5) for (hda5)
Using r5 hash to sort names
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda6, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda6) for (hda6)
Using r5 hash to sort names
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda7, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda7) for (hda7)
Using r5 hash to sort names
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda8, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda8) for (hda8)
Using r5 hash to sort names
nfs warning: mount version older than kernel
nfs warning: mount version older than kernel
nfs warning: mount version older than kernel
nvidia: module license 'NVIDIA' taints kernel.
0: nvidia: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-5336 Wed Jan 14 18:29:26 PST 2004
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:02:00.0 into 4x mode
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ERROR] in ini9100.c scsi driver
2004-05-04 8:30 ` Mirko Caserta
@ 2004-05-04 1:02 ` backblue
0 siblings, 0 replies; 3+ messages in thread
From: backblue @ 2004-05-04 1:02 UTC (permalink / raw)
To: Mirko Caserta, akpm, hch, linux-kernel, mirko
I "remember" to see the CHANGELOG, and i have found this!
<akpm@osdl.org>
[PATCH] ini9100u build fix
From: Christoph Hellwig <hch@infradead.org>
- Remove dead forward declarations
- Fix compilation of the interrupt handler.
One of this ones it's the maintainer, do you know, if this patch that you have send it to me, have been merged in to the kernel?
Tks for the patch! :)
On Tue, 04 May 2004 10:30:52 +0200
"Mirko Caserta" <mirko@mcaserta.com> wrote:
>
> Try this patch some clever guy sent to the list a couple days ago. I had
> the same issue and this patch fixed it.
>
> This is against 2.6.5. Who takes care of merging this scsi driver into the
> mainstream kernel? I couldn't find anyone in the MAINTAINERS file. Thanks.
>
> Mirko
>
> On Sun, 2 May 2004 21:25:48 +0100, backblue <backblue@netcabo.pt> wrote:
>
> > Hi,
> >
> > I'm with linux-2.6.5, i have re-compiled the kernel, to get suport to
> > another scsi controler in my workstation. Attached it's the all dmesg
> > file, and here it's the debug output that the kernel show's me! i dont
> > know who have changed the kernel to have new DMA suporte, if someone
> > know's say me please, so i can mail him directly.
> >
> >
> >
> > scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
> > <Adaptec 2940A Ultra SCSI adapter>
> > aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs
> >
> > (scsi0:A:0): 20.000MB/s transfers (20.000MHz, offset 8)
> > Vendor: PIONEER Model: DVD-ROM DVD-303F Rev: 2.00
> > Type: CD-ROM ANSI SCSI revision: 02
> > PCI: Enabling device 0000:01:09.0 (0006 -> 0007)
> > PCI: Unable to reserve mem region #2:1000@e3001000 for device
> > 0000:01:09.0
> > aic7xxx: <Adaptec AHA-2940A Ultra SCSI host adapter> at PCI 1/9/0
> > aic7xxx: I/O ports already in use, ignoring.
> > i91u: PCI Base=0xC000, IRQ=11, BIOS=0xFF000, SCSI ID=2
> > i91u: Reset SCSI Bus ...
> > ERROR: SCSI host `INI9100U' has no error handling
> > ERROR: This is not a safe way to run your SCSI host
> > ERROR: The error handling must be added to this driver
> > Call Trace:
> > [<c02ad5bc>] scsi_host_alloc+0x2ac/0x2c0
> > [<c02e8653>] init_tulip+0x2b3/0x2d0
> > [<c02ad5ee>] scsi_register+0x1e/0x70
> > [<c02e7715>] i91u_detect+0x1b5/0x2c0
> > [<c05081a0>] init_this_scsi_driver+0x40/0x100
> > [<c04ee7fc>] do_initcalls+0x2c/0xc0
> > [<c01297b2>] init_workqueues+0x12/0x60
> > [<c01030cf>] init+0x2f/0x120
> > [<c01030a0>] init+0x0/0x120
> > [<c0106d31>] kernel_thread_helper+0x5/0x14
> >
> > scsi1 : Initio INI-9X00U/UW SCSI device driver; Revision: 1.03g
> > Vendor: YAMAHA Model: CRW8424S Rev: 1.0j
> > Type: CD-ROM ANSI SCSI revision: 02
> > sr0: scsi3-mmc drive: 0x/0x 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
> > sr1: scsi3-mmc drive: 24x/16x writer cd/rw xa/form2 cdda tray
> > Attached scsi CD-ROM sr1 at scsi1, channel 0, id 1, lun 0
> > Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 5
> > Attached scsi generic sg1 at scsi1, channel 0, id 1, lun 0, type 5
> >
> > Tks
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ERROR] in ini9100.c scsi driver
2004-05-02 20:25 [ERROR] in ini9100.c scsi driver backblue
@ 2004-05-04 8:30 ` Mirko Caserta
2004-05-04 1:02 ` backblue
0 siblings, 1 reply; 3+ messages in thread
From: Mirko Caserta @ 2004-05-04 8:30 UTC (permalink / raw)
To: backblue, linux-kernel; +Cc: bvermeul
[-- Attachment #1: Type: text/plain, Size: 2609 bytes --]
Try this patch some clever guy sent to the list a couple days ago. I had
the same issue and this patch fixed it.
This is against 2.6.5. Who takes care of merging this scsi driver into the
mainstream kernel? I couldn't find anyone in the MAINTAINERS file. Thanks.
Mirko
On Sun, 2 May 2004 21:25:48 +0100, backblue <backblue@netcabo.pt> wrote:
> Hi,
>
> I'm with linux-2.6.5, i have re-compiled the kernel, to get suport to
> another scsi controler in my workstation. Attached it's the all dmesg
> file, and here it's the debug output that the kernel show's me! i dont
> know who have changed the kernel to have new DMA suporte, if someone
> know's say me please, so i can mail him directly.
>
>
>
> scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
> <Adaptec 2940A Ultra SCSI adapter>
> aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs
>
> (scsi0:A:0): 20.000MB/s transfers (20.000MHz, offset 8)
> Vendor: PIONEER Model: DVD-ROM DVD-303F Rev: 2.00
> Type: CD-ROM ANSI SCSI revision: 02
> PCI: Enabling device 0000:01:09.0 (0006 -> 0007)
> PCI: Unable to reserve mem region #2:1000@e3001000 for device
> 0000:01:09.0
> aic7xxx: <Adaptec AHA-2940A Ultra SCSI host adapter> at PCI 1/9/0
> aic7xxx: I/O ports already in use, ignoring.
> i91u: PCI Base=0xC000, IRQ=11, BIOS=0xFF000, SCSI ID=2
> i91u: Reset SCSI Bus ...
> ERROR: SCSI host `INI9100U' has no error handling
> ERROR: This is not a safe way to run your SCSI host
> ERROR: The error handling must be added to this driver
> Call Trace:
> [<c02ad5bc>] scsi_host_alloc+0x2ac/0x2c0
> [<c02e8653>] init_tulip+0x2b3/0x2d0
> [<c02ad5ee>] scsi_register+0x1e/0x70
> [<c02e7715>] i91u_detect+0x1b5/0x2c0
> [<c05081a0>] init_this_scsi_driver+0x40/0x100
> [<c04ee7fc>] do_initcalls+0x2c/0xc0
> [<c01297b2>] init_workqueues+0x12/0x60
> [<c01030cf>] init+0x2f/0x120
> [<c01030a0>] init+0x0/0x120
> [<c0106d31>] kernel_thread_helper+0x5/0x14
>
> scsi1 : Initio INI-9X00U/UW SCSI device driver; Revision: 1.03g
> Vendor: YAMAHA Model: CRW8424S Rev: 1.0j
> Type: CD-ROM ANSI SCSI revision: 02
> sr0: scsi3-mmc drive: 0x/0x 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
> sr1: scsi3-mmc drive: 24x/16x writer cd/rw xa/form2 cdda tray
> Attached scsi CD-ROM sr1 at scsi1, channel 0, id 1, lun 0
> Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 5
> Attached scsi generic sg1 at scsi1, channel 0, id 1, lun 0, type 5
>
> Tks
[-- Attachment #2: initio.patch --]
[-- Type: application/octet-stream, Size: 2243 bytes --]
diff -ruN linux-2.6.5.orig/drivers/scsi/ini9100u.c linux-2.6.5/drivers/scsi/ini9100u.c
--- linux-2.6.5.orig/drivers/scsi/ini9100u.c 2004-04-30 19:36:05.000000000 +0100
+++ linux-2.6.5/drivers/scsi/ini9100u.c 2004-04-30 19:40:06.000000000 +0100
@@ -106,6 +106,8 @@
* - Changed the assumption that HZ = 100
* 10/17/03 mc - v1.04
* - added new DMA API support
+ * 06/01/04 jmd - v1.04a
+ * - Re-add reset_bus support
**************************************************************************/
#define CVT_LINUX_VERSION(V,P,S) (V * 65536 + P * 256 + S)
@@ -149,6 +151,7 @@
.queuecommand = i91u_queue,
// .abort = i91u_abort,
// .reset = i91u_reset,
+ .eh_bus_reset_handler = i91u_bus_reset,
.bios_param = i91u_biosparam,
.can_queue = 1,
.this_id = 1,
@@ -161,7 +164,7 @@
char *i91uCopyright = "Copyright (C) 1996-98";
char *i91uInitioName = "by Initio Corporation";
char *i91uProductName = "INI-9X00U/UW";
-char *i91uVersion = "v1.04";
+char *i91uVersion = "v1.04a";
#define TULSZ(sz) (sizeof(sz) / sizeof(sz[0]))
#define TUL_RDWORD(x,y) (short)(inl((int)((ULONG)((ULONG)x+(UCHAR)y)) ))
@@ -550,6 +553,15 @@
return tul_device_reset(pHCB, (ULONG) SCpnt, SCpnt->device->id, reset_flags);
}
+int i91u_bus_reset(Scsi_Cmnd * SCpnt)
+{
+ HCS *pHCB;
+
+ pHCB = (HCS *) SCpnt->device->host->base;
+ tul_reset_scsi(pHCB, 0);
+ return SUCCESS;
+}
+
/*
* Return the "logical geometry"
*/
diff -ruN linux-2.6.5.orig/drivers/scsi/ini9100u.h linux-2.6.5/drivers/scsi/ini9100u.h
--- linux-2.6.5.orig/drivers/scsi/ini9100u.h 2003-12-18 02:58:56.000000000 +0000
+++ linux-2.6.5/drivers/scsi/ini9100u.h 2004-04-30 19:39:30.000000000 +0100
@@ -82,10 +82,11 @@
extern int i91u_queue(Scsi_Cmnd *, void (*done) (Scsi_Cmnd *));
extern int i91u_abort(Scsi_Cmnd *);
extern int i91u_reset(Scsi_Cmnd *, unsigned int);
+extern int i91u_bus_reset(Scsi_Cmnd *);
extern int i91u_biosparam(struct scsi_device *, struct block_device *,
sector_t, int *);
-#define i91u_REVID "Initio INI-9X00U/UW SCSI device driver; Revision: 1.03g"
+#define i91u_REVID "Initio INI-9X00U/UW SCSI device driver; Revision: 1.04a"
#define VIRT_TO_BUS(i) (unsigned int) virt_to_bus((void *)(i))
#define ULONG unsigned long
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-05-05 0:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-02 20:25 [ERROR] in ini9100.c scsi driver backblue
2004-05-04 8:30 ` Mirko Caserta
2004-05-04 1:02 ` backblue
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox