Re: Unable to install from hard disk or mounted partition

2002-01-28 Thread Colin Walters

On Mon, 2002-01-28 at 05:53, christian mock wrote:
> I'd suggest fixing the SEGV in utilities/dbootstrap/baseconfig.c:155, 
> as described in bug #126370; it's an easy fix, I'd suggest:
> 
> < if (bootargs.console[5]==',') ttyspeed=atoi(bootargs.console+6);
> > if (bootargs.console && bootargs.console[5]==',') 
>ttyspeed=atoi(bootargs.console+6);
> 
> and it fixes a severe problem for installations over a serial console.

Your patch looks sane to me; I've applied it.  Thanks!

(However, I'd like to wait to close the bug until we have confirmation
from the bug submitters that it fixes their problem.)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Unable to install from hard disk or mounted partition

2002-01-28 Thread christian mock

> On Sun, 2002-01-27 at 21:22, Chris Tillman wrote:
> > I have these problems fixed, and will commit after 3.0.19 uploads. 
> 
> Very cool!  
> 
> So, can we get 3.0.19 rolling then?  Any objections to uploading it now?

I'd suggest fixing the SEGV in utilities/dbootstrap/baseconfig.c:155, 
as described in bug #126370; it's an easy fix, I'd suggest:

< if (bootargs.console[5]==',') ttyspeed=atoi(bootargs.console+6);
> if (bootargs.console && bootargs.console[5]==',') 
>ttyspeed=atoi(bootargs.console+6);

and it fixes a severe problem for installations over a serial console.

ciao,

cm.

-- 
(from a conversation at ork):
  "I can't see any data coming out of this Tolkien Ring card."
  "Well of course not, it confers invisibility."
  -- Anthony de Boer





msg15183/pgp0.pgp
Description: PGP signature


Re: Unable to install from hard disk or mounted partition

2002-01-28 Thread Colin Walters

On Sun, 2002-01-27 at 21:22, Chris Tillman wrote:
> I have these problems fixed, and will commit after 3.0.19 uploads. 

Very cool!  

So, can we get 3.0.19 rolling then?  Any objections to uploading it now?



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Unable to install from hard disk or mounted partition

2002-01-27 Thread Chris Tillman

On Sun, Jan 20, 2002 at 10:24:19PM -0700, Chris Tillman wrote:
> I tried the new-powermac flavor from Jan 7 posted in ~walters. I was
> unable to install from the hard disk.
> 
> I first tried the images-1.44/root.bin posted with new-powermac. Then
> I tried a root.bin I had built from cvs on 1/14. Both gave the same
> symptoms. I don't believe there have been any changes to this code in
> the meantime. So the hard disk dialog is still not working, at least
> for new-powermac. It really doesn't seem like the loop mount error
> would be architecture-related.
> 
> I also tried the mounted partition selection, but that causes
> dbootstrap to crash and restart in a smaller window.

I have these problems fixed, and will commit after 3.0.19 uploads. 

-- 
*--v- Installing Debian GNU/Linux 3.0 v--*
|    |
|   debian-imac (potato):    |
|Chris Tillman[EMAIL PROTECTED]  |
|   May the Source be with you   |
**


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Unable to install from hard disk or mounted partition

2002-01-20 Thread Chris Tillman

I tried the new-powermac flavor from Jan 7 posted in ~walters. I was
unable to install from the hard disk.

I first tried the images-1.44/root.bin posted with new-powermac. Then
I tried a root.bin I had built from cvs on 1/14. Both gave the same
symptoms. I don't believe there have been any changes to this code in
the meantime. So the hard disk dialog is still not working, at least
for new-powermac. It really doesn't seem like the loop mount error
would be architecture-related.

I also tried the mounted partition selection, but that causes
dbootstrap to crash and restart in a smaller window.

Here is the pertinent part of the vc3 messages:

Jan 21 04:55:48 (none) syslog.info syslogd started: BusyBox v0.60.3-pre 
(2001.12.18-04:20+)
Jan 21 04:55:48 (none) user.info linuxrc: Starting pid 53, console /dev/tty1: 
'/etc/init.d/check_fb.sh' 
Jan 21 04:55:48 (none) user.info linuxrc: Starting pid 56, console /dev/tty4: 
'/usr/bin/tail -f /proc/kmsg' 
Jan 21 04:55:48 (none) user.info linuxrc: Starting pid 57, console /dev/tty3: 
'/usr/bin/tail -f /var/log/messages' 
Jan 21 04:55:48 (none) user.info linuxrc: Starting pid 59, console /dev/console: 
'/sbin/udbootstrap' 
Jan 21 04:55:48 (none) user.info linuxrc: Waiting for enter to start '-sh' (pid 58, 
console /dev/tty2) 
Jan 21 04:55:48 (none) user.info dbootstrap[62]: dbootstrap starting; built 
2002.01.14-07:01+ for powerpc
Jan 21 04:56:01 (none) user.info dbootstrap[62]: formatting swap partition /dev/hda9 
Jan 21 04:56:12 (none) user.info dbootstrap[62]: Mounting ext3 partition /dev/hda18 on 
/target
Jan 21 04:56:30 (none) user.info dbootstrap[62]: no 
'/instmnt//dists/woody/main/disks-powerpc/current/new-powermac/images-2.88/rescue.bin' 
files found, kernel not in the default location
Jan 21 04:56:34 (none) user.info dbootstrap[62]: installing kernel and modules from 
/instmnt/
Jan 21 04:56:34 (none) user.err dbootstrap[62]: set_loop ioctl got error doing 
LOOP_SET_FD on file /instmnt//new-powermac/images-2.88/rescue.bin
Jan 21 04:56:34 (none) user.err dbootstrap[62]: set_loop couldn't create a loop device 
for /instmnt//new-powermac/images-2.88/rescue.bin
Jan 21 04:56:34 (none) user.err dbootstrap[62]: set_loop ioctl got error doing 
LOOP_SET_FD on file /instmnt//rescue.bin
Jan 21 04:56:34 (none) user.err dbootstrap[62]: set_loop couldn't create a loop device 
for /instmnt//rescue.bin
Jan 21 04:56:34 (none) user.err dbootstrap[62]: extracting Rescue Floppy from 
non-floppy device /instmnt/ failed with -1
Jan 21 04:56:34 (none) user.err dbootstrap[62]: The attempt to extract the Rescue 
Floppy from disk failed.
Jan 21 04:56:36 (none) user.info dbootstrap[62]: can't make symlink from /lib/modules 
to /target/lib/modules, the latter does not exist
Jan 21 04:57:02 (none) user.info dbootstrap[62]: no 
'/instmnt/new-powermac/dists/woody/main/disks-powerpc/current/new-powermac/images-2.88/rescue.bin'
 files found, kernel not in the default location
Jan 21 04:57:05 (none) user.info dbootstrap[62]: installing kernel and modules from 
/instmnt
Jan 21 04:57:05 (none) user.err dbootstrap[62]: set_loop ioctl got error doing 
LOOP_SET_FD on file /instmnt/new-powermac/images-2.88/rescue.bin
Jan 21 04:57:05 (none) user.err dbootstrap[62]: set_loop couldn't create a loop device 
for /instmnt/new-powermac/images-2.88/rescue.bin
Jan 21 04:57:05 (none) user.err dbootstrap[62]: set_loop ioctl got error doing 
LOOP_SET_FD on file /instmnt/rescue.bin
Jan 21 04:57:05 (none) user.err dbootstrap[62]: set_loop couldn't create a loop device 
for /instmnt/rescue.bin
Jan 21 04:57:05 (none) user.err dbootstrap[62]: extracting Rescue Floppy from 
non-floppy device /instmnt failed with -1
Jan 21 04:57:05 (none) user.err dbootstrap[62]: The attempt to extract the Rescue 
Floppy from disk failed.
Jan 21 04:57:06 (none) user.info dbootstrap[62]: can't make symlink from /lib/modules 
to /target/lib/modules, the latter does not exist
Jan 21 04:57:06 (none) user.info dbootstrap[62]: depmod: cannot read ELF header from 
/lib/modules/2.4.16-newpmac/modules.dep 
Jan 21 04:57:06 (none) user.info dbootstrap[62]: depmod: cannot read ELF header from 
/lib/modules/2.4.16-newpmac/modules.generic_string 
Jan 21 04:57:06 (none) user.info dbootstrap[62]: depmod: 
/lib/modules/2.4.16-newpmac/modules.ieee1394map is not an ELF file 
Jan 21 04:57:06 (none) user.info dbootstrap[62]: depmod: 
/lib/modules/2.4.16-newpmac/modules.isapnpmap is not an ELF file 
Jan 21 04:57:06 (none) user.info dbootstrap[62]: depmod: cannot read ELF header from 
/lib/modules/2.4.16-newpmac/modules.parportmap 
Jan 21 04:57:06 (none) user.info dbootstrap[62]: depmod: 
/lib/modules/2.4.16-newpmac/modules.pcimap is not an ELF file 
Jan 21 04:57:06 (none) user.info dbootstrap[62]: depmod: cannot read ELF header from 
/lib/modules/2.4.16-newpmac/modules.pnpbiosmap 
Jan 21 04:57:06 (none) user.info dbootstrap[62]: depmod: 
/lib/modules/2.4.16-newpmac/modules.usbmap is not an ELF file 
Jan 21 04:57:39 (none) user.info dbootstrap[62]: