From owner-freebsd-questions Thu Mar 27 10:11:10 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA02366 for questions-outgoing; Thu, 27 Mar 1997 09:52:04 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA02308 for ; Thu, 27 Mar 1997 09:51:56 -0800 (PST) Received: from bridget.devlab.org (root@[194.185.12.6]) by who.cdrom.com (8.8.5/8.6.11) with SMTP id GAA04142 for ; Thu, 27 Mar 1997 06:47:12 -0800 (PST) Received: from localhost (matra@localhost [127.0.0.1]) by bridget.devlab.org (8.6.12/8.6.9) with SMTP id DAA00086 for ; Fri, 21 Mar 1997 03:58:45 GMT Date: Fri, 21 Mar 1997 03:58:45 +0000 (GMT) From: matra X-Sender: matra@bridget.devlab.org To: questions@freebsd.org Subject: sio problems ... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi! I have a little problem with FreeBSD and a 33.600bps modem with a 16550A UART chip . First of all my kernel conf file : ------- cut here ------------------------------------------------- # # rook kernel , 17-03-1997 # machine "i386" cpu "I386_CPU" cpu "I486_CPU" cpu "I586_CPU" ident rook maxusers 10 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options NFS #Network Filesystem options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 options BOUNCE_BUFFERS #include support for DMA bounce buffers options UCONSOLE #Allow users to grab the console options COM_MULTIPORT options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options SYSVSHM options SYSVSEM options SYSVMSG config kernel root on wd0 controller isa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr # syscons is the default console driver, resembling an SCO console device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint #options "PCVT_FREEBSD=210" # pcvt running on FreeBSD 2.1 #options XSERVER # include code for XFree86 # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines #options PCVT_SCANSET=2 # IBM keyboards are non-std # Mandatory, don't remove device npx0 at isa? port "IO_NPX" irq 13 vector npxintr # # Laptop support (see LINT for more options) # #device apm0 at isa? # Advanced Power Management #options APM_BROKEN_STATCLOCK # Workaround some buggy APM BIOS device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device sio2 at isa? port "IO_COM3" tty irq 4 vector siointr device sio3 at isa? port "IO_COM4" tty irq 3 vector siointr device lpt0 at isa? port? tty irq 7 vector lptintr device lpt1 at isa? port? tty # Order is important here due to intrusive probes, do *not* alphabetize # this list of network interfaces until the probes have been fixed. # Right now it appears that the ie0 must be probed before ep0. See # revision 1.20 of this file. pseudo-device loop pseudo-device log # ijppp uses tun instead of ppp device #pseudo-device ppp 1 pseudo-device tun 1 pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's pseudo-device snp 1 pseudo-device bpfilter 4 pseudo-device speaker # sound configuration controller snd0 device sb0 at isa? port 0x220 irq 5 conflicts drq 1 vector sbintr device sbxvi0 at isa? drq 5 device sbmidi0 at isa? port 0x330 device opl0 at isa? port 0x388 conflicts # end of rook kernel configuration ----- cut here ------------------------------------------- My modem is an internal 33.6BPS configured as a COM3-IRQ4 and works correctly with dos and Linux . There is wat Linux says about it ... ----- cut here ------------------------------------------- Console: 8 point font, 480 scans Console: colour VGA+ 80x60, 1 virtual console (max 63) pcibios_init : BIOS32 Service Directory structure at 0xc00fc090 pcibios_init : BIOS32 Service Directory entry at 0xfc410 pcibios_init : PCI BIOS revision 2.00 entry at 0xfc440 Probing PCI hardware. Calibrating delay loop.. ok - 49.77 BogoMIPS Memory: 14452k/16184k available (776k kernel code, 384k reserved, 572k data) Swansea University Computer Society NET3.037 for Linux 2.1 NET3: Unix domain sockets 0.14 for Linux NET3.037. Swansea University Computer Society TCP/IP for NET3.037 IP Protocols: ICMP, UDP, TCP Checking 386/387 coupling... Ok, fpu using exception 16 error reporting. Checking 'hlt' instruction... Ok. Linux version 2.1.13 (root@bridget) (gcc version 2.7.2) #2 Thu Dec 26 01:24:36 GMT 1996 POSIX conformance testing by UNIFIX Serial driver version 4.21 with no serial options enabled tty00 at 0x03f8 (irq = 4) is a 16450 tty01 at 0x02f8 (irq = 3) is a 16450 tty02 at 0x03e8 (irq = 4) is a 16550A <----- look here! Sound initialization started Sound initialization complete Floppy drive(s): fd0 is 1.44M Started kswapd v 1.4.2.2 FDC 0 is an 8272A mcd=0x300,11: Mitsumi status, type and version : 10 D 4 Double Speed CD ROM PPA: unable to initialise controller at 0x378, error 2 scsi : 0 hosts. scsi : detected total. PPP: version 2.2.0 (dynamic channel allocation) TCP compression code copyright 1989 Regents of the University of California PPP Dynamic channel allocation code copyright 1995 Caldera, Inc. PPP line discipline registered. Partition check: hda: hda: DSAA-3540, 504MB w/96KB Cache, CHS=1024/16/63, MaxMult=32 hda1 hdb: hdb: ST3660A, 520MB w/120KB Cache, CHS=1057/16/63, MaxMult=16 hdb1 hdb2 hdb3 VFS: Mounted root (ext2 filesystem) readonly. -------- cut here ------------------------------------------------ ...and wat FreeBSD 2.1.6-RELEASE says. -------- cut here ------------------------------------------------ FreeBSD 2.1.6-RELEASE #0: Fri Mar 21 02:58:16 MET 1997 root@rook.matranet.org:/usr/src/sys/compile/rook CPU: i486DX (486-class CPU) real memory = 16572416 (16184K bytes) avail memory = 14692352 (14348K bytes) Probing for devices on PCI bus 0: chip0 rev 2 on pci0:0 vga0 rev 0 on pci0:13 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16450 sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16450 sio2 not found at 0x3e8 <--- little piece of s... sio3 not found at 0x2e8 lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface lpt1 not found at 0xffffffff fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 765 fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 504MB (1032192 sectors), 1024 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (wd1): wd1: 520MB (1065456 sectors), 1057 cyls, 16 heads, 63 S/T, 512 B/S mcd0: type Mitsumi FX001D, version info: D 4 mcd0 at 0x300-0x303 irq 10 on isa npx0 on motherboard npx0: INT 16 interface sb0 at 0x220 irq 5 drq 1 on isa sb0: sbxvi0 at 0x0 drq 5 on isa sbxvo0: sbmidi0 at 0x330 on isa opl0 at 0x388 on isa opl0: --------- cut here ------------------------------------------------ Changing jumpers on the card to get COM3-IRQ5/7 is impossible cause of the conflicts with sb0 (irq5) or lpt0 (irq7) ; Anyway , changing the jumpers to a com3-irq5 conf works ( detected correctly at boot ) but doesn't works with minicom and other comm programs ( the modem seems 'delayed' by something and i have to press a key to see the modem's msgs...) Wat is the story ....? I spent last week trying to get the right conf but all works was ininfluent . The only thing i can say is that linux detects the modem correctly and all works perfectly . Is a sio.c/isa.c bug ? i hope not .... please help me .... cul8r,matra@diemme.it