Re: kernel.gz.aa & kernel.gz.ab

2005-09-05 Thread Matthew West
On Fri, Sep 02, 2005 at 08:47:30AM -0400, John Nielsen wrote: > On Friday 02 September 2005 08:35, Donatas wrote: > > wonder how could I decompress $subj filesthey doesn't seems to be in > > tar or gzip formats. > > > > files are taken from kern1.flp nad kern2.flp on 5.4-RELEASE/floppies > > c

Re: sed not working

2005-09-05 Thread Tim Robbins
Rein Kadastik wrote: Giorgos Keramidas wrote: On 2005-09-03 14:17, Rein Kadastik <[EMAIL PROTECTED]> wrote: Rein Kadastik wrote: Well I have one guess here. In estonian alphabet, the z comes immediately after s and before t. So as the regex orders [a-z] the characters t, u, v, w, x, y

Re: sed not working

2005-09-05 Thread Rein Kadastik
Tim Robbins wrote: Rein Kadastik wrote: Giorgos Keramidas wrote: On 2005-09-03 14:17, Rein Kadastik <[EMAIL PROTECTED]> wrote: Rein Kadastik wrote: Well I have one guess here. In estonian alphabet, the z comes immediately after s and before t. So as the regex orders [a-z] the charact

FreeBSD 6.0 Beta #3 - IDE Problems? (Intel / ICH6 based laptop)

2005-09-05 Thread Karl Pielorz
Hi All, I recently tried to boot the FreeBSD 6.0 Beta #3 on my laptop, and ran into a problem. The hard drive controller probes as: " atapci0: port 0xbfa0-0xbfaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 irq 17 at device 31.2 on pci0 ... ad0: 57231MB [116280/16/63] at ata0-master UDMA100 "

vn_fullpath() again

2005-09-05 Thread Sergey Uvarov
Hello hackers, all knows that vn_fullpath() is unreliable. However I really need to get a filename for a given vnode. To simplify the task, I do not care of synthetic file systems or hardlinks. I have looked through archives in hope to find a better solution. It seems that linux_getcwd() app

Re: FreeBSD 6.0 Beta #3 - IDE Problems? (Intel / ICH6 based laptop)

2005-09-05 Thread Karl Pielorz
--On 05 September 2005 19:31 +0400 Stanislav Sedov <[EMAIL PROTECTED]> wrote: Try to disable ACPI - it can helps. There may be some problems with ACPI on your laptop - BIOS update sometime helps. But first try to disable ACPI during FreeBSD boot. Latest BIOS on the machine already (apparentl

Adding new option to ktrace

2005-09-05 Thread Nikhil Dharashivkar
Hi, i want to hack the ktrace system call. Basically, I want to monitor scsi disk IO through dastrategy() routine. It seems that kern_ktrace.c implements different functions for ktrace options like -tc / -ti ... etc (see man page). So, is it possible to add new option for disk IO with new st

Re: vn_fullpath() again

2005-09-05 Thread Robert Watson
On Mon, 5 Sep 2005, Sergey Uvarov wrote: all knows that vn_fullpath() is unreliable. However I really need to get a filename for a given vnode. To simplify the task, I do not care of synthetic file systems or hardlinks. I have looked through archives in hope to find a better solution. It see

Re: Adding new option to ktrace

2005-09-05 Thread Scott Long
Nikhil Dharashivkar wrote: Hi, i want to hack the ktrace system call. Basically, I want to monitor scsi disk IO through dastrategy() routine. It seems that kern_ktrace.c implements different functions for ktrace options like -tc / -ti ... etc (see man page). So, is it possible to add new o

Re[2]: vn_fullpath() again

2005-09-05 Thread Igor Shmukler
Robert, You are correct about the Unix file system organization, but does it mean reliable vnode to fullname conversation is not possible? As long as vnode is referenced we should be able to perform the lookup for any file system. Linux does a pretty good job with d_path() and I understand Matt

Re: Adding new option to ktrace

2005-09-05 Thread Scott Long
Rajesh S. Ghanekar wrote: Scott Long wrote: Nikhil Dharashivkar wrote: Hi, i want to hack the ktrace system call. Basically, I want to monitor scsi disk IO through dastrategy() routine. It seems that kern_ktrace.c implements different functions for ktrace options like -tc / -ti ... etc

Bus DMA question

2005-09-05 Thread Hans Petter Selasky
Hi, When one creates a DMA tag for a PCI device, using "bus_dma_tag_create()", I see that most drivers use "NULL" for the parent field, at some point, but shouldn't this field actually point to the DMA tag of the bus where the device is physically attached ? --HPS _

Re: kernel.gz.aa & kernel.gz.ab

2005-09-05 Thread John Nielsen
On Monday 05 September 2005 04:56 am, Matthew West wrote: > On Fri, Sep 02, 2005 at 08:47:30AM -0400, John Nielsen wrote: > > On Friday 02 September 2005 08:35, Donatas wrote: > > > wonder how could I decompress $subj filesthey doesn't seems to be > > > in tar or gzip formats. > > > > > > files

Re: kernel.gz.aa & kernel.gz.ab

2005-09-05 Thread John Nielsen
On Monday 05 September 2005 07:58 pm, John Nielsen wrote: > On Monday 05 September 2005 04:56 am, Matthew West wrote: > > On Fri, Sep 02, 2005 at 08:47:30AM -0400, John Nielsen wrote: > > > On Friday 02 September 2005 08:35, Donatas wrote: > > > > wonder how could I decompress $subj filesthey d

Re: Bus DMA question

2005-09-05 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Hans Petter Selasky <[EMAIL PROTECTED]> writes: : When one creates a DMA tag for a PCI device, using "bus_dma_tag_create()", I : see that most drivers use "NULL" for the parent field, at some point, but : shouldn't this field actually point to the DMA t

Re: Adding new option to ktrace

2005-09-05 Thread Nikhil Dharashivkar
Yes, what rajesh saying is right , i want to print IO Bytes. On 9/6/05, Scott Long <[EMAIL PROTECTED]> wrote: > Rajesh S. Ghanekar wrote: > > Scott Long wrote: > > > >> Nikhil Dharashivkar wrote: > >> > >>> Hi, > >>>i want to hack the ktrace system call. Basically, I want to monitor > >>> scsi

Re: kernel.gz.aa & kernel.gz.ab

2005-09-05 Thread Donatas
it is a split index file >> > > wonder how could I decompress $subj filesthey doesn't seems to be >> > > in tar or gzip formats. >> > > >> > > files are taken from kern1.flp nad kern2.flp on 5.4-RELEASE/floppies >> > >> > cat kernel.gz.aa kernel.gz.ab > kernel.gz >> > gunzip kernel.gz >> >> Yo

Re: Adding new option to ktrace

2005-09-05 Thread Scott Long
Nikhil Dharashivkar wrote: Yes, what rajesh saying is right , i want to print IO Bytes. You want to capture writes coming from userland, or you want to capture all low-level disk writes? Are you trying to correlate these writes with a particular user process? Consider an mmaped file. A userl

Re: Adding new option to ktrace

2005-09-05 Thread Nikhil Dharashivkar
Hi Scott and Rajesh, Thanks for replying me. Basically what happend, while testing scsi driver on freebsd, at some point it crashes. So, there is no way to know how much IO is performed. To know the IO state just before the driver fails, i selected ktrace to print IO information whatever i ll

Re: Adding new option to ktrace

2005-09-05 Thread Scott Long
Nikhil Dharashivkar wrote: Hi Scott and Rajesh, Thanks for replying me. Basically what happend, while testing scsi driver on freebsd, at some point it crashes. So, there is no way to know how much IO is performed. To know the IO state just before the driver fails, i selected ktrace to print

Re: Adding new option to ktrace

2005-09-05 Thread Nikhil Dharashivkar
Crashed occured only once at client side, for some long duration test. But it is informed that at some point to monitor the testing report should have some IO trace. On 9/6/05, Scott Long <[EMAIL PROTECTED]> wrote: > Nikhil Dharashivkar wrote: > > Hi Scott and Rajesh, > > Thanks for reply