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-23-2007, 09:29 AM   #1
crasslogic
Member
 
Registered: Nov 2006
Posts: 59

Rep: Reputation: 15
Thumb Drive; Kernel Recomp.


Greets all. I posted this question a few days back in the hardware section, but my reply was never answered so I thought i'd try the fellow slackers.

I recompiled my kernel (2.6.17.13), almost a half a dozen times, and got everything there and working except the ability to mount my thumb drives. I included Scsi Disk, Scsi Device Support, USB Filesystem support, FAT & NTFS support, and USB Storage support in the kernel config., yet still can't mount the drive. It gives me the "bad superblock or fs" error. I've tested my thumb drive on my mac to make sure it's fine, and it is. lsmod reports that the usb_storage module is loaded, fs support is compiled in, and lsusb shows the Sandisk Cruzer present. Any ideas??
 
Old 01-23-2007, 09:43 AM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
What do you mean by never answered? Last thing I read is that it worked.

Show us the output of "fdisk -l /dev/<device>", the precise mount command you issue and the message you get.
 
Old 01-23-2007, 10:12 AM   #3
crasslogic
Member
 
Registered: Nov 2006
Posts: 59

Original Poster
Rep: Reputation: 15
Oh hey. You were in that forum no? I apollogize "uselpa". You must've come back at a very brief moment in time. I had my laptop sitting here on the desk beside my monitor (my mac). I don't own a router so I was on LQ with the mac and working here at the desk. I recompiled the kernel yet again, because I noticed I was missing one of the SCSI options. I did it and when I first typed the mount command, it sat there doing nothing for a minute (like it was frozen briefly) then no output, just a blinking cursor. I thought it had worked and was excited about it, so I wanted to respond with my thanks and etc. A few minutes later, I went to access /mnt/thumb and it was empty. I tried to unmount, then re-mount and all was a failure
I hope you did not take offense friend, I would never speak like that.

Anyways, I'm on my mac now, so i'll have to type across what happens.

fdisk -l /dev/sda
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3936 1007600 e W95 FAT16 (LBA

The command I used:
mount -t vfat /dev/sda /mnt/thumb

mount: wrong fs type, bad option, bad superblock on /dev/sda,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Which I didn't see anything of use. Confusing no? FAT & NTFS support are compiled in, as well as all of the aformentioned SCSI options, USB Storage, Devices and etc. It's apparent between that fdisk and lsusb that the system can see what the device is and identify it, but can't mount it. By the by, I get the same output from using "auto" in the mount as well.

Thanks for your help
--Queue

Last edited by crasslogic; 01-23-2007 at 10:13 AM.
 
Old 01-23-2007, 10:20 AM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
mount -t vfat /dev/sda1 /mnt/thumb
 
Old 01-23-2007, 10:40 AM   #5
crasslogic
Member
 
Registered: Nov 2006
Posts: 59

Original Poster
Rep: Reputation: 15
Aye. Same thing, that full "wrong fs type" error.
 
Old 01-23-2007, 11:23 AM   #6
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Well there must be something wrong with your thumbdrive, because it works fine for me:
Code:
root@slackw:~$ fdisk -l /dev/sda

Disk /dev/sda: 1048 MB, 1048576000 bytes
33 heads, 61 sectors/track, 1017 cylinders
Units = cylinders of 2013 * 512 = 1030656 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        1017     1023580    e  W95 FAT16 (LBA)

root@slackw:~$ mount /dev/sda1 mountpoint/

root@slackw:~$ mount
/dev/hda1 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,devgid=10,devmode=0666)
/dev/hda3 on /mnt/win type vfat (rw,gid=100,umask=002)
tmpfs on /dev/shm type tmpfs (rw,size=144m)
/dev/sda1 on /root/mountpoint type vfat (rw)
As root, try the mount command without the -t option (as I did).
 
Old 01-23-2007, 11:28 AM   #7
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Oh yes- did you try dmesg|tail as suggested?
 
Old 01-23-2007, 04:25 PM   #8
crasslogic
Member
 
Registered: Nov 2006
Posts: 59

Original Poster
Rep: Reputation: 15
I did. It makes no sense that everything is there yet it doesn't work. I wonder if there's a module that isn't loading. It's ok, I tried the thumb drive again on the mac and on my Slax live CD and it mounts fine. I do believe i'm going to do a fresh install with the test26.s kernel, and recompile it just to include all of the ACPI options and leave it. It'll be a lot bigger than necessary but grand total kernel recompiles now is 17. I've read almost every "help" in the menuconfig to make sure I would need or not need something.

Oh well, thanks for your help. I'm just going to start over. I don't need the world's fastest bootup time afterall, i'd rather the system work
Take care.
--Queue
 
Old 01-24-2007, 12:57 AM   #9
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Quote:
Originally Posted by crasslogic
I did.
And what did it say?
 
Old 01-24-2007, 02:12 PM   #10
crasslogic
Member
 
Registered: Nov 2006
Posts: 59

Original Poster
Rep: Reputation: 15
Thanks for your attempts to help and concern. I got fed up with it and wiped the system, did a fresh install with the huge26.s kernel, then recompiled it and took out only the things I know 100% do not apply to my system, and anything even questionable, left in. My kernel may have a bit more than needed, but it's ok.

Everything works fine now, including the thumb drive. There was no reason for it not to work from what I could tell, but oh well. Sometimes perhaps starting from square one is the best solution. Take care.
 
  


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
Using a usb thumb drive or flash drive as a swap partition. stevenjoseph Linux - Hardware 8 01-16-2012 12:09 PM
Thumb Drive dudeman41465 Linux - Hardware 2 11-20-2005 01:02 AM
USB Thumb Drive WolfCub Linux - Hardware 18 03-01-2005 09:06 AM
thumb drive iarebob Slackware 5 02-01-2005 03:33 PM
Problems with new kernel (2.6.3) and USB thumb drive kenji1903 Linux - General 8 05-15-2004 01:20 AM

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

All times are GMT -5. The time now is 06:15 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
Open Source Consulting | Domain Registration