Re: Firewire tape drives

2004-03-16 Thread Daniel O'Connor
On Wed, 17 Mar 2004 16:52, Bernd Walter wrote: > On Wed, Mar 17, 2004 at 02:43:57PM +0900, Katsushi Kobayashi wrote: > > If the device works with SBP-II protocol, I believe it will work on CAM > > framework as usual SCSI device. > > umass(4) should work for USB as well. I am not a huge fan of USB

Re: Firewire tape drives

2004-03-16 Thread Bernd Walter
On Wed, Mar 17, 2004 at 02:43:57PM +0900, Katsushi Kobayashi wrote: > If the device works with SBP-II protocol, I believe it will work on CAM > framework as usual SCSI device. umass(4) should work for USB as well. > On 2004/03/17, at 14:39, Daniel O'Connor wrote: > > >Hi, > >Does anyone have any

Re: Firewire tape drives

2004-03-16 Thread Katsushi Kobayashi
If the device works with SBP-II protocol, I believe it will work on CAM framework as usual SCSI device. On 2004/03/17, at 14:39, Daniel O'Connor wrote: Hi, Does anyone have any? Do they work in FreeBSD? :) I have seen a Sony AIT2 drive with a Firewire/USB2 option and I'd be interested to know if i

Firewire tape drives

2004-03-16 Thread Daniel O'Connor
Hi, Does anyone have any? Do they work in FreeBSD? :) I have seen a Sony AIT2 drive with a Firewire/USB2 option and I'd be interested to know if it works in FreeBSD as UW SCSI cards are rather pricey.. Thanks. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.

Updating just the zoneinfo stuff

2004-03-16 Thread Murray Taylor
This may be a bit off topic but is this the right way to update the zoneinfo data used for the time / timezone related calls.. cvsup -STABLE cd /usr/src/share/zoneinfo make make install I need to ensure that the zoneinfo is upto date on say a monthly cycle and dont really want or need to recomp

agp device drivers

2004-03-16 Thread Jason
I am working on learning to write device drivers mainly because I have no 3d on my system. After ready the handbooks and lots of source code I have a question about the current driver I am trying to work on. Here is a sample that I have a question about: struct agp_nvidia_softc { struct ag

mbr boot selector

2004-03-16 Thread slick
Hi i wrote my own fdisk(8) and now would like to implement universal multiboot support in it. I did browse different mbr and related tools around but did notice all weren't compatible... I would like to know if theres a standard guideline about how mbr should implement multibooting. --- Outgoing

Re: F1+Konsole+bash = bash.core

2004-03-16 Thread Sam Lawrance
Maybe you already know, but this looks like ports/61297. The PR contains reports of similar occurrences with xterm. On Wed, 2004-03-17 at 07:00, Dan Langille wrote: > Any one interested in digging for this one? My laptop is out of > commission at the moment, but hopefully it'll be back soone. >

5.2.1 diskless linux emul panic

2004-03-16 Thread mark
Hey all, I'm running 5.2.1-p1 on trying to do PXEBOOT, nfs root, mfs tmp and var. It all works great, but when I try to execute a linux binary, I get a panic "double fault". Sometimes it shows "nfs_getpages: error: 70". That's the error for stale file. I'm guessing linux emul is trying to do so

Re: kernel modules programming: struct proc question

2004-03-16 Thread Pawel Jakub Dawidek
On Tue, Mar 16, 2004 at 07:39:56PM +0300, Roman Bogorodskiy wrote: +> I hope it's a right place for kernel module programming related +> questions, in another case I'd be glad if you point me to the right +> maillist. +> +> So, my aim is to log every file opening in `/tmp' dir. I've wrote a

F1+Konsole+bash = bash.core

2004-03-16 Thread Dan Langille
Any one interested in digging for this one? My laptop is out of commission at the moment, but hopefully it'll be back soone. --- Forwarded message follows --- From: Andy Fawcett <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject:Re: [k

Re: kernel activity

2004-03-16 Thread Peter Jeremy
Please don't top-post. On Tue, Mar 16, 2004 at 09:42:25AM +0100, Bogdan TARU wrote: > Thanks for the mails & advices... The box is a dual xeon @3GHz, with > 4GB of ram and raid 5 on board (scsi HDDs), with a 4.9 on it. Not short of horsepower then. 250K syscalls/sec may not be overly excessive f

Re: kernel modules programming: struct proc question

2004-03-16 Thread Toni Andjelkovic
On Tue, Mar 16 2004 (19:39:56 +0300), Roman Bogorodskiy wrote: [...] > printf("open(2): %s pid: %i\n", name, (int)p->p_pid); [...] > Mar 16 19:15:44 nov kernel: open(2): /tmp/asfdasfsaf pid: -1002890624 pid_t is an unsigned number, so try "%u" in printf() instead. There's no need to

Re: noread(), nopoll().... functions

2004-03-16 Thread Kip Macy
0 -Kip On Mon, 15 Mar 2004, Claudio Martella wrote: > > Hi, i'm writing a driver, and noticed the noread() nopoll() etc > general-use functions for struct cdevsw are no longer present in 5.x. What > can i use in 5.x? > > > TIA > > > --

kernel modules programming: struct proc question

2004-03-16 Thread Roman Bogorodskiy
Hi, I hope it's a right place for kernel module programming related questions, in another case I'd be glad if you point me to the right maillist. So, my aim is to log every file opening in `/tmp' dir. I've wrote a simple "syscall" module which replaces open(2) syscall. My new open(2) loo

re: GCC optimization bugs -- still there or a historic artifact?

2004-03-16 Thread Paul Seniura
Hi, > [snip] > > And as for PPC, I've compiled things as high as -O5, > > which is its limit I believe. ;) > [snip] > > hm, no docs for -On, n > 3 at http://xrl.us/brh2 . Looking at the > code: http://xrl.us/brh5 (search for 'optimize >= 3'), I don't see any > evidence that -O5 is diffe

Re: HDD questions

2004-03-16 Thread Roman Kurakin
One more thing could we realy rely on presensents ATA_FLAG_54_58? As I find out 0 means "could be valid" (not "not valid") and in ATA-6 we could se that this bit is obsolete? So if word 54-58 are not valid (or may be not valid) doesn't mean that we have non LBA drive. rik Roman Kurakin wrote:

Re: HDD questions

2004-03-16 Thread Roman Kurakin
This is realy CHS request, not lba. I checked configuration it contains 6 in word 53 from indentify drive information. Ata driver decides because of that that hdd is in CHS mode not in LBA. By the way I checked this hdd with other main board. I read this (I hope that it is realy this one) sector w

Re: How to write a new line discipline?

2004-03-16 Thread Daniel O'Connor
On Tue, 16 Mar 2004 19:04, Bernd Walter wrote: > Don't forget that there are chips (e.g. uftdi(4) based) that can > control txenable themself without OS interaction. > You can't expect the userland software to know. Well, no, but I envisage this is something the line discipline does when it needs

noread(), nopoll().... functions

2004-03-16 Thread Claudio Martella
Hi, i'm writing a driver, and noticed the noread() nopoll() etc general-use functions for struct cdevsw are no longer present in 5.x. What can i use in 5.x? TIA -- Claudio Martella R&D - Ikon Corp http://www.ikon-corp.it ___ [EMAIL PROT

Installing 5.2.1 or 4.9 problems

2004-03-16 Thread Ali
Hello, I'm trying to install Freebsd 5.2.1 on my laptop Samsung X30 but it dies with this message: - In default mode and ACPI disabled mode : Mounting root from ufs:/dev/md0 - Verbose mode : (probe1:sbp0:0:1:0): error 22 (probe1:sbp0:0:1:0): Unretryable Eroor (probe1:sbp0:0:2:0): error 22 (pr

Re: Subversion follow-up

2004-03-16 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2004-03-10 08:35:17 -0600: > Unless somebody chimes in and just really wants me to stick this out to the > bitter end, I'm about to kill my attempted import of the FreeBSD src/ > repository into a test Subversion instance. > > The process has just passed the 1 month mark: >

Re: kernel activity

2004-03-16 Thread Per Engelbrecht
Hi Bogdan You don't have to give up device polling because of SMP. I run several fbsd 4.9-stable (dual PIII) with device polling. Go to /sur/src/sys/kern/kern_poll.c , outcomment the SMP part, add device polling, hz= et al to kernel, recompile, set sysctl variables, reboot and you're done. Works l

Re: kernel activity

2004-03-16 Thread Bogdan TARU
Hi Peter and all, Thanks for the mails & advices... The box is a dual xeon @3GHz, with 4GB of ram and raid 5 on board (scsi HDDs), with a 4.9 on it. The 'tuning' includes removing all the unnecessary stuff from the kernel, activating the ACCEPT_FILTERS and tuning some sysctl values,

Re: How to write a new line discipline?

2004-03-16 Thread Bernd Walter
On Tue, Mar 16, 2004 at 04:29:04PM +1030, Daniel O'Connor wrote: > Hi, > My company uses RS485 to talk to various pieces of hardware, and currently to > do this we have a hacked up copy of sio which talks to a conventional RS485 > card, while this works well it would be nicer to be able to use di