Re: Occasionally connected mail access
On Sun, Oct 27, 2013 at 07:01:49PM +, Chris Smith wrote: Hi, I'm currently running a simple OpenSMTPD/procmail/mutt setup on the end of a hosted machine on 5.3. To access mail, I'm SSH'ing into the box and firing up mutt. However I need to get occasionally connected mail working on my laptop so I can read/respond to it there and deliver back to the hosted machine. I'm using mbox as the mailbox format at the moment. I may be offline for 2-3 days at a time. I'm considering doing the following things: * Move to maildir at both ends. * Set up OpenSMTPD on the laptop and set it to pause mta while disconnected. Also set it up to relay through the hosted machine via auth+TLS. * Write a script that will (when I know I'm connected): 1. unpause the MTA and flush the queues, then pause it again. 2. rsync (over SSH) the maildir from the hosted machine. Can anyone see any flaws in this plan or know of a better solution? I run postfix on both my laptop and mail server, and then use UUCP over a SSH tunnel to shuttle mail between them. No special config is required if the tunnel is down, incoming mail queues on the server and outgoing mail queues on the laptop automatically. When I connect to the network again I just run uucico and the queues are flushed. I don't know if its the best solution, but I've been using it for years and it it works great with a minimal of extra software. One nice benefit is that UUCP appears to be very tolerant of cruddy internet connections, so even when I can't really do anything else on the internet I can move mail. Cheers, Anders
Thinkpad X41 Tablet mic/headphone jacks
Hello list, The headphone and mic 3.5mm jacks on my Thinkpad X41 Tablet are quirky. I want to throw it all out there for reference to others, and in case the quirks are actually bugs. I'm using a cheap analog headset. (I can record play audio fine with the right mixerctl settings. There isn't a problem here except odd behavior for some of the knobs.) I have to toggle the bluetooth softswitch (Fn+F5 on my laptop) the first time in order to use the headphone jack. Otherwise it just outputs to speakers no matter the mixerctl settings or plug state. Subsequent plug changes are detected ok. The outputs.hp and outputs.hp.mute mixerctl settings have no effect on the sound volume out the headset jack. (Are they supposed to?) The inputs.mic and inputs.mic.mute mixerctl settings have no discernible effect on the sound volume/quality of a recorded sample (Are they supposed to?). A recording at inputs.mic=0/muted sounds the same as one at inputs.mic=255/unmuted. The two settings do however affect the level of buzz/feedback I hear through the headphones from the mic when they are plugged in (in the expected way--larger volume = louder buzz; mute on silences the buzz). The inputs.mic.preamp both increases the volume of the recorded audio (significantly) and increases mic buzz, as expected. The record.volume has an effect on recorded volume, but it is the opposite of intuition (record.volume=0 causes the loudest recording; record.volume=255 causes a recording so quiet it can barely be heard). The record.volume.mute does mute/unmute the mic as expected. Cheers, Anders. dmesg: OpenBSD 4.8-current (GENERIC) #429: Tue Oct 12 17:46:32 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1.60GHz (GenuineIntel 686-class) 599 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2 real mem = 1600614400 (1526MB) avail mem = 1564430336 (1491MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/19/06, BIOS32 rev. 0 @ 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (59 entries) bios0: vendor IBM version 75ET60WW (2.06 ) date 12/19/2006 bios0: IBM 1866EG3 apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 22% apm0: AC off, battery charge high, estimated 0:35 hours acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/240 (13 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #5 is the last bus bios0: ROM list: 0xc/0xf600! 0xcf800/0x1600 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0: (uniprocessor) cpu0: Enhanced SpeedStep 599 MHz: speeds: 1600, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800, 600 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) mem address conflict 0x5f70/0x8 io address conflict 0x5800/0x8 io address conflict 0x5808/0x4 io address conflict 0x5810/0x8 io address conflict 0x580c/0x4 pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x03 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xc000, size 0x1000 inteldrm0 at vga1: no ifp : irq 11 drm0 at inteldrm0 Intel 82915GM Video rev 0x03 at pci0 dev 2 function 1 not configured ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x03: irq 11 pci1 at ppb0 bus 2 bge0 at pci1 dev 0 function 0 Broadcom BCM5751M rev 0x11, BCM5750 B1 (0x4101): irq 11, address 00:16:d3:28:a2:ca brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x03: irq 11 uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x03: irq 11 uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x03: irq 11 uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x03: irq 11 ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x03: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd3 pci2 at ppb1 bus 4 cbb0 at pci2 dev 0 function 0 Ricoh 5C476 CardBus rev 0x8d: irq 11 sdhc0 at pci2 dev 0 function 1 Ricoh 5C822 SD/MMC rev 0x13: irq 11 sdmmc0 at sdhc0 iwi0 at pci2 dev 2 function 0 Intel PRO/Wireless 2915ABG rev 0x05: irq 11, address 00:16:6f:92:21:b5 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 5 device 0 cacheline 0x0, lattimer 0xb0 pcmcia0 at cardslot0 auich0 at pci0 dev 30 function 2 Intel 82801FB AC97 rev 0x03: irq 5, ICH6 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x03: PM disabled pciide0 at pci0 dev 31 function 2 Intel 82801FBM SATA rev 0x03: DMA, channel 0 wired to compatibility,
Re: Wireless Connection Problem - Verizon MiFi2200
On Tue, Sep 28, 2010 at 9:23 PM, Carl Trachte ctrac...@gmail.com wrote: ifconfig iw0 scan detects the mifi device and identifies it: nwid Verizon MiFi2200 BB2F Secure chan 11 bssid 6 part id 82db 54M privacy,short_preamble,short_slottime I try connecting using the network id shown above and the 11 digit password on the back of the mifi unit: ifconfig iwi0 up nwid network id nwkey 01234567891 That doesn't work because that password is not a WEP key. It's a WPA key. WEP keys can't be 11 digits. You want something like this: ifconfig iwi0 nwid Verizon MiFi2200 BB2F Secure wpa wpapsk \ `wpa-psk Verizon MiFi2200 BB2F Secure 01234567891` Note that if your iwi device has the same quirk as mine you have to run a scan after you change the nwid or you won't be able to get an IP address. Cheers, Anders.
Re: Connecting to one of available networks on boot
On Mon, Jul 5, 2010 at 4:37 PM, Christopher Zimmermann madro...@zakweb.de wrote: The only thing I find funny is that the network link only comes up after I have run the 'ifconfig iwi0 scan' a second time. See below. Yeah, this is a quirk with my iwi device[1] also. A scan needs to be run after you change nwid or the network will not come up as active. It does work without a scan the first time you connect to a network after the machine has been booted, though. [1]: iwi0 at pci2 dev 2 function 0 Intel PRO/Wireless 2915ABG rev 0x05
Re: Openbsd 4.6 free ram
On Wed, May 19, 2010 at 11:23 PM, Hect tagah...@email.it wrote: How can I have a more detailed information about free and used ram of the one provided by top? man vmstat is a good start
Re: Shutdown fails intermittently with OpenBSD running off SD MMC card
On Fri, Mar 5, 2010 at 7:44 PM, J.C. Roberts list-...@designtools.org wrote: Now getting back to the link/problem posted by Frank which mentions firefox, as well as your complaint about the speed of firefox... Yep, the final stop on the reality tour is most likely the fact that firefox might be *STILL* trying to shut down because the disk write speed sucks so bad. This of course means, sync is waiting on it. If you use a bloated Desktop like kde or gnome, they may also be a contributing factor to your shutdown times and for the same reason. I also experience this issue intermittently on my two 4.6 workstations, both with conventional HDDs. It either syncs instantly, or it never completes at all. I only weigh in because this was never a problem until 4.6 Firefox 3.5, and after jcr's points above I am highly inclined to blame the latter. Thank you for your suggestions. I will configure FF to not use a disc cache and report back after testing. Cheers, Anders
Re: What does your environment look like?
On Sat, Jan 2, 2010 at 9:08 PM, Brynet bry...@gmail.com wrote: * Do you use one of the bundled window managers like cwm(1)/twm(1)/fvwm(1) or something else? I wasn't going to reply, but I couldn't believe that cwm hasn't received any love yet. It's glorious. Powerful keyboard control, neat features, and faster than you need it to be. Its minimalism is elegant (and absolute) with no window decoration crud to distract or waste valuable pixels. And it's in base. * Do you try to keep things uniform across other desktops? No, but net/rsync is excellent for that purpose.
Re: pkg_clean: a utility to remove Lola packages
On Sun, Dec 27, 2009 at 7:25 PM, AndrC)s adelf...@gmail.com wrote: pkg_clean helps to delete Lola packages. A package is said to be Lola only if: 1. It's unneeded by other packages. 2. It's unwanted by the root user. snip Poscript: Lola is my dog's name. Didn't find any correct term, sorry. Interesting choice.
Re: vi in /bin
On Fri, Dec 18, 2009 at 1:35 PM, Chris Bennett ch...@bennettconstruction.biz wrote: ropers wrote: I've personally thus far never bumped into any particular behaviours that would differentiate OpenBSD's sed(1) command syntax from that of other implementations. (That could be because of my relative inexperience, or because there are no substantial differences.) With that said, this page --which was not authored specifically for OpenBSD sed(1)-- may be of use: http://www.grymoire.com/Unix/Sed.html#uh-0 Nope, I ran into many pages like these. OpenBSD doesn't support sed -i GNU sed's file-in-place editing is a convenience, but not having it won't hamper your ability to learn to use sed. This is particularly true here, as that tutorial makes no mention of 'sed -i' Cheers, Anders.
DRI not loading on ATI Radeon Mobility 7500/M7 (4.6-RELEASE)
According to radeon(4), my ATI Radeon Mobility 7500/M7 is supported by the driver but as far as I can tell DRI is not loading properly when I start X. X seems to work well enough besides 3D performance, which is dreadful. An incriminating bit seems to be here: ... (II) RADEON(0): initializing int10 (II) RADEON(0): Primary V_BIOS segment is: 0xc000 (II) RADEON(0): Legacy BIOS detected drmOpenDevice: node name is /dev/drm0 drmOpenDevice: open result is -1, (Operation not permitted) drmOpenDevice: Open failed [drm] failed to load kernel module radeon (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM [dri] Disabling DRI. ... Thanks for any advice, Anders $ dmesg OpenBSD 4.6 (GENERIC) #58: Thu Jul 9 21:24:42 MDT 2009 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Transmeta Efficeon(tm) Processor TM8000 (GenuineTMx86 686-class) 1.60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,TM real mem = 510160896 (486MB) avail mem = 484438016 (461MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 10/01/04, BIOS32 rev. 0 @ 0xfd740, SMBIOS rev. 2.31 @ 0xf2e90 (30 entries) bios0: vendor Phoenix Technologies LTD version 6.00 ;1.06.00U;11-01-01-01-04-00 date 10/01/2004 bios0: SHARP Corporation PC-MP Series apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd740/0x8c0 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf10/208 (11 entries) pcibios0: PCI Interrupt Router at 000:03:0 (Acer Labs M1533 ISA rev 0x00) pcibios0: PCI bus #3 is the last bus bios0: ROM list: 0xc/0xc000 0xdc000/0x6000! cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) mem address conflict 0x1e70/0x1000 pchb0 at pci0 dev 0 function 0 vendor Transmeta, unknown product 0x0060 rev 0x00 agp at pchb0 not configured ppb0 at pci0 dev 1 function 0 vendor Transmeta, unknown product 0x0061 rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M7 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 9 drm0 at radeondrm0 ppb1 at pci0 dev 2 function 0 Acer Labs M5249 PCI-PCI rev 0x00 pci2 at ppb1 bus 2 pcib0 at pci0 dev 3 function 0 Acer Labs M1563 ISA rev 0x20 alipm0 at pci0 dev 3 function 1 Acer Labs M7101 Power rev 0x00: SMBus disabled auacer0 at pci0 dev 4 function 0 Acer Labs M5455 Audio rev 0x10: irq 7 ac97: codec id 0x414c4740 (Avance Logic ALC202) ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Realtek 3D audio0 at auacer0 Acer Labs M5457 Modem rev 0x10 at pci0 dev 4 function 1 not configured ath0 at pci0 dev 6 function 0 Atheros AR5212 rev 0x01: irq 3 ath0: AR5213A 5.9 phy 4.3 rf2112a 4.6, FCC1A, address 00:0e:9b:8b:a4:64 cbb0 at pci0 dev 9 function 0 Ricoh 5C475 CardBus rev 0x81: irq 3 rl0 at pci0 dev 10 function 0 Realtek 8139 rev 0x10: irq 5, address 08:00:1f:c3:0f:52 rlphy0 at rl0 phy 0: RTL internal PHY pciide0 at pci0 dev 14 function 0 Acer Labs M5229 UDMA IDE rev 0xc5: DMA, channel 0 configured to compatibility, channel 1 configured to compat ibility wd0 at pciide0 channel 0 drive 0: FUJITSU MHT2040AT SP wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: MATSHITA, UJDA765 DVD/CDRW, 1.00 ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 ohci0 at pci0 dev 15 function 0 Acer Labs M5237 USB rev 0x03: irq 3, version 1.0, legacy support ehci0 at pci0 dev 15 function 3 Acer Labs M5239 USB2 rev 0x01: irq 10 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Acer Labs EHCI root hub rev 2.00/1.00 addr 1 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0x20 pcmcia0 at cardslot0 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 Acer Labs OHCI root hub rev 1.00/1.00 addr 1 biomask ff5d netmask ff7d ttymask ff7f uhidev0 at uhub1 port 1 configuration 1 interface 0 Logitech Optical USB Mouse rev 2.00/3.40 addr 2 uhidev0: iclass 3/1 ums0 at uhidev0: 3 buttons, Z dir wsmouse0 at ums0 mux 0 softraid0 at root root on wd0a swap on wd0b dump on wd0b $ cat /var/log/Xorg.0.log (--) checkDevMem: using aperture driver /dev/xf86 (--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version 3.32) X.Org X Server 1.5.3 Release Date: 5 November 2008 X Protocol Version 11, Revision 0 Build Operating System: OpenBSD 4.6 i386 Current Operating System: OpenBSD hera.local 4.6
Re: DRI not loading on ATI Radeon Mobility 7500/M7 (4.6-RELEASE)
On Thu, Dec 10, 2009 at 3:58 AM, Tobias Ulmer tobi...@tmux.org wrote: On Thu, Dec 10, 2009 at 03:36:09AM -0500, Anders Langworthy wrote: According to radeon(4), my ATI Radeon Mobility 7500/M7 is supported by the driver but as far as I can tell DRI is not loading properly when I start X. B X seems to work well enough besides 3D performance, which is dreadful. B An incriminating bit seems to be here: ... (II) RADEON(0): initializing int10 (II) RADEON(0): Primary V_BIOS segment is: 0xc000 (II) RADEON(0): Legacy BIOS detected drmOpenDevice: node name is /dev/drm0 drmOpenDevice: open result is -1, (Operation not permitted) Are you in the wheel group? See permissions of /dev/drm0 Thanks for the reply. Yep, though there was apparently a more serious issue: # ls -la /dev/drm0 ls: /dev/drm0: No such file or directory # cd /dev ./MAKEDEV all ls -la /dev/drm0 crw-rw 1 root wheel 88, 0 Dec 10 09:17 /dev/drm0 I have no idea why that was missing. I would not have deleted it. Closer, but now this: ... (II) RADEON(0): [drm] installed DRM signal handler (WW) RADEON(0): [agp] AGP not available (EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI. (II) RADEON(0): [agp] You may want to make sure the agpgart kernel module is loaded before the radeon kernel module. (II) RADEON(0): [drm] removed 1 reserved context for kernel (II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0x4000 at 0x815f7000 (II) RADEON(0): [drm] Closed DRM master. ... # cat /var/log/Xorg.0.log (--) checkDevMem: using aperture driver /dev/xf86 (--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version 3.32) X.Org X Server 1.5.3 Release Date: 5 November 2008 X Protocol Version 11, Revision 0 Build Operating System: OpenBSD 4.6 i386 Current Operating System: OpenBSD hera.local 4.6 GENERIC#58 i386 Build Date: 01 July 2009 05:20:42PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Thu Dec 10 09:15:49 2009 (==) Using config file: /etc/X11/xorg.conf (==) ServerLayout X.org Configured (**) |--Screen Screen0 (0) (**) | |--Monitor Monitor0 (**) | |--Device Card0 (**) |--Input Device Mouse0 (**) |--Input Device Keyboard0 (==) Not automatically adding devices (==) Not automatically enabling devices (==) Including the default font path /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/l ib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/OTF,/usr/X11R6/lib/X11/fonts/Type1 /,/ usr/X11R6/lib/X11/fonts/100dpi/,/usr/X11R6/lib/X11/fonts/75dpi/. (**) FontPath set to: /usr/X11R6/lib/X11/fonts/misc/, /usr/X11R6/lib/X11/fonts/TTF/, /usr/X11R6/lib/X11/fonts/OTF, /usr/X11R6/lib/X11/fonts/Type1/, /usr/X11R6/lib/X11/fonts/100dpi/, /usr/X11R6/lib/X11/fonts/75dpi/, /usr/X11R6/lib/X11/fonts/misc/, /usr/X11R6/lib/X11/fonts/TTF/, /usr/X11R6/lib/X11/fonts/OTF, /usr/X11R6/lib/X11/fonts/Type1/, /usr/X11R6/lib/X11/fonts/100dpi/, /usr/X11R6/lib/X11/fonts/75dpi/ (**) ModulePath set to /usr/X11R6/lib/modules (II) Loader magic: 0x3c01e2e0 (II) Module ABI versions: X.Org ANSI C Emulation: 0.4 X.Org Video Driver: 4.1 X.Org XInput driver : 2.1 X.Org Server Extension : 1.1 X.Org Font Renderer : 0.6 (II) Loader running on openbsd (--) PCI:*(0...@1:0:0) ATI Radeon Mobility M7 rev 0, Mem @ 0xf000/0, 0xe810 /0, I/O @ 0x2000/0 (II) System resource ranges: [0] -1 0 0x0010 - 0x3fff (0x3ff0) MX[B]E(B) [1] -1 0 0x000f - 0x000f (0x1) MX[B] [2] -1 0 0x000c - 0x000e (0x3) MX[B] [3] -1 0 0x - 0x0009 (0xa) MX[B] [4] -1 0 0x - 0x (0x1) IX[B] [5] -1 0 0x - 0x00ff (0x100) IX[B] (II) extmod will be loaded. This was enabled by default and also specified in the config file. (II) dbe will be loaded. This was enabled by default and also specified in the config file. (II) glx will be loaded. This was enabled by default and also specified in the config file. (II) freetype will be loaded. This was enabled by default and also specified i n the config file. (II) dri will be loaded. This was enabled by default and also specified in the config file. (II) LoadModule: dbe (II) Loading /usr/X11R6/lib/modules/extensions//libdbe.so (II) Module dbe: vendor=X.Org Foundation compiled for 1.5.3, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 1.1 (II) Loading extension DOUBLE-BUFFER (II) LoadModule: dri (II) Loading /usr/X11R6/lib/modules/extensions//libdri.so (II) Module dri
Re: DRI not loading on ATI Radeon Mobility 7500/M7 (4.6-RELEASE)
On Thu, Dec 10, 2009 at 10:00 AM, Owain Ainsworth zer...@googlemail.com wrote: On Thu, Dec 10, 2009 at 09:47:03AM -0500, Anders Langworthy wrote: On Thu, Dec 10, 2009 at 3:58 AM, Tobias Ulmer tobi...@tmux.org wrote: On Thu, Dec 10, 2009 at 03:36:09AM -0500, Anders Langworthy wrote: (II) RADEON(0): initializing int10 (II) RADEON(0): Primary V_BIOS segment is: 0xc000 (II) RADEON(0): Legacy BIOS detected drmOpenDevice: node name is /dev/drm0 drmOpenDevice: open result is -1, (Operation not permitted) Are you in the wheel group? See permissions of /dev/drm0 Thanks for the reply. B Yep, though there was apparently a more serious issue: # ls -la /dev/drm0 ls: /dev/drm0: No such file or directory # cd /dev ./MAKEDEV all ls -la /dev/drm0 crw-rw B 1 root B wheel B 88, B 0 Dec 10 09:17 /dev/drm0 I have no idea why that was missing. B I would not have deleted it. Closer, but now this: ... (II) RADEON(0): [drm] installed DRM signal handler (WW) RADEON(0): [agp] AGP not available (EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI. (II) RADEON(0): [agp] You may want to make sure the agpgart kernel module is loaded before the radeon kernel module. (II) RADEON(0): [drm] removed 1 reserved context for kernel (II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0x4000 at 0x815f7000 (II) RADEON(0): [drm] Closed DRM master. ... Well it's true, we don't attach to your agp bus. Try Option BusType PCI in the driver section of your Xorg.conf. It's been a while so i can't remember if that'll work in this case. Perfect, thanks! You are a beautiful human being and let it never be said that your work goes unappreciated. Thanks Tobias too :) Cheers, Anders.
Re: Installation of base system without xbase42 disallow ports compiling.
Kyrylo Klimakov wrote: I tried to build expat from ports but after make i got. === expat-2.0.0p0 -- expat comes with OpenBSD as of release 4.2. I was weird for me because of I did not found expat on the system and on the packages. I tried to find something via google and get link to the article on upgrade from OpenBSD 4.1 to OpenBSD 4.2. Where was noticed that expat now is located in xbase42.tgz packages which was in recommended section. I think that such behavior of the installer could be treated like a bug and package xbase42 should be moved to required section or at least in the installation documents should be described such trouble. Hello. Making libexpat part of xbase42.tgz was perhaps an error in judgment. It has been moved to the base system in -current and this will be reflected in the next release. I think building of ports isn't supported without *all* installation packages installed anyway, so this isn't technically a bug. This is mentioned numerous places, such as in the docs here: http://openbsd.org/faq/upgrade42.html Cheers!
Re: OpenBSD/i386 won't boot on Transmeta Efficeon CPU
Travers Buda wrote: * Anders Langworthy [EMAIL PROTECTED] [2007-11-23 18:56:35]: Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2007 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 4.2-current (RAMDISK_CD) #539: Thu Nov 15 19:28:35 MST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD cpu0: Transmeta Efficeon(tm) Processor TM8000 (GenuineTMx86 386- class) 1.60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,ACPI,MMX,FXSR,SSE,SSE2,SS,TM NOTICE: this kernel does not support i386 CPU class panic: no appropriate CPU class available This should do it, however I don't do this kernel stuff too often. Take from that what you will. --- /usr/src/sys/arch/i386/i386/machdep.c 2007/11/24 05:34:44 1.1 +++ /usr/src/sys/arch/i386/i386/machdep.c 2007/11/24 06:54:34 @@ -922,15 +922,15 @@ }, tm86_cpu_setup }, - /* Family 6, not yet available from Transmeta */ + /* Family 6 */ { CPUCLASS_686, { + TM8000, 0, TM8000, TM8000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 686 class /* Default */ + TM8000 /* Default */ }, - NULL + tm86_cpu_setup } } }, { @@ -1493,7 +1493,7 @@ void tm86_cpu_setup(struct cpu_info *ci) { -#if !defined(SMALL_KERNEL) defined(I586_CPU) +#if !defined(SMALL_KERNEL) defined(I586_CPU) || defined(I686_CPU) longrun_init(); #endif } Hi. Thank you for your help. In the process of testing this patch, I discovered that if I try to boot a normal kernel as opposed to the ramdisk kernel, it fails but at least I get a panic and some debugger output, which may or may not be useful. Does bsd.rd not include the debugger? Anyway I get pretty much the same result with the patch as without: /* without patch */ OpenBSD 4.2-current (GENERIC) #538: Thu Nov 15 19:04:34 MST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Transmeta Efficeon(tm) Processor TM8000 (GenuineTMx86 386- class) 1.60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFL USH,ACPI,MMX,FXSR,SSE,SSE2,SS,TM NOTICE: this kernel does not support i386 CPU class panic: no appropriate CPU class available Stopped at Debugger+0x4: leave Debugger(d077d604,0,d08fbe88,18,9) at Debugger+0x4 panic(d06c7340,d06d6435,d074a538,2000,d086a1b4) at panic+0x63 identifycpu(d086a1a0,d06c6a25,10,0,d077d604) at identifycpu+0x386 cpu_startup(d06a0695,d06a2b60,d08fbfa0,d03370ef,2) at cpu_startup+0x94 main(0,0,0,0,0) at main+0x5d /* end */ /* with patch */ OpenBSD 4.2-current (GENERIC) #0: Fri Nov 23 23:00:24 CST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Transmeta Efficeon(tm) Processor TM8000 (GenuineTMx86 386- class) 1.60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFL USH,ACPI,MMX,FXSR,SSE,SSE2,SS,TM NOTICE: this kernel does not support i386 CPU class panic: no appropriate CPU class available Stopped at Debugger+0x4: leave Debugger(d077db04,0,d08fbe88,18,9) at Debugger+0x4 panic(d06c7680,d06d6775,d074a958,2000,d086a6d4) at panic+0x63 identifycpu(d086a6c0,d06c6d65,10,0,d077db04) at identifycpu+0x386 cpu_startup(d06a1415,d06a38e0,d08fbf0a,d0337a1f,2) at cpu_startup+0x94 main(0,0,0,0,0) at main+0x5d /* end */
Re: OpenBSD/i386 won't boot on Transmeta Efficeon CPU
Travers Buda wrote: * Ted Unangst [EMAIL PROTECTED] [2007-11-24 06:13:45]: *snip* can you build and boot a kernel with option CPU_DEBUG in the config? Actually use option CPUDEBUG, note the missing underscore. Here is the output: OpenBSD 4.2-current (GENERIC_DEBUG) #0: Sat Nov 24 08:19:52 CST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC_DEBUG cpu0: family f model 2 step 4 cpu0: cpuid level 1 cache eax 0 ebx 0 ecx 0 edx 0 cpu0: Transmeta Efficeon(tm) Processor TM8000 (GenuineTMx86 386- class) 1.60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFL USH,ACPI,MMX,FXSR,SSE,SSE2,SS,TM NOTICE: this kernel does not support i386 CPU class panic: no appropriate CPU class available Stopped at Debugger+0x4:leave Debugger(d077dbe4,0,d08fbe88,18,9) at Debugger+0x4 panic(d06c7740,d06d6835,d074aa18,2000,d086a7b4) at panic+0x63 identifycpu(d086a7a0,d06c6d65,10,0,d077dbe4) at identifycpu+0x3ce cpu_startup(d06a1475,d06a3940,d08fbfa0,d0337a1f,2) at cpu_startup+0x94 main(0,0,0,0,0) at main+0x5d
Re: OpenBSD/i386 won't boot on Transmeta Efficeon CPU
Anders Langworthy wrote: I have a Sharp MP30 notebook that won't boot on OpenBSD/i386. I am unsure if my situation is a bug or unsupported hardware. The issue seems to be the CPU. It is a Transmeta Efficeon processor at 1.60 GHz. The processor is supposedly Pentium Pro (686) compatible. ...snip... As an update to anybody tinkering with this: This diff from Tom Cosgrove allows the kernel to detect the cpu and boot properly on my system: Index: machdep.c === RCS file: /cvs/src/sys/arch/i386/i386/machdep.c,v retrieving revision 1.411 diff -U9 -r1.411 machdep.c --- machdep.c 12 Nov 2007 01:17:41 - 1.411 +++ machdep.c 24 Nov 2007 20:22:22 - @@ -925,18 +925,63 @@ /* Family 6, not yet available from Transmeta */ { CPUCLASS_686, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 686 class /* Default */ }, NULL + }, + /* Family 7 */ + { + CPUCLASS_686, + } , + /* Family 8 */ + { + CPUCLASS_686, + } , + /* Family 9 */ + { + CPUCLASS_686, + } , + /* Family A */ + { + CPUCLASS_686, + } , + /* Family B */ + { + CPUCLASS_686, + } , + /* Family C */ + { + CPUCLASS_686, + } , + /* Family D */ + { + CPUCLASS_686, + } , + /* Family E */ + { + CPUCLASS_686, + } , + /* Family F */ + { + /* Extended processor family - Transmeta Efficeon */ + CPUCLASS_686, + { + 0, 0, TM8000, TM8000, + 0, 0, 0, 0, + 0, 0, 0, 0, + 0, 0, 0, 0, + TM8000 /* Default */ + }, + tm86_cpu_setup } } }, { Geode by NSC, CPUVENDOR_NS, National Semiconductor, /* Family 4, not available from National Semiconductor */ { { CPUCLASS_486, @@ -1493,7 +1538,7 @@ void tm86_cpu_setup(struct cpu_info *ci) { -#if !defined(SMALL_KERNEL) defined(I586_CPU) +#if !defined(SMALL_KERNEL) (defined(I586_CPU) || defined(I686_CPU)) longrun_init(); #endif }
OpenBSD/i386 won't boot on Transmeta Efficeon CPU
Hello all! I have a Sharp MP30 notebook that won't boot on OpenBSD/i386. I am unsure if my situation is a bug or unsupported hardware. The issue seems to be the CPU. It is a Transmeta Efficeon processor at 1.60 GHz. The processor is supposedly Pentium Pro (686) compatible. Below are two console outputs. The first is the console output for an attempt to boot the system from a -current install42.iso as of a week or so ago. Naturally since it never gets past the CPU, it isn't very lengthy. The second is the dmesg from the same system booting NetBSD/i386, purely for purposes of system hardware information. By attaching this I am not making a qualitative judgement in any form, nor am I implying that just because the system will boot NetBSD, it should also boot OpenBSD. With that out of the way, we proceed: /* begin 1 */ Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2007 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 4.2-current (RAMDISK_CD) #539: Thu Nov 15 19:28:35 MST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD cpu0: Transmeta Efficeon(tm) Processor TM8000 (GenuineTMx86 386- class) 1.60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,ACPI,MMX,FXSR,SSE,SSE2,SS,TM NOTICE: this kernel does not support i386 CPU class panic: no appropriate CPU class available The operating system has halted. Please press any key to reboot. /* end 1 */ /* begin 2 */ NetBSD 3.1 (GENERIC) #0: Tue Oct 31 04:27:07 UTC 2006 [EMAIL PROTECTED]:/home/builds/ab/netbsd-3-1- RELEASE/i386/200610302053Z-obj/home/builds/ab/netbsd-3-1- RELEASE/src/sys/arch/i386/compile/GENERIC total memory = 486 MB avail memory = 467 MB BIOS32 rev. 0 found at 0xfd740 mainbus0 (root) cpu0 at mainbus0: (uniprocessor) cpu0: Transmeta Pentium Pro compatible (686-class), 1599.91 MHz, id 0xf24 cpu0: features 2fcbf9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR cpu0: features 2fcbf9ffPGE,MCA,CMOV,PAT,PSE36,MPC,MMXX,MMX cpu0: features 2fcbf9ffFXSR,SSE,SSE2,B27,LONG cpu0: Transmeta Efficeon(tm) Processor TM8000 cpu0: running without thermal monitor! pci0 at mainbus0 bus 0: configuration mode 1 pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok pchb0 at pci0 dev 0 function 0 pchb0: Transmeta product 0x0060 (rev. 0x00) agp at pchb0 not configured ppb0 at pci0 dev 1 function 0: Transmeta product 0x0061 (rev. 0x00) pci1 at ppb0 bus 1 pci1: i/o space, memory space enabled vga1 at pci1 dev 0 function 0: ATI Technologies Radeon Mobility M7 LW (AGP) (rev. 0x00) wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation) wsmux1: connecting to wsdisplay0 ppb1 at pci0 dev 2 function 0: Acer Labs M5249 Hypertransport to PCI bridge (rev. 0x00) pci2 at ppb1 bus 2 pci2: i/o space, memory space enabled pcib0 at pci0 dev 3 function 0 pcib0: Acer Labs M1563 PCI-ISA Bridge (rev. 0x20) Acer Labs M7101 Power Management Controller (miscellaneous bridge) at pci0 dev 3 function 1 not configured auacer0 at pci0 dev 4 function 0: Acer Labs M5455 Audio controller auacer0: interrupting at irq 7 auacer0: ac97: Avance Logic ALC202 codec; headphone, 20 bit DAC, 18 bit ADC, Realtek 3D auacer0: ac97: ext id 607AC97_22,AMAP,SPDIF,DRA,VRA audio0 at auacer0: full duplex, mmap, independent Acer Labs product 0x5457 (modem communications, revision 0x10) at pci0 dev 4 function 1 not configured ath0 at pci0 dev 6 function 0 ath0: interrupting at irq 3 ath0: mac 5.9 phy 4.3 5ghz radio 4.6 ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps cbb0 at pci0 dev 9 function 0: Ricoh 5C475 PCI-CardBus bridge (rev. 0x81) cbb0: NOT USED because of unconfigured interrupt rtk0 at pci0 dev 10 function 0: Realtek 8139 10/100BaseTX rtk0: interrupting at irq 5 rtk0: Ethernet address 08:00:1f:c3:0f:52 ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface ukphy0: OUI 0x00, model 0x, rev. 0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto aceride0 at pci0 dev 14 function 0 aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc5) aceride0: bus-master DMA support present aceride0: primary channel configured to compatibility mode aceride0: primary channel interrupting at irq 14 atabus0 at aceride0 channel 0 aceride0: secondary channel configured to compatibility mode aceride0: secondary channel interrupting at irq 15 atabus1 at aceride0 channel 1 ohci0 at pci0 dev 15 function 0: Acer Labs M5237 USB 1.1 Host Controller (rev. 0x03) ohci0: interrupting at irq 3 ohci0: OHCI version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ehci0 at pci0 dev 15 function 3: Acer Labs M5239 USB 2.0 Host Controller (rev. 0x01) ehci0: interrupting at irq 10 ehci0: BIOS has given up ownership ehci0: EHCI version