|
|||||||
| Linux Operating Systems Talk about all Linux distributions and software here! |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
DriverHeaven Extreme Member
Join Date: May 2005
Posts: 6,794
Rep Power: 0 ![]() ![]() |
Quick OpenBSD question
I'm running OpenBSD on an old IBM desktop machine (P3 1GHz, 320MB SDRAM, newly installed power supply, 10GB primary HDD, CDROM and 100GB WD1000BB for storage). It has 3 network cards in it, 1 intel one and 2 DLink 10/100s (DFE-TX530's I think). Now, I've run every hardware test in the world, everything hardware wise checks out fine. At first I thought it was the custom kernel I built but as soon as I put the release 4.0 kernel in, fresh install, it was still unstable. I'm running a compltetely stock OBSD stable install compiled from source, and I disabled PnP in the bios (which seemed to mess with hotplug and make it alot more unstable).
The problem I have now is I can't leave it on overnight or it reboots itself, and there's nothing in /var/log/* that tells me anything. How can I enable error logging (or at least make it more verbose) and figure out what's making the machine unstable? |
|
|
|
|
|
#2 |
|
BSD SMASH!
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0 ![]() |
Have you solved this yet? Your best bet is to see if you can get it to crash and drop into the kernel debugger. To do so, I believe you just need to ensure that the kernel was built with "option DEBUG" in the kernel configuration file. Also, make sure the sysctl "dbb.panic" is set to 1 so that a panicking kernel will drop into ddb. If you can get any sort of crash dump, report it to OpenBSD and someone can probably fix it for you.
__________________
quad (FreeBSD/amd64 8-CURRENT): Intel Q6600 - Asus P5E-VM HDMI - 2x2 GB Kingston PC6400 DDR2 Ram - Seagate 320GB 7200RPM HD - 2xSeagate 1TB 7200RPM HD in RAID 1 via ZFS - Lite-On 20x DVD Multi Recorder - Coolermaster Centurion 5 router (FreeBSD/amd64 8-CURRENT): Intel E4500 - Intel D945GCNL - 2 GB PC6400 Mushkin Ram - Lite-On 48x24x48x16 - Seagate 320GB 7200RPM HD - Silverstone SST-SG02-F wanderer (FreeBSD/i386 7-CURRENT): Lenovo Thinkpad T61p mini (OS X 10.5): Intel Core 2 Duo @ 1.8Ghz, 4 GB Mushkin PC5400 Ram - Headroom MicroDAC Portable sound: Rockboxed iPod Video -> Westone UM2's Not-So-Portable Sound: Headroon MicroDAC -> Singlepower PPX3-SLAM -> Grado RS-1's or Beyerdynamic DT-880's Very-Not-Portable-Sound: Squeezebox v3 -> Denon AVR-1507 -> B&W 683's & Sunfire HRS-10 |
|
|
|
|
|
|
|
DriverHeaven Extreme Member
Join Date: May 2005
Posts: 6,794
Rep Power: 0 ![]() ![]() |
The thing is I've tried to get it to do that but I don't think its a kernel panic, I'll leave the machine for 4 hours and its fine, but I come back the next morning and its back at the login screen. Uptime shows its crashed and I can see the fsck in the dmesg! This is no good because the machine is a server, if I can't leave it running what good is it?
I'll try again and see if those options are enabled. I'll also try running just a stock 4.0BSD or maybe see if FreeBSD does the same thing, or if the current branch works better. (Right now I'm using stable) |
|
|
|
|
|
#4 |
|
BSD SMASH!
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0 ![]() |
My desktop has a similar issue under FreeBSD, though it is not nearly as frequent; it only occurs once in a while. It doesn't panic either, implying that it is solely a hardware issue. It really should panic if it is a bug in the kernel.
__________________
quad (FreeBSD/amd64 8-CURRENT): Intel Q6600 - Asus P5E-VM HDMI - 2x2 GB Kingston PC6400 DDR2 Ram - Seagate 320GB 7200RPM HD - 2xSeagate 1TB 7200RPM HD in RAID 1 via ZFS - Lite-On 20x DVD Multi Recorder - Coolermaster Centurion 5 router (FreeBSD/amd64 8-CURRENT): Intel E4500 - Intel D945GCNL - 2 GB PC6400 Mushkin Ram - Lite-On 48x24x48x16 - Seagate 320GB 7200RPM HD - Silverstone SST-SG02-F wanderer (FreeBSD/i386 7-CURRENT): Lenovo Thinkpad T61p mini (OS X 10.5): Intel Core 2 Duo @ 1.8Ghz, 4 GB Mushkin PC5400 Ram - Headroom MicroDAC Portable sound: Rockboxed iPod Video -> Westone UM2's Not-So-Portable Sound: Headroon MicroDAC -> Singlepower PPX3-SLAM -> Grado RS-1's or Beyerdynamic DT-880's Very-Not-Portable-Sound: Squeezebox v3 -> Denon AVR-1507 -> B&W 683's & Sunfire HRS-10 |
|
|
|
|
|
|
|
DriverHeaven Extreme Member
Join Date: May 2005
Posts: 6,794
Rep Power: 0 ![]() ![]() |
The thing is I've run every hardware test in the book and then some... the poor machine has survived 1 week straight of the most intense burn ins I could concoct and it didn't once flinch!
Would it have anything to do with IRQ's and the fact that I don't have ACPI turned on in kernel? I disabled it when I built the kernel (I think its usually disabled by default) because it never seemed to work. I did notice after disabling some interrupt options for video and turning off the audio it got a little more stable... any idea on that one? |
|
|
|
|
|
#6 | |
|
BSD SMASH!
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0 ![]() |
Quote:
I don't think ACPI should matter too much; OpenBSD's ACPI support is undergoing a lot of work and probably won't be mature until 4.1 or 4.2. I don't think you will miss much by not using it.
__________________
quad (FreeBSD/amd64 8-CURRENT): Intel Q6600 - Asus P5E-VM HDMI - 2x2 GB Kingston PC6400 DDR2 Ram - Seagate 320GB 7200RPM HD - 2xSeagate 1TB 7200RPM HD in RAID 1 via ZFS - Lite-On 20x DVD Multi Recorder - Coolermaster Centurion 5 router (FreeBSD/amd64 8-CURRENT): Intel E4500 - Intel D945GCNL - 2 GB PC6400 Mushkin Ram - Lite-On 48x24x48x16 - Seagate 320GB 7200RPM HD - Silverstone SST-SG02-F wanderer (FreeBSD/i386 7-CURRENT): Lenovo Thinkpad T61p mini (OS X 10.5): Intel Core 2 Duo @ 1.8Ghz, 4 GB Mushkin PC5400 Ram - Headroom MicroDAC Portable sound: Rockboxed iPod Video -> Westone UM2's Not-So-Portable Sound: Headroon MicroDAC -> Singlepower PPX3-SLAM -> Grado RS-1's or Beyerdynamic DT-880's Very-Not-Portable-Sound: Squeezebox v3 -> Denon AVR-1507 -> B&W 683's & Sunfire HRS-10 |
|
|
|
|
|
|
|
|
DriverHeaven Extreme Member
Join Date: May 2005
Posts: 6,794
Rep Power: 0 ![]() ![]() |
OK I've tried all that, no avail BUT I did turn up some interesting stuff...
The machine is an IBM desktop machine with a P3 1GHz in it, and the BIOS I found out is geared entirely for windows. I disabled IDE Performance mode (put it on compatible mode), disabled read prefetching and PCI bus parity and so far 13 hours and it was fine. The only thing I have problems with now is CVS causing the same kinds of crashes but at least no more spontaneous reboots. I think the CVS thing is due to the fact that my src tree is in poor poor shape after taking some damage and an accidental cp without a destination hehe.... but it seems to do it if I run CVS twice without rebooting. Malus, what do you think of the CVS situation? I've just wiped the drives and I'm about to reinstall so any suggestions you have would be most welcome as your help so far has been quite valuable to me
|
|
|
|
|
|
#8 | |||
|
BSD SMASH!
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0 ![]() |
Quote:
Quote:
Next time you break your source tree, just delete and redownload src. There's no point it repairing a broken source tree when you can just download it again. Quote:
Usually, when I install a new OS, I:
__________________
quad (FreeBSD/amd64 8-CURRENT): Intel Q6600 - Asus P5E-VM HDMI - 2x2 GB Kingston PC6400 DDR2 Ram - Seagate 320GB 7200RPM HD - 2xSeagate 1TB 7200RPM HD in RAID 1 via ZFS - Lite-On 20x DVD Multi Recorder - Coolermaster Centurion 5 router (FreeBSD/amd64 8-CURRENT): Intel E4500 - Intel D945GCNL - 2 GB PC6400 Mushkin Ram - Lite-On 48x24x48x16 - Seagate 320GB 7200RPM HD - Silverstone SST-SG02-F wanderer (FreeBSD/i386 7-CURRENT): Lenovo Thinkpad T61p mini (OS X 10.5): Intel Core 2 Duo @ 1.8Ghz, 4 GB Mushkin PC5400 Ram - Headroom MicroDAC Portable sound: Rockboxed iPod Video -> Westone UM2's Not-So-Portable Sound: Headroon MicroDAC -> Singlepower PPX3-SLAM -> Grado RS-1's or Beyerdynamic DT-880's Very-Not-Portable-Sound: Squeezebox v3 -> Denon AVR-1507 -> B&W 683's & Sunfire HRS-10 |
|||
|
|
|
|
|
|
|
DriverHeaven Extreme Member
Join Date: May 2005
Posts: 6,794
Rep Power: 0 ![]() ![]() |
Oh I've read all the man pages I could get my hands on, FAQ's guides etc but I'm still stumped.
I've got some interesting ideas though and I'll post back when I'm about to tear all my hair out. I think it may be timer related at this point.All the hardware passes fine but even still I can't help but wonder why Linux has the exact same problems.... |
|
|
|
|
|
|
|
DriverHeaven Extreme Member
Join Date: May 2005
Posts: 6,794
Rep Power: 0 ![]() ![]() |
So far nothing has helped. Next step is to try allowing the O/S to reassign IRQ's and such and try getting ACPI to work with the current branch (which has some new stuff from the upcoming 4.1 I think so worth a try).
|
|
|
|
|
|
#11 |
|
BSD SMASH!
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0 ![]() |
Well, you could wait till May 1st, when 4.1 will be released.
__________________
quad (FreeBSD/amd64 8-CURRENT): Intel Q6600 - Asus P5E-VM HDMI - 2x2 GB Kingston PC6400 DDR2 Ram - Seagate 320GB 7200RPM HD - 2xSeagate 1TB 7200RPM HD in RAID 1 via ZFS - Lite-On 20x DVD Multi Recorder - Coolermaster Centurion 5 router (FreeBSD/amd64 8-CURRENT): Intel E4500 - Intel D945GCNL - 2 GB PC6400 Mushkin Ram - Lite-On 48x24x48x16 - Seagate 320GB 7200RPM HD - Silverstone SST-SG02-F wanderer (FreeBSD/i386 7-CURRENT): Lenovo Thinkpad T61p mini (OS X 10.5): Intel Core 2 Duo @ 1.8Ghz, 4 GB Mushkin PC5400 Ram - Headroom MicroDAC Portable sound: Rockboxed iPod Video -> Westone UM2's Not-So-Portable Sound: Headroon MicroDAC -> Singlepower PPX3-SLAM -> Grado RS-1's or Beyerdynamic DT-880's Very-Not-Portable-Sound: Squeezebox v3 -> Denon AVR-1507 -> B&W 683's & Sunfire HRS-10 |
|
|
|
|
|
|
|
DriverHeaven Extreme Member
Join Date: May 2005
Posts: 6,794
Rep Power: 0 ![]() ![]() |
|
|
|
|
|
|
#13 |
|
BSD SMASH!
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0 ![]() |
Any luck?
__________________
quad (FreeBSD/amd64 8-CURRENT): Intel Q6600 - Asus P5E-VM HDMI - 2x2 GB Kingston PC6400 DDR2 Ram - Seagate 320GB 7200RPM HD - 2xSeagate 1TB 7200RPM HD in RAID 1 via ZFS - Lite-On 20x DVD Multi Recorder - Coolermaster Centurion 5 router (FreeBSD/amd64 8-CURRENT): Intel E4500 - Intel D945GCNL - 2 GB PC6400 Mushkin Ram - Lite-On 48x24x48x16 - Seagate 320GB 7200RPM HD - Silverstone SST-SG02-F wanderer (FreeBSD/i386 7-CURRENT): Lenovo Thinkpad T61p mini (OS X 10.5): Intel Core 2 Duo @ 1.8Ghz, 4 GB Mushkin PC5400 Ram - Headroom MicroDAC Portable sound: Rockboxed iPod Video -> Westone UM2's Not-So-Portable Sound: Headroon MicroDAC -> Singlepower PPX3-SLAM -> Grado RS-1's or Beyerdynamic DT-880's Very-Not-Portable-Sound: Squeezebox v3 -> Denon AVR-1507 -> B&W 683's & Sunfire HRS-10 |
|
|
|
|
|
|
|
DriverHeaven Extreme Member
Join Date: May 2005
Posts: 6,794
Rep Power: 0 ![]() ![]() |
Not as such. That motherboard is totally and completely useless so I scrapped it and built a whole new system. Completely stable for a few weeks now, running some stress and compiling the userland over and over.
You wouldn't happen to know if there's an additional APM module/daemon I need to spin down a SCSI hard drive... all the other IDE drives spin down in the time I've set in the BIOS but the SCSI drive doesn't spin down period. I looked through /usr/ports/sysutils but saw nothing on a cursory glance. |
|
|
|
|
|
#15 | |
|
BSD SMASH!
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0 ![]() |
Quote:
I'll probably be setting up an OpenBSD router in the next week or so; perhaps I won't be so rusty with it after I set that up. However, it will run off a CF Card and not a SCSI disk, so it won't be quite the same.
__________________
quad (FreeBSD/amd64 8-CURRENT): Intel Q6600 - Asus P5E-VM HDMI - 2x2 GB Kingston PC6400 DDR2 Ram - Seagate 320GB 7200RPM HD - 2xSeagate 1TB 7200RPM HD in RAID 1 via ZFS - Lite-On 20x DVD Multi Recorder - Coolermaster Centurion 5 router (FreeBSD/amd64 8-CURRENT): Intel E4500 - Intel D945GCNL - 2 GB PC6400 Mushkin Ram - Lite-On 48x24x48x16 - Seagate 320GB 7200RPM HD - Silverstone SST-SG02-F wanderer (FreeBSD/i386 7-CURRENT): Lenovo Thinkpad T61p mini (OS X 10.5): Intel Core 2 Duo @ 1.8Ghz, 4 GB Mushkin PC5400 Ram - Headroom MicroDAC Portable sound: Rockboxed iPod Video -> Westone UM2's Not-So-Portable Sound: Headroon MicroDAC -> Singlepower PPX3-SLAM -> Grado RS-1's or Beyerdynamic DT-880's Very-Not-Portable-Sound: Squeezebox v3 -> Denon AVR-1507 -> B&W 683's & Sunfire HRS-10 |
|
|
|
|
|
|
|
|
DriverHeaven Extreme Member
Join Date: May 2005
Posts: 6,794
Rep Power: 0 ![]() ![]() |
The CF card will look like a SCSI device if I remember correctly so not all that different, it just doesn't need to be spun down is all
![]() I'm actually quite happy with how things are progressing. I'm investigating the possibility of using OpenBSD on my main machine (if/when I find a suitable replacement motherboard), provided I can get xfce or Gnome to actually compile. |
|
|
|
|
|
#17 | |
|
BSD SMASH!
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0 ![]() |
Quote:
__________________
quad (FreeBSD/amd64 8-CURRENT): Intel Q6600 - Asus P5E-VM HDMI - 2x2 GB Kingston PC6400 DDR2 Ram - Seagate 320GB 7200RPM HD - 2xSeagate 1TB 7200RPM HD in RAID 1 via ZFS - Lite-On 20x DVD Multi Recorder - Coolermaster Centurion 5 router (FreeBSD/amd64 8-CURRENT): Intel E4500 - Intel D945GCNL - 2 GB PC6400 Mushkin Ram - Lite-On 48x24x48x16 - Seagate 320GB 7200RPM HD - Silverstone SST-SG02-F wanderer (FreeBSD/i386 7-CURRENT): Lenovo Thinkpad T61p mini (OS X 10.5): Intel Core 2 Duo @ 1.8Ghz, 4 GB Mushkin PC5400 Ram - Headroom MicroDAC Portable sound: Rockboxed iPod Video -> Westone UM2's Not-So-Portable Sound: Headroon MicroDAC -> Singlepower PPX3-SLAM -> Grado RS-1's or Beyerdynamic DT-880's Very-Not-Portable-Sound: Squeezebox v3 -> Denon AVR-1507 -> B&W 683's & Sunfire HRS-10 |
|
|
|
|
|
|
|
|
DriverHeaven Extreme Member
Join Date: May 2005
Posts: 6,794
Rep Power: 0 ![]() ![]() |
Well Gnome is in ports... I just never had much success compiling it, even with a successfully built X server.
|
|
|
|
|
|
|
|
DriverHeaven Extreme Member
Join Date: May 2005
Posts: 6,794
Rep Power: 0 ![]() ![]() |
Well its up and running... no problems for a few days now.
Still having problems getting that damn SCSI drive to be spun down. If I spin it down manually it spins back up even if nothing is reading/writing from it. |
|
|
|
|
|
#20 |
|
BSD SMASH!
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0 ![]() |
That's strange, you sure nothing is writing to it? You could always unmount it or mount it read only and see if it persists.
__________________
quad (FreeBSD/amd64 8-CURRENT): Intel Q6600 - Asus P5E-VM HDMI - 2x2 GB Kingston PC6400 DDR2 Ram - Seagate 320GB 7200RPM HD - 2xSeagate 1TB 7200RPM HD in RAID 1 via ZFS - Lite-On 20x DVD Multi Recorder - Coolermaster Centurion 5 router (FreeBSD/amd64 8-CURRENT): Intel E4500 - Intel D945GCNL - 2 GB PC6400 Mushkin Ram - Lite-On 48x24x48x16 - Seagate 320GB 7200RPM HD - Silverstone SST-SG02-F wanderer (FreeBSD/i386 7-CURRENT): Lenovo Thinkpad T61p mini (OS X 10.5): Intel Core 2 Duo @ 1.8Ghz, 4 GB Mushkin PC5400 Ram - Headroom MicroDAC Portable sound: Rockboxed iPod Video -> Westone UM2's Not-So-Portable Sound: Headroon MicroDAC -> Singlepower PPX3-SLAM -> Grado RS-1's or Beyerdynamic DT-880's Very-Not-Portable-Sound: Squeezebox v3 -> Denon AVR-1507 -> B&W 683's & Sunfire HRS-10 |
|
|
|
|
|
|
|
DriverHeaven Extreme Member
Join Date: May 2005
Posts: 6,794
Rep Power: 0 ![]() ![]() |
I did unmount it. I removed it from fstab completely and it still stays spun up, so now I'm fairly certain that it's just the controller. I'll dick around with it when I see what's up.
Right now I'm struggling with getting the thing to boot after one of the trinary hard drives died (it was going to be my NAS). |
|
|
|
|
|
|
|
DriverHeaven Extreme Member
Join Date: May 2005
Posts: 6,794
Rep Power: 0 ![]() ![]() |
OK so now that I'm over that issue... I have another question.
If I bridge 3 network cards, can I leave them all without any hostname.<interface> file and just make a hostname.<bridge name> that will make them all appear to have the same IP address to the network? I tried it but it didn't seem to be working (ifconfig just reported the bridge state and that was it) |
|
|
|
|
|
#23 |
|
BSD SMASH!
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0 ![]() |
I think you need to configure them individually. What are you trying to do, setup a router?
__________________
quad (FreeBSD/amd64 8-CURRENT): Intel Q6600 - Asus P5E-VM HDMI - 2x2 GB Kingston PC6400 DDR2 Ram - Seagate 320GB 7200RPM HD - 2xSeagate 1TB 7200RPM HD in RAID 1 via ZFS - Lite-On 20x DVD Multi Recorder - Coolermaster Centurion 5 router (FreeBSD/amd64 8-CURRENT): Intel E4500 - Intel D945GCNL - 2 GB PC6400 Mushkin Ram - Lite-On 48x24x48x16 - Seagate 320GB 7200RPM HD - Silverstone SST-SG02-F wanderer (FreeBSD/i386 7-CURRENT): Lenovo Thinkpad T61p mini (OS X 10.5): Intel Core 2 Duo @ 1.8Ghz, 4 GB Mushkin PC5400 Ram - Headroom MicroDAC Portable sound: Rockboxed iPod Video -> Westone UM2's Not-So-Portable Sound: Headroon MicroDAC -> Singlepower PPX3-SLAM -> Grado RS-1's or Beyerdynamic DT-880's Very-Not-Portable-Sound: Squeezebox v3 -> Denon AVR-1507 -> B&W 683's & Sunfire HRS-10 |
|
|
|
|
|
|
|
DriverHeaven Extreme Member
Join Date: May 2005
Posts: 6,794
Rep Power: 0 ![]() ![]() |
Yeah I'm trying but failing miserably due to lack of time and effort.
What ideally I want to have is just one bridge that has an IP of 192.168.0.1/24 and listens on 3 interfaces and serves DHCP and pf functions (as well as also bridging to physical parts of my network together). From what I understand I can give a bridge an IP address and then just add cards to the bridge.... in theory that should work no? I should then from any one of those cards be able to get an IP address from DHCP and then talk to anyone else connected to any of the other cards. |
|
|
|
|
|
#25 |
|
BSD SMASH!
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0 ![]() |
Yeah, sounds good in theory. On my FreeBSD router, I have a wired and a wireless card bridged together, running a dhcp server, routed, mrouted, caching DNS server, PF firewall, and a plethora of other services.
In my rc.conf, I have something like: Code:
cloned_interfaces="bridge0" ifconfig_bridge0="addm ath0 addm em0 192.168.1.1" ifconfig_em0="up tso" ifconfig_ath0="up ssid whatever mode 11g mediaopt hostap"
__________________
quad (FreeBSD/amd64 8-CURRENT): Intel Q6600 - Asus P5E-VM HDMI - 2x2 GB Kingston PC6400 DDR2 Ram - Seagate 320GB 7200RPM HD - 2xSeagate 1TB 7200RPM HD in RAID 1 via ZFS - Lite-On 20x DVD Multi Recorder - Coolermaster Centurion 5 router (FreeBSD/amd64 8-CURRENT): Intel E4500 - Intel D945GCNL - 2 GB PC6400 Mushkin Ram - Lite-On 48x24x48x16 - Seagate 320GB 7200RPM HD - Silverstone SST-SG02-F wanderer (FreeBSD/i386 7-CURRENT): Lenovo Thinkpad T61p mini (OS X 10.5): Intel Core 2 Duo @ 1.8Ghz, 4 GB Mushkin PC5400 Ram - Headroom MicroDAC Portable sound: Rockboxed iPod Video -> Westone UM2's Not-So-Portable Sound: Headroon MicroDAC -> Singlepower PPX3-SLAM -> Grado RS-1's or Beyerdynamic DT-880's Very-Not-Portable-Sound: Squeezebox v3 -> Denon AVR-1507 -> B&W 683's & Sunfire HRS-10 |
|
|
|
|
|
|
|
DriverHeaven Extreme Member
Join Date: May 2005
Posts: 6,794
Rep Power: 0 ![]() ![]() |
I thought I would be able to do it like so...
By having these files Code:
interface.bridge0 |
|
|
|
|
|
#27 |
|
BSD SMASH!
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0 ![]() |
Uh, I think you need something more like:
Code:
# echo "up" > /etc/hostname.ste0 # echo "up" > /etc/hostname.ste1 # echo "up" > /etc/hostname.sge0 # echo "add ste0 add ste1 add sge0 up" > /etc/bridgename.bridge0 I actually removed my bridge and just keep a separate wired and wireless network now. This lets me jumbo frames and hardware checksums on my gigabit ethernet, since bridging a wired and wireless card forced me to disable these features.
__________________
quad (FreeBSD/amd64 8-CURRENT): Intel Q6600 - Asus P5E-VM HDMI - 2x2 GB Kingston PC6400 DDR2 Ram - Seagate 320GB 7200RPM HD - 2xSeagate 1TB 7200RPM HD in RAID 1 via ZFS - Lite-On 20x DVD Multi Recorder - Coolermaster Centurion 5 router (FreeBSD/amd64 8-CURRENT): Intel E4500 - Intel D945GCNL - 2 GB PC6400 Mushkin Ram - Lite-On 48x24x48x16 - Seagate 320GB 7200RPM HD - Silverstone SST-SG02-F wanderer (FreeBSD/i386 7-CURRENT): Lenovo Thinkpad T61p mini (OS X 10.5): Intel Core 2 Duo @ 1.8Ghz, 4 GB Mushkin PC5400 Ram - Headroom MicroDAC Portable sound: Rockboxed iPod Video -> Westone UM2's Not-So-Portable Sound: Headroon MicroDAC -> Singlepower PPX3-SLAM -> Grado RS-1's or Beyerdynamic DT-880's Very-Not-Portable-Sound: Squeezebox v3 -> Denon AVR-1507 -> B&W 683's & Sunfire HRS-10 |
|
|
|
|
|
|
|
DriverHeaven Extreme Member
Join Date: May 2005
Posts: 6,794
Rep Power: 0 ![]() ![]() |
OK... man pages reveal nothing....
Following the example in the FAQ about bridging got me to the point where I have sk0 and ste0 bridged and I can see any MAC address on either side of the bridge... but I cannot give the bridge an IP. If I have a hostname.bridge0 file as described all I get is errors when I do Code:
etc# sh netstart <standard output, all fine then...> brconfig: bridge0: file exists (sk0) brconfig: bridge0: file exists (ste0) Any ideas ?
|
|
|
|
|
|
#29 | |
|
BSD SMASH!
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0 ![]() |
Quote:
I don't think DHCP really makes sense on a bridge. I would first try a static address and see if that works. It sounds like you are doing it correctly, but I don't have an OpenBSD box around to verify it.
__________________
quad (FreeBSD/amd64 8-CURRENT): Intel Q6600 - Asus P5E-VM HDMI - 2x2 GB Kingston PC6400 DDR2 Ram - Seagate 320GB 7200RPM HD - 2xSeagate 1TB 7200RPM HD in RAID 1 via ZFS - Lite-On 20x DVD Multi Recorder - Coolermaster Centurion 5 router (FreeBSD/amd64 8-CURRENT): Intel E4500 - Intel D945GCNL - 2 GB PC6400 Mushkin Ram - Lite-On 48x24x48x16 - Seagate 320GB 7200RPM HD - Silverstone SST-SG02-F wanderer (FreeBSD/i386 7-CURRENT): Lenovo Thinkpad T61p mini (OS X 10.5): Intel Core 2 Duo @ 1.8Ghz, 4 GB Mushkin PC5400 Ram - Headroom MicroDAC Portable sound: Rockboxed iPod Video -> Westone UM2's Not-So-Portable Sound: Headroon MicroDAC -> Singlepower PPX3-SLAM -> Grado RS-1's or Beyerdynamic DT-880's Very-Not-Portable-Sound: Squeezebox v3 -> Denon AVR-1507 -> B&W 683's & Sunfire HRS-10 |
|
|
|
|
|
|
|
|
|
DriverHeaven Extreme Member
Join Date: May 2005
Posts: 6,794
Rep Power: 0 ![]() ![]() |
Quote:
Bridging won't work with the two cards on the same subnet. I did try it the way the FAQ suggested but it didn't seem to work. No matter, I'm using routing now vs. bridge. It's more efficient and seeing as I've got another 253 subnets to burn through before I run into issues, this'll work just fine ![]() I just created a route between 192.168.0.x/24 and 192.168.1.x/24, made the default route whatever my PPPoE connection gets and ta-da. Magic. |
|
|
|
|
![]() |
| Thread Tools | |
|
|