USB Stick geht nicht

P

pospiech

Doppel-As
Verwende MDK 9.1. Das USB Sticks funktionieren habe ich schon festgestellt an einem Stick von einem Kollegen.
Jetzt habe ich mir selbst einen gekauft und muss feststellen, das Linux kein bischen tut. Ansonsten wurde es direkt über supermount gemountet.

Unter winXP tut er und meldet sich mit tinyUSB.

Matthias
 
könntest du mal deine dmesg ausgabe posten wenn du den USB Stick ansteckst ?
 
du brauchst das modul usb-storage, damit du den stick mounten kannst...
schau mal mit lsmod nach ob des modul existiert, wenn du den stick ansteckst. andenfalls solltest du die option im kernel anschalten.
 
Hier die Ausgabe von dmesg
Code:
Linux version 2.4.22-10mdk (nplanel@no.mandrakesoft.com) (gcc version 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)) #1 Thu Sep 18 12:30:58 CEST 2003
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
 BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
 BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
511MB LOWMEM available.
ACPI: have wakeup address 0xc0001000
On node 0 totalpages: 131056
zone(0): 4096 pages.
zone(1): 126960 pages.
zone(2): 0 pages.
ACPI: RSDP (v000 Nvidia                                    ) @ 0x000f73c0
ACPI: RSDT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1fff3000
ACPI: FADT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1fff3040
ACPI: MADT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1fff7700
ACPI: DSDT (v001 NVIDIA AWRDACPI 0x00001000 MSFT 0x0100000e) @ 0x00000000
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 Pentium(tm) Pro APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x00] polarity[0x1] trigger[0x1] lint[0x1])
Building zonelist for node : 0
Kernel command line: BOOT_IMAGE=linux ro root=305 devfs=mount acpi=ht resume=/dev/hda7
Found and enabled local APIC!
Initializing CPU#0
Detected 1797.307 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 3578.26 BogoMIPS
Memory: 514544k/524224k available (1508k kernel code, 9292k reserved, -1961k data, 156k init, 0k highmem, 0k BadRAM)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383fbff c1c3fbff 00000000 00000000
CPU:             Common caps: 0383fbff c1c3fbff 00000000 00000000
CPU: AMD Athlon(tm) XP 2200+ 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 1797.3053 MHz.
..... host bus clock speed is 266.2675 MHz.
cpu: 0, clocks: 2662675, slice: 1331337
CPU0<T0:2662672,T1:1331328,D:7,S:1331337,C:2662675>
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20030813
ACPI: Interpreter disabled.
PCI: PCI BIOS revision 2.10 entry at 0xfbbd0, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: ACPI tables contain no PCI IRQ routing entries
PCI: Probing PCI hardware (bus 00)
PCI: Discovered primary peer bus ff [IRQ]
PCI: Using IRQ router default [10de/01e0] at 00:00.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Starting kswapd
kinoded started
VFS: Disk quotas vdquot_6.5.1
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
pty: 1024 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE2: IDE controller at PCI slot 00:09.0
NFORCE2: chipset revision 162
NFORCE2: not 100% native mode: will probe irqs later
AMD_IDE: Bios didn't set cable bits corectly. Enabling workaround.
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
AMD_IDE: nVidia Corporation nForce2 IDE UDMA133 (rev a2) UDMA100 controller on pci00:09.0
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
hda: IC35L040AVER07-0, ATA DISK drive
hdb: Maxtor 32049H2, ATA DISK drive
blk: queue c0180d20, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c0180e5c, I/O limit 4095Mb (mask 0xffffffff)
hdc: SAMSUNG SV1203N, ATA DISK drive
hdd: TOSHIBA DVD-ROM SD-M1712, ATAPI CD/DVD-ROM drive
blk: queue c0181174, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 80418240 sectors (41174 MB) w/1916KiB Cache, CHS=5005/255/63, UDMA(100)
hdb: attached ide-disk driver.
hdb: host protected area => 1
hdb: 40021632 sectors (20491 MB) w/2048KiB Cache, CHS=2491/255/63, UDMA(100)
hdc: attached ide-disk driver.
hdc: host protected area => 1
hdc: 234493056 sectors (120060 MB) w/2048KiB Cache, CHS=14596/255/63, UDMA(33)
Partition check:
 /dev/ide/host0/bus0/target0/lun0: p1 p3 < p5 p6 p7 >
 /dev/ide/host0/bus0/target1/lun0: p1
 /dev/ide/host0/bus1/target0/lun0: p1 < p5 >
ide: late registration of driver.
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Resume Machine:   This is normal swap space
Swsusp 1.0.3: kswsuspd starting
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 402k freed
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
SCSI subsystem driver Revision: 1.00
sym.1.7.0: setting PCI_COMMAND_PARITY...
sym0: <815> rev 0x4 on pci bus 1 device 7 function 0 irq 11
sym0: No NVRAM, ID 7, Fast-10, SE, parity checking
sym0: SCSI BUS has been reset.
spurious 8259A interrupt: IRQ7.
scsi0 : sym-2.1.17a
blk: queue c15aa474, I/O limit 4095Mb (mask 0xffffffff)
  Vendor: PIONEER   Model: CD-ROM DR-U06S    Rev: 1.05
  Type:   CD-ROM                             ANSI SCSI revision: 02
blk: queue c15aa374, I/O limit 4095Mb (mask 0xffffffff)
  Vendor: GENERIC   Model: CRD-BP4           Rev: 4.28
  Type:   CD-ROM                             ANSI SCSI revision: 02
blk: queue c15aa574, I/O limit 4095Mb (mask 0xffffffff)
Journalled Block Device driver loaded
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Mounted devfs on /dev
Freeing unused kernel memory: 156k freed
Real Time Clock Driver v1.10e
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Setting latency timer of device 00:02.0 to 64
usb-ohci.c: USB OHCI at membase 0xe086e000, IRQ 5
usb-ohci.c: usb-00:02.0, nVidia Corporation nForce2 USB 1.1 OHCI Controller
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Setting latency timer of device 00:02.1 to 64
usb-ohci.c: USB OHCI at membase 0xe0870000, IRQ 10
usb-ohci.c: usb-00:02.1, nVidia Corporation nForce2 USB 1.1 OHCI Controller (#2)
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Setting latency timer of device 00:02.2 to 64
ehci_hcd 00:02.2: nVidia Corporation nForce2 USB 2.0 EHCI Controller
ehci_hcd 00:02.2: irq 11, pci mem e0878000
usb.c: new USB bus registered, assigned bus number 3
PCI: 00:02.2 PCI cache line size set incorrectly (0 bytes) by BIOS/FW.
PCI: 00:02.2 PCI cache line size corrected to 32.
ehci_hcd 00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-19/2.4
hub.c: USB hub found
hub.c: 6 ports detected
usbdevfs: remount parameter error
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,5), internal journal
Adding Swap: 730916k swap-space (priority -1)
MSDOS FS: Using codepage 850
MSDOS FS: IO charset iso8859-15
NTFS driver 2.1.4a [Flags: R/O MODULE].
NTFS volume version 3.1.
NTFS volume version 3.1.
via-rhine.c:v1.10-LK1.1.19  July-12-2003  Written by Donald Becker
  [url]http://www.scyld.com/network/via-rhine.html[/url]
eth0: VIA VT86C100A Rhine at 0xd400, 00:50:ba:bc:c5:80, IRQ 10.
eth0: MII PHY found at address 8, status 0x782d advertising 05e1 Link 45e1.
inserting floppy driver for 2.4.22-10mdk
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
hdd: attached ide-cdrom driver.
hdd: ATAPI 48X DVD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 1, lun 0
Attached scsi CD-ROM sr1 at scsi0, channel 0, id 2, lun 0
sym0:1: FAST-10 SCSI 10.0 MB/s ST (100.0 ns, offset 8)
sr0: scsi3-mmc drive: 32x/32x cd/rw xa/form2 cdda tray
sym0:2: FAST-10 SCSI 10.0 MB/s ST (100.0 ns, offset 8)
sr1: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
eth0: Setting full-duplex based on MII #8 link partner capability of 45e1.
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected NVIDIA nForce2 chipset
agpgart: AGP aperture is 64M @ 0xe0000000
[drm] AGP 0.99 Aperture @ 0xe0000000 64MB
[drm] Initialized mga 3.0.2 20010321 on minor 0
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
lp0: using parport0 (polling).
hub.c: new USB device 00:02.2-4, assigned address 2
usb.c: USB device not accepting new address=2 (error=-71)
hub.c: new USB device 00:02.2-4, assigned address 3
usb.c: USB device not accepting new address=3 (error=-71)

Nur diese Sachen sind per lsmod verfügbar
Code:
usb-ohci               21080   0  (unused)
usbcore                74988   1  [ehci-hcd usb-ohci]

Und wie gesagt es funktioniert mit anderen Sticks, mit diesem aber nicht.
Matthias
 
hmmm ... was sagt /var/log/messages beim einstecken des usb-sticks?
ein modprobe usb-storage könnt sicher auch ne schaden :]
 
messages sagt:
Code:
Mar 24 11:53:24 matthias kernel: hub.c: new USB device 00:02.2-4, assigned address 2
Mar 24 11:53:24 matthias kernel: usb.c: USB device not accepting new address=2 (error=-71)
Mar 24 11:53:24 matthias kernel: hub.c: new USB device 00:02.2-4, assigned address 3
Mar 24 11:53:24 matthias kernel: usb.c: USB device not accepting new address=3 (error=-71)


modprobe liefert in messages
Code:
Mar 24 13:40:34 matthias kernel: Initializing USB Mass Storage driver...
Mar 24 13:40:34 matthias kernel: usb.c: registered new driver usb-storage
Mar 24 13:40:34 matthias kernel: USB Mass Storage support registered.

in lsmod
Code:
usb-storage            91616   0  (unused)
ehci-hcd               19212   0  (unused)
usb-ohci               21080   0  (unused)
usbcore                74988   1  [usb-storage ehci-hcd usb-ohci]
sym53c8xx              67100   0
scsi_mod               93344   3  [usb-storage sr_mod sd_mod sym53c8xx]

und in dmesg
Code:
hub.c: new USB device 00:02.2-4, assigned address 2
usb.c: USB device not accepting new address=2 (error=-71)
hub.c: new USB device 00:02.2-4, assigned address 3
usb.c: USB device not accepting new address=3 (error=-71)
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.

Was sagt mir das jetzt ?

In fstab ist übrigens eingetragen:
Code:
none /mnt/removable supermount dev=/dev/sda1,fs=ext2:vfat,--,iocharset=iso8859-15,codepage=850,kudzu 0 0


Matthias
 
und ist evtl. /mnt/removable dein usb-stick?

sieht doch so aus als ob dein usb-stick als device /dev/sda1 dort gemountet wurde oder nicht?
 
ja klar, nur das dort nichts gemountet wird.

Wenn ich die fstab änderen:
Code:
/mnt/removable  dev=/dev/sda1,fs=ext2:vfat,--,iocharset=iso8859-15,codepage=850,kudzu 0 0

bekomme ich diese Fehlermeldung:
Code:
mount: Einhängepunkt dev=/dev/sda1,fs=ext2:vfat,--,iocharset=iso8859-15,codepage=850,kudzu existiert nicht
 
Zuletzt bearbeitet:
haha! - jetzt geht es und alles was ich gemacht habe war den Benutzer neu zu starten!

Jetzt habe ich allerdings keine Schreibrechte. Anscheint ist der TReiber - readonly ???

Hier die Angabe von mount
none on /mnt/removable type supermount (rw,dev=/dev/sda1,fs=ext2:vfat,--,iocharset=iso8859-15,codepage=850)

und die Rechte
drwxrwxr-x 2 pospiech pospiech 22016 Jan 1 1970 removable/
-rwxrwxr-x 1 pospiech pospiech 5 Mär 23 20:15 Neu Textdokument.txt*

Idee ?
Matthias
 
pospiech schrieb:
haha! - jetzt geht es und alles was ich gemacht habe war den Benutzer neu zu starten!
bitte was hast du?
du hast dich neu angemeldet oder?

pospiech schrieb:
Jetzt habe ich allerdings keine Schreibrechte. Anscheint ist der TReiber - readonly ???

Hier die Angabe von mount
none on /mnt/removable type supermount (rw,dev=/dev/sda1,fs=ext2:vfat,--,iocharset=iso8859-15,codepage=850)
rw,dev=/dev/sda1
RW = read & write ... also richtig gemountet.

pospiech schrieb:
und die Rechte
drwxrwxr-x 2 pospiech pospiech 22016 Jan 1 1970 removable/
-rwxrwxr-x 1 pospiech pospiech 5 Mär 23 20:15 Neu Textdokument.txt*

wie sieht es mit den rechten für /dev/sda1 aus?
der mount punkt ist nicht soo wichtig...
 
Rechte von /dev/sda1

lr-xr-xr-x 1 root root 34 Mär 24 21:51 sda1 -> scsi/host1/bus0/target0/lun0/part1

aber es haben sowieso alle Geräte nur root Rechte, beim mounten der Platten macht das ja auch keine Probleme
 
Ein chown liefert mir folgendes (Rechte werden immer wieder zurückgesetzt)

drwxr-xr-x 2 root nogroup 22016 Jan 1 1970 removable/

[matthias@matthias mnt]$ chown matthias:users removable/
chown: Ändern des Eigentümers von »removable/«: Read-only file system

???
 
pospiech schrieb:
Rechte von /dev/sda1

lr-xr-xr-x 1 root root 34 Mär 24 21:51 sda1 -> scsi/host1/bus0/target0/lun0/part1

aber es haben sowieso alle Geräte nur root Rechte, beim mounten der Platten macht das ja auch keine Probleme

aber man sieht das nur root SCHREIBRECHT auf das device hat. root darf immer schreiben und bedarf kein besodners chmod.
bei sda1 handelt es sich um ein sym-link ... wie sehen denn die rechte für scsi/host1/bus0/target0/lun0/part1 aus?

wenn du den stick als root mountest gehts ja oder?
hat dein usb-stick evtl nen. schreib-schutz-schakter?

ich bin mir ziemlich sicher das deine user-id keine schreibrechte auf scsi/host1/bus0/target0/lun0/part1 hat :]
 

Ähnliche Themen

LinuxDistribution: Bunsenlabs (Debian 8.2 mit Openbox)

USB Geräte per Bash Script resetten (Gerät hängt sich öfter mal auf)

Netbook: Linux - Installation mit USB-Stick

USB Festplatte-Mount ohne Vollzugriff

Kein zugriff auf USB-Speichermedien mehr möglich

Zurück
Oben