proposed addition for sys/raid/ips (ServeRaid) driver in order to support latest 6M cards from Adaptec

Tomaž Borštnar tomaz.borstnar at over.net
Tue Sep 7 03:05:11 PDT 2004


YONETANI Tomokazu wrote:
Oops, a style fix to a comment in ips_commands.c accidentally slipped into
ips-new.diff.gz rather than ips-style.diff.gz, and another style fix
(removing unneccessary #include line) is backed out in ips-new.diff.gz .
Although this mistake does not affect resulting driver, I put revised
diffs at
http://les.ath.cx/DragonFly/ips-style.diff.gz
http://les.ath.cx/DragonFly/ips-new.diff.gz
in case the patches have chance to go into the tree.
I tried iso snapshots from last evening and it did not find the 
controller. Same message as before.

Here is my dmesg:

Copyright (c) 2003, 2004 The DragonFly Project.
Copyright (c) 1992-2003 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.
DragonFly 1.1-CURRENT #0: Tue Sep  7 00:15:03 GMT 2004
    root at xxxxxxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/GENERIC
TSC clock: 1993920297 Hz, i8254 clock: 1193265 Hz
CPU: AMD Opteron(tm) Processor 246 (1993.79-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0xf58  Stepping = 8
Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  AMD Features=0xe0500000<<b20>,AMIE,<b29>,DSP,3DNow!>
real memory  = 4227268608 (4128192K bytes)
avail memory = 4107370496 (4011104K bytes)
Preloaded elf kernel "/kernel" at 0xc065a000.
Preloaded elf module "/modules/acpi.ko" at 0xc065a294.
Pentium Pro MTRR support enabled
md0: Malloc disk
pcibios: BIOS version 2.10
Using $PIR table, 12 entries at 0xc00fdf00
npx0: <math processor> on motherboard
npx0: INT 16 interface
Using XMM optimized bcopy/copyin/copyout
acpi0: <PTLTD 	 XSDT> on motherboard
installed MI handler for int 9
acpi0: Power Button (fixed)
unknown: I/O range not supported
unknown: I/O range not supported
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib1: <ACPI Host-PCI bridge> port 
0x8080-0x80ff,0x8000-0x807f,0xcf8-0xcff iomem 0xd8000-0xdbfff on acpi0
pcib1: couldn't read bus number from cfg space
pcib1: trying bus number 1
pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0 - 
AE_NOT_FOUND
pci1: <ACPI PCI bus> on pcib1
ohci0: <OHCI (generic) USB controller> mem 0xfc100000-0xfc100fff irq 11 
at device 0.0 on pci1
installed MI handler for int 11
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ukbd0: Tangtop Generic USBPS2, rev 1.10/0.01, addr 2, iclass 3/1
kbd1 at ukbd0
ums0: Tangtop Generic USBPS2, rev 1.10/0.01, addr 2, iclass 3/1
ums0: 5 buttons and Z dir.
ohci1: <OHCI (generic) USB controller> mem 0xfc101000-0xfc101fff irq 11 
at device 0.1 on pci1
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
pci1: <ATI Mach64-GR graphics accelerator> at 5.0 irq 10
isab0: <ACPI Generic ISA bridge> on acpi0
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib2: <PCI to PCI bridge (vendor=1022 device=7460)> at device 6.0 on pci0
pci2: <PCI bus> on pcib2
ohci2: <OHCI (generic) USB controller> mem 0xfc100000-0xfc100fff irq 11 
at device 0.0 on pci2
ohci2: Could not map memory
device_probe_and_attach: ohci2 attach returned 6
ohci2: <OHCI (generic) USB controller> mem 0xfc101000-0xfc101fff irq 11 
at device 0.1 on pci2
ohci2: Could not map memory
device_probe_and_attach: ohci2 attach returned 6
pci2: <ATI Mach64-GR graphics accelerator> at 5.0 irq 10
isab1: <PCI to ISA bridge (vendor=1022 device=7468)> at device 7.0 on pci0
isa0: <ISA bus> on isab1
atapci0: <AMD 8111 UltraATA/133 controller> port 0x1020-0x102f at device 
7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
installed MI handler for int 14
ata1: at 0x170 irq 15 on atapci0
installed MI handler for int 15
pci0: <PCI to Other bridge (vendor=1022 device=746b)> at 7.3
pcib3: <PCI to PCI bridge (vendor=1022 device=7450)> at device 10.0 on pci0
pci3: <PCI bus> on pcib3
bge0: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003> mem 
0xfe000000-0xfe00ffff,0xfe010000-0xfe01ffff irq 10 at device 1.0 on pci3
installed MI handler for int 10
miibus0: <MII bus> on bge0
brgphy0: <BCM5704 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto
bge0: MAC address: 00:0d:60:14:86:22
bge1: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003> mem 
0xfe020000-0xfe02ffff,0xfe030000-0xfe03ffff irq 7 at device 1.1 on pci3
installed MI handler for int 7
miibus1: <MII bus> on bge1
brgphy1: <BCM5704 10/100/1000baseTX PHY> on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto
bge1: MAC address: 00:0d:60:14:86:23
pci0: <unknown card> (vendor=0x1022, dev=0x7451) at 10.1
pcib4: <PCI to PCI bridge (vendor=1022 device=7450)> at device 11.0 on pci0
pci4: <PCI bus> on pcib4
pcib5: <PCI to PCI bridge (vendor=1014 device=01a7)> at device 3.0 on pci4
pci5: <PCI bus> on pcib5
pci5: <unknown card> (vendor=0x9005, dev=0x0250) at 8.0 irq 10
pci0: <unknown card> (vendor=0x1022, dev=0x7451) at 11.1
orm0: <Option ROMs> at iomem 0xc8000-0xc97ff,0xc9800-0xcafff on isa0
pmtimer0 on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
installed MI handler for int 4
sio1: can't drain, serial port might not exist, disabling
ppc0: parallel port not found.
installed MI handler for int 0
acd0: CDROM <CD-224E> at ata1-master PIO4
Mounting root from cd9660:cd0c
cd0 at ata1 bus 0 target 0 lun 0
cd0: <TEAC CD-224E 2.9B> Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: cd present [107040 x 2048 byte records]

Here is pciconf -l:

ohci0 at pci1:0:0:	class=0x0c0310 card=0x74641014 chip=0x74641022 rev=0x0b 
hdr=0x00
ohci1 at pci1:0:1:	class=0x0c0310 card=0x74641014 chip=0x74641022 rev=0x0b 
hdr=0x00
none0 at pci1:5:0:	class=0x030000 card=0x02401014 chip=0x47521002 rev=0x27 
hdr=0x00
pcib2 at pci0:6:0:	class=0x060400 card=0x000000c0 chip=0x74601022 rev=0x07 
hdr=0x01
isab1 at pci0:7:0:	class=0x060100 card=0x74681022 chip=0x74681022 rev=0x05 
hdr=0x00
atapci0 at pci0:7:1:	class=0x01018a card=0x74691014 chip=0x74691022 
rev=0x03 hdr=0x00
none1 at pci0:7:3:	class=0x068000 card=0x746b1014 chip=0x746b1022 rev=0x05 
hdr=0x00
pcib3 at pci0:10:0:	class=0x060400 card=0x000000a0 chip=0x74501022 rev=0x12 
hdr=0x01
none2 at pci0:10:1:	class=0x080010 card=0x74511022 chip=0x74511022 rev=0x01 
hdr=0x00
pcib4 at pci0:11:0:	class=0x060400 card=0x000000a0 chip=0x74501022 rev=0x12 
hdr=0x01
none3 at pci0:11:1:	class=0x080010 card=0x74511022 chip=0x74511022 rev=0x01 
hdr=0x00
hostb0 at pci0:24:0:	class=0x060000 card=0x00000000 chip=0x11001022 
rev=0x00 hdr=0x00
hostb1 at pci0:24:1:	class=0x060000 card=0x00000000 chip=0x11011022 
rev=0x00 hdr=0x00
hostb2 at pci0:24:2:	class=0x060000 card=0x00000000 chip=0x11021022 
rev=0x00 hdr=0x00
hostb3 at pci0:24:3:	class=0x060000 card=0x00000000 chip=0x11031022 
rev=0x00 hdr=0x00
hostb4 at pci0:25:0:	class=0x060000 card=0x00000000 chip=0x11001022 
rev=0x00 hdr=0x00
hostb5 at pci0:25:1:	class=0x060000 card=0x00000000 chip=0x11011022 
rev=0x00 hdr=0x00
hostb6 at pci0:25:2:	class=0x060000 card=0x00000000 chip=0x11021022 
rev=0x00 hdr=0x00
hostb7 at pci0:25:3:	class=0x060000 card=0x00000000 chip=0x11031022 
rev=0x00 hdr=0x00
none4 at pci1:0:0:	class=0x0c0310 card=0x74641014 chip=0x74641022 rev=0x0b 
hdr=0x00
none5 at pci1:0:1:	class=0x0c0310 card=0x74641014 chip=0x74641022 rev=0x0b 
hdr=0x00
none6 at pci1:5:0:	class=0x030000 card=0x02401014 chip=0x47521002 rev=0x27 
hdr=0x00
bge0 at pci2:1:0:	class=0x020000 card=0x02a61014 chip=0x164814e4 rev=0x03 
hdr=0x00
bge1 at pci2:1:1:	class=0x020000 card=0x02a61014 chip=0x164814e4 rev=0x03 
hdr=0x00
pcib5 at pci3:3:0:	class=0x060400 card=0x00000080 chip=0x01a71014 rev=0x02 
hdr=0x01
none7 at pci4:8:0:	class=0x010400 card=0x02791014 chip=0x02509005 rev=0x02 
hdr=0x00

Last line is ServeRAID.

Tomaž





More information about the Submit mailing list