John the Ripper

2009-09-26 Thread Mike McClain
I've had John running since Jan '08 and it's yet to break my password.
Admittedly the password is non-trivial being 13 characters, mixed
upper and lower case, numbers and punctuation but I keep expecting
John to send me a note saying it's been cracked since John runs
six hours each night and my computer is on at night more often than
not.
Is there some further configuration necessary to John installed with
apt-get before it will crack normal Debian passwords?
BTW, this is a mostly stock Etch system.

Thanks,
Mike

-- 
Satisfied user of Linux since 1997.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org


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



Debian PPPoE problem

2009-09-26 Thread Phillipus Gunawan
Hi There,

I had a linux box to do pppoe auth from my billion ADSL modem

eth0 connected to modem (Billion BiPAC 7402NX)
eth1 to my linksys router connected to LAN
Both billion and linksys having gigabit LAN port

I am using webmin to configure pppoe.conf and to start the ADSL connection
A while ago, I am updating my debian with 'apt-get -u upgrade'

Problems:

1. I can't activate my ADSL using webmin anymore, then I found these lines on 
/etc/network/interfaces:

auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider

The ADSL still working fine, but if I go to "Webmin - Networking - ADSL Client" 
section, the status showing: "Your ADSL connection is currently inactive. Click 
this button to start it up with the command pppoe-start"

I am bit concern, if this will make the ppp connection unstable. Which way is 
better?



2. My connection rarely drop out, and when it does, I am unable to auth ppp 
through my modem, but ADSL working OK using my modem directly. After switching 
it off, unplug those 2 LAN cables from the box for a while, everything went 
back ok again.

How and where, the part of log files I can do bit of diagnose on what happen? 
and what kind of message I should look at?



3. On my gigabit NIC, it had 4 led lights; 2 for 10/100 link (led1 and led2); 
another 2 for 1000 link (led3 and led4)
When my debian box is off or in BIOS, on eth0 (connected to billion modem) led3 
and led4 will be on static green (as expected)
But after the debian connected with pppoe, led2 and led4 are blinking green
I also notice before the upgrade, the billion modem connected to debian will 
have a green light (indicate connected using 1G) where now is on orange 
(connected 100mbps)

(note: my eth1 working fine and it has led3 and led4 as expected)

How can I make sure that eth0 using the proper driver and able to run 1G 
connection to my billion modem?
Or this is a normal situation where a gigabit NIC used to do ppp auth even my 
modem is built-in gigabit port? But why it was indicating with 1G mbps 
previously?



I am terribly sorry if my questions are so confusing, I tried my best to put 
these into a plain and simple...

Cheers,

Phillipus



  
__
Get more done like never before with Yahoo!7 Mail.
Learn more: http://au.overview.mail.yahoo.com/


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



Re: XFce4 vs GNOME Desktop

2009-09-26 Thread S.D.A.
On Sat, Sep 26, 2009 at 10:40:45PM +0100, Liviu Andronic uttered:
> Hello
> 
> On 9/26/09, S. Fishpaste  wrote:
> >  But when I start up or switch to XFce4, I'm left without a "desktop", just
> >  the application dock on a coloured background, which I can't seem to 
> > change.
> >
> First, which version of Xfce are you using? If it's recent (4.6), look
> for "Desktop settings" and find the  "Icons" tab. If it's 4.4 (older),
> it had a strange name, similar to "desktop behaviour".
> Liviu

Sorry had a brain fart, should have posted the relevant info earlier.

Xfce 4 Desktop Environment
version 4.6.1 (Xfce 4.6)
Debian Unstable

I don't understand why you want me to look for icons though. :)

I have a desktop folder already and I can navigate to it via Thunar. So it
seems to me that it's an issue of XFce starting up in the wrong directory.
I'm not running Nautilas (It was installed previously and Xfce displayed the
desktop IF I ran Nautilas). Nautilas was too "heavy" so I removed it. I
would like the desktop back though as I found it handy to have "shortcuts"
on it.

Thanks.



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



Re: Mini 10v

2009-09-26 Thread David Fox
On Thu, Sep 24, 2009 at 12:38 AM, Andrei Popescu
 wrote:

> - because it's on a stick it has no swap
> - this machine is good enough for the typical MPEG-4 movies (on my
>  hi-res TV), but I don't want to risk skips in the middle of the movie
>  just because postfix is running it's queue or whatever.


I seriously doubt that you'll experience hiccups like that. Until I
moved anent to a different internet provider, I was connected via DSL
and I ran my own mail server (postfix) 24/7 on an Athlon Thunderbird
(1000 mhz, which initially had 256 megs of RAM (this was in 2001) and
later memory was increased to 768k.

Even though I was doing some rather heavy processing most of the time,
including not only watching movies, but doing a ton of video
conversions (some having run overnight if not longer) I never noticed
any slowdown that could be attributable to postfix and spamassassin. I
didn't run a mail server really, in that I wasn't serving mail for
users other than myself, but I was subscribed to some rather busy
mailing lists (including this one), so postfix was kept busy, since I
rarely if ever did pop3.




-- 
thanks for letting me change the magnetic patterns on your hard disk.


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



BFD ( Brute Force Detection) rules for Debian Lenny.

2009-09-26 Thread Israel Garcia
I've  downloaded BFD (Brute Force Detection) from
http://www.rfxn.com/?page_id=51 and installed on a debian lenny server
and every seems to be working fine, BFD is working with APF and there
are a lot of scanning IPs  blocked in /etc/apf/deny_hosts.rules file.
BUT, there're a lot failed authentication IPs address  that BFD does
not see. I think it's a config problem the sshd rule. This is sshd BFD
rule I'm using:

REQ="/usr/sbin/sshd"

if [ -f "$REQ" ]; then
 LP="$AUTH_LOG_PATH"
 TLOG_TF="sshd"
 TMP="/usr/local/bfd/tmp"

 ## SSHD
 ARG_VAL=`$TLOG_PATH $LP $TLOG_TF | sed -e 's/::://' | grep -E
'[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | sed -n -e '/sshd/s/.*user \(.*\)
from \([^ ]*\).*/\2:\1/p'`
fi

I've searched google and I'm unable to find new BFD rules of using Debian lenny.
My question is:

Does anybody has a new BFD sshd rule for Debian lenny?

-- 
Regards;
Israel Garcia


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



Re: Re (2): configuring xserver [Solved]

2009-09-26 Thread Paul E Condon
On 2009-09-25_10:07:22, peasth...@shaw.ca wrote:
> Paul,
> 
> > Thanks. gtf gave me a plausible modeline. I editted it into xorg.conf
> > as suggested and it worked. 
> 
> If you can spare a few minutes, please post a detail or two.  
> It might solve a remotely similar problem here.
> 
> [In-reply-to: might work with the Message-id: enclosed in < >.  
> We'll see.]
> 
> Thanks,... Peter E.

I want to be helpful, but I'm not sure how. Many people reading this
know a lot more about X11 than I do, and some will jump on what I say
because whatever I say is obviously wrong at some level of detail or
another. But here's an attempt ---

Here is the video sections of xorg.conf on my machine as I originally
found it:

Section "Device"
Identifier  "Configured Video Device"
EndSection

Section "Monitor"
Identifier  "Configured Monitor"
EndSection

Section "Screen"
Identifier  "Default Screen"
Monitor "Configured Monitor"
EndSection

That's all. Notice there is nothing about what brand of monitor or
about horizontal or vertical sweep frequency ranges. Or anything else
that really distinguishes one monitor or video card from another.  

According to some discussions that I found on the web, the screen
section is supposed to link a video device to a monitor by having
references to both a monitor and a video device in a single screen
section. But there is no mention of the video section that is to be
used for this screen section. Yes, I know. It's all handled
automatically now. But it is puzzling when you haven't looked at
xorg.conf ever before, and can't remember the name which was used to
designate the configuration file from the last time you read about X.

I followed the suggestion of using gtf.
$ gtf 1366 768 60  gives:
  # 1368x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 85.86 MHz
  Modeline "1368x768_60.00"  85.86  1368 1440 1584 1800  768 769 772 795  
-HSync +Vsync

The first line is obviously a comment. The second looks like it might
be input to a computer program that parses the line and plants data at
important places in RAM. The instructions from Tom are to put this
output into the monitor section, so now my monitor section is:

Section "Monitor"
Identifier  "Configured Monitor"
  # 1368x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 85.86 MHz
  Modeline "1368x768_60.00"  85.86  1368 1440 1584 1800  768 769 772 795  
-HSync +Vsync
EndSection

This section violates the specifications that I found on the web for a
proper monitor section, but push-on. Maybe the specification is old
and applies to an earlier version of X.

To get this new xorg.conf to be used, I rebooted. At first there was
no visible difference in the display. I went to Gnome Preferences
Screen Resolution and found a new line in the resolution offerings! In
addition to 1024x768 there was now 1280x768. I selected this now
offering. Clicked on 'Apply'. There was some flashing of the screen
and after a few seconds it repainted with much better shaped
lettering. Some careful checking of html screens that are known to
contain renditions of circles revealed that the new setting still
rendered a circle as an ellipse, but with hardly noticeable
eccentricity. So, good enough for me, especially after reading on the
web all the crys for help from other tortured souls.

I ran xrandr, which displays information about what configurations of
X are possible for the hardware on the computer on which it is run. It
confirmed that 1280x768 was OK, which means to me that the programmer
who wrote xrandr understands X far better than I do ;-0. (This also
applies to the programmer who wrote gtf.)

This is pretty much how it happened. I read a lot of HowTos that were
not useful.  Many were hopelessly out of date. (X under Potatoe?) Here
and there I found references to hal. I have not pieced together a
coherent idea of what hal is supposed to do. There ought to be a way
to automate the configuring to video hardware, but it must be very
hard to do, else it would have been done long ago. CRT monitors have
very different internal circuitry from LCD monitors, but there appears
to be no reliable way for the software to determine whether the monitor
is CRT or LCD, and no way to put a user specified flag into xorg.conf
without breaking someone's software. 

The monitor that I installed and succeeded in configuring well enough,
was a trial run for me. It was my first flat panel display. It was
painful. But not so painful as to lead me to persist in using CRTs
for the rest of my life. And I think it will get better as xorg
developers continue to tinker with the code in ways that I have no
way to understand. 

HTH
-- 
Paul E Condon   
pecon...@mesanetworks.net


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



Re: Clone a bootable USB key

2009-09-26 Thread Adrian Levi
2009/9/27 Dieder Vervoort :

> What I am trying to do: I would like to make a copy of my USB-key to one or
> more  files,
> send the files to a friend and he has to dd / copy this file to his USB-Key,
> and I was hoping this should work.

Then what you have done previously will work on the proviso that you
update grub to let it know where to find the kernel to boot. probably
the easiest way for you to do this is to boot from the first working
USB key and specify on the kernel command line root=/dev/sdc1

then as root run:
update-grub



-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: XFce4 vs GNOME Desktop

2009-09-26 Thread Liviu Andronic
Hello

On 9/26/09, S. Fishpaste  wrote:
>  But when I start up or switch to XFce4, I'm left without a "desktop", just
>  the application dock on a coloured background, which I can't seem to change.
>
First, which version of Xfce are you using? If it's recent (4.6), look
for "Desktop settings" and find the  "Icons" tab. If it's 4.4 (older),
it had a strange name, similar to "desktop behaviour".
Liviu


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



Re: logging out fails in KDE4 (debian testing)

2009-09-26 Thread Matthew Moore
On Saturday September 26 2009 9:39:43 am Γιώργος Πάλλας wrote:
> Does this happen to anybody else? Should I report it as a bug?
> I googled it and found several references of the problem, although old
> (around April 2009).

Are you using an intel graphics chip? This was happening on my laptop about 6 
months ago, and I finally tracked it down to the intel driver crashing on 
logout. I use kdm, so a workaround for me was to add the line

TerminateServer=true

to the [X-:*-Core] section of the file /etc/kde4/kdm/kdmrc.

Hope that helps,
MM


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



lenny, alsa source code, cupsd hang, failed to initialize hal

2009-09-26 Thread Laurin d'Volts
I recently installed the alsa source code into my lenny desktop. 

Linux debian 2.6.26-2-686-bigmem #1 SMP Wed Aug 19 06:34:05 UTC 2009
i686 GNU/Linux



Now the boot process hangs at cupsd. Also, when I am able to get into
GDM and login after using single-user mode, I get a "failed to
initialize HAL!" message in nautilus. If that weren't enough, I still
can't access my snd-hda-intel card.

How do I fix these issues?


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



Re: Clone a bootable USB key

2009-09-26 Thread Dieder Vervoort

Hi Adrian,

Indeed this is working. ( Test it with 2 identical USB-keys)
But I think this is not a solution because the target usb is not the 
same size and make.
Thats why I copied the files and the MBR separately.( forgot to mention 
this )


What I am trying to do: I would like to make a copy of my USB-key to one 
or more  files,
send the files to a friend and he has to dd / copy this file to his 
USB-Key, and I was hoping this should work.


Thanks,

Adrian Levi wrote:

2009/9/26 Dieder Vervoort :
  

Hi All,

I am trying to clone a bootable USB key B ( FAT32)

I format USB key C and  set the boot flag.
Copied all files from USB-B to USB-C in Windows.
Copied the MBR:  dd if=/dev/sdb of=/dev/sdc bs=446  count =1

When I boot from USB-B I get only the word GRUB in the left upper corner.
I noticed: USB-B has an icon in the browser , USB-C has not.
What could be wrong ?  Thanks.



The MBR and grub are working but Grub does not know the sector
location of the kernel, So it does not continue to boot.
Use dd to copy the entire thing, it will work.

dd if=/dev/sdb of=/dev/sdc

Adrian

  



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




XFce4 vs GNOME Desktop

2009-09-26 Thread S. Fishpaste
Hi All;

I have a strange issue. When I run Gnome I have a nice desktop with my trash
icon etc., on the desktop. Gnome is too heavy for my resource limited laptop
so I much prefer to use a lighter window manager.

But when I start up or switch to XFce4, I'm left without a "desktop", just
the application dock on a coloured background, which I can't seem to change.

How do I get XFce to start-up with the desktop showing when the user logs in?
The XFce settings panel has a configuration option, however when I use a
desktop picture or change icons nothing shows. I'm thinking that XFce isn't
starting up in the right directory, but I'm at a loss on how to change that.

Any suggestions?

Thanks.


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



Lenny is acting screwing after alsa sourcecode install

2009-09-26 Thread Laurin d'Volts
I'm using Lenny stable.
Linux debian 2.6.26-2-686-bigmem #1 SMP Wed Aug 19 06:34:05 UTC 2009
i686 GNU/Linux


The boot process is hanging on cupsd.
After logging into a user after GDM I get something like this:

FAILED TO INITIALIZE HAL!

and then it won't give me my networkmanager icon.
I had to root terminal a dhclient command to get online.

Following are the things I did to install alsa. I know that these were
out of date. I didn't notice at first. I guess that screwed up my
system, and hopefully someone will know how to fix this.

I did as said in this section: Update to the Latest Version of ALSA
- https://help.ubuntu.com/community/HdaIntelSoundHowto

As I said before, I did it as that website said. I did not do it as the
website it referenced. Once I noticed I did something out of date, it
was too late.

After a reboot, it goes to the boot screen and hangs at cupsd.
I don't know why it's doing this, but that really sucks.

I did a boot with single-user mode and typed in the root password. I
then typed GDM, which allowed me to get into GDM. A regular boot would
hang at cupsd. I didn't wait forever to see if the regular boot would
get past cupsd.

The gdm will lead to that "failed to initialize hal!" thing.
Otherwise, it seems like my system is working somewhat decent; however,
I want that boot process fixed. And perhaps revert some stuff so this
computer won't seem screwy again.

I think I'll install Sid next time if I want the sound card working.


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



Re: Grub/Grub2 fails with non-first root partition

2009-09-26 Thread Osamu Aoki
On Sat, Sep 26, 2009 at 04:14:20PM +0200, Raven wrote:
> Did a new setup with netinstall testing but I am still getting stuck at
> the usual place.
> I let the installer partition the space as it wished:
> 
> Disk /dev/sda: 80.0 GB, 80026361856 bytes
> 255 heads, 63 sectors/track, 9729 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0xace22e9e
> 
>Device Boot  Start End  Blocks   Id  System
> /dev/sda1   1382430716248+   7  HPFS/NTFS
> /dev/sda23825679723880622+   7  HPFS/NTFS
> /dev/sda3   *6798960222531162+  83  Linux
> /dev/sda496039729 1020127+   5  Extended
> /dev/sda596039729 1020096   82  Linux swap / Solaris

I used netinstall.  I did not use grub2 on older normal pc (Mac is
different), so I did not study much on system like yours.  

Keep your eyes on BTS.

Osamu 


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



Can't keep archive up to date (bizarre sources.list problem?)

2009-09-26 Thread Ross Boylan
I keep running into a problem in which apt (via aptitude) will not fetch
the new package list for testing or unstable.  It doesn't report any
errors while doing the associated update. I've tried various fiddles,
including especially deleting files from /var/lib/apt/lists
and /var/cache/apt.  The main thing the deletions show is that some of
the essential files (e.g., Packages) aren't ending up in lists at all.

Twice I have found that if I simply strip my sources.list down so that
it only contains the one thing I want, everything works.  I suspected a
non-printing character, but a) I tried retyping the line, b) did not
notice anything in hexedit, and c) the successful file was made by
deleting other material from the unsuccessful one.

