Core_2_Duo_Support

Differences between revisions 1 and 68 (spanning 67 versions)
Revision 1 as of 2006-09-02 21:44:05
Size: 1442
Editor: 69-175-18-6
Comment:
Revision 68 as of 2006-12-28 21:51:52
Size: 20219
Editor: 85-124-232-77
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
== Random Freezes on 965P motherboards ==

=== Hardware Affected ===
 * Asus P5B Deluxe (Motherboard)
 * Foxconn P9657AA-8EKRS2H (Motherboard)

=== Edgy/Kernel versions ===

 * This bug has been reported for Edgy (final)
 * Stock Kernels: 2.6.17-10-generic, 2.6.17-10-386
 * Custom Kernels: 2.6.19-rc2-mm2 (compiled from kernel.org sources), 2.6.17-13 (compiled from Ubuntu sources)

=== Summary ===

Frequent random lockups/freezes with Edgy. Issue persists even when X11 is not running. No third party modules (i.e. no nvidia). No information on syslog prior to crash.

=== Workarounds ===

None. Need additional info. Please share your experiences on this.
 My case : Asus P5B Deluxe with kubuntu Edgy, it works fine when I use ubuntu defaults kernel. But it doesn't support Marvell Lan card. So i tried sk98lin driver Ubuntu freeze at boot randomly(sometime, it works fine with two marvell lan card.).

Foxconn P9657AA-8EKRS2H with Ubuntu Edgy. Random freezes. Edgy does not support motherboard integrated Marvell LAN card so using a Netgear PCI LAN card. Vanilla Edgy set-up (i.e. not using Nvidia provided drivers etc). Hardware works find under Windows XP. Had to disable APIC in BIOS to get Edgy installed otherwise random lockups during installation. Windows would not boot with APIC disabled, so re-enabled it after Edgy installed.

Tried both Ubuntu 6.06.1 and 6.10 on an HP DC7700 and it will not boot, sits at loading Linux. 6.10 (at least) will boot if you add "acpi=off noapic nolapic" to kernel command line.


=== Notes ===

Hardware works fine in Windows.

See http://www.ubuntuforums.org/showthread.php?p=1671821#post1671821

== APIC turned on in BIOS freezes system during boot ==

=== Hardware Affected ===
 *MSI MS-7235 P965 Neo Series (Motherboard)
 *Intel DG965OT (Motheboard)
 (Maybe more!)

When booting either stock (2.6.17-10-generic) or current (2.6.17.11-ubuntu1) kernels, system freezes after displaying

[17179572.068000] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64
irq 1,12]

and before displaying

[17179572.080000] serio: i8042 AUX port at 0x60,0x64 irq 12

if IOAPIC is turned on in BIOS. Turning off IOAPIC allows the system to boot without issues, but this turns off SMP, causing only one of the two cores of the CPU to be picked up by the kernel:

[17179571.520000] SMP motherboard not detected.
[17179571.624000] Brought up 1 CPUs

=== Work-Arounds ===
 * Disabling legacy USB support (keyboard/mouse) appears to fix this problem in this particular case.
In the case of MSI MS-7235 P965 Neo, the only way to do so seems to set "USB Keyboard support" and "USB Keyboard support" settings to "Disabled"

=== Fixed in Dapper Status/Notes ===
Not fixed yet

=== Fixed in Edgy Status/Notes ===
Fixed in Edgy Eft beta/release candidate
* I would argue this is not fixed in the final release as I cannot boot my HP DC7700

Line 8: Line 73:
I believe this is caused due to the Intel P965 chipset has no more integrated IDE channel, thus the motherboard usually has an additional chip onboard for an IDE channel. In the current Gigabyte (I got one of them) and ASUS (think they have it too) this is a JMicron JMB363. Until very recently the kernel had a bug inside that made it unable to access the IDE/PATA channel. So If you have and IDE drive or HDD left you will not be able to use it. I believe this is caused due to the Intel P965 chipset has no more integrated IDE channel, thus the motherboard usually has an additional chip onboard for an IDE channel. In the current Gigabyte (I got one of them) and ASUS (think they have it too) this is a JMicron JMB363, in Intel motherboards it's a Marvell 88SE6101 controller. Until very recently the kernel had a bug inside that made it unable to access the IDE/PATA channel. So If you have and IDE drive or HDD left you will not be able to use it.

