READ ONLY FORUM: m23 :: makes software distribution easy Forum Index READ ONLY FORUM: m23 :: makes software distribution easy
The m23 discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

bug : "Division by zero" when HD detection

 
Post new topic   Reply to topic    READ ONLY FORUM: m23 :: makes software distribution easy Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
tyllermills
Guest





PostPosted: Wed May 11, 2005 10:18    Post subject: bug : "Division by zero" when HD detection Reply with quote

Just one bug...



PC : Dell OptiPlex GX 110 (DD 10 go, 256 sdram, PIII 600 Mhz)
Back to top
tyllermills
Guest





PostPosted: Wed May 11, 2005 10:57    Post subject: Reply with quote

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

PostPosted: Wed May 11, 2005 12:24    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
tyllermills
Guest





PostPosted: Wed May 11, 2005 12:59    Post subject: Reply with quote

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

PostPosted: Wed May 11, 2005 13:22    Post subject: Reply with quote

What stands in the row "partitions" for your client?

Use the following URL and exchange <serverIP> with the ip of your server:

http://<serverIP>/m23admin/phpMyAdmin/sql.php?server=1&db=m23&table=clients&goto=tbl_properties.php&back=tbl_properties.php&sql_query=SELECT+%2A+FROM+%60clients%60&pos=0
_________________
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
View user's profile Send private message Send e-mail Visit poster's website
tyllermills
Guest





PostPosted: Thu May 12, 2005 4:42    Post subject: Reply with quote

Just that :

Code:
dev0_path###dev0_size###dev0_partamount###dev_amou...
Back to top
Hauke



Joined: 02 Mar 2003
Posts: 1072

PostPosted: Thu May 12, 2005 7:26    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
tyllermills
Guest





PostPosted: Fri May 13, 2005 7:33    Post subject: Reply with quote

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





PostPosted: Fri Nov 25, 2005 7:39    Post subject: Warning: Division by zero in /m23/cvs/inc/fdisk.php on line Reply with quote

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

PostPosted: Fri Nov 25, 2005 9:17    Post subject: Reply with quote

Quote:
The full line:
dev0_path###dev0_size###dev0_partamount###dev_amount###2###/dev/hda###0###1

This doesn't help me Sad

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
View user's profile Send private message Send e-mail Visit poster's website
iolanda
Guest





PostPosted: Fri Nov 25, 2005 10:46    Post subject: problem partitioning Reply with quote

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

PostPosted: Sat Nov 26, 2005 11:44    Post subject: Re: problem partitioning Reply with quote

Thank you for your detailed answer Very Happy

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 Wink

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
View user's profile Send private message Send e-mail Visit poster's website
iolanda
Guest





PostPosted: Mon Nov 28, 2005 7:41    Post subject: problem partitioning Reply with quote

Oooh ! Sorry again.
I haven't seen the updates. Uau, really a very old version.

Thanks a lot.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    READ ONLY FORUM: m23 :: makes software distribution easy Forum Index -> Bugs All times are GMT - 2 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group