LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-26-2006, 07:37 AM   #1
lord_cedrich
LQ Newbie
 
Registered: Sep 2006
Posts: 23

Rep: Reputation: 15
USB storage problem


I have my USB storage the size of it is 1 Gigabyte but when im use lsmod and dmesg ive got a wrong result, it seems i have only 8mb size of it but actually it was a 1Giga ...
How can i repair or to correct this errors ..?

Im using SUSE 10.1

check this out

Code:
Module                  Size  Used by
ipv6                  215808  12
fglrx                 396332  8
snd_pcm_oss            42752  0
snd_mixer_oss          16512  1 snd_pcm_oss
snd_seq_midi            8960  0
snd_seq_midi_event      6400  1 snd_seq_midi
snd_seq                47216  2 snd_seq_midi,snd_seq_midi_event
af_packet              19336  2
edd                     8516  0
button                  6672  0
battery                 9476  0
ac                      4996  0
sg                     31004  0
apparmor               47004  0
aamatch_pcre           13440  1 apparmor
nls_iso8859_1           4096  2
nls_cp437               5760  2
vfat                   11648  2
fat                    46620  1 vfat
nls_utf8                2048  1
ntfs                  190356  1
loop                   14728  0
dm_mod                 52584  0
usb_storage            70208  0
shpchp                 39488  0
pci_hotplug            24372  1 shpchp
snd_via82xx            25880  1
snd_mpu401_uart         6912  1 snd_via82xx
ehci_hcd               26760  0
i2c_viapro              7956  0
i2c_core               19728  1 i2c_viapro
snd_ens1371            22944  1
via_agp                 9472  1
gameport               13960  2 snd_via82xx,snd_ens1371
snd_rawmidi            23552  3 snd_seq_midi,snd_mpu401_uart,snd_ens1371
snd_seq_device          7948  3 snd_seq_midi,snd_seq,snd_rawmidi
agpgart                28976  2 fglrx,via_agp
snd_ac97_codec         82848  2 snd_via82xx,snd_ens1371
snd_ac97_bus            2176  1 snd_ac97_codec
snd_pcm                80136  4 snd_pcm_oss,snd_via82xx,snd_ens1371,snd_ac97_codec
snd_timer              20868  2 snd_seq,snd_pcm
snd                    51076  16 snd_pcm_oss,snd_mixer_oss,snd_seq_midi,snd_seq,snd_via82xx,snd_mpu401_uart,snd_ens1371,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer
soundcore               8672  1 snd
snd_page_alloc          9608  2 snd_via82xx,snd_pcm
via_rhine              20868  0
ide_cd                 35488  0
mii                     5120  1 via_rhine
cdrom                  32416  1 ide_cd
uhci_hcd               27280  0
usbcore               109700  4 usb_storage,ehci_hcd,uhci_hcd
parport_pc             34916  1
lp                     10948  0
parport                32200  2 parport_pc,lp
reiserfs              210944  3
fan                     4612  0
thermal                13448  0
processor              22592  1 thermal
via82cxxx               8196  0 [permanent]
sata_via                8196  0
libata                 65168  1 sata_via
sd_mod                 16144  0
scsi_mod              122120  4 sg,usb_storage,libata,sd_mod
ide_disk               15104  8
ide_core              116540  4 usb_storage,ide_cd,via82cxxx,ide_disk
in dmesg
Code:
  Vendor: ChipsBnk  Model: Flash Disk        Rev: 2.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 16384 512-byte hdwr sectors (8 MB)
sda: Write Protect is off
sda: Mode Sense: 0b 00 00 08
sda: assuming drive cache: write through
SCSI device sda: 16384 512-byte hdwr sectors (8 MB)
sda: Write Protect is off
sda: Mode Sense: 0b 00 00 08
sda: assuming drive cache: write through
 sda: unknown partition table
sd 3:0:0:0: Attached scsi removable disk sda
usb-storage: device scan complete
sd 3:0:0:0: Attached scsi generic sg0 type 0
Adding 1108444k swap on /dev/hda9.  Priority:-1 extents:1 across:1108444k
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ACPI: Sleep Button (CM) [SLPB]
BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
NET: Registered protocol family 17
audit(1159272655.175:3): audit_backlog_limit=256 old=64 by auid=4294967295
IA-32 Microcode Update Driver: v1.14 <tigran@veritas.com>
IA-32 Microcode Update Driver v1.14 unregistered
powernow: This module only works with AMD K7 CPUs
fglrx: module not supported by Novell, setting U taint flag.
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 555 MBytes.
[fglrx] module loaded - fglrx 8.28.8 [Aug 17 2006] on minor 0
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 209
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
[fglrx:drm_parse_option] *ERROR* "agplock" is not a valid option
[fglrx] Maximum main memory to use for locked dma buffers: 555 MBytes.
[fglrx] AGP detected, AgpState   = 0x1f000a0b (hardware caps of chipset)
agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
[fglrx] AGP enabled,  AgpCommand = 0x1f000302 (selected caps)
[fglrx] total      GART = 67108864
[fglrx] free       GART = 51113984
[fglrx] max single GART = 51113984
[fglrx] total      LFB  = 128970752
[fglrx] free       LFB  = 122679296
[fglrx] max single LFB  = 122679296
[fglrx] total      Inv  = 134217728
[fglrx] free       Inv  = 134217728
[fglrx] max single Inv  = 134217728
[fglrx] total      TIM  = 0
bootsplash: status on console 0 changed to on
eth0: no IPv6 routers present
usb 2-2: USB disconnect, address 3
usb 5-4: new high speed USB device using ehci_hcd and address 3
usb 5-4: new device found, idVendor=0420, idProduct=1307
usb 5-4: new device strings: Mfr=0, Product=0, SerialNumber=0
usb 5-4: configuration #1 chosen from 1 choice
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
  Vendor: ChipsBnk  Model: Flash Disk        Rev: 2.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 16384 512-byte hdwr sectors (8 MB)
sda: Write Protect is off
sda: Mode Sense: 0b 00 00 08
sda: assuming drive cache: write through
SCSI device sda: 16384 512-byte hdwr sectors (8 MB)
sda: Write Protect is off
sda: Mode Sense: 0b 00 00 08
sda: assuming drive cache: write through
 sda: unknown partition table
sd 4:0:0:0: Attached scsi removable disk sda
sd 4:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
 
Old 09-26-2006, 07:47 AM   #2
rbh123
LQ Newbie
 
Registered: May 2005
Distribution: Redhat
Posts: 25

Rep: Reputation: 15
I assume the device is a USB-pen drive.
What does the "fdisk -l" output display ?
 
Old 09-26-2006, 07:51 AM   #3
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
Is it formatted which filesystem?
I just checked my 512MB pen and it shows 525MB.
It is FAT32 formatted.
 
Old 09-26-2006, 05:58 PM   #4
lord_cedrich
LQ Newbie
 
Registered: Sep 2006
Posts: 23

Original Poster
Rep: Reputation: 15
fidsk -l i got this message and im wondering why it has only 8mb since my usb storage is 1g how can i fix it ?
Quote:
Disk /dev/hda: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1217 9775521 7 HPFS/NTFS
/dev/hda2 1218 4866 29310592+ f W95 Ext'd (LBA)
/dev/hda5 1218 2434 9775521 b W95 FAT32
/dev/hda6 3652 4866 9759456 b W95 FAT32
/dev/hda7 2435 2449 120456 83 Linux
/dev/hda8 2450 2611 1301233+ 83 Linux
/dev/hda9 2612 2749 1108453+ 82 Linux swap / Solaris
/dev/hda10 2750 3651 7245283+ 83 Linux

Partition table entries are not in disk order

Disk /dev/sda: 8 MB, 8388608 bytes
1 heads, 16 sectors/track, 1024 cylinders
Units = cylinders of 16 * 512 = 8192 bytes
 
Old 09-27-2006, 01:24 AM   #5
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
lord_cedrich how is it formatted?
 
Old 09-27-2006, 06:19 PM   #6
lord_cedrich
LQ Newbie
 
Registered: Sep 2006
Posts: 23

Original Poster
Rep: Reputation: 15
I dont know how it is formatted, i didnt see in my linux box the info of the USB storage
 
Old 09-28-2006, 12:53 AM   #7
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
If you don't loose any files then format it with
Code:
mkfs.vfat -f 32 /dev/sda
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Usb storage mounting problem jormahuuskonen SUSE / openSUSE 2 08-01-2006 09:01 AM
USB storage drive problem realnerd *BSD 16 10-27-2005 04:31 PM
USB Mass Storage problem Cybers19 Linux - Hardware 6 11-24-2004 08:26 PM
USB Mass Storage Problem spells Fedora 7 09-01-2004 03:33 PM
USB-storage problem chaujy Linux - Hardware 3 04-17-2003 07:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration