9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] panic
@ 2008-09-17 16:08 Markus Sonderegger
  2008-09-17 13:07 ` erik quanstrom
  0 siblings, 1 reply; 9+ messages in thread
From: Markus Sonderegger @ 2008-09-17 16:08 UTC (permalink / raw)
  To: 9fans

hi,
i got the following panic in a kernel I compiled today:

	panic: D2B called on non-block f0d72af8 (double-free?)
	panic: D2B called on non-block f0d72af8 (double-free?)
	dumpstack disabled
	cpu0: exiting

it happen evertime i plug a usb device in. i don't know how
to debug this. any suggestions?
with my old kernel(2008-04-30) everthing works fine.

markus




^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [9fans] panic
@ 2008-10-05 16:30 erik quanstrom
  0 siblings, 0 replies; 9+ messages in thread
From: erik quanstrom @ 2008-10-05 16:30 UTC (permalink / raw)
  To: geoff, 9fans

> Sorry about that.  We're soaking a version of the kernel that includes
> a reference count in the Block struct.  It's so far used by the
> Ethernet drivers, IP stack and USB code, and usbohci.c escaped a
> little too early.
>
> I've just pushed out a newer allocb.c to sources that initializes the
> refence count at allocation.

the new version of port/allocb.c panics my terminal early in the boot
process.  unfortunately, i'm going to have to buy another serial card
to debug this, so i won't have any information for a while.  what i
do know is the panic is "ref -1" from freeb and the caller is readq.

- erik



^ permalink raw reply	[flat|nested] 9+ messages in thread
* [9fans] panic
@ 2007-11-21 16:29 Frank Lenaerts
  2007-11-21 17:02 ` erik quanstrom
  2007-11-22 15:39 ` Frank Lenaerts
  0 siblings, 2 replies; 9+ messages in thread
From: Frank Lenaerts @ 2007-11-21 16:29 UTC (permalink / raw)
  To: 9fans

Hi,

Yesterday, I downloaded the Plan 9 live CD and tried to boot it on a
Fujitsu-Siemens Scenic PC (which is about 2 years old). Unfortunately,
booting from the CD fails:

--- begin ---
...
<menu>
...
Plan 9
E820: ...
<several E820: lines>
panic: vmap: va=0xf0400000 pa=0x00400000 pde=0x00400083
panic: vmap: va=0xf0400000 pa=0x00400000 pde=0x00400083
dumpstack disabled
cpu0: exiting
---  end  ---

Not knowing where to start looking for the possible cause, I just
googled for the panic line and found a post in an old archive[*]. This
person mentions that in his case the everything seemed ok when
*noe820scan is specified. 

As this machine does not have a floppy drive and I do not want to burn
a new CD just to modify plan9.ini, I tried to boot the system using
PXE (from a Linux machine running a dhcp and tftp server). The
intention was to get 9pxeload to load a plan9.ini file from the Linux
machine and to then continue booting from the CD (i.e. trying to pass
the *noe820scan to the kernel).

To do this, I did the following:

- configured the dhcp server (MAC, filename...)
- put 9pxeload in place
- modified plan9.ini so that it contains *noe820scan and renamed it to
  the MAC address of the NIC

Booting the PC using PXE loads 9pxeload but the plan9.ini file is not
found:

--- begin ---
initial probe, to find plan9.ini...pcirouting: ...

Boot devices: fd0
boot from: 
---  end  ---

The 9load manpage says that the file should be put in /cfg/pxe (which
I then created under /tftpboot on the Linux box). I thought that
9pxeload would request /cfg/pxe/<MAC> using TFTP but even that does
not seem to be the case i.e. it seems as if 9pxeload doesn't request
any file using TFTP... Could somebody explain me how it is supposed to
work?

[*] http://lists.cse.psu.edu/archives/9fans/2006-July.txt


Kind regards,

-- 
Frank Lenaerts ---------------------------------------- frank@inua.be


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-10-05 16:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-17 16:08 [9fans] panic Markus Sonderegger
2008-09-17 13:07 ` erik quanstrom
2008-09-17 15:04   ` geoff
  -- strict thread matches above, loose matches on Subject: below --
2008-10-05 16:30 erik quanstrom
2007-11-21 16:29 Frank Lenaerts
2007-11-21 17:02 ` erik quanstrom
2007-11-21 17:31   ` Tim Wiess
2007-11-21 18:19     ` erik quanstrom
2007-11-22 15:39 ` Frank Lenaerts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).