Sysinstall sucks

2006-05-17 Thread Maslan

Hi
I was updating my system from 5.4 to 6.1, i did a fresh install, but
after sysinstall finishes it had damaged the MBR.
I have 1 ext3 partitions and 2 ufs partitions, one for dfly and the
other for fbsd.
The other thing that during the installation i wanted to repartition,
but when i click partitioning, sysintall catch a signal and terminate,
i didn't really want to repartition since i've already bsd slices.
I've fixed this problem with gpart and everything is ok.
I just wanted to note that problem here, it may be a bug in sysinstall
Thanks

--
I'm Searching For Perfection,
So Even If U Need Portability U've To Use Assembly ;-)
http://www.maslanlab.org
http://libosdk.berlios.de
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fwd: kldfind

2006-05-17 Thread Ricardo A. Reis




Hello Ricardo!

I think it will be better if your utility displays short description for  
each kld module (from man page for example).



Hi Alexey,


  Thanks for all feedback's, i update kldfind for v53 in
  http://ricardo.epm.br/freebsd/script/kldfind/kldfind-v053, i short  
description

  is very util, i will work in integrated kldfind with section name
  in respective manual, for next version.


  changelog,

  v0.52: Replace exit codes and change case per ( getopts + case)
  v0.53: Add new option (quiet and verbose) default output is short  
version.


Short output (default)

./kldfind-v053 -c acpi
/boot/kernel/acpi_asus.ko
/boot/kernel/acpi_fujitsu.ko
/boot/kernel/acpi_ibm.ko
/boot/kernel/acpi_panasonic.ko
/boot/kernel/acpi_sony.ko
/boot/kernel/acpi_toshiba.ko
/boot/kernel/acpi_video.ko
/boot/modules/acpi_asus.ko

./kldfind-v053 -vc acpi (verbose output)

Search finish, 7 resultes for /boot/kernel

acpi_asus
acpi_fujitsu
acpi_ibm
acpi_panasonic
acpi_sony
acpi_toshiba
acpi_video

Search finish, 1 resultes for /boot/modules

acpi_asus

Search finish, 0 resultes for /usr/local/modules


Quiet output, return 1 or 0

if ./kldfind-v053 -qc acpi; then echo YES;else echo NO;fi
YES

if ./kldfind-v053 -qc aacpi; then echo YES;else echo NO;fi
NO

  Thanks, any comments is very util.



Ricardo A. Reis wrote:


--- Forwarded message ---
From: Ricardo A. Reis [EMAIL PROTECTED]
To: freebsd-stable@freebsd.org freebsd-stable@freebsd.org
Cc:
Subject: kldfind
Date: Tue, 16 May 2006 15:03:20 -0300


Hi all,


I writed one script for find freebsd kernel modules,


[EMAIL PROTECTED]:~/kldfind] # ./kldfind
usage: kldfind [-chs] string

[EMAIL PROTECTED]:~/kldfind] # ./kldfind -h
Options:
-c -- find all matchs for category
-s -- string match

[EMAIL PROTECTED]:~/kldfind] # ./kldfind -c acpi

Searching ...



Resultes for /boot/kernel


acpi_asus
acpi_fujitsu
acpi_ibm
acpi_panasonic
acpi_sony
acpi_toshiba
acpi_video
acpi_dock

[EMAIL PROTECTED]:~/kldfind] # ./kldfind -s vlan

Searching ...



Resultes for /boot/kernel


if_vlan
ng_vlan

Any feedback is very util,


http://ricardo.epm.br/freebsd/script/

Ricardo A. Reis
UNIFESP
Unix and Network Admin


___
Abra sua conta no Yahoo! Mail: 1GB de espac,o, alertas de e-mail no  
celular e anti-spam realmente eficaz.

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




--Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


___Novo Yahoo!  
Messenger com voz: Instale agora e fac,a ligac,o~es de  
grac,a.http://br.messenger.yahoo.com/

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





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




--
Atenciosamente

Ricardo A. Reis
UNIFESP
Unix and Network Adm
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 答复: 答复: help:How to map a physic al address into a kernel address?

2006-05-17 Thread Scott Long
[EMAIL PROTECTED] wrote:

 Hi guys:
 
 The attached file is the sample codes of my HBA driver. I make notes on the
 place where the address transfer is needed. Please make comments if
 possible. 
 
 Thanks a lot!
 
 Hong 
 

It looks like the primary question that you are asking in the code is this:

How to get the kernel virtual address of csio-data_ptr?

Correct?  The answer is that csio-data_ptr is a kernel virtual address
already if the CAM_DATA_PHYS flag is not set.  For prepare_sg_table,
you can just ignore the case where it isn't unless you expect to also
write software that will use the flag (CAM was originally written for an
application that did use this flag, but it's use is no longer common).  As
for ft_map_sg, the only way that you can be in there is if CAM_DATA_PHYS
was not set, so it's safe to say that csio-data_ptr is a kernel virtaul
address.

One thing to note about your code is that Local_StartIO should be called
from
within ft_map_sg instead of ft_cam_action.  That way the EINPROGRESS
status of bus_dmamap_load will be handled correctly.  I can' describe this
more if you have questions.

Scott

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


Re: Sysinstall sucks

2006-05-17 Thread Stas Myasnikov

Hello,



I was updating my system from 5.4 to 6.1, i did a fresh install, but
after sysinstall finishes it had damaged the MBR.


(1)


I have 1 ext3 partitions and 2 ufs partitions, one for dfly and the
other for fbsd.
The other thing that during the installation i wanted to repartition,
but when i click partitioning, sysintall catch a signal and terminate,


Strange enough, since sysinstall writes to disk ONLY after you set all 
options and press YES.  BTW at (1) you write that sysinstall had 
finished before your MBR was wiped out.  So did sysinstall finish, or it 
catch the some signal?


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


Re: Sysinstall sucks

2006-05-17 Thread Maslan

Strange enough, since sysinstall writes to disk ONLY after you set all
options and press YES.  BTW at (1) you write that sysinstall had
finished before your MBR was wiped out.  So did sysinstall finish, or it
catch the some signal?

Stas



It didn't run at all fdisk, it catch a some signal and crash.
I didn't need to repartation since i've already 2 bsd slices each has
each own partitions so i just clicked on the labeling step and make
some changes to the partitions inside the already bsd slice (ad0s4).
Then everything contiued normally, and the system has been installed.
but i found grub (installed on MBR with files on linux ext3 partition)
gives as i remember error 22, i booted my slack cd and run cfdisk and
found that parititions is no longer available and marked as empty
space.
I used gpart and fixed the problem, and i didn't need to re-install
anything. even the newly installed freebsd system was preserved.

--
I'm Searching For Perfection,
So Even If U Need Portability U've To Use Assembly ;-)
http://www.maslanlab.org
http://libosdk.berlios.de
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]