LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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-31-2012, 12:58 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,285

Rep: Reputation: 49
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, 01:30 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,775

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

Original Poster
Rep: Reputation: 49
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, 01:47 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,563
Blog Entries: 29

Rep: Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179
Does blkid output show the USB Flash Drive?
 
Old 01-31-2012, 01:48 AM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,563
Blog Entries: 29

Rep: Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179
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 01:49 AM. Reason: sense
 
Old 01-31-2012, 01:57 AM   #6
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,285

Original Poster
Rep: Reputation: 49
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, 04:18 AM   #7
Ramurd
Member
 
Registered: Mar 2009
Location: Rotterdam, the Netherlands
Distribution: Slackwarelinux
Posts: 555

Rep: Reputation: 75
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, 04:42 AM   #8
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,525

Rep: Reputation: 94
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, 05:08 AM   #9
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: KirraMail Live Email Server
Posts: 1,281

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

Original Poster
Rep: Reputation: 49
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 06:36 AM.
 
Old 01-31-2012, 06:36 AM   #11
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,525

Rep: Reputation: 94
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, 07:00 AM   #12
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,285

Original Poster
Rep: Reputation: 49
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, 07:05 AM   #13
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,525

Rep: Reputation: 94
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, 07:12 AM   #14
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,285

Original Poster
Rep: Reputation: 49
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, 07:41 AM   #15
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,775

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:33 AM
/dev/sda1 not valid block device pcpinkerton Linux - Hardware 19 02-29-2004 08:48 AM
mount: /dev/sda1 is not a valid block device melody Linux - Hardware 1 09-14-2003 11:35 PM
/dev/sda1 is not a valid block device mschrijn Linux - Newbie 0 12-17-2001 02:14 PM
/dev/sda1 is not a valid block device adenardo Linux - General 6 10-17-2001 11:07 PM


All times are GMT -5. The time now is 12:23 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration