LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-21-2010, 09:46 AM   #1
zoril
LQ Newbie
 
Registered: Jul 2010
Posts: 4

Rep: Reputation: 0
Hardware seems to corrupt Linux install, Live CDs and Windows work fine


Asus M4A785RD-V EVO Motherboard, AMI Bios, latest (2103)
AMD Athlon II X2 250 Processor, 3GHz
2x 1GB DDR3, 1333MHz, CAS9 RAM, in dual channel mode, usuable size 1792MB due to
Onboard ATI Radeon HD 4200 Graphics, using DVI output

Was using a 1TB Western Digital SATA WD10EARS-00Y5B1 Hard Drive
but due to it being Advanced Format (4096-byte sectors), for the installation have switched to a
120GB Maxtor IDE 6Y120L0 Hard Drive as a slave to the DVD Drive


I've been trying to install any form of linux on this system for 4 days now
I've had no luck with any disto or architecture, aiming for Fedora 12/13 x86_64

'Live' discs boot and run happily.
Linux installed on the hard drive in an Intel/DDR2 machine and moved across runs fine the first time then fails on next boot.
Windows 7 Professsional 64-bit installed and ran fine but that's not a lot of good to me

Enabling/Disabling ACPI (bios or boot options) didn't seem to help


Here are the log files from an attempt
Installing MythDora 12.23
Windows was already on the drive in this instance

--- link to logs removed (they're not there anymore) ---

* X.log
* anaconda.log
* program.log
* storage.log
* syslog ------- lots of segfaults at the end
* yum.log


I would be most grateful to anyone who can help me get it running or understand why it won't.
Do ask for any information you might need that I've missed from here

Last edited by zoril; 10-04-2010 at 08:23 AM.
 
Old 07-21-2010, 10:37 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,988

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Do you have a spare standard format sata drive around you can use for the installation? Motherboard manufacturers are now all using third parties to supply their ide controller chipsets and some have very poor support in the present linux kernel. I've seen some ide controller chipsets that will only operate ide hard drives in PIO mode on recent linux kernels and even then you get a lot of I/O errors. It may be what you are running into.
 
Old 07-21-2010, 10:48 AM   #3
zoril
LQ Newbie
 
Registered: Jul 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks. I'll have a look but I have a feeling I don't. I'm moving some files to clear one at the moment (at least enough to partition it).
 
Old 07-21-2010, 03:38 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,001

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
Boot to a ultimate boot cd and use hd tests maybe.

Check any cables. If suspect replace with high quality cables.

Set bios settings to failsafe or other basic and slow settings. May have to choose optimal.

One point is this. Almost no machine is ever factory tested on linux. All companies use windows. Just because windows works doesn't mean that this system will work correctly with linux. I used to work at big computer place and we would get some runs of a single chip from some supplier. Every other part would work fine but a version changed where one OS would work and one would not. Because linux uses the system in a different way you can't assume because MS works then so will linux.
 
Old 07-21-2010, 05:27 PM   #5
zoril
LQ Newbie
 
Registered: Jul 2010
Posts: 4

Original Poster
Rep: Reputation: 0
kilgoretrout, same failure with a sata drive unfortunately, I was rather hoping that would work.

jefro, thanks for the suggestions
Hard drives are fine, I've run them all through testing.
Yup, tried different cables.
I've tried enabling/disabling many bios settings.
I was prepared to accept it was the hardware but if that's the case why do LiveCDs work, and why does a pre-installed linux on a hard drive work the first time it is booted in this machine?
I don't want to just buy all new hardware unnecessarily if its just new ram (which tested as fine), or a new motherboard etc that I need.

Last edited by zoril; 07-21-2010 at 05:28 PM.
 
Old 07-21-2010, 06:41 PM   #6
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,988

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
If you haven't done so already, try running memtest on your ram just to rule that out as a problem. As jethro noted, I've also seen inconsistent behavior with linux and windows with dodgey ram. Also, try running with just one ram stick at a time. Boot up with a livecd and post the output of:

$ lspci

That will give a better idea of the hardware environment and the various chipsets on your motherboard.

Edit: I assume you are not OCing this thing. If you are, set the timings back to normal.

Last edited by kilgoretrout; 07-21-2010 at 06:48 PM.
 
Old 07-22-2010, 06:30 AM   #7
zoril
LQ Newbie
 
Registered: Jul 2010
Posts: 4

Original Poster
Rep: Reputation: 0
It boots with either stick of ram, and memtest said there were no problems

Also, I don't tend to overclock these days, and as far as I know the built in oc'ing is disabled.. actually here is the output from lspci, I'm going to check that it is actually disabled and not set to 'auto'.
[ edit : it was on auto, isn't now so I'll try another install ]

Quote:
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge Alternate
00:01.0 PCI bridge: ASUSTeK Computer Inc. RS880 PCI to PCI bridge (int gfx)
00:0a.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 5)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3c)
00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
01:05.0 VGA compatible controller: ATI Technologies Inc RS880 [Radeon HD 4200]
01:05.1 Audio device: ATI Technologies Inc RS880 Audio Device [Radeon HD 4200]
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
03:08.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev c0)
[ edit : SATA controller was in AHCI mode when I did this, its usually in IDE mode (I was just playing with settings) ]

--- link removed (they're not there anymore) ---


_____[ edit ]_______________________________________________


It works! It appears the solution was to set the overclock options from 'auto' to 'manual'. Even though 'Overclock by x%' was set to none.

So thank you kilgoretrout and jefro, you've solved it


_____[ much later edit ]____________________________________

To anyone that is here due to a similar issue (you never know):

It didn't work - it may have installed but by the second reboot it was once again dead.

I spent weeks trying different settings, manually entering all the frequencies and timings, different RAM, different switches, disabling the built-in graphics, technical support from place of purchase (ASUS never got back to me), just about every major distro and architecture under the sun,..

In the end I bought a different, cheaper motherboard by MSI, different NB and SB chipsets to the ASUS one, put the original RAM in, processor, new thermal paste.. and it worked. It just worked.

Maybe that particular ASUS motherboard was a dodgy and Windows was just hiding it, either way, it used the AMD 785G and SB710 chipsets if you want to avoid them and see if it helps.


About the original problem:
Sometimes the install would get as far as copying all the files, and die at the last percent
Sometimes it would die during the 'write changes to disk', either part way through or right at the beginning. To get through this, clearing the drive helped, the following command was useful but it does literally wipe the drive so don't have anything you want to lose on it
switch to a console CTRL+ALT+2, or 3 or 4..

dd if=/dev/zero of=/dev/sda bs=1M

obviously substitute /dev/sda with your hard drive. I could get all the files installed but GRUB was definately a no-go.


Apologies about there being no solution here, but at least it might make it easier to accept it could be the motherboard, not the RAM or hard drive or so. Trust me - £45 for a new motherboard is a damn sight cheaper than wasting 4 months re-re-...re-re-installing Linux

Last edited by zoril; 10-04-2010 at 08:24 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Running Linux Live-CDs On Windows With MobaLiveCD LXer Syndicated Linux News 0 10-10-2008 04:30 PM
At login on a Live cd of PCLinuxOS my keyboard doesn't work at all, mouse is fine. runthetableandy Linux - Newbie 6 07-29-2008 08:17 PM
Can't boot any Linux live or install CDs! Donshyoku Linux - General 7 01-27-2007 03:49 PM
Corrupt Windows Server boot.ini after RH Linux 9.0 install jiko Linux - Software 1 10-02-2006 04:11 AM
Live CDs don't work in my computer clueo8 Linux - Newbie 2 03-31-2006 07:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration