order of IDE drives in lenny

2007-05-07 Thread Towncat

I needed to re-install my Debian system due to a disk failure. (Used
to be etch, now lenny.) I have
a new primary IDE master to which I installed, and I also have an
IT8212 IDE card in the machine. For some reason when booting, the
IT8212 gets assigned the /dev/hda-hdd, while the onboard controller is
assigned /dev/hde-hdh. During installation the onboard controler was /
dev/hda-hdd, and therefore the root file system is not at its right
place when booting, so the system does not start. How can I tell the
kernel the order of loading the controllers?

I temporarily removed the IT card, but I will need it and the drive
attached to it. Now, however, the onboard IDE is /dev/hda-hdd, and the
system is running.


order of IDE drives in lenny ..

2007-05-07 Thread Towncat
I needed to re-install my Debian system due to a disk failure. (Used
to be etch, now lenny.) I have
a new primary IDE master to which I installed, and I also have an
IT8212 IDE card in the machine. For some reason when booting, the
IT8212 gets assigned the /dev/hda-hdd, while the onboard controller is
assigned /dev/hde-hdh. During installation the onboard controler was /
dev/hda-hdd, and therefore the root file system is not at its right
place when booting, so the system does not start. How can I tell the
kernel the order of loading the controllers?

I temporarily removed the IT card, but I will need it and the drive
attached to it. Now, however, the onboard IDE is /dev/hda-hdd, and the
system is running.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: order of IDE drives in lenny ..

2007-05-09 Thread Towncat
In the meantime I actually found a reference to this problem in the
release notes for etch. I haven't  tried yet, but it should fix the
problem.

Here: 
http://www.us.debian.org/releases/etch/i386/release-notes/ch-upgrading.en.html#s-device-reorder

I've been using etch for some time, I wonder why the problem did not
occur earlier.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



ivtv-fb not found in Debian

2008-03-06 Thread Towncat
I'm running a Debian lenny box. I would like to set up a Hauppauge
PVR-350's video out as an X server, however, I can't seem to find the
ivti-fb module in Debian. (the card is otherwise working nicely with
the ivtv module). Has someone had some luck with this?

Tc


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



KDM XDMCP error

2008-03-27 Thread Towncat
I have two lenny boxes, and I want to login to an X session on one of
them from the other using XDMCP. If I run KDM on the remote machine
and try to log in, KDM just restarts. If I run XDM on the same
machine, I can login in through XDMCP. I can also log in with KDM
locally on the remote machine. Where should I start tracing the
problem?

Thanks:
 tc


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: KDM XDMCP error

2008-03-28 Thread Towncat
On márc. 27, 13:50, Towncat [EMAIL PROTECTED] wrote:
 I have two lenny boxes, and I want to login to an X session on one of
 them from the other usingXDMCP. If I runKDMon the remote machine
 and try to log in,KDMjust restarts. If I run XDM on the same
 machine, I can login in throughXDMCP. I can also log in withKDM
 locally on the remote machine. Where should I start tracing the
 problem?

 Thanks:
  tc

 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

One thing to add: xdmcp seems to work OK, as I can see the login
window of KDM remotely. It only restarts when I press login. Also, KDM
in itself seems to be OK, as I can login locally. The combination of
the two seems not to work.

Anyone seen this error or have a hint?

Thanks:
  tc.



ppdev0: registered pardevice

2007-12-30 Thread Towncat
I am using lenny, and did an upgrade lately. Since that I am getting a
message repeatedly both on console and in /var/log/messages:

ppdev0: registered pardevice

What happened?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



iceweasel / firefox segfault after lenny upgrade

2007-12-30 Thread Towncat
As just said in a previous post, I am using lenny and lately upgraded
it. Firefox/Iceweasel fails to start since then:

[EMAIL PROTECTED]:~$ firefox
/usr/lib/iceweasel/firefox-bin: Symbol `SSL_ImplementedCiphers' has
different size in shared object, consider re-linking

(gecko:14849): Pango-WARNING **: failed to create cairo scaled font,
expect ugly output. the offending font is 'DejaVu Serif 12.798828125'
Segmentation fault
[EMAIL PROTECTED]:~$


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: iceweasel / firefox segfault after lenny upgrade

2007-12-30 Thread Towncat
On dec. 31, 00:30, Florian Kulzer [EMAIL PROTECTED]
wrote:
 On Sun, Dec 30, 2007 at 03:46:02 -0800, Towncat wrote:
  As just said in a previous post, I am using lenny and lately upgraded
  it. Firefox/Iceweasel fails to start since then:

  [EMAIL PROTECTED]:~$ firefox
  /usr/lib/iceweasel/firefox-bin: Symbol `SSL_ImplementedCiphers' has
  different size in shared object, consider re-linking

 I see this message as well (Sid, iceweasel 2.0.0.11-1), but my iceweasel
 seems to run normally otherwise. This is probably harmless.

  (gecko:14849): Pango-WARNING **: failed to create cairo scaled font,
  expect ugly output. the offending font is 'DejaVu Serif 12.798828125'
  Segmentation fault

 Try this:

 $ export MOZ_DISABLE_PANGO=true
 $ iceweasel -safe-mode

 If it still does not work try the same from a pristine user account.

 --
 Regards,|http://users.icfo.es/Florian.Kulzer
   Florian   |

 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Thanks, it did help. Actually, I didn't even need the -safe-mode
switch.

So what does (or does not, as the case is) pango do?

Tc.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: iceweasel / firefox segfault after lenny upgrade

