View previous topic :: View next topic |
Author |
Message |
tyllermills Guest
|
Posted: Wed May 11, 2005 10:18 Post subject: bug : "Division by zero" when HD detection |
|
|
Just one bug...
PC : Dell OptiPlex GX 110 (DD 10 go, 256 sdram, PIII 600 Mhz) |
|
Back to top |
|
|
tyllermills Guest
|
Posted: Wed May 11, 2005 10:57 Post subject: |
|
|
I have choosen "automatic partition"...
and I have logical error :
Code: |
modprobe : can't locate module block-major-33
modprobe : can't locate module block-major-33
modprobe : can't locate module block-major-34
modprobe : can't locate module block-major-34
mounting [color=red]2[/color]1 on /mnt/root failed : no such devices or directory
!!!!!!!!!!!!!!!!!!!!!
Error : root mounted |
/dev/hda => "2" .. I don't know why.... my HD is on primary master. |
|
Back to top |
|
|
Hauke
Joined: 02 Mar 2003 Posts: 1072
|
Posted: Wed May 11, 2005 12:24 Post subject: |
|
|
What kind of HD is it (IDE, SCSI)?
Do you need to load a special module for the HD controler?
Please press (on the client) Ctrl+C to enter the console, after the error occured and send me the output of:
Code: | parted -s /dev/hda print |
_________________ Hauke Goos-Habermann
- project leader m23 (http://m23.sf.net) -
Jabber: dodgerm23@jabber.org
Schulung, Entwicklung und Support zu m23 und anderen OpenSource-Produkten: www.goos-habermann.de
Auch DU kannst etwas gegen Softwarepatente tun! www.patentfrei.de |
|
Back to top |
|
|
tyllermills Guest
|
Posted: Wed May 11, 2005 12:59 Post subject: |
|
|
Hauke wrote: | What kind of HD is it (IDE, SCSI)?
Do you need to load a special module for the HD controler?
Please press (on the client) Ctrl+C to enter the console, after the error occured and send me the output of:
Code: | parted -s /dev/hda print |
|
IDE (Maxtor 10Go)
No, I don't need special module ...
root@~# parted -s /dev/hda print
Disk geometry for /dev/hda: 0.000-9770.906 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
|
|
Back to top |
|
|
Hauke
Joined: 02 Mar 2003 Posts: 1072
|
|
Back to top |
|
|
tyllermills Guest
|
Posted: Thu May 12, 2005 4:42 Post subject: |
|
|
Just that :
Code: | dev0_path###dev0_size###dev0_partamount###dev_amou... |
|
|
Back to top |
|
|
Hauke
Joined: 02 Mar 2003 Posts: 1072
|
Posted: Thu May 12, 2005 7:26 Post subject: |
|
|
I need the whole text of "partitions". Click on the "<-T->" button to see all. Please post the full text. _________________ Hauke Goos-Habermann
- project leader m23 (http://m23.sf.net) -
Jabber: dodgerm23@jabber.org
Schulung, Entwicklung und Support zu m23 und anderen OpenSource-Produkten: www.goos-habermann.de
Auch DU kannst etwas gegen Softwarepatente tun! www.patentfrei.de |
|
Back to top |
|
|
tyllermills Guest
|
Posted: Fri May 13, 2005 7:33 Post subject: |
|
|
I'm sorry, but, I have erase my server m23.
I test FAI now... I will reinstall m23 when I finish testing FAI. |
|
Back to top |
|
|
iolanda Guest
|
Posted: Fri Nov 25, 2005 7:39 Post subject: Warning: Division by zero in /m23/cvs/inc/fdisk.php on line |
|
|
Hi,
we have the same error.
The full line:
dev0_path###dev0_size###dev0_partamount###dev_amount###2###/dev/hda###0###1
Thanks in advance |
|
Back to top |
|
|
Hauke
Joined: 02 Mar 2003 Posts: 1072
|
Posted: Fri Nov 25, 2005 9:17 Post subject: |
|
|
Quote: | The full line:
dev0_path###dev0_size###dev0_partamount###dev_amount###2###/dev/hda###0###1 |
This doesn't help me
Please read the forum FAQ and answer the questions: http://m23.sourceforge.net/faq/frageFAQ.htm _________________ Hauke Goos-Habermann
- project leader m23 (http://m23.sf.net) -
Jabber: dodgerm23@jabber.org
Schulung, Entwicklung und Support zu m23 und anderen OpenSource-Produkten: www.goos-habermann.de
Auch DU kannst etwas gegen Softwarepatente tun! www.patentfrei.de |
|
Back to top |
|
|
iolanda Guest
|
Posted: Fri Nov 25, 2005 10:46 Post subject: problem partitioning |
|
|
Oh, sorry.
1. Version: m23 Software: 0.4.99 halfBaked-pre3 (100000)
2. We did a standard installation (complete) from the CD
3. Did you change anything on the system by hand? If yes: what?
No important modifications (for the server just boot, install and work from serial console, ttyS0)
Client problems
1. Detailed description of the problem
On the client partitioning screen we get the error:
Warning: Division by zero in /m23/cvs/inc/fdisk.php on line 819
And if we select Automatic partition we see:
Action Partition Description
Create new partition 2 Type: primary Range: 0 - 0
Format 21 File system: ext3
Set bootflag 21
Create new partition 2 Type: primary Range: 1 - -1
Format 22 File system: linux-swap
2. How can I reproduce the problem? Give me a step by step instruction.
On the server we created a bootdisk, and created also a new client. We boot another computer with the bootdisk, it gets de DHCP server, and all works well. On the server we choose to setup the client and try to make partitions. At this point we get the error.
The computer we are using as a client had a debian operating system before. We had the error with the original partitions, so we deleted them, but the error persists.
The client log shows (server web application):
Time Information Status
25.11.2005 09:24 /dev/hda: DMA activated ok
25.11.2005 09:24 /dev/hdc: DMA activated ok
25.11.2005 09:24 root mounted failure
On the client console we see:
modprobe: modprobe can't locate module block-major 33
modprobe: modprobe can't locate module block-major 34
mount: Mounting 21 on /mnt/root failed: No such file or directory
We don't need any modules to make the client work or to detect de HD. We had an IDE HD.
root@~# parted -s /dev/hda print
Disk geometry for /dev/hda: 0.000-28629.562 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
I hope these helps.
Thanks. |
|
Back to top |
|
|
Hauke
Joined: 02 Mar 2003 Posts: 1072
|
Posted: Sat Nov 26, 2005 11:44 Post subject: Re: problem partitioning |
|
|
Thank you for your detailed answer
iolanda wrote: | 1. Version: m23 Software: 0.4.99 halfBaked-pre3 (100000) |
You are using a very old m23 version. You can update it to the current version over the administration interface. The update page can be reached by: Server -> Update
I think there was a fix for this problem in one of the (so far) 53 updates
Don't hesitate to ask again if it doesn't work after the update. _________________ Hauke Goos-Habermann
- project leader m23 (http://m23.sf.net) -
Jabber: dodgerm23@jabber.org
Schulung, Entwicklung und Support zu m23 und anderen OpenSource-Produkten: www.goos-habermann.de
Auch DU kannst etwas gegen Softwarepatente tun! www.patentfrei.de |
|
Back to top |
|
|
iolanda Guest
|
Posted: Mon Nov 28, 2005 7:41 Post subject: problem partitioning |
|
|
Oooh ! Sorry again.
I haven't seen the updates. Uau, really a very old version.
Thanks a lot. |
|
Back to top |
|
|
|