console hangs after setting hostname

Hidetoshi Shimokawa simokawa at FreeBSD.ORG
Wed Aug 22 20:03:54 PDT 2007


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 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
>
> --
> Bruce Cran
>
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>


-- 
/\ Hidetoshi Shimokawa
\/  simokawa at FreeBSD.ORG
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syscons-lock
Type: application/octet-stream
Size: 1848 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070823/d4418aa1/syscons-lock.obj


More information about the freebsd-current mailing list