Date: Wed, 10 Jul 2002 22:31:09 -0400 From: "Charlie Livingston" <charlie@sysninjas.com> To: <FreeBSD-gnats-submit@FreeBSD.org> Cc: <lcdproc@lists.omnipotent.net> Subject: ports/40441: sysutils/lcdproc + HD44780 + 'winamp' wiring scheme = Core Dump Message-ID: <007301c22883$04ab57c0$c801010a@CHARLIE>
next in thread | raw e-mail | index | archive | help
>Number: 40441 >Category: ports >Synopsis: sysutils/lcdproc + HD44780 + 'winamp' wiring scheme =3D = >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 10 19:40:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Charlie Livingston >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: System: FreeBSD wiggum.-snip- 4.6-STABLE FreeBSD 4.6-STABLE #1: Mon Jun = 24 21:06:28 EDT 2002 root@wiggum.-snip-- :/usr/obj/usr/src/sys/WIGGUM = i386 >Description: After Reconfiguring the sysutils/lcdproc port to compile the included HD44780 LCD driver, running the program gives the following error: LCDd version 0.4.3 starting Built on Jul 10 2002, protocol version 0.3, API version 0.4 Set report level to 5, output to stderr init_drivers() load_driver(HD44780,,) Bus error (core dumped) I'm using a single LCD with a HD44780-compatable controller, using the wiring scheme outlined at the following URL: http://lrp.steinkuehler.net/Packages/LCDProc/images/winamplcd.pdf /* ktrace output */ wiggum# ktrace /usr/local/sbin/LCDd -c /usr/local/etc/LCDd.conf ; kdump = | tail -n 25 LCDd version 0.4.3 starting Built on Jul 10 2002, protocol version 0.3, API version 0.4 Set report level to 5, output to stderr init_drivers() load_driver(HD44780,,) Bus error (core dumped) 23563 LCDd RET write 14/0xe 23563 LCDd CALL write(0x2,0xbfbfef80,0x1) 23563 LCDd GIO fd 2 wrote 1 byte " " 23563 LCDd RET write 1 23563 LCDd CALL write(0x2,0xbfbfef70,0x16) 23563 LCDd GIO fd 2 wrote 22 bytes "load_driver(HD44780,,)" 23563 LCDd RET write 22/0x16 23563 LCDd CALL write(0x2,0xbfbfef40,0x1) 23563 LCDd GIO fd 2 wrote 1 byte " " 23563 LCDd RET write 1 23563 LCDd CALL sched_setscheduler(0,0x3,0xbfbffa24) 23563 LCDd RET sched_setscheduler 0 23563 LCDd CALL sysarch(0x4,0xbfbff9ac) 23563 LCDd RET sysarch 0 23563 LCDd CALL sysarch(0x4,0xbfbff9ac) 23563 LCDd RET sysarch 0 23563 LCDd CALL sysarch(0x4,0xbfbff9ac) 23563 LCDd RET sysarch 0 23563 LCDd PSIG SIGBUS SIG_DFL 23563 LCDd NAMI "LCDd.core" wiggum# /* Appropriate dmesg output */ ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 >How-To-Repeat: wiggum# cd /usr/ports/sysutils/lcdproc wiggum# make configure =3D=3D=3D> Extracting for lcdproc-0.4.3 *-SNIP-* wiggum# cd work/lcdproc-0.4.3 && ./configure --enable-drivers=3Dhd44780 = \ && cd ../.. && make install =3D=3D=3D> Compressing manual pages for lcdproc-0.4.3 =3D=3D=3D> Registering installation for lcdproc-0.4.3 *-SNIP-* wiggum# wiggum# /usr/local/sbin/LCDd -c /usr/local/etc/LCDd.conf LCDd version 0.4.3 starting Built on Jul 10 2002, protocol version 0.3, API version 0.4 Set report level to 5, output to stderr init_drivers() load_driver(HD44780,,) Bus error (core dumped) /* contents of my /usr/local/etc/LCDd.conf */ [server] Driver=3DHD44780 Bind=3D127.0.0.1 Port=3D13666 ReportLevel=3D5 ReportToSyslog=3Dno WaitTime=3D5 User=3Dnobody ServerScreen=3Dno Foreground=3Dyes Heartbeat=3Dopen InitialHeartbeat=3Don [HD44780] Port=3D0x378 ConnectionType=3Dwinamp Keypad=3Dno Backlight=3Dno Size=3D16x4 DelayBus=3Dtrue >Fix: Unknown ------=_NextPart_000_0070_01C22861.7D00FA30 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#d8d0c8><FONT size=3D2> <DIV>(resubmitted due to "send-pr: mysterious mail failure.")</DIV> <DIV><BR>>Submitter-Id: =20 current-users<BR>>Originator: Charlie=20 Livingston<BR>>Organization:<BR>>Confidential: =20 no<BR>>Synopsis: sysutils/lcdproc + = HD44780 +=20 'winamp' wiring scheme =3D Core=20 Dump<BR>>Severity: =20 serious<BR>>Priority: =20 medium<BR>>Category: =20 ports<BR>>Class: =20 sw-bug<BR>>Release: FreeBSD = 4.6-STABLE=20 i386<BR>>Environment:<BR>System: FreeBSD wiggum.-snip- 4.6-STABLE = FreeBSD=20 4.6-STABLE #1: Mon Jun 24 21:06:28 EDT 2002 <A=20 href=3D"mailto:root@wiggum.-snip">root@wiggum.-snip</A>--=20 :/usr/obj/usr/src/sys/WIGGUM i386</DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <DIV>>Description:<BR>After Reconfiguring the sysutils/lcdproc port = to=20 compile the included<BR>HD44780 LCD driver, running the program gives = the=20 following error:</DIV> <DIV> </DIV> <DIV>LCDd version 0.4.3 starting<BR>Built on Jul 10 2002, protocol = version 0.3,=20 API version 0.4<BR>Set report level to 5, output to=20 stderr<BR>init_drivers()<BR>load_driver(HD44780,,)<BR>Bus error (core=20 dumped)</DIV> <DIV> </DIV> <DIV>I'm using a single LCD with a HD44780-compatable controller, using=20 the<BR>wiring scheme outlined at the following URL:</DIV> <DIV> </DIV> <DIV><A=20 href=3D"http://lrp.steinkuehler.net/Packages/LCDProc/images/winamplcd.pdf= >Release-Note: >Audit-Trail: >Unformatted: This is a multi-part message in MIME format. ------=_NextPart_000_0070_01C22861.7D00FA30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable (resubmitted due to "send-pr: mysterious mail failure.") Core Dump ">http://lrp.steinkuehler.net/Packages/LCDProc/images/winamplcd.pdf</A></= DIV> <DIV> </DIV> <DIV>/* ktrace output */<BR>wiggum# ktrace /usr/local/sbin/LCDd -c=20 /usr/local/etc/LCDd.conf ; kdump | tail -n 25<BR>LCDd version 0.4.3=20 starting<BR>Built on Jul 10 2002, protocol version 0.3, API version = 0.4<BR>Set=20 report level to 5, output to=20 stderr<BR>init_drivers()<BR>load_driver(HD44780,,)<BR>Bus error (core=20 dumped)<BR> 23563 LCDd RET = write=20 14/0xe<BR> 23563 LCDd CALL =20 write(0x2,0xbfbfef80,0x1)<BR> 23563 LCDd =20 GIO fd 2 wrote 1 = byte<BR> =20 "<BR> "<BR> 23563=20 LCDd RET write 1<BR> 23563=20 LCDd CALL =20 write(0x2,0xbfbfef70,0x16)<BR> 23563 LCDd =20 GIO fd 2 wrote 22 = bytes<BR> =20 "load_driver(HD44780,,)"<BR> 23563 LCDd =20 RET write 22/0x16<BR> 23563 = LCDd =20 CALL write(0x2,0xbfbfef40,0x1)<BR> 23563 = LCDd =20 GIO fd 2 wrote 1 = byte<BR> =20 "<BR> "<BR> 23563=20 LCDd RET write 1<BR> 23563=20 LCDd CALL =20 sched_setscheduler(0,0x3,0xbfbffa24)<BR> 23563 = LCDd =20 RET sched_setscheduler 0<BR> 23563 = LCDd =20 CALL sysarch(0x4,0xbfbff9ac)<BR> 23563 = LCDd =20 RET sysarch 0<BR> 23563 LCDd = CALL =20 sysarch(0x4,0xbfbff9ac)<BR> 23563 LCDd =20 RET sysarch 0<BR> 23563 LCDd = CALL =20 sysarch(0x4,0xbfbff9ac)<BR> 23563 LCDd =20 RET sysarch 0<BR> 23563 LCDd = PSIG =20 SIGBUS SIG_DFL<BR> 23563 LCDd NAMI =20 "LCDd.core"<BR>wiggum#</DIV> <DIV> </DIV> <DIV>/* Appropriate dmesg output */<BR>ppc0: <Parallel port> at = port=20 0x378-0x37f irq 7 on isa0<BR>ppc0: Generic chipset (NIBBLE-only) in = COMPATIBLE=20 mode<BR>lpt0: <Printer> on ppbus0<BR>lpt0: Interrupt-driven = port<BR>ppi0:=20 <Parallel I/O> on ppbus0</DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <DIV>>How-To-Repeat:</DIV> <DIV> </DIV> <DIV>wiggum# cd /usr/ports/sysutils/lcdproc<BR>wiggum# make=20 configure<BR>=3D=3D=3D> Extracting for = lcdproc-0.4.3<BR>*-SNIP-*</DIV> <DIV> </DIV> <DIV>wiggum# cd work/lcdproc-0.4.3 && ./configure=20 --enable-drivers=3Dhd44780 \<BR> && cd ../.. = && make=20 install<BR>=3D=3D=3D> Compressing manual pages for=20 lcdproc-0.4.3<BR>=3D=3D=3D> Registering installation for=20 lcdproc-0.4.3<BR>*-SNIP-*</DIV> <DIV> </DIV> <DIV>wiggum# wiggum# /usr/local/sbin/LCDd -c = /usr/local/etc/LCDd.conf<BR>LCDd=20 version 0.4.3 starting<BR>Built on Jul 10 2002, protocol version 0.3, = API=20 version 0.4<BR>Set report level to 5, output to=20 stderr<BR>init_drivers()<BR>load_driver(HD44780,,)<BR>Bus error (core=20 dumped)</DIV> <DIV> </DIV> <DIV>/* contents of my /usr/local/etc/LCDd.conf=20 */<BR>[server]<BR>Driver=3DHD44780<BR>Bind=3D127.0.0.1<BR>Port=3D13666<BR= >ReportLevel=3D5<BR>ReportToSyslog=3Dno<BR>WaitTime=3D5<BR>User=3Dnobody<= BR>ServerScreen=3Dno<BR>Foreground=3Dyes<BR>Heartbeat=3Dopen<BR>InitialHe= artbeat=3Don</DIV> <DIV> </DIV> <DIV>[HD44780]<BR>Port=3D0x378<BR>ConnectionType=3Dwinamp<BR>Keypad=3Dno<= BR>Backlight=3Dno<BR>Size=3D16x4<BR>DelayBus=3Dtrue</DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <DIV>>Fix:<BR>Unknown<BR></FONT></DIV></BODY></HTML> ------=_NextPart_000_0070_01C22861.7D00FA30-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007301c22883$04ab57c0$c801010a>