I would guess most people have a SATA drive with such a new computer. The trick to it is then to avoid the PATA CDROM for installation (though the BIOS can boot off it). Utilising USB, you can do the following:
 * Install Ubuntu from USB stick as per [https://help.ubuntu.com/community/Installation/FromUSBStick]
 * Boot off the PATA CDROM and copy a KNOPPIX installation to USB stick. KNOPPIX will utilise kernel etc from the CDROM and then resume booting from USB stick.
Either of these methods has worked for me just fine.
Line 11: Line 81:
#[https://launchpad.net/distros/ubuntu/+bug/58358 Installer (Live CD) Stuck at "Uncompressing Linux ... Ok, booting the kernel"]
#[https://launchpad.net/distros/ubuntu/+bug/55232 CD Detection Failed on install]
#[https://launchpad.net/distros/ubuntu/+bug/57502 JMicron PATA/SATA Controller does not work]
 *[https://launchpad.net/distros/ubuntu/+bug/58358 Installer (Live CD) Stuck at "Uncompressing Linux ... Ok, booting the kernel"]
 *[https://launchpad.net/distros/ubuntu/+bug/55232 CD Detection Failed on install]
 *[https://launchpad.net/distros/ubuntu/+bug/57502 JMicron PATA/SATA Controller does not work]
 *[https://launchpad.net/distros/ubuntu/+bug/67012 Marvell PATA controller is not supported]
Line 16: Line 87:
#Forum Discussions
##[]
##[]
##[]
##[]
##[]
##[]
##[]
##[]
#External Sources
##[http://www.suseforums.net/index.php?s=1776552b3af9bce7c0979825972c41f3&showtopic=22963&pid=126481&st=0&#entry126481 A discussion on what may be the same issue]
 *Forum Discussions
  *[http://www.ubuntuforums.org/showthread.php?t=236298&highlight=P965]
  *[http://www.ubuntuforums.org/showthread.php?t=249326&highlight=P965]
  *[http://www.ubuntuforums.org/showthread.php?t=234706&page=2&highlight=P965]
  *[http://www.ubuntuforums.org/showthread.php?t=239470&highlight=P965]
  *[http://www.ubuntuforums.org/showthread.php?t=225589&highlight=P965]
  *[http://www.ubuntuforums.org/showthread.php?t=187318&highlight=P965]
  *[http://www.ubuntuforums.org/showthread.php?t=233540&highlight=P965]
  *[http://www.ubuntuforums.org/showthread.php?t=215481&highlight=P965]
  *[http://www.ubuntuforums.org/showthread.php?t=231784&highlight=P965]
 *External Sources
  *[http://tinyurl.com/gfq2x A discussion on what may be the same issue]
  *[http://lkml.org/lkml/2006/10/16/157 Marvell PATA patch]
Line 29: Line 102:
GIGABYTE GA-965P-DS3 P965 775 (Motherboard)

''Please add more Ubuntu Users''
 *GIGABYTE GA-965P-DQ6 P965 775 (Motherboard), bsodmike (06-09-2006)
 *GIGABYTE GA-965P-DS4 P965 775 (Motherboard)
 *GIGABYTE GA-965P-DS3 P965 775 (Motherboard)
 *GIGABYTE GA-965P-S3 P965 775 (Motherboard)
 *MSI MS-7235 P965 Neo Series (Motherboard)
 *ASUS P5B P965 Series (Motherboard)
 *ASUS P5W DH Deluxe (Motherboard)
 *Intel DP965LT (Motherboard)
 *Intel DG965SS (Motherboard)
 *Intel DG965WH (Motherboard)
 *Intel DG965OT (Motherboard)
 *Probably other Intel motherboards based on P965/G965/Q965 chipsets
 *ABIT AB9 Series (Motherboard) (both pro & non-pro)
 *ECS P965T-A (Motherboard)
 *Foxconn P9657AA-8EKRS2H (Motherboard)
 *[Dapper] ASUS P5Dl2-VM (Motherboard) Intel 945 Chipset, intergrated graphic, sound & networking, Pentium D, LGA775 socket
 *Intel DG965RY (Motherboard)
 *''Please add more Ubuntu Users''

=== Fixed in Dapper Status/Notes ===
Not Yet
[Dapper] Boots from live CD and installs, plain 386 works, have 2 optical drives - DVD-RW fails to be recognised even though can boot and install from it, CD-RW works fro a few minutes before getting an IRQ confused message continuously at which point system becomes unusable. Install 686 and smp - freezes at login screen. Same with custom compiled kernel. Kernel boot options "/boot/vmlinuz-2.6.15.7-ubuntu1-tqft root=/dev/hda1 ro quiet splash irqpoll noapic nolapic ht=on" - now both CPUs on and running no freeze at login. Optical drives - main on first controller works but occassionally stops responding, secondary - gives IRQ confused message after a few seconds running. Have now disabled 2nd optical drive. Running smooth, other than no 2nd opticaldrive.

=== Fixed in Edgy Status/Notes ===
I tried Kubuntu Knot 2 tonight with no luck. It got to the start screen, and hit install and it freezes to a blank screen with a blinking cursor at the top left of the screen.

I've managed to get the edgy kernel to recognize my PATA drives by compiling in the disk controller modules and passing all-generic-ide at boot. I'm not sure yet if all of the ide modules have to be compiled in, or just ide-generic. From dmesg, it looks like ide-generic has to be initialized before anything else in order for this to work (which is why it can't be compiled as a module). Maybe somebody can figure out how to do this with the initrd, but for now compiling in ide-generic works for me. This works on 2.6.17.11, compiled from the git tree. I haven't tried the dapper kernel yet.

I tried Ubuntu Knot 3 ("Edgy Eft" - Alpha amd64 (20060915.1)) today with the "all-generic-ide" option without success. Unfortunately it seems that the patch from Alan Cox is not yet included in the kernel on the disc.

=== Work-Arounds ===
 *Connect IDE drive to SATA controller using a converter
    -- some adapters may not work with all drives
      * [http://www.newegg.com/Product/Product.asp?Item=N82E16812206002 Rosewill RC204] adapter confirmed to work with Samsung SH-S162A drive
      * [http://sewelldirect.com/SerialATAtoIDEConverter.asp This SATA to IDE Converter]worked for me. Be sure to plug your hard drives and optical drives in the Intel ICH 8 I/O controllers (Yellow SATA connectors on my board).
 *Use USB-IDE adapter to connect IDE CDROM, and boot from regular installation CD.
 *USB enclosure for ATA drives
 *Network(PXE) installation
    -- this requires another computer
    -- Many of the P965 mobos apparently use some Realtek Ethernet cards that aren't supported by the installer
       * workaround: get another PCI Ethernet card to install from
       * potential workaround (not tested): local network install
 * PCI/ATA controller card. I'm using a CMD649U chipset based card, although I can't seem to boot off the CD as isolinux brings up an error.
 * Boot from a working live-cd (e.g. [http://www.sysresccd.org/Main_Page System Rescue CD] or [http://www.knopper.net/knoppix/ Knoppix]) and install Ubuntu as described here: [http://d-i.alioth.debian.org/manual/en.i386/apds03.html]


=== Success Stories ===

==== Story 1 ====
I have managed to install Ubuntu Edgy Eft Knot 2 on my 965-based Core 2 Duo computer and I want to share my experiences.
My computer has the following specs:
 * Asus P5B motherboard
 * Maxtor SATA II disc
 * Asus DVD-RW

For the installation, I have bought a SATA->IDE adapter from [http://www.conrad.de Conrad] (Art-Nr 974452 - 62) which worked for my Asus DVD-RW but not for my LG-DVD-RAM.
On my board, there are 5 internal SATA connectors. One belongs to the JMicro controller and the other 4 to the ICH8 controller. Number 1 and 2 are red coloured and number 3 and 4 are black coloured. I have my harddisc connected to the first SATA port. In my case it was necessary to connect the CD/DVD drive to the second port and not to the third or fourth.
In the BIOS, the IDE configuration had to be configured to '''Enhanced -> AHCI'''.

I tried the following CDs:
 * LIVE (pre) Knot3 (20060915.1) amd64 : a lot of bus errors, timeouts during boot up. It took about 10 minutes to boot, so I canceled.
 * LIVE Knot2 amd64 : the same as above
 * ALTERNATE Knot2 amd64 : Pressing F6 at the grub menu and adding "'''all-generic-ide irqpoll'''" had worked for me.

After the installation and the first reboot, I had to edit the grub entry by pressing "e" and add the options mentioned above. I added these options to "# defoptions..." and "# altoptions..." in "/boot/grub/menu.lst" and run "update-grub" afterwards.

This was all I had to do to install Ubuntu using a SATA->IDE adapter.
If you have any questions, ask me (Zulu5).

==== Story 2 ====
I used the [http://sourceforge.net/projects/instlux instlux] and instluxNETUbuntu6_06 to install without CD. Worked without problems on P5B Deluxe. Now I need to wait for fixes to get CD/DVD and 1GB LAN working -but everything else seems to work fine.

==== Story 3 ====
I downloaded a Daily cd from http://cdimage.ubuntulinux.org/daily/ (the 28/09) and managed to install Edgy having a SATA HDD and an IDE CDROM.
Note: kernel 2.6.17-10 that this cd has fixes the problem with the Jmicron controller. Though then you get some problems with the ICH8 controller (Intel one) so I had to connect my SATA HDD to the JMicorn controller (for gigabyte GA-965p-DS3 the purple slots belong to the JMicron Controller)

Note #2: GRUB does not appear to support (all versions of the) JMicron controller, resulting in "Error 21". The workaround is to install LILO during the installation process. Before rebooting, go "Back" and from the menu choose "Install the LILO Bootloader". You may need to manually create a lilo.conf referencing /dev/sda as your boot drive. Another option is to use a Windows/FreeDOS bootloader to boot into a small DOS partition on the drive, containing the linld.com (http://195.66.192.168/linux/linld/) Linux booter for DOS (loadlin, on the other hand, chokes on Ubuntu's large initrd, so cannot be used), copy the kernel and initrd to it and boot from there.

==== Story 4 ====

On my Asus P5B with my SATA hard drive connected to the ICH8 controller and my PATA DVD writer drive connected to the JMicron IDE port, the daily live CD ( http://cdimage.ubuntu.com/daily-live/current/ ) of 11th October worked like a charm for me. The alternate CD did not work for me, so be sure to use the right one.

==== Story 5 ====

On my Asus P5B with dual SATAs plugged into ICH8 and an Asus DVD ROM drive connection to the JMicron IDE port, the alternate daily image of 14th October worked like a charm for me.

==== Story 6 ====
I used USB-IDE connector for connecting IDE CDROM to my Intel DG965OT motherboard. Installation of Edgy Eft beta was successful. Later I backported to 2.6.17 and compiled Marvell PATA driver from Alan Cox (http://lkml.org/lkml/2006/10/16/157). My IDE CDROM and hard drive work properly.
The back ported version of the driver is here: (http://www.malinov.com/linux/pata_marvell-0.0.4t.tar.gz) DISCLAIMER: USE IT AT YOUR OWN RISK, NO WARRANTY OF ANY KIND.
Note: SATA controller must be configured in AHCI mode (check BIOS setup), otherwise Ubuntu will not recognize SATA disks.

==== Story 7 ====

 *Asus P5B, bios version 0701 with Core 2 Duo E6400
 *1 SATA HD plugged into ICH8
 *1 PATA Combo DVD/CD writer (on the JMicron)
 *Edgy Eft RC

Initial boot was fine, but installer would hang the computer somewhere in the middle of installation, after partitioning and apparently during software installation. After trying various combinations of bios settings and kernel options, I finally blundered into a working combination:

 *disabled legacy USB in the bios (and hauled an old PS2 keyboard and mouse out of the closet)
 *set both ICH8 and JMicron to AHCI in the bios
 *used "noacpi" as an additional kernel boot option

I'm not sure if all of these are necessary -- I had tried the top two items by themselves and with other kernel boot options without success. "noacpi" seemed to be the thing that did the trick. In any case, the installer completed successfully without crashing/hanging.

==== Story 8 ====
[MichaelAnckaert]
I have a Core 2 Duo CPU, MSI P965 NeoF motherboard with the JMicron chipset.
My cd/dvd is connected to the JMicron IDE, my SATA2 HD is connected to the intel ICH8. I can boot and install from the default Edgy Live CD without any problem. Once installed, everything is fully functional!

==== Story 8b ====
[Mark Haase]
I have a Core 2 Duo CPU, MSI P965 NeoF motherboard with the JMicron chipset.
My dvd ist connected to the ICH8 and my HDDs are connected to the JMicron. I can boot the Edgy CD but no HDDs are recognized. So no install is possible.
First Feisty Alpha:
*Desktop: Booting, but X Server not working while starting to install
*Alternate: !!!Found the HDDs (which clear supports the oppinion that there _are_ bugs remaining in dapper and edgy)!!! Displayed only the partions of the first one. (Which is the wrong one in my case) I installed anyway but grub was installed on the wrong HDD and the PC booted (after a complete seemingly working install) back into XP.

==== Story 9 ====
Works fine with p5b-E ('cept for nic which is not supported). Been up for a month with
no crashes. User desktop did crash once while I was not home - perhaps because I had updated gnome). eide/sata/usb work fine. There is a bug in 2.6.17-10 kernel with tv tuners (not related to duo 2 core) - the author introduced it during a rewrite. It is fixed in 2.18.2 but I could not get 2.18.2 or 2.18.3 to boot. Will try again with 2.19 branch when it is stable.

==== Story 10 ====
I've installed Edgy on Intel DG965RY and DG965OT motherboards by building a custom installation CD with a kernel with the generic pci ide driver compiled (drivers/ide/pci/generic.c, CONFIG_BLK_DEV_GENERIC=y) in rather than as a module, and with the latest e1000 driver from sf.net. The e1000 driver in Edgy doesn't work on these motherboards but the latest on sf.net does.

I had a couple of minor problems, probably due to my kernel build, but they were easily worked around. The first was that the installation stalls after installing the kernel, waiting for user input. The workaround is to echo an empty string to the post-installation script's stdin via /proc/<pid>/fd/0. The second problem was that it wouldn't boot after the installation was completed, either because grub wasn't installed or the partition wasn't marked bootable. The workaround was to boot from the CD, run grub-install then toggle the boot flag with fdisk.

The only live CD I've found which will boot on these motherboards is [http://www.grml.org/ grml].

==== Story 11 ====
I've gotten Edgy installed many times now on my Gigabyte GA-965P-DS3 (Intel P965 Chipset) with an Intel Core 2 Duo E6600.

What I did was hit F6 at the installation screen and add the option "all-generic-ide", this seemed to fix all previous problems.

==== Story 12 ====

 *Abit AB9 (non-Pro)
 *Intel Core 2 Duo E6600
 *SATA2 hard drive connected to the Intel ICH8-controller
 *IDE DVD+-RW connected to the IDE controller as the master drive
 *Edgy Eft 64-bit (final)

Booted from the install cd. The install went without any problems and all hardware works perfectly out of the box (audio, gigabit ethernet). No additional boot parameters were necessary.

There is one problem, however: neither the live CD or the installed system will boot if legacy keyboard support is on ("USB keyboard support" = "BIOS"). My Windows install will not boot either. I solved this by using a PS/2 keyboard.

==== Story 13 ====

 *Asus P5B-E
 *Intel Core 2 Duo E6600
 *SATA2 hard drive connected to the Intel ICH8-controller
 *IDE CDROM and UDMA/100 HD connected to the JMicron IDE controller
 *Edgy Eft Latest Live CD (As of 2006-12-16)

Booted and installed fine from the CDROM, the JMicron problem appears to be fixed. The IDE HD was visible and is accessible.
Audio works fine, Onboard Ethernet is not detected, so I use a PCI ethernet card.

The only problem is the UDMA/100 HD is detected and setup as UDMA/33 on the JMicron controller, so is much slower than it needs to be.

Everything seems stable enough, have dual monitor working with Radeon XOrg driver, from PCI-E Card.

==== Story 14 ====

 *Abit AB9 Pro
 *Intel Core 2 Duo E6600
 *SATA2 hard drive connected to the Intel ICH8-controller
 *IDE DVD+-RW connected to the IDE controller as the master drive
 *Edgy Eft Live CD 6.10 - Latest Live CD (As of 2006-12-16)
 *Sparkle nvidia 7950GT

Booted from the install cd. The install went without any problems and all hardware works perfectly out of the box
(audio, gigabit ethernet). No additional boot parameters were necessary.

Frequent random freezes (at least one per hour).
Symptoms: Sound keeps playing (1 second part in continual loop). Not reacting to pings. Not responding to mouse/keyboard.

==== Story 15 ====

 *Asus P5B
 *Intel Core 2 Duo E6300
 *SATA2 hard disk connected to JMicron
 *PATA (IDE) DVD writer connected as master
 *Edgy Eft (Kubuntu 6.10) DVD

Boot from DVD and installation without any problems. However SATA2 HD has to be connected to the JMicron controller (not recognized if connected to the ICH8 - Asus P5B has an ICH8 and not ICH8R controller (R stays for RAID)).

The only issue is that sound is not working properly in some applications (e.g. wesnoth). There is a kind of static noise in background during playback. After application restart Linux crashes and boots again (no traces in log file what was going on). Sound in some other applications is working without problems (e.g. xmms).

We want to be sure that Ubuntu is fully compatible with the new Intel Core 2 Duo Processors.

This is a page to track bugs and discussions related to supporting this.

Problems

Random Freezes on 965P motherboards

Hardware Affected

  • Asus P5B Deluxe (Motherboard)
  • Foxconn P9657AA-8EKRS2H (Motherboard)

Edgy/Kernel versions

  • This bug has been reported for Edgy (final)
  • Stock Kernels: 2.6.17-10-generic, 2.6.17-10-386
  • Custom Kernels: 2.6.19-rc2-mm2 (compiled from kernel.org sources), 2.6.17-13 (compiled from Ubuntu sources)

Summary

Frequent random lockups/freezes with Edgy. Issue persists even when X11 is not running. No third party modules (i.e. no nvidia). No information on syslog prior to crash.

Workarounds

None. Need additional info. Please share your experiences on this.

  • My case : Asus P5B Deluxe with kubuntu Edgy, it works fine when I use ubuntu defaults kernel. But it doesn't support Marvell Lan card. So i tried sk98lin driver Ubuntu freeze at boot randomly(sometime, it works fine with two marvell lan card.).

Foxconn P9657AA-8EKRS2H with Ubuntu Edgy. Random freezes. Edgy does not support motherboard integrated Marvell LAN card so using a Netgear PCI LAN card. Vanilla Edgy set-up (i.e. not using Nvidia provided drivers etc). Hardware works find under Windows XP. Had to disable APIC in BIOS to get Edgy installed otherwise random lockups during installation. Windows would not boot with APIC disabled, so re-enabled it after Edgy installed.

Tried both Ubuntu 6.06.1 and 6.10 on an HP DC7700 and it will not boot, sits at loading Linux. 6.10 (at least) will boot if you add "acpi=off noapic nolapic" to kernel command line.

Notes

Hardware works fine in Windows.

See http://www.ubuntuforums.org/showthread.php?p=1671821#post1671821

APIC turned on in BIOS freezes system during boot

Hardware Affected

  • MSI MS-7235 P965 Neo Series (Motherboard)
  • Intel DG965OT (Motheboard) (Maybe more!)

When booting either stock (2.6.17-10-generic) or current (2.6.17.11-ubuntu1) kernels, system freezes after displaying

[17179572.068000] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12]

and before displaying

[17179572.080000] serio: i8042 AUX port at 0x60,0x64 irq 12

if IOAPIC is turned on in BIOS. Turning off IOAPIC allows the system to boot without issues, but this turns off SMP, causing only one of the two cores of the CPU to be picked up by the kernel:

[17179571.520000] SMP motherboard not detected. [17179571.624000] Brought up 1 CPUs

Work-Arounds

  • Disabling legacy USB support (keyboard/mouse) appears to fix this problem in this particular case.

In the case of MSI MS-7235 P965 Neo, the only way to do so seems to set "USB Keyboard support" and "USB Keyboard support" settings to "Disabled"

Fixed in Dapper Status/Notes

Not fixed yet

Fixed in Edgy Status/Notes

Fixed in Edgy Eft beta/release candidate * I would argue this is not fixed in the final release as I cannot boot my HP DC7700

Installer Freezes on Not Finding IDE CD/DVD-ROM Drive

I believe this is caused due to the Intel P965 chipset has no more integrated IDE channel, thus the motherboard usually has an additional chip onboard for an IDE channel. In the current Gigabyte (I got one of them) and ASUS (think they have it too) this is a JMicron JMB363, in Intel motherboards it's a Marvell 88SE6101 controller. Until very recently the kernel had a bug inside that made it unable to access the IDE/PATA channel. So If you have and IDE drive or HDD left you will not be able to use it.

I would guess most people have a SATA drive with such a new computer. The trick to it is then to avoid the PATA CDROM for installation (though the BIOS can boot off it). Utilising USB, you can do the following:

Either of these methods has worked for me just fine.

More Info

Hardware Affected

  • GIGABYTE GA-965P-DQ6 P965 775 (Motherboard), bsodmike (06-09-2006)
  • GIGABYTE GA-965P-DS4 P965 775 (Motherboard)
  • GIGABYTE GA-965P-DS3 P965 775 (Motherboard)
  • GIGABYTE GA-965P-S3 P965 775 (Motherboard)
  • MSI MS-7235 P965 Neo Series (Motherboard)
  • ASUS P5B P965 Series (Motherboard)
  • ASUS P5W DH Deluxe (Motherboard)
  • Intel DP965LT (Motherboard)
  • Intel DG965SS (Motherboard)
  • Intel DG965WH (Motherboard)
  • Intel DG965OT (Motherboard)
  • Probably other Intel motherboards based on P965/G965/Q965 chipsets
  • ABIT AB9 Series (Motherboard) (both pro & non-pro)

  • ECS P965T-A (Motherboard)
  • Foxconn P9657AA-8EKRS2H (Motherboard)
  • [Dapper] ASUS P5Dl2-VM (Motherboard) Intel 945 Chipset, intergrated graphic, sound & networking, Pentium D, LGA775 socket

  • Intel DG965RY (Motherboard)
  • Please add more Ubuntu Users

Fixed in Dapper Status/Notes

Not Yet [Dapper] Boots from live CD and installs, plain 386 works, have 2 optical drives - DVD-RW fails to be recognised even though can boot and install from it, CD-RW works fro a few minutes before getting an IRQ confused message continuously at which point system becomes unusable. Install 686 and smp - freezes at login screen. Same with custom compiled kernel. Kernel boot options "/boot/vmlinuz-2.6.15.7-ubuntu1-tqft root=/dev/hda1 ro quiet splash irqpoll noapic nolapic ht=on" - now both CPUs on and running no freeze at login. Optical drives - main on first controller works but occassionally stops responding, secondary - gives IRQ confused message after a few seconds running. Have now disabled 2nd optical drive. Running smooth, other than no 2nd opticaldrive.

Fixed in Edgy Status/Notes

I tried Kubuntu Knot 2 tonight with no luck. It got to the start screen, and hit install and it freezes to a blank screen with a blinking cursor at the top left of the screen.

I've managed to get the edgy kernel to recognize my PATA drives by compiling in the disk controller modules and passing all-generic-ide at boot. I'm not sure yet if all of the ide modules have to be compiled in, or just ide-generic. From dmesg, it looks like ide-generic has to be initialized before anything else in order for this to work (which is why it can't be compiled as a module). Maybe somebody can figure out how to do this with the initrd, but for now compiling in ide-generic works for me. This works on 2.6.17.11, compiled from the git tree. I haven't tried the dapper kernel yet.

I tried Ubuntu Knot 3 ("Edgy Eft" - Alpha amd64 (20060915.1)) today with the "all-generic-ide" option without success. Unfortunately it seems that the patch from Alan Cox is not yet included in the kernel on the disc.

Work-Arounds

  • Connect IDE drive to SATA controller using a converter
  • Use USB-IDE adapter to connect IDE CDROM, and boot from regular installation CD.
  • USB enclosure for ATA drives
  • Network(PXE) installation
    • -- this requires another computer -- Many of the P965 mobos apparently use some Realtek Ethernet cards that aren't supported by the installer
      • workaround: get another PCI Ethernet card to install from
      • potential workaround (not tested): local network install
  • PCI/ATA controller card. I'm using a CMD649U chipset based card, although I can't seem to boot off the CD as isolinux brings up an error.
  • Boot from a working live-cd (e.g. [http://www.sysresccd.org/Main_Page System Rescue CD] or [http://www.knopper.net/knoppix/ Knoppix]) and install Ubuntu as described here: [http://d-i.alioth.debian.org/manual/en.i386/apds03.html]

Success Stories

Story 1

I have managed to install Ubuntu Edgy Eft Knot 2 on my 965-based Core 2 Duo computer and I want to share my experiences. My computer has the following specs:

  • Asus P5B motherboard
  • Maxtor SATA II disc
  • Asus DVD-RW

For the installation, I have bought a SATA->IDE adapter from [http://www.conrad.de Conrad] (Art-Nr 974452 - 62) which worked for my Asus DVD-RW but not for my LG-DVD-RAM. On my board, there are 5 internal SATA connectors. One belongs to the JMicro controller and the other 4 to the ICH8 controller. Number 1 and 2 are red coloured and number 3 and 4 are black coloured. I have my harddisc connected to the first SATA port. In my case it was necessary to connect the CD/DVD drive to the second port and not to the third or fourth. In the BIOS, the IDE configuration had to be configured to Enhanced -> AHCI.

I tried the following CDs:

  • LIVE (pre) Knot3 (20060915.1) amd64 : a lot of bus errors, timeouts during boot up. It took about 10 minutes to boot, so I canceled.
  • LIVE Knot2 amd64 : the same as above
  • ALTERNATE Knot2 amd64 : Pressing F6 at the grub menu and adding "all-generic-ide irqpoll" had worked for me.

After the installation and the first reboot, I had to edit the grub entry by pressing "e" and add the options mentioned above. I added these options to "# defoptions..." and "# altoptions..." in "/boot/grub/menu.lst" and run "update-grub" afterwards.

This was all I had to do to install Ubuntu using a SATA->IDE adapter. If you have any questions, ask me (Zulu5).

Story 2

I used the [http://sourceforge.net/projects/instlux instlux] and instluxNETUbuntu6_06 to install without CD. Worked without problems on P5B Deluxe. Now I need to wait for fixes to get CD/DVD and 1GB LAN working -but everything else seems to work fine.

Story 3

I downloaded a Daily cd from http://cdimage.ubuntulinux.org/daily/ (the 28/09) and managed to install Edgy having a SATA HDD and an IDE CDROM. Note: kernel 2.6.17-10 that this cd has fixes the problem with the Jmicron controller. Though then you get some problems with the ICH8 controller (Intel one) so I had to connect my SATA HDD to the JMicorn controller (for gigabyte GA-965p-DS3 the purple slots belong to the JMicron Controller)

Note #2: GRUB does not appear to support (all versions of the) JMicron controller, resulting in "Error 21". The workaround is to install LILO during the installation process. Before rebooting, go "Back" and from the menu choose "Install the LILO Bootloader". You may need to manually create a lilo.conf referencing /dev/sda as your boot drive. Another option is to use a Windows/FreeDOS bootloader to boot into a small DOS partition on the drive, containing the linld.com (http://195.66.192.168/linux/linld/) Linux booter for DOS (loadlin, on the other hand, chokes on Ubuntu's large initrd, so cannot be used), copy the kernel and initrd to it and boot from there.

Story 4

On my Asus P5B with my SATA hard drive connected to the ICH8 controller and my PATA DVD writer drive connected to the JMicron IDE port, the daily live CD ( http://cdimage.ubuntu.com/daily-live/current/ ) of 11th October worked like a charm for me. The alternate CD did not work for me, so be sure to use the right one.

Story 5

On my Asus P5B with dual SATAs plugged into ICH8 and an Asus DVD ROM drive connection to the JMicron IDE port, the alternate daily image of 14th October worked like a charm for me.

Story 6

I used USB-IDE connector for connecting IDE CDROM to my Intel DG965OT motherboard. Installation of Edgy Eft beta was successful. Later I backported to 2.6.17 and compiled Marvell PATA driver from Alan Cox (http://lkml.org/lkml/2006/10/16/157). My IDE CDROM and hard drive work properly. The back ported version of the driver is here: (http://www.malinov.com/linux/pata_marvell-0.0.4t.tar.gz) DISCLAIMER: USE IT AT YOUR OWN RISK, NO WARRANTY OF ANY KIND. Note: SATA controller must be configured in AHCI mode (check BIOS setup), otherwise Ubuntu will not recognize SATA disks.

Story 7

  • Asus P5B, bios version 0701 with Core 2 Duo E6400
  • 1 SATA HD plugged into ICH8
  • 1 PATA Combo DVD/CD writer (on the JMicron)
  • Edgy Eft RC

Initial boot was fine, but installer would hang the computer somewhere in the middle of installation, after partitioning and apparently during software installation. After trying various combinations of bios settings and kernel options, I finally blundered into a working combination:

  • disabled legacy USB in the bios (and hauled an old PS2 keyboard and mouse out of the closet)
  • set both ICH8 and JMicron to AHCI in the bios
  • used "noacpi" as an additional kernel boot option

I'm not sure if all of these are necessary -- I had tried the top two items by themselves and with other kernel boot options without success. "noacpi" seemed to be the thing that did the trick. In any case, the installer completed successfully without crashing/hanging.

Story 8

[MichaelAnckaert] I have a Core 2 Duo CPU, MSI P965 NeoF motherboard with the JMicron chipset. My cd/dvd is connected to the JMicron IDE, my SATA2 HD is connected to the intel ICH8. I can boot and install from the default Edgy Live CD without any problem. Once installed, everything is fully functional!

Story 8b

[Mark Haase] I have a Core 2 Duo CPU, MSI P965 NeoF motherboard with the JMicron chipset. My dvd ist connected to the ICH8 and my HDDs are connected to the JMicron. I can boot the Edgy CD but no HDDs are recognized. So no install is possible. First Feisty Alpha: *Desktop: Booting, but X Server not working while starting to install *Alternate: !!!Found the HDDs (which clear supports the oppinion that there _are_ bugs remaining in dapper and edgy)!!! Displayed only the partions of the first one. (Which is the wrong one in my case) I installed anyway but grub was installed on the wrong HDD and the PC booted (after a complete seemingly working install) back into XP.

Story 9

Works fine with p5b-E ('cept for nic which is not supported). Been up for a month with no crashes. User desktop did crash once while I was not home - perhaps because I had updated gnome). eide/sata/usb work fine. There is a bug in 2.6.17-10 kernel with tv tuners (not related to duo 2 core) - the author introduced it during a rewrite. It is fixed in 2.18.2 but I could not get 2.18.2 or 2.18.3 to boot. Will try again with 2.19 branch when it is stable.

Story 10

I've installed Edgy on Intel DG965RY and DG965OT motherboards by building a custom installation CD with a kernel with the generic pci ide driver compiled (drivers/ide/pci/generic.c, CONFIG_BLK_DEV_GENERIC=y) in rather than as a module, and with the latest e1000 driver from sf.net. The e1000 driver in Edgy doesn't work on these motherboards but the latest on sf.net does.

I had a couple of minor problems, probably due to my kernel build, but they were easily worked around. The first was that the installation stalls after installing the kernel, waiting for user input. The workaround is to echo an empty string to the post-installation script's stdin via /proc/<pid>/fd/0. The second problem was that it wouldn't boot after the installation was completed, either because grub wasn't installed or the partition wasn't marked bootable. The workaround was to boot from the CD, run grub-install then toggle the boot flag with fdisk.

The only live CD I've found which will boot on these motherboards is [http://www.grml.org/ grml].

Story 11

I've gotten Edgy installed many times now on my Gigabyte GA-965P-DS3 (Intel P965 Chipset) with an Intel Core 2 Duo E6600.

What I did was hit F6 at the installation screen and add the option "all-generic-ide", this seemed to fix all previous problems.

Story 12

  • Abit AB9 (non-Pro)
  • Intel Core 2 Duo E6600
  • SATA2 hard drive connected to the Intel ICH8-controller
  • IDE DVD+-RW connected to the IDE controller as the master drive
  • Edgy Eft 64-bit (final)

Booted from the install cd. The install went without any problems and all hardware works perfectly out of the box (audio, gigabit ethernet). No additional boot parameters were necessary.

There is one problem, however: neither the live CD or the installed system will boot if legacy keyboard support is on ("USB keyboard support" = "BIOS"). My Windows install will not boot either. I solved this by using a PS/2 keyboard.

Story 13

  • Asus P5B-E
  • Intel Core 2 Duo E6600
  • SATA2 hard drive connected to the Intel ICH8-controller
  • IDE CDROM and UDMA/100 HD connected to the JMicron IDE controller
  • Edgy Eft Latest Live CD (As of 2006-12-16)

Booted and installed fine from the CDROM, the JMicron problem appears to be fixed. The IDE HD was visible and is accessible. Audio works fine, Onboard Ethernet is not detected, so I use a PCI ethernet card.

The only problem is the UDMA/100 HD is detected and setup as UDMA/33 on the JMicron controller, so is much slower than it needs to be.

Everything seems stable enough, have dual monitor working with Radeon XOrg driver, from PCI-E Card.

Story 14

  • Abit AB9 Pro
  • Intel Core 2 Duo E6600
  • SATA2 hard drive connected to the Intel ICH8-controller
  • IDE DVD+-RW connected to the IDE controller as the master drive
  • Edgy Eft Live CD 6.10 - Latest Live CD (As of 2006-12-16)
  • Sparkle nvidia 7950GT

Booted from the install cd. The install went without any problems and all hardware works perfectly out of the box (audio, gigabit ethernet). No additional boot parameters were necessary.

Frequent random freezes (at least one per hour). Symptoms: Sound keeps playing (1 second part in continual loop). Not reacting to pings. Not responding to mouse/keyboard.

Story 15

  • Asus P5B
  • Intel Core 2 Duo E6300
  • SATA2 hard disk connected to JMicron
  • PATA (IDE) DVD writer connected as master
  • Edgy Eft (Kubuntu 6.10) DVD

Boot from DVD and installation without any problems. However SATA2 HD has to be connected to the JMicron controller (not recognized if connected to the ICH8 - Asus P5B has an ICH8 and not ICH8R controller (R stays for RAID)).

The only issue is that sound is not working properly in some applications (e.g. wesnoth). There is a kind of static noise in background during playback. After application restart Linux crashes and boots again (no traces in log file what was going on). Sound in some other applications is working without problems (e.g. xmms).

Core_2_Duo_Support (last edited 2008-08-06 16:13:40 by localhost)