Can anybody help please?
My RaspberryPi turned up this week. I ordered it along with 2 8GB SD cards and some other bits and pieces. I downloaded a couple of disc images but I have been unable to write them to the cards.
I have a multi-way adapter and when I plug that into the USB port either on the front or rear of my machine I can check the hardware config. That shows USB SD Reader as sdc.
But when I try to write the downloaded image to /dev/sdc I get an error message :- sd 4:0:0:0: Device offlined - not ready after error recovery That's followed by this :- gs[26282]: segfault at 0 ip 00007effdb5dc470 sp 00007fff76b3c3c0 error 4 in libgs.so.9.02[7effdb3c9000+5f2000]
I was curious about the SD cards. I thought at first that they might be faulty so I bunged them into my digital camera. I can format them there and the camera can quite easily write picture images to them both. I then thought I would take the 16GB card out of the camera and use that. But I get the same error messages so I don't think the cards themselves are faulty but perhaps it's the card reader.
So I've now ordered a 16GB card with a pre-installed Debian OS on it and another card reader so I should be able to get the Pi up and running.
Is there anybody in the Norwich/Wymondham area that would be prepared to have a go at writing a couple of images to these cards as a test? Or, once I get the Pi up and running, will I be able to write the images on that?
On Sun, Dec 02, 2012 at 12:33:21PM +0000, Chris Walker wrote:
Can anybody help please?
My RaspberryPi turned up this week. I ordered it along with 2 8GB SD cards and some other bits and pieces. I downloaded a couple of disc images but I have been unable to write them to the cards.
I have a multi-way adapter and when I plug that into the USB port either on the front or rear of my machine I can check the hardware config. That shows USB SD Reader as sdc.
But when I try to write the downloaded image to /dev/sdc I get an error message :- sd 4:0:0:0: Device offlined - not ready after error recovery That's followed by this :- gs[26282]: segfault at 0 ip 00007effdb5dc470 sp 00007fff76b3c3c0 error 4 in libgs.so.9.02[7effdb3c9000+5f2000]
What software are you using to write to the card?
On 02/12/12 12:58, Chris Green wrote:
On Sun, Dec 02, 2012 at 12:33:21PM +0000, Chris Walker wrote:
Can anybody help please?
My RaspberryPi turned up this week. I ordered it along with 2 8GB SD cards and some other bits and pieces. I downloaded a couple of disc images but I have been unable to write them to the cards.
I have a multi-way adapter and when I plug that into the USB port either on the front or rear of my machine I can check the hardware config. That shows USB SD Reader as sdc.
But when I try to write the downloaded image to /dev/sdc I get an error message :- sd 4:0:0:0: Device offlined - not ready after error recovery That's followed by this :- gs[26282]: segfault at 0 ip 00007effdb5dc470 sp 00007fff76b3c3c0 error 4 in libgs.so.9.02[7effdb3c9000+5f2000]
What software are you using to write to the card?
I'm trying to use the dd command.
But (there's always a 'but' ;-)), I have now googled the problem some more and found out that instead of relying on what the system is telling me, I should use the fdisk command. I did that, using 'fdisk -l' and it tells me that the card is /dev/sdg!
I'm unsure that what I'm being told there is true however as it tells me whatever card I put in, be it 8 or 16GB is 32GB. Despite that I thought I'd persevere.
I have now managed, I *think*, to write the images but when I hook up the Pi to my TV, I don't get anything on the display. Although I can see LEDs illuminated on the Pi itself, I don't get any output on the tv and nor do I see any LEDs illuminated on the keyboard.
My next thought was that if I've written the images correctly, I should now be able to read the cards, but I can't.
I'm not sure if the Pi will provide output on the composite connector as well as, or instead of the HDMI connector. I don't have an HDMI equipped tv so I'm having to rely on composite inputs. My next step is to check to see if the Pi should provide composite as well as HDMI output be default or if I would need to do something.
So it's off to google I go.
On Sun, Dec 02, 2012 at 02:05:36PM +0000, Chris Walker wrote:
On 02/12/12 12:58, Chris Green wrote:
On Sun, Dec 02, 2012 at 12:33:21PM +0000, Chris Walker wrote:
Can anybody help please?
My RaspberryPi turned up this week. I ordered it along with 2 8GB SD cards and some other bits and pieces. I downloaded a couple of disc images but I have been unable to write them to the cards.
I have a multi-way adapter and when I plug that into the USB port either on the front or rear of my machine I can check the hardware config. That shows USB SD Reader as sdc.
But when I try to write the downloaded image to /dev/sdc I get an error message :- sd 4:0:0:0: Device offlined - not ready after error recovery That's followed by this :- gs[26282]: segfault at 0 ip 00007effdb5dc470 sp 00007fff76b3c3c0 error 4 in libgs.so.9.02[7effdb3c9000+5f2000]
What software are you using to write to the card?
I'm trying to use the dd command.
Ah, yes I saw that there were descriptions of how to do it using dd but it's *much* simpler to use an application made for the job like unetbootin. This is what I used and it's pretty foolproof (and I'm the fool, sometimes).
But (there's always a 'but' ;-)), I have now googled the problem some more and found out that instead of relying on what the system is telling me, I should use the fdisk command. I did that, using 'fdisk -l' and it tells me that the card is /dev/sdg!
Yes, I think I used 'fdisk -l' to check. You need to be very certain as you don't want to go scribbling on disks without being *very* sure where you're writing!
I'm unsure that what I'm being told there is true however as it tells me whatever card I put in, be it 8 or 16GB is 32GB. Despite that I thought I'd persevere.
You tend to get the same device every time, unless you plug more than one in of course.
I have now managed, I *think*, to write the images but when I hook up the Pi to my TV, I don't get anything on the display. Although I can see LEDs illuminated on the Pi itself, I don't get any output on the tv and nor do I see any LEDs illuminated on the keyboard.
You should be able to see the files if you plug the SD card into your computer (where you wrote it). I've just plugged in one I created for my Raspberry Pi and the root partition has:-
chris$ cd 9DCF-4197 /media/9DCF-4197 chris$ ls -l total 16872 -rw-r--r-- 1 chris chris 17764 Nov 5 15:50 bootcode.bin -rw-r--r-- 1 chris chris 142 Sep 18 13:52 cmdline.txt -rw-r--r-- 1 chris chris 1184 Oct 12 15:16 config.txt -rw-r--r-- 1 chris chris 5282 Nov 5 15:50 fixup.dat -rw-r--r-- 1 chris chris 2020 Nov 5 15:50 fixup_cd.dat -rw-r--r-- 1 chris chris 137 Sep 18 14:40 issue.txt -rw-r--r-- 1 chris chris 2695192 Nov 5 15:50 kernel.img -rw-r--r-- 1 chris chris 2104952 Nov 5 15:50 kernel_cutdown.img -rw-r--r-- 1 chris chris 9522048 Nov 5 15:50 kernel_emergency.img -rw-r--r-- 1 chris chris 2347828 Nov 5 15:50 start.elf -rw-r--r-- 1 chris chris 523144 Nov 5 15:50 start_cd.elf
My next thought was that if I've written the images correctly, I should now be able to read the cards, but I can't.
Well you should, see above.
I'm not sure if the Pi will provide output on the composite connector as well as, or instead of the HDMI connector. I don't have an HDMI equipped tv so I'm having to rely on composite inputs. My next step is to check to see if the Pi should provide composite as well as HDMI output be default or if I would need to do something.
So it's off to google I go.
I can't help much there, I don't think I've got anything that can understand composite video any more! :-)
On 02/12/12 14:19, Chris Green wrote:
On Sun, Dec 02, 2012 at 02:05:36PM +0000, Chris Walker wrote:
Ah, yes I saw that there were descriptions of how to do it using dd but it's *much* simpler to use an application made for the job like unetbootin. This is what I used and it's pretty foolproof (and I'm the fool, sometimes).
But (there's always a 'but' ;-)), I have now googled the problem some more and found out that instead of relying on what the system is telling me, I should use the fdisk command. I did that, using 'fdisk -l' and it tells me that the card is /dev/sdg!
Yes, I think I used 'fdisk -l' to check. You need to be very certain as you don't want to go scribbling on disks without being *very* sure where you're writing!
Well, I still have the 2 main hard drives :-) But what I don't have is any USB drives. If I now run fdisk -l with the SD card in the adapter, I only see sda and sdb, there is no sdg anymore. So I'm guessing that I *didn't* manage to write the images successfully.
[snip]
So it's off to google I go.
I can't help much there, I don't think I've got anything that can understand composite video any more! :-)
Although I have already looked at HDTVs to replace my CRT device, I think it's bit overkill to rush out and spend the best part of a grand to get a display from a £25 piece of kit ;-)
My wife thinks so too :-)
I have a few other things to do this afternoon so I won't be spending much more time on it today, and as I've already had confirmation of despatch of the pre-written card I've ordered, I might well wait until that turns up and see what happens then.
Thanks for your help and ideas. Much appreciated.
On 2 December 2012 14:40, Chris Walker cdw_alug@the-walker-household.co.uk wrote:
Although I have already looked at HDTVs to replace my CRT device, I think it's bit overkill to rush out and spend the best part of a grand to get a display from a £25 piece of kit ;-)
A grand for a new TV? Where are you shopping? A quick search on Amazon shows 1080p LCD TVs available for £200. £300 should get you a nice one.
Tim.
On 02/12/12 14:19, Chris Green wrote:
Ah, yes I saw that there were descriptions of how to do it using dd but it's*much* simpler to use an application made for the job like unetbootin. This is what I used and it's pretty foolproof (and I'm the fool, sometimes).
I'd argue that dd is the *perfect* tool for the job and unetbootin isn't :)
dd was designed to take an image file and write it to a block device (or vice versa)
unetbootin was designed to prepare flash media to boot an X86 box from an image that was supposed to be burnt to CD/DVD. I am not even sure about how you would go about using unetbootin to prepare boot media for a RPi
On Sun, Dec 02, 2012 at 06:48:47PM +0000, Wayne Stallwood wrote:
On 02/12/12 14:19, Chris Green wrote:
Ah, yes I saw that there were descriptions of how to do it using dd but it's*much* simpler to use an application made for the job like unetbootin. This is what I used and it's pretty foolproof (and I'm the fool, sometimes).
I'd argue that dd is the *perfect* tool for the job and unetbootin isn't :)
dd was designed to take an image file and write it to a block device (or vice versa)
unetbootin was designed to prepare flash media to boot an X86 box from an image that was supposed to be burnt to CD/DVD. I am not even sure about how you would go about using unetbootin to prepare boot media for a RPi
You just follow the defaults and it does it! :-)
On Mon, Dec 03, 2012 at 08:53:15AM +0000, Wayne Stallwood wrote:
On 02/12/12 21:58, Chris Green wrote:
You just follow the defaults and it does it! :-)
Funny that, the same is true for dd :D
I suppose you could say that, the Raspberry Pi website says it's:-
dd bs=4M if=~/2012-10-28-wheezy-raspbian.img of=/dev/sdd
The only non-default being bs=4M.
I wouldn't use anything except SF to write that image.the pi image is a disc image, not a CD iso. On Dec 3, 2012 10:20 AM, "Chris Green" cl@isbd.net wrote:
On Mon, Dec 03, 2012 at 08:53:15AM +0000, Wayne Stallwood wrote:
On 02/12/12 21:58, Chris Green wrote:
You just follow the defaults and it does it! :-)
Funny that, the same is true for dd :D
I suppose you could say that, the Raspberry Pi website says it's:-
dd bs=4M if=~/2012-10-28-wheezy-raspbian.img of=/dev/sdd
The only non-default being bs=4M.
-- Chris Green
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!
Damn autocorrect. Use dd On Dec 8, 2012 12:29 AM, "Ben Bewick" viperfang@gmail.com wrote:
I wouldn't use anything except SF to write that image.the pi image is a disc image, not a CD iso. On Dec 3, 2012 10:20 AM, "Chris Green" cl@isbd.net wrote:
On Mon, Dec 03, 2012 at 08:53:15AM +0000, Wayne Stallwood wrote:
On 02/12/12 21:58, Chris Green wrote:
You just follow the defaults and it does it! :-)
Funny that, the same is true for dd :D
I suppose you could say that, the Raspberry Pi website says it's:-
dd bs=4M if=~/2012-10-28-wheezy-raspbian.img of=/dev/sdd
The only non-default being bs=4M.
-- Chris Green
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!
On Sun, Dec 02, 2012 at 12:33:21PM +0000, Chris Walker wrote:
I have a multi-way adapter and when I plug that into the USB port either on the front or rear of my machine I can check the hardware config. That shows USB SD Reader as sdc.
Hmmmn, after reading the rest of this thread, are you sure that it's showing the SD part as sdc? It's very likely that along with many devices of this type that sdc will turn up as maybe the compact flash slot, sdd will be the memory stick, sde will be xD etc. etc. obviously it depends on the specific device in use as to where each type of reader turns up.
Adam
On 02/12/12 17:21, Adam Bower wrote:
Hmmmn, after reading the rest of this thread, are you sure that it's showing the SD part as sdc? It's very likely that along with many devices of this type that sdc will turn up as maybe the compact flash slot, sdd will be the memory stick, sde will be xD etc. etc. obviously it depends on the specific device in use as to where each type of reader turns up.
dmesg after plugging in the reader and inserting the card should make it fairly clear what device the sd slot is on.
Another thing which can be a gotcha is that some of the really cheap and nasty (or just old) card readers don't support SDHC cards.
On 02/12/12 17:21, Adam Bower wrote:
On Sun, Dec 02, 2012 at 12:33:21PM +0000, Chris Walker wrote:
I have a multi-way adapter and when I plug that into the USB port either on the front or rear of my machine I can check the hardware config. That shows USB SD Reader as sdc.
Hmmmn, after reading the rest of this thread, are you sure that it's showing the SD part as sdc? It's very likely that along with many devices of this type that sdc will turn up as maybe the compact flash slot, sdd will be the memory stick, sde will be xD etc. etc. obviously it depends on the specific device in use as to where each type of reader turns up.
As you might have seen from later posts, it wasn't sdc in the end , it was sdg. If I look at the hardware list, sdg doesn't even appear. It stops at sdf. I only discovered it was sdg by running fdisk.
In reply to Wayne where he said :- dmesg after plugging in the reader and inserting the card should make it fairly clear what device the sd slot is on.
Sadly it doesn't for me. But that might be more a reflection of my abilities than anything else!
I'm still waiting for postie to deliver the replacement SD card with the image already on it before I want to play any more although I already had to fix a 32GB pen drive which I appear to have overwritten with Debian Wheezy which should have been destined for an 8GB SD card. D'oh!