Re: Kernel 2.6.15 sometimes only detects one of two SATA drives andpanics

From: Reuben Farrelly
Date: Thu Jan 12 2006 - 03:00:48 EST




On 12/01/2006 8:40 p.m., Andrew Morton wrote:
Andre Hessling <ahessling@xxxxxx> wrote:
Hello!

I recently upgraded from 2.6.14 to 2.6.15 vanilla and I encountered some
random kernel panics on boot so far.

The panic is:
"Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)"

Reuben, do you think this is the same as the bug you're seeing?

Hard to be sure, on this one I'm not convinced. With mine, both controllers are recognised but display timeout messages which are not shown by the sequences reported below.

The hardware here is similar to mine though, mine is:

00:1f.2 SATA controller: Intel Corporation 82801FR/FRW (ICH6R/ICH6RW) SATA Controller (rev 03) (prog-if 01 [AHCI 1.0]

with 3x SATAs on raid-1 over reiserfs (although mine is a genuine Intel board).


My config hasn't changed since 2.6.14 and I never encountered such an
error under 2.6.14.

My system configuration: I have two SATA drives, /dev/sdb7 is the root
partition using reiserfs.
SATA, SCSI and reiserfs are compiled into the kernel.

Ditto.

My kernel command line is just: root=/dev/sdb7

lspci -v gives for the SATA controller:

0000:00:1f.2 IDE interface: Intel Corp. 82801FB/FW (ICH6/ICH6W) SATA
Controller (rev 03) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Micro-Star International Co., Ltd.: Unknown device
7091
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 18
I/O ports at e400 [size=8]
I/O ports at e500 [size=4]
I/O ports at e600 [size=8]
I/O ports at e700 [size=4]
I/O ports at e800 [size=16]
Capabilities: [70] Power Management version 2


Sometimes the kernel boots without an error and sometimes it just

My problem is also somewhat intermittent but fairly common, which makes it more difficult to track down than a completely reproduceable bug.

panics. I found out (using a camera, since I can't log the sys messages
at this time) that there is one big difference between booting the
kernel with and without a panic.

Andre: serial console is your friend ;)

reuben
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/