Re: java/amd64/4.7?

2010-10-16 Thread Tomas Bodzar
You didn't read that? There's info that Java plugin is for i386 and
amd64 only and that because of licensing reasons you need to compile
from ports if you want jre as jre is part of jdk-1.6 or jdk-1.5, but
only jdk-1.7 is provided as package, but there is not jre-1.7 yet.

On Fri, Oct 15, 2010 at 9:58 PM, Jay K jay.kr...@cornell.edu wrote:

 Ah, thanks. But there is i386. And I only need jre, not jdk or plugin.
 I'll try from source within a few days (or maybe wait to see about 4.8).

 B - Jay

 
 Date: Fri, 15 Oct 2010 16:44:41 +0200
 Subject: Re: java/amd64/4.7?
 From: tomas.bod...@gmail.com
 To: jay.kr...@cornell.edu
 CC: misc@openbsd.org

 You missed important part which is
 http://www.openbsd.org/faq/faq13.html#javaplugin

 On Fri, Oct 15, 2010 at 1:14 PM, Jay K B wrote:
  There is no:
 
  ftp://ftp.openbsd.org/pub/OpenBSD/4.7/packages/amd64/jre*
 
  I don't suppose I should use:
 
  ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/amd64/jre*
  ?
 
  I'll maybe try building from source..
 
  B - Jay
 
 



 --
 bIf youbre good at something, never do it for free.b bThe Joker



Preventivo di stampa

2010-10-16 Thread Tipografia
TIPOGRAFIA e STAMPA DIGITALE
www.tipoprint.com
Tel: 02 89 92 67 50

Gentile Cliente,
Crediamo sia cosa gradita farvi pervenire questa nostra offerta relativa ai
nostri stampati. E' una occasione da non perdere anche perche' potrete
sfruttare questa offerta per tutto il 2010 a sola condizione che rispondiate
allegando questa email, o chiamiate subito questo numero: 02 89.92.67.50

Alcuni esempi:

100 Biglietti da visita a colori f.to 85x55 mm solo fronte 4+0 Euro15,00

500 Biglietti da visita a colori f.to 85x55 mm solo fronte 4+0 Euro29,00

1000 Biglietti da visita a colori f.to 85x55 mm solo fronte 4+0 Euro35,00

1000 Biglietti da visita a colori f.to 85x55 mm fronte e retro 4+4 Euro60,00

250 Volantini stampati su carta patinata 15x21 cm (A5) stampa a colori
Euro60,00

500 Volantini stampati su carta patinata 15x21 cm (A5) stampa a colori
Euro88,00

5000 Volantini stampati su carta patinata 15x21 cm (A5) stampa a colori
Euro150,00

1 Volantini stampati su carta patinata 15x21 cm (A5) stampa a colori
Euro250,00

15000 Volantini stampati su carta patinata 15x21 cm (A5) stampa a colori
Euro320,00

2 Volantini stampati su carta patinata 15x21 cm (A5) atampa a colori
Euro400,00

250 Pieghevoli a 2 o 3 ante f.to A4 stampa a colori su patinata Euro100,00

1000 Pieghevoli a 2 o 3 ante f.to A4 stampa a colori su patinata Euro189,00

2500 Pieghevoli a 2 o 3 ante f.to A4 stampa a colori su patinata Euro265,00

5000 Pieghevoli a 2 o 3 ante f.to A4 stampa a colori su patinata Euro312,00

1 Pieghevoli a 2 o 3 ante f.to A4 stampa a colori su patinata Euro490,00

15000 Pieghevoli a 2 o 3 ante f.to A4 stampa a colori su patinata Euro670,00

2 Pieghevoli a 2 o 3 ante f.to A4 stampa a colori su patinata Euro890,00

50 Opuscoli 8 pagine A5 chiuso stampa a colori cucitura punto metallico
Euro120,00

100 Opuscoli 8 pagine A5 chiuso stampa a colori cucitura punto metallico
Euro170,00

50 Opuscoli 8 pagine A4 chiuso stampa a colori cucitura punto metallico
Euro140,00

100 Opuscoli 8 pagine A4 chiuso stampa a colori cucitura punto metallico
Euro200,00

50 Opuscoli 16 pagine A4 chiuso stampa a colori cucitura punto metallico
Euro200,00

100 Opuscoli 16 pagine A4 chiuso stampa a colori cucitura punto metallico
Euro300,00

1 Spesa di corriere espresso in 24 ore su tutto il territorio nazionale
Euro12,00


Tutti i prezzi in questa mail sono riferiti alla sola stampa da vostri file
di stampa in alta risoluzione nei formati .pdf o eps , inoltre i prezzi si
intendono al netto di IVA.
Visitate il nostro sito dove troverete tutti i prezzi e le offerte del
periodo.

clicca qui: www.tipoprint.com

---
This e-mail was sent to misc@openbsd.org because you are subscribed to at
least one of our mailing lists. If at any time you would like to remove
yourself from our mailing list, please feel free to do so by visiting:
http://www.tipomi.com/list/public/unsubscribe.php?g=5addr=m...@openbsd.org



My Donation.

2010-10-16 Thread Ms Sheila Karla
新しいメ.襯ドレスをお知らせします新しいメ.襯ドレス: 
jane_kala4...@yahoo.co.jp

 My Donation.

I am  Ms Sheila Karla suffering from breast cancer and a childless widow.I need 
your honest assistance to transfer US$9.5million from here for donation to 
Churches, and Charity Projects. Please, if interested, reply urgently for more 
details.


God bless you

 

- Ms Sheila Karla



Re: -current/amd64 @ macbook3,1

2010-10-16 Thread Jan Stary
   This is a fresh upgrade of current/amd64 on a Macbook3,1.
   Basically, everything works except the wifi and uvideo.
  
   I installed the uvideo firmware as documented in uvideo(4).
   I can capture an image with 'fswebcam image.jpg';
   I have problems capturing a video stream with
   ffmpeg -y -f video4linux2 -s vga -r 25 -i /dev/video0 /tmp/out.mpg

  Thank you for mentioning video(1), I didn't even know it existed.
  However, it only segfaults on this macbook
  
  $ video
  video: /dev/video: returned size not as requested
  Segmentation fault (core dumped) 
 
 probably the segfault is because of symbol conflicts with libxcb, which
 has already been fixed, but I'd need to see a backtrace to know
 for sure.
 
  $ video -O video.raw -r 25 -s 640x480 -v
  video device /dev/video:
encodings: uyvy
sizes: 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
  0x0, 0x0, 0x0
controls: brightness, saturation, gamma, sharpness
  Xv adaptor 0, Intel(R) Textured Video:
