LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-29-2004, 02:45 PM   #1
Krenn
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 37

Rep: Reputation: 15
Three Slack problems: mySQLd, Sound, Nic


I recompiled the kernel with 2.6.4, not long after my first install of slack.

I currently have three problems, most of which existed immediatly prior to recompile:

First, when Slack finished booting, it displays the standard Login prompt:

Slackware Login.

seconds later, text is added immeaditly after the prompt:

040329 05:40:36 mysqld ended

I can still login without difficulty, but that is very disconceting, and I suspect it will come back to haunt me when i try to use SQL.

Second problem:
I have been unable to connect to the internet, which i suspect is due to a failure to recgonize my NIC.

Third problem:
On launching KDE 2.6, it displays the error message:

sound server informational message:

error while initializing the sound driver

device default can't be opened for playback
(No such device)
the sound server will continue, using the null output device.

also, the mouse refuses to function UNTIL I tab through the message, and use enter to select "OK"


on the plus side, the recompile has dramatically improved system performance.

I am reasonably certain that I did, in fact, compile the correct drivers for sound and NIC, and am currently attempting to use pkgtool to re-run the network install scripts.
 
Old 03-29-2004, 03:00 PM   #2
Krenn
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 37

Original Poster
Rep: Reputation: 15
update:
network configuration script did nothing helpfull.

also, the mouse problem only applies if the mouse has not beeen moved before the error message appears, and it SEEMS that when the problem occurs, it can only be solved by pressing button #3 on the mouse.
 
Old 03-29-2004, 03:32 PM   #3
jsokko
Member
 
Registered: Mar 2004
Location: Phila, PA
Distribution: SuSE 9.0 / RH 9 / Slackware 9.1
Posts: 110

Rep: Reputation: 15
1. remove your old install of MySQL (after backing up your DB) & recompile MySQL (DON'T USE RPM2TGZ to convert MySQL RPM)

2. dunno about your sound... I always have problem with sound cards / chips and I don't use them anyway (CPU overhead)

3. your mouse... did you check your X86Config?
 
Old 03-29-2004, 03:36 PM   #4
Krenn
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 37

Original Poster
Rep: Reputation: 15
checking xf86 config is good idea, I'll see what I can do, and I'll see about SQL suggestion as soon as I can.

It looks like I selected the wrong type of driver for my NIC when I compiled, but I'm having problems finding either a generic driver or a driver for a Digital Equipment Corporation card...
 
Old 03-29-2004, 03:58 PM   #5
fastslack
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 1

Rep: Reputation: 0
I too have just installed Slack 9.1 and compiled a 2.6 kernel. When booted I had no sound, nic, scsi tape or parallelport printer.
Doing a lsmod showed that the modules weren't loaded for these so I did modprobe module_name ( eg modprobe via_rhine for my nic) for each and they all appeared.
I then uncommented the relevant entries in the /etc/rc.d/rc.modules file so the modules all load at boot time.
Hope this helps
 
Old 03-29-2004, 04:01 PM   #6
Krenn
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 37

Original Poster
Rep: Reputation: 15
not really, I loaded them as portions of the kernel, instead of modules.

recompiled kernel to allow for a generic Intel NIC, still isn't working...
lsPCI does detect it though.

is there a command to force-install the card?
 
Old 03-29-2004, 04:16 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
How about posting the output of lspci -v
so we can make suggestions that match
your system? :)

http://www.catb.org/~esr/faqs/smart-questions.html


Cheers,
Tink
 
Old 03-29-2004, 04:32 PM   #8
Krenn
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 37

Original Poster
Rep: Reputation: 15
for the Nic, which is my immediate problem:

ethernet controller: Digital Equipment Corporation DECchip 21140 [faster net] (rev 22)
Flags: bus master, medium devsel, latency 64, IRQ 11
I/o ports at 6400 [size=128]
Expansion ROM at <unassigned> [disabled] [size=256k]
 
Old 03-29-2004, 05:03 PM   #9
easywebdev
LQ Newbie
 
Registered: Mar 2004
Location: Donegal, Ireland
Distribution: Slackware 9.1
Posts: 7

Rep: Reputation: 0
I've been going through the same sort of issues over the last few days when installing slackware and compiling a 2.6 kernel, I'm afraid I cant help with the hardware issues but heres how to resolve the mysql bit, I found this searching on this forum yesterday.
As root issue the following commands,
mysql_install_db
chown -R mysql.mysql /var/lib/mysql
mysqld_safe &
 
Old 03-29-2004, 05:23 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by Krenn
for the Nic, which is my immediate problem:

ethernet controller: Digital Equipment Corporation DECchip 21140 [faster net] (rev 22)
Flags: bus master, medium devsel, latency 64, IRQ 11
I/o ports at 6400 [size=128]
Expansion ROM at <unassigned> [disabled] [size=256k]
Code:
grep -r 21140 /usr/src/linux-2.6.4/Documentation/networking/*


00-INDEX:       - info on using DEC 21040/21041/21140 based PCI Ethernet cards.
de4x5.txt:      DC21140[A] 
net-modules.txt:        is_not_dec = 0  -- For non-DEC card using DEC 21040/21041/21140 chip, set this to 1
So you may try with the tulip, or the de4x5 :)


Cheers,
Tink

P.S.: Until you have the right one for sure I'd
suggest using modules ;)
 
Old 03-29-2004, 05:25 PM   #11
Krenn
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 37

Original Poster
Rep: Reputation: 15
the SQL solution worked nicely, thank you.
 
Old 03-29-2004, 05:27 PM   #12
slackwarefan
Member
 
Registered: Oct 2003
Location: Florida
Distribution: Slackware
Posts: 273

Rep: Reputation: 30
for your sound, go to www.alsa-project.com and get alsa-oss libs utils. Then in KDE control center, under sound. go to hardware, and switch to alsa. that should fix your sound problem.
 
Old 03-29-2004, 08:52 PM   #13
Krenn
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 37

Original Poster
Rep: Reputation: 15
NIC now working, that just leaves sound...
 
Old 03-29-2004, 09:04 PM   #14
Krenn
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 37

Original Poster
Rep: Reputation: 15
now how on earth do i re-install ALSA... downloaded the packages easily enough, but...
 
Old 03-30-2004, 03:45 AM   #15
easywebdev
LQ Newbie
 
Registered: Mar 2004
Location: Donegal, Ireland
Distribution: Slackware 9.1
Posts: 7

Rep: Reputation: 0
I dont think the problem is with alsa, I got that the first few times I compiled a kernel as well and it was due to me not compiling support for the device in the kernel. So far alsa just checked for a device and hasnt tried to do anything else.
I have an sis mb with built in sound and I compiled support for that and it didnt work but when I looked at my windows system manager it called the soundchip a trident so I compiled support for that into the kernel and hey presto problem solved.
Take another look at your kernel config and your sound chipset.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
troubles getting Gigabit NIC to work in slack 10 (HGA32T NIC) TheLinuxDuck Slackware 10 03-10-2005 04:37 PM
Two Problems: Sound and NIC Deathspawner Linux - Hardware 6 02-07-2005 09:38 PM
Slack 10, fresh install, mysqld start problem. jml75 Slackware 6 08-17-2004 09:26 PM
mysqld ended message on Slack... Vincent_Vega Slackware 1 12-20-2003 04:04 AM
Sound Problems in Slack 9.1 undeadpenguin Linux - Hardware 3 10-27-2003 03:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration