Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting Kernel Panic (Kernel Problem) [fixed]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2198

PostPosted: Wed Jan 18, 2006 10:21 pm    Post subject: Getting Kernel Panic (Kernel Problem) [fixed] Reply with quote

I'm running Reiserfs on this parition.

I *had* everything working with an older kernel (2.6.14-r2), but after trying a new installation with a fresh kernel config, I now get an error stating that I have an invalid block device, and that I need to put in a valid root= boot option.

There is obviously a valid root= boot option, otherwise it wouldn't boot with the older kernel. I also have reiserfs support built in, why is it not booting?
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim


Last edited by Bigun on Fri Jan 20, 2006 1:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2198

PostPosted: Wed Jan 18, 2006 11:34 pm    Post subject: Reply with quote

I'm beyond puzzled.

All that should be required is the correct parameters in lilo.conf, correct parameters in fstab, and reiserfs support, right?
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2198

PostPosted: Thu Jan 19, 2006 1:24 pm    Post subject: Reply with quote

My kernel config:

http://pastebin.com/512905
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
titix
Guru
Guru


Joined: 01 Nov 2003
Posts: 343
Location: Paris, France

PostPosted: Thu Jan 19, 2006 1:43 pm    Post subject: Reply with quote

Give us the content of your lilo.conf.
Maybe there is errors in it :?
_________________
titix
« La route est longue... mais la voie est libre ! »
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2198

PostPosted: Thu Jan 19, 2006 1:43 pm    Post subject: Reply with quote

lilo.conf:

Code:
boot=/dev/hda
default=gentoo

image=/boot/kernel-genkernel-x86-2.6.14-gentoo-r5
   label=gentoo
   read-only
   root=/dev/ram0
   append="init=/linuxrc ramdisk=8192 real_root=/dev/hda1 udev"
   initrd=/boot/initramfs-genkernel-x86-2.6.14-gentoo-r5


Yes I use genkernel.

Does anyone see *ANYTHING* wrong here?
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2198

PostPosted: Thu Jan 19, 2006 2:00 pm    Post subject: Reply with quote

The actual error:

Code:
VFS: Cannot open root device "100" or unknown-block(1,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)


I'm going to run a ram check, but I'm running out of ideas fast.
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2198

PostPosted: Thu Jan 19, 2006 4:45 pm    Post subject: Reply with quote

Here's my dmesg output:

Code:
Linux version 2.6.14-gentoo-r2 (root@surfer) (gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)) #1 SMP PREEMPT Mon Dec 5 21:19:10 EST 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 0000000000080000 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001dfec000 (usable)
 BIOS-e820: 000000001dfec000 - 000000001dfef000 (ACPI data)
 BIOS-e820: 000000001dfef000 - 000000001dfff000 (reserved)
 BIOS-e820: 000000001dfff000 - 000000001e000000 (ACPI NVS)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
479MB LOWMEM available.
On node 0 totalpages: 122860
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 118764 pages, LIFO batch:31
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 ASUS                                  ) @ 0x000f7ff0
ACPI: RSDT (v001 ASUS   A7N266VM 0x42302e31 MSFT 0x31313031) @ 0x1dfec000
ACPI: FADT (v001 ASUS   A7N266VM 0x42302e31 MSFT 0x31313031) @ 0x1dfec100
ACPI: BOOT (v001 ASUS   A7N266VM 0x42302e31 MSFT 0x31313031) @ 0x1dfec040
ACPI: MADT (v001 ASUS   A7N266VM 0x42302e31 MSFT 0x31313031) @ 0x1dfec080
ACPI: DSDT (v001   ASUS A7N266VM 0x00001000 MSFT 0x0100000b) @ 0x00000000
ACPI: PM-Timer IO Port: 0xe408
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 6:6 APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl edge)
ACPI: BIOS IRQ0 pin2 override ignored.
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 20000000 (gap: 1e000000:e0c00000)
Built 1 zonelists
Kernel command line: auto BOOT_IMAGE=gentoo ro root=100 init=/linuxrc ramdisk=8192 real_root=/dev/hda1 udev
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Initializing CPU#0
CPU 0 irqstacks, hard=c0510000 soft=c0508000
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 1463.091 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 480168k/491440k available (3015k kernel code, 10616k reserved, 838k data, 248k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 2929.41 BogoMIPS (lpj=5858824)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0383fbff c1c3fbff 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0383fbff c1c3fbff 00000000 00000000 00000000 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps: 0383fbff c1c3fbff 00000000 00000020 00000000 00000000 00000000
mtrr: v2.0 (20020519)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
CPU0: AMD Athlon(TM) XP 1700+ stepping 02
Total of 1 processors activated (2929.41 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 pin1=0 pin2=-1
Brought up 1 CPUs
checking if image is initramfs...softlockup thread 0 started up.
 it is
Freeing initrd memory: 1640k freed
NET: Registered protocol family 16
EISA bus registered
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf1ab0, last bus=2
PCI: Using configuration type 1
ACPI: Subsystem revision 20050902
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Interrupt Link [LNKA] (IRQs 16 18) *5
ACPI: PCI Interrupt Link [LNKB] (IRQs 16 18) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 16 18) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 16 18) *5
ACPI: PCI Interrupt Link [LNKE] (IRQs 19) *11
ACPI: PCI Interrupt Link [LNKF] (IRQs 20 21 22) *5
ACPI: PCI Interrupt Link [LNKU] (IRQs 20 21 22) *10
ACPI: PCI Interrupt Link [LNKI] (IRQs 20 21 22) *10
ACPI: PCI Interrupt Link [LNKJ] (IRQs 20 21 22) *5
ACPI: PCI Interrupt Link [LNKK] (IRQs 20 21 22) *11
ACPI: PCI Interrupt Link [LNKM] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
Boot video device is 0000:02:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI2._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 16 devices
SCSI subsystem initialized
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
pnp: 00:01: ioport range 0xe400-0xe4fe could not be reserved
pnp: 00:01: ioport range 0xe4ff-0xe4ff has been reserved
pnp: 00:01: ioport range 0xcf0-0xcf3 could not be reserved
pnp: 00:0e: ioport range 0x370-0x371 has been reserved
PCI: Bridge: 0000:00:08.0
  IO window: b000-bfff
  MEM window: e4000000-e4ffffff
  PREFETCH window: f7f00000-f7ffffff
PCI: Bridge: 0000:00:1e.0
  IO window: disabled.
  MEM window: e3000000-e3ffffff
  PREFETCH window: e7f00000-f7efffff
PCI: Setting latency timer of device 0000:00:08.0 to 64
PCI: Setting latency timer of device 0000:00:1e.0 to 64
Simple Boot Flag at 0x3f set to 0x1
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SGI XFS with ACLs, security attributes, realtime, large block numbers, no debug enabled
SGI XFS Quota Management subsystem
Initializing Cryptographic API
vesafb: NVidia Corporation, CR11 Board, Chip Rev B2 (OEM: NVidia)
vesafb: VBE version: 3.0
vesafb: VBIOS/hardware doesn't support DDC transfers
vesafb: no monitor limits have been set
vesafb: scrolling: redraw
Console: switching to colour frame buffer device 128x48
vesafb: framebuffer at 0xe8000000, mapped to 0xde880000, using 7500k, total 32768k
fb0: VESA VGA frame buffer device
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 0) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 0) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
mice: PS/2 mouse device common for all mice
io scheduler noop registered
io scheduler deadline registered
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE: IDE controller at PCI slot 0000:00:09.0
NFORCE: chipset revision 195
NFORCE: not 100% native mode: will probe irqs later
NFORCE: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE: 0000:00:09.0 (rev c3) UDMA100 controller
    ide0: BM-DMA at 0xa800-0xa807, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xa808-0xa80f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
input: AT Translated Set 2 keyboard on isa0060/serio0
logips2pp: Detected unknown logitech mouse model 1
hda: Maxtor 90845D4, ATA DISK drive
input: ImExPS/2 Logitech Explorer Mouse on isa0060/serio1
hdb: WDC WD800JB-00FMA0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: FX4820T, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 16514064 sectors (8455 MB) w/256KiB Cache, CHS=16383/16/63, UDMA(33)
hda: cache flushes not supported
 hda: hda1 hda2 < hda5 hda6 >
hdb: max request size: 128KiB
hdb: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=65535/16/63, UDMA(100)
hdb: cache flushes supported
 hdb: hdb1 < hdb5 hdb6 hdb7 hdb8 >
hdc: ATAPI 40X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
EISA: Probing bus 0 at eisa.0
Cannot allocate resource for EISA slot 5
EISA: Detected 0 cards.
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 196608 bytes)
TCP bind hash table entries: 16384 (order: 5, 196608 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
ip_conntrack version 2.3 (3839 buckets, 30712 max) - 236 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>.  http://snowman.net/projects/ipt_recent/
ClusterIP Version 0.8 loaded successfully
arp_tables: (C) 2002 David S. Miller
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
Freeing unused kernel memory: 248k freed
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
USB Universal Host Controller Interface driver v2.3
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt Link [LNKU] enabled at IRQ 22
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKU] -> GSI 22 (level, high) -> IRQ 16
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:02.0: irq 16, io mem 0xe7000000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ACPI: PCI Interrupt 0000:00:03.0[A] -> Link [LNKU] -> GSI 22 (level, high) -> IRQ 16
PCI: Setting latency timer of device 0000:00:03.0 to 64
ohci_hcd 0000:00:03.0: OHCI Host Controller
ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:03.0: irq 16, io mem 0xe6800000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
sl811: driver sl811-hcd, 19 May 2005
ieee1394: Initialized config rom entry `ip1394'
sbp2: $Rev: 1306 $ Ben Collins <bcollins@debian.org>
ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1)
ieee1394: sbp2: Try serialize_io=0 for better performance
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
ReiserFS: hda1: found reiserfs format "3.6" with standard journal
ReiserFS: hda1: using ordered data mode
ReiserFS: hda1: journal params: device hda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda1: checking transaction log (hda1)
ReiserFS: hda1: Using r5 hash to sort names
Adding 1469908k swap on /dev/hda5.  Priority:-1 extents:1 across:1469908k
Linux agpgart interface v0.101 (c) Dave Jones
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 19
ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [LNKE] -> GSI 19 (level, high) -> IRQ 17
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-6629  Wed Nov  3 13:12:51 PST 2004
ReiserFS: hdb5: found reiserfs format "3.6" with standard journal
ReiserFS: hdb5: using ordered data mode
ReiserFS: hdb5: journal params: device hdb5, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hdb5: checking transaction log (hdb5)
ReiserFS: hdb5: Using r5 hash to sort names
ReiserFS: hdb6: found reiserfs format "3.6" with standard journal
ReiserFS: hdb6: using ordered data mode
ReiserFS: hdb6: journal params: device hdb6, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hdb6: checking transaction log (hdb6)
ReiserFS: hdb6: Using r5 hash to sort names
ReiserFS: hdb7: found reiserfs format "3.6" with standard journal
ReiserFS: hdb7: using ordered data mode
ReiserFS: hdb7: journal params: device hdb7, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hdb7: checking transaction log (hdb7)
ReiserFS: hdb7: Using r5 hash to sort names
ReiserFS: hdb8: found reiserfs format "3.6" with standard journal
ReiserFS: hdb8: using ordered data mode
ReiserFS: hdb8: journal params: device hdb8, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hdb8: checking transaction log (hdb8)
ReiserFS: hdb8: Using r5 hash to sort names


I'm beyond confused.... how to I run a filesystem check on reiserfs?
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2198

PostPosted: Thu Jan 19, 2006 5:02 pm    Post subject: Reply with quote

Nevermind, found it, but even reiserfsck is showing normal so far, and it's almost halfway through the drive.

What else is it!!

:evil:

*EDIT*

- Well, filesystem is perfect.

- Ram checked out

- The lilo.conf was functioning just fine before this fresh kernel config

- Unless some HD's got swapped behind my back the fstab should still work

- The only thing I can think of is the kernel config.... and I'm just not seeing it.
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2198

PostPosted: Thu Jan 19, 2006 5:47 pm    Post subject: Reply with quote

Ok, the manager is telling me to install Windows if this isn't fixed soon, I need a solution.
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2198

PostPosted: Fri Jan 20, 2006 1:12 pm    Post subject: Reply with quote

I got it fixed.

I knew it had something to do with the kernel config, but I had (and still have) no idea what.

So I took a working config from another computer using reiserfs and copied it to the machine in question, compiled a new kernel with it, and boom.... back in business.

For bonus points, can anyone tell me what was wrong with the config?

*EDIT*

Tikes, pastebin deleted the config, I guess we'll never know.
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
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
Page 1 of 1

 
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