Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
2 Pages V   1 2 >

jeff_brown
Posted on: May 30 2004, 01:11 AM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


I was having the darndest problems multitracking.audio. I could get one track down, but then recording more while playing back the already-recorded track would get everything all garbled. This would have seemed like a duplexxing problem, right? But it wasn't -- all I had to do was tell Audacity to record in stereo, and voila, it worked.

This was doubly non-obvious to me because mono would seem to be less processor-intensive, right? But apparently it's "outdated" or "unsupported" or something.

Since it got in the way of multitracking for me, it might be responsible for other audio recording problems in other situations.

--Jeff


P.S. I'm a happy camper now. I don't plan on changing a thing for the rest of my computer's life. (Well, maybe that's an exaggeration ...)
  Forum: Hardware Support · Post Preview: #13571 · Replies: 1 · Views: 1,896

jeff_brown
Posted on: May 20 2004, 12:29 AM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


Thanks, Lest. It's great somebody knows what I'm talking about.

Yesterday I borrowed a Sound Blaster Audigy 2 ZS Platinum, which according to some accounts has true full duplex, although it's not advertised. I'm beginning to doubt that it does, though, because I get the identical problem -- tracks after the first sound like a demon talking behind a fan.

Are you sure that fake full duplex should be able to produce a recognizable sound? Because my card's certainly got fake full duplex capability; if you're right I'll hunt around some more.

But regarding that hunt: I don't see much to change. Half of the only parameters I can see to change are in KDE Control Center, under Sound -> Sound System -> Hardware. They are "use full duplex", "use a custom sampling rate", and "choose the quality (8 or 1 bits, or "default")". I've tried toggling all, without effect. The other half of the parameters I know to adjust are in KMix, and there's a zillion; I've tried toggling them individually, but if they interact much, I'm up factorial's creek without a diploma.


Terrified of boring my audience,
Jeff Brown


P.S.

I had more than half an inkling to go buy an M-Audio as soon as I read your endorsement. However I must steel myself to this plan, which is to compose on the computer only to the point where I know how to score the piece, and then get it played. The only good a quality signal will do is I'll be tempted to produce from my computer, and I'll never get the band thing going.
  Forum: Technical Support · Post Preview: #13169 · Replies: 2 · Views: 2,145

jeff_brown
Posted on: May 19 2004, 01:16 PM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


Many companies, the makers Soundblaster in particular, make a lot of soundcards that "fake" full duplex. True Full Duplex is the ability to record an input while playing back an output, and it requires two Digital / Analog converters. Where they only have one, I believe they fake it by lowering the sample rate and then devoting every other sample to the other signal (I could be wrong about this).

I own a Soundblaster LIve, which is one of these "faker" cards. I don't know whether to be unhappy.

Currently, if I record while playing back, the playback sounds normal (although it could be missing some superhigh partials and I might not notice), while the recorded input is totally mangled. Said mangling involves chopping it up so it sounds like I'm singing from behind a fan, and dropping the pitch a few octaves so I sound like a demon.

However, it might be correctible.

Signal quality is not very important to me. I'm using the thing for composing, not recording -- I just want to hear various ideas at the same time, so I can tell my band how to play something. Multitracking is very important -- like, the only important thing. [There's the wind-up. Now the pitch.]

Should I be grabbing a sound card with true full duplex, or can I cut the sample rates on the recording & playback (playback especially) so that recorded tracks beyond the 1st are recognizable?

Best tinkerings,
Jeff Brown
  Forum: Technical Support · Post Preview: #13153 · Replies: 2 · Views: 2,145

jeff_brown
Posted on: May 8 2004, 11:56 PM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


Hello, intrepid fellow explorers of man's great technological wilderness!

Everything one might need in order to record, I have working -- yet I cannot record. I'm using KRec, and hence aRts, in Mandrake 10 Community.

Most of this email I'm going to spend giving my story. However, you don't have to read it -- if you've successfully done sound or music on Linux and you have particular arrangements to recommend, you can skip my trials and just tell me what's worked for you, and I'll feel very helped!

------------ The setting: ------------
I can send my voice through the PC speakers, via Line in. The sound quality is stunning.

I've been taking the advice of the lesson in KDE Help Center's entry for KRec. It says I must assign Capture: On to the Line in. I can.

It also describes requirements for aRts. First, from arts-control, audio manager should show KRec::In is set to the in_soundcard bus. It is.

Next, KRec needs arts "on" and in full-duplex mode. Here might lie my first problem, because I can't determine whether aRts is "on" or in full-duplex mode. The K Control Sound Server page, which is supposed to, doesn't mention aRts at all (nor ALSA or LADSPA or OSS or any of those things it used to configure in Mandrake 9.1).

However, I'm pretty sure aRts works, because I can do all sorts of stuff with it: The aRts Control tool will show a picture, or even a bouncing EQ graph, of music files from the PCM channel; from there I can run the FreeVerb effect on the music in real time (although the vocal Line input receives no effect); I can even use aRts shell commands, like "artsshell volume x" to multiply the volume by a factor of x.

So aRts seems to work. And if it does, then everything works -- but the dang machine won't record!

------------ The problem: ------------
According to the KDE Help Center Tutorial, "if everything worked you should now see something colorful moving inside KRec -- the VU-Meter showing how loud your recording is. The slider to the right of the VU-Meter controls the volume." There's no such thing. There *is* an empty gray space, to the right of which a slider can move in [0, 200]. However, mic'd signals yields nothing in KRec. I can go through the motions of recording, in which case it will create a file, but on playing that file sox hurls:

sox: bad input format for mic.raw*: sample rate was not specified

(I think it was .raw, but it could have been .wav. Sorry -- I'm stukk in Windows now.)

------------ So tell me ... ------------
Has anyone else run into aRts problems in Mdk 10? If you've got no ideas on that, can you recommend an alternate method of recording? Does Mandrake 10 Official have a similarly deficient KControl Sound Server panel? If not I'll upgrade in a second. Or if you've had better sound experiences with other distributions, tell me and I'll try those. I'm really open to suggestions -- I've got all summer to bathe in these programs.

I've already had JACK suggested, and I plan to install it -- but it's a sound server, hence it's got massive requirements, hence I'll probably eat pavement again, hence I'd like to at least give aRts a serious shot first.

Any help is INCREDIBLY, ABSURDLY appreciated.


--Jeff Brown
  Forum: Technical Support · Post Preview: #12734 · Replies: 2 · Views: 1,811

jeff_brown
Posted on: May 3 2004, 11:15 PM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


I've been putting up with a similar problem. On Mandrake 10.0, I've got a lot of applications -- OpenOffice, KDE Help, Mandrake Control Center, Timidity, lots of others -- that seem to use a different font server. None of the standard KDE font controls seem to change them, and they're all stuck at a ridiculously small size.

OpenOffice and Timidity are quite blocky; I thought maybe they use ncurses, which I believe (somebody tell me if I'm wrong) is a bare-bones font server.
  Forum: Tips and Tricks · Post Preview: #12517 · Replies: 4 · Views: 25,590

jeff_brown
Posted on: Apr 14 2004, 12:49 AM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


Hello Mr. Falcon. I don't think I can help. [Anyone else reading this ...?]

I can, however, offer more standard hacker's advice. In C, if something really breaks, and it's little, you can just rewrite it. The same might work here -- if you find two separate lists of instructions for how to burn a CD, and the instruction sets differ, there's a chance one will work even though others don't.

I didn't understand your idea about comparing bogus images to real ones. How would you make an ISO out of a disc you can't mount?

Last -- if you're as cheap as me*, you should get a CD-RW, erasing it from another system after every failure. Then you could try the Joliet thing, and see if Windows reads it. If not, you know the CD itself is bad, rather than Linux's understanding of the CD.

("worth another coaster" -- that was pretty funny)
  Forum: Technical Support · Post Preview: #11840 · Replies: 6 · Views: 3,822

jeff_brown
Posted on: Apr 12 2004, 12:09 PM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


As a non-Linux-genius I feel like I can support lest0039's claim that Mandrake is good for new users. The install is extremely forgiving, and most of how it works seems to make a lot of sense. It's true, they haven't implemented any system yet whereby you can point to anything and have a box appear explaining how it works; however, when they do tell you how something works, they're quite often correct.
  Forum: Technical Support · Post Preview: #11762 · Replies: 3 · Views: 2,376

jeff_brown
Posted on: Apr 12 2004, 12:00 PM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


For what it's worth:

I had to solve a similar problem: I burned CDs in Linux and read them in Windows, but Windows would not recognize the disc unless I had burned it using the "-joliet-long" option, which renders a Joliet filesystem on the front of the disc, in addition to the normal Linux-style filesystem (the name of which I forget; let's call it Bob).

My version of cdrecord burns a Bob filesystem by default, but maybe it's possible that yours doesn't. If so, it would seem likely that unless you use the extension to include a Bob filesystem, the disc would be unmountable.

But there's a good chance I'm barking up the wrong tree -- especially if you're burning bootable discs, which I don't even know if they come with a filesystem.

More generally, as a computer science person, I would recommend that you break the task into smaller steps -- first see if you can record a data CD. If so, you've isolated the problem; if not, you know exactly how discouraged to be.
  Forum: Technical Support · Post Preview: #11761 · Replies: 6 · Views: 3,822

jeff_brown
Posted on: Apr 9 2004, 03:23 PM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


I replaced ifcfg-ath0 as suggested. I believe I have no software firewall this time, because I'm pretty sure I didn't ask for a firewall upon reinstalling (I didn't even choose any of the "server" stuff), and my /etc/init.d contains nothing called "iptables".
  Forum: Technical Support · Post Preview: #11626 · Replies: 2 · Views: 1,900

jeff_brown
Posted on: Apr 8 2004, 08:53 PM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


Hi. I'm trying to reachieve the situation I had once already, so I haven't gotten stuck in most of the places that stopped me once.

I just reinstalled Mandrake Linux 9.1 from CD, sharing a hard drive with Windows. I'm trying to get internet connectivity. Below I've attached details gathered; here I'm going to try to sum them up.

I have a DLink DWL 520 wireless adapter on my computer, which works already when I'm using Windows. It connects to a DLink DI-624 router, which connects to a DSL phone modem.

I installed the madwifi driver, which required installing kernel-source from CD and then mucking around a bit (see below). I now load the three modules madwifi created every time I start linux. (I have instructions on how to automate that; I just don't want to yet.)

In this process I had to write a couple files: ifcfg-ath0 and resolv.conf. (The latter actually already existed, but had been empty.)

I do not have internet connectivity. I'm sure there's lots of reasons why; here are two demonstrations:
CODE
[root@localhost etc]# ifup ath0
Can't find a dhcp client
[root@localhost etc]# ping 192.168.0.1
connect: Network is unreachable

If I'm lucky, my problem will be obvious from the above. If not, here is a lot of diagnostic information, from Windows and Linux:

====================== ============= ======================
====================== How stuff is: ======================
====================== ============= ======================

---------------------- Windows says: ----------------------
CODE
Physical Address: 00-0D-88-8B-DD-FE
IP Address: 192.168.0.101
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.0.1
DHCP Server: 192.168.0.1
Lease Obtained: 4/8/2004 4:58:38 PM
Lease Expires: 4/15/2004 4:58:38 PM
DNS Server: 192.168.0.1
WINS Server:

---------------------- Linux says: ----------------------
I got data from more than one place, to say the least.

/var/log/messages
These data are from the very end of the file. There were a few more references to wlan, ath_hal, ath_pci and ath0 deeper into the file, but they looked redundant.
CODE
Apr  8 16:00:14 localhost kernel: wlan: 0.7.3.1 BETA
Apr  8 16:00:18 localhost kernel: ath_hal: 0.9.8.6
Apr  8 16:00:26 localhost kernel: ath_pci: 0.8.5.4 BETA
Apr  8 16:00:26 localhost kernel: ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3
Apr  8 16:00:26 localhost kernel: ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
Apr  8 16:00:26 localhost kernel: ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
Apr  8 16:00:26 localhost kernel: ath0: 802.11 address: 00:0d:88:8b:dd:fe
Apr  8 16:00:26 localhost kernel: ath0: Atheros 5212: mem=0xfbe00000, irq=11
Apr  8 16:00:26 localhost /etc/hotplug/net.agent: invoke ifup ath0
Apr  8 16:01:00 localhost CROND[3086]: (root) CMD (nice -n 19 run-parts /etc/cron.hourly)

dmesg
CODE
wlan: 0.7.3.1 BETA
ath_hal: 0.9.8.6
ath_pci: 0.8.5.4 BETA
ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 802.11 address: 00:0d:88:8b:dd:fe
ath0: Atheros 5212: mem=0xfbe00000, irq=11

ifconfig ath0 up

This command returned nothing but a newline.


ifconfig
CODE
ath0      Link encap:Ethernet  HWaddr 00:0D:88:8B:DD:FE
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:126 errors:9 dropped:0 overruns:0 frame:9
         TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:199
         RX bytes:15248 (14.8 Kb)  TX bytes:597 (597.0 b)
         Interrupt:11 Memory:e5efd000-e5f0d000

lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:730 errors:0 dropped:0 overruns:0 frame:0
         TX packets:730 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:47220 (46.1 Kb)  TX bytes:47220 (46.1 Kb)

iwconfig
CODE
lo        no wireless extensions.

ath0      IEEE 802.11  ESSID:"default"
         Mode:Managed  Frequency:2.437GHz  Access Point: 00:0D:88:88:1F:F1
         Bit Rate:36Mb/s   Tx-Power:off   Sensitivity=0/3
         Retry:off   RTS thr:off   Fragment thr:off
         Encryption key:off
         Power Management:off
         Link Quality:27/94  Signal level:-68 dBm  Noise level:-95 dBm
         Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
         Tx excessive retries:0  Invalid misc:0   Missed beacon:0

ifup ath0
CODE
Can't find a dhcp client

route -n
CODE
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo

route print
Included some instructional stuff that I've left out, and then this:
CODE
 List of possible address families (which support routing):
   inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
   netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
   x25 (CCITT X.25)


====================== =========== ======================
====================== What I did: ======================
====================== =========== ======================

CODE
[root@localhost linux]# urpmi kernel-source

CODE
[root@localhost linux]# cp Makefile Makefile.jbk

then I modified the original Makefile, deleting the word "custom" from the end of line 4, so that the last three letters are "mdk".
CODE
[root@localhost linux]#  "make mrproper"

CODE
[root@localhost linux]# cp .config .config.jbk
[root@localhost linux]# cp /boot/config-2.4.21-0.13mdk .config

The old .config file looked identical to the one replacing it, but I made a backup just in case.
CODE
[root@localhost linux]# make oldconfig
[root@localhost linux]# make dep

Then I changed directories and installed the wifi driver:
CODE
[root@localhost madwifi]# make clean
[root@localhost madwifi]# make
[root@localhost madwifi]# make install
[root@localhost madwifi]# modprobe wlan
[root@localhost madwifi]# modprobe ath_hal
[root@localhost madwifi]# modprobe ath_pci

----------------------------------------------------------------------
------------------------ PROGRESS REPORT: ----------------------------
----------------------------------------------------------------------
By this point, I am done installing the kernel-source and the madwifi drivers. I did a few more things ...

CODE
[root@localhost madwifi]# urpmi libiw wireless-tools


------------------------ STRANGE ----------------------------
At this point, I need to create a config file for ath0, named ifcfg-ath0.
Last time I put it where "ifcfg-eth0" is, but according to Konqueror I have no such file now


Anyway, I find a file called ifcfg-lo, and I figure that's close enough, so I create ifcfg-ath0 in the same place.
CODE
[root@localhost networking]# kwrite ifcfg-ath0 &

I put the following in the new file, /etc/sysconfig/networking/ifcfg-ath0:
CODE
DEVICE=ath0
#
#
BOOTPROTO=dhcp
ONBOOT=yes
#
TYPE=Wireless

I also create a link to ifcfg-ath0 from inside /etc/sysconfig/network-scripts/, because there was a corresponding link for ifcfg-lo
CODE
[root@localhost etc]# ifup ath0
Can't find a dhcp client

CODE
[root@localhost etc]# cp resolv.conf resolv.conf.jbk
[root@localhost etc]# kwrite resolv.conf &

It used to be an empty file. All I did was add this line:
nameserver 192.168.0.1

------------------------ STRANGE ----------------------------
A month ago when I was doing this, resolv.conf did not start out empty.


The last thing I ran was this:
CODE
[root@localhost etc]# ping 192.168.0.1
connect: Network is unreachable
  Forum: Technical Support · Post Preview: #11597 · Replies: 2 · Views: 1,900

jeff_brown
Posted on: Apr 8 2004, 10:29 AM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


I gave up and reinstalled Mandrake 9.1. If you want, of course, you can still answer any of the questions above, but I don't have an immediate need to know anymore.
  Forum: Technical Support · Post Preview: #11562 · Replies: 21 · Views: 9,961

jeff_brown
Posted on: Apr 7 2004, 12:02 AM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


[... continued remarks ...
recall, I was hoping to find
NVIDIA_kernel-2.4.21.0.27mdk.something]

I did find something close:
NVIDIA_kernel-2.4.21.0.25.2tex-4496.i586.rpm, for Mandrake.

Should I try installing that, or would I be risking certain death?
  Forum: Technical Support · Post Preview: #11456 · Replies: 21 · Views: 9,961

jeff_brown
Posted on: Apr 6 2004, 09:50 PM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


Problems
I'm sorry, I can't find the NVIDIA driver. Either I'm looking in the wrong places, or I'm looking for the wrong thing.

I've been searching for anything that starts with "NVIDIA_kernel-2.4.21.0.27mdk". Are there other titles that would work too?

I looked on rpmfind and on some ftp sites. The ftps had nothing for NVIDIA. rpmfind had NVIDIA drivers, but none for Mandrake, let alone with an appropriate version number. NVidia's site has drivers, but the only "NVIDIA_kernel" drivers they have are for version 1.x, last updated in September of 2001!

I'm feeling discouraged. I'm glad you're helping.


Error
I reported that I had the following installed:
kernel-N.13.mdk-1-1mdk
kernel-N.17*.mdk-1-1mdk
kernel-source-N.27.mdk
NVIDIA_kernel-N.13mdk-4321-3mdk

I made a typo: the .17 was supposed to be a .27. So I'm assuming that would change your advice from:

[QUOTE]
Do:
rpm -e kernel-N.13.mdk-1-1mdk kernel-N.17.mdk-1-1mdk
if you also have kernel-2.4.21.0.27mdk-1-1mdk
[UNQUOTE]

to:
[HYPOTHETICAL QUOTE]
Do
rpm -e kernel-N.13.mdk-1-1mdk
[END HYPOTHETICAL QUOTE]

If that's the case: Why would I want to erase the .13 package? What if I try a bunch of stuff in .27 and nothing works, but I kept .13 -- can I return to .13 somehow?
  Forum: Technical Support · Post Preview: #11446 · Replies: 21 · Views: 9,961

jeff_brown
Posted on: Apr 6 2004, 05:20 PM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


I discovered that I have the following rpms installed. (N stands for 2.4.21.0)

kernel-N.13.mdk-1-1mdk
kernel-N.17.mdk-1-1mdk
kernel-source-N.27.mdk
NVIDIA_kernel-N.13mdk-4321-3mdk

So to get the display working again, I need a new rpm package NVIDIA_kernel-N.27...? Is that all?

I'll need to reinstall my soundcard, my DV display adaptor, and my printer. The soundcard and DV were autodetected from day 1, by the CD. Is it impossible to have them autodetected again?

Why do I need "sources" for the new kernel, if I have the new kernel already? I thought sources were only for rewriting code, which I won't be doing!

Is a module not the same thing as a driver?
  Forum: Technical Support · Post Preview: #11433 · Replies: 21 · Views: 9,961

jeff_brown
Posted on: Apr 6 2004, 12:49 PM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


Hmm. I lost X. However, I did manage to upgrade the kernel.

Recall that a few days ago I ran "urpmi kernel.xxx", and then "urpmi kernel-source". Whatever that did, I did not undo or uninstall. Should I have?

Anyway, I downloaded and installed the latest kernel via console rpm. Upon rebooting, Mandrake's nice graphical display now goes into fits; I believe it is trying screens that don't work, and then retreating to a previous routine. Eventually it lets me log into a dry console, whereupon "uname -r" reveals kernel version 2.4.21.0.27, and the command "X" yields this:

(EE) NVIDIA(0): Failed to initialize the NVidia kernel module.
(EE) NVIDIA(0): ***Aborting***
(EE) NVIDIA(0): Screens found but none have a usable configuration

Fatal server(?) error:
No screens found

(Might not have been the word "server". I can't read my writing.)

I tried pointing /usr/src/linux at /usr/src/kernel.xxx.13 instead of .27. No dice: when I rebooted my gesture was ignored, and .27 came up again.

The graphical error looks very similar, maybe identical, to a problem I had once when I tried to adjust to a lower resolution. I used some Drak GUI, and when I rebooted, I got the same fits and starts, and the same "no screens usable" error. Then I fixed it by putting some of the contents of a backup config file into the "current" (broken) config file. I'm tempted to try the same thing again, but I'm afraid of breaking it more, so I thought I'd get another opinion first.

When someone updates their kernel, how much software do they have to reinstall? Everything, or just drivers? My goal in doing this was to get ALSA to work, but if it doesn't significantly increase my chances of that, maybe I should retreat. Is that possible? If I never uninstalled kernel xxx.13, can I still use it?
  Forum: Technical Support · Post Preview: #11407 · Replies: 21 · Views: 9,961

jeff_brown
Posted on: Apr 5 2004, 03:39 PM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


Hello! Happy Spring Break!

My saga bumbles steadily along. I've kind of got the update thing going, but kind of not. I also have a few more questions on rpms generally.


The Update on Updates

History of Changes:
I did as you said, and now if I understood correctly urpmi has all the media sources it needs for Mandrake 9.1: Disc_1, Disc_2 and update_source, from ftp.cs.ucr.edu. After setting those up, I ran the following sequence of commands:

urpmi.update -a
uprmi --auto-select
update kernel-2.4.21.0.28mdk*
urpmi kernel-source

(*While I was never able to find a direct statement to this effect, I convinced myself through lookiing around that this was the latest kernel for Mandrake 9.1. If I'm wrong, let me know.)

Current Situation:
Those changes went without a hitch. You warned that in /usr/src, linux might point to the wrong directory. It doesn't, but it does:

I don't know what /usr/src contained prior to my running update-kernel. Now it contains two rival directories, linux...13.mdk and linux...27.mdk -- neither of which ends in .28, the kernel I thought I had updated to. Linux points to .27. However, running uname -r still gives me this:

2.4.21-0.13mdk

Knowing nothing, I am unable to diagnose.


Two less situational, more sustained use questions

rpm and urpmi
What should be my pimary manner now of using rpm and urpmi? If I understand correctly, whenever I see something I want, I should download the rpm, install it with the normal rpm command. If I see something I want that is an update to something I already have, I can just type "urpmi.update -a" and everything I own will be updated, so in particular the thing I was looking at will be updated. Am I correct, or is this more or less work than I really have to do?

src rpms
I've been in the habit of installing the src rpms, taking a sort of superstitious comfort in being "closer to the real thing'. Somebody at the LUG I went to Saturday said that I probably should use the "straight images" rather than the source, if I don't plan on mucking with code, because it creates more work. I plan to follow his advice in the future, but I still have my past errors to resolve:

If I have installed a file "name...src...rpm" via regular shell rpm, I should be able to then declare "urpmi name" and have the real program installed, correct? That's what I've done with most src rpms, but at least one of them has refused to work that way. I would just uninstall the src rpm and install a straight image, but I don't know how; that's my next question.

If I install "name...src...rpm", I've found that I can't query it with "rpm -q name", because that's not it's name. How can I query it? How can I uninstall it?


I hope all is well on your side of the internet / universe.
  Forum: Technical Support · Post Preview: #11358 · Replies: 21 · Views: 9,961

jeff_brown
Posted on: Apr 3 2004, 10:28 AM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


Ignoring that the message says "open with what?", do you see three buttons under it, one of which is "save"? If so, choose that and it might work (it does for me, on Mandrake 9.1).

Other options include using another browser -- you've probably got a view in your start menu (Networking -> WWW is where all five of mine were installed to when I installed Mandrake).
  Forum: Technical Support · Post Preview: #11178 · Replies: 5 · Views: 2,801

jeff_brown
Posted on: Apr 2 2004, 10:33 AM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


After learning a bit about the shell rpm utilities, I discovered that I do not have urpmi configured to update from the net. I followed your (hughesjr's) instructions on how to configure urpmi, and got quite far (although I didn't finish). Now I have a few questions about RPMs in general, as well as a (probably easy to fix) place I'm stuck at in the update process.

General Questions on RPMs
(This is a very compound question.) When I'm getting new software, I know that a package aimed at plain Mandrake, with a plain title, will generally work. How much leeway do I have? If I need libkdevelop, will libkdevelop.so.2 work just as well? If a program *tells* me it needs "wavtools = 0.14", will a higher version work? If I get a package (say wavtools) with the word 'devel' in it, does that include wavtools, or does it need wavtools already installed?

How do you uninstall rpm source? I got an alpha package of the form "audacity....src...rpm" installed, and after that I called urpmi audacity, which apparently built the executable. Then I uninstalled audacity (way buggy), but I think the audacity-src might still be in there. This makes me hesitant to install the more stable version, because there might be library conflicts, no?

My Adventures
Apparently with success, I ran urpmi.removemedia -a.

I found these mirrors that are close to me (highest is closest):

ftp.cs.ucr.edu/pub/mirrors/mandrake/official/Mandrake/9.1/i586 (Cali)
mirrors.usc.edu/pub/linux/distributions/mandrake/9.1 (Cali)
mirrors.xmission.com/mandrake/9.1/i586/ (Utah)

Q: They all seem like good sites. Below I've only dealt with ucr, but can I list the other two as alternate sources to urpmi? Would that redundancy be good, or would it lead to inconsistencies or incompatibilities?

I searched ucr and found what I'm fairly certain are the corresponding directories for contrib, CD1, CD2 and Mandrake-updates:

/pub/mirrors/mandrake/official/Mandrake/9.1/contrib/i586
/pub/mirrors/mandrake/official/Mandrake/9.1/i586/Mandrake/RPMS
/pub/mirrors/mandrake/official/Mandrake/9.1/i586/Mandrake/RPMS2
/pub/mirrors/mandrake/official/Mandrake/updates/9.1/RPMS

Q: That's only 4 things. When I "removed media", there were 10 entries -- international, supplementary apps, commercial apps, installation sources *and* an update_source. (Possibly relevant: I use Mandrake 9.1, not 9.2.) Are all my bases covered?

I constructed the incredibly hard to read commands, and successfully linked CD1 and CD2 to their respective directories.

Q: In your instructions, you had Disk_1 and Disk_3, corresponding to directories RPMS and RPMS3. I changed every 3 to a 2. That's cool, right?

Linking to the contrib source failed. Here's what I did:

CODE

[root@localhost pre-install]# urpmi.addmedia contrib ftp://ftp:anonymous@ftp.cs.ucr.edu/pub/mirrors/mandrake/official/Mandrake/9.1/contrib/i586 with synthesis.hdlist.cz
added medium contrib
retrieving description file of "contrib"...
retrieving source hdlist (or synthesis) of "contrib"...       ftp://ftp:xxxx@ftp.cs.ucr.edu/pub/mirrors/mandrake/official/Mandrake/9.1/contrib/i586/synthesis.hdlist.cz
...retrieving failed: curl failed: exited with 19 or signal 0
retrieve of source hdlist (or synthesis) failed
no hdlist file found for medium "contrib"
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.contrib.cz]
problem reading synthesis file of medium "contrib"
unable to update medium "contrib"


Q: In your (hughesjr's) instructions, the "with"-clause for the contrib CD was missing the phrase "../base". Could that be the problem?

For reference, the four with clauses were
with synthesis.hdlist.cz
with ../base/synthesis.hdlist.cz
with ../base/synthesis.hdlist2.cz /// I changed the 3 to a 2, displayed here
with ../base/hdlist.cz

Q: I did not go on to change update_source, under the suspicion that updating the kernel might go better if I updated the other things first. Correct? Incorrect? Irrelevant?

As always, I am intensely grrateful for your help.
  Forum: Technical Support · Post Preview: #11118 · Replies: 21 · Views: 9,961

jeff_brown
Posted on: Apr 1 2004, 01:03 PM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


First Apology
On second appraisal, my post before this probably belonged elsewehre. I would delete it if I knew how.

Second Apology, and Explanation
In the beginning of this thread, you posted instruction for how to upgrade my kernel. In a previous post, you suggested Mandrake 10 Community. I avoided the subject both times, partially because I wasn't sure how much help it would be, but also partially out of fear -- it sounded like a big scary thing to do. However, I have run into so many problems with my current setup (9.1, 8 months old now) that I may soon become convinced that such a big, scary move would in fact be wise.

My biggest problems are software installs. I have tried to install a lot of software -- like twelve programs or something -- and aside for netscape and scons, every single install has ground to a halt. Most often, either my libraries can't be updated without removing other software that needs the old versions, or the RPM manager doesn't recognize that a package has been installed.

Before blaming the age of my kernel and distribution, there is one problem that seems like it might be easily fixed. I have come across the following problem three or four times: I install an RPM, and then I can't find it! Witness the following atrocity:

[root@localhost pre-install]# urpmi audacity-1.2.0-0.pre2.1mdk.src.rpm
Everything already installed
[root@localhost pre-install]# rpm -q audacity
package audacity is not installed

[I took your advice and moved from the Mandrake frontend to the command line. And thanks for pointing out how not-maintained yarec was -- I had no idea!]

If I solved this problem, then I might prefer to stick with my less-supported versions of things than to risk breaking everything by going for the gold. Otherwise I'll probably just go to the Saturday LUG in Simi Valley and update everything.
  Forum: Technical Support · Post Preview: #11068 · Replies: 21 · Views: 9,961

jeff_brown
Posted on: Mar 31 2004, 02:12 PM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


I run all kinds of wonderful software with Gtk or G or Gnome in the title. I've had RPMs called gtkxxxx, libgtkxxxx, and many variants thereof, all installed since last fall. Yet my recent attempts at installing yarec are making me wonder whether I really have Gtk installed. It's creepy.

As has happened before, I found RPM packages for yarec but was unable to download them, so I did it the old fashioned way (./configure, make, make install). I got this warning at ./configure:

checking for GTK - version >= 1.0.1... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: warning: Test for GTK failed.

That's the only complaint it ever gave me.

After installing, calling yarec (with or without arguments) from the command line yields no effect. I thought maybe it was failing to create a window, and if I find Gtk it would work. This hunch led to the following discoveries:

Searching for *bin*gtk* yields nothing, as does evaluating GTK_CONFIG or searching for *gtk-config*. I have all kinds of stuff for gtk, perhaps most notably in /etc/gtk/ and /usr/lib/gtk/. But neither of those directories is a bin, therefore the executable for GTK must be somewhere else, correct?

Once, somewhere, somebody with this problem had to add /opt/gnome/bin to their path. I have no such directory. Is this a succession of unrelated setbacks, or is there some theme here?


Eagerly,
Jeff Brown
  Forum: Technical Support · Post Preview: #10994 · Replies: 2 · Views: 2,080

jeff_brown
Posted on: Mar 30 2004, 04:35 PM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


[The follwoing post easily falls under this subject heading, but veers away from the preceding RPM discussion.]

I can't tell if my sound card is going through ALSA drivers or OSS ones. I have files for both, and directories for alsa. Dave Phillips, high-pries of linux audio software, says "If you're running OSS, look at /dev/sndstat ... If ALSA, look at /proc/asound/cards and /proc/modules". On my machine the last file is empty, and the other two don't exist. Yet I can play MIDI files through Timidity, so I'm sure SOMETHING WORKS. Again, I just don't know what.

It seems realy unlikely to me that there wouldn't be some directory or file that keeps track of all the drivers Linux is running, yet I've heard no mention of any such thing.
  Forum: Technical Support · Post Preview: #10930 · Replies: 21 · Views: 9,961

jeff_brown
Posted on: Mar 30 2004, 01:08 PM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


The LSB FSH was really interesting. Odd, bcause it's such a dry read, but I was fascinated.

Apparently, then, every command in a flat executable directory is supposed to be standalone. I thought /usr/bin was holding the contents of entire libraries -- for example, all the functions needed for xmms. I was wrong -- there's only one executable for xmms in there, that executable being xmms itself. If that's the case for every program, then I suppose it's reasonable to have a flat directory because it lets you to know everything you can do.

Questions of transparency aside, I'm still unclear as to why somebody would change the /usr/bin target directory in a configure (or was it make?) file when installing software.
  Forum: Technical Support · Post Preview: #10908 · Replies: 6 · Views: 3,538

jeff_brown
Posted on: Mar 28 2004, 07:23 PM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


Why is /usr/bin flat? Isn't that messy? Would it not be preferable to put the code for related programs in spearate directories within /usr/bin?

I'm about to install CheeseTracker, and in the install instructions it says "edit the makefile, change the install directory [from /usr/bin to whatever you want]". Why would one want to change it?
  Forum: Technical Support · Post Preview: #10826 · Replies: 6 · Views: 3,538

jeff_brown
Posted on: Mar 28 2004, 07:18 PM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


Thanks for the warning! I will proceed with caution.

Alas, for some of the functionality I want, I have no choice but to install from source. I'll just try not to install from source anything that might be needed by another program.
  Forum: Technical Support · Post Preview: #10825 · Replies: 21 · Views: 9,961

jeff_brown
Posted on: Mar 28 2004, 12:56 PM


Grub-er
**

Group: Members
Posts: 48
Joined: 12-February 04
Member No.: 2,361


You're response was thorough and I appreciate it. However I'm afraid it's not relevant to my situation. I already have a utility called RPMDrake that seems to handle RPMs quite well -- it even goes online and looks up what needs updating.

What was worrying me is whether I am irrevocably tied to RPM. I realize that if I tried installing something using RPM, I can look it up in the aforementioned utility and if it's there, then it's installed. Unfortunately, I am putting a lot of little audio-manip programs on here, and they're not all available as RPM.

Suppose I tried installing something without RPM. Is there an easy way to find out if the install was successful, and if so, what version it is at?

So far the only technique I know of is to find a directory containing the name of the program. If I find it, I look at its contents, and if they look like exectuables, I tend believe it was installed. Further, if the title has a number appended, I try to assume that is its version. But could that number be the version of the kernel it's designed to work with? (E.g. sox-2.0 would get stuck in a directory called sox-2.6.2 because it's designed to work with the 2.6.2 linux kernel?)

That generally works okay, but it seems awfully clunky. I'd like to know if there is anything in place globally that keeps track of all the installed software, RPM or otherwise.
  Forum: Technical Support · Post Preview: #10812 · Replies: 21 · Views: 9,961

2 Pages V   1 2 >

New Posts  New Replies
No New Posts  No New Replies
Hot topic  Hot Topic (New)
No new  Hot Topic (No New)
Poll  Poll (New)
No new votes  Poll (No New)
Closed  Locked Topic
Moved  Moved Topic
 

RSS Lo-Fi Version Time is now: 23rd November 2017 - 04:37 AM