2007-01-05 00:06:49

by Justin Rosander

[permalink] [raw]
Subject: PROBLEM: LSIFC909 mpt card fails to recognize devices

Hello,
Please forward this to the appropriate maintainer. Thank you.

[1.] One line summary of the problem: My fibre channel drives fail to
be recognized by my LSIFC909 card.
[2.] Full description of the problem/report: see #1.
[3.] Keywords (i.e., modules, networking, kernel):
[4.] Kernel version (from /proc/version): 2.6.17-rt3
[5.] Output of Oops.. message (if applicable) with symbolic information
resolved (see Documentation/oops-tracing.txt)
[6.] A small shell script or example program which triggers the
problem (if possible)
[7.] Environment
[7.1.] Software (add the output of the ver_linux script here)

If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux pelleas 2.6.17-rt3 #1 PREEMPT Thu Jan 4 00:25:15 EST 2007 i686 GNU/Linux

Gnu C 4.1.2 Gnu make 3.81
binutils 2.17 util-linux 2.12r
mount 2.12r module-init-tools 3.3-pre2
e2fsprogs 1.39 xfsprogs 2.8.11
PPP 2.4.4 Linux C Library 2.3.6 Dynamic
linker (ldd) 2.3.6 Procps 3.2.7
Net-tools 1.60 Console-tools 0.2.3
Sh-utils 5.96 udev 100
Modules Loaded mptctl mptfc mptscsih mptbase nvidia ppdev lp ipv6
dm_mod it87 hwmon_vid eeprom i2c_isa i2c_viapro snd_emu10k1_synth
snd_emux_synth snd_seq_virmidi snd_seq_midi_emul snd_seq_dummy
snd_seq_oss snd_seq_midi snd_seq_midi_event snd_seq tda9887 tuner
sd_mod snd_emu10k1 shpchp snd_rawmidi snd_ac97_codec snd_ac97_bus
pci_hotplug snd_pcm_oss snd_mixer_oss saa7134 video_buf compat_ioctl32
v4l2_common v4l1_compat snd_pcm snd_seq_device ir_kbd_i2c snd_timer
snd_page_alloc snd_util_mem snd_hwdep ir_common snd i2c_core psmouse
via_agp agpgart rtc eth1394 videodev analog evdev hci_usb joydev
mousedev pcspkr tsdev soundcore 8250_pnp bluetooth serio_raw ns558
gameport usblp parport_pc parport floppy ext3 jbd mbcache usb_storage
ide_cd cdrom ide_disk usbhid via82cxxx ohci1394 ieee1394 generic
ide_core scsi_transport_fc scsi_mod uhci_hcd ehci_hcd usbcore via_rhine
mii thermal processor fan



[7.2.] Processor information (from /proc/cpuinfo):

[7.3.] Module information (from /proc/modules):
mptctl 22468 0 - Live 0xd0d56000
mptfc 12872 0 - Live 0xd085a000
mptscsih 21376 1 mptfc, Live 0xd0cc8000
mptbase 46048 3 mptctl,mptfc,mptscsih, Live 0xd087d000
sd_mod 18952 0 - Live 0xd0aa8000
scsi_mod 123528 5 mptfc,mptscsih,sd_mod,usb_storage,scsi_transport_fc, Live 0xd08a4000



[7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem)
[7.5.] PCI information ('lspci -vvv' as root)
[7.6.] SCSI information (from /proc/scsi/scsi)
[7.7.] Other information that might be relevant to the problem
(please look in /proc and include all information that you
think to be relevant):
[X.] Other notes, patches, fixes, workarounds:




2007-01-05 00:59:44

by Andrew Morton

[permalink] [raw]
Subject: Re: PROBLEM: LSIFC909 mpt card fails to recognize devices

On Thu, 04 Jan 2007 19:06:46 -0500
Justin Rosander <[email protected]> wrote:

> Please forward this to the appropriate maintainer. Thank you.
>
> [1.] One line summary of the problem: My fibre channel drives fail to
> be recognized by my LSIFC909 card.

Please send the output of `lspci -vn'

2007-01-05 03:53:57

by Eric Moore

[permalink] [raw]
Subject: Re: PROBLEM: LSIFC909 mpt card fails to recognize devices

On Thu, Jan 04, 2007 at 04:59:22PM -0800, Andrew Morton wrote:
> On Thu, 04 Jan 2007 19:06:46 -0500
> Justin Rosander <[email protected]> wrote:
>
> > Please forward this to the appropriate maintainer. Thank you.
> >
> > [1.] One line summary of the problem: My fibre channel drives fail to
> > be recognized by my LSIFC909 card.
>
> Please send the output of `lspci -vn'
> -

Recompile the driver with MPT_DEBUG_INIT enabled in the driver Makefile,
and repost the output.

Eric Moore

2007-01-07 18:07:20

by Justin Rosander

[permalink] [raw]
Subject: Re: PROBLEM: LSIFC909 mpt card fails to recognize devices

Hi Eric,
I tried recompiling the kernel per your instructions, but I got a
failure here:
CC [M] drivers/message/fusion/mptbase.o
drivers/message/fusion/mptbase.c: In function ‘mpt_resume’:
drivers/message/fusion/mptbase.c:1526: warning: ignoring return value of ‘pci_enable_device’, declared with attribute warn_unused_result
CC [M] drivers/message/fusion/mptscsih.o
drivers/message/fusion/mptscsih.c: In function ‘mptscsih_initTarget’:
drivers/message/fusion/mptscsih.c:2691: error: ‘lun’ undeclared (first use in this function)
drivers/message/fusion/mptscsih.c:2691: error: (Each undeclared identifier is reported only once
drivers/message/fusion/mptscsih.c:2691: error: for each function it appears in.)
make[4]: *** [drivers/message/fusion/mptscsih.o] Error 1
make[3]: *** [drivers/message/fusion] Error 2
make[2]: *** [drivers/message] Error 2
make[1]: *** [drivers] Error 2

Did I do something wrong?
Regards,
Justin

On Thu, 2007-01-04 at 20:55 -0700, Eric Moore wrote:
> On Thu, Jan 04, 2007 at 04:59:22PM -0800, Andrew Morton wrote:
> > On Thu, 04 Jan 2007 19:06:46 -0500
> > Justin Rosander <[email protected]> wrote:
> >
> > > Please forward this to the appropriate maintainer. Thank you.
> > >
> > > [1.] One line summary of the problem: My fibre channel drives fail to
> > > be recognized by my LSIFC909 card.
> >
> > Please send the output of `lspci -vn'
> > -
>
> Recompile the driver with MPT_DEBUG_INIT enabled in the driver Makefile,
> and repost the output.
>
> Eric Moore

2007-01-08 16:23:47

by Moore, Eric

[permalink] [raw]
Subject: RE: PROBLEM: LSIFC909 mpt card fails to recognize devices

On Sunday, January 07, 2007 11:07 AM, Justin Rosander wrote:
> Hi Eric,
> I tried recompiling the kernel per your instructions, but I got a
> failure here:
> CC [M] drivers/message/fusion/mptbase.o
> drivers/message/fusion/mptbase.c: In function 'mpt_resume':
> drivers/message/fusion/mptbase.c:1526: warning:
> ignoring return value of 'pci_enable_device', declared with
> attribute warn_unused_result
> CC [M] drivers/message/fusion/mptscsih.o
> drivers/message/fusion/mptscsih.c: In function
> 'mptscsih_initTarget':
> drivers/message/fusion/mptscsih.c:2691: error: 'lun'
> undeclared (first use in this function)
> drivers/message/fusion/mptscsih.c:2691: error: (Each
> undeclared identifier is reported only once
> drivers/message/fusion/mptscsih.c:2691: error: for
> each function it appears in.)
> make[4]: *** [drivers/message/fusion/mptscsih.o] Error 1
> make[3]: *** [drivers/message/fusion] Error 2
> make[2]: *** [drivers/message] Error 2
> make[1]: *** [drivers] Error 2
>
> Did I do something wrong?
> Regards,
> Justin
>

All you need to do is change lun to sdev->lun.

I fix'ed that compile error in a patch I posted last week on the lsml:

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

Can you try again?

Eric Moore






2007-01-09 00:53:56

by Justin Rosander

[permalink] [raw]
Subject: Re: PROBLEM: LSIFC909 mpt card fails to recognize devices

Success! Here you are:
00:00.0 0600: 1106:3189 (rev 80)
Subsystem: 1458:5000
Flags: bus master, 66MHz, medium devsel, latency 8
Memory at d0000000 (32-bit, prefetchable) [size=128M]
Capabilities: [80] AGP version 3.5
Capabilities: [c0] Power Management version 2

00:01.0 0604: 1106:b198
Flags: bus master, 66MHz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: e0000000-e1ffffff
Prefetchable memory behind bridge: d8000000-dfffffff
Capabilities: [80] Power Management version 2

00:0a.0 0401: 1102:0004 (rev 04)
Subsystem: 1102:1003
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at c000 [size=64]
Capabilities: [dc] Power Management version 2

00:0a.2 0c00: 1102:4001 (rev 04) (prog-if 10)
Subsystem: 1102:0010
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at e3035000 (32-bit, non-prefetchable) [size=2K]
Memory at e3030000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2

00:0b.0 0480: 1131:7133 (rev 10)
Subsystem: 1043:4843
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at e3034000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [40] Power Management version 2

00:0c.0 0100: 1000:0621 (rev 01)
Subsystem: 10cd:1000
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
I/O ports at c400 [size=256]
Memory at e3000000 (64-bit, non-prefetchable) [size=128K]
Memory at e3020000 (64-bit, non-prefetchable) [size=64K]
[virtual] Expansion ROM at 30000000 [disabled] [size=1M]
Capabilities: [40] Power Management version 2

00:0f.0 0101: 1106:0571 (rev 06) (prog-if 8a)
Subsystem: 1458:5002
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at c800 [size=16]
Capabilities: [c0] Power Management version 2

00:10.0 0c03: 1106:3038 (rev 81)
Subsystem: 1458:5004
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at cc00 [size=32]
Capabilities: [80] Power Management version 2

00:10.1 0c03: 1106:3038 (rev 81)
Subsystem: 1458:5004
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at d000 [size=32]
Capabilities: [80] Power Management version 2

00:10.2 0c03: 1106:3038 (rev 81)
Subsystem: 1458:5004
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at d400 [size=32]
Capabilities: [80] Power Management version 2

00:10.3 0c03: 1106:3038 (rev 81)
Subsystem: 1458:5004
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at d800 [size=32]
Capabilities: [80] Power Management version 2

00:10.4 0c03: 1106:3104 (rev 86) (prog-if 20)
Subsystem: 1458:5004
Flags: bus master, medium devsel, latency 32, IRQ 10
Memory at e3036000 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2

00:11.0 0601: 1106:3227
Subsystem: 1458:5001
Flags: bus master, stepping, medium devsel, latency 0
Capabilities: [c0] Power Management version 2

00:11.5 0401: 1106:3059 (rev 60)
Subsystem: 1458:a002
Flags: medium devsel, IRQ 10
I/O ports at dc00 [size=256]
Capabilities: [c0] Power Management version 2

00:12.0 0200: 1106:3065 (rev 78)
Subsystem: 1458:e000
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at e000 [size=256]
Memory at e3037000 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 2

01:00.0 0300: 10de:0172 (rev a3)
Subsystem: 1545:0035
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 11
Memory at e0000000 (32-bit, non-prefetchable) [size=16M]
Memory at d8000000 (32-bit, prefetchable) [size=64M]
Memory at dc000000 (32-bit, prefetchable) [size=512K]
[virtual] Expansion ROM at dc080000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 2.0


On Thu, 2007-01-04 at 20:55 -0700, Eric Moore wrote:
> On Thu, Jan 04, 2007 at 04:59:22PM -0800, Andrew Morton wrote:
> > On Thu, 04 Jan 2007 19:06:46 -0500
> > Justin Rosander <[email protected]> wrote:
> >
> > > Please forward this to the appropriate maintainer. Thank you.
> > >
> > > [1.] One line summary of the problem: My fibre channel drives fail to
> > > be recognized by my LSIFC909 card.
> >
> > Please send the output of `lspci -vn'
> > -
>
> Recompile the driver with MPT_DEBUG_INIT enabled in the driver Makefile,
> and repost the output.
>
> Eric Moore

2007-01-09 01:17:33

by Moore, Eric

[permalink] [raw]
Subject: RE: PROBLEM: LSIFC909 mpt card fails to recognize devices

Justin wrote:

> Success! Here you are

Can you send the dmesg, boot.log, or messages from /var/log ?

It appears you've sent me lspci output instead.

Eric.

2007-01-10 13:47:07

by Justin Rosander

[permalink] [raw]
Subject: RE: PROBLEM: LSIFC909 mpt card fails to recognize devices

Hi Eric.
Here you go. Let me know if there's anything else that you need . . .
Regards,
Justin
On Mon, 2007-01-08 at 18:16 -0700, Moore, Eric wrote:
> Justin wrote:
>
> > Success! Here you are
>
> Can you send the dmesg, boot.log, or messages from /var/log ?
>
> It appears you've sent me lspci output instead.
>
> Eric.


Attachments:
dmesg.log (15.09 kB)
messages1.log (34.70 kB)
Download all attachments