Ubuntu :: Trace Any Embedded Device Using Blktrace?
Mar 21, 2011
I am using kernel 2.6.29 on my embedded device, and enabled config option Support for tracing block io actions after compiling kernel making its zImage (for porting to device) the folder block compiled all files of blktrace and created .o files.... After porting zImage to my embedded device when i try to run blktrace on it, it give me response "blktrace : not found" Any body have an idea? how to trace any embedded device using blktrace?
View 2 Replies
ADVERTISEMENT
Apr 18, 2011
I am to drop Linux onto an ARM9 NAS board to make it more useful than just a network attached storage device.
I know about U-Boot and I can install Debian Linux by booting the system via TFTP, and I can install Linux easily... if I have an internet connection.
My question is, how can I install Debian WITHOUT the use of an internet connection. I am looking into downloading the armel flavour of Debain and using that as a source, but I have no idea on how to install it onto an embedded system as it has no CD/DVD drive. It only has an ethernet port, 2 USB-2.0 ports and a serial UART port.
View 3 Replies
View Related
Dec 10, 2010
I want to make a bootable USB drive with a Embedded Linux Image. The Embedded Linux Configuration tool has given me the vmlinux(image) and the menu.lst. I have done the following Steps; # fdisk /dev/sdb Then I got some option I deleted the old partition and made new one and selected the primary partition. then formatted the partition in ext2.
# mkfs.ext2 /dev/sdb1
# mount /dev/sdb1 /mnt
# mkdir -p /mnt/boot/grub
# cp menu.lst /mnt/boot
# cp vmlinux /mnt/boot
# umount /mnt
[Code]...
View 1 Replies
View Related
Jan 21, 2011
I am developing a device that will run Linux as its operating system.The device is a small form factor X86 device with a flash drive exposed as a SATA-device. So it is not very dissimilar from any other PC running Linux.For several good reasons I am building my own "distribution", instead of using an existing one.What confuses me is how mount/umount of the root file system is handled.I boot my kernel with the commandline "root=/dev/sda1 rw" which works fine. But everytime I do poweroff or reboot Busybox complained about no /etc/fstab, so I decided to build one.Should I have an entry for my root file system? It seems like this is shadowed by the rootfs anyway. I.e. if I have the fstab entry "/dev/sda1 / ext2 1 1" mount still reports rootfs on / type rootfs (rw)/dev/root on / type ext2 (rw,relatime,errors=continue)My questions are:Do I need to worry? Will the drive be correctly unmounted by the kernel on poweroff/reboot?If I want to perform file system checking on boot, can I do that without resorting to an initrd?
View 1 Replies
View Related
Feb 1, 2010
I'm trying to get sound to work on an embedded board. The boot says ALSA is present and sound chip is present. So I try to open the device with:
The hardware manufacturer assures me the device is hw:0,0 so I set device to:
This gives me:
So I'm presuming the advice that I use hw:0,0 must be wrong? So I need to find a way of working out what the device id is. I've tried default, no effect, then tried the command asoundconf list, which returns an error. I'm using a min linux build on an embedded system (busybox) so is there a way to find my sound device.
View 2 Replies
View Related
May 13, 2011
I'm working on a project to have our company logo image display on the screen during bootup. Our platform is an embedded Linux device running on a custom configured linux kernel 2.6.38.2. Our development distro is Ubuntu 10.04. I am currently trying to get fbsplash to work on our device with no luck so far.
View 1 Replies
View Related
May 3, 2010
I want to turn an old (2004) compaq computer into a webserver using debian. 2.8ghz celeron, 756mb ram, 80gb IDE HD.I installed debian through the first DVD, without laptop and desktop environments, and did a guided partition.This is the second time this problem has occurred, at first i thought i would try re-installing, but no avail.
As soon as i turn the computer on, i get a grub loader screen with two options, Debian or single user debian. Both choices present same issue. Once i select either one, it seems to load then says "fatal: error inserting fan: no such device." Continues to load, and then "fatal: error inserting thermal, unknown symbol in module"Continues to load then "volume group ***** not found, volume group ***** not found" "enter pass phrase to unlock disk" I enter the pass phrase. "Successful" then a bunch of stuff loads and hangs at "end trace de8............" And it won't let me type anything or do anything except hit the power button.
View 4 Replies
View Related
Dec 19, 2010
My disk is divided as follows:
Code:
Disk /dev/sdb: 56.9 GB, 56908316672 bytes
255 heads, 63 sectors/track, 6918 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[code]...
I used blktrace to capture I/Os on sdb5 when I was trying to mount sdb5. This is a part of the output:
Code:
...
251,32 0 25 0.000919000 3529 A RM 18752478 + 8 <- (251,37) 4560
251,32 0 26 0.000919657 3529 Q RM 18752478 + 8 [mount]
251,32 0 27 0.000920810 3529 G RM 18752478 + 8 [mount]
[code]....
According to blktrace manual, such a number of 18752478 is known as a "starting block", followed by the size of request. If I understand correctly, sdb5 is in the range of blocks from 9373897 to 9373896+9373897-1=18747792. However, blktrace's output shows that a R request occurs on a block whose index is much larger than the range of the partition.
How should I understand correctly the value of 18752478?
View 1 Replies
View Related
Jan 1, 2010
I just did a fresh install of Kubuntu 9.10. The GUI regularly locks up. I can SSH to it from another machine everytime it locks up. Top shows Xorg consuming 99% cpu. I think downgrading the nvidia driver to 173 from 185 helped reduce the lockups. Before they seemed very random and very often. Now it seems to happen when copying a large amount of files over the network but I'm not entirely sure. It ran the electricsheep screensaver all day today with no problems and the RSS euphoria GL screensaver all day yesterday. If I copy 2GB of files from one local directory to another no problem, if I do it through cifs mounted samba shares it will lock up for sure. Small amounts seem ok. Apt-get install has had some lock ups too.
I don't really know how to trace what's going on beyond installing ssh and finding out that it's totally alive inside. I don't know what to look for in log files nor which ones to look at. I didn't recognize anything wrong in Xorg log. In the system log I look for the time gap between when it locked up and I shut down and when I rebooted but I didn't notice anything.
View 1 Replies
View Related
Dec 14, 2010
I installed NoScript and Allowed some pages. I clicked RESET and then uninstalled NoScript via the Firefox AdOns window. But when I "reinstall" it it still has sites from my previous browsing Allowed plus settings from my old install. How do I completely erase all its settings so that when I reinstall it it is like it is a fresh/brand new install? I used to be able to do this with CCleaner for Windows.
View 1 Replies
View Related
Apr 28, 2011
I'm using Firefox on 10.10. I haven't installed crazy stuff on my machine as far i can recall (i used the repositories, except for gtk+3) and i didn't go to any weird website either, same traffic as usual. The only weird thing was that my internet connection was abnormally slow this morning.
Today though some "http://www.browsersearch.org/" imposes itself on my browser even though my homepage is set to www.google.com. I can't figure how this happens nor how i can get rid of it.
Can anyone help me trace this?
View 3 Replies
View Related
Dec 2, 2010
I manage a dedicated webserver running OpenSuse 11 which is currently hosting about 30 sites. I have never had any big problems until these last 2-3 months. One site after the other was being hacked and the unwanted visitor installed all kind of php shell scripts followed by torrent servers, ... etc. All hacked sites were sites using Joomla, so what I did was to close down those sites one by one. Well, I guess we all know Joomla is not a great solution if you just install it out of the box like those users were doing.
When trying to trace the intruder only some african junk IPs and IPs from a company selling VPN connections thru paypal show up (yeah great, love those guys ... do they really think that serious VPN users will pay with paypal) I checked all apache and FTP logs (yes, he even managed to get some FTP login) but only those damn 'proxy' IPs come up. The weird thing is that the guy seems to know how the server was 'build' since he manages to copy stuff from one site to the other. That is why I am suspecting someone who worked for a clients company, but I need proof. One way would be to let him hack a site and try to feed him something that would make him traceable, but what?
View 9 Replies
View Related
Jan 20, 2010
I am using pidgin for google chat. Is it possible to know the IP of the person i am chatting with?
View 4 Replies
View Related
Mar 5, 2010
I need to trace/track email activity in my ubuntu server, normal i use this command tail -f /var/log/mail/mail.log, more or less. But the problem i am facing is that it take a long time to go through the entire log as my server recieves thousands of emails per day. is the a code that i can use to search email in the log, for instance need to find perfectpol@mycompany.com in the mail log.
Secondly; if there is an email that is blocking others on the queue how can it be remove or forced to go the mailbox. or to view its contents in order to decide whether to remove it or not.
Had a problem that are said not arrival or that are delivered as late as a day and sometime 6hours.
View 2 Replies
View Related
May 27, 2011
when I run a tcl script using ns-2.30 and get a result and run the sam script in ns-2.29 and get an error and run the script file in ns-2.33 and get a result but the output filr (out.tr) is less in size than the output file of ns-2.30 i and also in the details of time scale , for example one out.tr file contains 19000 line (2 M byte size) and the other out.tr file for the same tcl file using the ns-2.33 version contains 10000 lines (1. M byte size) . Does that make since ? also in result file nam file for ns-2.30 it has some drops but the ns-2.33 has no drops! when I run the name !!!. is the time scale for simulation tunable or can be aligned?
View 1 Replies
View Related
Oct 14, 2010
Is it possible to add support for POSIX Trace to my Ubuntu?
# getconf _POSIX_VERSION
200809
# getconf _POSIX_TRACE
undefined
View 2 Replies
View Related
Jan 11, 2010
How to trace the energy information from the trace file. also how to change the energy drain in faster manner.
View 2 Replies
View Related
Jan 9, 2010
When I log into Mint8 ,for example, the bottom bar (task bar) shows activity I did not start eg, keyboard amongst others. System logs are suspicious:
an 9 22:23:24 patti-desktop dhclient: DHCPACK of 192.168.0.100 from 192.168.0.1
Jan 9 22:23:24 patti-desktop dhclient: bound to 192.168.0.100 -- renewal in 40777 seconds.
Jan 9 22:23:24 patti-desktop NetworkManager: <info> DHCP: device eth0 state changed preinit -> bound
[code]....
'patti-desktop' is not the user I'm trying to login to but its was and still exist a group (ops). Also having difficulty using sudo but that might be my error. Is there a program I can use see what is going wrong correct it.
View 12 Replies
View Related
Jun 20, 2011
I am trying to turn Trace off on Apache/2.0.52. From one of the previous postings on this site it was stated that TraceEnable should be used for newer version of Apache (1.3.34+ or 2.0.22+). However, when I tried to use the man pages to get some information on how to use the command I got "No manual entry for TraceEnable". Can you tell me what version(s) of Apache supports this command?
View 8 Replies
View Related
Dec 30, 2008
I fear that an attack or an entry in my PC has occured, how to find the trace of the attacks.
View 3 Replies
View Related
Feb 14, 2010
Does Linux have a way to trace writes to a file?
For each write, I would like to know the time, date, process id, user, file position, byte count, and the data written.
I could use this with a script to replay the writes to a backup of the original file, and reproduce the file contents as they were at a point in time.
View 4 Replies
View Related
Jun 10, 2011
This is a trace-all the files so that you can imagine my trace file format.
Code:
+ 0.1 1 0 cbr 164 ------- 1 1.0 0.0 0 0
- 0.1 1 0 cbr 164 ------- 1 1.0 0.0 0 0
r 0.111312 1 0 cbr 164 ------- 1 1.0 0.0 0 0
[code]....
View 10 Replies
View Related
Sep 6, 2010
it is possible to trace ipaddress manually.Wondering whether a bash script could do the same without manual intervention. Kindly enlighten on this topic.
View 2 Replies
View Related
Mar 23, 2010
Slackware 12.2.0, 2.6.27.7,ibm thinkpad a21m, current patches, xfce 4.6 laptop runs continuously uptime 261 days once till power outage it was running, opened the lid, couldnt get any response from xfce, tried to ssh but couldnt, checked logs after reboot, couldnt see anything weird, message log set a mark a few minutes before i powered down and rebooted is there anything else i can check for possible lock up?
View 6 Replies
View Related
Sep 27, 2010
I have a mysql server which "goes down" every day at 9, because the debian-sys-maint user needs to run a table check, for no particular reason.
I assume it's a cron-job, but I can't find anything related to this. There's the mysqlautobackup script, but that runs at 4 in the morning, which is expected and perfectly acceptable.
View 1 Replies
View Related
Dec 5, 2014
The usual answer is debian's ldd(1) and I found broken things due to past lib abuses I previously hadn't understood I'd did - or rather hadn't realized because by looking it "looked ok and worked" - but i had problems. many i fixed.
After I ran a new script: it showed some i'd STILL missed after carefully re-doing /lib by hand (and using /var/lib/dpkg/info/libs.list)
I just made something that might be nice. seems to be the only thing that does it. but its' small and quick and has (tty/stdout) output still.
the had part isn't finding info, objdump(1) does that wonderfully : it's using it..
View 4 Replies
View Related
Jul 26, 2011
I'm trying to install Fedora as part of a tri-boot system on my desktop machine. This machine has been running Windows 7 since launch and now I've decided to free up some space on my primary HDD to test out both Gnome 3 (I've used Gnome 2.32 and earlier before and it wasn't for me) and KDE to see which of these desktops suit me better and whether they can effectively replace my Windows install. With Ubuntu going the way of Unity, I decided that Fedora was the choice for me.I proceeded to setup a Fedora live USB using UNetBootin and booted it up, and followed the install instructions, ensuring to set Windows as the default boot option as it is to remain my primary install. I set up my primary Fedora partition with 100000MB, my swap partition with 2410MB and a 1GB boot partition (leaving me with around another 100GB of unpartitioned space for a future KDE install). This, I hoped, would allow me to see the lovely GRUB splashscreen defaulted to Windows, and if I wanted to try out Fedora I could simply change the option by scrolling down, similar (but reversed) from my dual boot debian/vista laptop.
However, upon booting up the system I was greeted with only the standard boot I had previously had before the Fedora install, with no hint that any change had occurred. I have confirmed that the Fedora install does exist however via the Disk Management tool on Windows. Can someone please help me in getting a GRUB boot/splash screen so that I can boot the Linux partition if I want?
View 11 Replies
View Related
Aug 31, 2010
In a kde terminal, apt-get was installing gem when it asked me to restart the kmn daemon (i'm not sure about the "kmn"...) and i hit "yes" when the gui dissapeared and fell back to tty1. I waited a while and then restarted the system but kde didn't start automatically (it used to be so). I tried "startx" and "startkde" but they are unknown.
I don't know linux this deep so i don't know what to check or how to trace down this problem.
View 10 Replies
View Related
May 11, 2011
i have a usb pen (kingstone 8 gb) the sistem does not recognize it, maybe due to the fact i have not safely removed it the last time. i do fdisk -l but it does not appear in the list in /dev no trace of it.
View 3 Replies
View Related
Jul 28, 2010
Alright, I have a network trace file that I want to parse through.
The file looks like this:
+ 1.002 /NodeList/1/DeviceList/0/$ns3::PointToPointNetDevice/TxQueue/Enqueue ns3::PppHeader (Point-to-Point Protocol: IP (0x0021)) ns3::Ipv4Header (tos 0x0 ttl 62 id 0 protocol 6 offset 0 flags [none] length: 40 10.2.1.1 > 10.1.1.1) ns3::TcpHeader (49153 > 26 [ SYN ] Seq=0 Ack=0 Win=65535)
- 1.002 /NodeList/1/DeviceList/0/$ns3::PointToPointNetDevice/TxQueue/Dequeue ns3::PppHeader (Point-to-Point Protocol: IP (0x0021)) ns3::Ipv4Header (tos 0x0 ttl 62 id 0 protocol 6 offset 0 flags [none] length: 40 10.2.1.1 > 10.1.1.1) ns3::TcpHeader (49153 > 26 [ SYN ] Seq=0 Ack=0 Win=65535)
[Code]....
View 2 Replies
View Related