Re: Debian installer on Qnap TS-419P

2010-10-07 Thread Benoît Knecht
Martin Michlmayr wrote:
 * Benoît Knecht benoit.kne...@fsfe.org [2010-10-01 22:48]:
  From what I understand, since the
  kernel and initrd are in flash, there's no need for a separate boot
  partition. So I created one anyway, but if someone can confirm I
  don't
  need it, I'll remove it.
 
 You're correct that there's no need for a separate /boot partition.
 This error is produced by partman-btrfs's check.d/no_btrfs_boot
 script.  I suggest you file a bug on the partman-btrfs package about
 this issue.

OK, thanks for your advice. I've filed a bug on partman-btrfs at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599417.

-- 
Benoît Knecht


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101007140806.gb5...@debian.lan



Re: Debian installer on Qnap TS-419P

2010-10-03 Thread Martin Michlmayr
* Benoît Knecht benoit.kne...@fsfe.org [2010-10-01 22:48]:
 I just wanted to report success on using the debian installer on a
 Qnap TS-419P.  Martin's instructions [1] still recommend a manual
 installation

Thanks for the confirmation that the installer works.  I will soon
update my web site to recommend the installer.

 FATAL: Error inserting btrfs 
 (/lib/modules/2.6.32-5-kirkwood/kernel/fs/btrfs/btrfs.ko): Unknown symbol in 
 module, or unknown parameter (see dmesg)
 Turns out, btrfs.ko depends on crc32c.ko, which wasn't included. So I

I'll file a bug about this.

 The second issue I encountered, right after formatting the disk, was
 that it wouldn't let me proceed with no boot partition (I had only swap
 and a big btrfs root partition). From what I understand, since the
 kernel and initrd are in flash, there's no need for a separate boot
 partition. So I created one anyway, but if someone can confirm I don't
 need it, I'll remove it.

You're correct that there's no need for a separate /boot partition.
This error is produced by partman-btrfs's check.d/no_btrfs_boot
script.  I suggest you file a bug on the partman-btrfs package about
this issue.

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101003160558.gj8...@jirafa.cyrius.com



Debian installer on Qnap TS-419P

2010-10-01 Thread Benoît Knecht
Hi,

I just wanted to report success on using the debian installer on a Qnap
TS-419P. Martin's instructions [1] still recommend a manual
installation, but I found this post [2] where he suggests the installer
might work just fine.

For some reason, I first found this installer [3] which booted okay, but
I decided to try the regular sid installer [4] anyway; I completed the
installation of debian squeeze with the sid installer (in expert mode).

After making a backup of the original firmware, I used the recovery mode
with a TFTP server to get the installer image on the device (after I
finally noticed that it's trying to get the image from ethernet port 2,
not 1). Everything went fine except two glitches.

First, partman wouldn't let me format any partition with btrfs, although
mkfs.btrfs was present and I saw partman-btrfs being downloaded. After
formating the partition manually (i.e. using mkfs.btrfs) and
unsuccessfully trying to mount it, I noticed the btrfs kernel module
wasn't loaded; trying to modprobe it gave me the error:

FATAL: Error inserting btrfs 
(/lib/modules/2.6.32-5-kirkwood/kernel/fs/btrfs/btrfs.ko): Unknown symbol in 
module, or unknown parameter (see dmesg)

Turns out, btrfs.ko depends on crc32c.ko, which wasn't included. So I
downloaded linux-image-2.6.32-5-kirkwood_2.6.32-23_armel.deb and
extracted it on a USB stick, from which I copied crc32c.ko to
/lib/modules/2.6.32-5-kirkwood/kernel/crypto/. After running depmod,
btrfs loaded successfully. From there, the Partition disks step in the
installer offered me the option of btrfs.

The second issue I encountered, right after formatting the disk, was
that it wouldn't let me proceed with no boot partition (I had only swap
and a big btrfs root partition). From what I understand, since the
kernel and initrd are in flash, there's no need for a separate boot
partition. So I created one anyway, but if someone can confirm I don't
need it, I'll remove it.

And that's it. I just wanted to let other people tempted by having
debian on their Qnap TS-419P that they can do it rather easily with the
installer (and feel free to contact me if you need any help).

Also, if some testing is needed on this NAS, I'd be happy to give it a
try.

Cheers.

-- 
Benoît Knecht

---
[1] http://www.cyrius.com/debian/kirkwood/qnap/ts-41x/
[2] http://forum.qnap.com/viewtopic.php?f=147t=32552
[3] 
http://people.debian.org/~joeyh/d-i/armel/images/daily/kirkwood/network-console/qnap/ts-41x/
[4] 
http://ftp.de.debian.org/debian/dists/sid/main/installer-armel/current/images/kirkwood/network-console/qnap/ts-41x/


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101001204806.ga26...@debian.lan