You are not logged in.

#1 2009-04-08 01:47:17

detox332
Member
From: University of Pittsburgh
Registered: 2007-06-12
Posts: 63

kernel26 locks up on autodetect

Trying to update kernel but it hangs on autodetect:

(1/1) upgrading kernel26                            [######################] 100%
>>> Updating module dependencies. Please wait ...
>>> MKINITCPIO SETUP
>>> ----------------
>>> If you use LVM2, Encrypted root or software RAID,
>>> Ensure you enable support in /etc/mkinitcpio.conf .
>>> More information about mkinitcpio setup can be found here:
>>> http://wiki.archlinux.org/index.php/Mkinitcpio

>>> Generating initial ramdisk, using mkinitcpio.  Please wait...
==> Building image "default"
==> Running command: /sbin/mkinitcpio -k 2.6.29-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
:: Begin dry run
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [autodetect]

output from mkinitcpio -v -g /boot/kernel26

:: Begin dry run                                          
adding dir /lib                                           
adding dir /lib/modules                                   
adding dir /lib/modules/2.6.29-ARCH                       
adding dir /lib/modules/2.6.29-ARCH/kernel                
adding dir /lib/modules/2.6.29-ARCH/kernel/drivers        
adding dir /lib/modules/2.6.29-ARCH/kernel/drivers/scsi   
adding file /lib/modules/2.6.29-ARCH/kernel/drivers/scsi/scsi_mod.ko
adding dir /lib/modules/2.6.29-ARCH/kernel/drivers/ata              
adding file /lib/modules/2.6.29-ARCH/kernel/drivers/ata/libata.ko   
adding file /lib/modules/2.6.29-ARCH/kernel/drivers/ata/pata_acpi.ko
adding file /lib/modules/2.6.29-ARCH/kernel/drivers/ata/pata_amd.ko 
adding file /lib/modules/2.6.29-ARCH/kernel/drivers/ata/ata_generic.ko
:: Parsing hook [base]                                                
adding dir /proc                                                      
adding dir /sys                                                       
adding dir /dev                                                       
adding node /dev/null                                                 
adding node /dev/zero                                                 
adding node /dev/console                                              
adding node /dev/mem                                                  
adding file /lib/klibc-i5oq3Jxz3fJL_nvxTyXXO41WmGk.so                 
adding dir /bin                                                       
adding file /bin/cat                                                  
adding file /bin/chroot                                               
adding file /bin/dd                                                   
adding file /bin/dmesg                                                
adding file /bin/false                                                
adding file /bin/fstype                                               
adding file /bin/halt                                                 
adding file /bin/ipconfig                                             
adding file /bin/kill                                                 
adding file /bin/kinit                                                
adding file /bin/ln                                                   
adding file /bin/lodel                                                
adding file /bin/losetup                                              
adding file /bin/lsmod                                                
adding file /bin/mdassemble                                           
adding file /bin/minips                                               
adding file /bin/mkdir                                                
adding file /bin/mkfifo                                               
adding file /bin/mknod                                                
adding file /bin/moddeps                                              
adding file /bin/mount                                                
adding file /bin/mv                                                   
adding file /bin/nfsmount                                             
adding file /bin/nuke                                                 
adding file /bin/parseblock                                           
adding file /bin/pivot_root                                           
adding file /bin/poweroff                                             
adding file /bin/readlink                                             
adding file /bin/reboot                                               
adding file /bin/replace                                              
adding file /bin/resolve-modalias                                     
adding file /bin/resume                                               
adding file /bin/run-init                                             
adding file /bin/sh                                                   
adding file /bin/sleep                                                
adding file /bin/sync                                                 
adding file /bin/true                                                 
adding file /bin/umount                                               
adding file /bin/uname                                                
adding dir /sbin                                                      
adding file /sbin/depmod                                              
adding file /sbin/insmod                                              
adding file /sbin/modinfo                                             
adding file /sbin/modprobe                                            
adding file /sbin/rmmod                                               
adding link /bin/modprobe -> /sbin/modprobe                           
adding file /init                                                     
adding file /config                                                   
adding dir /etc                                                       
adding dir /etc/modprobe.d
adding file /etc/modprobe.d/usb-load-ehci-first
:: Parsing hook [udev]
adding file /sbin/udevd
adding file /sbin/udevadm
adding dir /lib/udev
adding dir /lib/udev/rules.d
adding file /lib/udev/rules.d/50-udev-default.rules
adding file /lib/udev/rules.d/60-persistent-storage.rules
adding file /lib/udev/rules.d/64-device-mapper.rules
adding file /lib/udev/rules.d/64-md-raid.rules
adding file /lib/udev/rules.d/80-drivers.rules
adding file /lib/udev/firmware.sh
adding file /lib/udev/path_id
adding file /lib/udev/vol_id
adding file /lib/udev/load-modules.sh
adding dir /etc/udev
adding file /etc/udev/udev.conf
adding dir /hooks
adding file /hooks/udev
:: Parsing hook [autodetect]

each time it locks on autodetect.


Arch64
KDE4 user

Offline

#2 2009-04-08 01:58:55

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,026

Re: kernel26 locks up on autodetect

ive had a similar issue, unplugging a usb keyboard fixed it for me ...

Offline

#3 2009-04-08 05:44:36

detox332
Member
From: University of Pittsburgh
Registered: 2007-06-12
Posts: 63

Re: kernel26 locks up on autodetect

don't have a usb keyboard sad


Arch64
KDE4 user

Offline

#4 2009-04-25 01:44:09

NevarMaor
Member
Registered: 2009-04-22
Posts: 29

Re: kernel26 locks up on autodetect

Same here, every time pacman upgrades the kernel it hangs at parsing hook (autodetect). Problem is it doesn't finish and computer is left in a non-bootable state. Finally cancel and retry, same thing.

Last time (luckily) I had a second Arch partition to boot into and I found solution. Unfortunately it means having to boot into a different partition (or livecd) chrooting into the dead partition, and then running mkinitcpio from there. Check http://bbs.archlinux.org/viewtopic.php?id=64027

I am seriously considering going back to FreeBSD. This is the third time this has happened to me, and I've only been using Arch for about 6 months. Seriously, guys, cant they get this working right?

Edit: found new procedure. If mkinitcpio hangs on autodetect during upgrade then

sudo nano /etc/mkinitcpio.conf

find a line such as HOOKS="base udev autodetect pata scsi sata keymap filesystems"
comment it out and add same line without "autodetect"
save the file

sudo mkinitcpio -p kernel26

basically this creates two failsafe kernel images now instead of a stripped-down one and a failsafe

reboot to upgraded kernel, edit mkinitcpio to uncomment the line with autodetect (comment the secone one) and mkinitcpio again to regenerate the images as they are supposed to be. Once booted into the upgraded kernel the autodetect works fine.

Last edited by NevarMaor (2009-04-25 02:11:47)

Offline

#5 2009-04-25 04:10:36

detox332
Member
From: University of Pittsburgh
Registered: 2007-06-12
Posts: 63

Re: kernel26 locks up on autodetect

i found that if i unplug my usb printer it will go thru with no problems, not exactly a solution but atleast a fix for now


Arch64
KDE4 user

Offline

#6 2009-04-25 23:50:43

NevarMaor
Member
Registered: 2009-04-22
Posts: 29

Re: kernel26 locks up on autodetect

Too bad I have nothing usb to unplug sad

Offline

#7 2009-07-08 02:39:35

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: kernel26 locks up on autodetect

I'm having this problem on one of my machines now, just updating to kernel 2.6.30 via pacman -Syu. Removing autodetect doesn't solve the issue here and the produced images (both normal and failsafe) are not bootable.

Offline

Board footer

Powered by FluxBB