Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Upgrading Squeeze to Wheezy on Bubba Two hardware

25 views
Skip to first unread message

Csanyi Pal

unread,
May 22, 2013, 4:00:01 PM5/22/13
to
Hi,

I have the Bubba Two hardware [1], and I'm running on it the Debian
Squeeze operating system so far.
I have installed Squeeze by following these steps described here:
http://forum.excito.net/viewtopic.php?f=11&t=2518

Now since Wheezy is out as stable release, I want to upgrade my Squeeze
system to Wheezy.

Is it possible to do this by following advices from here:
http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html

>From where can I install the kernel for the Wheezy system for this
hardware?

Is there some dependencies regarding kernel and wheezy GNU system?
In other words, must I have on this hardware ( Bubba Two is a headless
server box ) a particular linux image that can work together with the
rest of the GNU system ( Wheezy )?

My apt sources.list is:
deb http://ftp.debian.org/debian squeeze main
deb http://security.debian.org/ squeeze/updates main
deb http://update.excito.org/ marielle main

[1] http://excito.com/
Bubba Two is an older hardware as Bubba 3.
It is a PowerPC.

--
Regards from Pal


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/8761yal...@gmail.com

Sven Joachim

unread,
May 22, 2013, 4:50:02 PM5/22/13
to
On 2013-05-22 21:56 +0200, Csanyi Pal wrote:

> I have the Bubba Two hardware [1], and I'm running on it the Debian
> Squeeze operating system so far.
> I have installed Squeeze by following these steps described here:
> http://forum.excito.net/viewtopic.php?f=11&t=2518
>
> Now since Wheezy is out as stable release, I want to upgrade my Squeeze
> system to Wheezy.
>
> Is it possible to do this by following advices from here:
> http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html

This is not the right document for your hardware, you want to
s/i386/powerpc/ in the above URL.

>>From where can I install the kernel for the Wheezy system for this
> hardware?
>
> Is there some dependencies regarding kernel and wheezy GNU system?
> In other words, must I have on this hardware ( Bubba Two is a headless
> server box ) a particular linux image that can work together with the
> rest of the GNU system ( Wheezy )?

Yes, udev in Wheezy requires a kernel >= 2.6.32 with the accept4(2)
syscall. At least one year ago, the Squeeze kernel did not provide this
particular syscall on powerpc (it does on x86 though), and on my (purely
virtual) machine udev entered an infinite loop in the initramfs.

So before you upgrade your userland, I'd strongly recommend that you get
hold of a newer kernel first, e.g. from squeeze-backports. How to boot
it - I don't know.

Cheers,
Sven


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/87zjvmk...@turtle.gmx.de

Csanyi Pal

unread,
May 25, 2013, 1:30:01 PM5/25/13
to
Sven Joachim <sven...@gmx.de> writes:

> On 2013-05-22 21:56 +0200, Csanyi Pal wrote:
>
>> I have the Bubba Two hardware [1], and I'm running on it the Debian
>> Squeeze operating system so far.
>> I have installed Squeeze by following these steps described here:
>> http://forum.excito.net/viewtopic.php?f=11&t=2518
>>
>> Now since Wheezy is out as stable release, I want to upgrade my Squeeze
>> system to Wheezy.
>>
>> Is it possible to do this by following advices from here:
>> http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html
>
> This is not the right document for your hardware, you want to
> s/i386/powerpc/ in the above URL.

Yes, indeed. I should use instead:
http://www.debian.org/releases/stable/powerpc/release-notes/ch-upgrading.en.html

>>>From where can I install the kernel for the Wheezy system for this
>> hardware?
>>
>> Is there some dependencies regarding kernel and wheezy GNU system?
>> In other words, must I have on this hardware ( Bubba Two is a headless
>> server box ) a particular linux image that can work together with the
>> rest of the GNU system ( Wheezy )?
>
> Yes, udev in Wheezy requires a kernel >= 2.6.32 with the accept4(2)
> syscall. At least one year ago, the Squeeze kernel did not provide this
> particular syscall on powerpc (it does on x86 though), and on my (purely
> virtual) machine udev entered an infinite loop in the initramfs.
>
> So before you upgrade your userland, I'd strongly recommend that you get
> hold of a newer kernel first, e.g. from squeeze-backports. How to boot
> it - I don't know.

Well, I just run 'uname -a' command on that operating system and get:
Linux b2 2.6.39.4-4 #1 Fri Aug 19 14:41:59 CEST 2011 ppc GNU/Linux

so, I actually run the proper kernel, right?

So I think that that I can go with distribution upgrade, right?

--
Regards from Pal


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/877gin5...@gmail.com

Sven Joachim

unread,
May 25, 2013, 1:50:02 PM5/25/13
to
On 2013-05-25 19:19 +0200, Csanyi Pal wrote:

> Sven Joachim <sven...@gmx.de> writes:
>
>> On 2013-05-22 21:56 +0200, Csanyi Pal wrote:
>>
>>> Is there some dependencies regarding kernel and wheezy GNU system?
>>> In other words, must I have on this hardware ( Bubba Two is a headless
>>> server box ) a particular linux image that can work together with the
>>> rest of the GNU system ( Wheezy )?
>>
>> Yes, udev in Wheezy requires a kernel >= 2.6.32 with the accept4(2)
>> syscall. At least one year ago, the Squeeze kernel did not provide this
>> particular syscall on powerpc (it does on x86 though), and on my (purely
>> virtual) machine udev entered an infinite loop in the initramfs.
>>
>> So before you upgrade your userland, I'd strongly recommend that you get
>> hold of a newer kernel first, e.g. from squeeze-backports. How to boot
>> it - I don't know.
>
> Well, I just run 'uname -a' command on that operating system and get:
> Linux b2 2.6.39.4-4 #1 Fri Aug 19 14:41:59 CEST 2011 ppc GNU/Linux
>
> so, I actually run the proper kernel, right?

I think that's sufficient - accept4() for powerpc was added in 2.6.37,
if I understand it correctly¹.

> So I think that that I can go with distribution upgrade, right?

Probably - if it breaks, I'll deny any responsibility, though. ;-)

Cheers,
Sven


¹ https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=86250b9d12caa1a3dee12a7cf638b7dd70eaadb6


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/87hahr0...@turtle.gmx.de

Csanyi Pal

unread,
May 31, 2013, 1:50:01 PM5/31/13
to
Hi Sven,

Sven Joachim <sven...@gmx.de> writes:

> On 2013-05-25 19:19 +0200, Csanyi Pal wrote:
>
>> so, I actually run the proper kernel, right?
>
> I think that's sufficient - accept4() for powerpc was added in 2.6.37,
> if I understand it correctly¹.
>
>> So I think that that I can go with distribution upgrade, right?
>
> Probably - if it breaks, I'll deny any responsibility, though. ;-)

OK ;-)

I'm going to upgrade the system, following advices here:
http://www.debian.org/releases/stable/powerpc/release-notes/ch-upgrading.en.html

I come to the Chapter '4.2.2. Disabling APT pinning'.

I have in /etc/apt/preferences.d/ only one file, called 'excito':
<quote>
# B3 apt preferences
#
# Changes in this file might break your system
#
# Stable bubba release, currently elvin
Package: *
Pin:
release o=Excito, n=elvin, v=1.0,
origin "b3.update.excito.org"
Pin-Priority: 999

# Unstable bubba release, always vincent
Package: *
Pin:
release o=Excito, n=vincent,
origin "b3.update.excito.org"
Pin-Priority: 999

# Unstable bubba release, always vincent
Package: *
Pin:
release o=Excito, n=hugo,
origin "b3.update.excito.org"
Pin-Priority: 999

# Old stable release, currently vacant
Package: *
Pin:
release o=Excito, a=oldstable, v=1.0,
origin "b3.update.excito.org"
Pin-Priority: 1000

# Stable bubba stable debian upstream, currently squeeze
Package: *
Pin:
release o=Debian Squeeze, n=upstream_squeeze, v=1.0,
origin "b3.update.excito.org"
Pin-Priority: 600

# Unstable bubba stable debian upstream, currently squeeze
Package: *
Pin:
release o=Debian Squeeze, n=upstream_squeeze_forhugo,
origin "b3.update.excito.org"
Pin-Priority: 600

# Unstable bubba stable debian upstream, currently squeeze
Package: *
Pin:
release o=Debian Squeeze, n=upstream_squeeze_forvincent,
origin "b3.update.excito.org"
Pin-Priority: 600

# Stable bubba debian upstream, currently vacant
Package: *
Pin:
release o=Debian Squeeze, a=upstream_oldstable, v=1.0,
origin "b3.update.excito.org"
Pin-Priority: 601

# Upstream main debian, currently squeeze
Package: *
Pin:
release o=Debian, n=elvin, v=4.0r4a, c=main

Pin-Priority: 500

# Upstream contrib debian, currently squeeze
Package: *
Pin:
release o=Debian, n=elvin, v=4.0r4a, c=contrib
Pin-Priority: 400

# Upstream non-free debian, currently squeeze
Package: *
Pin:
release o=Debian, n=elvin, v=4.0r4a, c=non-free
Pin-Priority: 300
</quote>

Well, these lines are a black magic for me.
Must I change here something, to allow the upgrade of packages?

--
Regards from Pal


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/87d2s7h...@gmail.com

Csanyi Pal

unread,
May 31, 2013, 3:30:02 PM5/31/13
to
I just replaced 'squeeze' with 'wheezy' in the file above and can do the
minimal system upgrade.

--
Regards from Pal


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/877gifh...@gmail.com
0 new messages