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

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
neybis
n00b
n00b


Joined: 28 Oct 2009
Posts: 60

PostPosted: Thu Nov 05, 2009 7:21 am    Post subject: [SOLVED] Kernel Panic Reply with quote

Ok so I have done just about everything i can to narrow this problem down and im starting to wonder if its refit. I am attempting to install gentoo on a macbook pro (nvidia 8600 series) and have had no success.

I began by installing refit and attempting to boot to the live gentoo dvd which the keyboard did not work. posted here, got advice on installing from knoppix.

booted knoppix, everything works great. partitioned my sata drive into 4 parts: mac's crazy-you-must-have-it part, os x part, root part, and swap part.

following the handbook directly i made root ext3. trying to install grub did not work so i just moved onto lilo which gave me no issues. upon rebooting, i got the lilo prompt and an attempt to load the gentoo kernel however it paniced when "Ext3-fs: no journal found". It said make sure lilo had the correct root and listed all of the available choices, sda3 being one of them (it was also 30GB which confirms that it is indeed my root linux partition).

i booted back into knoppix, made menuconfig and added practically EVERY sata and fs drivers. also tried removing the mac partitioning thingy as i heard that caused issues as well but enabled or disabled, i could not get anything to work.

desperate for an answer i ran refit's partitioning tool even tho it was syncing a new MBR that changed the size of my root partition and eliminated my swap partition. After doing this i could no longer mount sda3.

thinking maybe it was an incompatibility issue with the fs i attempted an ext2 install and this is where it gets interesting. i did everything exactly the same but for ext2 (fstab configured properly etc.) and without straying from the handbook attempted to install lilo and reboot. Even tho i had installed on ext2 i still got the same "Ext3-fs: no journal found" error at a kernel panic. Thinking again that maybe i was missing something in menuconfig i made menuconfig and added practically every sata and fs driver again (making sure to not make modular).

Same error.

Figured maybe it was refit again, ran partitioning tool (again changing the size of root and removing swap for some reason) and now i still get ext3-fs errors on kernel panic but now i cannot mount my partition from knoppix.

can someone please please please help me out here?? i dont understand why i am getting ext3 errors on an ext2 filesystem and am really skeptical about this refit or if its even possible to get this working on a macbook pro. I would love to stick with gentoo and i know ppl have gotten it to work but its making me want to switch distros and we don't want that!!

thanks for your time and hoopefully we can work this out ; )


Last edited by neybis on Sat Nov 28, 2009 7:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
01allein
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2009
Posts: 127
Location: AUSTRALIA

PostPosted: Fri Nov 06, 2009 3:04 am    Post subject: Reply with quote

You should firt use genkernel, then you can use menuconfig to customize it.

In that way you can see what drivers you need to load and must be in kernel.

About grub not working, should work.

What are you using for CFLAGS, may you set them wrongly.

Use this page http://en.gentoo-wiki.com/wiki/Safe_Cflags
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Fri Nov 06, 2009 3:33 am    Post subject: Reply with quote

First rule of error reporting: do not paraphrase. Though there are some parts of your message that mention errors, you have not provided us with key information, which limits our ability to help you. Please post the kernel command line, the last 10 lines at the time of failure, and the output of lspci -v ; lspci -n ; sfdisk -l ; file -s /dev/[hsv]d?* ; emerge --info ; nl /etc/fstab. For emerge --info and nl /etc/fstab, those must be run once you get your Gentoo filesystem mounted from the installation media, so that may have to wait until we work out why that failed. For Grub users, the kernel command line is included in grub.conf, so posting the entirety of grub.conf would be sufficient. I do not know what file holds the rEFIt configuration. Your kernel configuration would also be nice, but please put it on a pastebin site since you included the kitchen sink.
Back to top
View user's profile Send private message
neybis
n00b
n00b


Joined: 28 Oct 2009
Posts: 60

PostPosted: Wed Nov 25, 2009 3:18 am    Post subject: Reply with quote

sorry for resurrecting this thread after so long. School : P

I am going to post everything on the screen at the time of the failure in this post and make a separate post containing any additional information you may require.

I also apologize for any spelling errors as I have to type this on my iPhone.

So here it goes (mind you that it says this regardless of what filesystem sda3 is):

[0.653031] sda1 sda2 sda3
[0.653807] sd 2:0:0:0: [sda] Attached SCSI disk
[0.723079] usb 2-4: new high speed USB device using ehci_hcd and address 2
[0.837991] EXT3-fs: no journal found.
[0.860671] List of all partitions:
[0.860816] 0b00 1048575 sr0 driver: sr
[0.861022] 0800 117220824 sda driver: sd
[0.861229] 0801 204800 sda1
[0.861440] 0802 84803584 sda2
[0.861636] 0803 32079872 sda3
[0.861829] No filesystem could mount root, tried: ext3 vfat msdos iso9660
[0.862288] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,3)
[0.862503] Pid: 1, comm: swapper Not tainted 2.6.30-gentoo-r8 #1
[0.862639] Call Trace:
[0.862771] [<c1412568>] ? printk+0xf/0x11
[0.862905] [<c14124be>] panic+0x39/0xd4
[0.863045] [<c1683b90>] mount_block_root+0x163/0x172
[0.863181] [<c1002933>] ? sys_sigsuspend+0x85/0xd2
[0.863467] [<c1683c05>] mount_root+0x66/0x84
[0.863467] [<c1683d63>] prepare_namespace+0x140/0x167
[0.863603] [<c168330f>] kernel_init+0x148/0x157
[0.863738] [<c16831c7>] ? kernel_init+0x0/0x157
[0.863871] [<c10034cf>] kernel_thread_helper+0x7/0x10
Back to top
View user's profile Send private message
neybis
n00b
n00b


Joined: 28 Oct 2009
Posts: 60

PostPosted: Wed Nov 25, 2009 3:35 am    Post subject: Reply with quote

lspci -v :

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
Subsystem: Apple Computer Inc. Device 00a0
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information <?>

00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00005000-00005fff
Memory behind bridge: 90000000-930fffff
Prefetchable memory behind bridge: 0000000080000000-000000008fffffff
Capabilities: [88] Subsystem: Intel Corporation Device 0000
Capabilities: [80] Power Management version 3
Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [a0] Express Root Port (Slot+), MSI 00
Capabilities: [100] Virtual Channel <?>
Capabilities: [140] Root Complex Link <?>
Kernel driver in use: pcieport-driver

00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 0, IRQ 20
I/O ports at 60c0 [size=32]
Kernel driver in use: uhci_hcd

00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03) (prog-if 00 [UHCI])
Subsystem: Apple Computer Inc. Device 00a0
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at 60a0 [size=32]
Kernel driver in use: uhci_hcd

00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03) (prog-if 20 [EHCI])
Subsystem: Apple Computer Inc. Device 00a0
Flags: bus master, medium devsel, latency 0, IRQ 21
Memory at 9b504c00 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
Subsystem: Apple Computer Inc. Device 00a0
Flags: bus master, fast devsel, latency 0, IRQ 20
Memory at 9b500000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel <?>
Capabilities: [130] Root Complex Link <?>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Memory behind bridge: 9b400000-9b4fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [90] Subsystem: Gammagraphx, Inc. Device 0000
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel <?>
Capabilities: [180] Root Complex Link <?>
Kernel driver in use: pcieport-driver

00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=0a, sec-latency=0
I/O behind bridge: 00004000-00004fff
Memory behind bridge: 97400000-9b3fffff
Prefetchable memory behind bridge: 0000000093100000-00000000970fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [90] Subsystem: Gammagraphx, Inc. Device 0000
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel <?>
Capabilities: [180] Root Complex Link <?>
Kernel driver in use: pcieport-driver

00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=0b, subordinate=0b, sec-latency=0
Memory behind bridge: 97300000-973fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [90] Subsystem: Gammagraphx, Inc. Device 0000
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel <?>
Capabilities: [180] Root Complex Link <?>
Kernel driver in use: pcieport-driver

00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=0c, subordinate=0c, sec-latency=0
I/O behind bridge: 00003000-00003fff
Memory behind bridge: 97200000-972fffff
Prefetchable memory behind bridge: 000000009b600000-000000009b6fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [90] Subsystem: Gammagraphx, Inc. Device 0000
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel <?>
Capabilities: [180] Root Complex Link <?>
Kernel driver in use: pcieport-driver

00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03) (prog-if 00 [UHCI])
Subsystem: Apple Computer Inc. Device 00a0
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at 6080 [size=32]
Kernel driver in use: uhci_hcd

00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03) (prog-if 00 [UHCI])
Subsystem: Apple Computer Inc. Device 00a0
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at 6060 [size=32]
Kernel driver in use: uhci_hcd

00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03) (prog-if 00 [UHCI])
Subsystem: Apple Computer Inc. Device 00a0
Flags: bus master, medium devsel, latency 0, IRQ 21
I/O ports at 6040 [size=32]
Kernel driver in use: uhci_hcd

00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03) (prog-if 20 [EHCI])
Subsystem: Apple Computer Inc. Device 00a0
Flags: bus master, medium devsel, latency 0, IRQ 20
Memory at 9b504800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=0d, subordinate=0d, sec-latency=32
Memory behind bridge: 97100000-971fffff
Capabilities: [50] Subsystem: Gammagraphx, Inc. Device 0000

00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
Subsystem: Apple Computer Inc. Device 00a0
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information <?>

00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03) (prog-if 8a [Master SecP PriP])
Subsystem: Apple Computer Inc. Device 00a0
Flags: bus master, medium devsel, latency 0, IRQ 21
I/O ports at 01f0 [size=8]
I/O ports at 03f4 [size=1]
I/O ports at 0170 [size=8]
I/O ports at 0374 [size=1]
I/O ports at 60e0 [size=16]
Kernel driver in use: PIIX_IDE

00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Apple Computer Inc. Device 00a0
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 18
I/O ports at 60f8 [size=8]
I/O ports at 6114 [size=4]
I/O ports at 60f0 [size=8]
I/O ports at 6110 [size=4]
I/O ports at 6020 [size=16]
I/O ports at 1000 [size=16]
Capabilities: [70] Power Management version 3
Kernel driver in use: ata_piix

00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
Subsystem: Apple Computer Inc. Device 00a0
Flags: medium devsel, IRQ 20
Memory at 9b505000 (32-bit, non-prefetchable) [size=256]
I/O ports at efa0 [size=32]
Kernel driver in use: i801_smbus
Kernel modules: i2c-i801

01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600M GT (rev a1) (prog-if 00 [VGA controller])
Subsystem: Apple Computer Inc. Device 00a0
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at 92000000 (32-bit, non-prefetchable) [size=16M]
Memory at 80000000 (64-bit, prefetchable) [size=256M]
Memory at 90000000 (64-bit, non-prefetchable) [size=32M]
I/O ports at 5000 [size=128]
Expansion ROM at 93000000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [100] Virtual Channel <?>
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information <?>
Kernel modules: nvidiafb

0b:00.0 Network controller: Atheros Communications Inc. AR5418 802.11abgn Wireless PCI Express Adapter (rev 01)
Subsystem: Apple Computer Inc. Device 0087
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at 97300000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [140] Virtual Channel <?>
Kernel driver in use: ath9k
Kernel modules: ath9k

0c:00.0 Ethernet controller: Marvell Technology Group Ltd. Marvell Yukon 88E8058 PCI-E Gigabit Ethernet Controller (rev 13)
Subsystem: Marvell Technology Group Ltd. Device 00ba
Flags: bus master, fast devsel, latency 0, IRQ 506
Memory at 97200000 (64-bit, non-prefetchable) [size=16K]
I/O ports at 3000 [size=256]
Expansion ROM at 9b600000 [disabled] [size=128K]
Capabilities: [48] Power Management version 3
Capabilities: [50] Vital Product Data <?>
Capabilities: [5c] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+
Capabilities: [e0] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting <?>
Kernel driver in use: sky2
Kernel modules: sky2

0d:03.0 FireWire (IEEE 1394): Texas Instruments TSB82AA2 IEEE-1394b Link Layer Controller (rev 02) (prog-if 10 [OHCI])
Flags: bus master, medium devsel, latency 248, IRQ 19
Memory at 97104000 (32-bit, non-prefetchable) [size=2K]
Memory at 97100000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
Kernel driver in use: ohci1394
Kernel modules: ohci1394
Back to top
View user's profile Send private message
neybis
n00b
n00b


Joined: 28 Oct 2009
Posts: 60

PostPosted: Wed Nov 25, 2009 3:36 am    Post subject: Reply with quote

lspci -n :

00:00.0 0600: 8086:2a00 (rev 03)
00:01.0 0604: 8086:2a01 (rev 03)
00:1a.0 0c03: 8086:2834 (rev 03)
00:1a.1 0c03: 8086:2835 (rev 03)
00:1a.7 0c03: 8086:283a (rev 03)
00:1b.0 0403: 8086:284b (rev 03)
00:1c.0 0604: 8086:283f (rev 03)
00:1c.2 0604: 8086:2843 (rev 03)
00:1c.4 0604: 8086:2847 (rev 03)
00:1c.5 0604: 8086:2849 (rev 03)
00:1d.0 0c03: 8086:2830 (rev 03)
00:1d.1 0c03: 8086:2831 (rev 03)
00:1d.2 0c03: 8086:2832 (rev 03)
00:1d.7 0c03: 8086:2836 (rev 03)
00:1e.0 0604: 8086:2448 (rev f3)
00:1f.0 0601: 8086:2815 (rev 03)
00:1f.1 0101: 8086:2850 (rev 03)
00:1f.2 0101: 8086:2828 (rev 03)
00:1f.3 0c05: 8086:283e (rev 03)
01:00.0 0300: 10de:0407 (rev a1)
0b:00.0 0280: 168c:0024 (rev 01)
0c:00.0 0200: 11ab:436a (rev 13)
0d:03.0 0c00: 104c:8025 (rev 02)
Back to top
View user's profile Send private message
neybis
n00b
n00b


Joined: 28 Oct 2009
Posts: 60

PostPosted: Wed Nov 25, 2009 3:38 am    Post subject: Reply with quote

sfdisk -l :

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util sfdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 14593 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/sda1 0+ 25- 26- 204819+ ee EFI GPT
start: (c,h,s) expected (0,0,2) found (1023,254,63)
end: (c,h,s) expected (25,127,14) found (1023,254,63)
/dev/sda2 25+ 10583- 10558- 84803584 af Unknown
start: (c,h,s) expected (25,127,15) found (1023,254,63)
/dev/sda3 * 10583+ 14343 3761- 30209776 83 Linux
/dev/sda4 14344 14592 249 2000092+ 82 Linux swap / Solaris
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Nov 25, 2009 3:38 am    Post subject: Reply with quote

Quote:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,3)


This probably means that there is no filesystem support built in your kernel.

Review chapter 7.c of the handbook7 to enable built-in filesystem support.


Last edited by Mike Hunt on Wed Nov 25, 2009 3:39 am; edited 1 time in total
Back to top
View user's profile Send private message
neybis
n00b
n00b


Joined: 28 Oct 2009
Posts: 60

PostPosted: Wed Nov 25, 2009 3:38 am    Post subject: Reply with quote

file -s /dev/sda* :

/dev/sda: x86 boot sector, LInux i386 boot LOader; partition 1: ID=0xee, starthead 254, startsector 1, 409639 sectors; partition 2: ID=0xaf, starthead 254, startsector 409640, 169607168 sectors; partition 3: ID=0x83, active, starthead 254, startsector 170016808, 60419552 sectors; partition 4: ID=0x82, starthead 254, startsector 230436360, 4000185 sectors
/dev/sda1: data
/dev/sda2: data
/dev/sda3: Linux rev 1.0 ext3 filesystem data, UUID=d480814e-4f17-4260-9b2a-72dac50d6145 (needs journal recovery) (large files)
/dev/sda4: Linux/i386 swap file (new style), version 1 (4K pages), size 500022 pages, no label, UUID=4e46a28f-815-45c4-aa81-13cb1089b85f
Back to top
View user's profile Send private message
neybis
n00b
n00b


Joined: 28 Oct 2009
Posts: 60

PostPosted: Wed Nov 25, 2009 3:39 am    Post subject: Reply with quote

emerge --info :

Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.28.4 i686)
=================================================================
System uname: Linux-2.6.28.4-i686-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-1.12.11.1
Timestamp of tree: Wed, 25 Nov 2009 00:30:23 +0000
app-shells/bash: 4.0_p28
dev-lang/python: 2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.63-r1
sys-devel/automake: 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
neybis
n00b
n00b


Joined: 28 Oct 2009
Posts: 60

PostPosted: Wed Nov 25, 2009 3:41 am    Post subject: Reply with quote

nl /etc/fstab :

1 # /etc/fstab: static file system information.
2 #
3 # noatime turns off atimes for increased performance (atimes normally aren't
4 # needed; notail increases performance of ReiserFS (at the expense of storage
5 # efficiency). It's safe to drop the noatime options if you want and to
6 # switch between notail / tail freely.
7 #
8 # The root filesystem should have a pass number of either 0 or 1.
9 # All other filesystems should have a pass number of 0 or greater than 1.
10 #
11 # See the manpage fstab(5) for more information.
12 #

13 # <fs> <mountpoint> <type> <opts> <dump/pass>

14 # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
15 /dev/sda3 / ext3 noatime 0 1
16 /dev/sda4 none swap sw 0 0
17 /dev/cdrom /mnt/cdrom auto noauto,ro 0 0
18 #/dev/fd0 /mnt/floppy auto noauto 0 0

19 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
20 # POSIX shared memory (shm_open, shm_unlink).
21 # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
22 # use almost no memory if not populated with files)
23 shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
Back to top
View user's profile Send private message
neybis
n00b
n00b


Joined: 28 Oct 2009
Posts: 60

PostPosted: Wed Nov 25, 2009 3:42 am    Post subject: Reply with quote

lilo.conf :

boot=/dev/sda
prompt
timeout=50
default=gentoo

image=/boot/kernel-2.6.30-gentoo-r8
label=gentoo
read-only
root=/dev/sda3
Back to top
View user's profile Send private message
neybis
n00b
n00b


Joined: 28 Oct 2009
Posts: 60

PostPosted: Wed Nov 25, 2009 3:45 am    Post subject: Reply with quote

Mike Hunt wrote:
Quote:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,3)


This probably means that there is no filesystem support built in your kernel.

Review chapter 7.c of the handbook7 to enable built-in filesystem support.


I have made sure that I included ext3 built-in and not modular so I do not believe that is the issue. Recall, that even if I make the root filesystem ext2, i stil get the exact same error message.
Back to top
View user's profile Send private message
neybis
n00b
n00b


Joined: 28 Oct 2009
Posts: 60

PostPosted: Wed Nov 25, 2009 3:59 am    Post subject: Reply with quote

Also, in menuconfig, aside from what is in the handbook, I have included in-kernel (not modular) support for SATA nVidia drivers in case my sata controller was nVidia (as my macbook pro includes the nVidia 8600m). This is the only thing extra I have done. On previous attempts I tried enabling a LOT of sata controllers filesystems etc with no success.

What really blows my mind is that my laptop does not even seem to recognize what filesystem is on sda3. If i make it ext2, i stil get no journal found for ext3. If i try the reifer filesystem, i still continue to get ext3 errors.

any help is greatly appreciated as I would much rather have the advantages of gentoo and not have to install something like ubuntu or another various distro.
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Nov 25, 2009 4:11 am    Post subject: Reply with quote

As you can see from the output of lspci, your SATA controller is in fact intel not nvidia, and says to use the ata_piix driver. So you need to redo that.
Back to top
View user's profile Send private message
neybis
n00b
n00b


Joined: 28 Oct 2009
Posts: 60

PostPosted: Wed Nov 25, 2009 5:43 pm    Post subject: Reply with quote

thank you for for help.

although I enabled support for nVidia Sata controllers I never disabled support for intel. also, I tried it without enabling the nVidia aaa drivers first, and tried it the second time around just to see.

since I left both enabled could this be causing problems?

I still don't believe that any of these issues are related necessarily to my root partition at all, I just can't figure out where I'm royally screwing up the install. Can anyone logically explain why regardless of what my root partition's filesystem I always get an ext3 journalling error? this is with an updated LILO.conf and fstab as well so it's not because I am forgetting to change the root filesystem from ext3 in there.


Oh yes and one more thing, someone seemed to be under the impression I couldn't chroot into my gentoo install, this is false. I am able to mount and explore my gentoo partition perfectly well from knoppix live cd.
Back to top
View user's profile Send private message
neybis
n00b
n00b


Joined: 28 Oct 2009
Posts: 60

PostPosted: Wed Nov 25, 2009 6:19 pm    Post subject: Reply with quote

just double checked...I have every intel sata/pata device driver built-in (not modular):

Intel SCH PATA support
Intel PATA old PIIX support
Intel PATA MPIIX support
Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Wed Nov 25, 2009 6:56 pm    Post subject: Reply with quote

The kernel panic message you posted says that the kernel is loading and is able to read your partitions.
Thus the problem is not directly because of a lack of the correct hard drive controller kernel choice but could be related to having too many choices chosen.
https://forums.gentoo.org/viewtopic-p-4570091.html#4570091 is THE reference for ich chipset's and hard drive controller choices.
My read is that your kernel configuration should be:
Device Drivers --->
Quote:
< > ATA/ATAPI/MFM/RLL support --->
SCSI device support --->
*** SCSI support type (disk, tape, CD-ROM) ***
<*> SCSI disk support
< > SCSI tape support
< > SCSI OnStream SC-x0 tape support
<*> SCSI CDROM support
<*> Serial ATA (prod) and Parallel ATA (experimental) drivers --->
--- Serial ATA (prod) and Parallel ATA (experimental) drivers
[*] ATA ACPI Support
[ ] SATA Port Multiplier support
< > AHCI SATA support
< > Silicon Image 3124/3132 SATA support
[*] ATA SFF support
< > ServerWorks Frodo / Apple K2 SATA support
<*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
< > Marvell SATA support (HIGHLY EXPERIMENTAL)
< > NVIDIA SATA support
< > Pacific Digital ADMA support
< > Pacific Digital SATA QStor support
< > Promise SATA TX2/TX4 support
< > Promise SATA SX4 support
< > Silicon Image SATA support
< > SiS 964/965/966/180 SATA support
< > ULi Electronics SATA support
< > VIA SATA support
< > VITESSE VSC-7174 / INTEL 31244 SATA support
< > Initio 162x SATA support
< > ACPI firmware driver for PATA
< > ALi PATA support (Experimental)
< > AMD/NVidia PATA support
< > ARTOP 6210/6260 PATA support
< > ATI PATA support
< > CMD640 PCI PATA support (Very Experimental)
< > CMD64x PATA support
< > CS5510/5520 PATA support
< > CS5530 PATA support (Experimental)
< > Cypress CY82C693 PATA support (Very Experimental)
< > EFAR SLC90E66 support
< > Generic ATA support
< > HPT 366/368 PATA support
< > HPT 370/370A/371/372/374/302 PATA support (Experimental)
< > HPT 372N/302N PATA support (Very Experimental)
< > HPT 343/363 PATA support
< > IT8211/2 PATA support
< > IT8213 PATA support (Experimental)
< > JMicron PATA support
< > Compaq Triflex PATA support
< > Marvell PATA support via legacy mode
< > Intel PATA MPIIX support
< > Intel PATA old PIIX support
< > NETCELL Revolution RAID support
< > Ninja32/Delkin Cardbus ATA support (Experimental)
< > Nat Semi NS87415 PATA support (Experimental)
< > OPTI621/6215 PATA support (Very Experimental)
< > OPTI FireStar PATA support (Very Experimental)
< > Older Promise PATA controller support (Experimental)
< > RADISYS 82600 PATA support (Very Experimental)
< > PC Tech RZ1000 PATA support
< > SC1200 PATA support (Very Experimental)
< > SERVERWORKS OSB4/CSB5/CSB6/HT1000 PATA support
< > Promise PATA 2027x support
< > CMD / Silicon Image 680 PATA support
< > SiS PATA support (Experimental)
< > VIA PATA support
< > Winbond SL82C105 PATA support
< > Intel SCH PATA support

suggest enter chroot, change the configuration as above, recompile and recopy the kernel, and
Code:
emerge e2fsprogs
and try again.
If you have not been changing this
Quote:
/dev/sda3 / ext3 noatime 0 1
each time you change file system of sda3; the inappropriate repetition of ext3 can be explained.
Back to top
View user's profile Send private message
neybis
n00b
n00b


Joined: 28 Oct 2009
Posts: 60

PostPosted: Wed Nov 25, 2009 7:22 pm    Post subject: Reply with quote

thank you so much for your gracious help!

everything you have said thus far has made the most amount of sense. it appears to be loading my kernel etc. I have recompiled with everything as you have specified and am emerging as i type. lets cross our fingers and hope this works.

I obviously cannot garuntee that I have changed the line you specified everytime because the files are gone and there is no way to double check, however this does not seem like something I would have overlooked following the handbook for each install, I believe that I would have changed the filesystem type appropriately. As you have stated though, this WOULD explain any inconsistencies I have been having so maybe I made a noob mistake and overlooked it :-P

again, thank you so much! i appreciate everyones help here and i really hope I can get on my way to customizing my install shortly!
Back to top
View user's profile Send private message
neybis
n00b
n00b


Joined: 28 Oct 2009
Posts: 60

PostPosted: Wed Nov 25, 2009 7:34 pm    Post subject: Reply with quote

:-( i'm sad to report that this did not work. exact same error message.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Wed Nov 25, 2009 7:55 pm    Post subject: Reply with quote

boot cd run
Code:
fsck /dev/sda3
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Wed Nov 25, 2009 8:01 pm    Post subject: Reply with quote

neybis,

Boot with the CD, or however you normally boot and mount your partitions. Chrooting is not required. Lets check a few file date/timestamps. Use the command
Code:
ls -l /path/to/file

Files should be no earlier than the file before ... from the earliest file first.
Code:
/mnt/gentoo/usr/src/linux/.config
/mnt/gentoo/usr/src/linux/arch/x86/boot/bzImage
/mnt/gentoo/boot/<kernel_file_name>
if you are in the chroot, drop the /mnt/gentoo from each path name.
I don't know what your /mnt/gentoo/boot/<kernel_file_name> really is, you will have to fill that in.

Also check in grub.conf to make sure you are loading the <kernel_file_name> you think you are.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Wed Nov 25, 2009 8:08 pm    Post subject: Reply with quote

Are you still using lilo vice grub?
Back to top
View user's profile Send private message
neybis
n00b
n00b


Joined: 28 Oct 2009
Posts: 60

PostPosted: Wed Nov 25, 2009 8:34 pm    Post subject: Reply with quote

DONAHUE wrote:
boot cd run
Code:
fsck /dev/sda3


journal was clean...rebooted, same error

(quote error fixed)


Last edited by neybis on Wed Nov 25, 2009 8:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
neybis
n00b
n00b


Joined: 28 Oct 2009
Posts: 60

PostPosted: Wed Nov 25, 2009 8:38 pm    Post subject: Reply with quote

NeddySeagoon wrote:
neybis,

Boot with the CD, or however you normally boot and mount your partitions. Chrooting is not required. Lets check a few file date/timestamps. Use the command
Code:
ls -l /path/to/file

Files should be no earlier than the file before ... from the earliest file first.
Code:
/mnt/gentoo/usr/src/linux/.config
/mnt/gentoo/usr/src/linux/arch/x86/boot/bzImage
/mnt/gentoo/boot/<kernel_file_name>
if you are in the chroot, drop the /mnt/gentoo from each path name.
I don't know what your /mnt/gentoo/boot/<kernel_file_name> really is, you will have to fill that in.

Also check in grub.conf to make sure you are loading the <kernel_file_name> you think you are.


Here is my output from the three ls -l's :

Microknoppix / # ls -l usr/src/linux/.config
-rw-r--r-- 1 root root 65817 Nov 25 14:10 usr/src/linux/.config
Microknoppix / # ls -l usr/src/linux/arch/x86/boot/bzImage
-rw-r--r-- 1 root root 3615808 Nov 25 14:12 usr/src/linux/arch/x86/boot/bzImage
Microknoppix / # ls -l boot/kernel-2.6.30-gentoo-r8
-rw-r--r-- 1 root root 3638432 Nov 24 21:25 boot/kernel-2.6.30-gentoo-r8 (edit: wrong date before)

So it appears I need to update my kernel image in boot??

And my LILO.CONF is as follows:

root@Microknoppix:/# cat /mnt/sda3/etc/lilo.conf
boot=/dev/sda
prompt
timeout=50
default=gentoo

image=/boot/kernel-2.6.30-gentoo-r8
label=gentoo
read-only
root=/dev/sda3


Last edited by neybis on Wed Nov 25, 2009 8:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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