LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-01-2004, 02:45 PM   #16
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72

Probably not where ldconfig is, but ldconfig is reading A LOT of the drive, basically through all of the libs and then building the linker cache, so its reading over those badblocks and horking. Now that's my guess.

My own drive wasn't the OS drive, just 1 of 4 in the crate, replaced it with a 200 for .5Tb (whew, half a terabyte is fun!) Anyway, It started horfing errors to dmesg when it hit the Slackware ISOs in a cp -a /old/drive/mnt /new/drive/mnt

When it got to the Solaris ISOs it hung the machine, so I just cp -a'd around those. The log on the hang was similar to the log for the failure on cp of the Slack CDs.

Anyway, my drive had had badblocks forever, basically since a while after the warranty ran out But yours is still live!

Cheers,

Finegan
 
Old 09-01-2004, 02:55 PM   #17
donbellioni
Member
 
Registered: Mar 2004
Location: UK
Distribution: Slackware 10
Posts: 137

Original Poster
Rep: Reputation: 15
Gotcha.

Thanks again, hopefully Dell will hook me up with a nice new disk.

Cheers.
 
Old 09-02-2004, 02:57 PM   #18
donbellioni
Member
 
Registered: Mar 2004
Location: UK
Distribution: Slackware 10
Posts: 137

Original Poster
Rep: Reputation: 15
After a suggestion from someone on the dell forum, i ran the Dell diagnostic utility. It returned no disk errors whatsoever.

How accurate is the "badblocks" command?

Could anyone recommend another utility i could use to test for bad blocks?

Thanks.
 
Old 09-02-2004, 03:52 PM   #19
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Somethng's really odd - your SMART output for the Temperature line shows
Code:
36 (Lifetime Min/Max 17/2286)
Now I doubt that the drive actually hit 2200 degrees C as it would be little more than a pudlle under your notebook.
 
Old 09-05-2004, 05:38 AM   #20
donbellioni
Member
 
Registered: Mar 2004
Location: UK
Distribution: Slackware 10
Posts: 137

Original Poster
Rep: Reputation: 15
I think ive made a mistake earlier on in this thread.

I ran badblocks whilest the partition was still mounted, it returned two bad blocks on the partition.

I think badblocks must be run whilest the partition is unmounted, so i booted to knoppix and ran badblocks again. This time it scanned through a lot more blocks and returned 0 bad blocks.
I also ran e2fsck from knoppix and it returned no bad blocks either. The Dell Diagnostic utilities and the Drive Fitness Test from Hitachi return no errors.

Just to recap, when i boot the system it sometimes hangs. Currently when it hangs, it hangs at "Loading Shared Libraries - /sbin/ldconfig". If this occurs, im forced to switch off the laptop and switch it back on again. As the volume wasnt cleanly unmounted, linux performs fsck. It finds errors (about 4 or 5 lines about inodes) and fixes them. Linux automatically reboots and when it comes to Loading Shared Libraries, it works.

I say "currently" when referring to ldconfig above because ive had the same problem before, with different commands. First it happened when loading gpm, so i stopped it from loading alltogether (i dont need it). Same story with loading the keyboard map, and then acpi. Ive since turned loading the keyboard map off, and booting with the pci=noacpi boot option.

Ive tried a full format of the partition and have completely reinstalled linux but the same problems still persist.

If this was a software problem, surely there wouldnt be this inconsistency?
But if its a hardware problem, why are no utilities (apart from running badblocks on the root filesystem when its mounted - dont know if your meant to do this) picking up any problems with the disk?

I dont know if this is purely coincidence, but the system only seems to hang when the computers been switched off for a while (ie switching it on for the first time that day, or after a few hours of it not being used). If ive been using the system and shut it down then start it up again, it seems to load fine.

Again, i cant help but think its a hardware problem, but i need proof if ive to get a new hard disk off of Dell on warranty! I cant see them giving me one when no diagnostic utility is giving me errors.

Is what mcleodnine pointed out above proof that something's funny with my hard disk?

Im really lost here.... I dont know where my problem lies!

Thanks everyone.
 
Old 09-05-2004, 10:25 AM   #21
donbellioni
Member
 
Registered: Mar 2004
Location: UK
Distribution: Slackware 10
Posts: 137

Original Poster
Rep: Reputation: 15
I was running out of space on my linux partition so i booted to windows and launched partition magic to take some space from swap to give it to the root filesystem.

I booted back to linux and as soon as i selected linux from lilo all i got was:

Loading Linux . . . . . . . . . . .

Then it hangs. Cant boot into linux at all now. Whats happening?!?

Urgh...
 
Old 09-06-2004, 12:45 PM   #22
donbellioni
Member
 
Registered: Mar 2004
Location: UK
Distribution: Slackware 10
Posts: 137

Original Poster
Rep: Reputation: 15
bump
 
Old 09-07-2004, 03:27 PM   #23
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Okay, if all of that succeeded clean I'm willing to concede that before I was on crack, I'm just curious really, what's the step following ldconfig? It might have completed compiling the linking cache and maybe its the next step its horfling on and doesn't even get to echo.

Or... there's a mess in the libraries somewhere. It might be worth installing around the problem if its just a pile of messed up libs...

Cheers,

Finegan
 
Old 09-08-2004, 01:27 PM   #24
donbellioni
Member
 
Registered: Mar 2004
Location: UK
Distribution: Slackware 10
Posts: 137

Original Poster
Rep: Reputation: 15
Im unsure as to what the next step was after ldconfig as i can no longer boot into linux. (Freezing at Loading Linux).

I contacted Dell about the issue but im disheartened at their reply:

"I see that the hard drive passes diagnostics. This indicates that the system hardware is functioning fine.

Also, please Note that Dell does not support dual-boot or change of operating system. This is because, your Dell computer is tested, validated, and optimized for the operating system that shipped with your computer. In addition, Dell Support Technicians are trained to support your computer with the operating system and hardware configuration as it shipped from the Dell factory. If you have modified your system from its original configuration, you may experience conflicts that were not discovered in Dell's testing. For these reasons, we generally encourage that you maintain the operating system that shipped with your system.

NOTE: Dell supports systems in their original configuration only.

For any further hardware issues or queries with your system, please do write in to us. We would be glad to provide further assistance."



Im pretty convinced its a hardware problem, theres too many things going wrong for it to be a software issue surely. And like i mentioned above, i didnt change anything in linux before i resized its partiton and now its freezing at Loading Linux.

As my laptop is still under warranty, id like to get this sorted out before it expires. Also before the first new semester starts back at uni, i need a working system by then! I cant help but feel that Dell are trying to give me the run around, they seem to be passing the blame to linux and not their hardware. I requested a replacement hard drive in my initial communication to Dell, and understandably they asked me to try some diagnostics, but i hope my case for a replacement doesnt hinge purely on the results from these tests.

Im unsure where i stand in this matter, could someone offer me any advice as to what im entitled to? If its a software problem then great, but if its a hardware problem i dont appriciate Dell passing the buck because their hardware's went faulty after only a few months and after ive paid so much money.

I really appriciate everyones help in this matter.

Thanks.
 
Old 09-08-2004, 01:56 PM   #25
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Can you get your hands on a bootable CD Distro?

http://www.sysresccd.org/
http://www.knoppix.org/
(Where is damnsmall linux these days?)

With these you can boot from the CD and have access to a fistfull of diagnostic and repair tools.
 
Old 09-08-2004, 03:07 PM   #26
donbellioni
Member
 
Registered: Mar 2004
Location: UK
Distribution: Slackware 10
Posts: 137

Original Poster
Rep: Reputation: 15
Yep, i have knoppix. Ive already ran fsck, badblocks and e2fsck from knoppix, on my unmounted root filesystem. They returned no errors.

Am I being silly thinking its a disk problem when none of these returns errors? I just find it hard to believe that all these unpredictable problems are occuring due to a software issue. Surely it cant be a sottware issue when linux freezes at Loading Linux when ive not altered any linux software since it last worked (or at least got me as far as loading ldconfig)? I kept the whole linux variable the same, the only thing i changed was the partition size and that was from windows (Partition Magic). Not even mention the problems that i was having prior to this happening.

Thanks mcleodnine.
 
Old 09-09-2004, 12:47 PM   #27
donbellioni
Member
 
Registered: Mar 2004
Location: UK
Distribution: Slackware 10
Posts: 137

Original Poster
Rep: Reputation: 15
bump
 
Old 09-10-2004, 01:21 PM   #28
donbellioni
Member
 
Registered: Mar 2004
Location: UK
Distribution: Slackware 10
Posts: 137

Original Poster
Rep: Reputation: 15
Sorry to bump again, but i really need some advice as to what to do next. Im unsure as to what my reply should be to Dell. I feel confident that a new hard disk would resolve my problems, but would Dell play ball if i cant provide them with errors from diagnostic output?
 
Old 09-10-2004, 02:44 PM   #29
donbellioni
Member
 
Registered: Mar 2004
Location: UK
Distribution: Slackware 10
Posts: 137

Original Poster
Rep: Reputation: 15
I can boot linux now, however only via the slackware cdrom "bareacpi.i boot=/dev/hda3 noinitrd ro". I was just poking about and decided to run fdisk. It output the following note:

Code:
The number of cylinders for this disk is set to 4864.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Could this be the root of my problems? I dont know much about disk cylinders, could i change the value to 1024? Would this erase my data in doing so?
If its easy to do it might be worth a try?

Thanks.
 
Old 09-10-2004, 03:24 PM   #30
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Ignore that message, the 1024 limit has been gone for nearly 3 years, its just old news.

This drive issue may be fallout from partition magic, it re-arranges the C/H/S info to suit its needs. Honestly man, this just seems like a horked install, maybe its BIOS not liking the PM re-arrange of the partition order... who knows. You might want to fresh install over the old linux install, possibly just blank slate start over without parti-magic being involved, who knows, but this one is seeming more and more voodoo-riffic.

Cheers,

Finegan
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD 5.3 hard disk boot problem kpachopoulos *BSD 0 12-31-2004 09:23 AM
boot problem about AS3.0QU1 on SATA hard disk aeolus Red Hat 0 06-22-2004 10:29 PM
dual boot problem with hard disk =( aktee67 Mandriva 5 02-05-2004 07:00 AM
Boot problem with hard disk, any os Vibrato Linux - Newbie 2 12-19-2003 12:46 AM
Redhat 7.2 freezes on large hard disk bruce_mckinnon Linux - Software 0 03-27-2002 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:42 AM.

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