andreas wrote:
Hello All,
I am new to this list and OpenBSD. I installed OpenBSD 4.7 i386 from CD
and FTP.
So which one is it? ftp or CD?
First I overseen Sorftraid, so I used CCD to mirror my hard
disks.
What are your bios settings for the disks?
After short use of the fresh installation I got a Segmentation
Fault in more and less. Badly I did not use gdb at this point, because
I assumed a failure on my side during installation or on my hardware.
Then very early I removed all and start again with Softraid. After a
few reboots, I was only getting familiar with OpenBSD and did some
little configuration work, sshd was not starting anymore.
What did you mess with to screw up sshd? You did an install, not an upgrade?
Again I got
Segmentation Fault, this time from sshd and ssh. Now I used gdb, and it
was telling me about some problem with libcrypto.so.18.0, my bad I did
not keep this file, I directly overwrote it with the lib from my backup
, which I needed to create the Softraid. After this sshd and ssh was
working normal again.
I checked my disks and my ram, they are fine.
How did you check them? Hopefully not by using SMART.
Did you try swapping drive cables for new ones? I have had MANY drive
problems that were from bad cables
I am just waiting for the
next Seg fault... I compiled nothing, I just created some users,
configured X and xdm. I guess it could be a problem with my sata
controller and the kernel, because both CCD and Softraid failed. The
only thing I observed was that this problem was always direct after
booting, it never occur during the system was running. Also I never had
a problem when I was using a single disk, but this was just a short
time during installation.
Thank you for all hints and help.
Andreas
# dmesg
OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010
[email protected]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: mobile AMD Athlon(tm) XP 3200+ ("AuthenticAMD" 686-class, 512KB L2
cache) 2.21 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem = 1073246208 (1023MB)
avail mem = 1031172096 (983MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/07/06, BIOS32 rev. 0 @ 0xfda50,
SMBIOS rev. 2.3 @ 0xf0630 (29 entries)
bios0: vendor American Megatrends Inc. version "P1.80" date 08/07/2006
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC
acpi0: wakeup devices UAR1(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4)
EHCI(S4) USBD(S4) PS2M(S4) PS2K(S4) AC9_(S4) MC9_(S4) ILAN(S4) PCI0(S4)
SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 400MHz
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 3, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpipwrres0 at acpi0: URP1
acpipwrres1 at acpi0: URP2
acpipwrres2 at acpi0: FDDP
acpipwrres3 at acpi0: LPTP
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
bios0: ROM list: 0xc0000/0xf000! 0xcf000/0x4400! 0xd3800/0x4800
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8377 PCI" rev 0x80
viaagp0 at pchb0: v3
agp0 at viaagp0: aperture at 0xe0000000, size 0xf000000
ppb0 at pci0 dev 1 function 0 "VIA VT8377 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 6600 GT AGP" rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pciide0 at pci0 dev 10 function 0 "CMD Technology SiI3114 SATA" rev
0x02: DMA
pciide0: using apic 2 int 18 (irq 3) for native-PCI interrupt
pciide0: port 0: device present, speed: 1.5Gb/s
wd0 at pciide0 channel 0 drive 0: <SAMSUNG HD401LJ>
wd0: 16-sector PIO, LBA48, 381554MB, 781422768 sectors
wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 7
pciide0: port 1: device present, speed: 1.5Gb/s
wd1 at pciide0 channel 1 drive 0: <SAMSUNG HD401LJ>
wd1: 16-sector PIO, LBA48, 381554MB, 781422768 sectors
wd1(pciide0:1:0): using BIOS timings, Ultra-DMA mode 7
emu0 at pci0 dev 12 function 0 "Creative Labs SoundBlaster Live" rev
0x05: apic 2 int 16 (irq 11)
ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at emu0
"Creative Labs PCI Gameport Joystick" rev 0x05 at pci0 dev 12 function 1
not configured
pciide1 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA
pciide1: using apic 2 int 20 (irq 10) for native-PCI interrupt
wd2 at pciide1 channel 0 drive 0: <SAMSUNG HD080HJ/P>
wd2: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd2(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
wd3 at pciide1 channel 1 drive 0: <SAMSUNG HD080HJ/P>
wd3: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd3(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 6
pciide2 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133,
channel 0 configured to compatibility, channel 1 configured to compatibility
pciide2: channel 0 disabled (no drives)
atapiscsi0 at pciide2 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TSSTcorp, CD/DVDW SH-S162A, TS01> ATAPI
5/cdrom removable
cd0(pciide2:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: apic 2 int
21 (irq 11)
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: apic 2 int
21 (irq 11)
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: apic 2 int
21 (irq 10)
uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x81: apic 2 int
21 (irq 10)
ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x86: apic 2 int 21
(irq 3)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1
viapm0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00
iic0 at viapm0
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC3200CL2.5
spdmem1 at iic0 addr 0x51: 512MB DDR SDRAM non-parity PC3200CL2.5
vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x78: apic 2 int 23
(irq 11), address 00:13:8f:06:e8:3f
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 10: OUI
0x004063, model 0x0032
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "VIA UHCI root hub" rev 1.00/1.00 addr 1
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x2e/2: W83697HF rev 0x12
lm1 at wbsio0 port 0x290/8: W83697HF
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
softraid0: trying to bring up sd0 degraded
scsibus2 at softraid0: 1 targets
sd0 at scsibus2 targ 0 lun 0: <OPENBSD, SR RAID 1, 003> SCSI2 0/direct fixed
sd0: 103437MB, 512 bytes/sec, 211840374 sec total
softraid0: roaming device -> wd1d
root on wd0a swap on wd0b dump on wd0b