Bug#718250: kfreebsd-image-9.1-1-amd64: attaching USB keyboard makes system reboot

2013-07-30 Thread Petr Salinger

I performed yet another USB plug test, this time on 9.2 kernel.

gcc-4.8 -O2 compiled kernel (aka 9.2~svn253470-1 in experimental) 
crashes too.

gcc-4.8 -O1 compiled kernel survives.

I will update SVN for 9.2 and 10 kernels to use gcc-4.8 -O1.
IMO, the 9.1 should stay at gcc-4.6 -O1, as it is a previously tested 
combination. Hopefully the kernel 9.2 will enter testing before gcc-4.6 
will be removed from sid.


Petr


--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/alpine.lnx.2.00.1307300837060.18...@contest.felk.cvut.cz



Re: Bug#718250: kfreebsd-image-9.1-1-amd64: attaching USB keyboard makes system reboot

2013-07-30 Thread Lars Lansink
I can confirm that it works on my system now.
On Jul 29, 2013 11:34 PM, Robert Millan r...@debian.org wrote:

 2013/7/29 Steven Chamberlain ste...@pyro.eu.org:
  Meanwhile I have added that to the new trunk/kfreebsd-9.1/
 
  Robert:   I think we're ready for an upload of this to stable.  We can
  try to tackle GCC issues another time, even after this has migrated.

 Ack. I was already running dput when you guys fixed this. Oh well, I
 guess I can't complain. Nice job ;-)

 Please bear with me as I have to rebuild and test all over again. I'm on
 my way.

 --
 Robert Millan


 --
 To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 http://lists.debian.org/CAOfDtXNkQD+O4D31Fq4TPENmwXwfmObGu-vMVE1jqESG1p=s...@mail.gmail.com




Bug#718250: kfreebsd-image-9.1-1-amd64: attaching USB keyboard makes system reboot

2013-07-29 Thread Lars Lansink
Package: kfreebsd-image-9.1-1-amd64
Version: 9.1-3
Severity: important

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
 After upgrading a headless wheezy to jessie and after the reboot attaching 
a USB keyboard.
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
 Powered down the system, attached keyboard and screen, powered on.
   * What was the outcome of this action?
 Endless reboot loop due to KBD: stack traceback.
   * What outcome did you expect instead?
 Usable keyboard.

*** End of the template - remove these lines ***


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 9.1-1-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kfreebsd-image-9.1-1-amd64 depends on:
ii  devd   9.1-2
ii  freebsd-utils  9.1-2
ii  kbdcontrol 9.1-2
ii  kldutils   9.1-2

kfreebsd-image-9.1-1-amd64 recommends no packages.

kfreebsd-image-9.1-1-amd64 suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130729103518.6110.67128.report...@trashcan.cryptr.net



Bug#718250: kfreebsd-image-9.1-1-amd64: attaching USB keyboard makes system reboot

2013-07-29 Thread Robert Millan
2013/7/29 Lars Lansink cry...@cryptr.net:
* What led up to the situation?
  After upgrading a headless wheezy to jessie and after the reboot 
 attaching a USB keyboard.
* What exactly did you do (or not do) that was effective (or
  ineffective)?
  Powered down the system, attached keyboard and screen, powered on.
* What was the outcome of this action?
  Endless reboot loop due to KBD: stack traceback.
* What outcome did you expect instead?
  Usable keyboard.

Can you reproduce this using kfreebsd-downloader-9.1?


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caofdtxmnggd_xa7l_ua+gk9vhde9u+enerr_u3zdkjkzdue...@mail.gmail.com



Bug#718250: kfreebsd-image-9.1-1-amd64: attaching USB keyboard makes system reboot

2013-07-29 Thread Steven Chamberlain
Control: severity -1 grave

I think a panic during a fairly typical usecase like this deserves
severity 'grave';  we would not want 9.1 to migrate to testing if this
bug could hurt more users.

Lars, please try to show us a stack trace of the panic if possible.
Even a photograph of it on-screen may be sufficient.

Thanks,
Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51f6a88e.2000...@pyro.eu.org



Processed: Re: Bug#718250: kfreebsd-image-9.1-1-amd64: attaching USB keyboard makes system reboot

2013-07-29 Thread Debian Bug Tracking System
Processing control commands:

 severity -1 grave
Bug #718250 [kfreebsd-image-9.1-1-amd64] kfreebsd-image-9.1-1-amd64: attaching 
USB keyboard makes system reboot
Severity set to 'grave' from 'important'

-- 
718250: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718250
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.b718250.137511951126213.transcr...@bugs.debian.org



Bug#718250: kfreebsd-image-9.1-1-amd64: attaching USB keyboard makes system reboot

2013-07-29 Thread Christoph Egger
Hi all!

Steven Chamberlain ste...@pyro.eu.org writes:
 I think a panic during a fairly typical usecase like this deserves
 severity 'grave';  we would not want 9.1 to migrate to testing if this
 bug could hurt more users.

 Lars, please try to show us a stack trace of the panic if possible.
 Even a photograph of it on-screen may be sufficient.

FWIW I've been seeing the same thing on my notebook recently when
plugging in a presenter. IIRC it happens to me both, on the 9.1 and the
10 kernel but only recently. Might find some time to do some testing
myself, however there was nothing to be seen on screen during these
resets (might be related to intel KMS, going to turn it off for a
test). Any other suggestions on how one would get at the stack trace?

  Christoph

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87k3k9gsbg@anonymous.siccegge.de



Bug#718250: kfreebsd-image-9.1-1-amd64: attaching USB keyboard makes system reboot

2013-07-29 Thread Steven Chamberlain
Hi!

On 29/07/13 19:00, Christoph Egger wrote:
 [...] IIRC it happens to me both, on the 9.1 and the
 10 kernel but only recently.

It could be due to GCC-4.8 and/or use of -O2 compiler optimisations,
which were enabled only in the most recent upload of each.

 Any other suggestions on how one would get at the stack trace?

I guess modern notebooks don't have a real serial port any more, so I
suppose serial console is not an option.  (And USB-based serial ports
probably stop working during a crash like this).

It is possible to use a dump disk, but AFAIK we don't have the necessary
GDB support or wrapper to be able to read it yet.  In case you want to
try anyway, this worked for me in the past:

* dumpon -v /dev/adX (I think an active swap partition can be used)
* partition type must be 'FreeBSD' (and not 'Linux swap' for example)
* kernel core will be dumped there on most types of crash, and then:
* savecore -v -C /var/crash /dev/adX

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51f6b136.1030...@pyro.eu.org



Bug#718250: kfreebsd-image-9.1-1-amd64: attaching USB keyboard makes system reboot

2013-07-29 Thread Petr Salinger

[...] IIRC it happens to me both, on the 9.1 and the
10 kernel but only recently.


It could be due to GCC-4.8 and/or use of -O2 compiler optimisations,
which were enabled only in the most recent upload of each.


Perfect guess!

I have been able to confirm crash also on my PC,
usually with only PC/2 keyboard.

After switch back to gcc-4.6, it does not crash anymore.

Please do upload from just created glibc-bsd/kfreebsd-9.1/

The fix
  http://security.FreeBSD.org/patches/SA-13:08/nfsserver.patch
for 
kfreebsd-9: CVE-2013-4851: nfsserver applies wrong credentials

is not yet included.

Petr


--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/alpine.lnx.2.00.1307292131220.22...@contest.felk.cvut.cz



Re: Bug#718250: kfreebsd-image-9.1-1-amd64: attaching USB keyboard makes system reboot

2013-07-29 Thread Steven Chamberlain
On 29/07/13 20:38, Petr Salinger wrote:
 Please do upload from just created glibc-bsd/kfreebsd-9.1/

 The fix
   http://security.FreeBSD.org/patches/SA-13:08/nfsserver.patch
 for kfreebsd-9: CVE-2013-4851: nfsserver applies wrong credentials
 is not yet included.

Meanwhile I have added that to the new trunk/kfreebsd-9.1/

Robert:   I think we're ready for an upload of this to stable.  We can
try to tackle GCC issues another time, even after this has migrated.

Thank you both!
Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51f6c7c0.5020...@pyro.eu.org



Re: Bug#718250: kfreebsd-image-9.1-1-amd64: attaching USB keyboard makes system reboot

2013-07-29 Thread Robert Millan
2013/7/29 Steven Chamberlain ste...@pyro.eu.org:
 Meanwhile I have added that to the new trunk/kfreebsd-9.1/

 Robert:   I think we're ready for an upload of this to stable.  We can
 try to tackle GCC issues another time, even after this has migrated.

Ack. I was already running dput when you guys fixed this. Oh well, I
guess I can't complain. Nice job ;-)

Please bear with me as I have to rebuild and test all over again. I'm on my way.

-- 
Robert Millan


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOfDtXNkQD+O4D31Fq4TPENmwXwfmObGu-vMVE1jqESG1p=s...@mail.gmail.com



Re: Bug#718250: kfreebsd-image-9.1-1-amd64: attaching USB keyboard makes system reboot

2013-07-29 Thread Robert Millan
2013/7/29 Robert Millan r...@debian.org:
 2013/7/29 Steven Chamberlain ste...@pyro.eu.org:
 Meanwhile I have added that to the new trunk/kfreebsd-9.1/

 Robert:   I think we're ready for an upload of this to stable.  We can
 try to tackle GCC issues another time, even after this has migrated.

 Ack. I was already running dput when you guys fixed this. Oh well, I
 guess I can't complain. Nice job ;-)

 Please bear with me as I have to rebuild and test all over again. I'm on my 
 way.

Btw I would be soo happy if we could use the same compiler as upstream
and forget about this kind of problems ;-)

-- 
Robert Millan


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caofdtxm1lb_crtm+mzvteg0pfwrtghe1mlvxja8sfvocmp8...@mail.gmail.com