need to emulate hw-detect's /etc/modules setup

Bug #40826 reported by Andrea Garbarini
52
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
High
Colin Watson

Bug Description

running the beta live cd

I noticed the /etc/modules file is empty after installation, in particular, the debian installer on my box usually adds the "lp" and "psmouse" in that file, but this is not the case when installing through espresso. Regards, andre

Revision history for this message
Dennis Kaarsemaker (dennis) wrote : Re: [Bug 40826] some modules in /etc/modules missing

Sounds like a dup of 40311 but I'm not sure.

Revision history for this message
Andrea Garbarini (garba) wrote : Re: some modules in /etc/modules missing

Yep, it is, I must have overlooked it when checking the bug list, marked as duplicate of bug 40311.

Revision history for this message
Colin Watson (cjwatson) wrote :

This is not a duplicate of bug 40311. The problem here is that the code that normally does hardware detection and /etc/modules creation in d-i isn't used in espresso (and would be very difficult to use directly), so lp and psmouse don't get added.

Changed in espresso:
status: Unconfirmed → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

Fixed in my bzr branch; it'll be in the next upload. Using hw-detect directly turned out to be easier than I'd expected.

Changed in ubiquity:
assignee: nobody → kamion
status: Confirmed → Fix Committed
Revision history for this message
Colin Watson (cjwatson) wrote :

ubiquity (0.99.77) dapper; urgency=low

  * Run hw-detect to set up /etc/modules properly (closes: Malone #40826).
  * Mimic base-installer's logic to configure initramfs-tools with an
    appropriate resume partition (closes: Malone #42299).
  * Fix logging in apply_keyboard.
  * Handle trfu/trqu console keymaps the same way as trf/trq (closes: Malone
    #37867).
  * Map croat console keymap to hr (closes: Malone #43598).
  * Mimic xserver-xorg's logic regarding alternate US layouts for non-Latin
    keymaps.
  * Map et console keymap to ee (closes: Malone #42800).
  * Handle fi-latin1 console keymap the same way as fi (closes: Malone
    #42650).
  * Map mk, nl, ro, and ru console keymaps to the X keymaps by the same
    names.
  * Map gr console keymap to gr, and add it to the list of non-Latin
    keymaps.
  * Change sr-cy console keymap to map to cs, not sr, following
    xkeyboard-config changes. Add this to the list of non-Latin keymaps.
  * Automatic update of included source packages: hw-detect 1.32ubuntu6.

 -- Colin Watson <email address hidden> Mon, 8 May 2006 17:39:19 +0100

Changed in ubiquity:
status: Fix Committed → Fix Released
Revision history for this message
Andrea Garbarini (garba) wrote :

great, i'll be doing some testing tomorrow and report back to you to make sure everything works ok, at least on my box ;) regards, andre

Revision history for this message
Martin Pitt (pitti) wrote :

For all people whose parallel printer is not detected after a dapper installation (bug duplicates): Please do

  sudo modprobe lp
  echo lp | sudo tee -a /etc/modules

to fix it on the spot (first command) and permantently (second command). This bug is fixed for installs with current CDs.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.