LinuxQuestions.org
Review your favorite Linux distribution.
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 08-29-2012, 02:01 PM   #16
scrabble
LQ Newbie
 
Registered: Jul 2011
Posts: 14

Original Poster
Rep: Reputation: Disabled

ok, i guess I m on a good way to find the solution. the last du -hl command was typed in, when the flash drive hasn t been connected to the ts7260. now, that I connected it and booted the system again the /mnt folder is 1.8 GB big. so what I think is that the system launches all devices that are hooked up and starts the acquisition on its own. is this possible?

in the/root/SLG/LOG folder, that is part of the software is a file called syslog that contains:

......etc
Waiting for timing....... 0 SYSPAR read
Waiting for timing....... 0 SLG started with parameters: DIG_SA2 and CHA_SA2
Waiting for timing....... 0 Start memory ringbuffer OK
Waiting for timing....... 0 Start disk ringbuffer OK
Waiting for timing....... 0 Starting driver SADC24 Serial digitizer no. 0 OK
Waiting for timing....... 0 Start detection on channel: 0
Waiting for timing....... 0 Start detection on channel: 1
Waiting for timing....... 0 Start detection on channel: 2
Waiting for timing....... 0 Start detection OK
01/01/1998 00:00:39.000- 0 Start network detection OK
01/01/1998 00:00:39.000- 0 Start catalog OK
01/01/1998 00:00:39.000- 0 Start Manual Event ON OK
01/01/1998 00:00:39.000- 0 Start Manual Event OF OK
01/01/1998 00:22:35.000- 0 /mnt/cf/SLG/EVT//1998 does not exist. Create it !
01/01/1998 00:22:35.000- 0 /mnt/cf/SLG/EVT//1998/01 does not exist. Create it !
Waiting for timing...... ????????? Start server MUL_CLI_DPL OK
Waiting for timing...... ????????? Start server MUL_CLI_NET OK
Waiting for timing...... ????????? Start server MUL_CLI_EVT OK
Waiting for timing....... ********** Start SEISLOG **********
Waiting for timing...... ????????? Start server MUL_CLI_FIL OK
Waiting for timing....... 0 SYSPAR read
Waiting for timing....... 0 SLG started with parameters: DIG_SA2 and CHA_SA2
Waiting for timing....... 0 Start memory ringbuffer OK
Waiting for timing....... 0 Start disk ringbuffer OK
Waiting for timing....... 0 Starting driver SADC24 Serial digitizer no. 0 OK
Waiting for timing....... 0 Start detection on channel: 0
Waiting for timing....... 0 Start detection on channel: 1
Waiting for timing....... 0 Start detection on channel: 2
Waiting for timing....... 0 Start detection OK
01/01/1998 00:00:34.000- 0 Start network detection OK
01/01/1998 00:00:34.000- 0 Start catalog OK
01/01/1998 00:00:34.000- 0 Start Manual Event ON OK
01/01/1998 00:00:34.000- 0 Start Manual Event OF OK

how can I check if the usb drive mounts itself after every booting?
 
Old 08-29-2012, 02:40 PM   #17
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,734

Rep: Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920
Yes it is possible. You can look at the output of the mount command to see if the drive is mounted.
 
Old 08-29-2012, 04:20 PM   #18
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,734

Rep: Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920
Also, I've never tried to read ext2 using OSX so I can not provide help. Hopefully others will chime in.
 
Old 08-30-2012, 08:18 AM   #19
scrabble
LQ Newbie
 
Registered: Jul 2011
Posts: 14

Original Poster
Rep: Reputation: Disabled
Thanks a lot for your help! I appreciate it a lot!

One mor question: How can I have a look at the output of the mount command, if I don't mount the USB drive manually?

Cheers!
 
Old 08-30-2012, 08:34 AM   #20
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,734

Rep: Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920
The output of the mount command without any options will show all mounted filesystems independent of how they were actually mounted.
 
Old 09-01-2012, 09:54 AM   #21
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
In case you didn't already know, the TS-7260 is an ARM single board computer built by Technologics Systems. They have a fair bit of info on their web site, and also have a forum dedicated to their product line, which is fairly helpful and active.
From experience with others of their products, they tend to like the JFFS2 filesystem for storage on flash media. It is possible that the OEM that used this board also used that format on the USB drive. Most desktop oriented Linux's don't seem to have JFFS2 support by default, so you usually have to add it.
Quote:
I could figure out from the directory structure that the acquisition software is calles SEISLOG but I can't start it because the commands are not supported by the OS.
This sounds a bit suspicious. What do you mean by this? If the software runs, it must be possible to launch it somehow. If it gets launched automatically at boot time, there is some code that launches it, probably in /etc/init.d somewhere. What do you really mean by 'the commands are not supported by the OS'?

It is also possible, although rare, that the software does not use a filesystem on the media, but accesses the USB device directly. Ironically, I did this myself once on some software I wrote that read data from a seismology instrument, although the media was a floppy disk and the CPU was a few orders of magnitude weaker.

--- rod.

Last edited by theNbomr; 09-01-2012 at 10:00 AM.
 
Old 09-01-2012, 03:35 PM   #22
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,734

Rep: Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920
The output of the mount command in post 7 shows the flash drive being mounted as ext2. So we do not confuse the OP, the on board flash memory is JFFS2 and not the USB drive.
 
  


Reply

Tags
busybox, ssh, usb



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
trying to mount a usb device into different folders according to its usb port digodox Linux - Kernel 1 06-17-2010 09:41 AM
busybox mount iso: "mount could not find a spare loop device" error frenchn00b Linux - General 0 01-08-2010 02:37 AM
how can I mount this device: da0: <USB 2.0 Storage Device alkad_mzu *BSD 2 11-15-2003 06:15 PM
Mount hardware to specific location with specified device blixel Linux - Hardware 5 10-21-2003 04:21 PM

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

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