Hi all,

I have problem with a http://www.lavalink.com/dev/index.php?id=53

net5501 identifies it like this from the BIOS:

Slot   Vend Dev  ClassRev Cmd  Stat CL LT HT  Base1    Base2   Int 
-------------------------------------------------------------------
0:14:0 1407 0110 07000200 0041 0480 00 00 80 0000E501 00000000 10
0:14:1 1407 0111 07000200 0041 0480 00 00 80 0000E509 00000000 10

A linux 2.6.27 kernel identify this card like this a boot:
Serial: 8250/16550 driver8 ports, IRQ sharing enabled                           
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A                            
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A                            
0000:00:0e.0: ttyS4 at I/O 0xe500 (irq = 10) is a 16550A                        
0000:00:0e.1: ttyS5 at I/O 0xe508 (irq = 10) is a 16550A                        

lspci -v gives:
00:0e.0 Serial controller: Lava Computer mfg Inc Lava DSerial-PCI Port A 
(prog-if 02 [16550])
        Subsystem: Lava Computer mfg Inc Lava DSerial-PCI Port A                
             
        Flags: slow devsel, IRQ 10                                              
             
        I/O ports at e500 [size=8]                                              
             
        Kernel driver in use: serial                                            
             

00:0e.1 Serial controller: Lava Computer mfg Inc Lava DSerial-PCI Port B 
(prog-if 02 [16550])
        Subsystem: Lava Computer mfg Inc Lava DSerial-PCI Port B                
             
        Flags: slow devsel, IRQ 10                                              
             
        I/O ports at e508 [size=8]                                              
             
        Kernel driver in use: serial                                            
             

I tried to use both /dev/ttyS4 and /dev/ttyS5 without any problem.


FreeBSD 7.3 identify the card like this at boot:
sio0: <Koutech IOFLEX-2S PCI Dual Port Serial> port 0xe500-0xe507 irq 10 at 
device 14.0 on pci0
sio0: moving to sio4
sio4: type 16550A
sio4: [FILTER]
sio0: <Koutech IOFLEX-2S PCI Dual Port Serial> port 0xe508-0xe50f irq 10 at 
device 14.1 on pci0
sio0: moving to sio5
sio5: type 16550A


Now to the problem...

With FreeBSD the system halt when I run sysinstall.

If I try to use the serial ports; sio4 seems to work, but when I try to open 
sio5 the system halt.

I think this is where FreeBSD gets "Koutech" info instead of  "Lava" from...

/usr/src/sys/dev/sio/sio_pci.c
        { 0x01101407, "Koutech IOFLEX-2S PCI Dual Port Serial", 0x10 },
        { 0x01111407, "Koutech IOFLEX-2S PCI Dual Port Serial", 0x10 },

/usr/src/sys/dev/puc/pucdata.c lists some serial cards from Lava, but not the 
one I have. I can't find any description of what the purpose of the different 
fields in the structure is.

Does anyone have some ideas of what to try to get this card work properly in 
FreeBSD (7.3)?

Also, what does it mean that the BIOS says "Base1" is 0xe501 and 0xe509 while 
both linux and FreeBSD reports the address to be 0xe500 and 0xe508, it looks 
like it is an offset of 1.

Thanks,
Göran


_______________________________________________
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to