LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-30-2012, 11:58 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
mount: /dev/sda1 is not a valid block device.


Hi:

I can't mount my pendrive (aka memory stick). Device /dev/sda1 is in /dev/. In another Linux machine (Slack 12.0) I mount it as 'mount -t vfat /dev/sda1 /mnt/usb'. The message is

mount: /dev/sda1 is not a valid block device

I think mount is objecting the medium, but I do not understand why. The USB connector is mounted directly on the motherboard and the motherboard manual clearly states it has USB support.

Kernel 2.4.22, Slackware 9.1
 
Old 01-31-2012, 12:30 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Are you sure that it is sda1 on this machine? Run 'fdisk -l' to verify that.
 
Old 01-31-2012, 12:37 AM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by gnashley View Post
Are you sure that it is sda1 on this machine? Run 'fdisk -l' to verify that.
'fdisk-l' only sees my four hard disk partitions, after having plugged the stick in.
 
Old 01-31-2012, 12:47 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Does blkid output show the USB Flash Drive?
 
Old 01-31-2012, 12:48 AM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by stf92 View Post
'fdisk-l' only sees my four hard disk partitions, after having plugged the stick in.
The /dev/sda and /dev/sda* are for the HDD, not the USB Flash Drive.

Last edited by catkin; 01-31-2012 at 12:49 AM. Reason: sense
 
Old 01-31-2012, 12:57 AM   #6
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by catkin View Post
Does blkid output show the USB Flash Drive?
No. But there is this:
Code:
usbfs on /proc/bus/usb type usbfs (rw)
This is the output form mount in the 12.0 machine. mount, on the machine in question (9.1) does not show that line. Also, the boot messages do not say a word about USB!
 
Old 01-31-2012, 03:18 AM   #7
Ramurd
Member
 
Registered: Mar 2009
Location: Rotterdam, the Netherlands
Distribution: Slackwarelinux
Posts: 703

Rep: Reputation: 111Reputation: 111
key here is:
Quote:
Kernel 2.4.22, Slackware 9.1
Needs someone with historical knowledge, as this version of Slackware is rather old; Good chances there's no support for USB drives plug&play in that kernel. Iirc, 9.1 is from an age where USB was not too common yet; you may have to recompile your kernel to get the USB support you're looking for.
 
Old 01-31-2012, 03:42 AM   #8
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
According to the linked post and the rest of that thread it should be possible to use an USB stick with Slackware 9.1. I can not say if your hardware has any problematic components though. Is the computer you are using much newer than the distro? Might be a try worth to load the kernel module "usb-storage" first and see what happens, when you plug in the stick after that.
The posting: http://www.linuxquestions.org/questi...2/#post2462194
 
Old 01-31-2012, 04:08 AM   #9
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
Wonder if it maybe a udev problem, not having rules to create the block device for usb storage
 
Old 01-31-2012, 04:46 AM   #10
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by Ramurd View Post
key here is:


Needs someone with historical knowledge, as this version of Slackware is rather old; Good chances there's no support for USB drives plug&play in that kernel. Iirc, 9.1 is from an age where USB was not too common yet; you may have to recompile your kernel to get the USB support you're looking for.
Slack 9.1 was released in 2003, the problematic machine is from 1999. Remember is has two USB connectors mounted on the motherboard, plus the manual explicitly states there is USB support (1.1). I did this: I booted with the slack 9.1 no. 1 cdrom and could read, after the OS loaded the USB modules and saw the USB hub:
Code:
usb.c: USB device 2 (vend/prod 0x951/0x1603) is not claimed by any active driver.
No USB devices found. Unloading USB subsystem.
I went to PCCHIPS (the motherboard manufacturer) archives, but no USB drivers were listed there.

EDIT:
The controller is Silicon Integrated Systems, SiS7001 USB controller (rev 11). And the kernel is bare.i, and IDE kernel, using SCSI emulation.

Last edited by stf92; 01-31-2012 at 05:36 AM.
 
Old 01-31-2012, 05:36 AM   #11
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
One more thought: From what I remember with a machine that was about the same age, I had to explicitly enable USB in BIOS, unlike what you expect today.
 
Old 01-31-2012, 06:00 AM   #12
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thanks, titopoquito. I set
Plug and Play aware OS: No
USB function: Enabled
USB function for DOS: Enabled

No use. But do please tell me. Is this an SCSI device or nothing to do with SCSI/IDE?
 
Old 01-31-2012, 06:05 AM   #13
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
Sorry, I can't remember this. I started my Slackware experience with 9.1, but I had no USB stick at that time. Did you try loading the kernel module (usb-storage) manually and see if there is any change in dmesg output?
 
Old 01-31-2012, 06:12 AM   #14
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
I did. But the output was just the same. First all usb modules are loaded, the usb hub is seen, and then

usb.c: USB device 2 (vend/prod 0x951/0x1603) is not claimed by any active driver.
No USB devices found. Unloading USB subsystem.

What gets me confused is that one of the posters said he had no problem with USB and 9.1.
 
Old 01-31-2012, 06:41 AM   #15
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
That is a bit strange -you should have no problem using this thing.
Are you sure this:
(vend/prod 0x951/0x1603)
is referring to this device? It may be something from the hub, mouse, etc.

USB drives are treated as SCSI drives by linux. Can you post output from lsmod, and if you have it 'lsusb'?
 
  


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
mount: /dev/sda1 is not a valid block device?????help mojarron Slackware 13 03-21-2005 05:33 AM
/dev/sda1 not valid block device pcpinkerton Linux - Hardware 19 02-29-2004 07:48 AM
mount: /dev/sda1 is not a valid block device melody Linux - Hardware 1 09-14-2003 10:35 PM
/dev/sda1 is not a valid block device mschrijn Linux - Newbie 0 12-17-2001 01:14 PM
/dev/sda1 is not a valid block device adenardo Linux - General 6 10-17-2001 10:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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