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

Re: Problème stockage USB avec Linux 2.6.4



Salut,

J'ai le meme probleme, on m'a conseillé d'aller jeté un oeil sur la doc de udev, je n'ai pas encore eu le temps de voir mais je suis assez septique et comprends pas en quoi udev va pouvoir m'aider.
Bref tiens moi au courant si t'arrives a qq chose.

Bye.

Aurel





dooble M wrote:

Bonjour à tous !
Je suis récemment passé d'un noyau 2.4.22 à un noyau 2.6.4... seul problème, je n'arrive plus à utiliser de périphériques de stockage USB (clés usb).
J'ai essayé avec plusieurs clés usb, rien à faire :

# mount -v /dev/sda1 /mnt/usb
mount: you didn't specify a filesystem type for /dev/sda1
I will try all types mentioned in /etc/filesystems or /proc/filesystems
Trying vfat
mount: /dev/sda1 is not a valid block device
#

et quand je redémarre avec l'ancien noyau (2.4.22), tout fonctionne correctement. J'ai pourtant gardé la même config pour l'usb en recompilant le noyau 2.6.4 :

Support for USB M
USB device filesystem Y
UHCI Y
USB printer support M
USB mass storage support M
USB human interface device support M
HID input layer support Y

Mon système usb est bien en UHCI comme le témoigne ce lspci :

00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev c4)
       Flags: bus master, medium devsel, latency 0
       Memory at d8000000 (32-bit, prefetchable) [size=64M]
       Capabilities: <available only to root>

00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP] (prog-if 00 [Normal decode])
       Flags: bus master, 66Mhz, medium devsel, latency 0
       Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
       Memory behind bridge: dc000000-ddffffff
       Prefetchable memory behind bridge: d0000000-d7ffffff
       Capabilities: <available only to root>

00:07.0 ISA bridge: VIA Technologies, Inc. VT82C596 ISA [Mobile South] (rev 23)
       Subsystem: VIA Technologies, Inc. VT82C596/A/B PCI to ISA Bridge
       Flags: bus master, stepping, medium devsel, latency 0

00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 10) (prog-if 8a [Master SecP PriP])
       Flags: bus master, medium devsel, latency 32
       I/O ports at e000 [size=16]
       Capabilities: <available only to root>

00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 11) (prog-if 00 [UHCI])
       Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
       Flags: bus master, medium devsel, latency 32, IRQ 10
       I/O ports at e400 [size=32]
       Capabilities: <available only to root>

00:07.3 Host bridge: VIA Technologies, Inc. VT82C596 Power Management (rev 30)
       Flags: medium devsel

00:10.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 74) Subsystem: 3Com Corporation 3C905C-TX Fast Etherlink for PC Management NIC
       Flags: bus master, medium devsel, latency 32, IRQ 11
       I/O ports at e800 [size=128]
       Memory at df000000 (32-bit, non-prefetchable) [size=128]
       Expansion ROM at <unassigned> [disabled] [size=128K]
       Capabilities: <available only to root>

00:12.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 02)
       Subsystem: Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128
       Flags: bus master, slow devsel, latency 32, IRQ 5
       I/O ports at ec00 [size=64]
       Capabilities: <available only to root>

01:00.0 VGA compatible controller: nVidia Corporation NV15 [GeForce2 GTS/Pro] (rev a4) (prog-if 00 [VGA])
       Subsystem: Micro-Star International Co., Ltd.: Unknown device 8820
       Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 11
       Memory at dc000000 (32-bit, non-prefetchable) [size=16M]
       Memory at d0000000 (32-bit, prefetchable) [size=128M]
       Expansion ROM at <unassigned> [disabled] [size=64K]
       Capabilities: <available only to root>

Le système de fichier USB est lui aussi bien monté :
$ cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc= 28/900 us ( 3%), #Int=  2, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.4-20040408famille uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:07.2
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0ea0 ProdID=2168 Rev= 2.00
S: Manufacturer=USB S: Product=Flash Disk S: SerialNumber=4424F71F3DB4AB24
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   2 Ivl=1ms

T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  3 Spd=12  MxCh= 3
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=04b3 ProdID=3006 Rev= 1.00
S:  Manufacturer=Silitek
S:  Product=IBM USB HUB KEYBOARD
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=255ms

T:  Bus=01 Lev=02 Prnt=03 Port=00 Cnt=01 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=04b3 ProdID=3005 Rev= 1.00
S:  Manufacturer=Silitek
S:  Product=IBM USB HUB KEYBOARD
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=hid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
$

Je vous fourni aussi le résultat de dmesg en pièce attachée.
Sur un deuxième PC à la maison, j'ai aussi recompilé le noyau 2.6.4 et j'ai encore le même problème.
Je ne comprend pas...
Si quelqu'un peu m'aider....

Merci d'avance...
Marc

------------------------------------------------------------------------

Linux version 2.6.4-20040408famille (root@famille) (version gcc 3.3.3 (Debian)) #2 Thu Apr 8 17:51:53 CEST 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
BIOS-e820: 000000000fff0000 - 000000000fff3000 (ACPI NVS)
BIOS-e820: 000000000fff3000 - 0000000010000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65520
 DMA zone: 4096 pages, LIFO batch:1
 Normal zone: 61424 pages, LIFO batch:14
 HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI disabled because your bios is from 2000 and too old
You can enable it with acpi=force
Built 1 zonelists
Kernel command line: auto BOOT_IMAGE=Linux ro root=306
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 666.415 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x34
Memory: 256564k/262080k available (1349k kernel code, 4780k reserved, 569k data, 116k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 1310.72 BogoMIPS
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU:     After generic identify, caps: 0383fbff 00000000 00000000 00000000
CPU:     After vendor identify, caps: 0383fbff 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU:     After all inits, caps: 0383fbff 00000000 00000000 00000040
CPU: Intel Pentium III (Coppermine) stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 666.0323 MHz.
..... host bus clock speed is 133.0264 MHz.
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfb290, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router VIA [1106/0596] at 0000:00:07.0
Initializing Cryptographic API
Activating ISA DMA hang workarounds.
PCI: Found IRQ 11 for device 0000:00:10.0
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
0000:00:10.0: 3Com PCI 3c905C Tornado at 0xe800. Vers LK1.1.19
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hda: ExcelStor Technology J680, ATA DISK drive
hdc: DVD-ROM BDV316C, ATAPI CD/DVD-ROM drive
hdd: LITE-ON LTR-48125S, ATAPI CD/DVD-ROM drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 160836480 sectors (82348 MB) w/1794KiB Cache, CHS=16383/255/63
hda: hda1 hda3 < hda5 hda6 hda7 hda8 hda9 >
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
input: PS/2 Generic Mouse on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET: Registered protocol family 1
NET: Registered protocol family 17
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 116k freed
Adding 417648k swap on /dev/hda5.  Priority:-1 extents:1
EXT3 FS on hda6, internal journal
PCI: Found IRQ 5 for device 0000:00:12.0
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
parport0: PC-style at 0x378 [PCSPP(,...)]
lp0: using parport0 (polling).
nvidia: module license 'NVIDIA' taints kernel.
0: nvidia: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-5336  Wed Jan 14 18:29:26 PST 2004
SCSI subsystem initialized
Initializing USB Mass Storage driver...
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda7, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
USB Universal Host Controller Interface driver v2.2
PCI: Found IRQ 10 for device 0000:00:07.2
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: irq 10, io base 0000e400
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usb 1-1: new full speed USB device using address 2
scsi0 : SCSI emulation for USB Mass Storage devices
 Vendor: STF       Model: Flash Drive 2.0   Rev: 2.00
 Type:   Direct-Access                      ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
usb 1-2: new full speed USB device using address 3
hub 1-2:1.0: USB hub found
hub 1-2:1.0: 3 ports detected
usb 1-2.1: new full speed USB device using address 4
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
drivers/usb/input/hid-core.c: ctrl urb status -2 received
drivers/usb/input/hid-core.c: timeout initializing reports

input: USB HID v1.10 Keyboard [Silitek IBM USB HUB KEYBOARD] on usb-0000:00:07.2-2.1
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
Linux agpgart interface v0.100 (c) Dave Jones
0: NVRM: AGPGART: unable to retrieve symbol table


--

Aurelien Ricard

aurel.ric[@]free[.]fr




Reply to: