Re: kernel 2.2.17 boot disk prob! (HELP!)

2000-07-04 Thread Sven Burgener
Hi all

Is there really nobody helping me with this?! :((
I *need* help, so please...

TIA
Sven

On Mon, Jul 03, 2000 at 11:44:05PM +0200, Sven Burgener wrote:
 Hi debs
 
 I am unable to create a boot disk for my potato box. I just apt-got 
 kernel-image-2.2.17. :)
 
 Then, in the process of installing the kernel-image deb file, I said 
 yes to take /etc/lilo.conf for setting up the boot disk. I also
 chose to format the boot disk.
 
 Here infos of my system:
 
 -- /etc/lilo.conf --
 boot=/dev/fd0
 root=/dev/hdb3
 
 #compact
 install=/boot/boot.b
 map=/boot/map
 delay=20
 vga=normal
 
 default=Linux
 
 image=/vmlinuz
   label=Linux
   read-only
 # restricted
 # alias=1
 -- /etc/lilo.conf --
 
 
 # ls -l /boot
 total 2656
 -rw-r--r--1 root root   265942 Jun  3 19:07 System.map-2.2.15
 -rw-r--r--1 root root   265635 Jun 25 02:16 System.map-2.2.17
 -rw-r--r--1 root root  512 Jul  3 22:10 boot.0200
 -rw-r--r--1 root root  512 Jun  3 20:48 boot.0340
 -rw-r--r--1 root root  512 Jun  3 21:00 boot.0341
 -rw-r--r--1 root root  512 Jun 14 21:20 boot.0800
 -rw-r--r--1 root root 4568 Mai 23 12:48 boot.b
 -rw-r--r--1 root root 4592 Apr 13 11:04 boot.b.preserved
 -rw-r--r--1 root root  612 Mai 23 12:48 chain.b
 -rw-r--r--1 root root  612 Apr 13 11:04 chain.b.preserved
 -rw-r--r--1 root root12294 Jun  3 19:07 config-2.2.15
 -rw-r--r--1 root root20762 Jun 25 01:22 config-2.2.17
 drwxr-xr-x2 root root12288 Jun  3 19:06 lost+found
 -rw---1 root root14336 Jul  3 23:07 map
 -rw-r--r--1 root root  512 Mär  3 20:33 mbr.b
 -rw-r--r--1 root root  640 Mai 23 12:48 os2_d.b
 -rw-r--r--1 root root  644 Jun  3 19:37 os2_d.b.preserved
 -rwxr-xr-x1 root root  1046612 Jun  3 19:07 vmlinuz-2.2.15
 -rw-r--r--1 root root  1042807 Jun 25 02:16 vmlinuz-2.2.17
 
 
 # mount
 /dev/hdb3 on / type ext2 (rw,errors=remount-ro,errors=remount-ro)
 proc on /proc type proc (rw)
 devpts on /dev/pts type devpts (rw,gid=5,mode=620)
 /dev/hdb1 on /boot type ext2 (rw)
 
 
 When booting with the new boot disk, though, I get L and then zillions 
 of 0's and 1's. I then have to three-finger-salute the box. :(
 
 
 
 I *want* kernel-image-2.2.17 to work particularly as I had no success in
 building my custom 2.2.16 kernel. (The gettys got locked up and I got
 lots of dumps in the logs)
 
 Here is a snippet of that (2.2.16): (sorry for the horrid formatting)
 
 -- /var/log/syslog --
 Jun 24 20:37:41 hp kernel: 
 Jun 24 20:37:41 hp kernel:  free  
   sibling
 Jun 24 20:37:41 hp kernel:   task PCstack   pid father child 
 younger older
 Jun 24 20:37:41 hp kernel: init   1 S C17F9EF8  5216 1  0  2142   
  
 Jun 24 20:37:41 hp kernel:sig: 0   : X
 Jun 24 20:37:41 hp kernel: kflushd2 S C17B5FA4  6132 2  1 
 3
 Jun 24 20:37:41 hp kernel:sig: 0   : X
 Jun 24 20:37:41 hp kernel: kupdate3 S C17B3FB8  6236 3  1 
 4 2
 Jun 24 20:37:41 hp kernel:sig: 0  fffd : X
 Jun 24 20:37:41 hp kernel: kpiod  4 S 0F00  6980 4  1 
 5 3
 Jun 24 20:37:41 hp kernel:sig: 0   : X
 Jun 24 20:37:41 hp kernel: kswapd 5 S C17AFFC4  5840 5  1 
84 4
 Jun 24 20:37:41 hp kernel:sig: 0   : X
 
 [snipped]
 
 Jun 24 21:12:45 hp kernel: getty  6 S 7FFF 0  4367  1 
2157
 Jun 24 21:12:45 hp kernel:sig: 0   : X
 Jun 24 21:12:53 hp init: Switching to runlevel: 0
 -- /var/log/syslog --
 
 Forgive me for reporting two problems at once here. :)
 
 I'd _greatly_ appreciate any help!
 
 TIA
 -- 
 S. Burgener
 Powered by Debian GNU/Linux 2.2



Re: kernel 2.2.17 boot disk prob! (HELP!)

2000-07-04 Thread paul

Sven wrote

 Hi all
 
 Is there really nobody helping me with this?! :((
 I *need* help, so please...
 

It may be that no-one who has read this has seen this particular problem 
before.


 On Mon, Jul 03, 2000 at 11:44:05PM +0200, Sven Burgener wrote:
  
  
  When booting with the new boot disk, though, I get L and then zillions 
  of 0's and 1's. I then have to three-finger-salute the box. :(
  

I boot from my HD, but I make boot floppies when I install a new kernel.  
My boot floppies DO work, and my /etc/lilo.conf looks like this:

prompt
boot=/dev/hda1
root=/dev/hda1
install=/boot/boot.b
map=/boot/map
vga=ext
delay=20
image=/boot/vmlinuz
label=linux
read-only


Here's yours:

 -- /etc/lilo.conf --
 boot=/dev/fd0
   
 root=/dev/hdb3
 
 #compact
 install=/boot/boot.b
 map=/boot/map
 delay=20
 vga=normal
 
 default=Linux
 
 image=/vmlinuz
   label=Linux
   read-only
 # restricted
 # alias=1
 -- /etc/lilo.conf --

Try changing the line boot=/dev/fd0 to boot=/dev/hdb3 in your lilo.conf

I believe this may work, as long as your /dev/hdb3 partition is not beyond 
your BIOS and/or LILO limitations.


-- 
ptw
miscelaneous endeavors
([EMAIL PROTECTED])





Re: kernel 2.2.17 boot disk prob! (HELP!)

2000-07-04 Thread Albrecht Frank
Sven Burgener wrote:
 
 Hi all
 
 Is there really nobody helping me with this?! :((
 I *need* help, so please...
 
 TIA
 Sven
 
 On Mon, Jul 03, 2000 at 11:44:05PM +0200, Sven Burgener wrote:
  Hi debs
 
  I am unable to create a boot disk for my potato box. I just apt-got
  kernel-image-2.2.17. :)
 
  Then, in the process of installing the kernel-image deb file, I said
  yes to take /etc/lilo.conf for setting up the boot disk. I also
  chose to format the boot disk.
 
  Here infos of my system:
 
  -- /etc/lilo.conf --
  boot=/dev/fd0
  root=/dev/hdb3
 
  #compact
  install=/boot/boot.b
  map=/boot/map
  delay=20
  vga=normal
 
  default=Linux
 
  image=/vmlinuz
^^^
to what file does this link point?

label=Linux
read-only
  # restricted
  # alias=1
  -- /etc/lilo.conf --
[...]


Greetings 
Albrecht



Re: kernel 2.2.17 boot disk prob! (HELP!)

2000-07-04 Thread Sven Burgener
On Tue, Jul 04, 2000 at 09:16:04PM +0200, Albrecht Frank wrote:

   image=/vmlinuz
   ^^^
 to what file does this link point?

lrwxrwxrwx1 root root   20 Jul  3 21:52 /vmlinuz - 
/boot/vmlinuz-2.2.17

That should be so, right?

Regards
-- 
S. Burgener
Powered by Debian GNU/Linux 2.2



Re: kernel 2.2.17 boot disk prob! (HELP!)

2000-07-04 Thread Sven Burgener
On Tue, Jul 04, 2000 at 03:00:02PM -0400, paul wrote:

 It may be that no-one who has read this has seen this particular problem 
 before.

Quite true.

  boot=/dev/fd0
 Try changing the line boot=/dev/fd0 to boot=/dev/hdb3 in your lilo.conf

Done that, but now I get the following (repeating all the time) at
bootup. I have to reboot using the original / standard boot disk.

...
0024
AX:0212
BX:
CX:5201
DX:.
0024
AX:0212
BX:
CX:5201
DX:.
...

 I believe this may work, as long as your /dev/hdb3 partition is not beyond 
 your BIOS and/or LILO limitations.

Hmm, in the BIOS on my old hp machine here (p90), I cannot get my IDE
disk recognized. I have another (SCSI) disk which is recognized fine.

The thing though is that with the original boot disk which I made when
installing debian for the first time, I can boot fine with kernel
2.2.15.

Hmm...

Thanks so far  Regards
-- 
S. Burgener
Powered by Debian GNU/Linux 2.2



Re: kernel 2.2.17 boot disk prob! (HELP!)

2000-07-04 Thread ktb
Sven Burgener wrote:
 
 On Tue, Jul 04, 2000 at 09:16:04PM +0200, Albrecht Frank wrote:
 
image=/vmlinuz
^^^
  to what file does this link point?
 
 lrwxrwxrwx1 root root   20 Jul  3 21:52 /vmlinuz - 
 /boot/vmlinuz-2.2.17
 
 That should be so, right?
 

Have you tried --

dd if=/boot/vmlinuz-2.2.17 of=/dev/fd0 bs=8192

to create a boot floppy?  

hth,
kent



Re: kernel 2.2.17 boot disk prob! (HELP!)

2000-07-04 Thread Sven Burgener
On Tue, Jul 04, 2000 at 02:46:25PM +, ktb wrote:

 Have you tried --
 
 dd if=/boot/vmlinuz-2.2.17 of=/dev/fd0 bs=8192
 
 to create a boot floppy?  

That also gives me the messages upon booting:

...
AX:0212
BX:
CX:5201
DX:.
AX:0212
BX:
CX:5201
DX:.
...

Hmm, dunno what to do...

Regards
-- 
S. Burgener
Powered by Debian GNU/Linux 2.2



Re: kernel 2.2.17 boot disk prob! (HELP!)

2000-07-04 Thread Sven Burgener
What I'm looking for is a way of creating a boot disk like the one I
created when installing debian initially.

That boot disk says SYSLINUX... when it is started. This type of boot 
disk works fine with my IDE disk which isn't detected by my ugly BIOS.

TIA
-- 
S. Burgener
Powered by Debian GNU/Linux 2.2



Re: kernel 2.2.17 boot disk prob! (HELP!)

2000-07-04 Thread Jonathan Heaney
Sven Burgener wrote:
 
 What I'm looking for is a way of creating a boot disk like the one I
 created when installing debian initially.
 

Sven,

My method with kernels and bootdisks is always to use the kernel source
and compile it myself, using kernel-package

Read the kernel-package docs and that will tell you how to go about it. 
The 2.2.17 kernel from potato is actually 2.2.17pre6 (latest is pre10
out yesterday).  This _may_ be contributing to your problems, which seem
to revolve around IDE, but I have SCSI so can't help specifically on
that.

If you go this way, you may be better using the 2.2.16 kernel from
ftp.kernel.org (or your nearest mirror) and the latest Alan Cox
pre-patch.

Remember to create the relevant symlinks from /usr/include to
/usr/src/linux/include - check out the kernel doc for more info after
unpacking into /usr/src/linux.

After using kernel-package, you will find a .deb file has been dumped in
/usr/src.  When you dpkg -i the .deb file you'll get prompted whether
you want to create a boot disk.  It should work - I do it constantly.

Excuse me if you already know this; I have not really been following the
thread.

If you would like any further information / help - mail me.  I see you
are getting a bit frustrated trying to fix this.  I run both development
and the latest 2.2.x kernels as a backup and do this sort of thing all
the time.

Jonathan.



Re: kernel 2.2.17 boot disk prob! (HELP!)

2000-07-04 Thread Sven Burgener
Hi all

# file /boot/vmlinuz-*;
/boot/vmlinuz-2.2.15: Linux kernel x86 boot executable bzImage, version 2.2.15 
([EMAIL PROTECTED]) #1 Tue , RO-rootFS, Normal VGA
/boot/vmlinuz-2.2.17: Linux kernel x86 boot executable bzImage, version 2.2.17 
([EMAIL PROTECTED]) #1 Sun J, RO-rootFS, root_dev=0x302, Normal VGA
^^
I don't know, but might this be the problem??

TIA
-- 
S. Burgener
Powered by Debian GNU/Linux 2.2



Re: kernel 2.2.17 boot disk prob! (HELP!)

2000-07-04 Thread Sven Burgener
Hi {Jonathan,list}

On Tue, Jul 04, 2000 at 09:52:06PM +0100, Jonathan Heaney wrote:

 My method with kernels and bootdisks is always to use the kernel source
 and compile it myself, using kernel-package

I tried that before and did not succeed. I posted the log entries in a
previous mail, here is what I said:



--- My previously sent mail ---
On Mon, Jul 03, 2000 at 11:44:05PM +0200, Sven Burgener wrote:
[snipped]
 I *want* kernel-image-2.2.17 to work particularly as I had no success in
 building my custom 2.2.16 kernel. (The gettys got locked up and I got
 lots of dumps in the logs)
 
 Here is a snippet of that (2.2.16): (sorry for the horrid formatting)
 
 -- /var/log/syslog --
 Jun 24 20:37:41 hp kernel: 
 Jun 24 20:37:41 hp kernel:  free  
   sibling
 Jun 24 20:37:41 hp kernel:   task PCstack   pid father child 
 younger older
 Jun 24 20:37:41 hp kernel: init   1 S C17F9EF8  5216 1  0  2142   
  
 Jun 24 20:37:41 hp kernel:sig: 0   : X
 Jun 24 20:37:41 hp kernel: kflushd2 S C17B5FA4  6132 2  1 
 3
 Jun 24 20:37:41 hp kernel:sig: 0   : X
 Jun 24 20:37:41 hp kernel: kupdate3 S C17B3FB8  6236 3  1 
 4 2
 Jun 24 20:37:41 hp kernel:sig: 0  fffd : X
 Jun 24 20:37:41 hp kernel: kpiod  4 S 0F00  6980 4  1 
 5 3
 Jun 24 20:37:41 hp kernel:sig: 0   : X
 Jun 24 20:37:41 hp kernel: kswapd 5 S C17AFFC4  5840 5  1 
84 4
 Jun 24 20:37:41 hp kernel:sig: 0   : X
 
 [snipped]
 
 Jun 24 21:12:45 hp kernel: getty  6 S 7FFF 0  4367  1 
2157
 Jun 24 21:12:45 hp kernel:sig: 0   : X
 Jun 24 21:12:53 hp init: Switching to runlevel: 0
 -- /var/log/syslog --
--- My previously sent mail ---



 Remember to create the relevant symlinks from /usr/include to
 /usr/src/linux/include - check out the kernel doc for more info after
 unpacking into /usr/src/linux.

Didn't know that... Hmm, might that have caused the problems I reported
above?

 After using kernel-package, you will find a .deb file has been dumped in
 /usr/src.  When you dpkg -i the .deb file you'll get prompted whether
 you want to create a boot disk.  It should work - I do it constantly.

I did this, but as I said, the kernel didn't seem to work properly.

 If you would like any further information / help - mail me.  I see you
 are getting a bit frustrated trying to fix this.  I run both development
 and the latest 2.2.x kernels as a backup and do this sort of thing all
 the time.

Nice, all I want is simply the latest productive kernel. :)

Regards
-- 
S. Burgener
Powered by Debian GNU/Linux 2.2



Re: kernel 2.2.17 boot disk prob! (HELP!)

2000-07-04 Thread Pann McCuaig
On Tue, Jul 04, 2000 at 22:07, Sven Burgener wrote:

 What I'm looking for is a way of creating a boot disk like the one I
 created when installing debian initially.

Do you still have that disk? There is a file on there named linux.
Delete it and replace it with a copy of /boot/vmlinuz-2.2.17.

 That boot disk says SYSLINUX... when it is started. This type of boot 
 disk works fine with my IDE disk which isn't detected by my ugly BIOS.

If you don't still have the disk, boot your rescue disk (just like you
were going to do a fresh install), select a keyboard, activate your
swap partition, mount your linux partition(s), and then select Make a
bootable floppy from the menu.

Luck,
Pann
-- 
geek by nature, Linux by choice L I N U X   .~.
The Choice  /V\
http://www.ourmanpann.com/linux/ of a GNU  /( )\
Generation ^^-^^



Re: kernel 2.2.17 boot disk prob! (HELP!)

2000-07-04 Thread Sven Burgener
On Tue, Jul 04, 2000 at 02:41:40PM -0700, Pann McCuaig wrote:
  What I'm looking for is a way of creating a boot disk like the one I
  created when installing debian initially.

 Do you still have that disk? There is a file on there named linux.
 Delete it and replace it with a copy of /boot/vmlinuz-2.2.17.

I did that and it just did the job. :) Thanks!
At first, it complained about missing dependencies but on the next
bootstrap this was fine.

How often can this be repeated? I mean, do any other files on there need
replacing sometime?

On it now is the following:

# file /floppy/*
/floppy/ldlinux.sys:  data
/floppy/linux:Linux kernel x86 boot executable bzImage, version 2.2.17 
([EMAIL PROTECTED]) #1 Sun J, RO-rootFS, root_dev=0x302, Normal VGA
/floppy/message.txt:  English text
/floppy/syslinux.cfg: ASCII text

And mount says:

# mount
/dev/hdb3 on / type ext2 (rw,errors=remount-ro,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hdb1 on /boot type ext2 (rw)
/dev/fd0 on /floppy type msdos (ro,noexec,nosuid,nodev)


  That boot disk says SYSLINUX... when it is started. This type of boot 
  disk works fine with my IDE disk which isn't detected by my ugly BIOS.

 If you don't still have the disk, boot your rescue disk (just like you
 were going to do a fresh install), select a keyboard, activate your
 swap partition, mount your linux partition(s), and then select Make a
 bootable floppy from the menu.

And this would create this exact *type* of boot disk?

Thanks a lot, this is great!
Sven
-- 
Powered by Debian GNU/Linux 2.2



Re: kernel 2.2.17 boot disk prob! (HELP!)

2000-07-04 Thread Pann McCuaig
On Wed, Jul 05, 2000 at 00:12, Sven Burgener wrote:
 On Tue, Jul 04, 2000 at 02:41:40PM -0700, Pann McCuaig wrote:
   What I'm looking for is a way of creating a boot disk like the one I
   created when installing debian initially.
 
  Do you still have that disk? There is a file on there named linux.
  Delete it and replace it with a copy of /boot/vmlinuz-2.2.17.
 
 I did that and it just did the job. :) Thanks!
 At first, it complained about missing dependencies but on the next
 bootstrap this was fine.
 
 How often can this be repeated? I mean, do any other files on there need
 replacing sometime?

Install the syslinux package if it's not already installed and RTFM.  :-)

$ dpkg -l | grep syslinux
ii  syslinux   1.42-2 Bootloader for Linux/i386 using MS-DOS flopp

$ ls -l /usr/doc/syslinux/
total 18
-rw-r--r--1 root root 1215 Dec  5  1998 README
-rw-r--r--1 root root  342 Dec  5  1998 TODO
-rw-r--r--1 root root 1986 Dec 17  1998 changelog.Debian.gz
-rw-r--r--1 root root 2780 Dec  5  1998 changelog.gz
-rw-r--r--1 root root 1327 Dec 17  1998 copyright
-rw-r--r--1 root root 7635 Dec  5  1998 syslinux.doc.gz

(this is from my slink++ system)

Luck,
Pann
-- 
geek by nature, Linux by choice L I N U X   .~.
The Choice  /V\
http://www.ourmanpann.com/linux/ of a GNU  /( )\
Generation ^^-^^