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