Programmatically probe video chipset

2001-02-12 Thread Paul Powell
Is there an API or other means to determine what video card, namely the chipset, that the user has installed on his machine? Thanks, Paul __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year!

Programmatically probe video chipset

2001-02-12 Thread Paul Powell
Is there an API or other means to determine what video card, namely the chipset, that the user has installed on his machine? Thanks, Paul __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year!

Ioctl CDROMRESET has no effect

2001-02-07 Thread Paul Powell
I'm attempting to reset a CDROM using the CDROMRESET ioctl. The reset command only seems to reset the device if the device is not mounted. If the device is mounted, the reset command seems to have no effect. With the device unmounted, sending the reset command causes the drive to become active

Ioctl CDROMRESET has no effect

2001-02-07 Thread Paul Powell
I'm attempting to reset a CDROM using the CDROMRESET ioctl. The reset command only seems to reset the device if the device is not mounted. If the device is mounted, the reset command seems to have no effect. With the device unmounted, sending the reset command causes the drive to become active

Linuxrc runs with PID 7

2001-01-31 Thread Paul Powell
This is a followup question to my previous question "Why isn't init at PID 1." Previoulsy I was calling init from within linuxrc. Linuxrc was a sash script, so the sash script supposedly had PID 1. Now I've removed the script and have a C program for linuxrc. I'm still not running at PID 1

Why isn't init PID 1?

2001-01-31 Thread Paul Powell
Hello, I have a bootable linux CD that runs a custom init. Under most versions of linux init runs as process ID one. Under my bootable CD, it runs as process ID 15. I need it to run as PID 1 so that I can execute a kill(-1,15) without killing init. The boot CD uses and initrd image to load

Why isn't init PID 1?

2001-01-31 Thread Paul Powell
Hello, I have a bootable linux CD that runs a custom init. Under most versions of linux init runs as process ID one. Under my bootable CD, it runs as process ID 15. I need it to run as PID 1 so that I can execute a kill(-1,15) without killing init. The boot CD uses and initrd image to load

Linuxrc runs with PID 7

2001-01-31 Thread Paul Powell
This is a followup question to my previous question "Why isn't init at PID 1." Previoulsy I was calling init from within linuxrc. Linuxrc was a sash script, so the sash script supposedly had PID 1. Now I've removed the script and have a C program for linuxrc. I'm still not running at PID 1

Forcefully eject CD-ROM

2001-01-29 Thread Paul Powell
Hello, I am trying to eject my bootable CD-ROM after the user is finished using it. The problem is that something has locked the CD-ROM and every command I send fails with a "resource busy" error. I use a custom init program to mount and chroot to the CD. I then start X-windows and my

Forcefully eject CD-ROM

2001-01-29 Thread Paul Powell
Hello, I am trying to eject my bootable CD-ROM after the user is finished using it. The problem is that something has locked the CD-ROM and every command I send fails with a "resource busy" error. I use a custom init program to mount and chroot to the CD. I then start X-windows and my

Undoing chroot?

2001-01-26 Thread Paul Powell
Hello, I have a linux bootable CD which executes a custom init. The job of init is to figure out on which device the CD is located. After finding the CD, init mounts the device and executes a CHROOT to set the root directory to the CD. After I'm done I'd like to umount the CD and then eject

Undoing chroot?

2001-01-26 Thread Paul Powell
Hello, I have a linux bootable CD which executes a custom init. The job of init is to figure out on which device the CD is located. After finding the CD, init mounts the device and executes a CHROOT to set the root directory to the CD. After I'm done I'd like to umount the CD and then eject

Linux driver: __get_free_pages()

2001-01-11 Thread Paul Powell
Our driver is trying to allocate a DMA buffer to flash an adapter's firmware. This can require as much as 512K ( of contiguous DMA memory ). We are using the function __get_free_pages( GFP_KERNEL | GFP_DMA, order ) . The call is failing if 'order' is greater than 6. The problem is seen on

Linux driver: __get_free_pages()

2001-01-11 Thread Paul Powell
Our driver is trying to allocate a DMA buffer to flash an adapter's firmware. This can require as much as 512K ( of contiguous DMA memory ). We are using the function __get_free_pages( GFP_KERNEL | GFP_DMA, order ) . The call is failing if 'order' is greater than 6. The problem is seen on

'console=' kernel parameter questions

2001-01-08 Thread Paul Powell
Hello, I am running an unmodified RedHat 6.2 kernel (kernel version 2.2.14-5.0) I am trying to redirect the linux startup messages to the serial port. I've added the 'console=' parameter to my lilo.conf file. I've tried several iterations such as

'console=' kernel parameter questions

2001-01-08 Thread Paul Powell
Hello, I am running an unmodified RedHat 6.2 kernel (kernel version 2.2.14-5.0) I am trying to redirect the linux startup messages to the serial port. I've added the 'console=' parameter to my lilo.conf file. I've tried several iterations such as

xterm: no available ptys

2000-11-06 Thread Paul Powell
Hello, I have created a trimmed down /dev directory to be used with my custom bootable Linux CD. I've run into a problem where I can't start an xterm. I get the error... xterm: no available ptys I'm not sure which device I'm missing in /dev. I'm no expert on how the tty's and stuff work so

xterm: no available ptys

2000-11-06 Thread Paul Powell
Hello, I have created a trimmed down /dev directory to be used with my custom bootable Linux CD. I've run into a problem where I can't start an xterm. I get the error... xterm: no available ptys I'm not sure which device I'm missing in /dev. I'm no expert on how the tty's and stuff work so

init= parameter doesn't work

2000-10-13 Thread Paul Powell
Hello, I am attempting to move all of the root files and folders into a single directory /linux on the root file system. I then use the kernel parameter init=/linux/sbin/init to get things rolling but the kernel panics. When I boot linux, everything seems to work ok until the kernel tries to

init= parameter doesn't work

2000-10-13 Thread Paul Powell
Hello, I am attempting to move all of the root files and folders into a single directory /linux on the root file system. I then use the kernel parameter init=/linux/sbin/init to get things rolling but the kernel panics. When I boot linux, everything seems to work ok until the kernel tries to

Removing boot text

2000-09-28 Thread Paul Powell
We are using Linux as a bootable CD for system configuration. We would like to keep all the information displayed at bootup hidden. The main reason for this is because our users see words such as "error" and "failed" and it bothers them (though there is nothing wrong). Anyone know how other