Alberto Gonzalez Iniesta wrote:
> The problem is that 'smsc-ircc2' is set as a module option in your
> debconf information. From your bug report:
> 
>> -- debconf information:
>> * irda-utils/firopt: smsc-ircc2
>                        ^^^^^^^^^^
> 
> This could have been filled out by you, or by a wrong configuration and
> an upgrade from a previous version older than 0.9.16-5. Did you upgrade
> from such an older version? Was your old /etc/modprobe.d/irda or
> /etc/modutils/irda correct?

I'm tracking unstable since february 2006 with this box... I don't know.

> From the preinst file:
> 
> 
> 
>             if [ -f "$modules" ]; then
>                 if egrep "^alias irda0" $modules > /dev/null 2>&1 ; then
>                    set `egrep "^alias irda0" $modules`
>                    db_set $PACKAGE/firdev "$3"
> 
>                    if dpkg --compare-versions "$PREV" gt 0.9.14-17; then
>                       set `egrep "^options $3" $modules`;
>                       shift; shift
>                    else
>                        shift; shift; shift;
>                    fi
>                    db_set $PACKAGE/firopt "$*"
>                 fi
>             fi
> 
> Only that code (or your answer to the debconf question) could have set that
> debconf question to an invalid value such as 'smc-ircc2'.
> 
> 
> Regards,
> 
> Alberto
> 

I never answered such debconf questions, so this is very strange; I'm
used to read all the questions and to think about the answers.

OK. I tried to dpkg-reconfigure irda-utils and finally answered all the
questions. I chose the module smc-ircc and cleared the "module options" box.
I got an /etc/modprobe.d/irda-utils file that refers to the not existing
module "smc-ircc" (kernel 2.6):

=== START ===

# Other aliases are defined in the modules themselves
alias char-major-10-187 irnet

# For FIR device

# Module name has changed for this device, so this is a compatibility hack
# that the user can select the name used for 2.4 when really using 2.6
#install smsc-ircc2 /dev/ttyS1 uart none port 0 irq 0; /sbin/modprobe
--ignore-install smsc-ircc2

options smc-ircc
alias irda0 smc-ircc

=== END ===

README.Debian says:

"The definitions in /etc/modprobe.d/irda-utils take
care of the proper translation to the 2.6 names."

But the debconf module choice question says:

"The modules offered here can be different to the ones that are
available for your actual kernel. In that case you have to edit
/etc/modutils/irda-utils (2.4) or /etc/modprobe.d/irda-utils (2.6) by hand."

This seems rather confusing to me: what am I expected to do in order to
load the module smsc-ircc2?

Thanks

Mau


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to