LinHES Forums
http://forums.linhes.org/

Kernel panic: kmem_alloc: NULL memory on KM_SLEEP request!
http://forums.linhes.org/viewtopic.php?f=2&t=2206
Page 1 of 1

Author:  Blammo [ Wed Aug 18, 2004 10:14 am ]
Post subject:  Kernel panic: kmem_alloc: NULL memory on KM_SLEEP request!

Anyone else seen this?

Backend:
ASUS A7N8X Deluxe
Althon XP 2400 at stock clock @ 166FSB
KnoppMyth R4V4
1gig PC3200 ram @ 166FSB
(2) PVR-250's
two 160G HD's, EXT3 on boot partion, XFS on all others

I got up this morning, and the CAPS LOCK / SCROLL LOCK on the keyboard were flashing. I turned on the monitor, and the machine was responsive, but mythbackend hadn't done anything since about 3am. I rebooted the machine after checking the logs, and all is well now, however, I'd love to know what died.

Here's what I got from the logs. I'm including before and after to show the machine was alive, just not happy.


/var/log/kern.log:
Aug 18 01:00:04 backend1 kernel: saa7115: decoder disable output
Aug 18 01:00:04 backend1 kernel: saa7115: decoder enable output
Aug 18 03:07:48 backend1 kernel: Kernel panic: kmem_alloc: NULL memory on KM_SLEEP request!
Aug 18 03:07:56 backend1 kernel: ivtv: needed 13 bufs for stream 0, received 6 differ by (7) bufs
Aug 18 03:07:56 backend1 kernel: ivtv: SCHED: free_q: 0 elements
Aug 18 03:07:56 backend1 kernel: ivtv: SCHED: dma_q: 0 elements
Aug 18 03:07:56 backend1 kernel: ivtv: SCHED: full_q: 1018 elements
Aug 18 04:07:41 backend1 kernel: Kernel panic: kmem_alloc: NULL memory on KM_SLEEP request!
Aug 18 08:20:51 backend1 kernel: <4>nfsd: last server has exited
Aug 18 08:20:51 backend1 kernel: nfsd: unexporting all filesystems

/var/log/messages:
Aug 18 02:49:53 backend1 -- MARK --
Aug 18 03:07:56 backend1 kernel: ivtv: needed 13 bufs for stream 0, received 6 differ by (7) bufs
Aug 18 03:07:56 backend1 kernel: ivtv: SCHED: free_q: 0 elements
Aug 18 03:07:56 backend1 kernel: ivtv: SCHED: dma_q: 0 elements
Aug 18 03:07:56 backend1 kernel: ivtv: SCHED: full_q: 1018 elements
Aug 18 03:29:53 backend1 -- MARK --
Aug 18 03:49:53 backend1 -- MARK --
Aug 18 04:09:53 backend1 -- MARK --
Aug 18 04:29:53 backend1 -- MARK --
Aug 18 04:49:53 backend1 -- MARK --
Aug 18 05:09:53 backend1 -- MARK --
Aug 18 05:29:53 backend1 -- MARK --
Aug 18 05:49:53 backend1 -- MARK --
Aug 18 06:09:53 backend1 -- MARK --
Aug 18 06:29:53 backend1 -- MARK --
Aug 18 06:49:53 backend1 -- MARK --
Aug 18 07:09:53 backend1 -- MARK --
Aug 18 07:29:53 backend1 -- MARK --
Aug 18 07:49:53 backend1 -- MARK --
Aug 18 08:09:53 backend1 -- MARK --
Aug 18 08:20:51 backend1 kernel: <4>nfsd: last server has exited
Aug 18 08:20:51 backend1 kernel: nfsd: unexporting all filesystems
Aug 18 08:20:51 backend1 kernel: note: rpciod[738] exited with preempt_count 1
Aug 18 08:20:51 backend1 kernel: note: lockd[737] exited with preempt_count 1
Aug 18 08:20:51 backend1 kernel: Kernel logging (proc) stopped.
Aug 18 08:20:51 backend1 kernel: Kernel log daemon terminating.
Aug 18 08:20:51 backend1 exiting on signal 15
Aug 18 08:22:45 backend1 syslogd 1.4.1#10: restart.

/var/log/mythtv/mythbackend.log:
2004-08-18 00:40:21 MainServer::HandleAnnounce FileTransfer
2004-08-18 00:40:21 adding: frontend1 as a remote file transfer
2004-08-18 01:00:02 Started recording "XXVIII Summer Olympics" on channel: 1012 on cardid: 1, sourceid 1
2004-08-18 01:00:02 Changing from None to RecordingOnly
2004-08-18 03:02:47 Fast-Forwarding from 147008 to 215625
2004-08-18 03:02:49 Transcoding /myth/tv/1065_20040817110000_20040817130000.nuv done
Bad transcoding info
2004-08-18 03:07:50 IOBOUND - blocking in ThreadedFileWriter::Write()
2004-08-18 04:00:00 Changing from RecordingOnly to None
2004-08-18 04:00:00 Found changes in the todo list.
2004-08-18 04:00:01 Scheduled 166 items in 0.630198 seconds.
2004-08-18 06:29:51 Found changes in the todo list.
2004-08-18 06:29:51 Scheduled 173 items in 0.451657 seconds.
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
Starting up as the master server.
2004-08-18 08:22:58 mythbackend: MythBackend started as master server
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
2004-08-18 08:23:02 Deleting /myth/tv/1008_20040815040000_20040815050000.nuv.tmp
2004-08-18 08:23:02 mythbackend version: 0.15.20040525-1 www.mythtv.org
2004-08-18 08:23:02 Enabled verbose msgs : important general
QSettings: error creating /.qt
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
2004-08-18 08:23:02 Transcoding from /myth/tv/1008_20040815040000_20040815050000.nuv to /myth/tv/1008_20040815040000_20040815050000.nuv.tmp



any ideas?

Author:  Blammo [ Wed Aug 18, 2004 12:22 pm ]
Post subject: 

Looks like this might be an XFS problem (which I run on /cache , /myth, and /video partitions)

http://oss.sgi.com/archives/linux-xfs/2 ... 00114.html

http://www.dragoninc.on.ca/mail-archive ... /0162.html

http://linux-xfs.sgi.com/projects/xfs/m ... 00286.html

Author:  Blammo [ Mon Aug 23, 2004 2:55 pm ]
Post subject: 

More information now, going to start a new thread.


after trying:

- ext3, xfs
- (2) new motherboards (both NForce)
- new ram, cpu, video card
- 2 new harddrives
- reinstall of KnoppMyth R4V4
- clean install of KnoppMyth R4V4.1
- disabling UDMA on motherboard
- hdparm -d0 / hdparm -d1


I came to the conclusion it was a driver / IO issue in with Knopp and Nforce chipsets. I reformatted the box on Fedora1, pulled the data back in, and the backend has been running clean for 48 hours.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/