Re: [expert] emergency [resolved]

2003-06-09 Thread Aleksey Naumov
Thanks to all for valuable suggestions! I ended up taring /home to a FAT32 
partition, then reinstalling from scratch and restoring /home. This time I 
set / and /home to ReiserFS (Rolf, Rob -- thanks for the advise).

Funny, after all this work -- in the new installation trying to access Zip in 
KDE locks up the panel again (this is where my problem started in the first 
place: trying to kill X at this point with Ctrl-Alt-Backspace), only this 
time I just waited :-) ... it does open up after a minute. Somewhat 
dissappointing that it is so sluggish, maybe I'll disable supermount on it...

Again, thank you all for helping!
Aleksey

 Aleksey Naumov wrote:
  Thanks to all (Rob, Rolf, Steven) for good suggestions!
 
  No linux-nonfb and failsafe do not for me giving the same INIT
  messages. I was able to make some progress by booting with MDK 9.1 CD
  into rescue, then going to console:
  (a) Ran fsck.ext2 on my / and it complained that the superblock is bad.
  Ran it again with the alternate superblock (8193) and fixed a whole lot
  of problems (incorrect ref counts, etc.). Still no booting, get the same
  INIT messages
  (b) Then I noticed that in my /etc there is no rc.d at all, no wonder
  init complaines that it cannot execute /etc/rc.d/rc.sysinit and
  there are no more processes at a runlevel. Also there is no init.d, so
  all start/stop scripts are gone. Wonder how that could have happened???
 
  More importantly, what could I do now short of reinstalling? I don't
  have rc.d backed up anywhere. Is it possible to get rc.d by
  installing an rpm, which one then? Or do these scripts get generated
  somehow during an install? Any ideas are welcome...
 
  Thank you,
  Aleksey

 $ urpmf /etc/rc.d
 initscripts:/etc/rc.d
 initscripts:/etc/rc.d/init.d
 initscripts:/etc/rc.d/init.d/alsa
 initscripts:/etc/rc.d/init.d/dm
 initscripts:/etc/rc.d/init.d/functions
 initscripts:/etc/rc.d/init.d/halt
 initscripts:/etc/rc.d/init.d/kheader
 initscripts:/etc/rc.d/init.d/killall
 initscripts:/etc/rc.d/init.d/mandrake_consmap
 initscripts:/etc/rc.d/init.d/mandrake_everytime
 initscripts:/etc/rc.d/init.d/mandrake_firstime
 initscripts:/etc/rc.d/init.d/netfs
 initscripts:/etc/rc.d/init.d/network
 initscripts:/etc/rc.d/init.d/partmon
 initscripts:/etc/rc.d/init.d/random
 initscripts:/etc/rc.d/init.d/rawdevices
 initscripts:/etc/rc.d/init.d/single
 initscripts:/etc/rc.d/init.d/sound
 initscripts:/etc/rc.d/init.d/usb
 initscripts:/etc/rc.d/rc
 initscripts:/etc/rc.d/rc.local
 initscripts:/etc/rc.d/rc.modules
 initscripts:/etc/rc.d/rc.sysinit
 initscripts:/etc/rc.d/rc0.d
 initscripts:/etc/rc.d/rc0.d/S00killall
 initscripts:/etc/rc.d/rc0.d/S01halt
 initscripts:/etc/rc.d/rc1.d
 initscripts:/etc/rc.d/rc1.d/S00single
 initscripts:/etc/rc.d/rc2.d
 initscripts:/etc/rc.d/rc2.d/S99local
 initscripts:/etc/rc.d/rc3.d
 initscripts:/etc/rc.d/rc3.d/S99local
 initscripts:/etc/rc.d/rc4.d
 initscripts:/etc/rc.d/rc4.d/S99local
 initscripts:/etc/rc.d/rc5.d
 initscripts:/etc/rc.d/rc5.d/S99local
 initscripts:/etc/rc.d/rc6.d
 initscripts:/etc/rc.d/rc6.d/S00killall
 initscripts:/etc/rc.d/rc6.d/S01reboot
 console-tools:/etc/rc.d/init.d/keytable
 sysklogd:/etc/rc.d/init.d/syslog
 vixie-cron:/etc/rc.d/init.d/crond
 xinetd:/etc/rc.d/init.d/xinetd
 portmap:/etc/rc.d/init.d/portmap
 XFree86-xfs:/etc/rc.d/init.d/xfs
 apache-conf:/etc/rc.d/init.d
 apache-conf:/etc/rc.d/init.d/httpd
 [..]

 A lot more packages have files/directories in /etc/rc.d/././.  Is your
 /home a separate partition?  Can you mount and read it from a rescue
 session?  Or, don't you say that 'failsafe' will boot for you?  If so,
 you can do the work from there.  You might need to run fsck again.  Be
 careful.  Think about saving /home before you do something radical.  If
 you mount your installation on /mnt and chroot /mnt in the rescue
 session, you might be able to call man fsck to get some info.

 Also, I thought there was an option to upgrade/repair an existing
 Mandrake installation when you booted CD1.  Can't say from experience
 but such a process might work in this case.  It would be better to copy
 the valuable things in /home somewhere safe, first.  I would recommend
 installing on reiserfs if you have to do a complete install again.
 There are other journalling filesystems but I have had a good history
 with reiserfs.

 Rolf

-- 
Aleksey Naumov
GIS Analyst
Center for Health and Social Research
Buffalo State College

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[expert] emergency

2003-06-08 Thread Aleksey Naumov
Ok, I have a severe problem with MDK 9.1, can't even boot anymore. Can
anyone help?

Here is what happened:

1. In KDE I selected Removable Media/Zip to mount/open in Konq a zip disk

2. KDE panel lockup. 
This happened to me before, I guess because of problems with automount.
Previously I 'fixed' it by Ctrl-Alt-Backspace to kill X and log in again
(couldn't find anything better). Didn't work this time, got system lockup.

3. I did hard reboot. Selected y for System Integrity check. Problems
were reported on /dev/hda6 (that's my / as I recalled later). System
offered to fix problems (data may be lost), I said n hoping first to
boot and save my today's work. It seems I should have said y! More
messages about problems on /dev/hda6 with offers to fix. At this point I
decided to reboot and answer y to 'fix problems?' question.

4. Hard reboot. Even worse now, got these messages right away:
INIT: cannot execute /etc/rc.d/rc.sysinit
INIT: entering runlevel: 5
INIT: cannot execute /etc/rc.d/rc
INIT: Id 1 respawning too fast: disabled for 5 minutes
(Same message repeated for Id 2 - 6)
INIT: no more processes left in this runlevel

5. Ok, tried to boot from my MDK 9.1 boot disk (made during the
installation), got:
SYSLINUX 1.67
Could not find kernel image: linux
boot:

What do I do now?

6. Tried booting from MDK 9.1 install CD and going into rescue, but that
stuff is just way over my head...

--- 
Ok, it seems I made a bad decision when I said n to fixing /
problems :-( Do I have any choices at this point (feasible for someone who
is a day-to-day user but not an expert), short of reinstalling 9.1 (at
least the /usr, so I don't lose /home, etc.)?

Thank you!
Sleep time now :-)

Aleksey


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] emergency

2003-06-08 Thread Aleksey Naumov
Thanks to all (Rob, Rolf, Steven) for good suggestions!

No linux-nonfb and failsafe do not for me giving the same INIT 
messages. I was able to make some progress by booting with MDK 9.1 CD 
into rescue, then going to console:
(a) Ran fsck.ext2 on my / and it complained that the superblock is bad. 
Ran it again with the alternate superblock (8193) and fixed a whole lot 
of problems (incorrect ref counts, etc.). Still no booting, get the same 
INIT messages
(b) Then I noticed that in my /etc there is no rc.d at all, no wonder 
init complaines that it cannot execute /etc/rc.d/rc.sysinit and 
there are no more processes at a runlevel. Also there is no init.d, so 
all start/stop scripts are gone. Wonder how that could have happened???

More importantly, what could I do now short of reinstalling? I don't 
have rc.d backed up anywhere. Is it possible to get rc.d by 
installing an rpm, which one then? Or do these scripts get generated 
somehow during an install? Any ideas are welcome...

Thank you,
Aleksey
Steven Broos wrote:

I had a comparable problem a couple days ago. Same errors...
Turned out to be my fault (ofcourse): I changed something in
/etc/security/console.perms.  Because of that reason, my harddrives
weren't listed in /dev/, could not be load, etc...  
It gave a suggestion maybe your MBR is bad, try this e2fsck  

I booted in linux-failsave mode (which was working) and edited the file
console.perms. (I forgot to comment a line :-))
Maybe you can learn some more by watching the booting-errors above the
suggestions closely ? (you can scroll up by pressing shift-pgup)
Steven



On Sun, 2003-06-08 at 06:09, Aleksey Naumov wrote:
 

Ok, I have a severe problem with MDK 9.1, can't even boot anymore. Can
anyone help?
Here is what happened:

1. In KDE I selected Removable Media/Zip to mount/open in Konq a zip disk

2. KDE panel lockup. 
This happened to me before, I guess because of problems with automount.
Previously I 'fixed' it by Ctrl-Alt-Backspace to kill X and log in again
(couldn't find anything better). Didn't work this time, got system lockup.

3. I did hard reboot. Selected y for System Integrity check. Problems
were reported on /dev/hda6 (that's my / as I recalled later). System
offered to fix problems (data may be lost), I said n hoping first to
boot and save my today's work. It seems I should have said y! More
messages about problems on /dev/hda6 with offers to fix. At this point I
decided to reboot and answer y to 'fix problems?' question.
4. Hard reboot. Even worse now, got these messages right away:
INIT: cannot execute /etc/rc.d/rc.sysinit
INIT: entering runlevel: 5
INIT: cannot execute /etc/rc.d/rc
INIT: Id 1 respawning too fast: disabled for 5 minutes
(Same message repeated for Id 2 - 6)
INIT: no more processes left in this runlevel
5. Ok, tried to boot from my MDK 9.1 boot disk (made during the
installation), got:
SYSLINUX 1.67
Could not find kernel image: linux
boot:
What do I do now?

6. Tried booting from MDK 9.1 install CD and going into rescue, but that
stuff is just way over my head...
--- 
Ok, it seems I made a bad decision when I said n to fixing /
problems :-( Do I have any choices at this point (feasible for someone who
is a day-to-day user but not an expert), short of reinstalling 9.1 (at
least the /usr, so I don't lose /home, etc.)?

Thank you!
Sleep time now :-)
Aleksey



__

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
   



 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
 




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Using gcc 3.2: 'cc1' warning message

2002-10-25 Thread Aleksey Naumov
On Thursday 24 October 2002 02:24 am, Martin Fahrendorf wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Am Mittwoch, 23. Oktober 2002 21:30 schrieb Aleksey Naumov:
  Dear experts,
 
  I am using gcc 3.2 (on ML 9.0) and I get a lot of warnings from cc1:
 
   cc1: warning: changing search order for system directory
  /usr/local/include cc1: warning:   as it has already been specified as
  a non-system directory
 
  I understand this warning is caused by '-I/usr/local/include' in the
  compilation line. So, '/usr/local/include' must be a system include
  directory in gcc 3.2.
 
  Is there any way to suppress this message, or remove
  '/usr/local/include' from the default include list? A lot of packages I
  have to compile use '-I/usr/local/include' and it is a pain to deal with
  the flood of identical cc1 warnings.

 It's more than a pain; cyrus' imap-2.0.16 does not configure correctly
 because they interprete these warning as an error.

 So thats the big advantage of OpenSource, use the Source. search for
 /usr/local/include in the configure-scripts or Makefiles and remove it.

That will be my last resort. I still hope there is aa easy way to remove 
/usr/local/include from system includes; 'gcc -v' gives current configure 
options, maybe I have to recompile gcc with appropriate option?
Otherwise, I'll have to edit Makefiles every time I update my files from CVS 
repository...

Aleksey





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] Using gcc 3.2: 'cc1' warning message

2002-10-23 Thread Aleksey Naumov
Dear experts,

I am using gcc 3.2 (on ML 9.0) and I get a lot of warnings from cc1:

 cc1: warning: changing search order for system directory /usr/local/include
 cc1: warning:   as it has already been specified as a non-system directory

I understand this warning is caused by '-I/usr/local/include' in the 
compilation line. So, '/usr/local/include' must be a system include directory 
in gcc 3.2. 

Is there any way to suppress this message, or remove  '/usr/local/include' 
from the default include list? A lot of packages I have to compile use 
'-I/usr/local/include' and it is a pain to deal with the flood of identical 
cc1 warnings.

Thank you,
Aleksey


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] What is wrong with knotes?

2002-10-22 Thread Aleksey Naumov
Thanks, Igor, replacing old .kde folder did it, knotes works again.
Aleksey

 On Friday 18 October 2002 02:13 pm, Aleksey Naumov wrote:
  Hi all,
 
  I am having trouble with KDE's knotes application (yellow sticky notes).
  I used it alot for keeping miscellaneous information, but now I keep
  loosing data with it!
 
  Ok, I start from scratch: quit knotes, remove old files from
  ~/.kde/share/apps/knotes/notes, start knotes (knotes in console), then
  add a few notes. Each note appears in ~/.kde/share/apps/knotes/notes as
  files KNote N and .KNote N_data (N=1,2...). But when I quit knotes
  and start it again, the files are overwritten somehow: instead of the
  note itself all .KNote N_data files now contain some settings, similar
  to those in KNote N files, e.g.:
 
  richtext=false
  tabsize=4
  titlefont=Bitstream Charter,11,-1,5,74,0,0,0,0,0
  [General]
  version=2.2
  [WindowDisplay]
  desktop=0
  position=98,233
  state=32
 
  So, the notes are lost. What am I doing wrong? Anyone else had this
  happen? I have a fresh ML 9.0 install (but kept /home from 8.2) with KDE
  3.0.3.

 It's probably caused by you keeping your old home directory.  KDE may not
 like the fact that its config directory is the one from KDE2.  I would
 suggest moving ~/.kde somewhere else, and letting it create a new one, and
 then copy anything you need over there.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] What is wrong with knotes?

2002-10-18 Thread Aleksey Naumov
Hi all,

I am having trouble with KDE's knotes application (yellow sticky notes). I 
used it alot for keeping miscellaneous information, but now I keep loosing 
data with it!

Ok, I start from scratch: quit knotes, remove old files from 
~/.kde/share/apps/knotes/notes, start knotes (knotes in console), then add 
a few notes. Each note appears in ~/.kde/share/apps/knotes/notes as files 
KNote N and .KNote N_data (N=1,2...). But when I quit knotes and start it 
again, the files are overwritten somehow: instead of the note itself all 
.KNote N_data files now contain some settings, similar to those in KNote 
N files, e.g.:

richtext=false
tabsize=4
titlefont=Bitstream Charter,11,-1,5,74,0,0,0,0,0
[General]
version=2.2
[WindowDisplay]
desktop=0
position=98,233
state=32

So, the notes are lost. What am I doing wrong? Anyone else had this happen?
I have a fresh ML 9.0 install (but kept /home from 8.2) with KDE 3.0.3.

Thanks,
Aleksey


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Supermount stopped working?

2002-09-27 Thread Aleksey Naumov

Todd,

I am afraid, my problem is more serious and is not KDE-specific. Just tried 
Gnome and get exactly the same bundle of problems as in KDE: zip is not 
mounted properly, what file browsers as well as 'ls -ll' show me is NOT 
what's on the disk! 
I plug in a disk, but the file tree I see on it actually belongs to another 
zip disk, and it doesn't change if I try other disks. Needless to say, I 
can't write to the disks (all of which work fine in Win98).

I recall now it started to go haywire after I installed a local printer with 
HardDrake. The printer also stopped working properly very soon after the 
installation (maybe when I accessed the zip...). So, the real problem must be 
some serious conflict b/w zip and printer. I'll start digging there...

Thanks,
Aleksey

On Friday 27 September 2002 18:10, Todd Lyons wrote:
 Aleksey Naumov wrote on Fri, Sep 27, 2002 at 05:52:37PM -0400 :
  Dear experts,
 
  Recently I am having a problem ejecting a Zip disk. I use supermounting
  and the mounting part works ok: I can see files on the zip after I plug
  it in. However, it doesn't want to eject: the eject button is ignored
  until I log out of KDE, only then I get my disk back. It seems the
  unmounting part is not working?

 This is a KDE issue.  There's nothing you can do about it because that's
 the way KDE is designed.  :(  The only answer as you've discovered is to
 exit KDE.  There may be others, but I'm unaware of them.  Myself, I
 don't run KDE and don't have problems with any of my peripherals.

 Blue skies... Todd




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] 3com 3c90x

2001-06-13 Thread Aleksey Naumov

Civileme,

I am in the same boat with Juha, I have a 3C905B-Combo and just can't
get it to work using either DHCP or static setup (but it works in both
ways
under Win98).

civileme wrote:

 I have three of those cards, identical in model number and
 decignation  3C905C types.

 All three run like champs under 8.0 with fixed IPs

What driver module do you use? Can you load 3c90x?
I get the same problem as Juha when I try to load it.
3c59x loads fine but gets me nowhere (no network connection)


 One will run with dchp but not with dhcpcd, only with
 dhcp-client.  The others seem to be allergic to dhcp.

 3C905Bs have no troubles whatsoever.

Are your 3C905Bs combos (i.e. 3C905B-Combo), and if so
then what interface do you actually use?

Aleksey






Re: [expert] 3C905B-Combo network card

2001-06-11 Thread Aleksey Naumov

Pierre,

here's my route -n output:

[root@botik /root]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
136.183.128.0   0.0.0.0 255.255.224.0   U 0  00 eth0
127.0.0.0   0.0.0.0 255.0.0.0   U 0  00 lo
0.0.0.0 136.183.129.253 0.0.0.0 UG0  00 eth0

Here's the setup for my machine I got from our sys admins:
IP: 136.183.132.47
Subnet: 255.255.224.0
gateway is 136.183.129.253

I am confused why there is a destination network 136.183.128.0 in my table, and
not
a 136.183.132.0. Does this make sense?

Thank you,

Aleksey

Pierre Fortin wrote:

 Aleksey Naumov wrote:
 
  Hi,
 
  is anyone able to use a 3Com EtherLink 10/100 PCI 3C905B-Combo NIC with
  LM8.0?
 
  Mine is connected via 10Base2 (thinnet) with BNC connectors, works
  perfect under windows,
  but not at all in LM8.0. I can't ping my gateway or anything else, I get
  Destination Host Unreachable
  all the time.

 That usually indicates a routing problem; give us output from route -n...

 Pierre





[expert] 3C905B-Combo network card

2001-06-08 Thread Aleksey Naumov

Hi,

is anyone able to use a 3Com EtherLink 10/100 PCI 3C905B-Combo NIC with
LM8.0?

Mine is connected via 10Base2 (thinnet) with BNC connectors, works
perfect under windows,
but not at all in LM8.0. I can't ping my gateway or anything else, I get
Destination Host Unreachable
all the time.

I am thinking, could it be because the card chooses the wrong interface,
say 10BaseT instead of
10Base2? The 3c59x module loads fine (but gets me nowhere), but I
can't find out if it
accepts any options, such as the interface...

The newer 3c90x does not load at all. It gives:

[root@botik 3c90x-1.0.0]# insmod 3c90x
Using /lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz
Warning: /lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz
parameter switchdelay has max  min!
/lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz: init_module: No
such device
Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ parameters

or if I try to set media to 10Base2:

[root@botik 3c90x-1.0.0]# insmod 3c90x media_select=3
Using /lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz
Warning: /lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz
parameter switchdelay has max  min!
/lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz: unknown
parameter type 'M' for media_select

Has anyone been able to load the 3c90x module, especially with this
card?

I also downloaded the source for 3c90x and tried to compile it, but got
lots of warnings and errors.
Has anyone done this? Would you share how to?

Thank you,

Aleksey








Re: [expert] Network problem: problem with 3Com card setup? [Was:can't connect via DHCP]

2001-05-23 Thread Aleksey Naumov

David,

Thank you very much for your help, it took me a while to digect it, plus other
things changed as well.
Most importantly -- DHCP is not the source of my problem. Our computer admins
assigned me a static IP address (with a subnet mask, gateway and 3 DNS servers), but

the story is the same -- it works under Windows (I plugged the IP numbers instead of

DHCP, just to see that it works in Win), but not in Linux...

I've done networking setup many times since, through linuxconf and directly editing
/etc/hosts, /etc/resolv.conf, etc... I start to think that there is a problem with
the card setup.
Maybe a bad IRQ sharing? Is there any way to run some diagnostic in Linux to see if
the card
setup is ok?

I am grateful for any suggestions...

David Rankin wrote:

 Uhh.., I think I know what your problem is. (Guys on the list -- tell me if I'm
 wrong) Your modules files should be '.o' not '.o.gz'. I don't think modprobe or
 anything else for that reason will unzip a module for use. Here is how to test
 the 3c90x.o driver.

No, it seems it is the other way around -- modprobe seems to look for a .o.gz
file. I uncompressed the 3c90x module (btw, all modules in drivers are compressed),
and then modprobe couldn't find it:

[root@botik net]# pwd
/lib/modules/2.4.3-20mdk/kernel/drivers/net
[root@botik net]# gunzip 3c90x.o.gz
[root@botik net]# cd ..
[root@botik drivers]# ll net/3c*
-rw-r--r--1 root root 4078 Apr 15 17:14 net/3c501.o.gz
-rw-r--r--1 root root 4006 Apr 15 17:14 net/3c503.o.gz
-rw-r--r--1 root root 9326 Apr 15 17:14 net/3c505.o.gz
-rw-r--r--1 root root 4641 Apr 15 17:14 net/3c507.o.gz
-rw-r--r--1 root root 5890 Apr 15 17:14 net/3c509.o.gz
-rw-r--r--1 root root 9910 Apr 15 17:14 net/3c515.o.gz
-rw-r--r--1 root root16191 Apr 15 17:14 net/3c59x.o.gz
-rw-r--r--1 root root31276 Apr 15 17:14 net/3c90x.o
[root@botik drivers]# modprobe -t net 3c90x
modprobe: Can't locate module 3c90x which is needed for 3c90x

Then I compressed it back, and it's found, but doesn't load:
[root@botik drivers]# ll net/3c*
-rw-r--r--1 root root 4078 Apr 15 17:14 net/3c501.o.gz
-rw-r--r--1 root root 4006 Apr 15 17:14 net/3c503.o.gz
-rw-r--r--1 root root 9326 Apr 15 17:14 net/3c505.o.gz
-rw-r--r--1 root root 4641 Apr 15 17:14 net/3c507.o.gz
-rw-r--r--1 root root 5890 Apr 15 17:14 net/3c509.o.gz
-rw-r--r--1 root root 9910 Apr 15 17:14 net/3c515.o.gz
-rw-r--r--1 root root16191 Apr 15 17:14 net/3c59x.o.gz
-rw-r--r--1 root root14468 Apr 15 17:14 net/3c90x.o.gz
[root@botik drivers]# modprobe -t net 3c90x
Warning: /lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz parameter
switchdelay has max  min!
/lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz: 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.3-20mdk/kernel/drivers/net/3c90x.o.gz: insmod
/lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz failed
/lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz: insmod 3c90x failed


 (1) change to your modules directory for your system. Mine is
 /lib/modules/2.2.17-21mdk
 (2) the network modules should be in /lib/modules/2.2.17-21mdk/net

It seems Mandrake 8.0 uses a slightly different layout: I found 3c90x.o.gz in
/lib/modules/2.4.3-20mdk/kernel/drivers/net (see above).

 (3) from /lib/modules/2.2.17-21mdk do ls net/3c* to make sure you have 3c90x.o
 (4) do modprobe -t net 3c90x or modprobe -t net 3c* (to try all 3com drivers)

Did that (see above), 3c59x loads just fine, 3c90x fails...

 (5) after doing modprobe, do lsmod. If modprobe was able to load the driver it
 will be listed

lsmod lists 3c59x, seems ok, but Ethernet connection doesn't work...

[root@botik drivers]# lsmod
Module  Size  Used by
es1371 27440   0
soundcore   3504   4  [es1371]
ac97_codec  8688   0  [es1371]
gameport1520   0  [es1371]
3c59x  24640   1  (autoclean)
usb-uhci   20672   0  (unused)
usbcore47248   1  [usb-uhci]
ide-scsi7568   0
nls_iso8859-1   2848   1  (autoclean)
nls_cp850   3584   1  (autoclean)
vfat9040   1  (autoclean)
fat30720   0  (autoclean) [vfat]
supermount 32496   8  (autoclean)
sd_mod 11048   0  (unused)
scsi_mod   86036   2  [ide-scsi sd_mod]

Thank you again,

Aleksey






[expert] Network problem: can't connect via DHCP

2001-04-28 Thread Aleksey Naumov

Hi, Mandrake experts!

I've just installed Mandrake 8.0 on my PII 400MHz HP at work. My
computer is on a
college network and connection is done with DHCP. The problem is that I
can't get
DHCP connection to work in Linux, while it works just fine in Win98.

At boot time I get:

Setting network parameters:[  OK  ]
Bringing up interface lo:  [  OK  ]
Bringing up interface eth0:  Determining IP information for eth0...
 failed.
   [FAILED]

I've tried to play with dhcpcd parameters, but with no result:

 dhcpcd -v
DHCP Client Daemon v.1.3.19-pl4

 dhcpcd
 dhcpcd -r
as well as playing woth the -h (host) option:
 dhcpcd -h foohost
 dhcpcd -h machine_name  # name my machine is known as under Win
 dhcpcd -h machine_name.domainname

I get the same message (in log):

Apr 27 19:41:41 HAP429 dhcpcd[1355]: broadcasting DHCP_DISCOVER
Apr 27 19:42:41 HAP429 dhcpcd[1355]: timed out waiting for a valid DHCP
server response


I also tried to use the pump daemon instead of dhcpcd:

 pump
Operation failed.
 pump --win-client-ident
Operation failed.

as well as all -h options, but with the same result.

At least pump daemon logs more info, but I don't know if it's useful.
Does anyone?
Here it is:

Apr 27 19:37:23 HAP429 pumpd[1348]: PUMP: sending discover
Apr 27 19:37:23 HAP429 pumpd[1348]: breq: opcode: 1
Apr 27 19:37:23 HAP429 pumpd[1348]: breq: hw: 1
Apr 27 19:37:23 HAP429 pumpd[1348]: breq: hwlength: 6
Apr 27 19:37:23 HAP429 pumpd[1348]: breq: hopcount: 0
Apr 27 19:37:23 HAP429 pumpd[1348]: breq: xid: 0xf5fba69c
Apr 27 19:37:23 HAP429 pumpd[1348]: breq: secs: 0
Apr 27 19:37:23 HAP429 pumpd[1348]: breq: flags: 0x
Apr 27 19:37:23 HAP429 pumpd[1348]: breq: ciaddr: 0.0.0.0
Apr 27 19:37:23 HAP429 pumpd[1348]: breq: yiaddr: 0.0.0.0
Apr 27 19:37:23 HAP429 pumpd[1348]: breq: server_ip: 0.0.0.0
Apr 27 19:37:23 HAP429 pumpd[1348]: breq: bootp_gw_ip: 0.0.0.0
Apr 27 19:37:23 HAP429 pumpd[1348]: breq: hwaddr:
Apr 27 19:37:23 HAP429 pumpd[1348]: breq: servername:
Apr 27 19:37:23 HAP429 pumpd[1348]: breq: bootfile:
Apr 27 19:37:23 HAP429 pumpd[1348]: breq: vendor: 0x63 0x53 0x82 0x63
Apr 27 19:37:23 HAP429 pumpd[1348]: breq: vendor:  53   1 0x01
Apr 27 19:37:23 HAP429 pumpd[1348]: breq: vendor: 0xff
Apr 27 19:37:23 HAP429 kernel: eth0: using NWAY device table, not 8


People in tech support were not very helpful (it's a Windows only
campus). They
gave me IP addresses for subnet, gateway and DHCP server, but what do I
do with them?
The DHCP server is probably run on NT.


I've read the DHCP mini-howto, as well as other network howtos and I
can't get
this moving. I also went through network setup in Mandrake control
center (as well as
linuxconf), the Mandrake control center uses wizard and determines
correctly that
I am on a LAN and using DHCP, then reports that the network is set...
and it isn't!

Any ideas would be very much appreciated!

Aleksey


P.S.

Could this be a problem with my Ethernet card rather than DHCP? It
doesn't look
like it to me (especially since it works perfectly under Win98), but
just in case,
here the info on my Ethernet card:

-
I have a 3Com 3c905B-Combo [Deluxe EtherLink XL 10/100] card. Of the 3
connectors
the one that's is used is 10Base2 (thinnet with metal
push-and-turn-to-lock).

The driver used is 3c59x that came with the system. I tried to compile
the newer
3c90x, but couldn't get it to compile. However, this is likely not a
problem, since
the Ethernet-HOWTO says that my card (3c905B) is supported by this
driver (3c59x).

I don't know how to check if the card itself works, but the following
messages
(from dmesg) make me think it's ok:

 dmesg
...
3c59x.c:LK1.1.13 27 Jan 2001  Donald Becker and others.
http://www.scyld.com/network/vortex.html
See Documentation/networking/vortex.txt
eth0: 3Com PCI 3c905B Cyclone 10/100/BNC at 0x1400,  00:50:04:0a:fb:13,
IRQ 11
  product code 5545 rev 00.0 date 01-21-99
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
  MII transceiver found at address 24, status 782d.
  Enabling bus-master transmits and whole-frame receives.
eth0: scatter/gather enabled. h/w checksums enabled
eth0: using NWAY device table, not 8