Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] gentoo-sources-2.6.35-r12 causes kernel panic
Date: Mon, 29 Nov 2010 08:32:48
Message-Id: 201011290830.58080.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] gentoo-sources-2.6.35-r12 causes kernel panic by "Petri Rosenström"
1 On Monday 29 November 2010 06:42:26 Petri Rosenström wrote:
2 > On Sat, Nov 27, 2010 at 8:50 PM, Mark Knecht <markknecht@×××××.com> wrote:
3 > > On Sat, Nov 27, 2010 at 10:29 AM, Mick <michaelkintzios@×××××.com> wrote:
4 > >> On Saturday 27 November 2010 17:53:21 Mark Knecht wrote:
5 > >>> On Sat, Nov 27, 2010 at 9:17 AM, Mick <michaelkintzios@×××××.com> wrote:
6 > >>> > On Saturday 27 November 2010 15:17:43 Mark Knecht wrote:
7 > >>> >> On Sat, Nov 27, 2010 at 6:59 AM, Mick <michaelkintzios@×××××.com>
8 wrote:
9 > >>> >> > I haven't had much luck with the 2.6.35 version of kernels - they
10 > >>> >> > have cause panics on two different x86 boxen.
11 > >>> >> >
12 > >>> >> > Now that 2.6.35 has gone stable so I tried it again and I'm
13 > >>> >> > getting a kernel panic complaining about VFS unable to mount root
14 > >>> >> > fs: ==================================
15 > >>> >> > VFS: Cannot open root device "sda3" or unknown-block(0,0)
16 > >>> >> > Please append a correct "root=" boot option; here are the
17 > >>> >> > available partitions: Kernel panic - not syncing: VFS: Unable to
18 > >>> >> > mount root fs on unknown-block(0,0) Pid: 1, comm: swapper Not
19 > >>> >> > tainted
20 > >>> >> > 2.6.35-gentoo-r12 #2
21 > >>> >> > Call Trace:
22 > >>> >> > [<c14b3530>] ? panic+0x5f/0xc6
23 > >>> >> > [<c1693c68>] ? mount_block_root+0x1c2/0x245
24 > >>> >> > [<c1002930>] ? do_signal+0x766/0x7f2
25 > >>> >> > [<c1693d31>] ? mount_root+0x46/0x5a
26 > >>> >> > [<c1693e8b>] ? prepare_namespace+0x146/0x182
27 > >>> >> > [<c1093203>] ? sys_access+0x1f/0x23
28 > >>> >> > [<c16933f1>] ? kernel_init+0x1a9/0x1b7
29 > >>> >> > [<c1693248>] ? kernel_init+0x0/0x1b7
30 > >>> >> > [<c10030b6>] ? kernel_thread_helper+0x6/0x10
31 > >>> >> > panic occurred, switching back to text console
32 > >>> >> > ==================================
33 > >>> >>
34 > >>> >> <SNIP>
35 > >>> >>
36 > >>> >> > Am I missing something obvious to make the 2.6.35 series work with
37 > >>> >> > my boxen?
38 > >>> >>
39 > >>> >> OK, there's so many possibilities for what causes this. Basic
40 > >>> >> confusion ensues...
41 > >>> >>
42 > >>> >> 1) When booting, if you look carefully, is the initial kernel seeing
43 > >>> >> _any_ disks? Sometimes they fly bye and are hard to catch. If it is
44 > >>> >> then is it showing sda3?
45 > >>> >
46 > >>> > The moment the monitor comes on it's already crashed - the first line
47 > >>> > under the penguins shows:
48 > >>> >
49 > >>> > Initializing USB Mass Storage driver...
50 > >>> >
51 > >>> > so I assume that any probing of drives has already happened.
52 > >>> >
53 > >>> >> 2) What sort of file system did you put on sda3? I assume this is
54 > >>> >> built into the kernel if this is an upgrade?
55 > >>> >
56 > >>> > reiserfs built into the kernel and unchanged for the last umpteen
57 > >>> > kernel series.
58 > >>> >
59 > >>> >> 3) Post the appropriate part of grub.conf to show how you are
60 > >>> >> booting.
61 > >>> >
62 > >>> > title=Gentoo Linux 2.6.35-r12
63 > >>> > root (hd0,5)
64 > >>> > kernel /kernel-2.6.35-gentoo-r12 root=/dev/sda3
65 > >>> >
66 > >>> > The 2.6.34-r12 uses the same stanza except for *.35 being replaced
67 > >>> > with *.34
68 > >>> >
69 > >>> >> 4) Post fstab
70 > >>> >
71 > >>> > /dev/sda6 /boot ext2 noauto,noatime 1 1
72 > >>> > /dev/sda3 / reiserfs noatime 0 1
73 > >>> > /dev/sda2 none swap sw 0 0
74 > >>> > [snip]
75 > >>> >
76 > >>> > I'll now build the kernel on the second x86 box and see what happens
77 > >>> > there. --
78 > >>> > Regards,
79 > >>> > Mick
80 > >>>
81 > >>> Yeah, all makes sense what you've done and I can only offer one more
82 > >>> thing for you to look at.
83 > >>>
84 > >>> I skipped from 2.6.33 to 2.6.36 so I cannot say anything specific
85 > >>> about the *.35 series, but one thing I've suffered with on my 2.6.36
86 > >>> build is that if I have a specific USB hub hooked up my machine won't
87 > >>> complete a boot. I have to disconnect this USB hub prior to boot and
88 > >>> then hook it back up after the boot completes.
89 > >>>
90 > >>> I've not had time to look for the cause so I only hook it up to use
91 > >>> it. After boot there are no other problems I've seen.
92 > >>>
93 > >>> I was assuming that maybe there's some difference in the USB stuff
94 > >>> that I hadn't discovered yet, and since you see a crash at a USB step
95 > >>> possibly it's similar and I never saw it at *.35 because I never used
96 > >>> that series?
97 > >>>
98 > >>> Good luck and I wish I could be of more help.
99 > >>
100 > >> Thanks for trying to help me Mark, I'm surprised this problem is not
101 > >> more widespread.
102 > >>
103 > >> My second x86 machine also fails with the same kernel panic. :-(
104 > >>
105 > >> Because this is a slower machine I had a moment to see the initial
106 > >> messages before the penguin showed up.
107 > >>
108 > >> It said:
109 > >>
110 > >> ERROR: Unable to locate IOAPIC for GSI4
111 > >>
112 > >> This is repeated a number of times and then the penguin pops up before
113 > >> the kernel crashes a dozen lines further down. It seems that this is a
114 > >> regression error, which I hope has been taken care of in later kernels:
115 > >>
116 > >> http://kerneltrap.org/mailarchive/linux-kernel/2010/7/8/4591800
117 > >> --
118 > >> Regards,
119 > >> Mick
120 > >
121 > > If you can then give 2.6.36 a try. Possibly it's in by now? That
122 > > thread ends without (by my reading anyway) any particular conclusion
123 > > about a fix.
124 > >
125 > > - Mark
126 >
127 > Hi Mick,
128 >
129 > You didn't show CONFIG_ATA_PIIX in your kernel config... Or atleast I
130 > didn't find it.
131 >
132 > CONFIG_ATA_PIIX=y
133 > Device Drivers --->Serial ATA and Parallel ATA drivers --->Intel
134 > ESB, ICH, PIIX3, PIIX4 PATA/SATA support
135
136 That's because it's not longer there:
137
138 $ cat /usr/src/linux/.config | grep -i CONFIG_ATA
139 # CONFIG_ATALK is not set
140 # CONFIG_ATA_OVER_ETH is not set
141 CONFIG_ATA=y
142 # CONFIG_ATA_NONSTANDARD is not set
143 # CONFIG_ATA_VERBOSE_ERROR is not set
144 CONFIG_ATA_ACPI=y
145 # CONFIG_ATA_SFF is not set
146 # CONFIG_ATARI_PARTITION is not set
147 --
148 Regards,
149 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] gentoo-sources-2.6.35-r12 causes kernel panic "Petri Rosenström" <petri.rosenstrom@×××××.com>
Re: [gentoo-user] gentoo-sources-2.6.35-r12 causes kernel panic Neil Bothwick <neil@××××××××××.uk>