[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Probleme install cles USB 256Mo



Ou peut etre es tu dans un des cas decrit a:
http://www2.one-eyed-alien.net/~mdharm/linux-usb/target_offenses.txt 


Le Lundi 7 Juillet 2003 08:24, stephane ancelot a écrit :
> C'est justement la ou peut etre le probleme !
> Il est vivement deconseille de partager les interruptions car il peut etre
> probable qu'un des drivers partage mal les interruptions (essaye de
> devalider le reseau,puis le son  par exemple) et je pense que tu devrais
> arriver au resultat attendu !
>
>
> Tu peux essayer de forcer un remapping des IT en allant dans le bios et en
> forcant un rescan de tes periphs pci
>
> Le Vendredi 4 Juillet 2003 11:05, Badier Vincent a écrit :
> >  --- stephane ancelot <sancelot@free.fr> a écrit : >
> > Nous avons fait l'essai sur 2 postes differents avec
> >
> > > 2 clefs differentes mais
> > > pas de pb .
> > >
> > > Cependant, je pense  que le point de montage peut
> > > etre sda ou sdb en fonction
> > > de la config hard du port usb mais reste figee pour
> > > une machine donnee
> > >
> > > Une information importante est la version du noyau
> > > utilisee : pas de probleme
> > > apparent avec 2.4.20/2.4.21
> > >
> > > Une autre info importante est la version du
> > > protocole de la cle usb 2.0 /1.
> > >
> > > Le fait de valider USB introduit une nouvelle IRQ
> > > dans le systeme , peut etre
> > > qu'un conflit d'IRQ est apparent et donc un
> > > dysfonctionnement du periph usb .
> > > Verifier dans le noyau les parametres pour l'APIC
> > > egalement que je conseille
> > > de valider pour un partage correct des IT.
> > > Bye
> > > Steph
> >
> > Désolé pour le post précédent.
> >
> > Voici la conf APIC et les qq test effectués :
> >
> > mobile:/home/vb/src/linux-2.4.21# grep -i apic .config
> > CONFIG_X86_GOOD_APIC=y
> > CONFIG_X86_UP_APIC=y
> > # CONFIG_X86_UP_IOAPIC is not set
> > CONFIG_X86_LOCAL_APIC=y
> >
> > mobile:/home/vb/src/linux-2.4.21# irqtune -n -o
> > irqtune: simulating IRQ priority of 0/8
> > tblread: SYNTAX 'as Instruments PCI1225 (#2),
> > usb-uhci, eth0'
> > tblread: SYNTAX 'LOC:          0 '
> > tblread: SYNTAX 'ERR:          0'
> > I00/P00:     5679387          XT-PIC  timer
> > I01/P01:       10333          XT-PIC  keyboard
> > I02/P02:           0          XT-PIC  cascade
> > I11/P05:      725417          XT-PIC  ESS Maestro 2E,
> > Texas Instruments
> > PCI1225, Tex
> > I12/P06:       35228          XT-PIC  PS/2 Mouse
> > I14/P08:       58922          XT-PIC  ide0
> > irqtune: complete
> >
> > mobile:/home/vb/src/linux-2.4.21# irqtune -n -e
> > irqtune: version is 0.6
> > irqtune: kernel version 2.4.21
> > probe: irqtune must be invoked via the full path -- OK
> > probe: /sbin in $PATH -- YES
> > probe: insmod found in $PATH (/sbin) -- OK
> > probe: insmod simple execution -- OK
> > probe: insmod has version (2.4.15) -- YES
> > probe: rmmod found in insmod directory -- OK
> > probe: insmod version supports command line options --
> > OK
> > probe: insmod version (2.4.15) compatible with kernel
> > version (2.4.21) -- OK
> > probe: insmod version should be 2.1.34 (or better) --
> > OK
> > probe: insmod and kernel compatible with
> > CONFIG_MODVERSIONS -- OK
> > probe: irqtune_mod loading will be tried -- OK
> > probe: kernel version irqtune built under (1.0.0)
> > matches current system -- NO
> > probe: kernel IRQ handling is compatible -- OK
> > probe: kernel has module support (CONFIG_MODULES) --
> > OK
> > probe: kernel has symbols -- OK
> > probe: kernel is using versions (CONFIG_MODVERSIONS)
> > -- YES
> > probe: kernel symbols are checksummed
> > (CONFIG_MODVERSIONS) -- YES
> > probe: kernel has /proc/interrupts -- OK
> > irqtune: simulating IRQ priority of 3/14
> > tblread: SYNTAX 'as Instruments PCI1225 (#2),
> > usb-uhci, eth0'
> > tblread: SYNTAX 'LOC:          0 '
> > tblread: SYNTAX 'ERR:          0'
> > I00/P05:     5679897          XT-PIC  timer
> > I01/P06:       10343          XT-PIC  keyboard
> > I02/P07:           0          XT-PIC  cascade
> > I11/P12:      725417          XT-PIC  ESS Maestro 2E,
> > Texas Instruments
> > PCI1225, Tex
> > I12/P13:       35228          XT-PIC  PS/2 Mouse
> > I14/P07:       58922          XT-PIC  ide0
> > irqtune: complete
> >
> > mobile:/home/vb/src/linux-2.4.21# mount | grep sda
> > mobile:/home/vb/src/linux-2.4.21# mount /dev/sda1
> > mobile:/home/vb/src/linux-2.4.21# ls -al /mnt/usb/
> > total 8709
> > drwxr-xr-x    3 root     root        16384 Jan  1
> > 1970 .
> > drwxr-xr-x    4 root     root         1024 Jul  4
> > 10:25 ..
> > -rwxr-xr-x    1 root     root        24654 Jul  3
> > 17:44 .config
> > drwxr-xr-x    3 root     root         1024 Jul  2
> > 10:20 Windows
> > -rwxr-xr-x    1 root     root        10094 Jul  2
> > 08:47 hello_exploit.c
> > -rwxr-xr-x    1 root     root      8862944 Jul  2
> > 15:57
> > samba-3.0.0beta2.tar.gz
> >
> > mobile:/home/vb/src/linux-2.4.21# rm -f
> > /mnt/usb/samba-3.0.0beta2.tar.gz
> > mobile:/home/vb/src/linux-2.4.21# sync
> > mobile:/home/vb/src/linux-2.4.21# ls -al /mnt/usb/
> > total 53
> > drwxr-xr-x    3 root     root        16384 Jul  4
> > 10:35 .
> > drwxr-xr-x    4 root     root         1024 Jul  4
> > 10:25 ..
> > -rwxr-xr-x    1 root     root        24654 Jul  3
> > 17:44 .config
> > drwxr-xr-x    3 root     root         1024 Jul  2
> > 10:20 Windows
> > -rwxr-xr-x    1 root     root        10094 Jul  2
> > 08:47 hello_exploit.c
> >
> > mobile:/home/vb/src/linux-2.4.21# umount /dev/sda1;
> > mount /dev/sda1; ls -al
> > /mnt/usb/
> > total 8709
> > drwxr-xr-x    3 root     root        16384 Jan  1
> > 1970 .
> > drwxr-xr-x    4 root     root         1024 Jul  4
> > 10:25 ..
> > -rwxr-xr-x    1 root     root        24654 Jul  3
> > 17:44 .config
> > drwxr-xr-x    3 root     root         1024 Jul  2
> > 10:20 Windows
> > -rwxr-xr-x    1 root     root        10094 Jul  2
> > 08:47 hello_exploit.c
> > -rwxr-xr-x    1 root     root      8862944 Jul  2
> > 15:57
> > samba-3.0.0beta2.tar.gz
> >
> > mobile:/home/vb/src/linux-2.4.21#cat /proc/interrupts
> > CPU0
> > 0:    5719051          XT-PIC  timer
> > 1:      11307          XT-PIC  keyboard
> > 2:          0          XT-PIC  cascade
> > 11:     749209          XT-PIC  ESS Maestro 2E, Texas
> > Instruments PCI1225,
> > Texas Instruments PCI1225 (#2), usb-uhci, eth0
> > 12:      44474          XT-PIC  PS/2 Mouse
> > 14:      60036          XT-PIC  ide0
> > NMI:          0
> > LOC:          0
> > ERR:          0
> > mobile:/home/vb/src/linux-2.4.21#
> >
> > On vois bien l'irq 11 partagée entre le son, la NIC
> > l'usb, ect..
> >
> > Je ne vois toujours pas pourquoi un tel comportement
> > (fichier non présent dans un ls et présent à nouveau
> > après démontage/remontage).
> >
> > Vincent
> >
> > ___________________________________________________________
> > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> > Yahoo! Mail : http://fr.mail.yahoo.com



Reply to: