You are not logged in.

#1 2012-05-04 20:39:24

jamgood96
Member
Registered: 2012-01-09
Posts: 42

I Broke My 'Puter After Upgrade

I broke our work server after upgrading via Pacman. This is the first time, so I'm in need of knowing where to start.

It hangs with the message "Can not request iomem region..."

I just looked back through my remote terminal and saw some errors that popped up during the upgrade.

Thanks so much in advance!!

Screen_Shot_2012_05_04_at_1_37_20_PM.jpg

Offline

#2 2012-05-04 20:52:17

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,462
Website

Re: I Broke My 'Puter After Upgrade

Your initramfs's didn't build correctly.  It's not obvious to me why, but my first suggestion would be to try to rebuild them and see if you get the errors again.  If you do, then it's time to start figuring them out, but if not, you may be set.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2012-05-04 20:56:47

hiciu
Member
Registered: 2010-08-11
Posts: 89

Re: I Broke My 'Puter After Upgrade

Here is the image: http://postimage.org/image/6n6bnjw1z/full/. See this thread: https://bbs.archlinux.org/viewtopic.php?id=140390. Just chroot to your system and run "mkinitcpio -p linux".

Offline

#4 2012-05-08 05:47:23

jamgood96
Member
Registered: 2012-01-09
Posts: 42

Re: I Broke My 'Puter After Upgrade

Awesome! That worked.

It still is showing "ERROR: module not found 'mdadm'", but all seems to be working fine. Any idea?

Thanks for your help!

Offline

#5 2012-05-08 05:56:30

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: I Broke My 'Puter After Upgrade

Please edit your original post and use a meaningful title: https://wiki.archlinux.org/index.php/Fo … ow_to_Post

Is mdadm in your hooks?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2012-05-08 05:58:31

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: I Broke My 'Puter After Upgrade

jamgood96 wrote:

It still is showing "ERROR: module not found 'mdadm'", but all seems to be working fine. Any idea?

I'm not sure what the answer is, but I don't think it's anything to worry about. See here from my own logs:

[2012-05-05 12:42] ==> Starting build: 3.3.4-2-ARCH
[2012-05-05 12:42]   -> Parsing hook: [base]
[2012-05-05 12:42]   -> Parsing hook: [udev]
[2012-05-05 12:42]   -> Parsing hook: [pata]
[2012-05-05 12:42]   -> Parsing hook: [scsi]
[2012-05-05 12:42]   -> Parsing hook: [sata]
[2012-05-05 12:42]   -> Parsing hook: [keymap]
[2012-05-05 12:42]   -> Parsing hook: [lvm2]
[2012-05-05 12:42] ==> ERROR: module not found: `dm-mod'
[2012-05-05 12:42]   -> Parsing hook: [encrypt]
[2012-05-05 12:42] ==> ERROR: module not found: `dm-crypt'
[2012-05-05 12:42]   -> Parsing hook: [lvm2]
[2012-05-05 12:42] ==> ERROR: module not found: `dm-mod'
[2012-05-05 12:42]   -> Parsing hook: [resume]
[2012-05-05 12:42]   -> Parsing hook: [filesystems]
[2012-05-05 12:42]   -> Parsing hook: [usbinput]
[2012-05-05 12:42]   -> Parsing hook: [fsck]
[2012-05-05 12:42] ==> Generating module dependencies
[2012-05-05 12:42] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
[2012-05-05 12:42] ==> WARNING: errors were encountered during the build. The image may not be complete.

This kind of output is nothing new and it doesn't seem to hurt. Probably there's a simple fix but I've been too lazy to look into it.

Offline

#7 2012-05-08 06:36:31

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: I Broke My 'Puter After Upgrade

I have in my modules list:

dm_mod dm_crypt

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2012-05-08 06:46:06

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: I Broke My 'Puter After Upgrade

jasonwryan wrote:

I have in my modules list:

dm_mod dm_crypt

Do you mean the modules list in mkinitcpio.conf? I tried like so:

$ grep ^MODULES /etc/mkinitcpio.conf 
MODULES="dm_mod dm_crypt"

both with underscores and with dashes instead. Still, the same thing:

$ sudo mkinitcpio -p linux
==> Building image from preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.3.4-2-ARCH
  -> Parsing hook: [base]
  -> Parsing hook: [udev]
  -> Parsing hook: [autodetect]
  -> Parsing hook: [pata]
  -> Parsing hook: [scsi]
  -> Parsing hook: [sata]
  -> Parsing hook: [keymap]
  -> Parsing hook: [lvm2]
==> ERROR: module not found: `dm-mod'
  -> Parsing hook: [encrypt]
==> ERROR: module not found: `dm-crypt'
  -> Parsing hook: [lvm2]
==> ERROR: module not found: `dm-mod'
  -> Parsing hook: [resume]
  -> Parsing hook: [filesystems]
  -> Parsing hook: [usbinput]
  -> Parsing hook: [fsck]
==> ERROR: module not found: `dm_mod'
==> ERROR: module not found: `dm_crypt'
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Image generation successful
< ... snip ... >

Offline

#9 2012-05-08 06:53:24

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: I Broke My 'Puter After Upgrade

...and your lvm2 hook is parsed twice. Odd.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2012-05-08 07:13:48

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: I Broke My 'Puter After Upgrade

jasonwryan wrote:

...and your lvm2 hook is parsed twice. Odd.

I have a LVM-LUKS-LVM sandwich ;-)

Offline

Board footer

Powered by FluxBB