Re: Serial port config..

2009-03-06 Thread Wojciech Puchar

ad0: 38182MB  at ata0-master UDMA100
ad1: 19092MB  at ata0-slave UDMA100
acd0: CDROM  at ata1-master UDMA33
SMP: AP CPU #1 Launched!
GEOM_LABEL: Label for provider acd0 is iso9660/CARD07C.
Trying to mount root from ufs:/dev/ad1s1a
em0: link state changed to UP
drm0:  on vgapci0
info: [drm] AGP at 0xe800 128MB
info: [drm] Initialized i915 1.5.0 20060119
drm0: [ITHREAD]


i don't see any "puc" line in your config. looks like not supported, but 
usually all support is a matter of adding few lines to code or maybe just 
PCI data

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Serial port config..

2009-03-06 Thread bsdpete

trying to get FreeBSD 7.1R to recognize a 2 port serial pci card..

have added device puc and options COM_MULTIPORT to the kernel..

have tried various settings in device.hints..

the mainboard has sio0..

dmesg says..

Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.1-RELEASE #2: Thu Mar  5 20:25:15 EST 2009
   r...@int.thechristies.net:/usr/obj/usr/src/sys/INT
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.71-MHz 686-class CPU)
 Origin = "GenuineIntel"  Id = 0xf34  Stepping = 4
 
Features=0xbfebfbff

 Features2=0x441d
 Logical CPUs per core: 2
real memory  = 1333198848 (1271 MB)
avail memory = 1291911168 (1232 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0:  on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, f0 (3) failed
acpi0: reservation of 100, 4e77 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
vgapci0:  port 0xed98-0xed9f mem 
0xe800-0xefff,0xfeb8-0xfebf irq 16 at device 2.0 on pci0

agp0:  on vgapci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
uhci0:  port 0xff80-0xff9f 
irq 16 at device 29.0 on pci0

uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0:  on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xff60-0xff7f 
irq 19 at device 29.1 on pci0

uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1:  on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0xff40-0xff5f 
irq 18 at device 29.2 on pci0

uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2:  on uhci2
usb2: USB revision 1.0
uhub2:  on usb2
uhub2: 2 ports with 2 removable, self powered
uhci3:  port 0xff20-0xff3f 
irq 16 at device 29.3 on pci0

uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb3:  on uhci3
usb3: USB revision 1.0
uhub3:  on usb3
uhub3: 2 ports with 2 removable, self powered
ehci0:  mem 
0xffa80800-0xffa80bff irq 23 at device 29.7 on pci0

ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4:  on ehci0
usb4: USB revision 2.0
uhub4:  on usb4
uhub4: 8 ports with 8 removable, self powered
pcib1:  at device 30.0 on pci0
pci1:  on pcib1
pci1:  at device 7.0 (no driver attached)
pci1:  at device 9.0 (no driver attached)
pci1:  at device 10.0 (no driver attached)
em0:  port 0xdf40-0xdf7f mem 
0xfeae-0xfeaf irq 18 at device 12.0 on pci1

em0: [FILTER]
em0: Ethernet address: 00:0d:56:d7:97:28
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf mem 
0xfeb7fc00-0xfeb7 irq 18 at device 31.1 on pci0

ata0:  on atapci0
ata0: [ITHREAD]
ata1:  on atapci0
ata1: [ITHREAD]
atapci1:  port 
0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfea0-0xfeaf 
irq 18 at device 31.2 on pci0

atapci1: [ITHREAD]
ata2:  on atapci1
ata2: [ITHREAD]
ata3:  on atapci1
ata3: [ITHREAD]
pci0:  at device 31.3 (no driver attached)
pci0:  at device 31.5 (no driver attached)
atkbdc0:  port 0x60,0x64 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse, device ID 3
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0

sio0: type 16550A
sio0: [FILTER]
cpu0:  on acpi0
p4tcc0:  on cpu0
cpu1:  on acpi0
p4tcc1:  on cpu1
pmtimer0 on isa0
orm0:  at iomem 0xc-0xca7ff,0xca800-0xcbfff pnpid 
ORM on isa0

ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0:  on ppc0
ppbus0: [ITHREAD]
plip0:  on ppbus0
plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 16 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio2: configured irq 16 not in bitmap of probed irqs 0
sio2: port may not be enabled
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounters tick every 1.000 msec
ad0: 38182MB  at ata0-master UDMA100
ad1: 19092MB  at ata0-slave UDMA100
acd0: CDROM  at ata1-master UDMA33
SMP: AP CPU #1 Launched!
GEOM_LA

Re: serial port config

2004-09-27 Thread David Rio Deiros
> config: /usr/src/sys/i386/conf/GENERIC:279: devices with zero units are not 
> likely to be correct
> 
> What file do I add this line to?:
> 
> device sio0 at isa? port IO_COM1 flags 0x10 irq 4

Check out this thread:

http://www.webservertalk.com/archive77-2004-1-50488.html


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: serial port config

2004-09-27 Thread Bob Ababurko
At 01:24 PM 9/27/2004 -0700, David Rio Deiros wrote:
> So, let me get this straightI am going to add:
>
> >device sio0 at isa? port IO_COM1 flags 0x10 irq 4
>
> to the kernel configuration, aka the GENERIC file in 
/usr/src/sys/i386/conf
> if the
> system is not customized at all?

What you are doing is to tell the kernel what he needs to do to
configure that device. If by not "customized at all" you mean you don't
have the hardware in the computer yet, there is no problem, when you
will boot the kernel it will give up if there is no hardware.

By not customized, I mean that the file will be the GENERIC kernel config 
file.  This doesn't seem to be the correct way as I get this error message:

config: /usr/src/sys/i386/conf/GENERIC:279: devices with zero units are not 
likely to be correct

What file do I add this line to?:
device sio0 at isa? port IO_COM1 flags 0x10 irq 4
-Bob
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: serial port config

2004-09-27 Thread David Rio Deiros
> So, let me get this straightI am going to add:
> 
> >device sio0 at isa? port IO_COM1 flags 0x10 irq 4
> 
> to the kernel configuration, aka the GENERIC file in /usr/src/sys/i386/conf 
> if the
> system is not customized at all?

What you are doing is to tell the kernel what he needs to do to
configure that device. If by not "customized at all" you mean you don't
have the hardware in the computer yet, there is no problem, when you
will boot the kernel it will give up if there is no hardware.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: serial port config

2004-09-27 Thread Bob Ababurko
At 12:58 PM 9/27/2004 -0700, you wrote:
>4.  Make sure the configuration file of your kernel has appropriate
>flags set for COM1 (sio0).
>where I should be seeing or adding a line such as :
> device sio0 at isa? port IO_COM1 flags 0x10 irq 4
You should add that to the kernel configuration file.
Please, refer to
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

So, let me get this straightI am going to add:
device sio0 at isa? port IO_COM1 flags 0x10 irq 4
to the kernel configuration, aka the GENERIC file in /usr/src/sys/i386/conf 
if the
system is not customized at all?

-Bob
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


serial port config

2004-09-27 Thread Bob Ababurko

   Hello-
   I am trying to configure the serial ports on a bunch of machines to be
   hooked up to a terminal server...baynetworks Annex to be exact.  I am
   running FreeBSD 5.2.1 on an i386 machine with an Inter n440bx board.
   These motherboards are pretty common and found on early VA linux
   boxen.
   I followed the handbook but I am a little confused where it is talking
   about:
   4.  Make sure the configuration file of your kernel has appropriate
   flags set for COM1 (sio0).
   where I should be seeing or adding a line such as :
device sio0 at isa? port IO_COM1 flags 0x10 irq 4

   I have not done this and do not know where I am supposed to do this.
   I have made the other changes stated in the handbook and also done
   this on a machine at a time before and got it to work this way.
   My dmeg output for sio0 looks like this:
   sio0 port 0x3f8-0x3ff irq 4 on acpi0
   sio0: type 16550A, console
   Isn't this telling me that it is configured?  Any help would be
   apperciated.
   thanks,
   Bob
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"