Reprobing of devices after module load?

2011-11-18 Thread Paul B. Mahol
Hi, Is there nice way in FreeBSD to force reprobe of devices for specific driver like it is done when kernel module is loaded (via DRIVER_MODULE(...) stuff)? ___ freebsd-current@freebsd.org mailing list

Re: Reprobing of devices after module load?

2011-11-21 Thread Paul B. Mahol
On 11/21/11, John Baldwin j...@freebsd.org wrote: On Friday, November 18, 2011 11:48:20 am Paul B. Mahol wrote: Hi, Is there nice way in FreeBSD to force reprobe of devices for specific driver like it is done when kernel module is loaded (via DRIVER_MODULE(...) stuff)? Note that those

Re: Broadcom BCM4310 USB Controller (Wifi)

2010-11-15 Thread Paul B Mahol
On 11/15/10, Alberto Villa avi...@freebsd.org wrote: On Wed, Oct 27, 2010 at 3:36 PM, Paul B Mahol one...@gmail.com wrote: Currently amd64 is broken with some/most drivers. Drivers appears to use fpu registers. I dunno how it ever worked, probably original developer(s) never encountered

Re: Broadcom BCM4310 USB Controller (Wifi)

2010-11-17 Thread Paul B Mahol
On 11/17/10, Alberto Villa avi...@freebsd.org wrote: On Mon, Nov 15, 2010 at 2:41 PM, Paul B Mahol one...@gmail.com wrote: Feel free to test code at: gitorious.org/NDISulator github.com/richardpl/NDISulator The code is developed on CURRENT. But with small changes it can be compiled

Re: net.link.log_link_state_change broken?

2010-11-18 Thread Paul B Mahol
On 11/18/10, Bjoern A. Zeeb bzeeb-li...@lists.zabbadoz.net wrote: On Tue, 2 Nov 2010, Paul B Mahol wrote: Hi, It appears we do not log such events anymore (at least with wlan devices) in console. I set this sysctl to 0 via sysctl.conf, if I set it to 1, nothing will change. Because I

Re: panic: loading if_bfe after boot

2010-11-18 Thread Paul B Mahol
On Fri, Nov 19, 2010 at 1:29 AM, Pyun YongHyeon pyu...@gmail.com wrote: On Sat, Oct 30, 2010 at 09:19:06PM -0700, Pyun YongHyeon wrote: On Sat, Oct 30, 2010 at 5:40 PM, Paul B Mahol one...@gmail.com wrote: Hi, Loading if_bfe module after boot hangs machine, it works/attach fine from

Re: net.link.log_link_state_change broken?

2010-11-21 Thread Paul B Mahol
On 11/19/10, Paul B Mahol one...@gmail.com wrote: On 11/18/10, Bjoern A. Zeeb bzeeb-li...@lists.zabbadoz.net wrote: On Tue, 2 Nov 2010, Paul B Mahol wrote: Hi, It appears we do not log such events anymore (at least with wlan devices) in console. I set this sysctl to 0 via sysctl.conf

Re: net.link.log_link_state_change broken?

2010-11-21 Thread Paul B Mahol
On 11/21/10, Paul B Mahol one...@gmail.com wrote: On 11/19/10, Paul B Mahol one...@gmail.com wrote: On 11/18/10, Bjoern A. Zeeb bzeeb-li...@lists.zabbadoz.net wrote: On Tue, 2 Nov 2010, Paul B Mahol wrote: Hi, It appears we do not log such events anymore (at least with wlan devices

Re: tmpfs out of space (ZFS related?)

2010-11-21 Thread Paul B Mahol
On Sun, Nov 21, 2010 at 10:42 PM, Ivan Voras ivo...@freebsd.org wrote: On 11/21/10 23:19, Eir Nym wrote: On 22 November 2010 01:00, Eir Nymeir...@gmail.com  wrote: On 22 November 2010 00:47, Bruce Cranbr...@cran.org.uk  wrote: On Mon, 22 Nov 2010 00:43:03 +0300 Eir Nymeir...@gmail.com  

Re: Broadcom BCM4310 USB Controller (Wifi)

2010-11-22 Thread Paul B Mahol
On 11/22/10, Alberto Villa avi...@freebsd.org wrote: On Wednesday 17 November 2010 10:57:34 Paul B Mahol wrote: Please use ndis5 branch. master branch is in heavy development. CURRENT branch just blindly (and badly) track code on FreeBSD CURRENT. ok. unfortunately in this test i made

Re: Broadcom BCM4310 USB Controller (Wifi)

2010-11-22 Thread Paul B Mahol
On 11/22/10, Paul B Mahol one...@gmail.com wrote: On 11/22/10, Alberto Villa avi...@freebsd.org wrote: On Wednesday 17 November 2010 10:57:34 Paul B Mahol wrote: Please use ndis5 branch. master branch is in heavy development. CURRENT branch just blindly (and badly) track code on FreeBSD

Re: [CFR] a small change of ifconfig(8)

2010-11-28 Thread Paul B Mahol
On 11/25/10, Weongyo Jeong weongyo.je...@gmail.com wrote: Hello all, I'm sending this email to check whether my approach is reasonable that I added 2 line into ifconfig(8) to skip IFT_USB interfaces as follows: + if (sdl != NULL sdl-sdl_type == IFT_USB) +

Re: cardbus and kldunload issue

2011-02-26 Thread Paul B. Mahol
On Sat, Feb 26, 2011 at 4:25 PM, Bernhard Schmidt bschm...@freebsd.org wrote: Hi, while working on a wireless driver for a Cardbus card I stumbled over an issue which bugs me quite a bit. The device: % none3@pci0:22:0:0:      class=0x028000 card=0x107f1043 chip=0x02011814 rev=0x01

newfs_msdos and DVD-RAM

2010-03-19 Thread Paul B Mahol
Hi, FreeBSD 9.0 CURRENT panics when mounting file system created via newfs_msdos on DVD-RAM disc. Something to do about divide by zero. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To

Re: newfs_msdos and DVD-RAM

2010-03-19 Thread Paul B Mahol
On Fri, Mar 19, 2010 at 7:11 PM, Fabian Keil freebsd-lis...@fabiankeil.de wrote: Paul B Mahol one...@gmail.com wrote: FreeBSD 9.0 CURRENT panics when mounting file system created via newfs_msdos on DVD-RAM disc. Something to do about divide by zero. I recently had a similar problem

Re: fsck unable to read disk sectors

2010-03-29 Thread Paul B Mahol
On 3/29/10, Alexander Best alexbes...@wwu.de wrote: hi there, when doing fsck on my / fs i get this error: Cannot Read BLK. 471617640 and The Following Disk Sectors could not be read: 471617643. after this message the partition gets marked dirty. i performed the following steps to verify

Re: newfs_msdos and DVD-RAM

2010-04-03 Thread Paul B Mahol
On 4/2/10, Andriy Gapon a...@freebsd.org wrote: on 02/04/2010 22:26 Andriy Gapon said the following: OK, I did it again. I tested the below patch using the scenario described above. Could you please review and/or test this patch? If you like it and it works, I can commit it. Thanks! ---

ISO9660 4GB directory structures boundary limit and growisofs

2010-04-16 Thread Paul B Mahol
Hi, It is apparently not possible to make use of -use-the-force-luke=4gms on FreeBSD when appending new session after 4GB. Mounted disk afterwards show nothing. Should we allow it like linux does? ___ freebsd-current@freebsd.org mailing list

Re: ISO9660 4GB directory structures boundary limit and growisofs

2010-04-17 Thread Paul B Mahol
On 4/17/10, Andriy Gapon a...@icyb.net.ua wrote: on 17/04/2010 02:07 Paul B Mahol said the following: Hi, It is apparently not possible to make use of -use-the-force-luke=4gms on FreeBSD when appending new session after 4GB. Mounted disk afterwards show nothing. Is it expected

Re: ISO9660 4GB directory structures boundary limit and growisofs

2010-04-17 Thread Paul B Mahol
On Sat, Apr 17, 2010 at 4:31 PM, Tim Kientzle kient...@freebsd.org wrote: Paul B Mahol wrote: It is apparently not possible to make use of -use-the-force-luke=4gms on FreeBSD when appending new session after 4GB. Mounted disk afterwards  show nothing. Should we allow it like linux does

Re: ISO9660 4GB directory structures boundary limit and growisofs

2010-04-19 Thread Paul B Mahol
On 4/17/10, Paul B Mahol one...@gmail.com wrote: On Sat, Apr 17, 2010 at 4:31 PM, Tim Kientzle kient...@freebsd.org wrote: Paul B Mahol wrote: It is apparently not possible to make use of -use-the-force-luke=4gms on FreeBSD when appending new session after 4GB. Mounted disk afterwards show

Re: ISO9660 4GB directory structures boundary limit and growisofs

2010-04-19 Thread Paul B Mahol
On 4/19/10, Tom Evans tevans...@googlemail.com wrote: On Mon, Apr 19, 2010 at 1:48 PM, Paul B Mahol one...@gmail.com wrote: On 4/17/10, Paul B Mahol one...@gmail.com wrote: On Sat, Apr 17, 2010 at 4:31 PM, Tim Kientzle kient...@freebsd.org wrote: Paul B Mahol wrote: It is apparently

Re: ISO9660 4GB directory structures boundary limit and growisofs

2010-04-27 Thread Paul B Mahol
On 4/19/10, Paul B Mahol one...@gmail.com wrote: On 4/19/10, Tom Evans tevans...@googlemail.com wrote: On Mon, Apr 19, 2010 at 1:48 PM, Paul B Mahol one...@gmail.com wrote: On 4/17/10, Paul B Mahol one...@gmail.com wrote: On Sat, Apr 17, 2010 at 4:31 PM, Tim Kientzle kient...@freebsd.org

Re: Clang now builds world and kernel, on i386 and amd64

2010-09-25 Thread Paul B Mahol
On 9/22/10, Dimitry Andric d...@freebsd.org wrote: Hi, As of r212979, you should now be able to build world and kernel on i386 and amd64 with clang, without any additional patches! To do so, make sure you have updated your installed world to at least r212904 (which has the most recently

Re: Sleep/Lenovo SL410

2010-10-01 Thread Paul B Mahol
On 10/1/10, Ian Smith smi...@nimnet.asn.au wrote: On Thu, 30 Sep 2010, Matt wrote: Success! After setting every possible suspend/resume sysctl, sysctl hw.pci.do_power_resume=0 allowed suspend and resume. Still beeps 1-3 times before suspend, with rapid sleep light flashing

Move banner to games

2010-10-02 Thread Paul B Mahol
Hi, I see no point to have it in usr/bin. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: Move banner to games

2010-10-02 Thread Paul B Mahol
On 10/2/10, Brandon Gooch jamesbrandongo...@gmail.com wrote: On Sat, Oct 2, 2010 at 7:36 AM, Paul B Mahol one...@gmail.com wrote: Hi, I see no point to have it in usr/bin. Cool! This is the first time I've heard of this program! How come the folks at my university who manage the line

Re: Move banner to games

2010-10-07 Thread Paul B Mahol
On 10/7/10, army.of.root army.of.r...@googlemail.com wrote: On 10\10\02 18:48, Paul B Mahol wrote: On 10/2/10, Brandon Goochjamesbrandongo...@gmail.com wrote: On Sat, Oct 2, 2010 at 7:36 AM, Paul B Maholone...@gmail.com wrote: Hi, I see no point to have it in usr/bin. Cool

panic on kthread_exit under INVARIANTS

2010-10-11 Thread Paul B Mahol
Hi, If kernel threads were created via kproc_kthread_add() when last kernel thread exits it will trigger panic. It panics in queue.h probably introduced with recent commit. ___ freebsd-current@freebsd.org mailing list

Re: panic on kthread_exit under INVARIANTS

2010-10-12 Thread Paul B Mahol
On 10/12/10, David Xu davi...@freebsd.org wrote: Paul B Mahol wrote: Hi, If kernel threads were created via kproc_kthread_add() when last kernel thread exits it will trigger panic. It panics in queue.h probably introduced with rec I have committed a patch, can you try it ? http

Re: [RFC] More meaningful information about ENOEXEC for kldload(8)

2010-10-25 Thread Paul B Mahol
On 10/25/10, Xin LI delp...@delphij.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Here is a simple patch that adds more meaning messages when kldload hits ENOEXEC. Before patch: kldload: can't load geom_eli.ko: Exec format error After patch: kldload: can't load

Re: Broadcom BCM4310 USB Controller (Wifi)

2010-10-26 Thread Paul B Mahol
On 10/26/10, Alberto Villa avi...@freebsd.org wrote: On Mon, Oct 25, 2010 at 1:07 AM, Matthias Apitz g...@unixarea.de wrote: I have a new laptop Acer Aspire One D250 and pulled out HEAD from SVN today morning. As far as I can see in sys/dev/bwi and sys/dev/bwn the above chip is still not

Re: Broadcom BCM4310 USB Controller (Wifi)

2010-10-27 Thread Paul B Mahol
On 10/27/10, Alberto Villa avi...@freebsd.org wrote: On Tue, Oct 26, 2010 at 2:09 PM, Paul B Mahol one...@gmail.com wrote: i've tried ndis without success... Sharing you experience would help (if you are not on amd64). i'm on i386 at the moment, but i'll switch to amd64 as soon as i decide

Re: Broadcom BCM4310 USB Controller (Wifi)

2010-10-28 Thread Paul B Mahol
On 10/28/10, Matthias Apitz g...@unixarea.de wrote: El dia Wednesday, October 27, 2010 a las 12:07:51PM -0500, Scot Hetzel escribio: On Wed, Oct 27, 2010 at 8:58 AM, Alberto Villa avi...@freebsd.org wrote: On Wed, Oct 27, 2010 at 1:36 PM, Paul B Mahol one...@gmail.com wrote: NDISulator

Re: Broadcom BCM4310 USB Controller (Wifi)

2010-10-29 Thread Paul B Mahol
On Fri, Oct 29, 2010 at 6:34 AM, Scot Hetzel swhet...@gmail.com wrote: On Fri, Oct 29, 2010 at 12:59 AM, Matthias Apitz g...@unixarea.de wrote: I booted the 8-CURRENT this morning, loaded the module with kldload(8) and wlan0 came up by its own (I did not realized this yesterday). I have in

panic: invalid PDPE on recend amd64

2010-10-30 Thread Paul B Mahol
Hi, Booting amd64 kernel panic in pmap_demote_DMAP(): invalid PDPE This is on: Copyright (c) 1992-2010 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered

Re: panic: invalid PDPE on recend amd64

2010-10-30 Thread Paul B Mahol
On 10/30/10, Andriy Gapon a...@icyb.net.ua wrote: on 30/10/2010 17:43 Paul B Mahol said the following: Hi, Booting amd64 kernel panic in pmap_demote_DMAP(): invalid PDPE This is on: Copyright (c) 1992-2010 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992

Re: panic: invalid PDPE on recend amd64

2010-10-30 Thread Paul B Mahol
On 10/30/10, Paul B Mahol one...@gmail.com wrote: On 10/30/10, Andriy Gapon a...@icyb.net.ua wrote: on 30/10/2010 17:43 Paul B Mahol said the following: Hi, Booting amd64 kernel panic in pmap_demote_DMAP(): invalid PDPE This is on: Copyright (c) 1992-2010 The FreeBSD Project. Copyright

panic: loading if_bfe after boot

2010-10-30 Thread Paul B Mahol
Hi, Loading if_bfe module after boot hangs machine, it works/attach fine from loader. Tell me if you need bt. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to

Re: wpa_supplicant gets points for trying, I suppose....

2010-11-01 Thread Paul B Mahol
On 11/1/10, David Wolfskill da...@catwhisker.org wrote: FreeBSD 9.0-CURRENT #31 r214621M Nov 1 15:09:40 d130 wpa_supplicant[569]: Failed to initiate AP scan. Nov 1 15:10:10 d130 last message repeated 3 times Nov 1 15:10:50 d130 last message repeated 4 times ... Nov 1 15:11:00 d130

net.link.log_link_state_change broken?

2010-11-02 Thread Paul B Mahol
Hi, It appears we do not log such events anymore (at least with wlan devices) in console. I set this sysctl to 0 via sysctl.conf, if I set it to 1, nothing will change. Because I had loging disabled for very long time I encountered this problem just now.

Re: Ctrl-alt-delete in syscons pause/scrollback mode breaks system

2010-11-06 Thread Paul B Mahol
On 11/6/10, Bruce Cran br...@cran.org.uk wrote: Today I came back to my computer and realised I'd left ttyv0 in history/scrollback mode, with scroll-lock enabled. To see what would happen I pressed Ctrl-Alt-Delete to reboot and was surprised to see that it seemed to get partway through the

Re: panic: invalid PDPE on recend amd64

2010-11-06 Thread Paul B Mahol
On 11/6/10, Jia-Shiun Li jiash...@gmail.com wrote: Hi, I got a similar panic on amd64. Looking into the source it hit KASSERT((base (len - 1))) in pmap_demote_DMAP(). I replaced it with a printf to see what triggered the assertion and here is the output. Combined with memcontrol output