RE: Mandatory locking?

1999-08-24 Thread Biju Susmer
> > This isn't locking, it's access exclusion. It's also not correct for > NSK. what is the difference between locking and access exclusion? i was thinking both are same (locking implies access exclusion). in other words, My idea of mandatory locking is same as exclusive access to the file. a

RE: Mandatory locking?

1999-08-24 Thread Biju Susmer
> > This isn't locking, it's access exclusion. It's also not correct for > NSK. what is the difference between locking and access exclusion? i was thinking both are same (locking implies access exclusion). in other words, My idea of mandatory locking is same as exclusive access to the file.

RE: Mandatory locking?

1999-08-24 Thread Biju Susmer
All the files under Tandem's NSK has mandatory locking. The file cannot be opened if another process has it opened. some thing like * if the file is opened for reading, any one can open it for reading but opening for writing gives error * if the file is open for writing, it can't be opened

RE: Mandatory locking?

1999-08-24 Thread Biju Susmer
All the files under Tandem's NSK has mandatory locking. The file cannot be opened if another process has it opened. some thing like * if the file is opened for reading, any one can open it for reading but opening for writing gives error * if the file is open for writing, it can't be opene

RE: Probably bug with allocation memory in FreeBSD-3.2-RELEASE

1999-08-17 Thread Biju Susmer
> > Well, yeah, that's becuase you're running it out of swap by trying to > allocate a gigabyte of memory. but this is done in steps of 1MB. Once it reaches out of memory, malloc should return NULL. Since there is no checking for NULL in this code, it should hit a signal, isn't it? Why that is no

RE: Probably bug with allocation memory in FreeBSD-3.2-RELEASE

1999-08-17 Thread Biju Susmer
> > Well, yeah, that's becuase you're running it out of swap by trying to > allocate a gigabyte of memory. but this is done in steps of 1MB. Once it reaches out of memory, malloc should return NULL. Since there is no checking for NULL in this code, it should hit a signal, isn't it? Why that is n

RE: IDE quirk in 3.2-STABLE kernel ?

1999-08-08 Thread Biju Susmer
> > Odd, all of the machines that I've seen shipped lately have their > CDROMs on a secondary IDE controller as SLAVE with no master. Works > great, and the FreeBSD drivers work well when hacked to not require > a master fo there to be a slave i commented out one line in wd.c, wdprobe() and i

RE: IDE quirk in 3.2-STABLE kernel ?

1999-08-08 Thread Biju Susmer
> > Odd, all of the machines that I've seen shipped lately have their > CDROMs on a secondary IDE controller as SLAVE with no master. Works > great, and the FreeBSD drivers work well when hacked to not require > a master fo there to be a slave i commented out one line in wd.c, wdprobe() and

RE: IDE quirk in 3.2-STABLE kernel ?

1999-08-05 Thread Biju Susmer
> OK, i went to net and got this page > (http://www.mit.edu/afs/sipb.mit.edu/project/linux/docs/faq/AT > API-FAQ) there > also they say it should be MASTER. Problem is not with me. > The vendor didn't > follow the specs. PC never followd specs i think ;) > > Some one please put this in an FAQ (if

RE: IDE quirk in 3.2-STABLE kernel ?

1999-08-05 Thread Biju Susmer
> > Because it's wrong. If you don't believe me, buy a copy of > the spec. Why > should we waste valuable developer time trying to support > mis-configured > hardware? > The box was shipped to me this way.. i'm no a hardware expert to know the IDE specs. As far as i know, it work for Win

RE: IDE quirk in 3.2-STABLE kernel ?

1999-08-05 Thread Biju Susmer
> OK, i went to net and got this page > (http://www.mit.edu/afs/sipb.mit.edu/project/linux/docs/faq/AT > API-FAQ) there > also they say it should be MASTER. Problem is not with me. > The vendor didn't > follow the specs. PC never followd specs i think ;) > > Some one please put this in an FAQ (if

RE: IDE quirk in 3.2-STABLE kernel ?

1999-08-05 Thread Biju Susmer
> > Because it's wrong. If you don't believe me, buy a copy of > the spec. Why > should we waste valuable developer time trying to support > mis-configured > hardware? > The box was shipped to me this way.. i'm no a hardware expert to know the IDE specs. As far as i know, it work for Win

RE: IDE quirk in 3.2-STABLE kernel ?

1999-08-05 Thread Biju Susmer
> Regardless, you have to have 1 master and 0 or 1 slaves one every IDE > controller. You can't run a controller with just a slave. > I dont think it should be a problem.. Since other OSs can work with this configuration without any problem, why FBSD should refuse this configuration? When i was us

RE: IDE quirk in 3.2-STABLE kernel ?

1999-08-05 Thread Biju Susmer
> Regardless, you have to have 1 master and 0 or 1 slaves one every IDE > controller. You can't run a controller with just a slave. > I dont think it should be a problem.. Since other OSs can work with this configuration without any problem, why FBSD should refuse this configuration? When i was u

RE: IDE quirk in 3.2-STABLE kernel ?

1999-08-03 Thread Biju Susmer
hi, I tried yesterday to make the kernel understand my CD ROM drive.. but it refused. Here is the dmesg (of boot -v)... is my config wrong or i missed something? The drive is Acer 32X and connected as secondary slave. It is seen by Win98 and BIOS. Can someone help? And what does "ide_pci: gener

RE: IDE quirk in 3.2-STABLE kernel ?

1999-08-03 Thread Biju Susmer
hi, I tried yesterday to make the kernel understand my CD ROM drive.. but it refused. Here is the dmesg (of boot -v)... is my config wrong or i missed something? The drive is Acer 32X and connected as secondary slave. It is seen by Win98 and BIOS. Can someone help? And what does "ide_pci: gene

RE: IDE quirk in 3.2-STABLE kernel ?

1999-08-03 Thread Biju Susmer
> > > I tried with delay 12000, 6000, 8000 (I admit that i really > don't know how this > > delay helps) but no use... only putting a CD in the drive > while booting helps. > > > > -biju > > I just set IDE_DELAY=4000 in my 3.2-STABLE kernel, and now it > sees all disks > on both controllers. I thi

RE: IDE quirk in 3.2-STABLE kernel ?

1999-08-03 Thread Biju Susmer
> > > I tried with delay 12000, 6000, 8000 (I admit that i really > don't know how this > > delay helps) but no use... only putting a CD in the drive > while booting helps. > > > > -biju > > I just set IDE_DELAY=4000 in my 3.2-STABLE kernel, and now it > sees all disks > on both controllers. I th

RE: IDE quirk in 3.2-STABLE kernel ?

1999-08-03 Thread Biju Susmer
I tried with delay 12000, 6000, 8000 (I admit that i really don't know how this delay helps) but no use... only putting a CD in the drive while booting helps. -biju -Original Message- From: owner-freebsd-hack...@freebsd.org [mailto:owner-freebsd-hack...@freebsd.org]on Behalf Of Cillian S

RE: IDE quirk in 3.2-STABLE kernel ?

1999-08-03 Thread Biju Susmer
Yes, i'm also facing the same problem in 3.2 stable (wdc1 not found at 0x170). When i put a CD-ROM (ATAPI, secondary slave) sometimes the controller comes up ;) I tried my own kernel (by changing the IDE delay), it didn't work. -biju -Original Message- From: owner-freebsd-hack...@freebsd.

RE: IDE quirk in 3.2-STABLE kernel ?

1999-08-03 Thread Biju Susmer
I tried with delay 12000, 6000, 8000 (I admit that i really don't know how this delay helps) but no use... only putting a CD in the drive while booting helps. -biju -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Cillian Sharkey Sent: Tuesday, August 03

RE: IDE quirk in 3.2-STABLE kernel ?

1999-08-03 Thread Biju Susmer
Yes, i'm also facing the same problem in 3.2 stable (wdc1 not found at 0x170). When i put a CD-ROM (ATAPI, secondary slave) sometimes the controller comes up ;) I tried my own kernel (by changing the IDE delay), it didn't work. -biju -Original Message- From: [EMAIL PROTECTED] [mailto:[EM