2007-12-31 Thread Towncat
On dec. 31, 02:10, Towncat [EMAIL PROTECTED] wrote:
 On dec. 31, 00:30, Florian Kulzer [EMAIL PROTECTED]
 wrote:



  On Sun, Dec 30, 2007 at 03:46:02 -0800, Towncat wrote:
   As just said in a previous post, I am using lenny and lately upgraded
   it. Firefox/Iceweasel fails to start since then:

   [EMAIL PROTECTED]:~$ firefox
   /usr/lib/iceweasel/firefox-bin: Symbol `SSL_ImplementedCiphers' has
   different size in shared object, consider re-linking

  I see this message as well (Sid, iceweasel 2.0.0.11-1), but my iceweasel
  seems to run normally otherwise. This is probably harmless.

   (gecko:14849): Pango-WARNING **: failed to create cairo scaled font,
   expect ugly output. the offending font is 'DejaVu Serif 12.798828125'
   Segmentation fault

  Try this:

  $ export MOZ_DISABLE_PANGO=true
  $ iceweasel -safe-mode

  If it still does not work try the same from a pristine user account.

  --
  Regards,|http://users.icfo.es/Florian.Kulzer
Florian   |

  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

 Thanks, it did help. Actually, I didn't even need the -safe-mode
 switch.

 So what does (or does not, as the case is) pango do?

 Tc.

 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

OK, now iceweasel runs, but I realised that there is more to it,
something to do with fonts and pango. When I start non-kde
applications under kde, I get little squares instead of fonts.

The output is like this (for xsane, here):

xsane:9842): Pango-WARNING **: failed to create cairo scaled font,
expect ugly output. the offending font is 'DejaVu Sans 10'

(xsane:9842): Pango-WARNING **: failed to create cairo scaled font,
expect ugly output. the offending font is 'DejaVu Sans 12.5'

(xsane:9842): Pango-WARNING **: shaping failure, expect ugly output.
shape-engine='BasicEngineFc', font='DejaVu Sans 12.5', text='French
(Français)'

(xsane:9842): Pango-WARNING **: pango_font_get_glyph_extents called
with null font argument, expect ugly output

(xsane:9842): Pango-WARNING **: shaping failure, expect ugly output.
shape-engine='BasicEngineFc', font='DejaVu Sans 10', text='XSane
változat: 0.995'


Ideas, anyone?



Re: iceweasel / firefox segfault after lenny upgrade

2008-01-01 Thread Towncat


Florian Kulzer wrote:
 On Mon, Dec 31, 2007 at 02:31:47 -0800, Towncat wrote:

 [...]

  OK, now iceweasel runs, but I realised that there is more to it,
  something to do with fonts and pango. When I start non-kde
  applications under kde, I get little squares instead of fonts.
 
  The output is like this (for xsane, here):
 
  xsane:9842): Pango-WARNING **: failed to create cairo scaled font,
  expect ugly output. the offending font is 'DejaVu Sans 10'
 
  (xsane:9842): Pango-WARNING **: failed to create cairo scaled font,
  expect ugly output. the offending font is 'DejaVu Sans 12.5'
 
  (xsane:9842): Pango-WARNING **: shaping failure, expect ugly output.
  shape-engine='BasicEngineFc', font='DejaVu Sans 12.5', text='French
  (Fran�ais)'
 
  (xsane:9842): Pango-WARNING **: pango_font_get_glyph_extents called
  with null font argument, expect ugly output
 
  (xsane:9842): Pango-WARNING **: shaping failure, expect ugly output.
  shape-engine='BasicEngineFc', font='DejaVu Sans 10', text='XSane
  v�ltozat: 0.995'
 
 
  Ideas, anyone?

 Try to run (as root) fc-cache -fs followed by update-pangox-aliases.
 Do you get error messages? Does this improve the situation?

 If the above does not help, post the output of these three commands:

 ls -l /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf

 dpkg -l lib{pango,cairo}\* | awk '/^[^D|+]/{print $1,$2,$3}'

 awk '/^Name:.*pango/,/^$/' /var/cache/debconf/config.dat

 --
 Regards,| http://users.icfo.es/Florian.Kulzer
   Florian   |

It did not help, I'm afraid. Here are the outputs (the last had none):

[EMAIL PROTECTED]:~$ ls -l /usr/share/fonts/truetype/ttf-dejavu/
DejaVuSans.ttf
-rw-r--r-- 1 root root 581400 Oct 28 16:22 /usr/share/fonts/truetype/
ttf-dejavu/DejaVuSans.ttf
[EMAIL PROTECTED]:~$ dpkg -l lib{pango,cairo}\* | awk '/^[^D|+]/{print
$1,$2,$3}'
un libcairo none
ii libcairo-perl 1.043-1
un libcairo0.5.1 none
un libcairo0.6.0 none
un libcairo0.9.0 none
un libcairo1 none
ii libcairo2 1.4.10-1+lenny2
un libcairomm-1.0-0 none
ii libcairomm-1.0-1 1.4.2-1
un libpango-common none
un libpango0 none
ii libpango1.0-0 1.18.3-1
ii libpango1.0-common 1.18.3-1
[EMAIL PROTECTED]:~$ awk '/^Name:.*pango/,/^$/' /var/cache/debconf/
config.dat
[EMAIL PROTECTED]:~$



Re: iceweasel / firefox segfault after lenny upgrade

2008-01-01 Thread Towncat


Florian Kulzer wrote:
 On Mon, Dec 31, 2007 at 02:31:47 -0800, Towncat wrote:

 [...]

  OK, now iceweasel runs, but I realised that there is more to it,
  something to do with fonts and pango. When I start non-kde
  applications under kde, I get little squares instead of fonts.
 
  The output is like this (for xsane, here):
 
  xsane:9842): Pango-WARNING **: failed to create cairo scaled font,
  expect ugly output. the offending font is 'DejaVu Sans 10'
 
  (xsane:9842): Pango-WARNING **: failed to create cairo scaled font,
  expect ugly output. the offending font is 'DejaVu Sans 12.5'
 
  (xsane:9842): Pango-WARNING **: shaping failure, expect ugly output.
  shape-engine='BasicEngineFc', font='DejaVu Sans 12.5', text='French
  (Fran�ais)'
 
  (xsane:9842): Pango-WARNING **: pango_font_get_glyph_extents called
  with null font argument, expect ugly output
 
  (xsane:9842): Pango-WARNING **: shaping failure, expect ugly output.
  shape-engine='BasicEngineFc', font='DejaVu Sans 10', text='XSane
  v�ltozat: 0.995'
 
 
  Ideas, anyone?

 Try to run (as root) fc-cache -fs followed by update-pangox-aliases.
 Do you get error messages? Does this improve the situation?

 If the above does not help, post the output of these three commands:

 ls -l /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf

 dpkg -l lib{pango,cairo}\* | awk '/^[^D|+]/{print $1,$2,$3}'

 awk '/^Name:.*pango/,/^$/' /var/cache/debconf/config.dat

 --
 Regards,| http://users.icfo.es/Florian.Kulzer
   Florian   |

Based on the outputs I did a

 dpkg-reconfigure libcairo2 libpango1.0-common

and an

fc-cache -fs
update-pangox-aliases

which seems to have helped.



failure booting lvm volume group over encrypted disk

2008-01-01 Thread Towncat
I'm trying to make a bootable backup disk based on a href=http://
linuxgazette.net/140/kapil.htmlthis howto/a.

The backup is on an external usb-sata drive. There is an sdc1
partition that is not used, a small sdc2 for boot, unencrypted, and an
sdc3 encrypted. On this there is a volume group, with two lv-s, one
for root and one for swap.

When booting the original system, I can open the encrypted disk, but I
need to restart lvm for the system to find the volume group on it. I
can also mount the lv-s.

When I try to boot the backup system, it loads the initramfs, and I
get this message:

/dev/mapper/vg_externalsata_2-root does not exist.

Looking at /proc/modules shows that the dm_crypt module is not loaded
(although it seems to be included in the initramfs), which I think
might be the problem.

Any ideas? Did someone use the same howto with success?

Tc


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: failure booting lvm volume group over encrypted disk

2008-01-02 Thread Towncat
On Jan 1, 11:00 pm, Towncat [EMAIL PROTECTED] wrote:
 I'm trying to make a bootable backup disk based on a href=http://
 linuxgazette.net/140/kapil.htmlthis howto/a.

 The backup is on an external usb-sata drive. There is an sdc1
 partition that is not used, a small sdc2 for boot, unencrypted, and an
 sdc3 encrypted. On this there is a volume group, with two lv-s, one
 for root and one for swap.

 When booting the original system, I can open the encrypted disk, but I
 need to restart lvm for the system to find the volume group on it. I
 can also mount the lv-s.

 When I try to boot the backup system, it loads the initramfs, and I
 get this message:

 /dev/mapper/vg_externalsata_2-root does not exist.

 Looking at /proc/modules shows that the dm_crypt module is not loaded
 (although it seems to be included in the initramfs), which I think
 might be the problem.

 Any ideas? Did someone use the same howto with success?

 Tc

 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Anyone have a hint maybe? I don't even have a clue where to look for
the error...

Tc


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: failure booting lvm volume group over encrypted disk

2008-01-02 Thread Towncat
On Jan 2, 6:50 pm, Douglas A. Tutty [EMAIL PROTECTED] wrote:
 On Wed, Jan 02, 2008 at 08:29:30AM -0800, Towncat wrote:
  On Jan 1, 11:00 pm, Towncat [EMAIL PROTECTED] wrote:
   I'm trying to make a bootable backup disk based on a href=http://
   linuxgazette.net/140/kapil.htmlthis howto/a.

   The backup is on an external usb-sata drive. There is an sdc1
   partition that is not used, a small sdc2 for boot, unencrypted, and an
   sdc3 encrypted. On this there is a volume group, with two lv-s, one
   for root and one for swap.

   When booting the original system, I can open the encrypted disk, but I
   need to restart lvm for the system to find the volume group on it. I
   can also mount the lv-s.

   When I try to boot the backup system, it loads the initramfs, and I
   get this message:

   /dev/mapper/vg_externalsata_2-root does not exist.

   Looking at /proc/modules shows that the dm_crypt module is not loaded
   (although it seems to be included in the initramfs), which I think
   might be the problem.

   Any ideas? Did someone use the same howto with success?

  Anyone have a hint maybe? I don't even have a clue where to look for
  the error...

 What is it you hope this backup disk to do?  Why can't you use the
 debian-install CD in rescue mode to boot up the system in the event of a
 boot failure?   Why do backups need to be bootable?  Personally, I put
 my backups in a tarball (spit to fit on each piece of media) and pipe it
 through openssl to encrypt it.

The point is not the backup, but the encrypted system. The howto
http://linuxgazette.net/140/kapil.html
 proceeds by first making an encrypted clone of your system (which is,
as a byproduct, also a bootable backup), and then transfers that
backup to the original but by then encrypted system disk. However, if
I cannot make the encrypted backup bootable, then I won't be able to
do the same with the original system on the original disk.

Actually, I tried the lenny installer (netinst) to produce an
encrypted root system, but I ran into the same problem, that's why I
started over by hand.

As I said, the problem seems to be that the initramfs does not load
the crypt modules and does not do the unencyrpt procedure (even though
the modules are included in the initramfs).

Thanks,
  Tc


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: failure booting lvm volume group over encrypted disk

2008-01-07 Thread Towncat
On Jan 2, 8:30 pm, Towncat [EMAIL PROTECTED] wrote:
 On Jan 2, 6:50 pm, Douglas A. Tutty [EMAIL PROTECTED] wrote:



  On Wed, Jan 02, 2008 at 08:29:30AM -0800, Towncat wrote:
   On Jan 1, 11:00 pm, Towncat [EMAIL PROTECTED] wrote:
I'm trying to make a bootable backup disk based on a href=http://
linuxgazette.net/140/kapil.htmlthis howto/a.

The backup is on an external usb-sata drive. There is an sdc1
partition that is not used, a small sdc2 for boot, unencrypted, and an
sdc3 encrypted. On this there is a volume group, with two lv-s, one
for root and one for swap.

When booting the original system, I can open the encrypted disk, but I
need to restart lvm for the system to find the volume group on it. I
can also mount the lv-s.

When I try to boot the backup system, it loads the initramfs, and I
get this message:

/dev/mapper/vg_externalsata_2-root does not exist.

Looking at /proc/modules shows that the dm_crypt module is not loaded
(although it seems to be included in the initramfs), which I think
might be the problem.

Any ideas? Did someone use the same howto with success?

   Anyone have a hint maybe? I don't even have a clue where to look for
   the error...

  What is it you hope this backup disk to do?  Why can't you use the
  debian-install CD in rescue mode to boot up the system in the event of a
  boot failure?   Why do backups need to be bootable?  Personally, I put
  my backups in a tarball (spit to fit on each piece of media) and pipe it
  through openssl to encrypt it.

 The point is not the backup, but the encrypted system. The 
 howtohttp://linuxgazette.net/140/kapil.html
  proceeds by first making an encrypted clone of your system (which is,
 as a byproduct, also a bootable backup), and then transfers that
 backup to the original but by then encrypted system disk. However, if
 I cannot make the encrypted backup bootable, then I won't be able to
 do the same with the original system on the original disk.

 Actually, I tried the lenny installer (netinst) to produce an
 encrypted root system, but I ran into the same problem, that's why I
 started over by hand.

 As I said, the problem seems to be that the initramfs does not load
 the crypt modules and does not do the unencyrpt procedure (even though
 the modules are included in the initramfs).

 Thanks,
   Tc

 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

FYI all,

I figured out the problem, it was my mistake, because the initramfs
was actually OK, but I had too boot partitions (one for the original
system, one for the backup), and I was updating the wrong one (and
booting from the other...) Once I figured out, it did work -- now I
have another issue.

Tc


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



vg_md0-swap: not deactivating: busy

2008-01-07 Thread Towncat
I'm trying to deactivate a logical volume and the volume group it is
inside, but I get this error message (not exactly, I'm writing this
from memory). The point is, that the system thinks the swap partition
is in use. However, this is not the swap the system is using (that's
on another partition), and I turned even that off (swapoff). /proc/
swaps, swapon -s, ps xaf, lsof do not give a hint (to me) -- what
could be holding that logical volume? (The other lv on that vg can be
deactivated without a problem, that's root, also unused).

Thanks,
  tc


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: vg_md0-swap: not deactivating: busy

2008-01-07 Thread Towncat
On Jan 7, 10:00 am, Towncat [EMAIL PROTECTED] wrote:
 I'm trying to deactivate a logical volume and the volume group it is
 inside, but I get this error message (not exactly, I'm writing this
 from memory). The point is, that the system thinks the swap partition
 is in use. However, this is not the swap the system is using (that's
 on another partition), and I turned even that off (swapoff). /proc/
 swaps, swapon -s, ps xaf, lsof do not give a hint (to me) -- what
 could be holding that logical volume? (The other lv on that vg can be
 deactivated without a problem, that's root, also unused).

 Thanks,
   tc

 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

I tried several ways, formatted the lv with mke2fs, switched to single
user, rebooted, and there is just no way to get this particular
logical volume inactive. The strange thing is, there is no problem
with the other lv on the same vg, that can be activated right away.
But this one:

# lvchange -an /dev/vg_md0/swap
   LV vg_md0/swap in use: not deactivating

What uses is? It is no longer swap, I even changed my fstab from
LABELs to drives.

So what now?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: vg_md0-swap: not deactivating: busy

2008-01-12 Thread Towncat
On jan. 7, 17:20, Towncat [EMAIL PROTECTED] wrote:
 On Jan 7, 10:00 am, Towncat [EMAIL PROTECTED] wrote:

  I'm trying to deactivate a logical volume and the volume group it is
  inside, but I get this error message (not exactly, I'm writing this
  from memory). The point is, that the system thinks the swap partition
  is in use. However, this is not the swap the system is using (that's
  on another partition), and I turned even that off (swapoff). /proc/
  swaps, swapon -s, ps xaf, lsof do not give a hint (to me) -- what
  could be holding that logical volume? (The other lv on that vg can be
  deactivated without a problem, that's root, also unused).

  Thanks,
tc

  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

 I tried several ways, formatted the lv with mke2fs, switched to single
 user, rebooted, and there is just no way to get this particular
 logical volume inactive. The strange thing is, there is no problem
 with the other lv on the same vg, that can be activated right away.
 But this one:

 # lvchange -an /dev/vg_md0/swap
LV vg_md0/swap in use: not deactivating

 What uses is? It is no longer swap, I even changed my fstab from
 LABELs to drives.

 So what now?

 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Well, I do not seem to have received a hint...

I worked around the problem, booted from a rescue CD and removed the
lv from there. It seems the rescue CD does not activate the swap and
the logical volume can thus be deleted.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



badblocks -- how much time does it take?

2008-01-12 Thread Towncat
Hi,

I did a

/sbin/badblocks -c 10240 -w -t random -v /dev/sda2

where sda2 is a 320 gb partition. The process has been running for
approx 18 hours and is just over three thirds. Is this really supposed
to be so slow, or is there something wrong? The machine is a Core Duo
1,6, 2GB memory.

Tc


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: badblocks -- how much time does it take?

2008-01-12 Thread Towncat
On jan. 12, 19:20, Michael Shuler [EMAIL PROTECTED] wrote:
 On 01/12/2008 11:40 AM, Towncat wrote:

  /sbin/badblocks -c 10240 -w -t random -v /dev/sda2

  where sda2 is a 320 gb partition. The process has been running for
  approx 18 hours and is just over three thirds. Is this really supposed
  to be so slow, or is there something wrong? The machine is a Core Duo
  1,6, 2GB memory.

 Yes, and no.  badblocks -w is a full write-mode check - you could do a
 default read-only check, which would certainly be faster, but it all
 depends on how thorough you would like to be - you chose the most
 thorough check, so it will take a while, yeah.  Just over 3/3's (= 1/1 =
 done)?  ;)
 Í

Sorry, three quarters... :)

I thought I'd be thorough, since I can only do this now when it's
still empty.

Thanks, I'll just wait then :-)



Re: badblocks -- how much time does it take?

2008-01-18 Thread Towncat
On jan. 12, 22:20, Ron Johnson [EMAIL PROTECTED] wrote:
 On 01/12/08 11:40, Towncat wrote:

  Hi,

  I did a

  /sbin/badblocks -c 10240 -w -t random -v /dev/sda2

 Why?  Don't you trust brand new disk drives?

Well, you do have a point... But then, this is the only time I can do
this safely. When there's data on it, it's not that obvious.

Maybe I was a little paranoid. And of course, I was curious.

Thank you all. I needed patience:)


  where sda2 is a 320 gb partition. The process has been running for
  approx 18 hours and is just over three thirds. Is this really supposed
  to be so slow,

 Yes.

  or is there something wrong? The machine is a Core Duo
  1,6, 2GB memory.

 CPU speed helps, I guess, but always the important factor in disk
 activity is the disk itself.  A 10K or 15K RPM FC drive connected to
 a 4GBps HBA will do the bad block scan *much* faster than an IDE or
 SATA drive.

 --
 Ron Johnson, Jr.
 Jefferson LA  USA

 I'm not a vegetarian because I love animals, I'm a vegetarian
 because I hate vegetables!
 unknown

 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: badblocks -- how much time does it take?

2008-01-19 Thread Towncat
On jan. 18, 21:40, Towncat [EMAIL PROTECTED] wrote:
 On jan. 12, 22:20, Ron Johnson [EMAIL PROTECTED] wrote:

  On 01/12/08 11:40, Towncat wrote:

   Hi,

   I did a

   /sbin/badblocks -c 10240 -w -t random -v /dev/sda2

  Why?  Don't you trust brand new disk drives?

 Well, you do have a point... But then, this is the only time I can do
 this safely. When there's data on it, it's not that obvious.

 Maybe I was a little paranoid. And of course, I was curious.

 Thank you all. I needed patience:)





   where sda2 is a 320 gb partition. The process has been running for
   approx 18 hours and is just over three thirds. Is this really supposed
   to be so slow,

  Yes.

   or is there something wrong? The machine is a Core Duo
   1,6, 2GB memory.

  CPU speed helps, I guess, but always the important factor in disk
  activity is the disk itself.  A 10K or 15K RPM FC drive connected to
  a 4GBps HBA will do the bad block scan *much* faster than an IDE or
  SATA drive.

  --
  Ron Johnson, Jr.
  Jefferson LA  USA

  I'm not a vegetarian because I love animals, I'm a vegetarian
  because I hate vegetables!
  unknown

  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Now, it turns out I made a mistake here. I have SATA drives, but
because of listing ide_generic in the modules file for initramfs, the
drives ran as /dev/hd* instead of /dev/sd*, with the wrong driver. I
realised this when I saw how slow RAID 1 resyncing was, too. So
actually the process did take unnaturally long (however paranoid and
thorough the method was).

I hope this will help someone:)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]