More on ICH8

Nick Sayer nsayer at kfu.com
Sun Jul 23 21:01:37 UTC 2006


I've gotten a little bit further in trying to get the ICH8 (P965)  
chipset on my new machine recognized.

This page is quite helpful: http://pci-ids.ucw.cz/iii/?i=8086

Using it, I added some code to ata-chipset.c to recognize the ICH8  
SATA controllers and ehci_pci.c and uhci_pci.c to recognize the USB  
controllers.

The USB stuff appears to work flawlessly. The ATA stuff has one minor  
glitch:

atapci2: <Intel ICH8 SATA300 controller> port  
0xd400-0xd407,0xd080-0xd083,0xd000-0xd007,0xcc00-0xcc03,0xc880-0xc88f, 
0xc800-0xc80f irq 19 at device 31.5 on pci0
atapci2: failed to enable memory mapping!
ata7: <ATA channel 0> on atapci2
ata8: <ATA channel 1> on atapci2

I'm not sure what's up with the failure to memory-map, but since I  
only have one drive connected (and it's not connected to this  
particular instance), it's harmless at the moment.

I've moved my SATA drive from the JMicro RAID controller to one of  
the ICH8 ports, and it appears to work.

I tried to add the HD audio chip to /sys/sound/pci/ich.c, but  
unfortunately, all I get is an error that it cannot map its I/O space:

pcm0: <Intel ICH8 (82801H)> mem 0xfebf8000-0xfebfbfff irq 22 at  
device 27.0 on pci0
pcm0: unable to map IO port space
device_attach: pcm0 attach returned 6

The P5B motherboard has a Realtek Ethernet controller. Realtek has a  
FreeBSD driver for it: http://www.realtek.com.tw/downloads/ 
downloads1-3.aspx?Keyword=rtl8168

Perhaps their changes could be either rolled into -CURRENT or merged  
back to RELENG_6?

Getting the SMB controller recognized would be next, so I could get  
mbmon to work. I can't quite figure out which driver (if any) is  
close enough a match to try adding the PCI ID.

Last, but not least, since I have ATA_STATIC_ID turned on, I need to  
let the kernel know where the disk is every time I move it. The  
problem is that my AT keyboard doesn't work at the mountroot prompt  
for some odd reason. A USB keyboard plugged in early enough to be  
probed does work, however. But for some unknown reason, having a USB  
keyboard plugged in causes the system to boot in slow motion (this  
appears to be a BIOS bug - and yes, I did disable legacy USB support.  
No help). Anybody know what's up with that?



More information about the freebsd-questions mailing list