Re: How to restore a text file from UFS??

2010-08-21 Thread EforeZZ

   Dear Sir/Madam,
   Your email was unable reach the intended person that you were sending
   it to.
   For more information on our business please click on the following
   link:
   [1]Click here for our website
   We look forward to your continued business in the future.
   Regards,
   Webmaster

References

   1. http://www.downwind.com.au/avdir/rd.php?id=7564
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to restore a text file from UFS??

2010-08-19 Thread EforeZZ

   Dear Sir/Madam,
   Your email was unable reach the intended person that you were sending
   it to.
   For more information on our business please click on the following
   link:
   [1]Click here for our website
   We look forward to your continued business in the future.
   Regards,
   Webmaster

References

   1. http://www.downwind.com.au/avdir/rd.php?id=7564
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


How to restore a text file from UFS??

2010-08-19 Thread EforeZZ
I edited my 50Kb /etc/rc.conf, loaded a driver and got a kernel panic!!
After reboot my /etc/rc.conf is 0 bytes (after automatic background fsck).
Which tool should I try now to restore any version of my rc.conf?..
I think data should still be somewhere on the disk

;-(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Firewire RAM access

2010-07-27 Thread EforeZZ
Hi,

I was playing around with fwcontrol and its "-m" switch.
I connected my FreeBSD 7.2 notebook to Win7 PC Via firewire and
attempted to access Win7's RAM through the /dev/fwmem interface. I
failed.


5 r...@purevil:ttyv0 ~ 15:11:24 > fwcontrol
2 devices (info_len=2)
node   EUI64  statushostname
   0  00-1d-72-ff-ff-c5-6b-71  0
  -1  00-1e-8c-00-01-7b-f5-38  0


Then I plugged in the cable:


fwohci0: BUS reset
fwohci0: node_id=0xc000ffc1, gen=8, CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
firewire0: bus manager 1 (me)

5 r...@purevil:ttyv0 ~ 15:11:46 > fwcontrol
2 devices (info_len=2)
node   EUI64  statushostname
   1  00-1d-72-ff-ff-c5-6b-71  0
   0  00-1e-8c-00-01-7b-f5-38  1
5 r...@purevil:ttyv0 ~ 15:11:49 > fwcontrol -m 00-1e-8c-00-01-7b-f5-38
0 r...@purevil:ttyv0 ~ 15:12:00 > ll /dev/fwmem*
lrwxr-xr-x  1 root  wheel8 27 Jul 14:56 /dev/fwmem0 -> fwmem0.0
crw-rw  1 root  operator0,  53 27 Jul 14:56 /dev/fwmem0.0
0 r...@purevil:ttyv0 ~ 15:12:04 > more /dev/fwmem0
read error  (press RETURN)


The question is.. Should this always work? As far as I know I should
be able to access other PC's RAM through the firewire connection
without any support from the connected PC's OS, right?

Best regards,
EforeZZ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


divert socket sniffer

2009-12-23 Thread EforeZZ
Hi guys,

Is there any tool to capture packets from a divert socket and save the
result in a pcap format?

Merry Christmas and best regards,
EforeZZ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


UVC Webcam under Qemu/Windows

2009-10-31 Thread EforeZZ
Hi,

Have anyone succeeded using the USB UVC webcam under qemu (in Windows under 
Qemu because there are drivers for the webcam in Windows)?

I tried and it almost worked. The webcam's led lighted up but I never got the 
image from the webcam and Windows told that the device (webcam) is not 
working.

-- 
EforeZZ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


mount_smbfs + suspend = kernel panic

2009-07-25 Thread EforeZZ
Hi guys,

I use mount_smbfs on my notebook and I have a little nasty problem..
Sometimes I have kernel panic when resuming after the suspend. The
issue seems to happen when I go to suspend with my USB network (WiFi)
adapter plugged in (I do use "/etc/rc.d/netif stop rum0" before going
to suspend), then I resume the notebook without the adapter, then I
suspend it again, and finally I resume it with the adapter plugged in.
The system panics. Maybe there are any workarounds to avoid the
problem.. Should I do umount all smbfs' before I go to suspend?.. Is
there any other more elegant way?

Here is the kernel buffer and the backtrace:

kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x18
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc081fa05
stack pointer   = 0x28:0xe8cf2adc
frame pointer   = 0x28:0xe8cf2af8
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= resume, IOPL = 0
current process = 37632 (smbiod4)
trap number = 12
panic: page fault
cpuid = 0
Uptime: 7d12h57m21s
Physical memory: 2022 MB
Dumping 275 MB: (CTRL-C to abort)  (CTRL-C to abort)  (CTRL-C to
abort)  260 244 228 (CTRL-C to abort)  (CTRL-C to abort)  (CTRL-C to
abort)  212 196 180 164 148 132 116 100 84 68 52 36 20 4





#0  doadump () at pcpu.h:196
#1  0xc07e8767 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc07e8a39 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0xc0aecd3c in trap_fatal (frame=0xe8cf2a9c, eva=24) at
/usr/src/sys/i386/i386/trap.c:939
#4  0xc0aed6bf in trap (frame=0xe8cf2a9c) at /usr/src/sys/i386/i386/trap.c:320
#5  0xc0ad207b in calltrap () at /usr/src/sys/i386/i386/exception.s:159
#6  0xc081fa05 in turnstile_broadcast (ts=0x0, queue=0) at
/usr/src/sys/kern/subr_turnstile.c:836
#7  0xc07d93f2 in _mtx_unlock_sleep (m=0xc8d82d94, opts=0,
file=0xc107c6c3 "/usr/src/sys/modules/smbfs/../../netsmb/smb_iod.c",
line=97) at /usr/src/sys/kern/kern_mutex.c:619
#8  0xc07d9752 in _mtx_unlock_flags (m=0xc8d82d94, opts=0,
file=0xc107c6c3 "/usr/src/sys/modules/smbfs/../../netsmb/smb_iod.c",
line=97) at /usr/src/sys/kern/kern_mutex.c:210
#9  0xc106fb73 in smb_iod_invrq (iod=Variable "iod" is not available.
) at /usr/src/sys/modules/smbfs/../../netsmb/smb_iod.c:97
#10 0xc1070d57 in smb_iod_addrq (rqp=0xc8d82d00) at
/usr/src/sys/modules/smbfs/../../netsmb/smb_iod.c:424
#11 0xc106d28c in smb_rq_enqueue (rqp=0xc8d82d00) at
/usr/src/sys/modules/smbfs/../../netsmb/smb_rq.c:193
#12 0xc106d6d8 in smb_rq_simple (rqp=0xc8d82d00) at
/usr/src/sys/modules/smbfs/../../netsmb/smb_rq.c:174
#13 0xc106b9e4 in smb_smb_treeconnect (ssp=0xc778d500,
scred=0xc7a6e144) at
/usr/src/sys/modules/smbfs/../../netsmb/smb_smb.c:561
#14 0xc10708b8 in smb_iod_thread (arg=0xc7a6e100) at
/usr/src/sys/modules/smbfs/../../netsmb/smb_iod.c:212
#15 0xc07c2159 in fork_exit (callout=0xc10705c0 ,
arg=0xc7a6e100, frame=0xe8cf2d38)
at /usr/src/sys/kern/kern_fork.c:810
#16 0xc0ad20f0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:264

Best regards,
EforeZZ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


boot0 loader minor problems

2008-12-23 Thread EforeZZ
Hello,

I have a minor problem with boot0 loader on Acer Extensa 5220.
I have four slices: FreeBSD, Windows, FreeBSD, FreeBSD.

The problem is that sometimes boot0 code loads OS from active
partition no matter which of F[1-4] I press. Sometimes boot0 code
starts loading OS from the default slice and gives me no chances to
select the slice to boot from (I have ticks=12000!)

Should it be a problem with my buggy BIOS?

Thanks for any suggestions.

Best regards,
EforeZZ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


A2DP

2008-11-27 Thread EforeZZ
Hello,

I noticed that pulseaudio port supports A2DP profile. Is it possible to use
it with FreeBSD bluetooth stack to transmit audio using the SBC codec?

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


realtime network replication

2008-11-27 Thread EforeZZ
Ansar Mohammed wrote:
>Hello all,
>I need to replicate /home between two freebsd servers in real time (no
>scheduled rsyncs)
>What are my options?

Hi,

The following configuration seems to do what you ask for:

Two NFS servers, each of them provides access to a huge equal-sized
file-container.
Third server mounts directories with files-containers from the
prevoius two servers.
GEOM RAID1 mirroring is used on the third server to create a /home
filesystem backed by two huge file-containers.

You will have a copy of your /home inside the GEOM file-container on
each of the two servers.
You will get realtime data replication.

Drop a note if the performance of such configuration is acceptable :)

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


Linux X11 applications getting disconnected

2008-10-13 Thread EforeZZ
Hello,

I have a little problem with my X11 linux applications (Skype, VMware). I
run remote X11 server on Windows (Cygwin/XWin) and I'm getting problems with
Skype/VMware. They sporadically get disconnected from the X server while all
other native FreeBSD programs (KDE, terminals) keep running. Is there
anything special about networking in Linux programs running under FreeBSD?

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


Re: built-in samba mount

2008-10-01 Thread EforeZZ
On Tue, Sep 30, 2008 at 8:38 PM, Roland Smith <[EMAIL PROTECTED]> wrote:

> On Tue, Sep 30, 2008 at 07:18:32PM +0300, EforeZZ wrote:
> > Hello all,
> >
> > Is it possible to mount the samba share //pc/share/folder?
>
> It should be.
>
> > I have troubles in FreeBSD:
> > I'm able to mount only //pc/share (not //pc/share/folder) and I do not
> have
> > read access to read contents of "//pc/share" and FreeBSD does not let me
> to
> > change the directory to "//pc/share/folder".
> > Windows allows to mount //pc/share/folder and I have no access problems
> in
> > Windows.
> > Is there any solution for FreeBSD?
>
> Read the mount_smbfs manual page (with the command 'man mount_smbfs'). A
> quick look tells us that you'll need to use //[EMAIL PROTECTED]/share/folder
> instead of //pc/share/folder. Other options allow you to configure
> access rights and owner/group attributes.
>

I do use //[EMAIL PROTECTED]/share/folder for mounting but I get //[EMAIL 
PROTECTED]/share
mounted instead of //[EMAIL PROTECTED]/share/folder.
It seems that the "/folder" part is ignored.

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


built-in samba mount

2008-09-30 Thread EforeZZ
Hello all,

Is it possible to mount the samba share //pc/share/folder?

It is possible to do this in Windows and it works.

I have troubles in FreeBSD:
I'm able to mount only //pc/share (not //pc/share/folder) and I do not have
read access to read contents of "//pc/share" and FreeBSD does not let me to
change the directory to "//pc/share/folder".
Windows allows to mount //pc/share/folder and I have no access problems in
Windows.
Is there any solution for FreeBSD?

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