Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.35 panic [SOLVED]
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Mitridas
n00b
n00b


Joined: 12 Nov 2008
Posts: 11

PostPosted: Fri Aug 06, 2010 4:51 pm    Post subject: 2.6.35 panic [SOLVED] Reply with quote

Hello,
I've just compiled and installed the new 2.6.35-gentoo kernel but I can't boot it because it always fails at VFS (unable to mount root device).
My root partition is a normal ext4 and it still works with the 2.6.34-r2 kernel (I recycled the same configuration with the 2.6.35 via make oldconfig).
Any ideas??


Last edited by Mitridas on Sat Aug 07, 2010 8:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Fri Aug 06, 2010 4:56 pm    Post subject: Reply with quote

Hi, can you post this from the kernel that you are able to boot :

Code:

# cd /usr/src/linux
# cat .conf | grep -i ext
Back to top
View user's profile Send private message
xibo
Apprentice
Apprentice


Joined: 21 Aug 2007
Posts: 152
Location: moving between kubuntu and ubuntu kde edition

PostPosted: Fri Aug 06, 2010 5:06 pm    Post subject: Reply with quote

can you see the disk partitions? normaly the kernel will print out a list of partitions when not able to mount it's root, it should be printed right before the kernel panic message
Back to top
View user's profile Send private message
Mitridas
n00b
n00b


Joined: 12 Nov 2008
Posts: 11

PostPosted: Fri Aug 06, 2010 6:05 pm    Post subject: Reply with quote

Sadly it doesn't print out any partition.
The output of the command is the following:

Code:

cat .config | grep -i ext
CONFIG_KALLSYMS_EXTRA_PASS=y
CONFIG_X86_EXTENDED_PLATFORM=y
CONFIG_ARCH_PROC_KCORE_TEXT=y
CONFIG_SPARSEMEM_EXTREME=y
CONFIG_PAGEFLAGS_EXTENDED=y
CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_CFG80211_WEXT=y
CONFIG_WIRELESS_EXT_SYSFS=y
CONFIG_EXTRA_FIRMWARE=""
CONFIG_SERIAL_8250_EXTENDED=y
# External I2C/SMBus adapter drivers
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
CONFIG_EXT2_FS_XIP=y
CONFIG_EXT3_FS=y
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_XATTR=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
# CONFIG_EXT4_DEBUG is not set
CONFIG_GENERIC_FIND_NEXT_BIT=y
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Fri Aug 06, 2010 8:48 pm    Post subject: Reply with quote

Mitridas


I'll wager this is it. I had the same thing happen with ext4.

Code:

[ 3299.510649] EXT4-fs (sdd1): Filesystem with huge files cannot be mounted read-write without CONFIG_LBDAF


So, go to your kernel directory,
grep LBDAF .config

Its in Enable block layer. That should get you there.
_________________
idella4@aus
Back to top
View user's profile Send private message
Mitridas
n00b
n00b


Joined: 12 Nov 2008
Posts: 11

PostPosted: Sat Aug 07, 2010 9:47 am    Post subject: Reply with quote

Uhm I can't find the LBDAF option: under the block layer options I have only
- Block layer SG support V4
- Block layer data integrity support
- IO shedulers

and if I directly search for LBDAF via grep it doesn't find anything.
Back to top
View user's profile Send private message
x22
Apprentice
Apprentice


Joined: 24 Apr 2006
Posts: 208

PostPosted: Sat Aug 07, 2010 10:12 am    Post subject: Reply with quote

LBDAF option is only for 32bit architecture. 64bit kernels have it always enabled.
Code:
Symbol: LBDAF [=n]
Prompt: Support for large (2TB+) block devices and files
  Defined at block/Kconfig:26
  Depends on: BLOCK [=y] && !64BIT [=y]
  Location:
    -> Enable the block layer (BLOCK [=y]) 


You have probably 64bit system so huge file support it not the problem. Read-only mount would be possible even if you had kernel w/o huge file support and file system with huge files flag.
Back to top
View user's profile Send private message
Mitridas
n00b
n00b


Joined: 12 Nov 2008
Posts: 11

PostPosted: Sat Aug 07, 2010 10:20 am    Post subject: Reply with quote

Yes infact I'm on 64 bit here.
So the problem is still open.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23193

PostPosted: Sat Aug 07, 2010 5:34 pm    Post subject: Reply with quote

Please post the contents of the screen as of when it panics. There may be information higher up on the screen that would be useful in troubleshooting.
Back to top
View user's profile Send private message
runem
n00b
n00b


Joined: 08 Sep 2006
Posts: 40

PostPosted: Sat Aug 07, 2010 6:54 pm    Post subject: Reply with quote

This looks like a panic-problem I had with 2.6.35 . The options for harddisk-drivers have been shifted around so 'make oldconfig' silently deselects the drivers.
You probably have to activate:

ATA SFF support
ATA BMDMA support
<driver for your chipset>

Remember to make the driver a built-in part of the kernel :)
Back to top
View user's profile Send private message
Mitridas
n00b
n00b


Joined: 12 Nov 2008
Posts: 11

PostPosted: Sat Aug 07, 2010 8:35 pm    Post subject: Reply with quote

Oooh yes that did the trick.
It seems that in 2.6.35 the sata drivers options were relocated and infact my chipset driver
got unselected.
Thank you runem!!
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sat Aug 07, 2010 9:05 pm    Post subject: Reply with quote

Nice then, I'm gonna check my .config before rebooter my box too :P
Back to top
View user's profile Send private message
agent_jdh
Veteran
Veteran


Joined: 08 Aug 2002
Posts: 1783
Location: Scotland

PostPosted: Sat Aug 07, 2010 10:24 pm    Post subject: Reply with quote

I'm having what appears to be the same problem here with 2.6.35, despite correctly setting the ATA_BMDMA option for my Sil3112. Something is not right here...
_________________
Jingle Jangle Jewellery
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun Aug 08, 2010 2:03 pm    Post subject: Reply with quote

Yeah, they changed one of two options but because of that, 90% of the SATA config is not enabled.
Back to top
View user's profile Send private message
agent_jdh
Veteran
Veteran


Joined: 08 Aug 2002
Posts: 1783
Location: Scotland

PostPosted: Mon Aug 09, 2010 6:00 pm    Post subject: Reply with quote

d2_racing wrote:
Yeah, they changed one of two options but because of that, 90% of the SATA config is not enabled.


Unfortunately, mine is enabled (well, it looks like it's right, I also configured a kernel from scratch instead of using make oldconfig), and it's still no working. Ho hum.
_________________
Jingle Jangle Jewellery
Back to top
View user's profile Send private message
loopx
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2787
Location: Belgium / Liège

PostPosted: Sun Aug 15, 2010 6:55 pm    Post subject: Reply with quote

runem wrote:
This looks like a panic-problem I had with 2.6.35 . The options for harddisk-drivers have been shifted around so 'make oldconfig' silently deselects the drivers.
You probably have to activate:

ATA SFF support
ATA BMDMA support
<driver for your chipset>

Remember to make the driver a built-in part of the kernel :)


Thanks, got the same problem, should be fix by selecting, again, the ATA BMDMA + driver for SATA :)

EDIT: fixed :)
_________________
Mon MediaWiki perso : http://pix-mania.dyndns.org
Back to top
View user's profile Send private message
lotan_rm
n00b
n00b


Joined: 21 Aug 2010
Posts: 3

PostPosted: Sat Aug 21, 2010 3:34 pm    Post subject: Reply with quote

I have a Sil3112A chipset and

  • ATA SFF support
  • ATA BMDMA support
  • SATA_SIL

all enabled.

Like agent_jdh, I still get the kernel panic.

For the time being, I'll revert back to 2.6.34.
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Sat Aug 21, 2010 3:49 pm    Post subject: Reply with quote

lotan_rm wrote:
I have a Sil3112A chipset and

  • ATA SFF support
  • ATA BMDMA support
  • SATA_SIL

all enabled.

Like agent_jdh, I still get the kernel panic.

For the time being, I'll revert back to 2.6.34.


Are you sure that those are the right drivers for your chipset? Compare your 2.6.34 make menuconfig settings with your 2.6.35 make menuconfig settings. I had the same exact problem and I had to do that to figure out what needed to be enabled.
Back to top
View user's profile Send private message
swanson
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2004
Posts: 149
Location: Edinburgh, Scotland

PostPosted: Mon Aug 23, 2010 3:09 pm    Post subject: Reply with quote

For those using sata_sil, it has been reported as kernel bug 16606 in Linux 2.6.35 not detecting the first SATA hard drive for some weird reason. Currently under investigation.
_________________
Alan.
Back to top
View user's profile Send private message
lotan_rm
n00b
n00b


Joined: 21 Aug 2010
Posts: 3

PostPosted: Tue Aug 24, 2010 1:54 pm    Post subject: Reply with quote

@Shining Arcanine: Yes, 2.6.34 is using the same driver.

@swanson: Thanks for the hint. Sounds very similar to my issue.
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3530

PostPosted: Fri Aug 27, 2010 9:46 pm    Post subject: Reply with quote

I'm now into the same problem, except I'm unable to mount my root drive on PATA.

This system crashed last weekend, and I'm rebuilding now, adding a new 1TB drive, removing a bad 160GB drive, and keeping a good 200GB drive. The system used to boot off of the 160GB drive, and it's currently booting a temporary FC12 install on the 1TB drive. I'm trying to install Gentoo on the 200GB drive. I'm planning to keep the 1TB temporarily as storage for MythTV, but later this fall I plan to migrate my mythbackend to a new computer, and the 1TB drive along with it. This way, this system will see minimal disruption, with the OS installed on the 200GB drive.

Right now I'm booting off of the MBR and grub.conf from the FC12 install, and I've added an entry for the new Gentoo install, pointing it correctly to /boot on the 200GB drive. The new kernel boots, loads the initrd, and dies as it's trying to mount my real root partition. I remember having a problem like this on a different machine, needing to set some sort of "large drive" option in order to use an ext4 root, but a quick search here indicates that that option is only needed for 32-bit, and 64-bit (which this machine is) has that built-in.

Nor is it a matter of drivers. All of my disks are present. When mounting root fails, I can drop to a shell and "ls /dev/sd*" and my drives are all (I haven't actually removed the 160GB drive, yet.) there. I checked and I have EXT4 enabled

........ Found it - I think. I'm going to post this anyway, in case anyone else ever stumbles across this.

I have "CONFIG_EXT4_FS=m"

Clearly it needs to be "y". By way of explanation, the previous installation predated ext4. I had ext4=m so I could play around with it, and since my root was ext3 that was OK. When checking menuconfig, I merely noticed that -something- was there, without looking too closely. I found the problem with grep.

Off to recompile.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
monsm
Guru
Guru


Joined: 26 Sep 2007
Posts: 467
Location: London, UK

PostPosted: Tue Aug 31, 2010 9:55 am    Post subject: Reply with quote

swanson wrote:
For those using sata_sil, it has been reported as kernel bug 16606 in Linux 2.6.35 not detecting the first SATA hard drive for some weird reason. Currently under investigation.


Aha, that would explain a thing or two. I tried gentoo-sources-2.6.35-r5 yesterday and couldn't make it find my raid using this kernel. I have the same sata_sil and are using lvm and initrd and was using the same kenrel upgrade procedure as before, except this time I spent hours scrating my head until I saw this. Will keep an eye on that bug.

Mons
Back to top
View user's profile Send private message
swanson
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2004
Posts: 149
Location: Edinburgh, Scotland

PostPosted: Thu Sep 09, 2010 10:04 am    Post subject: Reply with quote

And apparently reverting the patch libata: Remove excess delay in the tf_load path fixes the sata_sil issue.
_________________
Alan.
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1477
Location: /uk/sheffield

PostPosted: Thu Sep 09, 2010 11:34 am    Post subject: Reply with quote

Been scratching my head over this issue past few days and grep-ing my .config from 2.6.34 and comparing to 2.6.35 looking for what differs, will be trying these out later.
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1477
Location: /uk/sheffield

PostPosted: Thu Sep 09, 2010 6:37 pm    Post subject: Reply with quote

Sorted, I'd enabled one ATA BMDMA driver support but actually have two controllers.

An easy way to check what drivers you need is to boot into a working console and do the following, the output tells you what drivers are in use...

Code:

# lspci -v | grep -i ata
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
   Kernel driver in use: ata_piix
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02) (prog-if 85 [Master SecO PriO])
   Kernel driver in use: ata_piix
04:00.0 SATA controller: JMicron Technology Corp. JMB362/JMB363 Serial ATA Controller (rev 02) (prog-if 01 [AHCI 1.0])
04:00.1 IDE interface: JMicron Technology Corp. JMB362/JMB363 Serial ATA Controller (rev 02) (prog-if 85 [Master SecO PriO])
   Kernel driver in use: pata_jmicron


Then go through the options under ATA BMDMA and enable these (but not as modules, build them into the kernel).

Cheers peeps,

slack
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum