Re: Some apps kill/hang X when using scrotwm(1) as wm

2010-08-17 Thread LEVAI Daniel
On Tue, Aug 17, 2010 at 09:30:57 +0200, Tomas Bodzar wrote:
 Hi all,
 
 did someone saw similar problem in scrotwm(1)? Eg. when I start
 xeyes(1) on empty workspace from menu M-p it simply shut down X.
Wish I hadn't tried it :) Yes, it happens here too.

[...]
 So someone here with similar behaviour?

Yep!


Daniel

-- 
LIVAI Daniel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F



Re: Some apps kill/hang X when using scrotwm(1) as wm

2010-08-17 Thread LEVAI Daniel
On Tue, Aug 17, 2010 at 10:19:03 +0200, LEVAI Daniel wrote:
 On Tue, Aug 17, 2010 at 09:30:57 +0200, Tomas Bodzar wrote:
  Hi all,
  
  did someone saw similar problem in scrotwm(1)? Eg. when I start
  xeyes(1) on empty workspace from menu M-p it simply shut down X.
 Wish I hadn't tried it :) Yes, it happens here too.
 
 [...]
  So someone here with similar behaviour?
 
 Yep!
I'm sorry, here's my dmesg (and I'm using scrotwm-0.9.25 from packages):


OpenBSD 4.8 (GENERIC.MP) #358: Wed Aug 11 10:18:19 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM
real mem  = 2145808384 (2046MB)
avail mem = 2100715520 (2003MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/27/09, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS 
rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version 79ETE5WW (2.25 ) date 08/27/2009
bios0: LENOVO 2007FRG
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) 
EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4511 serial 21826 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 
0xe/0x1!
cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16 (irq 
11)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at radeondrm0
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 1 int 
17 (irq 11)
azalia0: codecs: Analog Devices AD1981HD, 0x/0x, using Analog Devices 
AD1981HD
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20 
(irq 11)
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: apic 1 int 
16 (irq 11), address 00:16:41:aa:d2:70
ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 21 
(irq 11)
pci3 at ppb2 bus 3
wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 1 int 
17 (irq 11), MoW2, address 00:18:de:65:2d:37
ppb3 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 1 int 22 
(irq 11)
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 1 int 23 
(irq 11)
pci5 at ppb4 bus 12
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 16 
(irq 11)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 17 
(irq 11)
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1 int 18 
(irq 11)
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1 int 19 
(irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1 int 19 
(irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci6 at ppb5 bus 21
cbb0 at pci6 dev 0 function 0 TI PCI1510 CardBus rev 0x00: apic 1 int 16 (irq 
11)
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled
pciide0

Re: GPRS/3G Modem : USB : HUAWEI : K3565

2010-05-14 Thread LEVAI Daniel
On Fri, May 14, 2010 at 18:28:02 +0530, Mayuresh Kathe wrote:
 has anyone got the above mentioned device to work under openbsd?
 if yes, may i know the process to get it working at my end?
 i'm with vodafone plan in mumbai, india.
I have a 3520 working with vodafone. It's a thumbdrive sized modem, but
I don't know how it is different from a 3565. If you'd like I'll send my
configs.


Daniel

-- 
LIVAI Daniel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F



advice on ssvnc + scrotwm

2010-04-16 Thread LEVAI Daniel
Hi!

While I am connected to another machine with ssvnc, I need to use the
other hosts' wm's (which is scrotwm) hotkeys, bindings (like MOD+Arrow,
MOD+q etc...).
Both machines run scrotwm, and when I press the hotkeys, the local
scrotwm always eats the keys. I can never send the keys binded
locally to the other host.
Is there a way in scrotwm to work around this, or do I just need to
specify alternate bindings on the two hosts?

Thanks!


Dani

-- 
LIVAI Daniel
Digi Kft.



Re: advice on ssvnc + scrotwm

2010-04-16 Thread LEVAI Daniel
On Fri, Apr 16, 2010 at 12:14:38PM +, Stuart Henderson wrote:
 On 2010-04-16, LEVAI Daniel l...@ecentrum.hu wrote:
  Hi!
 
  While I am connected to another machine with ssvnc, I need to use the
  other hosts' wm's (which is scrotwm) hotkeys, bindings (like MOD+Arrow,
  MOD+q etc...).
  Both machines run scrotwm, and when I press the hotkeys, the local
  scrotwm always eats the keys. I can never send the keys binded
  locally to the other host.
  Is there a way in scrotwm to work around this, or do I just need to
  specify alternate bindings on the two hosts?
 Not perfect, but this might be workable:
 Set ssvnc to fullscreen (F9) and then do 'escapekeys toggle' from the menu 
 (F8).
Yes, thanks! In fullscreen mode ssvnc sends everything to the remote
host. Great!


Dani

-- 
LIVAI Daniel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F



Re: Cannot send email with thunderbird 3

2010-04-15 Thread LEVAI Daniel
On Thu, Apr 15, 2010 at 04:18:50AM -0700, ch...@bennettconstruction.biz
wrote:
 I can receive mail but I cannot get it to send email even after fixing
 all the changes it made to my settings. It changed my outgoing server
 from its IP address to the host name which will not work.
 I changed it back to IP address but it still fails to work.I deleted a
 password, but it won't even ask for oneI use dovecot, sendmail both with
 TLS
Try creating a new profile and test it with that.


Daniel

--
LIVAI Daniel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: turning off console cursor

2010-04-06 Thread LEVAI Daniel
On Sun, Apr 04, 2010 at 11:33:55AM +0100, Nicholas Marriott wrote:
 Use TERM=xterm (on 4.7) or TERM=xterm-xfree86 (before 4.7) instead.
 
 xterm-color does not have the civis entry, so programs will not know how
 to turn the cursor off.

Thanks! It is working.


Dani

 On Sun, Apr 04, 2010 at 12:21:14PM +0200, LEVAI Daniel wrote:
  Hi!
  
  
  How do you guys make the cursor invisible in console? I'm using mutt in
  tmux and xterm, and always bugged me that the cursor is always hiding a
  character where it appears (in the indicator, or in a file list).
  The closest I could get was the 'braille_friendly' option in mutt, but
  that only places the cursor to the start of the line instead of the end.
  My TERM variable contains xterm-color.
  
  Thanks for any tips!
  
  
  Dani
  
  -- 
  LIVAI Daniel
  PGP key ID = 0x83B63A8F
  Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F
 

-- 
LIVAI Daniel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F



scrotwm with xrandr dual head

2010-04-06 Thread LEVAI Daniel
Hi!

I'm using scrotwm on a laptop with a monitor connected. Scrotwm
detects the dual head setup, but acts funny regarding the screens.
First of all when scrotwm starts, it starts on 1:1 and 2:2 screens
on the two displays respectively. Maybe this is intentional, but I think
the default is 1:1 and 2:1, and this is some kind of a bug.
Then if I navigate across desktops (ws_prev, ws_next) on - let's say -
the first screen (it stands on 1:1 initially), using ws_next, scrotwm
jumps to 1:2 on screen 1, and jumps from 2:2 to 2:1 on screen 2. On the
top if this, the xterm which was on 1:1 initially, gets moved to screen
2 (now desktop 2:1).
After this, using ws_prev restores the previous state; switches to 1:1
and 2:2 respectively and moves back the xterm window to 1:1.

What I was expecting, is that depending on which screen is active (1 or
2), when I use the ws_prev or ws_next it jumps across the active
screen's desktops. So if screen 1 is active, using ws_next would get me
from 1:1-1:2-1:3-1:4 etc..., and using ws_prev would get me from
1:4-1:3-1:2-1:1 etc... Not touching the windows (e.g.: the above xterm
example) and the other screen(s) desktops and states.

Am I making sense? :) I'm willing make screenshots (lots of them :) if
this is somewhat shady.

So is the above described behavior intended, or is this a bug?


I'm using scrotwm scrotwm-0.9.22 from packages on a -current OpenBSD,
and here is my xrandr output:
$ xrandr
Screen 0: minimum 320 x 200, current 1680 x 2100, maximum 1680 x 2100
VGA-0 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 474mm 
x 296mm
   1680x1050  59.9*+   60.0  
   1280x1024  75.0 60.0  
   1440x900   75.0 59.9  
   1280x960   60.0  
   1152x864   75.0  
   1024x768   75.0 60.0  
   832x62474.6  
   800x60075.0 60.3 56.2  
   640x48075.0 59.9  
   720x40070.1  
LVDS connected 1400x1050+0+1050 (normal left inverted right x axis y axis) 
286mm x 214mm
   1400x1050  60.0*+   50.0  
   1280x1024  59.9 60.0  
   1280x960   59.9  
   1280x854   59.9  
   1280x800   59.8  
   1280x720   59.9  
   1152x768   59.8  
   1024x768   60.0 59.9  
   800x60060.3 59.9  
   640x48059.9 59.4  
DVI-0 disconnected (normal left inverted right x axis y axis)


Dani

-- 
LIVAI Daniel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F



Re: scrotwm with xrandr dual head

2010-04-06 Thread LEVAI Daniel
On Tue, Apr 06, 2010 at 08:38:05AM -0500, Marco Peereboom wrote:
 On Tue, Apr 06, 2010 at 03:10:11PM +0200, LEVAI Daniel wrote:
[...]
 This is the correct behavior.  Scrotwm unlike other WMs does not have
 static areas where you move windows in and out.  Instead it has regions
 where you move workspaces into.  So the flipping of screens you describe
 is scrotwm's very smart way of doing this trick without moving
 individual windows back and forth to accomplish the same.
 
 Takes a few days to get used to but then you wonder why not all of them
 are that way.

Oh, I think I'm starting to get it. Thanks! Now that you've explained
it, it makes more sense :)

[...]
  Am I making sense? :) I'm willing make screenshots (lots of them :) if
  this is somewhat shady.
 
 Yes, but this is by design.  You'll get used to it and love it.

I'm pretty sure, this is true :)


Dani

-- 
LIVAI Daniel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F



turning off console cursor

2010-04-04 Thread LEVAI Daniel
Hi!


How do you guys make the cursor invisible in console? I'm using mutt in
tmux and xterm, and always bugged me that the cursor is always hiding a
character where it appears (in the indicator, or in a file list).
The closest I could get was the 'braille_friendly' option in mutt, but
that only places the cursor to the start of the line instead of the end.
My TERM variable contains xterm-color.

Thanks for any tips!


Dani

-- 
LIVAI Daniel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F



Re: pf + cbq(borrow) not borrowing

2009-12-03 Thread LEVAI Daniel
On Wednesday 02 December 2009 10.33.39 you wrote:
 Hi!

 # uname -a
 OpenBSD janos.szivarvanynet.hu 4.5 GENERIC#0 i386
 - pf.conf -
 altq on rl0 cbq bandwidth 10Mb \
   queue { ssh, imap, smtp, http, def }
   queue ssh  bandwidth 10% priority 0 cbq (borrow)
   queue imap bandwidth 30% cbq (borrow)
   queue smtp bandwidth 30% cbq (borrow)
   queue http bandwidth 20% cbq (borrow)
   queue def  bandwidth 10% cbq (borrow, default)

 pass in on rl0 from any to any port 22 queue (def, ssh)
 - pf.conf -
[...]
 the def queue won't borrow anything.
[...]

If someone would post relevant lines from his/her pf.conf I would be glad. I
could then match if I'm missing something.
Thanks!


Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



pf + cbq(borrow) not borrowing

2009-12-02 Thread LEVAI Daniel
Hi!

# uname -a
OpenBSD janos.szivarvanynet.hu 4.5 GENERIC#0 i386
- pf.conf -
altq on rl0 cbq bandwidth 10Mb \
queue { ssh, imap, smtp, http, def }
queue ssh  bandwidth 10% priority 0 cbq (borrow)
queue imap bandwidth 30% cbq (borrow)
queue smtp bandwidth 30% cbq (borrow)
queue http bandwidth 20% cbq (borrow)
queue def  bandwidth 10% cbq (borrow, default)

pass in on rl0 from any to any port 22 queue (def, ssh)
- pf.conf -

Despite of the borrow keyword I can not get scp's bandwidth to exceed the 1Mb
limit of the def queue. With systat queue I can watch the queue being
used, but only at 1Mb, and although the other queues are empty, the def
queue won't borrow anything.
I tried to turn off queuing altogether, then scp (and everything else) works
at full speed.

What am I missing? Would someone give me some pointers?

Thanks in advance!


Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: Experimenting with softraid encryption

2009-12-01 Thread LEVAI Daniel
 I wrote some notes about installing and experimenting with softraid
 encryption on laptops. I was wondering if misc would have a read and
 perhaps make suggestions or corrections to my approach? I appreciate
 any feedback.

 http://16systems.com/openbsd_softraid_encryption.txt

quote
6. Upon each subsequent boot enter this:

# bioctl -c C -l /dev/wd0d softraid0  exit

/quote

I'm also specifying the -r 32768 along with these. I suppose it is useless
then, isn't it?



Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: Experimenting with softraid encryption

2009-12-01 Thread LEVAI Daniel
On Tuesday 01 December 2009 19.38.13 you wrote:
   quote
   6. Upon each subsequent boot enter this:
  
   # bioctl -c C -l /dev/wd0d softraid0  exit
  
   /quote
  
   I'm also specifying the -r 32768 along with these. I suppose it is
   useless then, isn't it?
 
  I'm not sure. The man page is unclear. It seems to work either way. Can
  rounds be changed after initially creating the volume?
 
  Marco said no

 So explicitly specifying the rounds at each boot seems unnecessary.

What is confusing me, is that one creates and activates a crypt device with
basically the same command. How could I know if I'm creating a new crypted
device, or opening an existing one?

Daniel

--
LC  VAI DC!niel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: Experimenting with softraid encryption

2009-12-01 Thread LEVAI Daniel
On Tuesday 01 December 2009 21.07.04 you wrote:
  What is confusing me, is that one creates and activates a crypt device
  with basically the same command. How could I know if I'm creating a new
  crypted device, or opening an existing one?
 It is the same operation isn't it?

 You end up with a crypto disk (or not if something goes wrong); why
 would you have 2 different commands for the same action?

# bioctl -c C -l /dev/wd0d softraid0

So basically, at first bioctl somehow (how?) knows that there isn't any
crypto stuff on  wd0d, and after that it will know that it must not disturb
(recreate) the crypto disk - because it has been created before -, but only
open it. Is this correct? If it is, then how can one recreate a crypto disk
(eg. for changing the password)?


Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: Experimenting with softraid encryption

2009-12-01 Thread LEVAI Daniel
On Tuesday 01 December 2009 21.45.31 you wrote:
  -, but only open it. Is this correct? If it is, then how can one recreate
  a crypto disk (eg. for changing the password)?
[...]
 I think the time has come for you to read the docs.

Sorry, I didn't notice that -current has the password change feature (-P
option); my 4.5 and 4.6 box hasn't got it...


Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



tmux hangs, with 100% cpu

2009-11-27 Thread LEVAI Daniel
Hi!


With today's (11.27) update for -current, tmux hangs after doing:

local$ ssh host
host$ logout

I can't imagine why would it hang because of this, but it does. I have to do
`pkill -9 tmux`.

What other information would be helpful?


dmesg:
OpenBSD 4.6-current (GENERIC.MP) #323: Thu Nov 26 16:09:41 MST 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
real mem  = 2145808384 (2046MB)
avail mem = 2070446080 (1974MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/02/06, BIOS32 rev. 0 @ 0xfd6b0,
SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version 79ET66WW (1.10 ) date 08/02/2006
bios0: LENOVO 2007FRG
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4)
EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83
GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4511 serial 21826 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000!
0xe/0x1
cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16
(irq 11)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at radeondrm0
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 1
int 17 (irq 11)
azalia0: RIRB time out
azalia0: codecs: Analog Devices AD1981HD, 0x/0x, using Analog Devices
AD1981HD
azalia0: RIRB time out
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20
(irq 11)
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: apic 1 int
16 (irq 11), address 00:16:41:aa:d2:70
ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 21
(irq 11)
pci3 at ppb2 bus 3
wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 1
int 17 (irq 11), MoW2, address 00:18:de:65:2d:37
ppb3 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 1 int 22
(irq 11)
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 1 int 23
(irq 11)
pci5 at ppb4 bus 12
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 16
(irq 11)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 17
(irq 11)
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1 int 18
(irq 11)
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1 int 19
(irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1 int 19
(irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci6 at ppb5 bus 21
mem address conflict 0xe430/0x1000
cbb0 at pci6 dev 0 function 0 TI PCI1510 CardBus rev 0x00: apic 1 int 16
(irq 11)
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x02: DMA, channel 0
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0

Re: tmux hangs, with 100% cpu

2009-11-27 Thread LEVAI Daniel
On Friday 27 November 2009 11.25.16 you wrote:
 With today's (11.27) update for -current, tmux hangs after doing:
[...]
Never mind, compiling from HEAD is working. Sorry for the noise.


Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



softraid init at startup

2009-11-17 Thread LEVAI Daniel
Hi!


I have a crypto softraid device and now I set it up at every boot in rc.local
with a bioctl  fsck  mount combination.
Is there any standard way of setting up softraid0 devices at boot, or everyone
use their own implementation (eg. in /etc/rc.local)?


Thanks,

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: softraid init at startup

2009-11-17 Thread LEVAI Daniel
On Tuesday 17 November 2009 21.53.11 you wrote:
 Am 11/17/2009 05:08 PM, schrieb LEVAI Daniel:
  I have a crypto softraid device and now I set it up at every boot in
  rc.local with a bioctl  fsck  mount combination.
  Is there any standard way of setting up softraid0 devices at boot, or
  everyone use their own implementation (eg. in /etc/rc.local)?
 Hi,
 as far as I know, this is the way to do it.

Thanks, then I'll just stick with it.


Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



systat doesn't show cd0 read/write

2009-11-10 Thread LEVAI Daniel
Hi!


(on -current) While burning a cd with `cdio tao image.iso`,
systat iostat/vmstat doesn't show the write speed/bytes on cd0.
Is this intentional or known?


dmesg:
OpenBSD 4.6-current (GENERIC.MP) #284: Sat Nov  7 10:19:48 MST 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
real mem  = 2145808384 (2046MB)
avail mem = 2070622208 (1974MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/02/06, BIOS32 rev. 0 @ 0xfd6b0,
SMBIOS rev. 2.4 @ 0xe0010
(68 entries)
bios0: vendor LENOVO version 79ET66WW (1.10 ) date 08/02/2006
bios0: LENOVO 2007FRG
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4)
EXP2(S4) EXP3(S4) PCI1
(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83
GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4511 serial 21826 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000!
0xe/0x1
cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16
(irq 11)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at radeondrm0
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 1
int 17 (irq 11)
azalia0: RIRB time out
azalia0: codecs: Analog Devices AD1981HD, 0x/0x, using Analog Devices
AD1981HD
azalia0: RIRB time out
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20
(irq 11)
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: apic 1 int
16 (irq 11), address
00:16:41:aa:d2:70
ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 21
(irq 11)
pci3 at ppb2 bus 3
wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 1
int 17 (irq 11), MoW2,
address 00:18:de:65:2d:37
ppb3 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 1 int 22
(irq 11)
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 1 int 23
(irq 11)
pci5 at ppb4 bus 12
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 16
(irq 11)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 17
(irq 11)
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1 int 18
(irq 11)
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1 int 19
(irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1 int 19
(irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci6 at ppb5 bus 21
cbb0 at pci6 dev 0 function 0 TI PCI1510 CardBus rev 0x00: apic 1 int 16
(irq 11)
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x02: DMA, channel 0
configured to
compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVDRAM GSA-4083N, 1.08 ATAPI 5/cdrom
removable

Re: Faults in wordpress which uses php in apache in 4.6

2009-11-08 Thread LEVAI Daniel
On Sunday 08 November 2009 12.55.00 you wrote:
 I updated my web servers to OpenBSD 4.6
 And since then I am getting random

 [Sun Nov  8 01:55:53 2009] [notice] child pid 32697 exit signal
  Segmentation fault (11)
[...]

 Any hint of how to track this problem down,

http://marc.info/?l=openbsd-miscm=125705678529303w=2

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: very slow xterm window refresh with TrueType fonts

2009-11-04 Thread LEVAI Daniel
 I'm experiencing this problem since a few snapshots now:
 [...]
 While resizing, moving or hovering the xterm window with other windows, the
 xterm window's content is refreshing painfully slowly. If someone else has
 experienced this problem, I would really appreciate some ideas or
 informations about this :)

Hi!

Just wanted to tell, that since then I've managed to get it working again. The
problem was that I've used the XAA accelmethod by default with the radeon
driver (with a ATI Radeon Mobility X1400 in a Lenovo ThinkPad T60). The
Xorg.0.log nicely gives me the heads up that it is not supported with this
type of chip, and use the EXA accelmethod instead of the default XAA. After
making this configuration change in xorg.conf, everything is snappy again.

Could it be possible to use the EXA method by default with these radeon
drivers so there won't be any problems like this?



Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: umask for remote host in sftp / sftp-server

2009-10-31 Thread LEVAI Daniel
On Saturday 31 October 2009 10.13.44 you wrote:
 How can umask be set on the remote host for chrooted sftp users?
[...]

Setup a umask for your users' class in login.conf(5). Perhaps add them in a
new class, eg.:

master.passwd(5):
user:*:1001:1001:sftp:0:0::/home/user:/bin/ksh

login.conf(5):
sftp:\
:umask=027:\
:tc=default:


Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: muting the keyboard bell with wsconsctl isn't working anymore

2009-10-26 Thread LEVAI Daniel
On Thursday 22 October 2009 21.25.32 you wrote:
  Since the Oct.16 snapshot I can not disable the keyboard bell (beel) with
  wsconsctl(8).
 
  $ wsconsctl
  [...]
  keyboard.bell.pitch=0
  keyboard.bell.period=0
  keyboard.bell.volume=0
  keyboard.bell.pitch.default=0
  keyboard.bell.period.default=0
  keyboard.bell.volume.default=0
  [...]
 
  Still I can hear the beep with eg.: echo '^G'

 You probably use an USB keyboard, which attaches as wskbd1. Until very
 recently these keyboards did not bell due to missing plumbing in the
 kernel.
Yes, indeed.

 You should be able to mute the bell with
 # wsconsctl -f /dev/wskbd1 keyboard.volume=0
Thank you very much, it is working!

 (and we definitely need to improve wsconsctl to recognize `keyboard1' as
 a valid device).
Yes, I noticed that wsconsctl don't understand:
wsconsctl -f /dev/wskbd1 -a, it just displays wskbd0's values. Also this can't
be done in /etc/wsconsctl.conf, I must add this to eg. /etc/rc.local. But, I
know... patches are welcome, so I'll just shut up.

Anyway, thanks again!


Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



muting the keyboard bell with wsconsctl isn't working anymore

2009-10-18 Thread LEVAI Daniel
Hi!

Since the Oct.16 snapshot I can not disable the keyboard bell (beel) with
wsconsctl(8).

$ wsconsctl
[...]
keyboard.bell.pitch=0
keyboard.bell.period=0
keyboard.bell.volume=0
keyboard.bell.pitch.default=0
keyboard.bell.period.default=0
keyboard.bell.volume.default=0
[...]

Still I can hear the beep with eg.: echo '^G'
Anyone has an idea why?
TIA!


Daniel

btw: This is Lenovo ThinkPad T60
$ dmesg
OpenBSD 4.6-current (GENERIC.MP) #244: Fri Oct 16 16:32:45 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
real mem  = 1072066560 (1022MB)
avail mem = 1030283264 (982MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/02/06, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS 
rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version 79ET66WW (1.10 ) date 08/02/2006
bios0: LENOVO 2007FRG
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) 
EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4511 serial 21826 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 
0xe/0x1
cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16 (irq 
11)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at radeondrm0
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 1 int 
17 (irq 11)
azalia0: RIRB time out
azalia0: codecs: Analog Devices AD1981HD, 0x/0x, using Analog Devices 
AD1981HD
azalia0: RIRB time out
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20 
(irq 11)
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: apic 1 int 
16 (irq 11), address 00:16:41:aa:d2:70
ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 21 
(irq 11)
pci3 at ppb2 bus 3
wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 1 int 
17 (irq 11), MoW2, address 00:18:de:65:2d:37
ppb3 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 1 int 22 
(irq 11)
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 1 int 23 
(irq 11)
pci5 at ppb4 bus 12
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 16 
(irq 11)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 17 
(irq 11)
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1 int 18 
(irq 11)
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1 int 19 
(irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1 int 19 
(irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci6 at ppb5 bus 21
cbb0 at pci6 dev 0 function 0 TI PCI1510 CardBus rev 0x00: apic 1 int 16 (irq 
11)
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 

wrong dates displayed with sftp

2009-09-25 Thread LEVAI Daniel
Hi!

My sftp client is displaying the files' dates in the wrong timezone.

@localhost $ sftp remotehost
sftp mkdir test
sftp ls -l
drwxr-x--- [...] Sep 25 06:53 test

That is GMT, 2 hours minus the my timezone, what is CEST(GMT+2).
However on the remote host the directory has the correct timestamp:

@remotehost $ ls -ld ./test
drwxr-x--- [...] Sep 25 08:53:10 2009 test//


Both the client and the remote host has the file
/usr/share/zoneinfo/Europe/Budapest copied overt to /etc/localtime.

Anyone has an idea what could cause this behaviour?


Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: wrong dates displayed with sftp

2009-09-25 Thread LEVAI Daniel
On Friday 25 September 2009 11.16.14 you wrote:
 On 2009-09-25, LEVAI Daniel l...@ecentrum.hu wrote:
  Hi!
 
  My sftp client is displaying the files' dates in the wrong timezone.
 
  @localhost $ sftp remotehost
  sftp mkdir test
  sftp ls -l
  drwxr-x--- [...] Sep 25 06:53 test
 
  That is GMT, 2 hours minus the my timezone, what is CEST(GMT+2).
  However on the remote host the directory has the correct timestamp:
 
  @remotehost $ ls -ld ./test
  drwxr-x--- [...] Sep 25 08:53:10 2009 test//
 
 
  Both the client and the remote host has the file
  /usr/share/zoneinfo/Europe/Budapest copied overt to /etc/localtime.
 
  Anyone has an idea what could cause this behaviour?

 Is the sftp server chroot'ed?
Yes, indeed. So if I want correct dates I must create the etc/localtime file
under the chroot?


Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: X crashes with snapshot

2009-09-14 Thread LEVAI Daniel
On Tuesday 08 September 2009 15.27.01 you wrote:
 On Monday 07 September 2009 18.44.42 Owain Ainsworth wrote:
  On Mon, Sep 07, 2009 at 11:27:31AM +0200, LEVAI Daniel wrote:
   Fatal server error:
   Caught signal 11.  Server aborting
 
  Please checkout the xenocara tree and follow the instructions in README
  in order to provide a gdb backtrace with debug symbols.
 
  I have no idea why people think that X is different in this respect to
  other applications...

 Thanks for the pointer, I got it. Here is the output of bt full:
[...]

Can I be of more assistance with this? Is there a suspicion about what could
this be?


Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: X crashes with snapshot

2009-09-14 Thread LEVAI Daniel
On Monday 14 September 2009 11.00.49 you wrote:
 On Sun, Sep 13, 2009 at 11:32 PM, LEVAI Daniel l...@ecentrum.hu wrote:
  On Tuesday 08 September 2009 15.27.01 you wrote:
  On Monday 07 September 2009 18.44.42 Owain Ainsworth wrote:
   On Mon, Sep 07, 2009 at 11:27:31AM +0200, LEVAI Daniel wrote:
Fatal server error:
Caught signal 11.  Server aborting
  
   Please checkout the xenocara tree and follow the instructions in
   README in order to provide a gdb backtrace with debug symbols.
  
   I have no idea why people think that X is different in this respect to
   other applications...
 
  Thanks for the pointer, I got it. Here is the output of bt full:
 
  [...]
 
  Can I be of more assistance with this? Is there a suspicion about what

 could

  this be?

 From your gdb backtrace:

 #0  0x1c0b7db0 in xf86_reload_cursors (screen=0x7ec3b000)
 at /usr/xenocara/xserver/hw/xfree86/modes/xf86Cursors.c:615
 615 if (!cursor_screen_priv-isUp)
 #0  0x1c0b7db0 in xf86_reload_cursors (screen=0x7ec3b000)
 at /usr/xenocara/xserver/hw/xfree86/modes/xf86Cursors.c:615
scrn = 0x88c64800
xf86_config = 0x891b25b0
cursor_info = 0x875c7300
cursor = 0x8a28c000
x = -1994706896
y = 2126768128
cursor_screen_priv = 0x0


 this is a null-pointer dereference crash:

 /usr/xenocara/xserver/hw/xfree86/modes/xf86Cursors.c
 612 cursor_screen_priv = dixLookupPrivate(screen-devPrivates,
 613   xf86CursorScreenKey);
 614 /* return if HW cursor is inactive, to avoid displaying two
 cursors
 615 if (!cursor_screen_priv-isUp)
 616 return;


 I'm stating the obvious here, of course. Whether it's OK for
 dixLookupPrivate() to return NULL or if that points to further
 problems is /way/ beyond my grasp of knowledge. If it is acceptable
 for a NULL to be returned, a simple check for a NULL pointer before
 the dereference could fix the crash.

 But, wait for someone more qualified to chime in :-)
Thank you for the information! This gave me the idea, if this has anything to
do with my Option SWCursor on setting, after all, the file in question is
xf86Cursors.c. Disabling SWCursor solves the crash ( yay! ), but
unfortunatelly with hardware cursor and Virtual Display setting, the mouse
cursor tranforms into weird artifacts during its motion. Well, it is better
than the crash :)


Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: X crashes with snapshot

2009-09-08 Thread LEVAI Daniel
On Monday 07 September 2009 18.44.42 Owain Ainsworth wrote:
 On Mon, Sep 07, 2009 at 11:27:31AM +0200, LEVAI Daniel wrote:
  Fatal server error:
  Caught signal 11.  Server aborting

 Please checkout the xenocara tree and follow the instructions in README
 in order to provide a gdb backtrace with debug symbols.

 I have no idea why people think that X is different in this respect to
 other applications...
Thanks for the pointer, I got it. Here is the output of bt full:

Core was generated by `Xorg'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/X11R6/lib/libpciaccess.so.0.10...done.
Loaded symbols for /usr/X11R6/lib/libpciaccess.so.0.10
Reading symbols from /usr/X11R6/lib/libXfont.so.8.0...done.
Loaded symbols for /usr/X11R6/lib/libXfont.so.8.0
Reading symbols from /usr/X11R6/lib/libfreetype.so.17.0...done.
Loaded symbols for /usr/X11R6/lib/libfreetype.so.17.0
Reading symbols from /usr/X11R6/lib/libXau.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.9.0
Reading symbols from /usr/X11R6/lib/libfontenc.so.3.0...done.
Loaded symbols for /usr/X11R6/lib/libfontenc.so.3.0
Reading symbols from /usr/lib/libz.so.4.1...done.
Loaded symbols for /usr/lib/libz.so.4.1
Reading symbols from /usr/X11R6/lib/libpixman-1.so.15.8...done.
Loaded symbols for /usr/X11R6/lib/libpixman-1.so.15.8
Reading symbols from /usr/X11R6/lib/libXdmcp.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libXdmcp.so.9.0
Reading symbols from /usr/lib/libm.so.5.1...done.
Loaded symbols for /usr/lib/libm.so.5.1
Reading symbols from /usr/lib/libc.so.51.0...done.
Loaded symbols for /usr/lib/libc.so.51.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/X11R6/lib/modules/extensions/libextmod.so...done.
Loaded symbols for /usr/X11R6/lib/modules/extensions/libextmod.so
Reading symbols from /usr/X11R6/lib/modules/extensions/libdbe.so...done.
Loaded symbols for /usr/X11R6/lib/modules/extensions/libdbe.so
Reading symbols from /usr/X11R6/lib/modules/extensions/libglx.so...done.
Loaded symbols for /usr/X11R6/lib/modules/extensions/libglx.so
Reading symbols from /usr/X11R6/lib/modules/extensions/libdri.so...done.
Loaded symbols for /usr/X11R6/lib/modules/extensions/libdri.so
Reading symbols from /usr/X11R6/lib/libdrm.so.2.4...done.
Loaded symbols for /usr/X11R6/lib/libdrm.so.2.4
Reading symbols from /usr/X11R6/lib/modules/extensions/libdri2.so...done.
Loaded symbols for /usr/X11R6/lib/modules/extensions/libdri2.so
Reading symbols from /usr/X11R6/lib/modules/drivers/radeon_drv.so...done.
Loaded symbols for /usr/X11R6/lib/modules/drivers/radeon_drv.so
Reading symbols from /usr/X11R6/lib/modules/input/mouse_drv.so...done.
Loaded symbols for /usr/X11R6/lib/modules/input/mouse_drv.so
Reading symbols from /usr/X11R6/lib/modules/input/kbd_drv.so...done.
Loaded symbols for /usr/X11R6/lib/modules/input/kbd_drv.so
Reading symbols from /usr/X11R6/lib/modules/libvgahw.so...done.
Loaded symbols for /usr/X11R6/lib/modules/libvgahw.so
Reading symbols from /usr/X11R6/lib/modules/libint10.so...done.
Loaded symbols for /usr/X11R6/lib/modules/libint10.so
Reading symbols from /usr/X11R6/lib/modules/libfb.so...done.
Loaded symbols for /usr/X11R6/lib/modules/libfb.so
Reading symbols from /usr/X11R6/lib/modules/libxaa.so...done.
Loaded symbols for /usr/X11R6/lib/modules/libxaa.so
Reading symbols from /usr/X11R6/lib/modules/dri/swrast_dri.so...done.
Loaded symbols for /usr/X11R6/lib/modules/dri/swrast_dri.so
Reading symbols from /usr/X11R6/lib/libX11.so.12.0...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.12.0
Reading symbols from /usr/lib/libexpat.so.9.0...done.
Loaded symbols for /usr/lib/libexpat.so.9.0
Reading symbols from /usr/X11R6/lib/libxcb.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libxcb.so.2.0
Reading symbols from /usr/X11R6/lib/libpthread-stubs.so.0.0...done.
Loaded symbols for /usr/X11R6/lib/libpthread-stubs.so.0.0
#0  0x1c0b7db0 in xf86_reload_cursors (screen=0x7ec3b000)
at /usr/xenocara/xserver/hw/xfree86/modes/xf86Cursors.c:615
615 if (!cursor_screen_priv-isUp)
#0  0x1c0b7db0 in xf86_reload_cursors (screen=0x7ec3b000)
at /usr/xenocara/xserver/hw/xfree86/modes/xf86Cursors.c:615
scrn = 0x88c64800
xf86_config = 0x891b25b0
cursor_info = 0x875c7300
cursor = 0x8a28c000
x = -1994706896
y = 2126768128
cursor_screen_priv = 0x0
#1  0x0968bc8b in radeon_crtc_mode_commit (crtc=0x7ec3e800)
at /usr/xenocara/driver/xf86-video-ati/src/radeon_crtc.c:289
No locals.
#2  0x1c0b1b6b in xf86CrtcSetModeTransform (crtc=0x7ec3e800, mode=0xcfbde0c0,
rotation=1,
transform=0x0, x=0, y=0)
at /usr/xenocara/xserver/hw/xfree86/modes/xf86Crtc.c:347
scrn = 0x88c64800
pScreen = 0x7ec3b000
xf86_config = 0x82831400
i = 3
ret = 0
didLock = 0
adjusted_mode = 0x82167800
saved_mode = {prev = 0x82167900, next = 0x82167600, name = 0x7c5f1ab0
1152x768, status

Re: Adding PHP module to httpd.conf

2009-08-04 Thread LEVAI Daniel
On Tuesday 04 August 2009 12.26.19 you wrote:
 How do I add PHP module in httpd.conf?

 I don't see any package name mod_php. I have already added the php-core
 package.

You should've got a php5.conf in your /var/www/conf/modules.sample/ directory.
Copy that over to the /var/www/conf/modules/ directory, and restart apache.
Further php5 extension tuning can be achieved by copying and maybe editing
the sample files from /var/www/conf/php5.sample to /var/www/conf/php5.


Daniel

--
LC  VAI DC!niel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



dnssec-keygen question

2009-07-31 Thread LEVAI Daniel
Hi!

Why can't I generate an RSASHA1 key for a host with this command?

$ dnssec-keygen -a RSASHA1 -b 1024 -n HOST host
dnssec-keygen: invalid DNSKEY nametype HOST

According to dnssec-keygen(8), the HOST and ENTITY nametypes are valid and
equivalent.

I'm trying to configure A record updates for a host with dynamic ip.

I've read this documentation, and it seemed valid:
http://www.ops.ietf.org/dns/dynupd/secure-ddns-howto.html

Any advices would be appreciated, thanks!


Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: dnssec-keygen question

2009-07-31 Thread LEVAI Daniel
On Friday 31 July 2009 19.42.48 you wrote:
 LEVAI Daniel l...@ecentrum.hu writes:
  Hi!
 
  Why can't I generate an RSASHA1 key for a host with this command?
 
  $ dnssec-keygen -a RSASHA1 -b 1024 -n HOST host
  dnssec-keygen: invalid DNSKEY nametype HOST
 
  According to dnssec-keygen(8), the HOST and ENTITY nametypes are valid
  and equivalent.

 HOST and ENTITY options are only valid if you are generating KEY records
 (-k).

 Like:

 $ dnssec-keygen  -a RSASHA1 -b 1024 -k -n HOST somehost
 Ksomehost.+005+30076

Thanks!


Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



pppd problems with a Huawei E220

2009-07-13 Thread LEVAI Daniel
Hi!

I'm trying to setup a mobile internet connection. On a -current machine I've
made this peer file:

/etc/ppp/peers/vodafone1:
### --- ###
/dev/cuaU0
460800
connect /usr/sbin/chat -v -f /etc/ppp/peers/vodafone.chat2
debug
holdoff 5
ipcp-accept-local
ipcp-accept-remote
lock
noaccomp
noauth
nobsdcomp
noccp
nodefaultroute
novj
user 
### --- ###

/etc/ppp/peers/vodafone.chat2:
### --- ###
ABORT BUSY
ABORT 'NO CARRIER'
ABORT VOICE
ABORT 'NO DIALTONE'
ABORT 'NO DIAL TONE'
ABORT 'NO ANSWER'
ABORT DELAYED
'' ATZ
OK 'ATFE0V1X1D2C1 s0=0'
OK 'ATE1'
OK 'AT+cgdcont=1,IP,internet.vodafone.net'
OK-AT-OK ATDT*99***1#
CONNECT \d\c
### --- ###

I've gathered these informations from misc@ archives, and changed only a
few local settings (eg.: APN setting).

Now when I try to connect with `pppd call vodafone1`, I get this error
message:
# tail -f /var/log/daemon
pppd[24712]: pppd 2.3.5 started by daniell, uid 0
pppd[24712]: Serial connection established.
pppd[24712]: Using interface ppp0
pppd[24712]: Connect: ppp0 -- /dev/cuaU0
pppd[24712]: Could not determine remote IP address
pppd[24712]: Connection terminated.


Right now I'm stuck :\
Any advice would be appreciated.

Thanks!


Daniel


dmesg:
OpenBSD 4.6 (GENERIC.MP) #89: Thu Jul  9 21:32:39 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
real mem  = 1072066560 (1022MB)
avail mem = 1027809280 (980MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/02/06, BIOS32 rev. 0 @ 0xfd6b0,
SMBIOS
rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version 79ET66WW (1.10 ) date 08/02/2006
bios0: LENOVO 2007FRG
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4)
EXP2
(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83
GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4511 serial 21826 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit offline
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000!
0xe/0x1
cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16
(irq
11)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at radeondrm0
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 1
int
17 (irq 11)
azalia0: RIRB time out
azalia0: codecs: Analog Devices AD1981HD, 0x/0x, using Analog Devices
AD1981HD
azalia0: RIRB time out
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20
(irq
11)
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: apic 1 int
16
(irq 11), address 00:16:41:aa:d2:70
ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 21
(irq
11)
pci3 at ppb2 bus 3
wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 1
int
17 (irq 11), MoW2, address 00:18:de:65:2d:37
ppb3 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 1 int 22
(irq
11)
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 1 int 23
(irq
11)
pci5 at ppb4 bus 12
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 16
(irq
11)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 

Re: pppd problems with a Huawei E220

2009-07-13 Thread LEVAI Daniel
On Monday 13 July 2009 10.58.09 you wrote:
 On 7/13/09, LEVAI Daniel l...@ecentrum.hu wrote:
  Hi!
 
   I'm trying to setup a mobile internet connection. On a -current machine
  I've made this peer file:
 
   /etc/ppp/peers/vodafone1:
   ### --- ###
   /dev/cuaU0
   460800
   connect /usr/sbin/chat -v -f /etc/ppp/peers/vodafone.chat2
   debug
   holdoff 5

 add here a line that looks like:
 :10.255.255.254

 with this line you set the remote address to be 10.255.255.254 (you
 can choose any other by your taste).
Thanks a lot, that helped!


Daniel

--
LC  VAI DC!niel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



IMP webmail bad folder encoding

2009-07-05 Thread LEVAI Daniel
Hi!

In IMP after login, the left-side folder list comes up, and it has some
folders, which contains localized characters. This is only displayed
correctly when I select the English language on the IMP login page from the
drop-down menu. When I choose any other locale (but let's say now I choose my
own locale, which is Magyar (Hungarian)), the folder list won't display the
correct characters in the folders' names. It's like this:

Folder name with English (*) locale:
\gyfil

Folder name with Magyar locale:
ANw-gyfAOk-l

The latter is the same UTF-7 displaying as the folder's name on the
filesystem:
# ls -1 user/Maildir/
[...]
.ANw-gyfAOk-l/
[...]

Other supposedly useful information:
# php -i |fgrep mbstring
mbstring.detect_order = no value = no value
mbstring.encoding_translation = Off = Off
mbstring.func_overload = 0 = 0
mbstring.http_input = pass = pass
mbstring.http_output = pass = pass
mbstring.internal_encoding = ISO-8859-1 = ISO-8859-1
mbstring.language = neutral = neutral
mbstring.strict_detection = Off = Off
mbstring.substitute_character = no value = no value
# php -i |fgrep iconv
Registered Stream Filters = string.rot13, string.toupper,
string.tolower,
string.strip_tags, convert.*, consumed, convert.iconv.*, zlib.*
iconv
iconv support = enabled
iconv implementation = libiconv
iconv library version = 1.11
iconv.input_encoding = ISO-8859-1 = ISO-8859-1
iconv.internal_encoding = ISO-8859-1 = ISO-8859-1
iconv.output_encoding = ISO-8859-1 = ISO-8859-1

I'm using PHP(5.2.10) and Horde(3.3.2)/IMP(4.3.3) from ports (-current).

I've installed and tried the same configuration on my desktop (Linux)
machine, and it worked there, nevertheless I've filed a ticket to the
Horde/IMP tracker, but they can not reproduce it (it is
http://bugs.horde.org/ticket/7781 if anybody is interested. One can see there
a screenshot too, about the problem).

It's like that IMP doesn't even try to convert the folder names,
because it is displayed in the native way, exactly the same as on
the filesystem.
BTW, this is with a dovecot IMAP server.

Any advice would be appreciated.
Thanks!

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



tmux resetting DISPLAY variable

2009-07-03 Thread LEVAI Daniel
Hi!

Anyone else noticed that tmux(1) resets the DISPLAY variable when started? Is
this intentional?


Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: tmux resetting DISPLAY variable

2009-07-03 Thread LEVAI Daniel
On Friday 03 July 2009 13.53.06 you wrote:
 Hmm. I thought I could reproduce this but now I can't.

 Please send me the output of env before starting tmux and from inside
 tmux, and the output of tmux show -g after starting it.
here are the env output:

before:
_=/usr/bin/env
PAGER=less
SHELL=/bin/ksh
AUTOMAKE_VERSION=1.9
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/games:/usr/X11R6/bin:/usr/local/bin:/
usr/local/sbin:/home/daniell/bin
HISTFILE=
EDITOR=vi
AUTOCONF_VERSION=2.62
KDE_SESSION_UID=
USER=daniell
VISUAL=vi
PERL_BADLANG=0
WINDOWPATH=5
GTK_RC_FILES=/etc/gtk/gtkrc:/home/daniell/.gtkrc:/home/daniell/.kde/share/con
fig/gtkrc
KDE_FULL_SESSION=true
KONSOLE_DCOP_SESSION=DCOPRef(konsole-16942,session-3)
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/daniell/.gtkrc-2.0:/home/daniell/.kde/
share/config/gtkrc-2.0
G_FILENAME_ENCODING=ISO8859-2
LC_COLLATE=hu_HU.ISO8859-2
COLORTERM=
XAUTHORITY=/home/daniell/.Xauthority
TERM=xterm-color
XCURSOR_THEME=default
KONSOLE_DCOP=DCOPRef(konsole-16942,konsole)
KDE_MULTIHEAD=false
LANG=en_US.ISO8859-1
ENV=~/.kshrc
LOGNAME=daniell
SESSION_MANAGER=local/digidani:/tmp/.ICE-unix/22806
LC_TIME=hu_HU.ISO8859-2
LC_ALL=en_US.ISO8859-1
PKG_PATH=ftp://ftp.de.openbsd.org/pub/OpenBSD/snapshots/packages/i386/
HOME=/home/daniell
DISPLAY=:0.0
LC_MONETARY=hu_HU.ISO8859-2
WINDOWID=46137349
GS_LIB=/home/daniell/.fonts


after:
_=/usr/bin/env
PAGER=less
EDITOR=vi
AUTOMAKE_VERSION=1.9
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/games:/usr/X11R6/bin:/usr/local/bin:/
usr/local/sbin:/home/daniell/bin
HISTFILE=
AUTOCONF_VERSION=2.62
SHELL=/bin/ksh
USER=daniell
VISUAL=vi
PERL_BADLANG=0
G_FILENAME_ENCODING=ISO8859-2
LC_COLLATE=hu_HU.ISO8859-2
TERM=wsvt25
LANG=en_US.ISO8859-1
LOGNAME=daniell
ENV=~/.kshrc
TMUX=/tmp//tmux-1000/default,11858,0
LC_TIME=hu_HU.ISO8859-2
LC_ALL=en_US.ISO8859-1
PKG_PATH=ftp://ftp.de.openbsd.org/pub/OpenBSD/snapshots/packages/i386/
HOME=/home/daniell
LC_MONETARY=hu_HU.ISO8859-2


$ tmux show -g
bell-action any
buffer-limit 9
default-command exec /bin/ksh -l
default-path /home/daniell
display-time 750
history-limit 2000
lock-after-time 0
message-attr reverse
message-bg yellow
message-fg black
prefix C-b
repeat-time 500
set-remain-on-exit off
set-titles off
status on
status-attr reverse
status-bg green
status-fg black
status-interval 15
status-keys vi
status-left [#S]
status-left-length 10
status-right #24T %H:%M %d-%b-%y
status-right-length 40
status-utf8 off


Thanks,

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: tmux resetting DISPLAY variable

2009-07-03 Thread LEVAI Daniel
On Friday 03 July 2009 15.28.12 you wrote:
 On Fri, Jul 03, 2009 at 01:07:44PM +0200, LEVAI Daniel wrote:
  Hi!
 
  Anyone else noticed that tmux(1) resets the DISPLAY variable when
  started? Is this intentional?

 tmux learns DISPLAY when a new tmux server is started.

 If you attach to an existing session or just create a new session
 on an existing tmux server, your DISPLAY variable can end up unrelated
 to how you just connected.

Ah! That's it... I've started tmux outside my X session, and reattached to it
inside..

Thanks!


Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: very slow xterm window refresh with TrueType fonts

2009-06-13 Thread LEVAI Daniel
On Friday 12 June 2009 08.32.23 you wrote:
   I'm experiencing this problem since a few snapshots now:
 
  Can you be more precise ? When was it working last time?
How can I try previous snapshots to pinpoint the exact date?

  Which window manager are you using? Some are generating an
  un-reasonnable number of redraw events while moving or resizing
  windows, and xterm tries to handle all of them.

 I'm using kwin (kde-3.5.10 from packages -current).
I've now tried also with cwm/fvwm, and I also played with these xorg.conf
settings: NoAccel(on/off), RenderAccel(on/off), AccelMethod(EXA/XAA),
DRI(on/off) but with everything turned off or on, xterm refresh is still
slow.

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: very slow xterm window refresh with TrueType fonts

2009-06-12 Thread LEVAI Daniel
On Thursday 11 June 2009 23.40.27 you wrote:
 On Thu, Jun 11, 2009 at 9:28 AM, LEVAI Daniell...@ecentrum.hu wrote:
  Hi!
 
  I'm experiencing this problem since a few snapshots now:

 Can you be more precise ? When was it working last time?
I'm trying :\ Last week it was definitely working, but I really can not
remember exactly, because for a few days, including last weekend I have not
used my laptop, and every day when I start it, I update to -current.

  Using -current, and xterm configured to use TrueType fonts:
  $ cat ~/.Xdefaults
  xterm*renderFont: true
  xterm*faceName: Terminus
  xterm*faceSize: 12
 
  xterm*loginShell: true
  xterm*Geometry: 79x50+0+0
  xterm*scrollBar: false
 
  xterm*background:   black
  xterm*foreground:   white
  !xterm*highlightColor:  red
 
  While resizing, moving or hovering the xterm window with other windows,
  the xterm window's content is refreshing painfully slowly. If someone
  else has experienced this problem, I would really appreciate some ideas
  or informations about this :)
 
  Don't know what other info should I attach, other than xterm is running
  on a -current OpenBSD, and I'm using the above Xdefaults options.

 Which window manager are you using? Some are generating an
 un-reasonnable number of redraw events while moving or resizing
 windows, and xterm tries to handle all of them.
I'm using kwin (kde-3.5.10 from packages -current).

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



very slow xterm window refresh with TrueType fonts

2009-06-11 Thread LEVAI Daniel
Hi!

I'm experiencing this problem since a few snapshots now:

Using -current, and xterm configured to use TrueType fonts:
$ cat ~/.Xdefaults
xterm*renderFont: true
xterm*faceName: Terminus
xterm*faceSize: 12

xterm*loginShell: true
xterm*Geometry: 79x50+0+0
xterm*scrollBar: false

xterm*background:   black
xterm*foreground:   white
!xterm*highlightColor:  red

While resizing, moving or hovering the xterm window with other windows, the
xterm window's content is refreshing painfully slowly. If someone else has
experienced this problem, I would really appreciate some ideas or
informations about this :)

Don't know what other info should I attach, other than xterm is running on
a -current OpenBSD, and I'm using the above Xdefaults options.

Thanks any help in advance!

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Realtek 8169 chip PCMCIA network card error messages

2009-05-25 Thread LEVAI Daniel
Hi!

When I plug in a Linksys PCM1000 Gigabit Network card to my PCMCIA slot, I can
see these messages in dmesg:
re0 at cardbus0 dev 0 function 0 Realtek 8169 rev 0x10: RTL8169/8110SB
(0x1000), irq 268505099, address 00:12:17:f0:c8:21
re0: PHY write failed
re0: PHY write failed
re0: PHY read failed
re0: no PHY found!

I don't know if related to this, but it works only at 100Mbit. Is this card
unsupported at Gbit, or do I have to configure something to make it work?
Also, what does the above error message mean, and what is that weird irq
number?


Any information would be appreciated, thanks!


I'm using -current, and here is my dmesg:

OpenBSD 4.5-current (GENERIC.MP) #13: Wed May 20 15:10:35 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
real mem  = 1072066560 (1022MB)
avail mem = 1028255744 (980MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/02/06, BIOS32 rev. 0 @ 0xfd6b0,
SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version 79ET66WW (1.10 ) date 08/02/2006
bios0: LENOVO 2007FRG
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4)
EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83
GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpicpu1 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4511 serial 21826 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit offline
acpithinkpad0 at acpi0
acpidock at acpi0 not configured
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000!
0xe/0x1
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130b2c06000613
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1000 MHz (1004 mV): speeds: 1833, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16
(irq 11)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at radeondrm0
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 1
int 17 (irq 11)
azalia0: RIRB time out
azalia0: codecs: Analog Devices AD1981HD, 0x/0x, using Analog Devices
AD1981HD
azalia0: RIRB time out
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20
(irq 11)
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: apic 1 int
16 (irq 11), address 00:16:41:aa:d2:70
ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 21
(irq 11)
pci3 at ppb2 bus 3
wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 1
int 17 (irq 11), MoW2, address 00:18:de:65:2d:37
ppb3 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 1 int 22
(irq 11)
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 1 int 23
(irq 11)
pci5 at ppb4 bus 12
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 16
(irq 11)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 17
(irq 11)
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1 int 18
(irq 11)
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1 int 19
(irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1 int 19
(irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci6 

Re: telnet escape character not working

2009-05-21 Thread LEVAI Daniel
On Wednesday 20 May 2009 21.50.24 you wrote:
 Am 20.05.2009 um 14:13 schrieb LEVAI Daniel:
  On Wednesday 20 May 2009 13.53.35 you wrote:
  LEVAI Daniel escribis:
  Hi!
 
  In console with telnet, when I press the CTRL+] (^]) it should
  exit to
  telnet's cli, but when I press it, it does nothing. However it is
  not
  working only in text console, under xterm the CTRL+] escorts me to
  the
  cli. What could be the problem?
 
  Thanks!
 
  it may sounds stupid but I thought it was CTRL+[ not CTRL+]
 
  $ telnet 10.12.8.1
  Trying 10.12.8.1...
  Connected to 10.12.8.1.
  Escape character is '^]'.
 ^ that is what isn't working in console
 
  Daniel

 You *did* set the proper national keyboard translation using kbd(8) ?

Yes, I have set my keyboard encoding:
$ cat /etc/kbdtype
hu
$ sudo kbd hu
kbd: keyboard mapping set to hu

With this, the ^] doesn't work.

If I set it to us ...
$ sudo kbd us
kbd: keyboard mapping set to us

... then the ^] is working in telnet. Is this a bug?

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



telnet escape character not working

2009-05-20 Thread LEVAI Daniel
Hi!

In console with telnet, when I press the CTRL+] (^]) it should exit to
telnet's cli, but when I press it, it does nothing. However it is not working
only in text console, under xterm the CTRL+] escorts me to the cli. What
could be the problem?

Thanks!

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: telnet escape character not working

2009-05-20 Thread LEVAI Daniel
On Wednesday 20 May 2009 13.53.35 you wrote:
 LEVAI Daniel escribis:
  Hi!
 
  In console with telnet, when I press the CTRL+] (^]) it should exit to
  telnet's cli, but when I press it, it does nothing. However it is not
  working only in text console, under xterm the CTRL+] escorts me to the
  cli. What could be the problem?
 
  Thanks!

 it may sounds stupid but I thought it was CTRL+[ not CTRL+]

$ telnet 10.12.8.1
Trying 10.12.8.1...
Connected to 10.12.8.1.
Escape character is '^]'.
^ that is what isn't working in console

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: openoffice3-dicts spell check not working

2009-05-19 Thread LEVAI Daniel
On Tuesday 19 May 2009 10.50.28 you wrote:
 Hi

 Tools - Language - For all text - Hungarian
Thanks, that is working, but how can I make this permanent? Right now this
only works for the opened document, and gets lost after a restart.

  I've installed OO.org3, and openoffice3-dicts (hu_HU, en_US and en_GB)
  from -current packages. Everytime I start the spell checker it does
  nothing, just tells me that The spellcheck is complete. I've selected a
  dictionary in Tools / Options / Language settings / Writing aids, and
  tried the checker with all three dictionaries but it just won't work.
  Anyone knows about some additional configuration or some bug with the OO
  dictionaries?

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: openoffice3-dicts spell check not working

2009-05-19 Thread LEVAI Daniel
I'm sorry for this. This was supposed to go to po...@...

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: can not use USB drive with recent snapshot

2009-05-14 Thread LEVAI Daniel
On Wednesday 13 May 2009 11.06.30 you wrote:
 On Wed, May 13, 2009 at 10:21:57AM +0200, LEVAI Daniel wrote:
  On Wednesday 13 May 2009 09.43.40 you wrote:
   On Wed, May 13, 2009 at 09:04:36AM +0200, LEVAI Daniel wrote:
Hi!
   
With a May 12 snapshot, I can no longer use my USB thumb-drive.
OpenBSD doesn't recognize any partitions on the drive, while on other
OSes and with a previous snapshot it works fine.
Here is dmesg.boot and the output (with a weird message) when I plug
in the drive.
  
   Thanks for the report, but please also provide the output of fdisk.
   We are working on a more strict mbr validation, but this is all quite
   tricky and will take some iterations to get right.
 
  Here is the fdisk output and some more. I hope it's useful.

 Likely a newer snap will have this fixed.

Yes, thank you, yesterday's (May 13) snapshot fixed it.

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: can not use USB drive with recent snapshot

2009-05-13 Thread LEVAI Daniel
On Wednesday 13 May 2009 09.43.40 you wrote:
 On Wed, May 13, 2009 at 09:04:36AM +0200, LEVAI Daniel wrote:
  Hi!
 
  With a May 12 snapshot, I can no longer use my USB thumb-drive. OpenBSD
  doesn't recognize any partitions on the drive, while on other OSes and
  with a previous snapshot it works fine.
  Here is dmesg.boot and the output (with a weird message) when I plug in
  the drive.

 Thanks for the report, but please also provide the output of fdisk.
 We are working on a more strict mbr validation, but this is all quite
 tricky and will take some iterations to get right.
Here is the fdisk output and some more. I hope it's useful.

$ sudo fdisk /dev/rsd1c
Disk: /dev/rsd1cgeometry: 243/255/63 [3915776 Sectors]
Offset: 0   Signature: 0xAA55
Starting Ending LBA Info:
 #: id  C   H   S -  C   H   S [   start:size ]
-
--
 0: 0C  0   0  63 -241 232   3 [  62: 3886222 ] Win95
FAT32L
 1: 83241 232   4 -243 149  10 [ 3886284:   26908 ] Linux
files*
 2: 00  0   0   0 -  0   0   0 [   0:   0 ] unused
 3: 00  0   0   0 -  0   0   0 [   0:   0 ] unused

$ sudo disklabel /dev/rsd1c
disklabel: warning, DOS partition table with no valid OpenBSD partition
# /dev/rsd1c:
type: SCSI
disk: SCSI disk
label: GOODDRIVEFR
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 243
total sectors: 3915776
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
#size   offset  fstype [fsize bsize  cpg]
  c:  39157760  unused


$ sudo mount /dev/sd1i /mnt/tmp
mount_ffs: /dev/sd1i on /mnt/tmp: Device not configured
$ sudo mount /dev/sd1j /mnt/tmp
mount_ffs: /dev/sd1j on /mnt/tmp: Device not configured


Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: azalia

2009-05-08 Thread LEVAI Daniel
On Thursday 07 May 2009 21.45.00 Jacob Meuser wrote:
 On Thu, May 07, 2009 at 11:14:17AM +0200, LEVAI Daniel wrote:
   I put a lot of work into azalia(4) in the last release cycel, and I'd
   like to be able to say, when 4.6 release comes, that azalia is
   completed.
  
   by completed I mean it just works as expected, by default,
   everywhere.
  
   so, if you are using OpenBSD 4.5 or -current, and you have *any*
   issues with azalia(4) (I mean anything, even if it seems small or
   is not really a bug but I change this everytime), please let me
   know.
 
  I have a ThinkPad T60.
  I always wondered why I can hear the sounds from the earphones/speakers
  when the output
  volume control is on 0:
 
  $ mixerctl -va
  outputs.dig-dac_source=hdaudio  [ hdaudio adc ]
  outputs.line_source=dac  [ dac mix2 ]
  outputs.line_mute=off  [ off on ]
  outputs.line=0,0
 
  If I set outputs.line_mute=on, then it will mute it alright.

 all volume controls use the range 0-255.  but 0 rarely corresponds to
 complete attenuation (in fact it might not attenuate at all); that's
 what mute is for.

Ah, okay.
My last question is why outputs.line's 0-112 value has the same (low) volume,
and gains volume only after 112. So basically in a mixer app volume level
0-50% has no meaning, and the actual volume control happens between
outputs.line=112-250 (50%-100%).

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



KDE and laptop battery monitor

2009-05-07 Thread LEVAI Daniel
Hi!

I'm trying to display an applet which will show me my battery status in KDE3.
I noticed that in Ksystemguard the acpi tree is totally missing, so I tried
KControl/Power Control/Laptop Battery:
It says on the configuration page, that Other error opening APM control
device /dev/apmctl. I thought that apmd(8) is using that device, so I killed
it, but still I couldn't make the Battery Monitor start.
Is it possible to make KDE's battery monitor work, or is there any other
monitor application that will integrate into a standard freedesktop
system-tray?

Thanks!

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: KDE and laptop battery monitor

2009-05-07 Thread LEVAI Daniel
On Thursday 07 May 2009 10.47.39 Vadim Zhukov wrote:
 On Thursday 07 May 2009 12:30:25 LEVAI Daniel wrote:
  Hi!
 
  I'm trying to display an applet which will show me my battery status
  in KDE3. I noticed that in Ksystemguard the acpi tree is totally
  missing, so I tried KControl/Power Control/Laptop Battery:
  It says on the configuration page, that Other error opening APM
  control device /dev/apmctl. I thought that apmd(8) is using that
  device, so I killed it, but still I couldn't make the Battery Monitor
  start.
  Is it possible to make KDE's battery monitor work, or is there any
  other monitor application that will integrate into a standard
  freedesktop system-tray?

 Make sure that your user have write access to mentioned /dev/apmctl. By
 default, only root can write to it.
Oh, thanks. I didn't think that I needed write access too.

 It's some sort of unsecure advice, though. :( But on the personal
 notebook, IMHO, it's acceptable.

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: azalia

2009-05-07 Thread LEVAI Daniel
 I put a lot of work into azalia(4) in the last release cycel, and I'd
 like to be able to say, when 4.6 release comes, that azalia is
 completed.

 by completed I mean it just works as expected, by default, everywhere.

 so, if you are using OpenBSD 4.5 or -current, and you have *any*
 issues with azalia(4) (I mean anything, even if it seems small or
 is not really a bug but I change this everytime), please let me
 know.

I have a ThinkPad T60.
I always wondered why I can hear the sounds from the earphones/speakers when
the output
volume control is on 0:

$ mixerctl -va
outputs.dig-dac_source=hdaudio  [ hdaudio adc ]
outputs.line_source=dac  [ dac mix2 ]
outputs.line_mute=off  [ off on ]
outputs.line=0,0
inputs.line=0,0
outputs.line_dir=output  [ none output input input-vr0 input-vr50 input-vr80
]
outputs.line_boost=off  [ off on ]
outputs.line_eapd=on  [ off on ]
inputs.mic=0,0
outputs.mic_dir=input-vr80  [ none input input-vr0 input-vr50 input-vr80 ]
outputs.SPDIF_source=dig-dac  [ dig-dac ]
inputs.sel_source=dac  [ dac mix mix2 line ]
inputs.mix_source=sel7  { sel7 }
inputs.mix2_source=dac,sel3,sel5,cd  { dac sel3 sel5 cd }
inputs.dac_mute=off  [ off on ]
inputs.dac=0,0
inputs.sel3_source=mic  [ mic ]
outputs.sel3_mute=off  [ off on ]
outputs.sel3=120,120
record.adc_source=mix  [ mix mix2 cd line ]
record.adc_mute=off  [ off on ]
record.adc=119,119
inputs.sel5_source=line  [ line ]
outputs.sel5_mute=off  [ off on ]
outputs.sel5=120,120
inputs.cd_mute=off  [ off on ]
inputs.cd=120,120
inputs.sel7_source=mic  [ mic ]
outputs.sel7_mute=off  [ off on ]
outputs.master=0,0
outputs.master.mute=off  [ off on ]
outputs.master.slaves=line,dac  { line dac sel3 sel5 cd sel7 }
record.volume=119,119
record.volume.mute=off  [ off on ]
record.volume.slaves=adc  { line mic adc }
inputs.usingdac=03  [ 03 02 ]

If I set outputs.line_mute=on, then it will mute it alright.

$ dmesg
OpenBSD 4.5-current (GENERIC.MP) #21: Mon May  4 17:18:54 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
real mem  = 1072066560 (1022MB)
avail mem = 1028296704 (980MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/02/06, BIOS32 rev. 0 @ 0xfd6b0,
SMBIOS rev. 2.4
@ 0xe0010 (68 entries)
bios0: vendor LENOVO version 79ET66WW (1.10 ) date 08/02/2006
bios0: LENOVO 2007FRG
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4)
EXP2(S4)
EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83
GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpicpu1 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4511 serial 21826 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock at acpi0 not configured
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000!
0xe/0x1
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130b2c06000613
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1000 MHz (1004 mV): speeds: 1833, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
extent `pciio' (0x0 - 0x), flags=0
 0x1800 - 0x188f
 0x18a8 - 0x18cf
 0x18e0 - 0x18ff
 0x2000 - 0xdfff
 0x1 - 0x
extent `pcimem' (0x0 - 0x), flags=0
 0x0 - 0xfff
 0x2000 - 0x9
 0xd2000 - 0xd3fff
 0xdc000 - 0x3fff
 0xd800 - 0xee1f
 0xee40 - 0xee4047ff
 0xf000 - 0xf3ff
 0xfec0 - 0xfec0
 0xfed0 - 0xfed003ff
 0xfed14000 - 0xfed19fff
 0xfed1c000 - 0xfed8
 0xfee0 - 0xfee00fff
 0xff80 - 0x
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03

Re: route(8) delete - need a little help

2009-05-06 Thread LEVAI Daniel
On Tuesday 05 May 2009 20.23.06 Claudio Jeker wrote:
 On Tue, May 05, 2009 at 01:27:21PM +0200, LEVAI Daniel wrote:
  Hi!
 
  I have this in my route table:
  10/8   link#1 UC 50 - 4
  em0 10/8   gw_ip  UGS0 1072 - 8
  tun1
 
  How can I delete only the first line, the route with the em0 device?
  So far I can only execute this:
  # route delete 10/8
 
  But this is too ambigious.
 
  I thought of something like this:
  # route delete 10/8 -dev em0
  but of course this will not gonna happen.
 You've assigned an address on 10/8 to em0.  Delete that address from
 the interface if you don't want to have that route.  (If you're trying
 to have 10/8 on both ends of a tunnel then you need to back up and
 rethink what you're trying to do.)

[...]

 ifconfig em0 delete

 because this is a interface route and not deletable by route(8)
 unless you know the magic and the consequences.

Thanks Claudio and Philip. Now I see.

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



route(8) delete - need a little help

2009-05-05 Thread LEVAI Daniel
Hi!

I have this in my route table:
10/8   link#1 UC 50 - 4 em0
10/8   gw_ip  UGS0 1072 - 8 tun1

How can I delete only the first line, the route with the em0 device?
So far I can only execute this:
# route delete 10/8

But this is too ambigious.

I thought of something like this:
# route delete 10/8 -dev em0
but of course this will not gonna happen.

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: sudo won't work with login_fingerprint

2009-04-28 Thread LEVAI Daniel
On Friday 24 April 2009 16.58.06 you wrote:
 login_fingerprint only supports login auth, not support challenge/response
 mode which is what sudo (and other things) uses.
Alright thanks! I've figured it is still useful because of the -a option of
sudo, and thanks to this I've discovered the username[:auth_type] option
when logging in on the console.

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: sudo won't work with login_fingerprint

2009-04-28 Thread LEVAI Daniel
On Tuesday 28 April 2009 15.23.01 Pau wrote:
 Szia!

 have you done this on -current or 4.5?

This is on -current.

 2009/4/28 LEVAI Daniel l...@ecentrum.hu:
  On Friday 24 April 2009 16.58.06 you wrote:
  login_fingerprint only supports login auth, not support
  challenge/response mode which is what sudo (and other things) uses.
 
  Alright thanks! I've figured it is still useful because of the -a option
  of sudo, and thanks to this I've discovered the username[:auth_type]
  option when logging in on the console.


--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: sudo won't work with login_fingerprint

2009-04-24 Thread LEVAI Daniel
On Friday 24 April 2009 09.28.34 you wrote:
 omg we have finger print reader support??? !

 I installed the port and I'm playing with it. Can you post your full
 config? The login_fingerprint docs are short on the troubleshooting. I
 can enroll my fingers and I've got su asking me for finger swipes but
 whenever I do it says invalid swipe or login incorrect.
You need to enroll_fingerprint(8) as the target (root) user too, so root will
have a ~/.fprint directory too.

 I see the same result as you with sudo. Annoying. Sudo must not be
 feeding it correctly right, but perhaps login_fingerprint is expecting
 wrongly.

 It would be a neat gimmick if we could get this working!
I just followed /usr/local/share/doc/login_fingerprint/README:
$ enroll_fingerprint -f 7
It has populated a ~/.fprint/ dir with the scanned fingerprint, and after the
login.conf modify I could login on the console and do `su`. Only sudo seems
to need the '-apasswd' option to force it to use the passwd auth type instead
of the -fingerprint type. But grepping thru sudo's source I couldn't find
this error message anywhere :\

My modifications in login.conf is only the following:
--- /var/backups/etc_login.conf.backup  Thu Apr 16 16:06:00 2009
+++ /etc/login.conf Thu Apr 23 17:15:23 2009
@@ -23,7 +23,8 @@
 #

 # Default allowed authentication styles
-auth-defaults:auth=passwd,skey:
+auth-defaults:auth=-fingerprint,passwd,skey:\
+   :x-fingerprint=7:

 # Default allowed authentication styles for authentication type ftp
 auth-ftp-defaults:auth-ftp=passwd:


Daniel

 On 23/04/2009, LEVAI Daniel l...@ecentrum.hu wrote:
[...]
  $ sudo -l
  -fingerprint: challenge not supported
  sudo password(daniell):
  -fingerprint: response not supported
  Sorry, try again.
  -fingerprint: challenge not supported
  sudo password(daniell):
  -fingerprint: response not supported
  Sorry, try again.
  -fingerprint: challenge not supported
  sudo password(daniell):
  -fingerprint: response not supported
  Sorry, try again.
  sudo: 3 incorrect password attempts
[...]

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: Upgrade to -current

2009-04-24 Thread LEVAI Daniel
On Friday 24 April 2009 08.50.11 you wrote:
 Currently I am using 4.2 stable and I am willing to upgrade to -current
 because of some new features which i need.
 According to faq (http://www.openbsd.org/faq/faq5.html#Bld) I should first
 upgrade to closest binary, which means upgrade from 4.2 to 4.3 and then to
 4.4 ( Latest snapshot ) and finally Fetch  build *-current.

 Above process as you know will be a highly time consuming process and I
 prefer stick to my current 4.2 rather than going through that. why not just
 Fetch  build -cuurent directly?  what is your recommended approach for
 upgrading to -cuurent ?
Upgrading thru the binary releases is not that tedious, and you could upgrade
to a binary snapshot of -current after the latest binary release have been
installed. No need to compile -current AFAIK.

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: sudo won't work with login_fingerprint

2009-04-24 Thread LEVAI Daniel
On Friday 24 April 2009 12.27.50 you wrote:
 On Fri, Apr 24, 2009 at 3:38 AM, LEVAI Daniel l...@ecentrum.hu wrote:
  On Friday 24 April 2009 09.28.34 you wrote:
  omg we have finger print reader support??? !
 
  I installed the port and I'm playing with it. Can you post your full
  config? The login_fingerprint docs are short on the troubleshooting. I
  can enroll my fingers and I've got su asking me for finger swipes but
  whenever I do it says invalid swipe or login incorrect.
 
  You need to enroll_fingerprint(8) as the target (root) user too, so root
  will have a ~/.fprint directory too.

 When I say su I actually meant I'm running su $USER.
Then you must run enroll_fingerprint as $USER, to make the
$USER_HOMEDIR/.fprint/ directory and the corresponding files.


  I see the same result as you with sudo. Annoying. Sudo must not be
  feeding it correctly right, but perhaps login_fingerprint is expecting
  wrongly.
 
  It would be a neat gimmick if we could get this working!
 
  I just followed /usr/local/share/doc/login_fingerprint/README:
  $ enroll_fingerprint -f 7
  It has populated a ~/.fprint/ dir with the scanned fingerprint, and after
  the login.conf modify I could login on the console and do `su`. Only sudo
  seems to need the '-apasswd' option to force it to use the passwd auth
  type instead of the -fingerprint type. But grepping thru sudo's source I
  couldn't find this error message anywhere :\
 
  My modifications in login.conf is only the following:
  --- /var/backups/etc_login.conf.backup  Thu Apr 16 16:06:00 2009
  +++ /etc/login.conf Thu Apr 23 17:15:23 2009
  @@ -23,7 +23,8 @@
   #
 
   # Default allowed authentication styles
  -auth-defaults:auth=passwd,skey:
  +auth-defaults:auth=-fingerprint,passwd,skey:\
  +   :x-fingerprint=7:
 
   # Default allowed authentication styles for authentication type ftp
   auth-ftp-defaults:auth-ftp=passwd:

 I followed the README too but it told me to add this:
 #
 # The fingerprint login class allows the fingerprint and passwd
 # authentication methods and checks your 7th (right index) finger.
 #

 fingerprint:
 :auth=-fingerprint,passwd:\
 :x-fingerprint=7:\
 :tc=default:

I've done the same thing except I've added this to the default class, so I
don't have to change the already made classes (which are
including auth-defaults).

 and I had to do sudo usermod -L fingerprint $USER to get su $USER
 to start asking me to swipe. Do we maybe have different versions (I
 should probably shyly mention here that I'm on -CURRENT right now)?
I'm using -current too, but in this case it doesn't matter; the login classes
we use are not the same, but that's all.

 Why are we writing -fingerprint instead of fingerprint?
 login.conf(8) is hazy on what this means. It doesn't seem to matter
 espcially which is chosen.
man login.conf:
 Local authentication styles may be added by creating a login script for
 the style (see below).  To prevent collisions with future official BSD
 Authentication style names, all local style names should start with a
 dash (-).

^^^ That is why the -fingerprint; also:
# ls -l /usr/libexec/auth/
[...]
login_-fingerprint
[...]

 I suspect my problem is a driver issue. I have a 1600 chip (as linux
 tells me... dunno why OpenBSD) but the driver is written for 1610
 chips. Until I can at least use su with my finger I'm not sure I can
 help you.
What does `ls -lR /home/$USER/.fprint/` tells you? Do you have the proper
scanned fingerprints there? Do you have the $USER in the fingerprint class
(if you've followed the README file with login_fingerprint)?

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: azalia beep control [Was: ThinkPad T60 audible bell *very* loud]

2009-04-23 Thread LEVAI Daniel
On Thursday 23 April 2009 02.17.10 Jacob Meuser wrote:
 On Wed, Apr 22, 2009 at 09:22:56PM +, Jacob Meuser wrote:
  On Wed, Apr 22, 2009 at 01:41:59PM +0200, LEVAI Daniel wrote:
[...]
 
  might work better if you remove beep sources.  I mean:
 
  $ mixerctl inputs.mix2_source=dac,sel4,sel6,cd

 bleh.  that won't work on this particular mixer.

 and the intel docs say, When the beep generator is actively generating
 a tone, its output drives all Pin Widgets which are currently defined
 output pins in a method of the vendor's choice, either by switching the
 pin to the beep signal or by mixing the tone into the currently playing
 stream.  This node is never listed on any other node's connection list.
 The actual vendor-defined connection only persists while the Beep
 Generator is actively generating a tone.  This widget may contain an
 optional amplifier.

 the beep generator is what you are seeing as beep.  notice that this
 codec (AD1981HD) violates the standard by listing the beep generator
 in another node's connection list (inputs.sel2_source=beep).  and it
 appears that there's no control over the beep through azalia.

 the intel docs continue, This Beep Generator feature is independent of
 any optional PC Beep Pin or Analog Beep Pin input which is intended
 to receive and externally generated tone or sound.  The presence of
 such a beep input is not exposed to software, nor defined in this
 specification.  If used, this type of beep input would be connected
 through the codec to output pins in a vendor defined way, but such a
 connection may be maintained only while the Link reset (RST#) is
 asserted.

 interestingly, the codec's datasheet lists a PC BEEP IN at nid 16,
 but the codec tells us nid 16 is:

 azalia0: black16 wcap=40
   cap=20INPUT
   [15/00] color=black device=other conn=none conntype=atapi
   location=spec2 chassis=internal special=atapi

 I guess that follows the spec, which says The presence of such a beep
 input is not exposed to software :/  this is common though.  on several
 realtek codecs, the beep input is similarly obscured, but they are
 controllable like any other input.  remember, the behaviour is vendor
 defined.  but anyway, there is again apparently no way for you to turn
 this off through azalia because, well, it is turned off through azalia
 but you still hear it.

 so I guess you just have to use wsconsctl.

Alright, thank you for the great support and the explanation. I was happy to
help testing this with azalia, and it is totally ok and working with
wsconsctl.

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



sudo won't work with login_fingerprint

2009-04-23 Thread LEVAI Daniel
Hi!

I've set up this login_fingerprint port and it is working fine in console
logins and with `su`, but with sudo I can't seem to get it to work.
I've modified my /etc/login.conf like this:
# Default allowed authentication styles
auth-defaults:auth=-fingerprint,passwd,skey:\
:x-fingerprint=7:

I've just added the fingerprint stuff. Now when running sudo, and typing in my
password 3 times:

$ sudo -l
-fingerprint: challenge not supported
sudo password(daniell):
-fingerprint: response not supported
Sorry, try again.
-fingerprint: challenge not supported
sudo password(daniell):
-fingerprint: response not supported
Sorry, try again.
-fingerprint: challenge not supported
sudo password(daniell):
-fingerprint: response not supported
Sorry, try again.
sudo: 3 incorrect password attempts

With `sudo -a` I can specify the passwd type, and can sudo with my password,
so no big problem, I'm just wondering what special configuration is needed
for sudo to work with this auth type.

Any idead would be appreciated, thanks!

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: crash when usb device attached on a ThinkPad T60

2009-04-22 Thread LEVAI Daniel
On Wednesday 22 April 2009 11.05.23 Vadim Zhukov wrote:
 On 22 April 2009 c. 12:50:45 LEVAI Daniel wrote:
  Hi!
 
  I can reproduce a crash when attaching an USB multimedia device to my
  ThinkPad T60. I have run the trace in ddb and have the output copied
  by hand. Should I file a PR, or is it ok to post it here, or maybe to
  t...@?
 
  Thanks!
 
  Daniel

 dmesg, please. Did you tried CURRENT? I expirenced similar problemsin the
 past, now it works fine (flash drives, keyboards, mice).
Sorry, I meant to send the dmesg with the crash report to the correct
destination. I'm using -current yes.


--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1
OpenBSD 4.5-current (GENERIC.MP) #81: Mon Apr 20 18:47:25 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
real mem  = 1072066560 (1022MB)
avail mem = 1028300800 (980MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/02/06, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS 
rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version 79ET66WW (1.10 ) date 08/02/2006
bios0: LENOVO 2007FRG
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) 
EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpicpu1 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4511 serial 21826 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock at acpi0 not configured
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 
0xe/0x1
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130b2c06000b2c
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1833 MHz (1404 mV): speeds: 1833, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
extent `pciio' (0x0 - 0x), flags=0
 0x1800 - 0x188f
 0x18a8 - 0x18cf
 0x18e0 - 0x18ff
 0x2000 - 0xdfff
extent `pcimem' (0x0 - 0x), flags=0
 0x0 - 0xfff
 0x2000 - 0x9
 0xd2000 - 0xd3fff
 0xdc000 - 0x3fff
 0xd800 - 0xee1f
 0xee40 - 0xee4047ff
 0xf000 - 0xf3ff
 0xfec0 - 0xfec0
 0xfed0 - 0xfed003ff
 0xfed14000 - 0xfed19fff
 0xfed1c000 - 0xfed8
 0xfee0 - 0xfee00fff
 0xff80 - 0x
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16 (irq 
11)
pci1 at ppb0 bus 1
mem address conflict 0xd800/0x800
extent `ppb0 pciio' (0x0 - 0x), flags=0
 0x0 - 0x20ff
 0x3000 - 0x
extent `ppb0 pcimem' (0x0 - 0x), flags=0
 0x0 - 0xee10
 0xee20 - 0x
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at radeondrm0
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 1 int 
17 (irq 11)
azalia0: codecs: Analog Devices AD1981HD, Conexant/0x2bfa, using Analog Devices 
AD1981HD
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20 
(irq 11)
pci2 at ppb1 bus 2
extent `ppb1 pciio' (0x0 - 0x), flags=0
 0x0 - 0x301f
 0x4000 - 0x
extent `ppb1 pcimem' (0x0 - 0x), flags=0
 0x0 - 0xee01
 0xee10 - 0x
em0 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: apic 1 int 
16 (irq 11), address 00:16:41:aa:d2:70
ppb2 at pci0 dev 28 function 1 Intel 82801GB

crash when usb device attached on a ThinkPad T60

2009-04-22 Thread LEVAI Daniel
Hi!

This happens when I plug in a media player, which should attach as an USB mass
storage
device.
Let me know, if more info is needed.

Here is trace's output:
ddb{1} trace
Debugger(d6ad12c0,200292,dc1fbe7c,d1dbfa00,0) at Debugger+0x4
panic(d06f0c40,f,dc1fbe9c,dc1fbe8c,d0203269) at panic+0x55
ehci_noop(d1dcf380,200292,dc1fbeac,d035e46d,d1dcf400) at ehci_noop
usbd_clear_endpoint_toggle(d1dcf380,d1dbfa14,d06cf1b3,0,d1c9d800) at
usbd_clear_endpoint_toggle+0x10
umass_clear_endpoint_stall(d1dbfa00,0,d1c9f800,d1a93000,0) at
umass_clear_endpoint_stall+0x28
usb_transfer_complete(d1c9d800,dc10cc60,dc10cc60,d08cccb4,0) at
usb_transfer_complete+0x18e
ehci_abort_xfer(d1c9d800,f,1,1,d1c9d86c) at ehci_abort_xfer+0x25b
echi_timeout_task(d1c9d800,20,d07856a1,0,d6b61984) at ehci_timeout_task+0x1e
usb_task_thread(d6b61984) at usb_task_thread+0x51
Bad frame pointer: 0xd0974e88
ddb{1} ps
PID PPIDPGRPUID S   FLAGS WAIT COMMAND
15558   619531869   0   3   0x2004080 piperd   cut
517 619531869   0   3   0x2004080 piperd   sed
5625619531869   0   3   0x2004080 piperd   egrep
14793   619531869   0   3   0x2004000 scsicmd  disklabel
619531869   31869   0   3   0x2004080 piperd   sh
83361   83360   3   0x2004082 ttyinksh
10045   1   10045   0   3   0x2004082 ttyingetty
13702   1   13702   0   3   0x2004082 ttyingetty
15677   1   15677   0   3   0x2004082 ttyingetty
70931   70930   3   0x2004082 ttyingetty
28460   1   28460   0   3   0x280 select   cron
31869   1   31869   0   3   0x280 htplev   hotplugd
19538   1   19538   0   3   0x280 kqread   apmd
[here happened an accident, I can only remember that openvpn, dbus-daemon,
cupsd,sshd,inetd,sendmail,lpd ran]
18  0   0   0   3   0x2100200 aiodoned  aiodoned
17  0   0   0   3   0x2100200 syncerupdate
16  0   0   0   3   0x2100200 cleaner   cleaner
15  0   0   0   3   0x100200  reaperreaper
14  0   0   0   3   0x2100200 pgdaemon  pgdaemon
13  0   0   0   3   0x2100200 pftm  pfpurge
12  0   0   0   3   0x2100200 usbevtusb4
11  0   0   0   3   0x2100200 usbevtusb3
10  0   0   0   3   0x2100200 usbevtusb2
9   0   0   0   3   0x2100200 usbevtusb1
*8  0   0   0   3   0x2100200   usbtask
7   0   0   0   3   0x2100200 scsicmd   usb0
6   0   0   0   3   0x2100200 acpi_idle acpi0
5   0   0   0   3   0x100200idle1
4   0   0   0   3   0x2100200 bored syswq
3   0   0   0   3   0x100200idle0
2   0   0   0   3   0x2100200 kmalloc   kmthread
1   0   1   0   3   0x2004080 wait  init
0   -1  0   0   3   0x2080200 scheduler swapper
ddb{1} mach ddbcpu 0
ddb{0} trace
Debugger(d08ccc80,d06b6580,1,dbf49000,f0) at Debugger+0x4
i386_ipi_handler(c0,58,d6ac0010,10,f8130010) at i386_ipi_handler+0x4f
Xintripi() at Xintripi+0x47
--- interrupt ---
__mp_lock(d0818264,5893812e,ac930799,d6ad12c0) at __mp_lock+0x41
__mp_acquire_count(d0818264,1,dc243e60,d0357a85) at __mp_acquire_count+0x1e
mi_switch(dc243e88,118,dc243ea0,d0354996,dc243e88) at mi_switch+0x1e4
sleep_finish(dc243e88,1,118,d06d1618,d0) at sleep_finish+0xb7
tsleep(d081e4e8,118,d06f1618,0,d0203269) at tsleep+0x7a
sys_poll(d6ad12c0,dc243f68,dc243f58,d6ad12c0) at sys_poll+0x299
syscall() at syscall+0x12b
--- syscall (number 252) ---
0x13c0b55:
ddb{0} boot reboot
rebooting...


and here is my dmesg:
OpenBSD 4.5-current (GENERIC.MP) #81: Mon Apr 20 18:47:25 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
real mem  = 1072066560 (1022MB)
avail mem = 1028300800 (980MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/02/06, BIOS32 rev. 0 @ 0xfd6b0,
SMBIOS rev. 2.4
@ 0xe0010 (68 entries)
bios0: vendor LENOVO version 79ET66WW (1.10 ) date 08/02/2006
bios0: LENOVO 2007FRG
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4)
EXP2(S4)
EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: 

azalia beep control [Was: ThinkPad T60 audible bell *very* loud]

2009-04-22 Thread LEVAI Daniel
On Tuesday 21 April 2009 14.37.55 Jacob Meuser wrote:
 On Tue, Apr 21, 2009 at 12:56:22PM +0200, LEVAI Daniel wrote:
  Hi!
 
  I'm using this ThinkPad T60, and just realized that if using an earphone,
  the console's audible bell is blowing my ears off. I couldn't find
  anything relevant in mixerctl -a output, nevertheless I've changed every
  outputs control's volume to 0 to see which one could be it (no luck). Is
  it possible to lower the system beep's volume, so my ears won't bleed by
  tomorrow? :)

 hopefully this gets you 'beep' controls.  please let me know.

 beep generators should be considered i/o endpoints, like pins and
 converters.

I've applied your diff, and now I have a sel2 control which claims that its
source is 'beep'. However, I can not do anything with it; when muted and zero
volume the beep still happens:

inputs.sel2_source=beep
outputs.sel2_mute=on
outputs.sel2=0
inputs.mix2_source=sel2,dac,sel4,sel6,cd


$ mixerctl -a
outputs.dig-dac_source=
outputs.line_source=dac
outputs.line_mute=off
outputs.line=124,124
inputs.line=0,0
outputs.line_dir=output
outputs.line_boost=off
outputs.line_eapd=on
inputs.mic=0,0
outputs.mic_dir=input-vr80
outputs.SPDIF_source=dig-dac
inputs.sel_source=dac
inputs.mix_source=sel8
inputs.sel2_source=beep
outputs.sel2_mute=on
outputs.sel2=0
inputs.mix2_source=sel2,dac,sel4,sel6,cd
inputs.dac_mute=off
inputs.dac=120,120
inputs.sel4_source=mic
outputs.sel4_mute=off
outputs.sel4=120,120
record.adc_source=mix
record.adc_mute=off
record.adc=119,119
inputs.sel6_source=line
outputs.sel6_mute=off
outputs.sel6=120,120
inputs.cd_mute=off
inputs.cd=120,120
inputs.sel8_source=mic
outputs.sel8_mute=off
outputs.master=125,125
outputs.master.mute=off
outputs.master.slaves=line,dac
record.volume=119,119
record.volume.mute=off
record.volume.slaves=adc
inputs.usingdac=03

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: crash when usb device attached on a ThinkPad T60

2009-04-22 Thread LEVAI Daniel
On Wednesday 22 April 2009 13.28.06 you wrote:
 Hi!

 This happens when I plug in a media player, which should attach as an USB
 mass storage
 device.
 Let me know, if more info is needed.
The actual panic message, as requested:

umass1 at uhub0 port 2 configuration 1 interface 0 RockChip ROCK MP3 rev
2.00/0.00
addr 3
umass1: using SCSI over Bulk-Only
scsibus3 at umass1: 2 targets, initiator 0
sd2 at scsibus3 targ 1 lun 0: MOBIBLU, USBDISK User, 1.00 SCSI0 0/direct
removable
sd2: driver offline
sd3 at scsibus3 targ 1 lun 1: MOBIBLU, USBDISK SD, 1.00 SCSI0 0/direct
removable
umass1: Invalid CSW: tag 275 should 277
umass1: BBB bulk-in clear stall failed, TIMEOUT
umass1: Invalid CSW: tag 276 should be 278
umass1: BBB bulk-in clear stall failed, TIMEOUT
umass1: Invalid CSW: tag 277 should be 279
umass1: BBB bulk-in clear stall failed, TIMEOUT
umass1: Invalid CSW: tag 278 should be 280
umass1: BBB bulk-in clear stall failed, TIMEOUT
umass1: Invalid CSW: tag 280 should be 281
umass1: BBB reset failed, TIMEOUT
panic: ehci_device_clear_toggle: queue active
Stopped at  Debugger+0x4:   leave

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



ThinkPad T60 audible bell *very* loud

2009-04-21 Thread LEVAI Daniel
Hi!

I'm using this ThinkPad T60, and just realized that if using an earphone, the
console's audible bell is blowing my ears off. I couldn't find anything
relevant in mixerctl -a output, nevertheless I've changed every outputs
control's volume to 0 to see which one could be it (no luck). Is it possible
to lower the system beep's volume, so my ears won't bleed by tomorrow? :)

$ mixerctl -a
outputs.dig-dac_source=
outputs.line_source=dac
outputs.line_mute=off
outputs.line=112,112
inputs.line=0,0
outputs.line_dir=output
outputs.line_boost=off
outputs.line_eapd=on
inputs.mic=0,0
outputs.mic_dir=input-vr80
outputs.SPDIF_source=dig-dac
inputs.sel_source=dac
inputs.mix_source=sel7
inputs.mix2_source=dac,sel3,sel5,cd
inputs.dac_mute=off
inputs.dac=112,112
inputs.sel3_source=mic
outputs.sel3_mute=off
outputs.sel3=8,8
record.adc_source=mix
record.adc_mute=off
record.adc=0,0
inputs.sel5_source=line
outputs.sel5_mute=off
outputs.sel5=8,8
inputs.cd_mute=off
inputs.cd=64,64
inputs.sel7_source=mic
outputs.sel7_mute=off
outputs.master=112,112
outputs.master.mute=off
outputs.master.slaves=line,dac
record.volume=10,10
record.volume.mute=off
record.volume.slaves=adc
inputs.usingdac=03


$ dmesg
OpenBSD 4.5-current (GENERIC.MP) #81: Mon Apr 20 18:47:25 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
real mem  = 1072066560 (1022MB)
avail mem = 1028300800 (980MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/02/06, BIOS32 rev. 0 @ 0xfd6b0,
SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version 79ET66WW (1.10 ) date 08/02/2006
bios0: LENOVO 2007FRG
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4)
EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83
GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpicpu1 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4511 serial 21826 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock at acpi0 not configured
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000!
0xe/0x1
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130b2c06000b2c
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1833 MHz (1404 mV): speeds: 1833, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
extent `pciio' (0x0 - 0x), flags=0
 0x1800 - 0x188f
 0x18a8 - 0x18cf
 0x18e0 - 0x18ff
 0x2000 - 0xdfff
extent `pcimem' (0x0 - 0x), flags=0
 0x0 - 0xfff
 0x2000 - 0x9
 0xd2000 - 0xd3fff
 0xdc000 - 0x3fff
 0xd800 - 0xee1f
 0xee40 - 0xee4047ff
 0xf000 - 0xf3ff
 0xfec0 - 0xfec0
 0xfed0 - 0xfed003ff
 0xfed14000 - 0xfed19fff
 0xfed1c000 - 0xfed8
 0xfee0 - 0xfee00fff
 0xff80 - 0x
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16
(irq 11)
pci1 at ppb0 bus 1
mem address conflict 0xd800/0x800
extent `ppb0 pciio' (0x0 - 0x), flags=0
 0x0 - 0x20ff
 0x3000 - 0x
extent `ppb0 pcimem' (0x0 - 0x), flags=0
 0x0 - 0xee10
 0xee20 - 0x
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at radeondrm0
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 1
int 17 (irq 11)
azalia0: codecs: Analog Devices AD1981HD, Conexant/0x2bfa, using Analog

kde printing problem (not cups)

2009-04-20 Thread LEVAI Daniel
Hi!

I'm trying to figure out how to use my network (TCP) printer without using
cups. I'm trying to use the lpd which is in base. I've installed every
foomatic package, hpijs and hplip and even gutenprint. In KControl, I'm
switching to LPR/LPRng Print System and start Add - Add
Printer/Class Selecting Network printer (TCP), entering its IP
address. Printer Model Selection list gives me a lot of choices, I'm
selecting HP / LaserJet 4050 (which is my printer's type) and then at the
driver selection page, no matter which one I choose (Foomatic +
Postscript/hpijs/gutenprint), I'm always getting the same error message:
Unable to load the requested driver:
Unable to create the Foomatic driver [HP-LaserJet_4050,driver*]. Either that
driver does not exist, or you don't have the required permissions to perform
that operation.

Above, in place of driver*, there is the corresponding driver: hpijs,
postscript, gutenprint etc.. etc...

I am running KControl in Administrator mode, so I think the required
permissions are given.
Google gave me a magic command, which should solve my problems: sudo
foomatic-cleanupdrivers. Well, it did yielded a lot of output regarding
fixing, but my problem persist.

Anybody has an idea about this?

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: how to configure minicom with my serial console (RS232) on USB.

2009-04-20 Thread LEVAI Daniel
On Monday 20 April 2009 18.19.13 you wrote:
 Hi, guys,

 I have a console line, which is serial console (RS232) on USB. It works
 well with minicom in my ubuntu 8.04  when I connect it to my netscreen-5xt.
 But, it can't work with my OpenBSD 4.2.
  Due to my command line usbdevs -dv output, I configure it as these below
 Serial Device : /dev/usb1 , Bits setting is 9600 8N1, turn off
 hardware Flow Contol . Unlikely, it can't work.
I think you should use /dev/cuaU* as device.

HTH,

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



1U IBM or Dell server for firewall

2008-05-05 Thread LEVAI Daniel
Hi!

I'm in need of a 1U IBM (or Dell as a last resort) server for a firewall
in our office. To be honest, I'm not quite familiar with IBM servers of
these kind, but I'm sure that someone is using one already for a fw, so
I just need a model number or configuration which is working perfectly
with OpenBSD 4.3. It doesn't have to be a fancy configuration, it will
be just a simple firewall... If someone would be kind enough to
recommend me an already working and tested IBM server, I'd be very
happy and thankful :)

Thanks in advance:

Daniel

--
LIVAI Daniel
GPG key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



<    1   2