features of ICH5/ICH5-R supported in -current or 5.1-RELEASE?

Glenn Johnson glennpj at charter.net
Fri Jul 4 14:13:51 PDT 2003

On Wed, Jul 02, 2003 at 10:07:46AM +0200, Soeren Schmidt wrote:
> It seems John Reynolds wrote:
> > Hi all, I'm wondering if some of the features of the ICH5 found in
> > the springdale and canterwood platforms (i865/i875) are currently
> > supported in either 5.1-RELEASE or -CURRENT?
> > 
> > I've read through some of the ATA code commits and see a few
> > comments related to ICH5 and I believe I spotted where the plain ATA
> > controller is recognized (and in theory fully supported as this
> > shouldn't have changed from ICH4). But I still have questions about
> > the following:
> > 
> >    1) S-ATA: Is the S-ATA controller in ICH5 supported and if not,
> >    are there plans to support it? If not, is the problem
> >    documentation or hardware to test with?
> I have committed code to support the SATA part of the ICH5, but so far
> noone has been able to test it and get back to me with results..

I just set up a system with an Abit IS7-E motherboard.  This board has
the 865-PE chipset with the ICH5.  I installed a Maxtor 80 GB SATA
drive.  The drive is seen by the BIOS as using ATA-100 but FreeBSD
reports the drive as using UDMA133.  Is this some sort of SATA-PATA
bridging?  I have a CD burner attached to the first PATA channel and the
BIOS automatically maps the SATA drive to IDE-2.  I am attaching the
output of dmesg.  Let me know what else you need.

---begin dmesg output---
Copyright (c) 1992-2003 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 5.1-CURRENT #5: Fri Jul  4 15:52:32 CDT 2003
    glenn at gforce.johnson.home:/usr/obj/usr/src/sys/GFORCE
Preloaded elf kernel "/boot/kernel/kernel" at 0xc047e000.
Preloaded elf module "/boot/kernel/vesa.ko" at 0xc047e1f4.
Preloaded elf module "/boot/kernel/if_xl.ko" at 0xc047e2a0.
Preloaded elf module "/boot/kernel/miibus.ko" at 0xc047e34c.
Preloaded elf module "/boot/kernel/snd_es137x.ko" at 0xc047e3f8.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc047e4a8.
Preloaded elf module "/boot/kernel/agp.ko" at 0xc047e554.
Preloaded elf module "/boot/kernel/random.ko" at 0xc047e5fc.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc047e6a8.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 2405465652 Hz
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2405.47-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  Hyperthreading: 2 logical CPUs
real memory  = 536805376 (511 MB)
avail memory = 516460544 (492 MB)
Changing APIC ID for IO APIC #0 from 0 to 2 on chip
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00178020, at 0xfec00000
Pentium Pro MTRR support enabled
VESA: v2.0, 131072k memory, flags:0x1, mode table:0xc03c9c02 (1000022)
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <IntelR AWRDACPI> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 11 entries at 0xc00fdc50
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_tz0: <thermal zone> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
IOAPIC #0 intpin 16 -> irq 2
IOAPIC #0 intpin 19 -> irq 9
IOAPIC #0 intpin 18 -> irq 10
IOAPIC #0 intpin 23 -> irq 11
IOAPIC #0 intpin 17 -> irq 16
agp0: <Intel 82865 host to AGP bridge> mem 0xf0000000-0xf7ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pci0: <serial bus, USB> at device 29.0 (no driver attached)
pci0: <serial bus, USB> at device 29.1 (no driver attached)
pci0: <serial bus, USB> at device 29.2 (no driver attached)
pci0: <serial bus, USB> at device 29.3 (no driver attached)
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
IOAPIC #0 intpin 20 -> irq 17
pcm0: <Creative CT5880-A> port 0xa000-0xa03f irq 17 at device 4.0 on pci2
pcm0: <SigmaTel STAC9708/11 AC97 Codec>
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xa400-0xa47f mem 0xfb000000-0xfb00007f irq 16 at device 9.0 on pci2
xl0: Ethernet address: 00:01:02:84:81:50
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 SATA150 controller> port 0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 irq 10 at device 31.2 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
orm0: <Option ROM> at iomem 0xc0000-0xccfff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
ata0-slave: ATAPI identify retries exceeded
ad2: 78167MB <Maxtor 6Y080M0> [158816/16/63] at ata1-master UDMA133
acd0: CD-RW <MATSHITA CD-RW CW-7586> at ata0-master WDMA2
SMP: AP CPU #1 Launched!
cd0 at ata0 bus 0 target 0 lun 0
cd0: <MATSHITA CD-RW  CW-7586 1.08> Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers
cd0: cd present [296447 x 2048 byte records]
Mounting root from ufs:/dev/ad2s1a
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xbc00-0xbc1f irq 2 at device 29.0 on pci0
usb0: <Intel 82801EB (ICH5) USB controller USB-A> 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
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xb000-0xb01f irq 9 at device 29.1 on pci0
usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0xb400-0xb41f irq 10 at device 29.2 on pci0
usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xb800-0xb81f irq 2 at device 29.3 on pci0
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfc000000-0xfc0003ff irq 11 at device 29.7 on pci0
ehci_pci_attach: companion usb0
ehci_pci_attach: companion usb1
ehci_pci_attach: companion usb2
ehci_pci_attach: companion usb3
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <EHCI (generic) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: (0x8086) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
drm0: <ATI Radeon QM R200 9100> port 0x9000-0x90ff mem 0xf9000000-0xf900ffff,0xe0000000-0xefffffff irq 2 at device 0.0 on pci1
info: [drm] AGP at 0xf0000000 128MB
info: [drm] Initialized radeon 1.8.0 20020828 on minor 0
info: [drm] Loading R200 Microcode
---end dmesg output---

Glenn Johnson
glennpj at charter.net

More information about the freebsd-current mailing list