Re: Playing .ASX files via/within Firefox ?

2011-12-06 Thread Paul B. Mahol
On 12/7/11, Polytropon free...@edvax.de wrote:
 On Tue, 06 Dec 2011 16:02:24 -0800, Ronald F. Guilmette wrote:
 I've been trying to look at California Dept. of Transportation webcams
 using Firefox on FreeBSD and so far it simply ain't workin'.  Somebody
 please tell me what I'm doing wrong.

 Yes, I already installed the mozilla-mplayer port.

 Here's where you can get at the webcams:

 http://www.dot.ca.gov/dist3/departments/traffic/cameras/

 Any help would be appreciated.

 Maybe not what you're searching for, but works:

 First I arbitrarily choose a cam from the map. A
 window opens with a go to live camera link.
 Right click, copy link address.

 I tried to directly play it with mplayer which
 should have worked:

   % mplayer http://video.dot.ca.gov/asx/d3-whitmore-grade-80.asx;

% mplayer -playlist ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Playing .ASX files via/within Firefox ?

2011-12-06 Thread Paul B. Mahol
On 12/7/11, Ronald F. Guilmette r...@tristatelogic.com wrote:

 In message
 CAPYw7P7g=FZDOXc2PGqMHm=C2q5KxgxrvO3=zeirntkzwf9...@mail.gmail.com
 , Paul B. Mahol one...@gmail.com wrote:

On 12/7/11, Polytropon free...@edvax.de wrote:
 On Tue, 06 Dec 2011 16:02:24 -0800, Ronald F. Guilmette wrote:
 I've been trying to look at California Dept. of Transportation webcams
 using Firefox on FreeBSD and so far it simply ain't workin'.  Somebody
 please tell me what I'm doing wrong.

 Yes, I already installed the mozilla-mplayer port.

 Here's where you can get at the webcams:

 http://www.dot.ca.gov/dist3/departments/traffic/cameras/

 Any help would be appreciated.

 Maybe not what you're searching for, but works:

 First I arbitrarily choose a cam from the map. A
 window opens with a go to live camera link.
 Right click, copy link address.

 I tried to directly play it with mplayer which
 should have worked:

 % mplayer http://video.dot.ca.gov/asx/d3-whitmore-grade-80.asx;

% mplayer -playlist ...

 Haha!  Yes!  Adding the -playlist option does apparenty make it possible to
 get mplayer to ``play'' the .asx file itself directly.

 That's swell.

 But I still have the question:  How does one get this to work with Firefox
 (as it should) ?

Isn't there options window from where it is possible to configure plugin?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: wireless help with wep authentication

2011-11-20 Thread Paul B. Mahol
On 11/20/11, Rob Clark rpcl...@tds.net wrote:
 Running fbsd 8.2R on a Dell C640 laptop.
 Using a pcmcia card with atheros.

 My 2wire wireless router comes setup default with
 wep open with wireless security enabled, i.e., needs
 the default passkey from the router.  I cannot get the
 ifconfig line correct so as to authenticate this way,
 and have tried many different strings of text here.

 However, following the handbook, I turned off enable
 security (on the 2wire router) to test things, hence,
 using wep (not as authmode shared or authmode open)
 and it works using the following in /etc/rc.conf:

 wlans_ath0=wlan0
 ifconfig_wlan0=ssid Mynetname DHCP

 Mynetname is different -- of course.

 I can browse the web and ping with 0% packet loss.

 I have not delved into using
 a /etc/wpa_supplicant.conf yet, I was
 hoping i could get it done in rc.conf with ifconfig.

 I have tried many many things, for days on end for
 authenticating with the passkey from the router.
 Any help appreciated, I can provide further info and
 things I've tried -- most things in the handbook
 wireless section, minus wpa_supplicant.conf.

Should adding nwkey key to ifconfig_wlan0 line above be enough?
Key may be in ascii or in hex (in which case it must start with 0x).

As you should probably already know wep provides 0% security so
having wep or open network gives you almost exactly same amount of security.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can't access a music CD (or any other media now)

2011-11-13 Thread Paul B. Mahol
On 10/25/11, Michael D. Norwick mnorw...@centurytel.net wrote:
 Setting these environment variables had no effect on my machine.
 $cdcontrol play 1 still produces drive activity but no sound.  The
 graphical apps I am trying such as Abraca, or MPlayer, still do not seem
 to recognize an audio CD.  Gnome Audio CD Extractor - Sound Juicer -
 still errors with 'No CD-ROM drives found' even though Metallica is in
 the drive.

mplayer needs to be compiled with libcdio to support playing cdda://  cddb://

Then you only need to give -cdrom-device argument to mplayer. But you
do not need that,
something like this will work just fine (from mplayer manual page):

mplayer [cdda|cddb]://track[-endtrack][:speed][/device] [options]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: WLAN issue

2011-07-04 Thread Paul B. Mahol
On 7/3/11, _ pancakekin...@gmail.com wrote:
 Hi List,

 I can't get my WLAN (WPA) to work and I am somewhat at a loss, as to what
 else to try...


 The /etc/rc.conf portion looks like this:

 ifconfig_wi0=WPA DHCP


 My /etc/wpa_supplicant.conf looks like this:

 network={
   ssid=my_ssid
   psk=my_psk
 }

 The above should be fine in terms of how it is set up.


 Invoking ifconfig on the interface tells me that it is connected, however,
 there's still no internet connection.

 # ifconfig wi0
 wi0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 00:02:2d:0f:4f:99
inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps)
status: associated
ssid WLAN-5C7E88 channel 11 (2462 Mhz 11b) bssid 88:25:2c:5c:7e:38
stationname FreeBSD WaveLAN/IEEE node
authmode WPA1+WPA2/802.11i privacy MIXED deftxkey UNDEF bmiss 7
scanvalid 60 roaming MANUAL


 My OS is FreeBSD 7.0.

Why you do not update to 8.2 This way it is far more likely if bug is
still present to be fixed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8.2 RELEASE amd64 support for broadcom 432b(4322)

2011-04-17 Thread Paul B. Mahol
On 4/16/11, Ricardo Gomez ricardo.gomez...@gmail.com wrote:
 I am attempting to run freebsd on a macbook 5, 1. I installed using dvd1 and
 everithing went fine. The only problem is that my
 builtin wireless is a bcm432b which is PITA to make work in any
 non-propietary system.I know for other bcm43xx cards there
 is the bwi driver, but mine isn't supported. I've tried tried

- Ndisgen on bcmwl5.inf and bcmwl564.sys
- Ndisgen on bcmwl6.inf and bcmwl664.sys
- ndiscvt bcmwl5.inf and bcmwl564.sys to ndis_data_header.h and compiling
ndis.ko

 Here's what I noted

- bcmwl564_sys.ko creates an ndis0 interface which seems to work except
it doesn't communicate with the router
- also, when loaded from loader.conf somewhere in the boot sequence the
computer reboots
- bcmwl664_sys.kp does nothing
- The new ndis.ko also does nothing

 This is not my first attempt at FreeBSD on my macbook. The last time the
 major stumbling block was the gpt and sysinstall. Now the big problem for me
 is the wireless because I keep the router in another room. As extra info, in
 Debian Lenny broadcom's wl driver works but iwconfig will NOT work.
 In Ubunu 10.04 broadcom's wl works too but iwconfig won't work and it's very
 slow.

 I'd rather waste space on a networkless BSD. So if not i'll erase the
 partition, install linux(debian), and try FreeBSD in a year or two.

Give more useful info, like AP setup. How are you using wpa_supplicant
and do you use ndis_events?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: optical driver with ahci bios mode but ata(4) driver

2011-03-05 Thread Paul B. Mahol
On Mon, Feb 28, 2011 at 8:31 PM, David Demelier
demelier.da...@gmail.com wrote:
 Hello,

 My bios can be set to use IDE emulation or ahci mode, I prefere the ahci
 mode because it's a bit faster.

 It's probably stupid to stay with ata(4) driver with the ahci mode, isn't
 it? But with ahci(4) driver you can't burn with burncd(8) and cdrecord just
 fail and break an blank cd for nothing.

 I guess this is the correct behavior when trying to use burncd(8) /
 cdcontrol(1) :

 markand@Melon ~ $ burncd msinfo
 burncd: ioctl(CDIOREADTOCHEADER): Input/output error

 markand@Melon ~ $ cdcontrol info
 cdcontrol: getting toc header: Input/output error
 cdcontrol: Input/output error

 But why the optical drive is only affected? If I use ata(4) driver even with
 ahci mode set in the bios, why the hard drive works pretty well?

Are you using atapicam module?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 64-bit Windows XP NDIS drivers giving missing symbols

2011-02-14 Thread Paul B. Mahol
On Mon, Feb 14, 2011 at 5:31 AM, Gautham Ganapathy
 Would these changes be available in 8.2-release?

They should be already in 8.2 RC3 (dunno about loader bug).

Anyway you always can track FreeBSD STABLE and stable branch of
https://github.com/richardpl/NDISulator .
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: computer panics when wifi settings are touched.

2011-01-31 Thread Paul B Mahol
On 1/25/11, Eitan Adler li...@eitanadler.com wrote:
 Recently I tried to connect to the same AP described in the following
 thread:
 http://www.mail-archive.com/freebsd-questions@freebsd.org/msg238799.html

 It worked relatively well until now.

 Whenever I try to use ifconfig, wpa_supplicant, dhclient, or any
 related tool on the wlan0 interface it results in a system freeze. The
 only way to get out of this is to hard reset the computer - but I do
 not see the typical backtrace associated with a panic (even when X is
 not running).

 What debugging information is needed to help solve the problem?

FreeBSD version. Steps to reproduce the problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ndis-based network driver fails to load at boot (8.2-PRERELEASE)

2011-01-26 Thread Paul B Mahol
On Tue, Jan 25, 2011 at 7:28 PM, Yuri y...@rawbw.com wrote:

 Does reverting:

 http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/if_ndis/if_ndis_usb.c.diff?r1=1.19.2.3;r2=1.19.2.4;f=h

 fixed problem?


 Hi Paul,

 So did the find that this particular checkin caused the problem led to some
 resolution? Is it fixed now in 8.X or 9.X?

Should be fixed in 9.0 aka CURRENT and I hope in 8.2 (PRE)RELEASE.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Changing the MAC address on a LAN adapter

2011-01-24 Thread Paul B Mahol
On Sun, Jan 23, 2011 at 3:47 PM, John R. Levine jo...@iecc.com wrote:
 Is this a known problem?  As far as I know, it's supposed to work.

 How you change MAC address? With ether command?

 # ifconfig em0 ether 01:17:a4:8f:04:5d

Well, if it does not work it can be driver bug.

In iwn case try to set MAC address of iwn before creating wlan or
you will need to set same MAC on wlanX and iwn.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Changing the MAC address on a LAN adapter

2011-01-23 Thread Paul B Mahol
On Sun, Jan 23, 2011 at 3:38 AM, John Levine jo...@iecc.com wrote:
 My Lenovo laptop running 8.1 has two ordinary Intel network adapters,
 a wired PRO/1000 with the em driver and a WiFi PRO/Wireless 5300 with
 the iwn driver.  They work fine, but for either one if I use ifconfig
 to change the MAC address, the adapter won't actually work until I
 change the address back to the native one.  Typical symptoms are
 endless DHCP queries with no response.

 Is this a known problem?  As far as I know, it's supposed to work.

How you change MAC address? With ether command?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ndis-based network driver fails to load at boot (8.2-PRERELEASE)

2011-01-18 Thread Paul B Mahol
On Mon, Jan 17, 2011 at 5:12 PM, Yuri y...@rawbw.com wrote:

 Do you load ndis and if_ndis via loader.conf too?


 Yes, presense of if_ndis and ndis in loader.conf doesn't change anything.

Does reverting:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/if_ndis/if_ndis_usb.c.diff?r1=1.19.2.3;r2=1.19.2.4;f=h

fixed problem?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ndis-based network driver fails to load at boot (8.2-PRERELEASE)

2011-01-15 Thread Paul B Mahol
On Sat, Jan 15, 2011 at 1:19 AM, Yuri y...@rawbw.com wrote:
 I have the old module that always worked.
 Begining from some update (~8.1-STABLE), it stopped loading at boot time
 with the messages:
 ...skipped...
 module ndis already present
 KLD file bcmwl5_sys.ko is missing dependencies
 ...skipped...

 /boot/loader.conf has this line that is supposed to, and was loading the
 module:
 bcmwl5_sys_load=YES

 Rebuilding the driver from Windows version with the current ndisgen doesn't
 change anything.
 Loading this module by hand (kldload) after system boots succeeds and it
 runs fine. Although it also says: module ndis already present

 Why it fails to load at boot?

Do you load ndis and if_ndis via loader.conf too?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: WPA Supplicant issue (maybe)

2011-01-08 Thread Paul B Mahol
On Sat, Jan 8, 2011 at 8:18 PM, Chris Brennan xa...@xaerolimit.net wrote:
 Greetings!

 I got bwn to recognize my wireless card, I think there is still something
 missing tho and it's left me scratching my head.

 [r...@blackdragon ~]# dmesg | grep -e bwn -e wlan0
 module_register: module siba_bwn/bwn already exists!
 Module siba_bwn/bwn failed to register: 17
 siba_bwn0: Broadcom BCM4312 802.11b/g Wireless mem 0xfc00-0xfc003fff
 irq 23 at device 0.0 on pci8
 bwn0 on siba_bwn0
 bwn0: WLAN (chipid 0x4312 rev 15) PHY (analog 6 type 5 rev 1) RADIO (manuf
 0x17f ver 0x2062 rev 2)
 bwn0: DMA (64 bits)
 bwn0: Using 1 MSI messages
 bwn0: [FILTER]
 wlan0: Ethernet address: 00:21:00:12:48:86
 bwn_v4_lp_ucode15: could not load firmware image, error 2

Try to load lp firmware instead of non-lp.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: WPA Supplicant issue (maybe)

2011-01-08 Thread Paul B Mahol
On 1/8/11, Chris Brennan xa...@xaerolimit.net wrote:
 On Sat, Jan 8, 2011 at 3:57 PM, Paul B Mahol one...@gmail.com wrote:

 Try to load lp firmware instead of non-lp.



 Paul thanks for getting back to me so quickly. That did the trick. Once I
 loaded the lp driver, it powered up correctly and negotiated with my AP. The
 problem now is I can't route ... which is odd because

 defaultrouter=192.168.0.1

 should cover both interfaces or do I need to do

 defaultrouter_wlan0=192.168.0.1 ?

I do not know your AP setup so I can not answer this. Perhaps AP use
DHCP and you want to bridge wired and wireless device?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this

2010-12-16 Thread Paul B Mahol
On Thu, Dec 16, 2010 at 7:28 PM, Justin V. v...@yeaguy.com wrote:
 interesting.. do you know of a better adapter to use??

 ive done a search on wlan0 and bmiss.. alot of threads regarding that issue,
 but all the threads show bmiss 7 ?? does that seem odd??

FYI, you can change bmiss value with ifconfig(8).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: umask .ape

2010-12-11 Thread Paul B Mahol
 On 12/11/10 17:16, xinyou yan wrote:
 2. anybody who know how to listen   the music like .ape  or flac

Any player which use libavcodec.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 'Broadcom Wireless b/g (BCM4315/BCM22062000)'

2010-12-10 Thread Paul B Mahol
On 12/10/10, Chris Brennan xa...@xaerolimit.net wrote:
 Umm... what's the dea w/ this? More spam?

Not my spam.

If you still think that I actually really send this to you I can not help you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dhclient doesn't work over wireless

2010-12-09 Thread Paul B Mahol
On 12/9/10, Michael mlmichae...@gmail.com wrote:
 On 09/12/2010 02:51, Adam Vande More wrote:
 On Wed, Dec 8, 2010 at 5:01 PM, Michaelmlmichae...@gmail.com  wrote:


 Again, other systems doesn't seem to have any trouble with getting IP
 from
 this DHCP server and wired interface (em0) works fine too.

 Any ideas please?


 Your answer lies within:

 http://www.freebsd.org/cgi/query-pr-summary.cgi

 Ok it looks like PR number 145269. Unfortunately there is no fix yet.
 Thank you for your help, at least I know it's not just me.

That PR is invalid/useless. If you want feedback give more.

You have wpa_supplicant.conf?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8 partitions maximum

2010-12-01 Thread Paul B Mahol
On 12/1/10, David Demelier demelier.da...@gmail.com wrote:
 On 30/11/2010 23:29, Paul B Mahol wrote:
 On 11/30/10, David DEMELIERdemelier.da...@gmail.com  wrote:
 2010/11/30 Paul B Maholone...@gmail.com:
 On 11/30/10, David DEMELIERdemelier.da...@gmail.com  wrote:
 2010/11/30 Patrick Lamaizierepatf...@davenulle.org:
 Le Tue, 30 Nov 2010 21:45:03 +0100,
 David Demelierdemelier.da...@gmail.com  a ecrit :

 Hello,
 Hello,

 We all know that we can only have 8 ufs partitions in one freebsd
 slice. Since OpenBSD and NetBSD can support at most 32 partitions
 iirc.

 I wonder why FreeBSD still lacks more ufs partitions in one slice?

 Is there any plan to grow up max partitions or every work is
 dedicated to ZFS?
 hmmm, isn't already done in 8.X ?
 from what's cooking for FreeBSD 8.0
 http://ivoras.sharanet.org/freebsd/freebsd8.html
 
 bsdlabel gets extended to 26 partitions

 Status: Committed to -CURRENT
 Will appear in 8.0: sure
 Author: Marcel Moolenaar
 Web: commit message

 bsdlabel is (finally!) extended to support more than 8 partitions. The
 new limit of 26 partitions comes from the number of lower-case
 letters.

 To make use of this change, GEOM_PART needs to be used instead of
 GEOM_BSD (this is default in 8.0 but will not work with older
 kernels).
 I don't have GEOM_PART in my kernel, but if you said it's default it
 should be pulled in.

 Regards.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

 But why :

 # /dev/md2s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
a:  10m   164.2BSD0 0
b:  10m   *4.2BSD0 0
d:  10m   *4.2BSD0 0
e:  10m   *4.2BSD0 0
f:  10m   *4.2BSD0 0
g:  10m   *4.2BSD0 0
h:  10m   *4.2BSD0 0
i:  10m   *4.2BSD0 0
j:  10m   *4.2BSD0 0
k:  10m   *4.2BSD0 0

c:  20479730unused0 0 # raw part,
 don't
 edit

 line 11: partition name out of range a-h: i
 line 12: partition name out of range a-h: j
 line 13: partition name out of range a-h: k
 re-edit the label? [y]:

 I'm on 8.1-RELEASE.
 To make use of such feature you need to recreate table with gpart(8).

 bsdlabel is not going to work.

 mark...@melon ~ $ sudo dd if=/dev/zero of=myfile.img bs=1m count=100
 100+0 records in
 100+0 records out
 104857600 bytes transferred in 2.095537 secs (50038530 bytes/sec)
 mark...@melon ~ $ sudo mdconfig -a -f myfile.img -u 2
 mark...@melon ~ $ sudo gpart create -s MBR md2
 md2 created
 mark...@melon ~ $ sudo gpart show md2s1
 gpart: No such geom: md2s1.
 mark...@melon ~ $ sudo gpart add -t freebsd md2
 md2s1 added
 mark...@melon ~ $ sudo gpart add -t freebsd-ufs md2s1
 gpart: No such geom: md2s1.
 mark...@melon ~ $ sudo gpart create -s BSD md2s1
 gpart create -s BSD -n 26 md2s1

 mark...@melon ~ $ sudo gpart create -s BSD -n 26 md0s1
 gpart: entries '26': Invalid argument
 mark...@melon ~ $ sudo gpart create -s BSD -n 8 md0s1
 md0s1 created


Looks like max number is 20, up to md2s1t.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8 partitions maximum

2010-12-01 Thread Paul B Mahol
On 12/1/10, David DEMELIER demelier.da...@gmail.com wrote:
 2010/12/1 Paul B Mahol one...@gmail.com:
 On 12/1/10, David Demelier demelier.da...@gmail.com wrote:
 On 30/11/2010 23:29, Paul B Mahol wrote:
 On 11/30/10, David DEMELIERdemelier.da...@gmail.com  wrote:
 2010/11/30 Paul B Maholone...@gmail.com:
 On 11/30/10, David DEMELIERdemelier.da...@gmail.com  wrote:
 2010/11/30 Patrick Lamaizierepatf...@davenulle.org:
 Le Tue, 30 Nov 2010 21:45:03 +0100,
 David Demelierdemelier.da...@gmail.com  a ecrit :

 Hello,
 Hello,

 We all know that we can only have 8 ufs partitions in one freebsd
 slice. Since OpenBSD and NetBSD can support at most 32 partitions
 iirc.

 I wonder why FreeBSD still lacks more ufs partitions in one slice?

 Is there any plan to grow up max partitions or every work is
 dedicated to ZFS?
 hmmm, isn't already done in 8.X ?
 from what's cooking for FreeBSD 8.0
 http://ivoras.sharanet.org/freebsd/freebsd8.html
 
 bsdlabel gets extended to 26 partitions

 Status: Committed to -CURRENT
 Will appear in 8.0: sure
 Author: Marcel Moolenaar
 Web: commit message

 bsdlabel is (finally!) extended to support more than 8 partitions.
 The
 new limit of 26 partitions comes from the number of lower-case
 letters.

 To make use of this change, GEOM_PART needs to be used instead of
 GEOM_BSD (this is default in 8.0 but will not work with older
 kernels).
 I don't have GEOM_PART in my kernel, but if you said it's default it
 should be pulled in.

 Regards.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

 But why :

 # /dev/md2s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
a:  10m   164.2BSD0 0
b:  10m   *4.2BSD0 0
d:  10m   *4.2BSD0 0
e:  10m   *4.2BSD0 0
f:  10m   *4.2BSD0 0
g:  10m   *4.2BSD0 0
h:  10m   *4.2BSD0 0
i:  10m   *4.2BSD0 0
j:  10m   *4.2BSD0 0
k:  10m   *4.2BSD0 0

c:  20479730unused0 0 # raw
 part,
 don't
 edit

 line 11: partition name out of range a-h: i
 line 12: partition name out of range a-h: j
 line 13: partition name out of range a-h: k
 re-edit the label? [y]:

 I'm on 8.1-RELEASE.
 To make use of such feature you need to recreate table with gpart(8).

 bsdlabel is not going to work.

 mark...@melon ~ $ sudo dd if=/dev/zero of=myfile.img bs=1m count=100
 100+0 records in
 100+0 records out
 104857600 bytes transferred in 2.095537 secs (50038530 bytes/sec)
 mark...@melon ~ $ sudo mdconfig -a -f myfile.img -u 2
 mark...@melon ~ $ sudo gpart create -s MBR md2
 md2 created
 mark...@melon ~ $ sudo gpart show md2s1
 gpart: No such geom: md2s1.
 mark...@melon ~ $ sudo gpart add -t freebsd md2
 md2s1 added
 mark...@melon ~ $ sudo gpart add -t freebsd-ufs md2s1
 gpart: No such geom: md2s1.
 mark...@melon ~ $ sudo gpart create -s BSD md2s1
 gpart create -s BSD -n 26 md2s1

 mark...@melon ~ $ sudo gpart create -s BSD -n 26 md0s1
 gpart: entries '26': Invalid argument
 mark...@melon ~ $ sudo gpart create -s BSD -n 8 md0s1
 md0s1 created


 Looks like max number is 20, up to md2s1t.


 Yes I saw that it was only 20 max, so how to get 26 partitions using
 bsdlabel ? :-)

It is hardcoded. Not my code.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8 partitions maximum

2010-11-30 Thread Paul B Mahol
On 11/30/10, David Demelier demelier.da...@gmail.com wrote:
 Hello,

 We all know that we can only have 8 ufs partitions in one freebsd slice.
 Since OpenBSD and NetBSD can support at most 32 partitions iirc.

 I wonder why FreeBSD still lacks more ufs partitions in one slice?

Actually FreeBSD supports more that 8 ufs partitions via gpart(8).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8 partitions maximum

2010-11-30 Thread Paul B Mahol
On 11/30/10, David DEMELIER demelier.da...@gmail.com wrote:
 2010/11/30 Patrick Lamaiziere patf...@davenulle.org:
 Le Tue, 30 Nov 2010 21:45:03 +0100,
 David Demelier demelier.da...@gmail.com a ecrit :

 Hello,

 Hello,

 We all know that we can only have 8 ufs partitions in one freebsd
 slice. Since OpenBSD and NetBSD can support at most 32 partitions
 iirc.

 I wonder why FreeBSD still lacks more ufs partitions in one slice?

 Is there any plan to grow up max partitions or every work is
 dedicated to ZFS?

 hmmm, isn't already done in 8.X ?
 from what's cooking for FreeBSD 8.0
 http://ivoras.sharanet.org/freebsd/freebsd8.html
 
 bsdlabel gets extended to 26 partitions

 Status: Committed to -CURRENT
 Will appear in 8.0: sure
 Author: Marcel Moolenaar
 Web: commit message

 bsdlabel is (finally!) extended to support more than 8 partitions. The
 new limit of 26 partitions comes from the number of lower-case letters.

 To make use of this change, GEOM_PART needs to be used instead of
 GEOM_BSD (this is default in 8.0 but will not work with older kernels).
 


 I don't have GEOM_PART in my kernel, but if you said it's default it
 should be pulled in.

 Regards.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org


 But why :

 # /dev/md2s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:  10m   164.2BSD0 0
   b:  10m   *4.2BSD0 0
   d:  10m   *4.2BSD0 0
   e:  10m   *4.2BSD0 0
   f:  10m   *4.2BSD0 0
   g:  10m   *4.2BSD0 0
   h:  10m   *4.2BSD0 0
   i:  10m   *4.2BSD0 0
   j:  10m   *4.2BSD0 0
   k:  10m   *4.2BSD0 0

   c:  20479730unused0 0 # raw part, don't
 edit

 line 11: partition name out of range a-h: i
 line 12: partition name out of range a-h: j
 line 13: partition name out of range a-h: k
 re-edit the label? [y]:

 I'm on 8.1-RELEASE.

To make use of such feature you need to recreate table with gpart(8).

bsdlabel is not going to work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8 partitions maximum

2010-11-30 Thread Paul B Mahol
On 11/30/10, David DEMELIER demelier.da...@gmail.com wrote:
 2010/11/30 Paul B Mahol one...@gmail.com:
 On 11/30/10, David DEMELIER demelier.da...@gmail.com wrote:
 2010/11/30 Patrick Lamaiziere patf...@davenulle.org:
 Le Tue, 30 Nov 2010 21:45:03 +0100,
 David Demelier demelier.da...@gmail.com a ecrit :

 Hello,

 Hello,

 We all know that we can only have 8 ufs partitions in one freebsd
 slice. Since OpenBSD and NetBSD can support at most 32 partitions
 iirc.

 I wonder why FreeBSD still lacks more ufs partitions in one slice?

 Is there any plan to grow up max partitions or every work is
 dedicated to ZFS?

 hmmm, isn't already done in 8.X ?
 from what's cooking for FreeBSD 8.0
 http://ivoras.sharanet.org/freebsd/freebsd8.html
 
 bsdlabel gets extended to 26 partitions

 Status: Committed to -CURRENT
 Will appear in 8.0: sure
 Author: Marcel Moolenaar
 Web: commit message

 bsdlabel is (finally!) extended to support more than 8 partitions. The
 new limit of 26 partitions comes from the number of lower-case letters.

 To make use of this change, GEOM_PART needs to be used instead of
 GEOM_BSD (this is default in 8.0 but will not work with older kernels).
 


 I don't have GEOM_PART in my kernel, but if you said it's default it
 should be pulled in.

 Regards.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org


 But why :

 # /dev/md2s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:  10m   164.2BSD0 0
   b:  10m   *4.2BSD0 0
   d:  10m   *4.2BSD0 0
   e:  10m   *4.2BSD0 0
   f:  10m   *4.2BSD0 0
   g:  10m   *4.2BSD0 0
   h:  10m   *4.2BSD0 0
   i:  10m   *4.2BSD0 0
   j:  10m   *4.2BSD0 0
   k:  10m   *4.2BSD0 0

   c:  20479730unused0 0 # raw part,
 don't
 edit

 line 11: partition name out of range a-h: i
 line 12: partition name out of range a-h: j
 line 13: partition name out of range a-h: k
 re-edit the label? [y]:

 I'm on 8.1-RELEASE.

 To make use of such feature you need to recreate table with gpart(8).

 bsdlabel is not going to work.


 mark...@melon ~ $ sudo dd if=/dev/zero of=myfile.img bs=1m count=100
 100+0 records in
 100+0 records out
 104857600 bytes transferred in 2.095537 secs (50038530 bytes/sec)
 mark...@melon ~ $ sudo mdconfig -a -f myfile.img -u 2
 mark...@melon ~ $ sudo gpart create -s MBR md2
 md2 created
 mark...@melon ~ $ sudo gpart show md2s1
 gpart: No such geom: md2s1.
 mark...@melon ~ $ sudo gpart add -t freebsd md2
 md2s1 added
 mark...@melon ~ $ sudo gpart add -t freebsd-ufs md2s1
 gpart: No such geom: md2s1.
 mark...@melon ~ $ sudo gpart create -s BSD md2s1

gpart create -s BSD -n 26 md2s1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 'Broadcom Wireless b/g (BCM4315/BCM22062000)'

2010-11-07 Thread Paul B Mahol
On 11/7/10, Chris Brennan xa...@xaerolimit.net wrote:
 On Thu, Nov 4, 2010 at 9:45 AM, Chris Brennan xa...@xaerolimit.net wrote:


 It is faster/easier to fix NDISulator than to port ndiswrapper to FreeBSD.


 No doubt it would be faster and easier to fix NDISulator then to port
 ndiswrapper. This at least answers my question as to weather ndiswrapper
 actually works/exists in FreeBSD64. So am I basically screwed here for
 wireless till it is fixed (I'm no programmer so it's out of my field of
 expertise)




 So there is no hope for me to get wireless working w/ this card and
 FreeBSD64?

There is hope.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 'Broadcom Wireless b/g (BCM4315/BCM22062000)'

2010-11-04 Thread Paul B Mahol
On 11/3/10, Chris Brennan xa...@xaerolimit.net wrote:
 On Wed, Nov 3, 2010 at 4:41 PM, Mark redt...@sbcglobal.net wrote:


 I've got a dell mini with the same card, it works with 8.0 and 8.1 32 bit
 but I had to use the 32bit XP files with NDISwrapper to get the driver to
 build. HTH


 Not really, as Mr. Mahol has pointed out, NDISulator is not working in a 64
 Bit environment (which I am  am using) and I can't mix 32bit and 64bit
 drivers. So it's great that it's working for you and I am glad it does (and
 continues to) I still need to get it working in a 64bit environment. I tried
 installed FreeBSD32 by mistake and it refused to boot, so I am limited to
 the 64bit version. Does ndiswrapper work in FreeBSD? I couldn't find any
 documentation for it. I do remember using it in linux but I don't remember
 what I did, so I am basically starting all over again.

It is faster/easier to fix NDISulator than to port ndiswrapper to FreeBSD.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 'Broadcom Wireless b/g (BCM4315/BCM22062000)'

2010-11-03 Thread Paul B Mahol
On 11/3/10, Chris Brennan xa...@xaerolimit.net wrote:
 I figured the general users list was a good place to start. I'm somewhat new
 to FreeBSD still, I have one fbsd7.3 home server and it serves it's purposes
 quite nicely. I decided to installed FreeBSD64 on my laptop. For the most
 part, things went very well. I got X/Gnome/OOo3 (for school) installed and
 am trucking along quite nicely. My Hiccup as the subject suggests is about
 my Wireless Card. I have been following the handbook (
 http://www.freebsd.org/doc/handbook/config-network-setup.html) on how to use
 64-bit Windows drivers coupled w/ ndisgen to get my wireless card working. I
 got ndisgen to generate a kernel module but it immediately caused my laptop
 to reboot when the kernel was loaded. This left me scratching my head. I
 think I might need firmware (I remember having to extract firmware from the
 driver for linux).

 pciconf shows the following:

 [r...@blackdragon [~]# pciconf -lv | grep -A3 0x4315
 no...@pci0:8:0:0:   class=0x028000 card=0x137c103c chip=0x431514e4
 rev=0x01 hdr=0x00
 vendor = 'Broadcom Corporation'
 device = 'Broadcom Wireless b/g (BCM4315/BCM22062000)'
 class  = network
 [r...@blackdragon [~]#

 The laptop is an HP dv2845SE and it's running FreebSD64-8.1. Let me know if
 I missed anything.

NDISulator support for amd64 is currently broken.
You can try http://gitorious.org/NDISulator but note that amd64 does
not work for me too.


 Did you know...

 If you play a Windows 2000 CD backwards, you hear satanic messages,

 but what's worse is when you play it forward
   ...it installs Windows 2000

-- Alfred Perlstein on chat at freebsd.org
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ndis driver causes kernel problems on boot

2010-10-13 Thread Paul B Mahol
On 10/13/10, Mark Moellering m...@msen.com wrote:
   I created a driver for my rtl8187 SE in my MSI Wind netbook using ndisgen.
 I placed the driver , rtl8187Se_sys.ko in /boot/modules

 I added rtl8187Se_sys_load=YES in /boot/loader.conf

 I can kldload rtl8187Se_sys and everything seems OK.
 If I reboot, however, I get the following error during boot (truncated
 to what I think is the relevant info);

 Fata trap 12: page fault while in kernel mode
 cpuid = 0; apic id = 00
 fault virtual address= 0xf00032d4
 fault code = supervisor read, page not present
 ...
 current process= 12 (swi4: clock)

 I am a little lost at this point.  If I start in bootloader prompt mode,
 I type;
 OK unload
 OK load /boot/kernel/kernel
 OK boot

 and everything works fine.

 Any and all help is appreciated.

Some miniport drivers (or newer versions of drivers) tend to cause this.
Workaround is to not use loader.conf to load miniport driver (in your
case it is rtl8187Se_sys.ko) and instead load them (manually or
automatically) after boot.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ndis driver causes kernel problems on boot

2010-10-13 Thread Paul B Mahol
On 10/13/10, Mark Moellering m...@msen.com wrote:
   On 13-Oct-10 12:47 PM, Paul B Mahol wrote:
 On 10/13/10, Mark Moelleringm...@msen.com  wrote:
I created a driver for my rtl8187 SE in my MSI Wind netbook using
 ndisgen.
 I placed the driver , rtl8187Se_sys.ko in /boot/modules

 I added rtl8187Se_sys_load=YES in /boot/loader.conf

 I can kldload rtl8187Se_sys and everything seems OK.
 If I reboot, however, I get the following error during boot (truncated
 to what I think is the relevant info);

 Fata trap 12: page fault while in kernel mode
 cpuid = 0; apic id = 00
 fault virtual address= 0xf00032d4
 fault code = supervisor read, page not present
 ...
 current process= 12 (swi4: clock)

 I am a little lost at this point.  If I start in bootloader prompt mode,
 I type;
 OK  unload
 OK  load /boot/kernel/kernel
 OK  boot

 and everything works fine.

 Any and all help is appreciated.
 Some miniport drivers (or newer versions of drivers) tend to cause this.
 Workaround is to not use loader.conf to load miniport driver (in your
 case it is rtl8187Se_sys.ko) and instead load them (manually or
 automatically) after boot.

 OK thanks.  How would I do that exactly (automatically).  I think I need
 to create a shell script to execute the kldload commands but I am not
 sure how/where I should call it.  Thanks for your help.  I am getting a
 little burned out from reading man pages.  Any and all help is apprciated

/etc/rc.local

 Thanks for your help.

 Mark Moellering

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pgt driver for Intersil PRISM ISL3890 cardbus wireless?

2010-10-11 Thread Paul B Mahol
On Thu, Sep 30, 2010 at 3:24 PM, Anton Shterenlikht me...@bristol.ac.uk wrote:
 I've this wireless cardbus card:

 no...@pci0:3:0:0:       class=0x028000 card=0x1260 chip=0x38901260 
 rev=0x01
 hdr=0x00
    vendor     = 'Intersil Americas Inc (Was: Harris Semiconductor)'
    device     = 'PRISM GT 802.11g 54Mbps Wireless Controller (ISL3890)'
    class      = network

 I can't seem to find a driver for it.

 This page
 http://www.openbsd.org/cgi-bin/man.cgi?query=pgt

 suggests that pgt driver supports it. It claims
 the driver was ported to OBSD from FBSD, os it
 probably existed at some point? Perhaps it was
 removed at some point. I can't trace it.

 Can anybody suggest another driver which might
 support this card?

 many thanks
 anton

Hmm, I can only find dead port: net/p54u (for USB)

Perhaps porting from OpenBSD is possible.
For fast road try NDISulator (pcmcia support appears to be broken)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [solved - I hope] Re: if_bwn woes

2010-10-08 Thread Paul B Mahol
On 10/8/10, Eitan Adler li...@eitanadler.com wrote:
 Finally, thank to Freenode's ##freebsd I tried wpa_supplicant which worked.
 I can now connect to the internet.

 I'd still like to know why I must use the program and I can't use the
 raw commands though.

So OPEN authmode is broken somehow? Send a problem report if really is.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: if_bwn woes

2010-10-07 Thread Paul B Mahol
On 10/7/10, Eitan Adler li...@eitanadler.com wrote:
 On a fresh 8.1-RELEASE install

 ifconfig wlan0 scan results in no output and takes forever (ie - it hangs)
If you set wlan0 for manual roaming it will not hang.

Use 'ifconfig wlan0 list scan' instead.

 ifconfig wlan0 ssid my_ssid
 dhclient wlan0
 results in no link being discovered

 Here is some relevant system config and such to help diagnose the problem:

 #ifconfig wlan0 create wlandev bwn0

 #ifconfig bwn0
 bwn0: flags=8843UP,BROADCAST,RUNNIN,SIMPLEX,MULTICAST metric 0 mtu 2290
ether xx:yy:zz:xx:yy:zz
media: IEEE 8.2.11 Wireless Ethernet autoselect mode 11g
status: associated

 # cat /boot/loader.conf |head -2
 bwn_b4_lp_ucode_load=YES
 if_bwn_load=YES

 #kldstat |grep bwn
 2 1 0xc0fb6000 37248 if_bwn.ko
 3 2 0xc0fee000 a26c siba_bwn.ko
 7 1 0xc1078000 2cbd8 bwn_v4_lp_ucode

 #pciconf -lv | grep -A3 bwn
 siba_b...@pci0:4:0:0:  class=0x028000 card=0x04b514e4 chip=0x431514e4
 rev=0x01 hdr=0x00
 vender = 'Broadcom Corporation'
 device = 'Broadcom Wireless b/g (BCM4315/BCM22062000)'
 class= network

 #uname -rms
 FreeBSD 8.1-RELEASE i386

 On a Lenovo G530

 --
 Eitan Adler
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: if_bwn woes

2010-10-07 Thread Paul B Mahol
On 10/7/10, Eitan Adler li...@eitanadler.com wrote:

 ifconfig wlan0 scan results in no output and takes forever (ie - it
 hangs)
 If you set wlan0 for manual roaming it will not hang.

 Use 'ifconfig wlan0 list scan' instead.
 That worked, thanks.

 dhclient still results in no link being found.

Are you sure that you setup is correct?
For example you can not connect to AP which require RSN authmode
if you configure wlan0 for OPEN authmode, you also may not
connect to AP if you are far away, because you are able
to receive and send doesn't mean AP can see your packets 

Try changing ucastrate to lower values.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: if_bwn woes

2010-10-07 Thread Paul B Mahol
On 10/7/10, Eitan Adler li...@eitanadler.com wrote:
 On Thu, Oct 7, 2010 at 2:31 PM, Paul B Mahol one...@gmail.com wrote:
 On 10/7/10, Eitan Adler li...@eitanadler.com wrote:

 ifconfig wlan0 scan results in no output and takes forever (ie - it
 hangs)
 If you set wlan0 for manual roaming it will not hang.

 Use 'ifconfig wlan0 list scan' instead.
 That worked, thanks.

 dhclient still results in no link being found.

 Are you sure that you setup is correct?
 For example you can not connect to AP which require RSN authmode
 if you configure wlan0 for OPEN authmode, you also may not
 connect to AP if you are far away, because you are able
 to receive and send doesn't mean AP can see your packets 

 Try changing ucastrate to lower values.


 I'm not really sure what ucastrate does - but here it goes:

 $ifconfig wlan0 list scan|head -1
 xyz 00:23:xx:yy:zz:aa:bb 1 54M -125:-95 102 E HTCAP WME
 $ifconfig wlan0 ssid xyz
 $dhclient wlan0
 ... no link ...
 $ifconfig wlan0 ucastrate 9
 $dhclient wlan0
 ... no link ...
 $ifconfig wlan0 ucastrate 1
 $dhclient wlan0
 ... no link ...

 I'm fairly sure that I'm in an area where the signal reaches because
 when I was using the ndis driver (on an old install) it worked.
 This is a fresh install now.

Looks like you cant associate at all.
Also signal power is too low.

Why is INT (beacon interval of AP) 102 ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: if_bwn woes

2010-10-07 Thread Paul B Mahol
On 10/7/10, Eitan Adler li...@eitanadler.com wrote:
 Looks like you cant associate at all.
 Also signal power is too low.

 Why is INT (beacon interval of AP) 102 ?

 These are the defaults - I have no idea what these numbers mean. What
 should/could I be changing?

I doubt that AP have capatibility to change that.
Anyway maybe you could associate if your txpower is big enough...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: if_bwn woes

2010-10-07 Thread Paul B Mahol
On 10/7/10, Eitan Adler li...@eitanadler.com wrote:
 On Thu, Oct 7, 2010 at 5:22 PM, Paul B Mahol one...@gmail.com wrote:
 On 10/7/10, Eitan Adler li...@eitanadler.com wrote:
 Looks like you cant associate at all.
 Also signal power is too low.

 Why is INT (beacon interval of AP) 102 ?

 These are the defaults - I have no idea what these numbers mean. What
 should/could I be changing?

 I doubt that AP have capatibility to change that.
 Anyway maybe you could associate if your txpower is big enough...


 Sorry - I realized a brief portion of out conversation was done off-list.

 I just noticed that when I put in the ssid ifconfig seems to be
 cycling among multiple channels (1,5, 11,12,13 ,14 and maybe others).

Well, force it to stay on channel 1 all the time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Unable to access CDROM device to play music

2010-10-06 Thread Paul B Mahol
On 9/26/10, Carmel carmel...@hotmail.com wrote:
 On Sun, 26 Sep 2010 02:03:28 +0200
 Polytropon free...@edvax.de articulated:

 On Sat, 25 Sep 2010 19:46:08 -0400, Carmel carmel...@hotmail.com
 wrote:
  On Sun, 26 Sep 2010 00:49:16 +0200
  Polytropon free...@edvax.de articulated:
 
   Have you tried mounting using the ATAPI driver?
  
# mount -o ro -t cd9660 /dev/acd0 /mnt
  
   Does this work for data CDs?
 
  I get this error message:
 
 mount_cd9660: /dev/acd0: Invalid argument

 This seems to show that there's no ISO-9660 file system on
 the (data) CD, or the session is not finished, or any other
 problem on file system level. Can you check

  % file -  /dev/acd0
  % cdcontrol info

 Here's an example for the output for a data CD:

  % file -  /dev/acd0
  /dev/stdin: ISO 9660 CD-ROM filesystem data
  'FreeBSD_Install' (bootable)

  % cdcontrol info
  Starting track = 1, ending track = 1, TOC size = 18 bytes
  track start  duration   block  length   type
  -
  1   0:02.00  57:57.56   0  260831   data
170  57:59.56 -  260831   -  -

 And for an audio CD:

  % file -  /dev/acd0
  /dev/stdin: ERROR: cannot read `(null)' (Invalid argument)

  % cdcontrol info
  Starting track = 1, ending track = 18, TOC size = 154 bytes
  track start  duration   block  length   type
  -
  1   0:02.00   3:31.03   0   15828  audio
  2   3:33.03   2:52.67   15828   12967  audio
  ...
 17  52:24.53   7:27.30  235703   33555  audio
 18  59:52.08   2:48.67  269258   12667  audio
170  62:41.00 -  281925   -  -

 Do you get the same results for the respective CD content types?

 I made some file permission changes, rebooted and made sure that the
 changes were static, and then ran a few test.

 The cdcontrol program will not play a CDROM although it claims it is. I
 can play an audio CD from within KDE; however, it is like pulling teeth
 to accomplish it. Way too much trouble. MPlayer cannot access the audio
 CD naively.

 DATA CDs are another story. I cannot mount them.

 Using a data CD:

 # file -  /dev/acd0
 /dev/stdin: ERROR: cannot read `(null)' (Input/output error)

 # file -  /dev/cd0
 /dev/stdin: ERROR: cannot read `(null)' (Invalid argument)

 # cdcontrol info
 cdcontrol: getting toc header: Invalid argument
 cdcontrol: Invalid argument

 With an audio CD:

 # file -  /dev/acd0
 /dev/stdin: ERROR: cannot read `(null)' (Invalid argument)

 # file -  /dev/cd0
 /dev/stdin: ERROR: cannot read `(null)' (Device not configured)

 # cdcontrol info
 Starting track = 1, ending track = 3, TOC size = 34 bytes
 track start  duration   block  length   type
 -
 1   0:02.00   6:32.00   0   29400  audio
 2   6:34.00   3:55.12   29400   17637  audio
 3  10:29.12   3:42.23   47037   16673  audio
   170  14:11.35 -   63710   -  -

 Finally, just trying a mount command from the command line:

 $ sudo mount -o ro -t cd9660 /dev/acd0 /mnt
 mount_cd9660: /dev/acd0: Invalid argument

 $ sudo mount -o ro -t cd9660 /dev/cd0 /mnt
 mount_cd9660: /dev/cd0: Device not configured

 This is getting to be far more trouble and wasting way too much time
 than it is worth. I can just put the CDs in one of my Windows machines
 and then transfer the data over the network to the FreeBSD units. What
 is strange is that this use to work before I upgraded.

 By the way, Polytropon, please do not CC me. I am on the list and I
 really do not need two copies of every post. Others may appreciate it;
 however, I don't.

If you are sure that this is not environment issue on you side, maybe
it is because output to cd is broken in new snd_hda requiring manual
setup (unforunatelly this is not trivial).

Look snd_hda(4) for more info. Also try to post to multimedia.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: altering maxdsiz or datasize limit ?

2010-10-05 Thread Paul B Mahol
On 10/5/10, Mark Stosberg m...@summersault.com wrote:

 Hello,

 We've been satisfied FreeBSD users for several years at our hosting
 company.

 Recently we ran into into a problem where a long running cron script was
 dying early because it is hitting FreeBSD's data segment size limit of
 512 Megs, even though the machine has plenty more memory. I would like
 to raise this limit, and am currently using FreeBSD 6.2.

 When I researched this, I first found references to tuning maxdsiz in
 loader.conf, then some pointed out what I found myself this variable
 is no longer documented and perhaps no longer present in FreeBSD 6.2.

 I also found that it appears you can report on it and change it with the
 limits command:

  limits -d 1g

 That appears to work in the sense that the command is allowed and no
 error is returned, but then if I run a follow up limits report again,
 I see that no change is reported to have happened.

 So, how I can actually increase this limit? (Both immediately and
 persisting through a reboot).

kern.maxdsiz

In /boot/loader.conf

You cant increase it immediately.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FW: How to check version of Make in FreeBSD

2010-10-01 Thread Paul B Mahol
On 10/1/10, Chetan Shukla chetan.shu...@aricent.com wrote:


 Hi All,

 I am working on some code porting activity that wants
  Some code to be ported on FreeBSD.
 I need to check the version of Make installed in FreeBSD.
 make -v does not help here.
  What is the similar command in FreeBSD ?

gmake. On serious side there is no way to find version and
freebsd make havent changed much in years

I belive that make is still compatible with other BSDs.
(well maybe I'm wrong)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FW: How to check version of Make in FreeBSD

2010-10-01 Thread Paul B Mahol
On 10/1/10, Devin Teske dte...@vicor.com wrote:
 On 10/1/10, Chetan Shukla chetan.shu...@aricent.com wrote:
  I need to check the version of Make installed in FreeBSD.
  make -v does not help here.
   What is the similar command in FreeBSD ?

 On Fri, 2010-10-01 at 18:33 +, Paul B Mahol wrote:
 gmake. On serious side there is no way to find version and
 freebsd make havent changed much in years...

 On the command-line...

strings `which make` | grep -B1 MAKE_VERSION

 Or in a makefile...

/usr/tmp/Makefile:
all:
   @echo MAKE_VERSION='$(MAKE_VERSION)'

make
MAKE_VERSION='5200408120'

Nice.

 --
 Cheers,
 Devin Teske

 - CONTACT INFORMATION -
 Business Solutions Consultant II
 FIS - fisglobal.com
 510-735-5650 Mobile
 510-621-2038 Office
 510-621-2020 Office Fax
 909-477-4578 Home/Fax
 devin.te...@fisglobal.com

 - LEGAL DISCLAIMER -
 This message  contains confidential  and proprietary  information
 of the sender,  and is intended only for the person(s) to whom it
 is addressed. Any use, distribution, copying or disclosure by any
 other person  is strictly prohibited.  If you have  received this
 message in error,  please notify  the e-mail sender  immediately,
 and delete the original message without making a copy.

 - END TRANSMISSION -


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ld(1) cannot find entry symbol _start;

2010-09-28 Thread Paul B Mahol
On 9/28/10, Anton Shterenlikht me...@bristol.ac.uk wrote:
 I'm trying to learn the very basics of the
 compile - assemble - link process on FreeBSD.
 Please don't shoot me.

 I've this c code:

 % cat tmp.c
 int main() {
 int a;
 int b;
 int c;

 a = 2;
 b = 3;

 c=a*b;
 }

 which I compile into assembly language:

 % gcc -v
 Using built-in specs.
 Target: ia64-undermydesk-freebsd
 Configured with: FreeBSD/ia64 system compiler
 Thread model: posix
 gcc version 4.2.1 20070719  [FreeBSD]

 % gcc -S tmp.c

 I then assemble the object file:

 % gcc -o tmp.o -c tmp.s
 % file tmp.o
 tmp.o: ELF 64-bit LSB relocatable, IA-64, version 1 (FreeBSD), not stripped

 Then I try to link the object file into
 an executable:

 % ld tmp.o

You are missing something in above command.
 ld: warning: cannot find entry symbol _start; defaulting to 20f0

 Finally, when I try to run the executable,
 I get segfault:

 % ./a.out
 Segmentation fault (core dumped)


 Looking at the asm listing, there is indeed no
 _start symbol:


   .file   tmp.c
   .pred.safe_across_calls p1-p5,p16-p63
   .text
   .align 16
   .global main#
   .proc main#
 main:
   .prologue 2, 2
   .vframe r2
   mov r2 = r12
   .body
   ;;
   adds r15 = 8, r2
   addl r14 = 2, r0
   ;;
   st4 [r15] = r14
   adds r15 = 4, r2
   addl r14 = 3, r0
   ;;
   st4 [r15] = r14
   adds r14 = 8, r2
   adds r15 = 4, r2
   ;;
   ld4 r16 = [r14]
   ld4 r14 = [r15]
   ;;
   setf.sig f6 = r16
   setf.sig f7 = r14
   ;;
   xmpy.l f6 = f6, f7
   ;;
   getf.sig r14 = f6
   ;;
   st4 [r2] = r14
   .restore sp
   mov r12 = r2
   br.ret.sptk.many b0
   ;;
   .endp main#
   .ident  GCC: (GNU) 4.2.1 20070719  [FreeBSD]


 What am I missing?

 I'm happy to be referred to FM.

 many thanks
 anton

 --
 Anton Shterenlikht
 Room 2.6, Queen's Building
 Mech Eng Dept
 Bristol University
 University Walk, Bristol BS8 1TR, UK
 Tel: +44 (0)117 331 5944
 Fax: +44 (0)117 929 4423
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Unable to access CDROM device to play music

2010-09-25 Thread Paul B Mahol
On 9/25/10, Carmel carmel...@hotmail.com wrote:
 I am using FreeBSD 8.1 / amd64 with Platform Version 4.5.1 (KDE 4.5.1)
 if that matters.Before updating my system to FreeBSD 8.1 / amd64, I had
 the 7.3 /32 bit version installed. I completely erased the HD prior to
 installed the newer version so as to eliminate any accumulated garbage
 that might be hanging around. Previously, I was able to play CD Audio
 files without any problem. The cdcontrol program worked fine and I
 was able to play music files while using KDE using its audio player.

 I now find that I can no-longer achieve that goal. When I place an audio
 CD into the PC, this error message is displayed: (It will probably wrap)

 Unable to mount Audio Disc
 DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a
 reply (timeout by message bus)


 This is from the system log: (Sorry, but it will probably line wrap)

 Sep 25 07:51:22 cyborg kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST
 asc=0x64 ascq=0x00
 Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0
 0 0 40 0
 Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): CAM status: SCSI Status
 Error
 Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI status: Check
 Condition
 Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI sense: ILLEGAL REQUEST
 asc:64,0 (Illegal mode for this track)
 Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back

 I am at a loss here. I don't believe I made any radical changes from
 the configuration I was using in my older FreeBSD installation.

 I might add that MPlayer cannot see the drive either; although, it use
 to work fine. This problem exists whether KDE is running or not. The
 cdcontrol player will open and close the door on the device; however,
 no sound is emitted. Normal 'notification' sounds are emitted so I know
 the speakers, etc. are working correctly. The KDE start-up
 notifications works just fine.

what is mixer output?
what sound driver are you using?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Change CPU

2010-09-25 Thread Paul B Mahol
On 9/25/10, Jon Otterholm jon.otterh...@ide.resurscentrum.se wrote:
 Hi.



 I am going to upgrade my CPU on a system that I compiled both world and
 kernel on. The current CPU is Core i5-670 and I'm changing to Xeon
 X3470. Will I be able to boot my system or has GCC specific flags for i5
 that won't work with X3470?



 Can I prepare the system in any way to make it boot using the new CPU?

If you never used any flags like CPUTYPE or similar you are pretty safe.

But some ports/programs override such stuff, for example disabling
runtime CPU detection.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 64-bit Windows XP NDIS drivers giving missing symbols

2010-07-24 Thread Paul B Mahol
On Fri, Jul 23, 2010 at 8:33 PM, Gautham Ganapathy gauth...@gmail.com wrote:
 Hi

 I have an Alienware m11x with a Dell 1520 wireless minicard (Broadcom
 BCM4353 chipset). It comes with only Windows 7 drivers, but I was able to
 download Windows XP drivers seperately. However, after I generate the kernel
 module (I am using the 64-bit WinXP driver and freebsd amd64), I get errors
 when I try to load it. It says that the following symbols are missing

 ZwQueryInformationFile
 ZwCreateFile
 ZwReadFile
 IoUnregisterPlugPlayNotification
 ExFreePoolWithTag

 According to MSDN, these were introduced in Windows 2000.

 Is there any way of getting this driver running ?

Such symbols are completly irrelevant for normal operation, because
NDISulator crash on amd64 during driver initialization.
I fixed this in my own git repo, but fpudna in kernel mode (my
understanding is that it is source of panic when trying to use ndis0
device on amd64), present only on amd64 is still not yet fixed - this
should be addressed with fpu_kern KPI available on CURRENT - not done
yet...
Feel free to send patches.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 64-bit Windows XP NDIS drivers giving missing symbols

2010-07-24 Thread Paul B Mahol
On 7/24/10, Jerry freebsd.u...@seibercom.net wrote:
 On Sat, 24 Jul 2010 12:01:24 +
 Paul B Mahol one...@gmail.com articulated:

 Such symbols are completly irrelevant for normal operation, because
 NDISulator crash on amd64 during driver initialization.
 I fixed this in my own git repo, but fpudna in kernel mode (my
 understanding is that it is source of panic when trying to use ndis0
 device on amd64), present only on amd64 is still not yet fixed - this
 should be addressed with fpu_kern KPI available on CURRENT - not done
 yet...
 Feel free to send patches.

 I feel his pain. I need 64 bit drivers for cards that FBSD does not
 support, mostly 'N' protocol wireless cards. The inability to secure
 and use perfectly good drivers that are available for Windows users in
 FreeBSD is a real PIA. Of course, it does give my Window user friends
 something to laugh about.

And bwn(4) doesn't work at all?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: WLAN stops working when idle

2010-07-21 Thread Paul B Mahol
On Mon, Jul 19, 2010 at 11:12 PM, Leonardo M. Ramé martinr...@yahoo.com wrote:
 I have noted that my wlan stops responding when the O.S. does not use the 
 network for a while (10 minutes aprox), and I have to do ifconfig wlan0 down 
  ifconfig wlan0 up  dhclient wlan0 to reconnect.

 The network card is the internal Wi-Fi from my Dell Inspiron 1525, and uses 
 ndis to wrap the WinXp driver.

 /etc/rc.conf:
 ...
 wlans_ndis0=wlan0
 ifconfig_wlan0=WPA SYNCDHCP
 wpa_supplicant_enable=YES
 ...

 /etc/wpa_supplicant.conf

 ctrl_interface=/var/run/wpa_supplicant
 ctrl_interface_group=wheel
 ap_scan=1
 network={
        ssid=strada
        key_mgmt=WPA-PSK
        psk=martin13
 }

 uname -a:

 FreeBSD inspiron-1521 8.1-RC2 FreeBSD 8.1-RC2 #0: Tue Jun 29 20:42:40 UTC 
 2010     r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


 Any hint?

You got any output from wpa_supplicant and console?

You could check this NDISulator code:
http;//gitorious.org/NDISulator

I did some work on new state switching on net80211 layer, so if
connection get lost for any reason it will try to reassociate (code on
HEAD fails badly in this scenario almost always).
I also did support for wep and wpa(2) via bsd driver (you can still
use ndis driver - I'm talking about wpa_supplicant _drivers_) but I
did not tested it much.
You should also run ndis_events(8) so that events from ndis driver are
passed to wpa_supplicant(8).
What version of driver are you using? Newest ones (=5.1 API) I tested
exibit at least one bug in NDISuator which I did not resolved yet.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Xchess?

2010-07-17 Thread Paul B Mahol
On Fri, Jul 16, 2010 at 4:43 PM, Chris Maness ch...@chrismaness.com wrote:
 What ever happened to xchess the gnu-chess engine client?  Did it
 merge into something else?

xboard?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: buffer starvation when recording DVDs

2010-07-14 Thread Paul B Mahol
On Wed, Jul 14, 2010 at 12:46 PM, Alexander Best
alexbes...@uni-muenster.de wrote:
 2010/7/14 Alexander Best alexbes...@uni-muenster.de:
 hi there,

 my dvdr drive supports recording DVDs (both DVD-Rs and DVD+Rs) at a
 maximum speed of 16x. however at speeds of more than ~12x the burner's
 buffer get's filled only ~20%. probably that's why the burner's speed
 get's reduced by `growisofs` (to prevent buffer starvation?). how can
 this happen? the iso i am using lies on my HDD which is quite fast
 (connected via SATA 2.0).

 this is the output of `camcontrol devlist -v`:

 scbus0 on ahcich0 bus 0:
                                  at scbus0 target -1 lun -1 ()
 scbus1 on ahcich1 bus 0:
                                  at scbus1 target -1 lun -1 ()
 scbus2 on ata2 bus 0:
 HL-DT-ST DVDRAM GSA-H10N JL12    at scbus2 target 0 lun 0 (cd0,pass0)
                                  at scbus2 target -1 lun -1 ()
 scbus3 on ahcich2 bus 0:
 SAMSUNG SP2504C VT100-50         at scbus3 target 0 lun 0 (ada0,pass1)
                                  at scbus3 target -1 lun -1 ()
 scbus4 on ahcich3 bus 0:
                                  at scbus4 target -1 lun -1 ()
 scbus5 on ahcich4 bus 0:
                                  at scbus5 target -1 lun -1 ()
 scbus6 on ahcich5 bus 0:
                                  at scbus6 target -1 lun -1 ()
 scbus7 on ahcich6 bus 0:
                                  at scbus7 target -1 lun -1 ()
 scbus8 on ahcich7 bus 0:
                                  at scbus8 target -1 lun -1 ()
 scbus-1 on xpt0 bus 0:
                                  at scbus-1 target -1 lun -1 (xpt0)

 as you can see cd0 and ada0 don't share the same cable (cd0 is PATA,
 ada0 is SATA). the PATA and SATA controllers are:

 atapci0: JMicron JMB363 UDMA133 controller port
 0xd000-0xd007,0xd100-0xd103,0xd200-0xd207,0xd300-0xd303,0xd400-0xd40f
 irq 16 at device 0.1 on pci3

 ahci0: JMicron JMB363 AHCI SATA controller mem 0xf800-0xf8001fff
 irq 19 at device 0.0 on pci3

 sorry for the wrong information. just realized my HDD is connected to
 the intel controller!


 this is the output of `growisofs`:

 Executing 'builtin_dd if=new.iso of=/dev/pass0 obs=32k seek=0'
 /dev/pass0: Current Write Speed is 16.4x1352KBps.
          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
    1114112/4695924736 ( 0.0%) @0.2x, remaining 2036:44 RBU 100.0% UBU   2.9%
    1114112/4695924736 ( 0.0%) @0.0x, remaining 2247:26 RBU 100.0% UBU 100.0%
   19365888/4695924736 ( 0.4%) @4.0x, remaining 144:53 RBU 100.0% UBU 100.0%
   52789248/4695924736 ( 1.1%) @7.2x, remaining 57:10 RBU  99.9% UBU 100.0%
   86736896/4695924736 ( 1.8%) @7.4x, remaining 37:11 RBU 100.0% UBU 100.0%
  121241600/4695924736 ( 2.6%) @7.5x, remaining 28:55 RBU 100.0% UBU  97.1%
  156336128/4695924736 ( 3.3%) @7.6x, remaining 23:42 RBU  99.9% UBU  97.1%
  191954944/4695924736 ( 4.1%) @7.7x, remaining 20:20 RBU 100.0% UBU 100.0%
  228130816/4695924736 ( 4.9%) @7.8x, remaining 18:16 RBU 100.0% UBU 100.0%
  264863744/4695924736 ( 5.6%) @8.0x, remaining 16:27 RBU 100.0% UBU 100.0%
  298352640/4695924736 ( 6.4%) @7.3x, remaining 15:13 RBU 100.0% UBU 100.0%
  336134144/4695924736 ( 7.2%) @8.2x, remaining 14:16 RBU 100.0% UBU 100.0%
  374505472/4695924736 ( 8.0%) @8.3x, remaining 13:16 RBU 100.0% UBU 100.0%
  413401088/4695924736 ( 8.8%) @8.4x, remaining 12:25 RBU  99.9% UBU 100.0%
  452886528/4695924736 ( 9.6%) @8.6x, remaining 11:52 RBU 100.0% UBU 100.0%
  492896256/4695924736 (10.5%) @8.7x, remaining 11:13 RBU 100.0% UBU  97.1%
  533495808/4695924736 (11.4%) @8.8x, remaining 10:39 RBU 100.0% UBU  97.1%
  574619648/4695924736 (12.2%) @8.9x, remaining 10:16 RBU  99.7% UBU 100.0%
  61612/4695924736 (13.1%) @9.0x, remaining 9:49 RBU  99.9% UBU  97.1%
  658538496/4695924736 (14.0%) @9.1x, remaining 9:24 RBU 100.0% UBU  94.1%
  701366272/4695924736 (14.9%) @9.3x, remaining 9:06 RBU 100.0% UBU  97.1%
  744751104/4695924736 (15.9%) @9.4x, remaining 8:45 RBU  99.9% UBU  97.1%
  788660224/4695924736 (16.8%) @9.5x, remaining 8:25 RBU 100.0% UBU  97.1%
  833159168/4695924736 (17.7%) @9.6x, remaining 8:11 RBU 100.0% UBU  97.1%
  878182400/4695924736 (18.7%) @9.8x, remaining 7:53 RBU 100.0% UBU  97.1%
  923762688/4695924736 (19.7%) @9.9x, remaining 7:37 RBU 100.0% UBU  97.1%
  969932800/4695924736 (20.7%) @10.0x, remaining 7:25 RBU 100.0% UBU  97.1%
  1011908608/4695924736 (21.5%) @9.1x, remaining 7:13 RBU 100.0% UBU  97.1%
  1059094528/4695924736 (22.6%) @10.2x, remaining 6:58 RBU 100.0% UBU  97.1%
  1106903040/4695924736 (23.6%) 

Re: please recommend wireless card for amd64 laptop (mini pci (pci-e) or pcmcia)

2010-07-08 Thread Paul B Mahol
On Thu, Jul 8, 2010 at 9:18 AM, Anton Shterenlikht me...@bristol.ac.uk wrote:
 I'd like to set up wireless on amd64 laptop.
 Can somebody recommend a mini pci (pci-e) or
 pcimcia device, that is proven to work?

Look into ath(4) manual page.

Just dont buy newest stuff from atheros because there is no 100% support for it.


 many thanks
 anton


 --
 Anton Shterenlikht
 Room 2.6, Queen's Building
 Mech Eng Dept
 Bristol University
 University Walk, Bristol BS8 1TR, UK
 Tel: +44 (0)117 331 5944
 Fax: +44 (0)117 929 4423
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: wireless on HP compaq 6715s - Broadcom BCM5906m - not supported?

2010-07-05 Thread Paul B Mahol
On Mon, Jul 5, 2010 at 11:54 AM, Anton Shterenlikht me...@bristol.ac.uk wrote:
 I've HP Compaq 6715s laptop.
 Looking at pciconf -lv output, the
 wireless (and ethernet) device is:


 b...@pci0:16:0:0:       class=0x02 card=0x30c2103c chip=0x171314e4 
 rev=0x02 hdr=0x00
    vendor     = 'Broadcom Corporation'
    device     = 'Broadcom NetLink (TM) Fast Ethernet (BCM5906m)'
    class      = network
    subclass   = ethernet

I see only ethernet, which is supported fine.


 I tried to search on the net, including FBSD hardware release notes,
 and it seems this device is not supported.

For wireless check bwi(4) and bwn(4) manual pages.

 Can anybody comment on/confirm this please?

 Any experience using this chip with NDIS?

Works fine on i386, with few known problems with known workarounds.
amd64 is usually broken.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Convert Windows driver via ndisgen

2010-04-29 Thread Paul B Mahol
On Thu, Apr 29, 2010 at 11:00 AM, Jerry freebsd.u...@seibercom.net wrote:
 Apparently, FreeBSD does not have a driver for a Linksys WUSB600N
 network adapter. I was thinking of using the ndisgen utility to create
 a driver via the WinXP version. I have three questions.

 1) The WinXP driver was for an x386 machine. I have a FreeBSD-8/amd64
 PC. From man NDIS(4):

 Note that this means the ndis driver is only useful on x86 machines.

 Am I therefore to assume that even if I do convert the Windows Driver
 to FreeBSD form, it will not work?

You can not use 32bit driver on 64bit OS, NDISulator will panic (I
have patch for that if anybody is interested in comitting it).

 2) If I do successfully extract the driver, is there any way that I can
 have it compiled directly into the kernel as opposed to having it
 loaded via kldload?

It is possible but not practical.

 3) Is there any list that I could contact to request a driver for this
 device. Since I have the device, I would be happy to work with someone
 who actually knows how to write a drive since I don't posess those
 skills.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Convert Windows driver via ndisgen

2010-04-29 Thread Paul B Mahol
On Thu, Apr 29, 2010 at 12:13 PM, Jerry freebsd.u...@seibercom.net wrote:
 On Thu, 29 Apr 2010 11:36:35 +
 Paul one...@gmail.com articulated:

 On Thu, Apr 29, 2010 at 11:00 AM, Jerry freebsd.u...@seibercom.net
 wrote:
  Apparently, FreeBSD does not have a driver for a Linksys WUSB600N
  network adapter. I was thinking of using the ndisgen utility to
  create a driver via the WinXP version. I have three questions.
 
  1) The WinXP driver was for an x386 machine. I have a
  FreeBSD-8/amd64 PC. From man NDIS(4):
 
  Note that this means the ndis driver is only useful on x86
  machines.
 
  Am I therefore to assume that even if I do convert the Windows
  Driver to FreeBSD form, it will not work?

 You can not use 32bit driver on 64bit OS, NDISulator will panic (I
 have patch for that if anybody is interested in comitting it).

 OK, suppose I get the 64bit Windows driver. Could I convert that to one
 FreeBSD could use?
Yes, but note that NDISulator have problems on amd64 with some drivers.

 Why can't you submit the patch yourself?
http://gitorious.org/NDISulator

 
  2) If I do successfully extract the driver, is there any way that I
  can have it compiled directly into the kernel as opposed to having
  it loaded via kldload?

 It is possible but not practical.

 Why? It would seem like a natural extension of the entire process.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: lighten kernel

2010-04-23 Thread Paul B Mahol
On 4/23/10, xyz harvey.two.face.k...@gmail.com wrote:
 Those numbers mean the size in mo, of linux kernel (3.2mo), and freebsd
 kernel (33,9mo) for the same hardware configuration.

My kernel is 2.8 MB and ~30 MB are modules (all of them).

 Is it difficult to update the patch?

Is it difficult to stop top posting.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: lighten kernel

2010-04-22 Thread Paul B Mahol
On 4/22/10, xyz harvey.two.face.k...@gmail.com wrote:
 Hi
 Thank you for your answer
 But I can't believe that lighten the kernel of useless drivers, saves
 only few bytes, by removing whole useless modules (sound, ata/sata, agp...).
 Furthermore, I think about free space that could be save too, in the
 hard drive this time.
 Why for the same configuration, linux kernel is lighter than the Freebsd
 kernel? (3.2mo ; 33.9mo)

Can you be more specific? What those numbers mean?

 And, can you release your patch please?

I can, but it may be out of sync.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: lighten kernel

2010-04-21 Thread Paul B Mahol
On 4/21/10, xyz harvey.two.face.k...@gmail.com wrote:
 Thank you for your answer.
 But how I can only choose the intel agp driver, without all others by
 puting agp in the kernel configuration file?

Currently you can not pick only intel agp code, agp module have
support for other vendors too.
I made patch but it was never committed because it saves only few
bytes of running kernel memory and thats all.
Because bunch of new agp* modules are created it increase kernel size
on disk, if you build all agp modules.

But if you have very little memory you better not to use Xorg and
direct rendering at all.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: USB disk boot issues

2010-04-03 Thread Paul B Mahol
On 4/1/10, Peter Steele pste...@maxiscale.com wrote:
 We clone systems from specially prepared USB flash sticks and this all works
 well, except that occasionally the flash stick fails to boot. It fails at
 the mount root step, saying that it cannot mount the specified root
 partition. We use a labeled partition on the disk to make it device
 independent, so we have something like

 /dev/label/usbroot  /ufsrw 1  1

 in our fstab. When it fails it doesn't recognize this device, and even ?
 doesn't list it as one of the available devices. If we reboot, it's likely
 the problem won't occur again. It seems to be some kind of timing issue. Is
 this a known problem?

Yes, it is.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: random FreeBSD panics

2010-03-31 Thread Paul B Mahol
On 3/31/10, Anoop Kumar Narayanan anoop...@gmail.com wrote:
 On Wed, Mar 31, 2010 at 2:33 AM, Paul B Mahol one...@gmail.com wrote:
 On 3/30/10, Anoop Kumar Narayanan anoop...@gmail.com wrote:
 On Sun, Mar 28, 2010 at 5:33 PM, Gary Jennejohn
 gary.jennej...@freenet.de wrote:
 On Sun, 28 Mar 2010 11:18:59 +
 Masoom Shaikh masoom.sha...@gmail.com wrote:

 On Sun, Mar 28, 2010 at 10:32 AM, Ivan Voras ivo...@freebsd.org
 wrote:
  Masoom Shaikh wrote:
 
  Hello List,
 
  I was a happy FreeBSD user, just before I installed FreeBSD8.0-RC1.
  Since
  then, system randomly just freezes, and there is no option other
  than
  hard
  boot. I guessed this will get solved in 8.0-RELEASE, but it was not
  :(
 
  I wild shot - did you try disabling superpages?
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  freebsd-questions-unsubscr...@freebsd.org
 

 umm, how do I do that ?


 Add this to /boot/loader.conf
 vm.pmap.pg_ps_enabled=0

 I keep getting RW errors while writing into an USB drive, wondering if
 its the same problem is related to your reply ?
 USB mass storage driver seems to be broken.

 Works for me.


 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: Kingston DataTraveler 2.0 1.00 Removable Direct Access SCSI-2
 device
 da0: 40.000MB/s transfers
 da0: 1940MB (3973120 512 byte sectors: 255H 63S/T 247C)
 info: [drm] Num pipes: 2
 info: [drm] Loading R300 Microcode
 info: [drm] Num pipes: 2
 g_vfs_done():da0s1[WRITE(offset=648923648, length=32768)]error = 5
 g_vfs_done():da0s1[WRITE(offset=648956416, length=32768)]error = 5
 g_vfs_done():da0s1[WRITE(offset=648989184, length=32768)]error = 5
 g_vfs_done():da0s1[WRITE(offset=649021952, length=65536)]error = 5
 g_vfs_done():da0s1[WRITE(offset=649087488, length=32768)]error = 5

 Are you sure that your device is not dead (weared out)?

 That seem to have been the case. :P Ran a scan disk on windows and
 fixed it. :) But this doesn't solve the FreeBSD 8.0 frequent crashes.

Weared-out disc can not be fixed (at least not from windows).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: random FreeBSD panics

2010-03-30 Thread Paul B Mahol
On 3/30/10, Anoop Kumar Narayanan anoop...@gmail.com wrote:
 On Sun, Mar 28, 2010 at 5:33 PM, Gary Jennejohn
 gary.jennej...@freenet.de wrote:
 On Sun, 28 Mar 2010 11:18:59 +
 Masoom Shaikh masoom.sha...@gmail.com wrote:

 On Sun, Mar 28, 2010 at 10:32 AM, Ivan Voras ivo...@freebsd.org wrote:
  Masoom Shaikh wrote:
 
  Hello List,
 
  I was a happy FreeBSD user, just before I installed FreeBSD8.0-RC1.
  Since
  then, system randomly just freezes, and there is no option other than
  hard
  boot. I guessed this will get solved in 8.0-RELEASE, but it was not :(
 
  I wild shot - did you try disabling superpages?
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  freebsd-questions-unsubscr...@freebsd.org
 

 umm, how do I do that ?


 Add this to /boot/loader.conf
 vm.pmap.pg_ps_enabled=0

 I keep getting RW errors while writing into an USB drive, wondering if
 its the same problem is related to your reply ?
 USB mass storage driver seems to be broken.

Works for me.


 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: Kingston DataTraveler 2.0 1.00 Removable Direct Access SCSI-2 device
 da0: 40.000MB/s transfers
 da0: 1940MB (3973120 512 byte sectors: 255H 63S/T 247C)
 info: [drm] Num pipes: 2
 info: [drm] Loading R300 Microcode
 info: [drm] Num pipes: 2
 g_vfs_done():da0s1[WRITE(offset=648923648, length=32768)]error = 5
 g_vfs_done():da0s1[WRITE(offset=648956416, length=32768)]error = 5
 g_vfs_done():da0s1[WRITE(offset=648989184, length=32768)]error = 5
 g_vfs_done():da0s1[WRITE(offset=649021952, length=65536)]error = 5
 g_vfs_done():da0s1[WRITE(offset=649087488, length=32768)]error = 5

Are you sure that your device is not dead (weared out)?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NDIS failed under 8.0, please help

2010-03-17 Thread Paul B Mahol
Make use of google.

You need to create wlanX first.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Full Unicode Support for FreeBSD

2010-03-13 Thread Paul B Mahol
On 3/12/10, Chuck Swiger cswi...@mac.com wrote:
 Hi, Elmar--

 On Mar 12, 2010, at 9:54 AM, Elmar Stellnberger wrote:
  I am looking forward to engage in FreeBSD by implementing ext3-support
 and a suspend to disk facility.

 mount_ext2fs or fusefs ought to work with ext3 filesystems.

 zzz or acpiconf -s 4 ought to address the suspend to disk facility, but it
 depends greatly upon the quality of the BIOS to actually conform with the
 ACPI spec.


I believe that OP is talking about OS support and not about BIOS support.

Linux _have_ OS support for suspend to disk, freebsd does not.
 If there would be any interest I also ported my checkroot facility
 (http://www.elstel.com/checkroot/).

 How is this different from what's already available:

   http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html

 ...or via something like tripwire?  If you're only doing MD5 and not
 something like SHA1 or SHA256 (or multiple checksums, better yet), I don't
 see the point

 However all these little configuration issues like UTF-8 support are
 out of the scope what I can do because I am not a packager.

 I'm not sure what you mean by UTF-8 support.  FreeBSD itself does
 reasonably well, and the quality of third-party ports varies.

 I would be glad if the responsible packagers or anyone else was willing to
 engage
 in this. At least I will have to think about my engagement in terms of
 community support for precious issues like this one.

 It's unclear what you mean by this.  At the basic level, things happen by
 people writing changes and submitting patches.  There is no shortage of
 opinions which are sadly lacking code.  :-)

 Regards,
 --
 -Chuck

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Flash viewer for FBSD

2010-03-06 Thread Paul B Mahol
On 3/6/10, C. P. Ghost cpgh...@cordula.ws wrote:
 On Sat, Mar 6, 2010 at 9:25 AM, Polytropon free...@edvax.de wrote:
 On Sat, 6 Mar 2010 09:03:58 +0100, Sabine Baer bae...@t-online.de wrote:
 Well, it is, indeed. Me I am very glad beeing able to do eg
 linux-opera -display :0 http://www.youtube.com/watch?v=bhmf4l4OxNw
 since I live in a Windows free zone at home.

 Well, there's always youtube-dl -a for that. Just for YT
 I don't need Flash.

 That's true. I love youtube-dl too, as it helps me keep a local
 .flv copy, even for videos that have been removed for one reason
 or another.

 However, there are other video sites like dailymotion. What
 downloader do you use for these?

clive, and it can pass url directly to mplayer, so it works with lynx
and elinks too. (vlc and xine should also work ...)
clive also allow to pick quality of video.


 And remember, youtube-dl is a hack. It can break anytime
 YT changes its embedding. I wished YouTube would switch
 to HTML5, or at least added this as an option.

 The need, to illustrate that, is
 often nothing more than a useless barrier built by people
 who don't seem to know better. As I said before, most things
 that Flash can do could be achieved with standardized (!)
 and free means. And often, Flash is (ab)used to do idiotic
 things like simply providing animated buttons.

 I've talked with the IT department of a company recently who
 had to switch from perfectly usable barrier-less HTML to Flash.
 Actually, the IT guys didn't want to, but their management was
 adamant. The main reason wasn't buttons or little animations,
 but something much more mundane: the graphics design
 company they hired to create their new corporate identity
 insisted that the only way to get a 100% pixel-precise layout
 was with Flash... and management fell for it. Basically, they
 wanted to duplicate their glossy brochures 1:1, and didn't care
 about reduced usability and accessibility. Incredibly silly move,
 but their company, their decision.

 With the upcoming HTML 5 standard, there's even a chance that
 Flash will be ignored by the rest of the world sooner
 or later.

 HTML 5 isn't the problem, that will be easy to implement. It's about
 picking the right video codec. There's no high quality codec available
 that is both ubiquitous in hardware, and unencumbered by patents.

 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

 -cpghost.

 --
 Cordula's Web. http://www.cordula.ws/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Compiler Flags problem with core2 CPU

2010-02-28 Thread Paul B Mahol
On 2/28/10, Aaron Lewis aaron.lewis1...@gmail.com wrote:
 Hi,
 I gonna recompile kernel for my core2 CPU , so i'd like to pass some
 flags to gcc.
 Kinds of -march=core2 , i tried to modify /etc/make.conf

 e.gCFLAGS += -march=core2 -O20 -ffast-math -mfpmath=sse
 But it fails .. bad arch switch , core2 cpu is not supported ?
It is bad idea to compile kernel with custom flags. And gcc in FreeBSD
doesn't know about core2,
use 'native' if you must.


 And is that useful to let gcc select cpu specified asm code ?

Only for some userland stuff like openssl.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Compiler Flags problem with core2 CPU

2010-02-28 Thread Paul B Mahol
Do not top post.

On 2/28/10, Aaron Lewis aaron.lewis1...@gmail.com wrote:
 Really ? It's bad to use custom flags to compile kernel , why do you
 think so ?
 I'd like to know more about this : )

Use google.

 So setting optimize compiler flags is only useful for userland stuff ?

 Paul B Mahol wrote:
 On 2/28/10, Aaron Lewis aaron.lewis1...@gmail.com wrote:

 Hi,
 I gonna recompile kernel for my core2 CPU , so i'd like to pass some
 flags to gcc.
 Kinds of -march=core2 , i tried to modify /etc/make.conf

 e.gCFLAGS += -march=core2 -O20 -ffast-math -mfpmath=sse
 But it fails .. bad arch switch , core2 cpu is not supported ?

 It is bad idea to compile kernel with custom flags. And gcc in FreeBSD
 doesn't know about core2,
 use 'native' if you must.


 And is that useful to let gcc select cpu specified asm code ?


 Only for some userland stuff like openssl.



 --
 Best Regards,
 Aaron Lewis - PGP: 0xA476D2E9
 irc: A4r0n on freenode


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RTL8192SE WLAN

2010-02-19 Thread Paul B Mahol
On 2/18/10, Anselm Strauss amsiba...@gmail.com wrote:

 On Feb 17, 2010, at 23:36 , Paul B Mahol wrote:

 On 2/17/10, Anselm Strauss amsiba...@gmail.com wrote:
 On Feb 17, 2010, at 13:54 , Paul B Mahol wrote:
 I use 8.0. Here is the script of what I did to manually setup the card:

 Script started on Wed Feb 17 21:33:08 2010
 [r...@thor ~]# kldload rtl8192se_sys
 [r...@thor ~]# ifconfig ndis0
 ndis0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 2290
 ether 00:25:d3:93:50:c8
 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
 status: no carrier
 [r...@thor ~]# ifconfig ndis0 list caps

 That is net80211 (funny) problem.
 ifconfig: unable to get device capabilities: Invalid argument
 [r...@thor ~]# ifconfig wlan0 create wlandev ndis0
 [r...@thor ~]# ifconfig wlan0
 wlan0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
 ether 00:25:d3:93:50:c8
 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
 status: no carrier
 ssid  channel 1 (2412 Mhz 11b)
 country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60
 bintval 0
 [r...@thor ~]# ifconfig wlan0 list caps
 drivercaps=1802303STA,803ENCAP,IBSS,PMGT,TXPMGT,WPA1,WPA2
 cryptocaps=bWEP,TKIP,AES_CCM
 [r...@thor ~]# cat /etc/wpa_supplicant.conf
 ap_scan=2
 network={
  ssid=ttyv0
  scan_ssid=1
  proto=WPA2
  key_mgmt=WPA-PSK
  pairwise=CCMP
  group=CCMP
  psk=(removed)
 }
 [ro...@thor ~]# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -dddt

 Not going to work, you need explicit '-D ndis' flag.

 Anyway you just need this entry in rc.conf:

 wlans_ndis0=wlan0
 ifconfig_wlan0=WPA SYNCDHCP
 wpa_supplicant_conf_file=/etc/wpa_supplicant.conf

 '-D bsd', default one, works only for wep and only in my git repo.

 1266441009.079270: Initializing interface 'wlan0' conf
 '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge
 'N/A'
 1266441009.080825: Configuration file '/etc/wpa_supplicant.conf' -
 '/etc/wpa_supplicant.conf'
 1266441009.081640: Reading configuration file '/etc/wpa_supplicant.conf'
 1266441009.082993: ap_scan=2
 1266441009.083143: Line: 2 - start of a new network block
 1266441009.084136: ssid - hexdump_ascii(len=5):
 74 74 79 76 30ttyv0
 1266441009.084487: scan_ssid=1 (0x1)
 1266441009.084612: proto: 0x2
 1266441009.084719: key_mgmt: 0x2
 1266441009.084822: pairwise: 0x10
 1266441009.084943: group: 0x10
 1266441009.085040: PSK (ASCII passphrase) - hexdump_ascii(len=10):
 [REMOVED]
 1266441009.396285: PSK (from passphrase) - hexdump(len=32): [REMOVED]
 1266441009.396530: Priority group 0
 1266441009.396561:id=0 ssid='ttyv0'
 1266441009.396585: Initializing interface (2) 'wlan0'
 1266441009.400393: Own MAC address: 00:25:d3:93:50:c8
 1266441009.400453: wpa_driver_bsd_set_wpa: enabled=1
 1266441009.400558: wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
 1266441009.400618: wpa_driver_bsd_del_key: keyidx=0
 1266441009.400652: wpa_driver_bsd_del_key: keyidx=1
 1266441009.400680: wpa_driver_bsd_del_key: keyidx=2
 1266441009.400707: wpa_driver_bsd_del_key: keyidx=3
 See wpa_supplicant use bsd driver.
 1266441009.400738: wpa_driver_bsd_set_countermeasures: enabled=0
 1266441009.400768: wpa_driver_bsd_set_drop_unencrypted: enabled=1
 1266441009.400798: RSN: flushing PMKID list in the driver
 1266441009.400862: Setting scan request: 0 sec 10 usec
 1266441009.434450: EAPOL: SUPP_PAE entering state DISCONNECTED
 1266441009.434501: EAPOL: KEY_RX entering state NO_KEY_RECEIVE
 1266441009.434521: EAPOL: SUPP_BE entering state INITIALIZE
 1266441009.434652: EAP: EAP entering state DISABLED
 1266441009.434765: Added interface wlan0
 1266441009.503454: State: DISCONNECTED - SCANNING
 1266441009.503527: Trying to associate with SSID 'ttyv0'
 1266441009.503553: Cancelling scan request
 1266441009.503574: WPA: clearing own WPA/RSN IE
 1266441009.503593: Automatic auth_alg selection: 0x1
 1266441009.503624: wpa_driver_bsd_set_auth_alg alg 0x1 authmode 1
 1266441009.503668: WPA: No WPA/RSN IE available from association info
 1266441009.503767: WPA: Set cipher suites based on configuration
 1266441009.503783: WPA: Selected cipher suites: group 16 pairwise 16
 key_mgmt 2 proto 2
 1266441009.503803: WPA: clearing AP WPA IE
 1266441009.503821: WPA: clearing AP RSN IE
 1266441009.503844: WPA: using GTK CCMP
 1266441009.503866: WPA: using PTK CCMP
 1266441009.503891: WPA: using KEY_MGMT WPA-PSK
 1266441009.503913: WPA: Set own WPA IE default - hexdump(len=22): 30 14
 01
 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
 1266441009.503962: No keys have been configured - skip key clearing
 1266441009.503984: wpa_driver_bsd_set_drop_unencrypted: enabled=1
 1266441009.504016: State: SCANNING - ASSOCIATING
 1266441009.504048: wpa_driver_bsd_associate: ssid 'ttyv0' wpa ie len 22
 pairwise 3 group 3 key mgmt 1
 1266441009.504104: wpa_driver_bsd_associate: set PRIVACY 1
 ioctl[SIOCS80211, op 21, len 42]: No such file or directory

Re: RTL8192SE WLAN

2010-02-17 Thread Paul B Mahol
On 2/17/10, Anselm Strauss amsiba...@gmail.com wrote:
 On Tue, Feb 16, 2010 at 11:28 PM, Paul B Mahol one...@gmail.com wrote:

 On 2/16/10, Anselm Strauss amsiba...@gmail.com wrote:
  Hey,
 
  anybody got the RTL8192SE wireless chip to work with FreeBSD? I bought a
  Asus 1201N laptop. I successfully compiled the Windows XP driver with
  ndisgen(8). The driver loads and the device is there. On the FreeBSD
 EeePC
  wiki it says it's a 8191 chip, but when I look at the driver download
 from
  Asus and dmesg it's reported as 8192. The driver seems to work at least
 in
  some way since I'm able to scan for networks and get a list. But I
  cannot
  connect to a WPA2 network. Association with the network always fails in
  wpa_supplicant(8).

 Maybe there is some kind of timeout, I could send you small patch to test
 it.
 Just post full verbose debug output from wpa_supplicant(8)

 Anyway, feel free to test http://www.gitorious.org/NDISulator

  Anyone has some experience?

 You are using wpa_supplicant with -D ndis flag, right?


 Hm, interesting. No, I didn't know this option. Can't find it on the
 wpa_supplicant manpage. But I will try it ...

You do not need it if you use 8.0 and you start wpa_supplicant via rc.conf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I want to submit a solution to solve a bug

2010-02-17 Thread Paul B Mahol
On Wed, Feb 17, 2010 at 6:20 PM, Jeff Mo mo0...@gmail.com wrote:
 Hello,

 I found the solution about why this bug occurs.
 http://www.freebsd.org/cgi/query-pr.cgi?pr=125239cat=
Make use of Submit Followup link.
 I would like to contribute my knowledge to FreeBSD website but do not
 know where to start.
 Can you let me know what's the next step if I want to submit a solution?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RTL8192SE WLAN

2010-02-17 Thread Paul B Mahol
On 2/17/10, Anselm Strauss amsiba...@gmail.com wrote:
 On Feb 17, 2010, at 13:54 , Paul B Mahol wrote:

 On 2/17/10, Anselm Strauss amsiba...@gmail.com wrote:
 On Tue, Feb 16, 2010 at 11:28 PM, Paul B Mahol one...@gmail.com wrote:

 On 2/16/10, Anselm Strauss amsiba...@gmail.com wrote:
 Hey,

 anybody got the RTL8192SE wireless chip to work with FreeBSD? I bought
 a
 Asus 1201N laptop. I successfully compiled the Windows XP driver with
 ndisgen(8). The driver loads and the device is there. On the FreeBSD
 EeePC
 wiki it says it's a 8191 chip, but when I look at the driver download
 from
 Asus and dmesg it's reported as 8192. The driver seems to work at least
 in
 some way since I'm able to scan for networks and get a list. But I
 cannot
 connect to a WPA2 network. Association with the network always fails in
 wpa_supplicant(8).

 Maybe there is some kind of timeout, I could send you small patch to
 test
 it.
 Just post full verbose debug output from wpa_supplicant(8)

 Anyway, feel free to test http://www.gitorious.org/NDISulator

 Anyone has some experience?

 You are using wpa_supplicant with -D ndis flag, right?


 Hm, interesting. No, I didn't know this option. Can't find it on the
 wpa_supplicant manpage. But I will try it ...

 You do not need it if you use 8.0 and you start wpa_supplicant via rc.conf

 I use 8.0. Here is the script of what I did to manually setup the card:

 Script started on Wed Feb 17 21:33:08 2010
 [r...@thor ~]# kldload rtl8192se_sys
 [r...@thor ~]# ifconfig ndis0
 ndis0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 2290
   ether 00:25:d3:93:50:c8
   media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
   status: no carrier
 [r...@thor ~]# ifconfig ndis0 list caps

That is net80211 (funny) problem.
 ifconfig: unable to get device capabilities: Invalid argument
 [r...@thor ~]# ifconfig wlan0 create wlandev ndis0
 [r...@thor ~]# ifconfig wlan0
 wlan0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
   ether 00:25:d3:93:50:c8
   media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
   status: no carrier
   ssid  channel 1 (2412 Mhz 11b)
   country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60
   bintval 0
 [r...@thor ~]# ifconfig wlan0 list caps
 drivercaps=1802303STA,803ENCAP,IBSS,PMGT,TXPMGT,WPA1,WPA2
 cryptocaps=bWEP,TKIP,AES_CCM
 [r...@thor ~]# cat /etc/wpa_supplicant.conf
 ap_scan=2
 network={
   ssid=ttyv0
   scan_ssid=1
   proto=WPA2
   key_mgmt=WPA-PSK
   pairwise=CCMP
   group=CCMP
   psk=(removed)
 }
 [ro...@thor ~]# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -dddt

Not going to work, you need explicit '-D ndis' flag.

Anyway you just need this entry in rc.conf:

wlans_ndis0=wlan0
ifconfig_wlan0=WPA SYNCDHCP
wpa_supplicant_conf_file=/etc/wpa_supplicant.conf

'-D bsd', default one, works only for wep and only in my git repo.

 1266441009.079270: Initializing interface 'wlan0' conf
 '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge
 'N/A'
 1266441009.080825: Configuration file '/etc/wpa_supplicant.conf' -
 '/etc/wpa_supplicant.conf'
 1266441009.081640: Reading configuration file '/etc/wpa_supplicant.conf'
 1266441009.082993: ap_scan=2
 1266441009.083143: Line: 2 - start of a new network block
 1266441009.084136: ssid - hexdump_ascii(len=5):
  74 74 79 76 30ttyv0
 1266441009.084487: scan_ssid=1 (0x1)
 1266441009.084612: proto: 0x2
 1266441009.084719: key_mgmt: 0x2
 1266441009.084822: pairwise: 0x10
 1266441009.084943: group: 0x10
 1266441009.085040: PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
 1266441009.396285: PSK (from passphrase) - hexdump(len=32): [REMOVED]
 1266441009.396530: Priority group 0
 1266441009.396561:id=0 ssid='ttyv0'
 1266441009.396585: Initializing interface (2) 'wlan0'
 1266441009.400393: Own MAC address: 00:25:d3:93:50:c8
 1266441009.400453: wpa_driver_bsd_set_wpa: enabled=1
 1266441009.400558: wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
 1266441009.400618: wpa_driver_bsd_del_key: keyidx=0
 1266441009.400652: wpa_driver_bsd_del_key: keyidx=1
 1266441009.400680: wpa_driver_bsd_del_key: keyidx=2
 1266441009.400707: wpa_driver_bsd_del_key: keyidx=3
See wpa_supplicant use bsd driver.
 1266441009.400738: wpa_driver_bsd_set_countermeasures: enabled=0
 1266441009.400768: wpa_driver_bsd_set_drop_unencrypted: enabled=1
 1266441009.400798: RSN: flushing PMKID list in the driver
 1266441009.400862: Setting scan request: 0 sec 10 usec
 1266441009.434450: EAPOL: SUPP_PAE entering state DISCONNECTED
 1266441009.434501: EAPOL: KEY_RX entering state NO_KEY_RECEIVE
 1266441009.434521: EAPOL: SUPP_BE entering state INITIALIZE
 1266441009.434652: EAP: EAP entering state DISABLED
 1266441009.434765: Added interface wlan0
 1266441009.503454: State: DISCONNECTED - SCANNING
 1266441009.503527: Trying to associate with SSID 'ttyv0'
 1266441009.503553: Cancelling scan request
 1266441009.503574: WPA

Re: RTL8192SE WLAN

2010-02-17 Thread Paul B Mahol
On 2/17/10, Anselm Strauss amsiba...@gmail.com wrote:
 I just noticed I forgot to load the wlan_xauth module. Did so now, but it
 doesn't change anything.

ndis(4) cant use that one. Maybe one day whan NDIS api get usable
hostap support.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RTL8192SE WLAN

2010-02-16 Thread Paul B Mahol
On 2/16/10, Anselm Strauss amsiba...@gmail.com wrote:
 Hey,

 anybody got the RTL8192SE wireless chip to work with FreeBSD? I bought a
 Asus 1201N laptop. I successfully compiled the Windows XP driver with
 ndisgen(8). The driver loads and the device is there. On the FreeBSD EeePC
 wiki it says it's a 8191 chip, but when I look at the driver download from
 Asus and dmesg it's reported as 8192. The driver seems to work at least in
 some way since I'm able to scan for networks and get a list. But I cannot
 connect to a WPA2 network. Association with the network always fails in
 wpa_supplicant(8).

Maybe there is some kind of timeout, I could send you small patch to test it.
Just post full verbose debug output from wpa_supplicant(8)

Anyway, feel free to test http://www.gitorious.org/NDISulator

 Anyone has some experience?

You are using wpa_supplicant with -D ndis flag, right?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NTOS: Timer fired even though it was canceled

2010-02-14 Thread Paul B Mahol
On Sun, Feb 14, 2010 at 8:35 AM, Eitan Adler eitanadlerl...@gmail.com wrote:
 On Sun, Feb 14, 2010 at 2:53 AM, Paul B Mahol one...@gmail.com wrote:
 On 2/13/10, Eitan Adler eitanadlerl...@gmail.com wrote:
 On Sun, Feb 14, 2010 at 12:31 AM, Paul B Mahol one...@gmail.com wrote:
 On 2/13/10, Eitan Adler eitanadlerl...@gmail.com wrote:
 On Fri, Feb 12, 2010 at 1:12 PM, Paul B Mahol one...@gmail.com wrote:
 On 2/11/10, Eitan Adler eitanadlerl...@gmail.com wrote:
 What miniport driver, what arch, how to reproduce it?
 a) no idea
 b) Sorry for leaving that out: 8.0-RELEASE-p2 i386
 c) Boot the computer and watch tty0

 Does it happens also if you load module (bcmwl5_sys.ko) after boot via
 kldload instead via /boot/loader.conf

 Is this what you mean?

 Id Refs Address    Size     Name
  8    1 0xc101c000 1ddb8    if_bwi.ko
  9    1 0xc103a000 180ae4   if_bwi_ndis.ko

 if_bwi is unrelated to NDIS.

 I'm asking about module you created with ndisgen.


 If you meant loading these via kldload instead of at boot time then
 No,
 But when I put it back in I also no longer see the warning.



 I didn't recognize what you meant with bcmwl5_sys.ko.
 Either way the answer applies: I no longer see the warning regardless
 of whether it is in /boot/loader.conf or not. Perhaps it was an
 intermittent problem? If so what could it mean?

 Are you using bwi(4) and ndis(4) at same time for same device?


 No - I was trying to get if_bwi working but the device never shows up.
 I removed it from /boot/loader.conf


Can you explain what you did in detail and it have something to do with ndis(4)?
Did you ever used ndisgen(8)?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NTOS: Timer fired even though it was canceled

2010-02-13 Thread Paul B Mahol
On 2/13/10, Eitan Adler eitanadlerl...@gmail.com wrote:
 On Fri, Feb 12, 2010 at 1:12 PM, Paul B Mahol one...@gmail.com wrote:
 On 2/11/10, Eitan Adler eitanadlerl...@gmail.com wrote:
 What miniport driver, what arch, how to reproduce it?
 a) no idea
 b) Sorry for leaving that out: 8.0-RELEASE-p2 i386
 c) Boot the computer and watch tty0

 Does it happens also if you load module (bcmwl5_sys.ko) after boot via
 kldload instead via /boot/loader.conf

 Is this what you mean?

 Id Refs AddressSize Name
  81 0xc101c000 1ddb8if_bwi.ko
  91 0xc103a000 180ae4   if_bwi_ndis.ko

if_bwi is unrelated to NDIS.

I'm asking about module you created with ndisgen.


 If you meant loading these via kldload instead of at boot time then
 No,
 But when I put it back in I also no longer see the warning.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NTOS: Timer fired even though it was canceled

2010-02-13 Thread Paul B Mahol
On 2/13/10, Eitan Adler eitanadlerl...@gmail.com wrote:
 On Sun, Feb 14, 2010 at 12:31 AM, Paul B Mahol one...@gmail.com wrote:
 On 2/13/10, Eitan Adler eitanadlerl...@gmail.com wrote:
 On Fri, Feb 12, 2010 at 1:12 PM, Paul B Mahol one...@gmail.com wrote:
 On 2/11/10, Eitan Adler eitanadlerl...@gmail.com wrote:
 What miniport driver, what arch, how to reproduce it?
 a) no idea
 b) Sorry for leaving that out: 8.0-RELEASE-p2 i386
 c) Boot the computer and watch tty0

 Does it happens also if you load module (bcmwl5_sys.ko) after boot via
 kldload instead via /boot/loader.conf

 Is this what you mean?

 Id Refs AddressSize Name
  81 0xc101c000 1ddb8if_bwi.ko
  91 0xc103a000 180ae4   if_bwi_ndis.ko

 if_bwi is unrelated to NDIS.

 I'm asking about module you created with ndisgen.


 If you meant loading these via kldload instead of at boot time then
 No,
 But when I put it back in I also no longer see the warning.



 I didn't recognize what you meant with bcmwl5_sys.ko.
 Either way the answer applies: I no longer see the warning regardless
 of whether it is in /boot/loader.conf or not. Perhaps it was an
 intermittent problem? If so what could it mean?

Are you using bwi(4) and ndis(4) at same time for same device?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NTOS: Timer fired even though it was canceled

2010-02-12 Thread Paul B Mahol
On 2/11/10, Eitan Adler eitanadlerl...@gmail.com wrote:
 What miniport driver, what arch, how to reproduce it?
 a) no idea
 b) Sorry for leaving that out: 8.0-RELEASE-p2 i386
 c) Boot the computer and watch tty0

Does it happens also if you load module (bcmwl5_sys.ko) after boot via
kldload instead via /boot/loader.conf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NTOS: Timer fired even though it was canceled

2010-02-11 Thread Paul B Mahol
On 2/11/10, Eitan Adler eitanadlerl...@gmail.com wrote:
 Running freeBSD 8.0-RELEASE I got
 NTOS: timer 0xc4817a08 timer fired even though canceled

 from
 http://fxr.watson.org/fxr/source/compat/ndis/subr_ntoskrnl.c?v=FREEBSD8

/*
 * This should never happen, but complain
 * if it does.
 */

 if (timer-k_header.dh_inserted == FALSE) {
mtx_unlock(ntoskrnl_dispatchlock);
 printf(NTOS: timer %p fired even though 
 it was canceled\n, timer);
 return;
 }


 What might have caused this and how could I fix it?

What miniport driver, what arch, how to reproduce it?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


NDISulator bug on amd64

2010-02-08 Thread Paul B Mahol
On 1/16/10, Paul B Mahol one...@gmail.com wrote:
 On 1/11/10, Paul B Mahol one...@gmail.com wrote:
 On 1/11/10, Bob Johnson fbsdli...@gmail.com wrote:
 On 1/9/10, Paul B Mahol one...@gmail.com wrote:
 On 12/16/09, Bob Johnson fbsdli...@gmail.com wrote:
 I'm using an ExpressCard for wireless networking because there seems
 to be no driver for the internal card in my laptop (and NDIS panics
 the system). The Expresscard shows up as a PCI device and works fine,

 How are you using NDIS and when system panic what is displayed?

 I tried to use ndisgen with the internal Dell 1397 card. I don't have
 details available right now, although if you need them I can try it
 again. When I did the kldload the system spit out error messages about
 unknown symbols and then panic-ed. I did some searching of the
 archives and found a message describing the same symptoms, and the
 response posted was that it indicated that the Windows driver made API
 calls that were not implemented in the NDIS wrapper.

 This was a 64-bit Windows driver and an amd64 FreeBSD system. Similar
 results in both
 FreeBSD 7.2 and 8.0.

 It appears that kern/132672 is describing the same or a very similar
 issue.  It also suggests that there is a more fundamental problem than
 the unrecognized symbols.

 I can try to reproduce the problem tonight if you want me to.

 Thanks,

 If you have debug kernel, then make breakpoint for MSCALL2 (kldload
 ndis.ko before that): `break MSCALL2'

 Should be `break w86_64_call2'
 Then load ndisgen module.

 Then single step it with `s' it should panic after few steps.
 At least this is issue I'm experiencing on amd64, it fails in
 DriverEntry().

 with the same virtual address as in kern/132672.

I fixed bug that caused panic on amd64 in DriverEntry().

Code is available from here:

www.gitorious.org/NDISulator
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: using leds on laptop

2010-02-02 Thread Paul B Mahol
On 2/1/10, Eitan Adler eitanadlerl...@gmail.com wrote:
 It is a Broadcom card and I need ndis to use it. I do not know if the light
 is attached to the wireless card though (it appears next to the power and
 charging lights)
 ndis0: Broadcom 802.11g Network Adapter mem 0xf470-0xf4703fff irq 18
 at device 0.0 on pci4
 bge0: Broadcom BCM5906 A2, ASIC rev. 0xc002 mem 0xf460-0xf460 irq
 17 at device 0.0 on pci7


I have working led (at least it works for me) with NDISulator code
from: http://www.gitorious.org/ndisulator
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 8-STABLE - wpi monitor mode

2010-01-23 Thread Paul B Mahol
On Sat, Jan 23, 2010 at 2:04 PM, Gautham Ganapathy
gaut...@lisphacker.org wrote:
 Hi

 After I bring all n/w interfaces down (/etc/rc.d/netif stop) and then
 create an virtual interface over wpi0 in monitor mode (ifconfig wlan0
 create wlandev wpi0 wlanmode monitor), the system crashes. Is there
 any error in the command I am using? This system was updated to
 8-STABLE a couple of weeks back.

The system should never crash in that situation, fill PR, that is driver bug.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: rum0 acting as an Access point (belkin router) 8.0 R

2010-01-18 Thread Paul B Mahol
On 1/18/10, Christoph Kukulies k...@kukulies.org wrote:
 Paul B Mahol schrieb:
 On 1/15/10, Christoph Kukulies k...@kukulies.org wrote:

 I'm not sure wether syntax has changed but I wanted to cretae an wlan
 acess point
 and tried various things. Under 7.0 I got it working with the following
 command

 ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE  wepmode
 on wepkey 0xf00baf00ba weptxkey 1 channel 1


 I tried this but got a socket error Invalid argument.

 Then I tried (from an example in the rum (4) manpage):ifconfig wlan
 create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on
 wepkey 0xf00baaf00baa  weptxkey 1 channel 1



 Perhaps you want this one:

 ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
 CITYOFFICE wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1



 I tried this in rc.conf:

 ifconfig_rum0=wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
 CITYOFFICE  wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1

 I got this:

 rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
 ether 00:11:50:cb:52:10
 media: IEEE 802.11 Wireless Ethernet autoselect adhoc
 (autoselect adhoc)
 status: no carrier


 Why no carrier?

You still did not created wlan0 interface:

Put

wlans_rum0=wlan0

in rc.conf, and instead of

ifconfig_rum0=.

use

ifconfig_wlan0=.


-- 
Paul B Mahol
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: rum0 acting as an Access point (belkin router) 8.0 R

2010-01-18 Thread Paul B Mahol
On 1/18/10, Christoph Kukulies k...@kukulies.org wrote:
 Craig Butler schrieb:
 On Mon, 2010-01-18 at 16:25 +0100, Samuel Martín Moro wrote:

 in my rc.conf:
 ifconfig_rum0=DHCP wepmode on weptxkey 1 wepkey 1:0xBC45AD1BD5 ssid
 ReseauWIFI

 Maybe your problem is that wepkey is malformatted in your command
 If not, I didn't try to understand, but I also had troubles with the
 position of SSID keyword.
 (ifconfig arg error, might be your problem)
 (btw: I also had problem with ssid containing spaced characters)


 Later, I tried to set it up as an hostap, it seems to work well.
 But when I try to connect from an other computer, I'm unable to to join
 the
 network.
 (running under 7.2, I compiled the kernel adding a define matching my
 device, based on a similar (I hope so...) chipset)


 good luck


 Samuel Martín Moro
 CamTrace
 {EPITECH.} tek4

 Nobody wants to say how this works.
  Maybe nobody knows ...
  Xorg.conf(5)


 On Mon, Jan 18, 2010 at 3:43 PM, Christoph Kukulies
 k...@kukulies.orgwrote:


 Paul B Mahol schrieb:

  On 1/15/10, Christoph Kukulies k...@kukulies.org wrote:


 I'm not sure wether syntax has changed but I wanted to cretae an wlan
 acess point
 and tried various things. Under 7.0 I got it working with the
 following
 command

 ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE
 wepmode
 on wepkey 0xf00baf00ba weptxkey 1 channel 1


 I tried this but got a socket error Invalid argument.

 Then I tried (from an example in the rum (4) manpage):ifconfig wlan
 create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on
 wepkey 0xf00baaf00baa  weptxkey 1 channel 1




 Perhaps you want this one:

 ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
 CITYOFFICE wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1




 I tried this in rc.conf:

 ifconfig_rum0=wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
 CITYOFFICE  wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1

 I got this:

 rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
 2290
   ether 00:11:50:cb:52:10
   media: IEEE 802.11 Wireless Ethernet autoselect adhoc
 (autoselect
 adhoc)
   status: no carrier


 Why no carrier?
 And I would expect more info on the interface like SSID and such.

 --
 Christoph


  and got:

 wlan0
 ifconfig: SIOCSIFMEDIA (media): Device not configured

 But suddenly the wlan0 device is there.

 Can anybody fill me in?

 --
 Christoph





 Wireless changed on 8, you have to define wlans in rc.conf then set the


 That's why I'm asking :)

 network up onto the appropriate wlan entry;

 example;

 wlans_wpi0=wlan0
 ifconfig_wlan0=WPA DHCP

 Regards

 Craig B



 Thanks Craig, and also Paul. It looks a bitt better now though still not
 perfect. I don't see the SSID on the network yet
 (I filled in a bogus wepkey for posting here, of course):

 rc.conf:
 wlans_rum0=wlan0
 network_interfaces=lo0 rl0 wlan0 # List of network interfaces (or auto).
 ifconfig_lo0=inet 127.0.0.1   # default loopback device configuration.
 ifconfig_rl0=inet 172.27.4.219 netmask 255.255.248.0
 ifconfig_wlan0=wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap
 ssid Aachen

Still incorrect, remove wlan create wlandev rum0

  wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1
 defaultrouter=172.27.2.116

 ifconfig:
 rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
 ether 00:11:50:cb:52:10
 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
 status: associated
 wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
 ether 00:11:50:cb:52:10
 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
 status: no carrier
 ssid  channel 10 (2457 Mhz 11g)
 country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60
 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5
 protmode CTS bintval 0

 Note, that I would like to build up an AP, not a peer to peer or WLAN
 client.

BTW rum(4) is crap in hostap mode.

-- 
Paul B Mahol
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: rum0 acting as an Access point (belkin router) 8.0 R

2010-01-18 Thread Paul B Mahol
On 1/18/10, Christoph Kukulies k...@kukulies.org wrote:
 Paul B Mahol schrieb:
 On 1/18/10, Christoph Kukulies k...@kukulies.org wrote:

 Craig Butler schrieb:

 On Mon, 2010-01-18 at 16:25 +0100, Samuel Martin Moro wrote:


 in my rc.conf:
 ifconfig_rum0=DHCP wepmode on weptxkey 1 wepkey 1:0xBC45AD1BD5 ssid
 ReseauWIFI

 Maybe your problem is that wepkey is malformatted in your command
 If not, I didn't try to understand, but I also had troubles with the
 position of SSID keyword.
 (ifconfig arg error, might be your problem)
 (btw: I also had problem with ssid containing spaced characters)


 Later, I tried to set it up as an hostap, it seems to work well.
 But when I try to connect from an other computer, I'm unable to to join
 the
 network.
 (running under 7.2, I compiled the kernel adding a define matching my
 device, based on a similar (I hope so...) chipset)


 good luck


 Samuel Martin Moro
 CamTrace
 {EPITECH.} tek4

 Nobody wants to say how this works.
  Maybe nobody knows ...
  Xorg.conf(5)


 On Mon, Jan 18, 2010 at 3:43 PM, Christoph Kukulies
 k...@kukulies.orgwrote:



 Paul B Mahol schrieb:

  On 1/15/10, Christoph Kukulies k...@kukulies.org wrote:


 I'm not sure wether syntax has changed but I wanted to cretae an
 wlan
 acess point
 and tried various things. Under 7.0 I got it working with the
 following
 command

 ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE
 wepmode
 on wepkey 0xf00baf00ba weptxkey 1 channel 1


 I tried this but got a socket error Invalid argument.

 Then I tried (from an example in the rum (4) manpage):ifconfig wlan
 create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode
 on
 wepkey 0xf00baaf00baa  weptxkey 1 channel 1





 Perhaps you want this one:

 ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
 CITYOFFICE wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1





 I tried this in rc.conf:

 ifconfig_rum0=wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap
 ssid
 CITYOFFICE  wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1

 I got this:

 rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
 2290
   ether 00:11:50:cb:52:10
   media: IEEE 802.11 Wireless Ethernet autoselect adhoc
 (autoselect
 adhoc)
   status: no carrier


 Why no carrier?
 And I would expect more info on the interface like SSID and such.

 --
 Christoph


  and got:


 wlan0
 ifconfig: SIOCSIFMEDIA (media): Device not configured

 But suddenly the wlan0 device is there.

 Can anybody fill me in?

 --
 Christoph





 Wireless changed on 8, you have to define wlans in rc.conf then set the


 That's why I'm asking :)


 network up onto the appropriate wlan entry;

 example;

 wlans_wpi0=wlan0
 ifconfig_wlan0=WPA DHCP

 Regards

 Craig B



 Thanks Craig, and also Paul. It looks a bitt better now though still not
 perfect. I don't see the SSID on the network yet
 (I filled in a bogus wepkey for posting here, of course):

 rc.conf:
 wlans_rum0=wlan0
 network_interfaces=lo0 rl0 wlan0 # List of network interfaces (or
 auto).
 ifconfig_lo0=inet 127.0.0.1   # default loopback device configuration.
 ifconfig_rl0=inet 172.27.4.219 netmask 255.255.248.0
 ifconfig_wlan0=wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap
 ssid Aachen


 Still incorrect, remove wlan create wlandev rum0


  wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1
 defaultrouter=172.27.2.116

 ifconfig:
 rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
 2290
 ether 00:11:50:cb:52:10
 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
 status: associated
 wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
 1500
 ether 00:11:50:cb:52:10
 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
 status: no carrier
 ssid  channel 10 (2457 Mhz 11g)
 country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid
 60
 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5
 protmode CTS bintval 0

 Note, that I would like to build up an AP, not a peer to peer or WLAN
 client.


 BTW rum(4) is crap in hostap mode.



 This is what it looks like now:

Argh sorry, you need to use:
create_args_wlan0=wlanmode hostap

And put remaining stuf into ifconfig line.

 rc.conf:

 wlans_rum0=wlan0
 network_interfaces=lo0 rl0 wlan0 # List of network interfaces (or auto).
 ifconfig_lo0=inet 127.0.0.1   # default loopback device configuration.
 ifconfig_rl0=inet 172.27.4.219 netmask 255.255.248.0
 ifconfig_wlan0=10.0.0.1/24 wlanmode hostap ssid OFFICE wepmode on
 wepkey 0xf00baaf00baaweptxkey 1 channel 1
 defaultrouter=172.27.2.116

 ifconfig:


 rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
 ether 00:11:50:cb:52:10
 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
 status: associated
 wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500

Re: NDIS panics (Was: Can I rescan for new PCI devices? Or should hotplugging Expresscards work?)

2010-01-16 Thread Paul B Mahol
On 1/11/10, Paul B Mahol one...@gmail.com wrote:
 On 1/11/10, Bob Johnson fbsdli...@gmail.com wrote:
 On 1/9/10, Paul B Mahol one...@gmail.com wrote:
 On 12/16/09, Bob Johnson fbsdli...@gmail.com wrote:
 I'm using an ExpressCard for wireless networking because there seems
 to be no driver for the internal card in my laptop (and NDIS panics
 the system). The Expresscard shows up as a PCI device and works fine,

 How are you using NDIS and when system panic what is displayed?

 I tried to use ndisgen with the internal Dell 1397 card. I don't have
 details available right now, although if you need them I can try it
 again. When I did the kldload the system spit out error messages about
 unknown symbols and then panic-ed. I did some searching of the
 archives and found a message describing the same symptoms, and the
 response posted was that it indicated that the Windows driver made API
 calls that were not implemented in the NDIS wrapper.

 This was a 64-bit Windows driver and an amd64 FreeBSD system. Similar
 results in both
 FreeBSD 7.2 and 8.0.

 It appears that kern/132672 is describing the same or a very similar
 issue.  It also suggests that there is a more fundamental problem than
 the unrecognized symbols.

 I can try to reproduce the problem tonight if you want me to.

 Thanks,

 If you have debug kernel, then make breakpoint for MSCALL2 (kldload
 ndis.ko before that): `break MSCALL2'

Should be `break w86_64_call2'
 Then load ndisgen module.

 Then single step it with `s' it should panic after few steps.
 At least this is issue I'm experiencing on amd64, it fails in
 DriverEntry().

with the same virtual address as in kern/132672.

-- 
Paul B Mahol
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: rum0 acting as an Access point (belkin router) 8.0 R

2010-01-15 Thread Paul B Mahol
On 1/15/10, Christoph Kukulies k...@kukulies.org wrote:
 I'm not sure wether syntax has changed but I wanted to cretae an wlan
 acess point
 and tried various things. Under 7.0 I got it working with the following
 command

 ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE  wepmode
 on wepkey 0xf00baf00ba weptxkey 1 channel 1


 I tried this but got a socket error Invalid argument.

 Then I tried (from an example in the rum (4) manpage):ifconfig wlan
 create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on
 wepkey 0xf00baaf00baa  weptxkey 1 channel 1


Perhaps you want this one:

ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
CITYOFFICE wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1

 and got:


 wlan0
 ifconfig: SIOCSIFMEDIA (media): Device not configured

 But suddenly the wlan0 device is there.

 Can anybody fill me in?

 --
 Christoph


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



-- 
Paul B Mahol
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: wireless ath - unable to get scan results

2010-01-15 Thread Paul B Mahol
On 1/15/10, Anton Shterenlikht me...@bristol.ac.uk wrote:
 This is my first wireless attempt. Please don't shoot
 me for asking obvious questions.

Did you read ath(4) manual?
Ignore first two examples.
You need to create wlanX first.

-- 
Paul B Mahol
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NDIS panics (Was: Can I rescan for new PCI devices? Or should hotplugging Expresscards work?)

2010-01-11 Thread Paul B Mahol
On 1/11/10, Bob Johnson fbsdli...@gmail.com wrote:
 On 1/9/10, Paul B Mahol one...@gmail.com wrote:
 On 12/16/09, Bob Johnson fbsdli...@gmail.com wrote:
 I'm using an ExpressCard for wireless networking because there seems
 to be no driver for the internal card in my laptop (and NDIS panics
 the system). The Expresscard shows up as a PCI device and works fine,

 How are you using NDIS and when system panic what is displayed?

 I tried to use ndisgen with the internal Dell 1397 card. I don't have
 details available right now, although if you need them I can try it
 again. When I did the kldload the system spit out error messages about
 unknown symbols and then panic-ed. I did some searching of the
 archives and found a message describing the same symptoms, and the
 response posted was that it indicated that the Windows driver made API
 calls that were not implemented in the NDIS wrapper.

 This was a 64-bit Windows driver and an amd64 FreeBSD system. Similar
 results in both
 FreeBSD 7.2 and 8.0.

 It appears that kern/132672 is describing the same or a very similar
 issue.  It also suggests that there is a more fundamental problem than
 the unrecognized symbols.

 I can try to reproduce the problem tonight if you want me to.

 Thanks,

If you have debug kernel, then make breakpoint for MSCALL2 (kldload
ndis.ko before that): `break MSCALL2'
Then load ndisgen module.

Then single step it with `s' it should panic after few steps.
At least this is issue I'm experiencing on amd64, it fails in DriverEntry().

-- 
Paul B Mahol
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Inserting PC card NIC, system stops

2010-01-10 Thread Paul B Mahol
On 1/10/10, Hashimoto hsm...@gmail.com wrote:
 Thanks for your reply, Paul.

 $ uname -a
 FreeBSD musca.localdomain 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0
 r201741: Fri Jan  8 01:01:18 JST 2010
 r...@aries.localdomain:/usr/obj/usr/src/sys/GENERIC  i386

 insert PC card and eject it
 $ tail /var/log/messages
 Jan  9 21:29:12 musca kernel: cbb1: ready never happened, status = 00
 Jan  9 21:29:12 musca kernel: ed0: corega K.K. (CG-LAPCCTXD) at port

 ed(4) appears to be driver for that card

 Sure.
 I'm using GENERIC kernel,
 and it includes cbb(4), ed(4) device driver.
 But the system does not work fine with this PC card.

Then it could be bug in hardware(and in FreeBSD because it should
not hang) or id ed(4) or in anything else, so report is as a bug.

-- 
Paul B Mahol
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Inserting PC card NIC, system stops

2010-01-09 Thread Paul B Mahol
On 1/9/10, Hashimoto hsm...@gmail.com wrote:
 Hello.
 I have a problem with a PC card Ethernet interface.

 When I insert the PC card to my laptop,
 the system hungs and makes no response.
 When I eject the card,
 the system starts again and works fine.
 (working
  - insert the card
  stopping
  - eject the card
  working)

 Of course, I cannot use this card for network interface.
 (ifconfig command does not show this interface.)
 Are there some workarounds to work this card correctly?
 Regards.

 PC Card
 Corega CG-LAPCCTXD

 $ uname -a
 FreeBSD musca.localdomain 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0
 r201741: Fri Jan  8 01:01:18 JST 2010
 r...@aries.localdomain:/usr/obj/usr/src/sys/GENERIC  i386

 insert PC card and eject it
 $ tail /var/log/messages
 Jan  9 21:29:12 musca kernel: cbb1: ready never happened, status = 00
 Jan  9 21:29:12 musca kernel: ed0: corega K.K. (CG-LAPCCTXD) at port

ed(4) appears to be driver for that card

-- 
Paul B Mahol
aaa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ?Bandwidth limit to 31kBps for wlan?

2009-12-28 Thread Paul B Mahol
On 12/28/09, Ishmael F.E. sulfur...@gmail.com wrote:
 Hi list

 I have this little issue with my wireless card:
 No matter where I am or what I'm downloading,
 I just can't download at more than 31kBps ever
 (only while using BSD).

 What should I do to be able to download faster?

 The bandwidth should be ~400kBps

 I'm using 8.0.

 /boot/loader.conf:
 bcmwl5_load=yes #I'm using the ndis driver
 .
 .
 /etc/rc.conf:
 netif_enable=YES
 synchronous_dhclient=YES
 wlans_ndis0=wlan0
 ifconfig_wlan0=WPA DHCP
 .
 .
 pciconf -lv :
 nd...@pci0:3:0:0: class=0x028000 card=0x1366103c chip=0x432814e4 rev=0x03
 hdr=0x00
   vendor = 'Broadcom Corporation'
   device = 'Broadcom 432AGN 802.11a/b/g/draft-n Wi-Fi Solution
 (BCM4321KFBG)'
   class = network
 .
 .
 ndis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
   ether 00:1a:73:00:00:00
   media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
   status: associated
 wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
   ether 00:1a:73:00:00:00
   inet 192.168.0.00 netmask 0xff00 broadcast 192.168.3.255
   media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
   status: associated
   ssid Q... channel 6 (2437 Mhz 11g) bssid 00:1d:7e:00:00:00
   country US authmode WPA privacy OFF powersavemode CAM
   powersavesleep 100 txpower 0 bmiss 7 mcastrate 6 mgmtrate 6
   scanvalid 60 protmode CTS roaming MANUAL bintval 0

Signal strength?
What is displayed for ndis0 if you boot with verbose boot option.

-- 
Paul B Mahol
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Wireless USB adapter

2009-12-26 Thread Paul B Mahol
On 12/26/09, Roland Smith rsm...@xs4all.nl wrote:
 On Fri, Dec 25, 2009 at 05:24:32PM +0100, Paul B Mahol wrote:
 On 12/25/09, Carmel carmel...@hotmail.com wrote:
  On Fri, 25 Dec 2009 15:29:20 +0100
  Paul B Mahol one...@gmail.com replied:
 
 Argh, sorry but 7.2 doesnt have NDIS usb support. You need FreeBSD 8.0
 
  I have been reading up on this. So I assume that it is not possible to
  get this adapter working under FreeBSD-7.2 then. Is there a native
  driver for this adapter under 8.0 or will I need to build the driver
  from the Windows driver?

 On 8.0 you can use NDISulator or run(4) driver, for the last solution
 search forums.freebsd.org

 There exists a run(4) in OpenBSD that suppports the RT2870 in the
 WUSB600N. But not in FreeBSD yet, not in 8-STABLE
 http://svn.freebsd.org/viewvc/base/stable/8/sys/dev/usb/wlan/
 and not even in HEAD;
 http://svn.freebsd.org/viewvc/base/head/sys/dev/usb/wlan/

I did not said that run(4) is available in STABLE or HEAD. I said that code for
HEAD and STABLE is available on the net.

-- 
Paul B Mahol
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Wireless USB adapter

2009-12-25 Thread Paul B Mahol
On 12/24/09, Carmel carmel...@hotmail.com wrote:
 FreeBSD-7.2

 I have a Linksys Wireless-N USB Network Adapter, model: WUSB600N that I
 am trying to get installed.

 When I insert the USB adapter this message appears in /var/messages:

 Dec 24 14:30:22 scorpio kernel: ugen0: Cisco-Linksys LLC Dual-Band
 Wireless-N USB Network Adapter, class 0/0, rev 2.00/1.01, addr 2 on uhub1

 Dec 24 14:30:22 scorpio root: Unknown USB device: vendor 0x1737 product
 0x0071 bus uhub1

 I used 'ndisgen' to create the driver and then loaded it via 'kldload'.

After kldload is there something displayed on console?

 That is as far as I can get. I cannot bring the interface up. I have
 read the 'wireless' setup guide on FreeBSD; however, I am not getting
 very far with it.

 If someone else here has used that device, I would appreciate seeing
 their configuration.

 --

 Carmel
 carmel...@hotmail.com

 |===
 |===
 |===
 |===
 |

 A man with convictions is a hard man to change. Tell him you disagree
 and he turns away. Show him facts or figures and he questions your
 sources. Appeal to logic and he fails to see your point.

   Leon Festinger

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



-- 
Paul B Mahol
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Wireless USB adapter

2009-12-25 Thread Paul B Mahol
On 12/25/09, Paul B Mahol one...@gmail.com wrote:
 On 12/24/09, Carmel carmel...@hotmail.com wrote:
 FreeBSD-7.2

Argh, sorry but 7.2 doesnt have NDIS usb support. You need FreeBSD 8.0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Wireless USB adapter

2009-12-25 Thread Paul B Mahol
On 12/25/09, Carmel carmel...@hotmail.com wrote:
 On Fri, 25 Dec 2009 15:29:20 +0100
 Paul B Mahol one...@gmail.com replied:

Argh, sorry but 7.2 doesnt have NDIS usb support. You need FreeBSD 8.0

 I have been reading up on this. So I assume that it is not possible to
 get this adapter working under FreeBSD-7.2 then. Is there a native
 driver for this adapter under 8.0 or will I need to build the driver
 from the Windows driver?

On 8.0 you can use NDISulator or run(4) driver, for the last solution
search forums.freebsd.org

-- 
Paul B Mahol
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Wireless interface says privacy OFF

2009-12-22 Thread Paul B Mahol
On 12/22/09, Steven Friedrich free...@insightbb.com wrote:
 What does privacy mean and why isn't it explained in any man page?

 Here's my ifconfig:
 wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
   ether 00:14:a5:2a:a5:db
   inet 192.168.2.254 netmask 0xff00 broadcast 192.168.2.255
   media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
   status: associated
   ssid FriedrichAir channel 1 (2412 Mhz 11g) bssid 00:17:3f:f1:3d:50
   country US authmode WPA privacy OFF txpower 0 bmiss 7 mcastrate 6
   mgmtrate 6 scanvalid 60 protmode CTS roaming MANUAL

 This wlan0 is configured to a NDIS wrapped Windows Ethernet driver.
 New in 8.0, the bwi driver supports the same hardware.
 When I get the ifconfig for wlan0 when it's configured for he bwi driver,
 privacy said ON.

 What exactly does privacy mean and do I want it ?

Ignore it, if_ndis.c just forgot to set IEEE80211_F_PRIVACY flag.
It set that flag mistakenly only when WEP is enabled.

-- 
Paul B Mahol
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Why I am getting message: wlan0: ieee80211_new_state_locked: pending SCAN - RUN transition lost in 8.0 with ndis driver?

2009-11-30 Thread Paul B Mahol
On 11/30/09, Yuri y...@rawbw.com wrote:
 After upgrading to 8.0 I am getting a new message: wlan0:
 /ieee80211_new_state_locked: pending SCAN/ - RUN transition lost.
 I use ndis driver with Broadcom WiFi card BCM94312MCGSG.

That is debug message temporarely enabled unconditionally and then forgotten.

There is race in if_ndis driver between how link state event is handled and
how it is passed to net80211, causing such message.
In almost all cases you can ignore it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: WiFi interface - scanning ssid

2009-11-23 Thread Paul B Mahol
On 11/23/09, Samuel Martín Moro faus...@gmail.com wrote:
 that may help:

 my uname:
 FreeBSD devel.axis.fr 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Wed Oct 14
 15:26:50 CEST 2009 r...@h2g2.axis.fr:/usr/obj/usr/src/sys/GENERIC  i386

 in rc.conf:
 hostapd/dhcpd/ifconfig_rum0 are commented

 wlan_xauth is loaded

 ~# ifconfig rum0 down
 ~# ifconfig rum0 delete
 ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
 ~# ifconfig rum0 destroy
 ifconfig: SIOCIFDESTROY: Invalid argument
 ~# ifconfig rum0
 rum0: flags=108802BROADCAST,SIMPLEX,MULTICAST,NEEDSGIANT metric 0 mtu 1500
 ether 00:18:1a:0c:65:2f
 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
 status: no carrier
 ssid 1921680452 channel 2 (2417 Mhz 11g)
 authmode AUTO privacy OFF txpower 50 scanvalid 60 bgscan
 bgscanintvl 300 bgscanidle 250 roam:rssi11g 7 roam:rate11g 5
 protmode CTS dtimperiod 1

 before, my card was listed by pciconf (but isn't anymore), as noneX
 now, I can view it using usbdevs:
 [...]
 port 4 addr 2: high speed, power 300 mA, config 1, 802.11 bg WLAN(0x2573),
 Ralink(0x148f), rev 0.01
 [...]

 I used to test WIFI with two different chipset.
 I generated the first driver using ndisgen, and compiled back the kernel
 (adding some lines into headers) to deal with the second one.
 I don't remember which one I use here. But my problem might come from a bad
 driver. (but most likely: PEBKAC)



 Thanks for your help


 Samuel Martín Moro
 CamTrace
 {EPITECH.} tek4

 | Nobody wants to say how this works.  |
 |  Maybe nobody knows ...  |
 |   Xorg.conf(5)|


 On Mon, Nov 23, 2009 at 12:33 PM, Samuel Martín Moro
 faus...@gmail.comwrote:


 Hi

 I'm trying to list ssid neighborhood.
 doing ifconfig rum0 scan or ifconfig rum0 list scan, there isn't any
 returned row.

 it perfectly works a few days ago, when I was working on a script to
 configure WIFI interfaces as client.
 more recently, I tried to do a script to configure WIFI interfaces as
 access points. since that, all my scan/list scan are empty.

 by the way, while testing, I wasn't able to reset interface configuration
 (and maybe it's my list/scan) problem.
 I tried with delete, ... It still keeps the old conf, when I'ld like to
 drop it. How should I do ?

 Thanks!


 Samuel Martín Moro
 CamTrace
 {EPITECH.} tek4

 | Nobody wants to say how this works.  |
 |  Maybe nobody knows ...  |
 |   Xorg.conf(5)|


You need to bring interface up, before scanning.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: WiFi interface - scanning ssid

2009-11-23 Thread Paul B Mahol
On 11/23/09, Samuel Martín Moro faus...@gmail.com wrote:
 OK...

 ifconfig $itf -mediaopt hostap
 removes hostap from options
 scan/list scan are back...

 sorry for wasting your time...


 but it still doesn't answer to my other question:
 how can you reset an interface configuration ?

On 8.0, when vap is destroyed all configurations that where effective
in that vap are lost.

On 7.X, I'm not aware of any similar feature. So the only way is to
reload kernel module.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: WiFi interface - scanning ssid

2009-11-23 Thread Paul B Mahol
On 11/23/09, Samuel Martín Moro faus...@gmail.com wrote:
 It is up

 in my script, I do the following:
 ifconfig $itf down
 ifconfig $itf delete
 ifconfig $itf up scan 
 var=$!
 #some loop waiting ifconfig to stop, or killing it after 30 seconds
 eval `ifconfig -v $itf list scan | sed 's/ome/reg/expr' | awk '{toto}'`

If you control interface via script, then you probably want to
use manual roaming.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: WPA: specify alternate config file in rc.conf

2009-11-02 Thread Paul B Mahol
On 11/2/09, Chad Perrin per...@apotheon.com wrote:
 If I want to start wpa_supplicant directly, and specify a particular
 configuration file, I can do something like this:

 wpa_supplicant -i iwi0 -c /path/to/wpa_alternate.conf

 How would I specify the use of /path/to/wpa_alternate.conf in my rc.conf
 ifconfig line, rather than just going with the default
 /etc/wpa_supplicant.conf file?

Look into /etc/defaults/rc.conf for hint.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Does hybernate/wakeup work?

2009-10-23 Thread Paul B Mahol
On 10/23/09, Yuri y...@rawbw.com wrote:
 I tried to make system hybernate with 'acpiconf -s4' on my laptop.
 It quickly turned off, but when I press the power button it boots like
 no hybernate and begins to check disks.

 What can be wrong?

OS S4 is not implemented, but BIOS S4 is possible on some machines ...
And on 8.0 and 9.0 i386 SMP doesnt resume properly (amd64 works).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: binutils

2009-10-09 Thread Paul B Mahol
On 10/9/09, Alex R a...@mailinglist.ahhyes.net wrote:
 Hi Guys,

 Is there any news on when the version of binutils that ships as part of
 the base system will be updated? The version that ships with 7.x etc is
 about 5 years old now.

 It creates problems on amd64 when compiling mplayer (assembly language
 directive errors), and can be resolved by installing a newer version of
 binutils.

 Feel free to share your thoughts :)

/usr/ports/devel/binutils
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


  1   2   3   >