mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* kernel 2.6.10: promise sx6000 not detected by i2o_block
@ 2004-12-25 21:44 Juergen Krause
  2004-12-26 17:04 ` Alan Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Juergen Krause @ 2004-12-25 21:44 UTC (permalink / raw)
  To: linux-kernel

Hi!

I am happy to see that kernel 2.6 supports the promise sx6000,
but my controller isn't detected by the kernel.

Infos about my computer:
AMD Athlon(tm) 64 Processor 3200+
ASUS A8V Deluxe

Infos about controller:
Promise SX6000
firmware: 1.20.0.27

lspci output:
0000:00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 0282
0000:00:00.1 Host bridge: VIA Technologies, Inc.: Unknown device 1282
0000:00:00.2 Host bridge: VIA Technologies, Inc.: Unknown device 2282
0000:00:00.3 Host bridge: VIA Technologies, Inc.: Unknown device 3282
0000:00:00.4 Host bridge: VIA Technologies, Inc.: Unknown device 4282
0000:00:00.7 Host bridge: VIA Technologies, Inc.: Unknown device 7282
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800 South]
0000:00:07.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
0000:00:0a.0 Ethernet controller: Marvell Technology Group Ltd. Gigabit Ethernet Controller (rev 13)
0000:00:0b.0 Network controller: AVM Audiovisuelles MKTG & Computer System GmbH B1 ISDN
0000:00:0c.0 PCI bridge: Intel Corp. 80960RM [i960RM Bridge] (rev 02)
0000:00:0c.1 Class ff00: Intel Corp. 80960RM [i960RM Microprocessor] (rev 02)
0000:00:0e.0 SCSI storage controller: Adaptec AHA-2930CU (rev 03)
0000:00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
0000:00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800 South]
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
0000:02:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] (rev 15)

the attached 5 harddrives are configured as 1 raid5 group, so I load following i2o modules

i2o_core
i2o_proc
i2o_block

syslog entries when i2o modules are loaded:

Dec 25 21:28:26 server I2O Core - (C) Copyright 1999 Red Hat Software
Dec 25 21:28:26 server i2o: max_drivers=4
Dec 25 21:28:26 server I2O Block Storage OSM v0.9
Dec 25 21:28:26 server (c) Copyright 1999-2001 Red Hat Software.
Dec 25 21:28:26 server block-osm: registered device at major 80

I running gentoo linux with udev-050, 

The controller works fine under linux 2.4 with the promise driver (1.34.0.1) and under windows xp.

Do I anything wrong or is the Promise sx6000 support still broken?

Regards,
Juergen Krause


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

* Re: kernel 2.6.10: promise sx6000 not detected by i2o_block
  2004-12-25 21:44 kernel 2.6.10: promise sx6000 not detected by i2o_block Juergen Krause
@ 2004-12-26 17:04 ` Alan Cox
  2004-12-27  0:10   ` Juergen Krause
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2004-12-26 17:04 UTC (permalink / raw)
  To: Krause.J; +Cc: Linux Kernel Mailing List

On Sad, 2004-12-25 at 21:44, Juergen Krause wrote:
> 0000:00:0c.0 PCI bridge: Intel Corp. 80960RM [i960RM Bridge] (rev 02)
> 0000:00:0c.1 Class ff00: Intel Corp. 80960RM [i960RM Microprocessor] (rev 02)

The I2O layer expects the controller to be in I2O mode. You might want
to try adding the PCI identifier directly to drivers/message/i2o/pci.c
next to the DPT one.


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

* Re: kernel 2.6.10: promise sx6000 not detected by i2o_block
  2004-12-26 17:04 ` Alan Cox
@ 2004-12-27  0:10   ` Juergen Krause
  0 siblings, 0 replies; 3+ messages in thread
From: Juergen Krause @ 2004-12-27  0:10 UTC (permalink / raw)
  To: Alan Cox; +Cc: Linux Kernel Mailing List

Hi Alan,

thx for the quick responce.

I added the the PCI indentifier to drivers/message/i2o/pci.c as follows:

--- linux-2.6.10/drivers/message/i2o/pci.c      2004-12-26 23:38:13.801878056 +0100
+++ linux-2.6.10-test/drivers/message/i2o/pci.c 2004-12-27 00:02:25.589172840 +0100
@@ -49,6 +49,7 @@
 static struct pci_device_id __devinitdata i2o_pci_ids[] = {
        {PCI_DEVICE_CLASS(PCI_CLASS_INTELLIGENT_I2O << 8, 0xffff00)},
        {PCI_DEVICE(PCI_VENDOR_ID_DPT, 0xa511)},
+       {PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x1962)},
        {0}
 };

but now i get a kernel panic when I load the module i2o_core :-(

Dec 27 00:53:22 server kobject i2o_core: registering. parent: <NULL>, set: module
Dec 27 00:53:22 server kobject_hotplug
Dec 27 0----------- [cut here ] --------- [please bite here ] ---------
Kernel BUG at pci:517
invalid operand: 0000 [1] PREEMPT SMP
CPU 0
Modules linked in: i2o_core w83627hf eeprom lm75 i2c_sensor i2c_isa i2c_viapro i2c_core st aic7xxx sk98lin
Pid: 0, comm: swapper Not tainted 2.6.10-test
RIP: 0010:[<ffffffffa00893a7>] <ffffffffa00893a7>{:i2o_core:i2o_pci_interrupt+87}
RSP: 0018:ffffffff805c1f08  EFLAGS: 00010287
RAX: ffffff0000300044 RBX: 000001002ca3f500 RCX: 000000000009f600
RDX: 0000000035fb0000 RSI: 000001003d0cbc00 RDI: 00000000000000b9
RBP: 000000000009f600 R08: ffffffff80614000 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000001 R12: 000001003d0cbc00
R13: 000001003fc71070 R14: 0000000000000000 R15: ffffffff80615ec8
FS:  00000000005394a0(0000) GS:ffffffff8060d640(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000000000530038 CR3: 0000000000101000 CR4: 00000000000006e0
Process swapper (pid: 0, threadinfo ffffffff80614000, task ffffffff804d9980)
Stack: ffffffff805c1f08 000001002ca3f500 0000000000000000 ffffffff80615ec8
       00000000000000b9 ffffffff8015365c 0000000000002e40 00000000000000b9
       ffffffff80611200 ffffffff80611224
Call Trace:<IRQ> <ffffffff8015365c>{handle_IRQ_event+44} <ffffffff80153789>{__do_IRQ+249}
       <ffffffff8011042a>{do_IRQ+58} <ffffffff8010da7f>{ret_from_intr+0}
        <EOI> <ffffffff8010b740>{default_idle+0} <ffffffff8010b760>{default_idle+32}
       <ffffffff8010b7fc>{cpu_idle+44} <ffffffff8061775a>{start_kernel+378}
       <ffffffff8061726a>{_sinittext+618}

Code: 0f 0b 97 b5 08 a0 ff ff ff ff 05 02 8b 05 3f e9 53 e0 48 89
RIP <ffffffffa00893a7>{:i2o_core:i2o_pci_interrupt+87} RSP <ffffffff805c1f08>
 <0>Kernel panic - not syncing: Aiee, killing interrupt handler!

Any ideas what I should test now or do you need more infos?
Just let me know.

Regards,
Juergen Krause


Am Sonntag, 26. Dezember 2004 18:04 schrieb Alan Cox:
> On Sad, 2004-12-25 at 21:44, Juergen Krause wrote:
> > 0000:00:0c.0 PCI bridge: Intel Corp. 80960RM [i960RM Bridge] (rev 02)
> > 0000:00:0c.1 Class ff00: Intel Corp. 80960RM [i960RM Microprocessor] (rev
> > 02)
>
> The I2O layer expects the controller to be in I2O mode. You might want
> to try adding the PCI identifier directly to drivers/message/i2o/pci.c
> next to the DPT one.

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

end of thread, other threads:[~2004-12-27  0:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-25 21:44 kernel 2.6.10: promise sx6000 not detected by i2o_block Juergen Krause
2004-12-26 17:04 ` Alan Cox
2004-12-27  0:10   ` Juergen Krause

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome