[FUG-BR] Ajuda com Storage (HBA Qlogic 2312)

Mauro Felipe maurofelipe em gmail.com
Qui Maio 4 11:20:30 BRT 2006


2006/5/4, Marcus Alves Grando <marcus em corp.grupos.com.br>:
>
> Mauro,
>
> Você adicionou o ispfw no kernel ou carregou via kernel module?

Eu coloquei no kernel :
device    isp
device    ispfw


Via
> software da placa (bios), ela reconhece o storage?


Não sei se ele está reconhecendo o storage, no dmesg não mostra nada a não
ser as HBA's. O storage é um MSA1000 e no software que uso para falar qual
unidade lógica vai ser apresentada para as HBA's, no caso desse servidor
está com o status offline, mas a conexão está certinha e os leds estão
verdes.

Você liberou no
> storage para o ID da sua placa conectar e em qual partição?


Eu liberei para ele conectar em um Logical Driver. Até o momento não existe
nenhuma partição criada, somente a unidade lógica que eu disponibilizei para
essas duas HBA's.


Coloca isso no teu /boot/devices.hint
> hint.isp.0.topology="nport"
> hint.isp.0.debug="7"
>
> Depois manda o dmesg novamente
>

DMESG depois do boot com a nova configuração do devices.hint:

faraday# 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-RELEASE-p7 #0: Wed May  3 15:02:04 BRT 2006
    root em faraday.mct.gov.br:/usr/src/sys/i386/compile/FARADAY
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.06GHz (3047.93-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9

Features=0xbfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x4400<CNTX-ID,<b14>>
  Hyperthreading: 2 logical CPUs
real memory  = 2147459072 (2047 MB)
avail memory = 2096488448 (1999 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <COMPAQ P29> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link IUSB> on acpi0
pci_link1: <ACPI PCI Link IN16> on acpi0
pci_link2: <ACPI PCI Link IN17> on acpi0
pci_link3: <ACPI PCI Link IN18> on acpi0
pci_link4: <ACPI PCI Link IN19> on acpi0
pci_link5: <ACPI PCI Link IN20> on acpi0
pci_link6: <ACPI PCI Link IN21> on acpi0
pci_link7: <ACPI PCI Link IN22> on acpi0
pci_link8: <ACPI PCI Link IN23> on acpi0
pci_link9: <ACPI PCI Link IN24> on acpi0
pci_link10: <ACPI PCI Link IN25> on acpi0
pci_link11: <ACPI PCI Link IN26> on acpi0
pci_link12: <ACPI PCI Link IN27> on acpi0
pci_link13: <ACPI PCI Link IN28> on acpi0
pci_link14: <ACPI PCI Link IN29> on acpi0
pci_link15: <ACPI PCI Link IN30> on acpi0
pci_link16: <ACPI PCI Link IN31> on acpi0
pci_link17: <ACPI PCI Link IN32> on acpi0
pci_link18: <ACPI PCI Link IN33> on acpi0
pci_link19: <ACPI PCI Link IN34> on acpi0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x920-0x923 on acpi0
cpu0: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <display, VGA> at device 3.0 (no driver attached)
pci0: <base peripheral> at device 4.0 (no driver attached)
pci0: <base peripheral> at device 4.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks CSB5 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2000-0x200f at device 15.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
ohci0: <OHCI (generic) USB controller> mem 0xf5ef0000-0xf5ef0fff irq 7 at
device 15.2 on pci0
ohci0: [GIANT-LOCKED]
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: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib1: <ACPI Host-PCI bridge> on acpi0
pci1: <ACPI PCI bus> on pcib1
ciss0: <Compaq Smart Array 5i> port 0x3000-0x30ff mem
0xf7bc0000-0xf7bfffff,0xf7af0000-0xf7af3fff irq 10 at device 3.0 on pci1
ciss0: [GIANT-LOCKED]
pcib2: <ACPI Host-PCI bridge> on acpi0
pci2: <ACPI PCI bus> on pcib2
bge0: <Broadcom BCM5703 Gigabit Ethernet, ASIC rev. 0x1002> mem
0xf7cf0000-0xf7cfffff irq 11 at device 1.0 on pci2
miibus0: <MII bus> on bge0
brgphy0: <BCM5703 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX-FDX, auto
bge0: Ethernet address: 00:0e:7f:21:61:37
bge1: <Broadcom BCM5703 Gigabit Ethernet, ASIC rev. 0x1002> mem
0xf7ce0000-0xf7ceffff irq 15 at device 2.0 on pci2
miibus1: <MII bus> on bge1
brgphy1: <BCM5703 10/100/1000baseTX PHY> on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX-FDX, auto
bge1: Ethernet address: 00:0e:7f:21:61:36
pcib3: <ACPI Host-PCI bridge> on acpi0
pci3: <ACPI PCI bus> on pcib3
isp0: <Qlogic ISP 2312 PCI FC-AL Adapter> port 0x4000-0x40ff mem
0xf7df0000-0xf7df0fff irq 15 at device 1.0 on pci3
isp0: [GIANT-LOCKED]
isp0: Board Type 2312, Chip Revision 0x2, loaded F/W Revision 3.3.6
isp0: Installed in 64-Bit PCI slot
isp0: 839 max I/O commands supported
isp0: NVRAM Port WWN 0x210000e08b11c60d
pcib4: <ACPI Host-PCI bridge> on acpi0
pci6: <ACPI PCI bus> on pcib4
isp1: <Qlogic ISP 2312 PCI FC-AL Adapter> port 0x5000-0x50ff mem
0xf7ff0000-0xf7ff0fff irq 11 at device 1.0 on pci6
isp1: [GIANT-LOCKED]
bge2: <Broadcom BCM5701 Gigabit Ethernet, ASIC rev. 0x105> mem
0xf7fe0000-0xf7feffff irq 7 at device 2.0 on pci6
bge2: Ethernet address: 00:08:02:28:4a:b9
pci6: <base peripheral, PCI hot-plug controller> at device 30.0 (no driver
attached)
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
sio0: <Standard PC COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
fdc0: <floppy drive controller (FDE)> port 0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem
0xc0000-0xc7fff,0xc8000-0xcbfff,0xee000-0xeffff on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 3047929812 Hz quality 800
Timecounters tick every 1.000 msec
isp0: Point-to-Point mode
isp0: Loop UP
isp0: Port Database Changed
isp0: Port Database Changed
isp0: Firmware State <Config Wait->Ready>
isp0: Target 126 (Loop 0x7e) Port ID 0xfffffe (role (none)) Arrived
 Port WWN 0x200800606951ac31
 Node WWN 0x100000606951ac31
isp0: 2Gb link speed/s
isp0: Loop ID 255, AL_PA 0x0, Port ID 0x10800, Loop State 0x2, Topology 'F
Port'
isp0: Target 255 (Loop 0xff) Port ID 0x10800 (role Initiator) Arrived
 Port WWN 0x210000e08b11c60d
 Node WWN 0x200000e08b11c60d
acd0: CDRW <DW-224E/A.1K> at ata0-master PIO4
da0 at ciss0 bus 0 target 0 lun 0
da0: <COMPAQ RAID 5  VOLUME OK> Fixed Direct Access SCSI-0 device
da0: 135.168MB/s transfers
da0: 69455MB (142245120 512 byte sectors: 255H 32S/T 17432C)
Trying to mount root from ufs:/dev/da0s1a


O camcontrol continua mostrando a mesma coisa.

scbus0 on ciss0 bus 0:
<COMPAQ RAID 5  VOLUME OK>         at scbus0 target 0 lun 0 (pass0,da0)
scbus1 on ciss0 bus 32:
scbus2 on ciss0 bus 33:
scbus3 on isp0 bus 0:
<  >                               at scbus3 target -1 lun -1 ()
scbus4 on isp1 bus 0:
<  >                               at scbus4 target -1 lun -1 ()
scbus-1 on xpt0 bus 0:
<  >                               at scbus-1 target -1 lun -1 (xpt0)




--
[ ]´s

Mauro Felipe
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://www.fug.com.br/pipermail/freebsd/attachments/20060504/3c66652c/attachment-0002.html>


Mais detalhes sobre a lista de discussão freebsd