Date: Thu, 23 Aug 2007 11:37:20 +0900 From: "Hidetoshi Shimokawa" <simokawa@FreeBSD.ORG> To: "Bruce Cran" <bruce@cran.org.uk>, "KOT MATPOCKuH" <matpockuh@gmail.com>, gary.jennejohn@freenet.de Cc: current@freebsd.org Subject: Re: console hangs after setting hostname Message-ID: <626eb4530708221937h31c8f37fu9527e941ed4000b6@mail.gmail.com> In-Reply-To: <46BE1D6C.6040903@cran.org.uk> References: <3979a4b0707291120v4927a20cm357b845f6d1f3567@mail.gmail.com> <46BE1D6C.6040903@cran.org.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_2094_784845.1187836640200 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline It looks that the low level console is not locked though the high level console is locked by Giant. Could you try the attached patch? On 8/12/07, Bruce Cran <bruce@cran.org.uk> wrote: > KOT MATPOCKuH wrote: > > I got a problem. After messages on console: > > ... > > Mounting local files systems:. > > Setting hostname: green. > > fxp: link state changed to UP > > nfe0: link state changed to DOWN > > > > console hangs. > > No any new messages, I can't input anything from keyboard, changing virtual > > consoles is not working. After X is started, console is not switched to xdm > > display. > > But system is works - I can login to system via ssh, ... > > > > dmesg.boot is attached. > > > > Where is a problem and what I need to do? :) > > > > I'm also seeing the console hang, but in a different situation. If I > attach and remove my iPod the console hangs - the only key press that's > accepted is ctrl-alt-esc to break into the debugger. > > umass0: <Apple iPod, class 0/0, rev 2.00/0.01, addr 2> on uhub5 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: <Apple iPod 1.62> Removable Direct Access SCSI-0 device > da0: 40.000MB/s transfers > da0: 19073MB (39063024 512 byte sectors: 255H 63S/T 2431C) > (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 2 54 d ef 0 0 1 0 > (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (da0:umass-sim0:0:0:0): SCSI Status: Check Condition > (da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:21,0 > (da0:umass-sim0:0:0:0): Logical block address out of range > (da0:umass-sim0:0:0:0): Unretryable error > (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 2 54 d ef 0 0 1 0 > (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (da0:umass-sim0:0:0:0): SCSI Status: Check Condition > (da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:21,0 > (da0:umass-sim0:0:0:0): Logical block address out of range > (da0:umass-sim0:0:0:0): Unretryable error > GEOM_LABEL: Label for provider da0s2 is msdosfs/IPOD. > > When I remove the iPod I get the following messages: > > umass0: at uhub5 port 1 (addr 2) disconnected > da0:umass-sim0:0:0G:0EO :M _LlAoBst L d ev aibceel > )m(sd ao0s:fs m/aIsPsO-Ds irme0m:o0v:ed :.0 > : removing device entry > umass0: detached > > enter: manual escape to debugger > [thread pid 19 tid 100018 ] > Stopped at kdb_enter+0x31: leave > db> wh > Tracing pid 19 tid 100018 td 0xffffff000112d350 > kdb_enter() > scgetc() > sckbdevent() > kbdmux_intr() > kdbmux_kdb_intr() > taskqueue_run() > taskqueue_swi_giant_run() > ithread_loop > fork_exit() > fork_trampoline() > --- trap 0, rip = 0, rsp = 0xffffffff9ca59d30, rbp = 0 --- > db> > > I'm using ULE. > uname -a: > FreeBSD muon.draftnet 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Sat Aug 11 > 21:07:09 BST 2007 > brucec@muon.draftnet:/usr/obj/usr/src/sys/INSPIRON amd64 > > -- > Bruce Cran > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- /\ Hidetoshi Shimokawa \/ simokawa@FreeBSD.ORG ------=_Part_2094_784845.1187836640200 Content-Type: application/octet-stream; name=syscons-lock Content-Transfer-Encoding: base64 X-Attachment-Id: f_f5on65lt Content-Disposition: attachment; filename="syscons-lock" SW5kZXg6IHN5c2NvbnMuYwo9PT09PT09PT09PT09PT09PT09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mVkIHN0YXR1cyBmb3Igc3BsYXNoIHNjcmVlbiAqLwor CXN0cnVjdCBtdHgJc2NyX2xvY2s7CQkvKiBtdXRleCBmb3Igc2NfcHV0cygpICovCiAjaWZkZWYg X1NDUl9NRF9TVEFUX0RFQ0xBUkVEXwogCXNjcl9tZF9zdGF0X3QJbWQ7CQkJLyogbWFjaGluZSBk ZXBlbmRlbnQgdmFycyAqLwogI2VuZGlmCg== ------=_Part_2094_784845.1187836640200--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?626eb4530708221937h31c8f37fu9527e941ed4000b6>