Re: LSI Logic fibre channel adapter in FreeBSD 6.0-BETA3

From: Mischa Peters <mischa.peters_at_gmail.com>
Date: Sun, 11 Sep 2005 00:33:09 +0200
Hi Dim! :)

On 9/11/05, Dimitry Andric <dimitry_at_andric.com> wrote:
> On 2005-09-10 at 22:28:53 Mischa Peters wrote:
> 
> >> > > I have a Fibre Channel card in my server, LSI Logic FC909A which was
> --snip--
> > root:~ # pciconf -vl
> > none0_at_pci0:11:0:        class=0x0c0400 card=0x10101000 chip=0x06261000 rev=0x00
> > hdr=0x00
> >     vendor   = 'LSI Logic (Was: Symbios Logic, NCR)'
> >     device   = 'LSIFC929X Dual Channel Fibre Channel I/O Processor'
> 
> Hm, your PCI configuration says it's a 929X?  And its chip id seems to
> be 0x0626, which isn't present in sys/dev/mpt/mpt_pci.c...  For some
> reason it was left out in the "massive overhaul" around revision 1.20?
> 
> Maybe you can apply a diff similar to the following (which was done
> for the RELENG_4_11 branch):
> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/mpt/mpt_pci.c.diff?r1=1.3.2.3&r2=1.3.2.3.10.1&f=h
> 
> It looks like simply adding the required PCI id, adding a case in
> mpt_pci_probe, and some minor other things.  Can you try the attached
> patch?  Since I'm doing this *completely* blind, YMMV, but please let
> us know how it goes.  A dmesg would be nice! ;)

I will try the patch and report back, dmesg is included.

> > root:~ # kldload mpt
> > kldload: can't load mpt: File exists
> 
> This isn't needed, the mpt driver is statically linked in the GENERIC
> kernel (assuming you're using that).

I asumed that much, but you never know.
I am not running GENERIC but it's close. :)

=== dmesg ===
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 6.0-BETA4 #2: Fri Sep  9 06:37:32 CEST 2005
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(TM) CPU                1300MHz (1302.96-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6b4  Stepping = 4
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 1073676288 (1023 MB)
avail memory = 1041797120 (993 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VIA694 AWRDACPI> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 5 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 10 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 11 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 12 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port
0xcf8-0xcff,0x4000-0x407f,0x4080-0x40ff,0x5000-0x500f on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 8633 (Pro 266) host to PCI bridge> mem
0xf0000000-0xf3ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
twe0: <3ware Storage Controller. Driver version 1.50.01.002> port
0xb000-0xb00f mem 0xf8000000-0xf87fffff irq 10 at device 7.0 on pci0
twe0: [GIANT-LOCKED]
twe0: 4 ports, Firmware FE7X 1.05.00.063, BIOS BE7X 1.08.00.048
pci0: <serial bus, Fibre Channel> at device 11.0 (no driver attached)
pci0: <serial bus, Fibre Channel> at device 11.1 (no driver attached)
atapci0: <Promise PDC20267 UDMA100 controller> port
0xbc00-0xbc07,0xc000-0xc003,0xc400-0xc407,0xc800-0xc803,0xcc00-0xcc3f
mem 0xf8900000-0xf891ffff irq 11 at device 12.0 on pci0
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xd000-0xd03f mem
0xf8960000-0xf8960fff,0xf8800000-0xf88fffff irq 12 at device 13.0 on
pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:30:48:41:ba:1d
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <VIA 8233 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd400-0xd40f at device 17.1 on
pci0
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1
uhci0: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 12 at device
17.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 12 at device
17.3 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 12 at device
17.4 on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
acpi_tz0: <Thermal Zone> on acpi0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A, console
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77b irq 7
drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem
0xc0000-0xc7fff,0xcc000-0xccfff,0xcd000-0xd0fff,0xd1000-0xd8fff on
isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1302961317 Hz quality 800
Timecounters tick every 1.000 msec
ad1: 19595MB <MAXTOR 6L020J1 AR1.0500> at ata0-slave UDMA100
twed0: <Unit 0, RAID5, Normal> on twe0
Trying to mount root from ufs:/dev/ad1s1a
=== end dmesg ===

Mischa
Received on Sat Sep 10 2005 - 20:33:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:43 UTC