Re: console hangs after setting hostname

From: Bruce Cran <bruce_at_cran.org.uk>
Date: Fri, 24 Aug 2007 16:01:20 +0100
Hidetoshi Shimokawa wrote:
> 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?
>   

Thanks, after applying the patch the console doesn't hang, and remains 
available.  The garbled output still occurs though:

GEOM_LABEL: Label for provider da0s2 is msdosfs/IPOD.
[Unplug device]
umass0: at uhub5 port 1 (addr 2) disconnected
(da0:umass-simG0E:O0M:_0L:A0B)E:L :l oLsatb edle vmiscdeos
fs(/dIaP0O:Du mraesmso-vseidm.0:
0:0:0): removing device entry
umass0: detached

--
Bruce Cran

>
> On 8/12/07, Bruce Cran <bruce_at_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_at_muon.draftnet:/usr/obj/usr/src/sys/INSPIRON  amd64
Received on Fri Aug 24 2007 - 13:02:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:16 UTC