15 Feb 2008 20:05
FW: RB133
Jiří Smejkal <jiri.smejkal <at> cnw.cz>
2008-02-15 19:05:46 GMT
2008-02-15 19:05:46 GMT
It looks like vlan 2 is connected to RJ45 port. Bios boot from it as vlan 0 and NetBSD attach vlans itself. You are right. NetBSD should read vlan matrix config from BIOS that should correct problem. (other way is boot from atheros wireless - it works o.k. for me(Continue reading)))) George On Fri, Feb 15, 2008 at 07:13:48PM +0100, Ji?? Smejkal wrote: > I'm using RB153 (six eth ports) wih NetBSD. It works well. > > I have tried RB133 (three eth ports) and 133C (only one eth port) - > there is some strange behavior - board netboot o.k. but then can't attach > NFS. > > Boot device on board is admsw0, when board try attach NFS the device > change to admsw2 and attach fails. I tried change vlan_matrix in > if_admsw.c (1 << 0) swap to (1 << 2) and then board boot and attach NFS > properly but this is not solution. It sounds as if the hardware and/or BIOS "swizzles" the ports (i.e., port 2 -> vlan 0, port 0 -> vlan 2) and NetBSD does not respect that. Does that sound right to you? NetBSD should probably honor the VLAN matrix that is programmed by the BIOS. I will write a patch for that, if no one beats me to it! Dave -- --
)))
George
On Fri, Feb 15, 2008 at 07:13:48PM +0100, Ji?? Smejkal wrote:
> I'm using RB153 (six eth ports) wih NetBSD. It works well.
>
> I have tried RB133 (three eth ports) and 133C (only one eth port) -
> there is some strange behavior - board netboot o.k. but then can't attach
> NFS.
>
> Boot device on board is admsw0, when board try attach NFS the device
> change to admsw2 and attach fails. I tried change vlan_matrix in
> if_admsw.c (1 << 0) swap to (1 << 2) and then board boot and attach NFS
> properly but this is not solution.
It sounds as if the hardware and/or BIOS "swizzles" the ports (i.e.,
port 2 -> vlan 0, port 0 -> vlan 2) and NetBSD does not respect that.
Does that sound right to you?
NetBSD should probably honor the VLAN matrix that is programmed by
the BIOS. I will write a patch for that, if no one beats me to it!
Dave
RSS Feed