LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-09-2006, 09:34 AM   #1
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Rep: Reputation: 30
rc.inet1 will NOT load/Mp3 playback/Amarok Config


As the title suggests, I have 2 issues. First, after recently doing a new install of Slack and then upgrading it to current, I have been having fun. I've setup my machine with all of the same configurations (ie rc.wireless, rc.M, fstab, inittab, etc) that I had previously. Everything has been working pretty well.

Problem #1: I have not TOUCHED my network config files since setting it up...however it is hit or miss whether "rc.inet1" will run on startup. Most of the time it will NOT work and I have to start it from the command line. I checked my rc.M file and it looked fine. BTW, I have the computer on a desk about 5' from the wireless router. Distance shouldn't be a problem.

Problem #2: When playing ogg or mp3 files, I get a terrible stuttering ALL the time from noatun and juk. I tried modifying the settings in the KDE sound server to use high priority and the largest buffer possible, but it had NO effect. Interestingly, when I play an mp3 using "mpg321" from a terminal...it plays without a flaw.

Problem #3: Amarok looks like a great iTunes-like program and I would like to get it going (once problem #2 no longer exists). For some reason when I lauch Amarok it says there is no xine engine even though xine is installed on my system. I went into settings and chose the "arts" engine. It will now play an mp3, but I have the exact same choppiness.

Thanks in advance!
 
Old 06-09-2006, 11:32 AM   #2
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
1. im not sure why iy will work sometimes and others it doesnt. try running 'netconfig' and see if that fixes it.

2. arts is sometimes buggy and causes some apps not to work properly. I just have it disabled on my system and have my apps configured to use alsa (or oss depending on your kernel) mpeg123 is using alsa which is why it wroks better.

regards,
...drkstr
 
Old 06-09-2006, 12:54 PM   #3
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by drkstr
1. im not sure why iy will work sometimes and others it doesnt. try running 'netconfig' and see if that fixes it.
I tried that. It's REALLY weird. rc.M should take care of lauching rc.inet1. I've managed a "workaround" so that I can guarrantee it starting. I editted rc.M and commented OUT the "if-then" statement about rc.inet1
**EDIT**
I put a line that says
Code:
. /etc/rc.d/rc.inet1 start
at the very END of my rc.M file..after rc.local.

**NOTE**
There should be a space between the "." and the "/". It doesn't work without it. NOW it starts all the time. I've been using slackware for about 2 years now and I NEVER had that problem before. I looked at the "if-then" statement and it looked correct.

Quote:
2. arts is sometimes buggy and causes some apps not to work properly. I just have it disabled on my system and have my apps configured to use alsa (or oss depending on your kernel) mpeg123 is using alsa which is why it wroks better.
I think I actually fixed the problem using your suggestion. I removed the arts package so that it would be impossible for my KDE apps to try and use it for playback. Unfortunately, Noatun and Juk no longer work. With that being said Amarok (which I am starting to like a lot) works GREAT when I use the "xine engine" and tell it to use alsa for the output.

Now if I can get xscreensaver to work properly I will be all set...for now.

Here's my xscreensaver problem:

I have KDE setup to use the "clock" from xscreensaver and it is supposed to start automatically after 5 minutes....which it does NOT do. If I lock the screen the clock appears but it will not start properly during my x session.

Last edited by tubatodd; 06-09-2006 at 05:19 PM.
 
Old 06-10-2006, 07:03 AM   #4
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
the rc.inet1 problem could be an issue with udev.
rc.inet1 modprobes your network card, which in turn leads to udev making something like
/etc/rc.d/rc.inet1 eth0_start.
eventually you will have two dhcpcd running, interfering with each other.
disable rc.syslog and see if there are two dhcpcd running to confirm this problem (or look in the logs).

temporary workaround would be hitting strg-c in the startup process. as an alternative you could comment out the relevant part in udev (/etc/hotplug/net.agent or something ;-) )
 
Old 06-10-2006, 12:29 PM   #5
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Quote:
Unfortunately, Noatun and Juk no longer work.
Hm. I didn't find an option to make noatun usa alsa, it just does it automaticly on my system. Make sure you have arts disabled in the KDE control center. Maybe it's trying to use something that's no longer there.

Quote:
temporary workaround would be hitting strg-c in the startup process. as an alternative you could comment out the relevant part in udev (/etc/hotplug/net.agent or something ;-) )
I would just 'chmod -x /etc/rc.d/rc.inet1' to disable it, then bring up your device manually in your 'rc.local' This way you have more control over what your system is doing.

regards,
...drkstr
 
Old 06-10-2006, 06:13 PM   #6
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 66
Another route to go maybe to 'replace' rc.inet1, rc.inet1.conf,rc.wireless, and rc.wireless.conf.

I had simular issues at some point, and replaced them with the files from Alien Bob.
Here's the link to those files
 
Old 07-14-2006, 02:05 PM   #7
Slim Backwater
Member
 
Registered: Nov 2005
Distribution: Slackware 10.2 2.6.20
Posts: 68

Rep: Reputation: 15
hotplug in -current not running rc.inet1 ?

I'm having the same problem. I had a nice working 10.2 and I just updated it to -current and now my network doesn't start.

My guess is that the network driver (forcedeth) is being loaded by hotplug, (so the first call to rc.inet1 in rc.M doesn't actually do anything) but hotplug is not calling rc.inet1 after detecting the NIC when it's supposed to.

Maybe I made a mistake when I was moving in all the .new files in /etc ? (I did diff them, and if the changes looked benign I put them in, but didn't keep the old ones to compare now)

I don't understand hotplug enough yet to determine why/ how this changed.

I've found that I can modprobe -r forcedeth, and run rc.hotplug and it will reload the module, but not assign the static IP address defined in rc.inet1.conf. (I'm running a static IP, not DHCP)

Here's a clip from my /var/log/messages after bootup. I've enabled DEBUG_ETH_UP in rc.inet1.conf and you can see the first call to rc.inet1 (from rc.M) complaining that the eth0 interface doesn't exist "yet". Then rc.hotplug is called and forcedeth is started, but still eth0 isn't coming up.
Code:
Jul 14 14:20:02 poseidon kernel: Freeing unused kernel memory: 180k freed
Jul 14 14:20:02 poseidon kernel: Linux agpgart interface v0.101 (c) Dave Jones
Jul 14 14:20:02 poseidon kernel: Capability LSM initialized
Jul 14 14:20:02 poseidon kernel: Adding 1048568k swap on /swapfile.  Priority:-1 extents:592 across:1138396k
Jul 14 14:20:02 poseidon logger: /etc/rc.d/rc.inet1:  List of interfaces: 'eth0 eth1 eth2 eth3 eth4 eth5'
Jul 14 14:20:02 poseidon logger: /etc/rc.d/rc.inet1:  /sbin/ifconfig lo 127.0.0.1
Jul 14 14:20:02 poseidon logger: /etc/rc.d/rc.inet1:  /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
Jul 14 14:20:02 poseidon logger: /etc/rc.d/rc.inet1:  eth0 interface does not exist (yet)
Jul 14 14:20:02 poseidon logger: /etc/rc.d/rc.inet1:  eth1 interface does not exist (yet)
Jul 14 14:20:02 poseidon logger: /etc/rc.d/rc.inet1:  eth2 interface does not exist (yet)
Jul 14 14:20:02 poseidon logger: /etc/rc.d/rc.inet1:  eth3 interface does not exist (yet)
Jul 14 14:20:02 poseidon logger: /etc/rc.d/rc.inet1:  eth4 interface does not exist (yet)
Jul 14 14:20:02 poseidon logger: /etc/rc.d/rc.inet1:  eth5 interface does not exist (yet)
Jul 14 14:20:02 poseidon logger: /etc/rc.d/rc.inet1:  /sbin/route add default gw 10.1.0.4 metric 1
Jul 14 14:20:02 poseidon logger: SIOCADDRT: Network is unreachable
Jul 14 14:20:02 poseidon logger: /etc/rc.d/rc.hotplug start (entering script)
Jul 14 14:20:02 poseidon kernel: ACPI: PCI Interrupt 0000:02:0b.0[A] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
Jul 14 14:20:02 poseidon kernel: ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[11]  MMIO=[ff5fe800-ff5fefff]  Max Packet=[20
48]  IR/IT contexts=[4/8]
Jul 14 14:20:02 poseidon ieee1394.agent[1357]: ... no drivers for IEEE1394 product 0x/0x/0x
Jul 14 14:20:02 poseidon kernel: shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Jul 14 14:20:03 poseidon kernel: ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LTID] -> GSI 10 (level, low) -> IRQ 10
Jul 14 14:20:03 poseidon kernel: ata1: SATA max UDMA/133 cmd 0x9F0 ctl 0xBF2 bmdma 0xC800 irq 10
Jul 14 14:20:03 poseidon kernel: ata2: SATA max UDMA/133 cmd 0x970 ctl 0xB72 bmdma 0xC808 irq 10
Jul 14 14:20:03 poseidon kernel: ata1: SATA link down (SStatus 0)
Jul 14 14:20:03 poseidon kernel: scsi0 : sata_nv
Jul 14 14:20:03 poseidon kernel: ata2: SATA link down (SStatus 0)
Jul 14 14:20:03 poseidon kernel: scsi1 : sata_nv
Jul 14 14:20:03 poseidon kernel: forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.49.
Jul 14 14:20:03 poseidon kernel: ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LKLN] -> GSI 11 (level, low) -> IRQ 11
Jul 14 14:20:04 poseidon kernel: eth0: forcedeth.c: subsystem: 01043:80a7 bound to 0000:00:05.0
Jul 14 14:20:04 poseidon ieee1394.agent[1490]: ... no drivers for IEEE1394 product 0x/0x/0x
Jul 14 14:20:04 poseidon ieee1394.agent[1506]: ... no drivers for IEEE1394 product 0x/0x/0x
Jul 14 14:20:04 poseidon kernel: ACPI: PCI Interrupt 0000:00:02.2[C] -> Link [LUS2] -> GSI 10 (level, low) -> IRQ 10
Jul 14 14:20:04 poseidon kernel: ehci_hcd 0000:00:02.2: EHCI Host Controller
Jul 14 14:20:04 poseidon kernel: ehci_hcd 0000:00:02.2: debug port 1
Jul 14 14:20:04 poseidon kernel: ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1
Jul 14 14:20:04 poseidon kernel: ehci_hcd 0000:00:02.2: irq 10, io mem 0xff6ffc00
Jul 14 14:20:04 poseidon kernel: ehci_hcd 0000:00:02.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
Jul 14 14:20:04 poseidon kernel: usb usb1: configuration #1 chosen from 1 choice
Jul 14 14:20:04 poseidon kernel: hub 1-0:1.0: USB hub found
Jul 14 14:20:04 poseidon kernel: hub 1-0:1.0: 8 ports detected
Jul 14 14:20:04 poseidon kernel: ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LUS0] -> GSI 11 (level, low) -> IRQ 11
Jul 14 14:20:04 poseidon kernel: ohci_hcd 0000:00:02.0: OHCI Host Controller
Jul 14 14:20:04 poseidon kernel: ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
Jul 14 14:20:04 poseidon kernel: ohci_hcd 0000:00:02.0: irq 11, io mem 0xff6fd000
Jul 14 14:20:04 poseidon kernel: usb usb2: configuration #1 chosen from 1 choice
Jul 14 14:20:04 poseidon kernel: hub 2-0:1.0: USB hub found
Jul 14 14:20:04 poseidon kernel: hub 2-0:1.0: 4 ports detected
Jul 14 14:20:05 poseidon kernel: ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [LUS1] -> GSI 9 (level, low) -> IRQ 9
Jul 14 14:20:05 poseidon kernel: ohci_hcd 0000:00:02.1: OHCI Host Controller
Jul 14 14:20:05 poseidon kernel: ohci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 3
Jul 14 14:20:05 poseidon kernel: ohci_hcd 0000:00:02.1: irq 9, io mem 0xff6fe000
Jul 14 14:20:06 poseidon kernel: usb usb3: configuration #1 chosen from 1 choice
Jul 14 14:20:06 poseidon kernel: hub 3-0:1.0: USB hub found
Jul 14 14:20:06 poseidon kernel: hub 3-0:1.0: 4 ports detected
Jul 14 14:20:06 poseidon kernel: i2c_adapter i2c-0: nForce2 SMBus adapter at 0x5000
Jul 14 14:20:06 poseidon kernel: i2c_adapter i2c-1: nForce2 SMBus adapter at 0x5040
Jul 14 14:20:06 poseidon kernel: agpgart: Detected AGP bridge 0
Jul 14 14:20:06 poseidon kernel: agpgart: Setting up Nforce3 AGP.
Jul 14 14:20:06 poseidon kernel: agpgart: aperture base > 4G
Jul 14 14:20:08 poseidon kernel: USB Universal Host Controller Interface driver v2.3
Jul 14 14:20:11 poseidon logger: /etc/rc.d/rc.hotplug start (exiting script)
Jul 14 14:20:21 poseidon kernel: NET: Registered protocol family 10
Jul 14 14:20:21 poseidon kernel: lo: Disabled Privacy Extensions
Jul 14 14:20:21 poseidon kernel: IPv6 over IPv4 tunneling driver
And here's a clip of running rc.hotplug after unloading the forcedeth module, and me manually running rc.inet1 4 minutes later.

Code:
Jul 14 14:54:48 poseidon logger: /etc/rc.d/rc.hotplug start (entering script)
Jul 14 14:54:49 poseidon kernel: forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.49.
Jul 14 14:54:49 poseidon kernel: ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LKLN] -> GSI 11 (level, low) -> IRQ 11
Jul 14 14:54:49 poseidon kernel: eth0: forcedeth.c: subsystem: 01043:80a7 bound to 0000:00:05.0
Jul 14 14:54:49 poseidon kernel: ACPI: PCI Interrupt 0000:00:02.2[C] -> Link [LUS2] -> GSI 10 (level, low) -> IRQ 10
Jul 14 14:54:49 poseidon kernel: ehci_hcd 0000:00:02.2: EHCI Host Controller
Jul 14 14:54:49 poseidon kernel: ehci_hcd 0000:00:02.2: debug port 1
Jul 14 14:54:49 poseidon kernel: ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1
Jul 14 14:54:49 poseidon kernel: ehci_hcd 0000:00:02.2: irq 10, io mem 0xff6ffc00
Jul 14 14:54:49 poseidon kernel: ehci_hcd 0000:00:02.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
Jul 14 14:54:49 poseidon kernel: usb usb1: configuration #1 chosen from 1 choice
Jul 14 14:54:49 poseidon kernel: hub 1-0:1.0: USB hub found
Jul 14 14:54:49 poseidon kernel: hub 1-0:1.0: 8 ports detected
Jul 14 14:54:50 poseidon kernel: ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LUS0] -> GSI 11 (level, low) -> IRQ 11
Jul 14 14:54:50 poseidon kernel: ohci_hcd 0000:00:02.0: OHCI Host Controller
Jul 14 14:54:50 poseidon kernel: ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
Jul 14 14:54:50 poseidon kernel: ohci_hcd 0000:00:02.0: irq 11, io mem 0xff6fd000
Jul 14 14:54:50 poseidon kernel: usb usb2: configuration #1 chosen from 1 choice
Jul 14 14:54:50 poseidon kernel: hub 2-0:1.0: USB hub found
Jul 14 14:54:50 poseidon kernel: hub 2-0:1.0: 4 ports detected
Jul 14 14:54:51 poseidon kernel: ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [LUS1] -> GSI 9 (level, low) -> IRQ 9
Jul 14 14:54:51 poseidon kernel: ohci_hcd 0000:00:02.1: OHCI Host Controller
Jul 14 14:54:51 poseidon kernel: ohci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 3
Jul 14 14:54:51 poseidon kernel: ohci_hcd 0000:00:02.1: irq 9, io mem 0xff6fe000
Jul 14 14:54:51 poseidon kernel: usb usb3: configuration #1 chosen from 1 choice
Jul 14 14:54:51 poseidon kernel: hub 3-0:1.0: USB hub found
Jul 14 14:54:51 poseidon kernel: hub 3-0:1.0: 4 ports detected
Jul 14 14:54:51 poseidon kernel: i2c_adapter i2c-0: nForce2 SMBus adapter at 0x5000
Jul 14 14:54:51 poseidon kernel: i2c_adapter i2c-1: nForce2 SMBus adapter at 0x5040
Jul 14 14:54:54 poseidon kernel: USB Universal Host Controller Interface driver v2.3
Jul 14 14:54:57 poseidon logger: /etc/rc.d/rc.hotplug start (exiting script)
Jul 14 14:58:56 poseidon logger: /etc/rc.d/rc.inet1:  /sbin/ifconfig eth0 10.1.0.13 broadcast 10.1.255.255 netmask 255.255.0.0
Jul 14 14:58:56 poseidon logger: /etc/rc.d/rc.inet1:  /sbin/route add default gw 10.1.0.4 metric 1
Any hints?

Thanks.

Edit: I remembered more more thing about what I did that might have caused this.

I started with the 2.6.16.22 generic kernel and an initrd (resierfs root on RAID1), but as this machine has 3 GB RAM, I compiled a new 2.6.16.22 kernel with three changes:
1. Processor type = Athlon/Duron/K7
2. HighMem = 4G
3. Kernel Hacking-Magic SysRQ enabled.
I started with the .config from the kernel-source-2.6.16.22-noarch-1.tgz package. I'm going to put the CPU back to 486 and see what that does.

Last edited by Slim Backwater; 07-14-2006 at 02:32 PM.
 
Old 07-14-2006, 11:11 PM   #8
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 66
Try to modprobe the forcedeth driver, see if that helps (Sometimes it needs a kickstart)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
SUSE n00b help with nvidia driver, dual monitor, mp3 playback in amarok, etc mylinuxquestionsname Suse/Novell 4 03-02-2006 03:24 PM
SUSE n00b help with nvidia driver, dual monitor, mp3 playback in amarok, etc mylinuxquestionsname Suse/Novell 5 02-25-2006 11:35 AM
Slow playback in AmaroK kahlil88 Linux - Software 3 10-27-2005 01:19 AM
strange problem with rc.inet1 / eth0 config shadow.blue Slackware 2 06-25-2003 02:50 AM


All times are GMT -5. The time now is 03:38 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration