LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-12-2011, 02:04 PM   #31
Glaedr
Member
 
Registered: Jun 2011
Distribution: OpenSuse 11.4
Posts: 64

Original Poster
Rep: Reputation: Disabled

knoppix@Microknoppix:~$ sudo mount -t ext4 -o ro /dev/sda2 /home/part2
mount: wrong fs type, bad option, bad superblock on /dev/sda2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
knoppix@Microknoppix:~$ dmesg | tail
[14936.855433] sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[14936.855445] sd 0:0:0:0: [sda] Sense Key : Medium Error [current] [descriptor]
[14936.855451] Descriptor sense data with sense descriptors (in hex):
[14936.855454] 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
[14936.855466] 00 40 38 02
[14936.855471] sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error - auto reallocate failed
[14936.855479] sd 0:0:0:0: [sda] CDB: Read(10): 28 00 00 40 38 02 00 00 02 00
[14936.855491] end_request: I/O error, dev sda, sector 4208642
[14936.855516] ata1: EH complete
[14936.855520] EXT4-fs (sda2): unable to read superblock

The I/O thing looks familiar actually. It might have been part of the original error.
 
Old 08-12-2011, 02:29 PM   #32
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slackware 12.2, scientific linux 6.4, knoppix 7.2, salix 14.1
Posts: 854

Rep: Reputation: 79
I thinkyou should look around for a distro with benchmarks and hardware tests. I have no idea what may cause these I/O errors. Yo need to do low-level tests to be sure these errors are really caused by the hardware.
 
Old 08-12-2011, 03:57 PM   #33
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slackware 12.2, scientific linux 6.4, knoppix 7.2, salix 14.1
Posts: 854

Rep: Reputation: 79
Quote:
Originally Posted by Glaedr View Post
So I stuck the CD back in and did a firmware test and got:

The memory map has a memory hole between 15mb and 16mb
Battery BAT0 claims it is charging but no charge is being added
supposedly higher frequency is slower on CPU0
processors are set to SW_ANY
firmware not implementing hardware coorination clearly
firmware using SW_AL
firmware using SW_AN
failed to locate HPET base
max read req for device pci : // 00:00:16:0 is low (128)
max read req for device pci : // 00:06:00:0 is low (128)
cannot test trip points without existing /proc/acpi/thermal_zone
no fan information present
device 80: no matching MBR signature (0x000ebc96) found for the boot disk
kernel too old: does not export microcodeversion
kernel too old: does not export microcodeversion
no DMAR ACPI table found
processor does not support virtualization extentions
I was curious about this and googled around - it appears that it comes from
http://linuxfirmwarekit.org/
but if you will read carefully what it is all about you will find this
Quote:
The Linux-ready Firmware Developer Kit is a tool to test how well Linux works together with the firmware (BIOS or EFI) of your machine.
It seems that these messages comes exactly from LFDK. So if I am thinking well your hardware can be OK, but possibly Linux kernel doesn't well matches the firmware. A sad conclusion is that W$ may work quite well. At least you can to use W$ installer to test you hard drive. Another sad thing is that it maybe difficult at all to get stable Linux distro on your notebook with its current hardware configuration. There is a HCL - hardware compatibility list for Linux - you may find there some hints. How old is you notebook? It may sound strange but the earlier version of a system can be more stable than recent 11.4. My experience tells that a rule: newer=better is not always true.
 
Old 08-12-2011, 04:25 PM   #34
Glaedr
Member
 
Registered: Jun 2011
Distribution: OpenSuse 11.4
Posts: 64

Original Poster
Rep: Reputation: Disabled
So... the kernel update clashes with the laptop? I didn't notice a kernel update in the most recent update list but I didn't scroll down. there was an update a day or two before that though. Is there any way to put it back to an older version? I've been using 11.4 for almost three months and apart from the burning issue it's -seemed- to be stable. The laptop was used when I got it so I don't know the exact age but I'm guessing maybe three or four. I've had it for probably about a year.
 
Old 08-12-2011, 04:55 PM   #35
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
You realize how old that firmware test kit is? The latest news on that site:
Quote:
The default kernels that are tested by the kit are also updated to now include:
kernel.org 2.6.22-9, FC6, Ubuntu 7.04 and Mandriva 2007.1.
I doubt that it will deliver trustworthy results with any recent machine.
 
Old 08-13-2011, 04:59 AM   #36
culaterout
Member
 
Registered: Jul 2006
Location: colorado
Distribution: Debian, Arch Linux, Linux Mint, Ubuntu, Fedora, Suse, Mepis, Redhat, Sayabon, mandrake and android (
Posts: 189

Rep: Reputation: 29
Well come to a new conclusion you have a loose connection with hard drive.. If you replaced this drive I'm betting this has come loose.. To many unexplained errors outdated kernel to people reading posts dating back 5 years....

I'll bet this drive has slide back off the connection... Worst of all this is why your getting power related issues and basic input output system errors.... That don't add up at all...

Nothing makes any sense what your explaining first the drive is unreadable now the drive reads, but is giving errors... The bios doesn't want you to access do to hard drive timing out...

A surge is still on the table power surges are known to cause minor errors along tracks called traces to the connected to board...

The last and maybe most important problem may be cmos ship is whipped out the bios.... Not sure laptops are made with a removable cmos chip...


Its like a hit and then miss then hit with your laptop... Something is playing havoc on that board... My last idea is to look at board for burn marks and look at the power connection to see if you bent it... OR the port is burnt out...



Good Luck...

Something is a miss here... You need put your finger on some hardware and give explanation.....
 
Old 08-13-2011, 08:03 AM   #37
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slackware 12.2, scientific linux 6.4, knoppix 7.2, salix 14.1
Posts: 854

Rep: Reputation: 79
Quote:
Originally Posted by TobiSGD View Post
You realize how old that firmware test kit is? The latest news on that site:
I doubt that it will deliver trustworthy results with any recent machine.
Don't know. On the page is posted one can use this with any kernel. Look at screenshots. They almost identical with thes messages. Probably you right it is not the same kit but something very similar.
At least I found this interesting.
 
Old 08-13-2011, 10:30 AM   #38
Glaedr
Member
 
Registered: Jun 2011
Distribution: OpenSuse 11.4
Posts: 64

Original Poster
Rep: Reputation: Disabled
I opened it up yesterday before burning the live Cd to see if I could see anything obviously wrong and I didn't notice anything at the time. There are a lot of screws holding it in place so I'm not sure how it could have slipped out but I'll double check it to be sure. I've never really done anything with cmos chips before but I'll see if I can locate it.

edit- Actually come to think of it, I think I did see something about the time/clock in the original errors. I really wish I'd written them down now but there were so many lines it would have taken forever.

Last edited by Glaedr; 08-13-2011 at 10:35 AM.
 
Old 08-14-2011, 03:59 AM   #39
culaterout
Member
 
Registered: Jul 2006
Location: colorado
Distribution: Debian, Arch Linux, Linux Mint, Ubuntu, Fedora, Suse, Mepis, Redhat, Sayabon, mandrake and android (
Posts: 189

Rep: Reputation: 29
Wow oh wow...

Before we go this route lets get some very important ideas out way:

1. make and model of laptop (Lets see what this crowd of Google Fu friends can do)

2. Make sure your pressing what f1, f3 or f11 for correct way to enter into BIOS....

3. Ask TobiSGD if he has any more brilliant ideas as well as igadoter..

If no one can give anymore brilliant ideas then you must proceed to Project Clean Sweep...




Project Clean Sweep

Clean sweep is probably the easy route to restoring this machine from data all the way down.... I hope you have a backup of important information if not it may be lost...

1. Bios delete and make a fresh install of BIOS from website... Usually this requires a usb stick...

2. Re-install hard drive and drivers..

3. make sure to clean sweep hard drive. Also do a full hard drive detection of errors.. Usually drives have software for recovery of drive...

4. put OS back on system if works great. If not hopefully you have access to Bios... This will give us a clearer picture if this is only a hard drive issue....

5. Try something else then OpenSuse 11.4 we are all not that versed with Novell product... Linux yes,but Novell has made big changes to Linux standards....

Last Option and probably the most important hopefully you bought this drive from either Best Buy or Newegg.com so you can return it for a new drive. I hope you bought a warranty it may be drive incompatibility issue...

Last edited by culaterout; 08-14-2011 at 04:11 AM.
 
Old 08-14-2011, 04:50 AM   #40
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
According to the output you gave us I would really assume that your drive is failing. Before it really dies I would recommend this approach:
1. Attach an external drive that has enough free space to hold an image of the partition with your data.
2. Boot from a live-CD that contains tools for data recovery, like grml, RIP-Linux or something similar.
3. Use ddrescue to make an image of the partition that contains your data, save it on the external device.
4. If possible make a copy of this image and from now on only work with this copy.
5. Try to fsck this image, so that the file-system is accessible again. Backup your data.
6. if step 5 fails use photorec to recover the files on that image. You will get a very huge bunch of files with random names, but most likely the files you are searching for will be recovered this way.
 
Old 08-14-2011, 06:36 AM   #41
Glaedr
Member
 
Registered: Jun 2011
Distribution: OpenSuse 11.4
Posts: 64

Original Poster
Rep: Reputation: Disabled
It's a Sony Vaio VGN-NR21M/S. I actually went with OpenSuse having read some review and recommendations on sites like this. I've tried a few different F keys and no luck so far. I'm pretty sure it was F2 last time I had to do it. I'm on a Live CD right now but I can't work out how to get to the files to save them. The partitions don't want to mount. I haven't heard of DDRescue though. I'll look it up.
 
Old 08-14-2011, 09:13 AM   #42
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slackware 12.2, scientific linux 6.4, knoppix 7.2, salix 14.1
Posts: 854

Rep: Reputation: 79
Yeah, I have a new idea. Before trying to make an image of the partions try `dd' command.
Something like that
Code:
piotr@enzo3:~$ dd if=/dev/hda of=/dev/null& pid=$!
[1] 3704
piotr@enzo3:~$ kill -USR1 $pid ; sleep 1 ; kill $pid
When you enter the second line commands you should get something like that
Code:
1814889+0 records in
1814888+0 records out
929222656 bytes (929 MB) copied, 28.5663 s, 32.5 MB/s
The point is that if this command will fail you may have some problems with making images of the
partitions.

These commands are nothing mysterious. You should find them in the `--help' to dd
Code:
$ dd --help
 
Old 08-14-2011, 10:03 AM   #43
Glaedr
Member
 
Registered: Jun 2011
Distribution: OpenSuse 11.4
Posts: 64

Original Poster
Rep: Reputation: Disabled
Quote:
knoppix@Microknoppix:~$ dd if=/dev/hda of=/dev/null& pid=$!
[1] 3977
knoppix@Microknoppix:~$ dd: opening `/dev/hda': No suchknoppix@Microknoppix:~$ kill -USR1 $pid ; sleep 1 ; kill $pid
bash: kill: (3977) - No such process
[1]+ Exit 1 dd if=/dev/hda of=/dev/null
bash: kill: (3977) - No such process
knoppix@Microknoppix:~$
Not looking good, is it?

I just tried it a second time just in case I'd typed it wrong and got the same errors, but the number changed to :
[1] 3986
Is that normal?

Last edited by Glaedr; 08-14-2011 at 10:06 AM.
 
Old 08-14-2011, 10:25 AM   #44
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Try it with /dev/sda instead of /dev/hda, that should work.
 
Old 08-14-2011, 10:28 AM   #45
Glaedr
Member
 
Registered: Jun 2011
Distribution: OpenSuse 11.4
Posts: 64

Original Poster
Rep: Reputation: Disabled
Yes, that worked. No errors this time.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
No operating system found walthi Linux - Newbie 3 04-13-2010 11:52 AM
test how much mem the operating system has free in C smeezekitty Programming 7 10-18-2009 07:32 PM
'Operating system not found' Any operating system installed wont work. TechniSlave Linux - Newbie 55 02-09-2009 12:02 PM
operating system not found plotty Linux - Software 4 01-19-2006 10:52 PM
Operating system not found domon#1 Linux - Hardware 20 07-01-2005 01:40 PM


All times are GMT -5. The time now is 08:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration