Re: 40r6 locks up during boot

2009-02-14 Thread Frank Lin PIAT
On Sun, 2009-01-11 at 23:31 +0900, John wrote:
 I'm running Windows Virtual Server on Windows Server 2003 on and HP 
 DC5950, Athlon 4550B CPU running in IA32. It's not clear to me whether 
 it has hardware virtualisation, I thought all recent AMD CPUs do, but 
 virtual PC (which got removed when I installed Server 2003) said not. 
 It's not configurable in the BIOS.

Hi, 

Those pages my help:
http://wiki.debian.org/MicrosoftVirtualPc2007/lenny
http://wiki.debian.org/WindowsServerHyperV

I'll try to write a page about MicrosoftVirtualServer2003 at some point.

Franklin


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 40r6 locks up during boot

2009-02-11 Thread John Summerfield

Ian Campbell wrote:

On Mon, 2009-01-12 at 11:04 +0900, John wrote:

John wrote:

Frans Pop wrote:
Ah, so. It's the DVD image.


It's different, but not satisfactory.

I'm copying by hand atm, I'll look at a serial cable (I think I can do 
that) later, so I will give a bare minimum for the moment.


Security framework initialized
SELinux diasbled at boot
Capability LSM initialized
Initializing xgroup subsys ns
cpuacct
devices
CPU: L1 cache 64K etc
CPU: L2 cache 512K etc
CPU: Amd Athlon (tm) Dual Core Processor 4450B stepping 02
checking HLT instruction ... ok
general protection fault: 3edc [#1]
Modules linked in:

Pid 0, comm: swapper Not tainted (2.6.26-1-486 #1)
EIP 0060:[c03633f0d] EFLAGS 0286 CPU: 0
EIP is at 0xc0363f0d

I will leave off now, lots of hex numbers which I'm likely to mistranscribe.

It ends with kernel panic - not syncing -: Attempted to kill the idle task!

Oh, the top item on the call trace:
[c0107a71] apply_paravirt+0x81/0x91.


Hmm, this suggests that adding noreplace-paravirt to your command line
might help.

It'd be interesting to see all the hex numbers once you've got serial
connected up though, especially since the crashing EIP is at 0xc03xx
which implies it is in a module. 


I vaguely recall some traffic on LKML about dynamic patching of stuff in
modules, need to try and remember more to dig it out.


and it's called from vgacon_set_cursor_size.


Called from? Did you see this address on the stack? It might be that it
is attempting to replace some code in this function so it appears on the
stack spuriously.

Ian.


Thanks for your help, Frans and Ian. I was at the beginning of a serious 
 deadline period. I made the deadline with just hours to spare, and 
there were no disasters.


I worked around it by installing virtualbox and Lenny. Lenny does what I 
need adequately, and I don't expect to revisit this.


For the record, it's an HP DC5850 (I mistyped the model number), the AMD 
 CPU does support virtualisation, it is turned off in the BIOS but can 
be turned on. To my surprise, it's listed under security features.




--


Cheers
John Summerfield.



--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 40r6 locks up during boot

2009-01-12 Thread Ian Campbell
On Mon, 2009-01-12 at 11:04 +0900, John wrote:
 John wrote:
  Frans Pop wrote:
 
  Ah, so. It's the DVD image.
  
 
 It's different, but not satisfactory.
 
 I'm copying by hand atm, I'll look at a serial cable (I think I can do 
 that) later, so I will give a bare minimum for the moment.
 
 Security framework initialized
 SELinux diasbled at boot
 Capability LSM initialized
 Initializing xgroup subsys ns
 cpuacct
 devices
 CPU: L1 cache 64K etc
 CPU: L2 cache 512K etc
 CPU: Amd Athlon (tm) Dual Core Processor 4450B stepping 02
 checking HLT instruction ... ok
 general protection fault: 3edc [#1]
 Modules linked in:
 
 Pid 0, comm: swapper Not tainted (2.6.26-1-486 #1)
 EIP 0060:[c03633f0d] EFLAGS 0286 CPU: 0
 EIP is at 0xc0363f0d
 
 I will leave off now, lots of hex numbers which I'm likely to mistranscribe.
 
 It ends with kernel panic - not syncing -: Attempted to kill the idle task!
 
 Oh, the top item on the call trace:
 [c0107a71] apply_paravirt+0x81/0x91.

Hmm, this suggests that adding noreplace-paravirt to your command line
might help.

It'd be interesting to see all the hex numbers once you've got serial
connected up though, especially since the crashing EIP is at 0xc03xx
which implies it is in a module. 

I vaguely recall some traffic on LKML about dynamic patching of stuff in
modules, need to try and remember more to dig it out.

 and it's called from vgacon_set_cursor_size.

Called from? Did you see this address on the stack? It might be that it
is attempting to replace some code in this function so it appears on the
stack spuriously.

Ian.
-- 
Ian Campbell

A woman was in love with fourteen soldiers.  It was clearly platoonic.


signature.asc
Description: This is a digitally signed message part


40r6 locks up during boot

2009-01-11 Thread John
I'm running Windows Virtual Server on Windows Server 2003 on and HP 
DC5950, Athlon 4550B CPU running in IA32. It's not clear to me whether 
it has hardware virtualisation, I thought all recent AMD CPUs do, but 
virtual PC (which got removed when I installed Server 2003) said not. 
It's not configurable in the BIOS.


VS emulates a BX chipset, and has an AMI bios.

I have successfully installed other distributions and other releases of 
Debian (including 4.0) under VS (and under Virtual PC) on Windows XP 
Professional.


This time I'm using the first 40r6 DVD image which I downloaded today.

I haven't yet figured how to get screen dumps in Windows, so I will 
summarise the last few lines rather than posting an image somewhere.


There are the usual PIIX4 messages including not 100% native mode, 
reports of ide0 and ide1.

Then floppy drive fd0.
Two parport messages, very ordinary
Then
hda Virtual HD, ATA DISK drive
FDC 0 is an 82078

It's been spinning there for 1 hour 11 minutes, running 100% CPU. It's 
read 5.1 Mbytes from disk (that would be the virtual DVD), written 0. 
There's been a few K of network I/O, I assume that's the virtual display.


I most recently booted with noapic nolapic.

I intend to download the current daily (daily? it's nearly a week old) 
overnight, and time permitting with give that ago tomorrow.



ps I expect that this system will, if needs be, run Linux (but I won't 
make any assumptions about good graphics) - the diagnostics disk is 
based on Linux. There are drivers for the important bits (a sore point 
with the dc7700s I have).



--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 40r6 locks up during boot

2009-01-11 Thread John Summerfield

John wrote:
I'm running Windows Virtual Server on Windows Server 2003 on and HP 
DC5950, Athlon 4550B CPU running in IA32. It's not clear to me whether 
it has hardware virtualisation, I thought all recent AMD CPUs do, but 
virtual PC (which got removed when I installed Server 2003) said not. 
It's not configurable in the BIOS.


VS emulates a BX chipset, and has an AMI bios.

I have successfully installed other distributions and other releases of 
Debian (including 4.0) under VS (and under Virtual PC) on Windows XP 
Professional.


This time I'm using the first 40r6 DVD image which I downloaded today.

I haven't yet figured how to get screen dumps in Windows, so I will 
summarise the last few lines rather than posting an image somewhere.


There are the usual PIIX4 messages including not 100% native mode, 
reports of ide0 and ide1.

Then floppy drive fd0.
Two parport messages, very ordinary
Then
hda Virtual HD, ATA DISK drive
FDC 0 is an 82078




These messages are from booting an installed Linux in virtual PC. The 
emulated machine is similar, but might not be exactly the same. Nor does 
this snipped accurately reflect the messages I saw, I have provided more 
for context, and ordering is different, maybe because the installer's 
kernel's modules are loaded in a different order.


These are from Linux version 2.6.18-6-686 (Debian 2.6.18.dfsg.1-23etch1) 
(da...@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 
4.1.1-21)) #1 SMP Fri Dec 12 16:48:28 UTC 2008.


ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot :00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: Virtual HD, ATA DISK drive
hdb: Virtual CD, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hda: max request size: 128KiB
hda: 8388576 sectors (4294 MB) w/64KiB Cache, CHS=8322/16/63, DMA
 hda: hda1 hda2  hda5 
hdb: ATAPI DVD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
Attempting manual resume
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
input: PC Speaker as /class/input/input1
piix4_smbus :00:07.3: Found :00:07.3 device
Real Time Clock Driver v1.12ac
Floppy drive(s): fd0 is 1.44M
FDC 0 is an 82078.
trackpoint.c: failed to get extended button data
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
Adding 240932k swap on /dev/hda5.  Priority:-1 extents:1 across:240932k
EXT3 FS on hda1, internal journal
loop: loaded (max 8 devices)
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: 
dm-de...@redhat.com

IBM TrackPoint firmware: 0x01, buttons: 0/0
input: TPPS/2 IBM TrackPoint as /class/input/input2
ts: Compaq touchscreen protocol output


There are none of the filesystem messages in the failing boot (nor would 
one expect them!), and the failing system has an emulated optical drive, 
but it might not be hdb. There was no message about the optical device.




It's been spinning there for 1 hour 11 minutes, running 100% CPU. It's 
read 5.1 Mbytes from disk (that would be the virtual DVD), written 0. 
There's been a few K of network I/O, I assume that's the virtual display.


I most recently booted with noapic nolapic.

I intend to download the current daily (daily? it's nearly a week old) 
overnight, and time permitting with give that ago tomorrow.



ps I expect that this system will, if needs be, run Linux (but I won't 
make any assumptions about good graphics) - the diagnostics disk is 
based on Linux. There are drivers for the important bits (a sore point 
with the dc7700s I have).






--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 40r6 locks up during boot

2009-01-11 Thread Frans Pop
On Sunday 11 January 2009, John wrote:
 This time I'm using the first 40r6 DVD image which I downloaded today.

 It's been spinning there for 1 hour 11 minutes, running 100% CPU. It's
 read 5.1 Mbytes from disk (that would be the virtual DVD), written 0.
 There's been a few K of network I/O, I assume that's the virtual
 display.

If you really want Etch I'd suggest you try Etch-and-a-half installer [1] 
which has a more recent kernel (2.6.24). Otherwise trying Lenny is the 
best option.

 I intend to download the current daily (daily? it's nearly a week old)
 overnight, and time permitting with give that ago tomorrow.

Huh? Daily images are all up-to-date AFAICT. DVD images are built weekly, 
not daily.

But why don't you download a smaller image first to see if it works? You 
could even use the mini.iso for that (see other images, netboot).

Cheers,
FJP

[1] http://www.debian.org/releases/etch/debian-installer/etchnhalf


signature.asc
Description: This is a digitally signed message part.


Re: 40r6 locks up during boot

2009-01-11 Thread John

Frans Pop wrote:

On Sunday 11 January 2009, John wrote:

This time I'm using the first 40r6 DVD image which I downloaded today.

It's been spinning there for 1 hour 11 minutes, running 100% CPU. It's
read 5.1 Mbytes from disk (that would be the virtual DVD), written 0.
There's been a few K of network I/O, I assume that's the virtual
display.


If you really want Etch I'd suggest you try Etch-and-a-half installer [1] 
which has a more recent kernel (2.6.24). Otherwise trying Lenny is the 
best option.



I intend to download the current daily (daily? it's nearly a week old)
overnight, and time permitting with give that ago tomorrow.


Huh? Daily images are all up-to-date AFAICT. DVD images are built weekly, 
not daily.




Ah, so. It's the DVD image.

But why don't you download a smaller image first to see if it works? You 
could even use the mini.iso for that (see other images, netboot).


I can download most things Linux off my ISP's mirror at about 1.7 
Mbytes/sec, so it doesn't take long, and as it's in my IAP's no-charge 
zone that's okay too. And there's the point I expected it to just 
work, so there was no reason not to.


That said, I didn't find this image locally, so I timed the download to 
run in the off-peak time period which I underuse, and I got it from .se 
at less then 300 Kbytes/sec.



If I tried to install on the bare metal, that's where I might expect 
some difficulty (2.6.25 kernels were difficult on the DC7700).




Cheers,
FJP

[1] http://www.debian.org/releases/etch/debian-installer/etchnhalf



--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 40r6 locks up during boot

2009-01-11 Thread John

John wrote:

Frans Pop wrote:



Ah, so. It's the DVD image.



It's different, but not satisfactory.

I'm copying by hand atm, I'll look at a serial cable (I think I can do 
that) later, so I will give a bare minimum for the moment.


Security framework initialized
SELinux diasbled at boot
Capability LSM initialized
Initializing xgroup subsys ns
   cpuacct
   devices
CPU: L1 cache 64K etc
CPU: L2 cache 512K etc
CPU: Amd Athlon (tm) Dual Core Processor 4450B stepping 02
checking HLT instruction ... ok
general protection fault: 3edc [#1]
Modules linked in:

Pid 0, comm: swapper Not tainted (2.6.26-1-486 #1)
EIP 0060:[c03633f0d] EFLAGS 0286 CPU: 0
EIP is at 0xc0363f0d

I will leave off now, lots of hex numbers which I'm likely to mistranscribe.

It ends with kernel panic - not syncing -: Attempted to kill the idle task!

Oh, the top item on the call trace:
[c0107a71] apply_paravirt+0x81/0x91.
and it's called from vgacon_set_cursor_size.


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 40r6 locks up during boot

2009-01-11 Thread Frans Pop
On Monday 12 January 2009, John wrote:
 general protection fault: 3edc [#1]
 Modules linked in:

 Pid 0, comm: swapper Not tainted (2.6.26-1-486 #1)
 EIP 0060:[c03633f0d] EFLAGS 0286 CPU: 0
 EIP is at 0xc0363f0d

 I will leave off now, lots of hex numbers which I'm likely to
 mistranscribe.

 It ends with kernel panic - not syncing -: Attempted to kill the idle
 task!

 Oh, the top item on the call trace:
 [c0107a71] apply_paravirt+0x81/0x91.
 and it's called from vgacon_set_cursor_size.

Note that whatever this is, it's a kernel problem, not a problem with the 
installer itself. And this is not the best list to help with kernel 
issues.

One thing you could try is booting with the framebuffer disabled (add
fb=false or video=vfb:off as boot parameter).


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 40r6 locks up during boot

2009-01-11 Thread John

Frans Pop wrote:

On Monday 12 January 2009, John wrote:

general protection fault: 3edc [#1]
Modules linked in:

Pid 0, comm: swapper Not tainted (2.6.26-1-486 #1)
EIP 0060:[c03633f0d] EFLAGS 0286 CPU: 0
EIP is at 0xc0363f0d

I will leave off now, lots of hex numbers which I'm likely to
mistranscribe.

It ends with kernel panic - not syncing -: Attempted to kill the idle
task!

Oh, the top item on the call trace:
[c0107a71] apply_paravirt+0x81/0x91.
and it's called from vgacon_set_cursor_size.


Note that whatever this is, it's a kernel problem, not a problem with the 
installer itself. And this is not the best list to help with kernel 
issues.


I can accept that. fwiw I've installed Kubuntu 8.10 in there now, and 
for my purposes that will suffice. I'll explore serial cables (real and 
virtual) before hassling the kernel folk.


The Ubuntu kernel is 2.6.27 or so and has paravirt support, so evidently 
a fix can be had.


One thing you could try is booting with the framebuffer disabled (add
fb=false or video=vfb:off as boot parameter).


Neither of those work. Is the script in your initrd trying to initialise 
framebuffer regardless?



--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 40r6 locks up during boot

2009-01-11 Thread Frans Pop
On Monday 12 January 2009, John wrote:
  One thing you could try is booting with the framebuffer disabled (add
  fb=false or video=vfb:off as boot parameter).

 Neither of those work. Is the script in your initrd trying to
 initialise framebuffer regardless?

No, it shouldn't.


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 40r6 locks up during boot

2009-01-11 Thread John

Frans Pop wrote:

On Monday 12 January 2009, John wrote:

One thing you could try is booting with the framebuffer disabled (add
fb=false or video=vfb:off as boot parameter).

Neither of those work. Is the script in your initrd trying to
initialise framebuffer regardless?


No, it shouldn't.


What prevents 
/lib/debian-installer-startup.d/S40framebuffer-module-linux=x86 from 
running?


I'd be more convinced if it tested the environment variable fb.


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 40r6 locks up during boot

2009-01-11 Thread Frans Pop
On Monday 12 January 2009, John wrote:
 What prevents
 /lib/debian-installer-startup.d/S40framebuffer-module-linux=x86 from
 running?

 I'd be more convinced if it tested the environment variable fb.

The boot parameter fb is an alias for debian-installer/framebuffer 
(defined in the preseed udeb).


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 40r6 locks up during boot

2009-01-11 Thread John

Frans Pop wrote:

On Monday 12 January 2009, John wrote:

What prevents
/lib/debian-installer-startup.d/S40framebuffer-module-linux=x86 from
running?

I'd be more convinced if it tested the environment variable fb.


The boot parameter fb is an alias for debian-installer/framebuffer 
(defined in the preseed udeb).


I know that, my examination of the initrd showed it. However, fb should 
be set in the environment, and I couldn't see anything that prevents 
/lib/debian-installer-startup.d/S40framebuffer-module-linux=x86 from 
loading framebuffer drivers.


The real system's going down RSN for a disk replacement. Yet another dud 
WD disk, it seems.


Hope I've got a Linux CD/DVD that finds its drives... Hmm.



--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 40r6 locks up during boot

2009-01-11 Thread Frans Pop
On Monday 12 January 2009, John wrote:
 Frans Pop wrote:
  The boot parameter fb is an alias for debian-installer/framebuffer
  (defined in the preseed udeb).

 I know that, my examination of the initrd showed it. However, fb should
 be set in the environment, and I couldn't see anything that prevents
 /lib/debian-installer-startup.d/S40framebuffer-module-linux=x86 from
 loading framebuffer drivers.

Huh?

/lib/debian-installer-startup.d/S40framebuffer-module-linux=x86 has:
if [ -n $TERM_FRAMEBUFFER_TRY ]  \
   [ $(debconf-get debian-installer/framebuffer) = true ]; then

The second line means that if you pass fb=false that hook script is not 
going to do anything. fb=false does not belong in the environment, it is 
translated to a setting in the cdebconf database.

Note that the VESA framebuffer and framebuffer console support are 
compiled in. However, the VESA framebuffer should only activate if you 
pass vga=XXX and should certainly not activate if you 
pass video=vfb:off.
It could be that some part of the framebuffer console code is still run, 
even if no framebuffer is enabled, but for that you really need to talk 
to kernel people.


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org