Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #63197 > unrolled thread

Bug#920607: Debian Buster installer on qnap ts-21x / Fujitsu Q700 : /dev/mtdblock* missing

Started byBernhard Übelacker <bernhardu@mailbox.org>
First post2019-01-30 19:10 +0100
Last post2019-02-02 16:40 +0100
Articles 4 — 3 participants

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#920607: Debian Buster installer on qnap ts-21x / Fujitsu Q700 : /dev/mtdblock* missing Bernhard Übelacker <bernhardu@mailbox.org> - 2019-01-30 19:10 +0100
    Bug#920607: Debian Buster installer on qnap ts-21x / Fujitsu Q700 : /dev/mtdblock* missing Uwe Kleine-König <u.kleine-koenig@pengutronix.de> - 2019-01-30 22:10 +0100
      Processed: Re: Bug#920607: Debian Buster installer on qnap ts-21x  / Fujitsu Q700 : /dev/mtdblock* missing "Debian Bug Tracking System" <owner@bugs.debian.org> - 2019-01-30 22:10 +0100
      Bug#920607: Debian Buster installer on qnap ts-21x / Fujitsu Q700 : /dev/mtdblock* missing Uwe Kleine-König <u.kleine-koenig@pengutronix.de> - 2019-02-02 16:40 +0100

#63197 — Bug#920607: Debian Buster installer on qnap ts-21x / Fujitsu Q700 : /dev/mtdblock* missing

FromBernhard Übelacker <bernhardu@mailbox.org>
Date2019-01-30 19:10 +0100
SubjectBug#920607: Debian Buster installer on qnap ts-21x / Fujitsu Q700 : /dev/mtdblock* missing
Message-ID<xm2tb-2xx-5@gated-at.bofh.it>
Hello Everyone,
I also tried to install current testing to a qnap ts-119P II.

On Tue, 29 Jan 2019 21:43:50 +0100 =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= <uwe@kleine-koenig.org> wrote:
> On 1/27/19 12:13 PM, Lukas Straub wrote:
> > Package: linux
> > Version: 4.19.12-1
> > 
> > Hello Everyone,
> > I tried the latest Buster Installer on my Fujitsu Q700 (rebranded
> > qnap ts-21x) and Everything works except that /dev/mtdblock* devices
> > are missing so flashing the kernel and initrd fails.
> 
> I see the spi-orion-Driver is not loaded. Does /dev/mtd* appear if you do
> 
> 	modprobe spi-orion
> 	modprobe m25p80

Unfortunately I found just the m25p80.ko right after boot,
the spi-orion.ko is missing.
Should that be downloaded by the installer later or
already included in the initrd?

By following commands one should be able to get the
missing spi-orion.ko for the debian installer from 20190118:

    cd $(mktemp -d)
    wget http://deb.debian.org/debian/pool/main/l/linux/linux-image-4.19.0-1-marvell_4.19.12-1_armel.deb
    udpkg --unpack linux-image-4.19.0-1-marvell_4.19.12-1_armel.deb
    depmod -a

    modprobe spi-orion
    modprobe m25p80

And after that dmesg got following additional lines:

        ...
        [ 1112.557570] m25p80 spi0.0: m25p128 (16384 Kbytes)
        [ 1112.567777] 6 fixed-partitions partitions found on MTD device spi0.0
        [ 1112.567783] Creating 6 MTD partitions on "spi0.0":
        [ 1112.567793] 0x000000000000-0x000000080000 : "U-Boot"
        [ 1112.568533] 0x000000200000-0x000000400000 : "Kernel"
        [ 1112.569407] 0x000000400000-0x000000d00000 : "RootFS1"
        [ 1112.569653] 0x000000d00000-0x000001000000 : "RootFS2"
        [ 1112.569877] 0x000000080000-0x0000000c0000 : "U-Boot Config"
        [ 1112.570090] 0x0000000c0000-0x000000200000 : "NAS Config"

After that I could successfully finish a buster installation,
and boot the installed system.

If there is something more to test I have the serial console
connected and it is not yet in "production".

Kind regards,
Bernhard

[toc] | [next] | [standalone]


#63199

FromUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date2019-01-30 22:10 +0100
Message-ID<xm5hn-4gr-5@gated-at.bofh.it>
In reply to#63197
Control: retitle -1 spi-orion not included in any udeb for armel-marvell

Hello,

On Wed, Jan 30, 2019 at 07:04:51PM +0100, Bernhard Übelacker wrote:
> Hello Everyone,
> I also tried to install current testing to a qnap ts-119P II.
> 
> On Tue, 29 Jan 2019 21:43:50 +0100 =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= <uwe@kleine-koenig.org> wrote:
> > On 1/27/19 12:13 PM, Lukas Straub wrote:
> > > Package: linux
> > > Version: 4.19.12-1
> > > 
> > > Hello Everyone,
> > > I tried the latest Buster Installer on my Fujitsu Q700 (rebranded
> > > qnap ts-21x) and Everything works except that /dev/mtdblock* devices
> > > are missing so flashing the kernel and initrd fails.
> > 
> > I see the spi-orion-Driver is not loaded. Does /dev/mtd* appear if you do
> > 
> > 	modprobe spi-orion
> > 	modprobe m25p80
> 
> Unfortunately I found just the m25p80.ko right after boot,
> the spi-orion.ko is missing.
> Should that be downloaded by the installer later or
> already included in the initrd?

Ah, I missed this bug is about the installer, not the regular
(installed) system. Indeed spi-orion is not included in any udeb.

Maybe adding spi-orion to
debian/installer/modules/armel-marvell/mtd-modules is the right fix
here, but I don't understand enough about the generation of udebs to
judge if this is right.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

[toc] | [prev] | [next] | [standalone]


#63200 — Processed: Re: Bug#920607: Debian Buster installer on qnap ts-21x / Fujitsu Q700 : /dev/mtdblock* missing

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2019-01-30 22:10 +0100
SubjectProcessed: Re: Bug#920607: Debian Buster installer on qnap ts-21x / Fujitsu Q700 : /dev/mtdblock* missing
Message-ID<xm5hp-4gr-23@gated-at.bofh.it>
In reply to#63199
Processing control commands:

> retitle -1 spi-orion not included in any udeb for armel-marvell
Bug #920607 [linux] Debian Buster installer on qnap ts-21x / Fujitsu Q700 : /dev/mtdblock* missing
Changed Bug title to 'spi-orion not included in any udeb for armel-marvell' from 'Debian Buster installer on qnap ts-21x / Fujitsu Q700 : /dev/mtdblock* missing'.

-- 
920607: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920607
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#63222

FromUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date2019-02-02 16:40 +0100
Message-ID<xn5yF-me-9@gated-at.bofh.it>
In reply to#63199
Control: tag -1 + pending

On Wed, Jan 30, 2019 at 09:42:32PM +0100, Uwe Kleine-König wrote:
> Maybe adding spi-orion to
> debian/installer/modules/armel-marvell/mtd-modules is the right fix
> here, but I don't understand enough about the generation of udebs to
> judge if this is right.

After getting some feedback off-list I committed this to linux.git
(https://deb.li/i78Aj).

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web