LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-18-2003, 08:41 AM   #31
Pisces107
Member
 
Registered: Dec 2003
Distribution: Slackware Current, Gentoo , Debian SID
Posts: 90

Rep: Reputation: 15
BCM v.90 4212 won't work in Redhat 9


hi guys and linman...
specs::::
my modem: Broadcom Corporation BCM4212 v.90 56k modem
kernel: 2.4.20.8
OS: red hat 9

i used your preocedure and it worked with no problems at all on Red hat 8. now i have upgraded to Redhat 9 and the procedure doesn't work. here's the last lines of output of
"rpmbuild -bb --target i686 BCMSM-3.4.19.spec"

------------------------------
lkvi.c:3671: parse error before "args"
lkvi.c:3672: `args' undeclared (first use in this function)
lkvi.c: In function `lkvi_pci_read_config_byte':
lkvi.c:3701: `PCIBIOS_SUCCESSFUL' undeclared (first use in this function)
lkvi.c: In function `lkvi_pci_read_config_word':
lkvi.c:3710: `PCIBIOS_SUCCESSFUL' undeclared (first use in this function)
lkvi.c: In function `lkvi_pci_read_config_dword':
lkvi.c:3719: `PCIBIOS_SUCCESSFUL' undeclared (first use in this function)
lkvi.c: In function `lkvi_pci_write_config_byte':
lkvi.c:3728: `PCIBIOS_SUCCESSFUL' undeclared (first use in this function)
lkvi.c: In function `lkvi_pci_write_config_word':
lkvi.c:3737: `PCIBIOS_SUCCESSFUL' undeclared (first use in this function)
lkvi.c: In function `lkvi_pci_write_config_dword':
lkvi.c:3746: `PCIBIOS_SUCCESSFUL' undeclared (first use in this function)
lkvi.c: In function `lkvi_spin_lock_init':
lkvi.c:3882: `spinlock_t' undeclared (first use in this function)
lkvi.c:3882: parse error before ')' token
lkvi.c:3882: `SPIN_LOCK_UNLOCKED' undeclared (first use in this function)
lkvi.c: In function `lkvi_spin_lock_irqsave':
lkvi.c:3887: `spinlock_t' undeclared (first use in this function)
lkvi.c:3887: `lockPtr' undeclared (first use in this function)
lkvi.c:3887: parse error before ')' token
lkvi.c: In function `lkvi_spin_unlock_irqrestore':
lkvi.c:3897: `spinlock_t' undeclared (first use in this function)
lkvi.c:3897: `lockPtr' undeclared (first use in this function)
lkvi.c:3897: parse error before ')' token
make: *** [lkvi.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.82167 (%install)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.82167 (%install)

-------------------------------------

anyone, and if linman you yourself :-) . i want to get online.

thanks....
 
Old 12-22-2003, 12:42 PM   #32
JustMe5551212
LQ Newbie
 
Registered: Jun 2003
Distribution: Fedora Core 1
Posts: 17

Rep: Reputation: 0
I am trying this same thing to get my modem working in my Dell laptop and I get the same type of error when I try to build the RPM.

In comparing linman's output to mine, my output at this step throws ALOT of 'undeclared' errors.

I am trying this on Fedora Core 1 (aka Redhat 10).

Thanks much
 
Old 12-23-2003, 08:28 AM   #33
JustMe5551212
LQ Newbie
 
Registered: Jun 2003
Distribution: Fedora Core 1
Posts: 17

Rep: Reputation: 0
I found the cause of my RPM create problem. And Pisces107, you may have the same. In doing step #5, I did not properly replace the 2.4.18-27.8.0 with my kernel version. I omitted the last '.0' which was causing my RPM build to not 'see' my kernel sources and thus failing the build.

Hopefully that will help you Pisces107.

Now my build has gone perfectly, but when trying to install the built RPM in step 8, I get a 'Segmentation Fault' error.

Can anyone shed some light on this?

Thanks all.
 
Old 12-23-2003, 09:52 AM   #34
JustMe5551212
LQ Newbie
 
Registered: Jun 2003
Distribution: Fedora Core 1
Posts: 17

Rep: Reputation: 0
OK...more work...more progress...still no working modem

I did some searching about my RPM error and ended up at the RPM site and found some instructions about repairing my RPM database. I did that and the install of the RPM worked...sort of...

My error now is:

mknod: wrong number if arguments
Try 'mknod --help' fior more information.
chmod: failed to get attributes of '/dev/ttySMconfig': No such file or directory


I've looked for that file in the '/dev' directory and it's not there, but I am not really sure if it should be or if I'm way off base here.

I'll keep looking by any help from a successful installer would be REALLY helpful

Thanks,
JustMe
 
Old 12-29-2003, 06:29 PM   #35
Pisces107
Member
 
Registered: Dec 2003
Distribution: Slackware Current, Gentoo , Debian SID
Posts: 90

Rep: Reputation: 15
BCM 4212 v.90 driver for Slackware

hi guys,

does anybody have/know driver for the modem for Slackware? actually i tried using the same method decsribed here for Slack: the rpm gets build with no errors but when i i try to install (rpm -ihv ...) it right away gives error for "/bin/sh required " . sh is of course installed . doesn anybody have any idea about that?

or better anybody knows where i can get the driver for Slackware?

thanks...
 
Old 01-02-2004, 05:29 AM   #36
digitalmafia
LQ Newbie
 
Registered: Jan 2004
Location: nyc
Posts: 1

Rep: Reputation: 0
hmm.. linman your method worked for me fine a while back when i had rh9 on my computer. right now i'm using xp only because when i tried to re-install the driver it did not for some strange reason.. one thing i did figure out was that linux must be bookted up with the default kernel only.. for example if you end up booting linux with 2.4.2-80bigmem or some other modified kernel the driver will not work. still it remains a mystery to me why the driver would not probably install itself the 2nd time i tried to.. also what is the update on slackware 9.0 installing the driver via RPM produces no results..

due to some wiring problems in my phone line my 56k modem does not connect at high speeds anymore which really blows because i'm surfing at an average speed of 28k - 32k very slow and very time consuming. anybody know what's up.. or how i can go about fixing this problem?

for this very reason if i were to get the broadcom modem working under linux then the internet connection would be some what better even if the connection remained within the 28k - 32k range since everythings faster under linux :-)

anyway happy holidays to all !!!
 
Old 01-02-2004, 08:10 AM   #37
Pisces107
Member
 
Registered: Dec 2003
Distribution: Slackware Current, Gentoo , Debian SID
Posts: 90

Rep: Reputation: 15
Exclamation problem update

to install modem on Redhat 9 and it worked perfectly fine. but now, in Slack, that method doesn't work ; the rpm file gets generated but it doesn't get installed, it complains for " /bin/sh" required .

using the same method but this time i didn't make the rpm rather did the /make make install thing for Redhat 5/6 ". this time it made /dev/ttySM0 device and i started the BCMSM. ins short, in the kppp --> Modem-->Query, it detedcts the modem fine. but when i connect, the following error message pops up:

-------------------------------------
The pppd died unexpectedly.
Exit status:1
See man pppd
--------------------------------------

does anybody know, how to workaround that out? to me, it looks like modem is working but the pppd daemon is getting int the way.
 
Old 01-03-2004, 03:02 PM   #38
Pisces107
Member
 
Registered: Dec 2003
Distribution: Slackware Current, Gentoo , Debian SID
Posts: 90

Rep: Reputation: 15
hi,
as stated previously, i could get the modem driver compile and in kppp, 'Query Modem' does detects modem. and even, it dials but spits out the following error message:
-------------------------------------
The pppd died unexpectedly.
Exit status:1
See man pppd

%%% and when i click details. it shows this:

... pppd[826] : couldn't set tty to PPP discipline : Invalid argument
--------------------------------------

any ideas, what is that & why it is complaining?
thanks.
 
Old 01-10-2004, 08:19 PM   #39
h4rry69
LQ Newbie
 
Registered: Jan 2004
Posts: 1

Rep: Reputation: 0
Hi,

I'm a complete newbie and as such have no clue what i'm doing but i'm learning, at the moment though i have exactly the same problem wit hthe same modem, it won't work, i want to fix the problem myself but i installed mandrake with only the first 2 cds and as such have to d/l the 3rd for the kernel sources (only 36 horus left) . Does anyone have an install-ready copy of the driver for mandrake 9.2 (kernel version = 2.4.22.10mdk)? if so could you please e-mail it to david.goodfield@virgin.net

it's incredibly hard to learn how to use Linux when i have to read the articles booted in XP


Cheers in advance

Last edited by h4rry69; 01-11-2004 at 11:54 AM.
 
Old 01-25-2004, 02:27 PM   #40
rsha2000
LQ Newbie
 
Registered: Jan 2004
Location: Chennai, India
Posts: 1

Rep: Reputation: 0
Cool BCM V.9.0 Modem got installed

This is my first message. I was searching for the same and got this link in this forum. Your tutorial worked and I got registered here.
 
Old 01-28-2004, 12:13 AM   #41
lvgandhi
LQ Newbie
 
Registered: Jul 2001
Distribution: Debian
Posts: 27

Rep: Reputation: 15
Dear Linman,
I did as said by you in mandrake linux 9.2. Though I could get RPM made, while installing rpm I get mknod error and also ttySMconfig not found error. Doesit have anything to do with devfs to make device files which is default in mandrake. If so how to proceed. I want to solve the error of mknod.
 
Old 03-04-2004, 06:03 AM   #42
johnfg
LQ Newbie
 
Registered: Mar 2004
Location: Hazelton, Idaho USA
Posts: 15

Rep: Reputation: 0
BCM V.92 56K Modem

The problem stated by al_chemyst is exactly the end problem that I had after following the instructions. BTW...I'm running Fedora Core 1, which is really, RedHat 10, as someone else pointed out.

Here's my errors:

[root@church i686]# rpm -ivh --replacepkgs BCMSM-3.4.19-6.i686.rpm
Preparing... ########################################### [100%]
1:BCMSM ########################################### [100%]
mknod: wrong number of arguments
Try `mknod --help' for more information.
chmod: failed to get attributes of `/dev/ttySMconfig': No such file or directory

I'd sure appreciate any help in solving this problem.

Thanks in advance!
johnfg

P.S. I just did everything all over again, and still came up with the same error message. So, I didn't make a mistake in following the instructions. Perhaps there's a difference in Fedora vs. Mandrake?

Last edited by johnfg; 03-04-2004 at 07:26 AM.
 
Old 03-15-2004, 09:04 AM   #43
LinNut
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake 9.1 (2.4.21-0.13mdk)
Posts: 3

Rep: Reputation: 0
Post /dev/modem not permanent

Linman,
Thank you for your tutorial. I followed it and got my modem working. I am now able to surf from my Linux system.
I am new to Linux and have installed Mandrake 9.1, I've been visiting this site to get a lot of my problems resolved and I finally decided to register here.

I do have a problem with '/dev/modem'. After I completed step 8 in your tutorial and typed ls -l /dev/modem, I do see lr-xr-xr-x 1 root root 11 sep 8 17:47 /dev/modem -> /dev/ttySM0. I then use KPPP to connect to the internet. But after I disconnect and comebacj later and try to connect to the internet, it says that the modem is not found and ls -l /dev/modem does not list anything.

I have to then run step 8 again and then run KPPP. How do I make the /dev/modem entry permanent?

Thanks.
LinNut.

--------------------------------------------------------------------------------------
8.- Move to /usr/src/RPM/RPMS/i686 and type rpm -ivh --replacepkgs BCMSM-3.4.19-6.i686.rpm, you will get something like this:
Preparing... ########################################### [100%]
1:BCMSM ########################################### [100%]
...thats it.
type ls -l /dev/modem and you have to see something like this lr-xr-xr-x 1 root root 11 sep 8 17:47 /dev/modem -> /dev/ttySM0. If you have it but it is backgrounded in red there must be a problem. In my system /dev/modem appears colored in light blue and /dev/ttySM0 in yellow. Now use kppp to setup your internet connection and thats it.
----------------------------------------------------------------------------------------
 
Old 04-09-2004, 07:22 AM   #44
DC_daNMan
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 9.1
Posts: 1

Rep: Reputation: 0
right, I know that this thread is 'dead', though, Im still having problems with my modem, and they need to be sorted out. sorry :P .
Well, I say with my modem, not really, with the software Im using. basicly, I've managed to do everything up to stage 8, and when I do ls
-l /dev/modem it comes out as linman has said, with the colours. so, I know that my modem is working. but, linman says use kppp. Slight problem there, I dont have kppp. I have madrake 9.1, and KDE but not kppp.
Im not a complete n00b, so I started looking for other dialing programs. the first one I found was 'drakconnect'. to put a long story short, its b0rked. everytime I click on connect, it searchs for a modem, even though I alredy have it installed, and then, once the detection has finished, it asks me if i want to connect, I say yes, then it starts the detection proccess again. so, my final question is, what do I do, or, were do I get kppp from?
many thanks.
 
Old 04-11-2004, 11:41 PM   #45
linman
Member
 
Registered: Aug 2003
Posts: 32

Original Poster
Rep: Reputation: 0
Hi guys !

If you get errors try to uninstall the driver and delete any traces of files left by the installation process, i have tried that several times and worked, also be sure of not having another driver of the bcmsm in conflict. I am not an expert at linux so i will try to help you as long as my experience allows me to.

if you are looking for kernel sources or utilities like kppp try http://rpmfind.net

have fun!
 
  


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
need drivers 4 BCM V.90 56K Modem bobFz Linux - Hardware 4 06-27-2005 07:56 AM
BCM V.92 56K modem on RH9 pqb Linux - Laptop and Netbook 5 04-24-2004 12:00 PM
Mandrake 9.2 Broadcom (BCM) modem driver?? Nilihanth Mandriva 2 11-07-2003 10:19 PM
Mandrake 9.1 With BCM V.90 56K HARDWARE Modem Sno Linux - Hardware 21 09-08-2003 07:11 PM
BCM v.90 56k modem in Mandrake 9.1 SMACK Linux - Hardware 2 09-08-2003 06:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04: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