ddumbfs-1.1 a inline dedup filesystem based on fuse

2013-01-13 Thread Alain Spineux
Hi

I have uploaded a new release of ddumbfs.

More information here : http://www.magiksys.net/ddumbfs/index.html

You  can download RPMs for f17 and sources here :
http://www.magiksys.net/download/ddumbfs/

enjoy

-- 
Alain Spineux   |  aspineux gmail com
Monitor your iT & Backups |  http://www.magikmon.com
Free Backup front-end   | http://www.magikmon.com/mksbackup
Your email 100% available |  http://www.emailgency.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: f16: tcpdump not working for local_ip<-->local_ip packet on p3p1

2011-12-12 Thread Alain Spineux
it

On Mon, Dec 12, 2011 at 7:26 PM, Alain Spineux  wrote:
> tcpdump works fine for connection from/to outside but don't display
> anything when using ethernet address
>
> [root@f16asx ~]# ifconfig -a
> lo        Link encap:Local Loopback
>          inet addr:127.0.0.1  Mask:255.0.0.0
>          inet6 addr: ::1/128 Scope:Host
>          UP LOOPBACK RUNNING  MTU:16436  Metric:1
>          RX packets:37237 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:37237 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:0
>          RX bytes:4561605 (4.3 MiB)  TX bytes:4561605 (4.3 MiB)
>
> p3p1      Link encap:Ethernet  HWaddr 00:0C:29:DC:02:F3
>          inet addr:192.168.23.32  Bcast:192.168.23.255  Mask:255.255.255.0
>          inet6 addr: 2001:6f8:3bc:23:20c:29ff:fedc:2f3/64 Scope:Global
>          inet6 addr: fe80::20c:29ff:fedc:2f3/64 Scope:Link
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:1352461 errors:1 dropped:176 overruns:0 frame:0
>          TX packets:1957281 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:142615102 (136.0 MiB)  TX bytes:758686762 (723.5 MiB)
>          Interrupt:18 Base address:0x2000
>
> [root@f16asx ~]# route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 0.0.0.0         192.168.23.254  0.0.0.0         UG    0      0        0 p3p1
> 169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 p3p1
> 192.168.23.0    0.0.0.0         255.255.255.0   U     0      0        0 p3p1
>
> [root@f16asx ~]# tcpdump -n -i p3p1  port 6543
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on p3p1, link-type EN10MB (Ethernet), capture size 65535 bytes

It looks like the traffic goes trough "lo" instead of ethernet device !

[root@f16asx ~]# tcpdump -n -i lo port 6543

Show it as expected !

This has changed  ! Maybe kernel 3.1 ?


>
>
> From another console :
>
> [asx@f16asx nsweb]$ telnet 192.168.23.32  6543
> Trying 192.168.23.32...
> Connected to 192.168.23.32.
> Escape character is '^]'.
> foo
> 
> Error response
> 
> 
> Error response
> Error code 400.
> Message: Bad request syntax ('foo').
> Error code explanation: 400 = Bad request syntax or unsupported method.
> 
> Connection closed by foreign host.
>
> If I do the same from another host on the local network or if I try to
> connect to another host or if I use "lo" the loopback and 127.0.0.1
> instead , I can see the traffic !
>
> It look like pcap don't want to capture packet that stay inside the
> the host, except for "lo".
>
> I have no FW rules and SELinux is disabled !
>
> Any idea ?
>
>
>
>
>
>
> --
> Alain Spineux                   |  aspineux gmail com
> Monitor your iT & Backups |  http://www.magikmon.com
> Free Backup front-end       | http://www.magikmon.com/mksbackup
> Your email 100% available |  http://www.emailgency.com



-- 
Alain Spineux                   |  aspineux gmail com
Monitor your iT & Backups |  http://www.magikmon.com
Free Backup front-end       | http://www.magikmon.com/mksbackup
Your email 100% available |  http://www.emailgency.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


f16: tcpdump not working for local_ip<-->local_ip packet on p3p1

2011-12-12 Thread Alain Spineux
tcpdump works fine for connection from/to outside but don't display
anything when using ethernet address

[root@f16asx ~]# ifconfig -a
loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:37237 errors:0 dropped:0 overruns:0 frame:0
  TX packets:37237 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:4561605 (4.3 MiB)  TX bytes:4561605 (4.3 MiB)

p3p1  Link encap:Ethernet  HWaddr 00:0C:29:DC:02:F3
  inet addr:192.168.23.32  Bcast:192.168.23.255  Mask:255.255.255.0
  inet6 addr: 2001:6f8:3bc:23:20c:29ff:fedc:2f3/64 Scope:Global
  inet6 addr: fe80::20c:29ff:fedc:2f3/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:1352461 errors:1 dropped:176 overruns:0 frame:0
  TX packets:1957281 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:142615102 (136.0 MiB)  TX bytes:758686762 (723.5 MiB)
  Interrupt:18 Base address:0x2000

[root@f16asx ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
0.0.0.0 192.168.23.254  0.0.0.0 UG0  00 p3p1
169.254.0.0 0.0.0.0 255.255.0.0 U 1002   00 p3p1
192.168.23.00.0.0.0 255.255.255.0   U 0  00 p3p1

[root@f16asx ~]# tcpdump -n -i p3p1  port 6543
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on p3p1, link-type EN10MB (Ethernet), capture size 65535 bytes


From another console :

[asx@f16asx nsweb]$ telnet 192.168.23.32  6543
Trying 192.168.23.32...
Connected to 192.168.23.32.
Escape character is '^]'.
foo

Error response


Error response
Error code 400.
Message: Bad request syntax ('foo').
Error code explanation: 400 = Bad request syntax or unsupported method.

Connection closed by foreign host.

If I do the same from another host on the local network or if I try to
connect to another host or if I use "lo" the loopback and 127.0.0.1
instead , I can see the traffic !

It look like pcap don't want to capture packet that stay inside the
the host, except for "lo".

I have no FW rules and SELinux is disabled !

Any idea ?






-- 
Alain Spineux                   |  aspineux gmail com
Monitor your iT & Backups |  http://www.magikmon.com
Free Backup front-end       | http://www.magikmon.com/mksbackup
Your email 100% available |  http://www.emailgency.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: "echo hello > /dev/pts/2" is blocking

2011-10-13 Thread Alain Spineux
On Wed, Oct 12, 2011 at 4:42 PM, JB  wrote:
> Alain Spineux  gmail.com> writes:
>
>>
>> I have a FUSE program in debug mode displaying a lot of debug messages
>> on the terminal.
>> After hours the program "freeze" and the terminal looks blocked.
>> The terminal don't react to key press, nor CTRL-C nor CTRL-Z
>>
>> Using gdb, I get 31 threads, the 25 looks strange.
>> It looks to be blocking on a write() system call while displaying a
>> debug message to the terminal
>> Then I tried
>> # echo hello > /dev/pts/2
>> and it's blocking too !
>> Other pts on the same host don't block
>>
>> How can a pts block ? Probably a problem with ssh or sshd. Using
>> strace, I can see both waiting on a select()
>> and not reacting to a key press or to the echo hello > /dev/pts/2. The
>> ssh client is running on a fedora 11
>>
>> What next ?
>>
>> I'm running fedora 14 on x64, but get exactly the same on a f14 i386.
>> I'm running the same test on centos-6 x64 just now
>>
>> Regards
>
> I would say take a look at pertinent info (from another terminal on that
> machine):
> $ w
> $ ps aux |grep -i pts

ps was freezing, I had to grep /proc/*/stat

>
> Threads:
> $ ps -eLf |grep -i pts
> $ ps axms |grep -i pts
> $ man ps         # signals: PENDING or BLOCKED or IGNORED or CAUGHT
> $ man select


The problem is not solved but if I disable debugging, the terminal is
not "flooded" and application finish without blocking.

Thanks for answering.

>
> JB
>
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>



-- 
Alain Spineux                   |  aspineux gmail com
Monitor your iT & Backups |  http://www.magikmon.com
Free Backup front-end       | http://www.magikmon.com/mksbackup
Your email 100% available |  http://www.emailgency.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Remote access

2011-10-13 Thread Alain Spineux
On Fri, Oct 14, 2011 at 6:13 AM, KC8LDO  wrote:
> Is there a way to use ssh to get through a firewall for remote access to a
> system? The situation I'm looking at is a Fedora system sitting behind a
> company firewall, which I have no control over, that I wish to gain access
> to by logging into it over the Internet from a remote computer. In other
> words the connection is initiated from outside of the firewalled company
> network.
>
> What I'm thinking is using ssh to forward a port, 3389, to another computer
> on my own private network (also behind a firewall and NAT router) at home
> acting as a middle man. Then from another computer, lets say at a hotel,
> logging in to the same computer on my private home network and have it pass
> traffic bidirectionaly between the two end point computers.
>
> Is this something than can be done using ssh and if so how? I would also
> like to have the remote Fedora system connection to the middle man computer
> remain even if the remote computer is not connected.

tcpproxyreflector does exactly what you want. Install it on the 3
computers and run it :

- as a server at home, to get connection from the the client and console
- as the client at work, to open and keep the the connection open with home
- as a console on your laptop at the hotel to activate a tunnel and
connect through SSH or directly on port  "3389" to another computer
inside the company.

http://blog.magiksys.net/software/tcp-proxy-reflector

Have fun

>
> Regards,
>
> Leland C. Scott
> KC8LDO
>
> "The most reliable components
>  are the ones you leave out."
>
> Gordon Bell, father of the
> minicomputer at DEC.
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>



-- 
Alain Spineux                   |  aspineux gmail com
Monitor your iT & Backups |  http://www.magikmon.com
Free Backup front-end       | http://www.magikmon.com/mksbackup
Your email 100% available |  http://www.emailgency.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Ethernet Installation of F15 using Apache and PXE environment on another machine

2011-10-12 Thread Alain Spineux
On Tue, Oct 11, 2011 at 2:05 PM, Aaron Gray  wrote:
> Is it possible to do an ethernet Installation of F15 using Apache and PXE
> environment on another machine rather than from the internet
> (download.fedora.redhat.com) ?

Yes, using a kickstart file.

Take a look at http://www.datadisk.co.uk/html_docs/redhat/rh_pxe.html


>
> Many thanks,
>
> Aaron
>
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>
>



-- 
Alain Spineux                   |  aspineux gmail com
Monitor your iT & Backups |  http://www.magikmon.com
Free Backup front-end       | http://www.magikmon.com/mksbackup
Your email 100% available |  http://www.emailgency.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


"echo hello > /dev/pts/2" is blocking

2011-10-12 Thread Alain Spineux
I have a FUSE program in debug mode displaying a lot of debug messages
on the terminal.
After hours the program "freeze" and the terminal looks blocked.
The terminal don't react to key press, nor CTRL-C nor CTRL-Z

Using gdb, I get 31 threads, the 25 looks strange.
It looks to be blocking on a write() system call while displaying a
debug message to the terminal
Then I tried
# echo hello > /dev/pts/2
and it's blocking too !
Other pts on the same host don't block

How can a pts block ? Probably a problem with ssh or sshd. Using
strace, I can see both waiting on a select()
and not reacting to a key press or to the echo hello > /dev/pts/2. The
ssh client is running on a fedora 11

What next ?

I'm running fedora 14 on x64, but get exactly the same on a f14 i386.
I'm running the same test on centos-6 x64 just now


Regards
-- 
Alain Spineux                   |  aspineux gmail com
Monitor your iT & Backups |  http://www.magikmon.com
Free Backup front-end       | http://www.magikmon.com/mksbackup
Your email 100% available |  http://www.emailgency.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: XDMCP Remote login

2011-07-13 Thread Alain Spineux
On Tue, Jul 12, 2011 at 11:30 PM, Doug Kuvaas  wrote:
> OK, I have a couple Dell Optiplex 980s that I am trying to get set up for a
> specialized application.  What I want to be able to do worked in Fedora 8
> and earlier, but it has been broken since Fedora 9.
> PC1 I want to set up so it queries another (HP-UX) machine for a graphical
> CDE login to that system.  I have some success starting X manually using X
> -query  -from , but I have not been able to get the
> computer to boot up and display the CDE login.
> So far I have tried a fresh Fedora 15 install with no window managers
> installed, and after adding the remote host to /etc/hosts and /etc/X0.hosts,
> as well as generating an xorg.conf file using Xorg :0 -configure, I am able
> to get a CDE login using X -query 

maybe try to add this to your /etc/gdm/custom.conf file

[xdmcp]
Enable=true (or 1 in some distributions)

> PC2, I want to set up to act like a "dumb terminal", in other words, all I
> want it to do is show the blank root window and a cursor unless I am sending
> an application to it from the HP-UX machine.  I can get the blank root
> window that I am after using just X :0 -br -terminate, however I am not
> getting a cursor.

X don't display cursor anymore , use -retro


> PC2 is actually PC1 right now as I am just trying to establish the procedure
> to get both done.
> I do not need any kind of display manager to be installed, though they do
> come in handy for some of the setup.
> xorg.conf:
> Section "ServerLayout"
> Identifier     "X.org Configured"
> Screen      0  "Screen0" 0 0
> InputDevice    "Mouse0" "CorePointer"
> InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
> Section "Files"
> ModulePath   "/usr/lib64/xorg/modules"
> FontPath     "catalogue:/etc/X11/fontpath.d"
> FontPath     "built-ins"
> FontPath     "tcp/192.168.1.56:7000"
> EndSection
> Section "Module"
> Load  "glx"
> Load  "extmod"
> Load  "record"
> Load  "dbe"
> Load  "dri2"
> Load  "dri"
> EndSection
> Section "InputDevice"
> Identifier  "Keyboard0"
> Driver      "kbd"
> EndSection
> Section "InputDevice"
> Identifier  "Mouse0"
> Driver      "mouse"
> Option    "Protocol" "auto"
> Option    "Device" "/dev/input/mice"
> Option    "ZAxisMapping" "4 5 6 7"
> EndSection
> Section "Monitor"
> Identifier   "Monitor0"
> VendorName   "Monitor Vendor"
> ModelName    "Monitor Model"
> EndSection
> Section "Screen"
> Identifier "Screen0"
> Device     "Card0"
> Monitor    "Monitor0"
> SubSection "Display"
> Viewport   0 0
> Depth     1
> EndSubSection
> SubSection "Display"
> Viewport   0 0
> Depth     4
> EndSubSection
> SubSection "Display"
> Viewport   0 0
> Depth     8
> EndSubSection
> EndSection
> Installation was a standard vanilla "Graphical" installation with no window
> managers selected, and some of the development options selected. Kernel is
> 2.6.38.6-26.rc1.fc15.x86_64
> The X11 application that these PCs will be running requires 8 bit color
> depth and a resolution of 1280x1024.
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>
>



-- 
Alain Spineux                   |  aspineux gmail com
Monitor your iT & Backups |  http://www.magikmon.com
Free Backup front-end       | http://www.magikmon.com/mksbackup
Your email 100% available |  http://www.emailgency.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: disk hangs with asus boards

2011-05-11 Thread Alain Spineux
On Wed, May 11, 2011 at 1:44 AM, Ralph Blach  wrote:
> every few days I have either my root file system hang or my disk array hang.
>
> I am running a asus p5n_d
>
> my root file system is on a single 500gb disk attached to the asus mother 
> board.
>
> [0:0:0:0]    disk    ATA      WDC WD5000AADS-0 01.0  /dev/sda <--root
> [4:0:0:0]    cd/dvd  ATAPI    iHAS324   Y      BL1W  /dev/sr0
> [9:0:0:0]    disk    AMCC     9650SE-4LP DISK  4.10  /dev/sdb <==data
>
> the cpu is
> model name      : Intel(R) Core(TM)2 Quad CPU    Q9400  @ 2.66GHz
>
> All the disk hangs look like this, but I dont have one from the root file 
> system because the root get remounted Read Only.
>
> Since I See hangs across both disk, so I do not think it is the 3 ware 
> controller or disk.
>
>
>
> Apr 16 00:01:29 chipblach kernel: 3w-9xxx: scsi9: AEN: INFO (0x04:0x0029): 
> Verify started:unit=0.
> Apr 16 03:00:51 chipblach kernel: 3w-9xxx: scsi9: AEN: INFO (0x04:0x002B): 
> Verify completed:unit=0.
> Apr 16 03:07:10 chipblach pulseaudio[2430]: ratelimit.c: 88 events suppressed
> Apr 16 03:19:12 chipblach kernel: sd 9:0:0:0: WARNING: (0x06:0x002C): Command 
> (0x2a) timed out, resetting card.
> Apr 16 03:19:40 chipblach kernel: 3w-9xxx: scsi9: WARNING: (0x06:0x0037): 
> Character ioctl (0x108) timed out, resetting card.
> Apr 16 03:20:18 chipblach kernel: sd 9:0:0:0: WARNING: (0x06:0x002C): Command 
> (0x0) timed out, resetting card.
> Apr 16 03:21:13 chipblach kernel: 3w-9xxx: scsi9: WARNING: (0x06:0x0037): 
> Character ioctl (0x108) timed out, resetting card.
> Apr 16 03:21:35 chipblach kernel: INFO: task jbd2/dm-2-8:1220 blocked for 
> more than 120 seconds.
> Apr 16 03:21:35 chipblach kernel: "echo 0 > 
> /proc/sys/kernel/hung_task_timeout_secs" disables this message.
> Apr 16 03:21:35 chipblach kernel: jbd2/dm-2-8   D 0001     0  
> 1220      2 0x0080
> Apr 16 03:21:35 chipblach kernel: 880127d51b20 0046 
> 880127d51a90 81010296
> Apr 16 03:21:35 chipblach kernel: 880127d51fd8 880127e1aee0 
> 000153c0 880127d51fd8
> Apr 16 03:21:35 chipblach kernel: 000153c0 000153c0 
> 000153c0 000153c0
> Apr 16 03:21:35 chipblach kernel: Call Trace:
> Apr 16 03:21:35 chipblach kernel: [] ? read_tsc+0x9/0x1b
> Apr 16 03:21:35 chipblach kernel: [] ? sync_page+0x0/0x4a
> Apr 16 03:21:35 chipblach kernel: [] io_schedule+0x73/0xb5
> Apr 16 03:21:35 chipblach kernel: [] sync_page+0x46/0x4a
> Apr 16 03:21:35 chipblach kernel: [] __wait_on_bit+0x48/0x7b
> Apr 16 03:21:35 chipblach kernel: [] 
> wait_on_page_bit+0x72/0x79
> Apr 16 03:21:35 chipblach kernel: [] ? 
> wake_bit_function+0x0/0x33
> Apr 16 03:21:35 chipblach kernel: [] ? 
> pagevec_lookup_tag+0x25/0x2e
> Apr 16 03:21:35 chipblach kernel: [] 
> filemap_fdatawait_range+0xa4/0x178
> Apr 16 03:21:35 chipblach kernel: [] ? submit_bio+0xde/0xfb
> Apr 16 03:21:35 chipblach kernel: [] 
> filemap_fdatawait+0x21/0x23
> Apr 16 03:21:35 chipblach kernel: [] 
> jbd2_journal_commit_transaction+0x879/0x11b4
> Apr 16 03:21:35 chipblach kernel: [] ? 
> try_to_del_timer_sync+0x7b/0x89
> Apr 16 03:21:35 chipblach kernel: [] kjournald2+0xc6/0x203
> Apr 16 03:21:35 chipblach kernel: [] ? 
> autoremove_wake_function+0x0/0x39
> Apr 16 03:21:35 chipblach kernel: [] ? kjournald2+0x0/0x203
> Apr 16 03:21:35 chipblach kernel: [] kthread+0x7f/0x87
> Apr 16 03:21:35 chipblach kernel: [] 
> kernel_thread_helper+0x4/0x10
> Apr 16 03:21:35 chipblach kernel: [] ? kthread+0x0/0x87
> Apr 16 03:21:35 chipblach kernel: [] ? 
> kernel_thread_helper+0x0/0x10
> Apr 16 03:21:42 chipblach kernel: sd 9:0:0:0: Device offlined - not ready 
> after error recovery
> Apr 16 03:21:42 chipblach kernel: sd 9:0:0:0: rejecting I/O to offline device
> Apr 16 03:21:42 chipblach kernel: sd 9:0:0:0: [sdb] Unhandled error code
> Apr 16 03:21:42 chipblach kernel: sd 9:0:0:0: [sdb] Result: 
> hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
> Apr 16 03:21:42 chipblach kernel: sd 9:0:0:0: [sdb] CDB: Write(10): 2a 00 04 
> 8d a3 a9 00 00 08 00
> Apr 16 03:21:42 chipblach kernel: end_request: I/O error, dev sdb, sector 
> 76391337
> Apr 16 03:21:42 chipblach kernel: Buffer I/O error on device dm-2, logical 
> block 9548869
> Apr 16 03:21:42 chipblach kernel: lost page write due to I/O error on dm-2
> Apr 16 03:21:42 chip
>
> Any Ideas,


Try a bigger power supply and
add  some fan to your case.


Good luck

>
> Thanks
>
> Chip
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wik

Re: Keep a file in memory an any cost

2011-05-11 Thread Alain Spineux
On Wed, May 11, 2011 at 10:57 PM, JB  wrote:
>
> I do not know if you are aware of:
> $ man mmap
> ...
>       MAP_LOCKED (since Linux 2.5.37)
>              Lock the pages of the mapped region into memory in the manner of
>              mlock(2).  This flag is ignored in older kernels.
> ...
>
> JB
>

I missed that, thanks for the info.


-- 
Alain Spineux                   |  aspineux gmail com
Monitor your iT & Backups |  http://www.magikmon.com
Free Backup front-end       | http://www.magikmon.com/mksbackup
Your email 100% available |  http://www.emailgency.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: F14: after kernel update, can't boot (from software RAID)

2011-05-11 Thread Alain Spineux
On Wed, May 11, 2011 at 11:25 AM, Neil Bird  wrote:
>
>   I did a belated update of my Fedora 14 box last night, which included a
> new kernel (2.6.35.13-91.fc14.i686.PAE, previous was
> 2.6.35.11-83.fc14.i686.PAE).  However, upon trying to boot, it slept for a
> little bit, then said something like:

Be sure to have your  mkinitrd  package up2date

# yum update mkinitrd

Then try to rebuild your initramfs file for your NEW kernel (DON'T
touch your old and working initramfs) using something like :

# mkinitrd -f  /boot/initramfs-2.6.35.11-83.fc14.i686.img 2.6.35.11-83.fc14.i686

some version of mkinitrd in the past where not handling raid very well.

Good luck

>
> Fatal: no boot partition found, sleeping forever
>
>   (paraphrasing, I neglected to write the exact message).
>
>
>   I can boot fine if I select the older kernel.
>
> title Fedora (2.6.35.13-91.fc14.i686.PAE)
>         root (hd0,0)
>         kernel /boot/vmlinuz-2.6.35.13-91.fc14.i686.PAE ro root=/dev/md0
> apm=power-off rdblacklist=nouveau vga=0x318 quiet rhgb LANG=en_GB.UTF-8
> KEYTABLE=uk
>         initrd /boot/initramfs-2.6.35.13-91.fc14.i686.PAE.img
>
> title Fedora (2.6.35.11-83.fc14.i686.PAE)
>         root (hd0,0)
>         kernel /boot/vmlinuz-2.6.35.11-83.fc14.i686.PAE ro root=/dev/md0
> apm=power-off rdblacklist=nouveau vga=0x318 quiet rhgb LANG=en_GB.UTF-8
> KEYTABLE=en-gb
>         initrd /boot/initramfs-2.6.35.11-83.fc14.i686.PAE.img
>
>
>
>   The complication is that I'm using partition-mirrored RAID (2x drives,
> identically partitioned, then /dev/mdX mirror-RAID devices applied to those
> partitions, so /dev/sda0 & /dev/sdb0 -> /dev/md0 (my root/boot partition).
>
>   It kind of feels like the initramfs has been mis-created without RAID
> support, but I'm not sure how to check.
>
>   I think there's been something iffy with my initramfs creation for a
> while, as I always get errors about not being able to find the listed
> KEYTABLE and SYSFONT (when present) files, although they're on my HD,
> nomatter what values I give.
>
>   In fact, I get SYSFONT errors even with the above (nothing specified).
> As it happend, those two errors (in quiet mode) are all I get when trying to
> boot the new kernel, before a ~10s. sleep and then the fatal error.
>
>   Non-quiet mode didn't show me anything in particular;  I'll try it again
> later with the kernel's 'slow-boot-output' enabled (boot_delay=n).
>
> --
> [neil@fnx ~]# rm -f .signature
> [neil@fnx ~]# ls -l .signature
> ls: .signature: No such file or directory
> [neil@fnx ~]# exit
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>



-- 
Alain Spineux                   |  aspineux gmail com
Monitor your iT & Backups |  http://www.magikmon.com
Free Backup front-end       | http://www.magikmon.com/mksbackup
Your email 100% available |  http://www.emailgency.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Keep a file in memory an any cost

2011-05-11 Thread Alain Spineux
Joe: The index is modified very often and need to be flushed at
regular interval, I don't want to handle read and write.
JB: I already use mmap.
JD: I already tried posix_fadvise with POSIX_FADV_WILLNEED, but this
is not rock solid, if not used for a long time, data are not in the
cache anymore.
Bryn: mlock is what I was looking for. I'll make a try now.

Thanks to the community.

On Wed, May 11, 2011 at 8:19 PM, Alain Spineux  wrote:
> Hello I have a file, that is an index, it is open all the time by the
> application,
> but sometime the access are slow because the file was moved out of the cache.
>
> How can I keep it in memory all the time ?
> I can read it at regular interval, but this is a little over kill ?
>
> Any idea
>
> thanks.
>
>
> --
> Alain Spineux                   |  aspineux gmail com
> Monitor your iT & Backups |  http://www.magikmon.com
> Free Backup front-end       | http://www.magikmon.com/mksbackup
> Your email 100% available |  http://www.emailgency.com
>



-- 
Alain Spineux                   |  aspineux gmail com
Monitor your iT & Backups |  http://www.magikmon.com
Free Backup front-end       | http://www.magikmon.com/mksbackup
Your email 100% available |  http://www.emailgency.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Keep a file in memory an any cost

2011-05-11 Thread Alain Spineux
Hello I have a file, that is an index, it is open all the time by the
application,
but sometime the access are slow because the file was moved out of the cache.

How can I keep it in memory all the time ?
I can read it at regular interval, but this is a little over kill ?

Any idea

thanks.


-- 
Alain Spineux                   |  aspineux gmail com
Monitor your iT & Backups |  http://www.magikmon.com
Free Backup front-end       | http://www.magikmon.com/mksbackup
Your email 100% available |  http://www.emailgency.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Duplicate accounts?

2011-02-28 Thread Alain Spineux
On Mon, Feb 28, 2011 at 11:46 AM, Fernando Cassia  wrote:
> Is this normal? Fedora10 here...
>
> # users
> fcassia fcassia fcassia fcassia fcassia fcassia fcassia

You have opened 7 connections (maybe terminal) with your host,

> [root@doscabezas]# groups
> root bin daemon sys adm disk wheel
>
> Somehow I inardvertedly ended up with a bunch of folders owned by
> root, and when I attempted to move those around from the user account
> (fcassia) I got permission issues, as expected.
>
> So I did SUDO -i, and from root as shell I tried to
> chown -hR * fcassia on the Desktop folder...

You must switch the star and our user name

chown -hR fcassia *

>
> all was fine but one particular file doesn't want to be changed...
> chown: invalid user: `mail-backup.zip'

Or you could have got : file not found : fcassia

>
> I must be doing something wrong...
> FC
> PS: I figured it out... I had the parameters for chown reversed...
> file name is always last.Sheesh. Still, is the multiple "fcassia"
> accounts output from "accounts" normal?
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>



-- 
Alain Spineux                   |  aspineux gmail com
Your email 100% available |  http://www.emailgency.com
Send backup mail report    | http://www.magikmon.com/mkbackup
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines