Re: Change root password from shell-script
Am 27.01.10 18:14, schrieb Paul Branston: A little more generic in case there is no usermod -p PASSWORD=$(echo my_new_password | encrypt -b 6) perl -p -i.bk -e 's/^root:.*?:/root:$PASSWORD:/' /etc/shadow /etc/shadow: no such file
Re: /etc/localtime, date and other programs
Am 28.01.10 16:58, schrieb Daniele Pilenga: Have you tried *copying* the file over? That's how the installer does it. Did you actually try to install OpenBSD? That's _not_ how the installer does it.
Re: make OpenBSD beep at start
Am 24.01.10 01:32, schrieb jean-francois: Hi list, Can someone give a hin on how to make the speaker to beep for example with a command or a C program ? I started to write a little C program thinking there was a beep() functione, but it seems not Regards. how about midiplay(1)?
Re: SHA256 mismatch on base46.tgz in 20 Jan i386 snapshot
Am 23.01.10 07:05, schrieb James Hartley: A quick search in the misc@ archives PR database didn't reveal that anyone has mentioned this before. In installing the 20 January (#511) i386 snapshot, I received a SHA256 mismatch on base46.tgz. Otherwise, the snapshot installs as expected. Why check SHA256, if you still install it?
Re: Another question: device naming convention
Am 22.01.10 09:31, schrieb Song Li: On the other hand, IMHO, a system should allow its user's reasonable assumption. It would be a headache for everyone if we have to memorize the exact syntax for every single command. For me, OpenBSD is perfectly reasonable and easy to use. Even as I started to use it, I never had to ask the mailing list for advice, since the documentation is very good, imho the best documentation for an OS out there.
Re: writing to usb very slow
Am 19.01.10 23:35, schrieb T. Tofus von Blisstein: disklabel -E /dev/rsd1c allocate all for partition a newfs /dev/rsd1c I hope it's just a typo in your email, since rsd1c is the whole disk and will erase any partitioning table you previously created.
Re: fstab entries
Am 04.01.10 22:57, schrieb Michael Littlejohn: /dev/svnd1a /mnt/svnd1 *ffs* rw,noauto 0 0 /dev/svnd1a /mnt/svnd1 *cd9660* ro,noauto 0 0 /dev/svnd1a /mnt/svnd1 *udf* ro,noauto 0 0 Why not use a different svnd for each possible filesystem?
Re: What does your environment look like?
Am 03.01.10 04:11, schrieb Bryan: http://imagebin.ca/view/3JllgShA.png I will kill to learn how to use mutt... It looks great... That's vim used as editor for messages in mutt. But yes, mutt is great.
Re: Web Browsers
nixlists schrieb: I wonder what browsers they use? lynx
Re: OpenBSD book
ropers schrieb: http://i.imgur.com/ggkB5.png High Quality and Wikipedia articles are mutually exclusive! better get one of those: http://openbsd.org/books.html
Re: openbsd in virtualization
Pehr Svderman schrieb: Stuart Henderson wrote: On 2009-03-18, sonjaya sonj...@gmail.com wrote: ps: i'm so sory to ask this because Efficiency and reduce IT cost . how does one increase efficiency and reduce IT costs by making things more complicated Let me put it this way: I don't mind creating 60 virtual instances to give each student in a course a server to mess around with. I can wipe them and reinstall them in a matter of minutes if a student messes up a server. I would love those servers to be OpenBSD. Installing 60 physical servers to give the students something to play with is not fun :( You could do it just as easy, using netboot. wiping/reinstalling would have to take place only on one server, probably not much more as restoring the exported filesystems or boot images from a previous backup. Regards, Julian
Re: openbsd in virtualization
Toni Mueller schrieb: but it still increases the cost considerably: With virtualization, it suffices to give a thin client to each student, or maybe even less if not all 60 students are expected to work simultanously. With physical machines, this still creates much more hassle, and cost. Also, if one of the students decides to work somewhere else (eg. at home), he could, in theory, simply copy the VM to his computer and carry it away. I highly doubt that someone wants to manage lending out physical machines... Yeah, virtualization has it's use cases. I just wanted to point out that there is a different way, too :)
Re: linux binary emulation (corrected kdump)
Constantine Cusulos schrieb: Is there something i can do to run this binary?? There is elf2olf(1), with which you can brand the binary. No need for dd'ing stuff.
Re: Security issue, damn I've been hacked
Richard Toohey schrieb: $ md5 /usr/sbin/ntpd MD5 (/usr/sbin/ntpd) = a0c8961d5818b438ecbfd6c40be47a5f $ cat /etc/passwd root:*:0:0:Charlie :/root:/bin/ksh daemon:*:1:1:The devil himself:/root:/sbin/nologin operator:*:2:5:System :/operator:/sbin/nologin Your system must have been hacked.. The /etc/passwd contains too few entries!
Re: two screens 4.4 radeon.
Jesus Sanchez schrieb: drmOpenDevice: node name is /dev/drm0 drmOpenDevice: open result is -1, (Operation not permitted) drmOpenDevice: Open failed drmAvailable: no [drm] failed to load kernel module radeon (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM [dri] Disabling DRI. Sounds like you upgraded some time ago and forgot to run MAKEDEV.. Might not be related to your problem, but you should solve this.
Re: xterm and home-dir with automounter
Rudi Ludwig schrieb: I have put that at the end of my .profile and it works for remote login (ssh). But the KDE konsole and xterm still resist and display the physical location at start-up instead of $HOME (~). I did logout of the X session and login again, just to make sure. Are you using a login-shell for xterm/konsole? (-ls for xterm) If not, it won't evaluate your .profile. Greetings, Julian
Re: any binary compatibility on sparc64 port?
Hi Vivek, Vivek Ayer schrieb: Just wondering if the sparc64 ports supports any binary emulation modes. COMPAT_LINUX perhaps. compat_linux(8) only applies to i386 for now. Feel free to port it to sparc64 ;-) Also, I was looking into recompiling the kernel in sparc64 and I notice no such compiling directories or example config files exist in /usr/src. What do I have to do to compile my own kernel in sparc64? for compiling kernel, see the FAQ and release(8). You have to fetch the sources first, and be careful to select the version matching your system. Julian
Re: change serial console to display
ico schrieb: Hello gents, I did configure my old box with serial console probably 2 y ago. Now I'd like to get it back to normal. I don't have null modem cable available. What needs to be changed? I already tried without success: echo /etc/boot.conf or set tty pc0 but I'm still not able to get login on display. Any suggestions? Did you try to switch to a different console? like ctrl-alt-f2?
Re: IBM X60 heating up considerably when boot into OpenBSD
Amarendra Godbole schrieb: Hello misc@ My IBM (Lenovo) X60 laptop heats up considerably and the battery also discharges faster, when I boot into OpenBSD. This does not seem to be the case when I boot it into Windows XP. The relevant temperature sysctls are: hw.sensors.acpitz0.temp0=73.05 degC (zone temperature) hw.sensors.acpitz1.temp0=72.05 degC (zone temperature) hw.sensors.cpu0.temp0=72.00 degC hw.sensors.aps0.temp0=52.00 degC hw.sensors.aps0.temp1=52.00 degC dmesg is put up at http://www.obscure.org/~amunix/tmp/dmesg OpenBSD 4.4-current (kernel) #0: Mon Oct 27 11:37:30 IST 2008 [EMAIL PROTECTED]:/home/amar/site-specific/builds/kernel What and why did you change the kernel? try with generic. try enabling/disabling acpi/apm... I did read about SpeedStep, and slowing down the processor so that it consumes less power - so I am going to try it out by tweaking sysctl hw.cpuspeed and changing it from 1829 to 1000, but I am not sure if this would solve the problem. Has anyone encountered something similar? If yes, I'd appreciate tips to fix this (apart from the SpeedStepping stuff -- will post my findings. Thanks). -Amarendra
Re: list available wireless networks
Benoit Chesneau schrieb: On Mon, Oct 20, 2008 at 10:14 AM, Almir Karic [EMAIL PROTECTED] wrote: ifconfig -M On Mon, Oct 20, 2008 at 11:57:41AM +0400, Dmitrij D. Czarkoff wrote: Hi, all! How can I query available wireless networks in OpenBSD (the thing You do with iwlist ifname scan in linux)? -- Dmitrij D. Czarkoff P.S.: Please cc me as I'm not on a list. there is no -M on -current. How do we do now ? -- - benont Read the man page!
Re: list available wireless networks
Benoit Chesneau schrieb: I did. Which information could be usefull in ? I may be blind, but i didn't see any word about it. Btw could you post with a valid email. Delivery to the following recipient failed permanently: [EMAIL PROTECTED] -- - benont Whoops, sorry, I really did misconfigure something there... now it should be valid (it's not my normal address and i forgot to switch it). The part you didn't see is this: chan [n] Set the channel (radio frequency) to be used for IEEE 802.11-based wireless network interfaces to n. With no channel specified, show the results of an access point scan. In Host AP mode, this will dump the list of known nodes without scanning. if you had searched for scan, you would have found it ;) Regards, Julian
Re: New cpuid code to test
new_guy schrieb: Tobias Weingartner-2 wrote: make cpuid ./cpuid | mail -s 'cpuid output' [EMAIL PROTECTED] Perhaps this is implied by 'make', but for the sake of clarity, I did it like this: gcc cpuid.c -o cpuid | ... And it worked OK. make already knows how to compile C files, no need to call the compiler yourself ;)
Re: Limit number of login sessions
Maximo Pech schrieb: would you not be better to use ALTQ to limit the bandwidth available to each user? then if they share their password their only sharing their own use? Users are not in my local network. They will connect from the internet and they have dynamic IPs so I guess that wouldn't work because altq can limit bandwidth based on IP address, not on user names. from pf.conf(5): user user This rule only applies to packets of sockets owned by the specified user. For outgoing connections initiated from the firewall, this is the user that opened the connection. For incoming connections to the firewall itself, this is the user that listens on the destination port. For forwarded connections, where the firewall is not a connection endpoint, the user and group are unknown. don't know if that could be useful for your purpose, but it sounds a nice feature. you should be able assign the queues based on the user. regards, julian if not then i'd suggest you create a BSD auth module for processing the login sessions and add a 'login-max' capability. What kind of module? a kernel module?
Re: insecurity output not coming
You should be happy - security(8) thinks your system secure enough ;) Gabri Mati schrieb: Dear List, In the past 2 days i didn't recieve the daily insecurity output. According to the maillog the daily script didn't even try to send it. I suspect that somehow the /etc/security script isn't running. Do you know where should i look for to solve this problem?
Re: OpenBSD 4.4 pre-orders
I hope it will soon be available from https://https.openbsd.org/cgi-bin/order.eu :) Thanks for the release! Theo de Raadt schrieb: Pre-orders for OpenBSD 4.4 (CD, tshirt, poster) are up at http://www.openbsd.org/orders.html As well, the new song for the release is also being made available at the same time. This can be found at http://www.openbsd.org/lyrics.html Enjoy the song, and think about ordering some of our things, since purchases help fund the project. Thanks.
Re: Problem with Matrox MGA G450
Guillermo Bernaldo de Quiros Maraver Pedroche wrote: xauth: creating new authority file /root/.serverauth.27834 you shouldn't use root.. Guillermo Bernaldo de Quiros Maraver Pedroche wrote: ppb0 at pci0 dev 1 function 0 VIA K8HTB AGP rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 Matrox MGA G400/G450 AGP rev 0x85 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp at vga1 not configured mgadrm0 at vga1 Matrox G400/G450 (AGP)(0):couldn't find agp Seems you have a problem with your agp... Does it look the same without mgadrm? Or if you boot a i386 kernel?
Re: Java : Cafe Babe...
On 20:41 Sun 10 Feb , Edd Barrett wrote: Now try on a sparc64 and see what happens. in case he doesn't have one, here the output on sparc64: [EMAIL PROTECTED]:~ $ od -x helloWorld.class |head -n 1 000 cafebabe0031001d0a0006000f09 Regards, Julian -- If you don't remember something, it never existed... If you aren't remembered, you never existed... I don't quite understand what love is like... But if there was someone who liked me, I'd be happy.
Re: problem booting on other partition than hd0a
On 13:36 Wed 06 Feb , Jean-Yves Boisiaud wrote: I change the /etc/boot.conf, which now is : set tty com0 stty com0 19200 set timeout 5 boot hd0b:/bsd try set device hd0b instead of the last line... -- If you don't remember something, it never existed... If you aren't remembered, you never existed... I don't quite understand what love is like... But if there was someone who liked me, I'd be happy.
Re: OpenCVS?
On 11:57 Sun 20 Jan , Darrin Chandler wrote: On Sun, Jan 20, 2008 at 06:31:48PM +, Stuart Henderson wrote: On 2008/01/20 10:15, Unix Fan wrote: Stuart Henderson wrote: See for yourself: http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/cvs/ I'm slighly confused by something if the cvs command in OpenBSD 4.2 is OpenCVS, it isn't - not everything in source is linked to the build yet. However, those interested in using/testing OpenCVS should take a peek at their /usr/src/usr.bin/cvs/README file as a start. The binary gets installed as opencvs, but the manpages as cvs - just in case you're wondering why cvs --help still is GNU CVS, and the manpages are not ;) -- If you don't remember something, it never existed... If you aren't remembered, you never existed... I don't quite understand what love is like... But if there was someone who liked me, I'd be happy.
Re: process tree in openbsd.
On 21:52 Sat 29 Dec , badeguruji wrote: for those who need. sorry if you do not. There is already pstree in ports/packages. ~~aapka kalyan ho~~ - Original Message From: Diana Eichert [EMAIL PROTECTED] To: misc@openbsd.org Sent: Saturday, December 29, 2007 11:39:05 PM Subject: Re: process tree in openbsd. On Sat, 29 Dec 2007, badeguruji wrote: i found this here: http://www.tonns.org/ptree/ thx. -BG What is the point to your post? -- If you don't remember something, it never existed... If you aren't remembered, you never existed... I don't quite understand what love is like... But if there was someone who liked me, I'd be happy.
Re: This list: CC and TO fields
On 20:59 Sun 02 Dec , L wrote: I can't find the 'reply only to group' feature my mail client yet.. but I just started using this email client recently. It is Mozilla Thunderbird. Try mutt... it has a nice list-reply function :) Regards, Julian -- If you don't remember something, it never existed... If you aren't remembered, you never existed... I don't quite understand what love is like... But if there was someone who liked me, I'd be happy.
Re: File collision while using pkg_add
On 14:09 Thu 22 Nov , Nick Guenther wrote: Second, to deal with it: make a script to automatically remove the files. Just pipe the output to a file, go in with your favourite editor and delete everything before and after the filelists, and then replace (same md5) with , and then for file in `cat files`; do rm file; done Or just rm every file it lists by hand? Why not use -F conflicts ? pkg_add should be able to handle this... -- If you don't remember something, it never existed... If you aren't remembered, you never existed... I don't quite understand what love is like... But if there was someone who liked me, I'd be happy.
Re: Annoying startx problem on 4.2/i386
On 14:11 Sat 24 Nov , Manuel Ravasio wrote: but I'm positive it showed more than once when the laptop was connected to my company's network. DNS addresses are configured via DHCP and I was able to connect to both company network and the internet once the X environment server was up, so I think DNS was not the problem. You should consider adding lookup file bind to your /etc/resolv.conf.tail Maybe DHCP doesn't set this. Should speed up DNS for local address. -- If you don't remember something, it never existed... If you aren't remembered, you never existed... I don't quite understand what love is like... But if there was someone who liked me, I'd be happy.
Re: Please send email directly to misc@openBSD.org (no cc please)
Hi, I use the Sender: header for filtering. Two lines in .fdm.conf: [...] action obsd maildir %h/Maildir/OpenBSD/%1 [...] match ^Sender:[ \t]*owner-([a-z]*)@openbsd.org in headers action obsd [...] and for replying, i use the list-reply function of mutt. cu Julian On 00:28 Fri 16 Nov , Piet Slaghekke wrote: I like to filter my openBSD emails and the only way I can do it is if everyone send their email with misc@openBSD.org in the To field. Please send email To misc@openBSD.org and do not CC it to this address. Thanks! -- If you don't remember something, it never existed... If you aren't remembered, you never existed... I don't quite understand what love is like... But if there was someone who liked me, I'd be happy.
Re: host name should be in lower caps
On 11:41 Thu 01 Nov , MohanKumar Shah - TLS , Chennai wrote: Is host name subjected to lower caps only? doesn't matter, it's case insensitive. regards, Julian -- If you don't remember something, it never existed... If you aren't remembered, you never existed... I don't quite understand what love is like... But if there was someone who liked me, I'd be happy.
Re: Encrypting partitions with openbsd 4.1 or 4.2
On 12:25 Wed 03 Oct , Chris Kuethe wrote: The developer of whom you speak may be slightly misinformed, or just hasn't tried it. There is no need to mention names, but as of ... hmmm... 2 minutes ago, i was able to use vnd to encrypt an entire partition. IIRC, you can't use vnd0 for partitions, somehow it causes problems. But if you use vnd1 or a higher number, it should just work. Julian -- If you don't remember something, it never existed... If you aren't remembered, you never existed... I don't quite understand what love is like... But if there was someone who liked me, I'd be happy.
Re: Shutdown script (derived from Simple startup daemon's on boot question?)
On 14:48 Wed 19 Sep , Tomas wrote: Hi list, Watching the thread about startup script I thought of a question about shutdown script. Is it necessary to shutdown certain services when machine goes down? Like for example mysql, dovecot, clamav, amavis or openvpn. I've never saw anybody do that. Lots of people on their manuals, tutorials or posts writes how to start mysql, but none of then writes a shutdown script. So maybe it is not so necessary? (But then again, mysql is a database engine, and databases should be handle with care). At least MySQL should have told you how to shutdown when installing it. rc.shutdown(8)
Re: Mini PCI card for hostap mode
On 14:49 Mon 17 Sep , Karsten McMinn wrote: On 9/17/07, Steve B [EMAIL PROTECTED] wrote: Can anyone recommend a vendor that carries mini PCI cards that support hostap mode under OpenBSD? man (4) ral is a good place to start. I bought a MSI MN54G recently which worked. I prefer ral(4), too. In my laptop a MSI MP54G5, same in my soekris net5501, and in my net4801 the one I got with it from Wim, don't know which one exactly it is. regards, Julian
Re: Creating bridge problem
On 03:38 Sat 15 Sep , Jake Conk wrote: ifconfig bridge0 add fxp1 it's brconfig, not ifconfig.
Re: Simple startup daemon's on boot question?
On 02:05 Tue 18 Sep , Jake Conk wrote: Hello, Simple noob question... I've installed a few packages (ie nrpe2 and openvpn) that on other systems like Linux and even BSD based systems such as FreeBSD provide means of a rc script which can start and stop the service and you can configure this script to be executed on boot. After installing these packages on OpenBSD I've listed the package contents and don't notice any equivalent files that would do this. Are we supposed to write our own startup scripts and place them in /etc/rc.local to be executed when the system boots? Yes.. Some packages even give you an example how to put it in your rc.local. As for OpenVPN, I put it into my hostname.if, to have it start whenever the interface is started at boot time. Does OpenBSD not use rc scripts that start/stop/restart/ and status applications? no, use rc.local and ps ;) Thanks, - Jake You're welcome, Julian
Re: Simple startup daemon's on boot question?
On 03:25 Tue 18 Sep , Jake Conk wrote: What do you mean that you put OpenVPN into your hostname.if? Can your hostname.if file contain sh script code? If so is that true also with something like hostname.fxp0? My hostname.ral0: inet 10.10.1.1 255.255.255.0 NONE media autoselect mediaopt hostap mode 11g nwid my_net chan 5 !/usr/local/sbin/openvpn --cd /etc/openvpn --daemon --config server.conf Also, what do you mean by use ps? Well, you can see if it's running and which pid it has... not very verbose, but it depends on what information you want to get. Bye, Julian
Re: unix on lenovos
On 20:52 Wed 12 Sep , Pau Amaro-Seoane wrote: You'll notice that Mark Kohut (Lenovo's worldwide analyst) cannot tell the difference between linux and BSD (both freebsd and openbsd fall in the category of linux) but, in any case, maybe you feel like clicking the OpenBSD entry... I did Well, only FreeBSD was in the initial set of answers. OpenBSD was added by somebody else, as you can see from the footnote. BTW, I voted for OpenBSD, too. But I think, Ubuntu already has too much to catch up. Regards, Julian
Re: D-Link DWL-650 CardBus crash report
Hi, I got a panic recently, too, after trying to insert my CF card into the cf reader, which seems to be connected to pcmcia. As we discussed on IRC it seems to have something in common. Maybe it's the same reason? The trace seems identical. I submitted a bug report... maybe somebody can see some similarities or use this additional information for more hints how to try to fix it: http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=5577 Regards, Julian On 13:00 Thu 13 Sep , Evgeniy Sudyr wrote: Hello Evgeniy, Thursday, September 13, 2007, 10:41:53 AM, you wrote: Hello all, I bought D-Link G650 (ath) - which is present in http://openbsd.org/i386.html list. When I put this card into my laptop (Toshiba Satellite S6157) and try boot -current (GENERIC) I get panic message at the end of boot. = panic message = # panic: pmap_remove_ptes: managed page without PG_PVLIST for 0xe6481000 Stopped at Debugger+0x4: leave = panic message = = show registers = ds 0x10 es 0xd210 kernel_text+0x10 fs 0xe6430058 gs 0xe643 edi 0xd06a2200 i386_cpuid_ecxfeatures+0x780 esi 0xe6436b08 ebp 0xe6436adc ebx 0 edx 0 ecx 0xd074fa64 kprintf_mutex eax 0x1 eip 0xd045ee6c Debugger+0x4 cs 0x8 eflags 0x202 esp 0xe6436adc ss 0xe6430010 Debugger+0x4: leave = show registers = I don't have serial console for trace and ps output, but I have Photo Camera :) = ps = ps output there http://eject.name/openbsd/ps.jpg = trace = trace output there http://eject.name/openbsd/ps.jpg sorry, trace output there http://eject.name/openbsd/trace.jpg Please give me know if I can help more in resolving this bug. -- Best regards, Evgeniymailto:[EMAIL PROTECTED]
Re: Show your appreciation and get your 4.2 DVD
On 19:03 Thu 06 Sep , Daniel Ouellet wrote: So, what are you waiting for... Go do it! done. Ordered CD Set and T-Shirt.
Re: mc doesn't work on console
On 10:33 Thu 26 Jul , Martin Toft wrote: With TERM=xterm-color I experience what you describe. With TERM=vt220 it works just fine (albeit in black and white). Martin With TERM=pcvt25 it works with color...
Re: Regular Expression Problem
I got in the output (Which I not want): [EMAIL PROTECTED] - I believed with [a-zA-Z]{2,4} I can limit it after the . Or? [EMAIL PROTECTED] - It should be as well not possible with [a-zA-Z]{2,4} How can I exclude this? You did not say that after the 2-4 characters the line should end... End the pattern with $ As weel I got as output this which I do not want: [EMAIL PROTECTED] $ is normall end of a line. But it should not be in a mail address. [a-zA-Z0-9.-_]+@ I use the + here with the meaning the [a-zA-Z0-9.-_] has to be available min. one of them. Nothing for a @ makes really no sense. You did not say it should be at the beginning.. everything can be in front of the matching token. Start the pattern with ^ Also you are not escaping the . - meaning it can match to anything. try it with this: egrep [EMAIL PROTECTED],4}$ good source to read more about it is re_format(7) Regards, Julian
Re: pkg_add -u says Not updating .libs-$pkg, remember to clean it
On 14:16 Tue 24 Apr , Peter N. M. Hansteen wrote: for a number of packages, apparently corresponding to directories under /var/db/pkg. This being OpenBSD, I know it's most likely harmless and informational, but I wonder - does this mean I should 'clean out' these .libs-* directories by deleting them manually? run pkg_delete /var/db/pkg/.libs* bye Julian
Re: Finding a ral(4) cardbus card
On 19:33 Thu 12 Apr , Luke Eckley wrote: Does anyone know of any place that sells a ral(4) supported card? Where did everyone get theirs? I'm using a Sitecom WL-112.. Got it from a local computer shop in Germany. Should be in most other shops there, too. Works without any Problems here :) Regards, Julian
Re: vi keys in mg
On 11:14 Tue 03 Apr , Kjell Wooding wrote: Mwa-ha-ha -kj You got me, too... Very nice. Regards, Julian
Re: Distorted sound with clcs(4) on Thinkpad 600X
On 15:13 Wed 28 Mar , Stefan Sperling wrote: Can you try the following patch and let me know if it makes SpeedStep work for you? http://stsp.in-berlin.de/piixpcib/piixpcib-2007-03-24_3.diff Examine the hw.cpuspeed sysctl. The dmesg may still report CPU speed incorrectly. Thanks alot. This made SpeedStep work. CPU speed is still shown wrong in dmesg, and also in hw.cpuspeed, but if i change hw.setperf, hw.cpuspeed shows the correct value. You forgot to include the file sys/arch/i386/conf/files.i386 in your new patches, had to copy it from the older one (2007-03-20_4). You don't happen to know how I could fix the sound problem, do you? Regards, Julian
Re: enlarge the drive
On 21:01 Mon 26 Mar , Darrin Chandler wrote: Reinstall may be the easiest and cleanest. There's also another alternative that you left out, which I have done before. If you have unused space at the end, you can add a slice and newfs for a new /var, then reboot single user and copy everything over, edit fstab, etc. Not *too* tricky at all, if the space is there to begin with. You could also identify which directories use the most space and move them to a different location, and add a symlink instead. That souldn't be done for any directory in /var, but for example /var/www can easily be put somewhere else.. If you don't run a webserver you could even delete it safely. Regards, Julian
Re: cannot install courier-pop package
On 22:14 Tue 27 Mar , Peter Matulis wrote: Ummm, ok, but what is one to do? pkg_delete the borked package and try to install from different mirror... you could try without -v, too. Regards, Julian
Distorted sound with clcs(4) on Thinkpad 600X
Hi there, I've got some issues with my Thinkpad 600X. It has a clcs(4) sound chip, which seems to not work properly with OpenBSD. The sound output is strangely distorted and slower than it should be. Attached a dmesg using GENERIC 4.1-current kernel. The sound works without any problem after i insert my wireless lan pccard (ral(4)) and activate it with 'ifconfig ral0 up'. If i deactivate it again (ifconfig ral0 down) sound is distorted again. Inserting a different pccard (I only have a ral(4) and a dc(4) card) has no effect. I tried activating acpi and even using a kernel with all acpi options activated, because I got the hint it could be an ACPI issue, but that didn't change anything (besides my cpu fan not spinning any more). ac97 seems to detect different codec ids each reboot, but that didn't cause any differences in sound output or quality. Another problem with this Thinkpad is that the CPU speed is not detected properly on boot. You'll see the strange value in the attached dmesg. The value seems to be random after every reboot. Only if i detach the power supply it will be constantly 499MHz. The CPU installed is a 650MHz Pentium III mobile with speedstep. I couldn't see any difference in speed for the different detected speeds (using 'openssl speed'). Anybody experienced similar things or has hints how I could try to fix it? Regards, Julian --- Attached dmesg: --- OpenBSD 4.1-current (GENERIC) #1445: Thu Mar 22 11:06:59 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III (GenuineIntel 686-class) 417 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE real mem = 334917632 (327068K) avail mem = 297373696 (290404K) using 4119 buffers containing 16871424 bytes (16476K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 11/30/99, BIOS32 rev. 0 @ 0xfd820, SMBIOS rev. 2.2 @ 0xf7690 (55 entries) bios0: IBM 26455FG apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 99% apm0: AC on, battery charge high apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xfd880/0x800 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf9d00/128 (6 entries) pcibios0: PCI Exclusive IRQs: 11 pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371AB PIIX4 ISA rev 0x00) pcibios0: PCI bus #5 is the last bus bios0: ROM list: 0xc/0xc000 acpi at mainbus0 not configured cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x03 ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 Neomagic Magicgraph NM2360 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) cbb0 at pci0 dev 2 function 0 TI PCI1450 CardBus rev 0x03: irq 11 cbb1 at pci0 dev 2 function 1 TI PCI1450 CardBus rev 0x03: irq 11 clcs0 at pci0 dev 6 function 0 Cirrus Logic CS4280/46xx CrystalClear rev 0x01: irq 11 ac97: codec id 0x4352 ac97: codec features 20 bit DAC, 18 bit ADC, Creative pcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x02 pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: SAMSUNG HM080HC wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) uhci0 at pci0 dev 7 function 2 Intel 82371AB USB rev 0x01: irq 11 piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x03: SMI iic0 at piixpm0 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 5 device 0 cacheline 0x8, lattimer 0xb0 pcmcia1 at cardslot1 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 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt2 at isa0 port 0x3bc/4: polled npx0 at isa0 port 0xf0/16: reported by CPUID; 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 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered biomask efed netmask efed ttymask ffef pctr: 686-class user-level performance counters enabled mtrr: Pentium Pro MTRR support ral0 at cardbus1 dev 0 function 0 Ralink Technology, Inc., RT2500, 802.11 CardBus Reference Card: irq 11, address 00:0c:f6:12:25:bb ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525 dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 clcs0: firmware loaded audio0 at clcs0
Re: Where to get md5 of X* install sets and packages
On Tue, 22 Nov 2005 09:30:08 -0500 Will H. Backman [EMAIL PROTECTED] wrote: If you are looking for MD5 sums to verify the trustworthiness of the packages, I think the best way would be to purchase the official CDs from the OpenBSD store and run the MD5 tool yourself. Not the most useful answer for your immediate problem. If you don't trust the package on the ftp site, you can't trust the MD5 sums on that site either. Well, i'm downloading snapshots.. and because i only have ISDN speed, it could be that i download broken packages - they could have been updated while downloading (and i often get disconnected, wget -c thinks it's still the same file). Would be nice to check if the download was successfull. Checking the other packages is no problem. i simply download MD5 after downloading them all and check them. There's a trick to determine if there _could be_ an error: I have a close look on the modification time of the X packages before download and compare them to the value after downloading.. if they have changed i'll have to re-fetch them. With a md5 sum i could see which files need to be downloaded again if any.. cu JRL -- If you don't remember something, it never existed... If you aren't remembered, you never existed... I don't quite understand what love is like... But if there was someone who liked me, I'd be happy.
Re: 3.6 - 3.7 make build problem
Hi.. Why not make release(8) from another box without aac, compile aac-support into the kernel and install from that snapshot? cu JRL PS: Sorry for sending from gmx, i'm not at home ATM. --- Urspr|ngliche Nachricht --- Von: eric [EMAIL PROTECTED] An: misc@openbsd.org Betreff: 3.6 - 3.7 make build problem Datum: Thu, 29 Sep 2005 11:44:03 -0500 [ Note: I don't like doing this. I would rather use a snapshot and ] [ just get -current, but I have the Adaptec bullshit on this machine ] [ and need a kernel that support aac(4). ] I'm going from 3.6 to 3.7, and just trying to get the fscking adaptec controller working. Following information found in release(8), I wind up with this: 1. Reboot new GENERIC.MP kernel. Works fine. 2. Clean up /usr/obj/* 3. I have to upgrade my compiler. # gcc -v Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd3.6/2.95.3/specs gcc version 2.95.3 20010125 (prerelease, propolice) Alas, /usr/obj/gnu/egcs/gcc/ isn't found on this machine. Do I need to rebuild all my 3.6-STABLE sources first? Then upgrade the 2.x compile, then move to 3.x? If I follow instructions in the FAQ and try and compile gcc 3.x, I get this far. # rm -r /usr/obj/gnu/usr.bin/gcc/* # cd /usr/src/gnu/usr.bin/gcc # make -f Makefile.bsd-wrapper clean # make -f Makefile.bsd-wrapper obj # make -f Makefile.bsd-wrapper depend # make -f Makefile.bsd-wrapper [snip] /usr/src/gnu/usr.bin/gcc/gcc/unwind-dw2-fde-glibc.c:139: error: `PT_LOOS' undeclared (first use in this function) /usr/src/gnu/usr.bin/gcc/gcc/unwind-dw2-fde-glibc.c:139: error: (Each undeclared identifier is reported only once /usr/src/gnu/usr.bin/gcc/gcc/unwind-dw2-fde-glibc.c:139: error: for each function it appears in.) /usr/src/gnu/usr.bin/gcc/gcc/unwind-dw2-fde-glibc.c: In function `_Unwind_Find_FDE': /usr/src/gnu/usr.bin/gcc/gcc/unwind-dw2-fde-glibc.c:283: warning: implicit declaration of function `dl_iterate_phdr' *** Error code 1 Stop in /usr/src/gnu/usr.bin/gcc/obj (line 208 of libgcc.mk). *** Error code 1 Stop in /usr/src/gnu/usr.bin/gcc/obj (line 2160 of Makefile). *** Error code 1 Stop in /usr/src/gnu/usr.bin/gcc (line 84 of /usr/src/gnu/usr.bin/gcc/Makefile.bsd-wrapper). # Thanks for hitting me with a cluestick. MANTRA: don't buy adaptec. don't buy adaptec. don't buy adaptec. -- Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko! Satte Provisionen f|r GMX Partner: http://www.gmx.net/de/go/partner
Re: Gnu Assembler on Openbsd 3.7 Operation not permitted
Ted Hanna [EMAIL PROTECTED] wrote: [...] len =3D . - msg [...] see the =3D? maybe there is some character which shouldn't be there. try typing the whole program into a new file. cu JRL PS: the code works for me.. -- If you don't remember something, it never existed... If you aren't remembered, you never existed... I don't quite understand what love is like... But if there was someone who liked me, I'd be happy.
Re: Stephanie for OpenBSD 3.6 released
Constantine A. Murenin [EMAIL PROTECTED] wrote: I got this six-months-old message this evening... Has someone invented a time-machine? :-) yeh.. i got four old messages.. cu JRL -- If you don't remember something, it never existed... If you aren't remembered, you never existed... I don't quite understand what love is like... But if there was someone who liked me, I'd be happy.