Filesystem creation with integrated bad-block detection

2005-03-13 Thread Pásztor Richárd
I wonder if it would be possible to implement under freeebsd an interesting 
feature
which can be found in linux:

mkfs.ext2(8)
...
-c
Check the device for bad blocks before creating the file system. If this 
option is specified twice, then a slower, destructive, read-write test is 
used instead of a fast read-only test.
...

I searched the archive for this subject, and i found that simple answer 
that modern hard drives have
the so called spare sectors, and if they cant do these reallocations 
transparently because they
ran out of those reserved sectors - throw the drive into the trash.
But what abou using freebsd on older machines with hard drives that dont 
support spare sectors?
Having a few bad sectors doesnt mean that a 4-5 Gb driver is useless 
because one isnt able to mark those
few sectors.

ricsip
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Managing bad sectors during install

2005-02-17 Thread Pásztor Richárd
I think this 8,4 quantum is old enough to not contain so called spare 
sectors. So 1 bad sector means there is really only 1 bad
sector. Anyway i still cant understand, why UFS cant cope with bad blocks, 
but 1000 year old FAT, or the newer NTFS
can easyli get through the  problem.

The other problem: how should i mount / read-only, because i always get 
busy error-message?

ricsip
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Managing bad sectors during install

2005-02-16 Thread Pásztor Richárd
I have 2 small problems about installing FreeBSD.
1) My HDD is a 8,4 Gb quantum, which has 1 bad sector laying on it 
somewhere. I created ntfs partition
on it, and format detected that sector, and marked as bad so there was no 
problem of data loss because writing
to that sector. Now, if i fdisk the whole HDD to a freebsd slice, and 
divide it to partitions i get an error during
filesystem creation, that a bad sector was detected. The system panics, and 
reboots after 15 sec.
My question: why isnt the UFS able to mark this/these sectors as bad, and 
simply not to use them?
Throwing panic for one single bad sector is not an elegant way.

2) My other smaller question: If i enabled SoftUpdates at install-time for /
but changed my mind, how can i turn it off ? I cant unmount / to change it,
because its always busy (the other partitions can be unmounted easily in 
single user)

I think these are basic problems, and should be (especially turning OFF 
softupdate on /) mentioned in handbook also.
ricsip

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 4.10Release + latest nvidia driver=problems

2004-08-23 Thread Pásztor Richárd
Oh, i forgot to tell mye system specs:
AMD 2000+, Geforce 4 Ti4200, MSI KT3 Ultra2, Sb live
The same problem occured on a Cel300 + Riva TNT2, Intel LX mainboard.
ricsip
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 4.10Release + latest nvidia driver=problems

2004-08-22 Thread Pásztor Richárd
Hi!
I installed a clean FreeBSD 4.10 Release a few days ago. After finishing 
the install, i downloaded the latest nvidia driver
(NVIDIA-FreeBSD-x86-1.0-6113.tar.gz) at once. Unzipped to /tmp and typed 
make install. It worked flawlessly.
The module loaded correctly (kldstat), I edited the X config file 
(nv-nvidia) and removed the comment from module glx.
(by default module dri is commented, and glcore isnt there at all). Started 
X, the nvidia logo is visible for a second.

I installed bzflag from package, and it worked well for the first time. 
(got 100+ FPS, which means it uses opengl correctly)
I closed bzflag after a short play, and tryed to rerun it. That time the 
program was terribly slow (2-3 fps, which
seems to me using software mode instead of hardware acceleration.). It even 
coredumps if i load the kernel module
pcm for my Sb Live sound card. (not loading sound modules complains it only 
about opening device file).
Once the machine even suddenly rebooted itself, while i was away.

I installed tuxracer from packages too. It even didnt start, complaining 
about missing opengl module.
(Linux compat mode loaded properly)

I also tried a new kernel, without compiled AGP options, letting the driver 
use its nv-agp feature.

After that I read the nvidia readme file. It says using with 4.10 release i 
have to patch because of msync bug.
Applyed the 2 patch-file, recompiled kernel with: config MYKERNEL, make 
buildkernel KERNCONF=MYKERNEL,
installkernel KERNCONF=MYKERNEL. (nothing cvsupping) But it didnt help :(
After apllying the KDE-releated patch (from the FAQ section) it couldnt 
even compile the kernel successfully.

I am newbie at bsd, but would like to try hw accelerated 3D on my machine, 
any help is greatly appreciated.
Thx.

ricsip
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]