HardwareHeaven.com

HardwareHeaven.com

Looking for the skin chooser?
 
 
  • Home

  • Hardware reviews

  • Articles

  • News

  • Tools

  • Gaming at HardwareHeaven

  • Forums

 

Go Back   HardwareHeaven.com > Forums > Software / Tools > Linux Operating Systems


Linux Operating Systems Talk about all Linux distributions and software here!

Reply
 
Thread Tools
Old Feb 27, 2007, 05:42 PM   #1
DriverHeaven Extreme Member
 
Join Date: May 2005
Posts: 6,794
Rep Power: 0
H3X4D3C1M4L will become famous soon enoughH3X4D3C1M4L will become famous soon enough

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?
H3X4D3C1M4L is offline   Reply With Quote


Old Mar 5, 2007, 09:20 PM   #2
BSD SMASH!
 
Malus's Avatar
 
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0
Malus is on a distinguished road

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
Malus is offline   Reply With Quote
Old Mar 7, 2007, 08:45 PM Threadstarter Thread Starter   #3
DriverHeaven Extreme Member
 
Join Date: May 2005
Posts: 6,794
Rep Power: 0
H3X4D3C1M4L will become famous soon enoughH3X4D3C1M4L will become famous soon enough

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)
H3X4D3C1M4L is offline   Reply With Quote
Old Mar 8, 2007, 06:38 AM   #4
BSD SMASH!
 
Malus's Avatar
 
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0
Malus is on a distinguished road

Quote:
Originally Posted by H3X4D3C1M4L View Post
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)
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
Malus is offline   Reply With Quote
Old Mar 12, 2007, 07:13 AM Threadstarter Thread Starter   #5
DriverHeaven Extreme Member
 
Join Date: May 2005
Posts: 6,794
Rep Power: 0
H3X4D3C1M4L will become famous soon enoughH3X4D3C1M4L will become famous soon enough

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?
H3X4D3C1M4L is offline   Reply With Quote
Old Mar 12, 2007, 08:21 PM   #6
BSD SMASH!
 
Malus's Avatar
 
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0
Malus is on a distinguished road

Quote:
Originally Posted by H3X4D3C1M4L View Post
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?
If you think it is an IRQ problem, try "vmstat -i" and see how many interrupts have occurred thus far. If one device looks like it is way out of line compared to the others, it probably has some kind of issue. I think my stability problems are related to Nvidia's shitty binary blob driver, which happens to cause a lot of interrupts as well.

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
Malus is offline   Reply With Quote
Old Mar 18, 2007, 02:57 AM Threadstarter Thread Starter   #7
DriverHeaven Extreme Member
 
Join Date: May 2005
Posts: 6,794
Rep Power: 0
H3X4D3C1M4L will become famous soon enoughH3X4D3C1M4L will become famous soon enough

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
H3X4D3C1M4L is offline   Reply With Quote
Old Mar 19, 2007, 05:28 AM   #8
BSD SMASH!
 
Malus's Avatar
 
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0
Malus is on a distinguished road

Quote:
Originally Posted by H3X4D3C1M4L View Post
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.
Yeah, a lot of drive performance options can cause problems on a lot of operating systems.

Quote:
Originally Posted by H3X4D3C1M4L View Post
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?
Using cp without a destination should not cause any harm. It should only provide a nice error message. Sounds like serious corruption of the drive. If fsck didn't fix it, I would probably consider running some drive diagnostic utilities before reinstalling. There could be bad sectors on the disk.

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:
Originally Posted by H3X4D3C1M4L View Post
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
I would run some diagnostic tests on the drives, install the newest release, and see what happens.

Usually, when I install a new OS, I:
  • Make a user account and use it with sudo when I need root privledges.
  • Update my system sources to the latest security release or stable branch.
  • Harden the OS by enabling relevant security features. I usually throw up a pf firewall and enable some security related sysctls.
  • Double check your ssh configuration and make sure it doesn't allow for root logins. It used to be allowed in the default OpenBSD install, but I'm not sure if that is the case anymore.
  • Disable any daemons I do not need (usually not a problem on BSD systems) and enable the ones I like.
  • Update the sources for ports and install whatever I feel like.
The best advice I can give is to read the manual and FAQ on OpenBSD's website. It answers just about every question 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
Malus is offline   Reply With Quote
Old Mar 26, 2007, 06:53 AM Threadstarter Thread Starter   #9
DriverHeaven Extreme Member
 
Join Date: May 2005
Posts: 6,794
Rep Power: 0
H3X4D3C1M4L will become famous soon enoughH3X4D3C1M4L will become famous soon enough

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....
H3X4D3C1M4L is offline   Reply With Quote
Old Apr 18, 2007, 09:23 PM Threadstarter Thread Starter   #10
DriverHeaven Extreme Member
 
Join Date: May 2005
Posts: 6,794
Rep Power: 0
H3X4D3C1M4L will become famous soon enoughH3X4D3C1M4L will become famous soon enough

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).
H3X4D3C1M4L is offline   Reply With Quote
Old Apr 23, 2007, 02:24 AM   #11
BSD SMASH!
 
Malus's Avatar
 
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0
Malus is on a distinguished road

Quote:
Originally Posted by H3X4D3C1M4L View Post
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).
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
Malus is offline   Reply With Quote
Old May 2, 2007, 04:35 AM Threadstarter Thread Starter   #12
DriverHeaven Extreme Member
 
Join Date: May 2005
Posts: 6,794
Rep Power: 0
H3X4D3C1M4L will become famous soon enoughH3X4D3C1M4L will become famous soon enough

Quote:
Originally Posted by Malus View Post
Well, you could wait till May 1st, when 4.1 will be released.
Just so happens I've done that. We'll see if the machine survives building 4.1 stable then building the userland overnight and letting it idle all day.
H3X4D3C1M4L is offline   Reply With Quote
Old May 7, 2007, 06:51 AM   #13
BSD SMASH!
 
Malus's Avatar
 
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0
Malus is on a distinguished road

Quote:
Originally Posted by H3X4D3C1M4L View Post
Just so happens I've done that. We'll see if the machine survives building 4.1 stable then building the userland overnight and letting it idle all day.
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
Malus is offline   Reply With Quote
Old May 15, 2007, 08:41 PM Threadstarter Thread Starter   #14
DriverHeaven Extreme Member
 
Join Date: May 2005
Posts: 6,794
Rep Power: 0
H3X4D3C1M4L will become famous soon enoughH3X4D3C1M4L will become famous soon enough

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.
H3X4D3C1M4L is offline   Reply With Quote
Old May 16, 2007, 08:34 AM   #15
BSD SMASH!
 
Malus's Avatar
 
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0
Malus is on a distinguished road

Quote:
Originally Posted by H3X4D3C1M4L View Post
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.
You can use the scsi(8) command to spin up/down the disks manually (the spin down command is actually on the manpage), but I don't know of anything offhand that does it automagically in OpenBSD. I would search Google or check on a mailing list to see if anyone else has or knows a way of doing it. Worst case scenario would be that you have to write a patch to add support for it to apmd (which is pretty easy if you know C).

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
Malus is offline   Reply With Quote
Old Jun 3, 2007, 06:10 AM Threadstarter Thread Starter   #16
DriverHeaven Extreme Member
 
Join Date: May 2005
Posts: 6,794
Rep Power: 0
H3X4D3C1M4L will become famous soon enoughH3X4D3C1M4L will become famous soon enough

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.
H3X4D3C1M4L is offline   Reply With Quote
Old Jun 4, 2007, 04:26 AM   #17
BSD SMASH!
 
Malus's Avatar
 
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0
Malus is on a distinguished road

Quote:
Originally Posted by H3X4D3C1M4L View Post
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.
I there are now packages for Gnome under OpenBSD. XFCE should be in the works.
__________________
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
Malus is offline   Reply With Quote
Old Jun 6, 2007, 04:20 AM Threadstarter Thread Starter   #18
DriverHeaven Extreme Member
 
Join Date: May 2005
Posts: 6,794
Rep Power: 0
H3X4D3C1M4L will become famous soon enoughH3X4D3C1M4L will become famous soon enough

Well Gnome is in ports... I just never had much success compiling it, even with a successfully built X server.
H3X4D3C1M4L is offline   Reply With Quote
Old Jun 19, 2007, 04:43 PM Threadstarter Thread Starter   #19
DriverHeaven Extreme Member
 
Join Date: May 2005
Posts: 6,794
Rep Power: 0
H3X4D3C1M4L will become famous soon enoughH3X4D3C1M4L will become famous soon enough

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.
H3X4D3C1M4L is offline   Reply With Quote
Old Jun 21, 2007, 12:24 AM   #20
BSD SMASH!
 
Malus's Avatar
 
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0
Malus is on a distinguished road

