Simon Barner wrote:> Philippe Pegon wrote:
>
>>Hi,
>>
>>we are hosting ftp8.fr.freebsd.org. The server is an HP DL360 G4 with an
>>HP msa20 attached for mirrors with FreeBSD 6, the msa20 is connected to
>>a smart array 642 card. Yesterday, due to bugs in the firmware of the
>>msa20 (like false detection of disk failures), we upgraded it with
>>version 2.4.56-6 and now FreeBSD cannot detect the msa20. Therefore
>>ftp8.fr.freebsd.org is down. Somebody can help ?
>
>
> You'll probably need to provide more information, e.g.
>
> - pciconf -l
> - Expert from old dmesg where it was detected.
> - Maybe the kernel config
you are right
anubis# pciconf -l
hostb0@pci0:0:0: class=0x060000 card=0x32000e11 chip=0x35908086 rev=0x0a
hdr=0x00
pcib1@pci0:2:0: class=0x060400 card=0x00000050 chip=0x35958086 rev=0x0a hdr=0x01
pcib2@pci0:4:0: class=0x060400 card=0x00000050 chip=0x35978086 rev=0x0a hdr=0x01
pcib5@pci0:6:0: class=0x060400 card=0x00000050 chip=0x35998086 rev=0x0a hdr=0x01
pcib6@pci0:28:0: class=0x060400 card=0x00000050 chip=0x25ae8086 rev=0x02
hdr=0x01
pcib7@pci0:30:0: class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x0a
hdr=0x01
isab0@pci0:31:0: class=0x060100 card=0x00000000 chip=0x25a18086 rev=0x02
hdr=0x00
atapci0@pci0:31:1: class=0x01018a card=0x32010e11 chip=0x25a28086 rev=0x02
hdr=0x00
pcib3@pci6:0:0: class=0x060400 card=0x00000044 chip=0x03298086 rev=0x09 hdr=0x01
pcib4@pci6:0:2: class=0x060400 card=0x00000044 chip=0x032a8086 rev=0x09 hdr=0x01
ciss0@pci10:1:0: class=0x010400 card=0x409b0e11 chip=0x00460e11 rev=0x01
hdr=0x00
ciss1@pci2:1:0: class=0x010400 card=0x40910e11 chip=0x00460e11 rev=0x01 hdr=0x00
bge0@pci2:2:0: class=0x020000 card=0x00d00e11 chip=0x164814e4 rev=0x10 hdr=0x00
bge1@pci2:2:1: class=0x020000 card=0x00d00e11 chip=0x164814e4 rev=0x10 hdr=0x00
none0@pci1:3:0: class=0x030000 card=0x001e0e11 chip=0x47521002 rev=0x27 hdr=0x00
none1@pci1:4:0: class=0x088000 card=0xb2060e11 chip=0xb2030e11 rev=0x01 hdr=0x00
none2@pci1:4:2: class=0x088000 card=0xb2060e11 chip=0xb2040e11 rev=0x01 hdr=0x00
I cannot find an old dmesg (too many error messages have filled
/var/log/messages*).
The current 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 #0: Thu Nov 24 20:51:49 CET 2005
toor@maton.u-strasbg.fr:/usr/obj/usr/src/sys/ANUBIS
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3600.15-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf41 Stepping = 1
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=0x659d<SSE3,RSVD2,MON,DS_CPL,EST,TM2,CNTX-ID,CX16,<b14>>
AMD Features=0x20000000<LM>
Hyperthreading: 2 logical CPUs
real memory = 3758043136 (3583 MB)
avail memory = 3678756864 (3508 MB)
ACPI APIC Table: <HP 00000083>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 6
ioapic1: Changing APIC ID to 9
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
ioapic2 <Version 2.0> irqs 48-71 on motherboard
ioapic3 <Version 2.0> irqs 72-95 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <HP P52> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 7 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 0 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 7 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 3 on acpi0
pci_link4: <ACPI PCI Link LNKE> irq 0 on acpi0
pci_link5: <ACPI PCI Link LNKF> irq 5 on acpi0
pci_link6: <ACPI PCI Link LNKG> irq 5 on acpi0
pci_link7: <ACPI PCI Link LNKH> irq 3 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x908-0x90b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
cpu1: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pci13: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pci6: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 0.0 on pci6
pci7: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 0.2 on pci6
pci10: <ACPI PCI bus> on pcib4
ciss0: <HP Smart Array 642> port 0x5000-0x50ff mem
0xfdff0000-0xfdff1fff,0xfdf80000-0xfdfbffff irq 72 at device 1.0 on pci10
ciss0: [GIANT-LOCKED]
pcib5: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci3: <ACPI PCI bus> on pcib5
pcib6: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib6
ciss1: <HP Smart Array 6i> port 0x4000-0x40ff mem
0xfdef0000-0xfdef1fff,0xfde80000-0xfdebffff irq 24 at device 1.0 on pci2
ciss1: [GIANT-LOCKED]
bge0: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2100> mem
0xfde70000-0xfde7ffff irq 25 at device 2.0 on pci2
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: Ethernet address: 00:12:79:3d:13:27
bge1: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2100> mem
0xfde60000-0xfde6ffff irq 26 at device 2.1 on pci2
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: Ethernet address: 00:12:79:3d:13:26
pcib7: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib7
pci1: <display, VGA> at device 3.0 (no driver attached)
pci1: <base peripheral> at device 4.0 (no driver attached)
pci1: <base peripheral> at device 4.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel 6300ESB UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x500-0x50f irq 18 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
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, device ID 3
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
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
Timecounters tick every 1.000 msec
acd0: CDROM <CRN-8245B/2.19> at ata0-master PIO4
SMP: AP CPU #1 Launched!
da0 at ciss1 bus 0 target 0 lun 0
da0: <COMPAQ RAID 1 VOLUME OK> Fixed Direct Access SCSI-0 device
da0: 135.168MB/s transfers
da0: 34727MB (71122560 512 byte sectors: 255H 32S/T 8716C)
Trying to mount root from ufs:/dev/da0s1a
WARNING: /home was not properly dismounted
WARNING: /local was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
WARNING: /home was not properly dismounted
WARNING: /local was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
Kernel config (include a GENERIC without cpu I486_CPU and cpu I586_CPU) :
#
# ANUBIS
#
include GENERIC2
ident ANUBIS
################################################################################
# removed from GENERIC
################################################################################
#nocpu I486_CPU
#nocpu I586_CPU
# Bus support.
nodevice eisa
# SCSI Controllers
nodevice amd # AMD 53C974 (Tekram DC-390(T))
nodevice isp # Qlogic family
#device ispfw # Firmware for QLogic HBAs- normally a module
nodevice mpt # LSI-Logic MPT-Fusion
#device ncr # NCR/Symbios Logic
nodevice trm # Tekram DC395U/UW/F DC315U adapters
nodevice adv # Advansys SCSI adapters
nodevice adw # Advansys wide SCSI adapters
nodevice aha # Adaptec 154x SCSI adapters
nodevice bt # Buslogic/Mylex MultiMaster SCSI adapters
nodevice ncv # NCR 53C500
nodevice nsp # Workbit Ninja SCSI-3
nodevice stg # TMC 18C30/18C50
# RAID controllers interfaced to the SCSI subsystem
nodevice arcmsr # Areca SATA II RAID
nodevice asr # DPT SmartRAID V, VI and Adaptec SCSI RAID
nodevice dpt # DPT Smartcache III, IV - See NOTES for options
nodevice hptmv # Highpoint RocketRAID 182x
nodevice iir # Intel Integrated RAID
nodevice ips # IBM (Adaptec) ServeRAID
nodevice mly # Mylex AcceleRAID/eXtremeRAID
nodevice twa # 3ware 9000 series PATA/SATA RAID
# RAID controllers
nodevice mlx # Mylex DAC960 family
nodevice pst # Promise Supertrak SX6000
nodevice twe # 3ware ATA RAID
# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
nodevice cbb # cardbus (yenta) bridge
nodevice pccard # PC Card (16-bit) bus
nodevice cardbus # CardBus (32-bit) bus
# Parallel port
nodevice ppc
nodevice ppbus # Parallel port bus (required)
nodevice lpt # Printer
nodevice plip # TCP/IP over parallel
nodevice ppi # Parallel port interface device
#device vpo # Requires scbus and da
# PCI Ethernet NICs.
nodevice de # DEC/Intel DC21x4x (``Tulip'')
nodevice txp # 3Com 3cR990 (``Typhoon'')
nodevice vx # 3Com 3c590, 3c595 (``Vortex'')
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these
NICs!
nodevice dc # DEC/Intel 21143 and various workalikes
nodevice nve # nVidia nForce MCP on-board Ethernet Networking
nodevice pcn # AMD Am79C97x PCI 10/100(precedence over
'lnc')
nodevice re # RealTek 8139C+/8169/8169S/8110S
nodevice rl # RealTek 8129/8139
nodevice sf # Adaptec AIC-6915 (``Starfire'')
nodevice sis # Silicon Integrated Systems SiS 900/SiS 7016
nodevice sk # SysKonnect SK-984x & SK-982x gigabit
Ethernet
nodevice ste # Sundance ST201 (D-Link DFE-550TX)
nodevice ti # Alteon Networks Tigon I/II gigabit Ethernet
nodevice tl # Texas Instruments ThunderLAN
nodevice tx # SMC EtherPower II (83c170 ``EPIC'')
nodevice vge # VIA VT612x gigabit Ethernet
nodevice vr # VIA Rhine, Rhine II
nodevice wb # Winbond W89C840F
nodevice xl # 3Com 3c90x (``Boomerang'',
``Cyclone'')
# ISA Ethernet NICs. pccard NICs included.
nodevice cs # Crystal Semiconductor CS89x0 NIC
# 'device ed' requires 'device miibus'
nodevice ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards
nodevice ex # Intel EtherExpress Pro/10 and Pro/10+
nodevice ep # Etherlink III based cards
nodevice fe # Fujitsu MB8696x based cards
nodevice ie # EtherExpress 8/16, 3C507, StarLAN 10 etc.
nodevice lnc # NE2100, NE32-VL Lance Ethernet cards
nodevice sn # SMC's 9000 series of Ethernet chips
nodevice xe # Xircom pccard Ethernet
# Wireless NIC cards
nodevice wlan # 802.11 support
nodevice an # Aironet 4500/4800 802.11 wireless NICs.
nodevice awi # BayStack 660 and others
nodevice ral # Ralink Technology RT2500 wireless NICs.
nodevice wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
#device wl # Older non 802.11 Wavelan wireless NIC.
# USB support
nodevice uhci # UHCI PCI->USB interface
nodevice ohci # OHCI PCI->USB interface
nodevice ehci # EHCI PCI->USB interface (USB 2.0)
nodevice usb # USB Bus (required)
#device udbp # USB Double Bulk Pipe devices
nodevice ugen # Generic
nodevice uhid # "Human Interface Devices"
nodevice ukbd # Keyboard
nodevice ulpt # Printer
nodevice umass # Disks/Mass storage - Requires scbus and da
nodevice ums # Mouse
nodevice ural # Ralink Technology RT2500USB wireless NICs
nodevice urio # Diamond Rio 500 MP3 player
nodevice uscanner # Scanners
# USB Ethernet, requires miibus
nodevice aue # ADMtek USB Ethernet
nodevice axe # ASIX Electronics USB Ethernet
nodevice cdce # Generic USB over Ethernet
nodevice cue # CATC USB Ethernet
nodevice kue # Kawasaki LSI USB Ethernet
nodevice rue # RealTek RTL8150 USB Ethernet
# FireWire support
nodevice firewire # FireWire bus code
nodevice sbp # SCSI over FireWire (Requires scbus and da)
nodevice fwe # Ethernet over FireWire (non-standard!)
################################################################################
# added from GENERIC
################################################################################
# altq(9). Enable the base part of the hooks with the ALTQ option.
# Individual disciplines must be built into the base system and can not be
# loaded as modules at this point. In order to build a SMP kernel you must
# also have the ALTQ_NOPCC option.
options ALTQ
options ALTQ_CBQ # Class Bases Queueing
options ALTQ_RED # Random Early Drop
options ALTQ_RIO # RED In/Out
options ALTQ_HFSC # Hierarchical Packet Scheduler
options ALTQ_CDNR # Traffic conditioner
options ALTQ_PRIQ # Priority Queueing
options ALTQ_NOPCC # Required for SMP build
# The following options will let you change the default colors of syscons.
options SC_KERNEL_CONS_ATTR=(FG_RED|BG_BLACK)
options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_RED)
options VESA
options SC_PIXEL_MODE
options SMP
device vlan
device pf
device pflog
device pfsync
device carp