From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baurjan Ismagulov Subject: unable to boot as user Date: Fri, 14 Jun 2002 17:21:26 +0300 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <20020614142121.GA11777@gantek.com> Mime-Version: 1.0 Return-path: Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-msdos@vger.kernel.org Hello, I'm trying to boot win98 under dosemu 1.0.2.1-8 from debian sid. I put the diskette image under /var/lib/dosemu, set $_vbootfloppy = "win98.img" in dosemu.conf and run dosemu. It boots as expected if dosemu is run by root, and otherwise fails with the following message: Linux DOS emulator 1.0.2.1 $Date: 2001/10/13 $ Last configured at Sun Apr 28 14:06:33 EST 2002 on linux Disk I/O error Replace the disk, and then press any key Pressing any key just causes the message to repeat. Dosemu exits after retrying three times. I have "all c_all" in dosemu.users. I've tried setting $_secure to "" and "0" in dosemu.conf and making dosemu.bin suid root -- the same result. List archives and Google retrieve quite a few threads discussing similar issues, but I couldn't figure out how I can solve that. I would appreciate any help. Please cc to me, as I'm not subscribed. Attached are relevant (IMHO, that is) snippets from -D+a and strace -f outputs. Thanks in advance, Baurjan. Debug output (user): CONSOLE MSG: 'Linux DOS emulator 1.0.2.1 $Date: 2001/10/13 $' CONSOLE MSG: 'Last configured at Sun Apr 28 14:06:33 EST 2002 on linux' int 0x1c, ax=0x0000 DEFIVEC: int 0x1c @ 0xf000:0x01c0 Return from vm86() for STI int 0x1c, ax=0x0000 DEFIVEC: int 0x1c @ 0xf000:0x01c0 Return from vm86() for STI DISK: null dp Sector not found 1! DISK 0 read [h:1,s:1,t:0](1)->0x700 DISK 0 undefined. Debug output (root): CONSOLE MSG: 'Linux DOS emulator 1.0.2.1 $Date: 2001/10/13 $' CONSOLE MSG: 'Last configured at Sun Apr 28 14:06:33 EST 2002 on linux' int 0x1c, ax=0x0000 DEFIVEC: int 0x1c @ 0xf000:0x01c0 Return from vm86() for STI DISK: /var/lib/dosemu/win95.img: Trying to read 1 sectors at T/S/H 0/1/1+0 at pos 9728 DISK read @1/0/1 (1) -> 0x700 OK. DISK: /var/lib/dosemu/win95.img: Trying to read 1 sectors at T/S/H 0/15/1+0 at pos 16896 DISK read @1/0/15 (1) -> 0x700 OK.