I have a problem where modprobe hangs when trying to load the amd64_agp module. mkinitramfs calls modprobe when adding things to initramfs. While I acknowledge that is not a bug in mkinitramfs, I think I should be able to use the blacklist (or some equivalent mechanism) to prevent this from happening.
Until the amd64_agp bug is fixed (http://bugs.debian.org/570321), I have to kill modprobe every time I upgrade my kernel, so I had requested this wishlist item from initramfs-tools. http://bugs.debian.org/575454 Max told me to ask on the mailing list (I'm assuming this one) before opening this as a wishlist item.
Is this a reasonable feature request? For mkinitramfs to avoid hanging by honouring the blacklist when adding modules to initramfs?
Thanks,
Jayen
--
To UNSUBSCRIBE, email to debian-ker...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/80510.5...@web45801.mail.sp1.yahoo.com
On Wed, 31 Mar 2010, Jayen Ashar wrote:
>
> I have a problem where modprobe hangs when trying to load the amd64_agp
> module. mkinitramfs calls modprobe when adding things to initramfs.
> While I acknowledge that is not a bug in mkinitramfs, I think I should
> be able to use the blacklist (or some equivalent mechanism) to prevent
> this from happening.
why to you think that mkinitramfs loads any module?
it merely calls modprobe to list the dependings of specific modules
to have them also included in initramfs.
> Until the amd64_agp bug is fixed (http://bugs.debian.org/570321), I have
> to kill modprobe every time I upgrade my kernel, so I had requested this
> wishlist item from initramfs-tools. http://bugs.debian.org/575454 Max
> told me to ask on the mailing list (I'm assuming this one) before
> opening this as a wishlist item.
>
> Is this a reasonable feature request? For mkinitramfs to avoid hanging
> by honouring the blacklist when adding modules to initramfs?
first of all the trouble concerning amd64_agp should be gone as it is
no longer modular.
what i still don't get is why it should hang there, could you provide an
strace of the modprobe call, thanks.
--
To UNSUBSCRIBE, email to debian-ker...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
this looks fine.
>
> looks like it's stuck in a loop (strace attached):
>
> open("/sys/module/amd64_agp/initstate", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7869000
> read(3, "coming\n", 4096) = 7
> close(3) = 0
> munmap(0xb7869000, 4096) = 0
> nanosleep({0, 100000000}, NULL) = 0
> open("/sys/module/amd64_agp/initstate", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7869000
> read(3, "coming\n", 4096) = 7
> close(3) = 0
> munmap(0xb7869000, 4096) = 0
> nanosleep({0, 100000000}, NULL) = 0
> open("/sys/module/amd64_agp/initstate", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7869000
> read(3, "coming\n", 4096) = 7
> close(3) = 0
> munmap(0xb7869000, 4096) = 0
> nanosleep({0, 100000000}, NULL) = 0
please reportbug on module-init-tools
with cc on debian...@lists.debian.org
thanks
--
To UNSUBSCRIBE, email to debian-ker...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20100401132...@baikonur.stro.at
--
To UNSUBSCRIBE, email to debian-ker...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
> reassign 570321 module-init-tools
Bug #570321 [linux-2.6] hangs while installing
Bug #548090 [linux-2.6] [amd64-agp] BUG: unable to handle kernel NULL pointer dereference
Bug #571003 [linux-2.6] udev: update-initramfs fails after updating udev to 151-2
Bug reassigned from package 'linux-2.6' to 'module-init-tools'.
Bug reassigned from package 'linux-2.6' to 'module-init-tools'.
Bug reassigned from package 'linux-2.6' to 'module-init-tools'.
Bug No longer marked as found in versions 2.6.32-5 and 2.6.30-6.
Bug No longer marked as found in versions 2.6.32-5 and 2.6.30-6.
Bug No longer marked as found in versions 2.6.32-5 and 2.6.30-6.
> stop
Stopping processing here.
Please contact me if you need assistance.
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--
To UNSUBSCRIBE, email to debian-ker...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/handler.s.C.127013...@bugs.debian.org
is it fine if modprobe hangs? I have no option to call modprobe with -b in this case, to avoid it from hanging? No workaround is available?
> please reportbug on module-init-tools
> with cc on debian...@lists.debian.org
thanks for transferring the bug for me.
--
To UNSUBSCRIBE, email to debian-ker...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/147009....@web45809.mail.sp1.yahoo.com
no it is not fine. sorry i hadnt get that part when you reported the
bug modprobe show-depends has no business in running into sys.
> I have no option to call modprobe with -b in this case, to avoid it
> from hanging? No workaround is available?
the easy workaround is to upgrade your linux image and nuke trunk
it is outdated anyway.
--
To UNSUBSCRIBE, email to debian-ker...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20100402132...@baikonur.stro.at