FreeBSD a Fibre channel

Tomas Zajpt chsajarsa at gmail.com
Tue Mar 25 13:33:49 CET 2008


da0 a da1 jsou localni disky.Myslim si ze dalsi disky by se mely
hlasit jako da*,ale nic takoveho tam nemam.Vsimnul sjem si ze kdyz
pres camcontrol rescan all provedu rescan vypise se mi ve
/var/log/messages tohle:
Mar 25 13:17:11 bhdesxbackup kernel: isp0: 0.0.0 FCP RESPONSE: 0x2
Mar 25 13:17:11 bhdesxbackup kernel: isp0: 0.1.0 FCP RESPONSE: 0x2
Mar 25 13:17:11 bhdesxbackup kernel: isp0: 0.0.0 FCP RESPONSE: 0x2
Mar 25 13:17:11 bhdesxbackup kernel: isp0: 0.1.0 FCP RESPONSE: 0x2
Mar 25 13:17:11 bhdesxbackup kernel: isp0: 0.0.0 FCP RESPONSE: 0x2
Mar 25 13:17:11 bhdesxbackup kernel: isp0: 0.1.0 FCP RESPONSE: 0x2
Mar 25 13:17:11 bhdesxbackup kernel: isp0: 0.0.0 FCP RESPONSE: 0x2
Mar 25 13:17:11 bhdesxbackup kernel: isp0: 0.1.0 FCP RESPONSE: 0x2
Mar 25 13:17:11 bhdesxbackup kernel: isp0: 0.0.0 FCP RESPONSE: 0x2
Mar 25 13:17:11 bhdesxbackup kernel: isp0: 0.1.0 FCP RESPONSE: 0x2



Jeste pro jistotu prikladam /var/run/dmesg.boot :
Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
    root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2388.48-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x4400<CNXT-ID,xTPR>
  Logical CPUs per core: 2
real memory  = 2147459072 (2047 MB)
avail memory = 2091909120 (1995 MB)
ACPI APIC Table: <COMPAQ 00000083>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-15 on motherboard
ioapic1 <Version 1.1> irqs 16-31 on motherboard
ioapic2 <Version 1.1> irqs 32-47 on motherboard
ioapic3 <Version 1.1> irqs 48-63 on motherboard
registered firmware set <isp_1040>
registered firmware set <isp_1040_it>
registered firmware set <isp_1080>
registered firmware set <isp_1080_it>
registered firmware set <isp_12160>
registered firmware set <isp_12160_it>
registered firmware set <isp_2100>
registered firmware set <isp_2200>
registered firmware set <isp_2300>
registered firmware set <isp_2322>
registered firmware set <isp_2400>
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27)
acpi0: <COMPAQ P28> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x920-0x923 on acpi0
cpu0: <ACPI CPU> on acpi0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
p4tcc1: <CPU Frequency Thermal Control> on cpu1
cpu2: <ACPI CPU> on acpi0
p4tcc2: <CPU Frequency Thermal Control> on cpu2
cpu3: <ACPI CPU> on acpi0
p4tcc3: <CPU Frequency Thermal Control> on cpu3
pcib0: <ACPI Host-PCI bridge> on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x2400-0x24ff mem
0xf6000000-0xf6ffffff,0xf5ff0000-0xf5ff0fff at device 3.0 on pci0
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
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
ohci0: <OHCI (generic) USB controller> mem 0xf5ef0000-0xf5ef0fff irq
11 at device 15.2 on pci0
ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
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> on usb0
uhub0: 4 ports with 4 removable, self powered
pcib1: <ACPI Host-PCI bridge> on acpi0
pci1: <ACPI PCI bus> on pcib1
ahc0: <Adaptec (Compaq OEM) 3960D Ultra160 SCSI adapter> port
0x3000-0x30ff mem 0xf7cf0000-0xf7cf0fff irq 30 at device 3.0 on pci1
ahc0: [ITHREAD]
aic7899: Ultra160 Wide Channel A, SCSI Id=1, 32/253 SCBs
ahc1: <Adaptec (Compaq OEM) 3960D Ultra160 SCSI adapter> port
0x3400-0x34ff mem 0xf7ce0000-0xf7ce0fff irq 31 at device 3.1 on pci1
ahc1: [ITHREAD]
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
bge0: <Compaq NC7781 Gigabit Server Adapter, ASIC rev. 0x1002> mem
0xf7cd0000-0xf7cdffff irq 29 at device 4.0 on pci1
miibus0: <MII bus> on bge0
brgphy0: <BCM5703 10/100/1000baseTX PHY> PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
bge0: Ethernet address: 00:08:02:de:44:4c
bge0: [ITHREAD]
pcib2: <ACPI Host-PCI bridge> on acpi0
pci2: <ACPI PCI bus> on pcib2
ciss0: <Compaq Smart Array 532> port 0x4000-0x40ff mem
0xf7ec0000-0xf7efffff,0xf7df0000-0xf7df3fff irq 16 at device 1.0 on
pci2
ciss0: [ITHREAD]
pcib3: <ACPI Host-PCI bridge> on acpi0
pci6: <ACPI PCI bus> on pcib3
isp0: <Qlogic ISP 2312 PCI FC-AL Adapter> port 0x5000-0x50ff mem
0xf7ff0000-0xf7ff0fff irq 24 at device 1.0 on pci6
isp0: [ITHREAD]
isp0: Board Type 2312, Chip Revision 0x2, loaded F/W Revision 3.3.19
pcib4: <ACPI Host-PCI bridge> on acpi0
pci10: <ACPI PCI bus> on pcib4
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]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse Explorer, device ID 4
sio0: <Standard PC COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio0: [FILTER]
sio1: <Standard PC COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
sio1: [FILTER]
fdc0: <floppy drive controller (FDE)> port 0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FILTER]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem
0xc0000-0xc7fff,0xc8000-0xcbfff,0xcc000-0xcd7ff,0xee000-0xeffff pnpid
ORM0000 on isa0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
ppbus0: [ITHREAD]
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
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
Timecounters tick every 1.000 msec
hptrr: no controller detected.
acd0: CDROM <LTN486S/YQSK> at ata0-master PIO4
Waiting 5 seconds for SCSI devices to settle
isp0: 0.0.0 FCP RESPONSE: 0x2
isp0: 0.1.0 FCP RESPONSE: 0x2
isp0: 0.0.0 FCP RESPONSE: 0x2
isp0: 0.1.0 FCP RESPONSE: 0x2
isp0: 0.0.0 FCP RESPONSE: 0x2
isp0: 0.1.0 FCP RESPONSE: 0x2
isp0: 0.0.0 FCP RESPONSE: 0x2
isp0: 0.1.0 FCP RESPONSE: 0x2
isp0: 0.0.0 FCP RESPONSE: 0x2
isp0: 0.1.0 FCP RESPONSE: 0x2
isp0: 0.0.0 FCP RESPONSE: 0x2
isp0: 0.1.0 FCP RESPONSE: 0x2
isp0: 0.0.0 FCP RESPONSE: 0x2
isp0: 0.1.0 FCP RESPONSE: 0x2
isp0: 0.0.0 FCP RESPONSE: 0x2
isp0: 0.1.0 FCP RESPONSE: 0x2
isp0: 0.0.0 FCP RESPONSE: 0x2
isp0: 0.1.0 FCP RESPONSE: 0x2
isp0: 0.0.0 FCP RESPONSE: 0x2
isp0: 0.1.0 FCP RESPONSE: 0x2
isp0: 0.1.0 FCP RESPONSE: 0x2
isp0: 0.0.0 FCP RESPONSE: 0x2
isp0: 0.1.0 FCP RESPONSE: 0x2
isp0: 0.0.0 FCP RESPONSE: 0x2
isp0: 0.1.0 FCP RESPONSE: 0x2
isp0: 0.0.0 FCP RESPONSE: 0x2
isp0: 0.1.0 FCP RESPONSE: 0x2
isp0: 0.0.0 FCP RESPONSE: 0x2
isp0: 0.1.0 FCP RESPONSE: 0x2
isp0: 0.0.0 FCP RESPONSE: 0x2
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: 34719MB (71106240 512 byte sectors: 255H 32S/T 8714C)
da1 at ciss0 bus 0 target 1 lun 0
da1: <COMPAQ RAID 5  VOLUME OK> Fixed Direct Access SCSI-0 device
da1: 135.168MB/s transfers
da1: 138913MB (284495085 512 byte sectors: 255H 63S/T 17709C)
sa0 at ahc1 bus 0 target 6 lun 0
sa0: <COMPAQ SuperDLT1 2323> Removable Sequential Access SCSI-2 device
sa0: 80.000MB/s transfers (40.000MHz, offset 62, 16bit)
SMP: AP CPU #2 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
Trying to mount root from ufs:/dev/da0s1a


2008/3/25, indigo <indigo at voda.cz>:
> On Tue, 25 Mar 2008 13:10:47 +0100, Tomas Zajpt <chsajarsa at gmail.com>
>  wrote:
>
>
>  > Vypada to ze neco vidim controller,ale opravdu nevim jak s tim
>  > pracovat dal.MOhl by jste me nekdo nakopnout.Diky
>  >
>  > camcontrol devlist:
>  > <COMPAQ SuperDLT1 2323>            at scbus1 target 6 lun 0 (sa0,pass0)
>  > <COMPAQ RAID 5  VOLUME OK>         at scbus2 target 0 lun 0 (pass1,da0)
>  > <COMPAQ RAID 5  VOLUME OK>         at scbus2 target 1 lun 0 (pass2,da1)
>  > <COMPAQ ARRAY CONTROLLER 2.60>     at scbus5 target 0 lun 0 (pass3)
>  > <COMPAQ ARRAY CONTROLLER 2.60>     at scbus5 target 1 lun 0 (pass4)
>  >
>
> Ahoj,
>  doufam ze te neurazim, ale co takhle zkusit:
>
>   newfs -L novy_disk -U /dev/da0
>   mkdir /mnt/novy_disk
>   mount /dev/ufs/novy_disk /mnt/novy_disk
>   dd if=/dev/zero of=/mnt/novy_disk/testfile bs=1024k count=1024
>   df -h /mnt/novy_disk
>
>  A bud budes mit dalsi dotazy a vypisy protoze neco nebude fungovat a nebo
>  to proste pojede.
>
>  V.
>
> --
>
> FreeBSD mailing list (users-l at freebsd.cz)
>  http://www.freebsd.cz/listserv/listinfo/users-l
>


-- 

                    S pozdravem Tomas



More information about the Users-l mailing list