[SLUG] JMicron woes....

2006-12-18 Thread Grant Parnell
I've got a GA-965P-S3 motherboard with on-board JMicrcon controller. I've 
been battling for about 3 days now and am just about to shelve it. Looks 
like there's a lot of Core2 Duo motherboards with this controller and 
IDE/SATA problems. Times like this I wish customers would consult me 
before buying the hardware.


https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.17/+bug/57502
https://wiki.ubuntu.com/Core_2_Duo_Support
http://www.fedoraforum.org/forum/archive/index.php/t-122892.html
google for JMicron SATA linux

The system has 2 x 250GB SATA drives which I was hoping to use in some 
sort of RAID-1 mirror - either HW or SW raid. It also has an Adaptec 2100S 
RAID controller with 2 70GB SCSI drives. There's an optical drive on the 
ONLY PATA port which comes up AFTER the SATA drives on /dev/hdf or 
/dev/hdj or something if you're lucky.


I actually wanted to install Centos 4.4 on it but had trouble getting it 
to find the install media - looks like the 'all-generic-ide' kernel option 
helps there (just tested that) but the install still locks up... trying 
via NFS next - actually that kernel option upset the controller and was 
fixed not by hard reset but power down!


Anyway Ubuntu 6.10 worked with the SATA and I2O controller so I installed 
that on a small partition on the I2O/SCSI raid array. Fedora Core 6 
wouldn't see the SCSI Raid as an install target even though cat 
/proc/partitions showed the partitions from the Ubuntu install on 
/dev/i2o/hda, /dev/i2o/hda1, /dev/i2o/hda2 etc (I need to file a FC6 bug). 
I installed that on one of the SATA drives then rebooted into Ubuntu, 
copied the Fedora Partition and configured GRUB to use the Ubuntu kernel  
initrd but boot the Fedora system and after copying 
/lib/modules/2.6.17 from Ubuntu it worked just fine.


Now I have a working system...
It would be NICE to be able to use the other 2 x 250GB drives though. I'll 
await some suggestions there but in the meantime I'll configure the apps. 
I can PLAY with the system by removing the SCSI system to protect the 
setup.


Also on the side, the inbuilt Marvel NIC wasn't recognised in Ubuntu but 
was recognised in the FC6 kernel but complains a lot suggesting it might 
be buggy, I disabled that and inserted a Netgear FA310TX.


Incidentally under the fedora kernel all the drives come up as /dev/hda, 
/dev/hdb, /dev/i2o/hda and under the Ubuntu kernel they're all /dev/sda, 
/dev/sdb, /dev/sdc.


I should point out that whilst using the Fedora core 6 install kernel with 
the SATA drives connected to the on-board SATA raid I configured them as 
software raid and they appeared to get corrupted.


Also.. beginning to think that either support for the JMicron chipset sux 
because I even get errors with dd if=/dev/zero of=/dev/sdb6 after about 5 
to 10 minutes. Either that or I've got 2 brand new dud SATA drives that 
fail around the same spot ...  Nah!


Anyway ... fwiw here's the output of lspci -vvv with the irrelevant bits 
removed.


00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA IDE 
Controller (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: Giga-byte Technology Unknown device b002
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- TAbort- 
MAbort- SERR- PERR-
Latency: 0
Interrupt: pin B routed to IRQ 177
Region 0: I/O ports at unassigned
Region 1: I/O ports at unassigned
Region 2: I/O ports at unassigned
Region 3: I/O ports at unassigned
Region 4: I/O ports at f000 [size=16]
Region 5: I/O ports at fc00 [size=16]
Capabilities: [70] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 Family) 2 port SATA IDE 
Controller (rev 02) (prog-if 85 [Master SecO PriO])
Subsystem: Giga-byte Technology Unknown device b002
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- TAbort- 
MAbort- SERR- PERR-
Latency: 0
Interrupt: pin B routed to IRQ 177
Region 0: I/O ports at d800 [size=8]
Region 1: I/O ports at dc00 [size=4]
Region 2: I/O ports at e000 [size=8]
Region 3: I/O ports at e400 [size=4]
Region 4: I/O ports at e800 [size=16]
Region 5: I/O ports at ec00 [size=16]
Capabilities: [70] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI 
Controller (rev 03) (prog-if 01 [AHCI 1.0])

Re: [SLUG] JMicron woes....

2006-12-18 Thread John Clarke
On Mon, Dec 18, 2006 at 08:16:04 +1100, Grant Parnell wrote:

 I've got a GA-965P-S3 motherboard with on-board JMicrcon controller. I've 

Any motherboard with a 965 chipset is a bit of a bugger to get going ...

I've installed Ubuntu Edgy on a couple of different Intel 965
motherboards but I needed to build a custom installation CD to do it. 
There are two problems:

1.  The PATA controller doesn't work unless all-generic-ide is passed
on the kernel command line, but this option doesn't work if the
driver is a module.  Solved by compiling the module in to the
kernel.
2.  The e1000 network driver in the kernel doesn't support the new h/w.
Solved by replacing the e1000 driver with the latest from sf.net.

A few days ago, Ubuntu released a kernel update which apparently
includes these fixes.  I've installed it on one Intel 965 motherboard
and it appears to work.  I haven't done a huge amount of testing but
both the PATA optical drive and the network are OK.

I've only found one live CD which boots and runs on the Intel 965
motherboards: grml (http://grml.org/).

 I actually wanted to install Centos 4.4 on it but had trouble getting it 
 to find the install media - looks like the 'all-generic-ide' kernel option 
 helps there (just tested that) but the install still locks up... trying 

A few other options that I've seen suggested to deal with various
problems with 965 chipsets: pci=nommconf, acpi=off, irqpoll.  Zero or
more of those may work for you.


Cheers,

John
-- 
[Terminator 6] ... a robot is sent back in time to kill James Cameron and 
Celine Dion.  The world becomes a much better place.
-- Joe Creighton
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html