Bug#826173: Debian Testing/Unstable MIPS Installer Kernel Panic

2016-06-04 Thread Mike
Good call on the CPU. Here's what I was using to run it:

qemu-system-mips64 -M malta -kernel vmlinux-4.5.0-2-4kc-malta -initrd
initrd.gz -hda hda.img -append root=/dev/ram console=ttyS0 -m 1G -nographic

After adding the -cpu option you mentioned it started up without issue.

Thanks!

Mike


On Sat, Jun 4, 2016 at 5:26 AM, Aurelien Jarno  wrote:

> On 2016-06-03 19:03, Ben Hutchings wrote:
> > Control: reassign -1 debian-installer 20160516+b1
> >
> > On Fri, 2016-06-03 at 08:48 +, Mattia Rizzolo wrote:
> > > control: reassign -1 src:linux  4.5.4-1
> > >
> > > On Thu, Jun 02, 2016 at 07:13:04PM -0400, Mike wrote:
> > > > Package: kernel
> > >
> > > this is not a valid package name.
> > >
> > > > Version: Testing
> > >
> > > and this is not a valid version
> > >
> > > >
> > > > I am working on installing Debian under a QEMU MIPS emulator. I was
> able to
> > > > get the Debian Stable branch to install and run properly using this:
> > > >
> > > >
> http://ftp.de.debian.org/debian/dists/stable/main/installer-mips/current/images/malta/netboot/
> > > >
> > > > However, when I attempt to use unstable or testing, I receive a
> kernel
> > > > panic immediately on boot for install. I cannot really give a
> package name
> > > > because it appears there's a problem in the kernel or init somewhere.
> > > >
> > > >
> http://ftp.de.debian.org/debian/dists/unstable/main/installer-mips/current/images/malta/netboot/
> > > >
> > > > The error I get it as follows:
> > > > [2.463767] Kernel panic - not syncing: Attempted to kill init!
> > > > exitcode=0x0004
> > > > [2.463767]
> > > > [2.464725] ---[ end Kernel panic - not syncing: Attempted to
> kill init!
> > > > exitcode=0x0004
> >
> > That usually means something is wrong with the initrd.  So reassigning
> > to the installer.
>
> It would be interested to know which QEMU command you used to start this
> image. Since the switch to GCC 5, the mips architecture requires a R2
> CPU.
>
> QEMU defaults emulating a R2 CPU in 32-bit mode, but a R1 CPU in 64-bit
> mode. In the later case try to pass "-cpu 5KEf" to QEMU.
>
> Aurelien
>
> --
> Aurelien Jarno  GPG: 4096R/1DDD8C9B
> aurel...@aurel32.net http://www.aurel32.net
>


Bug#826173: Debian Testing/Unstable MIPS Installer Kernel Panic

2016-06-04 Thread Aurelien Jarno
On 2016-06-03 19:03, Ben Hutchings wrote:
> Control: reassign -1 debian-installer 20160516+b1
> 
> On Fri, 2016-06-03 at 08:48 +, Mattia Rizzolo wrote:
> > control: reassign -1 src:linux  4.5.4-1
> > 
> > On Thu, Jun 02, 2016 at 07:13:04PM -0400, Mike wrote:
> > > Package: kernel
> > 
> > this is not a valid package name.
> > 
> > > Version: Testing
> > 
> > and this is not a valid version
> > 
> > > 
> > > I am working on installing Debian under a QEMU MIPS emulator. I was able 
> > > to
> > > get the Debian Stable branch to install and run properly using this:
> > > 
> > > http://ftp.de.debian.org/debian/dists/stable/main/installer-mips/current/images/malta/netboot/
> > > 
> > > However, when I attempt to use unstable or testing, I receive a kernel
> > > panic immediately on boot for install. I cannot really give a package name
> > > because it appears there's a problem in the kernel or init somewhere.
> > > 
> > > http://ftp.de.debian.org/debian/dists/unstable/main/installer-mips/current/images/malta/netboot/
> > > 
> > > The error I get it as follows:
> > > [2.463767] Kernel panic - not syncing: Attempted to kill init!
> > > exitcode=0x0004
> > > [2.463767]
> > > [2.464725] ---[ end Kernel panic - not syncing: Attempted to kill 
> > > init!
> > > exitcode=0x0004
> 
> That usually means something is wrong with the initrd.  So reassigning
> to the installer.

It would be interested to know which QEMU command you used to start this
image. Since the switch to GCC 5, the mips architecture requires a R2
CPU.

QEMU defaults emulating a R2 CPU in 32-bit mode, but a R1 CPU in 64-bit
mode. In the later case try to pass "-cpu 5KEf" to QEMU.

Aurelien

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net


signature.asc
Description: PGP signature


Bug#826173: Debian Testing/Unstable MIPS Installer Kernel Panic

2016-06-03 Thread Mike
I've discovered that the corresponding mipsel testing and development
releases work fine. Its only the mips testing and development versions.
On Jun 3, 2016 2:18 PM, "Ben Hutchings"  wrote:

> On Fri, 2016-06-03 at 14:07 -0400, Mike wrote:
> > I set the memory to 1024. I can try higher if need be.
>
> That should be more than enough.
>
> Ben.
>
> --
> Ben Hutchings
> Nothing is ever a complete failure; it can always serve as a bad
> example.
>


Re: Bug#826173: Debian Testing/Unstable MIPS Installer Kernel Panic

2016-06-03 Thread Ben Hutchings
On Fri, 2016-06-03 at 14:07 -0400, Mike wrote:
> I set the memory to 1024. I can try higher if need be.

That should be more than enough.

Ben.

--
Ben Hutchings
Nothing is ever a complete failure; it can always serve as a bad
example.


signature.asc
Description: This is a digitally signed message part


Bug#826173: Debian Testing/Unstable MIPS Installer Kernel Panic

2016-06-03 Thread Mike
I set the memory to 1024. I can try higher if need be.
On Jun 3, 2016 2:04 PM, "Ben Hutchings"  wrote:

> On Fri, 2016-06-03 at 19:03 +0100, Ben Hutchings wrote:
> > Control: reassign -1 debian-installer 20160516+b1
> >
> > On Fri, 2016-06-03 at 08:48 +, Mattia Rizzolo wrote:
> > > control: reassign -1 src:linux  4.5.4-1
> > >
> > > On Thu, Jun 02, 2016 at 07:13:04PM -0400, Mike wrote:
> > > > Package: kernel
> > >
> > > this is not a valid package name.
> > >
> > > > Version: Testing
> > >
> > > and this is not a valid version
> > >
> > > >
> > > > I am working on installing Debian under a QEMU MIPS emulator. I was
> able to
> > > > get the Debian Stable branch to install and run properly using this:
> > > >
> > > >
> http://ftp.de.debian.org/debian/dists/stable/main/installer-mips/current/images/malta/netboot/
> > > >
> > > > However, when I attempt to use unstable or testing, I receive a
> kernel
> > > > panic immediately on boot for install. I cannot really give a
> package name
> > > > because it appears there's a problem in the kernel or init somewhere.
> > > >
> > > >
> http://ftp.de.debian.org/debian/dists/unstable/main/installer-mips/current/images/malta/netboot/
> > > >
> > > > The error I get it as follows:
> > > > [2.463767] Kernel panic - not syncing: Attempted to kill init!
> > > > exitcode=0x0004
> > > > [2.463767]
> > > > [2.464725] ---[ end Kernel panic - not syncing: Attempted to
> kill init!
> > > > exitcode=0x0004
> >
> > That usually means something is wrong with the initrd.  So reassigning
> > to the installer.
>
> *Or* the VM is too small for the kernel to even unpack the initrd.   I
> think that may be true with the default QEMU memory size now.
>
> Ben.
>
> > Ben.
> >
> > > > At no point do I get to a location in the installer for me to
> interact with.
> > > >
> > > > Best,
> > > >
> > > > Mike
> > >
> > Ben Hutchings
> > Nothing is ever a complete failure; it can always serve as a bad
> > example.
> --
> Ben Hutchings
> Nothing is ever a complete failure; it can always serve as a bad
> example.
>


Processed: Re: Bug#826173: Debian Testing/Unstable MIPS Installer Kernel Panic

2016-06-03 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 debian-installer 20160516+b1
Bug #826173 [src:linux] Debian Testing/Unstable MIPS Installer Kernel Panic
Bug reassigned from package 'src:linux' to 'debian-installer'.
No longer marked as found in versions linux/4.5.4-1.
Ignoring request to alter fixed versions of bug #826173 to the same values 
previously set
Bug #826173 [debian-installer] Debian Testing/Unstable MIPS Installer Kernel 
Panic
Marked as found in versions debian-installer/20160516.

-- 
826173: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826173
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Re: Bug#826173: Debian Testing/Unstable MIPS Installer Kernel Panic

2016-06-03 Thread Ben Hutchings
On Fri, 2016-06-03 at 19:03 +0100, Ben Hutchings wrote:
> Control: reassign -1 debian-installer 20160516+b1
> 
> On Fri, 2016-06-03 at 08:48 +, Mattia Rizzolo wrote:
> > control: reassign -1 src:linux  4.5.4-1
> > 
> > On Thu, Jun 02, 2016 at 07:13:04PM -0400, Mike wrote:
> > > Package: kernel
> > 
> > this is not a valid package name.
> > 
> > > Version: Testing
> > 
> > and this is not a valid version
> > 
> > > 
> > > I am working on installing Debian under a QEMU MIPS emulator. I was able 
> > > to
> > > get the Debian Stable branch to install and run properly using this:
> > > 
> > > http://ftp.de.debian.org/debian/dists/stable/main/installer-mips/current/images/malta/netboot/
> > > 
> > > However, when I attempt to use unstable or testing, I receive a kernel
> > > panic immediately on boot for install. I cannot really give a package name
> > > because it appears there's a problem in the kernel or init somewhere.
> > > 
> > > http://ftp.de.debian.org/debian/dists/unstable/main/installer-mips/current/images/malta/netboot/
> > > 
> > > The error I get it as follows:
> > > [2.463767] Kernel panic - not syncing: Attempted to kill init!
> > > exitcode=0x0004
> > > [2.463767]
> > > [2.464725] ---[ end Kernel panic - not syncing: Attempted to kill 
> > > init!
> > > exitcode=0x0004
> 
> That usually means something is wrong with the initrd.  So reassigning
> to the installer.

*Or* the VM is too small for the kernel to even unpack the initrd.   I
think that may be true with the default QEMU memory size now.

Ben.

> Ben.
> 
> > > At no point do I get to a location in the installer for me to interact 
> > > with.
> > > 
> > > Best,
> > > 
> > > Mike
> > 
> Ben Hutchings
> Nothing is ever a complete failure; it can always serve as a bad
> example.
-- 
Ben Hutchings
Nothing is ever a complete failure; it can always serve as a bad
example.


signature.asc
Description: This is a digitally signed message part


Re: Bug#826173: Debian Testing/Unstable MIPS Installer Kernel Panic

2016-06-03 Thread Ben Hutchings
Control: reassign -1 debian-installer 20160516+b1

On Fri, 2016-06-03 at 08:48 +, Mattia Rizzolo wrote:
> control: reassign -1 src:linux  4.5.4-1
> 
> On Thu, Jun 02, 2016 at 07:13:04PM -0400, Mike wrote:
> > Package: kernel
> 
> this is not a valid package name.
> 
> > Version: Testing
> 
> and this is not a valid version
> 
> > 
> > I am working on installing Debian under a QEMU MIPS emulator. I was able to
> > get the Debian Stable branch to install and run properly using this:
> > 
> > http://ftp.de.debian.org/debian/dists/stable/main/installer-mips/current/images/malta/netboot/
> > 
> > However, when I attempt to use unstable or testing, I receive a kernel
> > panic immediately on boot for install. I cannot really give a package name
> > because it appears there's a problem in the kernel or init somewhere.
> > 
> > http://ftp.de.debian.org/debian/dists/unstable/main/installer-mips/current/images/malta/netboot/
> > 
> > The error I get it as follows:
> > [2.463767] Kernel panic - not syncing: Attempted to kill init!
> > exitcode=0x0004
> > [2.463767]
> > [2.464725] ---[ end Kernel panic - not syncing: Attempted to kill init!
> > exitcode=0x0004

That usually means something is wrong with the initrd.  So reassigning
to the installer.

Ben.

> > At no point do I get to a location in the installer for me to interact with.
> > 
> > Best,
> > 
> > Mike
> 
Ben Hutchings
Nothing is ever a complete failure; it can always serve as a bad
example.
-- 


signature.asc
Description: This is a digitally signed message part