Re: Problem with Update repository

2012-03-16 Thread Bret Busby

On Fri, 16 Mar 2012, Scott Ferguson wrote:


Date: Fri, 16 Mar 2012 13:21:03
From: Scott Ferguson 
To: debian-user@lists.debian.org
Subject: Re: Problem with Update repository
Resent-Date: Fri, 16 Mar 2012 05:22:15 + (UTC)
Resent-From: debian-user@lists.debian.org

On 16/03/12 13:38, Bret Busby wrote:

Hello.

Recently, I have been getting an error message both from an update
manager applet, and, in checking for system updates.

The error message is:

"
An internal error has occured and the operation has been aborted.
Error message:
Fetch failed: W:Failed to fetch
http://http.us.debian.org/debian/dists/squeeze/updates/main/source/Sources.gz
404  Not Found [IP: 199.6.12.70 80]
, E:Some index files failed to download, they have been ignored, or old
ones used instead.
"


Strange:-

$ ping http.us.debian.org
PING ftp.us.debian.org (64.50.236.52)

Is that the only error you got?
If so, and if you aren't building from source, just comment out that src
line in /etc/apt/sources.list.

Does the relevant line look like either of these?
deb http://http.us.debian.org/debian/ squeeze main contrib non-free
deb http://http.us.debian.org/debian/ squeeze/updates main contrib non-free


Have you considered using a local mirror? eg.:-
mirror.3fl.net.au   Westnet
ftp.netspace.net.au Netspace Online Systems
mirror.waia.asn.au  Western Australian Internet Association

Also (East coast):-
http://ftp.monash.edu.au/pub/linux/debian/
http://ftp.au.debian.org/pub/debian/
http://mirror.optus.net/debian/

For more see:-
http://www.debian.org/mirror/sponsors



If none of the above solve your problem, please post:-
/etc/apt/sources.list



Kind regards

--
"Oh sorry, I was taking life seriously."
— Bill Hicks




Hello.

The sources.list file is listed below.

"
:~$ cat /etc/apt/sources.list
#

# deb cdrom:[Debian GNU/Linux 6.0.3 _Squeeze_ - Official amd64 CD 
Binary-1 20111008-14:36]/ squeeze main


deb cdrom:[Debian GNU/Linux 6.0.3 _Squeeze_ - Official amd64 CD Binary-1 
20111008-14:36]/ squeeze main


deb http://http.us.debian.org/debian/ squeeze main
deb-src http://http.us.debian.org/debian/ squeeze main

deb http://security.debian.org/ squeeze/updates main
deb-src http://http.us.debian.org/debian/ squeeze/updates main

# squeeze-updates, previously known as 'volatile'
deb http://ftp.au.debian.org/debian/ squeeze-updates main
deb-src http://ftp.au.debian.org/debian/ squeeze-updates main
"

That is how it was set up by the initial installation.

--
Bret Busby
Armadale
West Australia
..

"So once you do know what the question actually is,
 you'll know what the answer means."
- Deep Thought,
  Chapter 28 of Book 1 of
  "The Hitchhiker's Guide to the Galaxy:
  A Trilogy In Four Parts",
  written by Douglas Adams,
  published by Pan Books, 1992


zpipe.c: the zlib example

2012-03-16 Thread T o n g
Hi,

I believe that zpipe.c used to be working.
But it is still working now?

I get it compiled OK, 

 gcc -g -lz -o zpipe zpipe.c 

but wasn't able to run it:

$ ./zpipe
bash: ./zpipe: Permission denied

I get the same result even I put an output immediately after main:

/* compress or decompress from stdin to stdout */
int main(int argc, char **argv)
{
  fputs("zpipe 1\n", stderr);

Anyone has any idea how to fix it? 

Thanks

PS. Enclosed is the strace log:

$ strace ./zpipe
execve("./zpipe", ["./zpipe"], [/* 130 vars */]) = -1 EACCES (Permission 
denied)
dup(2)  = 3
fcntl(3, F_GETFL)   = 0x8002 (flags O_RDWR|
O_LARGEFILE)
fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7f77cf048000
lseek(3, 0, SEEK_CUR)   = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: Permission denied\n", 32strace: exec: Permission 
denied
) = 32
close(3)= 0
munmap(0x7f77cf048000, 4096)= 0
exit_group(1)   = ?

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jk0urn$f6m$1...@dough.gmane.org



Can't run irrecord - WAS: help needed with initial use of IrDa and LIRC

2012-03-16 Thread keitho
> As the error message reports, you need to stop lircd first. Then run
> irrecord (I think the reason is that both want direct access to your IR
> port), this will produce a file that you can use as /etc/lirc/lird.conf.
> Next, check /etc/lirc/hardware.conf is suitable for you, then run
> "/etc/init.d/lircd start".

Thanks Darac very much, that is helpful.

However, I still can't get irrecord to work. I get the same error messages
trying to run irrecord whether lircd is loaded or not.

Evidently I need to have the corrrect modules loaded first. If I
understand the manual correctly (I may not) I need both the lirc_dev and
lirc_sir modules loaded before I can use irrecord.

When I try to manually load them I get these errors:

keith@eve:~$ sudo modprobe lirc_dev
keith@eve:~$ sudo modprobe lirc_sir
[  165.360107] lirc_register_driver: dev pointer not filled in!
[  165.360195] lirc_sir: init_chrdev() failed.
FATAL: Error inserting lirc_sir
(/lib/modules/3.0.0-1-686-pae/kernel/drivers/staging/lirc/lirc_sir.ko):
Input/output error

I have tried this approach after changing the COM port assignment in the
BIOS from COM2-COM3-COM4 with the same results.

Googling I see a bug report that _appears_ to be relevant in a Ubuntu bug
list for LIRC- #912251:
https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/912251

