Re: sun4v arch

2008-08-22 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Pietro Cerutti <[EMAIL PROTECTED]> writes: : -BEGIN PGP SIGNED MESSAGE- : Hash: SHA512 : : Kris Kennaway wrote: : | Just so everyone is on the same page, what is needed to keep sun4v : | viable are people with experience with (or intention to lea

Re: MFC of r180753: ABI problems?

2008-08-23 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> John Baldwin <[EMAIL PROTECTED]> writes: : On Saturday 23 August 2008 02:42:09 am M. Warner Losh wrote: : > In message: <[EMAIL PROTECTED]> : > : > Max Laier <[EMAIL PROTECTED]> writes: : > : Hi, : > : :

Re: i386/127710: My driver PCI probe is not called for my correspondingdevice ID and Vendor ID

2008-10-02 Thread M. Warner Losh
s, : : Regards, : Bagavathy kumar .M : : : : -Original Message- : From: John Baldwin [mailto:[EMAIL PROTECTED] : Sent: Wednesday, October 01, 2008 8:57 PM : To: freebsd-hackers@freebsd.org : Cc: Bagavathy Kumar Mahendran ; Warner Losh : Subject: Re: FW: i386/127710: My

Re: libusb for linux-emulation

2008-10-27 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Oliver Fromme <[EMAIL PROTECTED]> writes: : Martin Laabs wrote: : > Hans Petter Selasky wrote: : > > No, you cannot use the linux libusb on FreeBSD. You need to use the FreeBSD : > > compiled libusb. The USB kernel interfaces are quite different. : >

Re: Why does adding /usr/lib32 to LD_LIBRARY_PATH break 64-bit ?binaries?

2008-10-27 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Oliver Fromme <[EMAIL PROTECTED]> writes: : Daniel O'Connor wrote: : > On Friday 24 October 2008 23:20:59 Peter Jeremy wrote: : > > > this will make system trying to bind 32-bit libs to 64-bit program. it : > > > can't work : > > : > > rtld shouldn'

3x read to write ratio on dump/restore

2009-01-09 Thread M. Warner Losh
I just copied a disk using dump + restore. I noticed something through the whole run of this 500GB operation: L(q) ops/sr/s kBps ms/rw/s kBps ms/w %busy Name 3231231 147549.5 0 00.0 97.5| da1s1a 0 39 0 00.0 39 4982

Re: 3x read to write ratio on dump/restore

2009-01-10 Thread M. Warner Losh
In message: <20090111041710.gb5...@server.vk2pj.dyndns.org> Peter Jeremy writes: : On 2009-Jan-09 09:50:27 -0700, "M. Warner Losh" wrote: : >The read kBps was 3x the write kBps. : ... : >Any ideas what gives? I observed this with 16MB cache and with 32MB : &

Re: KLD: program.ko: depends of kernel - no avaiable

2009-01-20 Thread M. Warner Losh
In message: "Jacky Oh" writes: : Hi, : : I'm writing a syscall module and he compiles well but at load time, kldload : shows: : : KLD: program.ko: depends of kernel - no avaiable : : anyone know something about this? Yes. rebuild the kernel and modules to have the same __FreeBSD_

Re: uart and big-endian targets

2009-01-20 Thread M. Warner Losh
In message: <4976297c.7020...@bluezbox.com> Oleksandr Tymoshenko writes: : Yesterday I ran into a "problem" with uart(4) on big-endian MIPS : board. uart code treats registers as bytes and reads/writes them using : bus_space_read_1/bus_space_write_1. To handle word-aligned registe

Re: uart and big-endian targets

2009-01-20 Thread M. Warner Losh
In message: <20090120.133113.-1630673491@bsdimp.com> "M. Warner Losh" writes: : In message: <4976297c.7020...@bluezbox.com> : Oleksandr Tymoshenko writes: : : Yesterday I ran into a "problem" with uart(4) on big-endian MIPS : : b

Code review request: cdcontrol status label additon

2009-01-28 Thread M. Warner Losh
Please find enclosed patches to enable printing of the ISO-9660 Volume label, if present, for a CD. I've connected this to the 'status label' command. Please comment. Warner Index: cdcontrol.1 === --- cdcontrol.1 (revision 187760) +

Re: Code review request: cdcontrol status label additon

2009-01-28 Thread M. Warner Losh
In message: <87k58f7npu@kobe.laptop> Giorgos Keramidas writes: : On Wed, 28 Jan 2009 02:09:50 -0700 (MST), "M. Warner Losh" wrote: : > Please find enclosed patches to enable printing of the ISO-9660 Volume : > label, if present, for a CD. I've co

Re: Code review request: cdcontrol status label additon

2009-01-28 Thread M. Warner Losh
In message: <87mydbiecp@kobe.laptop> Giorgos Keramidas writes: : On Wed, 28 Jan 2009 09:20:46 -0700 (MST), "M. Warner Losh" wrote: : > Not going to look at glabel for this. I lifted the code from glable, : > but must have done it badly. I'll grab a c

Re: Code review request: cdcontrol status label additon

2009-01-28 Thread M. Warner Losh
In message: <87d4e7e4y0@kobe.laptop> Giorgos Keramidas writes: : On Wed, 28 Jan 2009 18:29:10 +0200, Giorgos Keramidas wrote: : > On Wed, 28 Jan 2009 09:20:46 -0700 (MST), "M. Warner Losh" wrote: : >> Not going to look at glabel for this. I li

Re: KLD: program.ko: depends of kernel - no avaiable

2009-01-28 Thread M. Warner Losh
In message: <20090129045304.ga18...@debian.samsung.router> Alexej Sokolov writes: : Can you paste please the dmesg after KLDloading ? Sometimes there are : in /var/log/messages more helpful information. And I would like to look : your syscall code if it possible. : : Alexej : : On

Re: KLD: program.ko: depends of kernel - no avaiable

2009-01-30 Thread M. Warner Losh
In message: Jacky Oh writes: : Can the solution become the source tree updates to the same version of my : installed kernel? Sorry for my irregular-time questions and responses but : currently i cannot access to inet.. It's really difficult for me becouse I : don't put instant solutio

Re: kobj methods (DEVMETHOD) that have differing signatures (in src/sys)

2009-02-04 Thread M. Warner Losh
In message: <4989e87b.5010...@icyb.net.ua> Andriy Gapon writes: : : This based on the (much) earlier proposal described here: : http://lists.freebsd.org/pipermail/freebsd-arch/2008-April/007982.html : : The patch was applied to the recent current sources and LINT kernels for : all ar

Re: Patch for MS Hyper V (virtualization)

2009-04-06 Thread M. Warner Losh
In message: <200904061154.19601@freebsd.org> John Baldwin writes: : On Sunday 05 April 2009 12:23:39 pm Sergey Babkin wrote: : > : >Apr 4, 2009 02:10:23 PM, ivo...@freebsd.org wrote: : >>Can someo=ne please review and commit (if appropriate) the tweak for : >>Hyper-V s

Re: C99: Suggestions for style(9)

2009-04-30 Thread M. Warner Losh
In message: <20090428114754.gb89...@server.vk2pj.dyndns.org> Peter Jeremy writes: : >Maybe using all of these changes is a bit too big change at once, but : >I'd like some of them applied to style(9). So, please consider the : >proposed changes individually and not a as a all-or-noth

Re: C99: Suggestions for style(9)

2009-04-30 Thread M. Warner Losh
In message: <20090430233648.ga95...@keira.kiwi-computer.com> "Rick C. Petty" writes: : On Thu, Apr 30, 2009 at 09:02:26AM -0600, M. Warner Losh wrote: : > : > This is the biggest one, and I think it may be too soon. Also, we : > need to be careful on t

Re: C99: Suggestions for style(9)

2009-05-01 Thread M. Warner Losh
In message: <49fa8d73.6040...@gmx.de> Christoph Mallon writes: : M. Warner Losh schrieb: : > In message: <20090428114754.gb89...@server.vk2pj.dyndns.org> : > Peter Jeremy writes: : > : >Maybe using all of these changes is a bit too big change at on

Re: C99: Suggestions for style(9)

2009-05-01 Thread M. Warner Losh
In message: <49fa8e88.1040...@gmx.de> Christoph Mallon writes: : M. Warner Losh schrieb: : > In message: <20090430233648.ga95...@keira.kiwi-computer.com> : > "Rick C. Petty" writes: : > : On Thu, Apr 30, 2009 at 09:02:2

Re: C99: Suggestions for style(9)

2009-05-01 Thread M. Warner Losh
In message: <49fadef3.5010...@gmx.de> Christoph Mallon writes: : Marius Strobl schrieb: : > On Sun, Apr 26, 2009 at 09:02:36AM +0200, Christoph Mallon wrote: : >> return with parentheses: : >> Removed, because it does not improve maintainability in any way. There : >> is no source for

Re: C99: Suggestions for style(9)

2009-05-01 Thread M. Warner Losh
In message: <20090501.081229.1359784281@bsdimp.com> M. Warner Losh writes: : In message: <49fa8e88.1040...@gmx.de> : Christoph Mallon writes: : : M. Warner Losh schrieb: : : > In message: <20090430233648.ga95...@keira.kiwi-computer.com> : :

Re: C99: Suggestions for style(9)

2009-05-02 Thread M. Warner Losh
In message: <49fcafa2.60...@gmx.de> Christoph Mallon writes: : Julian Elischer schrieb: : >> Christoph Mallon wrote: : K&R code should be changed as part of related changes if possible. : A sweep to change a whole file is probably also ok. : changing them one at a time i

Re: C99: Suggestions for style(9)

2009-05-03 Thread M. Warner Losh
In message: <49fd4391.9070...@gmx.de> Christoph Mallon writes: : M. Warner Losh schrieb: : > In message: <49fcafa2.60...@gmx.de> : > Christoph Mallon writes: : > : Julian Elischer schrieb: : > : >> Christoph Mallon wrote: : > : >>&

Re: about building the crosstools

2009-05-21 Thread M. Warner Losh
In message: <4a15d288.3060...@telenix.org> Chuck Robey writes: : I got instructions from Warner about how to build my crosstools (the FreeBSD : ones) and after a minor startup contretemps, things began to work better. My : problem is that on doing the linking step, I'm getting a compl

Re: Clang: now available from a SVN server near you!

2009-06-08 Thread M. Warner Losh
In message: <20090604093831.ge48...@hoeg.nl> Ed Schouten writes: : Good news everyone! ... : So far we've only done testing on amd64 and i386. A lot of ports are : probably still broken. Caveat emptor. Beware of dog. Slippery when wet. "objects in mirror may be larger than they appear

Help troubleshooting...

2009-10-25 Thread M. Warner Losh
I have a usb stick (8GB) on it. This stick has about 5GB of junk on it at this point. I tried to do 'cat * > /dev/null' recently, to measure how fast it goes. It got about 1GB into the drive and then I got device missing messages. Here's the dmesg messages: # Plug it in da0 at umass-sim0 bus 0

Re: Help troubleshooting...

2009-10-26 Thread M. Warner Losh
In message: <200910260959.20772.hsela...@c2i.net> Hans Petter Selasky writes: : On Monday 26 October 2009 01:05:03 n...@ever.sanda.gr.jp wrote: : > M. Warner Losh wrote: : > > I have a usb stick (8GB) on it. This stick has about 5GB of junk on : > > it at this

Re: Help troubleshooting...

2009-10-26 Thread M. Warner Losh
In message: <200910261258.08135.hsela...@c2i.net> Hans Petter Selasky writes: : On Monday 26 October 2009 12:48:16 M. Warner Losh wrote: : > I know that the august 25th version failed badly when I tried to burn : > DVDs from a USB drive to a USB attached DVD burner. This

Re: Help troubleshooting...

2009-10-26 Thread M. Warner Losh
In message: <86skd6cmm8@ds4.des.no> Dag-Erling_Smørgrav writes: : "M. Warner Losh" writes: : > FreeBSD lighthouse 9.0-CURRENT FreeBSD 9.0-CURRENT #41 r185338:198411M: Fri Oct 23 10:08:48 MDT 2009 i...@lighthouse:/cache/svn/head/sys/amd64/compile/LIGHTHOUS

Re: Help troubleshooting...

2009-10-26 Thread M. Warner Losh
In message: <86aazecl00@ds4.des.no> Dag-Erling_Smørgrav writes: : "M. Warner Losh" writes: : > Yes. Of course I have local modifications, but none in the usb stack. : > But I've also done a svn update from the top of the tree multiple : > times an

Re: GEOM_ULZMA

2010-03-04 Thread M. Warner Losh
In message: <20100304102158.ga8...@nobby.geeknest.org> Ulf Lilleengen writes: : On Fri, Feb 19, 2010 at 04:36:44PM +0200, Alexandr Rybalko wrote: : > Hi, : > I wrote a module GEOM_ULZMA (such as GEOM_UZIP, but compression with lzma), in connection with this is an issue best left lzma

Patch to config for compatibility

2010-04-14 Thread M. Warner Losh
I also have a patch to config. It lets you put a line of the form CONFIG_OLD_OPTION = CONFIG_NEW_OPTION in the options files. This is useful when optioning are changing and have a rather wide scope and need to be merged, as with the recent CONFIG_FREEBSD32 option. With this merged to stable, w

Re: Patch for config utility

2010-04-14 Thread M. Warner Losh
Quick comment: Why not set srcdir instead of inventing ksrcdir? Warner In message: <20100414130353.c28d5128@dlink.ua> Alexandr Rybalko writes: : Hi All, : : I made a patch for the config utility, which enables execution of config outside of the kernel source tree. : The main pu

Re: What tty changes - question on porting ltmdm and hcfmdm to FreeBSD 8

2010-04-24 Thread M. Warner Losh
In message: <20100424102255.12d78...@ernst.jennejohn.org> Gary Jennejohn writes: : On Fri, 23 Apr 2010 16:27:12 -0700 : Ted Mittelstaedt wrote: : : > Setting aside the question of why do we break software that a lot of : > people use : > (these chips are in use on a lot of laptops

Re: Building kernels broken under AMD64 Releng 8

2010-04-26 Thread M. Warner Losh
In message: Garrett Cooper writes: : On Mon, Apr 26, 2010 at 2:54 PM, Stephen Hocking : wrote: : > Hi all, : > : > Am noticing the following when attempting to build a kernel: : > : > [r...@blurfl /usr/src]# make buildkernel : > : > ---

Re: Building kernels broken under AMD64 Releng 8

2010-04-26 Thread M. Warner Losh
In message: Stephen Hocking writes: : On Tue, Apr 27, 2010 at 9:19 AM, M. Warner Losh wrote: : > In message: : >            Garrett Cooper writes: : > : On Mon, Apr 26, 2010 at 2:54 PM, Stephen Hocking : > : wrote: : > : > Hi all, : > : > : > : >

Re: Contributing to FreeBSD list of things todo

2005-11-02 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Ben Siemon <[EMAIL PROTECTED]> writes: : I have a suggestion for things dev people could do to help out with : code already done. I noticed the suggestion for compiling with -Wall : enabled. Would it serve any purpose to compile the sources with -ansi : a

Re: locking in a device driver

2005-11-02 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Julian Elischer <[EMAIL PROTECTED]> writes: : Dinesh Nair wrote: : : > : > : > On 10/28/05 10:52 M. Warner Losh said the following: : > : >> libc_r will block all other threads in the application while an ioctl : >&

Re: locking in a device driver

2005-11-02 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Dinesh Nair <[EMAIL PROTECTED]> writes: : : : On 11/03/05 03:12 Warner Losh said the following: : > Yes. if you tsleep with signals enabled, the periodic timer will go : > off, and you'll return early. This typically isn

Re: locking in a device driver

2005-11-02 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Scott Long <[EMAIL PROTECTED]> writes: : Dinesh Nair wrote: : > : > : > On 11/03/05 03:12 Warner Losh said the following: : > : >> Yes. if you tsleep with signals enabled, the periodic timer will go : >> off, and

Re: locking in a device driver

2005-11-03 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Sergey Babkin <[EMAIL PROTECTED]> writes: : Maybe it can be fixed in the kernel without : too much trouble. It already is in libthr and libposix. They already use execution contexts to map M threads onto N contexts. libc_r is being retired and not wort

Re: Kernel source hacking

2005-11-03 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Václav Haisman <[EMAIL PROTECTED]> writes: : I have noticed that there are still places in kernel sources that use : K&R style of function parameter definitions. You must be looking at old sources. Most of the kernel has been converted, but it is still

Re: misc questions about the device&driver arch

2005-11-05 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> kylin <[EMAIL PROTECTED]> writes: : /// : pci bridge dynamic resize : / : it seems that the device arch of freebsd is similar to what is revealed in : window OS. i have read the pcie hotplug tps of windows longhorn ,it is said : th

Re: No interrupts coming to device driver.

2005-11-11 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Alexander Nedotsukov <[EMAIL PROTECTED]> writes: : I trying to create small lirc (www.lirc.org) compatible CIR driver for : it8705 chip (sits on ISA bus). My problem is I can not get interrupts : coming to driver. I believe I configured chip (carrier fr

Re: Sierra Wireless / AC775 / Loading an external cisfile as a 'quirck'

2005-11-12 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Dirk-Willem van Gulik <[EMAIL PROTECTED]> writes: : : I've got the (correct) CIS files below for a Sierra Wireeless Airnet 775 : (AC775) card. The actual data on the card (see second cut-and-paste) is : wrong (i.e. multi function instead of a modem). : :

Re: How to make my new driver be configurable in the kernel configuration file?

2005-11-16 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> John Baldwin <[EMAIL PROTECTED]> writes: : On Wednesday 16 November 2005 05:33 am, Yong Ma wrote: : > - Original Message ----- : > From: "Warner Losh" <[EMAIL PROTECTED]> : > To: [EMAIL PROTECTED] : > S

Re: Dealing with silo overflow and interrupt-level buffer overflow in sio(4)

2005-11-17 Thread M. Warner Losh
How does this help with interrupt level overflows? Warner ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Physical memory access from kld

2005-11-21 Thread M. Warner Losh
I think that you'll want to use PCIB_READ_CONFIG. This function takes a pointer to a pci bridge device_t and can be used to read an arbitrary register in pci config space. PCIB_READ_CONFIG(pcib, b, s, f, n, w) b -- bus s -- slot f -- function n -- register to read w -- width to read This will h

Re: Writing a driver for a card reader controller - how?

2005-11-24 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Thiemo Nordenholz <[EMAIL PROTECTED]> writes: : I am writing a device driver for a card reader controller which is installed : in my notebook, using the Winbond W83L518D chip. It's FreeBSD 6.0-STABLE : running there now, though I started programming under

Re: Writing a driver for a card reader controller - how?

2005-11-24 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Thiemo Nordenholz <[EMAIL PROTECTED]> writes: : Hi Warner, : : > to be set. Can you send me a pointer to the winbond datasheet you are : > using? IIRC, this chip has an odd API since it appears to be derived : : As I have to wait for some spare time b

Re: Writing a driver for a card reader controller - how?

2005-11-24 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Thiemo Nordenholz <[EMAIL PROTECTED]> writes: : > how to setup the base address for each of the sets of registers : > without actually talking about the sets of registers themselves. Nor : > can I find in the document a pointer to the different register

Re: ZyXEL usb wifi

2005-11-25 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Bachilo Dmitry <[EMAIL PROTECTED]> writes: : В сообщении от Четверг 24 Ноябрь 2005 21:18 Cristiano Deana написал(a): : > Hi, : > : > I got a ZyXEL ZyAIR G-220, dongle usb wi-fi. : > FreeBSD (-CURRENT) shows it as ugen0, what can i do to help somebody : >

Re: Writing a driver for a card reader controller - how?

2005-11-25 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Thiemo Nordenholz <[EMAIL PROTECTED]> writes: : > Do you have a copy of the MMC standard? : Let's say, I have access to one. I have access to the sanitized versions of the standard as well, but not the full standard. : > Does the MMC standard actually d

Re: to list all the devices in freebsd &definition analyse

2005-11-27 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> kylin <[EMAIL PROTECTED]> writes: : i can use pciconf in freebsd to list the pci device ,but how to list : the device tree in freeebsd? devinfo -v : i got some anornymous definition on devclass driver and device that : differ from the current man page :

Re: Writing a driver for a card reader controller - how?

2005-11-28 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> John Baldwin <[EMAIL PROTECTED]> writes: : On Thursday 24 November 2005 01:26 pm, M. Warner Losh wrote: : > In message: <[EMAIL PROTECTED]> : > : > Thiemo Nordenholz <[EMAIL PROTECTED]> writes: : > : Hi W

Re: puzzle about the pci_add_child

2005-11-28 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> kylin <[EMAIL PROTECTED]> writes: : i am reading the pci code of freeBSD 53 ,and come to the puzzle of :pci_add_child. :1 : why should we =09pci_cfg_save(dinfo->cfg.dev, dinfo, 0); after we have :already fill the cfg in pci_read_device ?

Re: pc card on watchguard firebox II

2005-11-28 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> John Baldwin <[EMAIL PROTECTED]> writes: : On Sunday 27 November 2005 11:49 pm, Anthony Mattke wrote: : > I have a WatchGuard Firebox II that I've been working on turning into : > a decent router. I see many people have installed monowall : > (http://m0n0

Re: Weird PCI interrupt delivery problem

2005-12-01 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Craig Boston <[EMAIL PROTECTED]> writes: : I suspect that really old 16-bit PCMCIA cards with non-sharable : interrupts wouldn't work, but does NEWCARD even support those anyway? Yes. There's no such thing as a PCMCIA card whose interrupts are non-shara

Re: Weird PCI interrupt delivery problem

2005-12-01 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Craig Boston <[EMAIL PROTECTED]> writes: : On Thu, Dec 01, 2005 at 07:11:10PM -0700, M. Warner Losh wrote: : > In message: <[EMAIL PROTECTED]> : > Craig Boston <[EMAIL PROTECTED]> writes: : > : I suspect th

Re: Cardbus panics

2005-12-13 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Josef Grosch <[EMAIL PROTECTED]> writes: : : I have an IBM T22 thinkpad running FreeBSD 5.4-RELEASE-p8. I have the : CardBus devices in the current kernel. When I insert a CardBus device, A : Xircom RealPort CardBus Ethernet I get a kernel panic like so;

Re: Driver for a 3G mobile phone.

2006-01-09 Thread M. Warner Losh
takawata-san, I have looked over this patch, and it looks good to me. Will you have time to commit it soon, or would you like someone else to commit for you? Warner ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/

Re: Ricoh PCI to SD device?

2006-01-10 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Brooks Davis <[EMAIL PROTECTED]> writes: : On Mon, Jan 09, 2006 at 03:35:51PM -0500, David Gilbert wrote: : > > "Brooks" == Brooks Davis <[EMAIL PROTECTED]> writes: : > : > Brooks> On Mon, Jan 09, 2006 at 11:12:30AM -0500, David Gilbert wrote: : > >>

Re: Ricoh PCI to SD device?

2006-01-10 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Brooks Davis <[EMAIL PROTECTED]> writes: : On Mon, Jan 09, 2006 at 11:12:30AM -0500, David Gilbert wrote: : > Has anyone had a look at the following: : > : > [EMAIL PROTECTED]:1:2: class=0x080501 card=0x01aa1028 chip=0x08221180 rev=0x17 hdr=0x00 : >

Re: Ricoh PCI to SD device?

2006-01-10 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Darren Pilgrim" <[EMAIL PROTECTED]> writes: : From: Brooks Davis : > On Mon, Jan 09, 2006 at 11:12:30AM -0500, David Gilbert wrote: : > > Has anyone had a look at the following: : > > : [ Ricoh SD Bus Host Adapter, PCI ID 0x08221180 ] : > : > People are

Re: Ricoh PCI to SD device?

2006-01-11 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Andrew Gordon <[EMAIL PROTECTED]> writes: : : On Tue, 10 Jan 2006, M. Warner Losh wrote: : > : > Are you sure they provide technical documentation sufficent to write : > the driver? The last time I asked, I got a nice document

Re: Ricoh PCI to SD device?

2006-01-19 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Peter Jeremy <[EMAIL PROTECTED]> writes: : http://focus.ti.com/docs/apps/catalog/resources/appnoteabstract.jhtml?abstractName=scpu022 : contains some information as does the data manual for the PCI17x21. : : I'm not sure if there is sufficient informati

Re: Config(8) dependency checking - first patches

2006-01-20 Thread M. Warner Losh
: Notes and patches against 7-CURRENT are at : http://www.gsicomp.on.ca/projects/freebsd/configdep.html. How would you encode ed's dependencies? The ed driver only depends on mii when built with pccard enabled. Warner ___ freebsd-hackers@freebsd.org ma

Bad block -> file mapping

2006-02-18 Thread M. Warner Losh
I have a hard disk that's been in service a long time. I recently installed the SMART monitoring tools. On occasion, I get reports of LBAs it can't read. I'd like to map the LBA to an actual file in the file system, if possible. Does anybody have any tools that can help me with this? I know I

Re: Bad block -> file mapping

2006-02-18 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Bakul Shah <[EMAIL PROTECTED]> writes: : > I have a hard disk that's been in service a long time. I recently : > installed the SMART monitoring tools. On occasion, I get reports of : > LBAs it can't read. I'd like to map the LBA to an actual file in th

Re: Bad block -> file mapping

2006-02-18 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Bakul Shah <[EMAIL PROTECTED]> writes: : > However, I'd kinda like to know : > which file that is. If it is a boring file (foo.o, say), I'd dd the : > bad block with 0's and then remove it. If it is a non-boring file,

Re: different behaviour on fbsd and linux

2006-02-18 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Stefan Farfeleder <[EMAIL PROTECTED]> writes: : On Sat, Feb 18, 2006 at 06:21:52PM +0100, [EMAIL PROTECTED] wrote: : > On Sat, Feb 18, 2006 at 06:17:18PM +0100, Divacky Roman wrote: : > > execl("/bin/ls", NULL); : > : > This is wrong. You must spec

Re: devctl attach/detach notification for disks

2006-02-24 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Nate Nielsen <[EMAIL PROTECTED]> writes: : I'm working on a bit of code to get devctl notifications for attaching : and removing of disks. This would allow actions to be taken via devd : when a disk is attached or removed from the system. I'm not sure I

Re: world's toolchain & CPUTYPE

2006-02-26 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Ruslan Ermilov <[EMAIL PROTECTED]> writes: : On Sun, Feb 26, 2006 at 06:50:09PM +0300, Yar Tikhiy wrote: : > Hi all, : > : > Yesterday I hit the following problem: : > : > - was given an Athlon XP machine with a fresh CURRENT built with : > CPUTYPE=at

Re: unversal watchdog

2006-02-27 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Daniel O'Connor" <[EMAIL PROTECTED]> writes: : As to answer the question - I am not aware of any facility for automatically : restarting things (unless you can get init to do it via /etc/ttys somehow) : : I don't think it would be too hard to create a

Re: unversal watchdog

2006-03-01 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Alex Semenyaka <[EMAIL PROTECTED]> writes: : On Mon, Feb 27, 2006 at 05:41:32PM +0700, Vitaliy Ovsyannikov wrote: : > Hello, freebsd-hackers. : > I've stuck with the unable to make watchdogs for daemons running via : > startup rc-scripts. In linux we ca

Re: Why do we have the orm device?

2006-03-13 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Darren Pilgrim <[EMAIL PROTECTED]> writes: : I see it on all of my machines and have never seen it used by anything. : The orm(4) man page says it's part of ISA bus support and is designed : to claim ROMs sitting in the memory address space, but doesn

Re: newbus questions

2006-03-16 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Artem 'ZaZooBred' Ignatiev" <[EMAIL PROTECTED]> writes: : As far as I understand, all such cards have the same architecture: there : is bridge chip (Philips SAA7146) which interfaces with PC (using PCI) : and tuner on the card (using I2C), so in terms of

Re: Ricoh PCI to SD device?

2006-03-24 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Sam Lawrance <[EMAIL PROTECTED]> writes: : : On 11/01/2006, at 4:34 PM, M. Warner Losh wrote: : : > In message: <[EMAIL PROTECTED]> : > Brooks Davis <[EMAIL PROTECTED]> writes: : > : On Mon, Jan 09, 2006 a

Re: Direct access to hadware

2006-03-27 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Eder <[EMAIL PROTECTED]> writes: : I would like to know if exite some header ".h" in FreeBSD so : that I can make a direct access to hadware in machine with C. Yes. There is. However, without knowing what you want to do, it is impossible to recommend w

Re: Direct access to hadware

2006-03-28 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Eder <[EMAIL PROTECTED]> writes: : Hi all, : : I would like to know if exite some header ".h" in FreeBSD so : that I can make a direct access to hadware in machine with C. : : The intention is to make some things as, for example, to record ' ' in :

Re: cloning a FreeBSD HDD

2006-03-28 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Patrick Tracanelli <[EMAIL PROTECTED]> writes: : : >> I heard its faster if you use two dd's; i.e: : >> : >># dd if=/dev/ad0 bs=64k | dd of=/dev/ad1 bs=64k : >> : >> allowing read and write to proceed in parallel. : > : > : > that's what ddd and 't

Re: cloning a FreeBSD HDD

2006-04-04 Thread M. Warner Losh
AIL PROTECTED] : > [mailto:[EMAIL PROTECTED] Behalf Of M. Warner Losh : > Sent: 29 March 2006 05:04 : > To: [EMAIL PROTECTED] : > Cc: freebsd-hackers@freebsd.org : > Subject: Re: cloning a FreeBSD HDD : > : > : > In message: <[EMAIL PROTECTED]> : > Patrick Tracan

Re: Using any network interface whatsoever

2006-04-09 Thread M. Warner Losh
eth0 works well for the degenerate case where there's a network card in the system, and nothing else. It works less well for systmes where there are more than one card, and where the hardware changes a lot for all the reasons discussed in this thread. It is too generic. Of course, when you have

Re: Using any network interface whatsoever

2006-04-09 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Bruce M Simpson <[EMAIL PROTECTED]> writes: : What it really comes down to is that one needs a PCI variant which supports : what's known as 'geographical addressing', and for FreeBSD's device / ifnet : framework to support naming cards according to the ge

Re: Using any network interface whatsoever (solution?)

2006-04-09 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Mike Meyer <[EMAIL PROTECTED]> writes: : Of course, this doesn't help the OP's problem of wanting to be able to : address the sole interface in a system without knowing it's name in : advance. Maybe a feature to provide a default name for an interface if

Re: Using any network interface whatsoever (solution?)

2006-04-09 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Darren Pilgrim <[EMAIL PROTECTED]> writes: : Mike Meyer wrote: : > In <[EMAIL PROTECTED]>, Darren Pilgrim <[EMAIL PROTECTED]> typed: : >> You could test two different drivers on the same hardware and you wouldn't : >> have to duplicate or modify your ifc

Re: What's in a (device) name?

2006-04-09 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Mike Meyer <[EMAIL PROTECTED]> writes: : The major problem with it is that todays bus architectures don't have : stable device addresses. Instead of devices having a fixed address on : the bus that the user sets, the addresses are assigned as the devices

Re: Using any network interface whatsoever (solution?)

2006-04-09 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Darren Pilgrim <[EMAIL PROTECTED]> writes: : M. Warner Losh wrote: : > : > The device subsystem already exports a bus-dependent plug and play : > position. No need to make it specific to USB/PCI/whatever. : : Where is this inform

Re: Using any network interface whatsoever

2006-04-10 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Bruce M Simpson <[EMAIL PROTECTED]> writes: : On Sun, Apr 09, 2006 at 06:48:25PM -0600, M. Warner Losh wrote: : > I though thtis was already supported. We export bus/slot/function : > information devd, which can be used to configure t

Re: Missing dependencies on shared libraries

2006-04-15 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Daniel Eischen <[EMAIL PROTECTED]> writes: : On Fri, 14 Apr 2006, Victor Balada Diaz wrote: : : > Hi, : > I found that ldd doesn't report libc as a dependency on most (all?) : > libraries: : > : > pato> ldd /usr/lib/libfetch.so : > /usr/lib/libfetch.so:

Re: Missing dependencies on shared libraries

2006-04-15 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Daniel Eischen <[EMAIL PROTECTED]> writes: : On Sat, 15 Apr 2006, M. Warner Losh wrote: : : > In message: <[EMAIL PROTECTED]> : >Daniel Eischen <[EMAIL PROTECTED]> writes: : > : On Fri, 14 Apr 2006, Victor Ba

Re: Missing dependencies on shared libraries

2006-04-15 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Daniel Eischen <[EMAIL PROTECTED]> writes: : On Sat, 15 Apr 2006, M. Warner Losh wrote: : : > In message: <[EMAIL PROTECTED]> : >Daniel Eischen <[EMAIL PROTECTED]> writes: : > : On Sat, 15 Apr 2006, M. Wa

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Eric Anderson <[EMAIL PROTECTED]> writes: : Gordon Bergling wrote: : > Hi, : > : > * Thus spake Eric Anderson ([EMAIL PROTECTED]): : >> I've made a patch to /etc/rc.subr that makes the startup/shutdown rc : >> scripting look similar to other OS's (many

Re: Is showing all attributes for RS232 port possible in FreeBSD?

2006-04-22 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Garrett Cooper <[EMAIL PROTECTED]> writes: : Hi, : I was just wondering if there was any way where I could program with : C, such that I could view information regarding the extra pins on a : DB9 serial port other than just TXD and RXD, ie the D

Re: Can kldload trigger pci bus rescan?

2006-04-26 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]@promisechina.com> <[EMAIL PROTECTED]> writes: : I tried to use kldload to load our HBA driver. But the driver's pci probe : function can not find the HBA card! Does it mean that kldload can not : trigger pci bus rescan? If so, what should I do for triggeri

Re: Can kldload trigger pci bus rescan?

2006-04-27 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Zaphod Beeblebrox" <[EMAIL PROTECTED]> writes: : It would be cool if pccard and usb also reprobed when kldload ran. The usb : case is slightly more complex --- having (say) uscanner claim something that : ugen is currently claiming. PC Card has done so

Re: misc questions about the device&driver arch

2006-05-06 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Wallace William" <[EMAIL PROTECTED]> writes: : I have seen this in the freebsd 5 road map,have the hotplug of pci already : merged into the RELENG_5 branch? Not as such, no. CardBus cards can be hot plugged, but no other hot plug bridge technology has

<    10   11   12   13   14   15   16   17   18   19   >