initrd-tools - fails if storage modules are compiled in
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initrd-tools (Debian) |
Fix Released
|
Unknown
|
|||
initrd-tools (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Automatically imported from Debian bug report #263216 http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #1 |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #2 |
Message-ID: <email address hidden>
Date: Tue, 3 Aug 2004 13:35:50 +0200
From: Bastian Blank <email address hidden>
To: <email address hidden>
Subject: initrd-tools - fails if storage modules are compiled in
--/04w6evG8XlLl3ft
Content-Type: text/plain; charset=utf-8
Content-
Content-
Package: initrd-tools
Version: 0.1.72
Severity: grave
mkinitrd fails if the specified storage modules are compiled into the
kernel. This makes it unusable on s390 as any current kernels have them
compiled in.
| /usr/sbin/mkinitrd: add_modules_
| FATAL: Module dasd_eckd_mod not found.
| FATAL: Module dasd_fba_mod not found.
| Failed to create initrd image.
Bastian
--=20
I have never understood the female capacity to avoid a direct answer to
any question.
-- Spock, "This Side of Paradise", stardate 3417.3
--/04w6evG8XlLl3ft
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iEYEARECAAYFAkE
2cAAmwXW8JcpXS4
=vAmQ
-----END PGP SIGNATURE-----
--/04w6evG8XlLl
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Matt Zimmerman (mdz) wrote : | #3 |
Not RC for non-s390; initrd-tools was not intended to work with monolithic kernels
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#4 |
* Bastian Blank <email address hidden> [2004-08-03 13:35]:
> mkinitrd fails if the specified storage modules are compiled into the
> kernel. This makes it unusable on s390 as any current kernels have them
> compiled in.
>
> | /usr/sbin/mkinitrd: add_modules_
> | FATAL: Module dasd_eckd_mod not found.
> | FATAL: Module dasd_fba_mod not found.
Herbert said: "Well if mkinitrd didn't check the existence of those
modules then people who don't configure them into the kernel at all
will get an unbootable system.
As checking the kernel config file is pretty much unmaintainable
at the moment, this is the best we can do.
I don't see why he can't just compile them as modules, or don't use
initrd's at all."
--
Martin Michlmayr
<email address hidden>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#5 |
Martin Michlmayr wrote:
>
> Herbert said: "Well if mkinitrd didn't check the existence of those
> modules then people who don't configure them into the kernel at all
> will get an unbootable system.
>
> As checking the kernel config file is pretty much unmaintainable
> at the moment, this is the best we can do.
>
I have no experience with s390, but assuming it supports PCI:
mkinitrd could run discover to check which hardware is installed
and which modules are needed, even if they are compiled into
the current kernel.
Or you could add discover to the linuxrc script to figure out
which modules to load at boot time.
Last but not least mkinitrd could print a precautionary note at
runtime asking the user to add the storage modules to mkinitrd.conf.
Regards
Harri
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #6 |
Message-ID: <email address hidden>
Date: Mon, 9 Aug 2004 14:53:29 +0100
From: Martin Michlmayr <email address hidden>
To: Bastian Blank <email address hidden>
Cc: <email address hidden>
Subject: Re: initrd-tools - fails if storage modules are compiled in
* Bastian Blank <email address hidden> [2004-08-03 13:35]:
> mkinitrd fails if the specified storage modules are compiled into the
> kernel. This makes it unusable on s390 as any current kernels have them
> compiled in.
>
> | /usr/sbin/mkinitrd: add_modules_
> | FATAL: Module dasd_eckd_mod not found.
> | FATAL: Module dasd_fba_mod not found.
Herbert said: "Well if mkinitrd didn't check the existence of those
modules then people who don't configure them into the kernel at all
will get an unbootable system.
As checking the kernel config file is pretty much unmaintainable
at the moment, this is the best we can do.
I don't see why he can't just compile them as modules, or don't use
initrd's at all."
--
Martin Michlmayr
<email address hidden>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #7 |
Message-ID: <email address hidden>
Date: Mon, 09 Aug 2004 16:45:01 +0200
From: "Harald Dunkel" <email address hidden>
To: Martin Michlmayr <email address hidden>, <email address hidden>
CC: Bastian Blank <email address hidden>
Subject: Re: Bug#263216: initrd-tools - fails if storage modules are compiled
in
Martin Michlmayr wrote:
>
> Herbert said: "Well if mkinitrd didn't check the existence of those
> modules then people who don't configure them into the kernel at all
> will get an unbootable system.
>
> As checking the kernel config file is pretty much unmaintainable
> at the moment, this is the best we can do.
>
I have no experience with s390, but assuming it supports PCI:
mkinitrd could run discover to check which hardware is installed
and which modules are needed, even if they are compiled into
the current kernel.
Or you could add discover to the linuxrc script to figure out
which modules to load at boot time.
Last but not least mkinitrd could print a precautionary note at
runtime asking the user to add the storage modules to mkinitrd.conf.
Regards
Harri
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#8 |
severity 263216 important
thanks
On Mon, Aug 09, 2004 at 02:53:29PM +0100, Martin Michlmayr wrote:
> * Bastian Blank <email address hidden> [2004-08-03 13:35]:
> > mkinitrd fails if the specified storage modules are compiled into the
> > kernel. This makes it unusable on s390 as any current kernels have them
> > compiled in.
> >
> > | /usr/sbin/mkinitrd: add_modules_
> > | FATAL: Module dasd_eckd_mod not found.
> > | FATAL: Module dasd_fba_mod not found.
>
> Herbert said: "Well if mkinitrd didn't check the existence of those
> modules then people who don't configure them into the kernel at all
> will get an unbootable system.
This differs from the 2.4 support, which don't fails in this case.
Bastian
--
Oblivion together does not frighten me, beloved.
-- Thalassa (in Anne Mulhall's body), "Return to Tomorrow",
stardate 4770.3.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #9 |
Message-ID: <email address hidden>
Date: Tue, 17 Aug 2004 19:45:24 +0200
From: Bastian Blank <email address hidden>
To: Martin Michlmayr <email address hidden>
Cc: <email address hidden>, <email address hidden>
Subject: Re: initrd-tools - fails if storage modules are compiled in
--tmoQ0UElFV5VgXgH
Content-Type: text/plain; charset=utf-8
Content-
Content-
severity 263216 important
thanks
On Mon, Aug 09, 2004 at 02:53:29PM +0100, Martin Michlmayr wrote:
> * Bastian Blank <email address hidden> [2004-08-03 13:35]:
> > mkinitrd fails if the specified storage modules are compiled into the
> > kernel. This makes it unusable on s390 as any current kernels have them
> > compiled in.
> >=20
> > | /usr/sbin/mkinitrd: add_modules_
> > | FATAL: Module dasd_eckd_mod not found.
> > | FATAL: Module dasd_fba_mod not found.
>=20
> Herbert said: "Well if mkinitrd didn't check the existence of those
> modules then people who don't configure them into the kernel at all
> will get an unbootable system.
This differs from the 2.4 support, which don't fails in this case.
Bastian
--=20
Oblivion together does not frighten me, beloved.
-- Thalassa (in Anne Mulhall's body), "Return to Tomorrow",
stardate 4770.3.
--tmoQ0UElFV5VgXgH
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iEYEARECAAYFAkE
E2AAoKPZ0WSdjHN
=UhUS
-----END PGP SIGNATURE-----
--tmoQ0UElFV5Vg
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#10 |
Setting up kernel-
/usr/sbin/mkinitrd: add_modules_
FATAL: Module sun3x_esp not found.
FATAL: Module mca_53c9x not found.
FATAL: Module mac_esp not found.
FATAL: Module jazz_esp not found.
FATAL: Module dec_esp not found.
Failed to create initrd image.
dpkg: error processing kernel-
subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
kernel-
E: Sub-process /usr/bin/dpkg returned an error code (1)
jazz_esp is for mips.
dec_esp is for mips.
mac_esp is for m68k.
mca_53c9x is for i386 (mostly.)
sun3x_esp is now unsupported as we don't support SUN4 anymore.
Why are these uncompilable modules getting pulled in?
--
Joshua Kwan
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #11 |
Message-ID: <email address hidden>
Date: Wed, 18 Aug 2004 12:33:10 -0700
From: Joshua Kwan <email address hidden>
To: <email address hidden>
Subject: general handling is not good either
--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=us-ascii
Content-
Content-
Setting up kernel-
/usr/sbin/mkinitrd: add_modules_
FATAL: Module sun3x_esp not found.
FATAL: Module mca_53c9x not found.
FATAL: Module mac_esp not found.
FATAL: Module jazz_esp not found.
FATAL: Module dec_esp not found.
Failed to create initrd image.
dpkg: error processing kernel-
subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
kernel-
E: Sub-process /usr/bin/dpkg returned an error code (1)
jazz_esp is for mips.
dec_esp is for mips.
mac_esp is for m68k.
mca_53c9x is for i386 (mostly.)
sun3x_esp is now unsupported as we don't support SUN4 anymore.
Why are these uncompilable modules getting pulled in?
--=20
Joshua Kwan
--0F1p//8PRICkK4MW
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iQIVAwUBQSOu9qO
J36GQG4jGKJr1lL
2vpyTxtQFP7Qukx
L9gxsc3a7AF9PXf
L0XXeJBqcWD0+
BocxmRWUHbt440D
6tn2WkG3eyGe5Bo
sAQRQ3WVt/
LJqMz+7gaTt3M6a
+XElpmifE5s7ds7
psJQttb0gpkZohW
k5LbOLP3AjY=
=wsz7
-----END PGP SIGNATURE-----
--0F1p/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#12 |
severity 263216 grave
thanks
On Mon, Aug 09, 2004 at 02:53:29PM +0100, Martin Michlmayr wrote:
> I don't see why he can't just compile them as modules, or don't use
> initrd's at all."
The same problem applys to root-on-lvm and compiled-in dm which is
pretty normal for non-distribution kernels and can't work without
initrd.
| ./mkinitrd: /dev/system-
Bastian
--
Vulcans do not approve of violence.
-- Spock, "Journey to Babel", stardate 3842.4
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #13 |
Message-ID: <email address hidden>
Date: Fri, 3 Sep 2004 14:42:36 +0200
From: Bastian Blank <email address hidden>
To: Martin Michlmayr <email address hidden>
Cc: <email address hidden>, <email address hidden>
Subject: Re: initrd-tools - fails if storage modules are compiled in
--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=utf-8
Content-
Content-
severity 263216 grave
thanks
On Mon, Aug 09, 2004 at 02:53:29PM +0100, Martin Michlmayr wrote:
> I don't see why he can't just compile them as modules, or don't use
> initrd's at all."
The same problem applys to root-on-lvm and compiled-in dm which is
pretty normal for non-distribution kernels and can't work without
initrd.
| ./mkinitrd: /dev/system-
Bastian
--=20
Vulcans do not approve of violence.
-- Spock, "Journey to Babel", stardate 3842.4
--17pEHd4RhPHOinZp
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iEYEARECAAYFAkE
6vIAn1JFKYZ5KCQ
=Fb7Y
-----END PGP SIGNATURE-----
--17pEHd4RhPHOi
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#14 |
* Bastian Blank <email address hidden> [2004-09-03 14:42]:
> The same problem applys to root-on-lvm and compiled-in dm which is
> pretty normal for non-distribution kernels and can't work without
> initrd.
non-distribution kernels?
Package: initrd-tools
Description: tools to create initrd image for prepackaged Linux kernel
This package contains tools needed to generate an initrd image suitable for
booting a prepackaged Linux kernel image (as shipped with the Debian main
distribution). It does not cater for other uses of initrd at the moment.
--
Martin Michlmayr
<email address hidden>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #15 |
Message-ID: <email address hidden>
Date: Fri, 3 Sep 2004 18:43:12 +0200
From: Martin Michlmayr <email address hidden>
To: Bastian Blank <email address hidden>, <email address hidden>
Subject: Re: Bug#263216: initrd-tools - fails if storage modules are compiled in
* Bastian Blank <email address hidden> [2004-09-03 14:42]:
> The same problem applys to root-on-lvm and compiled-in dm which is
> pretty normal for non-distribution kernels and can't work without
> initrd.
non-distribution kernels?
Package: initrd-tools
Description: tools to create initrd image for prepackaged Linux kernel
This package contains tools needed to generate an initrd image suitable for
booting a prepackaged Linux kernel image (as shipped with the Debian main
distribution). It does not cater for other uses of initrd at the moment.
--
Martin Michlmayr
<email address hidden>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#16 |
Hi folks,
I tried to reproduce this on x86_64 using a hardwired
scsi_mod module. But there was no problem in this case.
And I don't have a s390 or a sparc machine somewhere
on the floor to test.
Would you mind to send me the modules.dep file for
the kernel you are trying to install?
Many thanx
Harri
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #17 |
Message-ID: <email address hidden>
Date: Wed, 15 Sep 2004 20:33:41 +0200
From: "Harald Dunkel" <email address hidden>
To: <email address hidden>
Subject: Re: initrd-tools - fails if storage modules are compiled in
Hi folks,
I tried to reproduce this on x86_64 using a hardwired
scsi_mod module. But there was no problem in this case.
And I don't have a s390 or a sparc machine somewhere
on the floor to test.
Would you mind to send me the modules.dep file for
the kernel you are trying to install?
Many thanx
Harri
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#18 |
# Automatically generated email from bts, devscripts version 2.8.4
tags 263216 + pending
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #19 |
Message-Id: <email address hidden>
Date: Sat, 18 Sep 2004 18:32:11 -0400
From: Jeff Bailey <email address hidden>
To: <email address hidden>
Subject: tagging 263216
# Automatically generated email from bts, devscripts version 2.8.4
tags 263216 + pending
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#20 |
tag 263216 + fixed-in-
tag 271038 + fixed-in-
tag 272139 + fixed-in-
tag 276591 + fixed-in-
tag 280571 + fixed-in-
quit
This message was generated automatically in response to an
upload to the experimental distribution. The .changes file follows.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 7 Dec 2004 21:12:02 -0500
Source: initrd-tools
Binary: initrd-tools
Architecture: source all
Version: 0.1.75
Distribution: experimental
Urgency: low
Maintainer: Debian kernel team <email address hidden>
Changed-By: Jeff Bailey <email address hidden>
Description:
initrd-tools - tools to create initrd image for prepackaged Linux kernel
Closes: 263216 271038 272139 276591 280571
Changes:
initrd-tools (0.1.75) experimental; urgency=low
.
* Jeff Bailey
- Turn error into a warning on modprobe failure. Add extra text
explaining that sometimes this warning might be erroneous.
(Closes: #263216)
- new kernels don't list scsi modules in /proc/scsi (Closes: #271038)
Patch from Harald Dunkel <email address hidden>
* Simon Horman
- Create ida devices (Closes: Bug#276591)
* Martin Michlmayr
- Deal with block name manging in 2.6, thanks Colin Watson.
(Closes: #272139)
* Simon Horman
- Only activate the VG that contain the root device to avoid
tyring to activate VGs that include partitions on devices
whose device drivers are not yet available. (Closes: #280571)
Files:
5ca9bf017bcf74
265b96276409eb
5666bf204b24f2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBtmeU5M5
48YRg/nY9iwNbRn
=BauW
-----END PGP SIGNATURE-----
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #21 |
Message-Id: <email address hidden>
Date: Tue, 07 Dec 2004 21:47:04 -0500
From: Jeff Bailey <email address hidden>
To: <email address hidden>
Cc: Jeff Bailey <email address hidden>, Debian kernel team <email address hidden>
Subject: Fixed in upload of initrd-tools 0.1.75 to experimental
tag 263216 + fixed-in-
tag 271038 + fixed-in-
tag 272139 + fixed-in-
tag 276591 + fixed-in-
tag 280571 + fixed-in-
quit
This message was generated automatically in response to an
upload to the experimental distribution. The .changes file follows.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 7 Dec 2004 21:12:02 -0500
Source: initrd-tools
Binary: initrd-tools
Architecture: source all
Version: 0.1.75
Distribution: experimental
Urgency: low
Maintainer: Debian kernel team <email address hidden>
Changed-By: Jeff Bailey <email address hidden>
Description:
initrd-tools - tools to create initrd image for prepackaged Linux kernel
Closes: 263216 271038 272139 276591 280571
Changes:
initrd-tools (0.1.75) experimental; urgency=low
.
* Jeff Bailey
- Turn error into a warning on modprobe failure. Add extra text
explaining that sometimes this warning might be erroneous.
(Closes: #263216)
- new kernels don't list scsi modules in /proc/scsi (Closes: #271038)
Patch from Harald Dunkel <email address hidden>
* Simon Horman
- Create ida devices (Closes: Bug#276591)
* Martin Michlmayr
- Deal with block name manging in 2.6, thanks Colin Watson.
(Closes: #272139)
* Simon Horman
- Only activate the VG that contain the root device to avoid
tyring to activate VGs that include partitions on devices
whose device drivers are not yet available. (Closes: #280571)
Files:
5ca9bf017bcf74
265b96276409eb
5666bf204b24f2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBtmeU5M5
48YRg/nY9iwNbRn
=BauW
-----END PGP SIGNATURE-----
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Colin Watson (cjwatson) wrote : | #22 |
Fixed by merge of initrd-tools 0.1.75 from Debian.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#23 |
These bugs were fixed in initrd-tools 0.1.76, which included the changes
made in version 0.1.75, which was uploaded only to experimental. The
changelog reads:
* Jeff Bailey
- Turn error into a warning on modprobe failure. Add extra text
explaining that sometimes this warning might be erroneous.
(Closes: #263216)
- new kernels don't list scsi modules in /proc/scsi (Closes: #271038)
Patch from Harald Dunkel <email address hidden>
* Simon Horman
- Create ida devices (Closes: Bug#276591)
* Martin Michlmayr
- Deal with block name manging in 2.6, thanks Colin Watson.
(Closes: #272139)
* Simon Horman
- Only activate the VG that contain the root device to avoid
tyring to activate VGs that include partitions on devices
whose device drivers are not yet available. (Closes: #280571)
--
see shy jo
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #24 |
Message-ID: <email address hidden>
Date: Tue, 25 Jan 2005 15:56:30 -0500
From: Joey Hess <email address hidden>
To: <email address hidden>, <email address hidden>,
<email address hidden>, <email address hidden>, <email address hidden>
Subject: fixed in initrd-tools 0.1.76
--wac7ysb48OaltWcw
Content-Type: text/plain; charset=us-ascii
Content-
Content-
These bugs were fixed in initrd-tools 0.1.76, which included the changes
made in version 0.1.75, which was uploaded only to experimental. The
changelog reads:
* Jeff Bailey
- Turn error into a warning on modprobe failure. Add extra text
explaining that sometimes this warning might be erroneous.
(Closes: #263216)
- new kernels don't list scsi modules in /proc/scsi (Closes: #271038)
Patch from Harald Dunkel <email address hidden>
* Simon Horman
- Create ida devices (Closes: Bug#276591)
* Martin Michlmayr
- Deal with block name manging in 2.6, thanks Colin Watson.
(Closes: #272139)
* Simon Horman
- Only activate the VG that contain the root device to avoid
tyring to activate VGs that include partitions on devices
whose device drivers are not yet available. (Closes: #280571)
--=20
see shy jo
--wac7ysb48OaltWcw
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFB9rJ9d8H
MY6x0s0LpS2VPmn
=a9IQ
-----END PGP SIGNATURE-----
--wac7ysb48Oalt
Changed in initrd-tools: | |
status: | Unknown → Fix Released |
Automatically imported from Debian bug report #263216 http:// bugs.debian. org/263216