Can anyone shed some light on this? I am also using an old Dell Latitude
laptop (as in bug#912251 above).

Thanks,
Keith Ostertag





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/a8c73fddb4ddc8a5cc1bbf5141ccca46.squir...@webmail.strucktower.com



Re: I cannot log in to my debian wheezy system!

2012-03-16 Thread Greg Madden


On Friday 16 March 2012 12:47:06 pm Kjetil brinchmann Halvorsen wrote:
> Hola!
>
> My system, debian wheezy amd-64, refuses to recognize my password. I am
> sure I am typing it correctly.
>
> I was able to , at login time, where grub pauses to ask which kernel tyo
> uise,
> to choose the maintenance option, dropping me to a shell. There I was able
> to type
>
> sudo passwd kjetil
>
> which asked to give a new password, which I repeated
>
> then it said password succesfully changed. But no effect,
> I can still not login!
>
> What is happeninmg?
>
> Kjetil

If you arre logged in to the singler user mode, maintenace shell?, you are root 
and do not need to use 'sudo' That said, not sure about your failed login as 
user. Maybe try using the 'passwd' command without  'sudo',
-- 
Peace,

Greg


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201203161523.44011.gomadtr...@gci.net



Re: X-server problem

2012-03-16 Thread Andrei POPESCU
On Vi, 16 mar 12, 13:48:20, Andriy Samsonyuk wrote:
> Eureka!
> the problem was in wrongly mounted /var and /usr partitions.
> was not so easy to find :-(

Would you care to expand a bit? Might help others in your situation.

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Boot problem : Operating System not found.

2012-03-16 Thread Tom H
On Fri, Mar 16, 2012 at 3:13 PM, Bruno Costacurta  wrote:
>
>  => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector
>    946507840 of the same hard drive for core.img. core.img is at this
>    location and looks for  on this drive.
> ...
> sda1:
>
>    File system:       vfat
>    Boot sector type:  Grub2 (v1.99)
>    Boot sector info:   Grub2 (v1.99) is installed in the boot sector of sda1
>                       and looks at sector 932584136 of the same hard drive
>                       for core.img. core.img is at this location and looks
>                       for  on this drive. According to the info in the boot
>                       sector, sda1 has 0 sectors.
> ...
> set root='(hd0,gpt4)'

It would've been helpful not to have snipped the "drive partition
info" section! :)

You have a gpt-labelled disk but sda1 isn't OK. As "File system", it
should have "BIOS Boot partition". "Boot sector type" and "Boot sector
info" cannot be right but I don't know what they should be.

The two "looks at sector" seem *very* wrong.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=SyofqPWFQbZ=XttS=fp-uni8yifybfxh4un9qoflfx...@mail.gmail.com



Re: Are there any current label printers that works with Linux/amd64?

2012-03-16 Thread Allan Wind
On 2012-03-16 18:18:42, Camaleón wrote:
> Google returns a Slahdot post (2009) about this, maybe you find something 
> useful 
> inside the comments:
> 
> Linux-Friendly Label Printer Recomendations?
> http://ask.slashdot.org/story/09/07/30/2317215/linux-friendly-label-printer-recomendations

Yeah, I read through that earlier.  I don't necessarily need 
anything heavy duty.


/Allan
-- 
Allan Wind
Life Integrity, LLC



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120316192808.ga10...@lifeintegrity.com



Re: Boot problem : Operating System not found.

2012-03-16 Thread Bruno Costacurta



'Operating System not found' is displayed once boot via GRUB command line.

[snip]


What's the output of bootinfoscript?

[snip]

So I ran boot_info_script.sh.
Which returns the following (snipped to mainly show /dev/sda4 on which  
Debian is installed) :



Boot Info Script 0.60from 17 May 2011

= Boot Info Summary:  
===


 => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector
946507840 of the same hard drive for core.img. core.img is at this
location and looks for  on this drive.

sda1:  
__


File system:   vfat
Boot sector type:  Grub2 (v1.99)
Boot sector info:   Grub2 (v1.99) is installed in the boot sector of sda1
   and looks at sector 932584136 of the same hard drive
   for core.img. core.img is at this location and looks
   for  on this drive. According to the info in the boot
   sector, sda1 has 0 sectors.
Operating System:
Boot files:

[snip]
sda4:  
__


File system:   ext4
Boot sector type:  -
Boot sector info:
Operating System:  Debian GNU/Linux 6.0
Boot files:/boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
[snip]
=== sda4/boot/grub/grub.cfg:  
===



#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
  fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_gpt
insmod ext2
set root='(hd0,gpt4)'
search --no-floppy --fs-uuid --set b6ebc0b2-59cc-4ceb-81ba-c60d90be2fdc
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_gpt
insmod ext2
set root='(hd0,gpt4)'
search --no-floppy --fs-uuid --set b6ebc0b2-59cc-4ceb-81ba-c60d90be2fdc
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64' --class debian  
--class gnu-linux --class gnu --class os {

insmod part_gpt
insmod ext2
set root='(hd0,gpt4)'
search --no-floppy --fs-uuid --set  
b6ebc0b2-59cc-4ceb-81ba-c60d90be2fdc

echo'Loading Linux 2.6.32-5-amd64 ...'
linux   /boot/vmlinuz-2.6.32-5-amd64  
root=UUID=b6ebc0b2-59cc-4ceb-81ba-c60d90be2fdc ro  quiet

echo'Loading initial ramdisk ...'
initrd  /boot/initrd.img-2.6.32-5-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64 (recovery  
mode)' --class debian --class gnu-linux --class gnu --class os {

insmod part_gpt
insmod ext2
set root='(hd0,gpt4)'
search --no-floppy --fs-uuid --set  
b6ebc0b2-59cc-4ceb-81ba-c60d90be2fdc

echo'Loading Linux 2.6.32-5-amd64 ...'
linux   /boot/vmlinuz-2.6.32-5-amd64  
root=UUID=b6ebc0b2-59cc-4ceb-81ba-c60d90be2fdc ro single

echo'Loading initial ramdisk ...'
initrd  /boot/initrd.img-2.6.32-5-amd64
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Ubuntu, with Linux 3.0.0-16-generic (on /dev/sda2)" {
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set  
1f2cac6a-301f-48f7-a83e-70485ad3a653
linux /boot/vmlinuz-3.0.0-16-generic  
root=UUID=1f2cac6a-301f-48f7-a83e-70485ad3a653 ro acpi=off splash  
vt.handoff=7

initrd /boot/initrd.img-3.0.0-16-generic
}
menuentry "Ubuntu, with Linux 3.0.0-16-generic (recovery mode) (on  
/dev/sda2)" {

insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set  
1f2cac6a-301f-48f7-a83e-70485ad3a653
linux /boot/vmlinuz-3.0.0-16-generic  
root=UUID=1f2cac6a-301f-48f7-a83e-70485ad3a653 ro recovery nomodeset  
acpi=off

initrd /boot/initrd.img-3.0.0-16-generic
}
menuentry "Ubuntu, with Linux 3.0.0-15-generic (on /dev/sda2)" {
 

Re: Driver for (E)ISA Soundcard with YMF719E-S 9749 ZAGA chip

2012-03-16 Thread Jasper Noë

Hi, have you been here:

http://www.alsa-project.org/main/index.php/Matrix:Module-opl3-sa2

hth, --Jasper.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4f63923d.5010...@xs4all.nl



Re: mutt - no incoming mailboxes defined

2012-03-16 Thread john gennard

On 16/03/2012 17:06, Camaleón wrote:

Would someone kindly explain what Mutt does when it launches,

If you run Mutt with debug flag you will get more information:

mutt -d2

And then:

cat .muttdebug0

(don't send this log file to any public source because it can contain
sensitive data, is just for your review)


and give the .muttrc entries for mbox, maildir (which I use), and how
Mail fits in. I run from my user John's home directory.

Are you using a local mailbox or a pop3/imap local account?


I have two POP3 accounts one with Btinternet and the other with Claranet.

There's a nice guide here:

My first mutt / Mail storage
http://mutt.blackfish.org.uk/storage/


I need time to study your email - will get back to you when I've done.
Meantime, my thanks for your help.

John.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4f639130.60...@btinternet.com



Re: Problem with Update repository

2012-03-16 Thread Camaleón
On Fri, 16 Mar 2012 10:38:57 +0800, Bret Busby wrote:

> Recently, I have been getting an error message both from an update
> manager applet, and, in checking for system updates.
> 
> The error message is:
> 
> "
> An internal error has occured and the operation has been aborted. Error
> message:
> Fetch failed: W:Failed to fetch
> http://http.us.debian.org/debian/dists/squeeze/updates/main/source/Sources.gz
> 404  Not Found [IP: 199.6.12.70 80]
> , E:Some index files failed to download, they have been ignored, or old
> ones used instead.
> "
> 
> Please advise how to overcome this error.

Mmm, yes... that URI fails regadless the server that serves the file:

sm01@stt008:~$ LANG=C wget 
http://http.us.debian.org/debian/dists/squeeze/updates/main/source/Sources.gz
--2012-03-16 19:22:51--  
http://http.us.debian.org/debian/dists/squeeze/updates/main/source/Sources.gz
Resolving http.us.debian.org... 199.6.12.70, 35.9.37.225, 64.50.233.100, ...
Connecting to http.us.debian.org|199.6.12.70|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-03-16 19:22:51 ERROR 404: Not Found.

sm01@stt008:~$ LANG=C wget 
http://http.us.debian.org/debian/dists/squeeze/updates/main/source/Sources.gz
--2012-03-16 19:24:05--  
http://http.us.debian.org/debian/dists/squeeze/updates/main/source/Sources.gz
Resolving http.us.debian.org... 35.9.37.225, 64.50.233.100, 64.50.236.52, ...
Connecting to http.us.debian.org|35.9.37.225|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-03-16 19:24:05 ERROR 404: Not Found.

Let's manually browse the repository:

http://http.us.debian.org/debian/dists/squeeze-updates/main/source/

The file "Sources.gz" is there.

> I have tried to change the repository settings using Synaptic ->
> Repositories -> Debian Software -> Download From but it appears to not
> overcome the probem.

Then check your "/etc/apt/sources.list" file :-)

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jk00pm$gio$1...@dough.gmane.org



Re: Are there any current label printers that works with Linux/amd64?

2012-03-16 Thread Camaleón
On Fri, 16 Mar 2012 01:36:47 -0400, Allan Wind wrote:

> Does anyone have a current label printer working with Linux/amd64?

(...)

Google returns a Slahdot post (2009) about this, maybe you find something 
useful 
inside the comments:

Linux-Friendly Label Printer Recomendations?
http://ask.slashdot.org/story/09/07/30/2317215/linux-friendly-label-printer-recomendations

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jk0062$gio$1...@dough.gmane.org



Re: vsftp problems

2012-03-16 Thread Camaleón
On Thu, 15 Mar 2012 18:50:38 -0700, Gary Roach wrote:

> On 01/-10/-28163 11:59 AM, Jon Dowland wrote:
>> Try running /usr/sbin/vsftpd by hand (as root) from a session on your
>> server.  Does it print any diagnostic output?
> OK. Now I have 3 machines that are setup identically. The vsftpd.conf
> files have the following settings:
> 
>  Listen=YES
>  #Listen_IPV6
>  Anonymous=YES
>  #Local_enabled=YES
>  #Write_enabled=YES
> 
> One of the machines starts fine with 'service vsftpd start' . The other
> two don't.
> When I try to start with /usr/sbin/vsftpd, the good machine hangs up.
> The other two come back with:
> 
>  500 OOPS: could not bind listening IPv4 socket
> 
> I've checked all the file permissions and everything else I can think of
> and have found nothing different between the systems. Two of the systems
> are exact down to the hardware.

There are some hits for that message when you make a Google search, for 
instance:

http://stackoverflow.com/questions/4826851/500-oops-could-not-bind-listening-ipv4-socket

> If I ftp the good machine from one of the others I get:
> 
>  Connected to .home.
> 220 (vsFTPd 2.3.2)
> Name (:root): gary
> 530 This FTP server is anonymous only. Login failed.
> ftp>
> 
> The 'gary' is my reply.

Try with "anonymous" and blank password, instead.
 
> I am about to throw in the towel on this unless someone can come up with
> an answer. Very frunstrated.

Don't give up... as the title of a book says: "the impossible takes just 
a bit longer" ;-P

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jjvu47$gio$8...@dough.gmane.org



Re: Boot problem : Operating System not found (was : how to make it verbose ?)

2012-03-16 Thread Camaleón
On Thu, 15 Mar 2012 19:55:39 +0100, Bruno Costacurta wrote:

> ..
>> Another thing you can test is manually booting your Debian system from
>> GRUB2 boot menu by reaching the command line. This way if you're lucky
>> any error you get will be printed on the screen.
> ..
> 
> Indeed you're right.
> 'Operating System not found' is displayed once boot via GRUB command
> line. I suppose this is an interesting info. What happened ?
> How to correct this ?

I don't know what's going on, but I would try to manually boot the Debian 
kernel from GRUB2 console. As you're using GRUB2 from Ubuntu, you could 
try these steps:

https://help.ubuntu.com/community/Grub2#Boot_a_Specific_Kernel_Manually
 
> I check the UUID (via GRUB2 -> ls) it is identical as the one specified
> in the GRUB parameters.

Maybe what can't find is the root disk/partition (hdx,x).

Besides, it can be an error coming from GRUB2 itself, that's why I still 
suggest that you try to boot your Debian system from SuperGrub2Disk which 
is distribution-unaware.

As a side note, when using a multi-boot configuration I prefer to install 
the bootloader of every operating system inside its own partition, 
whether possible (windows does not allow this, I guess, it puts its NT 
loader on the MBR we like it or not). But on linux and bsd systems you 
can install both, Ubuntu and Debian, and each of them with their own 
GRUB2.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jjvt4g$gio$7...@dough.gmane.org



Re: CC-ing & gmane (was: Re: QuickCam Orbit AF Pan/Tilt Broken in Sid)

2012-03-16 Thread Walter Hurry
On Fri, 16 Mar 2012 16:32:39 +, Camaleón wrote:

> On Thu, 15 Mar 2012 11:46:55 -0700, Kelly Clowers wrote:
> 
>> I don't know about that. Sure, I subscribe to the most used ones, or
>> that I might start using more, but if I have a one off question...
>> Although I wouldn't ask for a CC, I would check the archives. And I
>> have subscribed, asked a question, gotten an answer and unsubscribed in
>> some cases - just because gmane, google groups, etc piss me off with
>> their interfaces.
>> 
>> I wish Google had never bought deja news...
> 
> What Gmane interface are you referring to?
> 
> I'm only aware about its web form mail to send posts but I rarely use
> that, I prefer by far a newsreader.
> 
> OTOH, most (95%?) of the lists I have used don't require a subscription,
> with exceptions, of course (e.g., HylaFAX, IIRC).

The gmane web interfaces are at (for example):

http://news.gmane.org/gmane.linux.debian.user

I much prefer to use Pan though.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jjvsqo$nji$1...@dough.gmane.org



Re: mutt - no incoming mailboxes defined

2012-03-16 Thread Camaleón
On Fri, 16 Mar 2012 15:58:51 +, john gennard wrote:

> I've been using Debian since Slink days, but I'm now 81 and had a stroke
> some 30 months ago which has done severe damage to my brain.

Get my sincerely congrats, sir, for still having the joy to play with 
computers and messing with Mutt :-)
 
(...)

> Would someone kindly explain what Mutt does when it launches, 

If you run Mutt with debug flag you will get more information:

mutt -d2

And then:

cat .muttdebug0

(don't send this log file to any public source because it can contain 
sensitive data, is just for your review)

> and give the .muttrc entries for mbox, maildir (which I use), and how
> Mail fits in. I run from my user John's home directory.

Are you using a local mailbox or a pop3/imap local account?

There's a nice guide here:

My first mutt / Mail storage
http://mutt.blackfish.org.uk/storage/

> Sorry to ask such a simple question, but it's so frustrating to be in
> this state.

There is nothing to sorry about. Mutt configuration it can be a bit 
cryptic. I still barely use the 15% of its capabilities :-P

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jjvrul$gio$6...@dough.gmane.org



Re: Can Pan sort threads by date of most recent post?

2012-03-16 Thread Camaleón
On Thu, 15 Mar 2012 19:55:25 +, Hendrik Boom wrote:

> When  I sort threads by date in Pan, it sorts them by their oldest
> posts, that is, the first post made in the thread.  Is it possible to
> get it to sort threads by their most recent post, so I get the currently
> most active threads near the top of the list?

Mmm... you mean something like Thunderbird/Icedove or Evolution do? 

If my memory serves me well, these put the latest updated thread at the 
top, regardless the date of original posting. I don't think this can be 
customized in Pan but I'm using an old version (0.132), so this may have 
changed :-?

> If Pan won't do this, should I be using some other newsreader instead?

Thunderbird/Icedove or Evo ;-P
 
> The present behaviour would seem to encourage people to start new
> threads to get attention when an existing thread would provide better
> context.

Mmm, I prefer the Pan way... I find it a more logical approach (or maybe 
is that I finally got accustomed to it). Anyway, I think that this should 
be fully configurable by the user.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jjvqr8$gio$5...@dough.gmane.org



Re: CC-ing & gmane (was: Re: QuickCam Orbit AF Pan/Tilt Broken in Sid)

2012-03-16 Thread Camaleón
On Thu, 15 Mar 2012 11:46:55 -0700, Kelly Clowers wrote:

> I don't know about that. Sure, I subscribe to the most used ones, or
> that I might start using more, but if I have a one off question...
> Although I wouldn't ask for a CC, I would check the archives. And I have
> subscribed, asked a question, gotten an answer and unsubscribed in some
> cases - just because gmane, google groups, etc piss me off with their
> interfaces.
> 
> I wish Google had never bought deja news...

What Gmane interface are you referring to?

I'm only aware about its web form mail to send posts but I rarely use 
that, I prefer by far a newsreader.

OTOH, most (95%?) of the lists I have used don't require a subscription, 
with exceptions, of course (e.g., HylaFAX, IIRC).

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jjvpv7$gio$4...@dough.gmane.org



Re: mutt - no incoming mailboxes defined

2012-03-16 Thread Lisi
On Friday 16 March 2012 15:58:51 john gennard wrote:
> I've been using Debian since Slink days, but I'm now 81 and had a stroke
> some 30 months ago which has done severe damage to my brain.
[snip]
> Sorry to ask such a simple question, but it's so frustrating to be in this
> state.

How awful for you. :-(  It is soul destroying to face a simple problem, that 
you could have solved a few years ago while standing on your head and 
thinking about something else, that is now too much.  Been there, done that, 
got the tee shirt - tho' from a different cause from yours.

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201203161616.25644.lisi.re...@gmail.com



mutt - no incoming mailboxes defined

2012-03-16 Thread john gennard
I've been using Debian since Slink days, but I'm now 81 and had a stroke 
some 30 months ago which has done severe damage to my brain.


Have just built a new box and put Debian 6.04 on it. There are a number 
of problems with the installation and I'm working through them one at a 
time. I'm unable to get my email working and this is confusing me 
greatly. I use getmail (this is OK), nullmailer (which should be fine) 
and Mutt which is the headache.. I've used this combination on all previous
editions without too much trouble, but now I'm 'lost' - I can't find my 
original notes from Potato days  - presumably I arrogantly thought I 
wouldn't need - how wrong can one get!!!


Would someone kindly explain what Mutt does when it launches, and give 
the .muttrc entries for mbox, maildir (which I use), and how Mail fits 
in. I run from my user John's home directory.


Sorry to ask such a simple question, but it's so frustrating to be in this
state.

John.





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4f63633b.4050...@btinternet.com



Re: help needed with initial use of IrDa and LIRC

2012-03-16 Thread Darac Marjal
On Fri, Mar 16, 2012 at 07:59:54AM -0700, kei...@strucktower.com wrote:
> I have never used IR before, and I thought I'd try to use it on my old
> Dell laptop. I simply want to be able to invoke commands using an
> arbitrary remote.
> 
> I'm confused as to whether I should use IrDa or LIRC, or both. The man
> pages and other docs I've read don't discuss the difference/relationship
> between IrDa and LIRC.

IrDA is basically high-speed data transfer over Infrared. LIRC is a
daemon for talking to Infrared remote controls. Note that most remote
controls DON'T use IrDA, but rather the related CIR (Consumer Infrared).
It's a bit like the difference between a USB mouse and a USB hard drive,
both use USB, but different aspects of it.

> 
> Here's what I've done so far:
> 
> Went into the BIOS and made certain that the Infrared was turned on, set
> it to COM2, Fast IR. Since it doesn't tell me, I assume that COM2 is 0x2f8
> and IRQ3, which AFAIK is associated with ttyS1

Yes, COM2 (windows) is typically ttyS1 (unix).

> 
> Downloaded irda-utils.

Not needed unless you're sending files by IR.

> 
> At some point, not sure when, I noticed that on bootup I was getting this
> message:
> 
> "Loading saved-state of the serial devices. /dev/ttyS0 at I/O 0x3f8 (irq =
> 4) is a 16550A"
> 
> I assume this is the physical RS-232 serial port on the back of the
> laptop. Don't know why this message appears.

This message appears due to the package setserial. It's not relevant to
us here.

> 
> And this message: "Skipping IrDa Service: irattach (not enabled) ... done"
> 
> root@eve:~# irattach /dev/ttyS1 -s
> 
> I loaded the lircd daemon wth this command:
> 
> root@eve:~# lircd -p 0666

OK. This shouldn't typically be necessary. "/etc/init.d/lircd start"
works fine

[cut]
> 
> Looking at the LIRC webpage I see that the remote that I had wanted to use
> is not supported... it's a SONY RMT-CE100A

That's normal. There are thousands of remote controls. It's not uncommon
to have to make your own config.

> 
> Reading some instructions over the web it seems I could use irrecord to
> create a lircd.conf file for my remote, so I tried:
> 
> keith@eve:~/temp$ sudo irrecord ce100a
> 
> irrecord -  application for recording IR-codes for usage with lirc
> 
> Copyright (C) 1998,1999 Christoph Bartelmus(l...@bartelmus.de)
> 
> irrecord: could not get file information for /dev/lirc
> irrecord: default_init(): No such file or directory
> irrecord: could not init hardware (lircd running ? --> close it, check
> permissions)
> 
> keith@eve:~/temp$ ps aux | grep lirc
> root  4425  0.0  0.0   3380   384 ?Ss   22:11   0:00 lircd
> keith 4539  0.0  0.1   3484   764 pts/0S+   22:14   0:00 grep lirc
> 
> So it seems I need to configure LIRC first, then use irrecord... but I am
> unsure how to do that. Help?

As the error message reports, you need top stop lircd first. Then run
irrecord (I think the reason is that both want direct access to your IR
port), this will produce a file that you can use as /etc/lirc/lird.conf.
Next, check /etc/lirc/hardware.conf is suitable for you, then run
"/etc/init.d/lircd start".


-- 
Darac Marjal


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120316154839.ga15...@darac.org.uk



Re: Advice for a bug report

2012-03-16 Thread Claudius Hubig
Hello Baruch,

please respond to the list rather than me personally. Please also
don’t top-post (cf. http://www.netmeister.org/news/learn2quote2.html ).

I took the liberty to quote the relevant part of your answer in case
someone else finds this thread:

Baruch  wrote:
> # aptitude why iceweasel
> i   sun-java6-plugin Depends firefox | firefox-2 | iceweasel | 
> mozilla-firefox |
>   iceape-browser | mozilla-browser | 
> epiphany-gecko 
>  | epiphany-webkit | epiphany-browser | galeon | 
> mid
>  browser | moblin-web-browser | xulrunner | 
> xulrunne
>  r-1.9 | konqueror | chromium-browser | midori | 
> goo
>  gle-chrome 

I really don’t understand why someone thought this dependency would
be a good idea, because the list containing all supported browsers
can hardly be complete (for example, Opera is missing).

Best regards,

Claudius
-- 
Kites rise highest against the wind -- not with it.
-- Winston Churchill
Please use GPG: ECB0C2C7 4A4C4046 446ADF86 C08112E5 D72CDBA4
http://chubig.net telnet://nightfall.org:4242


signature.asc
Description: PGP signature


Re: help needed with initial use of IrDa and LIRC

2012-03-16 Thread Tom Grace
On 16/03/12 14:59, kei...@strucktower.com wrote:
> I have never used IR before, and I thought I'd try to use it on my old
> Dell laptop. I simply want to be able to invoke commands using an
> arbitrary remote.
> 
> I'm confused as to whether I should use IrDa or LIRC, or both. The man
> pages and other docs I've read don't discuss the difference/relationship
> between IrDa and LIRC.
> 
It's been a while since I looked into this, so someone might prove me
wrong but as I understand it IrDA and general remote-control type IR are
different and incompatible. IrDA on a laptop is (as far as a PC in
concerned) a serial port, while an IR sender/receiver is a generic device.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f635ce4.9000...@deathbycomputers.co.uk



help needed with initial use of IrDa and LIRC

2012-03-16 Thread keitho
I have never used IR before, and I thought I'd try to use it on my old
Dell laptop. I simply want to be able to invoke commands using an
arbitrary remote.

I'm confused as to whether I should use IrDa or LIRC, or both. The man
pages and other docs I've read don't discuss the difference/relationship
between IrDa and LIRC.

Here's what I've done so far:

Went into the BIOS and made certain that the Infrared was turned on, set
it to COM2, Fast IR. Since it doesn't tell me, I assume that COM2 is 0x2f8
and IRQ3, which AFAIK is associated with ttyS1

Downloaded irda-utils.

At some point, not sure when, I noticed that on bootup I was getting this
message:

"Loading saved-state of the serial devices. /dev/ttyS0 at I/O 0x3f8 (irq =
4) is a 16550A"