encodings: yuy2, uyvy
max size: 1280x800
  using yuy2 encoding
  using frame size 0x0 (0 bytes)
  video: /dev/video: returned size not as requested
  Segmentation fault (core dumped) 
  
  I have tried various options (-r 15, -r 25, -s 640, -s 1280, -s 320)
  with always the same result.
  
  Why is it that the only sizes supported are 0x0, 0x0, etc?
  Is this the problem (returned size not as requested)?
 
 video(1) isn't getting the sizes correctly for some reason.
 can you compile a kernel with UVIDEO_DEBUG defined (or just
 add a #define it in sys/dev/usb/uvideo.c) and send me the
 resulting dmesg?

See below.

On Oct 16 07:25:12, Jacob Meuser wrote:
 On Sat, Oct 16, 2010 at 09:07:38AM +0200, Jan Stary wrote:
  On Oct 15 14:02:37, Jacob Meuser wrote:
   nevermind about UVIDEO_DEBUG dmesg.  I'm pretty sure I see the bug
   in video(1).
  
  OK, thanks.
 
 I committed a fix for what I think was the problem.  if you could
 retry with updated sources (xenocara/app/video/), that would be great.

With your fix, video(1) no longer segfaults,
but the sizes are still not recognized:

h...@mac:hans$ video -v
video device /dev/video:
  encodings: uyvy
  sizes: 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
0x0, 0x0
  controls: brightness, saturation, gamma, sharpness
Xv adaptor 0, Intel(R) Textured Video:
  encodings: yuy2, uyvy
  max size: 1280x800
using uyvy encoding
using frame size 0x0 (0 bytes)
video: /dev/video: returned size not as requested

h...@mac:hans$ video -r 25 -s 640 -v
video device /dev/video:
  encodings: uyvy
  sizes: 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
0x0, 0x0
  controls: brightness, saturation, gamma, sharpness
Xv adaptor 0, Intel(R) Textured Video:
  encodings: yuy2, uyvy
  max size: 1280x800
using uyvy encoding
using frame size 0x0 (0 bytes)
video: /dev/video: returned size not as requested

h...@mac:hans$ video -r 25 -s 640 -v -o video.raw
video device /dev/video:
  encodings: uyvy
  sizes: 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
0x0, 0x0
  controls: brightness, saturation, gamma, sharpness
using uyvy encoding
using frame size 0x0 (0 bytes)
video: /dev/video: returned size not as requested


Is this a video(1) problem?
Is it a uvideo(4) problem?
Is it a uvideo-firmware problem?


Jan



(The UVIDEO kernel is just GENERIC.MP + UVIDEO_DEBUG)

OpenBSD 4.8-current (UVIDEO) #0: Sat Oct 16 10:24:56 CEST 2010
r...@mac.stare.cz:/usr/src/sys/arch/amd64/compile/UVIDEO
real mem = 2646556672 (2523MB)
avail mem = 2562232320 (2443MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe (44 entries)
bios0: vendor Apple Inc. version MB31.88Z.008E.B02.0803051832 date 03/05/08
bios0: Apple Inc. MacBook3,1
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT SSDT SSDT
acpi0: wakeup devices ADP1(S3) LID0(S3) ARPT(S3) GIGE(S3) UHC1(S3) UHC2(S3) 
UHC3(S3) UHC4(S3) UHC5(S3) EHC1(S3) EHC2(S3) EC__(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz, 1995.29 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz, 1995.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG
cpu1: 4MB 64b/line 16-way L2 cache
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1

Un clic suffit pour gagner un Ipad

2010-10-16 Thread Marie
Si vous ne visualisez pas correctement ce message, veuillez cliquer ici

WeeClic.com, le clic gagnant

Apple iPad 16 Go

[IMAGE]

Apple iPad 16 Go

Pour gagner ce produit

au 1500eme Clic...

...JE CLIQUE

Ces produits sont aussi en jeu

Apple iPod Nano 8GB

Apple iPhone 4 16 Go

Apple iPod shuffle 2GB

Apple iPod Nano 8GB

Apple iPhone 4 16 Go

Apple iPod shuffle 2GB

JE CLIQUE

JE CLIQUE

JE CLIQUE

A tout de suite sur weeclic.com

vous ne souhaitez plus recevoir de mails de la part de
weeclic.com, cliquez ici



Re: i386 and amd64 snapshots - kernel SHA256 mismatch

2010-10-16 Thread Kevin Chadwick
On Sat, 16 Oct 2010 07:09:03 +0200
roberth rob...@openbsd.pap.st wrote:

 On Fri, 15 Oct 2010 21:46:41 -0700
 patrick keshishian pkesh...@gmail.com wrote:
 
  as this, where --  the mortal is accused to be a whiner.
 
 (...)
 
 the key words were every time this happens ...
 
 if you find an error or something strange, most likely you aren't the
 first to have encountered it.
 what's the first step? do your homework. homework comes before posting.
 this includes searching the mailinglist-archives.
 
 this discussion has happend before.
 repeating it, is what's annoying.
 

Well it hasn't happened in ages probably since I had a bog standard
router and windows when I was 16 or something but sometimes the whole
file doesn't download. Does the gzip part of .tgz check the download was
complete anyway as it will fail on unpack. You can also cross reference
the checksums to check mirrors and so they have their uses when they're
right, obviously not meaning they always need to be right.

Are we talking about the sums in bsd.rd and SHA256 or just bsd.rd.

Maybe a message in bsd.rd could say after the checksum incorrect
message:

==
Note: This is likely perfectly normal for snapshots. Please do not
report this to the developers.


Maybe a message after install completed successfully could say:

=
If you have a question please check the mailing list archives at one of
the following. This ensures developers can concentrate on things that
matter to us all and not decide to change the language on your windows
box remotely.

http://marc.info
...
...


Though maybe it would be better in the mail to root (maybe dmesg report
section) because putting it at the end of the install tells everyone
there is somewhere to ask questions and not just the ones willing to
do some reading.



Re: i386 and amd64 snapshots - kernel SHA256 mismatch

2010-10-16 Thread Frank Bax

Marco Peereboom wrote:

On Sat, Oct 16, 2010 at 01:08:25AM +, JC Choisy wrote:

That being out of the way, you got me wondering what good is
any integrity check which failure is OK.


It is only meant to help uptight people having some sort of false sense
of integrity/security.  It really is for release only because snapshots
are a moving target.  In my opinion the whole check is a giant waste of
time because every damn time the snaps are out of sync for a reason or
another people come whining to the list about something that is
irrelevant.



Am I correct in assuming that the code before this integrity check is 
not able to distinguish between release and snapshot?




Re: Packet priorization

2010-10-16 Thread Leonardo Carneiro
On Fri, Oct 15, 2010 at 4:56 PM, Henning Brauer lists-open...@bsws.de wrote:
 * Leonardo Carneiro chesterma...@gmail.com [2010-10-15 19:49]:
 I'm reading the documentation about altq, cbq and priq. I'ts very well 
 written.

 The questions: The documantion says that i can only queue outgoing
 traffic. So to priorize download traffic, i must apply the the queues
 on the traffic that are going out from my router to my internal
 interfaces?

 yup.

 I have multiple internal interfaces. Will i be able to priorize only
 the traffic going out by the internal interfaces that came in by the
 external interface? (i don't want to priorize traffic between internal
 interfaces)

 you just do the queue assignment on the inbound rules on the external
 interface and create queues with the same name on the inbound if.

 aka
 altq on $intif1 ...
 altq on $intif2 ...
 queue foo ...
 pass in on $ext_if queue foo

 this way queue foo will exist on all interfaces. the assignment can be
 done inbound if the packet is forwarded and doesn't go through a
 userland proxy.

 --
 Henning Brauer, h...@bsws.de, henn...@openbsd.org
 BS Web Services, http://bsws.de
 Full-Service ISP - Secure Hosting, Mail and DNS Services
 Dedicated Servers, Rootservers, Application Hosting



Well, now i'm a bit confused. I'll apply the queues on the internal
interfaces, but will assign the traffic when it came in by the
external? I though i would have to make one rule to each internal
interface when the traffic was going out by the internal.



Re: Packet priorization

2010-10-16 Thread Henning Brauer
* Leonardo Carneiro chesterma...@gmail.com [2010-10-16 15:07]:
 Well, now i'm a bit confused. I'll apply the queues on the internal
 interfaces, but will assign the traffic when it came in by the
 external?

yup. the assignment is sticky.

 I though i would have to make one rule to each internal
 interface when the traffic was going out by the internal.

no, you don't have to. you could, tho. 

-- 
Henning Brauer, h...@bsws.de, henn...@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting



Re: i386 and amd64 snapshots - kernel SHA256 mismatch

2010-10-16 Thread Henning Brauer
* Scott McEachern sc...@blackstaff.ca [2010-10-16 05:31]:
 I sometimes see the snaps (or X) haven't been built for a few or
 more days, and I was just wondering why that is?

plenty of possibilities.
theo (or todd when it comes to X) was gone or had better stuff to do
a problem with copying snaps out
tree horribly broken (ok, doesn't happen, of course)
...

 Is the build automated, or manually run?

manual

 If I see a snap hasn't been built for a while, I'll usually hold off
 on updating the source because something major might be only part
 way complete.  I'll wait until a new snap, install (or update) it,
 then update the source and build.  Is this silly?

a bit, yeah

-- 
Henning Brauer, h...@bsws.de, henn...@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting



Re: i386 and amd64 snapshots - kernel SHA256 mismatch

2010-10-16 Thread eagirard
 From:   Theo de Raadt deraadt () cvs ! openbsd ! org
 Date:   2010-10-16 0:29:52
 
 I should have actually shown how much was mismatched...and it's more than 
 just the kernel:
  ---(fine details 
  skipped)--
 JC Choisy(tin...@tinono.com)@Fri, Oct 15, 2010 at 08:58:49PM +:
  Hi,
  
  The kernel in latest i386 and amd64 snapshots has a sha256 checksum
  that doesn't match what's listed in the SHA256 file. bsd.rd complains
  about this when trying to upgrade.
  
  This is with the snapshots of Oct. 14th
 
 With snapshots, this will happen from time to time.
 
 If people start not understanding why the install media does this
 check, and that failure is OK, then I will remove the code on the
 install media.
 
 Adjust your expectations.  A hash failure can be OK.
 
 Another alternative is that I only do snapshot builds about every
 2 weeks.  How's that idea?
 
 As I say, adjust your expectations.


A simple technique for the perplexed would be to wait for snapshots that have a 
matching hash.  Skipping one or two snapshots is unlikely to cause cancer in 
laboratory animals.
--
Ed Ahlsen-Girard
Ft. Walton Beach FL



Re: i386 and amd64 snapshots - kernel SHA256 mismatch

2010-10-16 Thread Tony Abernethy
Frank Bax wrote:

 Marco Peereboom wrote:
  On Sat, Oct 16, 2010 at 01:08:25AM +, JC Choisy wrote:
  That being out of the way, you got me wondering what good is
  any integrity check which failure is OK.
 
  It is only meant to help uptight people having some sort of false
 sense
  of integrity/security.  It really is for release only because
 snapshots
  are a moving target.  In my opinion the whole check is a giant waste
 of
  time because every damn time the snaps are out of sync for a reason
 or
  another people come whining to the list about something that is
  irrelevant.


 Am I correct in assuming that the code before this integrity check is
 not able to distinguish between release and snapshot?

Imagine the fungames when the snapshots work and the release does not.
Do people bother to think anymore?



athn0: radio is disabled by hardware switch

2010-10-16 Thread Fred Crowson
Hi Misc@

I have a Lenovo S10-3 ideapad notebook, but I am unable to configure
the athn0 interface, if I try a scan, or try to configure the
interface I get the following messages:

Oct 16 15:49:51 s3 /bsd: athn0: radio is disabled by hardware switch
Oct 16 15:49:52 s3 /bsd: athn0: unable to reset hardware; reset status 1
Oct 16 15:49:52 s3 /bsd: athn0: radio is disabled by hardware switch
Oct 16 15:49:52 s3 /bsd: athn0: unable to reset hardware; reset status 1
Oct 16 15:49:52 s3 /bsd: athn0: radio is disabled by hardware switch
Oct 16 15:49:52 s3 /bsd: athn0: unable to reset hardware; reset status 1

There is a switch on the side of the notebook - but it has no effect
the same is true of the Fn+F5 key sequence.

The wifi led is lit initially when the notebook is booted, but when it
gets to approximately the acpibat0 line on boot the led goes off and
stays off.

The device is identified as:
s3:fred ~ dmesg|grep ath
athn0 at pci2 dev 0 function 0 Atheros AR9285 rev 0x01: apic 2 int
18 (irq 11), address 90:4c:e5:c8:29:20
athn0: AR9285 rev 2 (1T1R), ROM rev 14

However from the man page there is a WB195 version which is a
WiFi/Bluetooth combo - which I believe is the device in this laptop.

Can anyone tell me if the WB195 device is supported and if it is how I
can use that driver to see if it fixes my issue?

thanks

Fred

dmesg and pcidump -v follow:
dmesg:
OpenBSD 4.8-current (GENERIC.MP) #456: Tue Oct  5 20:18:06 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Atom(TM) CPU N450 @ 1.66GHz (GenuineIntel 686-class) 1.67 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,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE
real mem  = 1062621184 (1013MB)
avail mem = 1035210752 (987MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/03/10, BIOS32 rev. 0 @
0xfdca0, SMBIOS rev. 2.5 @ 0xdf010 (28 entries)
bios0: vendor LENOVO version 2ACN21WW date 02/03/2010
bios0: LENOVO S10-3
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP TCPA MCFG HPET APIC BOOT SLIC SSDT SSDT SSDT
acpi0: wakeup devices EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCIB(S3)
USB1(S3) USB2(S3) USB4(S3) EUSB(S3) LID_(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
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: Intel(R) Atom(TM) CPU N450 @ 1.66GHz (GenuineIntel 686-class) 1.67 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,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 5 (EXP1)
acpiprt2 at acpi0: bus -1 (EXP2)
acpiprt3 at acpi0: bus 9 (EXP3)
acpiprt4 at acpi0: bus -1 (EXP4)
acpiprt5 at acpi0: bus 17 (PCIB)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpitz0 at acpi0: critical temperature 100 degC
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID_
acpibat0 at acpi0: BAT1 model L09S6Y14 serial   type LION oem SANYO
acpiac0 at acpi0: AC unit offline
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: IGD0
acpivout0 at acpivideo0: DD02
acpivout1 at acpivideo0: DD01
bios0: ROM list: 0xc/0xda00! 0xce000/0x1000 0xdf000/0x800!
cpu0: Enhanced SpeedStep 1663 MHz: speeds: 1667, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
bridge mem address conflict 0xf050/0x10
pchb0 at pci0 dev 0 function 0 Intel Pineview DMI rev 0x00
vga1 at pci0 dev 2 function 0 Intel Pineview Video rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 2 int 16 (irq 11)
drm0 at inteldrm0
Intel Pineview Video rev 0x00 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02:
apic 2 int 22 (irq 255)
azalia0: codecs: Realtek ALC272
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 2
int 16 (irq 11)
pci1 at ppb0 bus 5
mem address conflict 0xf052/0x1000
mem address conflict 0xf051/0x1
re0 at pci1 dev 0 function 0 Realtek 8101E rev 0x02: RTL8102EL
(0x2480), apic 2 int 16 (irq 11), address 00:26:9e:ee:33:9e
rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
ppb1 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 2
int 18 (irq 3)
pci2 at ppb1 bus 9
mem address conflict 0xf010/0x1
athn0 at pci2 dev 0 function 0 Atheros AR9285 rev 0x01: apic 2 int
18 (irq 11), address 90:4c:e5:c8:29:20
athn0: AR9285 rev 2 (1T1R), ROM rev 14
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2
int 23 (irq 5)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB 

ffmpeg vs uvideo

2010-10-16 Thread Jan Stary
(I have changed the subject,
because the subject has changed.)

On Oct 14 01:59:39, Jacob Meuser wrote:
 On Thu, Oct 14, 2010 at 12:05:09AM +, Jacob Meuser wrote:
  On Thu, Oct 14, 2010 at 12:59:37AM +0200, Jan Stary wrote:
   On Oct 13 22:07:27, Jacob Meuser wrote:
On Wed, Oct 13, 2010 at 11:51:47PM +0200, Jan Stary wrote:
 This is a fresh upgrade of current/amd64 on a Macbook3,1.
 Basically, everything works except the wifi and uvideo.

 I installed the uvideo firmware as documented in uvideo(4).
 I can capture an image with 'fswebcam image.jpg';
 I have problems capturing a video stream with
 ffmpeg -y -f video4linux2 -s vga -r 25 -i /dev/video0 /tmp/out.mpg
 (the fps eventually drops to 0 and results in a tiny file
 containing just a few frames) but I haven't really tried
 tweaking the format options.

ffmpeg doesn't work with video(4).  frankly, I don't understand why
video(4) support is enabled in ffmpeg, giving the the impression it's
supposed to work, when it clearly doesn't.
   
   On another machine (HP EliteBook 8530w running a recent -current)
   I can capture video(4) just fine - using certain resolutions and frame
   rates, that is.
  
  with ffmpeg?  can you share your command, I've never gotten it to work.

This _sometimes_ works:
ffmpeg -y -f video4linux2 -r 25 -s vga -i /dev/video out.mpg
Other times, the fps gradually drops to zero.

With the current ffmpeg (just built form svn),
it consistently results in

ffmpeg -y -f video4linux2 -r 25 -s vga -i /dev/video0 /tmp/out.m
FFmpeg version SVN-r25502, Copyright (c) 2000-2010 the FFmpeg developers
built on Oct 16 2010 14:05:50 with gcc 4.2.1 20070719 
configuration: 
libavutil 50.32. 3 / 50.32. 3
libavcore  0. 9. 1 /  0. 9. 1
libavcodec52.92. 0 / 52.92. 0
libavformat   52.83. 0 / 52.83. 0
libavdevice   52. 2. 2 / 52. 2. 2
libavfilter1.52. 0 /  1.52. 0
libswscale 0.12. 0 /  0.12. 0
[video4linux2 @ 0x83f3d080] ioctl set time per frame(1/25) failed
/dev/video0: Input/output error

It fails this way with any other framerate, too.
So you are right: it doesn't work.

 fwiw, this is what I use, because using ffmpeg to capture directly from
 video(4) has never worked for me:
 
 $ video -f /dev/video1 -e yuy2 -s 640x480 -r 20 -o - | ffmpeg -y \
 -f rawvideo -pix_fmt yuyv422 -s 640x480 -r 20 -i - \
 -itsoffset 0.5 -f sndio -ar 16000 -ac 1 -i sun:1 out.avi

This is much more reliable;
without audio, I can capture just fine with

$ video -f /dev/video -e yuy2 -s 640x480 -r 20 -o - \
| ffmpeg -y -f rawvideo -pix_fmt yuyv422 -s 640x480 -r 20 -i - out.avi

However, the audio part does not work for me.
The ffmpeg-20100512p4 package says

$ video -f /dev/video -e yuy2 -s 640x480 -r 20 -o - \
| ffmpeg -y -f rawvideo -pix_fmt yuyv422 -s 640x480 -r 20 -i - \
-f sndio -ar 16000 -ac 1 -i sun:1 out.avi
FFmpeg version SVN-r23102, Copyright (c) 2000-2010 the FFmpeg developers
  built on Oct 11 2010 18:27:01 with gcc 4.2.1 20070719 
  configuration: --enable-shared --cc=cc --disable-altivec --disable-armv5te 
--disable-armv6 --disable-armv6t2 --disable-armvfp --disable-debug 
--disable-indev=jack --disable-indev=oss --disable-iwmmxt --disable-neon 
--disable-optimizations --disable-outdev=oss --enable-gpl --enable-libfaac 
--enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libschroedinger 
--enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 
--enable-nonfree --enable-postproc --enable-pthreads --enable-runtime-cpudetect 
--enable-x11grab --extra-cflags=-I/usr/local/include -I/usr/X11R6/include 
--extra-libs=-L/usr/local/lib -L/usr/X11R6/lib --mandir=/usr/local/man
  libavutil 50.15. 2 / 50.15. 2
  libavcodec52.67. 0 / 52.67. 0
  libavformat   52.62. 0 / 52.62. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter1.20. 0 /  1.20. 0
  libswscale 0.10. 0 /  0.10. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[rawvideo @ 0x80239080]Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from 'pipe:':
  Duration: N/A, start: 0.00, bitrate: N/A
Stream #0.0: Video: rawvideo, yuyv422, 640x480, 20 tbr, 20 tbn, 20 tbc
[sndio @ 0x83bc9080]Could not open sndio device
sun:1: Input/output error

I get the same result with -f sndio -i /dev/audio.
I get the same result with or without aucat running.

The svn install of ffmpeg doesn't even recognize sndio as a format
(Unknown input format: 'sndio'). It does recognize -f oss,
and I can capture both video and audio with

$ video -f /dev/video -e yuy2 -s 640x480 -r 20 -o - \
| ffmpeg -y -f rawvideo -pix_fmt yuyv422 -s 640x480 -r 20 -i - \
-f sndio -ar 48000 -ac 2 -i /dev/audio out.avi

 the audio is just slightly ahead (out of sync) without the -itsoffset.
 the sndio backend in ffmpeg has fairly accurate timestamping; the
 stamps should represent when the sound actually happened.  video(1) otoh
 is just outputting a stream of raw frames, so ffmpeg assumes the
 frames' timestamp is when 

Re: athn0: radio is disabled by hardware switch

2010-10-16 Thread Dmitrij Czarkoff
On Sat, Oct 16, 2010 at 5:12 PM, Fred Crowson fred.crow...@gmail.com wrote:
 Hi Misc@

 I have a Lenovo S10-3 ideapad notebook, but I am unable to configure
 the athn0 interface, if I try a scan, or try to configure the
 interface I get the following messages:

 Oct 16 15:49:51 s3 /bsd: athn0: radio is disabled by hardware switch
 Oct 16 15:49:52 s3 /bsd: athn0: unable to reset hardware; reset status 1
 Oct 16 15:49:52 s3 /bsd: athn0: radio is disabled by hardware switch
 Oct 16 15:49:52 s3 /bsd: athn0: unable to reset hardware; reset status 1
 Oct 16 15:49:52 s3 /bsd: athn0: radio is disabled by hardware switch
 Oct 16 15:49:52 s3 /bsd: athn0: unable to reset hardware; reset status 1

 There is a switch on the side of the notebook - but it has no effect
 the same is true of the Fn+F5 key sequence.

 The wifi led is lit initially when the notebook is booted, but when it
 gets to approximately the acpibat0 line on boot the led goes off and
 stays off.

Do You have any output on switching the hardware switch?

It seems You have softkill. Try booting any linux livecd and play
around rfkill utility.

-- 
Dmitrij D. Czarkoff



Re: athn0: radio is disabled by hardware switch

2010-10-16 Thread Fred Crowson
On 16 October 2010 18:37, Dmitrij Czarkoff czark...@gmail.com wrote:
 On Sat, Oct 16, 2010 at 5:12 PM, Fred Crowson fred.crow...@gmail.com wrote:
 Hi Misc@

 I have a Lenovo S10-3 ideapad notebook, but I am unable to configure
 the athn0 interface, if I try a scan, or try to configure the
 interface I get the following messages:

 Oct 16 15:49:51 s3 /bsd: athn0: radio is disabled by hardware switch
 Oct 16 15:49:52 s3 /bsd: athn0: unable to reset hardware; reset status 1
 Oct 16 15:49:52 s3 /bsd: athn0: radio is disabled by hardware switch
 Oct 16 15:49:52 s3 /bsd: athn0: unable to reset hardware; reset status 1
 Oct 16 15:49:52 s3 /bsd: athn0: radio is disabled by hardware switch
 Oct 16 15:49:52 s3 /bsd: athn0: unable to reset hardware; reset status 1

 There is a switch on the side of the notebook - but it has no effect
 the same is true of the Fn+F5 key sequence.

 The wifi led is lit initially when the notebook is booted, but when it
 gets to approximately the acpibat0 line on boot the led goes off and
 stays off.

 Do You have any output on switching the hardware switch?

The hardware switch doesn't result in any output...

 It seems You have softkill. Try booting any linux livecd and play
 around rfkill utility.

I'll give that a go

Thanks

Fred



Re: ffmpeg vs uvideo

2010-10-16 Thread Jacob Meuser
On Sat, Oct 16, 2010 at 05:46:24PM +0200, Jan Stary wrote:
 (I have changed the subject,
 because the subject has changed.)
 
 On Oct 14 01:59:39, Jacob Meuser wrote:
  On Thu, Oct 14, 2010 at 12:05:09AM +, Jacob Meuser wrote:
   On Thu, Oct 14, 2010 at 12:59:37AM +0200, Jan Stary wrote:
On Oct 13 22:07:27, Jacob Meuser wrote:
 On Wed, Oct 13, 2010 at 11:51:47PM +0200, Jan Stary wrote:
  This is a fresh upgrade of current/amd64 on a Macbook3,1.
  Basically, everything works except the wifi and uvideo.
 
  I installed the uvideo firmware as documented in uvideo(4).
  I can capture an image with 'fswebcam image.jpg';
  I have problems capturing a video stream with
  ffmpeg -y -f video4linux2 -s vga -r 25 -i /dev/video0 /tmp/out.mpg
  (the fps eventually drops to 0 and results in a tiny file
  containing just a few frames) but I haven't really tried
  tweaking the format options.
 
 ffmpeg doesn't work with video(4).  frankly, I don't understand why
 video(4) support is enabled in ffmpeg, giving the the impression it's
 supposed to work, when it clearly doesn't.

On another machine (HP EliteBook 8530w running a recent -current)
I can capture video(4) just fine - using certain resolutions and frame
rates, that is.
   
   with ffmpeg?  can you share your command, I've never gotten it to work.
 
 This _sometimes_ works:
 ffmpeg -y -f video4linux2 -r 25 -s vga -i /dev/video out.mpg
 Other times, the fps gradually drops to zero.
 
 With the current ffmpeg (just built form svn),
 it consistently results in
 
 ffmpeg -y -f video4linux2 -r 25 -s vga -i /dev/video0 /tmp/out.m
 FFmpeg version SVN-r25502, Copyright (c) 2000-2010 the FFmpeg developers
 built on Oct 16 2010 14:05:50 with gcc 4.2.1 20070719 
 configuration: 
 libavutil 50.32. 3 / 50.32. 3
 libavcore  0. 9. 1 /  0. 9. 1
 libavcodec52.92. 0 / 52.92. 0
 libavformat   52.83. 0 / 52.83. 0
 libavdevice   52. 2. 2 / 52. 2. 2
 libavfilter1.52. 0 /  1.52. 0
 libswscale 0.12. 0 /  0.12. 0
 [video4linux2 @ 0x83f3d080] ioctl set time per frame(1/25) failed
 /dev/video0: Input/output error
 
 It fails this way with any other framerate, too.
 So you are right: it doesn't work.

I'm pretty sure this is because video/uvideo doesn't allow setting the
frame rate.  also, many webcams don't deliver a consistent frame rate;
some of them will deliver a higher frame rate if they receive more light.

  fwiw, this is what I use, because using ffmpeg to capture directly from
  video(4) has never worked for me:
  
  $ video -f /dev/video1 -e yuy2 -s 640x480 -r 20 -o - | ffmpeg -y \
  -f rawvideo -pix_fmt yuyv422 -s 640x480 -r 20 -i - \
  -itsoffset 0.5 -f sndio -ar 16000 -ac 1 -i sun:1 out.avi
 
 This is much more reliable;
 without audio, I can capture just fine with
 
 $ video -f /dev/video -e yuy2 -s 640x480 -r 20 -o - \
 | ffmpeg -y -f rawvideo -pix_fmt yuyv422 -s 640x480 -r 20 -i - out.avi
 
 However, the audio part does not work for me.
 The ffmpeg-20100512p4 package says
 
 $ video -f /dev/video -e yuy2 -s 640x480 -r 20 -o - \
 | ffmpeg -y -f rawvideo -pix_fmt yuyv422 -s 640x480 -r 20 -i - \
 -f sndio -ar 16000 -ac 1 -i sun:1 out.avi
 FFmpeg version SVN-r23102, Copyright (c) 2000-2010 the FFmpeg developers
   built on Oct 11 2010 18:27:01 with gcc 4.2.1 20070719 
   configuration: --enable-shared --cc=cc --disable-altivec --disable-armv5te 
 --disable-armv6 --disable-armv6t2 --disable-armvfp --disable-debug 
 --disable-indev=jack --disable-indev=oss --disable-iwmmxt --disable-neon 
 --disable-optimizations --disable-outdev=oss --enable-gpl --enable-libfaac 
 --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libschroedinger 
 --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 
 --enable-nonfree --enable-postproc --enable-pthreads 
 --enable-runtime-cpudetect --enable-x11grab 
 --extra-cflags=-I/usr/local/include -I/usr/X11R6/include 
 --extra-libs=-L/usr/local/lib -L/usr/X11R6/lib --mandir=/usr/local/man
   libavutil 50.15. 2 / 50.15. 2
   libavcodec52.67. 0 / 52.67. 0
   libavformat   52.62. 0 / 52.62. 0
   libavdevice   52. 2. 0 / 52. 2. 0
   libavfilter1.20. 0 /  1.20. 0
   libswscale 0.10. 0 /  0.10. 0
   libpostproc   51. 2. 0 / 51. 2. 0
 [rawvideo @ 0x80239080]Estimating duration from bitrate, this may be 
 inaccurate
 Input #0, rawvideo, from 'pipe:':
   Duration: N/A, start: 0.00, bitrate: N/A
 Stream #0.0: Video: rawvideo, yuyv422, 640x480, 20 tbr, 20 tbn, 20 tbc
 [sndio @ 0x83bc9080]Could not open sndio device
 sun:1: Input/output error

-f sndio -ar 16000 -ac 1 -i sun:1 out.avi

that means to record 16kHz mono from /dev/audio1.  maybe that just isn't
supported on your hardware?

 I get the same result with -f sndio -i /dev/audio.

does simply 'ffmpeg -f sndio -i /dev/audio out.wav' work?

 I get the same result with or without aucat running.

yeah, ffmpeg requires to specify the input file, even if the 

Re: -current/amd64 @ macbook3,1

2010-10-16 Thread Jacob Meuser
On Sat, Oct 16, 2010 at 12:52:17PM +0200, Jan Stary wrote:

 but the sizes are still not recognized:
 
 h...@mac:hans$ video -v
 video device /dev/video:
   encodings: uyvy
   sizes: 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
 0x0, 0x0, 0x0
   controls: brightness, saturation, gamma, sharpness
 Xv adaptor 0, Intel(R) Textured Video:
   encodings: yuy2, uyvy
   max size: 1280x800
 using uyvy encoding
 using frame size 0x0 (0 bytes)
 video: /dev/video: returned size not as requested


 Is this a video(1) problem?
 Is it a uvideo(4) problem?
 Is it a uvideo-firmware problem?


 bLength=38
 bDescriptorType=0x24 (CS_INTERFACE)
 bDescriptorSubtype=0x05 (UDESCSUB_VS_FRAME_UNCOMPRESSED)
 bLength=38
 bDescriptorType=0x24
 bDescriptorSubtype=0x05
 bFrameIndex=0x01
 bmCapabilities=0x00
 wWidth=640
 wHeight=480
 dwMinBitRate=383976960
 dwMaxBitRate=383976960
 dwMaxVideoFrameBufferSize=614400
 dwDefaultFrameInterval=33
 bFrameIntervalType=0x00
 
 bLength=38
 bDescriptorType=0x24 (CS_INTERFACE)
 bDescriptorSubtype=0x05 (UDESCSUB_VS_FRAME_UNCOMPRESSED)
 bLength=38
 bDescriptorType=0x24
 bDescriptorSubtype=0x05
 bFrameIndex=0x02
 bmCapabilities=0x00
 wWidth=352
 wHeight=288
 dwMinBitRate=383976960
 dwMaxBitRate=383976960
 dwMaxVideoFrameBufferSize=202752
 dwDefaultFrameInterval=33
 bFrameIntervalType=0x00
 
 bLength=38
 bDescriptorType=0x24 (CS_INTERFACE)
 bDescriptorSubtype=0x05 (UDESCSUB_VS_FRAME_UNCOMPRESSED)
 bLength=38
 bDescriptorType=0x24
 bDescriptorSubtype=0x05
 bFrameIndex=0x03
 bmCapabilities=0x00
 wWidth=320
 wHeight=240
 dwMinBitRate=383976960
 dwMaxBitRate=383976960
 dwMaxVideoFrameBufferSize=153600
 dwDefaultFrameInterval=33
 bFrameIntervalType=0x00


it's a bug in uvideo(4).  bFrameIntervalType affects frame rates, not frame
sizes.  patch below should fix it.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

Index: uvideo.c
===
RCS file: /cvs/src/sys/dev/usb/uvideo.c,v
retrieving revision 1.142
diff -u -p uvideo.c
--- uvideo.c9 Oct 2010 09:48:03 -   1.142
+++ uvideo.c16 Oct 2010 19:40:33 -
@@ -2769,20 +2777,11 @@ uvideo_enum_fsizes(void *v, struct v4l2_frmsizeenum *f
/* no more frames left */
return (EINVAL);
 
-   if (sc-sc_fmtgrp[idx].frame[i]-bFrameIntervalType == 0) {
-   /* TODO */
-   fsizes-type = V4L2_FRMSIZE_TYPE_CONTINUOUS;
-   fsizes-un.stepwise.min_width = 0;
-   fsizes-un.stepwise.min_height = 0;
-   fsizes-un.stepwise.max_width = 0;
-   fsizes-un.stepwise.max_height = 0;
-   } else {
-   fsizes-type = V4L2_FRMSIZE_TYPE_DISCRETE;
-   fsizes-un.discrete.width =
-   UGETW(sc-sc_fmtgrp[idx].frame[i]-wWidth);
-   fsizes-un.discrete.height =
-   UGETW(sc-sc_fmtgrp[idx].frame[i]-wHeight);
-   }
+   fsizes-type = V4L2_FRMSIZE_TYPE_DISCRETE;
+   fsizes-un.discrete.width =
+   UGETW(sc-sc_fmtgrp[idx].frame[i]-wWidth);
+   fsizes-un.discrete.height =
+   UGETW(sc-sc_fmtgrp[idx].frame[i]-wHeight);
 
return (0);
 }



Re: ffmpeg vs uvideo

2010-10-16 Thread Kevin Chadwick
On Sat, 16 Oct 2010 21:53:24 +0200
Jan Stary h...@stare.cz wrote:

 On Oct 16 19:20:32, Jacob Meuser wrote:
  On Sat, Oct 16, 2010 at 05:46:24PM +0200, Jan Stary wrote:
   (I have changed the subject,
   because the subject has changed.)
   
   On Oct 14 01:59:39, Jacob Meuser wrote:
On Thu, Oct 14, 2010 at 12:05:09AM +, Jacob Meuser wrote:
 On Thu, Oct 14, 2010 at 12:59:37AM +0200, Jan Stary wrote:
  On Oct 13 22:07:27, Jacob Meuser wrote:
   On Wed, Oct 13, 2010 at 11:51:47PM +0200, Jan Stary wrote:
This is a fresh upgrade of current/amd64 on a Macbook3,1.
Basically, everything works except the wifi and uvideo.
   
I installed the uvideo firmware as documented in uvideo(4).
I can capture an image with 'fswebcam image.jpg';
I have problems capturing a video stream with
ffmpeg -y -f video4linux2 -s vga -r 25 -i /dev/video0 
/tmp/out.mpg
(the fps eventually drops to 0 and results in a tiny file
containing just a few frames) but I haven't really tried
tweaking the format options.
   
   ffmpeg doesn't work with video(4).  frankly, I don't understand 
   why
   video(4) support is enabled in ffmpeg, giving the the impression 
   it's
   supposed to work, when it clearly doesn't.
  
  On another machine (HP EliteBook 8530w running a recent -current)
  I can capture video(4) just fine - using certain resolutions and 
  frame
  rates, that is.
 
 with ffmpeg?  can you share your command, I've never gotten it to 
 work.
   
   This _sometimes_ works:
   ffmpeg -y -f video4linux2 -r 25 -s vga -i /dev/video out.mpg
   Other times, the fps gradually drops to zero.
   
   With the current ffmpeg (just built form svn),
   it consistently results in
   
   ffmpeg -y -f video4linux2 -r 25 -s vga -i /dev/video0 /tmp/out.m
   FFmpeg version SVN-r25502, Copyright (c) 2000-2010 the FFmpeg developers
   built on Oct 16 2010 14:05:50 with gcc 4.2.1 20070719 
   configuration: 
   libavutil 50.32. 3 / 50.32. 3
   libavcore  0. 9. 1 /  0. 9. 1
   libavcodec52.92. 0 / 52.92. 0
   libavformat   52.83. 0 / 52.83. 0
   libavdevice   52. 2. 2 / 52. 2. 2
   libavfilter1.52. 0 /  1.52. 0
   libswscale 0.12. 0 /  0.12. 0
   [video4linux2 @ 0x83f3d080] ioctl set time per frame(1/25) failed
   /dev/video0: Input/output error
   
   It fails this way with any other framerate, too.
   So you are right: it doesn't work.
  
  I'm pretty sure this is because video/uvideo doesn't allow setting the
  frame rate.  also, many webcams don't deliver a consistent frame rate;
  some of them will deliver a higher frame rate if they receive more light.
  
fwiw, this is what I use, because using ffmpeg to capture directly from
video(4) has never worked for me:

$ video -f /dev/video1 -e yuy2 -s 640x480 -r 20 -o - | ffmpeg -y \
-f rawvideo -pix_fmt yuyv422 -s 640x480 -r 20 -i - \
-itsoffset 0.5 -f sndio -ar 16000 -ac 1 -i sun:1 out.avi
   
   This is much more reliable;
   without audio, I can capture just fine with
   
   $ video -f /dev/video -e yuy2 -s 640x480 -r 20 -o - \
   | ffmpeg -y -f rawvideo -pix_fmt yuyv422 -s 640x480 -r 20 -i - out.avi
   
   However, the audio part does not work for me.
   The ffmpeg-20100512p4 package says
   
   $ video -f /dev/video -e yuy2 -s 640x480 -r 20 -o - \
   | ffmpeg -y -f rawvideo -pix_fmt yuyv422 -s 640x480 -r 20 -i - \
   -f sndio -ar 16000 -ac 1 -i sun:1 out.avi
   FFmpeg version SVN-r23102, Copyright (c) 2000-2010 the FFmpeg developers
 built on Oct 11 2010 18:27:01 with gcc 4.2.1 20070719 
 configuration: --enable-shared --cc=cc --disable-altivec 
   --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-armvfp 
   --disable-debug --disable-indev=jack --disable-indev=oss --disable-iwmmxt 
   --disable-neon --disable-optimizations --disable-outdev=oss --enable-gpl 
   --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame 
   --enable-libschroedinger --enable-libspeex --enable-libtheora 
   --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc 
   --enable-pthreads --enable-runtime-cpudetect --enable-x11grab 
   --extra-cflags=-I/usr/local/include -I/usr/X11R6/include 
   --extra-libs=-L/usr/local/lib -L/usr/X11R6/lib --mandir=/usr/local/man
 libavutil 50.15. 2 / 50.15. 2
 libavcodec52.67. 0 / 52.67. 0
 libavformat   52.62. 0 / 52.62. 0
 libavdevice   52. 2. 0 / 52. 2. 0
 libavfilter1.20. 0 /  1.20. 0
 libswscale 0.10. 0 /  0.10. 0
 libpostproc   51. 2. 0 / 51. 2. 0
   [rawvideo @ 0x80239080]Estimating duration from bitrate, this may be 
   inaccurate
   Input #0, rawvideo, from 'pipe:':
 Duration: N/A, start: 0.00, bitrate: N/A
   Stream #0.0: Video: rawvideo, yuyv422, 640x480, 20 tbr, 20 tbn, 20 tbc
   [sndio @ 0x83bc9080]Could not open sndio device
   sun:1: Input/output error
  
  -f sndio -ar 16000 

Mac OSX 10.4.11 Client Cannot Join Ral(4) AP

2010-10-16 Thread woolsherpahat
Hello @Misc,

I have an OpenBSD 4.7 (i386) based router with a ral(4) card in it.
For some reason, my old iBook cannot seem to join the AP, either
unencrypted or encrypted. My other clients (a Windows Vista machine
and a few Debian machines have no such issues). The iBook gives me the
wonderfully descriptive error: Unknown error joining the wireless
network. Running a tcpdump on the ral0 interface doesn't actually
show any packets during the process while the lovely little OSX
pinwheel spins aimlessly before failing to connect. Does anyone here
on misc have some troubleshooting ideas? Anyone seen this problem
before?


/etc/hostname.ral0:

inet 192.168.2.1 255.255.255.0 192.168.2.255 media autoselect \
mediaopt hostap nwid radical_land chan 11

ral0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:1d:7d:46:84:e9
description: Wifinet
priority: 4
groups: wlan
media: IEEE802.11 autoselect hostap (autoselect mode 11b hostap)
status: active
ieee80211: nwid radical_land chan 11 bssid 00:1d:7d:46:84:e9 100dBm
inet6 fe80::21d:7dff:fe46:84e9%ral0 prefixlen 64 scopeid 0x1
inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255



and the WPA2 version:

inet 192.168.2.1 255.255.255.0 192.168.2.255 description Wifinet \
media autoselect mode 11g mediaopt hostap nwid radical_land chan 11 \
wpa wpapsk `wpa-psk radical_land password`


ral0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:1d:7d:46:84:e9
description: Wifinet
priority: 4
groups: wlan
media: IEEE802.11 autoselect mode 11g hostap
status: active
ieee80211: nwid radical_land chan 11 bssid 00:1d:7d:46:84:e9
wpapsk 0xDEADBEEF wpaprotos wpa1,wpa2 wpaakms psk wpaciphers tkip,ccmp
wpagroupcipher tkip 100dBm
inet6 fe80::21d:7dff:fe46:84e9%ral0 prefixlen 64 scopeid 0x1
inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255



and /etc/pf.conf:


# macros
ext_if=sis0
int_if=sis1
apple_if=sis2
wifi_if=ral0

table bogons persist file /etc/bogon-bn-agg.txt

# options
set require-order yes
set block-policy return
set optimization normal
set skip on lo0



# flag packets from all internal interfaces for NAT
match out on $ext_if inet from !($ext_if:network) to any nat-to ($ext_if:0)

# policy: default deny on all inbound traffic on all interfaces
block in log

# immediately pass out traffic on external interface, modulate state to make
# ISNs (initial sequence numbers) harder to guess
pass out quick on $ext_if proto tcp modulate state

# policy: default allow on all outbound traffic on all interfaces
pass out

# antispoofing for internal interfaces
antispoof quick for { $int_if $apple_if $wifi_if }

# ingress/egress bogon filtering
block in quick log on $ext_if from bogons
block out quick log on $ext_if from bogons

# allow internal traffic in, except from untrusted -- trusted
pass in on $int_if from $int_if:network
pass in on $apple_if from $apple_if:network to !$int_if:network
pass in on $wifi_if from $wifi_if:network to !$int_if:network

# allow ssh traffic on trusted interface
pass in log on $int_if inet proto tcp from $int_if:network to $int_if port 22

# redirect external ssh traffic from ?
pass in log on $ext_if inet proto tcp to ($ext_if) port ?? \
rdr-to 127.0.0.1 port 22



and finally the dmesg:


OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Am486DX4 W/B or Am5x86 W/B 150 (AuthenticAMD 486-class)
cpu0: FPU
real mem  = 66678784 (63MB)
avail mem = 54943744 (52MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 20/50/27, BIOS32 rev. 0 @ 0xf7840
pcibios0 at bios0: rev 2.0 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc8000/0x9000
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
elansc0 at pci0 dev 0 function 0 AMD ElanSC520 PCI rev 0x00: product
0 stepping 1.1, CPU clock 133MHz, reset 0
gpio0 at elansc0: 32 pins
ral0 at pci0 dev 16 function 0 Ralink RT2561S rev 0x00: irq 10,
address 00:1d:7d:46:84:e9
ral0: MAC/BBP RT2561C, RF RT2527
sis0 at pci0 dev 18 function 0 NS DP83815 10/100 rev 0x00, DP83816A:
irq 11, address 00:00:24:c6:4d:ec
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 19 function 0 NS DP83815 10/100 rev 0x00, DP83816A:
irq 5, address 00:00:24:c6:4d:ed
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 20 function 0 NS DP83815 10/100 rev 0x00, DP83816A:
irq 9, address 00:00:24:c6:4d:ee
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5

pflog issues on -current

2010-10-16 Thread Chris Smith
Hello,

Running amd64 GENERIC.MP -current.

Started seeing truncated entries in pflog like this:
==
...rule 42/(match) block out on em0:  [|ip]
==

They seemed to start after the last build to -current where this got logged:
==
pflogd[17975]: Existing file has different snaplen 116, using it
==

So I shut down the pflog interface, rm /var/log/pflog and restarted
the system. Forced a log event and the truncation issue appears
solved.
However I always get this as the first line when reading pflog:
==
tcpdump: WARNING: compensating for unaligned libpcap packets
==

Other systems (not running -current) do not have this issue. Any ideas?

Thanks.

Chris



Re: athn0: radio is disabled by hardware switch

2010-10-16 Thread Brynet
Hey Fred,

I have an Acer Aspire 5551 with an athn(4), the radio switch is Fn+F3.

On Windows the Wireless LED goes on and off when toggling, but not on
OpenBSD... it does work however, even though there are no visible
indications.

One quirk is that I have to hold down both keys for a few seconds.. and
then scanning works, fortunately the radio is enabled on my system by
default.

athn0 at pci3 dev 0 function 0 Atheros AR9281 rev 0x01: apic 4 int 17
(irq 5), address 78:e4:00:eb:ae:31
athn0: AR9280 rev 2 (2T2R), ROM rev 22

It's a great wireless card, everything works as far as I can tell, it
even supports hostap now.

-Bryan.



high Ierrs in netstat -ni

2010-10-16 Thread frantisek holop
hi there,

i am runing -current with iwn and i notice a high
number of Ierr's in netstat -ni.
0 would be ideal, right?


i am using the latest firmware from iwn(4)

$ netstat -ni
NameMtu   Network Address  Ipkts IerrsOpkts Oerrs Colls
lo0 33200 Link   15262 015262 0 0
lo0 33200 127/8   127.0.0.115262 015262 0 0
lo0 33200 ::1/128 ::1  15262 015262 0 0
lo0 33200 fe80::%lo0/ fe80::1%lo0  15262 015262 0 0
lii0*   1500  Link  fe:e1:ba:d0:6b:b30 00 0 0
iwn01500  Link  00:21:5c:04:9e:19 7670   429 6903 0 0
iwn01500  fe80::%iwn0 fe80::221:5cff:fe 7670   429 6903 0 0
iwn01500  10.13.37/24 10.13.37.30   7670   429 6903 0 0
enc0*   0 Link   0 00 0 0
pflog0  33200 Link   0 00 0 0

this is just 20m after reboot. with heavy traffic,
it increases by the second..


OpenBSD 4.8-current (GENERIC) #435: Thu Oct 14 13:37:41 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M processor 900MHz (GenuineIntel 686-class) 631 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF
real mem  = 527527936 (503MB)
avail mem = 508899328 (485MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/11/09, BIOS32 rev. 0 @ 0xf0010, SMBIOS 
rev. 2.5 @ 0xf06e0 (37 entries)
bios0: vendor American Megatrends Inc. version 1302 date 03/11/2009
bios0: ASUSTeK Computer INC. 701
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC OEMB MCFG
acpi0: wakeup devices P0P3(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) MC97(S4) 
USB1(S3) USB2(S3) USB3(S3) USB4(S3) EUSB(S3)
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 70MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 5 (P0P3)
acpiprt2 at acpi0: bus 3 (P0P5)
acpiprt3 at acpi0: bus 1 (P0P6)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 90 degC
acpibat0 at acpi0: BAT0 model 701 serial   type LION oem ASUS
acpiac0 at acpi0: AC unit offline
acpiasus0 at acpi0
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: PWRB
acpivideo0 at acpi0: VGA_
acpivout0 at acpivideo0: CRTD
acpivout1 at acpivideo0: TVOD
acpivout2 at acpivideo0: LCDD
bios0: ROM list: 0xc/0xf800!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x04
vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 5)
drm0 at inteldrm0
Intel 82915GM Video rev 0x04 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801FB HD Audio rev 0x04: apic 1 int 
16 (irq 5)
azalia0: codecs: Realtek ALC662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x04: apic 1 int 16 
(irq 5)
pci1 at ppb0 bus 4
ppb1 at pci0 dev 28 function 1 Intel 82801FB PCIE rev 0x04: apic 1 int 17 
(irq 11)
pci2 at ppb1 bus 3
lii0 at pci2 dev 0 function 0 Attansic Technology L2 rev 0xa0: apic 1 int 17 
(irq 11), address 71:ec:da:32:72:24
ukphy0 at lii0 phy 1: Generic IEEE 802.3u media interface, rev. 2: OUI 
0x001374, model 0x0002
ppb2 at pci0 dev 28 function 2 Intel 82801FB PCIE rev 0x04: apic 1 int 18 
(irq 10)
pci3 at ppb2 bus 1
iwn0 at pci3 dev 0 function 0 Intel Wireless WiFi Link 4965 rev 0x61: apic 1 
int 18 (irq 10), MIMO 2T3R, MoW2, address 00:21:5c:04:9e:19
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x04: apic 1 int 23 
(irq 3)
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x04: apic 1 int 19 
(irq 7)
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x04: apic 1 int 18 
(irq 10)
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x04: apic 1 int 16 
(irq 5)
ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x04: apic 1 int 23 
(irq 3)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd4
pci4 at ppb3 bus 5
ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x04: PM disabled
pciide0 at pci0 dev 31 function 2 Intel 82801FBM SATA rev 0x04: DMA, channel 
0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 1 drive 0: SILICONMOTION SM223AC
wd0: 1-sector PIO, LBA, 3815MB, 7815024 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
ichiic0 at pci0 

ACPI memory leak?

2010-10-16 Thread frantisek holop
i have been watching systat malloc for a while,
and the ACPI line keeps growing, steadily.
is this normal operation, or a sign of memory leak?


TYPE  INUSEMEMUSE  HIGHUSELIMIT   REQUESTS TYPE LI KERN 
LI BUCKETS
ACPI  11614731632   736880 402653181598991   0  
 0 |.|.
...
ACPI  13753868528   873776 402653181995543   0  
 0 |.|.
...
ACPI  14305903856   909104 402653182097879   0  
 0 |.|.
...
ACPI  15845   1002416  1007664 402653182383430   0  
 0 |.|.
...
ACPI  17407   1102384  1107632 402653182673108   0  
 0 |.|.
...
ACPI  18321   1160880  1166128 402653182842846   0  
 0 |.|.


-f

OpenBSD 4.8-current (GENERIC) #435: Thu Oct 14 13:37:41 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M processor 900MHz (GenuineIntel 686-class) 631 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF
real mem  = 527527936 (503MB)
avail mem = 508899328 (485MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/11/09, BIOS32 rev. 0 @ 0xf0010, SMBIOS 
rev. 2.5 @ 0xf06e0 (37 entries)
bios0: vendor American Megatrends Inc. version 1302 date 03/11/2009
bios0: ASUSTeK Computer INC. 701
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC OEMB MCFG
acpi0: wakeup devices P0P3(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) MC97(S4) 
USB1(S3) USB2(S3) USB3(S3) USB4(S3) EUSB(S3)
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 70MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 5 (P0P3)
acpiprt2 at acpi0: bus 3 (P0P5)
acpiprt3 at acpi0: bus 1 (P0P6)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 90 degC
acpibat0 at acpi0: BAT0 model 701 serial   type LION oem ASUS
acpiac0 at acpi0: AC unit offline
acpiasus0 at acpi0
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: PWRB
acpivideo0 at acpi0: VGA_
acpivout0 at acpivideo0: CRTD
acpivout1 at acpivideo0: TVOD
acpivout2 at acpivideo0: LCDD
bios0: ROM list: 0xc/0xf800!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x04
vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 5)
drm0 at inteldrm0
Intel 82915GM Video rev 0x04 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801FB HD Audio rev 0x04: apic 1 int 
16 (irq 5)
azalia0: codecs: Realtek ALC662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x04: apic 1 int 16 
(irq 5)
pci1 at ppb0 bus 4
ppb1 at pci0 dev 28 function 1 Intel 82801FB PCIE rev 0x04: apic 1 int 17 
(irq 11)
pci2 at ppb1 bus 3
lii0 at pci2 dev 0 function 0 Attansic Technology L2 rev 0xa0: apic 1 int 17 
(irq 11), address 71:ec:da:32:72:24
ukphy0 at lii0 phy 1: Generic IEEE 802.3u media interface, rev. 2: OUI 
0x001374, model 0x0002
ppb2 at pci0 dev 28 function 2 Intel 82801FB PCIE rev 0x04: apic 1 int 18 
(irq 10)
pci3 at ppb2 bus 1
iwn0 at pci3 dev 0 function 0 Intel Wireless WiFi Link 4965 rev 0x61: apic 1 
int 18 (irq 10), MIMO 2T3R, MoW2, address 00:21:5c:04:9e:19
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x04: apic 1 int 23 
(irq 3)
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x04: apic 1 int 19 
(irq 7)
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x04: apic 1 int 18 
(irq 10)
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x04: apic 1 int 16 
(irq 5)
ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x04: apic 1 int 23 
(irq 3)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd4
pci4 at ppb3 bus 5
ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x04: PM disabled
pciide0 at pci0 dev 31 function 2 Intel 82801FBM SATA rev 0x04: DMA, channel 
0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 1 drive 0: SILICONMOTION SM223AC
wd0: 1-sector PIO, LBA, 3815MB, 7815024 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
ichiic0 at pci0 dev 31 function 3 Intel 82801FB SMBus rev 0x04: apic 1 int 19 
(irq 0)
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: 

Re: i386 and amd64 snapshots - kernel SHA256 mismatch

2010-10-16 Thread frantisek holop
hmm, on Sat, Oct 16, 2010 at 07:09:03AM +0200, roberth said that
 On Fri, 15 Oct 2010 21:46:41 -0700
 patrick keshishian pkesh...@gmail.com wrote:
 
  as this, where --  the mortal is accused to be a whiner.
 
 (...)
 
 the key words were every time this happens ...
 
 if you find an error or something strange, most likely you aren't the
 first to have encountered it.
 what's the first step? do your homework. homework comes before posting.
 this includes searching the mailinglist-archives.

and FAQ entry could help in this case as well..

-f

-- 
often the test of courage is not to die but to live.



Perfect daemon for a torrentbox

2010-10-16 Thread Paolo Aglialoro
Hi all,

this week I got my hands over a working 200MHz i386 thin client Neoware
ca5, see: http://www.jonshouse.co.uk/neoware_ca5.cgi
This machine had got a 32MB WinCE rom disk over a 44pin IDE bus which I
promptly removed ;))) and a RAM expansion slot which immediately got 256MB
as a whoopping present :))) I'm right now waiting from ebay a compact flash
to 44pin IDE adapter, so that I can stick in 16GB storage :)))

So, this is the perfect torrentbox (and also angbandbox!): 15W max
operating, fanless, kinda fire and forget :)))
As soon as the card arrives the box will get a luxurious -current install
:)))

On CLI I've always used rtorrent as a nice, powerful torrent client.
But this box is meant to run totally headless.
Which means I'll access to it only through ssh.
As far as I know, pls correct me if I'm wrong, rtorrent is not meant to be
run as a daemon, even though somebody on linux already tried to overcome
this: https://bbs.archlinux.org/viewtopic.php?id=53395 or
http://flipsidereality.com/blog/linux/rtorrent-with-wtorrent-on-debian-etch-complete-howto/but
these look like dirty hacks.

I'd therefore like to know which program I could run as a torrent daemon
with the following requisites:
1. accessible/browsable through CLI/ssh every time I connect (http could be
a plus, also to upload .torrent files)
2. supporting level1 IP blacklists
3. supporting protocol encryption

Any good hints for the clue bucket?
Thanks in advance