[Mageia-dev] USB Keyboard disabled in current stage1

AL13N alien at rmail.be
Wed Mar 20 08:34:32 CET 2013


Op dinsdag 19 maart 2013 18:53:07 schreef Frank Griffin:
> On 03/19/2013 04:56 PM, AL13N wrote:
> > a module list of loaded modules with that hardware...
> > 
> > i think it might be this commit, but i'm wondering what's the difference
> > inbetween automatic loading and loading from the module box.
> > 
> > iow: we need to find what module is actually the problem
> 
> Here we go ...
> 
> [root at ftgfw ftg]# lsmod
> Module                  Size  Used by
> ipcomp                 12661  0
> xfrm_ipcomp            13413  1 ipcomp
> ah4                    13044  0
> esp4                   17098  0
> deflate                12617  0
> ctr                    13005  0
> twofish_generic        16635  0
> twofish_x86_64_3way    27181  0
> twofish_x86_64         12907  1 twofish_x86_64_3way
> twofish_common         21113  3
> twofish_generic,twofish_x86_64_3way,twofish_x86_64
> camellia_generic       29260  0
> camellia_x86_64        53205  0
> serpent_sse2_x86_64    50443  0
> serpent_generic        25727  1 serpent_sse2_x86_64
> xts                    12914  3
> camellia_x86_64,serpent_sse2_x86_64,twofish_x86_64_3way
> lrw                    13286  3
> camellia_x86_64,serpent_sse2_x86_64,twofish_x86_64_3way
> gf128mul               14951  2 lrw,xts
> glue_helper            13541  3
> camellia_x86_64,serpent_sse2_x86_64,twofish_x86_64_3way
> blowfish_generic       12530  0
> blowfish_x86_64        21381  0
> blowfish_common        16739  2 blowfish_generic,blowfish_x86_64
> cast5_generic          21429  0
> cast_common            12983  1 cast5_generic
> ablk_helper            13597  1 serpent_sse2_x86_64
> cryptd                 20403  1 ablk_helper
> des_generic            21350  0
> cbc                    12774  0
> xcbc                   12815  0
> rmd160                 16744  0
> sha512_generic         12770  0
> sha256_generic         21005  0
> sha1_generic           12845  0
> crypto_null            12840  0
> af_key                 36092  2
> xfrm_algo              15508  4 ah4,esp4,af_key,xfrm_ipcomp
> fuse                   78830  2
> ipt_IFWLOG             12622  2
> ipt_psd                57587  1
> cls_basic              12946  0
> cls_flow               17125  0
> cls_fw                 12904  0
> cls_u32                17137  0
> sch_tbf                13064  0
> sch_prio               13152  0
> sch_htb                22146  0
> sch_hfsc               22206  0
> sch_ingress            12866  0
> sch_sfq                21375  0
> bridge                100378  0
> stp                    12976  1 bridge
> llc                    14552  2 stp,bridge
> xt_CHECKSUM            12549  0
> ipt_rpfilter           12546  0
> xt_statistic           12601  0
> xt_CT                  12868  18
> xt_LOG                 17521  8
> xt_time                12661  0
> xt_connlimit           12636  0
> xt_realm               12498  0
> xt_addrtype            12635  4
> ip_set_hash_ip         32055  2
> xt_comment             12504  18
> xt_recent              18542  0
> xt_policy              12582  20
> xt_nat                 12681  0
> ipt_ULOG               18245  0
> ipt_REJECT             12541  4
> ipt_MASQUERADE         12880  1
> ipt_ECN                12529  0
> ipt_CLUSTERIP          13508  0
> ipt_ah                 12806  0
> xt_set                 13099  2
> ip_set                 36382  2 ip_set_hash_ip,xt_set
> nf_nat_tftp            12489  0
> nf_nat_snmp_basic      17302  0
> nf_conntrack_snmp      12857  3 nf_nat_snmp_basic
> nf_nat_sip             17152  0
> nf_nat_pptp            13115  0
> nf_nat_proto_gre       13009  1 nf_nat_pptp
> nf_nat_irc             12643  0
> nf_nat_h323            17720  0
> nf_nat_ftp             12770  0
> nf_nat_amanda          12491  0
> ts_kmp                 12605  5
> nf_conntrack_amanda    13041  3 nf_nat_amanda
> nf_conntrack_sane      13143  2
> nf_conntrack_tftp      13121  3 nf_nat_tftp
> nf_conntrack_sip       29771  3 nf_nat_sip
> nf_conntrack_proto_udplite    13281  0
> nf_conntrack_proto_sctp    18822  0
> nf_conntrack_pptp      19245  3 nf_nat_pptp
> nf_conntrack_proto_gre    14434  1 nf_conntrack_pptp
> nf_conntrack_netlink    35735  0
> nf_conntrack_netbios_ns    12665  2
> nf_conntrack_broadcast    12589  2 nf_conntrack_netbios_ns,nf_conntrack_snmp
> nf_conntrack_irc       13518  3 nf_nat_irc
> nf_conntrack_h323      73845  1 nf_nat_h323
> nf_conntrack_ftp       18643  3 nf_nat_ftp
> xt_TPROXY              17327  0
> nf_defrag_ipv6         18261  1 xt_TPROXY
> nf_tproxy_core         12610  1 xt_TPROXY
> xt_tcpmss              12501  0
> xt_pkttype             12504  0
> xt_physdev             12587  0
> xt_owner               12534  0
> xt_NFQUEUE             12694  0
> xt_NFLOG               12537  0
> nfnetlink_log          17798  1 xt_NFLOG
> xt_multiport           12798  4
> xt_mark                12563  1
> xt_mac                 12492  0
> xt_limit               12711  0
> xt_length              12536  0
> xt_iprange             12783  0
> xt_helper              12583  0
> xt_hashlimit           17569  0
> xt_DSCP                12629  6
> xt_dscp                12597  0
> xt_dccp                12606  0
> xt_conntrack           12760  22
> xt_connmark            12755  0
> xt_CLASSIFY            12507  0
> xt_AUDIT               12678  0
> xt_tcpudp              12884  37
> xt_state               12578  0
> iptable_raw            12678  1
> iptable_nat            13011  1
> nf_nat_ipv4            13263  1 iptable_nat
> nf_nat                 26609  12
> nf_nat_ftp,nf_nat_irc,nf_nat_sip,nf_nat_amanda,ipt_MASQUERADE,nf_nat_proto_g
> re,nf_nat_h323,nf_nat_ipv4,nf_nat_pptp,nf_nat_tftp,xt_nat,iptable_nat
> nf_conntrack_ipv4      19108  41
> nf_defrag_ipv4         12729  2 xt_TPROXY,nf_conntrack_ipv4
> nf_conntrack           89265  35
> nf_nat_ftp,nf_nat_irc,nf_nat_sip,nf_nat_amanda,xt_CT,nf_nat_snmp_basic,nf_co
> nntrack_netbios_ns,nf_conntrack_proto_gre,xt_helper,ipt_MASQUERADE,nf_conntr
> ack_proto_udplite,nf_nat,xt_state,xt_connlimit,nf_nat_h323,nf_nat_ipv4,nf_na
> t_pptp,nf_nat_tftp,xt_conntrack,nf_conntrack_amanda,ipt_CLUSTERIP,nf_conntra
> ck_proto_sctp,nf_conntrack_netlink,nf_conntrack_broadcast,xt_connmark,nf_con
> ntrack_ftp,nf_conntrack_irc,nf_conntrack_sip,iptable_nat,nf_conntrack_h323,n
> f_conntrack_ipv4,nf_conntrack_pptp,nf_conntrack_sane,nf_conntrack_snmp,nf_co
> nntrack_tftp iptable_mangle         12695  1
> nfnetlink              14406  3 nfnetlink_log,ip_set,nf_conntrack_netlink
> nfsv3                  34351  1
> nfsv4                 133933  0
> nfs                   159928  3 nfsv3,nfsv4
> fscache                76446  2 nfs,nfsv4
> iptable_filter         12810  1
> ip_tables              27239  4
> iptable_filter,iptable_mangle,iptable_nat,iptable_raw
> x_tables               34059  50
> xt_physdev,xt_pkttype,xt_statistic,xt_DSCP,xt_dccp,xt_dscp,xt_iprange,xt_mar
> k,xt_time,xt_CT,xt_helper,xt_length,xt_comment,ipt_ULOG,xt_policy,xt_CHECKSU
> M,xt_recent,ip_tables,xt_tcpmss,xt_tcpudp,ipt_MASQUERADE,ipt_ah,xt_AUDIT,xt_
> NFQUEUE,xt_NFLOG,xt_limit,xt_owner,xt_realm,xt_state,ipt_rpfilter,xt_connlim
> it,xt_conntrack,xt_LOG,xt_mac,xt_nat,xt_set,ipt_IFWLOG,ipt_CLUSTERIP,xt_hash
> limit,xt_multiport,iptable_filter,xt_CLASSIFY,xt_TPROXY,xt_connmark,ipt_REJE
> CT,iptable_mangle,ipt_ECN,ipt_psd,xt_addrtype,iptable_raw af_packet         
>     35490  2
> cpufreq_ondemand       13943  2
> vboxnetadp             25670  0
> vboxnetflt             23479  1
> vboxdrv               320334  3 vboxnetadp,vboxnetflt
> fglrx                5201161  81
> acpi_cpufreq           19571  0
> mperf                  12667  1 acpi_cpufreq
> kvm_amd                59705  0
> kvm                   439981  1 kvm_amd
> eeepc_wmi              13151  0
> asus_wmi               24176  1 eeepc_wmi
> sparse_keymap          13890  1 asus_wmi
> rfkill                 26529  1 asus_wmi
> video                  19154  1 asus_wmi
> amd_iommu_v2           19097  1 fglrx
> i2c_piix4              22106  0
> evdev                  17757  7
> serio_raw              13375  0
> pci_hotplug            35159  1 asus_wmi
> i2c_core               40397  1 i2c_piix4
> k10temp                13126  0
> snd_hda_codec_realtek    78433  1
> r8169                  67644  0
> snd_hda_intel          43715  5
> ppdev                  17635  0
> snd_hda_codec         140237  2 snd_hda_codec_realtek,snd_hda_intel
> snd_hwdep              17698  1 snd_hda_codec
> snd_pcm               106107  2 snd_hda_codec,snd_hda_intel
> snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
> snd_timer              29370  1 snd_pcm
> snd                    83297  16
> snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_inte
> l mii                    13934  1 r8169
> soundcore              15047  1 snd
> processor              35779  3 acpi_cpufreq
> parport_pc             41361  0
> parport                46310  2 ppdev,parport_pc
> button                 13871  1 fglrx
> wmi                    19070  1 asus_wmi
> nfsd                  253076  13
> exportfs               13190  1 nfsd
> auth_rpcgss            40769  2 nfsd,nfsv4
> nfs_acl                12837  2 nfsd,nfsv3
> lockd                  77063  3 nfs,nfsd,nfsv3
> sunrpc                230753  34
> nfs,nfsd,auth_rpcgss,lockd,nfsv3,nfsv4,nfs_acl
> ipv6                  340129  83 bridge,nf_defrag_ipv6,xt_TPROXY
> autofs4                38674  2
> hid_generic            12540  0
> usbhid                 49119  0
> hid                   100762  2 hid_generic,usbhid
> ehci_pci               12905  0
> ehci_hcd               61221  1 ehci_pci
> ohci_hcd               37653  0
> usbcore               218676  4 ohci_hcd,ehci_hcd,ehci_pci,usbhid
> usb_common             12581  1 usbcore
> ata_piix               35038  0
> pata_atiixp            13271  0
> [root at ftgfw ftg]#


ok, i found out the issue... it seems that stage1 uses lst-detect and the 
usbtable.gz file. and that file only contains '_' ...

the function i modified had not only effect for the modules.dep/filenames when 
manually selecting, but also for the lst-detect tables when automatically 
probing...

i think the solution is to restore the patch, and put in another patch that 
when looking up in the table, it converts - to _ in the original table... not 
really a clean solution, but as long as we're using lst-detect, which seems to 
be a manually produced list... and it uses _ instead of - ...


More information about the Mageia-dev mailing list