Re: [opensuse] How to determine the number of bad blocks?

2007-11-29 Thread Denis Brown

At 04:25 AM 30/11/2007, Jeremy Figgins wrote:

I have a USB external harddrive that I suspect is on its last leg. I
would like some definitive way to determine the number of bad blocks.
I've run "fsck /dev/sdb1 -c" several times, but the only output is:

/dev/sdd1: 11/30539776 files (9.1% non-contiguous), 1006495/61049000 blocks

where that first number (1006495) goes up with every run of fsck -c. Is
that number the number of bad blocks? And if not, then how can I find out?



Hello Jeremy.

You could use "badblocks" perhaps.   I have used it successfully on "real" 
disks - I am not sure if it works on USB drives because I have not tried it.


badblocksdoes a read-only test or badblocks -n path> does a "non destructive" read-write test


man badblocks will help I'm sure.

Regards,
Denis




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Installation disk detection problems

2007-11-29 Thread Denis Brown

At 11:33 PM 29/11/2007, Stephan Hegel wrote:

Michael Fischer wrote:
> On Thu, Nov 29, Denis Brown wrote:
>> ASUS P5K motherboard has onboard Jmicron chip.   I could not get 10.1 to
>> install.   As it happened Ubuntu (7.0.4??) installed fine and I was 
content

>> for a while.
>
> How exatly does one figure that out? If it has the Jmicron thing?
I run in problems with SuSE 10.2 and the ASUS P5K motherboard. Here my
notes I made at that time how I got it running:

  ---
  Install notes for OpenSuSE 10.2 on a PC with Asus P5B / P5K / P5K-E board.
  ---
  Possible problem with "Install-CD not found".

  Load the BIOS, pressing DEL just after power it on. Somewhere in the BIOS
  setup there should be an option for the JMicron drive controller("Onboard
  Devices" in the P5B BIOS menu). Set it to AHCI mode. Save and exit with
  F10.

  Re-start the installation process adding in the first boot menu the boot
  option:
 insmod=ide-generic insmod=pata_jmicron

As of the JMicron chip: there should be an entry in the BIOS.

Rgds,
   Stephan.



Thank you very much. Stephan.   That is most interesting and I will file 
the solution away for the future!


Please note that the option for the running onboard devices (the Jmicron 
chip) in AHCI mode seems to be absent in the latest released version (0704) 
BIOS for the P5K board.   It now shows only IDE.


As part of troubleshooting system instability I updated the original BIOS 
(version 0302) and discovered the AHCI option was missing!   Version 0704 
of the BIOS does, however, fix a problem where glxgears apparently jumps 
the CPU core temperature dramatically.   With version 0302 the temps went 
up 20 degrees Celcius!


Why that should be I have no idea :-)

Hope this helps,
Denis




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Installation disk detection problems

2007-11-28 Thread Denis Brown

Hello Michael.

Sounds similar to my issue with 10.1 - drive unrecognised.   Same with 10.2 
IIRC


ASUS P5K motherboard has onboard Jmicron chip.   I could not get 10.1 to 
install.   As it happened Ubuntu (7.0.4??) installed fine and I was content 
for a while.


When 10.3 openSuSE came out I tried again.  Bingo - success.

In my case it gets more interesting... I have four SATA drives, one system 
drive at 80 gig and three data drives in software RAID5 at 320 gig each.


The only way I could get things to work - tried a lot of BIOS settings, 
too! - was to set the system drive to be on SATA port 4 (/dev/sdd) and then 
the magic happened.


By the way, you may profit from upgrading the motherboard BIOS.   Mine was 
0302 and I had very strange CPU core temperature readings - 40 degrees 
idle, 60 degrees running gklxgears.   Upgraded to the latest no-Beta BIOS 
(0704) and that problem has gone away.   Mind you the drive setup is a bit 
different between 0302 and 0704.


Also be warned - you cannot regress at least not from 0704 to 0302.   Your 
mileage may vary :-)


HTH,
Denis


At 12:13 PM 29/11/2007, Michael Fischer wrote:



New machine:

Asus M2N-VM mobo (NVIDIA GeForce 6100 chipset)
2 WD800JD 80G SATA2
PIONEER DVD-RW SATA

SuSE 10.1 (10.3 on the way, but I wanted to test the box)

This thing has 4 SATA slots on the mobo. Near as I can figure it
the order (when looking in the box at the board looks like

2   3

1   4

by experimentation with cables and what the BIOS says.

All drives are recognized by the BIOS.

Here's the problems:

Only with the DVD-RW in slot 1 can SuSE figure out that the
installation media is present
(c.f.  http://en.opensuse.org/SDB:CD_not_found_problem)
but it *is* an SATA drive, one which works fine for installation
in the machine on which I am typing this email.

With the DVD-RW in slot 1, Installation begins, but the installer
says it can't find any hard drives.

Kernel messages show

ata2: SATA link down (SStatus 0)

Install with "Safe Settings" didn't help.

Google shows various people having similar issues, but seemingly
with different motherboards. Not sure if there's a driver which
needs to be loaded or what.

Following url has decent-looking specs of this motherboard:

http://www10.uk.shopping.com/xPF-ASUS-ASUS-M2N-VM-DH-mainboard-micro-ATX-nForce-430

Does SATA2 put me in trouble here?

Thanks in advance.

Michael
--
Michael Fischer
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] OT - Linux and open source in use in public administration?

2007-11-23 Thread Denis Brown

At 05:39 PM 23/11/2007, Clayton wrote:

> A friend of mine in the UK is looking for examples of Linux and/or open
> source being used in public administration. I've named quite a few of
> the German examples, but if anyone's got a list or useful resources,
> I'd much appreciate it. From anywhere.
>
> It appears that local government in his part of the world is only
> interested in negotiating with , and the local Linux User
> Group is trying to suggest anopther angle :-)

There is quite a bit of information here that might be useful...
OpenOffice.org focused, but it does give a rather good snapshot of
government agencies and private companies who are using OOo and Linux
(including SUSE in many).

http://wiki.services.openoffice.org/wiki/Major_OpenOffice.org_Deployments


Just out of interest I put "linux open source used in public 
administration" into Google and returned 1.25 million hits :-)   Including 
the original poster's reference.


It seems that Spain, Italy, Venezuela, Brazil, Canada (especially schools) 
... are all on the bandwagon.   And I recall a SuSE presentation which 
showed SuSE SLES and Xen being used big-time in the German air traffic 
control.   Talk about mission-critical apps :-)


Hope this helps to get you pointed in the right areas.   I may have 
references on my University's intranet that I could hunt up and let you have.


HTH,
Denis




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Re: nVidia GeForce 8500GT not active at boot after nvidia-xconfig tweak

2007-11-22 Thread Denis Brown

At 07:24 PM 22/11/2007, Eberhard Roloff wrote:

Denis Brown wrote:
> Dear List Members,
>
> openSuSE 10.3 on x86_64 system with Intel Core2Duo CPU and nVidia
> GeForce 8500GT video card and ASUS P5K motherboard.   Forgive the long





> Your help and patience are appreciated!
> Kind regards,
> Denis
Hi Denis,
I experienced a very similar behaviour with a motherboard that had
integrated graphics where I wanted to use an older nvidia board.

So as the P5K surely does not have integrated graphics, by chance do you
happen to have another graphics board inside your computer?

Yesterday I installed an Nvidia 8600GT inside an Asus P5KR Board with
the "hard way" installer/init 3 installation of the nvidia drivers.

No problems like that so far.


Thanks Eberhard.

At present there is only the one video card, the 8500.   Tomorrow I will 
replace it temporarily with a 7800GT to test my theory that the card has 
somehow been "reprogrammed".   If so, the question remains as to how to 
"un-reprogram" it :-)


Nice to know that the "hard way" (which I have used in other Linux + nVidia 
instances) works well.


Kind regards,
Denis



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] nVidia GeForce 8500GT not active at boot after nvidia-xconfig tweak

2007-11-21 Thread Denis Brown

At 01:24 PM 22/11/2007, Don Raboud wrote:

On Wednesday 21 November 2007 20:49, Denis Brown wrote:
> Dear List Members,
>


> At this point a cold boot.   Disturbingly during the POST there was *no*
> video on screen.   The card and monitor have dual (analogue and digital)
> connections but video did not appear on either.
>
> Once the POST was over and Linux took over things, I get the log-on screen.
>
> Subsequent cold starts repeat this behaviour - it is as if the video card
> has had a "personality change" and now only works in conjunction with the
> Linux OS and the nVidia drivers... it no longer functions "stand alone"
> with just the motherboard BIOS.

What is the vga= parameter in your grub menu, (/boot/grub/menu.lst).
Try putting vga=normal there and see if you get the startup messages.

Alternatively, what happens if boot in failsafe mode, any difference?


Thanks Don.

Will try the grub vga=normal parameter.

I do not get a chance to boot in failsafe mode because I can see no video 
to know what to press / click.   :-(


Kind regards,
Denis



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[opensuse] nVidia GeForce 8500GT not active at boot after nvidia-xconfig tweak

2007-11-21 Thread Denis Brown

Dear List Members,

openSuSE 10.3 on x86_64 system with Intel Core2Duo CPU and nVidia GeForce 
8500GT video card and ASUS P5K motherboard.   Forgive the long post but I 
figure it will save time in the long run if I give as much info as possible 
at "day one."


Installation went well from downloaded and burned DVD iso.   Updates not a 
problem.   But 3D not enabled and I wanted to implement Xgl and Compix for 
use with medical imaging software - this will be a scientific workstation 
machine.


Information on http://en.opensuse.org/NVIDIA suggested a "one click" 
approach to installing the new nVidia driver which theoretically activates 
3D, allows Xgl and so forth.   The "one click" method appeared to work 
correctly - no error messages.   Subsequent instructions said to run 
nvidia-xconfig with some options.   With each of the three invocations the 
xorg.conf file was overwritten - I expected this would be the case.   There 
was one instance of "screen went black and evidently lost synch" during 
this process - IIRC it was during the first of the nvidia-xconfig 
operations but I could be wrong.   That was the only "unexpected" event.


So far no error messages or other abnormal behaviour.

However upon logout and logon again, as per instructions, there was no 
video output from the nVidia card!   SSH'ed into the machine and restored 
xorg.conf from a backup copy, restarted the X system (ctrl-alt-backspace) 
and had video again.


Attempted to use sax2 to sort things out but similar results - had to SSH 
in again and "rescue" the system.   And I still do not have 3D, nor can I 
get info out of glxinfo - claims the display 0:0 does not 
exist.   Consequently things like glxgears do not run.


At this point a cold boot.   Disturbingly during the POST there was *no* 
video on screen.   The card and monitor have dual (analogue and digital) 
connections but video did not appear on either.


Once the POST was over and Linux took over things, I get the log-on screen.

Subsequent cold starts repeat this behaviour - it is as if the video card 
has had a "personality change" and now only works in conjunction with the 
Linux OS and the nVidia drivers... it no longer functions "stand alone" 
with just the motherboard BIOS.


I assume the on-board firmware has been tweaked by the actions of X, sax2 
and/or nvidia-xconfig such that it is now reliant on the Linux 
environment.If so, is there a way forward which will allow the card to 
return to its "native" state from whence I can start afresh?


I have seen reference on the web to others' experiences with nVidia and 
openSuSE which suggests that the "one click" method is sometimes 
inappropriate - for non-specific reasons.


I am happy to use "the long method" such as running the nVidia installer in 
init3 mode (non graphical) and withstand the "pain" of Linux kernel 
upgrades if that in fact solves the problem :-)


Your help and patience are appreciated!
Kind regards,
Denis


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]