LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-13-2009, 10:49 PM   #1
Garp
Member
 
Registered: Jul 2003
Location: Oahu, Hawaii, USA
Distribution: Ubuntu, Debian, RHES
Posts: 57

Rep: Reputation: 15
Odd bug with self compiled kernel


I use SQLite on my box, and after discovering that the 2.6.28 kernel has a serious regression that slipped into version .26, which has been fixed in .29; I figured I'd "quickly" roll myself a new kernel.

I'm by no means new at this, I've been compiling kernels happily for years under various distributions. I seem to have hit an odd thing that's baffling me more than slightly. I'm using XFS as my disk format as it's characteristics suit my needs, and the normal Jaunty kernel is quite happy with it.
No matter how I approach building 2.6.29.3, either through the debian/ubuntu make-kpkg route or the normal "make && make modules... etc." route, on boot up it seems to find a problem with the mount point.
I get the following errors appearing:

Code:
attempt to access beyond end of device
sda6: rw=0, want=121724440, limit=121613797
I/O error in filesystem ("sda6") meta-data dev sda6 block 0x7415e17 ("xfs_read_buf") error 5 buf count 512
XFS: size check 2 failed
VFS: Cannot open root device "sda6" or unknown-block(8,6)
After which it lists all my disk partitions before coming up with the appropriate OMG kernel panic having totally failed to mount the root file system

I'm a little baffled as to why 2.6.29.3 is chucking up this fault. Booting off a live CD and doing an xfs_check suggests there are no faults with the partition itself, and I used the config file from /boot as the basis of the build, changing nothing other than running through "make oldconfig" and answering all the relevant prompts.

Anyone got any thoughts?

edit: My gut instinct would be possibly towards the IDE controller drivers maybe.

Code:
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:02.0 Display controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV44A [GeForce 6200] (rev a1)
01:01.0 Modem: Intel Corporation FA82537EP 56K V.92 Data/Fax Modem PCI (rev 04)
01:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)

Last edited by Garp; 05-13-2009 at 11:14 PM.
 
Old 05-14-2009, 12:44 AM   #2
Garp
Member
 
Registered: Jul 2003
Location: Oahu, Hawaii, USA
Distribution: Ubuntu, Debian, RHES
Posts: 57

Original Poster
Rep: Reputation: 15
Hmm.. looks like my gut was right. Force it to use the old style PIIX driver and it boots happily in 2.6.29.3, once I altered the boot line to use /dev/hda6 as root instead of /dev/sda6
 
  


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
odd error with make, and its a source i have compiled many times with no error bensington butters Programming 1 07-01-2008 10:19 AM
kernel panic while booting custom compiled 2.6.24 kernel on RHEL 4 AS samkraju Red Hat 4 02-10-2008 12:55 AM
Odd Samba Problem. - Possible Permissions Bug? Advanced Help Needed tbeehler Linux - Software 1 05-17-2007 03:12 PM
The kernel I compiled reads my sata drives as hda even though the rpm kernel read sda abefroman Linux - Software 5 07-10-2006 04:42 PM
A linux virus / very odd bug? xconspirisist Linux - Security 11 12-19-2004 11:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:15 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