Quote:
Originally Posted by H3X4D3C1M4L View Post
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.
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
Malus is offline   Reply With Quote
Old Jul 4, 2007, 08:07 PM Threadstarter Thread Starter   #21
DriverHeaven Extreme Member
 
Join Date: May 2005
Posts: 6,794
Rep Power: 0
H3X4D3C1M4L will become famous soon enoughH3X4D3C1M4L will become famous soon enough

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).
H3X4D3C1M4L is offline   Reply With Quote
Old Jul 25, 2007, 06:27 PM Threadstarter Thread Starter   #22
DriverHeaven Extreme Member
 
Join Date: May 2005
Posts: 6,794
Rep Power: 0
H3X4D3C1M4L will become famous soon enoughH3X4D3C1M4L will become famous soon enough

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)
H3X4D3C1M4L is offline   Reply With Quote
Old Jul 26, 2007, 12:47 AM   #23
BSD SMASH!
 
Malus's Avatar
 
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0
Malus is on a distinguished road

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
Malus is offline   Reply With Quote
Old Aug 30, 2007, 05:37 AM Threadstarter Thread Starter   #24
DriverHeaven Extreme Member
 
Join Date: May 2005
Posts: 6,794
Rep Power: 0
H3X4D3C1M4L will become famous soon enoughH3X4D3C1M4L will become famous soon enough

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.
H3X4D3C1M4L is offline   Reply With Quote
Old Sep 6, 2007, 02:43 AM   #25
BSD SMASH!
 
Malus's Avatar
 
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0
Malus is on a distinguished road

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"
which sets up the bridge and assigns an IP address. The syntax is probably different in OpenBSD, but the concept should be 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
Malus is offline   Reply With Quote
Old Sep 15, 2007, 06:00 AM Threadstarter Thread Starter   #26
DriverHeaven Extreme Member
 
Join Date: May 2005
Posts: 6,794
Rep Power: 0
H3X4D3C1M4L will become famous soon enoughH3X4D3C1M4L will become famous soon enough

I thought I would be able to do it like so...
By having these files
Code:
interface.bridge0
Code:
192.168.0.1 255.255.255.0 NONE NONE
bridgename.bridge0
Code:
ste0
ste1
sge0
But it didn't work like I would have hoped.
H3X4D3C1M4L is offline   Reply With Quote
Old Sep 23, 2007, 09:25 AM   #27
BSD SMASH!
 
Malus's Avatar
 
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0
Malus is on a distinguished road

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
You have to bring all of your interfaces up, then add them all to the bridge at once. Then you can configure the bridge's IP and whatnot. I would also check the manpages for brconfig(8) and bridgename.if(5) for some more insight on the issue.

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
Malus is offline   Reply With Quote
Old Sep 30, 2007, 05:25 AM Threadstarter Thread Starter   #28
DriverHeaven Extreme Member
 
Join Date: May 2005
Posts: 6,794
Rep Power: 0
H3X4D3C1M4L will become famous soon enoughH3X4D3C1M4L will become famous soon enough

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)
Thus bridge has no IP and dhcpd fails to work. I deleted the files, I tried blank ones, I tried just having "up" in eachbut nothing worked, man pages didn't give me any help (as far as I can tell this should all work).

Any ideas ?
H3X4D3C1M4L is offline   Reply With Quote
Old Sep 30, 2007, 07:57 PM   #29
BSD SMASH!
 
Malus's Avatar
 
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0
Malus is on a distinguished road

Quote:
Originally Posted by H3X4D3C1M4L View Post
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)
Thus bridge has no IP and dhcpd fails to work. I deleted the files, I tried blank ones, I tried just having "up" in eachbut nothing worked, man pages didn't give me any help (as far as I can tell this should all work).

Any ideas ?
Did you try only giving one NIC an IP prior to bridging it, like in the FAQ?

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
Malus is offline   Reply With Quote
Old Nov 4, 2007, 02:35 AM Threadstarter Thread Starter   #30
DriverHeaven Extreme Member
 
Join Date: May 2005
Posts: 6,794
Rep Power: 0
H3X4D3C1M4L will become famous soon enoughH3X4D3C1M4L will become famous soon enough

Quote:
Originally Posted by Malus View Post
Did you try only giving one NIC an IP prior to bridging it, like in the FAQ?

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.
OK I've been working off and on with it and now I've got it.

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.
H3X4D3C1M4L is offline   Reply With Quote
Reply

Thread Tools