LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2008, 04:53 AM   #1
xcraft
LQ Newbie
 
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
Question usb/sd root fs not recognized while booting!


I installed Slackware 12.1 to Transcend 4gb sd card on my eeepc but i got unexpected error messages. They were: " VFS: cannot open root device "801" or unknown block." and "Please append a correct "root=" boot option; hear are the available partitions ...". But in the available partitions list i couldn't find my sd card partition. Then i googled for the keywords and found that the problem was about the delay of recognition of my sd card. When lilo looks for the sd card it cant find it.

As far as i learned, the solution is actually sounds pretty simple. I should patch my kernel to sleep for about 10 seconds... In some forums i found some codes but they say it may be old or unsuitable for new kernels so i need some assistance. Hear are some codes which can help or guide you... If you could check out the code and tell me how to patch, i would greatly appreciate it.

Code:
/* begin jordi **************************** */
static DECLARE_WAIT_QUEUE_HEAD (jordi_queue);
printk ("\n\n\n---------------------------------\n");
printk (" WAITING FOR A WHILE (1000) \n");
printk (" TO DETECT THE USB DISK \n");
sleep_on_timeout (&jordi_queue, 1000);
printk ("---------------------------------\n\n\n");
/* end jordi **************************** */
 
Old 11-18-2008, 10:41 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,619

Rep: Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088
Don't do that - just add "rootdelay=10" to the bootloader. If that doesn't work, try 15, 20 ...
 
  


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
Need to get control of an usb bar code scanner recognized as a usb keyboard osvaldomarques Linux - Software 5 11-22-2008 11:15 PM
usb 2.0 not recognized in linux rh9 but usb 1.1 is rwbush Linux - Newbie 5 09-16-2008 12:02 AM
USB 2.0 PCI hub recognized as USB MartinEindhoven Linux - Hardware 2 06-13-2008 03:35 AM
root pw not recognized Red Knuckles SUSE / openSUSE 73 03-08-2006 02:10 PM
Booting into Single User on MDK 9 asks for root password instead of booting into root acadcworks Linux - General 6 01-10-2006 06:51 AM


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