LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-23-2008, 08:24 AM   #1
sujata pulugurta
LQ Newbie
 
Registered: May 2008
Posts: 2

Rep: Reputation: 0
pendrive is not recognized by the linux system


Hello

Well iam pretty new to this linux...
Iam using turbolinux ...where it is unable to recognize my pendrive,
I have followed all the steps to mount my pendrive but i culdnt find solution to the problem
Actually whenever i give command
mount -t vfat /dev/sda8 /mnt/pendrive
it gives ...
mount: /dev/sda8 is not a valid block device
i tried with /dev/sda1...
The problem is iam unable to detect the correct device for my pendrive.

After inserting my pendrive and the giving the command..
fdisk -l it gives hda1 and hda2 but sda is not recognized

Then giving the command ..
dmesg
the following output is generated...
Linux version 2.6.0-test5_2 (go@kernel.turbolinux.co.jp) (gcc version 3.3.1) #1 Sun Sep 28 14:23:53 JST 2003
Video mode to be used for restore is f00
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 00000000077f0000 (usable)
BIOS-e820: 00000000077f0000 - 00000000077f3000 (ACPI NVS)
BIOS-e820: 00000000077f3000 - 0000000007800000 (ACPI data)
BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
119MB LOWMEM available.
On node 0 totalpages: 30704
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 26608 pages, LIFO batch:6
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
Building zonelist for node : 0
Kernel command line: root=0302
Initializing CPU#0
PID hash table entries: 512 (order 9: 4096 bytes)
Detected 2600.909 MHz processor.
Console: colour VGA+ 80x25
Memory: 118204k/122816k available (1594k kernel code, 4056k reserved, 581k data, 308k init, 0k highmem)
Calibrating delay loop... 5128.19 BogoMIPS
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: After all inits, caps: bfebfbff 00000000 00000000 00000080
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU#0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz stepping 09
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfba40, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20030916
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
ACPI: ACPI tables contain no PCI IRQ routing entries
PCI: Invalid ACPI-PCI IRQ routing table
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
Transparent bridge - 0000:00:1e.0
PCI: Using IRQ router PIIX [8086/24c0] at 0000:00:1f.0
PCI: IRQ 0 for device 0000:00:1f.1 doesn't match PIRQ mask - try pci=usepirqmask
PCI: Found IRQ 9 for device 0000:00:1f.1
PCI: Sharing IRQ 9 with 0000:00:1d.2
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
VFS: Disk quotas dquot_6.5.1
Initializing Cryptographic API
pty: 256 Unix98 ptys configured
Real Time Clock Driver v1.12
Serial: 8250/16550 driver $Revision: 1.90 $ IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Using anticipatory io scheduler
Floppy drive(s): fd0 is 2.88M AMI BIOS
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 0000:00:1f.1
PCI: Found IRQ 9 for device 0000:00:1f.1
PCI: Sharing IRQ 9 with 0000:00:1d.2
ICH4: chipset revision 2
ICH4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdcMA, hddio
hda: WDC WD400BB-00DKA0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: ASUS CD-S480/AH, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=4865/255/63, UDMA(100)
hda: hda1 hda2
mice: PS/2 mouse device common for all mice
input: PC Speaker
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET: Registered protocol family 1
NET: Registered protocol family 17
PM: Reading pmdisk image.
PM: Resume from disk failed.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 23k freed
VFS: Mounted root (ext2 filesystem).
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Trying to move old root to /initrd ... okay
Freeing unused kernel memory: 308k freed
Adding 128480k swap on /dev/hda1. Priority:-1 extents:1
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
PCI: Found IRQ 10 for device 0000:00:1d.0
PCI: Sharing IRQ 10 with 0000:00:02.0
uhci-hcd 0000:00:1d.0: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci-hcd 0000:00:1d.0: irq 10, io base 0000d800
uhci-hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
hub 1-0:0: USB hub found
hub 1-0:0: 2 ports detected
PCI: Found IRQ 11 for device 0000:00:1d.1
uhci-hcd 0000:00:1d.1: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci-hcd 0000:00:1d.1: irq 11, io base 0000d000
uhci-hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
hub 2-0:0: USB hub found
hub 2-0:0: 2 ports detected
PCI: Found IRQ 9 for device 0000:00:1d.2
PCI: Sharing IRQ 9 with 0000:00:1f.1
uhci-hcd 0000:00:1d.2: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci-hcd 0000:00:1d.2: irq 9, io base 0000d400
uhci-hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
hub 3-0:0: USB hub found
hub 3-0:0: 2 ports detected
PCI: Found IRQ 11 for device 0000:00:1d.7
PCI: Sharing IRQ 11 with 0000:01:0c.0
PCI: Sharing IRQ 11 with 0000:01:0d.0
ehci_hcd 0000:00:1d.7: EHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: irq 11, pci mem c8011000
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4
ehci_hcd 0000:00:1d.7: enabled 64bit PCI DMA
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-13
hub 4-0:0: USB hub found
hub 4-0:0: 6 ports detected
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
EXT3 FS on hda2, internal journal
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: ASUS Model: CD-S480/AH Rev: 0.85
Type: CD-ROM ANSI SCSI revision: 02
PCI: Found IRQ 3 for device 0000:01:0a.0
ttySHSF0 at I/O 0xc000 (irq = 3) is a Conexant HSF softmodem
8139too Fast Ethernet driver 0.9.26
PCI: Found IRQ 11 for device 0000:01:0c.0
PCI: Sharing IRQ 11 with 0000:00:1d.7
PCI: Sharing IRQ 11 with 0000:01:0d.0
eth0: RealTek RTL8139 at 0xc8048000, 00:0c:76:84:ad:0d, IRQ 11
eth0: Identified 8139 chip type 'RTL-8101'
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 845G Chipset.
agpgart: Maximum main memory to use for agp memory: 86M
agpgart: Detected 8060K stolen memory.
agpgart: AGP aperture is 128M @ 0xe0000000
PCI: Found IRQ 5 for device 0000:00:1f.5
PCI: Sharing IRQ 5 with 0000:00:1f.3
PCI: Setting latency timer of device 0000:00:1f.5 to 64
intel8x0: clocking to 48000
NET: Registered protocol family 10
Disabled Privacy Extensions on device c02e4400(lo)
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
hub 4-0:0: new USB device on port 5, assigned address 2






Iam unable to understand the problem..please help me to find solution to this problem


Thanks in advance
 
Old 05-23-2008, 10:28 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
lsusb - Will List USB devices connected to computer

Code:
mhepler@it-etch:~$ lsusb
Bus 002 Device 098: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Bus 002 Device 004: ID 0557:7000 ATEN International Co., Ltd
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 005: ID 413c:2003 Dell Computer Corp.
Bus 004 Device 002: ID 413c:2003 Dell Computer Corp.
Bus 004 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 006 Device 006: ID 090c:1000 Feiya Technology Corp. Memory Bar
Bus 006 Device 001: ID 0000:0000
What I would do to troubleshoot is the following..

Make sure the USB flash drive is NOT plugged into your machine

Open a command shell and type the following
tail -n 0 -f /var/log/messages

now plug in your USB flash drive

you should see some output similar to the following.

Code:
it-etch:~# tail -n 0 -f /var/log/messages
May 23 11:14:33 it-etch kernel: usb 6-8: new high speed USB device using ehci_hcd and address 6
May 23 11:14:33 it-etch kernel: usb 6-8: configuration #1 chosen from 1 choice
May 23 11:14:33 it-etch kernel: scsi6 : SCSI emulation for USB Mass Storage devices
May 23 11:14:38 it-etch kernel:   Vendor: USB 2.0   Model: Flash Disk        Rev: 1100
May 23 11:14:38 it-etch kernel:   Type:   Direct-Access                      ANSI SCSI revision: 00
May 23 11:14:38 it-etch kernel: SCSI device sdb: 3963904 512-byte hdwr sectors (2030 MB)
May 23 11:14:38 it-etch kernel: sdb: Write Protect is off
May 23 11:14:38 it-etch kernel: SCSI device sdb: 3963904 512-byte hdwr sectors (2030 MB)
May 23 11:14:38 it-etch kernel: sdb: Write Protect is off
May 23 11:14:38 it-etch kernel:  sdb: sdb1
May 23 11:14:38 it-etch kernel: sd 6:0:0:0: Attached scsi removable disk sdb
May 23 11:14:38 it-etch kernel: sd 6:0:0:0: Attached scsi generic sg1 type 0
as you can see above it detected my USB Flash drive as /dev/sdb

and I would mount it as /dev/sdb1


mkdir /media/usbflash
mount /dev/sdb1 /media/usbflash


if that works you can add an entry into your /etc/fstab file to allow regular users to mount the flash drive. something similar to the following
/dev/sda1 /media/usbflash auto users,noauto 0 0


if that doesn't work you may want to make sure the usb and usb-storage modules are loaded.
Code:
userer@it-etch:~$ lsmod | grep usb
usbhid                 37248  0
usb_storage            72000  1
scsi_mod              124168  5 sg,sd_mod,usb_storage,ahci,libata
ide_core              110504  5 ide_generic,ide_cd,usb_storage,generic,atiixp
usbcore               112644  5 usbhid,usb_storage,ehci_hcd,ohci_hcd

take a look and find out what you see. post the output back here if you are still having difficulties.
 
Old 05-24-2008, 11:31 AM   #3
sujata pulugurta
LQ Newbie
 
Registered: May 2008
Posts: 2

Original Poster
Rep: Reputation: 0
problem not solved

Thank you for your quick response

I tried step by step ..

First of all lsusb doesnot recognize by the system..

[root@localhost root]# lsusb
bash: lsusb: command not found

next step..

[root@localhost root]# tail -n 0 -f /var/log/messages
May 24 21:37:24 localhost kernel: hub 4-0:0: new USB device on port 5, assigned address 2

then ..

[root@localhost root]# lsmod | grep usb
usbcore 87900 4 ehci_hcd,uhci_hcd


By comparing your output to mine i think so some modules are missing..
please guide me how to install the missing modules...

Is the problem lies in missing modules? or there is some other problem.
 
  


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
system-config-language gives a result that is not recognized by locale -a. saurabh parli Linux - Newbie 0 08-30-2007 07:18 AM
How to install and configure grub on pendrive while os' are on the same pendrive? CeremCem DamnSmallLinux 0 11-07-2006 11:10 AM
Help: drive is no longer recognized after the system is up leisure Linux - Hardware 2 05-28-2005 05:53 AM
System does not recognized Install CDs Jurassic Ranger Mandriva 3 12-28-2004 02:55 PM
New CD-ROM not recognized by system Kujila Linux - Hardware 5 02-06-2004 03:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:46 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