Your message dated Thu, 20 Dec 2012 20:48:06 +0000
with message-id <e1tln2e-0007qv...@franck.debian.org>
and subject line Bug#693263: fixed in qcontrol 0.4.2-7+wheezy1
has caused the Debian Bug report #693263,
regarding Please add support for disabling the PIC watchdog on TS-219p II
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 ow...@bugs.debian.org
immediately.)
--
693263: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693263
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Package: qcontrol
Version: 0.4.2+svn-r40-1
Serverity: wishlist
Tags: patch
Hello,
recently I bought a new Qnap device (TS-219p II, the one with the USB
3.0 ports) and tried to install Debian on it. (also see the thread [1]
on the debian-arm mailing list) The Debian installer couldn't
successfully finish it's job on the device because - as we found out -
the PIC on at least this hardware revision has a watchdog which resets
the device after 5 minutes if enabled.
The solution Qnap used to solve this is simply disabling the PIC
watchdog using their own drivers and a binary called "pic_raw". Since
qcontrol is the solution on Debian used to communicate with the PIC, I
added an option to disable the PIC watchdog.
I don't know if the watchdog also exists or is enabled by default in
other Qnap devices or hardware revisions but it would probably be a
good idea to disable it at boot time for at least this device. Please
find the patch for the added lines of code attached.
[1] http://lists.debian.org/debian-arm/2012/11/threads.html#00013
- --
Helmut Pozimski
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iJwEAQECAAYFAlCkCUoACgkQGPN+zM7FMNFiRgQAp7n+PDaHnh+zZupsTmcPwIyh
0DHlyJ1Uuc84ppFZs1DtbQmfFjRPWwLTbVr7OqM49vqgq8Icj+oEsIk7wPg7F3MU
zCD3yqEeOxTaPKfQD+qEeUNLnacz3ON25LLqF5j3E5MupdwHr3v60XkxBEjkTueA
L/mgjiqHN8TRroEqpIA=
=iPx8
-----END PGP SIGNATURE-----
diff --git a/ts219.c b/ts219.c
index b50d629..ec84925 100644
--- a/ts219.c
+++ b/ts219.c
@@ -315,6 +315,21 @@ static int ts219_autopower(int argc, const char **argv)
return 0;
}
+static int ts219_wdt(int argc, const char **argv)
+{
+ char code = 0;
+
+ if (argc != 1)
+ return -1;
+ if (strcmp(argv[0], "off") == 0)
+ code = 0x67;
+ else
+ return -1;
+
+ return serial_write(&code, 1);
+ return 0;
+}
+
static int ts219_init(int argc, const char **argv UNUSED)
{
int err;
@@ -361,6 +376,12 @@ static int ts219_init(int argc, const char **argv UNUSED)
"Control the automatic power mechanism, options are:\n"
"\ton\n\toff\n",
ts219_autopower);
+ err = register_command("watchdog",
+ "Disable the PIC watchdog",
+ "Watchdog options are:\n"
+ "\toff",
+ ts219_wdt);
+
return pthread_create(&ts219_thread, NULL, serial_poll, NULL);
}
--- End Message ---
--- Begin Message ---
Source: qcontrol
Source-Version: 0.4.2-7+wheezy1
We believe that the bug you reported is fixed in the latest version of
qcontrol, which is due to be installed in the Debian FTP archive.
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 693...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ian Campbell <i...@hellion.org.uk> (supplier of updated qcontrol 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 ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 20 Dec 2012 14:41:12 +0000
Source: qcontrol
Binary: qcontrol qcontrol-udeb
Architecture: source armel
Version: 0.4.2-7+wheezy1
Distribution: wheezy
Urgency: low
Maintainer: Debian QA Group <packa...@qa.debian.org>
Changed-By: Ian Campbell <i...@hellion.org.uk>
Description:
qcontrol - hardware control for QNAP Turbo Station devices
qcontrol-udeb - hardware control for QNAP Turbo Station devices (udeb)
Closes: 693263
Changes:
qcontrol (0.4.2-7+wheezy1) testing; urgency=low
.
* Disable firmware watchdog on TS-219p II and TS-419p II. (Closes: #693263)
Checksums-Sha1:
797cbd9eba49809fa3e982393838d2ec23075638 1962 qcontrol_0.4.2-7+wheezy1.dsc
78005d89744cb1e2277484c2ea78b210e1a616bc 12981 qcontrol_0.4.2-7+wheezy1.diff.gz
f5d01218233117446530f49af244567f0e22a037 19278
qcontrol_0.4.2-7+wheezy1_armel.deb
e2e70f51f3fa9ad9e0afe76e721b300091c15e11 57350
qcontrol-udeb_0.4.2-7+wheezy1_armel.udeb
Checksums-Sha256:
73697de54e9d6aba1251e48a784d18e8e97e537caf2ab4c59e0d45799e974835 1962
qcontrol_0.4.2-7+wheezy1.dsc
38dc6d01634cf99a08d5dfe89be31f4d2da41e3f6cc62deb701893eb2ce67132 12981
qcontrol_0.4.2-7+wheezy1.diff.gz
3808f5a714aee3cb4a13d317104b848b888a196cc3f355765842ec47dc7d9aa6 19278
qcontrol_0.4.2-7+wheezy1_armel.deb
3aeafd36b44c5d94b782c9d3c7b5fc4abf3f3f35d64cf9fe7203a1693eacb35f 57350
qcontrol-udeb_0.4.2-7+wheezy1_armel.udeb
Files:
461ee2fd8cdcff90dc2231c02f8d0362 1962 utils optional
qcontrol_0.4.2-7+wheezy1.dsc
2ebd6ad8dd00e0461cdc4f5fc63701ed 12981 utils optional
qcontrol_0.4.2-7+wheezy1.diff.gz
9cc1731e000bcdf3f1ba8b7441835019 19278 utils optional
qcontrol_0.4.2-7+wheezy1_armel.deb
a8ef315431f628f060987260b4171929 57350 debian-installer optional
qcontrol-udeb_0.4.2-7+wheezy1_armel.udeb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJQ02yDAAoJECouJZ9pWkbGp4sQALrg5FVo/epiHIiyE5mgbEMN
yQktDDlxSxooJEZQrhxCHnA5YtdaSOljS7jpkGFWTp3mscAYEcaP5rpKwg2IpURP
mnE3/fw2JgwLVCeUgoY6Ac6RnqRziAlTfgLA9DYsh1SIykZsHwsapcyMbrxkqpPH
Yc8b5tMJMrhBUxT5vMu73ZES2DpNK4eoFmg8BTyetnBgB82eMq8neq1Sgk7OeOga
yPzTYNsPWr6xN9srJEPEp3TVp9gJz9Y+HxAz1+0mz1rY5jwQbMJPfDGEEwV839XA
iEEt6eS3z37pJGHmE/B/kr3SpmyJnRzHeyXkJxbD6ACIWvSpliLM7DjpuWJS2JRf
Vd4w2jYzU7caxdwjRywP2wdQgx73yQyyh0X+fwZkh7NjaN2R+I+OVTepNoJ6GLL7
YBowzMIBYRUu2nku+iFQZfA0wkUclN9rCnwuy2tWgx6/pFKsVq3Odj7wHkVRvZGn
bNdbzMwTZaP8z8D0gLI80qmjqB2D3BrFLtldIaGPgwWZKLxkMAWQzMeT5X4IdffU
VWrhEXIp0IYiOMtlmqy50wsmS+SuOTwcVjE7j61oQmHcrkGC1hMxk3+0TP2vzXGl
YdxAqXllQzc7oyXLdIUT8NvbSXKprDyzmyB1/qxzJxBNSd1vC4CUpVZQpif1CGWz
B2FxAtSNFy8L/3LXuhiT
=eHAL
-----END PGP SIGNATURE-----
--- End Message ---