-
Posts
1893 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by daniewicz
-
Let us know if you have any problems B)
-
Thanks for the notice! B)
-
Go with ethernet and it will work out of the box.
-
Some of us are still afraid of KDE4 B)
-
This must be a KDE 4 problem? I am running Mandriva 2008.1 with KDE 3.5.9 and Firefox 3.5.5 and gtk-qt-engine without trouble.
-
Newly repaired laptop received via UPS yesterday. New hard drive and updated BIOS and default vista install. My 9 year old daughter does not want me to reinstall linux, she thinks that is what originally broke the laptop.
-
Yes, you will need libdvdcss2 from the plf repository.
-
Well the drive did not work when I tried it in a different (desktop) computer. So it appears the drive is bad. I shipped the laptop to Toshiba for repairs as it is still under warranty.
-
Anything suspicious from dmesg?
-
function and subroutine in Fortran 77
daniewicz replied to Stephni's topic in Command Line, Kernel and Programming
OK. I went through some of my fortran files. Here is an example of a function which uses complex numbers. Does this help? COMPLEX FUNCTION OMEGA(ZETA) COMMON/DATA/A(4),B(4) COMPLEX ZETA,S S=(0.0,0.0) DO 10 J=1,4 S=S-A(J)/(B(J)+ZETA) 10 CONTINUE OMEGA=ZETA+S RETURN END -
function and subroutine in Fortran 77
daniewicz replied to Stephni's topic in Command Line, Kernel and Programming
This tells me A is a complex number complex*16 A, Mat This tells me A is a matrix A = MainMat(S1,S2) Can't be both! -
Any reason you are not using Mandriva 2010?
-
function and subroutine in Fortran 77
daniewicz replied to Stephni's topic in Command Line, Kernel and Programming
I don't think the EXTERNAL statement is necessary. I see the matrix is dimensioned in the main program. Is it dimensioned in the function too? -
function and subroutine in Fortran 77
daniewicz replied to Stephni's topic in Command Line, Kernel and Programming
The best way to show you the difference between a function and a subroutine is to show you a simple example. The program demo will generate a result answ1 and answ2 through a subroutine call and a function call respectively. Both answ1 and answ2 equal 5. program demo call subroutine sum(2,3,answ1) write(*,*)answ1 answ2=sum(2,3) write(*,*)answ2 stop end subroutine sum(x,y,z) z=x+y return end function sum(x,y) sum=x+y return end -
Has there been a linux release yet? Is it still in beta?
-
Thanks for the replies Ian. I have part of this problem figured out. Home and temporary directories for xguest are mounted on tmpfs, which is a ramdisk, so the faulty disk or disk controller are not an issue. The laptop has a single 160 GB sata drive. I can remove the drive and try it out on a different computer to see if the disk is bad or the onboard controller.
-
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 1796 564 ? Ss 07:22 0:00 init [5] root 2 0.0 0.0 0 0 ? S< 07:22 0:00 [kthreadd] root 3 0.0 0.0 0 0 ? S< 07:22 0:00 [migration/0] root 4 0.0 0.0 0 0 ? S< 07:22 0:00 [ksoftirqd/0] root 5 0.0 0.0 0 0 ? R< 07:22 0:00 [events/0] root 6 0.0 0.0 0 0 ? S< 07:22 0:00 [khelper] root 7 0.0 0.0 0 0 ? S< 07:22 0:00 [async/mgr] root 8 0.0 0.0 0 0 ? S< 07:22 0:00 [kintegrityd/0] root 9 0.0 0.0 0 0 ? S< 07:22 0:00 [kblockd/0] root 10 0.0 0.0 0 0 ? S< 07:22 0:00 [kacpid] root 11 0.0 0.0 0 0 ? S< 07:22 0:00 [kacpi_notify] root 12 0.0 0.0 0 0 ? S< 07:22 0:00 [kacpi_hotplug] root 13 0.0 0.0 0 0 ? S< 07:22 0:00 [kseriod] root 14 0.0 0.0 0 0 ? S 07:22 0:00 [khungtaskd] root 15 0.0 0.0 0 0 ? S 07:22 0:00 [pdflush] root 16 0.0 0.0 0 0 ? S 07:22 0:00 [pdflush] root 17 0.0 0.0 0 0 ? S< 07:22 0:00 [kswapd0] root 18 0.0 0.0 0 0 ? S< 07:22 0:00 [aio/0] root 19 0.0 0.0 0 0 ? S< 07:22 0:00 [crypto/0] root 22 0.0 0.0 0 0 ? S< 07:22 0:00 [kpsmoused] root 34 0.0 0.0 0 0 ? S< 07:22 0:00 [i915/0] root 45 0.0 0.0 0 0 ? S< 07:22 0:00 [ata/0] root 46 0.0 0.0 0 0 ? S< 07:22 0:00 [ata_aux] root 48 0.0 0.0 0 0 ? S< 07:22 0:00 [scsi_eh_0] root 49 0.0 0.0 0 0 ? S< 07:22 0:00 [scsi_eh_1] root 50 0.0 0.0 0 0 ? S< 07:22 0:00 [scsi_eh_2] root 51 0.0 0.0 0 0 ? S< 07:22 0:00 [scsi_eh_3] root 52 0.0 0.0 0 0 ? S< 07:22 0:00 [scsi_eh_4] root 53 0.0 0.0 0 0 ? S< 07:22 0:00 [scsi_eh_5] root 62 0.0 0.0 0 0 ? S< 07:22 0:00 [kjournald2] root 151 0.0 0.0 2196 884 ? S<s 07:23 0:00 /sbin/udevd -d root 288 0.0 0.0 0 0 ? S< 07:23 0:00 [ksuspend_usbd] root 289 0.0 0.0 0 0 ? S< 07:23 0:00 [khubd] root 316 0.0 0.0 0 0 ? S< 07:23 0:00 [scsi_eh_6] root 317 0.0 0.0 0 0 ? S< 07:23 0:00 [usb-storage] root 367 0.0 0.0 0 0 ? S< 07:23 0:00 [kconservative/0] root 368 0.0 0.0 0 0 ? S< 07:23 0:00 [kondemand/0] root 434 0.0 0.0 0 0 ? S< 07:23 0:00 [kjournald2] root 598 0.0 0.0 1844 596 ? Ss 07:23 0:00 syslogd -m 0 root 605 0.0 0.0 1788 584 ? Ss 07:23 0:00 /usr/sbin/acpid root 620 0.0 0.0 1792 412 ? Ss 07:23 0:00 klogd -x 14 637 0.0 0.0 2804 1208 ? Ss 07:23 0:00 dbus-daemon --system 18 662 0.0 0.2 6936 4664 ? Ss 07:23 0:00 hald root 665 0.0 0.1 17552 2848 ? Ssl 07:23 0:00 /usr/sbin/console-kit-daemon root 667 0.0 0.0 3568 1192 ? S 07:23 0:00 hald-runner root 821 0.0 0.0 3640 1120 ? S 07:23 0:00 /usr/lib/hal/hald-addon-generic-backlight root 827 0.0 0.0 3644 1112 ? S 07:23 0:00 hald-addon-input: Listening on /dev/input/event5 /dev root 828 0.0 0.0 3648 1108 ? S 07:23 0:00 hald-addon-storage: polling /dev/sdb (every 2 sec) root 841 0.0 0.0 3656 1200 ? S 07:23 0:00 /usr/lib/hal/hald-addon-cpufreq 18 842 0.0 0.0 3296 1000 ? S 07:23 0:00 hald-addon-acpi: listening on acpid socket /var/run/a root 871 0.0 0.0 3932 1000 ? S 07:23 0:00 /usr/bin/kdm -nodaemon root 873 0.9 1.5 75352 29664 tty7 Ss+ 07:23 0:14 /etc/X11/X -deferglyphs 16 -nolisten tcp :0 vt7 -auth root 874 0.0 0.0 0 0 ? S< 07:23 0:00 [kauditd] root 881 0.0 0.1 5536 2652 ? S 07:23 0:00 -:0 root 889 0.0 0.0 3352 728 ? S 07:23 0:00 dbus-launch --autolaunch 4f9ceb60122cc356a31804ad4af7 root 890 0.0 0.0 2408 692 ? Ss 07:23 0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-add root 994 0.0 0.0 3648 1112 ? S 07:23 0:00 hald-addon-storage: polling /dev/sr0 (every 2 sec) root 1009 0.0 0.0 0 0 ? S< 07:23 0:00 [hd-audio0] kaka 1017 0.0 0.0 4372 1572 ? Ss 07:23 0:00 /bin/sh /usr/bin/startkde kaka 1203 0.0 0.0 3352 720 ? S 07:23 0:00 /usr/bin/dbus-launch --exit-with-session --sh-syntax kaka 1212 0.0 0.0 2640 1068 ? Ss 07:23 0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-add kaka 1226 0.0 0.0 4024 696 ? Ss 07:23 0:00 gpg-agent --use-standard-socket --daemon --write-env- kaka 1230 0.0 0.0 3952 984 ? Ss 07:23 0:00 /usr/bin/imwheel -k kaka 1273 0.0 0.1 15120 2872 ? Ss 07:23 0:00 s2u --daemon=yes kaka 1728 0.0 0.4 59028 9304 ? Ss 07:24 0:00 kdeinit4: kdeinit4 Running... kaka 1729 0.0 0.3 60424 7608 ? S 07:24 0:00 kdeinit4: klauncher [kdeinit] --fd=8 kaka 1731 0.0 0.8 93116 15724 ? Sl 07:24 0:00 kdeinit4: kded4 [kdeinit] kaka 1733 0.0 0.0 2900 1040 ? S 07:24 0:00 /usr/lib/gam_server daemon 2032 0.0 0.0 2020 388 ? Ss 07:24 0:00 /usr/sbin/atd -l 0.8 root 2081 0.0 0.0 4232 1088 ? Ss 07:24 0:00 crond kaka 2143 0.0 0.0 1776 372 ? S 07:24 0:00 kwrapper4 ksmserver kaka 2144 0.0 0.6 89548 11844 ? Sl 07:24 0:00 kdeinit4: ksmserver [kdeinit] kaka 2186 0.0 1.1 242772 23120 ? S 07:24 0:01 kwin root 2360 0.0 0.0 4612 896 ? Ss 07:24 0:00 /usr/sbin/wpa_supplicant -B -i ath0 -c /etc/wpa_suppl kaka 2419 0.0 0.5 81320 11492 ? S 07:24 0:00 kdeinit4: kglobalaccel [kdeinit] kaka 2423 0.4 1.9 268688 38456 ? Sl 07:24 0:05 kdeinit4: plasma-desktop [kdeinit] kaka 2425 0.0 0.9 233212 17512 ? Sl 07:24 0:00 /usr/bin/knotify4 root 2431 0.0 0.0 1820 500 ? Ss 07:24 0:00 /sbin/ifplugd -I -b -i ath0 root 2505 0.0 0.0 1820 472 ? Ss 07:24 0:00 /sbin/ifplugd -I -b -i eth0 kaka 2577 0.0 0.5 80576 10680 ? S 07:24 0:00 kdeinit4: kaccess [kdeinit] kaka 2589 0.0 0.5 82212 10680 ? S 07:24 0:00 kdeinit4: nepomukserver [kdeinit] kaka 2601 0.0 0.2 16764 4808 ? S 07:24 0:00 /usr/bin/pam-panel-icon kaka 2608 0.0 1.1 249752 21996 ? S 07:24 0:01 kdeinit4: krunner [kdeinit] kaka 2616 0.0 0.2 94508 4816 ? S<sl 07:24 0:00 /usr/bin/pulseaudio --start --log-target=syslog rtkit 2619 0.0 0.0 18692 1044 ? SNl 07:24 0:00 /usr/lib/rtkit-daemon kaka 2621 0.0 1.3 44360 25460 ? S 07:24 0:00 /usr/bin/perl /usr/bin/mdkapplet kaka 2622 0.1 1.5 44488 30224 ? S 07:24 0:02 /usr/bin/perl /usr/bin/net_applet root 2627 0.0 0.1 5780 3184 ? S 07:24 0:00 /usr/lib/polkit-1/polkitd kaka 2628 0.0 0.7 84040 15376 ? S 07:24 0:00 kdeinit4: kmix [kdeinit] kaka 2629 0.0 0.0 13628 1532 ? Sl 07:24 0:00 /usr/bin/xsettings-kde kaka 2631 1.3 1.4 43304 28852 ? S 07:24 0:18 /usr/bin/perl /usr/bin/draksnapshot-applet kaka 2633 0.0 0.8 87604 16348 ? S 07:24 0:00 kdeinit4: klipper [kdeinit] kaka 2641 0.0 0.1 10900 2844 ? S 07:24 0:00 /usr/lib/pulse/gconf-helper kaka 2643 0.0 0.1 5872 2608 ? S 07:24 0:00 /usr/lib/gconfd-2 root 2645 0.0 0.0 2016 616 ? S 07:24 0:00 /sbin/pam_timestamp_check -d root kaka 2652 0.0 0.0 5760 1896 ? S 07:24 0:00 /usr/lib/gvfsd kaka 2660 0.0 0.1 29928 2296 ? Ssl 07:24 0:00 /usr/lib//gvfs-fuse-daemon /home/kaka/.gvfs avahi 2776 0.0 0.0 2844 1480 ? Ss 07:24 0:00 avahi-daemon: running [linux.local] root 2778 0.0 0.0 3028 448 ? S 07:24 0:00 /usr/sbin/hddtemp -d -l 127.0.0.1 /dev/hda avahi 2779 0.0 0.0 2844 480 ? Ss 07:24 0:00 avahi-daemon: chroot helper rpc 2782 0.0 0.0 2180 584 ? Ss 07:24 0:00 rpcbind -i root 2862 0.0 0.0 3600 1516 ? SNs 07:24 0:00 /usr/sbin/preload --verbose 1 ntp 3488 0.0 0.0 3016 1208 ? Ss 07:24 0:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g root 3524 0.0 0.0 3016 772 ? S 07:24 0:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g root 3533 0.0 0.0 1780 460 tty1 Ss+ 07:24 0:00 /sbin/mingetty tty1 root 3534 0.0 0.0 1780 460 tty2 Ss+ 07:24 0:00 /sbin/mingetty tty2 root 3537 0.0 0.0 1780 464 tty3 Ss+ 07:24 0:00 /sbin/mingetty tty3 root 3538 0.0 0.0 1780 464 tty4 Ss+ 07:24 0:00 /sbin/mingetty tty4 root 3541 0.0 0.0 1780 468 tty5 Ss+ 07:24 0:00 /sbin/mingetty tty5 root 3544 0.0 0.0 1780 460 tty6 Ss+ 07:24 0:00 /sbin/mingetty tty6 root 3635 0.0 0.0 2528 528 ? Ss 07:24 0:00 dhclient -1 -q -lf /var/lib/dhcp/dhclient-ath0.leases root 3690 0.0 0.0 1980 580 ? Ss 07:24 0:00 /usr/sbin/vnstatd -d kaka 3707 0.0 0.5 111696 10468 ? Sl 07:24 0:00 /usr/lib/notification-daemon root 7560 0.0 0.0 2192 860 ? S< 07:28 0:00 /sbin/udevd -d kaka 8558 0.0 0.3 59712 6712 ? S 07:29 0:00 kdeinit4: kio_file [kdeinit] file local:/home/kaka/tm root 10133 0.0 0.0 2192 756 ? S< 07:31 0:00 /sbin/udevd -d kaka 24881 0.0 0.4 60976 8064 ? S 07:46 0:00 kdeinit4: kio_desktop [kdeinit] desktop local:/home/k kaka 24882 0.0 0.3 59312 6556 ? S 07:46 0:00 kdeinit4: kio_file [kdeinit] file local:/home/kaka/tm kaka 25533 0.0 0.3 59452 7544 ? S 07:47 0:00 kdeinit4: kio_trash [kdeinit] trash local:/home/kaka/ kaka 25836 2.8 0.9 94048 17968 ? Sl 07:47 0:00 kdeinit4: konsole [kdeinit] kaka 25838 0.2 0.1 4592 1984 pts/0 Rs 07:47 0:00 /bin/bash kaka 25876 0.0 0.0 2564 912 pts/0 R+ 07:47 0:00 ps aux
-
Here are the errors I saw this morning during boot as a normal user. ata1.00: exception Emask 0x0 SAct 0x3 SErr 0x0 action 0x0 ata1.00: irq_stat 0x40000008 ata1.00: cmd 60/20:08:14:74:b0/00:00:04:00:00/40 tag 1 ncq 16384 in res 41/40:00:33:74:b0/00:00:04:00:00/40 Emask 0x409 (media error) <F> ata1.00: status: { DRDY ERR } ata1.00: error: { UNC } ata1.00: configured for UDMA/133 ata1: EH complete sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA ata1.00: exception Emask 0x0 SAct 0x3 SErr 0x0 action 0x0 ata1.00: irq_stat 0x40000008 ata1.00: cmd 60/20:00:14:74:b0/00:00:04:00:00/40 tag 0 ncq 16384 in res 41/40:00:33:74:b0/13:00:04:00:00/40 Emask 0x409 (media error) <F> ata1.00: status: { DRDY ERR } ata1.00: error: { UNC } ata1.00: configured for UDMA/133 ata1: EH complete ata1.00: exception Emask 0x0 SAct 0x3 SErr 0x0 action 0x0 ata1.00: irq_stat 0x40000008 ata1.00: cmd 60/20:08:14:74:b0/00:00:04:00:00/40 tag 1 ncq 16384 in res 41/40:00:33:74:b0/13:00:04:00:00/40 Emask 0x409 (media error) <F> ata1.00: status: { DRDY ERR } ata1.00: error: { UNC } ata1.00: configured for UDMA/133 ata1: EH complete ata1.00: exception Emask 0x0 SAct 0x3 SErr 0x0 action 0x0 ata1.00: irq_stat 0x40000008 ata1.00: cmd 60/20:00:14:74:b0/00:00:04:00:00/40 tag 0 ncq 16384 in res 41/40:00:33:74:b0/13:00:04:00:00/40 Emask 0x409 (media error) <F> ata1.00: status: { DRDY ERR } ata1.00: error: { UNC } ata1.00: configured for UDMA/133 ata1: EH complete ata1.00: exception Emask 0x0 SAct 0x3 SErr 0x0 action 0x0 ata1.00: irq_stat 0x40000008 ata1.00: cmd 60/20:08:14:74:b0/00:00:04:00:00/40 tag 1 ncq 16384 in res 41/40:00:33:74:b0/13:00:04:00:00/40 Emask 0x409 (media error) <F> ata1.00: status: { DRDY ERR } ata1.00: error: { UNC } ata1.00: configured for UDMA/133 ata1: EH complete ata1.00: exception Emask 0x0 SAct 0x3 SErr 0x0 action 0x0 ata1.00: irq_stat 0x40000008 ata1.00: cmd 60/20:00:14:74:b0/00:00:04:00:00/40 tag 0 ncq 16384 in res 41/40:00:33:74:b0/13:00:04:00:00/40 Emask 0x409 (media error) <F> ata1.00: status: { DRDY ERR } ata1.00: error: { UNC } ata1.00: configured for UDMA/133 sd 0:0:0:0: [sda] Unhandled sense code sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE sd 0:0:0:0: [sda] Sense Key : Medium Error [current] [descriptor] Descriptor sense data with sense descriptors (in hex): 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 04 b0 74 33 sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error - auto reallocate failed end_request: I/O error, dev sda, sector 78672947 ata1: EH complete ata1.00: exception Emask 0x0 SAct 0x7 SErr 0x0 action 0x0 ata1.00: irq_stat 0x40000008 ata1.00: cmd 60/08:08:2c:74:b0/00:00:04:00:00/40 tag 1 ncq 4096 in res 41/40:00:33:74:b0/13:00:04:00:00/40 Emask 0x409 (media error) <F> ata1.00: status: { DRDY ERR } ata1.00: error: { UNC } ata1.00: configured for UDMA/133 ata1: EH complete ata1.00: exception Emask 0x0 SAct 0x7 SErr 0x0 action 0x0 ata1.00: irq_stat 0x40000008 ata1.00: cmd 60/08:08:2c:74:b0/00:00:04:00:00/40 tag 1 ncq 4096 in res 41/40:00:33:74:b0/13:00:04:00:00/40 Emask 0x409 (media error) <F> ata1.00: status: { DRDY ERR } ata1.00: error: { UNC } ata1.00: configured for UDMA/133 ata1: EH complete ata1.00: exception Emask 0x0 SAct 0x7 SErr 0x0 action 0x0 ata1.00: irq_stat 0x40000008 ata1.00: cmd 60/08:08:2c:74:b0/00:00:04:00:00/40 tag 1 ncq 4096 in res 41/40:00:33:74:b0/13:00:04:00:00/40 Emask 0x409 (media error) <F> ata1.00: status: { DRDY ERR } ata1.00: error: { UNC } ata1.00: configured for UDMA/133 ata1: EH complete ata1.00: exception Emask 0x0 SAct 0x7 SErr 0x0 action 0x0 ata1.00: irq_stat 0x40000008 ata1.00: cmd 60/08:08:2c:74:b0/00:00:04:00:00/40 tag 1 ncq 4096 in res 41/40:00:33:74:b0/13:00:04:00:00/40 Emask 0x409 (media error) <F> ata1.00: status: { DRDY ERR } ata1.00: error: { UNC }
-
So after several hours of use all is well when running from the guest account. I had a look at dmesg, and it is completely clean with no hard disk errors being reported.
-
My daughter recently received a new Toshiba laptop from Best Buy as a gift from the grandparents. She is 9, so her only computing need is web-based games. I tolerated Vista for awhile, but then one day the laptop had trouble booting and I used this event as an excuse to wipe the drive clean and install the KDE version of Mandriva 2010.0. All seemed to be fine for a week or so and then she began to have trouble with the laptop intermittently freezing for a minute or so. I ran fsck on the boot and home partitions and found errors which were repaired successfully. The freezing continue however, with dmesg showing hard disk errors. At this point I am ready for some warranty activity. For no reason at all, I asked my daughter log in using the xguest account instead of her own account. To my surprise, she has been playing for several hours with no freezes. :o [moved from Installing Mandriva by spinynorman]
-
Increase the memory. Your other hardware is fine.
-
2010.0 and a bit older laptop
daniewicz replied to ursulakatariina's topic in Laptops and Portable Devices
I think I would try burning a new CD. -
how to construct a Matrix of matrices element?
daniewicz replied to Stephni's topic in Command Line, Kernel and Programming
Ahh fortran. The only language I know! It is not clear from your original post exactly what you need. Could you give me some more details? If I knew exactly what your problem was I feel confident I could help. It might be best to give me a hand written overview (pdf) of how matrix A is constructed or comprised from 6 other matrices. -
how to construct a Matrix of matrices element?
daniewicz replied to Stephni's topic in Command Line, Kernel and Programming
You need to tell us what computer language you are interested in using? C++? fortran? -
It is probably best to start a new post. Maybe you have a memory (hardware) problem? Do you know how to run memest to check the status of your memory?