[Cooker] for Andrej.Borsenkow

2002-02-20 Thread Robert Fox

Andrej,

This is getting a bit more involved than I planned.  First question I
have for you is: do you work for Mandrake?  Richard is asking for
details which I don't know . . . the answers can only come from
Mandrake developers.  As for responding to your posts, when I hit the reply button (in 
Evolution) it tries to send to your return address of
[EMAIL PROTECTED] whcih always bounces back - so I have to post here in 
Cooker to reach you!

Below is the response from Richard - he's asking for a bunch of detail I
can't provide (especially about the kernel and patches).  Also,
compiling a kernel on a PII/400 with 256 Meg of memory is not the most
fun.

--
Mail from Richard:

Well, that's really strange. Could you please move the printk() call
down a few lines, to just before the lines:
if (!devfs_handle)
devfs_handle = devfs_mk_dir (NULL, "discs", NULL);

and also put in a \n at the end of the string, so that it looks like:
printk ("Constructed: \"%s\"\n", dirname + 3 + pos);

Recompile, install and reboot. Can you please send me the boot
messages obtained with the dmesg, rather than copying from your log
files? The output from dmesg is more reliable and doesn't have
extraneous information.

Be prepared that this may take a while to track down. The behaviour is
quite strange. Some questions:
- what compiler and binutils are you using
- exactly which kernel version are you using
- have you applied any patches to the kernel (if so, what are they)
- are you loading any proprietary drivers?

Regards,

Richard..
---

Cheers,
R.Fox

On Wed, 2002-02-20 at 07:09, Borsenkow Andrej wrote:
> > 
> > Ok - compiled the new kernel with Richard Gooch's recommended patch
> for
> > check.c
> > 
> > Rebooted and checked /var/messages
> > 
> > Here's the output snip of messages:
> >
> 
> Robert, please - send it to devfs list as reply to previous mails. Doing
> it this way makes it impossible to thread discussions. I hope, now, when
> kernel problem is solved, you could just follow Richard direction
> directly, because now he will request you to recompile devfs with
> debugging and enable full debugging :-) And he's right :(
> 
> -andrej






[Cooker] for Andrej.Borsenkow

2002-02-19 Thread Robert Fox

Ok - compiled the new kernel with Richard Gooch's recommended patch for check.c

Rebooted and checked /var/messages

Here's the output snip of messages:

Feb 19 19:33:26 foxbase kernel: PIIX4: IDE controller on PCI bus 00 dev
39
Feb 19 19:33:26 foxbase kernel: PIIX4: chipset revision 1
Feb 19 19:33:26 foxbase kernel: PIIX4: not 100%% native mode: will probe
irqs later
Feb 19 19:33:26 foxbase kernel: ide0: BM-DMA at 0x1840-0x1847, BIOS
settings: hda:pio, hdb:pio
Feb 19 19:33:26 foxbase kernel: ide1: BM-DMA at 0x1848-0x184f, BIOS
settings: hdc:DMA, hdd:pio
Feb 19 19:33:26 foxbase kernel: hda: LS-120 CSMO 05 UHD Floppy, ATAPI
FLOPPY drive
Feb 19 19:33:26 foxbase kernel: hdc: IBM-DTTA-371440, ATA DISK drive
Feb 19 19:33:26 foxbase kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Feb 19 19:33:26 foxbase kernel: ide1 at 0x170-0x177,0x376 on irq 15
Feb 19 19:33:26 foxbase kernel: hdc: 28229040 sectors (14453 MB)
w/462KiB Cache, CHS=28005/16/63, UDMA(33)
Feb 19 19:33:26 foxbase kernel: hda: No disk in drive
Feb 19 19:33:26 foxbase kernel: hda: 123264kB, 963/8/32 CHS, 533 kBps,
512 sector size, 720 rpm
-->  Feb 19 19:33:26 foxbase kernel: Constructed:
"ide/host0/bus0/target0/lun0"<3>devfs_register(disc): could not append
to parent, err: -17
Feb 19 19:33:26 foxbase kernel: Partition check:
Feb 19 19:33:26 foxbase kernel:  /dev/ide/host0/bus1/target0/lun0:
[PTBL] [1757/255/63] p3 < p5 p6 p7 p8 >
Feb 19 19:33:26 foxbase kernel: Constructed:
"ide/host0/bus1/target0/lun0"floppy0: no floppy controllers found  
Feb 19 19:33:26 foxbase kernel: md: md driver 0.90.0 MAX_MD_DEVS=256,
MD_SB_DISKS=27
Feb 19 19:33:26 foxbase kernel: md: Autodetecting RAID arrays.
Feb 19 19:33:26 foxbase kernel: md: autorun ...


