You are not logged in.

#1 2008-04-13 01:09:10

bigbob73
Member
From: Fort Worth, Texas
Registered: 2006-07-19
Posts: 89

kernel26 upgrade initramfs problem

after updating to the latest kernel26 (2.6.24.4-1) when the initramfs loads I get an error "export: 36: : bad variable name.  kernel26.img is generated with no errors.  Also, It won't work on fallback either.

Offline

#2 2008-04-13 09:28:57

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: kernel26 upgrade initramfs problem

Weird. Can you post your kernel commandline?

Offline

#3 2008-04-13 13:14:38

bigbob73
Member
From: Fort Worth, Texas
Registered: 2006-07-19
Posts: 89

Re: kernel26 upgrade initramfs problem

more info.  amdx2 processor, ide hard drives, using pata.  and my mkinitcpio.conf...

# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES="piix ide_disk reiserfs"
MODULES="piix pata_amd ide_disk reiserfs libata"

# BINARIES
# This setting includes, into the CPIO image, and additional
# binaries a given user may wish.  This is run first, so may
# be used to override the actual binaries used in a given hook.
# (Existing files are NOT overwritten is already added)
# BINARIES are dependancy parsed, so you may safely ignore libraries
BINARIES=""

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in anyway.  This is useful for config files.
# Some users may wish to include modprobe.conf for custom module options,
# like so:
#    FILES="/etc/modprobe.conf"
FILES=""

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'modload' may be used in place of 'udev', but is not recommended
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
#    This setup specifies all modules in the MODULES setting above.
#    No raid, lvm2, or encrypted root is needed.
#    HOOKS="base"
#
#    This setup will autodetect all modules for your system and should
#    work as a sane default
#    HOOKS="base udev autodetect pata scsi sata filesystems"
#
#    This is identical to the above, except the old ide subsystem is
#    used for IDE devices instead of the new pata subsystem.
#    HOOKS="base udev autodetect ide scsi sata filesystems"
#
#    This setup will generate a 'full' image which supports most systems.
#    No autodetection is done.
#    HOOKS="base udev pata scsi sata usb filesystems"
#
#    This setup assembles an pata raid array with an encrypted root FS.
#    Note: See 'mkinitcpio -H raid' for more information on raid devices.
#    HOOKS="base udev pata raid encrypt filesystems"
#
#    This setup loads an lvm2 volume group on a usb device.
#    HOOKS="base udev usb lvm2 filesystems"
HOOKS="base udev autodetect ide pata filesystems"

I cannot get it to boot no matter what I try.

Offline

#4 2008-04-13 13:15:48

bigbob73
Member
From: Fort Worth, Texas
Registered: 2006-07-19
Posts: 89

Re: kernel26 upgrade initramfs problem

brain0 wrote:

Weird. Can you post your kernel commandline?

do you mean in grub?

title ArchLinux
root (hd0,5)
kernel /boot/vmlinuz26 root=/dev/sda6 ro
initrd /boot/kernel26.img

Offline

#5 2008-04-13 16:02:12

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: kernel26 upgrade initramfs problem

Your mkinitcpio.conf doesn't make sense: You are using pata AND ide, loading piix (IDE) and pata_amd (PATA). However, that could not cause this problem, I have no idea what could.

Offline

#6 2008-04-13 18:24:16

bigbob73
Member
From: Fort Worth, Texas
Registered: 2006-07-19
Posts: 89

Re: kernel26 upgrade initramfs problem

yeah, most of it is an attempt to get it running.  I'm using the initrd.img from the install disk atm.  at least i'm up and running.

I have 2 ide disks and a pata controller.  what should the correct line be?

Last edited by bigbob73 (2008-04-13 18:25:09)

Offline

#7 2008-04-14 06:19:27

Azrael
Member
Registered: 2008-04-11
Posts: 13

Re: kernel26 upgrade initramfs problem

Regular IDE is the same as PATA: wheeeeeee. Unless by IDE you mean SATA, in which case your terminology is FUBAR. tongue

Offline

Board footer

Powered by FluxBB