You are not logged in.

#1 2008-04-14 20:24:54

sparkybean
Member
Registered: 2008-01-14
Posts: 38

USB Storage

Ive been having a problem with USB storage devices, I just cant get arch to recognize them!

I have been testing with an ipod and a flash drive.

I know the problem is not with the devices, as they work on other Linux-run computers, and its not my mobo, since i can get power through.

I have tried a few lsusb's and dmesg's but, to be honest, i have no idea where to start.

hmm

Offline

#2 2008-04-14 21:04:01

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,920
Website

Re: USB Storage

well a little more info might help are you using Gnome KDE or something else .... if you plug device in does it show up in lsusb have you got hal dbus in rc.conf?


Mr Green I like Landuke!

Offline

#3 2008-04-14 21:29:40

sparkybean
Member
Registered: 2008-01-14
Posts: 38

Re: USB Storage

sorry for the lack of info big_smile

I have hal in the deamons array, but not dbus. lsusb shows nothing, if the device is plugged in or not.

Im running xfce4. Its weird, disks (cd's/dvd's ect) will mount and show on the desktop, while flash drives dont do anything.

Offline

#4 2008-04-14 23:14:25

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: USB Storage

(Sorry)

Have you tried mounting them manually? Something like (assuming a fat32 filesystem)

mount -t vfat /dev/**** /mnt/usb

You can find out what to put for "****" by comparing the output of 'ls /dev' before and a few seconds after plugging in the removable storage.

$ ls /dev > ls.dev.tmp
$ # plug in usb storage, wait a few seconds
$ ls /dev | diff ls.dev.tmp -

Offline

#5 2008-04-15 02:01:43

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: USB Storage

You may get help from examining gparted for devices scanned.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#6 2008-04-15 10:20:12

sparkybean
Member
Registered: 2008-01-14
Posts: 38

Re: USB Storage

Gparted found nothing (nice app though).

I tried your code peets, but nothing showed up. No new files get created in /dev when the drives get plugged in, so i think that arch cant detect the drives.

Im thinking about a re-install, but that seems too much like the windows way tbh. (reboot / reinstall)

Offline

#7 2008-04-15 11:58:32

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,920
Website

Re: USB Storage

emmm you got hal and dbus in rc.conf? what device are you plugging in ipod? .... reinstall! we will have none of that talk here lol


Mr Green I like Landuke!

Offline

#8 2008-04-15 13:28:03

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: USB Storage

You need to solve the "lsusb shows nothing" problem first, before you go looking at anything else. You say the devices work with other computers - do other usb devices work with your computer? Does dmesg show anything?

Offline

#9 2008-04-15 14:28:14

sparkybean
Member
Registered: 2008-01-14
Posts: 38

Re: USB Storage

I cant get ANY usb device detected. I have tried printers, cameras, ipods, all are known to be linux friendly.

I dont know what to look for in the dmesg output. Its here if anyone wants to try:

Linux version 2.6.24-ARCH (root@artin) (gcc version 4.3.0 (GCC) ) #1 SMP PREEMPT Sun Mar 30 11:40:06 CEST 2008
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001bff0000 (usable)
 BIOS-e820: 000000001bff0000 - 000000001bff3000 (ACPI NVS)
 BIOS-e820: 000000001bff3000 - 000000001c000000 (ACPI data)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
447MB LOWMEM available.
found SMP MP-table at 000f5a60
Entering add_active_range(0, 0, 114672) 0 entries of 256 used
Zone PFN ranges:
  DMA             0 ->     4096
  Normal       4096 ->   114672
  HighMem    114672 ->   114672
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0:        0 ->   114672
On node 0 totalpages: 114672
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 863 pages used for memmap
  Normal zone: 109713 pages, LIFO batch:31
  HighMem zone: 0 pages used for memmap
  Movable zone: 0 pages used for memmap
DMI 2.3 present.
ACPI: RSDP 000F79F0, 0014 (r0 KM400 )
ACPI: RSDT 1BFF3000, 002C (r1 KM400  AWRDACPI 42302E31 AWRD        0)
ACPI: FACP 1BFF3040, 0074 (r1 KM400  AWRDACPI 42302E31 AWRD        0)
ACPI: DSDT 1BFF30C0, 47F6 (r1 KM400  AWRDACPI     1000 MSFT  100000E)
ACPI: FACS 1BFF0000, 0040
ACPI: APIC 1BFF78C0, 005A (r1 KM400  AWRDACPI 42302E31 AWRD        0)
ACPI: PM-Timer IO Port: 0x4008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 6:8 APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 3, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 dfl dfl)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 20000000 (gap: 1c000000:e2c00000)
swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000f0000
swsusp: Registered nosave memory region: 00000000000f0000 - 0000000000100000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 113777
Kernel command line: root=/dev/sda3 ro
mapped APIC to ffffb000 (fee00000)
mapped IOAPIC to ffffa000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Detected 2158.026 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 448840k/458688k available (2589k kernel code, 9216k reserved, 845k data, 292k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xfff80000 - 0xfffff000   ( 508 kB)
    pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
    vmalloc : 0xdc800000 - 0xff7fe000   ( 559 MB)
    lowmem  : 0xc0000000 - 0xdbff0000   ( 447 MB)
      .init : 0xc0461000 - 0xc04aa000   ( 292 kB)
      .data : 0xc03876ea - 0xc045acdc   ( 845 kB)
      .text : 0xc0100000 - 0xc03876ea   (2589 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
SLUB: Genslabs=11, HWalign=32, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
Calibrating delay using timer specific routine.. 4320.93 BogoMIPS (lpj=7198293)
Security Framework initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0383fbff c1c3fbff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps: 0383fbff c1c3fbff 00000000 00000420 00000000 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 11k freed
Early unpacking initramfs... done
ACPI: Core revision 20070126
ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
CPU0: AMD Athlon(tm) XP 2700+ stepping 01
Total of 1 processors activated (4320.93 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
Brought up 1 CPUs
net_namespace: 64 bytes
Booting paravirtualized kernel on bare hardware
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfb9a0, last bus=1
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI quirk: region 4000-407f claimed by vt8235 PM
PCI quirk: region 5000-500f claimed by vt8235 SMB
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 6 7 10 *11 12)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 6 7 10 *11 12)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 6 7 *10 11 12)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 6 7 10 11 12) *5
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 6 7 10 11 12) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 6 7 10 11 12) *0, disabled.
ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 6 7 10 11 12) *0, disabled.
ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 6 7 10 11 12) *0, disabled.
ACPI: PCI Interrupt Link [ALKA] (IRQs 20) *0
ACPI: PCI Interrupt Link [ALKB] (IRQs 21) *0
ACPI: PCI Interrupt Link [ALKC] (IRQs 22) *0
ACPI: PCI Interrupt Link [ALKD] (IRQs 23) *0
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 14 devices
ACPI: ACPI bus type pnp unregistered
SCSI subsystem initialized
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
ACPI: RTC can wake from S4
Time: tsc clocksource has been installed.
system 00:00: iomem range 0xc9800-0xcbfff has been reserved
system 00:00: iomem range 0xf0000-0xf7fff could not be reserved
system 00:00: iomem range 0xf8000-0xfbfff could not be reserved
system 00:00: iomem range 0xfc000-0xfffff could not be reserved
system 00:00: iomem range 0x1bff0000-0x1bffffff could not be reserved
system 00:00: iomem range 0xffff0000-0xffffffff could not be reserved
system 00:00: iomem range 0x0-0x9ffff could not be reserved
system 00:00: iomem range 0x100000-0x1bfeffff could not be reserved
system 00:00: iomem range 0xfec00000-0xfec00fff could not be reserved
system 00:00: iomem range 0xfee00000-0xfee00fff could not be reserved
system 00:00: iomem range 0xfff80000-0xfffeffff has been reserved
system 00:02: ioport range 0x4000-0x407f has been reserved
system 00:02: ioport range 0x5000-0x500f has been reserved
system 00:03: ioport range 0x4d0-0x4d1 has been reserved
system 00:03: ioport range 0x294-0x297 has been reserved
PCI: Bridge: 0000:00:01.0
  IO window: disabled.
  MEM window: dc000000-ddffffff
  PREFETCH window: d8000000-dbffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 5, 196608 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 518k freed
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
apm: overridden by ACPI.
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: VIA PCI bridge detected. Disabling DAC.
Boot video device is 0000:01:00.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: module loaded
input: Macintosh mouse button emulation as /devices/virtual/input/input0
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
cpuidle: using governor ladder
cpuidle: using governor menu
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Using IPI No-Shortcut mode
Freeing unused kernel memory: 292k freed
Switched to high resolution mode on CPU 0
libata version 3.00 loaded.
pata_via 0000:00:11.1: version 0.3.3
ACPI: PCI Interrupt Link [ALKA] BIOS reported IRQ 0, using IRQ 20
ACPI: PCI Interrupt Link [ALKA] enabled at IRQ 20
ACPI: PCI Interrupt 0000:00:11.1[A] -> Link [ALKA] -> GSI 20 (level, low) -> IRQ 16
scsi0 : pata_via
scsi1 : pata_via
ata1: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xdc00 irq 14
ata2: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xdc08 irq 15
ata1.00: ATAPI: DVD-ROM BDV316C, VER .20R, max UDMA/33
ata1.01: ATA-5: ST310212A, 3.02, max UDMA/66
ata1.01: 20005650 sectors, multi 32: LBA 
ata1.00: configured for UDMA/33
ata1.01: configured for UDMA/66
scsi 0:0:0:0: CD-ROM            DVD-16X  DVD-ROM BDV316C  .20R PQ: 0 ANSI: 5
scsi 0:0:1:0: Direct-Access     ATA      ST310212A        3.02 PQ: 0 ANSI: 5
Driver 'sr' needs updating - please use bus_type methods
sr0: scsi3-mmc drive: 0x/1x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 0:0:0:0: Attached scsi CD-ROM sr0
Driver 'sd' needs updating - please use bus_type methods
sd 0:0:1:0: [sda] 20005650 512-byte hardware sectors (10243 MB)
sd 0:0:1:0: [sda] Write Protect is off
sd 0:0:1:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:1:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:1:0: [sda] 20005650 512-byte hardware sectors (10243 MB)
sd 0:0:1:0: [sda] Write Protect is off
sd 0:0:1:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:1:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 sda3 sda4
sd 0:0:1:0: [sda] Attached SCSI disk
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
rtc_cmos 00:05: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one year, y3k
input: Power Button (FF) as /devices/virtual/input/input2
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /devices/virtual/input/input3
ACPI: Power Button (CM) [PWRB]
input: Sleep Button (CM) as /devices/virtual/input/input4
ACPI: Sleep Button (CM) [SLPB]
ACPI: Fan [FAN] (on)
ACPI: Thermal Zone [THRM] (66 C)
sr 0:0:0:0: Attached scsi generic sg0 type 5
sd 0:0:1:0: Attached scsi generic sg1 type 0
Linux agpgart interface v0.102
agpgart: Detected VIA KM400/KM400A chipset
agpgart: AGP aperture is 128M @ 0xd0000000
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
ACPI: PCI Interrupt Link [ALKD] BIOS reported IRQ 0, using IRQ 23
ACPI: PCI Interrupt Link [ALKD] enabled at IRQ 23
ACPI: PCI Interrupt 0000:00:12.0[A] -> Link [ALKD] -> GSI 23 (level, low) -> IRQ 17
eth0: VIA Rhine II at 0x1e800, 00:0c:76:69:07:67, IRQ 17.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1.
input: PC Speaker as /devices/platform/pcspkr/input/input5
NET: Registered protocol family 23
PPP generic driver version 2.4.2
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
lp: driver loaded but no devices found
ppdev: user-space parallel port driver
input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input6
parport_pc 00:0b: reported by Plug and Play ACPI
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
lp0: using parport0 (interrupt-driven).
ACPI: PCI Interrupt Link [ALKC] BIOS reported IRQ 0, using IRQ 22
ACPI: PCI Interrupt Link [ALKC] enabled at IRQ 22
ACPI: PCI Interrupt 0000:00:11.5[C] -> Link [ALKC] -> GSI 22 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:11.5 to 64
EXT3 FS on sda3, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 136544k swap on /dev/sda2.  Priority:-1 extents:1 across:136544k
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
eth0: no IPv6 routers present

Last edited by sparkybean (2008-04-15 14:29:11)

Offline

#10 2008-04-15 15:15:29

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,920
Website

Re: USB Storage

emmm plug a device in then give output of   dmesg | tail    ....  what you got in rc.conf daemons?


Mr Green I like Landuke!

Offline

#11 2008-04-15 15:23:17

sparkybean
Member
Registered: 2008-01-14
Posts: 38

Re: USB Storage

lp0: using parport0 (interrupt-driven).
EXT3 FS on sda3, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 136544k swap on /dev/sda2.  Priority:-1 extents:1 across:136544k
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
eth0: no IPv6 routers present

^^ With an ipod connected.

Deamons: syslog-ng netfs crond hal network gdm

Offline

#12 2008-04-15 16:13:30

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: USB Storage

We're looking for dmesg output when you actually connect a device, not when a device is already connected.

If no USB devices are working, it sounds like a hardware problem.

Offline

#13 2008-04-15 23:12:00

sparkybean
Member
Registered: 2008-01-14
Posts: 38

Re: USB Storage

I think theres something on this mobo that arch dosnt like, the usb ports wont transmit data. Driver problems?

Offline

#14 2008-04-15 23:24:49

HyperBaton
Member
From: Belgium
Registered: 2008-01-18
Posts: 207

Re: USB Storage

Please do 'lsmod' and print your loaded modules here.

Offline

#15 2008-10-19 10:09:39

lamnk
Member
Registered: 2008-01-30
Posts: 65
Website

Re: USB Storage

Sorry for bumping this old thread, i had exactly the same problem as the thread starter: usb devices were not recognized, dmesg or lsusb didn't show anything.

It turned out that usb ports were disabled in BIOS :-) that's why even after connected, there is no power for the devices at all ...

Offline

Board footer

Powered by FluxBB