Re: Kernel Panic at boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi...

On Sat, Feb 28, 2009 at 7:08 PM, Stephen Roberts
<sroberts82k@xxxxxxxxxxxxxx> wrote:
> (Reposting without attachment in case it got filtered out - apologies)
>
> Hi guys,
> I have tried to compile the source for 2.6.28 and not changed any code. I
> took just the defaults for the config (I suspect the config is the issue...)
> and did:
>
> make
> make modules
> make modules_install
> mkinitrd -o initrdsteo.img-2.6.28 2.6.28


hmm, i checked man page of mkinitrd and didn't find "-o" option. Are
you sure you used that option?

> and then added it to grub like so:
>
> title        Steos Dev Kernel
> root        (hd0,1)
> kernel        /boot/vmlinuz-2.6.28 root=UUID=fa619a11-1e18-4044-
> aada-f953cb31d195 ro single
> initrd        /boot/initrdsteo.img-2.6.28
>
> When I boot up, I am getting a panic:
>
> --------------------------------------------------------------------------------------------------------------------------------
>
> SCSI Subsystem initialized
> Driver 'sd' needs updating - please use bus_type methods
> Driver 'sr' needs updating - please use bus_type methods
> umount: devfs: not mounted
> /scripts/ext-3-add-journal.sh: 27: arithmetic expression: Expecting EOF:
> "0x"
> mount: unknown filesystem type 'devfs'
> /sbin/init: 426: arithmetic expression: Expecting EOF: "0x"
> Kernel Panic - not syncing: Attempting to kill init!

to the best I know, devfs is no longer used. udev is used as device
file name maintainer (don't know the exact official name, that's how I
name it).

Check your config file....better to do:
make mproper
make defconfig --> this one to generate default config suited for
current kernel version


>
> Aside: Is it possible to get this output on dmesg after subsequently booting
> up a working kernel? Or is it gone by this stage? Or, as it seems it has no
> access to a filesystem, it wouldn't even be able to save them anywhere
> anyway?

i think it's gone, because syslogd doesn't have a chance to grab it
and save it to disk. Probably netconsole could help here.

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux