Re: [Cooker] missing xirc2ps_cs.o for pcmia install of 9.2

2003-10-23 Thread Nicolas Pomarede
On Wed, 22 Oct 2003, Guillaume Cottenceau wrote:

 Nicolas Pomarede [EMAIL PROTECTED] writes:

  Hello to all,
 
  I'm trying to do a network install of 9.2. I'm using a PCMIA adapter from
  xircom.
 
  Doing an install using the network.img or pcmia.img disk, I get an error
  while trying to load the required module xirc2ps_cs.o (which is not

 Ouch.

  present on either disk).

 I need to disagree.

 [EMAIL PROTECTED] root]# mount -o loop /mnt/distrib/9.2/i586/images/pcmcia.img 
 /mnt/disk
 [EMAIL PROTECTED] root]# zcat /mnt/disk/pcmcia.rdz  /tmp/k
 [EMAIL PROTECTED] root]# umount /mnt/disk
 [EMAIL PROTECTED] root]# mount -o loop /tmp/k /mnt/disk
 [EMAIL PROTECTED] root]# ~gc/cvs/gi/mdk-stage1/mar/mar -l 
 /mnt/disk/modules/modules.mar | grep xirc
 xirc2ps_cs.o
 xircom_cb.o
 xircom_tulip_cb.o

 Was it an error because of something else, maybe?

 pcmcia-cs author changed his detection way, this broke for a few
 people as we had some trouble with Buchan ~ 1.5 month ago.

Hello Guillaume,

thanks for your answer. Although I tried the pcmcia.img, sthg must have
been wrong with my card, since as you suggested it, I retested this image
and it now works (in fact, it's the first time there's a disk that works
with ths card, so I was not really surprised when it didn't work at first
and I was preparing myself to do it the hard way).

Well, in the meantime, as I thought the modules was also missing from the
pcmcia disk, I extracted the required .o modules from the boot kernel
modules and added them to the network.rdz to build a single disk that
worked (which was silly, but at least I now know how to build such disk
for the case where a module will really not be included in any .img :) )

So, appologies from myself, and congrats to you, since the 9.2 pcmcia disk
effectively recognizes my card.

Nevertheless, during the process of rebuilding a complete boot disk, I had
to extract/build .mar archives. I compiled the sources from your page, but
is there a RPM with prebuilt tools (I mean the tools/script that are used
to build the various img and others non-rpm part of each mandrake
release) ?


Thanks again, and sorry for the noise on the list.



Nicolas Pomarede   e-mail:   [EMAIL PROTECTED]

In a world without walls and fences, who needs windows and gates ?



Re: [Cooker] missing xirc2ps_cs.o for pcmia install of 9.2

2003-10-23 Thread Guillaume Cottenceau
Nicolas Pomarede [EMAIL PROTECTED] writes:

[...]

 Hello Guillaume,
 
 thanks for your answer. Although I tried the pcmcia.img, sthg must have
 been wrong with my card, since as you suggested it, I retested this image
 and it now works (in fact, it's the first time there's a disk that works
 with ths card, so I was not really surprised when it didn't work at first
 and I was preparing myself to do it the hard way).

Great! :)
 
 Well, in the meantime, as I thought the modules was also missing from the
 pcmcia disk, I extracted the required .o modules from the boot kernel
 modules and added them to the network.rdz to build a single disk that
 worked (which was silly, but at least I now know how to build such disk
 for the case where a module will really not be included in any .img :) )

Yep :).
 
 So, appologies from myself, and congrats to you, since the 9.2 pcmcia disk
 effectively recognizes my card.

No problem. And congrats go more to the community, author of
pcmcia-cs, etc, which added support for your card :). Congrats
to them.
 
 Nevertheless, during the process of rebuilding a complete boot disk, I had
 to extract/build .mar archives. I compiled the sources from your page, but
 is there a RPM with prebuilt tools (I mean the tools/script that are used
 to build the various img and others non-rpm part of each mandrake
 release) ?

No, there is no RPM prebuilt mar.

-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/



Re: [Cooker] missing xirc2ps_cs.o for pcmia install of 9.2

2003-10-21 Thread Guillaume Cottenceau
Nicolas Pomarede [EMAIL PROTECTED] writes:

 Hello to all,
 
 I'm trying to do a network install of 9.2. I'm using a PCMIA adapter from
 xircom.
 
 Doing an install using the network.img or pcmia.img disk, I get an error
 while trying to load the required module xirc2ps_cs.o (which is not

Ouch.

 present on either disk).

I need to disagree.

[EMAIL PROTECTED] root]# mount -o loop /mnt/distrib/9.2/i586/images/pcmcia.img 
/mnt/disk
[EMAIL PROTECTED] root]# zcat /mnt/disk/pcmcia.rdz  /tmp/k
[EMAIL PROTECTED] root]# umount /mnt/disk
[EMAIL PROTECTED] root]# mount -o loop /tmp/k /mnt/disk
[EMAIL PROTECTED] root]# ~gc/cvs/gi/mdk-stage1/mar/mar -l 
/mnt/disk/modules/modules.mar | grep xirc
xirc2ps_cs.o
xircom_cb.o
xircom_tulip_cb.o

Was it an error because of something else, maybe?

pcmcia-cs author changed his detection way, this broke for a few
people as we had some trouble with Buchan ~ 1.5 month ago.
 
 I tried the expert install, with an additional disk (as described in the
 README in the images directory for SCSI drivers) ; I formatted an ext2fs
 disk and copied the unzipped xirc2ps_cs.o file on it.
 Unfortunately, when I try to load the xirc2ps_cs.o when prompted for, it
 failed and I get lots of undefined symbol in ALT+F3 console (printk,
 strstr).

You need to use xirc2ps_cs.o from the BOOT kernel, right, not
stock kernel, of course.

But, there are CS controller and cards initialization issues that
make it fail when you try to insmod card modules by hand - at
least it happened to me, don't know if it's
typical/common/anything.
 
 I guess the problem might be caused by the fact that I extracted the
 xirc2ps_cs.o module from kernel-2.4.22.10mdk-1-1mdk.i586.rpm and not from
 kernel-BOOT-2.4.22.10mdk-1-1mdk.i586.rpm, because the xircom module is not

Yes.

 present in the later one.

Been on drugs lately? :)

[EMAIL PROTECTED] root]# rpm -qpl 
/mnt/distrib/9.2/i586/Mandrake/RPMS/kernel-BOOT-2.4.22.10mdk-1-1mdk.i586.rpm | grep 
xirc2ps
/lib/modules/2.4.22-10mdkBOOT/kernel/drivers/net/pcmcia/xirc2ps_cs.o.gz

Or I've just switched to a parallel universe that is :/.

 I tried to copy ds.o and pcmi_core.o on the disk, but it didn't resolve
 the problem.

At least, dependencies are mandatory, yes. But still init of
controller is needed I think.

-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/



[Cooker] missing xirc2ps_cs.o for pcmia install of 9.2

2003-10-20 Thread Nicolas Pomarede


Hello to all,

I'm trying to do a network install of 9.2. I'm using a PCMIA adapter from
xircom.

Doing an install using the network.img or pcmia.img disk, I get an error
while trying to load the required module xirc2ps_cs.o (which is not
present on either disk).

I tried the expert install, with an additional disk (as described in the
README in the images directory for SCSI drivers) ; I formatted an ext2fs
disk and copied the unzipped xirc2ps_cs.o file on it.
Unfortunately, when I try to load the xirc2ps_cs.o when prompted for, it
failed and I get lots of undefined symbol in ALT+F3 console (printk,
strstr).

I guess the problem might be caused by the fact that I extracted the
xirc2ps_cs.o module from kernel-2.4.22.10mdk-1-1mdk.i586.rpm and not from
kernel-BOOT-2.4.22.10mdk-1-1mdk.i586.rpm, because the xircom module is not
present in the later one.

I tried to copy ds.o and pcmi_core.o on the disk, but it didn't resolve
the problem.

So, how can I resolve this ? Is there a version of the xirc2ps_cs.o that
would be compatible with the kernel used on disk image ? Or perhaps
there's another way to initialize my pcmcia card ?

Should I get the source for kernel-BOOT, add the xircom sources and
recompile (but that would be really tedious...) ?

Thanks in advance for any hint.

--

Nicolas Pomarede