LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 06-02-2009, 11:19 AM   #1
unev_21
Member
 
Registered: Mar 2009
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 16
Question Faulty CF card


Hi All,

I seem to be having a strange problem lately. My computer has a debian distro on a 512MB CF card. It has no HDD. It runs properly until sometimes when I see

(these messages are from /var/log/kern.log. The startup of my machine has same messages and then a kernel panic message)
----------------------------------------------------------------------
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=121590, sector=121590
Apr 11 09:36:52 localhost kernel: ide: failed opcode was: unknown
Apr 11 09:36:52 localhost kernel: end_request: I/O error, dev hdc, sector 121590
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=121592, sector=121592
Apr 11 09:36:52 localhost kernel: ide: failed opcode was: unknown
Apr 11 09:36:52 localhost kernel: end_request: I/O error, dev hdc, sector 121592
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=121594, sector=121594
Apr 11 09:36:52 localhost kernel: ide: failed opcode was: unknown
Apr 11 09:36:52 localhost kernel: end_request: I/O error, dev hdc, sector 121594
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=121596, sector=121596
Apr 11 09:36:52 localhost kernel: ide: failed opcode was: unknown
Apr 11 09:36:52 localhost kernel: end_request: I/O error, dev hdc, sector 121596
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=121598, sector=121598
Apr 11 09:36:52 localhost kernel: ide: failed opcode was: unknown
Apr 11 09:36:52 localhost kernel: end_request: I/O error, dev hdc, sector 121598
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=121600, sector=121600
Apr 11 09:36:52 localhost kernel: ide: failed opcode was: unknown
Apr 11 09:36:52 localhost kernel: end_request: I/O error, dev hdc, sector 121600
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=121602, sector=121602
Apr 11 09:36:52 localhost kernel: ide: failed opcode was: unknown
Apr 11 09:36:52 localhost kernel: end_request: I/O error, dev hdc, sector 121602
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=121604, sector=121604
Apr 11 09:36:52 localhost kernel: ide: failed opcode was: unknown
Apr 11 09:36:52 localhost kernel: end_request: I/O error, dev hdc, sector 121604
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=121606, sector=121606
Apr 11 09:36:52 localhost kernel: ide: failed opcode was: unknown
Apr 11 09:36:52 localhost kernel: end_request: I/O error, dev hdc, sector 121606
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=121608, sector=121608
Apr 11 09:36:52 localhost kernel: ide: failed opcode was: unknown
Apr 11 09:36:52 localhost kernel: end_request: I/O error, dev hdc, sector 121608
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=121610, sector=121610
Apr 11 09:36:52 localhost kernel: ide: failed opcode was: unknown
Apr 11 09:36:52 localhost kernel: end_request: I/O error, dev hdc, sector 121610
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=121612, sector=121612
Apr 11 09:36:52 localhost kernel: ide: failed opcode was: unknown
Apr 11 09:36:52 localhost kernel: end_request: I/O error, dev hdc, sector 121612
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=121614, sector=121614
Apr 11 09:36:52 localhost kernel: ide: failed opcode was: unknown
Apr 11 09:36:52 localhost kernel: end_request: I/O error, dev hdc, sector 121614
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=121616, sector=121616
Apr 11 09:36:52 localhost kernel: ide: failed opcode was: unknown
Apr 11 09:36:52 localhost kernel: end_request: I/O error, dev hdc, sector 121616
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=121618, sector=121618
Apr 11 09:36:52 localhost kernel: ide: failed opcode was: unknown
Apr 11 09:36:52 localhost kernel: end_request: I/O error, dev hdc, sector 121618
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=121620, sector=121620
Apr 11 09:36:52 localhost kernel: ide: failed opcode was: unknown
Apr 11 09:36:52 localhost kernel: end_request: I/O error, dev hdc, sector 121620
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=121622, sector=121622
Apr 11 09:36:52 localhost kernel: ide: failed opcode was: unknown
Apr 11 09:36:52 localhost kernel: end_request: I/O error, dev hdc, sector 121622
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=121624, sector=121624
Apr 11 09:36:52 localhost kernel: ide: failed opcode was: unknown
Apr 11 09:36:52 localhost kernel: end_request: I/O error, dev hdc, sector 121624
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Apr 11 09:36:52 localhost kernel: hdc: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=121566, sector=121566
Apr 11 09:36:52 localhost kernel: ide: failed opcode was: unknown
Apr 11 09:36:52 localhost kernel: end_request: I/O error, dev hdc, sector 121566
Apr 11 09:36:52 localhost kernel: SQUASHFS error: sb_bread failed reading block 0x6f8c
Apr 11 09:36:52 localhost kernel: SQUASHFS error: Unable to read page, block 1bdbe9f, size 74a6
Apr 11 09:36:52 localhost kernel: SQUASHFS error: zlib_inflate returned unexpected result 0xfffffffd, srclength 65536, avail_in 352, avail_out 65536
Apr 11 09:36:52 localhost kernel: SQUASHFS error: sb_bread failed reading block 0x6f8c
Apr 11 09:36:52 localhost kernel: SQUASHFS error: Unable to read page, block 1bdbe9f, size 74a6
Apr 11 09:36:52 localhost kernel: SQUASHFS error: zlib_inflate returned unexpected result 0xfffffffd, srclength 65536, avail_in 352, avail_out 65536
Apr 11 09:36:52 localhost kernel: SQUASHFS error: sb_bread failed reading block 0x6f8c
Apr 11 09:36:52 localhost kernel: SQUASHFS error: Unable to read page, block 1bdbe9f, size 74a6
Apr 11 09:36:52 localhost kernel: SQUASHFS error: zlib_inflate returned unexpected result 0xfffffffd, srclength 65536, avail_in 352, avail_out 65536
Apr 11 09:36:52 localhost kernel: SQUASHFS error: sb_bread failed reading block 0x6f8c
Apr 11 09:36:52 localhost kernel: SQUASHFS error: Unable to read page, block 1bdbe9f, size 74a6
Apr 11 09:36:52 localhost kernel: SQUASHFS error: zlib_inflate returned unexpected result 0xfffffffd, srclength 65536, avail_in 352, avail_out 65536
Apr 11 09:36:52 localhost kernel: SQUASHFS error: sb_bread failed reading block 0x6f8c
Apr 11 09:36:52 localhost kernel: SQUASHFS error: Unable to read page, block 1bdbe9f, size 74a6
Apr 11 09:36:52 localhost kernel: SQUASHFS error: zlib_inflate returned unexpected result 0xfffffffd, srclength 65536, avail_in 352, avail_out 65536
Apr 11 09:36:52 localhost kernel: SQUASHFS error: sb_bread failed reading block 0x6f8c
Apr 11 09:36:52 localhost kernel: SQUASHFS error: Unable to read page, block 1bdbe9f, size 74a6
Apr 11 09:36:52 localhost kernel: SQUASHFS error: zlib_inflate returned unexpected result 0xfffffffd, srclength 65536, avail_in 352, avail_out 65536
Apr 11 09:36:52 localhost kernel: SQUASHFS error: sb_bread failed reading block 0x6f8c
Apr 11 09:36:52 localhost kernel: SQUASHFS error: Unable to read page, block 1bdbe9f, size 74a6
Apr 11 09:36:52 localhost kernel: SQUASHFS error: zlib_inflate returned unexpected result 0xfffffffd, srclength 65536, avail_in 352, avail_out 65536
Apr 11 09:36:52 localhost kernel: SQUASHFS error: sb_bread failed reading block 0x6f8c
Apr 11 09:36:52 localhost kernel: SQUASHFS error: Unable to read page, block 1bdbe9f, size 74a6
Apr 11 09:36:52 localhost kernel: SQUASHFS error: zlib_inflate returned unexpected result 0xfffffffd, srclength 65536, avail_in 352, avail_out 65536
Apr 11 09:36:52 localhost kernel: SQUASHFS error: sb_bread failed reading block 0x6f8c
Apr 11 09:36:52 localhost kernel: SQUASHFS error: Unable to read page, block 1bdbe9f, size 74a6
Apr 11 09:36:52 localhost kernel: SQUASHFS error: zlib_inflate returned unexpected result 0xfffffffd, srclength 65536, avail_in 186, avail_out 65536
Apr 11 09:36:52 localhost kernel: SQUASHFS error: sb_bread failed reading block 0x6fab
Apr 11 09:36:52 localhost kernel: SQUASHFS error: Unable to read page, block 1be3345, size 7ac9
Apr 11 09:42:58 localhost kernel: SQUASHFS error: zlib_inflate returned unexpected result 0xfffffffd, srclength 65536, avail_in 786, avail_out 65536
Apr 11 09:42:58 localhost kernel: SQUASHFS error: sb_bread failed reading block 0xf317
Apr 11 09:42:58 localhost kernel: SQUASHFS error: Unable to read fragment cache block [3cbf8ed]
Apr 11 09:42:58 localhost kernel: SQUASHFS error: Unable to read page, block 3cbf8ed, size 63d9
Apr 11 09:42:58 localhost kernel: SQUASHFS error: zlib_inflate returned unexpected result 0xfffffffd, srclength 65536, avail_in 786, avail_out 65536
Apr 11 09:42:58 localhost kernel: SQUASHFS error: sb_bread failed reading block 0xf317
Apr 11 09:42:58 localhost kernel: SQUASHFS error: Unable to read fragment cache block [3cbf8ed]
Apr 11 09:42:58 localhost kernel: SQUASHFS error: Unable to read page, block 3cbf8ed, size 63d9
---------------------------------------------------------------------
Kernel panic message is
switch_root: Bad init 'sbin/init'
Kernel panic - not syncing: attempting to kill init

I did some searching on this but couldn't figure out the way forward. Any help from linux gurus wud be appreciated...

thanks in advance

Regards,
unev_21

Last edited by unev_21; 06-02-2009 at 02:17 PM.
 
Old 06-02-2009, 07:57 PM   #2
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,236

Rep: Reputation: 545Reputation: 545Reputation: 545Reputation: 545Reputation: 545Reputation: 545
At first sight I would agree with the log file: the CF card is faulty. It has to be replaced.

jlinkels
 
Old 06-03-2009, 03:02 AM   #3
unev_21
Member
 
Registered: Mar 2009
Distribution: Ubuntu
Posts: 51

Original Poster
Rep: Reputation: 16
thanx jlinkels.
Any idea when a CF can get screwed like this? This CF card phenomenon is not new to me. It happens once in a while and the whole card become unusable. Is it because if too many R/Ws or heating, because I see the card gets very hot sometimes.
 
Old 06-03-2009, 03:15 AM   #4
unev_21
Member
 
Registered: Mar 2009
Distribution: Ubuntu
Posts: 51

Original Poster
Rep: Reputation: 16
could i run fsck thru live CD to get some clues?

Last edited by unev_21; 06-03-2009 at 03:28 AM.
 
Old 06-03-2009, 08:00 AM   #5
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,236

Rep: Reputation: 545Reputation: 545Reputation: 545Reputation: 545Reputation: 545Reputation: 545
Quote:
Originally Posted by unev_21 View Post
thanx jlinkels.
Any idea when a CF can get screwed like this? This CF card phenomenon is not new to me. It happens once in a while and the whole card become unusable. Is it because if too many R/Ws or heating, because I see the card gets very hot sometimes.
Unlike hard disks CF cannot be written to indefinitely, they wear out. If you have Debian installed on this CF card, did you just plain install it like the CF card is a hard disk, or did you take special measures as to prevent writing of log files and temporary data? And for certain you should not have a swap area installed on the CF card.

As a matter of fact you should treat the CF card as a CD, that is, during operation data should not be written to it, but to a RAMdisk which is created during operation. This of course is not true for your own files and configuration data which may be written to the card, but such writing is rather sporadic.

I have tried to make a Debian installation on CF card / USB stick myself taking these demands into account. It was extremely difficult to find clear documentation on the Internet how to do this, and what I found was fairly complicated. I have to admit my attempt failed and instead I am using 2.5" hard disks instead of CF cards.

I also know that some small computers, netbooks and nettops ignore the fact that CF cards should be not written onto and simply install Ubuntu or Debian on the CF card just like onto any hard disk. I don't think that is correct.

On the other hand, if you want to do it correctly, and also want to include a GUI you are facing a rather complicated task. Development on tools to achieve proper CF card installation continues however and the situation might have improved over the last few months. But so did the number of allowed write cycles on CF cards, so your CF card life time might improve if you keep replacing them by more recent types.

jlinkels
 
  


Reply

Tags
cf


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
Might my disk be faulty? a_l_a_n Linux - Hardware 2 03-26-2007 06:13 PM
Faulty kernel??? laasunde Linux - Software 4 02-28-2006 05:20 PM
Faulty Anaconda mufy Fedora 1 05-11-2005 02:58 PM
faulty pci card, has it happened to you? stabu Linux - Hardware 3 09-11-2004 05:31 AM
Faulty Mandrake 9 CD? shusseina Linux - Distributions 12 02-23-2003 09:58 AM


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