Problems with SiI 3112 SATA RAID controller

May 12th, 2006
ata2: no sense translation for status: 0x51
ata2: translated ATA stat/err 0x51/00 to SCSI SK/ASC/ASCQ 0x3/11/04
ata2: status=0x51 { DriveReady SeekComplete Error }
ata2: no sense translation for status: 0x51
ata2: translated ATA stat/err 0x51/00 to SCSI SK/ASC/ASCQ 0x3/11/04
ata2: status=0x51 { DriveReady SeekComplete Error }

2.4.33-pre3 kernel, CONFIG_SCSI_SATA_SIL driver, EIO DM-8301R SATA RAID card:

libata version 1.20 loaded.
PCI(00:0c.0): version 0.9
ata1: SATA max UDMA/100 cmd 0xD080C080 ctl 0xD080C08A bmdma 0xD080C000 irq 11
ata2: SATA max UDMA/100 cmd 0xD080C0C0 ctl 0xD080C0CA bmdma 0xD080C008 irq 11
ata1: dev 0 cfg 49:2f00 82:746b 83:7f01 84:4023 85:7469 86:3c01 87:4023 88:407f
ata1: dev 0 ATA-7, max UDMA/133, 488397168 sectors: LBA48
ata1: dev 0 configured for UDMA/100
ata2: dev 0 cfg 49:2f00 82:746b 83:7f01 84:4023 85:7469 86:3e01 87:4023 88:407f
ata2: dev 0 ATA-7, max UDMA/133, 488397168 sectors: LBA48
ata2: dev 0 configured for UDMA/100
scsi0 : sata_sil
scsi1 : sata_sil
  Vendor: ATA       Model: WDC WD2500KS-00M  Rev: 02.0
  Type:   Direct-Access                      ANSI SCSI revision: 05
  Vendor: ATA       Model: WDC WD2500JS-55N  Rev: 10.0
  Type:   Direct-Access                      ANSI SCSI revision: 05
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0

Partial solution to DMA/write errors - BIOS upgrade:

http://www.siliconimage.com/search/searchresults.aspx?keyword=3112+bios

(4.2.76 at the time of writing)

gcc (Xcode Tools 2.2.1)

May 4th, 2006
$ gcc -v
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5250.obj~12/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ –with-gxx-include-dir=/include/c++/4.0.0 –build=powerpc-apple-darwin8 –with-arch=pentium-m –with-tune=prescott –program-prefix= –host=i686-apple-darwin8 –target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5250)
$ gcc-3.3 -v
Using built-in specs.
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1819)
$ gcc_select
Current default compiler:
gcc version 4.0.1 (Apple Computer, Inc. build 5250)

iMac dmesg

April 28th, 2006
hi mem tramps at 0xffe00000
PAE enabled
standard timeslicing quantum is 10000 us
vm_page_bootstrap: 254581 free pages
mig_table_max_displ = 71
Enabling XMM register save/restore and SSE/SSE2 opcodes
83 prelinked modules
ACPI CA 20051117 [debug level=0 layer=0]
AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled
AppleACPICPU: ProcessorApicId=1 LocalApicId=1 Enabled
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.

using 2613 buffer headers and 2613 cluster IO buffer headers
Enabling XMM register save/restore and SSE/SSE2 opcodes
IOAPIC: Version 0×20 Vectors 0:23
Started CPU 01
ACPI: System State [S0 S3 S4 S5] (S3)
Security auditing service present
BSM auditing present
disabled
rooting via boot-uuid from /chosen: 30976105-460C-4B94-B147-3EC4709F4856
Waiting on IOProviderClassIOResourcesIOResourceMatchboot-uuid-media
FireWire (OHCI) Lucent ID 5811 PCI now active, GUID 001451fffeb88896; max speed s400.
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleAHCI/AppleAHCIPort@2/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/WDC WD2500JS-40NG
B2 Media/IOGUIDPartitionScheme/Merged_Untitled@2
BSD root: disk0s2, major 14, minor 2
CSRHIDTransitionDriver::probe:
CSRHIDTransitionDriver::start before command
CSRHIDTransitionDriver::stop
IOBluetoothHCIController::start Idle Timer Stopped
Jettisoning kernel linker.
Resetting IOCatalogue.
Matching service count = 0
Matching service count = 0
Matching service count = 0
Matching service count = 0
Matching service count = 0
Previous Shutdown Cause: 0
IPv6 packet filtering initialized, default to accept, logging disabled
yukonosx: Ethernet address 00:16:cb:85:c7:01
AirPortPCI_MM: Ethernet address 00:14:51:e6:7e:ae
[HCIController][setupHardware] AFH Is Supported
AppleYukon - en0 link active, 100-Mbit, full duplex, symmetric flow control enabled
(52: SystemStarter)tfp: failed on 0:
(52: SystemStarter)tfp: failed on 0:
(52: SystemStarter)tfp: failed on 0:
(52: SystemStarter)tfp: failed on 0:
(52: SystemStarter)tfp: failed on 0:
(52: SystemStarter)tfp: failed on 0:
(52: SystemStarter)tfp: failed on 0:
ATY,Wormy: vram [80000000:08000000]
ATY,Wormy: vram [80000000:08000000]
(49: coreservicesd)tfp: failed on 0:
(49: coreservicesd)tfp: failed on 0:
IOBluetoothHCIController::terminateWL .. done
USBF:   5940.663        IOUSBPipe[0x27aa740]:ClosePipe for address 2, ep 1 had a retain count > 1.  Leaking a pipe
CSRHIDTransitionDriver::probe:
CSRHIDTransitionDriver::start before command
USBF:   5942.442        IOUSBDevice[0x2bdee00]::GetFullConfigurationDescriptor - Error (e00002ed) getting first 9 bytes of config descriptor
CSRHIDTransitionDriver::stop
IOBluetoothHCIController::start Idle Timer Stopped
[HCIController][setupHardware] AFH Is Supported

MacOS X 10.4.6

April 4th, 2006

Just updated to MacOS X 10.4.6 - solved AirPort speed problems.

Solaris 10 1/06

February 6th, 2006

Just updated to Solaris 10 1/06 on my laptop.

Notable changes: grub is used instead of old boot assistant and console is not white on black :)
Still not convinced why Java Desktop System is better than CDE :-) Installed firefox 1.5.0.1, thunderbird 1.5 and a bunch of stuff from Solaris Companion DVD (just needed pico or nano but finally I did install about 300MB…) Old habits die hard!

Very usable system, StarOffice just works, still no sound (audio810 does not work as advertised, everybody says it should work ‘out of the box’ on my hardware).

IP aliases in Solaris

December 4th, 2005


ifconfig iprb0:1 plumb
ifconfig iprb0:1 A.B.C.D netmask E.F.G.H up

to enable at boot time:
put host_name in /etc/hostname.iprb0:1 and add host_name entry in /etc/hosts, perhaps in /etc/netmasks if you don’t use a canonical netmask.

Solaris desktop

December 3rd, 2005

From yesterday I am using Solaris 10 on my laptop. I’ve removed Windows and FreeBSD. Works like a charm (except sound), includes StarOffice, I’ve installed Firefox, Thunderbird and OpenOffice. No problems so far. CDE with DarkGold color theme is my favourite for almost eight years, since I’ve installed Solaris 1.0beta on a SUN Workstation.

uname -a output:

SunOS laptop 5.10 Generic_118844-20 i86pc i386 i86pc

ip_conntrack

November 18th, 2005

Learned the hard way: NEVER COMPILE ip_conntrack into the Linux kernel… :-)

PowerDNS recursor problems

November 12th, 2005

It seems that PowerDNS’s pdns_recursor crashes on FreeBSD under load.

I’ve replaced it by a bind recursor. Excerpt from named.conf:


options {
directory "/etc/namedb";
pid-file "/var/run/named/pid";
dump-file "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";

listen-on port XXXX { 127.0.0.1; };
};

zone "." {
type hint;
file "named.root";
};

FreeBSD 6.0 on old hardware

November 9th, 2005

I have installed FreeBSD 6.0 on some old computer, seems to work very fast! I have rebuild world and kernel.

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: Sun Nov 6 00:13:58 EET 2005
root@XXXX:/usr/obj/usr/src/sys/XXXX
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (350.80-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x652 Stepping = 2
Features=0x183f9ff
real memory = 201261056 (191 MB)
avail memory = 191619072 (182 MB)
ACPI disabled by blacklist. Contact your BIOS vendor.
npx0: [FAST]
npx0:
on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0: pcibus 0 on motherboard
pir0: on motherboard
pci0:
on pcib0
agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0
pcib1: at device 1.0 on pci0
pci1:
on pcib1
pci1: at device 0.0 (no driver attached)
isab0: at device 7.0 on pci0
isa0: on isab0
atapci0: port 0×1f0-0×1f7,0×3f6,0×170-0×177,0×376,0×9080-0×908f at device 7.1 on pci0
ata0: on atapci0
ata1:
on atapci0
uhci0: port 0×9040-0×905f irq 11 at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
usb0:
on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: at device 7.3 (no driver attached)
fxp0: port 0×9000-0×901f mem 0×82300000-0×82300fff,0×82100000-0×821fffff irq 3 at device 16.0 on pci0
miibus0: on fxp0
inphy0: on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:00:e2:13:39:e0
rl0: port 0×7000-0×70ff mem 0×80100000-0×801000ff irq 10 at device 18.0 on pci0
miibus1: on rl0
rlphy0: on miibus1
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0e:2e:56:b7:83
pmtimer0 on isa0
orm0: at iomem 0xc0000-0xc7fff on isa0
atkbdc0: at port 0×60,0×64 on isa0
atkbd0: irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
fdc0: at port 0×3f0-0×3f5,0×3f7 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5″ drive> on fdc0 drive 0
ppc0: at port 0×378-0×37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0:
on ppc0
sc0: at flags 0×100 on isa0
sc0: VGA <16 virtual consoles, flags=0×300>
sio0 at port 0×3f8-0×3ff irq 4 flags 0×10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: at port 0×3c0-0×3df iomem 0xa0000-0xbffff on isa0
unknown: can’t assign resources (memory)
unknown: can’t assign resources (port)
unknown: can’t assign resources (port)
unknown: can’t assign resources (irq)
unknown: can’t assign resources (port)
unknown: can’t assign resources (port)
unknown: can’t assign resources (port)
Timecounter “TSC” frequency 350797222 Hz quality 800
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to accept, logging limited to 1 packets/entry by default
ad0: 6179MB at ata0-master UDMA33
acd0: CDROM at ata1-master PIO4
Trying to mount root from ufs:/dev/ad0s1a