My backup server ran out of space and I got my hands on a SATA pci
card carrying a Sil 3112a chip. The problem beeing that when
booting bsd the drive timeout with a message like:
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
I have flashed the motherboard and SATA controller bios:es to
the latest version. For the SATA controller i used the non-RAID
Booting bsd.rd works without any problems.
Booting bsd from 4.4 works without any problems.
Booting bsd from 4.5 or later stops with a timeout.
So I am going to start with 4.4 and work my way forwards if there
aren't any better ideas.
booting hd0a:bsd.rd: 5897688+943444 [61+224624+213013]=0x6f1290
entry point at 0x200120
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights
Copyright (c) 1995-2010 OpenBSD. All rights reserved. http://www.OpenBSD.org
OpenBSD 4.8-current (RAMDISK_CD) #225: Sat Dec 4 12:21:11 MST 2010
cpu0: Intel(R) Pentium(R) 4 CPU 2.20GHz ("GenuineIntel" 686-class) 2.23 GHz
real mem = 1073250304 (1023MB)
avail mem = 1048756224 (1000MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/16/02, BIOS32 rev. 0 @
0xfa1d0, SMBIOS rev. 2.3 @ 0xf0120 (38 entries)
bios0: vendor Award Software International, Inc. version "6.00 PG" date 09/16/2002
bios0: EVERCOM NETWORK 8IRX
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 100MHz
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at ...
So I have been comparing RAMDISK_CD and GENERIC for a few days
and it seems I can compile a working GENERIC by commenting
"options DIAGNOSTIC" in the config file.
Trying to find exactly which ifdef that kills the card I started
getting unpredictable results while changing ifdef's in
/usr/src/sys/kern and /usr/src/sys/scsi.
Sometimes it work sometimes it dosen't. :-(
Any suggestions would be very welcome.