LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 09-25-2008, 02:33 AM   #1
dante_3dsmax
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Rep: Reputation: 0
Problem mounting a file System over an USB key disk !!!!


Hello every one,

I've got the experimental KwikByte board "KBAT9261" powered by ARM9.
My problem is when mounting the file system over my USB key Disk, here is the exact explanation :

-In the default configuration, the board loads the boot loader from SPI flash, copies the kernel (zImage) from SPI flash, and executes the zImage in RAM. The kernel expects to mount a file system on the compact flash card (/dev/hda1). This could be changed to initrd, initramfs, nfs, etc. from within the boot loader.

Because i do not have a CF card, i've changed the mounting point to (/dev/sda1) which refers to the USB disk. But here is the error message :

"Kernel Panic - not syncing: Not init found. Try passing init =option to kernel". ????

I have copied a sample file system into the USB Disk but no responding and the same message seems to be persistent.
 
Old 09-25-2008, 03:20 AM   #2
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
If you use an initrd, be sure that all the drivers you needs to mount your root fs are in it: for an USB mass storage device, you need at least the USB controller driver, the USB mass storage driver, and the FS driver... If you don't use an initrd, build them as static, not modules. Even if you use an initrd, build them as static, it's error prone.
Maybe you have to add the kernel "root=/dev/sda1" argument too.
 
Old 09-25-2008, 05:18 AM   #3
dante_3dsmax
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Original Poster
Rep: Reputation: 0
I'm not using initrd, and the USB controler driver is present inside the board.
In the bootloader command i use :

"root=/dev/sda1 rootdelay=10" as a mount point, an inside the USB key device i have implemented the files provided by KwikByte "basic_bat6_fs.tar.gz" which include a whole file system for ARM architectures.
 
Old 09-25-2008, 05:41 AM   #4
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
Quote:
USB controler driver is present inside the board.
I don't understand, a driver can be compiled as a module, so you'll find it in /lib/modules/$KERNEL_VERSION, and then you'll need an initrd which have this module. Or the driver can be compiled inside the kernel. But for me a board only contents electronic components...
More over, this driver is mandatory but not sufficient, as a point it in my last post...
 
Old 09-26-2008, 02:39 AM   #5
dante_3dsmax
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Original Poster
Rep: Reputation: 0
thank you for being reply on my problem. When i said that the driver is inside the board, it is only some way to explain things. Because when booting the bootloader detect the presence of an USB key and when the Kernel try to mount the file system on the USB key, here the problems start, and as i said before the problem of the kernel panic appears...
 
  


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
DSL on USB key file system behavior Synesthesia DamnSmallLinux 5 08-25-2006 10:15 PM
DSL on USB key file system behavior Synesthesia Linux - Software 1 08-13-2006 09:53 AM
USB Disk On Key encoding problem dotancohen Linux - Hardware 0 02-16-2006 11:01 AM
Read-only file system usb-disk pavodive Linux - Newbie 11 05-25-2005 10:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

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