Re: MTA slow to start

2005-12-23 Thread mikepolniak
On 22:22 Thu 22 Dec , Tyler Smith wrote:
 During boot up it takes about 30 seconds for MTA to start for my Etch 
 install. With Sarge on the same box this takes less than a second. Can I 
 fix this somehow? I'm running a single desktop computer, connected via 
 an NIC through a router to highspeed DSL, and I get all my mail from pop 
 accounts with Thunderbird. Do I even need an MTA?

Assuming you are using Exim4, the README.Debian in the docs lists a
number of ways to solve this by limiting the DNS lookup including:

use dc_minimaldns='true'

(Either edit /etc/exim4/update-exim4.conf.conf or use dpkg-reconfigure 
exim4-conf).


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



Re: Check that all packages are stable

2005-12-08 Thread mikepolniak
On 10:02 Thu 08 Dec , Jacob Friis Saxberg wrote:
 Hello.
 
 How can I check that all my packages are from stable?

apt-show-versions|wc  apt-show-versions|fgrep /stable|wc


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



Re: /etc/resolv.conf replaced!

2005-12-06 Thread mikepolniak
On 17:25 Tue 06 Dec , Hal Vaughan wrote:
 During the past two days I've had power flickers and outages from snow.  I 
 have not yet been able to attach a new system to a UPS (too many things to 
 move), and it's lost power a few times.  When it reboots, it cannot 
 communicate with the network.  I checked, and /etc/resolv.conf is no longer 
 there.  It has been replaced by a link to /etc/resolvconf/run/resolv.conf, 
 and /etc/resolvconf/run is linked to /dev/shm/resolvconf.  There is no 
 corresponding file in /dev/shm/resolvconf to work with.
 
 I've found references to the other files on Google, but nothing clear telling 
 what is going on.  There are references that make me think some program 
 *thinks* it is supposed to do this (so I doubt it's a virus), but I need to 
 find out what is going on so I can either stop it or make sure it does it 
 right.
 
 So how can I stop this from happening at reboot?  What is doing it?  Is it a 
 boot thing, or a re-configure thing?

dpkg -l resolvconf will show you now have resolvconf installed. This is
actually a good thing as it will dynamically create a new
/etc/resolv.conf file if the nameserver info is updated by some server program
like dhcp-client.

You proably need to edit /etc/network/interfaces and set the dns-* lines.
Then run /etc/init.d/resolvconf reload.


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



Re: scanner device ?

2005-12-06 Thread mikepolniak
On 23:12 Tue 06 Dec , Rakotomandimby Mihamina wrote:
 Hi,
 
 I have an HP 2200C USB scanner.
 I am running unstable
 I installed sane and xsane.
 When I turn the scanner on, sane-find-scanner finds it when launched as
 root.
 The problem is when I launch xsane as root, I find the scanner and may
 scan, but when doing it as a simple user no device is found.

You need to add the user to the scanner and saned groups. 


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



Re: Exim4 LOG

2005-11-29 Thread mikepolniak
On 22:34 Tue 29 Nov , Marco wrote:
 Hi all,
 how to disable loggin to syslog, mail.log, mail.info, mail.err, 
 mail.warn for exim4?
 I would want to leave only /var/log/exim/* log
 
 Any idea?

edit /etc/syslog.conf


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



Re: 2.6.14 kernel woes

2005-11-28 Thread mikepolniak
On 12:21 Sun 27 Nov , Randall J. Parr wrote:
 David Baron wrote:
 
 I now get /var/log/boot messages like
 -
 Sun Nov 27 08:01:27 2005: ^[[33m*^[[39;49m /etc/network/options is 
 deprecated.

Just remove /etc/network/options

 Sun Nov 27 08:01:27 2005: Setting up IP spoofing protection...done 
 (rp_filter).
 Sun Nov 27 08:01:27 2005: Configuring network interfaces...SIOCSIFADDR: 
 No such device
 Sun Nov 27 08:01:38 2005: eth0: ERROR while getting interface flags: No 
 such device
 Sun Nov 27 08:01:38 2005: SIOCSIFNETMASK: No such device
 Sun Nov 27 08:01:38 2005: SIOCSIFBRDADDR: No such device
 Sun Nov 27 08:01:38 2005: eth0: ERROR while getting interface flags: No 
 such device
 Sun Nov 27 08:01:38 2005: eth0: ERROR while getting interface flags: No 
 such device
 Sun Nov 27 08:01:38 2005: Failed to bring up eth0.
 Sun Nov 27 08:01:38 2005: SIOCSIFADDR: No such device
 Sun Nov 27 08:01:38 2005: eth0:1: ERROR while getting interface flags: 
 No such device
 Sun Nov 27 08:01:38 2005: SIOCSIFNETMASK: No such device
 Sun Nov 27 08:01:39 2005: eth0:1: ERROR while getting interface flags: 
 No such device
 Sun Nov 27 08:01:39 2005: Failed to bring up eth0:1.
 Sun Nov 27 08:01:39 2005: done.
 --
 
 and my Intel e1000 will no longer initialize. 
 
and restart networking, should bring your eth0 up.


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



Re: Open ports in Debian

2005-11-22 Thread mikepolniak
On 00:54 Wed 23 Nov , Rutger Wessels wrote:
 Hello,
 
 I administer a debian installation that is connected to the Internet. 
 When I run nmap, I found the following:
 Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-11-23 00:29 CET
 Interesting ports on xx
 (The 1657 ports scanned but not shown below are in state: closed)
 PORTSTATE SERVICE
 22/tcp  open  ssh
 25/tcp  open  smtp
 80/tcp  open  http
 111/tcp open  rpcbind
 113/tcp open  auth
 903/tcp open  iss-console-mgr
 
 22,25,80 that are the ones I understand. But what are the other ones? Is 
 it harmful to have them open?

You can grep 113 /etc/services and find many services.
 Also you scanned 1657 ports with nmap. To scan more add the ports
option:
-p 20-65535


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



Re: multiple default gateways

2005-11-22 Thread mikepolniak
On 11:48 Tue 22 Nov , James Ireson wrote:
 Hi,
 
 I'm trying to setup my network with multiple default gateways from a
 debian linux box running 2.6.11.10.
 
 I've read lartc.org/howto/lartc.rpdb.multiple-links.html and understand
 about setting up the routes for each interface in separate routing
 tables.
 
 I have added the table names into my rp_tables file and ip route show
 table demon/ rednet shows that there's nothing in those tables.
 
 However when I try an add a route into the tables it accepts my command,
 ip route add 213.246.137.16/30 dev eth3 src 213.246.137.18 table rednet
 
 , but it gets added into the main routing table.
 
First add a rule with 'ip rule' to select some packets that do a rednet table 
lookup.
Then run 'ip rule list' to show the table list with rednet added.

Now you have to generate something in the rednet table with e.g.

ip route add  default via xxx.xxx.xxx.xxx dev ethX table rednet

and check it with:

ip route show table rednet

and finally: ip route flush cache



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



Re: need a Swiss Army Knife rescue disk

2005-11-20 Thread mikepolniak
On 21:58 Sun 20 Nov , Joachim Fahnenmüller wrote:
 On Sat, Nov 19, 2005 at 03:21:41PM -0500, mikepolniak wrote:
  I have used the Debian install cd as a rescue disk and in the past also
  the 'BBC-business-card', 'System-Rescue-cd' and Knoppix.
  
  Knoppix is OK for Debian rescue but a big d/l and the others seem a
  little outdated. I need one that includes iproute, rsync, LVM and grub. 
  
  Has anyone come across an up-to-date cd rescue disk that is small in size
  and has all the essential admin and Debian tools in their latest versions?
 
 Try
 http://www.inside-security.de/insert_en.html
 
 HTH

Yes..that looks very nice. I have been trying it out loaded into ram and
it seems to have all the tools i need plus my favorite file manager- emelfm. 

The gui with firefox works fine also. I also found another rescue cd
called finnix http://www.finnix.org/

It is console based only and based on Debian with the latest Debian tools
and kernel-2.6.14.

Now with these two CD's i have everything i need.
 


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



Re: udev, module-init-tools, 2.6.14

2005-11-20 Thread mikepolniak
On 15:09 Sun 20 Nov , Jim McCloskey wrote:
 
 Hello. For a variety of reasons, I want to install a hand-compiled
 (and patched) 2.6.14 kernel. I have two questions concerning that.
 
 [1] At present, I have udev version 056 from stable, but the Changes
 file in the kernel documentation recommends at least udev 058. Testing
 and Unstable both have a much newer version of udev: 074. But when I
 try to install this version, apt wants to remove both the hotplug and
 module-init-tools packages. I gather that these later versions of udev
 are supposed to supplant hotplug. But surely module-init-tools should
 not be removed from the system? Can anyone shed any light on this?
 The changelog for udev includes:
 
   * Added conflicts with hotplug and with module-init-tools
 releases without support for /etc/hotplug/blacklist.d/.
 
 Does this mean that there is no way at present to have both udev and
 module-init-tools installed simultaneously in testing/unstable?
 
I have been running my custom 2.6.14 kernel with udev 074 for a few
weeks. This latest version of udev removes hotplug and you can also remove
all references to hotplug in /etc/*

But i did not have any conflict with module-init-tools. So you should
not remove it. You could get around this by d/l the udev-074*.deb
and using dpkg to install it and then purge hotplug.

You can ask the udev developers about that ChangeLog on the list at
linux.hotplug.devel


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



need a Swiss Army Knife rescue disk

2005-11-19 Thread mikepolniak
I have used the Debian install cd as a rescue disk and in the past also
the 'BBC-business-card', 'System-Rescue-cd' and Knoppix.

Knoppix is OK for Debian rescue but a big d/l and the others seem a
little outdated. I need one that includes iproute, rsync, LVM and grub. 

Has anyone come across an up-to-date cd rescue disk that is small in size
and has all the essential admin and Debian tools in their latest versions?

  


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



Re: usb printer disappeared (dist-upgrade?)

2005-11-14 Thread mikepolniak
On 07:48 Mon 14 Nov , Mario Frasca wrote:
 mikepolniak wrote:
 Check /dev for lp0. You may have to link your lp0 - /dev/usb/lp0
 
 , but no, the problem is that /dev/usb/lp0 does not exist, not 
 /dev/lp0.  well, I tried but the behaviour was the same...
 
 kruiskruid:/dev# ls -l lp*
 lrwxrwxrwx  1 root root   12 2005-11-14 07:36 lp0 - /dev/usb/lp0
 crw-rw  1 root lp   6, 0 2002-03-14 10:11 lp0.non-usb
 crw-rw  1 root lp   6, 1 2002-03-14 10:11 lp1
 crw-rw  1 root lp   6, 2 2002-03-14 10:11 lp2
 
 Unable to open USB device usb:/dev/usb/lp0: No such device

Then you can do mkdir /dev/usb and mknod -m 660 /dev/usb/lp0 c 180 0

If you use udev this can be put in /etc/udev/links.conf.


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



Re: usb printer disappeared (dist-upgrade?)

2005-11-13 Thread mikepolniak
On 21:28 Sun 13 Nov , Mario Frasca wrote:
 it seems quite stupid, I'm using to linux since 1993 more or less, but 
 all these modern graphic or automatic fluffs don't help me much...
 
 well, the problem is that I cannot print any more.  cups did work and 
 the only cause I can think of is a dist-upgrade.
 
 my printer is an epson stylus c46, connected via usb to an flower 
 power iMac of 2001.
 
 yes, I'm running Debian GNU/linux, which distribution, well, that is a 
 problem.  I installed woody from cdroms, then I moved to sarge because 
 of the audio drivers, but my mistake was to actually move to testing 
 rather than the literal sarge.  now I am on testing which is etch, if 
 I understood the logic.  I was trying to move back to sarge: to do that 
 I wrote some information into /etc/apt/preferences which probably was 
 not such a good idea (I got some unstable packages.!), anyways, this is 
 an other problem, let's go back to the printer...
 
 it stopped working and my recovery procedures stopped working as well.
 I removed it, reinstalled, removed and purged, reinstalled, reiterated, 
 reconfigured, retried, but not recovered.  everything looks just perfect 
 as long as I don't try printing anything!
 
 apt-get --purge remove cupsys cups-pdf cupsys-driver-gimpprint
 apt-get install cupsys cups-pdf cupsys-driver-gimpprint 
 cupsys-driver-gimpprint-data
 
 I start cups and it says everything is all right.
 DefaultPrinter epson
 Info epson stylus C46
 Location usb://EPSON/Stylus C46
 DeviceURI usb:/dev/usb/lp0
 State Idle
 Accepting Yes
 JobSheets none none
 QuotaPeriod 0
 PageLimit 0
 KLimit 0
 /Printer
 
 so you say everything is all right, right, then print something!
 no.
 DefaultPrinter epson
 Info epson stylus C46
 Location usb://EPSON/Stylus C46
 DeviceURI usb:/dev/usb/lp0
 State Stopped
 StateMessage Unable to open USB device usb:/dev/usb/lp0: No such device

Check /dev for lp0. You may have to link your lp0 - /dev/usb/lp0


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



Re: Syslogd

2005-11-12 Thread mikepolniak
On 12:34 Sat 12 Nov , Roy wrote:
 In /var/log/messages  the following lines are apprearing:
 
 Date  Time  machine name -- MARK --
 Date  Time  machine name -- MARK --
 Date  Time  machine name -- MARK --
 
 I'm using the following command, below to get rid of them, but i'm getting an 
 error message: syslogd: no process killed. -Bash:  /usr/sbin/syslogd: no such 
 file or directory.
 
 # killall syslogd; /usr/sbin/syslogd -m -o

If you want t turn off the MARK lines edit /etc/init.d/sysklogd
and set the mark interval to zero:

SYSLOGD=-m 0


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



Re: pccardd: what is this ?!

2005-11-12 Thread mikepolniak
On 11:04 Sat 12 Nov , Paulo M C Aragão wrote:
 Hi,
 
 I noticed today the following daemons running:
 
 UIDPID  PPID  C STIME TTY  TIME CMD
 root  1121 1  0 Nov11 ?00:00:00 [pccardd]
 root  1123 1  0 Nov11 ?00:00:00 [pccardd]
 
 but can't establish what they are.
 
 I'm running:
 
 updated Debian sid
 kernel 2.6.14-1-686
 pcmcia-cs 3.2.8-5.2
 
 I've tried:
 
 dpkg -S pccardd
 grep pccardd /etc/init.d/*
 find /bin /usr/bin /sbin /usr/sbin -name pccardd
 
 but it's nowhere.
 
 I also noticed that the link /proc/1123/exe is broken.
 
 I googled for 'pccardd' and all hits referred to FreeBSD. It looks like it's 
 functionally equivalent to cardmgr(8). But no hits referred to Debian.
 
 I started to worry that my laptop might have been attacked.
 
 Does anybody know what are these 'pccardd' daemons ?

See CONFIG_PCCARD=m in your kernel config. This is the pcmcia_core
module.


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



Re: Multiple ISP connection

2005-11-11 Thread mikepolniak
On 18:39 Fri 11 Nov , choy wrote:
 Hi,
 
 I have a web server connected indirectly to the Internet(ISP - router
 - server eth0). I've setup NAT port forward in the router so all web
 server connections are forwarded to server. Recently, I've added a new
 ethernet card(eth1) to the server, and it has a public ip(ISP -
 server eth1). After ifup'ing eth1, I can't connect to my server from
 old IP(eth0) anymore, but from new ip is OK. If I ifdown eth1, eth0
 work as before.
 
 So my question is: how can I config the server so both connection
 (eth0 and eth1) can connect to my server?
 
One way to do this is with iproute. Read Linux Advanced Routing  Traffic
Control HOWTO sec 4.2  Routing for multiple uplinks/providers;  
in which there are two providers that connect a local network (or even a 
single machine) to the big Internet.

http://lartc.org/howto/lartc.rpdb.multiple-links.html#AEN268

You will need to install iproute and set up routing tables in 
/etc/iproute2/rt_tables  something like this example, etc.

  ip route add $P1_NET dev $IF1 src $IP1 table T1
  ip route add default via $P1 table T1
  ip route add $P2_NET dev $IF2 src $IP2 table T2
  ip route add default via $P2 table T2



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



Re: Debian sid and udev problem.

2005-11-10 Thread mikepolniak
On 20:24 Thu 10 Nov , Jon Jahren wrote:

snip
 Preparing to replace udev 0.056-3 
 (using .../archives/udev_0.074-2_i386.deb) ...
 ln: creating symbolic link `/etc/udev/rules.d/z55_hotplug.rules' to 
 `../hotplug.rules': No such file or directory
 dpkg: error processing /var/cache/apt/archives/udev_0.074-2_i386.deb 
 (--unpack):
  subprocess pre-installation script returned error exit status 1
 Errors were encountered while processing:
  /var/cache/apt/archives/udev_0.074-2_i386.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 
 
 
 As far as I can tell, it's failing at making a symlink to ../hotplug.rules in 
 the /etc/udev/rules directory, so I tried manually making the hotplug.rules 
 directory, which didn't work.

I just installed udev-0.74-2 and the link to hotplug.rules file is
created.

There is now a new file /etc/udev/hotplug.rules in addition to the
original /etc/udev/hotplugd.rules file.

I would d/l the udev_0.074-2_i386.deb again and try again. My udev*.deb is for
amd64 so maybe the i386.deb was corrupted.


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



Re: dhclient assigns new IP address every time

2005-11-10 Thread mikepolniak
On 17:32 Thu 10 Nov , kamaraju kusumanchi wrote:
 My computer is behind a router (linksys BEFSR41). The computer and the 
 router are connected by ethernet cable (ie no wireless). Every time I 
 run, 'sudo dhclient', the IP address assigned to the computer is 
 different. For example, sometimes I get 192.168.1.101, 192.168.1.100, 
 192.168.1.102 etc., Is there any way to always get the same IP address 
 assigned when I run dhclient? If dhclient cannot do this, are there any 
 other alternatives?
 
Just set up /etc/dhclient.conf with a line to set the address, then it
will always create an alias for the dhcp address that is 192.168.1.101

alias { 
interface eth0;
fixed-address 192.168.1.101;
option subnet-mask 255.255.255.255;
} 



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



Re: Many packages missing from testing

2005-11-10 Thread mikepolniak
On 01:01 Fri 11 Nov , Joona Kiiski wrote:
  Certainly not.  If you want unstable packages, then use *unstable*.  If
  you want to help test the next Debian release, then use *testing*.  If
  you want something that will always work, then use *stable*.
 
 Yes, I've tried them all.
 * Unstable was a bit too unstable for my taste.
 * Stable is fine, but I don't really enjoy using only old software.
 Often there comes new interesting software in testing, which really is
 stable enough for me and installing it in stable is hard
 (download+check dependencies+compile+install) and could easily lead to
 bad problems (library incompatibilities etc.).
 * So that's why my choice is and will be testing. 98% of the time it
 fits my bill perfectly. And sometimes (I hope) I can file an useful
 bug report which can help the development of debian. It's just sad
 that rarely testing gets 'broken' as badly as it's now, but if it
 can't be avoided then it can't be avoided and that's it. I can live
 with it: just postpone 'dist-upgrade' long enough or change to
 unstable for a while.
 
This is not a perfect solution for your requirements but you could try
apt-pinning. I use this setup for my amd64 with 'testing' as the default. 

/etc/apt/apt.conf.d/30default-release
APT::Default-Release testing;

and

/etc/apt/preferences

Package: *
Pin: release a=stable
Pin-Priority: 700


Package: *
Pin: release a=testing
Pin-Priority: 600

Package: *
Pin: release a=unstable
Pin-Priority: 500

Package: *
Pin: release a=experimental
Pin-Priority: 1

see this link:
http://serios.net/content/debian/apt-pinning.php? 


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



Re: Network Interfaces Not Initialized On Boot

2005-11-07 Thread mikepolniak
On 16:40 Sun 06 Nov , Cloaked Hunter wrote:
 I'm running the testing release of Debian. I recently updated my Debian
 packages, and I also built and installed a new 2.6.14 kernel. Now,
 regardless of what kernel I boot, none of my network interfaces will
 initialize during boot, not even the loopback interface. If I manually
 start them using ifup -a, everything works perfectly, but I cannot
 identify what is preventing them from initializing automatically during
 boot. Any suggestions? Thanks in advance for any help you can provide.

Check if you still have a /etc/network/options file. That has been
deprecated. If you remove or rename that file, networking should start again.


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



Re: 2.6.14 Problems (was Re: sarge: 2.6.14 kernel panics on boot)

2005-11-07 Thread mikepolniak
On 21:56 Sun 06 Nov , Hendrik Sattler wrote:
 David Baron wrote:
 
  On Sunday 06 November 2005 19:32,
  [EMAIL PROTECTED] wrote:
  Thats because devfs is creating the nodes in kernels  2.6.14.
  With 2.6.14 DEVFS is no longer supported in the kernel, so you have
  to use another method to create device nodes like udev (the new way)
  or MAKEDEV( the old way, before devfs).
  
  Could this be why alsa audio is not working in this kernel?
  
  For those having trouble booting, my advice: Make your own initrd using
  the old and trusty mkinitrd rather than the new yaird stuff.
 
 If you build your own kernel, there is rarely a reason to use an initrd. And 
 if you don't use one, you don't have problems with it.

I agree, unless you administer many pc's with different file systems and
disk contollers you don't need initrd.img to load modules for you. Just
make sure to compile your root filesystem and disk controller into your
kernel and boot away.

As for alsa, i have had no problems with it using lernel-2.6.14. And i
even tested yaird to make an initrd, with no problems. YMMV.


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



Re: pcmcia/cardbus issue after 2.6.14 kernel upgrade

2005-11-07 Thread mikepolniak
On 10:06 Mon 07 Nov , Matt Price wrote:
 hi folks,
 
 in an effort to get acpi workingo n my laptop (THinkpad 600e) I've
 upgraded to 2.6.14 kernel.  Seemswo work fine!  Except I'm having
 trouble with my wireless card (D-Link DWL-650+).  The third-party
 driver compiled andi nstalled fine, but when I insert the card I get
 the message:
 cs: pcmcia_socket1: cardbus cards are not supported.
 Now, I think that I've configured the kernel to support cardbus --
 here's the relevant bits of my config file, as installed by the .deb I
 made:   
 
 # Linux kernel version: 2.6.14-suspend2-upstream-p2
 # Sun Nov  6 21:34:11 2005
 # snip
 #
 # Bus options (PCI, PCMCIA, EISA, MCA, ISA)
 #
 CONFIG_PCI=y
 # snip
 # PCCARD (PCMCIA/CardBus) support
 #
 CONFIG_PCCARD=m
 # CONFIG_PCMCIA_DEBUG is not set
 CONFIG_PCMCIA=m
 CONFIG_PCMCIA_LOAD_CIS=y
 CONFIG_PCMCIA_IOCTL=y
 CONFIG_CARDBUS=y
 
 #
 # PC-card bridges
 #
 CONFIG_YENTA=m
 CONFIG_PD6729=m
 CONFIG_I82092=m
 CONFIG_I82365=m
 CONFIG_TCIC=m
 CONFIG_PCMCIA_PROBE=y
 CONFIG_PCCARD_NONSTATIC=m
 
 #
 #
 # Wireless 802.11b Pcmcia/Cardbus cards support
 #
 CONFIG_PCMCIA_HERMES=m
 # CONFIG_PCMCIA_SPECTRUM is not set
 CONFIG_AIRO_CS=m
 CONFIG_PCMCIA_ATMEL=m
 CONFIG_PCMCIA_WL3501=m
 
 #
 # PCMCIA network device support
 #
 CONFIG_NET_PCMCIA=y
 CONFIG_PCMCIA_3C589=m
 CONFIG_PCMCIA_3C574=m
 CONFIG_PCMCIA_FMVJ18X=m
 CONFIG_PCMCIA_PCNET=m
 CONFIG_PCMCIA_NMCLAN=m
 CONFIG_PCMCIA_SMC91C92=m
 CONFIG_PCMCIA_XIRC2PS=m
 CONFIG_PCMCIA_AXNET=m
 CONFIG_ARCNET_COM20020_CS=m
 CONFIG_PCMCIA_IBMTR=m
 
 just about every possible pcmcia option seems to be enabled.  ANy
 hints as to what I might have done wrong here?  Or what the next
 debugging step would be?  thanks,
 

I think you have all the necessary CONFIG's, but is the cardmgr daemon
running (/etc/init.d/pcmcia)?


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



Re: External SCSI Hard Drive Not Auto-mounting

2005-11-06 Thread mikepolniak
On 00:45 Sun 06 Nov , Scarletdown wrote:
 I just recently installed an Adaptec AHA-2940UW SCSI adapter, so I could
 make use of this spare 4.3GB external SCSI hard drive.  Anyway, I
 partitioned the drive and used mkfs to create an ext3 file system on it.
 
 I then created a mount point for it /workspace/Multimedia, and updated
 my fstab file, which now looks like this:
 
 proc/proc procdefaults0   0
 /dev/hda1   /   ext3defaults,errors=remount-ro 0   1
 /dev/hda10  /archives   ext3defaults0   2
 /dev/hdb1   /home   ext3defaults0   2
 /dev/hda7   /optext3defaults0   2
 /dev/hda6   /root   ext3defaults0   2
 /dev/hdb2   /shared ext3defaults0   2
 /dev/hda5   /tmpext3defaults0   2
 /dev/hda9   /usrext3defaults0   2
 /dev/hda8   /varext3defaults0   2
 /dev/hdb3   /workspace  ext3defaults0   2
 /dev/hdd1   /shared/Public  ext3defaults0   2
 /dev/hda4   noneswapsw  0   0
 /dev/sda1   /workspace/Multimedia   ext3defaults0   0
 /dev/hdc/dvd  iso9660 defaults,ro,user,noauto  0   0
 /dev/fd0/media/floppy0  autorw,user,noauto  0   0
 
 I suspect the problem has to do with my partitions being mounted during
 boot up before the SCSI drivers are loaded.  If this is the case, then
 is there a way to get the SCSI drivers to load earlier in the boot
 process?  I can mount the partition manually after logging in, so I know
 that the drive itself is good.

If you compile your SCSI driver into the kernel (not as module), your
disk will be recognized. If you also have your root filesystem (ext3)
compiled into the kernel, you should be able to boot, even without a
initrd.img (assuming you are using one).


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



Re: sarge: 2.6.14 kernel panics on boot

2005-11-06 Thread mikepolniak
On 15:41 Sun 06 Nov , Alex Teclo wrote:
  Here is the entry in /boot/grub/menu.lst on machine A:
  title   Debian GNU/Linux, kernel 2.6.14
  root   (hd0,4)
  kernel/vmlinuz-2.6.14 root=/dev/ataraid/d0p7 ro
  initrd  /initrd.img-2.6.14
  savedefault
  boot
 
  But, when I boot machine A with this 2.6.14 kernel, I get:
 
  RAMDISK: cramfs filesystem found at block 0
  RAMDISK: Loading 2144 KiB [1 disk] into ram disk... done
  mount: unknown filesystem type 'devfs'
  umount: devfs: not mounted
  mount: unknown filesystem type 'devfs'
  umount: devfs: not mounted
  pivot_root: No such file or directory
  /sbin/init: 432: cannot open dev/console: No such file
  Kernel panic - not syncing: Attempted to kill init!
 
 You need to create the /dev/console file. Use a rescue disk and run:
 mknod -m 660 /dev/console c 5 1
 
 When you reboot, i would install udev to create your device nodes.
 
 Thanks for the hint, but I can boot the machine with a 2.4.x kernel,
 and /dev/console is there:
 
 ls -l /dev/console
 crw---  1 root tty 5, 1 Nov  6 15:37 /dev/console

Thats because devfs is creating the nodes in kernels  2.6.14. 
With 2.6.14 DEVFS is no longer supported in the kernel, so you have
to use another method to create device nodes like udev (the new way) 
or MAKEDEV( the old way, before devfs).


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



Re: sata_sis on 2.4.27 vs 2.6.8

2005-11-06 Thread mikepolniak
On 16:18 Sat 05 Nov , Facundo Ariel Perez wrote:
 I'm running a debian sarge on PIV / asus motherboard / using the  181
 chipset for my serial ata 80 gb drive.
 It installs and runs ok using kernel 2.4.27 - but when I upgrade to
 kernel 2.6.8 the systems crash on while booting just after showing the
 disk's detailed information.
 I've tryed both a pre-compiled kernel and a self-made kernel from
 sources ... In both cases, the result is the same.
 Apparently, the problem is related with the module sata_sis ( I've tried
 it as a module and compiled into kernel ).
 
Without your error messages, i am just guessing here, but if you have the
sata_sis compiled into the kernel then your drives have to be changed in
/etc/fstab to /dev/sdaX and in lilo/grub. Also its a good idea to have your root
filesystem (e.g. ext3) compiled into the kernel.


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



Re: sarge: 2.6.14 kernel panics on boot

2005-11-05 Thread mikepolniak
On 23:43 Sat 05 Nov , Alex Teclo wrote:
 I am having problems with a 2.6.14 kernel.
 
snip 
 Here is the entry in /boot/grub/menu.lst on machine A:
 title   Debian GNU/Linux, kernel 2.6.14
 root   (hd0,4)
 kernel/vmlinuz- 2.6.14 root=/dev/ataraid/d0p7 ro
 initrd  /initrd.img-2.6.14
 savedefault
 boot
 
 But, when I boot machine A with this 2.6.14 kernel, I get:
 
 RAMDISK: cramfs filesystem found at block 0
 RAMDISK: Loading 2144 KiB [1 disk] into ram disk... done
 mount: unknown filesystem type 'devfs'
 umount: devfs: not mounted
 mount: unknown filesystem type 'devfs'
 umount: devfs: not mounted
 pivot_root: No such file or directory
 /sbin/init: 432: cannot open dev/console: No such file
 Kernel panic - not syncing: Attempted to kill init!
 
You need to create the /dev/console file. Use a rescue disk and run:
mknod -m 660 /dev/console c 5 1

When you reboot, i would install udev to create your device nodes.

 You're gonna say Well, just remove devfs from the kernel, you don't need it.
 But in 2.6.14 there is no devfs, it's completely gone. make config
 never asks you about devfs.
 
 This problem is very puzzling: how can two machines with very same
 software configuration yield so different results ?
 Regarding the kernel compilation, I tried building the kernel both
 with make-kpkg and the handmade way, it does not solve the problem.
 
 Perhaps is it an hardware problem.
 Machine A has a ATA/RAID controller while machine B has a normal IDE
 controller. But:
 1) I did include the required ATA/RAID drivers in the 2.6.14 kernel,
 both on machine A and machine B. Again, it's the very same kernel:
 machine B doesn't need the ATA/RAID driver, but it doesn't hurt if
 it's present.
 2) If you look at the boot process on machine A, you can see VFS:
 Mounted root (cramfs filesystem) readonly. initrd-tools: 0.1.81.1.
 This means machine A is able to mount its root filesystem and its
 initrd image.
 
 Last thing: I don't know if it's related, but when I install the
 kernel on machine A with dpkg -i
 kernel-image-2.6.14_10.00.Custom_i386.deb, I get the following error
 message:
 
 Setting up kernel-image-2.6.14 (10.00.Custom) ...
 /usr/sbin/mkinitrd: add_modules_dep_2_5: modprobe failed
 FATAL: Module hptraid not found.
 FATAL: Module pdcraid not found.
 WARNING: This failure MAY indicate that your kernel will not boot!
 but it can also be triggered by needed modules being compiled into
 the kernel.
 
I assume you built the raid drivers into the kernel not as modules.
So they should work. If you have all the drivers your hardware needs
compiled into the kernel or as kernel modules, you don't need to use the
initrd.img to load modules. You can just delete the initrd line from grub.

Using initrd.img is usefull when its necessary to boot onto many
different pc's with a large variety filesystems and drive controllers 
and you don't want all these built into the kernel. 


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



Re: finding files by content from the command-line

2005-11-04 Thread mikepolniak
On 10:36 Fri 04 Nov , Matt Price wrote:
 Having checked out beagle and quite liked it, I seet here ae also
 various graphical file-finding tools outthere, e.g. the gnome search
 for files program, that allow content searches (e.g., contains the
 text-type searhcing).  In many cases similar effects can be achieved
 using find andor grep, but when searching for an mp3 or for text in an
 openoffice document this strikes me as inefficient.  Does anyone know
 of a command-line tool that can deploy backends like pdf2text  other
 such readers to search for text or tags in a directory hierarchy?  And
 if not, do you think that's because such a tool simply isn't
 necessary, and I should just learn to limit my grep/find searches a
 little more efficiently?
 
I have used 'glimpse' for searching text in files:

Glimpse (which stands for GLobal IMPlicit SEarch) is a very popular UNIX
indexing and query system that allows you to search through a large set
of files very quickly. Glimpse supports most of agrep's options (agrep is
our powerful version of grep) including approximate matching (e.g.,
finding misspelled words), Boolean queries, and even some limited forms
of regular expressions.
 


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



Re: usb storage mount problem

2005-11-03 Thread mikepolniak
On 17:36 Thu 03 Nov , salahuddin pasha wrote:
 when i try to mount usb storage [kingston 256mb]
 
 is shows me
 =
 mount: wrong fs type, bad option, bad superblock on /dev/sda1,
 missing codepage or other error

Check if your kernel config has:

CONFIG_NLS_CODEPAGE_437=m




 In some cases useful info is found in syslog - try
 dmesg | tail or so
 =
 
 
 the dmesg says that
 ===
 Buffer I/O error on device sda1, logical block 508378412
 Buffer I/O error on device sda1, logical block 508378412
 Buffer I/O error on device sda1, logical block 508378412
 Buffer I/O error on device sda1, logical block 508378412
 Buffer I/O error on device sda1, logical block 508378405
 Buffer I/O error on device sda1, logical block 508378405
 FAT: invalid media value (0xb9)
 VFS: Can't find a valid FAT filesystem on dev sda1.
 FAT: invalid media value (0xb9)
 VFS: Can't find a valid FAT filesystem on dev sda1.
 
 
 but the amazing thing is when i format it is using gparted then udev mount
 it auto just after finished format
 
 but after reconnect udev cound not mount it. (i also can't mount it
 manually)
 
 it works nicely in windows XP that i alwasy try to avoid.
 (i have also try after format this in windows then it show same messag in
 linux)
 
 thanx
 --
 -salahuddin_66


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



Re: usb storage mount problem

2005-11-03 Thread mikepolniak
On 18:53 Thu 03 Nov , salahuddin pasha wrote:
 ya. there is,
 
 CONFIG_NLS_CODEPAGE_437=m
 
 
 the another problem is udev can mount some usb storate not all.
 
 like this usb (which i can't mount now in debian)
 ( i had mount it many days ago in debian but from some months i can't mount
 it both in sarge and sid) (still it is oky in windows)
 
 kubuntu mount it auto. :(
 (i have removed kubuntu becoz i did not like it  now using debian sarge and
 debian unstable in two different partitons)
 
 thanx
 
 On 11/3/05, mikepolniak [EMAIL PROTECTED] wrote:
 
  On 17:36 Thu 03 Nov , salahuddin pasha wrote:
   when i try to mount usb storage [kingston 256mb]
  
   is shows me
   =
   mount: wrong fs type, bad option, bad superblock on /dev/sda1,
   missing codepage or other error
 
  Check if your kernel config has:
 
  CONFIG_NLS_CODEPAGE_437=m
 
 
 
 
   In some cases useful info is found in syslog - try
   dmesg | tail or so

You might want to get more info by setting kernel config:

# CONFIG_USB_DEBUG= 
# CONFIG_USB_STORAGE_DEBUG= 


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



Re: KVM switch and debian

2005-11-03 Thread mikepolniak
On 09:44 Thu 03 Nov , Richard Swen wrote:
 I currently have the following setup at home.
 
 Linksys DSL Router working as a DHCP Server.
 
 1 Windows NT machine with an HP DeskJet 960C printer
 1 Windows 98 machine.
 
 This is what I want to do.
 Install Debian Sarge on a new machine.
 Connect the Windows 98 and the new machine with a Linksys 
 KVM2KIT (2 port KVM switch).
 
 Question:
 Are there any pitfalls which I should be aware of, or any 
 special considerations I will need to think of when I 
 install debian.

Be sure to read the installation guide:

http://d-i.alioth.debian.org/manual/en.i386/index.html

There should be no problems using a KVM switch. 


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



Re: mailserver absolute noob question

2005-11-02 Thread mikepolniak
On 23:49 Wed 02 Nov , Thomas wrote:

snip

 Is there a logfile or something that can tell me who is actually 
 denying what?
 
 Thanks,
 Thomas
 
 
 Aha, i found out:
 
 mail.log
 Nov  2 23:26:50 localhost postfix/smtpd[14343]: NOQUEUE: reject: RCPT 
 from nova[10.0.0.2]: 554 [EMAIL PROTECTED]: Relay access denied; 
 from=[EMAIL PROTECTED] to=[EMAIL PROTECTED] proto=ESMTP 
 helo=[10.0.0.2]
 
 
 And mail.info
 
 Nov  2 23:30:38 localhost postfix/smtpd[14400]: NOQUEUE: reject: RCPT 
 from nova[10.0.0.2]: 554 [EMAIL PROTECTED]: Relay access denied; 
 from=[EMAIL PROTECTED] to=[EMAIL PROTECTED] proto=ESMTP 
 helo=[10.0.0.2]
 
 
 So i thought, maybe the proble is because im trying to send from a 
 client in the LAN with a local network address 10.x.x.x
 Thus i opened up an email app on the mailserver itself. But i stell get 
 the same:
 Nov  2 23:39:17 localhost postfix/smtpd[14487]: NOQUEUE: reject: RCPT 
 from c217074.adsl.hansenet.de[213.39.217.74]: 554 
 [EMAIL PROTECTED]: Relay access denied; 
 from=[EMAIL PROTECTED] to=[EMAIL PROTECTED] proto=ESMTP 
 helo=c217074.adsl.hansenet.de
 
 :-(
 
For outgoing smtp mail you must use generic mapping of the local user to
[EMAIL PROTECTED] See ADDRESS_REWRITING in the docs. You add this to the 
main.cf :
 
smtp_generic_maps = hash:/etc/postfix/generic
then edit /etc/postfix/generic
and run /usr/sbin/postmap 


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



Re: Stock vs. Debian kernel sources

2005-10-31 Thread mikepolniak
On 17:18 Mon 31 Oct , John O'Hagan wrote:
 Antony Gelberg wrote:
 John O'Hagan wrote: 
 Hi all,
  
  I'm looking for a brief summary of the differences between Debian kernel 
 sources (such as those provided by the linux-source-2.6* packages), and the 
 stock source from kernel.org.
  
If you apt-get install linux-patch-debian-2.6.14, this contains the
Debian patches  (in /usr/src/kernel-patches) that are applied to Debian 
linux-source-2.6.14.orig.tar.gz.


This package includes the patches used to produce the prepackaged
linux-source-2.6.14 package, as well as architecture-specific patches.
Note that these patches do NOT apply against a pristine Linux 2.6.14
kernel but only against the kernel tarball
linux-source-2.6.14_2.6.14.orig.tar.gz from the Debian archive. 


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



Re: (OT) Beginner's Linux book recommendation

2005-10-31 Thread mikepolniak
On 11:09 Mon 31 Oct , [KS] wrote:
 Hi all,
 
 This is a little bit off topic but I thought I might get some good
 recommendations from subscribers to this list.
 
 A friend of mine has just installed Linux (err...SUSE) after a few
 tries. Now that he has his Linux running, he is curious to start
 learning Linux usage. He emailed to know which book is good for learning
 Linux. I haven't ever used a beginner's book to learn the basics so I
 don't know which one to recommend. Does anyone have some experience in
 this regards? Are there books for learning linux worth recommending?
 Also it would be perfect if the sale of each copy contributed to the OSS
 community.
 
 He wants a user oriented book rather than one focusing on
 administration. Also I think it should be a general one rather than for
 a specific distribution.

I use A Practical Guide to Linux by Mark Sobell (forward by Linus
Torvalds). Published by Addison Wesley (1013 pages).

ISBN 0201895498 (just enter the number in google search)


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



Re: how can have a animal in boot screen

2005-10-29 Thread mikepolniak
On 01:27 Sun 30 Oct , biosedit wrote:
 how can have a animal in boot screen
 like freeBSD
 but not a picture
 is make with - - - - - - - (like this

apt-get install linuxlogo

gives you the choice of 4 logos


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



Re: intermittent inability to resolve hostnames using sid

2005-10-28 Thread mikepolniak
On 13:02 Fri 28 Oct , John covici wrote:
 Hi.  I am using sid and the latest bind9 and its libraries and what is
 happening is that either its so slow that many apps time out or
 something else is wrong -- when some app like sendmail tries to look
 up aname, it will time out.  Now if I look up a name and it times out
 and then look it up again, often it will work -- so something is quite
 slow with named.
 

I recommend to take a look at the package resolvconf. This keeps track
of currently available nameservers and supplies this information to clients
like bind. Thus resolvconf dynamically creates a new etc/resolv.conf
when anything in the system like dhcp-client changes domain servers.
 


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



Re: Easy Debian Wireless 101

2005-10-26 Thread mikepolniak
On 00:08 Wed 26 Oct , Steve Lamb wrote:
 Adam Porter wrote:
  There are several web sites dedicated to WiFi on Linux, with extensive
  lists of cards and how they are supported.  Google is your friend.  :)
 
 None of which, when I last googled, has specific instructions for Debian
 with specific card recommendations.  The best they got was chipsets which are
 *not* listed on the boxes!  Nor were they in any way related to Debian.  That
 is why I asked on a Debian list the very specific question I did.  Specific
 card recommendations with specific instrcutions for Debian; not just linux in
 general.
 
I have used Debian with the Orinoco Silver card on an old IBM Thinkpad. Its
been a few years since i set it up but from my notes the drivers used were:
orinoco orinoco-cs hermes ds yenta_socket and pcmcia_core.

The Debian specific info i found in the man pages for cardmgr, cardinfo, pcmcia
and pcmcia_core. You will have to install pcmcia first. To my kernel config
i added the following to get pcmcia support and the necessary drivers:

CONFIG_PCMCIA
CONFIG_CARDBUS
CONFIG_I82365

CONFIG_NET_RADIO
CONFIG_HERMES
CONFIG_PCMCIA_HERMES
CONFIG_NET_WIRELESS
CONFIG_NET_PCMCIA
CONFIG_NET_PCMCIA_RADIO

Also apt-get install pcmcia-cs. This runs the cardmgr daemon. Then edit your 
card 
settings in /etc/pcmcia/wireless.opts and network.opts and 
/etc/network/interfaces. 

I pieced all this info together at the time and don't know if its any
easier to get it working at this time. Two years ago the Orinoco Silver
cost $40 and i got it because it was supposedly the _easiest_ card to setup
in Linux. You can find them on ebay. 


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



Re: Grub and linux-source-2.6.12

2005-10-26 Thread mikepolniak
On 08:58 Wed 26 Oct , Sebastian Canagaratna wrote:
 Hi:
 
   I tried to upgrade to kernel 2.6.12 using linux-source-2.6.12. I am
   using unstable. The compilation goes fine, during which there is a
   message: Root device is (3,2)
 
   I have my root partition in /dev/hda2. In the menu.lst for grub
   I have:
 
   root (hd0,1)
   kernel /boot/vmlinuz-2.6.12 root=/dev/hda2 
 
 
   This is the same for the other kernels I have been using previously:
   2.4.27-2-686; 2.6.11 etc.
 
   Now, however, when I boot up, there is a kernel panic, with the
   message Unable to mount root fs on unknown-block (3,2).
 
   I tried:
 
   rdev /boot/vmlinuz-2.6.12 /dev/hda2
 
   and then tried to boot up, but I had the same problem. I do not have
   an initrd.img; The other two 2.6 kernels I used had an initrd.img, but
   they were precompiled kernels. Are the new kernels supposed to work
   only with an initrd.img or am I make some other mistake.
 
If you used the Debian .config to compile the new kernel its possible the
kernel is not loading a module (normally found in initrd) you need for
your ide or sata hard drive.

You could make the new kernel again with --initrd which would work just
like on the old kernels. 
Or compile the ide or sata driver you need into kernel (not as module) so 
it loads when you boot without the initrd. 


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



Re: Debian Single User mode from grub how??

2005-10-26 Thread mikepolniak
On 22:46 Wed 26 Oct , amalgam.swhe wrote:
 On Wed, Oct 26, 2005 at 07:45:58PM +0530, Siju George wrote:
  Hi,
  
  How can I get into the Debian Sarge Single user mode from grub?
  without giving a password???
  
  passing the single option doesn't seem to work :-(
 set init=/bin/bash?
Just pass the kernel option single like this:
kernel (hd0,0)/boot/vmlinuz root=/dev/hda1 single


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



Re: NO latest scanner support under FC?

2005-10-25 Thread mikepolniak
On 15:21 Tue 25 Oct , Deboo ^ wrote:
 Can someone tell me any latest HP or any other scanner fully supported under
 linux?

I have been using the HP SCanjet 4300C with sane for over a year.


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



Re: A simple MTA?

2005-10-24 Thread mikepolniak
On 17:41 Mon 24 Oct , Teemu Ikonen wrote:
 Hi all,
 
 I'm looking for a mail transfer agent for a typical workstation,
 laptop or simple server configuration, but so far I haven't found a
 suitable one either in Debian or elsewhere. The ones I've checked are
 either too simple (nullmailer, ssmtp) or too complex (exim and
 everything else).
 
You can use fetchmail with -m to force the mail it retrieves directly to 
procmail rather than forwarding to port 25 (so no MTA needed).

fetchmail -a -m /usr/bin/procmail -d %T

then procmail does its delivery to the mailboxes.  

Then i read the mail with Mutt and use my ISP's smtp to send with this
setting in .muttrc

set sendmail=/usr/bin/nbsmtp -d isp.net -h smtp.isp.net -f [EMAIL PROTECTED]




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



Re: A simple MTA?

2005-10-24 Thread mikepolniak
On 11:56 Mon 24 Oct , mikepolniak wrote:
 On 17:41 Mon 24 Oct , Teemu Ikonen wrote:
  Hi all,
  
  I'm looking for a mail transfer agent for a typical workstation,
  laptop or simple server configuration, but so far I haven't found a
  suitable one either in Debian or elsewhere. The ones I've checked are
  either too simple (nullmailer, ssmtp) or too complex (exim and
  everything else).
  
 You can use fetchmail with -m to force the mail it retrieves directly to 
 procmail rather than forwarding to port 25 (so no MTA needed).
 
 fetchmail -a -m /usr/bin/procmail -d %T
 
 then procmail does its delivery to the mailboxes.  
 
 Then i read the mail with Mutt and use my ISP's smtp to send with this
 setting in .muttrc
 
 set sendmail=/usr/bin/nbsmtp -d isp.net -h smtp.isp.net -f [EMAIL PROTECTED]
 
I just realized that i set this up 3 years ago and nbsmtp is no longer
avialable. Just use 'msmtp':
 
set sendmail=/usr/bin/msmtp

and put the isp smtp info in ~/.msmtprc


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



Re: cloning a system to another partition - what to change?

2005-10-22 Thread mikepolniak
On 04:17 Sat 22 Oct , SpamHog wrote:
 Mike,
 
 I promise you, I never meant to touch the MBR!  Once you bide grub
 (either interactively or from any boot sector of any partition)
 
root (hdx,y)
 
 you overrule the spell in the MBR.

I don't usually re-install Grub in the MBR either, just boot Grub and
use the menu to point wherever i need to go. I also usually set up a
separate boot partition (a logical disk partiton anywhere on the disk) 
of 20-30MB where i install the Grub files for the initial Grub setup.

But i only edit the Grub menu on this logical /boot partition and I can 
copy all my kernel images here so i don't need any Grub files or kernel 
images on each separate distro /boot. Or keep the kernel images in both
places, but in either case you only need _one_ set of Grub files where 
the original Grub stage1 on the MBR points.
 
snip
 
 4) Booted _cloned_ system with generic grub diskette:
 
 root (hd0,9)
 
 kernel=/boot/vmlinuz-2.6.8-2-686 root=/dev/hda10
 
 initrd=/boot/initrd.img-2.6.8-2-686
 
 boot
 
 Boot starts, but I get these error messages:
 
   VFS: Cannot open root device hda 10 or unknown-block(0,0)
   Please append a correct root= boot option.
   Kernel panic: VFS: Unable to mount root fs or unknown-block(0,0)
 
Unknown-block is something wrong with the initrd.img 
 
 Notice that mkinitrd has an option specifically designed to create an
 initrd.img rooted on a different partition.  I assume the original
 system's image is rooted on the original system's partition...
 
 Working on the original system I tried to create an initrd.img
 specifying the root of the cloned one:
 
 mkinitrd -r /dev/hda10 -o ./newimage.img
 
 but mkinitrd apparently never produces _any_ output on a standard
 Debian system.

Initrd caused me grief in the past and i never really studied it, so
i stopped using it. I don't really need an initrd.img so i make
all my custom kernel images from vanilla sources (currently 2.6.14-rc5)
with no initrd, just make-kpkg kernel_image.

If you don't need initrd.img for a specific reason, just say no :)


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



Re: procmail/fetchmail question

2005-10-22 Thread mikepolniak
On 15:41 Sat 22 Oct , stan wrote:
 Can anyone show me how to write a procmail recipe that adds something (like 
 **SPAM**
 to the To: header in a message?
 
 What I'm trying to do is add this conditionaly if spamassain has labled the 
 message
 as spam. I have a firend who is getting mail through a system with procmail. 
 He's
 using Outlook to read it, and says that Outlook can only filter on To: lines, 
 so
 he can't seem to get the Spamassain marked stuf put in it's own folder.

Use /usr/bin/formail -i or -I. This is from the man page. Just set it up and 
test
it.

To supersede the To: field in a header you could use:

formail -i To: [EMAIL PROTECTED]


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



Re: cloning a system to another partition - what to change?

2005-10-21 Thread mikepolniak
On 08:11 Fri 21 Oct , SpamHog wrote:
 Thank you for clarifying!
 
 I'll never again root =(hdx,x) after a kernel.
 
 Yet, there must be something else munching up this boot.
 
 Whence the hda5 reference comes is not explained even by a missing
 SECOND specification of hda6 as running root.  Nothing anywhere
 specifies hda5.
If you want Grub on the _MBR_ to point to the cloned partition and read
its Grub files (including the grub.conf) from /dev/hda6, you will have 
to run the grub command again with: root (hd0,5) and setup (hd0).

If you have'nt done that, then you are still booting the original Grub 
stage1 on the MBR which finds its files on /dev/hda5, where i presume the
original grub.conf file has the kernel parameter: root=/dev/hda5

Once you reinstall Grub to the MBR, pointing to the cloned root (hd0,5) and 
edit the grub.conf on hda6 with the kernel parameter: root=/dev/hda6
you will have what you want.


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



Re: Slow response of X

2005-10-20 Thread mikepolniak
On 09:12 Wed 19 Oct , Basajaun wrote:
 Hi all,
 
 I have a weird problem with the response time inside X. I am running
 Debian Etch, kernel 2.6.12-1-686-smp on a P4 3.4GHz HT with a SATA
 drive and 1GB RAM. Whenever I start X (XFCE 4.2.2), I experience the
 following problems:
 
 a) When autocompleting a command with TAB in a terminal (mrxvt), it
 freezes for maybe 3 seconds or more, then proceeds. After the first
 time I do it, I have fast autocompletions (for other commands too),
 at least for a while. I would swear that this problem is not in the
 console.
Try restarting the font server. I had a similar situation where the
font rendering slowed X down.
 
 b) When moving the cursor over the icons in the panel, I sometimes get
 delays in their focus (and trigger responsiveness). Maybe 90% of the
 time the focus is immediate, but a 10% of the times it is not, with
 delays of even 10-20 seconds!!
 
 c) Some (all?) the apps take a long time to launch. Maybe they always
 did (with my previous computers/kernels), but I'd swear that 30 seconds
 to open KMail, or over 15 to start Firefox is not quite correct.
 
 d) Right-clicking on the background produces an XFCE menu (as it should
 be), but also with a delay, sometimes null, sometimes of 3-6 seconds.
For comparison i would try a minimal WM like icewm or fluxbox. They are
easy enough to switch back and forth to compare.

 
 Somehow (don't ask me how) I thought that I could fix the problem
 compiling a custom kernel (2.6.13.4 from kernel.org), because there are
 three options that sound interesting:
 
 1) Preemption Model: No Forced Preemtion (Server), Voluntary Kernel
 Preemption (Desktop) and Preemptible Kernel (Low-Latency Desktop)
 
   If I understand it right, going from first to third make the system
 less efficient, but more responsive to user input.
 
 2) Preempt The Big Kernel Lock
 
   Its help literaly says Say Y here if you are building a kernel for
 a desktop system
 
 3) Timer frequency: 100, 250 or 1000Hz
 
   From the help: 1000 HZ is the preferred choice for desktop systems
 and other systems requiring fast interactive responses to events.
 
 Well, I compiled the damned thing with 1) at Preemptible Kernel, 2)
 at Y and 3) at 1000Hz, and still have the very same problems.
I would try running the kernel with 'nosmp' and also
CONFIG_PREEMPT_NONE=y. In the past this caused some problems for people. 
 
 Could it be related to the HD? I have read somewhere that ReiserFS (the
 FS I use for all my partitions) may have been so much tweaked, that
 it was pushed too far and it has speed problems. Could it be the
 problem?
Reiserfs works optimal with lots of small files although it should'nt
have the speed problems you are experiencing. 
 
 Somewhere else a guy with similar problems got a response asking if DMA
 was enabled, but my dmesg | grep -i dma shows:
 
   DMA zone: 4096 pages, LIFO batch:1
 ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xFFA0 irq 14
 ata1: dev 0 ATA, max UDMA/133, 398297088 sectors: lba48
 ata1: dev 0 configured for UDMA/133
 
 is it fine?
DMA is always on when using libata/SATA.
 
 I am presently quite lost, and would appreciate any clues on how to fix
 it, or at least what info I need to provide to get the right diagnosis.
 
 TIA,
 
  Basajaun
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 


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



Re: make-kpkg and small changes

2005-10-20 Thread mikepolniak
On 12:10 Thu 20 Oct , Ross Boylan wrote:
 I am attempting to recompile a driver (8139too) with one additional
 entry in the pci_device_id table.  I may modify it in other ways if
 that doesn't work.
 
 When I try to make-kpkg kernel_image the file is not rebuilt.  I tried
 deleting the .o; this just produces an error of a missing file during
 the make.
 
 There was a long thread about this earlier (dealing with a harder
 problem of changing the config) but I could divine no answer to the
 problem.  Another post on Oct 7 asked a similar question without
 response.
 
 The thing that looked closest to a response was the suggestion to run
 make and then make-kpkg.  Since I am applying patches, and make will
 not, this seems hazardous in this case.
 
The easy way is to cd into the kernel source tree and if you already have
8139too selected as a module and the new patched driver code:

make oldconfig
make modules
make modules_install

This will just compile and install the patched 8139too module.
You can find it with a modprobe -l|grep 8139too and the
unload the original 8139too module and load the new 8139too.

rmmod 8139too
modprobe 8139too


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



Re: Pinnacle PCTV Pro - snow at the top of the screen

2005-10-19 Thread mikepolniak
On 09:28 Wed 19 Oct , wvl wrote:
 Hello,
 
 I'm having trouble getting my Pinnacle PCTV Pro to work, which I
 bought in the Netherlands (europe) a few (2?) years ago.
 
 After loading bttv I only get snow on the top of the screen..
 everything below that seems to be frozen in a certain state.
 
 Any help would be greatly appreciated. Various system output:
 
 Custom compiled kernel, no patches 2.6.13.4
 
 lspci -v:
 
snip
 bttv0: using: Pinnacle PCTV Studio/Rave [card=39,insmod option]
 bttv0: gpio: en=, out= in=00fffbdf [init]
 bttv0: i2c: checking for MSP34xx @ 0x80... found
 bttv0: pinnacle/mt: id=2 info=PAL+SECAM / stereo radio=yes

My Pinnacle (card=39) shows NTSC for the video mode:
tuner 2-0061: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles)

Your line shows PAL+SECAM which probably is causing the...
Fatal Error: PLL's didn't lock.

Although the PLL can be set with ismod options PLL=1 or PLL=2. 

 One thing that seems to be wrong is this: tuner 0-0060: MT2032 Fatal
 Error: PLLs didn't lock., but googling on it doesn't provide any
 useful info.

Your Pinnacle manual will probably state that its only PAL+SECAM and
not NTSC, so it won't work in NA.


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



Re: cloning a system to another partition - what to change?

2005-10-19 Thread mikepolniak
On 01:47 Wed 19 Oct , SpamHog wrote:
 I am cloning a 1-partition system (3.1/i386)
 from /dev/hda5 to /dev/hda6,
 and intend to install grub in that partition.
 No need to change drivers, etc. - *only* the root device.
 
 
 
 I already did the following:
 
 - copied all files in the / tree to a filesystem on /dev/hda6
 
 - amended /etc/fstab to mount /dev/hda6 on /
 
 - amended /boot/grub/menu.lst to have (hd0,5) as root
   root=(hd0,5)
   kernel=/boot/vmlinuz-2.6.8-2-686 root=(hd0,5)
 
root=(hd0,5) points grub to load the kernel from /dev/hda6
but the next line should have root=/dev/hda6 as the new root file system




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



Re: Pinnacle PCTV Pro - snow at the top of the screen

2005-10-19 Thread mikepolniak
On 17:06 Wed 19 Oct , wvl wrote:
 I don't quite understand. Are you saying my tuner is being incorrectly
 set by bttv despite it saying bttv0: using tuner=33?
 
 In the Netherlands we use PAL, if you meant to say that I needed NTSC.
 
Sorry for my ass_umption. If you read the kernel documentation for
video4linux the tuner=33 is listed fot the MT20XX chip. So that seems to
autodetect OK.

Try modprobe bttv pll=2 
 


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



Re: cloning a system to another partition - what to change?

2005-10-19 Thread mikepolniak
On 10:37 Wed 19 Oct , SpamHog wrote:
 Thank you too Mike, but I have already tried several times with either
 GNU/Linuxspeak /dev/hda6 or Grubspeak (hd0,5) so it must be
 someting else.
 
 Moreover,
 
 1) Being the boot root and the running root one and the same, the
 second root specification should be redundant anyway.
 
On your second line, you must add root=/dev/hdc6 in order to pass
this argument to the kernel as your new root file system.

It is a _kernel_ argument and _not_ a Grub argument.

Grub only reads the _first_ part of the second line, to find the kernel:

--kernel=/boot/vmlinuz-2.6.8-2-686--

All arguments after this part are passed only to the target kernel and
are not releated to Grub.












 2) Funnier yet: /dev/hda5 is not mentioned at all in my grub commands.
 Why is grub grabbing it instead of e.g., /dev/hda1 or the floppy?
 Occam's razor: the initrd image was made with hda5 as root, man
 mkinitrd says one should spec the root if not the same as the current
 system root (if mkinitrd works, that is), so if not from me, the idea
 of latching onto hda5 is likely to come from it. :0
 
 So, up the stream bar paddle esp. w.r.t. why mkinitrd now refuses to
 produce any initrd image.  This is a strictly fresh and standard 3.1
 install with no subsequent changes - I didn't touch any conffile!
 
 Ideas?
 
 Grateful but uncloned, I remain.
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 


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



Re: Best practices for installing Debian in a new disk?

2005-10-19 Thread mikepolniak
On 15:13 Wed 19 Oct , Bruno Buys wrote:
 Alvin Oga wrote:
 
 On Tue, 18 Oct 2005, mikepolniak wrote:
 
 Why not just copy over the whole Debian partition from the ide disk to
 the new disk. I have done this many times without a problem. I make a new
 partition on the new disk as the target and cd into / dir of the old disk
 then:
 
 cp -ax * /target

 
 
 manual cleanup will be required, regardless of which way you clone 
 ide - sata
 
  clean up /var/log ( or wipe  it all out )
  clean up /var/spool/*mail-stuff*
  clean up /root/{*caches*} 
  rm -rf /tmp/*
 
 - if you don't clean it up .. your IDS should be screaming that the
  machine had been hacked
 
 keep your fingers crossed that the sata disk bootable on your other system
 and that the sata controller is supported by the kernel
 
  
 
 If necessary then edit the /etc/fstab and /etc/network/interfaces.
 Then install lilo or grub on the new disk and it's good to go. 
   
Mike,
I considered a entire-partition copy approach, but I got scared of 
 how many configs files I´d need to edit, in order to correct things such 
 as /dev/hda to /dev/sda, and it seemed like more work than simply 
 reinstalling from netinst. My current setup is like ~350MB apt-get 
 download, after base install, which is doable in say 3 hs. I just left 
 the computer downloading overnight.
 How exactly do you copy files in this way, when you do that? Maybe I´ll 
 switch to this next time.
 
 How do I go about editing my lilo.conf from ide disk to point correctly 
 and boot the system from sata?

I always clone the whole partition to the /new-disk/target-partition 
(I have done this literally dozens of times without any problems). Using
just the following 2 commands archives the complete _*_ source tree:  

cd to / directory of the source partition, then
cp -ax * /target-partition

To clone a 3GB partition on the same pc takes about 15 mins and a few mins. 
for editing. 

Since this is my home pc i don't need to edit everything on the new disk,
just necessary things like fstab for hda-sda and network/interfaces and
/etc/modules if any hardware is different. If the clone uses physically the
identical hardware then its just /etc/fstab.

I started using the Grub boot loader about 4 years ago. It is more
flexible than lilo, with a command line and menu interface. So you can
boot to either the SATA or IDE disks without changing the bios. It just
boots to whatever disk is set in the bios and then you can choose/change 
any boot options from the Grub menu right at boot time. If you need any help
with setting up Grub you can email me off list.

If you want to keep Debian on both disks or more than one pc up to date
you can run a proxy server for your Debian package archives so you only
run apt-get and download once for all pc's. The easiest one i found is a
package called approx. This only saves/serves the packages you download for
your install updates not the whole Debian mirror.

  



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



Re: Best practices for installing Debian in a new disk?

2005-10-18 Thread mikepolniak
On 17:46 Tue 18 Oct , Bruno Buys wrote:
 I'm reinstalling my system onto a new sata disk I just purchased. I'd 
 like to know what best practices people do, in order to get through this 
 with the least possible hassle.
 I'm really just installing Debian in the new disk, and I'd like to have 
 the new system as closely resembling the current as possible, in terms 
 of installed software and configs.
 The current system runs off a ide disk. I'm keeping the ide disk in the 
 computer, but, as said before, the system will run from the sata disk. 

Why not just copy over the whole Debian partition from the ide disk to
the new disk. I have done this many times without a problem. I make a new
partition on the new disk as the target and cd into / dir of the old disk
then:

cp -ax * /target

If necessary then edit the /etc/fstab and /etc/network/interfaces.
Then install lilo or grub on the new disk and it's good to go. 


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



Re: upgrade, .procmailrc funnels to /dev/null

2005-10-14 Thread mikepolniak
On 01:05 Fri 14 Oct , Willie Gnarlson wrote:
 Hello fellow Debian users,
 
 I upgraded bash on my `testing'  machine tonight and 4 hours passed
 before I realize procmail is filtering everything to /dev/null. Right.
 
 Does anyone have any idea why this would be matching on *all* incoming
 mail? The offending rule:
 
 -8-
 
  ==
  Blacklist
  ==
 BL=/home/willie/procmail.d/blacklist
 :0
 * ? (formail -x From: | /bin/fgrep -iqf $BL)
 /dev/null
 
 -8-
 
 The contents of $BL is a single line with the following (it is the
 actual value, not a made up one):
 
 [EMAIL PROTECTED]
 
 Thanks for any clues!

Maybe a clue: i had a similar problem with 'fgrep -iqf file' when i was
creating the 'file' with my editor. But if i echo the input to the new file
it works:

echo whateverline1 blacklist


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



Re: Printer

2005-10-09 Thread mikepolniak
On 22:55 Sat 08 Oct , Malcolm Lalkaka wrote:
  Check if you have /dev/lp0 and look at lpr.log
 I do have /dev/lp0, and the file /var/log/lpr.log is empty. :-(
 Any other suggestions?
 I'm beginning to seriously think this is a bug in the Debian kernel
 2.6.12. I haven't submitted a bug report because the preamble to the
 submitting process said to try the mailing lists first.

I don't think its a kernel bug. I just did a new install and am using
kernel-2.6.14-rc1 (i also tried the Debian kernel-2.6.12). To use
printing i did this: 

install lpr and magicfilter
run magicfilterconfig to create a /etc/printcap file for my Epson
start the daemon: /etc/init.d/lpd start
check that i have /dev/lp0 (with UDEV i had to make this)
run lpc status - shows if printing is enabled

See if all the above checks out, then try to print and check the logs.  


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



Re: A fresher sk98lin anyone (LG LW20 NIC)?

2005-10-09 Thread mikepolniak
On 23:46 Sun 09 Oct , Didde Brockman wrote:
 Hey - again.
 
 As stated earlier I could not get Debian-stable to detect a NIC or 
 drive(s) on my brand spanking new LG LW20 laptop running on Intel's 915 
 chipset. Finally I gave up and tried testing (etch) where I could 
 partition the drive, but the NIC still failed to detect.
 
I would get an inexpensive usb nic (mine was about $10 and uses the
rtl8150 driver which is in Debian).  


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



Re: Printer

2005-10-08 Thread mikepolniak
On 00:16 Sat 08 Oct , Malcolm Lalkaka wrote:
  If you boot off 2.6.8 -- printing works
  If you boot off 2.6.12 -- printing does not work
 
  Correct?
 ...
Any clue comparing kernel configs?
 I no longer have the 2.6.8 kernel to check, but when I did have it,
 printing was working. After upgrading, everything seemed to be working
 fine; but I forgot to check printing. I [naively] never thought it
 would be a problem. So I deleted the old kernel.
 I do distictly remember that my parallel port and printer worked fine
 with kernel version 2.6.8.
 
  Module or config change?
 There have been module/config changes, but the newer kernel has much
 more support for devices than my 2.6.8 kernel. The 2.6.8 kernel was
 compiled from a Debian 2.6.8 kernel.
 
  Does google help?
 I have tried Google (and will try it again), but with no luck. I get
 search results, but they did not seem to help. One result, for
 example, suggested that I manually unload all my parallel port kernel
 modules, and reload them. I tried this, but it had no effect.
 
Check if you have /dev/lp0 and look at lpr.log 


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



insmod bttv does not find TV card--says no such device???

2002-01-21 Thread mikepolniak
My Pinnacle studio PCTV pro card shows up in /proc/pci and i can load all the
required modules (tuner, videodev,i2c)...but when i
#insmod bttv card=52
...it says no such device.

Syslog  shows :
... bttv: driver version 0.7.83 loaded
... bttv: using 2 buffers with 2080k (4160k total) for capture
... bttv: Host bridge is Silicon Integrated Systems 
..but then it fails to find the card.

#/proc/pci shows:
 Bus  0, device  17, function  0:
Multimedia video controller: PCI device 10de:036e (nVidia Corporation) (rev 
17).
  IRQ 11.

#lsmod
Module  Size  Used by
i2c-algo-bit7072   0 
videodev2912   0 
tuner   8048   0  (unused)
cmpci  23984   1  (autoclean)
r128   82848   1 
it876960   0 
i2c-proc5936   0  [it87]
i2c-isa 1216   0  (unused)
i2c-core   12768   0  [i2c-algo-bit tuner it87 i2c-proc i2c-isa]
ide-scsi7344   0 
sis900 11264   1  (autoclean)
rtc 5376   0  (autoclean)

So what do i need to do to have bttv find this device?
-- 
Save bandwidth and time - Get Mailfilter - The Anti-Spam Utility
http://mailfilter.sourceforge.net/index.html



Re: gphoto2 with USB digital camera problem

2002-01-11 Thread mikepolniak
On Fri, 11 Jan 2002 09:40:59 -0500
Angus D Madden [EMAIL PROTECTED] wrote:

 On Fri, Jan 11, 2002 at 12:08:37AM -0800, Craig Dickson wrote:
  I bought a digital still-image camera today (Canon PowerShot G2) and I
  want my Linux machine to talk to it. So far, after a few hours of trying
  to get it to work, and searching docs and the net for information, I'm
  not having much luck.
  
  I have the gphoto2 package installed. gphoto2 complains that it can't
  find the device:
  
  $gphoto2 --camera Canon PowerShot G2 --port usb: --get-all-images
  gPhoto2 reported the error 'Could not find the requested device on the USB 
  port'
 
 
 I went through the same with a Canon Powershot s100.  I used
 http://www.xena.uklinux.net/Linux/powershot.html as a reference.  I
 stopped when I couldn't find a gphoto2 gui deb (gtkam, gnocam).
 
 I'm waiting for the USBAT-02 driver, so i can mount the efilm reader-2
 directly.  See http://www.lysator.liu.se/~unicorn/hacks/usbat2/

You can also use a stand alone usb compact flash reader. I use the San Disk-31
which is compatible with the linux usb mass storage driver. Just add usb
support to your kernel and plug in the SanDisk.

Also has the advantage of saving your batteries and loading faster.



-- 
Save bandwidth and time - Get Mailfilter - The Anti-Spam Utility
http://mailfilter.sourceforge.net/index.html



Re: Opera and anti-aliasing fonts

2002-01-06 Thread mikepolniak
On Thu, 3 Jan 2002 22:09:40 -0600
shock [EMAIL PROTECTED] wrote:

 i've finally become enamored with KDE's anti-aliasing fonts.  they look
 great in konqueror.  opera, however, seems to use it's own font scheme.
 does anyone know what needs to be done to make opera use the
 anti-aliasing fonts?

You will need qt and the dynamic -linked version of opera.



how to edit and upload html page to isp web host?

2002-01-01 Thread mikepolniak
What do i need to create a simple index.html page, and upload it to my isp web 
hosting
site. I will mostly  use jpeg files from screen shots and digital camera. 

-- 
Save bandwidth and time - Get Mailfilter - The Anti-Spam Utility
http://mailfilter.sourceforge.net/index.html



Re: agpgart -module not loaded automatically

2001-12-25 Thread mikepolniak
On Tue, 25 Dec 2001 19:17:09 +0100
Gerald Richter [EMAIL PROTECTED] wrote:

 
 Hello to all!
 
 I finally got my Xpert 2000 card to work propoerly at an even higher
 frequency than the wicked Windows-driver :)).
 The only thing that bothers me now, is that the agpgart module isn't
 loaded automatically, while the r128 is...
 If I start the X-server without loading the agpgart-module before, I get
 in the XFree86.0.log :
 
 --- (snip)
 ...
 (==) R128(0): Write-combining range (0xe000,0x200)
 (II) R128(0): [drm] loaded kernel module r128
 (II) R128(0): [drm] created r128 driver at busid PCI:1:0:0
 (II) R128(0): [drm] added 4096 byte SAREA at 0xc8845000
 (II) R128(0): [drm] mapped SAREA 0xc8845000 to 0x40016000
 (II) R128(0): [drm] framebuffer handle = 0xe000
 (II) R128(0): [drm] added 1 reserved context for kernel
 !!!
 (WW) R128(0): [agp] AGP not available
 (WW) R128(0): [agp] AGP failed to initialize -- falling back to PCI
 mode.


Take a look at the end of dmesg and if it says:
agpgart: no supported devices found 
then you need to compile the kernel with AGP support for the chipset on your
mother board e.g. 
CONFIG_AGP_INTEL (or AMD VIA  SIS)=y 



Re: Where to slice a 2 gig drive ?

2001-12-23 Thread mikepolniak
On Sat, 22 Dec 2001 17:54:50 -0500
lee [EMAIL PROTECTED] wrote:

 Karsten  Frank...
 
 Thank you both very much for your time. 2 gig is on the small side as far as 
 drive sizes go these days..but as this box goes..it's whole mission in life 
 will be to serve as a proxy..which I've been SO unsuccesful at so far..lol. 
 Squid btw  :-). If there are any others (proxies) that are of mention I'd 
 really love to hear about them (a linux ver. of analog x perhaps).
 
If you want to speed up your browsing, there is pdnsd', a caching  DNS proxy
server. Unlike BIND it saves ram cache to a file. But you can use it with BIND--
a nice combo.

When you need to re-size your partitions, use 'parted', it works quite well.



Re: which latest kernel to use ?

2001-12-22 Thread mikepolniak
On Sat, 22 Dec 2001 19:50:45 +0100
Gerald Richter [EMAIL PROTECTED] wrote:

 Hello to all!
 
 Im currentlc tryin to get my XPert 2000 pro card to work on my woody...
 In the process I'm at a point, where I suspect, that I got to get the
 right Kernel with DRI compiled in ... if there is something like this
 option... I'm rather exhausted because of all the many things I've tried
 already.
 So: which kernel to use ? 2.4.16 fine ? -or should I pick an older one ?
 
Kernel 2.4.16 is working fine with my XPert 2000 (also have used rage 128 pro)
but older kernels work too.
Make sure you have at least XFree86 4 (i am using 4.1) .

The XF86Config file is the tricky part. For the rage 128_pro i needed  a  line 
under the Device section to get X to boot:
ChipId0x5246




how to mount multi-session data CD's ?

2001-12-09 Thread mikepolniak
I have used mkisofs and cdrecord to create a multi-session CD of data tracks 
containing
my digital photo jpegs (as per Creating  Multi-session CD's  Howto ).

I can check the iso before i burn it with the loopback driver and it shows the 
multi 
sessions as being on the iso image. After i burn it, cdrecord -msinfo shows the
correct sectors count for the added sessions.

However, when i mount the cd i can only see the first session. I tried using 
the mount
options for iso9660 with:
mount -t iso9660 -o session=x (or sbsector=xxx)  /dev/scd0 /mnt

But no matter what x is, the mount only shows the first session. Has anyone had
success with mounting multi-session CD's?



Re: how to mount multi-session data CD's ?

2001-12-09 Thread mikepolniak
On Sun, 9 Dec 2001 17:31:10 +0100 (MET)
Sebastiaan [EMAIL PROTECTED] wrote:

 High,
 
 On Sun, 9 Dec 2001, mikepolniak wrote:
 
  I have used mkisofs and cdrecord to create a multi-session CD of data 
  tracks containing
  my digital photo jpegs (as per Creating  Multi-session CD's  Howto ).
  
  I can check the iso before i burn it with the loopback driver and it shows 
  the multi 
  sessions as being on the iso image. After i burn it, cdrecord -msinfo shows 
  the
  correct sectors count for the added sessions.
  
  However, when i mount the cd i can only see the first session. I tried 
  using the mount
  options for iso9660 with:
  mount -t iso9660 -o session=x (or sbsector=xxx)  /dev/scd0 /mnt
  
  But no matter what x is, the mount only shows the first session. Has anyone 
  had
  success with mounting multi-session CD's?
  
 Not really succes, but a bypass. I remember a kernel module cdfs (cd file
 system). Search for it with google and compile it. When you mount the
 cdrom with '-t cdfs', the various tracks are displayed. Mount these with
 the loopback option.
 
OK. cdfs works. 

But i also re-did my multi-session CD and now it mounts all the sessions also!
So now i have 2 ways to mount the multi-session CD.



Re: Get .config from installed kernel?

2001-12-09 Thread mikepolniak
On Sun, 09 Dec 2001 14:28:01 -0800
Kendall Shaw [EMAIL PROTECTED] wrote:

 
 
 Hi,
 
 I have kernel 2.2.16 installed which I never compiled from source, and I 
 want to add a kernel module to support my sound card. Is there a way for me 
 to generate the .config that matches my installed kernel so that I can 
 easily recompile the kernel as it is, but with support for my sound card? 
 Or, with the 2.2.16 source, is there an easy way for me to simply compile 
 the sound card support as modules and install them? Or rather, what is the 
 quickest route to adding support for my sound card?
 
Normally you should have a /boot/config-2.2.16 file, which you can copy to
/usr/src/linux/.config.

If your sound card is supported by the kernel (e.g. es1371) then just edit 
.config
and remove the line CONFIG_SOUND_ES1371 is not set.

Then run make oldconfig .If you have the source for 2.2.16 in /usr/src/linux ,
this will _only_ ask you to set CONFIG_SOUND_ES1371
then choose m(for module) and finish compiling the kernel.



where is alias 'name' for USB controller module?

2001-12-05 Thread mikepolniak
I want to auto-load the module for the USB contoller (usb-ohci) by its alias in
/etc/modules.conf:
alias   usb-ohci

Where do i find the alias 'name' that kmod+modprobe use to look up this feature?
 








digital photo editing in linux---what do i need?

2001-12-01 Thread mikepolniak
I just got my first digital camera and am looking for advice on photo editing 
programs. 

I see there is gPhoto to d/l photos from a camera, but since my camera is not
supported i found out i can just use a usb card reader to load the pix into my
linux box.

What do i need to edit the photos, etc. I see that the Gimp will do it and it
has Gimp-print , which sounds like what i need to print  photos to my Epson.

Maybe using the Gimp is more than a newbie to photo editing needs. And if i just
want to view the pix, is there some simple program for viewing and cataloging?

Any programs easier or better to use for a newbie. What are people using? TIA.



running startx fails with: timeout in locking authority file ?

2001-11-29 Thread mikepolniak
When i try to start an X session as user mike by running startx it fails with 
the message:

xauth: timeout in locking authority file  /home/mike/.Xauthority

But it works  ok when i startx as root. 

This was working fine until yesterday, but i haven't figured out what i may have
changed to cause this. Any cluesL TIA. 



Re: Would like to make a bootable CD based on my root partition

2001-10-26 Thread mikepolniak




On Fri, 26 Oct 2001 02:08:51 -0400
avik [EMAIL PROTECTED] wrote:


 
 I don't have a spare partition or use grub :-)  I really would like to
 know how to create a bootable CD using my root partition as its
 source.  I would have other uses for it :-)
 
Mondo is a program i use to burn a bootable cd which can then be used to restore
your system to any hard disk. Check it out at
http://www.microwerks.net/~hugo/



how to get SiS735 on board sound

2001-10-20 Thread mikepolniak
I have the ECSk7s5a mb with the SiS735 chipset. According to SiS linux support,
the on board sound needs SiS7018 support in the kernel.

So i enabled it with CONFIG_SOUND_TRIDENT and tried it as a module and directly 
in
the kernel.  cat /proc/pci shows the on board audio at irq 11.

I can modprobe ac97_codec  ,but modprobe trident says no device.
Any clues?  



Re: D-Link DFE-530TX+ Problem

2001-10-06 Thread mikepolniak
On Fri, 05 Oct 2001 06:37:22 GMT
Z-Gen [EMAIL PROTECTED] wrote:

 It's not found during installation.
 How can I set it up?
 netconfig or linuxcfg?
 Thanks in advance.

Make sure your kernel has CONFIG_8139TOO=y or =m
If its compiled as a module, make sure 8139TOO is loaded.



Re: Sylpheed / libgtk version

2001-09-29 Thread mikepolniak
On Fri, 28 Sep 2001 16:16:15 -0700
Ken Moffat [EMAIL PROTECTED] wrote:

 Im using libranet, a debian derivative, and would love to be able to use 
the Sylpheed mail/news client.However, it needs libgtk-1.2.6, and i 
 can't find that for debian. Am I just confused or is that not yet available.
 
Sylpheed requires GTK+ 1.2.6 or later. So just install Package: libgtk1.2 
1.2.10-1
The Debian Sylpheed package is in testing and unstable.



Re: Using lm-sensors

2001-08-19 Thread mikepolniak
Ross Boylan wrote:

 I'm trying to use lm-sensors, so far with no luck.  The Readme.Debian
 is a bit unclear to me.  It says:
 
 To use lm-sensors, you need the lm-sensors module package and an i2c
 module package installed. You will probably need to build the modules
 packages from source, using the lm-sensors-source and i2c-source packages.
 If you have a 2.4 kernel or a recent 2.2 kernel, you can instead use the
 kernel's new built-in i2c support -- just enable it in the kernel config.
 
 
 Questions:
 
 I have a 2.4 kernel with i2c enabled.
 Should I be able to apt-get install lm-sensors and have it work?
 How do I know if I need to build from source?
 What am I doing wrong? :)
 

I needed to install from source.

If you go to the lm-sensors website you will see that the latest version
requires  the new i2c   (not the kernel default i2c headers).

I installed  the i2c source first and followed the QUICKSTART instructions:
cd to i2c dir and do make  make install  depmod -a
This installs the new i2c header files .

Then install the lm-sensors source and edit the Makefile so that
I2C_HEADERS points to the newly installed i2c header files then
run  make  make install  depmod -a  and the rest of QUICKSTART.


Probably some weirdness with my kernel-2.4.7-ac9 but i had to use
i2c-2.6.0 and lm_sensors-2.5.5 because i could not get lm_sensors-2.6.0
to compile.

I use gkrellm  to  display the info on the desktop.



RE: Why is Debian lagging so much behind Slackware?

2001-08-16 Thread mikepolniak
[EMAIL PROTECTED] wrote:

 I'd say go with Woody (compared to Slack), provided you can do a boot off
 of
 CD...I wasn't aware of the boot-disk issue.  I started with Potato about 8
 months ago, and just apt-get updated to Woody in the last few weeks.
 
 Tried Slack way back (a number of years ago) and found it more difficult
 for a
 newbie (I was that at the time).  For a true newbie, I'd say go SuSE, or
 Mandrake.  After cutting your teeth on a version, then slide into Debian
 (or
 something Debian based...like Progeny).  In short, I've never been
 impressed with Slackware.
 

Before installing Slackware8 a month ago i used Debian for a year. Never 
having tried Slackware before i am surprised how much i like it.

Yes Debian's apt-get for upgrading is nice, but this brings complexties
in other areas of Debian. There are many scripts and wrappers in Debian
which are very convoluted to a newbie. Just try following the init scripts,
or changing /etc/modules.conf. There are just more layers to wade through.

In contrast, in Slackware things are much clearer and easier to follow, and
therefore to learn and to do things just the way you want. And learning to
install from tar balls is a valuable lesson for any newbie even though
installpkg does a good job.

So if you plan to teach some fundamentals i think Slackware is best at 
being the basic Linux without the cruft, i.e. superfulous stuff.

To install I  booted a Slackware8 cd  and found it pretty straight forward,
just like the distro itself.



Re: Questions about make a boot CD with Debian.

2001-08-09 Thread mikepolniak
MESQUITA,GIOVANI (Non-HP-Brazil,ex1) wrote:

 I have used Debian to create a Boot CD. I've used two approaches:
 
 * Create a CD with boot sector in Linux, but the lilo program
 didn't recognize a root=/dev/hdc, resulting the error: FATAL: Not a
 number: /dev/hdc. My lilo.conf is:
 
 lba32
 read-only
 vga=normal
 image=/vmlinuz
 ramdisk=49152
 root=/dev/hdc
 
 * Create a CD with boot DOS and using loadlin to load Linux. I
 try use loadlin vmlinuz initrd=initrd, but the loader program always enter
 in /dev/hda1.
 
 I have read a Bootdisk-Howto and Loadlin manual and not discovery
 the problem. I have the Debian 2.2 (potato), loadlin 1.6, lilo 21.7-5 and
 yard. Any help welcome.
 

Take a look at Mindi:
http://www.microwerks.net/~hugo/mindi/

It builds boot/root disk images using your existing kernel, modules,  
tools and libraries. Then it generates an iso image of a bootable CD.
So just burn the Mindi iso image and you will have a bootable CD.

The next step is Mondo, which is the companion to Mindi:
 http://www.microwerks.net/~hugo/

Mondo is a complete backup and restore of your system to bootable CD's

I use both succesfully on my Debian and Slackware systems.



Re: Backing up harddisk prior to failure

2001-08-09 Thread mikepolniak
Jonathan Matthews wrote:

 Hi all
 
 My server's harddisk is making weird noises and telling me at the
 console that various things went wrong.
 All in all, I reckon the drive is about to die.
 
 How would people go about transferring the whole system (dpkg details
 and all) over to another disk (which I'm just about to buy) and then
 removing the faulty one?
 I've got no problem with putting the two disks in concurrently, but I'm
 not sure how to go about moving it all, short of bzipping each partition
 up. Even then, would that actually guarantee a working system?
 
My hard disk started  making those noises and just  hosed my system one day
so i had to reinstall the system. So now i have the solution which is a
program called 'Mondo'. 

Mondo does a complete backup and restore of your system to bootable CD's.
It has 1-9 compression and burns cds on the fly. Then you just reboot the CD
and it restores the whole system.

It even will repartition your hard drive if you want. So i use it  to clone 
my Debian and Slackware systems to extra partitions (i used it to restore my
ext2fs to reisrefs on one partition and ext3 on another ).


It makes a great 'Bare Metal Rescue' disk, because you just add the new hd
and boot the Mondo cd, and it restores the system. You can find Mondo at:

 http://www.microwerks.net/~hugo/



Re: Create install-CD from /var/cache/apt?

2001-08-09 Thread mikepolniak
Johnny Ernst Nielsen wrote:

 Hi,
 
 how do I create a usable installation CD with downloaded packages that are
 currently in /var/cache/apt?
 
 I am running a standard Debian 2.2r3.
 I just installed KDE 2.1.1 using dselect to fetch and install packages
 from the net.
 I need to install this standard setup on other Debian 2.2r3 computers, and
 I don't want to spend the hours downloading the same packages every time.
 In some cases there will be no Internet connection to do that (or it will
 be unacceptably slow).
 So I would like to produce an installation CD with the packages in my
 cache. I would like to be able to simply add that CD to the sources.list
 as any other source, so I can use dselect to install.
 
 I have tried looking at apt-move, but I do not comprehend its usage.
 I have tried searching the lists for similar questions but I couldn't find
 any.
 

If you have a cd burner you can use a program called Mondo.
It will do a complete backup and restore of your system to bootable CD's.
But you can selectively restore any subset of data on the CD.

I use it to clone my Debian and Slackware systems to other partitons on my 
hd. It makes a great disaster recovery disk, because you just boot the
Mondo created CD and it automatically restores your system to the hd.

It even will  re-partition your  hd's  and restore to different filesystems.
I used it to clone my ext2fs to reiserfs on one partition and ext3 on 
another. You can find Mondo at:

http://www.microwerks.net/~hugo/



Re: have stable, desire KDE

2001-08-09 Thread mikepolniak
Bob Koss wrote:

 
 I finally have a stable, functioning, system running X, using ice. It
 works. Cool.
 
 I would like to try KDE. What's my best plan to do this, since KDE is
 in Woody?  Should I do a dist-upgrade and then get the KDE packages,
 or should I get the KDE packages in the order listed at kde.org and
 hope that apt-get and deal with the dependencies for packages that I
 don't have?
 
 

Using apt-get install task-kde  and the sources.list pointing to sid 
(unstable) is the way i did it.

But the new and improved KDE2.2 (i am using theKDE-2.2beta1) will be out 
next  Monday Aug 13. 

It will probably take about a week after that for Ivan Moore to put the debs
of KDE-2.2 in sid. So i would wait  till then.



Re: Anyone know of any issues with this hardware?

2001-06-07 Thread mikepolniak
Kent West wrote:

 I'm putting together a new computer; main OS=Debian; secondary=Win95.
 
 I'd like to be able to watch TV and play DVDs on the Linux side (don't
 care about the Win95 side). Is DVD and TVcard support mature enough yet
 for this to be practical? Are there any issues with the following
 hardware?
 
 Thanks!
 
 Abit KT7E ATX Motherboard
 AMD Duron 750MHz Socket A
 128 MB SDRAM 16Mx64-7.5 PC-133 3.3V Unbuffered DIMM
 Cooler Master Heatsink + Fan
 Sound Blaster Ensoniq Audio PCI
 ALL-IN-WONDER 128 PRO 32MB AGP
 DVD-ROM Toshiba 16x int ATAPI
 IBM Deskstar 60 GXP IC35L020AVER07 20 GB ATA/100 Hard drive


I have been using a similar setup for last  6 mos. with no problems:
Abit KT7, Duron 700, Ensoniq  PCI, ATI rage fury pro 128 , IBM 75GXP.

Don't forget to set DMA on with hdparm for best  hd  performance.
Load es1371 module for sound.  To  configure XFree86-4 see:
http://avis.lightband.com/david/rage128-howto.html



Re: Rage128 and DRI

2001-05-28 Thread mikepolniak
Charles Lewis wrote:

 I've tried and tried, but I can't get DRI to work for my Rage128 AGP card.
 
 My kernel (2.4.4) has been enabled with:
  /dev/agpart
VIA chipset support (I have Abit KT7A-Raid, KT133 chipset)
  Direct Rendering Manager
ATI Rage 128
 
 The relevant portions of XF86Config-4:
 Section Module
  Load GLcore
  Load dri
 Section Device
  Driver ati
 Section DRI
  Mode 0666
 
 Snippets from the log (a few warnings but no errors):
 (II) LoadModule: dri
 (II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
 (II) Module dri: vendor=The Xfree86 Project
 compiled for 4.0.3, module version = 1.0.0
 ABI class: Xfree86 Server Extension, version 0.1
 (II) Loading extension Xfree86-DRI
 ...
 (II) R128(0): Using Xfree86 Acceleration Architecture (XAA)
 ...
 (II) R128(0): Acceleration enabled
 ...
 (II) R128(0): Direct rendering disabled
 

To get  Direct  rendering enabled i had to install a new r128 driver and a 
new XFree86 binary. You get these from the rage128 and Extras files at:
ftp://dri.sourceforge.net/pub/dri/release 

Both these tar balls unpack into a directory called dripkg. Then just 
follow the install. Also , in XF86Config-4 change driver 'ati' to  'r128'
Then startx and you should get 'Direct rendering enabled'.

Once you get that far ,  if you have the latest KDE installed you can enjoy 
the beauty of anti-aliased fonts. Once you see them you won't go back to 
ugly fonts.  



Re: Getting the content of an RPM package

2001-05-27 Thread mikepolniak
Viktor Rosenfeld wrote:

 Hi folks,
 
 is ist possible to access the content of an RPM package, without
 actually installing it?  I tried
 
 rpm --nodeps --prefix /tmp/foo package.rpm
 
 but it says that the package is not relocatable.

Since i  am not familiar with rpm i would use alien to make  the  .deb  
then use  dpkg  -x  *.deb  dir  to extract the files .



Re: Free mail a/c that allows download of mail

2001-05-27 Thread mikepolniak
[EMAIL PROTECTED] wrote:

 Is there any free mail accounts (like hotmail etc.) that allow you to
 download your mail so that you can read it with mutt say?  Instead of
 having to view it through the web browser when connected to the
 internet.
 
 I want something that you can use fetchmail or something similar to
 download the mail with.  Is there any that allow this?
 
yahoo.com will work like you want. it also can retrieve mail from other 
accts and forward mail.



usb scanner setup?

2001-05-24 Thread mikepolniak
Has anyone had success setting up a usb scanner (e.g. Epson636u) with SANE 
in Debian ? If yes , are you satisfied with the results?



Re: How to use debian lists

2001-05-20 Thread mikepolniak
Thomas H. George wrote:

 I have gotten some excellent answers to my questions and picked up
 useful information from other user's questions and answers but
 
 I'm swamped!
 
 Often I am away from my computer for several days and return to find
 1,000+ messages.  It takes a long time to download and delete them much
 less scan them for interesting items.  I unsuvscribed for a while
 because of this and am thinking of doing so again.  What I'd like is a
 way of switching on and off depending on my need to ask a question and
 the time I have available to download and scan messages.

You might want to read the debian list in a news group like 
muc.lists.debian.user. I switched from  reading debian-user as a mailing 
list to a newsgroup . 

Reading from a news group is only a few hours behind  the mailing list, but 
you can still reply directly to the list and a good newsreader has all the 
threading and filters you need plus you wont see messages you've already 
marked as read. Works for me.




Re: lm-sensors problems

2001-05-18 Thread mikepolniak
Philipp Lehman wrote:

 In order to access the hardware sensors on my motherboard, I installed
 the lm-sensors-source package and the corresponding userland
 utilities. I need the i2c-viapro kernel module for my MB (VIA
 KT133A/82c686b chipset).
 
 Now, when I try to patch the kernel (stricly following the
 instructions in the README and INSTALL files) not all lm-sensors
 modules are offered when I try to make menuconfig afterwards. The
 patches are applied fine without any errors, but the module I need
 just doesn't show up in the I²C section of the kernel configuration.
 
 This problem only affects the VIA modules. E.g. lm-sensors comes with
 a i2c-piix4.c file and I see an option for Intel PIIX4 support, but
 there are no configuration items corresponding to i2c-via.c and
 i2c-viapro.c (the latter being the one I need). Has anybody seen this
 before? Any ideas?
 
 BTW: I also tried building the modules outside of the kernel source
 tree, but compiling fails with an error message. I found an open bug
 report filed against lm-sensors-source describing the same problem, so
 I guess it's not just me overlooking something in this case.


I just installed lm_sensors  for VIAkt133/686a . I have a 2.4.3 kernel with 
I2C support compiled in and used lm_sensors-2.5.5. I followed the 
QUICKSTART instructions exactly as shown.

To  get lm_sensors to compile as a module you have to edit the Makefile and 
set the  I2C_HEADERS=$(LINUX_HEADERS)  otherwise you get an error.

When you run sensors-detect, be sure to probe the ISA bus. This is  how  
you get the temp s etc. Then i added the modules it suggested:
i2c-isa and via686a  to /etc/modules and the command 'sensors -s' to 
bootmisc.sh, so everything gets loaded and set at boot-up.

Then install  'gkrellm'  so you can display your temp, fan and voltage 
readings on your desktop. Very nice display.



Re: Module agpgart not loading

2001-05-18 Thread mikepolniak
Joachim Trinkwitz wrote:

 Hi all,
 
 I have a Matrox G400 video card and have configured X (4.0.3) with the
 mga driver and DRI. Upon boot I get an error message, that the drm
 module (part of DRI, as I understand) failed to load because of the
 agpgart module wasn't loaded before (well, it says: [drm] The mga drm
 module requires the agpgart module to function correctly
 Please load the agpgart module before you load the mga module)
 
 `modprobe agpgart' fails with following error message:
 
 /lib/modules/2.4.4/kernel/drivers/char/agp/agpgart.o: init_module: No such
 device Hint: insmod errors can be caused by incorrect module parameters,
 including invalid IO or IRQ parameters
 /lib/modules/2.4.4/kernel/drivers/char/agp/agpgart.o: insmod
 /lib/modules/2.4.4/kernel/drivers/char/agp/agpgart.o failed
 /lib/modules/2.4.4/kernel/drivers/char/agp/agpgart.o: insmod agpgart
 failed
 
 I tried to give it the video cards interrupt as parameter (IRQ=11),
 but that didn't work either. 

I had a similar problem in getting  agpgart  initialization when setting up 
'aa' fonts with my ATI r128 card. My problem was solved by  compiling 
chipset support in the kernel with in my case  CONFIG_AGP_VIA=y



lm_sensors temp readings only 8C

2001-05-17 Thread mikepolniak
Just installed lm_sensors for via-pro chipset VT82c596 and ran sensors:
 
max1617-i2c-0-18
Adapter: SMBus vt82c596 adapter at 5000
Algorithm: Non-I2C SMBus adapter
temp: +8.0°C   (min =  +4°C, max =  +0°C)
  
In /proc/sys/dev/sensors/max1617-i2c-0-18 i get:
 
temp1 0 4 8  
temp2 60 8 0

How do i make sense of these readings?
Did i miss something during the install?



Re: lm_sensors temp readings only 8C

2001-05-17 Thread mikepolniak
On Thursday 17 May 2001 09:16, mikepolniak wrote:
 Just installed lm_sensors for via-pro chipset VT82c596 and ran sensors:

 max1617-i2c-0-18
 Adapter: SMBus vt82c596 adapter at 5000
 Algorithm: Non-I2C SMBus adapter
 temp: +8.0°C   (min =  +4°C, max =  +0°C)

 In /proc/sys/dev/sensors/max1617-i2c-0-18 i get:

 temp1 0 4 8
 temp2 60 8 0

 How do i make sense of these readings?
 Did i miss something during the install?

Ok i did'nt probe ISA and load isa and via686a modules. Everthing reads fine 
now. 



Re: Need help setting up parallel printer

2001-01-09 Thread mikepolniak
On Tue, Jan 09, 2001 at 08:56:30PM -0500, David B. Harris wrote:
 To quote David Shepherd [EMAIL PROTECTED],
 # 'modprobe lp' gives me
 # modprobe: Can't locate module lp
 # 
 # This is/was a stock debian kernel from an official CD.
 # 
 # Anything else I can try, or do I have to recompile the kernel (I've
 never
 # done it before).
 # Can I somehow grab the stock kernel from a distribution mirror?
 # 
 # Please excuse my lack of kernel knowledge - I'm learning fast
 
 Well, your best bet would be to compile your own kernel. Many times. Or,
 at least until you get it the way you want it ;) The knowledge gained
 will be useful whenever you're having a problem of this nature.
 Explaining how to compile your own kernel is beyond the scope of this
 email, but many guides and tutorials exists, like the one I mentioned in
 my previous email.
 
You can compile the kernel the debian way with kernel-package which
automates the compile steps.Look at the manual make-kpkg.
You'll want to set CONFIG_PRINTER=m to create the lp.o module when you 
config 
the kernel.
When checking for modules run modprobe -l to check the modules on your
system.And look at the config file for your kernel in /boot.