All of lore.kernel.org
 help / color / mirror / Atom feed
From: "sistemas" <sistemas@systemwifi.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Unable to handle kernel paging request at virtual address
Date: Wed, 20 Oct 2004 15:18:02 +0000	[thread overview]
Message-ID: <KMS-458318357-1304@mailserv> (raw)



Hi all:

I am getting this error message in my syslog after a few hours of running my QoS.

First i suposed it was a memory sims problem, but i have changed them and i have the same problem.

Here is the error message:

Oct 20 16:52:23 pototogorri /usr/bin/sudo:   apache : TTY=unknown ; PWD=/var/www/html ; USER=root ; COMMAND=/sbin/iptables -t nat -D PREROUTI
Oct 20 16:52:23 pototogorri /usr/bin/sudo:   apache : TTY=unknown ; PWD=/var/www/html ; USER=root ; COMMAND=/scripts/data/rw_all_qos
Oct 20 16:52:24 pototogorri kernel: HTB init, kernel part version 3.17
Oct 20 16:52:24 pototogorri last message repeated 2 times
Oct 20 16:52:24 pototogorri kernel: Unable to handle kernel paging request at virtual address 00100100
Oct 20 16:52:24 pototogorri kernel:  printing eip:
Oct 20 16:52:24 pototogorri kernel: c0267fb4
Oct 20 16:52:24 pototogorri kernel: *pde = 00000000
Oct 20 16:52:24 pototogorri kernel: Oops: 0000 [#1]
Oct 20 16:52:24 pototogorri kernel: Modules linked in: cls_fw ipt_MARK ide_floppy ide_tape sch_sfq sch_htb iptable_mangle sg sr_mod ide_cd cd
Oct 20 16:52:24 pototogorri kernel: CPU:    0
Oct 20 16:52:24 pototogorri kernel: EIP:    0060:[<c0267fb4>]    Not tainted
Oct 20 16:52:24 pototogorri kernel: EFLAGS: 00010206   (2.6.8.1)    
Oct 20 16:52:24 pototogorri kernel: EIP is at qdisc_lookup+0x34/0x50
Oct 20 16:52:24 pototogorri kernel: eax: 001000d4   ebx: 001000d4   ecx: dcc16914   edx: 00100100
Oct 20 16:52:24 pototogorri kernel: esi: 00010000   edi: 00010000   ebp: c4c99c38   esp: c4c99c30
Oct 20 16:52:24 pototogorri kernel: ds: 007b   es: 007b   ss: 0068
Oct 20 16:52:24 pototogorri kernel: Process tc (pid: 9749, threadinfoÄc98000 taskÄ0aa190)
Oct 20 16:52:24 pototogorri kernel: Stack: c155b6b0 dcc16800 c4c99c80 c0268a62 dcc16800 00010000 d364b734 00000000
Oct 20 16:52:24 pototogorri kernel:        000005c8 dd416000 0000000a 00000000 00000000 ffffffff dcc16800 dd416000
Oct 20 16:52:24 pototogorri kernel:        00000010 c8ebc7e0 00000048 c4c99cb0 c4c99cfc c0262297 c8ebc7e0 c155b6a0
Oct 20 16:52:24 pototogorri kernel: Call Trace:
Oct 20 16:52:24 pototogorri kernel:  [<c010707b>] show_stack+0x9b/0xb0
Oct 20 16:52:24 pototogorri kernel:  [<c01071cb>] show_registers+0x11b/0x180
Oct 20 16:52:24 pototogorri kernel:  [<c0107310>] die+0x50/0xb0
Oct 20 16:52:24 pototogorri kernel:  [<c0117280>] do_page_fault+0x330/0x5b8
Oct 20 16:52:24 pototogorri kernel:  [<c0106cbd>] error_code+0x2d/0x40
Oct 20 16:52:24 pototogorri kernel:  [<c0268a62>] tc_modify_qdisc+0x102/0x450 
Oct 20 16:52:24 pototogorri kernel:  [<c0262297>] rtnetlink_rcv+0x347/0x3b0   
Oct 20 16:52:24 pototogorri kernel:  [<c026c3c4>] netlink_data_ready+0x54/0x60
Oct 20 16:52:24 pototogorri kernel:  [<c026baca>] netlink_sendskb+0x6a/0x90  
Oct 20 16:52:24 pototogorri kernel:  [<c026c0a9>] netlink_sendmsg+0x1f9/0x2c0
Oct 20 16:52:24 pototogorri kernel:  [<c0253078>] sock_sendmsg+0x88/0xb0     
Oct 20 16:52:24 pototogorri kernel:  [<c0254696>] sys_sendmsg+0x196/0x210    
Oct 20 16:52:24 pototogorri kernel:  [<c0254960>] sys_socketcall+0x80/0x1a0  
Oct 20 16:52:24 pototogorri kernel:  [<c0105c79>] sysenter_past_esp+0x52/0x79


 Here is the content of the script that write my QoS:

rw_all_qos:

#!/bin/bash
#borrar la raiz y la tabla mangle

#/sbin/tc qdisc del root dev eth5
#/sbin/iptables -t mangle -F

#crear las regas base 
#                              !!!!!!!!!!!!!ATENCION!!!!!!!!!!!!!! 
#                  LA SEGUNDA DE ESTAS REGLAS ESTABLECE EL ANCHO DE BANDA TOTAL DEL LA RED

#/usr/bin/sudo -u root /sbin/tc qdisc add dev eth5 root handle 1: htb default 5
#/usr/bin/sudo -u root /sbin/tc class add dev eth5 parent 1: classid 1:1 htb rate 10000Kbit ceil 10000Kbit
#/usr/bin/sudo -u root /sbin/tc class add dev eth5 parent 1:1 classid 1:5 htb rate 10000Kbit ceil 10000Kbit
#/usr/bin/sudo -u root /sbin/tc qdisc add dev eth5 parent 1:5 handle 5: sfq

#Declaracion de variables

#declaramos la interfaz de red local
devlan=eth5

#Seleccionamos los campos dev e ip de la base de  datos
sql=`mysql -uwifi -psystem -D wifi -Ns -e "SELECT dev,ip FROM dispositivos;"`
#separamos el primer campo del resultado de la sentencia Sql con awk y lo metemos en la variable dispositivos
dispositivos=`echo "$sql" | awk '{print $1}'`
#separamos el segundo campo del resultado de la sentencia Sql con awk y lo metemos en la variable ips
ips=`echo "$sql" | awk '{print $2}'
#transformamos dispositivos en un array`
dispositivos=(`echo $dispositivos`)
#transformamos ips en un array
ips=(`echo $ips`)
#contamos el numero de elementos de nuestro array
num_dispositivos=${#dispositivos[*]}
#restamos 1 para que el array empiece en 0
let num_dispositivos-=1
#visualizamos los dispositivos
#for n in `seq 0 $num_dispositivos`
#do
#	echo interfaz:${dispositivos[$n]} ip:${ips[$n]}
#done

#Seleccionamos de las tablas usuarios y online los campos abajo indicados
sql=`mysql -uwifi -psystem -D wifi -Ns -e "SELECT usuarios.id,usuarios.max, usuarios.min, usuarios.upload, online.ip FROM usuarios,online WHERE usuarios.id=online.id_usuario;"`
#conseguir ids
ids=`echo "$sql" | awk '{print $1}'`
#transformar los datos en array
ids=(`echo $ids`)
#numero de elementos en el array
num_ids=${#ids[*]}
#restamos 1 para que el array empiece en 0
let num_ids-=1

#conseguir maximos de descarga
max=`echo "$sql" | awk '{print $2}'`
#transformar los datos en array
max=(`echo $max`)

#conseguir minimos de descarga
min=`echo "$sql" | awk '{print $3}'`
min=(`echo $min`)

#conseguir maximo de subida
upload=`echo "$sql" | awk '{print $4}'`
upload=(`echo $upload`)

#conseguir ips de usuarios
ips_user=`echo "$sql" | awk '{print $5}'`
ips_user=(`echo $ips_user`)

#Mostramos por pantalla los resultados de manera ordenada
#for n in `seq 0 $num_ids`
#do
#	echo id usuario: ${ids[$n]} \|\| maximo: ${max[$n]} \|\| minimo: ${min[$n]} \|\| upload: ${upload[$n]} \|\|  Ip Usuario: #${ips_user[$n]}  
#done


#borrar la raiz y la tabla mangle
tc qdisc del root dev eth5
/sbin/iptables -t mangle -F

#crear las regas base 
#                              !!!!!!!!!!!!!ATENCION!!!!!!!!!!!!!! 
#                  LA SEGUNDA DE ESTAS REGLAS ESTABLECE EL ANCHO DE BANDA TOTAL DEL LA RED

/sbin/tc qdisc add dev $devlan root handle 1: htb default 5
/sbin/tc class add dev $devlan parent 1: classid 1:1 htb rate 10000Kbit ceil 10000Kbit
/sbin/tc class add dev $devlan parent 1:1 classid 1:5 htb rate 10000Kbit ceil 10000Kbit
/sbin/tc qdisc add dev $devlan parent 1:5 handle 5: sfq


# y ahora creamos las reglas
for n in  ` seq 0 $num_dispositivos`
do
	dispositivo=${dispositivos[$n]}
	tc qdisc del root dev $dispositivo 
	tc qdisc add dev $dispositivo root handle 1: htb default 5
	tc class add dev $dispositivo parent 1: classid 1:1 htb rate 512Kbit ceil 512Kbit 
	tc class add dev $dispositivo parent 1:1 classid 1:5 htb rate 512Kbit ceil 512Kbit
	tc qdisc add dev $dispositivo parent 1:5 handle 5: sfq
	#echo ${dispositivos[$n]}
done

# llamar al script encargado de crear las reglas para cada usuario y pasar el id, max, min y upload correspondiente al mismo

for n in `seq 0 $num_ids`
do
	/scripts/data/rw_user_qos.sh ${ids[$n]} ${min[$n]} ${max[$n]} ${upload[$n]} $devlan ${ips_user[$n]} 	
done
#echo Todo correcto



Any Idea?

Thnx in advance.

Servicio ofrecido por www.systemwifi.com

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

             reply	other threads:[~2004-10-20 15:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-20 15:18 sistemas [this message]
2004-10-20 16:19 ` [LARTC] Unable to handle kernel paging request at virtual address Jason Boxman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=KMS-458318357-1304@mailserv \
    --to=sistemas@systemwifi.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.