Does anyone have any ideas what's going on, or how I can fix it
permanently?

The rest of this message has additional details.

So

deb http://10.4.0.223:3142/debian unstable main

works, while


#
# deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official amd64 NETINST Binary-1 
20090214-15:57]/ lenny main

#deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official amd64 NETINST Binary-1 
20090214-15:57]/ lenny main

deb http://10.4.0.223:3142/debian lenny main contrib non-free
deb-src http://10.4.0.223:3142/debian lenny main  contrib non-free

deb http://10.4.0.223:3142/security lenny/updates main  contrib non-free
deb-src http://10.4.0.223:3142/security lenny/updates main contrib non-free

deb http://10.4.0.223:3142/volatile lenny/volatile main  contrib non-free
deb-src http://10.4.0.223:3142/volatile lenny/volatile main contrib non-free

# mostly for kernel
deb http://10.4.0.223:3142/debian testing main contrib non-free
deb-src http://10.4.0.223:3142/debian testing main contrib non-free
deb http://10.4.0.223:3142/debian unstable main contrib non-free
deb-src http://10.4.0.223:3142/debian unstable main contrib non-free

# for the latest kernel
#deb http://10.4.0.223:3142/kernel-archive.buildserver.net/debian-kernel trunk 
main
#deb-src http://10.4.0.223:3142/kernel-archive.buildserver.net/debian-kernel 
trunk main

# which needs kbuild from unstable
#deb http://10.4.0.223:3142/debian unstable main contrib non-free
#deb-src http://10.4.0.223:3142/debian unstable main  contrib non-free

fails.  10.4.0.223 is running apt-cacher.

I tried running with this snippet
<99local>
Debug {
  Acquire {
  ftp "yes";
  http "yes";
  gpgv "yes";
  };
};

in /etc/apt/conf.d.  The output (under emacs) was a bit garbled, but it
seemed to show the proper Packages file being fetched and the associated
release file verified even in the case that did not update properly.
The first time shows, in part

GET /debian/dists/unstable/main/binary-amd64/Packages.bz2 HTTP/1.1
Host: 10.4.0.223:3142
Connection: keep-alive
Range: bytes=6223195-
If-Range: Tue, 22 Sep 2009 20:35:21 GMT
User-Agent: Debian APT-HTTP/1.3 (0.7.20.2)


99% [Waiting for headers]HTTP/1.1 200 OK
Connection: Keep-Alive
Accept-Ranges: bytes
Content-Length: 6229998
Content-Type: application/x-bzip2
Last-Modified: Sat, 26 Sep 2009 08:17:06 GMT

Get:41 http://10.4.0.223 unstable/main Packages [6230kB]
99% [41 Packages bzip2 0]3803kB/s 0s
GET /debian/dists/unstable/contrib/binary-amd64/Packages.di\
ff/2009-09-23-1558.42.gz HTTP/1.1
Host: 10.4.0.223:3142
Connection: keep-alive
User-Agent: Debian APT-HTTP/1.3 (0.7.20.2)


99% [41 Packages bzip2 9895936] [Waiting for headers]3803kB/s 0s

Notice the initial Range is followed by a -, and that there is a latter
Content-Length that is somewhat longer (equal to the size of the
Packages file in lists/).

The successful log shows

GET /debian/dists/unstable/Release HTTP/1.1
Host: 10.4.0.223:3142
Connection: keep-alive
If-Modified-Since: Sat, 26 Sep 2009 03:37:46 GMT
User-Agent: Debian APT-HTTP/1.3 (0.7.20.2)


GET /debian/dists/unstable/Release HTTP/1.1
Host: 10.4.0.223:3142
Connection: keep-alive
If-Modified-Since: Sat, 26 Sep 2009 03:37:46 GMT
User-Agent: Debian APT-HTTP/1.3 (0.7.20.2)


HTTP/1.1 200 OK
Connection: Keep-Alive
Accept-Ranges: bytes
Content-Length: 103733
Content-Type: text/plain
Last-Modified: Sat, 26 Sep 2009 03:37:46 GMT

Get:2 http://10.4.0.223 unstable Release [104kB]
99% [Working]inside VerifyGetSigners
gpgv path: /usr/bin/gpgv
Keyring path: /etc/apt/trusted.gpg
99% [2 Release gpgv 103733]Preparing to exec: /usr/bin/gpgv /usr/bin/gpgv 
--status-fd 3 --ignore-time-conflict --keyring /etc/apt/trusted.g\
pg /var/lib/apt/lists/partial/10.4.0.223:3142_debian_dists_unstable_Release.gpg 
/var/lib/apt/lists/10.4.0.223:3142_debian_dists_unstable_Re\
lease
Read: [GNUPG:] SIG_ID vNAJ+KMK6Iq0Y3QCws3X8GlO99o 2009-09-26 1253936266
Read: [GNUPG:] GOODSIG 9AA38DCD55BE302B Debian Archive Automatic Signing Key 
(5.0/lenny) 
Got GOODSIG, key ID:GOODSIG 9AA38DCD55BE302B
Read: [GNUPG:] VALIDSIG 150C8614919D8446E01E83AF9AA38DCD55BE302B 2009-09-26 
1253936266 0 4 0 1 2 00 150C8614919D8446E01E83AF9AA

Re: Grub: error 15

2009-09-26 Thread Rob Owens
On Sat, Sep 26, 2009 at 10:47:42AM +0300, Jason Filippou wrote:
> Hello,
> 
> I assume this has probably been mentioned before, with all the grub
> legacy discussion going on, but here's my situation anyways:
> 
> I have Debian Testing installed on my hp paviliion dv6000 notebook and
> executed the command upgrade-from-grub-legacy. After that, when I
> rebooted my system, I receive the message
> 
> GRUB Loading stage1.5
> 
> GRUB loading, please wait...
> Error 15
> 
> Is there anything I can do to save my system? Should I download a
> Squeeze image and use it as a live CD, would that help me in any way?
> 
Download the Super Grub Boot Disc and see if that gets you into your
system.  Then try fixing grub using Sjoerd's instructions.

-Rob


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



grub2, update-grub, /etc/grub.d

2009-09-26 Thread Hugh Lawson


grub2 (provided by package grub-pc)

Suppose you want to add something like "vga=791" to the linux line of
one of the stanzas auto-configured by update-grub.

What is the debian way to do this? 

I know how to edit the grub.cfg file to do this, but won't this file be
replaced by the next 'update-grub'?  The scripts in /etc/grub.d are
over my head.

I also have successfully edited /etc/grub.d/40_custom to produce
home-made custom stanzas for /boot/grub/grub.cfg.

Thanks,

Hugh



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



Re: linux debian lenny 64bit installing ORACLE 64 errors

2009-09-26 Thread Daniel Suleyman
*This errors come up now after playing wth ldconfig*

oracle@:/home/u01/app/oracle/product/10.2.1/db1/bin$ ./relink all > test
cp: cannot stat `/DISCARD/': No such file or directory
ar: creating /home/u01/app/oracle/product/10.2.1/db1/lib/libclntst10.a
cp: cannot stat `/DISCARD/': No such file or directory
ar: creating /home/u01/app/oracle/product/10.2.1/db1/lib32/libclntst10.a
mv: `ldapdelete' and
`/home/u01/app/oracle/product/10.2.1/db1/bin/ldapdelete' are the same file
make: [inst_clientonly] Error 1 (ignored)
mv: `ldapmodify' and
`/home/u01/app/oracle/product/10.2.1/db1/bin/ldapmodify' are the same file
make: [inst_clientonly] Error 1 (ignored)
mv: `ldapmodifymt' and
`/home/u01/app/oracle/product/10.2.1/db1/bin/ldapmodifymt' are the same file
make: [inst_clientonly] Error 1 (ignored)
mv: `ldapadd' and `/home/u01/app/oracle/product/10.2.1/db1/bin/ldapadd' are
the same file
make: [inst_clientonly] Error 1 (ignored)
mv: `ldapaddmt' and `/home/u01/app/oracle/product/10.2.1/db1/bin/ldapaddmt'
are the same file
make: [inst_clientonly] Error 1 (ignored)
mv: `ldapsearch' and
`/home/u01/app/oracle/product/10.2.1/db1/bin/ldapsearch' are the same file
make: [inst_clientonly] Error 1 (ignored)
mv: `dsml2ldif' and `/home/u01/app/oracle/product/10.2.1/db1/bin/dsml2ldif'
are the same file
make: [inst_clientonly] Error 1 (ignored)
mv: `ldapcompare' and
`/home/u01/app/oracle/product/10.2.1/db1/bin/ldapcompare' are the same file
make: [inst_clientonly] Error 1 (ignored)
mv: `ldapbind' and `/home/u01/app/oracle/product/10.2.1/db1/bin/ldapbind'
are the same file
make: [inst_clientonly] Error 1 (ignored)
mv: `ldapmoddn' and `/home/u01/app/oracle/product/10.2.1/db1/bin/ldapmoddn'
are the same file
make: [inst_clientonly] Error 1 (ignored)
/home/u01/app/oracle/product/10.2.1/db1/lib//libcore10.a(slftmp.o): In
function `SlfTmpnam':
slftmp.c:(.text+0x10): warning: the use of `tmpnam_r' is dangerous, better
use `mkstemp'
/usr/bin/find: `/home/u01/app/oracle/product/10.2.1/db1/lib32/.1.0': Too
many levels of symbolic links
/usr/bin/find: `/home/u01/app/oracle/product/10.2.1/db1/lib/.1.0': Too many
levels of symbolic links
/usr/bin/ld: i386 architecture of input file
`/home/u01/app/oracle/product/10.2.1/db1/sysman/lib/snmccolm.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`/home/u01/app/oracle/product/10.2.1/db1/sysman/lib/libnmccol.a(nmccole.o)'
is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`/home/u01/app/oracle/product/10.2.1/db1/sysman/lib/libnmcbuf.a(nmcbuft.o)'
is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`/home/u01/app/oracle/product/10.2.1/db1/sysman/lib/libnmcbuf.a(nmcbufw.o)'
is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`/home/u01/app/oracle/product/10.2.1/db1/sysman/lib/libnmcbuf.a(nmcbufu.o)'
is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`/home/u01/app/oracle/product/10.2.1/db1/sysman/lib/libnmcbuf.a(snmcbufm.o)'
is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`/home/u01/app/oracle/product/10.2.1/db1/sysman/lib/libnmcbuf.a(nmcbuff.o)'
is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`/home/u01/app/oracle/product/10.2.1/db1/sysman/lib//libnmadbg.a(nmadbg.o)'
is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`/home/u01/app/oracle/product/10.2.1/db1/sysman/lib//libnmadbg.a(snmadbg.o)'
is incompatible with i386:x86-64 output
collect2: ld returned 1 exit status
make[1]: ***
[/home/u01/app/oracle/product/10.2.1/db1/sysman/lib/nmccollector] Error 1
make: *** [nmccollector] Error 2
/home/u01/app/oracle/product/10.2.1/db1/lib32//libclntsh.so: undefined
reference to `nnfyboot'
/home/u01/app/oracle/product/10.2.1/db1/lib32//libclntsh.so: undefined
reference to `nnfoboot'
collect2: ld returned 1 exit status
make[1]: *** [/home/u01/app/oracle/product/10.2.1/db1/sysman/lib/e2eme]
Error 1
make: *** [e2eme] Error 2
/home/u01/app/oracle/product/10.2.1/db1/lib32//libagtsh.so: undefined
reference to `nnfyboot'
collect2: ld returned 1 exit status
make[1]: *** [/home/u01/app/oracle/product/10.2.1/db1/rdbms/lib/extproc32]
Error 1
make: *** [extproc32] Error 2
gcc: unrecognized option '-h'
gcc: unrecognized option '-h'
gcc: unrecognized option '-h'




*ldconifgs*

oracle@:/home/u01/app/oracle/product/10.2.1/db1/bin$ ls /etc/ld.so.conf.d/*
/etc/ld.so.conf.d/libc.conf  /etc/ld.so.conf.d/local-32bit.conf
/etc/ld.so.conf.d/x86_64-linux-gnu.conf

oracle@:/home/u01/app/oracle/product/10.2.1/db1/bin$ cat /etc/ld.so.conf.d/*
# libc default configuration
/usr/local/lib
/usr/lib

/home/u01/app/oracle/product/10.2.1/db1/lib32/
# Multiarch support
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu



2009/9/26 Michał Bożek 

> On Sat, 26 Sep 2009 15:15:29 +0500
> Daniel Suleyman  wrote:
>
> > As for a step by step installation guide I should have it
> >

Re: virtualbox:networking

2009-09-26 Thread Rob Owens
On Fri, Sep 25, 2009 at 05:31:56AM -0400, Mark Neidorff wrote:
> I'm running Lenny-amd64.  I set up virtualbox-amd64 from their deb.  Works 
> fine, butI have a network printer (HP Officejet Pro 8500) at 192.168.1.32 
> which is within my local network.  The install of virtualbox sets up a 
> network on the 10.x.x.x network for access between the guest OS and the host. 
>  
> I was able to force the installer to find the printer but it told me that 
> since I was crossing networks it might not work properly.  Sure enough, pages 
> get dropped during a multi page print job.  
> 
> My question is how do I change the IP that virtualbox uses for the guest to 
> communicate with the host so that the guest is within my network and my 
> printing will work properly?
> 
What you want is "Host Interface" networking.  It involves configuring a
bridge on the host computer.  It is covered very well in the VirtualBox
documentation, section 6.5.  You can get that on VirtualBox's
"downloads" webpage.

-Rob


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



Re: Grub/Grub2 fails with non-first root partition

2009-09-26 Thread Osamu Aoki
Hi,

On Sat, Sep 26, 2009 at 10:59:02AM +0200, Raven wrote:
> Hi all.
> I am currently attempting to install Debian on a laptop that currently has
> only windows xp on it.
> Using the testing netinstall iso, i ran the setup process several times
> but I keep getting the same problem over and over.
> The partition tables is as follows:
> 
> Disk /dev/sda: 80.0 GB, 80026361856 bytes
> 255 heads, 63 sectors/track, 9729 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0xace22e9e
> 
>Device Boot  Start End  Blocks   Id  System
> /dev/hda1   *   1382430716248+   7  HPFS/NTFS
> /dev/hda23825679723880622+   7  HPFS/NTFS
> /dev/hda36798972923551290   83  Linux
> 
> (I have also tried creating a separate /boot partition [hda3] before the
> root partition [hda4], but that didn't change the outcome)
> 
> Debian installation works smoothly and the new system is correctly
> deployed on the laptop. Unfortunately I am never able to boot into it.
> Grub2 starts but after a while the message "Unknown filesystem" is printed
> and a rescue console is started.
> Only a few basic commands are available and none of them helped me figure
> out where the problem is. After booting into a live distro, I checked
> grub2's configuration files but those seemed fine too.
> 
> As a desperate move, I tried to netinstall debian stable that comes with
> grub legacy. That installation was successful too but still I couldn't
> make it past grub, which returned "Error 17".
> 
> Despite having some good experience with linux systems, I am totally
> clueless on this one. Any suggestions?

Please rememmber

(hd0,1) is /dev/hda1 under grub2.

The debconf question is not really good for grub2 but the maintainer
thinks it will be better deald for squeeze.  (Being forced to use grub 2
under lenny since I use MacBook, I was not so happy about it).

I am not really following this pat of squeeze.  But following may be
useful.

http://wiki.debian.org/MacBook
http://www.debian.org/doc/manuals/debian-reference/ch03.en.html#_stage_2_the_boot_loader

Osamu


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



Re: Can't boot custom compiled 2.6.30 amd64 kernel

2009-09-26 Thread thveillon.debian
Arthur Marsh wrote:
> Elimar Riesebieter wrote, on 2009-09-26 23:21:
>> * Andrew Perrin [090926 09:08 -0400]
>> [...]
>>> Of interest is that the stock 2.6.30-amd64 kernel boots fine. I am
>>> posting my /boot/grub/grub.cfg file and the .config file to
>>> http://perrin.socsci.unc.edu/stuff/grub.cfg and
>>
>> I guess you need an initrd image which isn't mentioned in grub.cfg.
>>
>> Elimar
>>
>>
> 
> In other words, one needs to run make-kpkg with the --initrd option:
> 
> make-kpkg --initrd linux-image
> 
> Arthur.
> 
> 

Hi,

...and copy necessary examples scripts from
/usr/share/kernel-package/examples/etc/kernel/postinst.d
and
/usr/share/kernel-package/examples/etc/kernel/postrm.d

(initramfs or yaird, depends on what you want to use to build the initrd )

to /etc/kernel/* .

Tom


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



Re: Can't boot custom compiled 2.6.30 amd64 kernel

2009-09-26 Thread Manoj Srivastava
On Sat, Sep 26 2009, Elimar Riesebieter wrote:

> * Andrew Perrin [090926 09:08 -0400]
> [...]
>> Of interest is that the stock 2.6.30-amd64 kernel boots fine. I am
>> posting my /boot/grub/grub.cfg file and the .config file to
>> http://perrin.socsci.unc.edu/stuff/grub.cfg and
>
> I guess you need an initrd image which isn't mentioned in grub.cfg.

Which implies that the scripts:
 /etc/kernel/postinst.d/initramfs  /etc/kernel/postrm.d/initramfs
  are missing. (examples in are available in
  /usr/share/kernel-package/examples/etc/kernel/*.d) 

manoj
-- 
Cleanliness becomes more important when godliness is
unlikely. P.J. O'Rourke
Manoj Srivastava    
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C


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



Re: grub2, update-grub, /etc/grub.d

2009-09-26 Thread Gilles Mocellin
On Sat, Sep 26, 2009 at 11:36:00AM -0400, Hugh Lawson wrote:
> grub2 (provided by package grub-pc)
> 
> Suppose you want to add something like "vga=791" to the linux line of
> one of the stanzas auto-configured by update-grub.
> 
> What is the debian way to do this? 

Edit GRUB_CMDLINE_LINUX variable in /etc/default/grub.
Then, run update-grub.


signature.asc
Description: Digital signature


Re: linux debian lenny 64bit installing ORACLE 64 errors

2009-09-26 Thread Michał Bożek
On Sat, 26 Sep 2009 14:19:59 +0500
Daniel Suleyman  wrote:

> UnsatisfiedLinkError exception loading native library: njni10

Now this might have various reasons... Please check the
following:
- is libnjni10.so present in your system? It should be in:
$ORACLE_HOME/lib/ and $ORACLE_HOME/lib32/
- if it is present, then does LD_LIBRARY_PATH contain the above paths?

Also please check $ORACLE_HOME/install/make.log for any linking
errors. In any case you might want to try when the libraries are
available na LD_LIBRARY_PATH is set correctly:

rm -f $ORACLE_HOME/install/make.log
cd $ORACLE_HOME/bin
/relink all > $ORACLE_HOME/install/make.log

Regards,
-- 
Michał Bożek


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



Re: Grub/Grub2 fails with non-first root partition

2009-09-26 Thread Raven
On Sat, September 26, 2009 2:14 pm, Osamu Aoki wrote:
> Hi,
>
> On Sat, Sep 26, 2009 at 10:59:02AM +0200, Raven wrote:
>> Hi all.
>> I am currently attempting to install Debian on a laptop that currently
>> has
>> only windows xp on it.
>> Using the testing netinstall iso, i ran the setup process several times
>> but I keep getting the same problem over and over.
>> The partition tables is as follows:
>>
>> Disk /dev/sda: 80.0 GB, 80026361856 bytes
>> 255 heads, 63 sectors/track, 9729 cylinders
>> Units = cylinders of 16065 * 512 = 8225280 bytes
>> Disk identifier: 0xace22e9e
>>
>>Device Boot  Start End  Blocks   Id  System
>> /dev/hda1   *   1382430716248+   7  HPFS/NTFS
>> /dev/hda23825679723880622+   7  HPFS/NTFS
>> /dev/hda36798972923551290   83  Linux
>>
>> (I have also tried creating a separate /boot partition [hda3] before the
>> root partition [hda4], but that didn't change the outcome)
>>
>> Debian installation works smoothly and the new system is correctly
>> deployed on the laptop. Unfortunately I am never able to boot into it.
>> Grub2 starts but after a while the message "Unknown filesystem" is
>> printed
>> and a rescue console is started.
>> Only a few basic commands are available and none of them helped me
>> figure
>> out where the problem is. After booting into a live distro, I checked
>> grub2's configuration files but those seemed fine too.
>>
>> As a desperate move, I tried to netinstall debian stable that comes with
>> grub legacy. That installation was successful too but still I couldn't
>> make it past grub, which returned "Error 17".
>>
>> Despite having some good experience with linux systems, I am totally
>> clueless on this one. Any suggestions?
>
> Please rememmber
>
> (hd0,1) is /dev/hda1 under grub2.
>
> The debconf question is not really good for grub2 but the maintainer
> thinks it will be better deald for squeeze.  (Being forced to use grub 2
> under lenny since I use MacBook, I was not so happy about it).
>
> I am not really following this pat of squeeze.  But following may be
> useful.
>
> http://wiki.debian.org/MacBook
> http://www.debian.org/doc/manuals/debian-reference/ch03.en.html#_stage_2_the_boot_loader
>
> Osamu
>
>

Did a new setup with netinstall testing but I am still getting stuck at
the usual place.
I let the installer partition the space as it wished:

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xace22e9e

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   1382430716248+   7  HPFS/NTFS
/dev/sda23825679723880622+   7  HPFS/NTFS
/dev/sda3   *6798960222531162+  83  Linux
/dev/sda496039729 1020127+   5  Extended
/dev/sda596039729 1020096   82  Linux swap / Solaris


The generated grub.conf:

### BEGIN /etc/grub.d/00_header ###
set default=0
insmod reiserfs
set root=(hd0,3)
search --no-floppy --fs-uuid --set 879e98ed-b1f4-4b94-9972-7c405a4d6278
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
  fi
fi
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, Linux 2.6.30-1-686" {
insmod reiserfs
set root=(hd0,3)
search --no-floppy --fs-uuid --set
879e98ed-b1f4-4b94-9972-7c405a4d6278
linux/boot/vmlinuz-2.6.30-1-686
root=UUID=879e98ed-b1f4-4b94-9972-7c405a4d6278 ro
quiet
initrd/boot/initrd.img-2.6.30-1-686
}
menuentry "Debian GNU/Linux, Linux 2.6.30-1-686 (recovery mode)" {
insmod reiserfs
set root=(hd0,3)
search --no-floppy --fs-uuid --set
879e98ed-b1f4-4b94-9972-7c405a4d6278
linux/boot/vmlinuz-2.6.30-1-686
root=UUID=879e98ed-b1f4-4b94-9972-7c405a4d6278 ro
single
initrd/boot/initrd.img-2.6.30-1-686
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_otheros ###

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
menuentry "Microsoft Windows XP Professional" {
set root=(hd0,1)
search --no-floppy --fs-uuid --set 8288ca3b88ca2d8b
drivemap -s (hd0) $root
chainloader +1
}
### END /etc/grub.d/30_otheros ###


And fstab:

#
proc/proc   procdefaults0   0
# / was on /dev/hda3 during installation
UUID=879

Re: Can't boot custom compiled 2.6.30 amd64 kernel

2009-09-26 Thread Arthur Marsh

Elimar Riesebieter wrote, on 2009-09-26 23:21:

* Andrew Perrin [090926 09:08 -0400]
[...]

Of interest is that the stock 2.6.30-amd64 kernel boots fine. I am
posting my /boot/grub/grub.cfg file and the .config file to
http://perrin.socsci.unc.edu/stuff/grub.cfg and


I guess you need an initrd image which isn't mentioned in grub.cfg.

Elimar




In other words, one needs to run make-kpkg with the --initrd option:

make-kpkg --initrd linux-image

Arthur.


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




Re: Can't boot custom compiled 2.6.30 amd64 kernel

2009-09-26 Thread Elimar Riesebieter
* Andrew Perrin [090926 09:08 -0400]
[...]
> Of interest is that the stock 2.6.30-amd64 kernel boots fine. I am
> posting my /boot/grub/grub.cfg file and the .config file to
> http://perrin.socsci.unc.edu/stuff/grub.cfg and

I guess you need an initrd image which isn't mentioned in grub.cfg.

Elimar


-- 
  We all know Linux is great... it does infinite loops in 5 seconds.
-- Linus Torvalds


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



Re: Grub: error 15

2009-09-26 Thread Sjoerd Hiemstra
Jason Filippou wrote:
> I have Debian Testing installed on my hp paviliion dv6000 notebook and
> executed the command upgrade-from-grub-legacy. After that, when I
> rebooted my system, I receive the message
> 
> GRUB Loading stage1.5
> 
> GRUB loading, please wait...
> Error 15
> 
> Is there anything I can do to save my system?

I *think* I know what caused the problem.
On executing upgrade-from-grub-legacy this screen appears:

┌─┤ Configuring grub-pc ├┐
│ The grub-pc package is being upgraded.  This menu allows you to select │
│ which devices you'd like grub-install to be automatically run for, if  │
│ any.   │
││
│ It is recommended that you do this in most situations, to prevent the  │
│ installed GRUB from getting out of sync with other components such as  │
│ grub.cfg or with newer Linux images it will have to load.  │
││
│ If you're unsure which drive is designated as boot drive by your BIOS, │
│ it is often a good idea to install GRUB to all of them.│
││
│ GRUB install devices:  │
││
│[x] /dev/hda│
│[ ] /dev/hdb│
││
││
└┘

'/dev/hda' was colored red, so you selected OK and pressed Enter.
BUT you should have pressed the space bar first, so an 'x' appears
before '/dev/hda'.

It can easily be repaired, however, by running the command:

grub-install /dev/hda


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



Can't boot custom compiled 2.6.30 amd64 kernel

2009-09-26 Thread Andrew Perrin
Hey all - I'm having more trouble than I ever have before booting my 
newly-compiled 2.6.30 kernel. Typically make-kpkg linux-image makes a 
usable .deb file, which I can install and be done with it. In this case I 
keep getting:


kernel panic: no init found. Unable to mount root fs on 
unknown-block(0,0).


I have tried the following:

- Using the UUID addressing instead of /dev/sda1 for the root= kernel
parameter
- Compiling the kernel both with and without initrd support

Of interest is that the stock 2.6.30-amd64 kernel boots fine. I am posting 
my /boot/grub/grub.cfg file and the .config file to 
http://perrin.socsci.unc.edu/stuff/grub.cfg and 
http://perrin.socsci.unc.edu/stuff/config for the custom kernel. I am 
running debian testing. Any advice would be most helpful!


Thanks,
Andy


--
Andrew J Perrin - andrew_perrin (at) unc.edu - http://perrin.socsci.unc.edu
Associate Professor of Sociology; Book Review Editor, _Social Forces_
University of North Carolina - CB#3210, Chapel Hill, NC 27599-3210 USA



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




Re: Can't boot custom compiled 2.6.30 amd64 kernel

2009-09-26 Thread Michael Pobega
On  0, Andrew Perrin  wrote:
> kernel panic: no init found. Unable to mount root fs on
> unknown-block(0,0).
> 

Have you tried actually building an initrd? I always get a problem mounting root
until I build my initrd. (man mkinitramfs, or just `mkinitramfs -o
initrd.2.6.30-amd64 2.6.30-amd64`, assuming that is the 'name' of your kernel)

-- 
  http://fuzzydev.org/~pobega
http://identi.ca/pobega


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



Re: linux debian lenny 64bit installing ORACLE 64 errors

2009-09-26 Thread Michał Bożek
On Sat, 26 Sep 2009 11:54:14 +0500
Daniel Suleyman  wrote:

> No requiremnets, can you describe what needed to install 11G?

Apart from the package available here:
http://www.oracle.com/technology/software/products/database/oracle11g/112010_linx8664soft.html

hardware requirements got a bit higher since 10.2. 11g requires
almost 4GiB HDD space for its install plus approximately 1GiB for a
starter database. Memory and swap requirements remained the same. It
should install painlessly on a 64 bit environment, but the installer
itself still relies on 32 bit Java.

Rest of the installation setup does not differ from 10.2 as far
as I remember.

As for a step by step installation guide I should have it
somewhere in my backups - I'll try to find it and post it later on.

Regards,
-- 
Michał Bożek


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



logrotate: olddir on different device?

2009-09-26 Thread Sascha Silbe

Hi!

I'd like logrotate to move old (compressed) logfiles to a directory on a 
different device (from SD card to hard disk in this case). Unfortunately 
the "olddir" config option only works if both directories are on the 
same device (probably for easier handling of the first rotate step).
Lastaction would be an option, but then I'd need to duplicate the entire 
rotation / removal logic (configured per logfile).

Maybe someone has a better idea?

CU Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/

signature.asc
Description: Digital signature


Re: How do you install flash player?

2009-09-26 Thread Osamu Aoki
On Fri, Sep 25, 2009 at 07:30:18PM -0700, Charlie Dorff wrote:
> Hi...
> I was wondering if someone could explain how to install flash player
> on debian? Thank you.

There are so many ways to install flash on Debian.

   http://wiki.debian.org/FlashPlayer

For amd64, there were ways to install 32bit version.  But since we have
64bit version available, we can install it.

Osamu


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



Re: Printing

2009-09-26 Thread pch0317
Giancarlo Pegoraro wrote:
> Il giorno mer, 16/09/2009 alle 18.38 +0200, pch0317 ha scritto:
>   
>> Hello
>> I have problem with HP PSC 1310 series printer.
>> I use debian testing, and hpijs packet.
>>
>> 
> me too :-)
>
>   
>> The problem is that when I print black text I receive coloured text instead.
>> It is bug?
>> 
>
> Sometime, the black cartridge is empty? :-)
>
>   
>>  Wher can I search for help?
>>
>> 
> In printig configuration: "option printing" -> "Printout Mode" -> change
> from "Normal (color cartridge)" to "Normal greyscale (Black cartrige)"
>
>   
>> Thanks
>>
>> 
> Genki ):o))
>
>
>   
After change options to greyscale it starts to work :)
I think, the coloured text appear because I use not orginal cartridge.

Thanks everybody who answered


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



Re: linux debian lenny 64bit installing ORACLE 64 errors

2009-09-26 Thread Daniel Suleyman
As for a step by step installation guide I should have it
somewhere in my backups - I'll try to find it and post it later on.

*it will be greate*

LD_LIBRARY_PATH=/home/u01/app/oracle/product/10.2.1/db1/lib32:/home/u01/app/oracle/product/10.2.1/db1/lib
/home/u01/app/oracle/product/10.2.1/db1/lib/libnjni10.so
/home/u01/app/oracle/product/10.2.1/db1/lib32/libnjni10.so


for log i will report latter.

Thank you in advance

2009/9/26 Michał Bożek 

> On Sat, 26 Sep 2009 14:19:59 +0500
> Daniel Suleyman  wrote:
>
> > UnsatisfiedLinkError exception loading native library: njni10
>
> Now this might have various reasons... Please check the
> following:
> - is libnjni10.so present in your system? It should be in:
> $ORACLE_HOME/lib/ and $ORACLE_HOME/lib32/
> - if it is present, then does LD_LIBRARY_PATH contain the above paths?
>
>Also please check $ORACLE_HOME/install/make.log for any linking
> errors. In any case you might want to try when the libraries are
> available na LD_LIBRARY_PATH is set correctly:
>
> rm -f $ORACLE_HOME/install/make.log
> cd $ORACLE_HOME/bin
> /relink all > $ORACLE_HOME/install/make.log
>
> Regards,
> --
> Michał Bożek
>
>


Grub/Grub2 fails with non-first root partition

2009-09-26 Thread Raven
Hi all.
I am currently attempting to install Debian on a laptop that currently has
only windows xp on it.
Using the testing netinstall iso, i ran the setup process several times
but I keep getting the same problem over and over.
The partition tables is as follows:

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xace22e9e

   Device Boot  Start End  Blocks   Id  System
/dev/hda1   *   1382430716248+   7  HPFS/NTFS
/dev/hda23825679723880622+   7  HPFS/NTFS
/dev/hda36798972923551290   83  Linux

(I have also tried creating a separate /boot partition [hda3] before the
root partition [hda4], but that didn't change the outcome)

Debian installation works smoothly and the new system is correctly
deployed on the laptop. Unfortunately I am never able to boot into it.
Grub2 starts but after a while the message "Unknown filesystem" is printed
and a rescue console is started.
Only a few basic commands are available and none of them helped me figure
out where the problem is. After booting into a live distro, I checked
grub2's configuration files but those seemed fine too.

As a desperate move, I tried to netinstall debian stable that comes with
grub legacy. That installation was successful too but still I couldn't
make it past grub, which returned "Error 17".

Despite having some good experience with linux systems, I am totally
clueless on this one. Any suggestions?


-RV


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



Re: linux debian lenny 64bit installing ORACLE 64 errors

2009-09-26 Thread Daniel Suleyman
solved all minir errors.

and finaly major ones ((

failed scripts:

# Copyright (c) 1999, 2005, Oracle. All rights reserved.
/home/u01/app/oracle/product/10.2.1/db1/jdk/jre//bin/java
-Duser.dir=/home/u01/app/oracle/product/10.2.1/db1/network/jlib -classpath
/home/u01/app/oracle/product/10.2.1/db1/jdk/jre//lib/i18n.jar:/home/u01/app/oracle/product/10.2.1/db1/jdk/jre//lib/rt.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/ewt3.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/ewtcompat-3_3_15.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/netcfg.jar:/home/u01/app/oracle/product/10.2.1/db1/network/jlib/netcam.jar:/home/u01/app/oracle/product/10.2.1/db1/network/jlib/netca.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/help4.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/jewt4.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/oracle_ice.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/share.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/swingall-1_1_1.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/srvmhas.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/srvm.jar:/home/u01/app/oracle/product/10.2.1/db1/network/tools:/home/u01/app/oracle/product/10.2.1/db1/jlib/ldapjclnt9.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/ldapjclnt10.jar:/home/u01/app/oracle/product/10.2.1/db1/oui/jlib/OraInstaller.jar:/home/u01/app/oracle/product/10.2.1/db1/lib/xmlparserv2.jar
oracle.net.ca.NetCA /orahome /home/u01/app/oracle/product/10.2.1/db1
/orahnam db1home /instype typical /inscomp
client,oraclenet,javavm,server,ano /insprtcl tcp /cfg local /authadp
NO_VALUE /nodeinfo NO_VALUE /responseFile
/home/u01/app/oracle/product/10.2.1/db1/network/install/netca_typ.rsp
/silent

/home/u01/app/oracle/product/10.2.1/db1/bin/dbca -silent  -createDatabase
-templateName General_Purpose.dbc -gdbName orcl -sid orcl  -sysPassword
0562c49642c9568cd8284e86ab24cbadf7  -systemPassword
0575e5904269a26b1d4b44f0a450383f59  -sysmanPassword
05fbcc6742c9b386ff9edf15fbfde8b716  -dbsnmpPassword
05fbcc6742c9b386ff9edf15fbfde8b716  -emConfiguration LOCAL
-datafileJarLocation
/home/u01/app/oracle/product/10.2.1/db1/assistants/dbca/templates
-responseFile NO_VALUE   -characterset WE8ISO8859P1   -obfuscatedPasswords
true  -sampleSchema false -oratabLocation
/home/u01/app/oracle/product/10.2.1/db1/install/oratab
-recoveryAreaDestination NO_VALUE

/home/u01/app/oracle/product/10.2.1/db1/bin/isqlplusctl start
~


*errors for 1) script*

UnsatisfiedLinkError exception loading native library: njni10


java.lang.UnsatisfiedLinkError: jniGetOracleHome
at oracle.net.common.NetGetEnv.jniGetOracleHome(Native Method)
at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
at oracle.net.ca.NetCA.main(Unknown Source)
Oracle Net Services configuration failed.  The exit code is -1

*error fot scrip 2)*


UnsatisfiedLinkError exception loading native library: njni10
Exception in thread "main" java.lang.UnsatisfiedLinkError: get
at oracle.net.common.NetGetEnv.get(Native Method)
at oracle.net.config.Config.getNetDir(Unknown Source)
at oracle.net.config.Config.initConfig(Unknown Source)
at oracle.net.config.Config.(Unknown Source)
at
oracle.sysman.assistants.util.NetworkUtils.(NetworkUtils.java:222)
at
oracle.sysman.assistants.util.step.StepContext.(StepContext.java:255)
at oracle.sysman.assistants.dbca.backend.Host.(Host.java:682)
at
oracle.sysman.assistants.dbca.backend.SilentHost.(SilentHost.java:125)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:150)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:94)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:180)


2009/9/26 Michał Bożek 

> On Fri, 25 Sep 2009 21:50:45 +0800
> Umarzuki Mochlis  wrote:
>
> > 2009/9/25 Daniel Suleyman :
> > > Any advice will be appreciated.
>
> I assume, that you've got the 64 bit version of Oracle, but a
> double check might be useful (as always).
>
> > >> Preparing to launch Oracle Universal Installer from
> > >> /home/u01/tmp/OraInstall2009-09-25_12-50-45PM. Please wait
> > >> ...ora...@unimark:~/database$ Oracle Universal Installer,
> > >> Versi on 10.2.0.1.0 Production
>
> Do you have a requirement to install exactly 10.2.0.1? I've had
> my share of problems with installations of 10.2 on Debian, while 11 was
> (almost) painless. If possible I'd recommend a switch to the newest
> version.
>
> > >> Exception java.lang.UnsatisfiedLinkError:
> > >>
> /home/u01/tmp/OraInstall2009-09-25_12-50-45PM/jre/1.4.2/lib/i386/libawt.so:
> > >> libXp.so.6: wrong ELF class: ELFCLASS64 occurred..
> > >> java.lang.UnsatisfiedLinkError:
> > >>
> /home/u01/tmp/OraInstall2009-09-25_12-50-45PM/jre/1.4.2/lib/i386/libawt.so:
> > >> libXp.so.6: wrong ELF class: ELFCLASS64
>
> Based on this snippet I'd say, that a 32 bit version of
> libawt.so tries to use libXp.so which is only available in 64 bits on
> your system. Unfort

Does anyone have older amd64 versions of fglrx-* packages?

2009-09-26 Thread Eduardo M KALINOWSKI
Hi,

I upgraded my proprietary ATI driver to version 9-9, but it does not
work, all I get is a black screen and a frozen computer. My card is a
Radon HD 3650.

The free radeon/radeonhd drivers work, but they apparently don't
even support Xvideo. I cannot run the geeqie image viewer either,
apparently it requires 3d acceleration or something like that.

I was using version 9-5 and it worked. Unfortunately, that version
was not available anymore in my /var/cache/apt/archives.
snapshot.debian.net couldn't help either.

Does anyone have that version, or another version older that 9-5 of
the amd64 packages?

-- 
"Freedom is still the most radical idea of all."
-- Nathaniel Branden

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



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



Re: Can't boot custom compiled 2.6.30 amd64 kernel

2009-09-26 Thread mess-mate

Andrew Perrin wrote:


Hey all - I'm having more trouble than I ever have before booting my 
newly-compiled 2.6.30 kernel. Typically make-kpkg linux-image makes a 
usable .deb file, which I can install and be done with it. In this 
case I keep getting:


kernel panic: no init found. Unable to mount root fs on 
unknown-block(0,0).


I have tried the following:

- Using the UUID addressing instead of /dev/sda1 for the root= kernel
parameter
- Compiling the kernel both with and without initrd support

Of interest is that the stock 2.6.30-amd64 kernel boots fine. I am 
posting my /boot/grub/grub.cfg file and the .config file to 
http://perrin.socsci.unc.edu/stuff/grub.cfg and 
http://perrin.socsci.unc.edu/stuff/config for the custom kernel. I am 
running debian testing. Any advice would be most helpful!


Thanks,
Andy


--
Andrew J Perrin - andrew_perrin (at) unc.edu - 
http://perrin.socsci.unc.edu

Associate Professor of Sociology; Book Review Editor, _Social Forces_
University of North Carolina - CB#3210, Chapel Hill, NC 27599-3210 USA




Got the same error on squeed.
A update-initramfs solved the problem.




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




Re: linux debian lenny 64bit installing ORACLE 64 errors

2009-09-26 Thread Daniel Suleyman
 кому: мне, debian-user
Показать подробные сведения 18:50 (16 ч. назад)


Umarzuki Mochlis: No it dosent' the problem was in X's. i am not having any
graphical environment on system../runInstaller -ignoreSysPrereqs
-responsefile /home/oracle/sampleOracle.rsp

helped to install software: Ihave chrooted environment of 32 bit lenny(I
used 32 bit libraries from it to install oracle on 64 bit lenny)

michal_bozek

Yes I am installing 64 bit oracle

No requiremnets, can you describe what needed to install 11G?

i managed to install oracle on /home/u01/app/oracle/product/10.2.1/db1/bin.



Now  I have other problem :(


/home/u01/app/oracle/product/10.2.1/db1/bin$ ./sqlplus

SQL*Plus: Release 10.2.0.1.0 - Production on Sat Sep 26 11:35:12 2009

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: sys as sysdba
Enter password:
oracleorcl: error while loading shared libraries: libaio.so.1: cannot open
shared object file: No such file or directory
ERROR:
ORA-12547: TNS:lost contact


installing libaio1 nowi will post results and full solution if I will be
suceeded  .

2009/9/26 Michał Bożek 

> On Fri, 25 Sep 2009 21:50:45 +0800
> Umarzuki Mochlis  wrote:
>
> > 2009/9/25 Daniel Suleyman :
> > > Any advice will be appreciated.
>
> I assume, that you've got the 64 bit version of Oracle, but a
> double check might be useful (as always).
>
> > >> Preparing to launch Oracle Universal Installer from
> > >> /home/u01/tmp/OraInstall2009-09-25_12-50-45PM. Please wait
> > >> ...ora...@unimark:~/database$ Oracle Universal Installer,
> > >> Versi on 10.2.0.1.0 Production
>
> Do you have a requirement to install exactly 10.2.0.1? I've had
> my share of problems with installations of 10.2 on Debian, while 11 was
> (almost) painless. If possible I'd recommend a switch to the newest
> version.
>
> > >> Exception java.lang.UnsatisfiedLinkError:
> > >>
> /home/u01/tmp/OraInstall2009-09-25_12-50-45PM/jre/1.4.2/lib/i386/libawt.so:
> > >> libXp.so.6: wrong ELF class: ELFCLASS64 occurred..
> > >> java.lang.UnsatisfiedLinkError:
> > >>
> /home/u01/tmp/OraInstall2009-09-25_12-50-45PM/jre/1.4.2/lib/i386/libawt.so:
> > >> libXp.so.6: wrong ELF class: ELFCLASS64
>
> Based on this snippet I'd say, that a 32 bit version of
> libawt.so tries to use libXp.so which is only available in 64 bits on
> your system. Unfortunately, even though Oracle packages are available
> for AMD64, the installer itself requires 32 bit Java to be present. So
> I'd check if appropriate Java version is present. At least that was one
> the quirks during my installation attempts.
>
>Also with Oracle 11, you can skip most the 'fake requirements'
> used to make Oracle think its installed on RHEL or its derivatves, ie.
> install it somewhere else than /u01/app/oracle, which was quite hard to
> change in 10.2 if I remember well. My current installation for example
> resides in /usr/local/oracle/11g1/ which is quite useful.
>
>Hope it helps.
>
> Regards,
> --
> Michał Bożek
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
>
>


Grub: error 15

2009-09-26 Thread Jason Filippou
Hello,

I assume this has probably been mentioned before, with all the grub
legacy discussion going on, but here's my situation anyways:

I have Debian Testing installed on my hp paviliion dv6000 notebook and
executed the command upgrade-from-grub-legacy. After that, when I
rebooted my system, I receive the message

GRUB Loading stage1.5

GRUB loading, please wait...
Error 15

Is there anything I can do to save my system? Should I download a
Squeeze image and use it as a live CD, would that help me in any way?

Thanks,

Jason


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



logging out fails in KDE4 (debian testing)

2009-09-26 Thread Γιώργος Πάλλας
After updating to the latest versions of packages of debian testing
about 2-3 days ago, I noticed that the log out function has stopped
working. It plays the log out sound, and then a black console screen,
and absolutely no response to any combination of keys (ctrl-alt-del,
ctrl-alt-f{1-5}). But it is not frozen, because if I press the on/off
button of the laptop, it begins the shutdown process.

Does this happen to anybody else? Should I report it as a bug?
I googled it and found several references of the problem, although old
(around April 2009).

Cheers,
G.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Can't boot custom compiled 2.6.30 amd64 kernel

2009-09-26 Thread Andrew Perrin
Appreciate all the replies. However I have never used an initrd in the 
past (been building kernels since the 2.0.x series) and don't want to this 
time. sata and ext3 drivers are built into the kernel (not modules) so I 
don't think I should need one. Any thoughts as to why I apparently do, or 
how to continue not to need one?


ap

--
Andrew J Perrin - andrew_perrin (at) unc.edu - http://perrin.socsci.unc.edu
Associate Professor of Sociology; Book Review Editor, _Social Forces_
University of North Carolina - CB#3210, Chapel Hill, NC 27599-3210 USA



On Sat, 26 Sep 2009, mess-mate wrote:


Andrew Perrin wrote:


Hey all - I'm having more trouble than I ever have before booting my 
newly-compiled 2.6.30 kernel. Typically make-kpkg linux-image makes a 
usable .deb file, which I can install and be done with it. In this case I 
keep getting:


kernel panic: no init found. Unable to mount root fs on unknown-block(0,0).

I have tried the following:

- Using the UUID addressing instead of /dev/sda1 for the root= kernel
parameter
- Compiling the kernel both with and without initrd support

Of interest is that the stock 2.6.30-amd64 kernel boots fine. I am posting 
my /boot/grub/grub.cfg file and the .config file to 
http://perrin.socsci.unc.edu/stuff/grub.cfg and 
http://perrin.socsci.unc.edu/stuff/config for the custom kernel. I am 
running debian testing. Any advice would be most helpful!


Thanks,
Andy


--
Andrew J Perrin - andrew_perrin (at) unc.edu - http://perrin.socsci.unc.edu
Associate Professor of Sociology; Book Review Editor, _Social Forces_
University of North Carolina - CB#3210, Chapel Hill, NC 27599-3210 USA




Got the same error on squeed.
A update-initramfs solved the problem.




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






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