I am also affected..

$ uname -a
Linux rutelio 3.5.0-18-generic #29-Ubuntu SMP Fri Oct 19 10:26:51 UTC 2012 
x86_64 x86_64 x86_64 GNU/Linux

# update-initramfs  -u -v
Available versions:  3.5.0-18-generic 3.2.0-33-generic 3.0.0-19-generic
Keeping /boot/initrd.img-3.5.0-18-generic.dpkg-bak
update-initramfs: Generating /boot/initrd.img-3.5.0-18-generic
...
Adding module /lib/modules/3.5.0-18-generic/kernel/drivers/gpu/drm/i2c/ch7006.ko
Adding module /lib/modules/3.5.0-18-generic/kernel/drivers/gpu/drm/via/via.ko

[hangs]


The cause seems to be this modprobe command hanging:

$  ps ax | grep modprobe
 4076 pts/4    S+     0:00 modprobe --set-version=3.5.0-18-generic 
--ignore-install --quiet --show-depends i915

I killed it, then tried to strace it from the command line to see what
it was doing:

# strace -f modprobe --set-version=3.5.0-18-generic --ignore-install --quiet 
--show-depends i915
execve("/sbin/modprobe", ["modprobe", "--set-version=3.5.0-18-generic", 
"--ignore-install", "--quiet", "--show-depends", "i915"], [/* 33 vars */]) = 0
....

This section of calls keeps on repeating forever..

open("/sys/module/i915/initstate", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7ffa9b560000
read(3, "coming\n", 4096)               = 7
close(3)                                = 0
munmap(0x7ffa9b560000, 4096)            = 0
nanosleep({0, 100000000}, NULL)         = 0

open("/sys/module/i915/initstate", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7ffa9b560000
read(3, "coming\n", 4096)               = 7
close(3)                                = 0
munmap(0x7ffa9b560000, 4096)            = 0
nanosleep({0, 100000000}, NULL)         = 0

open("/sys/module/i915/initstate", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7ffa9b560000
read(3, "coming\n", 4096)               = 7
close(3)                                = 0
munmap(0x7ffa9b560000, 4096)            = 0
nanosleep({0, 100000000}, NULL)         = 0

...  etc.

Does anybody have any hint on how to fix this?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706413

Title:
  update-initramfs hangs on adding gpu module

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/706413/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to