nuschii
Posts: 7
Joined: Sat Aug 12, 2017 10:25 am

Looking for Debian Squeeze (6.0) image

Sat Aug 12, 2017 10:38 am

Hello there,

please don't ask me why, but I am in need of an old (I mean OLD) version of Debian for the Raspberry Pi.

Google doesn't help very much on that topic, but I've found out that originally - before Raspbian was born, there might have been a Debian 6.0 armel image fitted for the Raspberry Pi.

I don't ask for much ;)
- don't need hard float suppport.
- don't need any GUI or fancy VideoCore support.
- should work on a Raspberry Pi 1 Model B
- should still use kernel 2.6

Any ideas where one could find old images? Alternatively, instruction on how to install Debian 6.0 armel on the Raspi?

Thanks in advance,

nuschii

Heater
Posts: 13298
Joined: Tue Jul 17, 2012 3:02 pm

Re: Looking for Debian Squeeze (6.0) image

Sat Aug 12, 2017 3:36 pm

Got to ask. Why do you need such an old Debian version?

Martin Frezman
Posts: 1020
Joined: Mon Oct 31, 2016 10:05 am

Re: Looking for Debian Squeeze (6.0) image

Sat Aug 12, 2017 3:54 pm

Heater wrote:
Sat Aug 12, 2017 3:36 pm
Got to ask. Why do you need such an old Debian version?
please don't ask me why
If this post appears in the wrong forums category, my apologies.

Heater
Posts: 13298
Joined: Tue Jul 17, 2012 3:02 pm

Re: Looking for Debian Squeeze (6.0) image

Sat Aug 12, 2017 6:07 pm

Yeah, I saw that.

Still gotta ask though. I'm curious.

nuschii
Posts: 7
Joined: Sat Aug 12, 2017 10:25 am

Re: Looking for Debian Squeeze (6.0) image

Mon Aug 14, 2017 8:16 am

OK, since you ask: :mrgreen:

Long story short, we have here (at work) a pretty odd case of USB device madness. There is this (kind-of-embedded) older device, which uses a Compact Flash card for file storage. According to the manual, when you connect the USB B-Port of this device to an USB host, the CF card should show up there as a removable disk drive.

Problem is: it doesn't. On Raspbian Jessie, dmesg shows that it has been plugged in, usb-storage correctly identifies it as a removable disk, it shows the CF card size correctly, it even manages to get the partitions right. BUT: Commands like "mount" or "blkid", totally hang. They seem to do nothing. Ctrl-C doesn't kill them, even a "kill -s KILL" does not kill them. They only return to bash once I unplug the device. Also, even a "dd if=/dev/sda bs=512 count=1" doesn't work. And there is nothing, I mean NOTHING in dmesg/syslog until I unplug the damn thing.

Now here's the interesting part: This is not a Raspberry Pi nor a Raspbian Jessie problem. It didn't work on other Hardware with Debian Stretch or Jessie either, it didn't even work on Windows! I tried older hardware, also tried older software and voilà: It DOES work on one system: I can mount the partition, browse and read files - on a Celeron 650 (USB 1.1 only) with Debian Squeeze. Using Debian Stretch on the same machine: *puff* again, nothing works.

So being left with the epiphany that Squeeze seem to work with the device and Jessie/Stretch don't, I wanted to try the same thing using the Raspberry Pi and Debian Squeeze on it.

That's my story. ;)

User avatar
bensimmo
Posts: 4175
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: Looking for Debian Squeeze (6.0) image

Mon Aug 14, 2017 8:31 am

Forgive me for not actually knowing but is this what you are after ?
In the images or archive areas
http://downloads.raspberrypi.org/raspbian/

hommar
Posts: 172
Joined: Sat Mar 25, 2017 1:55 pm
Location: Russia, Yekaterinburg

Re: Looking for Debian Squeeze (6.0) image

Mon Aug 14, 2017 8:44 am

I think your CF-card reader do not work

nuschii
Posts: 7
Joined: Sat Aug 12, 2017 10:25 am

Re: Looking for Debian Squeeze (6.0) image

Mon Aug 14, 2017 8:51 am

hommar wrote:
Mon Aug 14, 2017 8:44 am
I think your CF-card reader do not work
It works for the embedded device and it works on Debian Squeeze. I can't tinker with the CF card reader in the embedded device, that's the manufacturer's job.
bensimmo wrote: Forgive me for not actually knowing but is this what you are after ?
In the images or archive areas
http://downloads.raspberrypi.org/raspbian/
Thanks, I've seen this. The archive doesn't go back to Debian Squeeze; the first Raspbian release was already based on Debian Wheezy afaik.

fruitoftheloom
Posts: 20692
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Looking for Debian Squeeze (6.0) image

Mon Aug 14, 2017 10:09 am

nuschii wrote:
Mon Aug 14, 2017 8:51 am
hommar wrote:
Mon Aug 14, 2017 8:44 am
I think your CF-card reader do not work
It works for the embedded device and it works on Debian Squeeze. I can't tinker with the CF card reader in the embedded device, that's the manufacturer's job.
bensimmo wrote: Forgive me for not actually knowing but is this what you are after ?
In the images or archive areas
http://downloads.raspberrypi.org/raspbian/
Thanks, I've seen this. The archive doesn't go back to Debian Squeeze; the first Raspbian release was already based on Debian Wheezy afaik.
Debian Squueze was an ARMEL soft float release: https://wiki.debian.org/RaspberryPi
Retired disgracefully.....

hommar
Posts: 172
Joined: Sat Mar 25, 2017 1:55 pm
Location: Russia, Yekaterinburg

Re: Looking for Debian Squeeze (6.0) image

Mon Aug 14, 2017 10:37 am

nuschii wrote:
Mon Aug 14, 2017 8:51 am
hommar wrote:
Mon Aug 14, 2017 8:44 am
I think your CF-card reader do not work
It works for the embedded device and it works on Debian Squeeze.
Why you do not want use x86 Debian Squeeze on PC?

itsmedoofer
Posts: 359
Joined: Wed Sep 25, 2013 8:43 am

Re: Looking for Debian Squeeze (6.0) image

Mon Aug 14, 2017 12:02 pm

Hi,

Have you tried the "Wayback Machine", you may be lucky and find a link still working...

https://web.archive.org/web/20120701000 ... rrypi.org/

Edit:-

A little more digging found this, cant vouch for the site but hey...

http://ftp.vim.org/os/raspberrypi/images/debian/6/

Heater
Posts: 13298
Joined: Tue Jul 17, 2012 3:02 pm

Re: Looking for Debian Squeeze (6.0) image

Mon Aug 14, 2017 2:32 pm

Thank you nuschii. That is an odd case you have there.

Sorry I can't help anymore than has been suggested already.

d_older
Posts: 119
Joined: Mon Jun 25, 2012 5:04 pm
Location: East Yorkshire, UK

Re: Looking for Debian Squeeze (6.0) image

Tue Aug 15, 2017 10:19 pm

Hi nuschii,

This may be a long shot but does the machine/debian6 give any indications of the mount parameters in either /etc/mtab or dmesg when it works. Also does "fdisk -l" (-el) look different between the debian6 box and later machines?

Dave

nuschii
Posts: 7
Joined: Sat Aug 12, 2017 10:25 am

Re: Looking for Debian Squeeze (6.0) image

Wed Aug 16, 2017 9:47 am

Well, I'll be damned. I got the last Wheezy-based Raspbian release - and it worked! :D

Still a few confusing messages in dmesg, and "blkid" seems to take forever. But "mount" does work as long a I supply the "-t vfat" option. Without it, it takes ages. Still no idea why it wouldn't work AT ALL on Jessie. :(

I've developed a new theory: Like I said, the USB device in question is OLD. In fact, it is so old it connects as a full-speed device (12M), no high-speed available. Maybe the usb-storage module of newer kernels doesn't work well with full-speed devices? Or it scans the whole drive before doing anything, running into timeouts because of the slow connection? Just a guess...

After all, I'm happy now that it works. Case closed. Thanks again for all your suggestions.

hommar wrote:
Mon Aug 14, 2017 10:37 am
nuschii wrote:
Mon Aug 14, 2017 8:51 am
hommar wrote:
Mon Aug 14, 2017 8:44 am
I think your CF-card reader do not work
It works for the embedded device and it works on Debian Squeeze.
Why you do not want use x86 Debian Squeeze on PC?
Hah, you could ask every person using a Raspberry Pi: "Why not use a PC instead?" ;) Two issues: Space and Power. I don't want no 150W desktop machine for syncing a few CSV files from the USB storage to our network. Besides, we have some Raspis left over from other projects. :D

User avatar
DougieLawson
Posts: 36105
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Looking for Debian Squeeze (6.0) image

Wed Aug 16, 2017 1:02 pm

nuschii wrote:
Wed Aug 16, 2017 9:47 am
Well, I'll be damned. I got the last Wheezy-based Raspbian release - and it worked! :D
You really need to look at why it doesn't work with Jessie or Stretch. How does it fail?

You can't keep turning back to Wheezy using your TARDIS as you'll end up with a completely unsupported and unsupportable system that has unpatched security exposures.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

nuschii
Posts: 7
Joined: Sat Aug 12, 2017 10:25 am

Re: Looking for Debian Squeeze (6.0) image

Thu Aug 24, 2017 7:05 am

DougieLawson wrote:
Wed Aug 16, 2017 1:02 pm
nuschii wrote:
Wed Aug 16, 2017 9:47 am
Well, I'll be damned. I got the last Wheezy-based Raspbian release - and it worked! :D
You really need to look at why it doesn't work with Jessie or Stretch. How does it fail?
I really could not figure out HOW it fails. Like I mentioned above, dmesg output seems fine right after I plug it in.
lsblk shows the drive /dev/sda and the partition /dev/sda1 with all the right sizes, so far so good.

But, once I use
blkid
mount -o ro -t vfat /dev/sda1 /mnt
or even
dd if=/dev/sda of=sda.mbr bs=512 count=1,
the command just hangs. The system isn't frozen though, I can switch to another framebuffer and look at dmesg again. But all it tells me is

Code: Select all

reset full-speed USB device number 5 using dwc_otg
once every minute or so.
Again, full-speed is correct, the device doesn't support high-speed mode.

For the record: Out of curiosity I tried the new Raspbian Stretch Lite image yesterday -> exactly the same problem. :|

User avatar
DougieLawson
Posts: 36105
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Looking for Debian Squeeze (6.0) image

Thu Aug 24, 2017 11:28 am

What are you trying to achieve?

Why are you mucking about with (or badly breaking) the partition table on /dev/sda?
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

User avatar
bensimmo
Posts: 4175
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: Looking for Debian Squeeze (6.0) image

Thu Aug 24, 2017 11:35 am

DougieLawson wrote:
Thu Aug 24, 2017 11:28 am
What are you trying to achieve?

Why are you mucking about with (or badly breaking) the partition table on /dev/sda?
This viewtopic.php?p=1202167#p1198244 posted up near the top.

User avatar
DougieLawson
Posts: 36105
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Looking for Debian Squeeze (6.0) image

Thu Aug 24, 2017 12:19 pm

That does really explain what fails with Wheezy,. Jessie or Stretch. You need to be more specific.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

nuschii
Posts: 7
Joined: Sat Aug 12, 2017 10:25 am

Re: Looking for Debian Squeeze (6.0) image

Thu Aug 24, 2017 1:35 pm

DougieLawson wrote:
Thu Aug 24, 2017 11:28 am
What are you trying to achieve?

Why are you mucking about with (or badly breaking) the partition table on /dev/sda?
What I am trying to achieve: Mounting the first partition from the Compact Flash card. A very standard task with USB storage devices, if you ask me.

dd if=/dev/sda of=sda.mbr bs=512 count=1
is hardly breaking any partition tables. This command is used to BACKUP the partition table (more specific: the Master Boot Record) to a file called sda.mbr! This should always work, even if your file system is completely corrupted or if your partition table lies in pieces.

Perhaps to clear things up, let me rephrase my problem:
This has nothing to do with file systems or partition tables. I simply cannot read any bytes from my USB storage block device /dev/sda on Raspbian Jessie/Stretch. However I can on Raspbian Wheezy! :?:

User avatar
DougieLawson
Posts: 36105
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Looking for Debian Squeeze (6.0) image

Thu Aug 24, 2017 1:40 pm

What does sudo fdisk -l /dev/sda give you?
What format is the filesystem on /dev/sda or /dev/sda1?
Try sudo file /dev/sda and sudo file /dev/sda1

How does sudo mount /dev/sda1 /mnt fail?
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

nuschii
Posts: 7
Joined: Sat Aug 12, 2017 10:25 am

Re: Looking for Debian Squeeze (6.0) image

Fri Aug 25, 2017 9:52 am

DougieLawson wrote:
Thu Aug 24, 2017 1:40 pm
What does sudo fdisk -l /dev/sda give you?
What format is the filesystem on /dev/sda or /dev/sda1?
Try sudo file /dev/sda and sudo file /dev/sda1

How does sudo mount /dev/sda1 /mnt fail?


sudo file /dev/sda

Code: Select all

/dev/sda: block special (8/0)


sudo file /dev/sda1

Code: Select all

/dev/sda1: block special (8/1)


sudo fdisk -l /dev/sda on Jessie/Stretch
This command completely hangs until I unplug the USB device, just like my dd mentioned before. It doesn't provide any errors or information.
Same thing goes for sudo mount /dev/sda1 /mnt.



sudo fdisk -l /dev/sda on Wheezy

Code: Select all

Disk /dev/sda: 4016 MB, 4016046592 bytes
98 heads, 57 sectors/track, 1404 cylinders, total 7843841 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa8d9d658

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     7845887     3921920    b  W95 FAT32


As you can see, the filesystem on the CF card is FAT32. Mounting the file system using a standard issue USB Compact Flash adapter doesn't pose a problem at all, on all Raspbian versions.

User avatar
DougieLawson
Posts: 36105
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Looking for Debian Squeeze (6.0) image

Sat Aug 26, 2017 2:15 am

You need to fsck that filesystem. Easiest may be to plug it into a Windows system and use chkdsk /f /r f:
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Return to “Raspbian”