Hello:

I want to be able to use a laptop as a serial console from time to time.  My
current laptop does not have a RS232 serial port, so, I found a PCMCIA card
with a serial port.

It appears to be recognized fine by the OS on boot (dmesg below).  However,
when I try to use minicom on that line (/dev/cua03), it does not work.  I
cannot establish a connection to the "server" from the minicom console.
Also, even though minicom appears to come up ok, when I try to exit from
minicom, I get the "reseting" message, the screen clears, but then the
terminal window hangs.  I can see that the minicom process is still up.  I
can kill it (pkill -9 minicom), and then I get a prompt back in the terminal
window that was previously frozen.

If I try to shutdown with the "hung" minicom process, shutdown eventually
gives me "some processes would not die; ps axl advised."  This would seem to
indicate I have a problem with the crappy pcmcia card.

Also, if I use a usb serial adapter I have (which is in use elsewhere - and
change /dev/cua03 to /dev/ttyU0 in minicom), minicom works.

So, is there anything I can do, or is this a hardware problem?  How can I
find out for sure?

Thanks for any advice.
Ted


DMESG follows (pcmcia and com3 lines are near the end):

OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009
    [email protected]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz ("GenuineIntel"
686-class) 1.99 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS
,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR
real mem  = 266891264 (254MB)
avail mem = 249249792 (237MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/22/03, BIOS32 rev. 0 @ 0xfd891,
SMBIOS rev. 2.31 @ 0xd8010 (15 entries)
bios0: vendor Phoenix Technologies LTD version "R0202B3" date 04/22/03
bios0: Sony Corporation PCG-V505BC(UC)
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP BOOT SSDT SSDT
acpi0: wakeup devices PWRB(S5) CRD0(S3) LAN_(S3) USB1(S3) USB2(S3) USB3(S3)
EC0_(S5) MODE(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (HUB_)
acpiec0 at acpi0
acpicpu0 at acpi0: C2, C1, FVS, 2000, 1200 MHz
acpitz0 at acpi0: critical temperature 90 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PWRB
acpibat0 at acpi0: BAT1 type LION oem "Sony Corp."
acpiac0 at acpi0: AC unit online
bios0: ROM list: 0xc0000/0x10000 0xd8000/0x4000! 0xdc000/0x4000!
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82845 Host" rev 0x04
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xec000000, size 0x4000000
ppb0 at pci0 dev 1 function 0 "Intel 82845 AGP" rev 0x04
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility M6" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: irq 9
drm0 at radeondrm0
ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x42
pci2 at ppb1 bus 2
cbb0 at pci2 dev 5 function 0 "Ricoh 5C475 CardBus" rev 0xb8: couldn't map
interrupt
"Ricoh 5C551 Firewire" rev 0x00 at pci2 dev 5 function 1 not configured
ohci0 at pci2 dev 7 function 0 "NEC USB" rev 0x43: irq 9, version 1.0,
legacy support
ohci1 at pci2 dev 7 function 1 "NEC USB" rev 0x43: couldn't map interrupt
ehci0 at pci2 dev 7 function 2 "NEC USB" rev 0x04: couldn't map interrupt
fxp0 at pci2 dev 8 function 0 "Intel PRO/100 VE" rev 0x42: couldn't map
interrupt
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "NEC OHCI root hub" rev 1.00/1.00 addr 1
ichpcib0 at pci0 dev 31 function 0 "Intel 82801CAM LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801CAM IDE" rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <IC25N040ATMR04-0>
wd0: 16-sector PIO, LBA48, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <MATSHITA, UJDA745 DVD/CDRW, 1.05> ATAPI
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 "Intel 82801CA/CAM SMBus" rev 0x02:
polling
iic0 at ichiic0
spdmem0 at iic0 addr 0x54: 256MB DDR SDRAM non-parity PC2300CL2.5
auich0 at pci0 dev 31 function 5 "Intel 82801CA/CAM AC97" rev 0x02"Intel
82801CA/CAM Modem" rev 0x02 at pci0 dev 31 function 6 not configured
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pcic0 at isa0 port 0x3e0/2 iomem 0xd0000/16384
pcic0 controller 0: <Intel 82365SL rev 1> has socket A only
pcmcia0 at pcic0 controller 0 socket 0
com3 at pcmcia0 function 0 "CF CARD, GENERIC, " port 0x3f8/16: ns8250, no
fifo
, irq 3pcic0: irq 4, polling enabled
biomask efe5 netmask efe5 ttymask ffff
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
umass0 at uhub0 port 1 configuration 1 interface 0 "PNY USB 2.0 FD" rev
2.00/2.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <PNY, USB 2.0 FD, 8.02> SCSI0 0/direct
removable
sd0: 3835MB, 512 bytes/sec, 7856127 sec total

Reply via email to