LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 05-24-2006, 07:53 AM   #1
rangalo
Member
 
Registered: Jan 2005
Posts: 189

Rep: Reputation: 30
USB stick problem after compiling 2.6.16.18


Hi guys,

I compiled the latest 2.6.16.18 kernel with success.

I made it with make oldconfig and the only thing I changed manually was support for 4GB ram.

Now, I can see 2GB ram, but when I insert my usbstick I cannot mount it.

result of dmesg | tail says..

Code:
sdb: Mode Sense: 3e 00 00 00
sdb: assuming drive cache: write through
SCSI device sdb: 504320 2048-byte hdwr sectors (1033 MB)
sdb: Write Protect is off
sdb: Mode Sense: 3e 00 00 00
sdb: assuming drive cache: write through
 sdb: sdb1
sd 5:0:0:0: Attached scsi removable disk sdb
sd 5:0:0:0: Attached scsi generic sg1 type 0
usb-storage: device scan complete
but /dev/sdb1 does not exist !!

what should I do to be able to use it ?


thanks
Hardik
 
Old 05-24-2006, 08:06 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,189

Rep: Reputation: Disabled
I wonder... do you use UDEV perhaps? If so, did you also upgrade to a udev package that can be used with this bleeding edge kernel? For instance slackware-current which has this 2.6.16.18 kernel in the /testing tree comes with udev-071 which is the minimum required version of UDEV that can work with the latest kernels.
If you do not use UDEV (i.e. the file /etc/rc.d/rc.udev is not executable) then make sure that the device files /dev/sdb and /dev/sdb1 are created if missing.

Eric
 
Old 05-24-2006, 08:08 AM   #3
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
Hi

I had the same trouble when I updated to the 2.6.16-5 kernel. Check /etc/fstab and make sure there is a mount point for your usb drive. Then you can manually mount it as I was able to.

Hope this helps

Bob
 
Old 05-24-2006, 08:16 AM   #4
rangalo
Member
 
Registered: Jan 2005
Posts: 189

Original Poster
Rep: Reputation: 30
Hi,

the problem was /etc/rc.d/rc.udev was not executable. It was the correct version 071 but not executable.

I dont know how this was changed during kernel compilation, but now I changed it to executable and it is working.

thanks for the tip bob.

hardik
 
  


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
FC3 - usb stick automount after kernel compiling mightyMile Linux - Hardware 0 01-19-2006 02:07 PM
booting from USB stick problem bogdanpa Slackware 6 08-10-2005 02:24 PM
mount/umount usb stick - PQI Intelligent Stick 2.0 sandbag Linux - Software 5 05-06-2005 11:12 AM
USB Stick Problem ZooL Linux - Hardware 5 01-25-2005 04:53 AM
USB Memory Stick Problem... mac57 Mandriva 3 01-06-2005 09:48 AM


All times are GMT -5. The time now is 06:56 PM.

Main Menu
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