|
Then let's hope it's not a horse fig
|
|
|
|
|
Hi All,
I am trying to get some hardware working for a test rig I am building. I needed to monitor some network traffic and take action (activate a bit of safety hardware) when it dropped/rejected a certain amount of data. Thinking it would be easier to use a Raspberry Pi rather than a laptop I sat down on Friday and created a Python (?) script that turned on an LED if it was good and a different one it was a bad packet, while counting the number of bad ones. If the number of bad packets exceeded a limit the hardware would be activated. However the memory card got corrupted. Now it will only boot to Kernel Panic, new memory card, same issue, use Pi straight out of box. Kernel panic, I seem to only be able to get a Kernel panic now. I have tested various points on the Pi for voltages, all seem correct what and if I borrow the card from another Pi it will boot on the Pi that has the Kernel panic. So I wonder if I copy that image from the card to my card will it boot?
|
|
|
|
|
glennPattonWork wrote: easier to use a Raspberry Pi
Huh? Why?
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
glennPattonWork wrote: if I copy that image from the card to my card will it boot? There's one way to find out.
|
|
|
|
|
Well tried that, no is the answer. It would appear that my cards are too small, borrowed a 32 GB SanDisk with image installed and the bug**r works. 15 GB won't work... (too smalll...? )
modified 28-Aug-18 6:45am.
|
|
|
|
|
8 GB should be still enough.
Maybe you got fake SD cards that does not have the "advertised" capacity or are of very low quality.
|
|
|
|
|
8 GB thats what I was thinking, Only one card could be fake, a 16 GB Kingston the rest I bought through Amazon all 16 GB, a mix of Kingston & Sandisk, Also I did buy a Sandisk from PC World. All no Worky! Using a 32 GB Sandisk at work device boots!
|
|
|
|
|
Why do you think you won't get fake cards from Amazon?
But with such a bunch of cards it is less likely that all are fakes.
If you want to check them you can use the H2testw utility available on many freeware sites. It is developed by the German computer magazine c't (German project site link: H2testw | heise Download[^] ).
|
|
|
|
|
Maybe you just got some bad cards, or maybe there's some cruft in a partition table or something. Try running a badblocks write test on them and see what it reports.
Getting cards through Amazon isn't saying much -- in my book, that almost ensures they are fakes.
|
|
|
|
|
glennPattonWork wrote: borrowed a 32 GB SanDisk with image installed and the bug**r works.
Along those lines, maybe it's actually the speed of the card? IIRC, there's two different kinds, and maybe depending on the clock speed of the rPi, it requires the faster version of the card?
Latest Article - A Concise Overview of Threads
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
And so an order from Amazon is made for RPi approved cards!
|
|
|
|
|
More than 16 gig for linux?
Where did you get the Pi image from, downloaded and built it yourself? If so use the build config UI to disable stuff you dont need. You should be able to get it to fit. Surely it cant be this big!
|
|
|
|
|
Didn't really have time to roll my image using Debian...
|
|
|
|
|
This Roc, fantastic bird! (7)
(An oldy, but goody!)
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Ostrich, anagram of this roc.
Andy B
|
|
|
|
|
You are up tomorrow!
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I had a feeling I might be
|
|
|
|
|
What a neck posting this
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
I thought it had legs.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: ..(7)
Sh*t, I missed answering for 7 letters.
Michael Martin
Australia
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible."
- Mr.Prakash One Fine Saturday. 24/04/2004
|
|
|
|
|
Same application mentioned below:
The app creates temporary folders, and for that, it needs admin priviledges according to Microsoft wisdom.
But I also wanted to do functionality where I could drag files from the Explorer and drop them on the application. And lo and behold: There's a bug in Visual Studio: The drop events are not fired[^] if the program is run as an admin.
No need to make programming and debugging simple. huh??? Say "Thank you Microsoft!"
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
|
Jochen Arndt wrote: This is the lounge but it looks like you really need some help. Thanks. All I really wanted was to let out some steam, but help is most certainly appreciated all the same!
Jochen Arndt wrote: That is not true when creating the folders in the right place. No, but my problem is that I cannot control where the temp folders are placed (it's also more appropriate to call them backup folders than temp folders actually) - They are created as subfolders in the location where the file opened by the user resides (well, it's really only me, but you never know in the future) - Thus it can be anywhere on the hard drives, removeable media and/or network.
Jochen Arndt wrote: It is not a VS bug. It is a Windows problem which came up when UAC Interesting link. I'll have a closer look at that!
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
Johnny J. wrote: hey are created as subfolders in the location where the file opened by the user resides (well, it's really only me, but you never know in the future)
Why not use %USER_TEMP%?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Not an option. I'm sorry, I started out explaining poorly. The folder where the files to be processed resides may contain a lot of files. To avoid confusion, the processed files should be moved to a subdirectory when processed. And as said, these folders can be anywhere on the computer or network. So you see, it's not REALLY a temp folder. My bad that I said that from the beginning. Anyway, the subfolder should be in the work folder, I cannot start moving it somewhere completely different. That way the files may be mixed up and/or the user cannot find them.
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|