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

Bug#616326: marked as done (oldsys-preseed support for LS-WSGL)



Your message dated Wed, 04 May 2011 21:48:47 +0000
with message-id <E1QHjw7-0003bu-DL@franck.debian.org>
and subject line Bug#616326: fixed in oldsys-preseed 3.12
has caused the Debian Bug report #616326,
regarding oldsys-preseed support for LS-WSGL
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
616326: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=616326
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: oldsys-preseed
Version: 3.11
Severity: wishlist
X-Debbugs-CC: Martin Michlmayr <tbm@cyrius.com>

Here is a first try at supporting the Buffalo Linkstation Mini (aka
LS-WSGL) for d-i, in response to advices from Martin Michlmayr.

Le mardi 01 mars 2011 à 18:33 +0000, Martin Michlmayr a écrit :
> Can you please file a wishlist bug on oldsys-preseed to support this
> device?

Right here.

> It would also be great if you could check out oldsys-preseed from git:
>   git://git.debian.org/git/d-i/oldsys-preseed
> and send a patch.

Here is a first try; I don't know what other file to modify. Is there
something to do in tests/arm/?

diff --git a/oldsys-preseed b/oldsys-preseed
index ac97cd3..9a64f50 100755
--- a/oldsys-preseed
+++ b/oldsys-preseed
@@ -153,14 +153,15 @@ case "`archdetect`" in
 			fi
 			umount $path/rootfs || true
 			rmdir $path/rootfs $path || true
-		elif echo "$machine" | grep -q "^Buffalo Linkstation Pro/Live"; then
+		elif echo "$machine" | grep -q "^Buffalo Linkstation Pro/Live" ||
+		   echo "$machine" | grep -q "^Buffalo Linkstation Mini"; then
 			# the default filesystem for the system partition is XFS, which isn't included
 			# in our startup environment.  However, customized boxes might have ext3
 			# instead, so try to mount anyway.
-			rootdev=/dev/sda2
 			path=/tmp/oldsys-preseed
 			mkdir -p $path/rootfs
-			mount -o ro $rootdev $path/rootfs || true
+			mount -o ro /dev/sda2 $path/rootfs ||
+				mount -o ro /dev/md1 $path/rootfs || true
 			INTERFACE=eth0
 			parse_unix_tree $path/rootfs
 			info=$path/rootfs/etc/melco/info



Furthermore, I don't really see the point with what "unset_matching_var"
does, but the naming scheme for the Mini is indeed the same (i.e. MAC
appended to the hostname).

Please note that I didn't actually tested this code on the device; I
don't know how to test all this d-i stuff.

> Looks at the code that is there for the LS Pro already.  Can this be
> adapted for the Mini?  Does the Mini use ext2/3 of XFS by default?
> (The LS Pro uses XFS, which we cannot read in Debian.)

The Mini use XFS as rootfs too, but /boot is ext3 (which is not of
interest here for oldsys-preseed, but may help for further support of
the Mini). So, I don't really see a point in preseeding it too, as
people having enough skill customizing their box would rather use some
other parameters, IMHO (I didn't even use the original system on this
device, I directly installed Debian; which means that I may not be able
to test all that "backward checking" stuff)
BTW, the uboot command-line tell the kernel the root is on /dev/sda2,
but I'm quite sure the real root is /dev/md1 which is the software RAID1
device formed by /dev/sda2 and /dev/sdb2. All the informations found on
http://buffalo.nas-central.org/wiki/LS_Mini:_Serial_Port_Output_-_Boot-Log
made me realize that the root fs is /dev/root on the original firmware,
which doesn't help here, but I think the initrd may indeed use /dev/sda2
as a "single" FS (is it even possible if the device is used as a part of
a md array?) before pivot/switching root to the md1 array.

Hope this helps.

Regards,
benjamin




--- End Message ---
--- Begin Message ---
Source: oldsys-preseed
Source-Version: 3.12

We believe that the bug you reported is fixed in the latest version of
oldsys-preseed, which is due to be installed in the Debian FTP archive:

oldsys-preseed_3.12.dsc
  to main/o/oldsys-preseed/oldsys-preseed_3.12.dsc
oldsys-preseed_3.12.tar.gz
  to main/o/oldsys-preseed/oldsys-preseed_3.12.tar.gz
oldsys-preseed_3.12_armel.udeb
  to main/o/oldsys-preseed/oldsys-preseed_3.12_armel.udeb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 616326@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Martin Michlmayr <tbm@cyrius.com> (supplier of updated oldsys-preseed package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 04 May 2011 21:28:44 +0100
Source: oldsys-preseed
Binary: oldsys-preseed
Architecture: source armel
Version: 3.12
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Martin Michlmayr <tbm@cyrius.com>
Description: 
 oldsys-preseed - Preseed debian-installer from an existing device (udeb)
Closes: 616326
Changes: 
 oldsys-preseed (3.12) unstable; urgency=low
 .
   [ Hector Oron ]
   * debian/rules: enable depends on devio-udeb for armhf
 .
   [ Martin Michlmayr ]
   * Add support for Linkstation LiveV3 and Mini, thanks Benjamin Cama.
     Closes: #616326
Checksums-Sha1: 
 953fea579586881db31a783cb00c9c6ea5b40d26 898 oldsys-preseed_3.12.dsc
 a61e3197adf5f5bbbd6deb35f70c217ed5ed1781 323743 oldsys-preseed_3.12.tar.gz
 5fe349c74ae96c23e842e4d082336d2a15c82a70 6546 oldsys-preseed_3.12_armel.udeb
Checksums-Sha256: 
 23b053cbe69ce312becaeea8fcd203d99f537e0aef4675e0c5a2d6e48aa2248b 898 oldsys-preseed_3.12.dsc
 6667533c86b2d11ffb5c34c5ccb501d6c9ed85aaa5e8a8e0f3d591027a11352b 323743 oldsys-preseed_3.12.tar.gz
 1ff3c84575cd27c787d07f2f0367dea49902680aa888daab2d33665c6d0edc68 6546 oldsys-preseed_3.12_armel.udeb
Files: 
 13aeca8137e058f9e132881f64b18fb0 898 debian-installer optional oldsys-preseed_3.12.dsc
 e4fc629b39654249da5d3d28219e9833 323743 debian-installer optional oldsys-preseed_3.12.tar.gz
 cb566d1de13dc64b6a49f513894bb916 6546 debian-installer optional oldsys-preseed_3.12_armel.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk3Bt48ACgkQKb5dImj9VJ9L3wCfU0adWPWkZnVmFawZrVnjUsvw
+2wAniFkUVTVDii2h7lObzCeUtHFdwll
=0Nrk
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: