LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 11-20-2009, 11:23 PM   #1
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,661
Blog Entries: 8

Rep: Reputation: 162Reputation: 162
buffer I/O error logical block kernel "2.6.31.6"


I compiled a new kernel for slackware 13 yesterday and all is going well, except for the fact that during boot I get errors regarding a second hard drive. They are of the form
PHP Code:
buffer I/O error logical block SOMENUMBER sdb 
I wasn't getting this error with the previous 2.6.29.6 kernel. As far as I can tell everything is working fine, but the errors make me nervous as this is where all my data is stored. The partition was previously formatted ntfs-3g and I thought maybe I'd done something with ntfs support while configuring the kernel so I backed up the data, reformatted to ext4 which matches all other linux partitions except for swap of course, and I get the exact same errors.

2 questions here:

1. Is there something different in this kernel in reporting errors or maybe something I set in configuration?

2. Can anyone recommend a good (simple and ubiquitous) cli program to check the disk for errors so that I can run it in both the old and new slack kernels as well as mandriva on the same machine?

Thanks

Last edited by damgar; 11-21-2009 at 12:07 AM. Reason: important typo
 
Old 11-21-2009, 12:14 AM   #2
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,661
Blog Entries: 8

Original Poster
Rep: Reputation: 162Reputation: 162
I booted into single user with each kernel and ran
PHP Code:
fsck --t ext4 /dev/sdb1 
(that's a whole disk partition) and there were no errors, just that the drive is 40% non contiguous. However when I run
PHP Code:
fsck --t ext4 /dev/sdb 
I am told that the superblock is probably corrupt, but I think that has to do with improper use of the command. I am definitely leaning towards operator error whild configuring the new kernel, but If anyone understands more what is going on here I'd REALLY like to hear from you.

Thanks.
 
Old 11-22-2009, 12:34 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,063
Blog Entries: 4

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
As requested, moved to Linux-Kernel
 
Old 11-22-2009, 12:44 PM   #4
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,661
Blog Entries: 8

Original Poster
Rep: Reputation: 162Reputation: 162
After some googling and experimenting, I've looked into /var/log/syslog and found that there are no errors to this effect when booting into any other kernel. I'm stumped since as posted earlier, everything works fine. Below are the actual lines from /bar/log/syslog.
PHP Code:
Nov 22 10:23:08 dtest kernelend_requestI/O errordev sdbsector 240121516
Nov 22 10
:23:08 dtest kernelBuffer I/O error on device sdblogical block 30015189
Nov 22 10
:23:08 dtest kernelBuffer I/O error on device sdblogical block 30015190
Nov 22 10
:23:08 dtest kernelBuffer I/O error on device sdblogical block 30015191
Nov 22 10
:23:08 dtest kernelBuffer I/O error on device sdblogical block 30015192
Nov 22 10
:23:08 dtest kernelBuffer I/O error on device sdblogical block 30015193
Nov 22 10
:23:08 dtest kernelBuffer I/O error on device sdblogical block 30015194 
I'm still not sure if this is a real problem or self-inflicted annoyance?

Last edited by damgar; 11-22-2009 at 12:45 PM.
 
Old 11-23-2009, 08:12 AM   #5
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
I once had a somewhat similar problem that was cured with a low level format. Although it may be impractical, maybe it'll work.
 
Old 11-23-2009, 08:04 PM   #6
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,661
Blog Entries: 8

Original Poster
Rep: Reputation: 162Reputation: 162
Never having used my own kernel previous to this, is it maybe that I enabled a more verbose boot, or more likely that I screwed something up on the hardware side causing the kernel a headache when intializing the disk?
It just seems odd that with 2 distros and multiple kernel options for them, only the one I made throws the errors.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Buffer I/O error on device sdi, logical block 9 crackerB Linux - Hardware 0 11-12-2008 09:44 AM
install from a cd Buffer I/O error logical block Peter Shepard Ubuntu 1 12-14-2006 01:39 PM
buffer i/o error on device hdc,logical block 0 (imp) abhis_mail2002 Linux - Hardware 2 12-08-2005 11:06 AM
buffer i/o error on device hdc,logical block 0 (imp) abhis_mail2002 Linux - Software 1 12-08-2005 07:38 AM
buffer i/o error on device hdc,logical block 0 (imp) abhis_mail2002 Fedora 0 12-08-2005 06:02 AM


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

Main Menu
 
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
Open Source Consulting | Domain Registration