I assume this is the physical RS-232 serial port on the back of the
laptop. Don't know why this message appears.

And this message: "Skipping IrDa Service: irattach (not enabled) ... done"

root@eve:~# irattach /dev/ttyS1 -s

I loaded the lircd daemon wth this command:

root@eve:~# lircd -p 0666

keith@eve:~$ lsmod | grep ir
irtty_sir  12797  2
sir_dev17229  1 irtty_sir
irda   78683  1 sir_dev
crc_ccitt  12331  1 irda

keith@eve:~$ sudo findchip -l
SMC
NSC
WINBOND

keith@eve:~$ sudo irdadump
01:48:02.173744 xid:cmd 273e72df >  S=6 s=4 (14)
01:48:02.261632 xid:cmd 273e72df >  S=6 s=5 (14)
01:48:02.349625 xid:cmd 273e72df >  S=6 s=* eve hint=0400 [
Computer ] (19)
01:48:04.829637 xid:cmd 273e72df >  S=6 s=0 (14)
01:48:04.917585 xid:cmd 273e72df >  S=6 s=1 (14)
01:48:05.005635 xid:cmd 273e72df >  S=6 s=2 (14)
01:48:05.093636 xid:cmd 273e72df >  S=6 s=3 (14)
01:48:05.181627 xid:cmd 273e72df >  S=6 s=4 (14)
01:48:05.269625 xid:cmd 273e72df >  S=6 s=5 (14)
01:48:05.357631 xid:cmd 273e72df >  S=6 s=* eve hint=0400 [
Computer ] (19)
01:48:07.837639 xid:cmd 273e72df >  S=6 s=0 (14)
...etc

keith@eve:~$ uname -r
3.0.0-1-686-pae (Wheezy)

When I apt-get installed lirc, I got these messages:
No valid /etc/lirc/lircd.conf has been found..
Remote control support has been disabled..
Reconfigure LIRC or manually replace /etc/lirc/lircd.conf to enable..

Looking at the LIRC webpage I see that the remote that I had wanted to use
is not supported... it's a SONY RMT-CE100A

Reading some instructions over the web it seems I could use irrecord to
create a lircd.conf file for my remote, so I tried:

keith@eve:~/temp$ sudo irrecord ce100a

irrecord -  application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus(l...@bartelmus.de)

irrecord: could not get file information for /dev/lirc
irrecord: default_init(): No such file or directory
irrecord: could not init hardware (lircd running ? --> close it, check
permissions)

keith@eve:~/temp$ ps aux | grep lirc
root  4425  0.0  0.0   3380   384 ?Ss   22:11   0:00 lircd
keith 4539  0.0  0.1   3484   764 pts/0S+   22:14   0:00 grep lirc

So it seems I need to configure LIRC first, then use irrecord... but I am
unsure how to do that. Help?

Thanks,
Keith Ostertag


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/130b1efb6b43a0de6ac37dbc0d6a3a84.squir...@webmail.strucktower.com



Driver for (E)ISA Soundcard with YMF719E-S 9749 ZAGA chip

2012-03-16 Thread Martin
I got an old computer and from there I picked up EISA Soundcard with
YMF719E-S 9749 ZAGA chip. I would like to use it on my working computer
under Lenny. When I plug it in and restart this are messages that
I see in dmesg:
[3.618010] isapnp: Scanning for PnP cards...
[3.714847]  01:01: card 'OPL3-SAX Sound Board'
[3.714868] isapnp: 1 Plug & Play card detected total
...
[   28.528261] ns558 01:01.01: activated
[   28.564780] gameport: NS558 PnP Gameport is pnp01:01.01/gameport0, io 0x201, 
speed 755kHz
[   34.509058] snd-opl3sa2-pnpbios 01:01.00: activated
[   34.511445] snd-opl3sa2-pnpbios 01:01.00: disabled
[   34.511482] snd-opl3sa2-pnpbios: probe of 01:01.00 failed with error -2
[   34.515095] snd-opl3sa2-cpnp 01:01.00: activated

It seems that snd-opl3sa2 driver is trying to be used but unsuccesful
soundcard does not work. Is this chip supported under some driver with Debian?

Thanks
Martin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120316135715.GD2473@alfa



Re: X-server problem

2012-03-16 Thread Andriy Samsonyuk
Eureka!
the problem was in wrongly mounted /var and /usr partitions.
was not so easy to find :-(

Thanx for your help!

-- 
You're not my type.  For that matter, you're not even my species!!!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20120316124820.gb24...@theo.chemie.tu-muenchen.de



Re: Debian and EFIKA MX Smartbook

2012-03-16 Thread Robert Pommrich
Hi,

thank you very much for your answers. Meanwhile I have the smartbook.
But before I play around, I would like to know better what will await me.


Am 05.03.2012 14:36, schrieb Dominique Dumont:
>> 1. The support of the armhf architecture starts with wheezy. But there
>> are no install images, except those on [3], right? When can one expect
>> them?
> 
> I've tried  armhf-2GB_2022.img.xz .
>

Would you please explain a bit more detailed what is this exactly? Is it
an installer or a live system or an already installed debian? If it is
an installed debian, which packages are installed?


>> 3. Did I understand it right, that for an installation of Debian, I just
>> need to write one of those images to a SD card, put this into the SD
>> card slot, turn the device on and drink some coffee?
> 
> Yes.
>

Would you please tell, what happens step by step after starting the
device with the SD card inserted?


>> 3.1 After the installation, upgrading the system will work?
> 
> Probably. Except for the kernel. The kernel must be compiled with the correct 
> options to support the Efika board.
>

Which option would that be? Which kernel would be to use?


>> 4. If it should be not that easy, does the armel distribution of Debian
>> work on the device? I guess, then I have to compile the xorg-video-imx
>> driver by myself, right?
> 
> And the kernel. and create the u-boot image

Would you please explain the creation of the u-boot image a bit more
detailed?

Thank you for your effort.
Robert



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f6335cf.7060...@gmx.de



Re: problem with apt-get upgrade

2012-03-16 Thread Richard
On Fri, 16 Mar 2012 10:52:48 +
Darac Marjal  wrote:

> On Thu, Mar 15, 2012 at 09:40:10PM +, Richard wrote:
> > Hi
> > All downloads , but I'm getting this:-
> > 
> > Setting up initscripts (2.88dsf-22) ...
> > insserv: warning: script 'K50vmware-USBArbitrator' missing LSB tags and 
> > overrides
> > insserv: warning: script 'K01vmware' missing LSB tags and overrides
> > insserv: warning: script 'vmware' missing LSB tags and overrides
> > insserv: warning: script 'vmware-USBArbitrator' missing LSB tags and 
> > overrides
> > insserv: There is a loop at service minissdpd if started
> > insserv: Starting vmware-USBArbitrator depends on minissdpd and therefore 
> > on system facility `$all'
> > which can not be true!
> > 
> > The last line scrolls down the page.
> > Do I need to uninstall vmware to get this to run ?
> 
> No.
> 
> You have two options. First is to install a version of VMWare that
> supports the (now just about standard) initscript headers. If there is
> no such version, pester the upstream authors to update their
> initscripts.
> 
> Second is to create an override, so that you add the headers manually.
> That is, create a file /etc/insserv/overrides/FOO (where FOO is the name
> of the initscipt being run. Note, not the symlink name. If K01vmware
> points to /etc/init.d/vmware, then create
> /etc/insserv/overrides/vmware). In that file, write your initscript
> header (see http://wiki.debian.org/LSBInitScripts for details). You
> should then be able to update your system.
> 
> 

Many thanks the second option has helped.
Vmware have been very slow to update to kernel3, so there are various patches 
around.

Cheers

-- 


Best wishes / 73
Richard Bown

e-mail: rich...@g8jvm.com   or   richard.b...@blueyonder.co.uk

nil carborundum a illegitemis
##
Ham Call G8JVM . OS Debian Wheezy/Sid amd64 on a Dual core AMD Athlon 5200, 4 
GB RAM
Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W ( degs mins )
QRV HF + VHF Microwave 23 cms:140W,13 cms:100W,6 cms:10W & 3 cms:5W
##
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120316122852.76448...@g8jvm.com



Re: Boot problem : Operating System not found (was : how to make it verbose ?)

2012-03-16 Thread Tom H
On Thu, Mar 15, 2012 at 2:55 PM, Bruno Costacurta  wrote:
>>
>> Another thing you can test is manually booting your Debian system from
>> GRUB2 boot menu by reaching the command line. This way if you're lucky
>> any error you get will be printed on the screen.
>
> Indeed you're right.
> 'Operating System not found' is displayed once boot via GRUB command line.
> I suppose this is an interesting info.
> What happened ?
> How to correct this ?
>
> I check the UUID (via GRUB2 -> ls) it is identical as the one specified in
> the GRUB parameters.

What's the output of bootinfoscript?

http://sourceforge.net/projects/bootinfoscript/files/bootinfoscript/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=SwgFxr19GAoy=mRqKG6=tatytgyvzmsaxvftufasuj...@mail.gmail.com



Re: Debian in a VMware VM and LVM

2012-03-16 Thread Michael Tsang
On Tuesday 13 March 2012 22:52:01 Bonno Bloksma wrote:
> 
> Using the 6.0.4 amd netinst CD I created a small 10GB virtual machine (VM).
> I then realized I needed it to be a bit bigger so I wanted to extend the
> LVM environment and add that space to the /var logical volume. Of course
> as this is a new VM I just could have started from scratch but I am trying
> to learn something as well. ;-)
> 
> First I had a look at the current disk layout using fdisk -l
> 
> root@wwwgw:~# fdisk -l
> 
> Disk /dev/sda: 10.7 GB, 10737418240 bytes
> 255 heads, 63 sectors/track, 1305 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x000d6e97
> 
>Device Boot  Start End  Blocks   Id  System
> /dev/sda1   1  37  291840   83  Linux
> Partition 1 does not end on cylinder boundary.
> /dev/sda2  371306101908495  Extended
> /dev/sda5  37130610190848   8e  Linux LVM
> 
> 1)
> Why the warning about the 300MB /boot partition not ending on a cylinder
> boundary? I used the manual setup in the Debian 6.0.4 installation and
> told it to create a 300MB partition at the beginning of the disk. Did the
> installation software do something wrong or should I have know something I
> do not know yet?
Older versions of fdisk by default aligns to cylinder. This is deprecated and 
not the case now. Simply suppress this warning by using -cu
> 
> 2)
> After that came a lot of warnings about /dev/dm-0, /dev/dm-1, /dev/dm-2,
> /dev/dm-3 and /dev/dm-4. I know those are LVM2 devices but... Why is fdisk
> (still) seeing them as disks/partitions it has to show during a listing,
> and then complain they are not valid?
> 
I think this is a bug in fdisk.
> 
> At the VMware level I increased the disk from 10GB to 12GB. Using cfdisk,
> which in my opinion gives less cause for a user error, I created a new
> logical sda6 partition in the free space. The end result is: root@wwwgw:~#
> fdisk -l
> 
> Disk /dev/sda: 12.9 GB, 12884901888 bytes
> 255 heads, 63 sectors/track, 1566 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x000d6e97
> 
>Device Boot  Start End  Blocks   Id  System
> /dev/sda1   1  37  291840   83  Linux
> Partition 1 does not end on cylinder boundary.
> /dev/sda2  371566122850085  Extended
> /dev/sda5  37130610190848   8e  Linux LVM
> /dev/sda613061566 2094127+  8e  Linux
> 
> 3)
> Why is there a + at the end of the number of blocks?
In fdisk, a block is 1024 bytes. The partition does not contain integral 
number of blocks, hence the + sign.
> 
> I then want to make the sda6 partition a LVM physical volume using
> root@wwwgw:~# pvcreate /dev/sda6
>   Device /dev/sda6 not found (or ignored by filtering).
> root@wwwgw:~#
> indeed, there is no /dev/sda6 yet.
> 
> 4)
> Why is /dev/sda6 not there yet? What step am I missing?
You should run partprobe(8) or reboot your machine.
> 
> 
> Ok, after a reboot (it is not a production server yet) the /dev/sda6 is
> there. Form here on it was (almost) straight sailing. ;-)
> 
> root@wwwgw:~# pvcreate /dev/sda6
>   Physical volume "/dev/sda6" successfully created
> root@wwwgw:~# vgextend vgroup1 /dev/sda6
>   Volume group "vgroup1" successfully extended
> 
> Then to runlevel 1 to make sure (almost) nothing is using the /var
> directory tree and
> root@wwwgw:~# lvextend -l+2G /dev/vgroup1/lvvar
>   Extending logical volume lvvar to 3.86GiB
>   Logical volume lvvar successfully resized
> 
> root@wwwgw:~# umount /var
> Then first a filesystem check as that seems to be needed before resizing.
> Not doing so will give me a warning although this was not mentioned in the
> HOWTOs I have read. root@wwwgw:~# fsck -f /dev/vgroup1/lvvar
> root@wwwgw:~# resize2fs /dev/vgroup1/lvvar
> root@wwwgw:~# mount /var
> 
> and back to runlevel 2
> 
> 
> Anything else I missed?
> 
> Bonno Bloksma


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201203161916.32502.mikl...@gmail.com



Re: problem with apt-get upgrade

2012-03-16 Thread Darac Marjal
On Thu, Mar 15, 2012 at 09:40:10PM +, Richard wrote:
> Hi
> All downloads , but I'm getting this:-
> 
> Setting up initscripts (2.88dsf-22) ...
> insserv: warning: script 'K50vmware-USBArbitrator' missing LSB tags and 
> overrides
> insserv: warning: script 'K01vmware' missing LSB tags and overrides
> insserv: warning: script 'vmware' missing LSB tags and overrides
> insserv: warning: script 'vmware-USBArbitrator' missing LSB tags and overrides
> insserv: There is a loop at service minissdpd if started
> insserv: Starting vmware-USBArbitrator depends on minissdpd and therefore on 
> system facility `$all' which can not be true!
> 
> The last line scrolls down the page.
> Do I need to uninstall vmware to get this to run ?

No.

You have two options. First is to install a version of VMWare that
supports the (now just about standard) initscript headers. If there is
no such version, pester the upstream authors to update their
initscripts.

Second is to create an override, so that you add the headers manually.
That is, create a file /etc/insserv/overrides/FOO (where FOO is the name
of the initscipt being run. Note, not the symlink name. If K01vmware
points to /etc/init.d/vmware, then create
/etc/insserv/overrides/vmware). In that file, write your initscript
header (see http://wiki.debian.org/LSBInitScripts for details). You
should then be able to update your system.


-- 
Darac Marjal


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120316105248.ga7...@darac.org.uk



Re: Bash argument expanded inside alias

2012-03-16 Thread Chris Davies
rcb  wrote:
> I think I just learned a lot about functions with this thread, things
> I didn't know.
> At first I thought the best choice to abbreviate a command would be an
> alias, and functions was to encapsulate big chunks of script code.
> Never occurred to me I could use it as an alias.

It's always good to learn something new.  :-)
Chris


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/mvcb39xpbd@news.roaima.co.uk



Re: X-server problem

2012-03-16 Thread Andriy Samsonyuk
On Fri, Mar 16, 2012 at 01:17:51AM +0200, Andrei POPESCU wrote:
> On Jo, 15 mar 12, 23:35:22, Andriy Samsonyuk wrote:
> > > I usually run startx as a user to get it up & running; I'm puzzled
> > > by your insistence on 'xinit'.   :)
> > i tryed startx. I get more output:
> > 
> > hostname: Name or service not known
> > xauth: (stdin):1: bad display name "$HOSTNAME:0" in "add" command
> 
> What happens if you run 'hostname' by hand?
i get the correct $HOSTNAME

at the moment i have a feeling, that the problem is not in the X server,
but in the wrong configuration of debian by debootstrap.
Wrong permissions, devices or smth.

was not able to google any solution yet :-(

-- 
Always the dullness of the fool is the whetstone of the wits.
-- William Shakespeare, "As You Like It"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20120316095350.ga24...@theo.chemie.tu-muenchen.de



Re: vsftp problems

2012-03-16 Thread Jon Dowland

On 16/03/12 01:50, Gary Roach wrote:

 500 OOPS: could not bind listening IPv4 socket


Are you attempting to start it by hand as root?

If so, can you try "lsof -ni:21"? It looks like something else
has bound to your port 21.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4f6306c4.7060...@debian.org



Re: Debian in a VMware VM and LVM

2012-03-16 Thread Bob Proulx
Bonno Bloksma wrote:
> indeed, there is no /dev/sda6 yet.
> Why is /dev/sda6 not there yet? What step am I missing?

Next time run 'partprobe' to request the OS to re-read the partition
table.

> root@wwwgw:~# umount /var
> Then first a filesystem check as that seems to be needed before resizing. Not 
> doing so will give me a warning although this was not mentioned in the HOWTOs 
> I have read.
> root@wwwgw:~# fsck -f /dev/vgroup1/lvvar
> root@wwwgw:~# resize2fs /dev/vgroup1/lvvar
> root@wwwgw:~# mount /var

It is not necessary to unmount a logical volume before resizing it.
Online resizing is supported and works well.  Simply resize it.

Bob


signature.asc
Description: Digital signature