Messages in this thread | | | Date | Sat, 27 Dec 2003 19:41:44 -0800 | From | Andrew Morton <> | Subject | Re: Memory management problem with 2.6.0 |
| |
caszonyi@rdslink.ro wrote: > > I have a small script: > #!/bin/sh > umount /mnt/cdrom > eject /dev/hdb > echo "Invalid system disk" > echo "Insert and press any key when ready" > read junk > eject -t /dev/hdb > sleep 1 > mount /mnt/cdrom > /usr/sbin/hdparm -E 10 /dev/hdb > > It works all the time but today gave me this: > > sony@grinch -19:06:39- 0 jobs, ver 2.05b.0 1 > /~ $ cdin > umount: /mnt/cdrom is not mounted (according to mtab) > eject: unable to find or open device for: `/dev/hdb' > Invalid system disk > Insert and press any key when ready > > eject: unable to find or open device for: `/dev/hdb' > mount: Cannot allocate memory > /dev/hdb: Cannot allocate memory > > The permissions on the device are > > sony@grinch -19:07:54- 0 jobs, ver 2.05b.0 1 > /~ $ ls -l /dev/hdb > brw-rw---- 1 root disk 3, 64 iun 9 2002 /dev/hdb > > In the logs I had: > Dec 27 19:06:16 grinch kernel: eject: page allocation failure. order:4, > mode:0xd0
Please, try
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0/2.6.0-mm1/broken-out/cdrom-allocation-try-harder.patch
and let me know? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |