View previous topic :: View next topic |
Author |
Message |
robot boy n00b
Joined: 21 Nov 2002 Posts: 22 Location: Cambridge, MA
|
Posted: Thu Jan 23, 2003 5:16 pm Post subject: kernel panic on first reboot |
|
|
i followed the installation instructions and everything went fine. however, after the first reboot (booting off of my kernel), i get the following error:
Code: | VFS: Cannot open root device "hda3" or 03:03
Please append correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 03:03
|
a few lines up was this line:
Code: | Partition check:
/dev/ide/host0/bus0/target0/lun0: unknown partition table
/dev/ide/host0/bus0/target1/lun0: unknown partition table
|
here are the relevant parts of my fstab:
Code: | /dev/hda1 /boot ext3 noauto,noatime 1 2
/dev/hda3 / ext3 noatime 0 1
/dev/hda2 none swap sw 0 0
/dev/hdb1 /big ext3 noatime 0 3
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noatuo,ro 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
|
i'm guessing i did something wrong when configuring and compiling my kernel?
any help greatly appreciated |
|
Back to top |
|
|
robot boy n00b
Joined: 21 Nov 2002 Posts: 22 Location: Cambridge, MA
|
Posted: Thu Jan 23, 2003 5:24 pm Post subject: |
|
|
the relevant parts of my grub.conf file (just in case)
Code: | title=Gentoo Linux 1.4
root (hd0,0)
kernel /boot/bzImage root=/dev/hda3
|
|
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Thu Jan 23, 2003 5:48 pm Post subject: |
|
|
To redo your kernel, see this. Once your back into your system, verify that you've included support for ext3 (not as a module). _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
robot boy n00b
Joined: 21 Nov 2002 Posts: 22 Location: Cambridge, MA
|
Posted: Thu Jan 23, 2003 5:59 pm Post subject: |
|
|
Quote: | To redo your kernel, see this. Once your back into your system, verify that you've included support for ext3 (not as a module). |
ext3 support is definitely in there as a built-in option
here are all the things that i have selected under file-systems:
Kernel automounter version 4 support (also supports v3)
Ext3 journalling file system support
Virtual memory file system support (former shm fs)
ISO 9660 CDROM file system support
/proc file system support
/dev file system support
- Automagically mount at boot
Second extended fs support
UFS file system support
(i included UFS because i plan on attaching a UFS disk after I get the system up and running) |
|
Back to top |
|
|
ttye0 Tux's lil' helper
Joined: 16 Jan 2003 Posts: 109
|
Posted: Sat Jan 25, 2003 9:02 pm Post subject: |
|
|
I'm not sure if this will help much but doesn't the line that says kernel at the beginning have to say this?
kernel=/boot/bzImage root/dev/hda3 |
|
Back to top |
|
|
ttye0 Tux's lil' helper
Joined: 16 Jan 2003 Posts: 109
|
Posted: Sat Jan 25, 2003 10:15 pm Post subject: |
|
|
I'm actually in my installer once again right now reinstalling with a problem. I get that same error but my choice was lilo not grub. My boot and root partitions are both ext3 and I have them as built-in support on my kernel. (gentoo kernel not vanilla). My fstab is setup just like his *points*, my lilo seams to be setup properly with the exception I'm booting without a initrd. I'm gonna compile mkinitrd, make a initrd file for my kernel, and hope it works. Once again...I'm pretty sure everything of mine is setup correctly but I'm not positive because otherwise this would all work. Well, I'm gonna reboot now and hopefully having the initrd file will make a difference, if so I'll post that it fixed it...otherwise, please give me some suggestions. |
|
Back to top |
|
|
drakonite l33t
Joined: 02 Nov 2002 Posts: 768 Location: Lincoln, NE
|
Posted: Sat Jan 25, 2003 10:29 pm Post subject: |
|
|
I'm not sure if this has any bearing on your problem or not, but you really should have your root partition listed first in your fstab (you have /boot listed before /) IIRC it can cause problems if you don't have it first. _________________ Shoot Pixels Not People
My GPG/PGP Public key |
|
Back to top |
|
|
ttye0 Tux's lil' helper
Joined: 16 Jan 2003 Posts: 109
|
Posted: Sat Jan 25, 2003 10:48 pm Post subject: |
|
|
I made those changes and I'm still getting the same problem |
|
Back to top |
|
|
herring Apprentice
Joined: 22 Jul 2002 Posts: 187 Location: Norway
|
Posted: Sat Jan 25, 2003 11:21 pm Post subject: Re: kernel panic on first reboot |
|
|
robot boy wrote: |
<snipped>
Code: | Partition check:
/dev/ide/host0/bus0/target0/lun0: unknown partition table
/dev/ide/host0/bus0/target1/lun0: unknown partition table
|
|
unknown partiton table !!!
I have:
Code: |
Jan 26 00:03:12 gentoo kernel: lp0: using parport0 (polling).
Jan 26 00:03:12 gentoo kernel: Uniform Multi-Platform E-IDE driver Revision: 6.3
1
Jan 26 00:03:12 gentoo kernel: ide: Assuming 33MHz system bus speed for PIO mode
s; override with idebus=xx
Jan 26 00:03:12 gentoo kernel: VP_IDE: IDE controller on PCI bus 00 dev 39
Jan 26 00:03:12 gentoo kernel: VP_IDE: chipset revision 6
Jan 26 00:03:12 gentoo kernel: VP_IDE: not 100%% native mode: will probe irqs la
ter
Jan 26 00:03:12 gentoo kernel: ide: Assuming 33MHz system bus speed for PIO mode
s; override with idebus=xx
Jan 26 00:03:12 gentoo kernel: VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 contro
ller on pci00:07.1
Jan 26 00:03:12 gentoo kernel: ide0: BM-DMA at 0xd000-0xd007, BIOS settings:
hda:DMA, hdb:DMA
Jan 26 00:03:12 gentoo kernel: ide1: BM-DMA at 0xd008-0xd00f, BIOS settings:
hdc:DMA, hdd:pio
Jan 26 00:03:12 gentoo kernel: hda: WDC AC28400R, ATA DISK drive
Jan 26 00:03:12 gentoo kernel: hdb: IC35L040AVVN07-0, ATA DISK drive
Jan 26 00:03:12 gentoo kernel: hdc: ASUS DVD-ROM E616, ATAPI CD/DVD-ROM drive
Jan 26 00:03:12 gentoo kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Jan 26 00:03:12 gentoo kernel: ide1 at 0x170-0x177,0x376 on irq 15
Jan 26 00:03:12 gentoo kernel: hda: 16514064 sectors (8455 MB) w/512KiB Cache, C
HS=1027/255/63, (U)DMA
Jan 26 00:03:12 gentoo kernel: hdb: 80418240 sectors (41174 MB) w/1863KiB Cache,
CHS=5005/255/63, UDMA(100)
Jan 26 00:03:12 gentoo kernel: hdc: ATAPI 48X DVD-ROM drive, 512kB Cache, (U)DMA
Jan 26 00:03:12 gentoo kernel: Uniform CD-ROM driver Revision: 3.12
Jan 26 00:03:12 gentoo kernel: Partition check:
Jan 26 00:03:12 gentoo kernel: /dev/ide/host0/bus0/target0/lun0: p1 p2 p3
Jan 26 00:03:12 gentoo kernel: /dev/ide/host0/bus0/target1/lun0: p1
|
This part worries me the most. I seems like your HD and its partitions are corrupted some way. Can you find some way to run
fsck /dev/hda1
fsck /dev/hda3
or
fdisk -l /dev/hda
Your fstab looks alright, same order in my system
Your grub.conf looks fine too
Your kernel settings should be right too. |
|
Back to top |
|
|
ttye0 Tux's lil' helper
Joined: 16 Jan 2003 Posts: 109
|
Posted: Sun Jan 26, 2003 12:33 am Post subject: |
|
|
Ok, I removes root=LABEL=/ from append option of my lilo.conf and added root=/dev/hdc5 and it booted fine. Now I just need to find out about why it's not using devfsd and why it doesn't see my ethernet card. I'm assuming the two problems intertwine. |
|
Back to top |
|
|
|