Re: Setting up printer with cups Epson Stylus Photo 820
On Sun, Nov 06, 2005 at 12:22:55AM -0600, Jeff Roach wrote: > I finally got it working. Here are the steps, you could have read this post to ports@ from a few days ago instead: http://marc.theaimsgroup.com/?l=openbsd-ports&m=113082409018820 probably would have been much less work for you. -- <[EMAIL PROTECTED]>
Re: Dual Head Graphic Card
Gustavo Rios wrote: > Dear friends, > > mo desktop box's graphic card has support for two monitor. I have two > sets containing each: 1 monitor, 1 mouse and 1 keyboard. The mouse and > keyboard are connected to the monitor via USB. I wonder if i could > have a configuration like that: > > I would like to have the first 5 ttys connected to the one set of > devices, and the second set holding the seconds 5 ttys. > > The ideia is to be able to have two users connected independently to a > single desktop. > > Could i made my self clear about my goal? Is that possible to achieve? > > Thanks in advance for your time and cooperation. > > Best regards. Of course it is possible. Just write enough code. Don't waste your time. Add an old, second computer pulled out of the trash to the puzzle, run X on it, and use it as an X terminal for the first. You have accomplished your stated goal using tools the way they were intended to be used, rather than twisting them in ways they were not intended. Plus, you have much greater scalablity -- what do you do for the THIRD, fourth, or twentieth user on your system? With my recommendation, just add more "junk" computers. Your idea? Not going to happen. Nick.
Re: Setting up printer with cups Epson Stylus Photo 820
I finally got it working. Here are the steps, OpenBSD 3.8, cups-1.1.23p2, ESP Ghostscript 7.07.1 and gutenprint-5.0.0-rc1 I installed the above in that order. Cups was a pkg and the other two were source. To install ghostscript I unpacked jpegsrc.v6b in the root directory. Then ./configure --with-cups --without-omni gmake gmake install The compile only works with gmake. For gutenprint ./configure --without-gimp --with-cups --disable-translated-cups-ppds gmake gmake install In configuring the printer with cups I set it up as a parallel polled printer (Epson) I first tested with lptest > /dev/ulpt0 with the BSD print system and could not print. Switching to a parallel cable solved that. Cheers, Jeff On 9/26/05, Theo de Raadt <[EMAIL PROTECTED]> wrote: > > Someone is telling you to use a non-standard FreeBSD extension. That's > hogwash. I suggest you advice them that their FAQ has an error. That > is not standard to any other system. > > And even then, it is even more wrong. > > > I've since found a link under the Gimp-Print FAQ that talks about the > > difficulty of printing to Epson Stylus printers in Free, Net and > OpenBSD. > > > > http://gimp-print.sourceforge.net/p_FAQ_OS_X.php3#BSD > > > > The short of it is that the BSD driver resets the printer losing sync. > The > > fix is to use unlpt0 instead of ulpt0 and it tells how to create the > device. > > However the command > > > > mknod unlpt0 c 113 64 root wheel > > > > gives usage: mknod... What is the correct command and is there anything > else > > I would need to do after this to get CUPS to recognize the printer at > that > > device? > > > > Thanks.
Re: OT: 10 things i hate most on unix
Gustavo Rios wrote: > Hey folks, > > sorry, but i found this on the web. May someone tell if it is serious, > i myself could not believe it. > > http://www.informit.com/articles/article.asp?p=424451&seqNum=1 The author is taking themselves seriously. I don't recommend you make the same mistake. 1) Everything Is a File (Unless It Isn't) yeah, so? The better solution would be to make somethings a file and somethings not? Hows' that different? Or maybe the Plan 9 option which is supposedly super-consistent, but lacking applications and usage in real life. 2) Everything Is Text I've worked on systems where some files are fixed records, others are binary, some are text...thank you, I like the Unix approach. 3) No Introspection Har. MacOS as an example of what he wants? Gee, isn't Apple DROPPING that "feature" on OSX? While it is great if you happen to be interested in only talking to other Macs, it's a major irritant if you can't get the ENTIRE REST OF THE WORLD to agree with you on how its done, and that WILL NOT happen. 4) X11: Almost a GUI a very weak, but almost valid point here. I first saw this comment about X almost 20 years ago. X11 is kinda clunky in some regards, but not so clunky that people have decided as a group on a good alternative. Propose an alternative, port it to a lot of platforms, port a lot of software to it, and then we will talk. Until then, enjoy X. 5) Standard Input, Standard Output Without an alternative stated, this is complete bull. Don't like STDIO? Don't use it. Isn't appropriate for your app? Don't use it. Sheesh. 6) Synchronous System Calls *yawn* Hm. If QNX is so much more efficient, why is Unix used on most supercomputers now? Obviously, the "issue" isn't big enough to cause people to jump favorite OSs. 7) One-Way System Calls Yes, this is clearly why there are so few applications written in Unix. *snicker* 8) C: Cross-Platform PDP Assembler ok, this argument kills all credibility for the whiner..er..author in my eyes. C became the language of choice for because it WORKS and works well for its intended purpose. It was developed by people who used it for their own use. It was chosen by others because it worked for them. Yes, it was developed IN a Huge Company, but it was not pushed by them. Contrast that to a popular language right now which is being crammed down the corporate world's throat. I really suspect that ten years after Sun Microsystems vanishes or quits pushing Java, Java will vanish like scores of other proprietary languages, and C will still be actively used. ok, I may be a bit biased here. I love C. I fell in love with it almost from the first article I read about it (Byte Magazine, early 1980s), and loved it when I first started programming in it (Software Toolworks C on CP/M-80, later BDS C, also on CP/M-80. BDS C could produce "hello world" in a COMPLETELY self-contained 2k binary). The "White Book" was the ultimate programming language definition guide -- very complete, and very readable, and very slim. You could feel the bits and bytes flowing by in your programs. Everything was an integer -- pointers were integers, strings were integers, and even floating point was just a bunch of bytes(=integers) you handled carefully. Yeah, obviously, it had some serious problems -- the "portable assembly language" idea just doesn't work out for anything other than the most basic of programs, so layers of abstraction were added in ANSI C. The whole "C doesn't do strings" has always been complete Bull Sh*t in my mind. C does strings like the processor underneath does -- it doesn't make complex operations involving moving thousands of bytes look "simple". While I do use Perl for some apps, the stuff it lets you get away with in one line creeps me out horribly...knowing C and a few (ancient) assembly languages, I know what is going on under the covers, but I have sympathy for the new programmer (or very experienced programmer who lacks certain bits of experience) who writes a ten line program and wonders why it takes twenty minutes to run... C isn't the ultimate language for all activities, but it is darned good, it has been chosen through natural selection, not marketing money and buzzword compliance. Sure, I'd love to see a "better" language, but I haven't seen it yet, and I have seen LOTS of "replacements for C" that clearly will never take over. Funny, many of the alternative languages to C are written in..C. And, they are available and were originally developed on Unix. I'll admit, my love of C kinda faded when it went from being a "PDP assembler" to a "completely portable, abstract, high-level language" that ANSI C is now. Yeah, yeah, I know, all kinds of advantages to portable code. But no ANSI C compiler does a "hello world" in a 2k stand-alone binary...and you can't "feel" the bytes in your fingers anymore (and if you do, you are writing non-portable code, which is bad. See why I stay out of src/ ? :). Som
Re: OpenBSD official media
You mean because hppa, mac68k, m88k and sparc, just to name a few, have outstanding DVD devices available. Come on now, THINK before typing. On Sun, Nov 06, 2005 at 05:03:20PM +1300, Lin, Shih-Min wrote: > Hi all - > > I just ordered OpenBSD 3.8 CDROM recently, which hopefully would > arrive next week. Here I've got a minor question: are you thinking > of releasing OpenBSD official "DVD" rather than "CDROM" in future? > I personally prefer one single disk than multiple disks... > > Best regards, > Sam
Re: OT: 10 things i hate most on unix
http://www.informit.com/authors/bio.asp? a=79c6e6ec-5bc6-49a8-8d5d-0fccd04b1a7b He's a CS major working on a PhD in "autonomic computing" and co- authored a Red Hat Linux book. Of course he's bitter and hasn't got the full picture. ;-) His complaints are either edge cases, or simply wrong. Ignore him. As someone else in the peanut gallery stated earlier: His "first class honors degree" and two pounds will get him a pint at the local pub. -- Bryan Allen [EMAIL PROTECTED] http://bda.mirrorshades.net Cyberpunk is dead. Long live cyberpunk.
Re: OT: 10 things i hate most on unix
On 06/11/2005, at 3:32 PM, Damien Miller wrote: Don't bother giving the publication the benefit of the page impressions. If anyone still wants to read it, but wish to avoid the adverts, this is the printer friendly version: http://www.informit.com/articles/printerfriendly.asp?p=424451
Re: OT: 10 things i hate most on unix
On Sun, 6 Nov 2005 00:40:12 -0200 Gustavo Rios <[EMAIL PROTECTED]> wrote: > Hey folks, > > sorry, but i found this on the web. May someone tell if it is serious, > i myself could not believe it. > > http://www.informit.com/articles/article.asp?p=424451&seqNum=1 Just another troll for 10+ pages of adverts. No original insight there - just a rehashing old arguments made by people who either don't understand Unix or have an axe to grind. Don't bother giving the publication the benefit of the page impressions. -d
Re: 10 things i hate most on unix
Quoth Gustavo Rios Saturday, November 05, 2005 8:40 PM > > Hey folks, > > sorry, but i found this on the web. May someone tell if it is serious, > i myself could not believe it. > > http://www.informit.com/articles/article.asp?p=424451&seqNum=1 "UNIX was a terrific workhorse for its time, but eventually the old nag needs to be put out to pasture." Seems to me that Unix has outlived its betters, notably Multics. The end of Unix has been proclaimed for ages. I think there are many legitimate gripes about Unix. I doubt that you will find any in said article. Unix is deceptively simple. And deceptively powerful.
OpenBSD official media
Hi all - I just ordered OpenBSD 3.8 CDROM recently, which hopefully would arrive next week. Here I've got a minor question: are you thinking of releasing OpenBSD official "DVD" rather than "CDROM" in future? I personally prefer one single disk than multiple disks... Best regards, Sam
pkg_add, pkg_delete -- can't force
Hello I have installed openbsd 3.8. I am trying to make an email server with the Horde Interface. I installed all necessary packages as binaries with the pkg_add utility. When I finally got Horde up and and running, I found that php5 was a dependency for horde-3.0.4. The horde docs and the test.php file state very clearly that php5 is experimental, and is not recommended. Furthermore, many of the features I need (like mysql support) were not compiled in the binary. So I tried to uninstall all the php5 packages that were installed as dependencies and replace them with php4. I found the the pkg_delete -F command would not work. It seemed to completely ignore the -F flag. For example "pkg_delete -F baddepend php5-mcrypt-5.0.4" would complain that horde and php5 must be uninstalled as well. I tried all the arguments for the -F flag, and finally used the dependencies option, which worked as one might expect -- it removed the package and all of its dependencies. So, I figured I would try it from the other side. I compiled php4 with ports. I made my own make file to include the options that horde and I wanted. After it was installed, I tried to install horde. It would not let me, because php5 was a dependency. So I tried the -F flag. Again, this did not work: # pkg_add -F conflicts horde-3.0.4.tgz Can't install php5-core-5.0.4p0 because of conflicts (php4-core-4.4.0p0) /usr/sbin/pkg_add: php5-core-5.0.4p0:Fatal error I thought that the -F flag would force the install despite the fact that a conflicting package was found. It did not. So, either this is broken, or I am missing something here... How can I get Horde3 installed without using php5? I prefer not to have to resort to installing from the tarball, as I like the installation db to be accurate, and I want to stay within the audited code. Any suggestions? Thanks. Chris
OT: 10 things i hate most on unix
Hey folks, sorry, but i found this on the web. May someone tell if it is serious, i myself could not believe it. http://www.informit.com/articles/article.asp?p=424451&seqNum=1
Re: new audio drivers for macppc
On Tue, Nov 01, 2005 at 12:03:25AM -0500, Brad wrote: > A heads up to any macppc users. > > -current now has 3 new audio drivers for macppc. aoa(4), daca(4) > and tumbler(4). If you have a macppc system which currently does > not have supported built-in audio; then I would ask that you please > try out the latest snapshot at > > ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/macppc I'm very bad at following instructions, so I didn't do this. But I did compile my sources from the -current and tumbler gets detected. > to find out if any of the 3 drivers listed above are at least detected. > there is no guarentee the driver will work once detected. there is > one known defect so far, and that is that with the tumbler driver at > the moment there is an issue with the i2s code which prevents the driver > from working on some iBook laptops. I would very much encourage as many I have an iBook and that's pretty well what I'm seeing. Every time I try to play an MP3 I get the following message on console: i2s_set_rate: timeout > users as possible to try out this snapshot to get a wide range of testers > for the audio drivers. I would also ask that you please send a dmesg > from your system to the list if you have do have the appropriate audio > hardware and mention whether it works or not and any other details. Below is my dmesg: OpenBSD 3.8-current (GENERIC) #0: Sun Nov 6 00:53:29 CET 2005 [EMAIL PROTECTED]:/sys/arch/macppc/compile/GENERIC real mem = 134217728 (131072K) avail mem = 112095232 (109468K) using 1254 buffers containing 6709248 bytes of memory mainbus0 (root): model PowerBook4,1 cpu0 at mainbus0: 750 (Revision 0x2214): 499 MHz: 256KB backside cache memc0 at mainbus0: uni-n mpcpcibr0 at mainbus0 pci: uni-north, Revision 0xff find_node_intr unable to find step size pci0 at mpcpcibr0 bus 0 pchb0 at pci0 dev 11 function 0 "Apple Pangea AGP" rev 0x00 vgafb0 at pci0 dev 16 function 0 "ATI Mobility M3" rev 0x02, mmio wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation) mpcpcibr1 at mainbus0 pci: uni-north, Revision 0x0 pci1 at mpcpcibr1 bus 0 pchb1 at pci1 dev 11 function 0 "Apple Pangea" rev 0x00 macobio0 at pci1 dev 23 function 0 "Apple Pangea Macio" rev 0x00 openpic0 at macobio0: version 0x4614 macgpio0 at macobio0 macgpio1 at macgpio0 irq 47 zsc0 at macobio0: irq 22,23 zstty0 at zsc0 channel 0 zstty1 at zsc0 channel 1 tumbler0 at macobio0: irq 30,1,2 adb0 at macobio0 irq 25: via-pmu, 3 targets aed0 at adb0 addr 0: ADB Event device akbd0 at adb0 addr 2: PowerBook G4 keyboard (Inverted T) wskbd0 at akbd0: console keyboard, using wsdisplay0 ams0 at adb0 addr 3: EMP trackpad 2-button, 400 dpi wsmouse0 at ams0 mux 0 abtn0 at adb0 addr 7: brightness/volume/eject buttons apm0 at adb0: battery flags 0x5, 99% charged ki2c0 at macobio0 wdc0 at macobio0 irq 19: DMA wd0 at wdc0 channel 0 drive 0: wd0: 16-sector PIO, LBA, 14403MB, 29498112 sectors wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 audio0 at tumbler0 ohci0 at pci1 dev 24 function 0 "Apple Pangea USB" rev 0x00: irq 27, version 1.0 usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: Apple OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ohci1 at pci1 dev 25 function 0 "Apple Pangea USB" rev 0x00: irq 28, version 1.0 usb1 at ohci1: USB revision 1.0 uhub1 at usb1 uhub1: Apple OHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered mpcpcibr2 at mainbus0 pci: uni-north, Revision 0x16 pci2 at mpcpcibr2 bus 0 pchb2 at pci2 dev 11 function 0 "Apple Pangea PCI" rev 0x00 "Apple Pangea FireWire" rev 0x00 at pci2 dev 14 function 0 not configured gem0 at pci2 dev 15 function 0 "Apple Pangea GMAC" rev 0x00: irq 41, address 00:03:93:14:3f:be bmtphy0 at gem0 phy 0: BCM5221 100baseTX PHY, rev. 3 uplcom0 at uhub1 port 1 uplcom0: ATEN International Serial, rev 1.10/0.01, addr 2 ucom0 at uplcom0 bootpath: '/[EMAIL PROTECTED]/ethernet/bsd' boot device: gem0. nfs_boot: using network interface 'gem0' nfs_boot: client_addr=172.16.2.255 nfs_boot: server_addr=172.16.2.2 hostname=triton root on 172.16.2.2:/usr/triton/root swap on 172.16.2.2:/usr/triton/swap wd0(wdc0:0:0): timeout type: ata c_bcount: 0 c_skip: 0 i2s_set_rate: timeout i2s_set_rate: timeout i2s_set_rate: timeout i2s_set_rate: timeout i2s_set_rate: timeout
hostname detective
Hi I found the thread below on google when searching for the hostname detective issue. I appreciate this was raised in June 2004, but there doesnt appear to be many more instances of this issue on the net. Question is did you find out what caused it? I have it on my network and Id like to know how to prevent reoccurrence. Thanks Mark Skimming through my leases file I noticed a bogus MAC address of 45:3b:13:0d:89:0a as well as two others which used the hostname "detective" and leased all of the available IP addresses in my pool for two minutes. I googled for this situation and found a published log from some college's dhcp.leases file with the same MAC address and hostname being used. Has anyone else seen this behavior before? The only interface serving DHCP is my internal one with only two machines on it. Almost sounds like one of them got hacked. Does anyone know what virus/spyware would've caused this? Thanks Tim - Email sent from www.ntlworld.com Virus-checked using McAfee(R) Software Visit www.ntlworld.com/security for more information
Dual Head Graphic Card
Dear friends, mo desktop box's graphic card has support for two monitor. I have two sets containing each: 1 monitor, 1 mouse and 1 keyboard. The mouse and keyboard are connected to the monitor via USB. I wonder if i could have a configuration like that: I would like to have the first 5 ttys connected to the one set of devices, and the second set holding the seconds 5 ttys. The ideia is to be able to have two users connected independently to a single desktop. Could i made my self clear about my goal? Is that possible to achieve? Thanks in advance for your time and cooperation. Best regards.
Re: FYI: new mailing list anti-spam measures
On Thu, Nov 03, 2005 at 04:13:50PM -0500, the unit calling itself Todd C. Miller wrote: > The mailing list server is now using several blacklists from the > SORBS project (http://www.sorbs.net) to prevent spam. So far it > is using the SORBS zombie, spam, web form and dialup blacklists. > > This does mean that people sending mail from a dynamic IP address > (cable modem, dynamic DSL or dialup) will need to relay messages > through their ISP's mail server. This will probably have the biggest > impact on cable modem users running their own SMTP servers. > > - todd Begging your pardon, sir, but are you sure this is a "good thing" to do? SORBS appears to be somewhat hostile, requiring "registration" even to check whether or not your IP address is listed. Furthermore, if you check the spam list at www.dnsstuff.com, they indicate that the "dial-up" list should not be used. I assume you have implemented this because you feel spam on the list has reached an unacceptable level? Respectfully, J
Re: FYI: new mailing list anti-spam measures
On Saturday 05 November 2005 04:35 pm, J Moore wrote: > On Thu, Nov 03, 2005 at 04:13:50PM -0500, the unit calling itself Todd C. Miller wrote: > > The mailing list server is now using several blacklists from the > > SORBS project (http://www.sorbs.net) to prevent spam. So far it > > is using the SORBS zombie, spam, web form and dialup blacklists. > > > > This does mean that people sending mail from a dynamic IP address > > (cable modem, dynamic DSL or dialup) will need to relay messages > > through their ISP's mail server. This will probably have the biggest > > impact on cable modem users running their own SMTP servers. > > Well, let's see if this affects me... Testing I use an SMTP server at home
Re: FYI: new mailing list anti-spam measures
On Thu, Nov 03, 2005 at 04:13:50PM -0500, the unit calling itself Todd C. Miller wrote: > The mailing list server is now using several blacklists from the > SORBS project (http://www.sorbs.net) to prevent spam. So far it > is using the SORBS zombie, spam, web form and dialup blacklists. > > This does mean that people sending mail from a dynamic IP address > (cable modem, dynamic DSL or dialup) will need to relay messages > through their ISP's mail server. This will probably have the biggest > impact on cable modem users running their own SMTP servers. Well, let's see if this affects me...
Bridge with three IFs
Sorry to re-send this email. My first emain was sent before my subscription was complete! So I couldn't receive any answer (if any). Hi, I want to implement an OpenBSD based bridge with three interfaces (and a fourth one only for management access). The bridge should dispatch the incoming traffic on eth0 to either eth1 or eth2 based on the MAC Address of the ingress packet. If the sender's MAC address is **known** (already entered in a certain table) then it should be sent out via eth1 to its real destination, and otherwise it should go out through eth2 to its real destination OR to a predefined/fixed destination based on protocol/port! I have searched Internet, but there you find mostly tiresome discussions about MAC Filtering not being enough, rather than how to implement this "not enough" technique! Can anyone provide me with a working configuration which could help in defining appropriate rules for the above scenario. I don't know if everything can be done in pf.conf alone, or there should be some additional rules (with brconfig) tagging packets to be later appropriately handled by pf? Thanks already for any help. Regards, H. Badbanchi
Re: amd64 port works on Intel EM64T?
[EMAIL PROTECTED] wrote: I'm glad, because I've ordered an Athlon64 3000+ Venice core processor (chickened out on spending $500+ on a San Diego 4000+ or X2 3700+). It would be nice if my compiles were as fast or faster than my Celeron D 336 2.8GHz and my Pentium 4 3GHz with 1MB L2 cache. I found that compiling the amd64 kernel on an AMD 2.4GHz machine (Athlon 64 3000+, I think) was almost exactly twice as fast as compiling i386 on a P4 2.4GHz. I realize it's not a 100% fair benchmark, since I think amd64 has fewer drivers to compile, and in my case the Intel had a lot more memory and faster SCSI disks. Still, twice as fast is twice as fast...
Re: Limit filesharing traffic with PF
> On 11/4/05, Christoph Egger <[EMAIL PROTECTED]> wrote: > > The P2P traffic can be identified this way: > > - The source IP from one client is always the same > > - The client establishes lots of connections to many destination IP > > adresses > > Use synproxy, max-src-states, and overload tables. Automagically locks > out agressive clients such as viruses and P2P users (and people > browsing Fark photoshop threads). For bonus points, script the > addition of the MAC address to your switching ACLs. This is a great idea. Tnx. But I also want to unlock them automatically after 15 minutes again, except infected clients. Worms can be identified by filtering outgoing port 25, which is no problem. Incoming traffic is locked generally due to nat n:1. > -- > Jon Simola > Systems Administrator > ABC Communications -- Greetings, Christoph Highspeed-Freiheit. Bei GMX superg|nstig, z.B. GMX DSL_Cityflat, DSL-Flatrate f|r nur 4,99 Euro/Monat* http://www.gmx.net/de/go/dsl
Dual proc doesn't work on Compaq ProLiant DL360
Hi! I have installed OpenBSD 3.8 on a Compaq ProLiant DL360 server, but I can't make the SMP work. Here is my dmesg: Best Regards Zoltan Beck OpenBSD 3.8 (GENERIC.MP) #298: Sat Sep 10 15:51:54 MDT 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.27 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 2147049472 (2096728K) avail mem = 1953083392 (1907308K) using 4278 buffers containing 107454464 bytes (104936K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf pcibios0 at bios0: rev 2.1 @ 0xf/0x2000 pcibios0: PCI BIOS has 6 Interrupt Routing table entries pcibios0: PCI Interrupt Router at 000:15:0 ("ServerWorks ROSB4 SouthBridge" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0x8000 0xc8000/0x4000! 0xe8000/0x6000 0xee000/0x2000! cpu0 at mainbus0: (uniprocessor) cpu0: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.27 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20LE Host" rev 0x06 pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20LE Host" rev 0x06 pci1 at pchb1 bus 3 fxp0 at pci1 dev 4 function 0 "Intel 82557" rev 0x08, i82559: irq 7, address 00:02:a5:8c:9d:76 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4 fxp1 at pci1 dev 5 function 0 "Intel 82557" rev 0x08, i82559: irq 10, address 00:02:a5:8c:9d:77 inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4 cac0 at pci0 dev 1 function 0 "Symbios Logic 53c1510" rev 0x02: irq 3 Compaq Integrated Array scsibus0 at cac0: 1 targets sd0 at scsibus0 targ 0 lun 0: SCSI2 0/direct fixed sd0: 17359MB, 4357 cyl, 255 head, 32 sec, 512 bytes/sec, 35553120 sec total vga1 at pci0 dev 3 function 0 "ATI Mach64 GV" rev 0x7a wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) "Compaq Netelligent ASMC" rev 0x00 at pci0 dev 4 function 0 not configured ppb0 at pci0 dev 5 function 0 "Intel i960 RP PCI-PCI" rev 0x05 pci2 at ppb0 bus 1 "ATI Mach64 GV" rev 0x7a at pci2 dev 0 function 0 not configured "Intel 80960RP ATU" rev 0x05 at pci0 dev 5 function 1 not configured pcib0 at pci0 dev 15 function 0 "ServerWorks ROSB4 SouthBridge" rev 0x51 pciide0 at pci0 dev 15 function 1 "ServerWorks OSB4 IDE" rev 0x00: DMA atapiscsi0 at pciide0 channel 1 drive 0 scsibus1 at atapiscsi0: 2 targets cd0 at scsibus1 targ 0 lun 0: SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: spkr0 at pcppi0 sysbeep0 at pcppi0 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask eb6d netmask efed ttymask ffef pctr: 686-class user-level performance counters enabled mtrr: Pentium Pro MTRR support dkcsum: sd0 matches BIOS drive 0x80 root on sd0a rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
Re: Problem instaling OpenBSD on IBM xSeries 336
Hello all, I tried to compile my own kernel. i386 kernel did not work for me. I tried both GENERIC and GENERIC.MP for amd64. After it, I compiled my own kernel. If it is interesting for somebody, I am sending my configs and dmesg. My questions are (Sorry I am not multiprocessor expert): - is irq routing ok? - if not, is there some possibility to make it good? Result after all this is, that all irqs going from network interfaces are directed to cpu0 which is overloaded but cpu1 is idle. I think this is not good. Thank you for any suggestion ! Lukas Macura Here is GENERIC.MP (GENERIC untouched): include "arch/amd64/conf/GENERIC" option MULTIPROCESSOR option MPBIOS option MPVERBOSE option MPACPI cpu*at mainbus? ioapic* at mainbus? aapic* at pci? # AMD 8131 IO apic Here is dmesg: dmesg OpenBSD 3.8-current (GENERIC.MP) #6: Thu Nov 3 17:32:14 CET 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 1073319936 (1048164K) avail mem = 908783616 (887484K) using 22937 buffers containing 107540480 bytes (105020K) of memory mainbus0 (root) mainbus0: scanning 0x9d400 to 0x9d7f0 for MP signature mainbus0: MP floating pointer found in extended bios data area at 0x9d540 mainbus0: MP config table at 0x9e520, 356 bytes long mainbus0: Intel MP Specification (Version 1.4) (IBM ENSW X336 SMP) cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(TM) CPU 3.20GHz, 3200.72 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,NXE,LONG cpu0: 2MB 64b/line 8-way L2 cache cpu0: calibrating local timer cpu0: apic clock running at 27132Hz cpu0: kstack at 0x80006585c000 for 20480 bytes cpu0: idle pcb at 0x80006585c000, idle sp at 0x800065860ff0 cpu1 at mainbus0: apid 6 (application processor) cpu1: Intel(R) Xeon(TM) CPU 3.20GHz, 3200.12 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,NXE,LONG cpu1: 2MB 64b/line 8-way L2 cache cpu1: kstack at 0x800065861000 for 20480 bytes cpu1: idle pcb at 0x800065861000, idle sp at 0x800065865ff0 mpbios: bus 0 is type PCI mpbios: bus 1 is type PCI mpbios: bus 2 is type PCI mpbios: bus 3 is type PCI mpbios: bus 4 is type PCI mpbios: bus 5 is type PCI mpbios: bus 6 is type PCI mpbios: bus 7 is type PCI mpbios: bus 8 is type ISA ioapic0 at mainbus0 apid 14: pa 0x81ba7f24, virtual wire mode, version 20, 24 pins ioapic1 at mainbus0 apid 13: pa 0x81ba7e24, virtual wire mode, version 20, 24 pins ioapic2 at mainbus0 apid 12: pa 0x81ba7d24, virtual wire mode, version 20, 24 pins ioapic0: int1 attached to isa0 irq 1 (type 0x0 flags 0x0) ioapic0: int2 attached to isa0 irq 0 (type 0x0 flags 0x0) ioapic0: int6 attached to isa0 irq 6 (type 0x0 flags 0x0) ioapic0: int8 attached to isa0 irq 8 (type 0x0 flags 0x5) ioapic0: int9 attached to isa0 irq 9 (type 0x0 flags 0x0) ioapic0: int12 attached to isa0 irq 12 (type 0x0 flags 0x0) ioapic0: int13 attached to isa0 irq 13 (type 0x0 flags 0x0) ioapic0: int14 attached to isa0 irq 14 (type 0x0 flags 0x0) ioapic0: int15 attached to isa0 irq 15 (type 0x0 flags 0x0) mpbios: can't find ioapic 0 ioapic0: int16 attached to pci0 device 29 INT_A (type 0x0 flags 0x0) ioapic0: int19 attached to pci0 device 29 INT_B (type 0x0 flags 0x0) ioapic0: int23 attached to pci0 device 29 INT_D (type 0x0 flags 0x0) ioapic0: int17 attached to pci0 device 31 INT_B (type 0x0 flags 0x0) ioapic0: int16 attached to pci1 device 1 INT_A (type 0x0 flags 0x0) mpbios: can't find ioapic 0 ioapic1: int4 attached to pci4 device 1 INT_A (type 0x0 flags 0x0) ioapic2: int0 attached to pci5 device 1 INT_A (type 0x0 flags 0x0) ioapic0: int16 attached to pci6 device 0 INT_A (type 0x0 flags 0x0) ioapic0: int16 attached to pci7 device 0 INT_A (type 0x0 flags 0x0) local apic: int1 attached to NMI (type 0x1 flags 0x0) local apic: int0 attached to ExtINT (type 0x3 flags 0x0) mainbus0: MP WARNING: 348 bytes of extended entries not examined pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 "Intel E7710 SMCH" rev 0x0c "Intel E7710 MCH ERR" rev 0x0c at pci0 dev 0 function 1 not configured ppb0 at pci0 dev 2 function 0 "Intel E7710 MCH PCIE" rev 0x0c pci1 at ppb0 bus 2 ppb1 at pci0 dev 4 function 0 "Intel E7710 MCH PCIE" rev 0x0c pci2 at ppb1 bus 3 ppb2 at pci2 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09 pci3 at ppb2 bus 4 mpt0 at pci3 dev 1 function 0 "Symbios Logic 53c1030" rev 0x08: apic 13 int 4 (irq 10) mpt0: sending FW Upload request to IOC (size: 36, img size: 69956) mpt0: IM support: 4 scsibus0 at mpt0: 16 targets sd0 at scsibus0 targ 0 lun 0: SCSI2 0/direct fixed sd0: 139898MB, 139898 cyl, 16 head, 128 sec, 512 bytes/sec, 286511104 sec total mpt0: target 0 Asynchronous at 0MHz width 8bit offset 0 QAS 0 DT 0 IU 0 ppb3 at pci2 dev 0 function 2 "Intel PCIE-PCIE" rev 0x09 pci4 at ppb
Re: openbsd 3.8-stable +fsck +HD problem
ok i fixed the problem with that harddrive and fsck I just had toi change disklabel and now everything is working just fine. thx for tip
3.8 build world
I did a normal install and then made the GENERIC kernel. rebooted.. then built world. It completed with no issues. So then I was attempting to clean up the build environment: rm -rf /usr/obj/* cd /usr/src && find . -type l -name obj | xargs rm and during the 1st step - the machine stopped responding to my ssh session. so I logged into the console (no issue) and looked at all the processes. Nothing was running - so I thought this cleanup was done. but an ls -al of /usr/obj proved me wrong. I then tried to do this manually from the console and noticed that the hard drive was no longer responding to openbsd. I am running an IBM 305 with serverworks chipsets and IDE (new) seagate drives. After a reboot, the drive needed to be fsck'd but then seemed to work. Any thoughts on this - its rather concerning that this could happen while in use. For the record, I never noticed this when I ran a snapshot 30 days ago. thanks- -- J.D. Bronson Information Services West Allis Memorial Hospital Aurora Health Care - Milwaukee, Wisconsin Office: 414.978.8282 // Fax: 414.977.5299 Microsoft Gives you Windows || Unix Gives you a home
Re: harddisk geometry problem.
On 11/5/05, Riccardo Giuntoli <[EMAIL PROTECTED]> wrote: > On 11/5/05, Nick Holland <[EMAIL PROTECTED]> wrote: > >... > > btw: also include FULL output of disklabel... > > wd1 at pciide0 channel 0 drive 1: > wd1: 32-sector PIO, LBA, 9768MB, 20005650 sectors > wd1(pciide0:0:1): using PIO mode 4, DMA mode 2 > dkcsum: wd1 matches BIOS drive 0x81 > > Disk: wd1 geometry: 637/255/63 [10233405 Sectors] > Offset: 0 Signature: 0xAA55 > Starting Ending LBA Info: > #: idC H S -C H S [ start: size ] > > 0: 000 0 0 -0 0 0 [ 0: 0 ] unused > 1: 000 0 0 -0 0 0 [ 0: 0 ] unused > 2: 000 0 0 -0 0 0 [ 0: 0 ] unused > *3: A60 1 1 - 636 254 63 [ 63:10233342 ] OpenBSD > > # Inside MBR partition 3: type A6 start 63 size 10233342 > # /dev/rwd1c: > type: ESDI > disk: ad0s1 > label: > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 16 > sectors/cylinder: 1008 > cylinders: 10157 > total sectors: 10239201 > rpm: 3600 > interleave: 1 > trackskew: 0 > cylinderskew: 0 > headswitch: 0 # microseconds > track-to-track seek: 0 # microseconds > drivedata: 0 > > 8 partitions: > # sizeoffset fstype [fsize bsize cpg] > a: 1023913863 4.2BSD 2048 16384 328 # Cyl 0*- > 10157* > c: 10239201 0 unused 0 0 # Cyl 0 - > 10157* > > p.s: i didn't want to irritate noone... > -- > Name: Riccardo Giuntoli > Email: [EMAIL PROTECTED] > Location: Genova, Italy > 6BONE Handle: RG581-6BONE > PGP Key: 0x67123739 > PGP Fingerprint: CE75 16B5 D855 842F AB54 > FB5C DDC6 4640 6712 3739 > Key server: hkp://wwwkeys.eu.pgp.net > -- Name: Riccardo Giuntoli Email: [EMAIL PROTECTED] Homepage: http://www.luxoro.org/ Location: Genova, Italy 6BONE Handle: RG581-6BONE PGP Key: 0x67123739 PGP Fingerprint: CE75 16B5 D855 842F AB54 FB5C DDC6 4640 6712 3739 Key server: hkp://wwwkeys.eu.pgp.net
Re: configure my route table during boot
On 2005-11-04T18:58, netture wrote: > Hi every one. > > im a newbe with OpenBSD, > > I just wan to know how to set my route table as i want "during the boot > process". > in fact this is my route table > > $ netstat -rn > --- > Routing tables > > Internet: > DestinationGatewayFlags Refs UseMtu > Interface > default192.168.0.1UGS 0 22 > - em0 > 127/8 127.0.0.1 UGRS00 33224 lo0 > 127.0.0.1 127.0.0.1 UH 10 33224lo0 > 192.168.0/24 link#3 UC 10 - > bge0 <--- ! > 192.168.0.1link#3 UHLc10 - > bge0 224/4 127.0.0.1 URS 00 33224 lo0 > --- > > and I would like somthing like this > > --- > Routing tables that i would like > > Internet: > DestinationGatewayFlags Refs UseMtu > Interface > default192.168.0.1UGS 0 22 > - em0 > 127/8 127.0.0.1 UGRS00 33224 lo0 > 127.0.0.1 127.0.0.1 UH 10 33224lo0 > 192.168.0/24 link#3 UC 10 - > em0 <--- ! > 192.168.0.1link#3 UHLc10 - > em0 224/4 127.0.0.1 URS 00 33224 lo0 > --- > > I'v try to modify (with no succes) the file /etc/hostname.bge0 by adding > the following lines > > ! /sbin/route change -net 192.168.0/24 -ifp em0 > ! /sbin/route change -host 192.168.0.1 -ifp em0 this has nothing to do with routing! Try reading man 5 hostname.if You could just 'mv /etc/hostname.bge0 /etc/hostname.em0' and you should get what you want. And next time please, don't reply to a running thread with a different topic. hth, Marcus.
Re: Chrooted apache with chrooted ftp - how users can upload websites now?
Thank You all for respond! My ftp sessions were in chroot by /etc/ftpchroot ofcourse, so users cannot read anything outside their home folders. I didn't know how to make them got access into other folder (/var/www/users/username), but only there + home. As shell i'm using "nologin" because it is for website hosting only. So in my case i think i will just make /var/www/users/username their home directories. I remember that there was some software (some ftp server) that read supported folders for opening from file that was in user home dir. You may put there just /home/username & /var/www/users/username, put link in /home/user/ folder & he may access to both directories specified but nothing else. To bad ftpd don't got such option. At least i'm happy because the solution is simple like making users home directories in /var/www/users/username. Thank You all! Best Regards