Does that help?  Anything else I can do?

Thanks,
Robert Fox





[Cooker] for Andrej.Borsenkow

2002-02-19 Thread Robert Fox

Sorry - doesn't work - something is seriously broken in trying to do a
kernel rebuild!

I followed your advice and did the "make distclean" - but things failed
during "make dep".  Has anyone successfully compiled a new kernel in the
latest Cooker?

Here's the snip:

make[4]: Entering directory `/usr/src/linux-2.4.17-18mdk/net/x25'
/usr/src/linux-2.4.17-18mdk/scripts/mkdep -D__KERNEL__
-I/usr/src/linux-2.4.17-18mdk/include  -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2  -- af_x25.c sysctl_net_x25.c
x25_dev.c x25_facilities.c x25_in.c x25_link.c x25_out.c x25_route.c
x25_subr.c x25_timer.c > .depend
make[4]: Leaving directory `/usr/src/linux-2.4.17-18mdk/net/x25'
make[3]: Leaving directory `/usr/src/linux-2.4.17-18mdk/net'
make[2]: Leaving directory `/usr/src/linux-2.4.17-18mdk/net'
make -C ipc fastdep
make[2]: Entering directory `/usr/src/linux-2.4.17-18mdk/ipc'
/usr/src/linux-2.4.17-18mdk/scripts/mkdep -D__KERNEL__
-I/usr/src/linux-2.4.17-18mdk/include  -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2  -- msg.c sem.c shm.c util.c util.h >
.depend
make[2]: Leaving directory `/usr/src/linux-2.4.17-18mdk/ipc'
make -C lib fastdep
make[2]: Entering directory `/usr/src/linux-2.4.17-18mdk/lib'
/usr/src/linux-2.4.17-18mdk/scripts/mkdep -D__KERNEL__
-I/usr/src/linux-2.4.17-18mdk/include  -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2  --
brlock.c bust_spinlocks.c cmdline.c ctype.c dec_and_lock.c errno.c
inflate.c rbtree.c rwsem.c rwsem-spinlock.c string.c vsprintf.c >
.depend
make[2]: Leaving directory `/usr/src/linux-2.4.17-18mdk/lib'
make -C 3rdparty fastdep
make[2]: Entering directory `/usr/src/linux-2.4.17-18mdk/3rdparty'
make[2]: *** No rule to make target `fastdep'.  Stop.
make[2]: Leaving directory `/usr/src/linux-2.4.17-18mdk/3rdparty'
make[1]: *** [_sfdep_3rdparty] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.17-18mdk'
make: *** [dep-files] Error 2
[root@foxbase linux]#


Thx,
R.Fox





Re: [Cooker] for Andrej.Borsenkow

2002-02-19 Thread Thierry Vignaud

Borsenkow Andrej <[EMAIL PROTECTED]> writes:

> > 
> > I tried e-mailing you directly - but it gets bounced back with errors.
>
> Strange. You seem to be the only one having problems :-)

he'sn't the only one; i've a score of undelivered messages with your
mailbox.

> What errors exactly?

From: System Administrator <[EMAIL PROTECTED]>
Subject: Undeliverable: Re: mkinitrd and devfs
To: [EMAIL PROTECTED]
Date: Wed Feb 13 21:43:34 2002 +0100

Your message

  To:  Borsenkow Andrej
  Cc:  Chmouel Boudjnah; Mandrake Internal; Guillaume Cottenceau
  Subject: Re: mkinitrd and devfs
  Sent:Wed, 13 Feb 2002 23:31:18 +0300

did not reach the following recipient(s):

Borsenkow Andrej on Wed, 13 Feb 2002 23:40:13 +0300
The recipient could not be processed due to congestion in the message
transfer service
The MTS-ID of the original message is:
c=de;a=dbp;p=scn;l=MOWP002A020213204016ZYPPJX
MSEXCH:MSExchangeMTA:RUMOWP001E:MOWP002A





RE: [Cooker] for Andrej.Borsenkow

2002-02-19 Thread Borsenkow Andrej


> 
> I tried e-mailing you directly - but it gets bounced back with errors.

Strange. You seem to be the only one having problems :-) What errors
exactly?

> How can I contact you directly (another e-mail address?)
> 

You can mail to  but I do not look there very
often. And you can just mail devfs list, but of course they probably do
not want to see Mandrake-specific things. 

> I applied the patch and tried to compile a new kernel, but got errors
> and the compile failed (see snip below)
> 
> The question is - after a fresh install - do I need to do a "make
> mrproper" before I begin - or just start with "make deps"
> 

make mrproper
cp /boot/config .config
edit Makefile and change EXTRAVERSION to e.g. 18mdkcustom
make dep
make
make modules
make modules_install
make install

Should run lilo at the end but running lilo once more won't harm :)

I must admit I have not tried build 18mdk as yet.

> In file included from
/usr/src/linux-2.4.17-18mdk/include/linux/mm.h:4,
>  from zftape-compress.c:35:
> /usr/src/linux-2.4.17-18mdk/include/linux/sched.h:6: nondigits in
number
> and not hexadecimal


Sure. Make mrproper (or distclean if you like it more) then as above.


-andrej




[Cooker] for Andrej.Borsenkow

2002-02-19 Thread Robert Fox

I tried e-mailing you directly - but it gets bounced back with errors.
How can I contact you directly (another e-mail address?)

I applied the patch and tried to compile a new kernel, but got errors
and the compile failed (see snip below)

The question is - after a fresh install - do I need to do a "make
mrproper" before I begin - or just start with "make deps"

I also did no do the "make xconfig" step assuming that it's already
configured.

Here's the snip:


i830_dma.c:939: warning: unused variable `_i'
i830_dma.c: In function `i830_dma_dispatch_vertex':
i830_dma.c:1020: warning: unused variable `_i'
i830_dma.c:1030: warning: unused variable `_i'
i830_dma.c:1041: warning: unused variable `_i'
i830_dma.c: In function `i830_dma_emit_flush':
i830_dma.c:1093: warning: unused variable `_i'
i830_dma.c: In function `i830_dma_quiescent_emit':
i830_dma.c:1110: warning: unused variable `_i'
ld -m elf_i386 -r -o i830.o i830_drv.o i830_dma.o
make[3]: Leaving directory
`/usr/src/linux-2.4.17-18mdk/drivers/char/drm'
make -C ftape modules
make[3]: Entering directory
`/usr/src/linux-2.4.17-18mdk/drivers/char/ftape'
make -C compressor modules
make[4]: Entering directory
`/usr/src/linux-2.4.17-18mdk/drivers/char/ftape/compressor'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.17-18mdk/include  -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.17-18mdk/include/linux/modversions.h 
-DKBUILD_BASENAME=zftape_compress  -c -o zftape-compress.o
zftape-compress.c
In file included from /usr/src/linux-2.4.17-18mdk/include/linux/mm.h:4,
 from zftape-compress.c:35:
/usr/src/linux-2.4.17-18mdk/include/linux/sched.h:6: nondigits in number
and not hexadecimal
/usr/src/linux-2.4.17-18mdk/include/linux/sched.h:6: nondigits in number
and not hexadecimal
/usr/src/linux-2.4.17-18mdk/include/linux/sched.h:6: parse error before
`7b16c344'
/usr/src/linux-2.4.17-18mdk/include/linux/sched.h:6: warning: function
declaration isn't a prototype
make[4]: *** [zftape-compress.o] Error 1
make[4]: Leaving directory
`/usr/src/linux-2.4.17-18mdk/drivers/char/ftape/compressor'
make[3]: *** [_modsubdir_compressor] Error 2
make[3]: Leaving directory
`/usr/src/linux-2.4.17-18mdk/drivers/char/ftape'
make[2]: *** [_modsubdir_ftape] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.17-18mdk/drivers/char'
make[1]: *** [_modsubdir_char] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.17-18mdk/drivers'
make: *** [_mod_drivers] Error 2
[root@foxbase linux]#