LinuxQuestions.org
Review your favorite Linux distribution.
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 10-02-2004, 03:09 PM   #1
hkxx9
Member
 
Registered: Sep 2004
Location: Smoky Mtns
Distribution: Slackware 10
Posts: 64

Rep: Reputation: 15
USB blues with new 2.6.8.1 kernel


Hey all

Compiled the new 2.6.8.1 kernel. Video is OK, sound is OK. Seems a little
sluggish but I found some clues to that this morning.

My big issue right now is accessing my USB thumbdrive. Under the old kernel
I was mounting sda1. Now I don't have sda1 under /dev and there doesn't seem
to be anything to replace it. During boot up I see that the drive is detected and
using scsi emulation. I selected scsi and usb support when configuring the
kernel. Have I left something out or is there a different method of access with
2.6.8.1

cheers
 
Old 10-02-2004, 03:38 PM   #2
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: Slackware 14.2-stable, Ubuntu 16.04 LTS
Posts: 401

Rep: Reputation: 30
Did you make sure you also compiled USB mass storage driver into your kernel (or as a module) as well?
 
Old 10-02-2004, 09:15 PM   #3
hkxx9
Member
 
Registered: Sep 2004
Location: Smoky Mtns
Distribution: Slackware 10
Posts: 64

Original Poster
Rep: Reputation: 15
Yes, usb_storage was compiled as a module. That's why I
am confused at this point. Everything seems GO. Help!
 
Old 10-04-2004, 03:11 AM   #4
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Rep: Reputation: 30
I had a similar problem. I was also mounting my usb drive at /dev/sda1. I tried

cat /dev/sda1

and was told it didn't exist. I then tried

cat /dev/sda and it was there. So I edited my fstab, left the original usb entry as it was and added another which pointed to /dev/sda. Now the new mount point didn't work but the original did. /dev/sda1 had suddently appeared. I have no idea why this happened. I don't know if this helps.
 
Old 10-04-2004, 08:04 AM   #5
hkxx9
Member
 
Registered: Sep 2004
Location: Smoky Mtns
Distribution: Slackware 10
Posts: 64

Original Poster
Rep: Reputation: 15
No not really. This is it in a nutshell. After booting to kernel 2.6.8.1.
I no longer have sda1 or any sdax device listed under /dev. As far
as USB goes, my jumpdrive is detected all USB and SCSI support
appears to be in order. There just doesn't seem to be a device
to mount it to.

cheers
 
Old 10-04-2004, 08:46 AM   #6
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Are you using udev ? Hotplug enabled ? When you boot, all your modules are loaded ? (if not, try add /sbin/modprobe <module> in /etc/rc.d/rc.modules)
 
Old 10-04-2004, 11:05 AM   #7
hkxx9
Member
 
Registered: Sep 2004
Location: Smoky Mtns
Distribution: Slackware 10
Posts: 64

Original Poster
Rep: Reputation: 15
As far as I can tell all the USB, usbcore, usb_storage, uhci/ehci (?) and SCSI appear
under lsmod. Lsusb shows the jump drive in the port. I'm not familiar with udev yet.
What does that do?
 
Old 10-04-2004, 11:18 AM   #8
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
udev create on the fly the /dev devices files based on infos provided with /sys directory, it works with hotplug too. There is a startup script (/etc/rc.d/rc.udev), to be enabled, it needs to be executable (chmod +x)
 
Old 10-04-2004, 06:03 PM   #9
hkxx9
Member
 
Registered: Sep 2004
Location: Smoky Mtns
Distribution: Slackware 10
Posts: 64

Original Poster
Rep: Reputation: 15
OK!

Fixed the problem. Recompiled the kernel without SCSI EMULATION .
Used only Generic SCSI support and SCSI Disk support .
The devices SDA and SDA1 have reappeared
in the /dev folder and I was able to mount the USB drive.
 
  


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
mounting usb storage devices blues patitoconejita Linux - Hardware 7 03-29-2005 07:24 AM
kernel compile blues timsch75 Slackware 38 02-08-2005 06:08 AM
USB HD blues nulltransfer Linux - Hardware 3 11-14-2003 02:53 AM
USB blues. rkane Linux - Newbie 2 05-19-2003 09:16 AM
post 2.4.19 kernel compile blues hopinator Linux - Software 5 09-20-2002 04:42 AM

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

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