[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling vanilla kernel issues.



So still no joy on my Sun Blade2500 going to post my exact steps, and maybe I'm still just missing something stupid.

tar xfv linux-3.11.1.tar.xz
cd linux-3.11.1
cp /boot/config-3.2.0-4-sparc64-smp ./.config
make oldconfig
make clean
make -j2 deb-pkg
cd ../
dpkg -i *.deb
vi /etc/silo.conf
reboot

and kernel panic trying to find the root file system.

So am I copying the old config incorrectly? I get asked a lot of questions about configuring options, which I just go with the default response.
Does anyone have a build I can download? Wondering if I try installing a known working set of deb packages if the issue goes away.

Thanks again.

-Kieron


On Mon, Sep 23, 2013 at 10:40 AM, Hartwig Atrops <Hartwig.Atrops@arcor.de> wrote:
Hi.

I repeated the test on a Blade 100 (ATAPI/IDE system, Openboot 4, test kernel
3.11.1):

No problems ...

Regards,

   Hartwig


On Saturday 21 September 2013 22:37:02 Kieron Gillespie wrote:
> Strange as those steps you mentioned are exactly what I am doing on my two
> SPARC systems.
>
> I am going to have to guess this is an issue with these particular pieces
> of hardware the Sun Blade 2500 and the Sun Fire T2000.
>
> Thanks for the help, I just wanted to eliminate the possibility I was just
> making some stupid mistake. Looks like it's more than that. I'll
> investigate more.
>
> -Kieron
>
> On Sat, Sep 21, 2013 at 3:53 PM, Hartwig Atrops
<Hartwig.Atrops@arcor.de>wrote:
> > Hi.
> >
> > I used the Debian Linux Kernel Handbook:
> >
> > http://kernel-handbook.alioth.debian.org/
> >
> > I fetched the 3.11.1 kernel source from kernel.org (wget) and unpacked it
> > under /usr/src.
> >
> > During installation of Wheezy, I installed my usual tool set including
> > make,
> > gcc, g++ etc.
> >
> > To build the kernel, I additionally installed:
> >
> > build-essentials
> > fakeroot
> > devscripts (I don't think we need that)
> >
> > and run apt-get build-dep linux
> >
> > And now:
> >
> > copy configuration from /boot
> > make oldconfig
> > make clean (I don't think this is necessary)
> > make deb-pkg
> >
> > installation via dpkg -i (4 packages)
> >
> > configure /boot/silo.conf (additional entry)
> >
> > and reboot - it works.
> >
> > You didn't mention the build packages, the rest looks the same ...
> >
> > Regards,
> >
> >    Hartwig
> >
> > On Saturday 21 September 2013 17:42:00 Kieron Gillespie wrote:
> > > Could you send me a link to the exact procedure you used. I keep find
> >
> > like
> >
> > > four different ways to make a vanilla kernel for Debian.
> > >
> > > Two of my systems are SCSI based and both of those have problems when I
> >
> > do
> >
> > > the standard
> > >
> > > cp /boot/config-<Old Version> ./.config
> > >
> > > make oldconfig
> > > make deb-pkg
> > >
> > > dpkg -i linux-*.deb
> > >
> > >
> > > -Kieron
> > >
> > > On Sat, Sep 21, 2013 at 3:11 AM, Hartwig Atrops
> >
> > <Hartwig.Atrops@arcor.de>wrote:
> > > > Hi.
> > > >
> > > > Last night, I've built a kernel 3.11.1 from kernel.org the Debian way
> >
> > (as
> >
> > > > described in "Debian Linux Kernel Handbook") - without any problems.
> > > >
> > > > My test environment: a fresh installation of Wheezy (7.0.1) on a Sun
> > > > Ultra 60,
> > > > i.e. a SCSI machine.
> > > >
> > > > I'm going to do a test with an ATAPi/IDE Blade 100 as well, but I
> > > > have
> >
> > to
> >
> > > > set
> > > > up this machine first - that will take a while.
> > > >
> > > > Regards,
> > > >
> > > >    Hartwig
> > > >
> > > > On Friday 20 September 2013 03:37:30 Kieron Gillespie wrote:
> > > > > So current when I build the vanilla kernel using the typical Debian
> > > >
> > > > method
> > > >
> > > > > with make deb-pkg I end up with a kernel that panic's on boot.
> > > > >
> > > > > It says,
> > > > > --CUT--
> > > > > Kernel panic - not syncing: VFS: Unable to mount root fs on
> > > > > unknown-block(0,0)
> > > > >
> > > > > CPU: 0 PID: 1 Comm: swapper/1 Not tainted 3.12.0-rc #1
> > > > > Call Trace:
> > > > > --END CUT--
> > > > >
> > > > > Any ideas? If someone has instructions on how they typically build
> > > > > there kernel for SPARC system I would like to know. Though this is
> >
> > how
> >
> > > > > I always have done it in the past it just recently stop working
> > > > > after 3.8.x
> > > >
> > > > series.
> > > >
> > > > > On Thu, Sep 19, 2013 at 9:14 AM, Patrick Baggett
> > > > >
> > > > > <baggett.patrick@gmail.com>wrote:
> > > > > > I didn't have any problems, but I'm not using initramfs. To build
> > > > > > a kernel 'the debian way', you might need to find a guide or
> > > > > > maybe
> > > >
> > > > someone
> > > >
> > > > > > else can chime in?
> > > > > > On Sep 18, 2013 10:05 PM, "Kieron Gillespie" <
> > > >
> > > > ciaran.gillespie@gmail.com>
> > > >
> > > > > > wrote:
> > > > > >> Hello everyone,
> > > > > >>
> > > > > >> Was wondering if anyone had any success compiling any of the
> >
> > vanilla
> >
> > > > > >> Linux kernel's on their SPARC wheezy systems with anything after
> > > >
> > > > version
> > > >
> > > > > >> 3.8.x.
> > > > > >>
> > > > > >> Every time I try to build myself a new kernel I seem to end up
> >
> > with
> >
> > > > > >> a kernel that is unable to boot complaining about not being able
> >
> > to
> >
> > > > > >> find the root file system. I was wondering if anyone has any
> > > > > >> information on how I can configure and build the Linux kernel
> > > > > >> for
> >
> > my
> >
> > > > > >> various SPARC systems.
> > > > > >>
> > > > > >> -Kieron
> > > >
> > > > --
> > > > To UNSUBSCRIBE, email to debian-sparc-REQUEST@lists.debian.org
> > > > with a subject of "unsubscribe". Trouble? Contact
> > > > listmaster@lists.debian.org
> > > > Archive:
> > > > [🔎] 201309210911.41123.Hartwig.Atrops@arcor.de" target="_blank">http://lists.debian.org/[🔎] 201309210911.41123.Hartwig.Atrops@arcor.de
> >
> > --
> > To UNSUBSCRIBE, email to debian-sparc-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> > listmaster@lists.debian.org
> > Archive:
> > [🔎] 201309212153.31868.Hartwig.Atrops@arcor.de" target="_blank">http://lists.debian.org/[🔎] 201309212153.31868.Hartwig.Atrops@arcor.de



--
To UNSUBSCRIBE, email to debian-sparc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 201309231640.57438.Hartwig.Atrops@arcor.de" target="_blank">http://lists.debian.org/[🔎] 201309231640.57438.Hartwig.Atrops@arcor.de



Reply to: