Bug#872410: AHCI module not loaded when using preseed
Still having this problem with buster and newer hardware "Intel NUC8". Sometimes the ahci module gets loaded without any modification of the installer (/bin/hw-detect). When using the old hack > d-i preseed/early_command string > sed -i '/^update-dev >.dev.null$/i udevadm control --reload' > /bin/hw-detect the ahci module seems to be loaded reliably. Jörg
Bug#872410: AHCI module not loaded when using preseed
Hello Jörg, All the lines you suggested me work for my problem. I put the third in my configuration. -- Gilles Émilien MOREL <cont...@gilles-morel.fr> « Beaucoup de choses passent par le pipi de nos jours. » -- Thomas Cyrix - Message original Jörg Schulz <jsch...@sgbs.de> à Gilles MOREL <cont...@gilles-morel.fr> copie à 872...@bugs.debian.org le mercredi 02 mai 2018 à 18:25:35 +0200 avec Thunderbird 52.5.2 pour Linux x86_64 Re: Bug#872410: AHCI module not loaded when using preseed -- Hello Gilles, with this HACK you don't have to modify your kernel, initrd or udeb-repository. Simply add this line to your preseed file: d-i preseed/early_command string sed -i '/depmod -a > .dev.null 2>&1 || true/a modprobe ahci || true' /bin/hw-detect It tries to modify /bin/hw-detect to unconditionally try to load the ahci module after the "depmod -a"-command at the beginning of the script. hw-detect is called (at least) 2 times before partitioning. First for network-detect (at this time the sata-modules-udeb is obviously not available and modprobe will fail) and a second time form disk-detect. Now the sata-modules-udeb should have been installed already and the ahci-module is ready to install - after "depmop -a" of course. This is no solution for the root cause of the problem. To further investigate this it would be nice if you could confirm my guess of a timing problem. For this you could add this line to your preseed file (instead of the above of course): d-i preseed/early_command string sed -i '/^update-dev >.dev.null$/i sleep 10' /bin/hw-detect or this: d-i preseed/early_command string sed -i '/^update-dev >.dev.null$/i udevadm control --reload' /bin/hw-detect Hope this helps. Jörg signature.asc Description: This is a digitally signed message part.
Bug#872410: AHCI module not loaded when using preseed
Hello Gilles, with this HACK you don't have to modify your kernel, initrd or udeb-repository. Simply add this line to your preseed file: d-i preseed/early_command string sed -i '/depmod -a > .dev.null 2>&1 || true/a modprobe ahci || true' /bin/hw-detect It tries to modify /bin/hw-detect to unconditionally try to load the ahci module after the "depmod -a"-command at the beginning of the script. hw-detect is called (at least) 2 times before partitioning. First for network-detect (at this time the sata-modules-udeb is obviously not available and modprobe will fail) and a second time form disk-detect. Now the sata-modules-udeb should have been installed already and the ahci-module is ready to install - after "depmop -a" of course. This is no solution for the root cause of the problem. To further investigate this it would be nice if you could confirm my guess of a timing problem. For this you could add this line to your preseed file (instead of the above of course): d-i preseed/early_command string sed -i '/^update-dev >.dev.null$/i sleep 10' /bin/hw-detect or this: d-i preseed/early_command string sed -i '/^update-dev >.dev.null$/i udevadm control --reload' /bin/hw-detect Hope this helps. Jörg
Bug#872410: AHCI module not loaded when using preseed
Hi, Gilles MOREL(2017-09-04): > Is that possible to have any nows about this bug, I still don't have > any answer since mid-August. Pearhaps you're working on it, but I > don't know because I have no answer to my last two messages. > > This is my first bug report, so I don't know how it is supposed to work. Well, I've been busy trying to put pieces together to release D-I Buster Alpha 1. Now, your mails are amongst 800+ unread ones in my debian-boot@ folder. Maybe others have more free time than I have. In any cases, when someone has time to look into your issue, you'll get a reply. KiBi. signature.asc Description: PGP signature
Bug#872410: AHCI module not loaded when using preseed
Hello, Is that possible to have any nows about this bug, I still don't have any answer since mid-August. Pearhaps you're working on it, but I don't know because I have no answer to my last two messages. This is my first bug report, so I don't know how it is supposed to work. Regards, -- Gilles Émilien MORELLe premier tirage aléatoire est [39, 98, 56, 26, 89] et le second est [9, 9, 9, 9, 9]. Quel tirage est le plus aléatoire ? signature.asc Description: This is a digitally signed message part.
Bug#872410: AHCI module not loaded when using preseed
Hello, Is there any news about this bug? Must I try something to help debug? -- Gilles Émilien MOREL <cont...@gilles-morel.fr> Afin d'espérer une réponse de ma part, pensez à mettre votre numéro de carte bancaire dans votre couriel. - Message original Cyril Brulebois <k...@debian.org> à Gilles MOREL <cont...@gilles-morel.fr>, 872...@bugs.debian.org le jeudi 17 août 2017 à 17:48:10 +0200 avec Mutt/1.5.23 (2014-03-12) Re: Bug#872410: AHCI module not loaded when using preseed --- Hi Gilles, Gilles MOREL <cont...@gilles-morel.fr> (2017-08-17): > After some search, I noticed that the ahci kernel module was not > loaded when I use preseed. This is strange, it seems the sata-modules udeb is fetched just fine, I'm not sure why ahci wouldn't be loaded. linux.git has this as its configuration: debian/installer/modules/sata-modules:drivers/ata/ahci* ? so ahci* modules should end up in that udeb, and that's indeed the case for what I can see. Are you using brand new hardware for which support might be missing? Is the non-preseed installation loading appropriate modules… on the same HW as the failing preseed installation? KiBi. signature.asc Description: This is a digitally signed message part.
Bug#872410: AHCI module not loaded when using preseed
Hello, I don't know this message is for me, but I don't know what is a 'depmod' and I don't know how to add one in the installer, considering I use the netinstaller from debian-installer-9-netboot-amd64 package. -- Gilles Émilien MOREL <cont...@gilles-morel.fr> Pensez à l'environnement, imprimez ce message electronique et jetez le bien au tri sélectif. - Message original Ben Hutchings <b...@decadent.org.uk> à Cyril Brulebois <k...@debian.org>, 872...@bugs.debian.org, Gilles MOREL <cont...@gilles-morel.fr> le jeudi 17 août 2017 à 22:50:28 +0100 avec Evolution 3.22.6-1 Re: Bug#872410: AHCI module not loaded when using preseed --- On Thu, 2017-08-17 at 17:48 +0200, Cyril Brulebois wrote: > Hi Gilles, > > Gilles MOREL <cont...@gilles-morel.fr> (2017-08-17): > > After some search, I noticed that the ahci kernel module was not > > loaded when I use preseed. > > This is strange, it seems the sata-modules udeb is fetched just fine, > I'm not sure why ahci wouldn't be loaded. > > linux.git has this as its configuration: > > debian/installer/modules/sata-modules:drivers/ata/ahci* ? > > so ahci* modules should end up in that udeb, and that's indeed the > case for what I can see. > > Are you using brand new hardware for which support might be missing? > Is the non-preseed installation loading appropriate modules… on the > same HW as the failing preseed installation? Could this be due to a missing 'depmod' in the installer? Ben. -- Ben Hutchings This sentence contradicts itself - no actually it doesn't. signature.asc Description: This is a digitally signed message part.
Bug#872410: AHCI module not loaded when using preseed
On Thu, 2017-08-17 at 17:48 +0200, Cyril Brulebois wrote: > Hi Gilles, > > Gilles MOREL(2017-08-17): > > After some search, I noticed that the ahci kernel module was not > > loaded when I use preseed. > > This is strange, it seems the sata-modules udeb is fetched just fine, > I'm not sure why ahci wouldn't be loaded. > > linux.git has this as its configuration: > > debian/installer/modules/sata-modules:drivers/ata/ahci* ? > > so ahci* modules should end up in that udeb, and that's indeed the > case for what I can see. > > Are you using brand new hardware for which support might be missing? > Is the non-preseed installation loading appropriate modules… on the > same HW as the failing preseed installation? Could this be due to a missing 'depmod' in the installer? Ben. -- Ben Hutchings This sentence contradicts itself - no actually it doesn't. signature.asc Description: This is a digitally signed message part
Bug#872410: AHCI module not loaded when using preseed
Hi Cyril, The ahci kernel module does exist in debian-installer, I can load manually and, then, the hard drive appears, but too late. When I manually install, the kernel modules are correctly (that is to say xhci_pci AND ahci). The hardware was bought in 2016. I don't know about linux.git configuration, I don't use it in debian-installer. -- Gilles Émilien MOREL <cont...@gilles-morel.fr> Ce message et toutes les pièces jointes sont établies à l'intention exclusive de ses destinataires et sont confidentiels. Si vous n'êtes pas le destinataire de ce message, merci de détruire votre ordinateur par le feu et d'avertir immédiatement les pompiers. - Message original Cyril Brulebois <k...@debian.org> à Gilles MOREL <cont...@gilles-morel.fr>, 872...@bugs.debian.org le jeudi 17 août 2017 à 17:48:10 +0200 avec Mutt/1.5.23 (2014-03-12) Re: Bug#872410: AHCI module not loaded when using preseed --- Hi Gilles, Gilles MOREL <cont...@gilles-morel.fr> (2017-08-17): > After some search, I noticed that the ahci kernel module was not > loaded when I use preseed. This is strange, it seems the sata-modules udeb is fetched just fine, I'm not sure why ahci wouldn't be loaded. linux.git has this as its configuration: debian/installer/modules/sata-modules:drivers/ata/ahci* ? so ahci* modules should end up in that udeb, and that's indeed the case for what I can see. Are you using brand new hardware for which support might be missing? Is the non-preseed installation loading appropriate modules… on the same HW as the failing preseed installation? KiBi. signature.asc Description: This is a digitally signed message part.
Bug#872410: AHCI module not loaded when using preseed
Hi Gilles, Gilles MOREL(2017-08-17): > After some search, I noticed that the ahci kernel module was not > loaded when I use preseed. This is strange, it seems the sata-modules udeb is fetched just fine, I'm not sure why ahci wouldn't be loaded. linux.git has this as its configuration: debian/installer/modules/sata-modules:drivers/ata/ahci* ? so ahci* modules should end up in that udeb, and that's indeed the case for what I can see. Are you using brand new hardware for which support might be missing? Is the non-preseed installation loading appropriate modules… on the same HW as the failing preseed installation? KiBi. signature.asc Description: Digital signature