[vortex] It pays to follow instructions

Paul Beard paul@fizzylab.com
Thu, 5 Oct 2000 09:33:21 -0700


I did what Fred said (and Andrew reminded me of). one cp, one mv, and a make
modules_install later, I'm networked. 

Now to figure out the WaveLAN card . . . . . 

Thanks for all your help. 

-----Original Message-----
From: vortex-admin@scyld.com [mailto:vortex-admin@scyld.com]
Sent: Thursday, October 05, 2000 9:00 AM
To: vortex@scyld.com
Subject: vortex digest, Vol 1 #94 - 6 msgs



Send vortex mailing list submissions to
	vortex@scyld.com

To subscribe or unsubscribe via the web, visit
	http://www.scyld.com/mailman/listinfo/vortex
or, via email, send a message with subject or body 'help' to
	vortex-request@scyld.com
You can reach the person managing the list at
	vortex-admin@scyld.com

When replying, please edit your Subject line so it is more specific than
"Re: Contents of vortex digest..."


Today's Topics:

  1. kgcc vs gcc (paul beard)
  2. Re: kgcc vs gcc (Winged Wolf)
  3. Re: kgcc vs gcc (paul beard)
  4. Redhat 7 on Thinkpad with 3com mini PCI card (Mikhail Kuperblum)
  5. Re: kgcc vs gcc (Andrew Morton)
  6. RE: kgcc vs gcc (Paul Beard)

--__--__--

Message: 1
Date: Wed, 4 Oct 2000 11:00:15 -0700 (PDT)
From: paul beard <paul@fizzylab.com>
To: vortex@scyld.com
Subject: [vortex] kgcc vs gcc

Well, I'm still stuck on this. The kernel builds fine (2.2.16) but I don't
seem to have the right tree. 

kgcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c
3c59x.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`

I edited the line to point to the modversions.h that matches the kernel. 

It looks like I'm seeing glibc 2.1 errors  . . . . but it's not clear to
my less than skilled eyes. 

--
Paul Beard / 206 728 4282 x138
Fizzylab / 2025 First Ave, Suite 1150
Seattle WA 98121



--__--__--

Message: 2
From: "Winged Wolf" <winged@spastic.org>
To: "paul beard" <paul@fizzylab.com>, <vortex@scyld.com>
Subject: Re: [vortex] kgcc vs gcc
Date: Wed, 4 Oct 2000 16:10:57 -0700
charset="iso-8859-1"

Try using '-I/usr/src/linux/include' in the kgcc command.

-Mat

----- Original Message -----
From: "paul beard" <paul@fizzylab.com>
To: <vortex@scyld.com>
Sent: Wednesday, October 04, 2000 11:00 AM
Subject: [vortex] kgcc vs gcc


> Well, I'm still stuck on this. The kernel builds fine (2.2.16) but I don't
> seem to have the right tree.
>
> kgcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c
> 3c59x.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`
>
> I edited the line to point to the modversions.h that matches the kernel.
>
> It looks like I'm seeing glibc 2.1 errors  . . . . but it's not clear to
> my less than skilled eyes.
>
> --
> Paul Beard / 206 728 4282 x138
> Fizzylab / 2025 First Ave, Suite 1150
> Seattle WA 98121
>
>
>
> _______________________________________________
> vortex mailing list
> vortex@scyld.com
> http://www.scyld.com/mailman/listinfo/vortex


--__--__--

Message: 3
Date: Wed, 04 Oct 2000 16:31:09 -0700
From: paul beard <paul@fizzylab.com>
To: Winged Wolf <winged@spastic.org>
CC: vortex@scyld.com
Subject: Re: [vortex] kgcc vs gcc

Doesn't seem to work any better.

[root@think src]# kgcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6
-c
3c
59x-new.c -I/usr/src/linux/include `[ -f
/usr/linux-2.2.16/include/linux/modvers
ions.h ] && echo -DMODVERSIONS` -o 3c59x-new.o
/usr/i386-glibc21-linux/include/asm/pgtable.h: In function `get_pgd_slow':
In file included from /usr/i386-glibc21-linux/include/linux/vmalloc.h:7,
                 from /usr/i386-glibc21-linux/include/asm/io.h:102,
                 from 3c59x-new.c:132:
/usr/i386-glibc21-linux/include/asm/pgtable.h:409: `PAGE_OFFSET_RAW'
undeclared(first use in this function)
/usr/i386-glibc21-linux/include/asm/pgtable.h:516: `PAGE_OFFSET_RAW'
undeclared

(first use in this function)
/usr/i386-glibc21-linux/include/asm/io.h: In function `virt_to_phys':
In file included from 3c59x-new.c:132:
/usr/i386-glibc21-linux/include/asm/io.h:116: `PAGE_OFFSET_RAW' undeclared
(first use in this function)
/usr/i386-glibc21-linux/include/asm/io.h:118: warning: control reaches end
of
non-void function
/usr/i386-glibc21-linux/include/asm/io.h: In function `phys_to_virt':
/usr/i386-glibc21-linux/include/asm/io.h:125: `PAGE_OFFSET_RAW' undeclared
(first use in this function)
/usr/i386-glibc21-linux/include/asm/io.h:127: warning: control reaches end
of
non-void function
/usr/i386-glibc21-linux/include/asm/io.h: In function `check_signature':
/usr/i386-glibc21-linux/include/asm/io.h:184: `PAGE_OFFSET_RAW' undeclared
(first use in this function)
3c59x-new.c: In function `vortex_open':
3c59x-new.c:1280: `PAGE_OFFSET_RAW' undeclared (first use in this function)
3c59x-new.c: In function `boomerang_interrupt':
3c59x-new.c:1897: `PAGE_OFFSET_RAW' undeclared (first use in this function)
clude/asm/pgtable.h:498: `PAGE_OFFSET_RAW' undeclared(first use in this
function)
/usr/i386-glibc21-linux/include/asm/pgtable.h:506: warning: control reaches
endof non-void function
/usr/i386-glibc21-linux/include/asm/pgtable.h: In function `pte_alloc':
/usr/i386-glibc21-linux/include/asm/pgtable.h:516: `PAGE_OFFSET_RAW'
undeclared(first use in this function)
/usr/i386-glibc21-linux/include/asm/io.h: In function `virt_to_phys':
In file included from 3c59x-new.c:132:
/usr/i386-glibc21-linux/include/asm/io.h:116: `PAGE_OFFSET_RAW' undeclared
(firs
t use in this function)
/usr/i386-glibc21-linux/include/asm/io.h:118: warning: control reaches end
of
no
n-void function
/usr/i386-glibc21-linux/include/asm/io.h: In function `phys_to_virt':
/usr/i386-glibc21-linux/include/asm/io.h:125: `PAGE_OFFSET_RAW' undeclared
(firs
t use in this function)
/usr/i386-glibc21-linux/include/asm/io.h:127: warning: control reaches end
of
no
n-void function
/usr/i386-glibc21-linux/include/asm/io.h: In function `check_signature':
/usr/i386-glibc21-linux/include/asm/io.h:184: `PAGE_OFFSET_RAW' undeclared
(firs
t use in this function)
3c59x-new.c: In function `vortex_open':
3c59x-new.c:1280: `PAGE_OFFSET_RAW' undeclared (first use in this function)
3c59x-new.c: In function `boomerang_interrupt':
3c59x-new.c:1897: `PAGE_OFFSET_RAW' undeclared (first use in this function)
[root@think src]# kgcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6
-c
3c
59x-new.c -I/usr/src/linux/include `[ -f
/usr/linux-2.2.16/include/linux/modvers
ions.h ] && echo -DMODVERSIONS` -o 3c59x-new.o
/usr/i386-glibc21-linux/include/asm/pgtable.h: In function `get_pgd_slow':
In file included from /usr/i386-glibc21-linux/include/linux/vmalloc.h:7,
                 from /usr/i386-glibc21-linux/include/asm/io.h:102,
                 from 3c59x-new.c:132:
/usr/i386-glibc21-linux/include/asm/pgtable.h:409: `PAGE_OFFSET_RAW'
undeclared(first use in this function)
/usr/i386-glibc21-linux/include/asm/pgtable.h:516: `PAGE_OFFSET_RAW'
undeclared

(first use in this function)
/usr/i386-glibc21-linux/include/asm/io.h: In function `virt_to_phys':
In file included from 3c59x-new.c:132:
/usr/i386-glibc21-linux/include/asm/io.h:116: `PAGE_OFFSET_RAW' undeclared
(first use in this function)
/usr/i386-glibc21-linux/include/asm/io.h:118: warning: control reaches end
of
non-void function
/usr/i386-glibc21-linux/include/asm/io.h: In function `phys_to_virt':
/usr/i386-glibc21-linux/include/asm/io.h:125: `PAGE_OFFSET_RAW' undeclared
(first use in this function)
/usr/i386-glibc21-linux/include/asm/io.h:127: warning: control reaches end
of
non-void function
/usr/i386-glibc21-linux/include/asm/io.h: In function `check_signature':
/usr/i386-glibc21-linux/include/asm/io.h:184: `PAGE_OFFSET_RAW' undeclared
(first use in this function)
3c59x-new.c: In function `vortex_open':
3c59x-new.c:1280: `PAGE_OFFSET_RAW' undeclared (first use in this function)
3c59x-new.c: In function `boomerang_interrupt':
3c59x-new.c:1897: `PAGE_OFFSET_RAW' undeclared (first use in this function)
Winged Wolf wrote:

> Try using '-I/usr/src/linux/include' in the kgcc command.
>
> -Mat
>
> ----- Original Message -----
> From: "paul beard" <paul@fizzylab.com>
> To: <vortex@scyld.com>
> Sent: Wednesday, October 04, 2000 11:00 AM
> Subject: [vortex] kgcc vs gcc
>
> > Well, I'm still stuck on this. The kernel builds fine (2.2.16) but I
don't
> > seem to have the right tree.
> >
> > kgcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c
> > 3c59x.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`
> >
> > I edited the line to point to the modversions.h that matches the kernel.
> >
> > It looks like I'm seeing glibc 2.1 errors  . . . . but it's not clear to
> > my less than skilled eyes.
> >
> > --
> > Paul Beard / 206 728 4282 x138
> > Fizzylab / 2025 First Ave, Suite 1150
> > Seattle WA 98121
> >
> >
> >
> > _______________________________________________
> > vortex mailing list
> > vortex@scyld.com
> > http://www.scyld.com/mailman/listinfo/vortex


--__--__--

Message: 4
From: mikhail@whasup.com (Mikhail Kuperblum)
Date: Wed, 4 Oct 2000 20:25:15 -0400
To: vortex@scyld.com
Subject: [vortex] Redhat 7 on Thinkpad with 3com mini PCI card

Hello folks.

I'm digging for information on drivers for 3com's 3CN3AC1556B
mini PCI card. I run Redhat 7 on IBM Thinkpad a20p. Thanks to your 
mailing list I was able to find an experiments driver from 
http://www.uow.edu.au/~andrewm (i.e. 3c59x-2.2.17+.c), but there
seems to be no compiling instructions with that driver. Could
someone tell me, please, if the driver will work with Redhat 7
and (if yes) what are the compiling/installation instructions.

And the last question: since this card has a built in mode, is there any
chance of making it work as well?

Thanks!

 

--__--__--

Message: 5
Date: Thu, 05 Oct 2000 23:56:20 +1100
From: Andrew Morton <andrewm@uow.edu.au>
To: paul beard <paul@fizzylab.com>
CC: vortex@scyld.com
Subject: Re: [vortex] kgcc vs gcc

paul beard wrote:
> 
> Doesn't seem to work any better.
> 

Paul,

do what Fred said :)

Get your kernel building as per standard RedHat procedures and then
overwrite the existing 3c59x.c and then rebuild.

I think you can do this by installing the kernel source RPM with

	rpm -i foo.src.rpm
	rpm -bp /usr/src/RPM/SPECS/foo.spec
	rpm -bc /usr/src/RPM/SPECS/foo.spec
	
But my rpm usage is rusty.

--__--__--

Message: 6
From: Paul Beard <paul@fizzylab.com>
To: "'vortex@scyld.com'" <vortex@scyld.com>
Subject: RE: [vortex] kgcc vs gcc
Date: Thu, 5 Oct 2000 08:36:21 -0700
charset="iso-8859-1"

Oh. Musta missed that. Sorry, Fred et al. I'm using my own kernel now, so I
should be pretty close. Thanks. 

-----Original Message-----
From: Andrew Morton [mailto:andrewm@uow.edu.au]
Sent: Thursday, October 05, 2000 5:56 AM
To: paul beard
Cc: vortex@scyld.com
Subject: Re: [vortex] kgcc vs gcc


paul beard wrote:
> 
> Doesn't seem to work any better.
> 

Paul,

do what Fred said :)

Get your kernel building as per standard RedHat procedures and then
overwrite the existing 3c59x.c and then rebuild.

I think you can do this by installing the kernel source RPM with

	rpm -i foo.src.rpm
	rpm -bp /usr/src/RPM/SPECS/foo.spec
	rpm -bc /usr/src/RPM/SPECS/foo.spec
	
But my rpm usage is rusty.



--__--__--

_______________________________________________
vortex mailing list
vortex@scyld.com
http://www.scyld.com/mailman/listinfo/vortex


End of vortex Digest